Subscribe via RSS
Follow me on Twitter
- I love that the French for OCaml bytecode is le bytecode d'OCaml 1 week ago
- It's ironic that "end user computing" now means "run it on the mainframe" channelregister.co.uk/2013/04/29/end… 2 weeks ago
- msdn.microsoft.com/en-us/library/… Days start from 1 and months start from 0. How I loathe web development. 3 weeks ago
- MongoDB Days wp.me/p13r85-yW 1 month ago
- I'd estimate about a quarter of the people here are ignoring the speakers and working on their laptops #mongodbdays 1 month ago
-
Recent Posts
Archives
Links
- OCI*ML Oracle bindings for the OCaml language
Category Archives: Python
How To Interview
One of the things I do at my present job is interview candidates for my team, and occasionally other teams too. I estimate I’ve seen ~150 people over the last 5 years. Of those very few that I do say … Continue reading
Posted in Business, Linux, Oracle, Python
Tagged cron job, incremental backups, oracle dba, standby database
1 Comment
Why
A few thoughts on why I decided to start working on an open source project: I enjoy working in OCaml (functional languages in general, in fact), and need a project to work on that I can take in any direction … Continue reading
Posted in Ocaml, OCIML, Oracle, Python, Random thoughts
Leave a comment
Database types in OCaml and Python
Consider the following Oracle table: Note that both the values inserted were identical. In Python: Same results in SQL and Python. But in OCaml: What happened there? Well, OCaml is seeing the first column as “1.” and the second as … Continue reading
Posted in Ocaml, Oracle, Python
Leave a comment
Dictionary format strings
There is quite a nice feature of Python that allows dictionaries to be applied to format strings, rather than just relying on the position of each conversion specification. To give a trivial example: Becomes: I use this technique all the … Continue reading
Posted in Ocaml, Python
15 Comments
The List Monad in Python terms
Understanding Monads Via Python List Comprehensions
Posted in Haskell, Python
Leave a comment
The State Monad in Python terms
Consider a function like sin. It is a “pure” function, which is to say that it is referentially transparent – every time you call sin(pi) it will return the same value. You could in fact in C say #define sin(pi) … Continue reading
Posted in Haskell, Python
5 Comments
Comparing Python and Ocaml
I wrote some Python code a while ago for neatly formatting tabular output, for generating reports on the command line or from cron jobs to email. Typically this would be populated with a result set from a query “joined” with … Continue reading
Posted in Ocaml, Python
11 Comments
Hello world!
I am (mainly) a DBA, tho’ I also dabble in other bits of back-end infrastructure (operating systems, storage and so on), and one of my key metrics is the ratio of DBAs:DBs in an organization. To that end I am … Continue reading
Posted in Haskell, Ocaml, Python
4 Comments
