Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cnvogel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
511.
▲
by
cnvogel
12y ago
I don't know how many people remember this, but this kind of "weird atomic replaces of the read-only data file" was very common on unix-systems for a long time. Take sendmail: people would have their email-aliases in a /
512.
▲
by
cnvogel
12y ago
Of course you don't have to believe me, but I'm genuinely puzzled why apparently most tutorials spend such an disproportionate amount on these more theoretical explanations. One explanation of course might be that a lot of the cro
513.
▲
by
cnvogel
12y ago
Oh my, another tutorial. I've looked at many of them, trying to learn something from the Haskell way. And I think I get the fundamental advantages of the type systems, the lazy evaluation enabled by the languages purity, I think I can
514.
▲
by
cnvogel
12y ago
But that probability includes the possibility for the first generated message to collide with the last one, and to store that many messages (100k/sec, 2mill servers, 8 bytes/UUID) is 4*10^17 (400 Petabyte) allone. I guess most of
515.
▲
by
cnvogel
12y ago
Happened to me. I way laying in bed already, next to a window, when I did the same... ;-)
516.
▲
by
cnvogel
12y ago
Well... using the example from the linked article, it could be made equivalent to your Objective-C snippet, provided the optional passed error-object/struct isn't updated only on errors (as the article suggests), but also can be u
517.
▲
by
cnvogel
13y ago
Assume that a ridiculous amount of effort went into designing and testing this device, and that this 8in drive is connected to devices that will not have an sd-card reader or USB controller available for $5 off eBay. It might just be cheape
518.
▲
by
cnvogel
13y ago
According to this "Fact Sheet", the latest GPS generation currently in orbit (Block IIF) has two Rb and one Cs. http://www.losangeles.af.mil/library/factsheets/factsheet.as... The next generation (III) w
519.
▲
by
cnvogel
13y ago
Isolating mains-powered devices sometimes is tricky, for example in one device of [1] we resorted to specially wound transformers with increased spacing to minimize capacitive coupling to mains/ground, accepting the resulting higher lo
520.
▲
by
cnvogel
13y ago
Exactly! While some people claim that this robs USB of some of its strength, surely having a 10 line cross platform python script control your ADC/blink the LEDs is the ultimate deal breaker for USB2uart. And even IF your micro comes w
521.
▲
by
cnvogel
13y ago
I was missing one config option from the README, now it works!
522.
▲
by
cnvogel
13y ago
### addendum ### Recent systemd doesn't seem to realize that ethernet and the serial console device are actually there, it's waiting for dev-ttymxc3.device and sys-subsystem-net-devices-eth0.device ... but both are statically comp
523.
▲
by
cnvogel
13y ago
After putting a current arch-linux rootfs[1] on the box[2], it seems to come up, just network and console seems to be misconfigured, but this, I think, I had to fix the last time also. So: indeed the current systemd seems to work on a iMX6
524.
▲
by
cnvogel
13y ago
> 2) Less modular than any init system out there. Having everything (including a dhcp deamon soon) in PID 1 is not modular just because you can configure it. I can understand the issue that people have with systemd swallowing more and
525.
▲
by
cnvogel
13y ago
In my experiece, upgrading the kernel to a newer one is not a problem. What can happen, though, is that an upgrade of userspace will suddenly require a kernel-feature not present, if you run an ancient board-support-package with a 3.0-kerne
526.
▲
by
cnvogel
13y ago
Instead of letting the C-compiler compile a huge array, you can use objcopy. objcopy -I binary -O elf32-littlearm -B arm /etc/passwd passwd.o cc -c -o testme.o testme.c cc testme.o passwd.o -o testme --- te
527.
▲
by
cnvogel
13y ago
Just to be sure, I'll keep a few aristocrats' appendages in my toolbox, for reference should a real foot needed...
528.
▲
by
cnvogel
13y ago
It's of course a tragedy if their datacenter cought fire, but it's nevertheless bad engineering if a lot of their products seem to require access to "samsung.com" for a lot of unrelated tasks (as some other site mentione
529.
▲
by
cnvogel
13y ago
Yes, certainly! And I admire the author to have put the idea into production. For even more inspiration, the "Application Handbook" linked to on the Wikipedia-page for the MC145000B has a lot more examples similar in spirit: http
530.
▲
by
cnvogel
13y ago
Yes, of course, fixed. Thanks!
531.
▲
by
cnvogel
13y ago
Exactly. One diode will not turn on the transistor. Replace the two diodes with one LED, and the circuit will run the same. One often finds LEDs used for the prose of simple voltage stabilization (often green ones @2.1V or so..)
532.
▲
by
cnvogel
13y ago
D1 and D2 are normal diodes in forward direction[1], in series they drop 2⋅0,7V = 1.4V. R2 just pulls them down. So the cathode of D2 will sit 1.4V below supply voltage. Q1 in this schematic is acting as a current source: If conducting a re
533.
▲
by
cnvogel
13y ago
For a little bit of context, leapsecond.com is the website of Tom Van Baak, one of the "Time Nuts", people striving (sometimes: obsessed with) to maintain precise clocks and oscillators, mostly for the fun of it. Here's a rec
534.
▲
by
cnvogel
13y ago
For coding/documenting/analysis, under Windows, foobar2k , playing whole albums from my collection brought to work on a 2.5" USB drive. DT770 headphones. In the lab, I often have electronic music mixes on loudspeakers, it
535.
▲
by
cnvogel
13y ago
Especially if you get a batch that was manufactured in the original factory, and the faulty one put on the grey market. Indistinguishable product, but guaranteed and tested to be out of spec (might be a important parameter, or not).
536.
▲
by
cnvogel
13y ago
It depends, sometimes it's even switchable, e.g. take df. $ df -k / Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 151798672 47602008 102615608 32% / $ df -h /
537.
▲
by
cnvogel
13y ago
...but then, this article, as most others on that topic, and the Wikipedia page on ATMs write "Windows XP and Windows XP embedded". So I guess the "Windows XP, non-embedded" market share is significant.
538.
▲
by
cnvogel
13y ago
The main factor here is probably not the technology of Windows XP (which certainly is up-to-par for the problem at hand), but the possibilities of vendors to absolutely custom-tailor a computer OS, stripped down to the bare minimum of runni
539.
▲
by
cnvogel
13y ago
Edit: Shame on me, should have read the article more carefully, he actually explains why he was not able to use JTAG. Sorry for my hubris. ------- I like the approach, but while this post rants about the unprofessional Arduino crowd, his at
540.
▲
by
cnvogel
13y ago
It's likely that this could be detected by looking at recorded radar-data as a above-average number of "glitches" at this particular track. But then, I also assume that modern radar systems have some way to automatically filt
More ›