Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
damncabbage
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
damncabbage
8y ago
Relative to Ruby it has more upfront checking of some things. In Elixir, calling a function that doesn't exist or with the wrong number of arguments is something that will error out at compile-time; with Ruby, you don't find out u
2.
▲
by
damncabbage
9y ago
> I checked out our shared Twitter history, we talked a fair bit in the past but I wasn't able to find _anything_ like this. > I mean this sincerely — are you _sure_ you didn't get me confused with someone else? I was defini
3.
▲
by
damncabbage
10y ago
There's also comments support in Flow directly, but it's sadly (but understandably) hideous: function somefunction(somestring/*: string*/)/*: boolean */ { var ret/*: boolean */; ...
4.
▲
by
damncabbage
10y ago
> It falls short on many things TS would immediately flag I'm kind of curious what you've run into personally. Having a dependency without any type-defs get silently treated as `any` is my own beef, but I haven't hit much
5.
▲
by
damncabbage
10y ago
It means restricting to where you can perform IO actions, eg. printing to a log, writing to a shared area of memory, etc. Haskell does this by representing IO actions as values, eg. "IO String" (something like "IO<String&g
6.
▲
Seagate to Shut Down One of Its Largest HDD Assembly Plants
(anandtech.com)
106 points
by
damncabbage
10y ago
|
93 comments
7.
▲
by
damncabbage
10y ago
A list of items in an array. Some items in that list are of particular note. (Say you have 15 items in an array. For whatever reason, such as you not being in control of the expected input structure of whatever you're giving this JSON
8.
▲
by
damncabbage
11y ago
> I've used the Haste compiler which IS Haskell that supports ALL GHC extensions except TemplateHaskell, supports the Cabal build tool and in practice it has its own ecosystem; most of Hackage will not compile on it. As someone who&
9.
▲
by
damncabbage
11y ago
Agreed; HipChat is unfortunately a bit terrible about this. I'll often "lose" a notification from someone when I'm offline: it sends an email, yep, but the chat client itself loses the "unread message" bubble.
10.
▲
by
damncabbage
11y ago
I'd be cautious: the range is too small for me (6'1" / 188cm). On a regular desk that suits me, it doesn't go high enough, and if you prop things on the desks up a bit, you then need to remove them when you lower it
11.
▲
by
damncabbage
11y ago
> ... being signed in is in-memory state. Can be in-memory state. Everything beyond toy-sized I've ever worked on has externalised this sort of state to a database of some kind, if only so you can run a second copy for the sake of
12.
▲
by
damncabbage
11y ago
In case the question is actually "Why not 1.9.3?", it's likely because 1.9.3 is End Of Life, and doesn't even get security upgrades now: https://www.ruby-lang.org/en/news/2014/01/10&#x
13.
▲
by
damncabbage
12y ago
I recommend reading this (or at least pages 4-6 if you're in a rush) and the footnoted sources: https://docs.google.com/document/d/1soIYek-YEIvqtu9brv3ecdPb...
14.
▲
by
damncabbage
12y ago
The iPhone has VoiceOver, and there are bluetooth Braille keyboards/displays for typing. This page goes into a bit more detail: https://andreashead.wikispaces.com/How+Do+Blind+People+Use+a...
15.
▲
by
damncabbage
12y ago
To just see the content on the page, paste this into the console: $('body').append('<style>.lesson,.post{visibility:visible;}</style>'); (I enjoyed reading the content, but found it infuriatin
16.
▲
by
damncabbage
12y ago
"If network connectivity is lost, you will need to launch a new session." As an Australian, I fear this is yet another one of those things we won't be able to use on our spotty 250KB/s connections.
17.
▲
by
damncabbage
12y ago
I'd love to see how this goes. :D I recommend having a read of this other discussion thread further up the page: https://news.ycombinator.com/item?id=8312701
18.
▲
Getting Git Right
(atlassian.com)
4 points
by
damncabbage
12y ago
|
0 comments
19.
▲
by
damncabbage
12y ago
This won't do anything for you there; it just collapses a Class and a record ID down into a string for you (and then pulls it back out of your database later with a GlobalID::Locator.locate(string) call). It's not full-record-se
20.
▲
by
damncabbage
12y ago
Spooky23 is being sarcastic.
21.
▲
by
damncabbage
12y ago
I'm of the opinion that languages around the 10 year mark (which PHP is obviously well past) really ought to focus on becoming the best X they can be, rather than chasing the tail lights of constantly-moving best practice
22.
▲
by
damncabbage
12y ago
The C2 wiki has some discussion on the topic: http://c2.com/cgi/wiki?SingletonGlobalProblems http://c2.com/cgi/wiki?SingletonsAreEvil (And also: http://blogs.msdn.com/b/scottd
23.
▲
by
damncabbage
12y ago
Slight off-topic, sorry – I'm having a hard time reading the text on the photo background: http://i.imgur.com/StACWqu.png
24.
▲
by
damncabbage
12y ago
This is also an excellent (and very long) piece that does the same: http://techcrunch.com/2014/04/14/sf-housing/
25.
▲
by
damncabbage
12y ago
I think there may be a typo with the first example: newtype ID a = ID Int deriving (Eq,Ord,Show) Should possibly just be: newtype ID a = ID a deriving (Eq,Ord,Show)
26.
▲
by
damncabbage
12y ago
He was the lead maintainer for glibc that people ended up needing to work around rather than with : https://sourceware.org/bugzilla/show_bug.cgi?id=4403 https://sourceware.org/bugzilla/show_bug.
27.
▲
by
damncabbage
12y ago
And the same, in HTML form: https://developer.apple.com/library/prerelease/ios/documenta...
28.
▲
by
damncabbage
12y ago
I can almost understand with something like Subversion (which seems to subtly skew the entire development process to work around the friction some of its basic operations introduce), but not even Mercurial? :(
29.
▲
by
damncabbage
12y ago
And also apply this patch, if you're using MRI (the C implementation, and the most common Ruby runtime): https://gist.github.com/plexus/11201946
30.
▲
MS Security Essentials reporting false positives in the Bitcoin blockchain
(answers.microsoft.com)
1 points
by
damncabbage
12y ago
|
0 comments
More ›