Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swolchok
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
swolchok
8y ago
Would it be fair to say that it will teach you how to dictate the memory layout of your program, which is key to taking proper advantage of "cache locality, cache lines, prefetching, etc..."?
32.
▲
by
swolchok
8y ago
ARM64 uses regular loads and stores to access the stack, I believe. It also is one of the architectures with branch-and-link. https://community.arm.com/processors/b/blog/posts/using-the-...
33.
▲
by
swolchok
8y ago
> We spend a lot of silicon forcing our computers to "work like C does" (the specification for how registers work may as well read "we need to run C code very quickly no matter how much register renaming costs us in silico
34.
▲
by
swolchok
8y ago
IMO title should at least contain "The Rustonomicon"; "The Dark Arts of Advanced and Unsafe Rust Programming" is the subtitle. I wouldn't have clicked through if I had known that the link was to this document.
35.
▲
by
swolchok
8y ago
Seems like this would devolve into a market for add-ons for your game. Let's assume that this game becomes popular. I'd claim that then most players would passively consume the leading open source solution(s), which are likely to
36.
▲
by
swolchok
8y ago
I don't think that your conclusion follows from your argument. You could say the same thing about directly eating vegetables -- they can be fed to animals we normally eat (e.g., cattle). More directly to your point, isn't there si
37.
▲
by
swolchok
8y ago
The system in the Bay Area is especially broken because it is built to nudge everyone to put as much as possible in recycling/compost. We've got very limited trash space, expensive upgrades to larger trash bins, and huge recycling
38.
▲
by
swolchok
9y ago
Try a different mech squad. Blitzkrieg, for example, is vaguely similar to the Rift Walkers in composition but the mechs have much more specialized roles.
39.
▲
by
swolchok
9y ago
> if you want to scare yourself later go play with browning butter what's scary about browning butter? It seemed to work great for me on the first try. Whole kitchen smelled delicious, and so were the chocolate chip cookies I was br
40.
▲
by
swolchok
9y ago
Moreover, the Lost Kingdom interpreter will expand the memory arbitrarily as it encounters > instructions, whereas the bf2wasm interpreter has a fixed limit of 16384 4-byte cells according to its documentation.
41.
▲
by
swolchok
9y ago
Looks like the default Lost Kingdom BF interpreter uses 8-bit cells, whereas the bf2wasm compiler uses 32-bit cells. This matters in Brainfuck; choosing the "wrong" one of the idioms [-] and [+] for zeroing a cell gets worse as ce
42.
▲
by
swolchok
9y ago
Title would make more sense if it was "Making Sense of Super Smash Bros. Melee". Not everyone plays this game.
43.
▲
by
swolchok
9y ago
If you're interested in this, http://www.zachtronics.com/tis-100/ is a "game" about programming a non-existent architecture that looks inspired by transputers.
44.
▲
by
swolchok
9y ago
see also https://swolchok.github.io/objcperf/
45.
▲
by
swolchok
9y ago
> These numbers are about 60% more than corporate salaries where I live, but the cost of living in SV is roughly 3-10x greater. Your point doesn't necessarily follow from your argument. For example, if salaries where you live were $
46.
▲
by
swolchok
9y ago
Try not being white. My wife gets asked "are you Chinese???" by some random every time she's in the midwest.
47.
▲
by
swolchok
9y ago
This article is from 2016, per the main page at https://danluu.com/ . Can we get a (2016) in the title?
48.
▲
by
swolchok
9y ago
simple A=1 index decodes to WHITESOUTHERNGIANT.
49.
▲
Objective-C Performance and Implementation Details for C and C++ Programmers
(swolchok.github.io)
4 points
by
swolchok
9y ago
|
0 comments
50.
▲
by
swolchok
9y ago
Objective-C has had generics for years. Here's mention of how they are imported into Swift: https://developer.apple.com/library/content/documentation/Sw...
51.
▲
by
swolchok
9y ago
It means automatic storage duration (i.e., on the stack). https://stackoverflow.com/questions/2192547/where-is-the-c-a...
52.
▲
by
swolchok
9y ago
> there's no way to make things darker https://en.wikipedia.org/wiki/Liquid-crystal_display#Twisted...
53.
▲
by
swolchok
9y ago
Can we get this clickbait title changed? I even skimmed the article and I still don't know what "the most revolutionary thing about self-driving cars" is supposed to be.
54.
▲
by
swolchok
9y ago
"order me a pizza from domino's." "order me a pizza from papa john's."
55.
▲
by
swolchok
9y ago
> he could have exercised his shares and gotten several hundred thousand, but he would've needed to pay about $100k in taxes beforehand. Since he didn't have that money, he couldn't exercise the options. I feel like at le
56.
▲
by
swolchok
9y ago
> at least with "javascript" you can view the source code minified and/or optimized JavaScript is generally not human-readable. Try view source on some major websites.
57.
▲
by
swolchok
9y ago
Or you could just #define STR "Lorem Ipsum" and be sure that it's going to be efficient.
58.
▲
by
swolchok
10y ago
Sounds like the author needs to read Worse Is Better ( https://www.jwz.org/doc/worse-is-better.html ).
59.
▲
by
swolchok
10y ago
If the micromort was sold as an expected number of deaths, then I wouldn't have as much of a problem with it. (My major problem is that you can't die more than once, so probability seems to be more of a concern than expected numbe
60.
▲
by
swolchok
10y ago
The problem with a "unit" of risk like this is that probabilities don't simply sum like this. Assuming the probability of dying in each activity is independent, planning to do a 7000-micromort activity A and then (after appro
More ›