Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zvrba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
691.
▲
by
zvrba
13y ago
What, no integer division, multiplication, no floating-point.. Each of these would take a lot of instructions to emulate with the basic 21 instruction, so the CPU would need to run on at least 100GHz to match the performance of today'
692.
▲
by
zvrba
13y ago
Because it gets embedded into the tooth's enamel. Fluorid-enriched enamel is more resistant to acids produced by bacteria. (i.e. fluoride doesn't affect bacteria, it makes teeth more resistant to byproducts of bacteria's feed
693.
▲
by
zvrba
13y ago
> I understand that you don't have to be mining to assist in verifying transactions, as simply running the bitcoin-qt client aids processing of transaction, but there no longer is a financial motivation to do so. Indeed, what will h
694.
▲
by
zvrba
13y ago
> To repeat them, and generate a perfect facsimile of reality down to the last atom, would take more energy than the universe has He's only saying that we cannot simulate this universe within itself . But how does that imply that o
695.
▲
by
zvrba
13y ago
> I would guess that nearly all code, period, is vulnerable to integer overflow issues. Lack of checked integer arithmetic in some form is what I think is Java's biggest failure. Next to it is a lack of unsigned less/greater-th
696.
▲
by
zvrba
13y ago
> It has built-in maps now! Prolog has always had that. You declare facts like parent(patricia, shelly), and you cant make this at run-time too with assert and retract. Unification & resolution makes this work like a 2-way map. What&
697.
▲
by
zvrba
13y ago
Is this Stallman-humor?
698.
▲
by
zvrba
13y ago
Reading comments in this thread just confirms the old saying that it's easy to be a good general after the battle. But David himself says at the beginning of the text: "I made a thousand decisions, large and small, that seemed rea
699.
▲
by
zvrba
13y ago
> web based alternative Well, that kills it for me. I have yet to see a web app whose latency desktop apps.
700.
▲
by
zvrba
13y ago
Am I the only person who manages to wake up almost instantly and never uses the snooze function?
701.
▲
by
zvrba
13y ago
> to buy an apartment in Toyen, one of the Norwegian capital’s wealthier areas. Most definitely not. It's more like an immigrant ghetto, together with Grønland.
702.
▲
by
zvrba
13y ago
> until viable competitors to Office come along I don't think this will happen so soon. OO still looks&feels like from 90-ies, has only basic functionality, and MS Office's data formats are sufficiently complex (and probabl
703.
▲
by
zvrba
13y ago
Right, like what happens with the memory allocated for px in situation like below, if new ClassY throws? A::A() : px(new ClassX), py(new ClassY) { }
704.
▲
by
zvrba
13y ago
> Why do professional programmers write code like this? Because we 1) for some reason or another we _must_ use C or C++, 2) we're coding for a single CPU platform, and 3) we need to get the friggin' job done in this century.
705.
▲
by
zvrba
13y ago
Did he just reimplement "Send to OneNote" and parts of OneNote itself?
706.
▲
by
zvrba
13y ago
> But you will need strict discipline and total control over your collaborators to pull that off because C++ is so permissive. Except it's not. The key is proper encapsulation into classes and generous use of private instance variab
707.
▲
by
zvrba
13y ago
> I will never know the right way to do it in C++ IME, looking for a "right way" of doing anything requiring some kind of knowledge or technique is a tell-tale sign of inexperience. Pursuing the search, analyzing possibiliti
708.
▲
by
zvrba
13y ago
Relevant theory, also not particularly new: http://en.wikipedia.org/wiki/Universal_hashing Thorup: Even strongly universal hashing is pretty fast ([PDF] http://www.diku.dk/hjemmesider/ansatte/
709.
▲
by
zvrba
13y ago
> "have to roll my own low level binary parsing" But that was the whole point from the beginning! Find out how can I do it myself. > You read the bytestring package docs: I repeat: the Internal module isn't listed in th
710.
▲
by
zvrba
13y ago
This is a chicken-and-egg problem. Had I known about the existence of toForeignPtr [the link to Internal module doesn't even appear in the locally installed library docs], I would not have had started the reddit thread. Again, how was
711.
▲
by
zvrba
13y ago
Is "genuine intellectual curiosity" a good enough answer? I tried to figure out by myself how to reinterpret_cast a ByteString to something else (Float/Double in my case). I used ByteString because it was recommended by #hask
712.
▲
by
zvrba
13y ago
> For instance, to actually encode a Cap’n Proto message, I couldn’t just allocate a buffer of zeros and then go through each field and set its value. Hah, dealing with native-encoded binary data in Haskell is rather cumbersome. I asked
713.
▲
by
zvrba
13y ago
> Every shyster and hack lawyer will pull this as defense in court. I don't think it will be so trivial to use this defense. As somebody claimed, JBIG2 _reuses_ sufficiently similar blocks, so I guess it can be relatively easily det
714.
▲
Obfuscation and Functional Encryption for all circuits
(eprint.iacr.org)
2 points
by
zvrba
13y ago
|
0 comments
715.
▲
by
zvrba
13y ago
In C, you can't even get user input without using pointers. Command-line argument? argv is a pointer. fgets/fscanf into a variable? You have to use a pointer. Yes, you can tell the students to treat those stars and ampersands as n
716.
▲
by
zvrba
13y ago
And a link NOT pointing to scribd: http://www.leafpetersen.com/leaf/publications/icfp2013/vecto...
717.
▲
by
zvrba
13y ago
Maybe this one, related to SMM: http://arstechnica.com/security/2009/03/storm-over-intel-cpu...
718.
▲
by
zvrba
13y ago
I don't think it has anything to do with the will to contribute something back. You need a lawyer to do anything with GPL'd software in commercial setting, and even lawyers will sometimes disagree (e.g., what is a derivative work?
719.
▲
by
zvrba
13y ago
Hmm... Excel-like front-end to Haskell?
720.
▲
by
zvrba
13y ago
> actually 12 books - over 6000 pages Wouldn't it have been sufficient to scan only the crypto-code? I guess that the bulk of the code deals with UI, keyservers, file formats, etc, so why bother with exporting the non-crypto stuff in pa
More ›