Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barkmadley
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
barkmadley
11y ago
I've seen "progressive javascript"[1] and "heterogeneous javascript". Both of which are much better IMHO. [1]: https://medium.com/the-thinkmill/making-the-case-for-progres...
2.
▲
by
barkmadley
12y ago
True enough. I wonder how much of the problem comes from trying to be compatible with software packages designed for other systems.
3.
▲
by
barkmadley
12y ago
I don't know much about the nix language, but it looks to me like the gpgme support is optional: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...
4.
▲
by
barkmadley
12y ago
You probably could, but there would be lots of extra boiler plate that distract from the central idea. The OCaml language features that are used that would need to be emulated somehow in Java: * Sum types (type a = A of int | B of float). T
5.
▲
by
barkmadley
12y ago
I'm surprised you mention camlp4 as an advantage over F#. It is being removed from the official distribution due to the problems that it causes[1], to be replaced with extension points[2]. We use camlp4 a bit at Red Lizard Software and
6.
▲
by
barkmadley
13y ago
Keep them. But don't trust them.
7.
▲
by
barkmadley
13y ago
> I don't know what you mean by this. An Iterable<X,Nothing> cannot return Null from its first attribute. Check the declaration of Iterable.first. This made me sad again[1], but then this made me happier[2] (internalFirst impl
8.
▲
by
barkmadley
13y ago
I assume this is the implementation [1](took me a while to find the type to see how the compiler might interpret it). I read the definition as (ignoring the implementation): return a Value or Absent when given an Iterable<Value,Abs
9.
▲
by
barkmadley
13y ago
> > Can I write a method that's polymorphicly nullable? > Sure. You should see the crazily cool stuff we can do with stuff like the signature of max(). You'll be impressed, I promise! From the docs: > A nonempty iterab
10.
▲
by
barkmadley
13y ago
I would find Caps+a very difficult to type (since it uses the two weakest fingers). Have you ever tried Caps+d or Caps+f?
11.
▲
by
barkmadley
13y ago
If I may, the goal seems a bit incorrectly specified for hypermedia. For instance, if github decided to change the number of results they return per page, then your script would not break, but it would have a different meaning. I would sugg
12.
▲
by
barkmadley
13y ago
There is no such thing as "arbitrary hypermedia". watch these two very good talks on this topic: * http://oredev.org/2012/sessions/designing-hypermedia-apis * http://vimeo.com/20781278
13.
▲
by
barkmadley
14y ago
You can implement crons level of timing specificity with a few "every" jobs and some variables. e.g. (not real syntax) every minute: set minute = (minute + 1) % 60 when minute = 4 && day = 5 ... I think the better part
14.
▲
by
barkmadley
14y ago
I think the simplicity comes from being able to learn each piece in isolation, without any loss of generality. In addition, once each piece is learned, it does not need to be used in isolation, meaning each piece learned multiplies the abil
15.
▲
by
barkmadley
14y ago
The size of the market probably dictates the additional fee (at least for now).
16.
▲
by
barkmadley
14y ago
I think the difference would be that TomTom supplies it's own maps in the App, whereas Google Navigation probably downloads the tiles/street view as you go. This can make a world of difference when travelling abroad when you can't be bother
17.
▲
by
barkmadley
15y ago
There are some algorithms and techniques that will improve static analysis in a greater than linear fashion (however, I wouldn't guarantee exponentially). see Model Verification: http://en.wikipedia.org/wiki/Kripke_structure_(model_checkin
18.
▲
by
barkmadley
15y ago
and it makes sense that static analysis tools won't discover anything not already covered by tests That assertion doesn't make a lot of sense to me. Most static analysers are capable of looking at the edge cases that a human may
19.
▲
by
barkmadley
15y ago
Of course not. At least not yet. The only missing piece is to bind the data that is already found in the html to the data found in the view-model object (or create the view-model object from the html, or some third strategy). This has be
20.
▲
by
barkmadley
15y ago
actually the attribute syntax leaves a lot to be desired in terms of redundancy. First you have to quote the attributes (or put a : in front of them?), yuck. you need to use the => operator which is two times too big, and whats with th
21.
▲
by
barkmadley
15y ago
Yes, knockoutjs doesn't have it's own validation rules. Yes knockoutjs doesn't have routing. Yes, knockoutjs doesn't have ajax helpers. In all these frameworks that add those features, they forgot to copy two that I personally love to deat
22.
▲
by
barkmadley
15y ago
For me, the new operator (in javascript) is an optimisation, so it should be inserted into a code base after profiling. In accordance with the "make it work, make it right, make it fast" philosophy of development.
23.
▲
by
barkmadley
15y ago
The desugaring process is what makes the for loop magic. I cannot write a different control structure that looks like the that for loop in scala without touching the compiler. A counter example that shows how to avoid the sugar would be "if
24.
▲
by
barkmadley
15y ago
Why not have both? Also do you happen to use any regular expressions ever? Can you imagine specifying a regular expression using self-explanatory alphanumeric method names?
25.
▲
by
barkmadley
15y ago
you can get the same effect with arbitrary dots. e.g. first.last@gmail.com is the same as firstlast@gmail.com
26.
▲
by
barkmadley
15y ago
Does anyone else think that thoughtback is to twitter as ohlife is to blogging?
27.
▲
by
barkmadley
15y ago
I think the better place EV business model will help alleviate that problem, since you are technically renting the battery and it will get replaced semi-regularly. http://betterplace.com/the-solution-switch-stations This will also allow t
28.
▲
by
barkmadley
15y ago
in summary: He won't use linux as a desktop OS because linux isn't windows.
29.
▲
by
barkmadley
15y ago
a callback within a callback within a callback within a...
30.
▲
by
barkmadley
15y ago
Saying "some" is somewhat disingenuous as haskell on a horse is the only one not being actively developed at this time.
More ›