Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_hardwaregeek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
_hardwaregeek
7y ago
Kinda funny note, I realized that I forgot to add an assignment statement in my language. Like I just straight up forgot to add it in the grammar. Maybe I'll see how long I can avoid adding it.
62.
▲
by
_hardwaregeek
7y ago
https://blog.torchnyu.com/ And no, you should not read it if you're a professional developer. The point of this blog is to give info that any professional would think is patently obvious, but also not common knowledge
63.
▲
by
_hardwaregeek
7y ago
Get the stupidest thing done and finished. I started my compiler with waay too much ambition. I planned out a Hindley Milner type system but with row polymorphism. I planned out the entire syntax, records and all. But I didn't actually
64.
▲
by
_hardwaregeek
7y ago
Cool! So far I've been reading the spec and looking at the output of wat2wasm.
65.
▲
by
_hardwaregeek
7y ago
Here's the repo: https://github.com/nicholaslyang/saber Fair warning, the code is quite gnarly. I'm not using any frameworks. Took a bit to figure out code generating wasm, but once I got the basic emitter&
66.
▲
by
_hardwaregeek
7y ago
I'm learning the ins and outs of WebAssembly. I just picked back up writing my compiler to WASM for my toy programming language (think JS crossed with ML). Right now I'm getting a feel for writing stack based bytecode and implemen
67.
▲
by
_hardwaregeek
7y ago
A few months ago, I stumbled upon an antique store in Paris where the owner had thousands of notes taken from Grothendieck's house after he died. Apparently he was in charge of appraising them. Which is pretty stunning since Grothendie
68.
▲
by
_hardwaregeek
7y ago
Props to the author for explaining in the first line what the company does.
69.
▲
by
_hardwaregeek
7y ago
There's not a lot of good reasons to use WebAssembly for most apps. You need code that is performance critical with light IO/DOM access, and can be written in the handful of languages that can be practically compiled to WASM, i.e.
70.
▲
by
_hardwaregeek
7y ago
Two headphone jacks is precisely the sort of feature that a developer would find handy but might not make sense from a product view. For one, people will immediately wonder, which jack should I use? Are they different in some way? Or worse,
71.
▲
by
_hardwaregeek
7y ago
Isn't that just an inherent issue with resistance? I'm not super familiar with headphone internals so maybe I'm missing something.
72.
▲
by
_hardwaregeek
7y ago
This is not entirely true. SAT scores can be used as ways to admit more privileged students, as they tend to have access to more test prep along with privileges such as extra time: > In 2010 three College Board researchers analyzed data
73.
▲
by
_hardwaregeek
7y ago
This does seem to be a worthwhile effort and I have no doubt some good will come of it. But I'm not sure targeting COVID is the best idea. Projects can certainly help with that, but they need to scale, fast. Plus any sort of physical r
74.
▲
by
_hardwaregeek
7y ago
I legitimately don't know how people can code without using some emacs or vim commands. Even the simplest stuff like M-f/M-b or C-a/C-e are so ingrained in how I use a computer. Do people genuinely not use them? Do they just
75.
▲
by
_hardwaregeek
7y ago
Fencing exhibits this phenomenon nicely. Fencing does not come even close to mimicking a real sword fight. One reason for this is right of way, basically the idea that the person who attacks first gets precedence and the onus is on their op
76.
▲
by
_hardwaregeek
7y ago
I think we can pump out good apprentices . After 9 months of study, the person could definitely have enough skills to write semi-valid code and work on some small projects with supervision from a developer. However I would not call this pe
77.
▲
by
_hardwaregeek
7y ago
The more I think about bootcamps, the more they appear to be a rather insulting business proposition. Did they genuinely believe that one can take someone off the street, albeit someone relatively intelligent and motivated, and teach them e
78.
▲
by
_hardwaregeek
7y ago
First of all, I get that people like living in the suburbs. But people also like eating beef and like driving Hummers. Unfortunately we need to do less of all of these. > Apartment living is no fun with families. That is a gigantic assum
79.
▲
by
_hardwaregeek
7y ago
Oh I don't think communities should go away. Cities can have communities if you build them in the right way. I just think these communities need to evolve from the particular format of a single family house with a lawn, car and garage.
80.
▲
by
_hardwaregeek
7y ago
More like this thing that people like is energy inefficient, produces pollution and leads to more homogeneous, less diverse communities. And therefore it should go away.
81.
▲
by
_hardwaregeek
7y ago
Having been born and raised in a major city, I'm certainly biased, but I truly believe that suburbs should go away. Every part of a suburb seems so insular, so wasteful, so outmoded. A one family house requires maintenance, heating and
82.
▲
by
_hardwaregeek
7y ago
There's a lot of up and coming artists on SoundCloud. I could totally see them selling a service that replaces record labels for artists starting out. Stuff like helping with mixing and sound quality, basic advertising and branding, ma
83.
▲
by
_hardwaregeek
7y ago
Hanging out with Erdős was probably a ride. He was known for drinking copious amounts of coffee and taking amphetamines non stop. So he probably didn't get a lot of sleep. Now imagine that dude has showed up at your house to live and w
84.
▲
by
_hardwaregeek
7y ago
I'm not sure to be honest. I suspect most parse trees preserve most of the info but not up to bijection. For instance, Ruby has ways of taking the Ripper output and generating source text but there's no guarantee that this output
85.
▲
by
_hardwaregeek
7y ago
Roslyn's parser and syntax tree is pretty amazing. You can recreate the precise source text from the parse tree up to whitespace. This sort of "bijective parsing" is truly incredible and probably one of the cooler innovations
86.
▲
by
_hardwaregeek
7y ago
Reminds me of buffer overflow attacks that repurpose/rearrange existing source code in ways that the author never anticipated to gain control of the system
87.
▲
by
_hardwaregeek
7y ago
Y'know, I suspect certain groups of modernist painters would have a field day with CSS. De Stijl for instance would love it. There is something so elegant and fun about using a medium that forces you to use only circles, rectangles and
88.
▲
by
_hardwaregeek
7y ago
Good catch. I just wrote this CSS for my computer but I suppose for other devices you'd need to adjust that
89.
▲
by
_hardwaregeek
7y ago
Yeah totally. I don't mean that as a slight against the kids, but they do have poor executive decision making skills and they are not amazing at learning. As did I in high school and middle school. Brain development plays a factor. Th
90.
▲
by
_hardwaregeek
7y ago
His autobiography is a great read as well. It's absolutely incredible seeing all the accomplished mathematicians Nirenberg collaborated with: https://link.springer.com/chapter/10.1007/978-3-319-99028-6_...
More ›