Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ubertaco
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
421.
▲
by
ubertaco
11y ago
Adding my voice to the din of people noting how far afield of the point the author is: You should almost never call .get(), except in cases where the code path does not allow an empty optional. Even so, calling .get() on an empty optional i
422.
▲
by
ubertaco
11y ago
So how does one test the closure?
423.
▲
by
ubertaco
11y ago
A lot of these are indistinguishable from regular HN babble: > Protesting with a python port of ZFS on Linux > Ten Rules for Web 2.0 sites and URL obfuscation > From 0 to 8-figure revenue in spite of flat UI design and email > H
424.
▲
by
ubertaco
11y ago
Probably, but if your business model is selling Javascript widgets (of which anyone can easily view the source), then you're already in bad shape.
425.
▲
by
ubertaco
11y ago
This is awesome for exploring an API. And, apropros of nothing, nice example site choice. :D
426.
▲
by
ubertaco
11y ago
Last time I used Mirth (going on 3 years ago now), it was a pretty good engine wrapped up in terrible UI/UX. The core logic and some of the built-in transformation (particularly the HL7v2 parser, actually!) was good, but any time you h
427.
▲
by
ubertaco
11y ago
>And, not only did he call them on it, he did it in a very public fashion, and in a manner to which the only real rejoinder is a smear campaign against him. Effectively, "nuh-uh! Uhh...YOU'RE racist!"
428.
▲
by
ubertaco
11y ago
Yep, this reminded me of a not-crappy version of Mirth Connect.
429.
▲
by
ubertaco
11y ago
This blog is really helpful for understanding FP. I dove into the other big post on there about Haskell and pure functions and monads and it actually made a bit of category theory finally make sense. Just enough brain-stretching to learn, a
430.
▲
by
ubertaco
11y ago
Opera is not, as an entity or in terms of identity, a fork of Chrome. However, it is, as rendering and JS goes, functionally a fork of Chrome, since as you'll notice from the source you cited, it uses Chrome's "Blink"
431.
▲
by
ubertaco
11y ago
The biggest three tips I'd offer for feature flags are: 1. Don't use a feature flag unless you absolutely have no other choice . 2. If you must use a feature flag, ensure that it's short-lived. (A/B testing, migration p
432.
▲
by
ubertaco
11y ago
There are a couple of qualms I have with this article: 1. He's looking at Safari 9, a version that is not yet deployed anywhere, rather than Safari 7/8, which are the versions that everyone knows and loathes. Yeah, if you move the
433.
▲
by
ubertaco
11y ago
Eh, it's a matter of opinion here. Personally, I like the explicit statement that EITHER all of this OR ELSE all of that will happen: if (x < 0) { throw new Exception("Nonnegative numbers only!"); } else
434.
▲
by
ubertaco
11y ago
Snorelax or Snorlax[1]? Just a heads-up to avoid any naming confusion/infringement stuff. (Though I should note, I have no idea if there's even a risk of that; I'm basically the opposite of a lawyer). Seems like a cool idea!
435.
▲
by
ubertaco
11y ago
Someone mentions in the comments on this blog post F#'s |> operator, which I've found nice both in F# and in its cousin/ancestor OCaml.
436.
▲
by
ubertaco
11y ago
So, without knowing anything about how those scores are calculated, I'll point out that currently, desktop Safari (which is much less problematic than iOS Safari) is just behind Edge, a browser that isn't even at v1.0 yet. Even
437.
▲
by
ubertaco
11y ago
I'm kinda bummed that they are waiting for what seems like an arbitrary date to non-VS devs (I do my dev work on a Linux personal machine and an OSX work machine). But hey, I can wait a couple extra days, I suppose.
438.
▲
by
ubertaco
11y ago
A function, not an alias, but I've found it useful when working on deeply-nested projects/dirs: function up { if [[ "$#" < 1 ]] ; then cd .. else CDSTR=""
439.
▲
by
ubertaco
11y ago
TL;DR version: "this half of the country thinks differently from me; they're such aberrations! Obviously America would be way better and more normal (read: identical to my particular preferences) if they were all gone." Seems
440.
▲
by
ubertaco
11y ago
Similarly-credible headlines: "Microsoft shuts down Windows division, begins selling copies of OSX instead." "USA secedes from Canada." "Earth decides, 'eh, gravity sucks', ceases its gravitational pull.&q
441.
▲
by
ubertaco
11y ago
This isn't an article, this is just copy-paste from Ayn Rand. And at that, it's copy-paste of a character in one of her objectivist-utopian fanfics beating up a strawman based on a misquote of 1 Timothy 6: > But godliness with
442.
▲
by
ubertaco
11y ago
> "to delete my memories of how ux" > "hogan is being interviewed and talking about how "snake people" act are normally just lazy writing. they" ....yeah, I think it could use some work. It looks like it&
443.
▲
by
ubertaco
11y ago
>a racist flag When I look at the Confederate flag, it represents something completely different to me. It's the flag that my great-great-great-great grandfather fought for, not because he was a racist, but because he was 12 years o
444.
▲
by
ubertaco
11y ago
> And in this way it wasn't "bad," and in fact they turned out to be some of the best things that happened to me. In what way? And what growth can be claimed for the people killed by the Holocaust? Pardon my Godwin's
445.
▲
by
ubertaco
11y ago
I think that was largely to make it easier to deal with arrow functions in higher-order functions, though the only case I can see for "arguments" anymore is for varargs, and those are covered with the rest operator, so I'm no
446.
▲
by
ubertaco
11y ago
> The first principle of consciousness.io is No Judgement. This means strive to judge nothing as "bad" or "evil" - not even your own judgements! >The universe and every thought or thing in it is precisely perfect.
447.
▲
by
ubertaco
11y ago
> Anyone competent with Javascript can easily read the first form And anyone competent with any language implementing map can easily read: users.map(user => user.name); ...without having to do any "skimming over"
448.
▲
by
ubertaco
11y ago
There are levels of "knowing" a language. I've been writing Java since I was 14 (for 11 years now). I write Java on a daily basis for work, and I can't remember the last time I had to consult a reference on syntax. I wou
449.
▲
by
ubertaco
11y ago
The only facts in this tweet are: - The guy made Homebrew - The guy interviewed at Google - The guy was not offered a job at Google after his interview. Anything else is unconfirmed and, speaking as someone who's thrown quite a few fru
450.
▲
by
ubertaco
11y ago
It advertises that it's "without promises", but then implements a remarkably Promise-like API: PS.create(someAsyncFunction, ['argOne'], callback1) .then(callback2) .then(callback3) .run();
More ›