Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cnvogel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
541.
▲
by
cnvogel
13y ago
Hey L.Bh., thanks for the advice, it's appreciated. My boss already complained that it's taking me so long integrating all that heavy exaggerated crypto stuff, and your suggestions are indeed easier! Customers won't realize t
542.
▲
by
cnvogel
13y ago
Bare metal: Probably yes, if you don't need the services of an multithreading-OS. Assembly: probably no. Have a look at what people are doing in C++ on the Arduino platform (the Mega328 has the same Flash/RAM).
543.
▲
by
cnvogel
13y ago
Yes, and most often it's clearly warned about, up to the point where lines are completely burried in type-casts, just to shut up the (well meaning) compiler. Because, you know, we thrive for 0-warning compilations!
544.
▲
by
cnvogel
13y ago
I had a similar story I'd like to share. A colleague had written out the initialization data for some embedded component, and helpfully included the ASCII representation for some of the (mixed) binary/readable stuff we sent. So he
545.
▲
by
cnvogel
13y ago
At least under Linux, you could -theoretically- verify the type of a connected device and only load and bind drivers you are actually considering to use on that device. https://www.kernel.org/doc/Documentation/usb&
546.
▲
by
cnvogel
13y ago
Netctl is alrady the third implementation of networking scripts I'm aware of. The last one (netcfg) still seems to be working just fine. It's not an overly elaborate set of scripts for networking configuration, that already integr
547.
▲
by
cnvogel
13y ago
But your wavy line has the wrong orientation... 2307 ⌇ WAVY LINE http://www.unicode.org/charts/PDF/U2300.pdf What you most likely intended to present as an alternative is the... 301C 〜 WAVE DASH http:
548.
▲
by
cnvogel
13y ago
because, for example in C, such a incompatible change would alienate most developers used to the very ideomatic if((val = function(args)) != expected) return val;
549.
▲
by
cnvogel
13y ago
...and in your hex-editor? ;-)
550.
▲
by
cnvogel
13y ago
Exactly! And the DIY version of it looked like this: http://commons.wikimedia.org/wiki/File:Akustikkoppler_CCC_Da... And it supports 300bps and 1200bps speeds.
551.
▲
by
cnvogel
13y ago
The solution to this problem is a memory barrier. The short version of such a barrier is: Define a class of transactions (e.g. memory writes). Then all transactions before the barrier must conclude before any transaction after the barrier s
552.
▲
by
cnvogel
13y ago
I think it's a safe bet to start debugging with the notion of a correctly working compiler... But then, I've found bugs in compilers and standard-libraries for embedded a few times already, they are much less battle-tested than
553.
▲
by
cnvogel
13y ago
I think if you replace "straightforward interpreter for C" with the "abstract state machine" in the standard (I'm looking at ISO/IEC 9899:1999 right now), at least the first half of the sentence you qoute it&#x
554.
▲
by
cnvogel
13y ago
Well... it's a significant change of words, though. Up to recently, the German cabinet claimed to be content with the affirmation of U.S. officials to only work within the boundaries of German and U.S. laws. The level of blind trust in
555.
▲
by
cnvogel
13y ago
Adding to that: Most Linux distributions will have a ready-compiled "busybox" in their repositories (which is a "swiss-army-knife" program incorporating the functionality of a lot of the common utilities). Of course taki
556.
▲
by
cnvogel
13y ago
I certainly agree with your conclusion that there's a pretty low probability to be "inconvenienced by the FBI", especially compared with other, pretty real, dangers of our everyday life. Nevertheless, taking this case as an e
557.
▲
by
cnvogel
13y ago
Generally, the unit in which exposure to ionizing radiation is being measured is "Gray" (Gy) which is absorbed energy (Measured in Joules, equal to one Watt-Second) per kg of absorbing material. That's called the "Dose&q
558.
▲
by
cnvogel
13y ago
The original poster in the linked-to T-Mobile customer forum should really have spelled out the problem and most important clearly reproducible test-cases. Are people really expecting customer-support-representatives that normally deal with
559.
▲
by
cnvogel
13y ago
I think what's hiding behind the baroque syntax and "everything is a string" approach is the fact that for a long time tcl sat on the sweet spot between the limited low-level functionality of a unix-shell and the missing high
560.
▲
by
cnvogel
13y ago
And if you need something like ~(byte << N) for any purpose there's still MVN (move-not). MVN r0, #0x10000000 ; ro = 0xefffffff Oh, the joy :-).
561.
▲
by
cnvogel
13y ago
Here's what you can do to add a "complicated" constant stored elsewhere, in hand-crafted assembler: add_something: ; function starts here (argument r0 == some number) ldr r1, __tmp ; get complicated constant
562.
▲
by
cnvogel
13y ago
Not completely true, there was some kind of power saving starting in those days: If I remember correctly, one of the first moves towards power-saving in the stock-OS was Win 95/98/ME (one of those) to start using the HLT instruc
563.
▲
by
cnvogel
13y ago
If you watch the presentation, it's pretty funny why they used the Appotech chipset: They managed to read out the embedded raw-flash on one device, and when they searched for the vendor/device, the third link that popped up on Bai
564.
▲
by
cnvogel
13y ago
Also on http://30c3.ex23.de/fahrplan_d3.html (search for bunnie) or directly http://30c3.ex23.de/saal1/30C3_-_5294_-_en_-_saal_1_-_201312...
565.
▲
by
cnvogel
13y ago
It's always harder for an adversary when he doesn't know your countermeasures, and if Jakob Appelbaum publishes Video footage (or microphone recordings, photographs, whatever his fourth or fifth, or sixth alarm system provides) he
566.
▲
by
cnvogel
13y ago
I don't think anyone at Apple considered this LED to be designed "tamper proof". They just lazily implemented a requirement possibly written as: -- A LED shall light up when the camera is activated. But what they should hav
567.
▲
by
cnvogel
13y ago
about (2): Streaming of copyright-protected media is generally considered legal, only copying is not. But it's claimed that streaming a file to the flash-player is actually "progressive download" and hence falls under illeg
568.
▲
by
cnvogel
13y ago
416d65726963612043616e20436f6465273b2044524f50205441424c45206c61773b202d2d
569.
▲
by
cnvogel
13y ago
In that case you get yourself a USB to serial dongle which includes a CP210x or a FT232 chipset. Those can be configured to support a huge range of non-standard baud-rates easily. Linux CP210x method described in http://bb.osmoco
570.
▲
by
cnvogel
13y ago
A machine here at work logged cache related machine check excel exceptions, at a rate of roughly 1/day but not regularly or deterministic. Not related to load or temperature and even after clocking lower than spec'ed. Changing the
More ›