Category Archives: Ocaml

Learning a New Language

Generally, every program I write, regardless of what useful thing it actually does, and regardless of what programming language it is written in, has to do certain things, which usually includes Importing a library and calling functions contained within that … Continue reading

Posted in azure, C++, Cloud, data science, f#, Haskell, Microsoft, Ocaml, Python, R, Random thoughts, Scala | Tagged , , | Leave a comment

Not-learning is a skill too

To be successful in tech, it’s well known that you must keep your skills up to date. The onus is on each individual to do this, no-one will do it for you, and companies that provide ongoing personal development are … Continue reading

Posted in C++, data science, Haskell, Ocaml, Python, R | 3 Comments

2014

So, how was 2014 for me, in tech at least? Pretty good. It has been quite an interesting experience adapting to an all-proprietary tech stack (database, language, IDE, job scheduler) but I feel I am finally getting a grip on … Continue reading

Posted in BBC, C++, Linux, Ocaml, OCIML, Oracle, Random thoughts | Leave a comment

Real World OCaml

In the course of my work with OCaml I have traditionally resisted using anything other than “pure” OCaml, and the facilities of the underlying OS. So rather than OMake or OASIS I just used plain, old-fashioned Makefiles. For package management, … Continue reading

Posted in Ocaml | 7 Comments

Strange Datetime Problem

While working on my unit tests, I came across a sporadic failure in inserting and selecting Datetimes to the database, so I wrote a quick test harness to see what’s going on: This fails about 3% of the time, for … Continue reading

Posted in Ocaml, OCIML, Oracle | 5 Comments

OCI*ML: Make Test

Before resuming feature implementation in OCI*ML I thought I ought to tighten up the test suite a bit, so I have started on a make test target, including some utilities for generating large test datasets, which should be useful elsewhere. … Continue reading

Posted in Ocaml, OCIML, Oracle | Leave a comment

August

As of today I am on gardening leave, and I intend to spend the time productively (after taking a long-planned and well-deserved holiday next week!). In no particular order: Update this blog more regularly, I have some posts that I … Continue reading

Posted in BBC, Business, C++, Ocaml, OCIML, Oracle, Random thoughts | Leave a comment

Quick histograms

Having come back to actively working on OCI*ML recently, it’s time I cracked on with some more features (I have been promising LOBs for a long time, sorry to anyone who’s still waiting). Just to get warmed up, inspired by … Continue reading

Posted in Ocaml, OCIML, Operation Foothold, Random thoughts | Leave a comment

OCaml 4 beta

OCaml 4 beta 2 has been released, and so I quickly tested OCI*ML with it. Only a couple of minor tweaks were necessary, due to the following changes: Some .cmi for toplevel internals that used to be installed in`ocamlc -where` … Continue reading

Posted in Haskell, Ocaml, OCIML | Leave a comment

Segmentation Faults, TAP and Eclipse

This is quite a neat trick. Consider: Referencing that NULL pointer obviously crashes straight away with a terse segmentation fault: By simply linking it with libSegFault, which seems to be documented only very informally, but comes with glibc: Of course … Continue reading

Posted in C++, Emacs, Linux, Ocaml, Operation Foothold | Tagged , , , , , , | 3 Comments