Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryani
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ryani
1mo ago
Listening to Mike Duncan's "Revolutions" podcast I was distinctly struck with the idea that the main thing leftists like to do, even more than fighting rightists, is fighting other leftists.
2.
▲
by
ryani
2mo ago
Sadly, you can't easily do the full pimpl idiom in C++. The pimpl idiom is a C idiom where a header declares an opaque structure and prototypes of functions that take pointers to that structure. In C the OP example would look somethin
3.
▲
by
ryani
3mo ago
> I can tell you right now that you would have to pay me far above market rate to get me to move If everyone feels that way, then it's not an above-market rate, it's by definition the market rate. The market rate for a job m
4.
▲
by
ryani
8mo ago
What statutory penalty? https://www.copyright.gov/512/ Read the requirements for a takedown notice. The only thing a DMCA notice needs to claim under penalty of perjury is that you are authorized to enforce the copyri
5.
▲
by
ryani
1y ago
I want to be able to click-and-drag. For example, in this row 1 2 |x x | if I left click the second cell and drag right it should mark all the blank cells black. Similarly in the inverted case, if I have marked cells and right-cl
6.
▲
by
ryani
1y ago
This is also available (with an included Flash emulator, so playable on modern machines) in Zach's free retrospective "Zach-like" [1] [1] https://store.steampowered.com/app/1098840/ZACHLIKE/
7.
▲
by
ryani
2y ago
How is "Baumol effect" different from supply and demand for any limited resource? Let's say that some new use for copper is discovered, that drastically increases the demand for copper. The cost of existing items that use co
8.
▲
by
ryani
2y ago
Hi Chaim! I really enjoyed working with you on Spore. What have you been up to in the intervening years besides writing this book?
9.
▲
by
ryani
2y ago
I think something like Unity or Gamemaker or even Scratch fills that niche now. They are a bit more game-focused than Hypercard (which was really more of an early iteration on the web), but, I think, capture a similar feeling of empowermen
10.
▲
by
ryani
3y ago
This is such a crazy take. "Because the waste is so huge, it's impossible to do anything". It's not like any individual reform is going to suddenly end all that waste and put everyone involved out of a job. Iterative s
11.
▲
by
ryani
4y ago
Here's the standard algorithm for this problem function weightedRandom(weight, outcomes){ var total = sum( weight ); var roll = Math.random()*total; // value in the range [0,total) var seen = 0;
12.
▲
by
ryani
4y ago
I think there's a difference between "blockchain + PoW" and "blockchain". Blockchain taken literally is just verification of history via hashing. It's a form of provenance that is hard to fake. Even if you a
13.
▲
by
ryani
5y ago
> The adage that teachers still teach, "don't cite Wikipedia" -- [...] what are people supposed to use? Wikipedia cites sources. Go to those sources, find the ones that best line up with the data you need, and cite them d
14.
▲
by
ryani
5y ago
If you raise your prices, you drive away legitimate customers but don't drive away fraudsters, since the fraudsters aren't actually paying with real money. So raising your price increases the percentage of fraud you see, which
15.
▲
by
ryani
5y ago
Full disclosure: I used to work at EA and while I was there I contributed a tiny amount of code to EASTL. EASTL provided a bunch of value that the standard STL would not. The biggest benefit was a unified implementation across all platform
16.
▲
by
ryani
5y ago
After listening to Mike Duncan's excellent "History of Rome" podcast, one of the repeated themes I noticed is that during periods when the Romans were more racist/classist/etc they had trouble. Their periods of gre
17.
▲
by
ryani
6y ago
You're a software developer, so if you really believe that, get to hacking. It's clearly an industry with huge potential if it is economically viable to spend money buying an Argentina's worth of power on it.
18.
▲
by
ryani
6y ago
The "under penalty of perjury" is completely toothless and I don't believe has ever resulted in a judgement against a rightsholder. Here is the exact text from the DMCA from https://www.aclu.org/other/tex
19.
▲
by
ryani
6y ago
That page claims it can compress a single transaction down to 12-16 bits. Unless the vast majority of btc transactions are between the same few wallet addresses, this seems impossible? Even if you assume that the transaction is an instanc
20.
▲
by
ryani
6y ago
From reading his comment the goal of the ad spend isn't to get a lot of visitors, but to get enough visitors that you can measure impact. So you don't need a big push, just enough that you can check if people want what you are bu
21.
▲
by
ryani
6y ago
So the goal of futures is to deal with inversion of control. The code you want to write is something like: fn f( filename ) { val someUrl = computeTheUrl(); val data = await http.get( someUrl ); val processedData = process(D
22.
▲
by
ryani
6y ago
Although there is projective space where it does make sense to say x = infinity (and also that f(0) is defined). In projective space all of the conic sections (lines, hyperbolas, ellipses, parabolas) are connected loops.
23.
▲
by
ryani
6y ago
But you can ship a packet of flower seeds (cost: 10 cents and a stamp) instead of your expensive product, and your tracking obligation is dealt with.
24.
▲
by
ryani
6y ago
The distinction I make is that roguelites are designed around metagame progression rather than / in addition to the in-game progression used by roguelikes. For example, Rogue Legacy is almost entirely focused on metagame progression be
25.
▲
by
ryani
6y ago
I think the following characteristics define "roguelike" games: * Permadeath / "ironman mode", generally enforced by the game * Procedural generation of game levels/encounters * "Progression" elements
26.
▲
by
ryani
6y ago
The "lite" is in terms of punishment. Death in a roguelike is usually "game over, better luck next time". Death in a roguelite still generally resets you to the beginning of the game, but there is a metagame progressio
27.
▲
by
ryani
6y ago
I think that's a reasonable distinction between the genres but the boundary can get a bit gray. Two examples: Bones levels have been a staple of Roguelikes since Nethack, where you can find the area that one of your previous character
28.
▲
by
ryani
6y ago
> I see in the letter that all of the signees are retired, which expands the total number of generals (and admirals) alive significantly. Active duty generals generally do not comment on political matters. Once they have left military s
29.
▲
by
ryani
6y ago
This seems like attempting to weasel-word. If Ghandi said "We have a lot of guns, and looting leads to shooting", it's a lot more clear that the meaning is (2). Trumps tweet didn't just say that one sentence, it said,
30.
▲
by
ryani
7y ago
It's true that big-O notation only concerns behavior with large N, but it's a bit disingenuous to say that the loop executes a constant number of times -- by that argument, you could say that if you implemented size() by strlen()
More ›