Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mansr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
mansr
16y ago
Why do it on wasteland^W Wayland and not on X?
182.
▲
by
mansr
16y ago
This may work fine on a dedicated gigabit network, which is where SunRay lives, but it does not work at all on a slow, possibly high-latency, link. To see for yourself, try running any gtk or qt app over an ADSL link or even a local wirele
183.
▲
by
mansr
16y ago
That's been my impression as well. X11 as is works perfectly fine for me. Or I should say it did until they started that XCB nonsense. Now some of my apps no longer work.
184.
▲
by
mansr
16y ago
All of them lose data. XFS risks losing more data than ext3. I don't know how ext4 behaves. A more important aspect is how well the filesystem recovers from having the plug pulled, and here they all do well. Once written to disk, data is
185.
▲
by
mansr
16y ago
That is a misunderstanding. All reasonably performing filesystems lose data if you pull the plug. The difference with XFS is that it buffers writes more aggressively than e.g. ext3, so the amount of lost data may be greater. Properly wri
186.
▲
by
mansr
16y ago
If you don't know what's in the POSIX spec, you should go and read it. If you do this, you will learn not only what the shell must do, but also that /usr/bin/env might not exist at all. The env utility is required, but it isn't always in
187.
▲
by
mansr
16y ago
For writing portable scritps, I strongly advise against using anything not in the POSIX spec. No matter how many shells you've tested it in, there will always be one somewhere that doesn't implement it. Conversely, if a POSIX feature is f
188.
▲
by
mansr
16y ago
Solaris has a POSIX shell in /usr/xpg4/bin/sh. Unfortunately, there is no way to make /bin/sh POSIX-compliant, e.g. by setting an environment variable, a feature many other Unixes have.
189.
▲
by
mansr
16y ago
Moving a PCI card to another slot should also not rename the device. With a typical current udev setup, device names are persistent based on MAC address. With this proposal, either the name will change if the bus topology changes, or bus
190.
▲
by
mansr
16y ago
That article is full of flaws and inaccuracies. I wouldn't trust any of it without verifying with a more reputable source.
191.
▲
by
mansr
16y ago
In this context guru means "overpaid, full-of-himself cargo-culting consultant plugging his commercial vendor of choice".
192.
▲
by
mansr
16y ago
The branch predictor is not involved here since there is no branch. A conditional non-branch instruction is, on most implementations, scheduled identically to the unconditional base instruction. A load/store instruction whose condition pa
193.
▲
by
mansr
16y ago
I'm regularly approached by Google recruiters, but they never have anything interesting to offer me.
194.
▲
by
mansr
16y ago
Your second paragraph describes the situation I expected at least some of the test subjects to be in.
195.
▲
by
mansr
16y ago
This is perfectly logical, assuming the patients were aware of the placebo effect. I wonder what the results would be if some patients were given real medication while being told it was placebo.
196.
▲
by
mansr
16y ago
I am not from the US, yet I am aware of the KKK and would not want to risk even the slightest association with that despicable organisation.
197.
▲
by
mansr
16y ago
In some countries, "wasting police time" is a criminal offence.
198.
▲
by
mansr
16y ago
I would've avoided 'kkk' in the name.
199.
▲
by
mansr
16y ago
Those flashes work by charging a capacitor bank to 1kV, then discharging it through the flash bulb. The components are selected to maximise the current during the discharge. In other words, they are designed to output as much power as pos
200.
▲
by
mansr
16y ago
I never meant to imply it was bad. Looking directly at a flash bulb like that from typical movie-viewing distance is perfectly harmless. I would not want to look at one up close, however.
201.
▲
by
mansr
16y ago
From the video it appears they are using 2 (or more) Pro-7b 1200 units, each delivering 1200 Joules of energy per flash. That's enough to light a 40-watt bulb for a full minute, and the lighting efficiency is considerably higher. BTW, the
202.
▲
by
mansr
16y ago
Nothing beats reading the specs.
203.
▲
by
mansr
16y ago
I take badly formatted code as a sign of sloppiness on the part of the author, and this usually comes through in more than just the formatting. This saves me the time to actually read the code.
204.
▲
by
mansr
16y ago
If the strings have any mass of their own, they will be curved.
205.
▲
by
mansr
16y ago
To the store instruction everything is data, even if it happens to be instructions. Stores initially go the L1 D-cache, and unless the I and D caches are coherent, explicit cleaning (D) and invalidating (I) is required. Maybe they are coh
206.
▲
by
mansr
16y ago
Modern hardware and operating systems require special care when doing this. Firstly, the D-cache must be cleaned and the I-cache invalidated for the relevant memory addresses. This is because the CPU does not in general maintain coherency
207.
▲
by
mansr
16y ago
There are at least three common mistakes involving tricks like this: 1. Alignment. Many CPUs will trap (or worse) if accessing a 32-bit quantity at a non-aligned address. 2. Endianness. Needless to say, the 32-bit value read for a given s
208.
▲
by
mansr
16y ago
Being a gcc extension to the C language, I recommend this construct never be used and certainly not taught.
209.
▲
by
mansr
16y ago
This trick is often seen in language interpreters. Two widely used examples are Emacs Lisp and Mozilla Spidermonkey Javascript.
210.
▲
by
mansr
16y ago
So he's taken the time to understand make and is thus able to see these new build systems for what they are.
More ›