Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fholm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
fholm
14y ago
The language is F#, basically the code does this: 1) Creates a type which is a discriminated union called Color, that can have three different values (RGB, HSV or CMYK). 2) Defines a function which converts a color of any value (RGB, HSV or
2.
▲
by
fholm
14y ago
Again I love my country (Sweden). There are multiple laws in place that forbid companies to force people to work more then X hours per week/month/year. There's several different averages across days, weeks and months that control how much
3.
▲
by
fholm
14y ago
You mean like this? :) type Color = RGB of int * int * int | HSV of int * int * int | CMYK of int * int * int * int let toHsv = function | HSV(h, s, v) -> HSV(h, s, v) | RGB(r
4.
▲
by
fholm
14y ago
I'm late to the party, so this is probably not going to be read by anyone, but here's my 0.02$ > Some of the comments in this thread bother me, particularly the 30 days paid vacation a year. In Europe maybe. In the US? Good luck. What's
5.
▲
by
fholm
15y ago
Very well put, pretty much agree with it completely.
6.
▲
by
fholm
15y ago
I'm not a fan of CoffeScript, it fixes the wrong problems. It's not the syntax that's the REAL issue, it's the fragmentation, lack of module system, etc.
7.
▲
by
fholm
15y ago
Yay a dynamic language with a compiler step.
8.
▲
by
fholm
15y ago
I would not consider that a dream team considering the languages/libraries they have produced.
9.
▲
by
fholm
15y ago
I'm well aware of js.next/harmony/whateveryouwannacallit. Come back to me in 10 years when it's implemented everywhere and everyone that was on an old version of browser X has upgraded to one with those features.
10.
▲
My gripes with JavaScript
(ironjs.wordpress.com)
60 points
by
fholm
15y ago
|
44 comments
11.
▲
by
fholm
15y ago
God I love sweden, 100/100 dedicated for 16$/month (~100 SEK)
12.
▲
IronJS is now faster then IE8
(ironjs.wordpress.com)
2 points
by
fholm
15y ago
|
0 comments
13.
▲
IronJS 0.2 is out
(ironjs.net)
3 points
by
fholm
15y ago
|
0 comments
14.
▲
JavaScript Quotations in IronJS
(ironjs.wordpress.com)
2 points
by
fholm
16y ago
|
0 comments
15.
▲
by
fholm
16y ago
I love Pratt parsers (or Top Down Operator Precedence parsers rather), I recently re-wrote the IronJS lexer and parser by hand (from using one generated by ANTLR) using the techniques described in this blog post and saw some pretty hefty pe