Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bodyfour
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
bodyfour
10y ago
Absolutely, but he's still highly popular with the membership. If the parliamentary party picked the leader, he never would be within sight of the job. Unfortunately Labour is in the all-to-familiar trap of only wanting purity, feelin
122.
▲
by
bodyfour
10y ago
Arg.. I just spent a half hour writing a long comment on this article, but then Chrome crashed when I hit "submit". I'll try to briefly retype my thoughts here since you've covered some of them. It's quite clear th
123.
▲
by
bodyfour
10y ago
...but there's big uncertainty about terms of trade, so don't expect any investment in export capacity.
124.
▲
by
bodyfour
10y ago
They also hacked volume+pause controls onto the jack using flaky impedance tricks. I've had bad luck getting those controls working with TRRS extension cables. People also use active noise-cancelling headphones that require their own
125.
▲
by
bodyfour
10y ago
As others mentioned, it's unlikely to different code as long as the iterator is internally a simple pointer and the increment operators are inline. It could be a bit more costly if, say, you're using a library that does something
126.
▲
by
bodyfour
10y ago
Some of the difference in nominal price appreciation is currency driven -- the US dollar has been strong and the loonie has been (relatively) weak.
127.
▲
by
bodyfour
11y ago
See for yourself: https://github.com/dspinellis/unix-history-repo/blob/Researc...
128.
▲
by
bodyfour
11y ago
The work originally started as tame(), here are some of the earlier HN discussions on that: * https://news.ycombinator.com/item?id=9928221 * https://news.ycombinator.com/item?id=10135901 During its deve
129.
▲
by
bodyfour
11y ago
Sure, autoconf is generated, but often develops have to add custom rules.. and do it with arcane m4 macros to boot. I think they're similarly prone to mistakes. For nefarious purposes I actually think it's worse than the much-mal
130.
▲
by
bodyfour
11y ago
No worse than "./configure && make && sudo make install"
131.
▲
by
bodyfour
11y ago
I took a quick glance though the code... looks really good. I wonder how hard it would be to tweak it to not require compiler support for __uint128_t by replacing it with manual 64-bit ops... or is support for that type no longer limited t
132.
▲
by
bodyfour
11y ago
The fact that the uname is "ucbvax" is a nice touch.
133.
▲
by
bodyfour
11y ago
I don't know the most recent, but it's probably been awhile since it was usable. The first UNIX I programmed on (SVR2, circa 85-86) still worked that way (no opendir/readdir) since it had the classic V7 filesystem. Each dire
134.
▲
by
bodyfour
11y ago
There some good previous HN threads discussing the earlier announcements such as https://news.ycombinator.com/item?id=9928221
135.
▲
by
bodyfour
11y ago
Yep, exactly. For instance the natural calling convention on the PDP-8 was that the return address was stored before the contents of the called function (i.e. in C terms it looked like "funcaddr[-1] = pc; pc = funcaddr;") I thin
136.
▲
by
bodyfour
11y ago
Memory savings isn't the important thing. Small strings are, after all, small. You can fit a lot of them in cache. What you're saving is the CPU cost of malloc()+free(). I'll trust that they had good performance data tha
137.
▲
by
bodyfour
11y ago
https://en.wikipedia.org/wiki/Embedded_C%2B%2B
138.
▲
by
bodyfour
11y ago
Seven years ago I helped move a fairly complicated commercial codebase from automake to cmake. In the process, I wrote thousands of lines of complicated cmake macros to interface with the packaging system, etc. The end result was a love&#x
139.
▲
by
bodyfour
11y ago
The article briefly mentioned it, but the main reasons these are kept is maintenance and training. That's a far larger concern than the politics, but it isn't as interesting. Hence the nickname "parliamentary trains" -
140.
▲
by
bodyfour
11y ago
As a productive tool, I can't think of a use at all. For learning distributed computing, I think has some advantages over just running all of the nodes on a single powerful computer. It means you can't hide from doing things scal
141.
▲
by
bodyfour
11y ago
Certainly on other UNIXes getpwnam() can need a bunch of different files and sockets depending on what nsswitch.conf backend is in use. I guess OpenBSD doesn't support nsswitch at all (it looks like it just uses a pseudo-NIS damon &qu
142.
▲
by
bodyfour
11y ago
It is probably more acceptable to OpenBSD than it would be in Linux, but it still doesn't feel like a good idea.
143.
▲
by
bodyfour
11y ago
The problem isn't that it's behind the scenes, it's what part of it is in kernel space. The user of tame() quite sensibly wants to specify a simple filter based on what things they might need to do in the future. i.e. "
144.
▲
by
bodyfour
11y ago
I'm... conflicted. On one hand, a simple opt-in way for applications to give away the ability to do operations is something I've wanted for sandboxing for a long time. From an API perspective, tame() looks great. However, the k
145.
▲
by
bodyfour
11y ago
Even better, there's already a sensor to let it know the driver's side door has been opened.. that should give it a head start.
146.
▲
by
bodyfour
11y ago
Your first sentence makes some sense, but your second is way off base. Over a time scale of generations the wealth gap is controlled by larger social/taxation/etc questions. (For one example, in the US more public money is spent
147.
▲
by
bodyfour
11y ago
Yep, exactly. Also much of anger on the street has been due to lower living standards (euphemistically referred to "internal devaluation") So a true devaluation via an independent drachma won't go over well either. Of course
148.
▲
by
bodyfour
11y ago
The main difference is that much of the US taxes are collected at the federal level with compliance enforced by a federal agency. European taxpayers aren't going to be willing to permanently transfer money to a country if they feel som
149.
▲
by
bodyfour
11y ago
I think concentrating on the move part is the wrong way to look at rvalue-ref methods. The advantage is that if the compiler knows an object is a temporary it you can safely let the caller safely "steal" a member object. #inc
150.
▲
by
bodyfour
11y ago
At least with OpenSSL you can implement your own BIO objects and do the I/O yourself if you want/need to. It's not the cleanest or best-documented interface in the world, but it's certainly usable.
More ›