Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
knome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
511.
▲
by
knome
13y ago
Looking up the value using "in" in a dict would be inefficient as it would have to iterate over the contained values. If you want to efficiently look for values, use a set() or store a second dict that goes from values to keynames
512.
▲
by
knome
13y ago
All this has given me a thought. If in the video game based economy for TF2 you receive a hat that can be traded on the marketplace or traded to others, do you have to consider that a taxable event? If you have something rare and it's
513.
▲
by
knome
13y ago
Is "in an efficient market" the economic equivalent of the programmers' "with a sufficiently smart compiler"? It seems to be used in the same manner in arguments.
514.
▲
by
knome
13y ago
It was pointed out to me after I joined #llvm when considering reporting this that using the value of "b", which is defined after "a" in the class before it has been initialized is, I suppose obviously in retrospect, und
515.
▲
by
knome
13y ago
~/test/O$ cat break.cpp #include <iostream> template <typename A, typename B> struct MutualRecursion { static const int a = MutualRecursion< B, A >::b ; static const int
516.
▲
by
knome
13y ago
It looks like clang creates it's data structure representing the template instantiation, caches the instantiation for the parameterizing types, then begins instantiating the types for the members. When it first hits the static bool, it
517.
▲
by
knome
13y ago
How could Google use hashes to avoid duplication? They'd have to download each link before they could hash the contents thereof, so the damage would still be done.
518.
▲
by
knome
13y ago
You wouldn't do the bitcoin transfer until the transaction authorizing it completed successfully. And you don't just use a single transaction that deducts the amount. You'd use one transaction to indicate you were beginning a
519.
▲
by
knome
13y ago
I found the lemon parser generator distributed with the source to sqlite3 to be far easier to use than bison. http://www.hwaci.com/sw/lemon/
520.
▲
by
knome
13y ago
I'm sure you'll be pleased to find that gcc has kept the assigned goto alive as a c extension. #include <stdio.h> int main( int argc, char ** argv ){ void * p = && lol ; bounce: goto *p
521.
▲
by
knome
13y ago
Your VM will work much faster if you take the time to do a second pass over the generated "code" and resolve the jumps to LABELs all at once instead of linearly scanning the code for the appropriate target on each jump.
522.
▲
by
knome
13y ago
You can't stop this without breaking git. There is no master repository in git, where user access can be checked. As far as a git repo is concerned, you could easily be checking in a commit Linus sent you, in which case it would be doi
523.
▲
by
knome
13y ago
I was cast into doubt by the same comment. The United States military does not make use of even things like pepper spray as a non-lethal weapon specifically because of being a signatory of treaties against use of any chemical warfare.
524.
▲
by
knome
13y ago
> By rejecting sweat of the brow doctrine in the context of patents, patent law has become divorced from its underlying economic justification: the prevention of free-riding. The magnitude of the disincentive created by free-riding depen
525.
▲
by
knome
13y ago
Yeah, the greatly heralded technocratic revolution will just mean they can keep vegetables alive and the sickly suffering indefinitely. One day we'll have the chance to remain an inert blob of flesh floating in a pool of artificial eve
526.
▲
by
knome
13y ago
Countries are human fancy. The nature of the fancier is somewhat pertinent.
527.
▲
by
knome
13y ago
If you're investing by purchasing the item, then yes, you can only lose 100%. However, if you pay the current rate ( + lending fee ) to borrow a BTC to sell expecting that when you go to repay the BTC you'll be able to purchase on
528.
▲
by
knome
13y ago
While it certainly has good points besides platform ubiquity, if you were trying to derive an equivalent of big-O for the popularity of javascript, language level criticisms and acclamations would count as, at best, linear concerns, where p
529.
▲
by
knome
13y ago
I believe the described system would work fine without needing double spending. Even simply acquiring the bids to verify transactions into the chain could make it worthwhile. When the "selfish" chain is published, it takes two blo
530.
▲
by
knome
13y ago
You may want to consider standard WASD for directions, moving back to Q, select to E and special functions to ZXC. The WASD habit is strong, for me at least. Not that it will matter as much for the end app, of course.
531.
▲
by
knome
13y ago
I was just thinking I could use a little more nutjob to help me get started in the morning.
532.
▲
by
knome
13y ago
Surprisingly, not really. {-# OPTIONS -fglasgow-exts #-} class BuildList a r | r-> a where build' :: [a] -> a -> r instance BuildList a [a] where build' l x = reverse$ x:l ins
533.
▲
by
knome
13y ago
The question for that is whether that CPU and memory use is required by the game, or the result of the language and runtime used to craft it.
534.
▲
by
knome
13y ago
Which would be fine if people ate a slice of pizza as the main course to a meal, instead of half a pizza as a meal.
535.
▲
by
knome
13y ago
I can't tell if you're making a reference or genuinely asking. http://en.wikipedia.org/wiki/Analysis_paralysis
536.
▲
by
knome
13y ago
The importance is that it turns a local maxima into a plateau and replaces a disincentive to improve your lot beyond the assistance with a mere lack of incentive as you improve beyond it. It provides assistance without a hook to keep you on
537.
▲
by
knome
13y ago
"Goddamn hacker bullshit. Looks like someone used a buffer overflow on the mainframe to encode a virus, and the thing dropped a bunch of malformed proteins while replicating in place of the data organelles. It's growing tumors and
538.
▲
by
knome
13y ago
I've never understood why they don't simply structure those things to supply benefit reduced by the amount you make over the benefits maximum until the benefit no longer applies. A person who receives $100 worth of benefit so long
539.
▲
by
knome
13y ago
Cloud in this instance is synonymous with obscure.
540.
▲
by
knome
13y ago
> As root you can run: Unless the specified 'index.html' is only readable by root, you don't have to be root to run that. Only the low ports are restricted from regular users.
More ›