HNHacker News
TopNewBestAskShowJobs

kpmah

509 karma · joined September 20, 2013

http://kevinmahoney.co.uk
submissionscomments
kpmah··on Prune: A Tree-Based, Home-Row-Oriented Code Editor
I think a big advantage to this kind of approach is the feedback you can get on your code - on-the-fly evaluation and type checking for example.

Here's my attempt: http://sediment.io

kpmah··on Knuth and Plass line-breaking Revisited
I made a little Knuth/Plass experiment using canvas and opentype.js here: http://kevinmahoney.co.uk/document-experiment/

I find pagination much easier to read than scrolling.

kpmah··on Becoming a contractor programmer in the UK
What's cheap for an accountant? I'm paying about £800 per year for mine. I didn't really shop around as I had to set things up on short notice.
kpmah··on Programmer Tooling Beyond Plain Text
I'll throw in my work in this area: http://sediment.io
kpmah··on Gradual type checking for Ruby
It's not pedantic at all. It's a very useful distinction. Personally I thought this was static checking and got the wrong idea from the submission title. I can see some other comments here have made a similar mistake.
kpmah··on Virtual-dom – A Virtual DOM and diffing algorithm
I used it in my side project (http://sediment.io) because I was using PureScript. It's just a few pure functions that are easy to bind to. The source code is also a lot easier to read and understand.
kpmah··on Dunning-Kruger and Other Memes
You can still say type systems are obviously a good thing (I do too!). But you, sadly, can't say this is supported by scientific studies. It's an opinion based on your own personal experience.

The good news is that this opinion doesn't contradict evidence either! The research just isn't there yet. Some of research I've seen so far is pretty bad.

kpmah··on Resume in C
Personally, I wouldn't want to work for a company that uses bad recruiters (and thus probably hires bad programmers), so something like this would be doing its job.

You don't have to go this far. My CV is a HTML page, and I just refuse to convert it to Word. It hinders the recruiters who just like to buzzword search their database.

kpmah··on The Heart-Stopping Climbs of Alex Honnold
You can die driving to work in the morning. One small mistake on a high speed road and that's it. Alex knows how to climb like you know how to drive.
kpmah··on Sylph: the programming language I want
I made a start on it http://sediment.io

There's a pretty exhausting amount of work to get to the same toolset we have for text-based languages though.

kpmah··on Js_of_ocaml – A compiler of OCaml bytecode to Javascript
It's entirely possible it's due to my lack of familiarity with OCaml, but I found it tough going. I intend to try a side project using it soon, so I'll have some more in-depth feedback.
kpmah··on Js_of_ocaml – A compiler of OCaml bytecode to Javascript
It's also hard to navigate and the documentation seems quite poor. It's a shame because it looks like excellent tech.
kpmah··on Farm 432
If you're concerned about your CO2 footprint, one thing you can do without going as far as eating bugs is eliminating beef from your diet and eating only poultry. Minimal impact on your diet and about twice as efficient.
kpmah··on Travis CI: From Open to Minimum Vacation Policy
Sure, but my point is if you can be fired for taking too many days off, it's not unlimited. It's limited by the amount of work you're expected to reasonably do, and that's decided by your boss and colleagues. Except now instead of having a hard number where you know you are safe, it's completely subjective how many days off you can take.
kpmah··on Travis CI: From Open to Minimum Vacation Policy
"unlimited" days off are nonsense. Can I take off 365 days a year? If the answer is no it's not unlimited. There's a limit, you're just not specifying it.
kpmah··on Representing Trees in PostgreSQL
There is also ltree http://www.postgresql.org/docs/9.3/static/ltree.html

Adjacency lists also don't perform that badly with recursive queries in my experience.

kpmah··on Implementations of various type systems in OCaml
It has a small error, which I have corrected here: https://github.com/KMahoney/Algorithm-W-Step-By-Step
kpmah··on Test-induced design damage
Anecdotally, as somebody who has tried to find a Haskell job, there seems to be a LOT of competition for them.
kpmah··on Why The Clock is Ticking for MongoDB
I would argue if you don't know how your data is going to be used then you should use the most flexible option - a normalised relational database.

This gives you the most flexibility when querying, whereas with a denormalised database you need to know how you're going to query it ahead of time. Unless you want to abandon any semblance of performance.

kpmah··on C++17: I See a Monad in Your Future
They're actually trying to fix C++. :)
kpmah··on How Long Have I Got Left?
Secular Buddhism doesn't make any supernatural claims which means it's completely compatible with Christianity. That's why it also works for atheists.

Emphasis on the secular - traditional sects of Buddhism can have gods, reincarnation etc. It may be clearer to say mindfulness instead of Buddhism as that has religious connotations. It's medically recognised for handling stress.

kpmah··on How Long Have I Got Left?
Respectfully, I would instead recommend secular Buddhism and mindfulness for dealing with emotions related to your own mortality. I believe it to be a healthier alternative without the need for a belief in god, an afterlife, or any superstition.

I recommend the writing of Jon Kabat-Zinn and Stephen Batchelor.

← PreviousPage 4 of 4