Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rleigh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
112 ms
·
931.
▲
by
rleigh
10y ago
Also, install a copy of Ninja and try cmake -G Ninja It'll speed up your build by a lot in most cases.
932.
▲
by
rleigh
10y ago
This is not surprising. The chemical compounds used for the colours will degrade over time, either from direct illumination, or degradation by oxidation, or some other process. This will lead to subtle change in the colours, and if you ca
933.
▲
by
rleigh
10y ago
It's already done. As you might expect, the food and drink industry have a need for this. In the brewery I worked at in 1998, we had a commercial set in our "taste training" room which was a set of defined things to smell&#
934.
▲
by
rleigh
10y ago
It's the Windows update system being a horrible mess instead of a proper package manager. Each time you hide it, what you get is apparently a new update with the same name. If you hide it enough times, you eventually hide every avail
935.
▲
by
rleigh
11y ago
Well, this is the language where Turing-complete template metaprogramming was "discovered" as an emergent property of the system!
936.
▲
by
rleigh
11y ago
This very much depends upon whether you want the latest OpenGL 4.x features or not. Compute shaders, etc. Most people won't notice, but if you want to develop or use applications using these features, the open drivers aren't yet
937.
▲
by
rleigh
11y ago
It's not just NAT that's broken. On both Windows and Linux hosts, with bridged networking, SLAAC doesn't work for Linux or FreeBSD guest systems. It does eventually , after somewhere between 5 and 30 minutes, but for machi
938.
▲
by
rleigh
11y ago
That's the wrong question. Would they put up with the conditions in a US factory? It's common to see negative opinions of manufacturing jobs here and on other tech sites. I've worked in one the UK, doing 12 hour long day
939.
▲
by
rleigh
11y ago
This hasn't been my experience. When an md array has lost a disk, I have added a new one and the array has transparently resynched in the background. No interruption in service or loss of data. When a Btrfs array has lost a disk, Bt
940.
▲
by
rleigh
11y ago
My group switched from Skype to Zoom (.us) a year or so back. We did try using Hangouts for a few months, but we found the browser plugin pretty terrible for pegging the CPU at 100%, even when not in use. In comparison, Zoom has vastly be
941.
▲
by
rleigh
11y ago
There are also some interesting systems build on top of jails. I'm starting to use iocage, which uses both ZFS and jails to manage and create systems with great ease. Better or worse than Docker? It's different. It does some t
942.
▲
by
rleigh
11y ago
Interesting, I thought ZFS required a 64-bit system. Is this no longer the case? (I am using UFS on powerpc32 since it's not supported for 10.2.)
943.
▲
by
rleigh
11y ago
Two factors. 1) Density. Sand and dust settle out. Plastic has a lower or similar density to water, so will collect at the surface or float in the water column. 2) Structure and surface properties. Plastic is hydrophobic and usually not
944.
▲
by
rleigh
11y ago
The amount is tiny though. I make my own bread, and you can use just half a teaspoon in a loaf, it's just to get the yeast going, and they probably metabolise most of it. I've also experimented with using part milk so they use t
945.
▲
by
rleigh
11y ago
Because the whole point is portability, so hardcoding /bin/env when the rest of the world is using /usr/bin/env makes it nonportable!
946.
▲
by
rleigh
11y ago
auto can be a great aid to readable and maintainable code. It can also be used to obfuscate when not used in moderation. for(const auto& elem : container) is vastly more readable than for(my_long_type<specialised_ty
947.
▲
by
rleigh
11y ago
Note that with a long list of int values, it's also fairly easy to get the order wrong. Having a proper point type makes this less likely, as well as making the intent explicit.
948.
▲
by
rleigh
11y ago
It sucks to have that kind of work culture, but it's really unhealthy for everyone involved. Is it at all possible to point out its flaws and make everyone's work-life balance better? Or to be the one to work sensible hours and
949.
▲
by
rleigh
11y ago
This is an unsustainable workload. It's not possible to work productively at this level for anything but the short term. Honestly, for how many hours of the day are you actually productive? Could you have worked more efficently and
950.
▲
by
rleigh
11y ago
I am tempted and have started to use ACLs. Once you've got a ZFS filesystem (in my case, on FreeBSD like the author), you have full NFSv4 ACL support. If you export that over NFSv4, those ACLs are visible to all client systems. And
951.
▲
by
rleigh
11y ago
Yep. The smallest I've seen IIRC was a 386 with 4MB running X11 back around 1998. Took a good time to boot and start X11, but it did work.
952.
▲
by
rleigh
11y ago
It's impossible because it simply calls chdir(2). The "current directory" is a property of a process; having it built-in means it changes the directory of the current process. If it was a separate executable, you'd cha
953.
▲
by
rleigh
11y ago
The unlearning point is definitely true. After using CVS for many years, Arch and then git were conceptually difficult to get into, and I was an early adopter of both. Not because they are actually difficult, but because your years of und
954.
▲
by
rleigh
11y ago
Yes, and I still wonder at the sanity of making it the default given the large number of known problems. I've lost data, irrecoverably, with Btrfs on at least two occasions--the filesystem was completely toasted. More recently I'
955.
▲
by
rleigh
11y ago
That's fairly straightforward to work around, however. I've used both autoconf and cmake to do functional testing of which headers are available, and then include the most recent available out of <memory>, <tr1/memor
956.
▲
by
rleigh
11y ago
This brings back some memories. While it's nearly 20 years old, it's taken a surprisingly long time for this to become widely understood and tackled. Even today, tools like Automake default to recursion. It offers a non-recursiv
957.
▲
by
rleigh
11y ago
The dual ABI is only implemented in libstdc++, so if you want to use the new ABI in a library then all your dependent libraries will then need to use the new ABI so you are all using the same std::string etc.. From this point of view it&#x
958.
▲
by
rleigh
11y ago
You are correct that C++11 required changes to certain implementation details of libstdc++. However, you are incorrect about this making the new implementation incompatible with old code compiled against older libstdc++ versions; this is e
959.
▲
by
rleigh
11y ago
GCC libstdc++ has been backward compatible with no ABI breaks for around a decade. GNU libc for what, two decades. You don't break such fundamental ABIs on a whim. If the libstdc++ ABI had changed, it would have broken every single b
960.
▲
by
rleigh
11y ago
Well, this is a false question. The ABI didn't break; GCC5 deliberately supports both the old pre-C++11 and new C++11 ABIs in the same library . There are various arguments for and against this approach, but the bottom line is tha
More ›