Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kpmah
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
kpmah
11y ago
Maybe filling our sky with junk will cancel out global warming? Yay humanity!
92.
▲
by
kpmah
11y ago
It's a really interesting area, but I think anyone who wants to push for this style of programming would do well to investigate why Prolog never really took off in the 40 years it's been around. Of course, that could have nothing
93.
▲
by
kpmah
11y ago
This looks like it's effectively Prolog, and the problems with this way of programming can be found in criticisms of that class of programming languages. I haven't written a Prolog program of any complexity myself, but it seems a
94.
▲
by
kpmah
11y ago
You're right. You have to update the probability with all the knowledge you have. Although I would say self diagnosis has a very, very high false positive rate, and if you know you're a hypochondriac that would make the probabilit
95.
▲
by
kpmah
11y ago
The incidence of dementia for those aged 30-64 is about 54 per 100000. If you have a test that is 90% accurate and someone tests positive, according to Bayes you have 0.5% chance of actually having it. Testing like that seems pointless to m
96.
▲
by
kpmah
11y ago
Early onset Alzheimer's is extremely rare. Even if you perfectly showed all the symptoms on that list it's still unlikely you have Alzheimer's. Read up on Bayes' theorem ;)
97.
▲
by
kpmah
11y ago
Hyphenation is nice, but the Knuth/Plass line breaking really helps too, even with left justified text. The 'first fit' algorithms browsers tend to use can leave some ugly and confusing artefacts.
98.
▲
by
kpmah
11y ago
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
99.
▲
by
kpmah
11y ago
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.
100.
▲
Log Orientated Architecture in PostgreSQL
(kevinmahoney.co.uk)
12 points
by
kpmah
11y ago
|
1 comments
101.
▲
by
kpmah
11y ago
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.
102.
▲
by
kpmah
11y ago
I'll throw in my work in this area: http://sediment.io
103.
▲
by
kpmah
12y ago
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.
104.
▲
by
kpmah
12y ago
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.
105.
▲
by
kpmah
12y ago
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 do
106.
▲
by
kpmah
12y ago
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 r
107.
▲
by
kpmah
12y ago
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.
108.
▲
by
kpmah
12y ago
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.
109.
▲
Structural Editor and Thoughts on PureScript
(kevinmahoney.co.uk)
3 points
by
kpmah
12y ago
|
0 comments
110.
▲
by
kpmah
12y ago
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.
111.
▲
by
kpmah
12y ago
It's also hard to navigate and the documentation seems quite poor. It's a shame because it looks like excellent tech.
112.
▲
by
kpmah
12y ago
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.
113.
▲
by
kpmah
12y ago
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
114.
▲
by
kpmah
12y ago
"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.
115.
▲
by
kpmah
12y ago
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.
116.
▲
Show HN: Structural Editor Prototype
(kevinmahoney.co.uk)
3 points
by
kpmah
12y ago
|
0 comments
117.
▲
by
kpmah
12y ago
It has a small error, which I have corrected here: https://github.com/KMahoney/Algorithm-W-Step-By-Step
118.
▲
by
kpmah
12y ago
Anecdotally, as somebody who has tried to find a Haskell job, there seems to be a LOT of competition for them.
119.
▲
by
kpmah
13y ago
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
120.
▲
by
kpmah
13y ago
They're actually trying to fix C++. :)
More ›