Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prodigal_erik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
prodigal_erik
10y ago
Is that supposed to become the goal of the Opal project, censoring twitter? Because it doesn't have anything to do with their software. Kicking out a programmer because of his off-list opinions on transsexuality is like kicking out a m
32.
▲
by
prodigal_erik
10y ago
3/4 of recent jobs gave me a macbook. Between jobs and away from my desktop, I use a refurbished HP junker. Laptops are disposable and too severely compromised to make good investments. Anything that can run emacs, git, offline docs, a
33.
▲
by
prodigal_erik
10y ago
Master is the latest stable release. Topics are branched from master. A release branch is master plus topics that are ready to go live. Releases are OS packages (.deb, .rpm, whatever) built from release branches. We don't deploy with g
34.
▲
by
prodigal_erik
10y ago
You still need the struct because all of these s = append(s, f()) m[k] = f() c <- f() f().DoStuff() h(f(), g()) work with single-valued functions but not multi-valued functions. The feature is not well integrated with the
35.
▲
by
prodigal_erik
10y ago
If two things (typeclasses, interfaces, whatever) are very similar, I just want to write how they're different. Without something like inheritance I also have to redundantly restate all the ways they're the same, which nobody bene
36.
▲
by
prodigal_erik
10y ago
Weight is lost in the kitchen rather than the gym. It takes nearly an hour on a bike to burn off one big mac, so it's very easy to overeat so much that you can't make up for it.
37.
▲
by
prodigal_erik
10y ago
I didn't expect a full-blown rehash of my parenthetical. I wanted to point out that "people who use Go today" is one of two audiences who might be interested in announcements of changes.
38.
▲
by
prodigal_erik
10y ago
Feature parity with mainstream languages is a very slow-moving target. I do scoff at many languages' mediocre type systems and extensibility, but I don't feel the need to talk people out of using them.
39.
▲
by
prodigal_erik
10y ago
Even a special-case Result<T, E> in the language would be far more useful than multiple return values simply because you could pass it through a channel or a slice.
40.
▲
by
prodigal_erik
10y ago
It's not 90%, but it seems like it has to be more than 50% because not only does every call require an error check but f(g(x), h(y)) has to be broken down and given three error checks.
41.
▲
by
prodigal_erik
10y ago
The standard requires at least 16 bits in a short and 32 in a long. Oddly "all numeric types are 96 bits" would be fine.
42.
▲
by
prodigal_erik
10y ago
There were so many bad programmers who assumed 32 bit machines would last forever, that now we're stuck with compilers that don't default to 64 bit ints even building for 64 bit targets.
43.
▲
by
prodigal_erik
10y ago
Fixed? At least "wip" for "work in progress" doesn't raise your expectations too much.
44.
▲
by
prodigal_erik
10y ago
It's better to push a similar name and let people decide if and when to rebase --onto the new upstream. Squash merges are just bad. They destroy all the info that makes git handle branching and conflicts better than svn.
45.
▲
by
prodigal_erik
10y ago
Compiler writers have to use program transformation to do well on benchmarks. Developers who don't prioritize benchmarks probably don't use C, and if they do they really shouldn't, because sacrificing correctness for speed is
46.
▲
by
prodigal_erik
10y ago
Maybe employers' security teams should make it known that they routinely instruct employees to do this for business or personal travel.
47.
▲
by
prodigal_erik
10y ago
The driver's GPS made driving more accessible. But the passenger's GPS was even more important, because tourists finally know when they're being ripped off.
48.
▲
by
prodigal_erik
10y ago
If a partition leaves a quorum in contact with each other, why would it cause an interruption? CP means nodes not within a quorum become unavailable, and if a quorum no longer exists the whole system is unavailable. AP means minorities stay
49.
▲
by
prodigal_erik
10y ago
Thanks for the paper touching on reference counting work queues, I hadn't paid much attention to that approach since proponents tend to focus on instantly reclaiming each dead object. I still find semi-space copying (move O(live) objec
50.
▲
by
prodigal_erik
10y ago
The three line version is really easy to write. And every time you assign to a pointer, it requires uncached atomic updates to the refcounts of the old and new objects, which is staggeringly expensive compared to a block of code that can
51.
▲
by
prodigal_erik
10y ago
If the runtime mechanically detects that an object will never be used again, without you having to explicitly say so (and woe unto you if you're mistaken), that's what's meant by garbage collection. Reference counting does ha
52.
▲
by
prodigal_erik
10y ago
That's a tough one. I want to see sun at some point but I don't want it in my monitor.
53.
▲
by
prodigal_erik
10y ago
"How do I iterate over a slice?" "for...range." "How do I iterate over my own type?" "The hard way." "What interface can I implement to make for...range work?" "You can't. Our type
54.
▲
by
prodigal_erik
10y ago
It's an apt metaphor. Much like programming, there are a hell of a lot of people driving who really shouldn't be.
55.
▲
by
prodigal_erik
10y ago
>I strongly reject the criticisms that Go is meant for "mediocre" programmers I don't know how else to describe people who don't resent being second-class citizens under the library designers, who don't insist on
56.
▲
by
prodigal_erik
10y ago
That's just a jailed process. There's no reason to need a completely different language, especially one without any specific support for running untrusted code.
57.
▲
by
prodigal_erik
10y ago
The way I read it, the database driver quietly decided to convert any string that looks like a number, without any encouragement from their app.
58.
▲
by
prodigal_erik
10y ago
If everyone who cares what you think stops advising Trump, all his advice will come from people who don't care what you think. Why would you ever want that!?
59.
▲
by
prodigal_erik
10y ago
The threat is not "a better deal or we'll quit", that's a perfectly fair response to unacceptable conditions (and "other people will take this deal" is a perfectly fair counter). The threat is "it'd b
60.
▲
by
prodigal_erik
10y ago
Clinton strongly favors free trade and mass immigration. You could despise Trump yet vote for him if you think those trends are sufficiently harmful, because the only signals you could add to this election were Clinton, Trump, and Don'
More ›