Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cnvogel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
601.
▲
by
cnvogel
13y ago
Sure it's possible without running a subprocess, just open the file on some other filedescriptor. exec 5<words.txt while read line <&5 ; do echo "line read: $line" done exec <&5-
602.
▲
by
cnvogel
13y ago
I've checked the output with a scope: It's indeed a PWM signal, but not the canonical PWM with fixed frequency and varying duty-cycle but something more sophisticated. PWM nevertheless, probably there's some shaping being don
603.
▲
by
cnvogel
13y ago
Yes, if it sounds ok, it's probably ok. But nevertheless, let me annoy everyone with a few technical details: Directly connected audio on the Raspberry PI is through a PWM output and connected low-pass filter. It's implemented as
604.
▲
by
cnvogel
13y ago
The Freescale i.MX6 has "native" Gigabit Ethernet: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?co... (that's the single-core part) The block diagram for the "Tiny cubic mini
605.
▲
by
cnvogel
13y ago
Fan! (according to the hilarious and magnificent http://youtu.be/AkJf0md1kG8 )
606.
▲
by
cnvogel
13y ago
If one believes the report of the NY Times, I'd doubt that hewould have left traces of files left on the computer they took with them, the article explicitly mentions Poitras (who Miranda alegedly had met in Berlin) wiping harddrives c
607.
▲
by
cnvogel
13y ago
Yes, the UI is really sluggish at times, but I can maybe attribute that to the pretty bad mobile-network coverage in my area. The old Reader UI was much preferable in this regard. Also: The lack of an option to just open a link in the "
608.
▲
by
cnvogel
13y ago
Depending on your CPU and its integrated memory controller, you might have one, two, three or even four "channels" that can work concurrently. The i5-4670K has two channels. While this sounds like a huge possibility for performa
609.
▲
by
cnvogel
13y ago
hwclock will only give you 1second resolution, because the RTC chip can't do better. But querying the RTC directly is dog slow by todays standards, it's accessed via 8-bit port IO where one access eats up thousands of cpu cycles
610.
▲
by
cnvogel
13y ago
It's a little unfortunate that the author did not at least try to hunt down a few of them and present a conlclusion about if the warnings are benign or serious. I don't have the exact version of Mesa that the blog-post ( http:&#
611.
▲
by
cnvogel
13y ago
I'd call it “accidental” when, for example, a selfmade TV antenna with amplifier starts to oscillate and thereby blocks GPS reception in a harbor: http://gpsworld.com/the-hunt-rfi/ But the jamming device owned by
612.
▲
by
cnvogel
13y ago
In principle this could be mitigated with a suitably programmed IOMMU which can limit the operations that a DMA capable device (e.g. on the other side of the Thunderbolt connector) can do with your main memory. Traditionally they are used w
613.
▲
by
cnvogel
13y ago
Here's a guy connecting a graphics card to his mac via Thunderbolt. http://hexus.net/tech/news/graphics/58429-macbook-air-uses-g... "Normal" GPU + external Powersupply | | Ad
614.
▲
by
cnvogel
13y ago
You are right, of course. Still trying to improve my English ;-)
615.
▲
by
cnvogel
13y ago
Presumably these are the slides of the BlackHat 2013 talk mentioned in the article. http://www.slideshare.net/KyleWilhoit/bh-europe-2013wilhoit The abstract of the talk is to be found on blackhat's server. https:
616.
▲
by
cnvogel
13y ago
Well, as far as I know "professionally run" (e.g. multi-site plants run by a big corporation with a dedicated network-security staff and so on...) industrial automation networks are using VPNs, isolation of special-purpose segme
617.
▲
by
cnvogel
13y ago
Interestingly, while x86-64 does not seem to have a single opcode for reversing bits in a byte, it has a function to arbitrarily shuffle around the 16 bytes in a 128bit SSE register [PSHUFB]. It just blows my mind how much data those SIMD i
618.
▲
by
cnvogel
13y ago
If /lib/ld.so is hosed and you cannot run any dynamically linked program, then you might be able to start programs in /altroot by running something similar to... LD_LIBRARY_PATH=/altroot/lib:/altroot/
619.
▲
by
cnvogel
13y ago
If you frequently hit Ctrl-S by accident, and don't consider this a feature, you can turn off XON/XOFF flow control using $ stty -ixon -ixoff then Ctrl-S/Ctrl-Q will be normal characters without side-effects in your
620.
▲
by
cnvogel
13y ago
It works, you'll just have to type <tilde> <space> .
621.
▲
by
cnvogel
13y ago
I see that I should check my posts for repeating figures-of-speech... .But let me try a second (and last time) to persuade you of my arguments! :-) But I can assure you that it's ok to have a timing GPS connected to a USB serial port,
622.
▲
by
cnvogel
13y ago
Others have already reported that the asynchronous serial port ("RS232") is a "native" uart (so I assume properly timed interrupts are available). But: For the serial data of a timing GPS receiver, that fact should be co
623.
▲
by
cnvogel
13y ago
Using systemd still allows you to have custom scripts run on boot up. Given a shell script you want to have running on boot you'd have linked that script to /etc/rc3.d on sysvinit. With systemd the proper way to activate it i
624.
▲
by
cnvogel
13y ago
For the simple case (wire up an additional USB hub and a USB-flash-drive into the mouse body) that's easily done (under Linux, lsusb would suffice). But if you allow arbitrarily complex logic to be present which only activates addition
625.
▲
by
cnvogel
13y ago
These splitter work in the domain of light-pulses transmitted over a fiber. So you get 100% of the messages, but the flashes of light representing the bits will be much weaker. Probably this will mean that you have to put in much more effor
626.
▲
by
cnvogel
13y ago
The "canonical" way of solving this is of course with a certificate hierarchy. You can configure your target system to allow authentication whenever your certificate is signed by the "golden" key, and by creating the cer
627.
▲
by
cnvogel
13y ago
Well, of course it was unexpected. There was hardly any documented precedent. https://en.wikipedia.org/wiki/Greek_wiretapping_case_2004%E2...
628.
▲
by
cnvogel
13y ago
There's prior art on that one... (using the microphone input as a ADC, sending power to the preamp via the headphone output) http://web.eecs.umich.edu/~prabal/projects/hijack/
629.
▲
by
cnvogel
13y ago
(1) you can also use the GIT_DIR environment variable, which might save some typing during development (2) another solution is to just clone the bare repository in Dropbox to a temp-directory, work there, and push the changes back to the Dr
630.
▲
by
cnvogel
13y ago
That finding might be quite interesting and all... but I'm thoroughly confused about that guy always quoting power consumption in mAh (which is the unit for electrica charge). I'd also check if that guy's dropbox daemon(s) ar
More ›