Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cnvogel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
181.
▲
by
cnvogel
11y ago
It seems to be a simple multiplexer. They can only be used alternately, the example script on the page lists code to first select one of the (up to 16) cameras using GPIOs, then capturing with the normal Arduino utility.
182.
▲
by
cnvogel
11y ago
One alternative would be to sidestep this memory-reallocation-and-buffering problem altogether and just use the code that already exists to connect to an ssh-agent, even when only private keys from the local filesystem are used for authenti
183.
▲
by
cnvogel
11y ago
...and both compile a 128=64×64 multiplication into a single imul. __int128 mult128(int64_t a, int64_t b) { return (__int128)a * (__int128)b; a0: 48 89 f0 mov %rsi,%rax a3: 48 f7 ef
184.
▲
by
cnvogel
11y ago
This is how it looks... [sc-lx-phys-05 /home/cvogel] $ dd if=/dev/zero of=/dev/null status=progress 11086075904 bytes (11 GB) copied, 7.000001 s, 1.6 GB/s
185.
▲
by
cnvogel
11y ago
While I understand that it's mostly a question of aesthetics, I don't like this also because it might break the expected semantics of continue/break in such a loop. When I iterate over things more complex than a single variab
186.
▲
by
cnvogel
11y ago
Correct: works exactly as intended (specified) Safe: Correct and does not have unintended and undesirable side effects. So, in my opinion being correct is a prerequisite for being safe.
187.
▲
by
cnvogel
11y ago
I'm from Germany and funny enough the ubiquitous online banking infrastructure here was sleeping for decades not providing a simple unified payment solution for their customers, staying dormant while PayPal took all the market. It was
188.
▲
by
cnvogel
11y ago
If you are right then this can be mitigated by two additional options passed to objcopy, namely --add-section to create an empty section and --set-section-flags to adjust the flags of this empty section. I'm just recreating the section
189.
▲
by
cnvogel
11y ago
You are perfectly right. And there's also a second use-case: In some embedded applications things run directly from ROM/flash and things put in the .rodata-section will stay there and not get copied to RAM (which you obviously hav
190.
▲
by
cnvogel
11y ago
Very likely larger amounts of binary data linked in your program should better be "read only data", and hence be put in the ".rodata" section. From the objcopy manpage: objcopy -I binary -O <output_format> -B
191.
▲
by
cnvogel
11y ago
Yes, because even if your policy-happy enterprise IT department has locked down almost every aspect of windows (settings, explorer, command-line, almost every configuration option disabled, ...) most roles will require email (which, in co
192.
▲
by
cnvogel
11y ago
And this funny line from the manual-page: (on Linux) > The input and output radices are separate parameters; > you can make them unequal, which can be useful or > confusing.
193.
▲
by
cnvogel
11y ago
freetserv also recommend going readonly... https://freetserv.github.io/software-setup.html (last section)
194.
▲
by
cnvogel
11y ago
Given the total effort spent, I think adding a canister of fuel every two days is absolutely reasonable. The additional complexity of solar or a few turbines would have caused that project to probably consume much more resources than (just
195.
▲
by
cnvogel
11y ago
Try to adjust your work pattern to do many very tiny commits, maybe every few minutes, with a few-words-only commit message. Then, after a few hours, regroup using “git debase -i”. (Of course before anything is being pushed where others can
196.
▲
by
cnvogel
11y ago
...then build it up to regulations (which you should in any case) and have a law to require an inspection before being allowed to connect to the grid (and earn money from it).
197.
▲
by
cnvogel
11y ago
Anecdotal evidence: 2.5" SATA HDD failed for me suddenly just last Tuesday, SMART was fine before, both the attributes and a long (complete surface scan) selftest I did a few weeks ago after I got this lightly used notebook from a coll
198.
▲
by
cnvogel
11y ago
> Furthermore, messages are end-to-end encrypted. I don't think so. WhatsApp states in their FAQ: "WhatsApp communication between your phone and our server is encrypted." [ https://www.whatsapp.com/faq/
199.
▲
by
cnvogel
11y ago
http://i.imgur.com/673Qw1i.jpg As far as I know there's a task running on the "GPU" (where quite a few things are assisting the ARM CPU showing the screen, playing audio, actually bootstrapping the ARM, ...)
200.
▲
by
cnvogel
11y ago
You get that for an awful lot of chips or software which are thought to have "dual use" to aid inadequately defined nefarious things. On most orders for electronics parts, even if it's European distributors shipping to me, in
201.
▲
by
cnvogel
11y ago
One of the very useful things to own when dealing with embedded computers is a low-voltage/CMOS usb-to-serial cable, such as this one: https://www.adafruit.com/products/954 There are modules that have variable I&#
202.
▲
by
cnvogel
11y ago
'>>' will cause O_APPEND to be specified as flags when opening "/dev/sda". I'm pretty sure this flag is ignored on block devices as it's obviously useless. fd = open("/dev/s
203.
▲
by
cnvogel
11y ago
The most useful thing to have when working with embedded electronics is to have in-circuit programmers. Please don't get into the habit of swapping parts between, e.g., the Arduino board and your own... It's getting very tedious,
204.
▲
by
cnvogel
11y ago
Regarding debugging: I don't know what additional hardware you need to debug MSP430, but there's Atmel's AVR "debugWire" which works ok with gdb. http://www.larsen-b.com/Article/315.html I used
205.
▲
by
cnvogel
11y ago
> ... uh ... not sure what the point is. It reads like an advertisement. It is an advertising - for universal audio's plugin version of said reverb.
206.
▲
by
cnvogel
11y ago
The kind of device this kind of optimization applies to typically runs with readonly flash, maybe only writing some config rarely... So, just pull the plug.
207.
▲
by
cnvogel
11y ago
Of course, like every article published by a newspaper or magazine, its only purpose is to carry links to other articles published by this newspaper, and omit any reference to the original source. So here's the original publication:
208.
▲
by
cnvogel
11y ago
In his defence, most people starting with tinkering nowadays start off with something like an Arduino (8-bit or even 32-bit micro) and there's not much besides the micro on those boards... which easily explains the confusion about the
209.
▲
by
cnvogel
11y ago
Look closely, the '165 is a little different, both in functionality and pinout. You'll not be able to swap in one for the other. -- But yes, both are parallel in, serial in/out shift registers. http://www.nxp.com&#
210.
▲
by
cnvogel
11y ago
It's also useful today when you have an embedded system without a (or a not yet) working network connection. [ https://ohse.de/uwe/software/lrzsz.html ]. I've also used in the past with ancient lab equipme
More ›