Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shangaslammi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
shangaslammi
13y ago
I would also argue that you can get the benefits of a static type system with hardly any cost. Usually when people talk about dynamic vs static typing they imagine something like Ruby or Python vs Java, but there's no reason why you ca
32.
▲
by
shangaslammi
13y ago
The thing with infix operators is not about being C-like, but rather about mathematical expressions looking like they do in actual mathematics (not to mention that each term potentially adds another level of nesting). At least I've per
33.
▲
Gamers campaign to end Wii U region locking
(destructoid.com)
1 points
by
shangaslammi
13y ago
|
0 comments
34.
▲
by
shangaslammi
13y ago
The same thing in Haskell: cycle seq = circular where circular = seq ++ circular (or if you want to really golf it) cycle = fix . (++) Ok, to be fair the Scala code is a bit more generic as it works for any abstract sequen
35.
▲
Euclideon Geoverse 2013
(youtube.com)
5 points
by
shangaslammi
13y ago
|
0 comments
36.
▲
by
shangaslammi
13y ago
Agreed. Lip reading via the camera would be much nicer to use (although probably an order of magnitude more difficult). :)
37.
▲
by
shangaslammi
13y ago
Wait what? "Adding types will not prevent your program from compiling" So even if you type-annotate everything, you will never get compile-type type errors? That makes the whole thing seem completely pointless.
38.
▲
by
shangaslammi
14y ago
The great thing is that the time-altering mechanics actually work really well and they even managed to make a user-friendly UI for what is arguably a rather complicated concept. However, the actual RTS part is woefully mediocre and has prob
39.
▲
A Game of Type-Safe Tic-Tac-Toe
(github.com)
2 points
by
shangaslammi
14y ago
|
0 comments
40.
▲
by
shangaslammi
14y ago
Not at all. You can start doing I/O in Haskell without knowing anything at all about monads by just treating the do-syntax as an imperative DSL. In fact, Bryan O'Sullivan (who wrote Real World Haskell) just held a tutorial session on Haskel
41.
▲
by
shangaslammi
14y ago
I've also had files zeroed out on a few occasions. I run Dropbox over a wide variety of machines and while this is completely anecdotal, the zero update has always come from one of my Ubuntu machines, which leads me to believe that this is
42.
▲
by
shangaslammi
14y ago
In Haskell, decimal literals can be inferred as any Fractional type (including Rational, which is precise), but they default to Double if there is no context that dictates otherwise. Prelude> 0.3 - 0.2 == 0.2 - (0.1 :: Rational)
43.
▲
by
shangaslammi
14y ago
You mean like http://techland.time.com/2012/04/18/crab-computing-the-futur...
44.
▲
by
shangaslammi
14y ago
Well, why not? Isn't this the ultimate way for regular consumers to "vote with their wallet"?
45.
▲
by
shangaslammi
14y ago
Selling the game to a single, publisher-like entity through negotiation seems like a pretty old-fashioned way to do it and an especially bad fit for a low-budget indie game. It would have been interesting to compare numbers if some of the t
46.
▲
by
shangaslammi
14y ago
And most importantly: it syncs omnibar history which makes old fashioned bookmarks almost redundant.
47.
▲
by
shangaslammi
14y ago
Misses the most important point: syncing. I don't know about the masses, but at least that was the biggest reason in my circles why people were excited to have Chrome on iOS.
48.
▲
by
shangaslammi
14y ago
The problem is that just as there's a lot of room for interpretation regarding whether something falls under a certain software patent or not, whether something get ruled as valid prior art by a specific judge is likewise a crapshoot. Secon
49.
▲
by
shangaslammi
14y ago
The video isn't comparing Siri to S Voice (which is Samsung's mediocre Siri-clone), but to Google Voice Search in Android 4.1.
50.
▲
by
shangaslammi
14y ago
Have you actually looked at the four patents used in this litigation? I think it's highly arguable whether Apple really invented any of those concepts.
51.
▲
by
shangaslammi
14y ago
It's still in beta, so not bundled with the OS yet. https://play.google.com/store/apps/details?id=com.google.and...
52.
▲
by
shangaslammi
14y ago
I think he's talking about a stylus like in Galaxy Note, which is quite a different beast (proper pressure sensitivity and pen angle detection).
53.
▲
by
shangaslammi
14y ago
This is really what has kept me from giving Haxe a try so far. It's just extremely painful to go back to curly braces and semicolons after years of writing noise-free code with e.g. Python, CoffeeScript and Haskell. I know it sounds superfi
54.
▲
by
shangaslammi
14y ago
Since it's for Android, how about logging in using your Google account?
55.
▲
by
shangaslammi
14y ago
Add the language you don't want to see to the preferred content languages in your browser settings and then make sure it's the last one in the list. Works with most Google services and many others to stop the automatic language selection ba
56.
▲
by
shangaslammi
14y ago
Looks similar to the "Mikontalo Lights" project in Finland. http://www.youtube.com/watch?v=ril6OYSKD3A
57.
▲
by
shangaslammi
15y ago
It's a bit misleading way to put it, but more or less correct when talking about client-side JavaScript. There are essentially no blocking calls, so a "synchronous" function in this context just means a normal function which directly return
58.
▲
Boot to Ubuntu desktop from your Android phone
(androidcentral.com)
4 points
by
shangaslammi
15y ago
|
0 comments
59.
▲
by
shangaslammi
15y ago
I absolutely agree with you. I used to use bzr for personal projects and compared to git it has way more intuitive commands and flags as well as smarter defaults. I use git nowadays mainly because of github and because it's what we use at w
60.
▲
by
shangaslammi
15y ago
To make things easier, you can use node-fibers ( https://github.com/laverdet/node-fibers ) to structure your asynchronous code with coroutines or, if you are feeling less adventurous, async ( https://github.com/caolan/async ) is an excellen
More ›