Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbarham
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
361.
▲
by
jbarham
15y ago
Quite apart from Americans denouncing their citizenship, this absurd tax policy is surely a strong disincentive for many ambitious and successful global entrepreneurs from considering taking out US citizenship or applying for a green card,
362.
▲
by
jbarham
15y ago
My situation is somewhat similar: I'm a Canadian citizen but was in the US for several years on an H1B work visa, which got me a SSN and a personal bank account w/ Chase. However, I've since relocated to Australia. I'm developing a web ba
363.
▲
by
jbarham
15y ago
This post by Russ Cox about random hash functions is timely: http://research.swtch.com/randhash
364.
▲
by
jbarham
15y ago
> how large is the palm rest in front of the keys, on your model? I'd guess it's about the same size as the palm rest on my T410 Thinkpad laptop. Certainly it's bigger than the non-existent palm rest on most keyboards, but I've never f
365.
▲
by
jbarham
15y ago
I bought the standalone Thinkpad keyboard [1] and love it. It's compact as it doesn't have a separate number pad, and feels just like the legendary Thinkpad keyboards. At $59 it's not cheap, but IMO is worth it. FWIW it also includes a Tr
366.
▲
by
jbarham
15y ago
Off topic, but the image is apt as it's from a film called "The Lives of Others", set in East Germany in 1984, about a secret police agent who conducts surveillance on a dissident writer. IMO it's a very well done and moving film, and wel
367.
▲
by
jbarham
15y ago
> Being able to load a pixel as an int is the reason 32-bit RGB is used more often as a pixel format than 24-bit. No: RGBA.
368.
▲
by
jbarham
15y ago
"Also significant is the fact that Ulrich left Red Hat in September, 2010; ...he is now VP, Technology Division at Goldman Sachs." For me this is the punch line to the story. I wonder how he's liking wearing a shirt and tie to the office.
369.
▲
by
jbarham
15y ago
Who can make DNSSEC a requirement? How will it be enforced?
370.
▲
by
jbarham
15y ago
You're correct that updating a map from multiple goroutines without synchronizing is unsafe. But the overhead of using a RWMutex ( http://weekly.golang.org/pkg/sync/#RWMutex ) in this case should be negligible compared to the I/O code. The
371.
▲
by
jbarham
15y ago
> requiring your employees to take preventative care Sounds unconstitutional to me.
372.
▲
by
jbarham
15y ago
On the bright side, waiting for the Haskell compiler to grind away means you have plenty of time to read up on Go.
373.
▲
by
jbarham
15y ago
> Read Dark Shikari's blog posts about x264 if you want to see how much good use of SSE matters for video encoding. Like http://x264dev.multimedia.cx/archives/486 ? "Now that I’ve written a thousand or two lines of assembly code..."
374.
▲
by
jbarham
15y ago
> So, how do you serve static files? http://weekly.golang.org/pkg/net/http/#FileServer
375.
▲
by
jbarham
15y ago
It's a FAQ: http://weekly.golang.org/doc/go_faq.html#semicolons
376.
▲
by
jbarham
15y ago
Note that there is experimental support for Go on App Engine ( http://code.google.com/appengine/docs/go/overview.html ) and the beta versions are tracking the Go 1 changes pretty closely.
377.
▲
by
jbarham
15y ago
I've done concurrent programming in both Python and Go, and to be fair to Python, its standard library queue class ( http://docs.python.org/library/queue.html ) is very close to Go's channels so it does CSP style concurrency quite nicely. H
378.
▲
by
jbarham
15y ago
Given that e.g. the unemployment rate in Spain is 23% [1] and Greece is bankrupt, it seems a little quixotic to be highlighting European entitlements for workers, when the more pressing problem is obviously the huge numbers of people who ar
379.
▲
by
jbarham
15y ago
This article is bogus. Nowhere in the original G+ article does the author suggest that Chrome would switch to using Google's public DNS resolvers by default, which is what she implies. And then she throws in the spurious claim "there is ve
380.
▲
by
jbarham
15y ago
One thing I especially appreciate about Go that's a huge win over other statically compiled languages is how phenomenally fast the compiler is. E.g., I just re-built the current RC release on my 2.67 GHz i5, and the whole build, including
381.
▲
by
jbarham
15y ago
I've written a fair bit of Go code, and rarely miss generics. Two Go features in particular help to mitigate the lack of generics: 1. The built-in array/slice and map containers are effectively generic since they can act as containers for a
382.
▲
Go 1 Release Candidate 1
(groups.google.com)
84 points
by
jbarham
15y ago
|
70 comments
383.
▲
by
jbarham
15y ago
> I think people at Yahoo have made peace with the situation or have a strong reason for staying there. I've said it before, but I'll say it again: The ones with a "strong reason" to stay at Yahoo would be those on H1B work visas in th
384.
▲
by
jbarham
15y ago
For C++, that's actually not too bad. Now try creating 100,000 threads with synchronized communication. In Go it's trivial: $ cat goroutines.go package main import ( "flag" "fmt" ) var n *int = flag.Int("n", 100000, "
385.
▲
by
jbarham
15y ago
"I’m using a pretty basic home-assembled machine — Intel Core i7 processor, 32 GB RAM, SSD for applications and 3x 1TB HDs in a RAID for data..." Clearly his definition of a "basic" machine is different from mine. Or maybe I'm just getting
386.
▲
by
jbarham
15y ago
> This is quite true in India; a lot of the infrastructure laid down by the British is still in use I think that says more about India than it does about British engineering.
387.
▲
by
jbarham
15y ago
> can every country make a lot of money selling extremely high end luxury goods? It seems to be working well for Apple... In any case, the biggest car company in Germany is VW, and I wouldn't consider them a "luxury" car manufacturer.
388.
▲
by
jbarham
15y ago
Yup, if you're in the H1B queue for a green card, you have to restart the whole process if you switch employers. Been there, done that, not cool.
389.
▲
by
jbarham
15y ago
Amazon's SQS ( http://aws.amazon.com/sqs/ ) is a nice queue implementation with a very simple API for widely distributed systems. See the boto Python AWS library documentation for example usage: http://readthedocs.org/docs/boto/en/latest/
390.
▲
by
jbarham
15y ago
> Go is new, but I don't see it being adopted anywhere outside Google yet. 1. http://blog.golang.org/2011/04/go-at-heroku.html 2. http://blog.golang.org/2011/12/building-stathat-with-go.html 3. http://www.3dfuture.com.au/2011/12/in
More ›