Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quotemstr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1484 ms
·
4291.
▲
by
quotemstr
14y ago
How so? A unique identifier is a unique identifier.
4292.
▲
by
quotemstr
14y ago
Paging through my copy of AC, I think you're right. I'd been a while since I read it. PC is indeed the better book.
4293.
▲
by
quotemstr
14y ago
There's nothing wrong with Applied Cryptography so long as you _understand_ it. If you blindly apply outdated algorithms, yes, you lose. Everyone should read both Applied Cryptography _and_ the other books you mentioned, and keep up on the
4294.
▲
by
quotemstr
14y ago
Also, HMAC is just one MAC (message authentication code). OMAC and is another good one; it has the interesting property of being built on top of a block cipher instead of a hash function, which can reduce the number of "moving parts" in a s
4295.
▲
by
quotemstr
14y ago
You can learn all that and more just by reading Applied Cryptography.
4296.
▲
by
quotemstr
14y ago
Elaborate?
4297.
▲
by
quotemstr
14y ago
> one can imagine those structures being just as transparent and ready for inspection as modern filesystems Then why not use filesystem APIs to talk about these structures? There's nothing about opendir() that requires it be backed by a
4298.
▲
by
quotemstr
14y ago
Maybe Apple has a monopoly; maybe it doesn't. Regardless, what Apple is doing is _wrong_ and needs to be stopped. There are more antisocial business practices than are dreamt of in the Sherman Antitrust Act.
4299.
▲
by
quotemstr
15y ago
Emacs calc is one of my favorite computer algebra systems: it can derive and sum and integrate, numerically or symbolically. It can do unit conversions, graph equations, and do geometry. It's really very neat and useful.
4300.
▲
by
quotemstr
15y ago
> his http://timvandamme.com/ is better-made than anything Dustin's ever touched I don't see why. The linked site is a generic Apple style ripoff with an annoying and unnecessary swipe action. I've seen hundreds of sites just like it.
4301.
▲
by
quotemstr
15y ago
Huh? Modularity has nothing to do with classes. In plain C, your main "method" can be a simple external function, and the "helpers" can be static functions. Python offers similar functionality. Making a class is a step backward because the
4302.
▲
by
quotemstr
15y ago
Down that road lies the hell of dependency injection frameworks. A simpler approach is to use something like detours[1] to mock bare functions directly. [1] https://research.microsoft.com/en-us/projects/detours/
4303.
▲
by
quotemstr
15y ago
Yes, but many function objects can be constructed easily enough with Boost.Lambda and related libraries.
4304.
▲
by
quotemstr
15y ago
> if I want functional style code in C++, I have to define my functions as classes Much of the benefit of C++11 and Boost is in not having to write functor classes.
4305.
▲
by
quotemstr
15y ago
You can create a variable, set that, and pass that variable as the first parameter to greeting. I don't see why having a class makes testing any easier.
4306.
▲
by
quotemstr
15y ago
Who said stacks had to be contiguous and allocated ahead of time?
4307.
▲
by
quotemstr
15y ago
Comments like this are the reason I read HN, which is really an oasis in a desert of confident ignorance.
4308.
▲
by
quotemstr
15y ago
If ads were proxied through the site, the site would have no way of giving Google the information that would allow them to tell you from Adam. The entire purpose of externally-served advertising is cross-site tracking and correlation.
4309.
▲
Stop using these bloody things. What's wrong with a checkbox?
(imgur.com)
5 points
by
quotemstr
15y ago
|
0 comments
4310.
▲
by
quotemstr
15y ago
Perhaps not coincidentally, 200 AD was about the time that Rome started to falter: in 235, the "Crisis of the Third Century" permanently wrecked trade, knowledge, and culture. The crisis marked the real beginning of the medieval period, and
4311.
▲
by
quotemstr
15y ago
No, you, as an evil website operator, can cause anyone who visits your site to log out of any arbitrary rails site.
4312.
▲
by
quotemstr
15y ago
"learnings"?
4313.
▲
by
quotemstr
15y ago
Changing a loop counter in a loop is always a bad idea? You must implement only very simple algorithms.
4314.
▲
by
quotemstr
15y ago
What business do you have using a vector of bare pointers anyway? If you use smart pointers, the container's clear() will automatically free resources held by container elements.
4315.
▲
by
quotemstr
15y ago
> The jump from C++ to Java was big enough You are aware that many people still write C++, yes?
4316.
▲
by
quotemstr
16y ago
This article is trash. In one breath, the writer lambasts IE9 for supporting a compatibility mode (while not mentioning that other browsers also have a quirks mode) --- and then goes on to criticize the decision not to support XP, the most