HNHacker News
TopNewBestAskShowJobs

JulienSchmidt

376 karma · joined March 7, 2013

Contact via hn at julienschmidt dot com

GitHub: https://github.com/julienschmidt

We're hiring! https://grnh.se/a27fea202us

submissionscomments
JulienSchmidt··on Huge water reserve discovered in Kenya
Exclusive rights on this reserve bought by Nestlé in 3.. 2.. 1..?

http://www.worldcrunch.com/poisoning-well-nestl-accused-expl...

JulienSchmidt··on Introduction to Golang
http://i.lvme.me/4gl8uip.jpg

The up-to-date Go Users page is at http://code.google.com/p/go-wiki/wiki/GoUsers

JulienSchmidt··on Google Correlate - Draw
Is the metric system cool now? http://www.google.com/trends/correlate/search?e=id%3AJrnBhwp...
JulienSchmidt··on Secret Documents: NSA monitored 500 million connections in Germany
They already made posters with the title abolish intelligence agencies.

I find it hard to believe them, though. They seem to be against anything as soon as it gets unpopular.

JulienSchmidt··on Secret Documents: NSA monitored 500 million connections in Germany
At least not by law http://translate.google.com/translate?sl=de&tl=en&ie=UTF-8&u...

And yes, the US army bases in Germany are left overs from the allied occupation after WW II

JulienSchmidt··on Secret Documents: NSA monitored 500 million connections in Germany
Why would the FDP profit from this? AFAIK they never positioned themselves in favor of privacy.

I think the green party (Bündnis 90 / Die Grüne) will profit considerably more from this. They are know promoters of privacy and personal rights. "Die Linke" could also profit from this.

JulienSchmidt··on Secret Documents: NSA monitored 500 million connections in Germany
They are unable to settle on a real party manifesto. Also they have problems to organize themselves. Even worse, they regularly contradict each other in public. (My personal view)
JulienSchmidt··on Secret Documents: NSA monitored 500 million connections in Germany
Yes, "Der Spiegel" is a weekly magazine. This is about "Spiegel Online", the related website.
JulienSchmidt··on Free Speech Zone
Free Speech Zone you say?

Time for a "Arrested Development" scene! http://www.dailymotion.com/video/xohzz1_lindseys-cage-dance_...

JulienSchmidt··on Dear ISP: Here's why your pricing is unfair
No sorry, I don't trust you. You might be an engineer, but you don't seem to know how networks work.

98,4% in a speed test which highly relies on the destination server and the routing is a perfect result.

JulienSchmidt··on Go 1.1 performance improvements
Just install them in different paths. You have three options then:

1. Use absolute paths for the Go tools: $ /home/paul/go-tip/bin/go run myfile.go

2. Set the GOPATH every time accordingly (script)

3. Rename the folder. For example on my Windows PC I have GOPATH pointed to D:/dev/go. In the dev folder I have Go installations in go/ (currently 1.1), go1.0.3 (guess the version) and go-tip. If I want to use another version I just rename the folder to go/

JulienSchmidt··on Go 1.1 performance improvements
... and the good news is, that this wasn't all that can be squeezed out of Go.

Go 1.1 comes with some impressive performance optimizations, but there are more optimizations that can be done and there are already some great ideas discussed, like a Preemptive Scheduler.

Just see what performance related changes where already made since the Go 1.1 release last week:

• SSE-powered string/bytes compare: http://code.google.com/p/go/source/detail?r=b2f1f8cb2fcb7025...

• less allocations in the JSON package: http://code.google.com/p/go/source/detail?r=00d69aa6619e77d8...

• optimizations to malloc(): http://code.google.com/p/go/source/detail?r=0fe374e887455a57... and http://code.google.com/p/go/source/detail?r=931a7362e30c2139...

• optimized aeshash: http://code.google.com/p/go/source/detail?r=80c8a9f81e4816e0...

• faster x86 memmove: http://code.google.com/p/go/source/detail?r=4cb93e2900d0c748...

• less allocations in the buffered I/O package: http://code.google.com/p/go/source/detail?r=bce231eb0fdd4bbe...

• optimizations in the flate compression package: http://code.google.com/p/go/source/detail?r=bd653e485f1d9b5c...

• optimizations to the net/http package: http://code.google.com/p/go/source/detail?r=647f336edfe88a31... and http://code.google.com/p/go/source/detail?r=d1d76fc0ab6a33f1...

• integrated network poller for BSD: http://code.google.com/p/go/source/detail?r=9d60132d77847262...

JulienSchmidt··on Web Framework Benchmarks Round 5

  I apologize if you feel we stepped on your opinions in any fashion.
I don't ;)

I'm just not so happy about making the queries this way: http://i.imgur.com/u9Nx5.png

Of course I will try to help solving this issue, but it is hard to contribute without testing, since I have no idle server or suitable spare computer around where I could run this tests properly. But my PC seems to have a somewhat similar configuration to your "dedicated i7 hardware". I hope I manage to set up the test environment in a dual-boot soon.

JulienSchmidt··on Web Framework Benchmarks Round 5
INB4 questions to the Go results: Nope, issues of round 4 not addressed yet.

Like in round 4 (since the related code hasn't changed) the many concurrent spawned goroutines probably get in each others way, causing a high latency and low throughput.

There was a reversion of the test without goroutines, which I think performed better. But I was told the goroutines version is more realistic... (I don't share this opinion).

To be fair, this version had also a manual connection pool to address a previous bug.

Also Go's database connectivity is not very mature yet. There is still a lot of work to do. I'm pretty sure it can and will be done.

JulienSchmidt··on Web Framework Benchmarks Round 4
This is probably caused by running all the queries in their own goroutine (if you don't know what this is just think of it as a thread - but much cheaper). This causes the queries to be handled in more or less random order. We'll fix this for Round 5 ;-)
JulienSchmidt··on Web Framework Benchmarks Round 4
Maybe because the server is not running Windows?

Edit: yeah right Mono and w/e

JulienSchmidt··on Go 1.1 RC1 is out
http://en.wikipedia.org/wiki/NX_bit

Edit: dylanvee was faster, the NX-bit is the underlying hardware feature

JulienSchmidt··on Go 1.1 RC1 is out
gccgo issues: maybe, since gccgo is not included in the Go package

other issues: probably not, since these are new issues that are being worked on

JulienSchmidt··on Web Framework Benchmarks Round 3
Just for the reference: It was not the drivers fault but an bug in the database/sql package, which was fixed in https://code.google.com/p/go/source/detail?r=45c12efb46
JulienSchmidt··on Go 1.1 beta 1 Released
It's called "net/http". It's cross-platform, has network-transparency and all that stuff. But you need a client called "browser" to view the graphics. A great example is hosted at http://tour.golang.org/, which makes learning and playing around very easy.
JulienSchmidt··on Zero-downtime restarts in Go
> The 2nd one threw a connection error not when I issued the dial function, but when I tried a query on a fake IP.

That's not the drivers fault: https://code.google.com/p/go/issues/detail?id=4804

JulienSchmidt··on Gotchas, Irritants and Warts in Go Web Development
There will be a new scheduler and an improved GC in Go 1.1, which will be released soon.
JulienSchmidt··on Gotchas, Irritants and Warts in Go Web Development
The timeout issue was fixed in Go 1.0.3. The problem wasn't that the connections timed out, but that the database/sql package wasn't able to handle this correctly. http://code.google.com/p/go/source/detail?r=b397807815a6

Please keep in mind, that the database/sql package is - like Go itself - still very young. There is still a lot of work to do compared to mature libraries like JDBC, but it will improve with every release.

← PreviousPage 3 of 3