Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oofabz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
271.
▲
by
oofabz
13y ago
Goto is also very useful for machine-generated state machines, like Ragel or yacc parsers. I'd guess this is the only reason Go has goto, because it has "defer" for cleanup, which is functionally equivalent to "finally&q
272.
▲
by
oofabz
13y ago
The group behind Sta.li also makes a great terminal emulator. It is notable for supporting font antialiasing without depending on the large GTK or QT libraries - it uses Xft directly. And it is much smaller than even xterm or rxvt. http:&#
273.
▲
by
oofabz
13y ago
Columbus had to shop around before he found a monarch willing to bankroll his voyage. Portugal, Genoa, Venice, and England all turned him down before Spain accepted. Also, Spain took him on because there was intense competition between the
274.
▲
by
oofabz
13y ago
I use Debian on my laptop, and FreeBSD on my server, but I wouldn't touch GNU/kFreeBSD with a ten foot pole. FreeBSD kernel with GNU userland and SysV filesystem layout is the worst of both worlds. I'd rather see the inverse:
275.
▲
by
oofabz
13y ago
I think it's great to see North American developers reach out to their South American brethren. We spend so much time thinking about Europe and Asia that we often forget about our next door neighbors. South America may not have such a
276.
▲
by
oofabz
13y ago
How about Ocaml or Rust? They are both safer than C and are almost as fast. I don't think we'd reinvent C on modern machines, which have millions of times more memory than K&R had to work with on their PDP-7.
277.
▲
by
oofabz
13y ago
What happens when a program logs messages faster than the log daemon can process them? Since it's non-blocking, the program no longer pauses to wait for it to catch up. Does it drop messages in this situation? Is that why you warn that
278.
▲
by
oofabz
13y ago
> PID 1 brings down the whole system when it crashes. This matters because systemd is complex. The Linux kernel is much more complex and also brings down the whole system when it crashes. > Attack Surface Sysvinit runs shell scripts a
279.
▲
by
oofabz
13y ago
Sounds like Steve was trying to break into the Asian market. Mac OS has always been a mostly North American phenomenon but Steve liked to think big. Mac OS world marketshare: http://www.webdeveloper.net.au/web-usage/ope
280.
▲
by
oofabz
13y ago
I recommend bstring for length-prefixed strings in C: http://bstring.sourceforge.net/
281.
▲
by
oofabz
13y ago
I know that both encodings are variable-length. That is the issue I am trying to address. My point is that in UTF-16 it's too easy to ignore surrogate pairs. Lots of UTF-16 software fails to handle variable-length characters because th
282.
▲
by
oofabz
13y ago
I think the size issue is a red herring. UTF-8 wins some, UTF-16 wins others, but either encoding is acceptable. There is no clear winner here so we should look at other properties. UTF-8 is more reliable, because mishandling variable-lengt
283.
▲
by
oofabz
13y ago
There are several large pumped-storage plants in the USA too. They can provide about 2 GW for one day, enough to completely power a city of 1M people, or to smooth out supply fluctuations for a much larger region. https://en.wiki
284.
▲
by
oofabz
13y ago
Just as a historical note, classic Mac OS (versions 7-9) used STREAMS for TCP, in the Open Transport networking API. Sockets were provided as a wrapper around STREAMS, which worked about as well as you might expect. It had its fans but most
285.
▲
by
oofabz
13y ago
I was involved in this incident, as one of the friends who helped track him down. I believe contacting the police was a good move because his letters indicated that he was a danger to himself and to others.
286.
▲
by
oofabz
13y ago
As a fellow Maxima user, thanks for showing me "expr, numer". I've always used "float(expr)" for that, but I like yours better.
287.
▲
by
oofabz
13y ago
It's probably because Mozilla announced that Thunderbird is now in maintenance mode. They do not plan to add features or make major changes anymore. To some that may mean Thunderbird is complete and mature, but RedHat must believe that
288.
▲
by
oofabz
13y ago
I learned a lot of valuable math skills in public school. I was interested and paid attention. Just because some kids don't want to learn doesn't mean we should deprive the rest of the opportunity.
289.
▲
by
oofabz
13y ago
They should try using live mice with little acetaminophen candy necklaces.
290.
▲
by
oofabz
13y ago
I've been beating the market, albeit by only a few percent, for years. I may just be lucky, but I believe my methods give me an edge. I study the market fundamentals and prioritize the long-term health of a company over short-term prof
291.
▲
by
oofabz
13y ago
Interesting. I've been using XFS only (even for /boot) for years and it's been completely reliable. I'm sure it will work well for them.
292.
▲
by
oofabz
13y ago
Circuit boards and putty are not weapons. Are you aware of any instance where circuit boards and putty were used to harm someone? Are such events a big enough problem to justify threatening law-abiding citizens with machine guns? There is n
293.
▲
by
oofabz
13y ago
The "new" keyword is practically unused in modern Go development, but is kept for backwards compatibility. The usual way to make a point is "p := &Point{}", without using any keyword.
294.
▲
by
oofabz
13y ago
> Put down the can of Red Stripe. What? No!
295.
▲
by
oofabz
13y ago
The ACLU stands for civil liberty. Civil liberty is about protecting the rights of individuals from the government and other powerful actors. In this case, the privacy of individual officers is being threatened by the government. One might
296.
▲
by
oofabz
13y ago
I have been perfectly happy with my /64 for many years. I can't imagine needing multiple subnets for home or small office use.
297.
▲
by
oofabz
13y ago
Knowing the ending does not ruin the book. Even if you hadn't heard anything about the plot, it becomes clear very quickly how it is going to end. The suspense comes from how it all goes down. Classic Chekhov's gun. It's an e
298.
▲
by
oofabz
13y ago
I, too am against illegal drugs like heroin, but I believe legalizing all drugs would help everyone, both the addicts and normal people. Taking away the black market would reduce crime and stop the flow of money into powerful crime organiza
299.
▲
by
oofabz
13y ago
It would be confusing having the day change in the middle of the afternoon. I'd get to work on Monday but leave on Tuesday. If I told someone I'd do something on Wednesday, what would that mean? All the solutions I can think of ar
300.
▲
by
oofabz
13y ago
I am familiar with Kahan from his excellent low-error floating point summation algorithm: http://en.wikipedia.org/wiki/Kahan_summation_algorithm
More ›