Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
151.
▲
by
gens
10y ago
Having looked around, no. LibPNG seems to keep it at a minimum, though. Guess i'm the only one doing that. (and i have no problems)
152.
▲
by
gens
10y ago
The Ignorance Of Err Ignorant People dd is a tool. dd can do a lot more then cat. dd can count, seek, skip (seek/drop input), and do basic-ish data conversion. dd is standard, even more standard then cat (the GNU breed). I even used
153.
▲
by
gens
10y ago
Short story they measure the output voltage every once in a while, depending on the load, instead of always measuring it. > If no device is drawing current from the converter, or if the current is going only to a simple, local circuit, t
154.
▲
by
gens
10y ago
Apparently the NSA would. (somewhere around the shredding part; don't have time to find exact) https://www.youtube.com/watch?v=-bpX8YvNg6Y&feature=youtu.be
155.
▲
by
gens
10y ago
How about support for C ?
156.
▲
by
gens
10y ago
I don't know anything about you, but I do know that I know a somewhat fair amount about electronics and mechanics. I'l just respond to the first one. > no it doesn't. rfid, weight, a camera, can easily do this. Dirt, egg
157.
▲
by
gens
10y ago
>Redis is often thrown around as an example of an excellent, clean C source code base. Look at server.h. It has 34 include statements. Would you rather that every C file that includes server.h have to include these 34 files before includ
158.
▲
by
gens
10y ago
> see how many eggs I have left Requires machine vision (or you telling it every time you take out an egg), doesn't have much to do with IoT (unless you want to see that from your TV or phone, that i guess you do). > what tempera
159.
▲
by
gens
10y ago
Because then people know what they are using. And that is more valuable then fixing simple compiler errors. I'v seen programs that have an "uberinclude", usually named "common.h" or something like that, that include
160.
▲
by
gens
10y ago
>Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be selfevident. Data structures, not algorithms, are central to programming. (See Brooks p. 102.)
161.
▲
by
gens
10y ago
Those are bad examples.
162.
▲
by
gens
10y ago
>Side question: the last time I watched broadcasts coming out of my unassociated iPhone, it was specifically asking for certain SSIDs. The set seemed somewhat random (I've joined all of them, but not recently), and I don't thin
163.
▲
by
gens
10y ago
As an outsider whose only contact with New York Times is from submissions here, it seems that they don't know what they are talking about most of the time.
164.
▲
by
gens
10y ago
Also check out libpng's source. https://github.com/glennrp/libpng
165.
▲
by
gens
10y ago
I find bout of your claims hard to believe as OSX has a sound architecture similar to PulseAudio. Are the 3ms measured or is it just what OSX tells you ? A buffer of 3ms at 48kHz holds 144 samples. That means shoveling 144 fresh samples (pe
166.
▲
by
gens
10y ago
>Self-driving cars should try to avoid collisions regardless of fault and should not adjust that behavior based on who the local liability laws will hold responsible. I would love to watch a show called "Driverless cars in India&quo
167.
▲
by
gens
10y ago
Seems to me that your manager is more an asshole and/or idiot then sexist.
168.
▲
by
gens
10y ago
As a contrast, I use sublime. It has (almost) everything I desire. And it saves everything i write, even in the case of a power outage. Another example would be Acme[0]. >The point is that user preferences are more fragmented and expecta
169.
▲
by
gens
10y ago
ftp://ftp.slackware.org.uk/slackware/slackware64-14.2/ChangeLog.txt Just ctrl+f for "xml". (edit: nvm, only 3 reports are bugs. although the libxml2 report has 3 somewhat serious bugs) "XML is a well
170.
▲
by
gens
10y ago
>True enough, but as a younger programmer, I find it pretty reasonable to look back at computer systems of the 70s and wonder if we can do better today. I feel a little bit gross every time I have to write a bash shell script (or edit co
171.
▲
by
gens
10y ago
>.. and the cpu load looks about even. 318% is 20% bigger then 265%.
172.
▲
by
gens
10y ago
A talk about this topic: https://www.youtube.com/watch?v=k5E28fp4oc0
173.
▲
by
gens
10y ago
>You already did a possible security exploit on your example, as you need to guarantee 100% of the time that bla and blaa sizes are always less or equal than buffer_size. bla and blaa buffer sizes, yes. I mostly string file names/pa
174.
▲
by
gens
10y ago
I see. I meant it as "things implemented in the browser", without any of the million and a half libraries.
175.
▲
by
gens
10y ago
Does anybody just write plain JS ?
176.
▲
by
gens
10y ago
>That said, as a general rule raw C-style string parsing, which that C++ code is an example of, is asking for trouble. It's painful to write, painful to maintain, painful to debug, and, when it fails, fails in the worst possible way
177.
▲
by
gens
10y ago
You could also use their Levenshtein distances.
178.
▲
by
gens
10y ago
Ok. Like what ?
179.
▲
by
gens
10y ago
And i just implemented A* yesterday... JPS is great. I remembered it from a former talk a while ago. From the little experience i have with pathfinding, it seems to be an interesting topic with many little details to be explored. Like smoot
180.
▲
by
gens
10y ago
C has a pointer aliasing keyword, "restrict". Also: "Originally implemented for C and C++, the language-agnostic design of LLVM has since spawned a wide variety of front ends: languages with compilers that use LLVM include Ac
More ›