Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codehero
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
codehero
12y ago
Linus' law may scale, but even assuming these eyeballs produce bug fixes, applying those fixes to the source tree does not scale as well. I have taken time to put my eyeballs on bugs in spidev's ioctl() and TI's spi driver bu
32.
▲
New AP Computer Science Course
(advancesinap.collegeboard.org)
2 points
by
codehero
12y ago
|
0 comments
33.
▲
by
codehero
12y ago
USB is still problematic on Linux. In particular the musb is completely unstable when "babble" is detected. You have to use the right kind of USB hub (or modify the cable) to keep power from backfeeding into the BBB. It seems your
34.
▲
by
codehero
12y ago
There are two troubling lines in his code (from https://github.com/espruino/EspruinoOrion/blob/gh-pages/seri... ) var header = sampleRate; // 1 sec to charge/discharge the cap var buf
35.
▲
by
codehero
12y ago
Unfortunately it won't port to IAR, which is a shame. I don't understand why pointers to labels never made it to the C spec; it's one of the (equivaling) features that actually makes assembler look elegant.
36.
▲
by
codehero
12y ago
I wrote a JSON parser that avoids using dynamic memory but works a bit differently. It's a callback interface like SAX, but instead of pushing already "typed" data to the user, the user calls a function to interpret the data.
37.
▲
by
codehero
12y ago
I have to agree. I developed a proprietary embedded web server using a streaming HTTP parser. Complying with the HTTP parsing rules is a headache to say the least. Variable amounts of whitespace; 2 variants of line terminators (\r\n or \n)
38.
▲
by
codehero
12y ago
I typed in `oink` but the command was not found...
39.
▲
by
codehero
12y ago
Cheap pin headers are just punched and shoved into nylon housing. They have very little contact with a male connector. These pin headers are machined and have far better contact with anything plugged in.
40.
▲
by
codehero
12y ago
Searching for "thrust bearing" came back with mostly teddy bears...
41.
▲
by
codehero
12y ago
Pattern matching looks cool but I have some concerns. What is the best forum for Rust discussion? I get the feeling HN would rake me over the coals for bringing up switch, falling through case labels and of course, goto.
42.
▲
by
codehero
12y ago
We differ on our opinions of C. It may be dated for you but I can I know how to manipulate the syntax to get the desired result. Rust has been on my list of things to check out, but not use for clients. Right now all roads (from Javascript,
43.
▲
by
codehero
12y ago
I see two great things about this tool, and not exactly for what it was designed: 1) Fix bandwidth problems caused by API designer laziness. 2) Detect API designer laziness and programmer laziness. The API designer laziness merits descripti
44.
▲
by
codehero
12y ago
You're as judgmental as errordeveloper; let me do the namedropping this time. I have timestamped when I started playing with certain technologies: SVG: 2001 AJAX/Javascript: 2002 Windows CE: 2005 DirectFB: 2005 FLTK: 2006 SCons: 2
45.
▲
by
codehero
12y ago
Name dropping does not mean a thing and I doubt they developed ALL the tools and IDEs for Siemens' industrial systems. If they did, then they would be wise not to mention the numerous SCADA faults found in Siemens control systems. Ther
46.
▲
by
codehero
12y ago
I really appreciate your succinct criticism of my points, you didn't need to qualify with anything but "you have been doing C for too long." I consider that a compliment. Ask my clients how much of a problem I am and then ask
47.
▲
by
codehero
12y ago
When I work on an embedded system, I want as few layers between my code and the assembler as possible. Even your C compiler can produce undesirable code if you don't put the proper const, volatile qualifiers on your pointers. The last
48.
▲
by
codehero
12y ago
How does the power efficiency of DSLR compare to Ubuntu? Would I get longer battery life?
49.
▲
by
codehero
12y ago
Are there any examples to read high detente count encoders?
50.
▲
by
codehero
12y ago
How would you make feedback work for blind people?
51.
▲
by
codehero
12y ago
Is there a similar way to play with the phase component?
52.
▲
by
codehero
12y ago
Makerbot is trying to be the Apple of consumer 3D printers. However, the Genius bar will still help you with your 3GS; Makerbot Support wouldn't touch my Thing-o-matic issue (and I bought that in 2012). The issue regarded the heated be
53.
▲
by
codehero
12y ago
dyad_writef is certainly not 'async' when using the 'r' input specifier (which seems to redirect input from a FILE* to the output stream). And the way dyad_writef achieves 'async' is to buffer the entire conten
54.
▲
by
codehero
12y ago
Can anyone comment on the read/write performance of SPI flash? Seems like it would be similar in performance to SD card, but without the wear leveling?
55.
▲
by
codehero
12y ago
A humble suggestion would be to ask them to start counting from zero, not one.
56.
▲
by
codehero
12y ago
Reminds me of Multics; it had online updates.
57.
▲
by
codehero
12y ago
Off the top of my head I look at it as a graph 2 coloring problem. The graph starts out with 1 node per item and zero edges. If we think two items will be in the same set (either in the knapsack or out) we merge the nodes and their weight a
58.
▲
by
codehero
12y ago
One thing you do not see fragmenting are command-line tools, because people tend to agree on their function(1). However, QT is huge; its scope goes far beyond GUI functionality, into string classes, SQL databases, networking, etc. And moc,
59.
▲
by
codehero
12y ago
All these years later and under Linux I still can't unambiguously read a UART line break condition....
60.
▲
by
codehero
12y ago
That is really cool. Combine this with struct definitions in function bodies and I see a great teamup with variadic functions. Take a theoretical struct_printf, which prints out non promoted data with struct packing (not variadic stack pack
More ›