Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aaronbee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
aaronbee
1y ago
The trade off is discussed here: https://github.com/golang/go/issues/70835
2.
▲
by
aaronbee
3y ago
Your code is an example of a "pull iterator", and it's not as much of a concern. The harder case to deal with is a "push iterator", which are often much simpler to implement, but less flexible to use. See https:&#x
3.
▲
by
aaronbee
4y ago
There are some folks working on porting SwissTable to Go: https://github.com/golang/go/issues/54766 What’s holding it back currently is coming up with a way to do incremental rehash, which Go’s current map pr
4.
▲
by
aaronbee
4y ago
Here’s a description of the new map implementation and why it’s more efficient: https://www.pypy.org/posts/2015/01/faster-more-memory-effici...
5.
▲
by
aaronbee
4y ago
Russ Cox has a few good explainer blog posts: https://research.swtch.com/mm
6.
▲
by
aaronbee
4y ago
I believe they made a mistake with that example. It doesn't look unsafe to me because the myResults sliced passed to the goroutine is not used. Or perhaps the racy part was left out of their snippet. Below is what might be what they ha
7.
▲
by
aaronbee
5y ago
go1.18 is coming out soon with generics. The first release candidate came out 2 weeks ago. You can track the open issues here: https://github.com/golang/go/milestone/201
8.
▲
by
aaronbee
6y ago
I believe the GP's point is that even with a 10,000x increase in data center energy consumption, the effect on ocean temperature is tiny.
9.
▲
by
aaronbee
7y ago
Even more exciting, this is already present in go1.13. I believe the author of these slides made a mistake. Here it is mentioned in go1.13 release notes: https://golang.org/doc/go1.13#compiler And GitHub says the commi
10.
▲
Paradox exec: Steam’s 30% fee is “outrageous”
(arstechnica.com)
2 points
by
aaronbee
7y ago
|
0 comments
11.
▲
by
aaronbee
7y ago
TCL is pronounced "tickle." https://en.wikipedia.org/wiki/Tcl
12.
▲
by
aaronbee
9y ago
Amazon's pricing is yearly.
13.
▲
by
aaronbee
9y ago
This suggests that Google/Facebook/Twitter will still be able to track you, assuming you use their websites regularly, but advertising companies that don't have pages frequented by the average internet user won't.
14.
▲
by
aaronbee
10y ago
Cool Earth [1] is a highly rated [2] charity fighting climate change. [1] https://www.coolearth.org/ [2] https://www.givingwhatwecan.org/charity/cool-earth/
15.
▲
by
aaronbee
11y ago
When it comes to accessing shared data it's often much simpler and more efficient to use a lock to protect that data. Channels are good in other scenarios.
16.
▲
Report: Robots, other advances will cost humans 5.1M jobs by 2020
(arstechnica.com)
6 points
by
aaronbee
11y ago
|
0 comments
17.
▲
by
aaronbee
11y ago
The Chrome team has been working on power efficiency improvements [1], some of them have gone into the already released Chrome 44. [1] https://plus.google.com/+PeterKasting/posts/GpL63A1K2TF
18.
▲
by
aaronbee
11y ago
Google cache: http://webcache.googleusercontent.com/search?q=cache:srB_qjf...
19.
▲
Google buys patents before they become weapons
(arstechnica.com)
2 points
by
aaronbee
11y ago
|
0 comments
20.
▲
Arq Backs Up to Google Cloud Storage Nearline
(haystacksoftware.com)
32 points
by
aaronbee
12y ago
|
0 comments
21.
▲
by
aaronbee
12y ago
Facebook's Wedge 1U switch is what this builds on. https://code.facebook.com/posts/681382905244727/introducing-...
22.
▲
by
aaronbee
12y ago
This article from 2013 makes the argument that lead in the environment is responsible for violent crime. http://www.motherjones.com/environment/2013/01/lead-crime-li...
23.
▲
Bitcoin pool GHash.io commits to 40% hashrate limit after its 51% breach
(arstechnica.com)
2 points
by
aaronbee
12y ago
|
0 comments
24.
▲
by
aaronbee
13y ago
The problem with soft-links is that if the underlying file/directory is deleted, you are screwed. For example if you have 100 full-machine backups and want to free some space so you decide to delete every other one, you have to be care
25.
▲
by
aaronbee
13y ago
Another relevant benchmark is x32 vs. x86. In a memory constrained environment you may be forced to use x86. x32 gives you the ability to get the performance benefits of x86-64 (possibly plus some) while staying in your memory constraints.
26.
▲
by
aaronbee
13y ago
This sounds like a great idea and should make the game a lot more rewarding. For one, it will make crafting useful instead of a waste of money.
27.
▲
by
aaronbee
13y ago
Scala has the Try [0] and Either [1] types that can be used to achieve this. However, I believe Scala also allows any type to be NULL. In Rust there is no NULL so you don't have to worry if a value is ever NULL unless it is explicitly
28.
▲
by
aaronbee
13y ago
The point is to avoid writing to disk entirely by compressing RAM that may otherwise be swapped to disk when remaining RAM is low. See http://thread.gmane.org/gmane.linux.kernel.mm/91969
29.
▲
by
aaronbee
14y ago
Every packet goes through special switching hardware or ASIC. This ASIC has a pipeline for processing packets like a CPU has a pipeline for processing instructions. The ASIC also contains very fast tables optimized for storing and looking u
30.
▲
by
aaronbee
14y ago
If Apple plans on enabling the second core with a software update then they would have tested both cores during manufacturing.
More ›