Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Jabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
126 ms
·
691.
▲
by
Jabbles
11y ago
Except some people wouldn't enable -Werror, and the quality of Go code would suffer on average. Plus, now your compiler has options .
692.
▲
by
Jabbles
11y ago
You'll love goimports then. https://godoc.org/golang.org/x/tools/cmd/goimports Hook it to your editor's save command and never worry about imports again. On the other hand, stop leaving unused
693.
▲
by
Jabbles
11y ago
The key to why the obvious algorithm of "half a Fisher-Yates shuffle" isn't enough is that it uses O(k) memory, whereas Vitter's algorithm is constant. http://play.golang.org/p/UqC6XWrPLB
694.
▲
by
Jabbles
11y ago
Thanks. How long has it been roughly $1/Mbps/Month ? Do you know of any sources with historical data?
695.
▲
by
Jabbles
11y ago
$1/Mbps per what (unit time)?
696.
▲
by
Jabbles
11y ago
Here's some stats on random 50-bit primes: https://play.golang.org/p/T4gsMwd1jj
697.
▲
by
Jabbles
11y ago
I'm shocked at how simple a pattern was previously unknown. https://play.golang.org/p/ajn-wMo_3V
698.
▲
by
Jabbles
11y ago
Effective Go has always said: Do not communicate by sharing memory; instead, share memory by communicating. This approach can be taken too far. Reference counts may be best done by putting a mutex around an integer variable, for instance.
699.
▲
by
Jabbles
11y ago
Is the best way of sending an image still base64 encoding it in JSON?
700.
▲
by
Jabbles
11y ago
That division looks expensive. He says, with absolutely no profiling whatsoever... I would like someone to offer some evidence though :)
701.
▲
by
Jabbles
11y ago
What does that have to do with this news though?
702.
▲
by
Jabbles
11y ago
Why is any of that concerning? I'm not seeing the link.
703.
▲
by
Jabbles
11y ago
There used to be five hundred billion digits of e available here[1], which would remove this reason to think something strange was happening, not that it would prove it. [1] http://www.numberworld.org/digits/E/
704.
▲
by
Jabbles
11y ago
The ambiguity of "now + 1y" caused an outage for Azure: https://azure.microsoft.com/en-us/blog/summary-of-windows-az...
705.
▲
by
Jabbles
11y ago
SQLite has had this problem: https://github.com/mackyle/sqlite/blob/3cf493d4018042c70a4db...
706.
▲
by
Jabbles
11y ago
Could you give me an example? I couldn't find many figures on protein half lives.
707.
▲
by
Jabbles
11y ago
Is this significantly harder than surviving the freezing process for 1 year? Once frozen, I would have thought most chemical reactions slowed to a negligible pace, making the time they spend frozen irrelevant.
708.
▲
by
Jabbles
11y ago
Memory profilers are far cheaper to use than valgrind.
709.
▲
by
Jabbles
11y ago
They gave 5 days' notice. https://groups.google.com/forum/#!topic/golang-announce/MLaP...
710.
▲
by
Jabbles
11y ago
Someone paid you to write something and you chose to use a language that is (only now) on version 0.16?
711.
▲
by
Jabbles
11y ago
Of course, doctors do not randomly assign tests to patients. Their prior that a patient has a disease is a lot higher than the background frequency of it occurring. Getting them to estimate their prior would be interesting.
712.
▲
by
Jabbles
11y ago
> A lot of employees don't And what is your evidence for that? I hope it's not an estimate for the average time an engineer has been at Google, which is clearly not the same thing.
713.
▲
by
Jabbles
11y ago
Does anyone have an estimate for how much time "50 puzzles a day" takes? Surely if the puzzles are actually stretching you, they'll take a few minutes each? Is 50 realistic for an amateur player?
714.
▲
by
Jabbles
11y ago
I highly recommend this writeup of someone bootstrapping half a language from raw hexadecimal upwards: http://homepage.ntlworld.com/edmund.grimley-evans/bcompiler....
715.
▲
by
Jabbles
11y ago
Does anyone know why Knuth is writing some form of C? AFAIK none of the other TAOCP contain C, or anything other than (M)MIX and pseudocode. Why change now?
716.
▲
by
Jabbles
11y ago
You can't "technically" do that. Which "rule" (from which rulebook) do you think allows you to arbitrarily repeat structures?
717.
▲
by
Jabbles
11y ago
Google is replacing PageRank with RankBrain and when this is complete they won’t know why certain pages are offered as the best results. Google is well aware of the problems of machine learning: http://research.google.com/
718.
▲
by
Jabbles
11y ago
What rule allowed him to use the word "goer"?
719.
▲
by
Jabbles
11y ago
I don't see how it's not type covariance. Go's slices are generic to the extent needed, and the subtyping of Go's interfaces fits the requirements for ordering of types well enough.
720.
▲
by
Jabbles
11y ago
Meh. 1. How often do you insert into a slice? You know that's a O(n) operation, right? 2. nil is typed, I'll grant that it's not the most obvious part of Go's type system. 3. Meh. 4. This is type covariance. It's co
More ›