Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
luriel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
301.
▲
by
luriel
14y ago
> True. But as you said, you have to know if it's BE or LE on UTF16. Yes, with UTF-16 you need to know not just the encoding, but also the endianness. That makes UTF-16 worse , not better. UTF-16 is really the worst of all possible wor
302.
▲
by
luriel
14y ago
Yes! I have been meaning to write something like this for years. There is only one thing I would add: Never add a BOM to an UTF-8 file!! It is redundant, useless and breaks all kinds of things by attaching garbage to the start of your files
303.
▲
by
luriel
15y ago
The president could threaten to veto any bill that bundled unrelated issues unless it was split and passed as independent bills.
304.
▲
by
luriel
15y ago
Yea, I would think that any sane and honest scientist would be delighted that somebody else is going to test their work. But after things like this: http://www.plosmedicine.org/article/info:doi/10.1371/journal... I'm starting to wonder
305.
▲
by
luriel
15y ago
Here are some slightly more detailed benchmark results of Go vs. HiPE: http://shootout.alioth.debian.org/u64/benchmark.php?test=all... Note: Go development is done mostly on 64bit, and the 32bit port is a bit of a second class citizen spe
306.
▲
by
luriel
15y ago
Rob Pike and the rest of the (ex)Bell Labs/Unix gang have been on both sides of this for over 20 years: both with Squeak/Alef/Limbo, then switching to using C with libthread ( http://man.cat-v.org/plan_9/2/thread not to be confused with pt
307.
▲
by
luriel
15y ago
On a related note, I have heard of quite a few game companies that are using Go for their server side code.
308.
▲
by
luriel
15y ago
OS X is infamous for its bugs. See for example: http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#OS_X_AN...
309.
▲
by
luriel
15y ago
> There are actually legitimate uses for patents Whatever patents in general have any legitimate uses is at best arguable (see http://levine.sscnet.ucla.edu/general/intellectual/against.h... ), but that software patents are a comple
310.
▲
by
luriel
15y ago
This is one of the many reasons why I love Go's pragmatism. gofmt is the end of all this kind of silly unproductive arguments. The sad thing is that apparently some programmers take this stuff so seriously that they refuse to learn a langua
311.
▲
by
luriel
15y ago
Isn't that basically what SCO tried not long ago?
312.
▲
by
luriel
15y ago
Both are very aggressive towards anyone trying to disrupt their industry (eg., generic drugs or online distributions for example), and both use government power (regulations, patents, DMCA, etc.) to try to preserve their control over their
313.
▲
by
luriel
15y ago
He was just as insanely productive even before he joined Google, for a while he was both at Bell Labs (hacking on Plan 9, venti, and other things) and at MIT (hacking on vx32, the modern-C rewrite of the original Unix V6 kernel, etc.)
314.
▲
by
luriel
15y ago
When Go was first presented Rob said the term "Goroutine" was introduced precisely to avoid this kind of confusions, but old habits are hard to kill and seems that even Rob himself still falls into this trap from time to time :)
315.
▲
by
luriel
15y ago
The drug and movie industries are your best examples of healthy innovation and creativity? Really? They are some of the closer examples to cartels you will find anywhere. There is also plenty of evidence that shows historically industries h
316.
▲
by
luriel
15y ago
> Does Google foresee a future entirely built in Go, the same way NeXT expected the world to evolve towards Objective-C? Eventually, sure, why not? Still you don't need your whole OS to be in pure Go to take advantage of Go's features,
317.
▲
by
luriel
15y ago
Yes, that is a typo. Goroutines are multiplexed to OS threads, but this is done transparently, you don't have to worry about it. You can have tens of thousands of Goroutines without any problems.
318.
▲
by
luriel
15y ago
Russ Cox's original blog post about QArt: http://research.swtch.com/qart Note: Russ Cox is also part of the Go team at Google and was in charge of building Code Search(RIP) and when it was shut down he released the core of the indexing en
319.
▲
by
luriel
15y ago
Thousands of years of history show that there is no need for so called "Intellectual Property" as an incentive, the greatest artists mankind has produce certainly didn't need it. What the few hundred years of IP law have shown is that IP wi
320.
▲
Concurrency is not Parallelism (it's better) - A talk by Rob Pike
(concur.rspace.googlecode.com)
174 points
by
luriel
15y ago
|
54 comments
321.
▲
by
luriel
15y ago
I for one find cancer research much more fascinating, there are always new surprises and twists to learn and discover. With a football game, we already know the rules, the outcomes are not all that diverse, and people have been playing the
322.
▲
by
luriel
15y ago
There is certainly a correlation between IP litigation and a company's decline, and the scary thing is that all companies decline sooner or later and think what would happen if IBM for example started to become desperate and started to sue
323.
▲
by
luriel
15y ago
Sometimes to move forward you have to take a step back. Just because some abstractions have become mainstream doesn't mean they are good. I think precisely what many people love about Go is that it throws away lots of unnecessary abstractio
324.
▲
by
luriel
15y ago
It is possible to artificially fool any GC into leaking memory, only question is whatever it happens in practice. In practice the Go GC never leaks memory on 64bit systems and for most programs never on 32bit systems either.
325.
▲
by
luriel
15y ago
gccgo is better on 32bit systems: https://groups.google.com/d/msg/golang-nuts/qxlxu5RZAl0/NS71... Note that work on the garbage collector is ongoing post-Go1, a faster parallel GC is in process being merged: http://codereview.appspot.com
326.
▲
by
luriel
15y ago
Inferno (developed pretty much by the same team that recently created Go at google, and before created Plan 9 and Unix) doesn't need a MMU either, this is a great advantage when running on hardware without an MMU (there is a pretty good por
327.
▲
by
luriel
15y ago
I was referring to a 'standard' program using the language's corresponding stdlib. And while not as useful this days C's "stdlib" is incredibly thick and complex. Go's stdlib is probably comparable to Plan 9's basic C libraries in complexit
328.
▲
by
luriel
15y ago
Other differences include: Go actually scales in multi-core systems and completely avoids callback-hell. Also learning to is much simpler than learning JavaScript, there are fewer pitfalls and reading the spec is easy.
329.
▲
by
luriel
15y ago
Go is not Python, and Go has its own templates package as part of the stdlib (but others also exist): http://golang.org/pkg/text/template/
330.
▲
by
luriel
15y ago
NaCL support existed for a while, but NaCl kept changing and breaking backwards compatibility, so the Go team decided to drop it until it had stabilized, I think now they are mostly waiting for PNaCl as that seems to be what has most future
More ›