Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Jabbles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
841.
▲
by
Jabbles
14y ago
It may be easy, but it's not that easy. values := []string{"a", "b", "c"} for _, v := range values { go func(){fmt.Println(v);}() } Does have a race condition. values := []string{"a", "b", "c"} for _, v
842.
▲
by
Jabbles
14y ago
> I know I can use "chan struct{}" to avoid any storage, but I think "<- true" looks nicer than "<- struct{} {}". I disagree. struct{}{} tells me that the value isn't important. Whenever I use map as a set, rather than a key-val
843.
▲
by
Jabbles
14y ago
I'm afraid many of the conventions you complain about are standard Go, err, conventions... (Although see my complaint elsewhere.) Because they are so widely used, people who use Go won't bat an eyelid. Unfortunately that doesn't make the ar
844.
▲
by
Jabbles
14y ago
> Doing that would erase the whole benefit of allocating a static array in the first place (you really don't want to be allocating memory for every packet that comes through). The benefit is dubious. Performance is unlikely to be import
845.
▲
by
Jabbles
14y ago
This article isn't bad... but it misses several important points of Go. I also note the article is 9 months old. In the hope that my criticism will be taken as constructive, with apologies for not writing detailed explanations: 1. Goroutine
846.
▲
by
Jabbles
14y ago
Sometimes known as data dredging. https://en.wikipedia.org/wiki/Data_dredging
847.
▲
by
Jabbles
14y ago
I'm afraid there are many things wrong with your model of how heat works. However a simple factor is that the surface of the sun is ~10000 times larger than the surface of the earth.
848.
▲
by
Jabbles
14y ago
What did the Go team change to do this? Compiler optimizations or code changes? SIMD instructions?
849.
▲
by
Jabbles
14y ago
To experience the full effect, disable your adblocker.
850.
▲
by
Jabbles
14y ago
Is it too much to expect that every device should be capable of rendering every unicode point (latest version at release) in at least one font? With the option to fall back to that font if it tries to render something in a font that doesn't
851.
▲
by
Jabbles
14y ago
It's an arbitrary amount of time that relatively few people are able to dedicate to any skill. The rare people that do are known as "experts". But you won't be as "expert" as someone with 20,000 hours. IMO it's a tautological phrase based o
852.
▲
by
Jabbles
14y ago
I believe you're talking about "search and rescue" dogs. The others were talking about dogs that had been rescued from abusive or neglectful owners. In any case, you are correct :)
853.
▲
by
Jabbles
14y ago
If c were outside that range, the result would be undefined, and the compiler would not need to consider that possibility.
854.
▲
by
Jabbles
14y ago
You may find http://mosttraveledpeople.com/ interesting. A site whose members are determined to visit as much of the world as possible.
855.
▲
by
Jabbles
14y ago
In the UK this is called Chip and PIN. https://en.wikipedia.org/wiki/Chip_and_PIN
856.
▲
by
Jabbles
14y ago
What was the distribution of remuneration?
857.
▲
by
Jabbles
14y ago
I would recommend this for "non-security" software engineers. i.e. those that don't specifically work in your field, but who must (I'm sure you'll agree) have a basic overview of what comprises a secure system, and a flavour of the kind of
858.
▲
by
Jabbles
14y ago
For me it currently says "You're currently travelling at 7,000 pixels a second 200,000 km/h" - which is clearly wrong, as at that speed it would take an hour to get to the moon. Good idea, well intentioned. But they got the numbers wrong...
859.
▲
by
Jabbles
14y ago
You can star it. That would tell the developers how many people care about it in O(1) time, without having to wade through O(n) comments. Alright, O(log n) time.
860.
▲
by
Jabbles
14y ago
For example, if you do a runtime type assertion to see if a variable satisfies an interface: v, ok := x.(T) http://golang.org/ref/spec#Type_assertions If you "monkey-patch" x to satisfy T in another package, the value of ok may c
861.
▲
by
Jabbles
14y ago
You can't add methods to a type in a different package as you might break that package. By locking the method set of types when a package is compiled you provide some guarantee of what it does, and it doesn't need to get recompiled again! T
862.
▲
by
Jabbles
14y ago
I agree that a larger sample would be welcomed. In particular, spreading the experiment out over many days would help eliminate a "oh all these packages are the same, they probably go here" mistake. Whilst sending them all out on the same d
863.
▲
by
Jabbles
14y ago
Sergey is an interesting character. He's so brutally honest and unrefined. There's no trace of corporate bullshit, no fear of saying anything wrong about Google (although he did correct himself over eBay). He's awkward. Says "er" a lot. Mak
864.
▲
by
Jabbles
14y ago
No one is sure: https://news.ycombinator.com/item?id=5416979
865.
▲
by
Jabbles
14y ago
Are we sure SendGrid hasn't been compromised?
866.
▲
Samsung Galaxy S IV supports H.265
(pcadvisor.co.uk)
2 points
by
Jabbles
14y ago
|
0 comments
867.
▲
by
Jabbles
14y ago
"The mistakes that killed or maimed Vocalix and Woobius, my previous two startups, were not very original. They were awfully predictable." Has Daniel written a post-mortem about them somewhere?
868.
▲
by
Jabbles
14y ago
I don't think many people turned down Yuri Milner's offer. They may feel differently about a bigger, later stage offer, but they may have to trade that off with how quickly they want to start spending money. Would the speed and organisation
869.
▲
by
Jabbles
14y ago
Surely there's a huge opportunity for the market of VCs to favour those that move quickly: Bring an accountant to the startup demo day to look over the books of ones you find impressive, a lawyer on call to prepare a (i.e. tweak a standard)
870.
▲
by
Jabbles
14y ago
The physics involved is fascinating, although a true appreciation of what a Higgs Boson is would take years (i.e. most of a PhD). The organisation of such a vast data-processing task has surely brought about many discoveries in "big-data" a
More ›