Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maga
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
maga
5y ago
That's rather trivial with Deno.run, here I just wrote a gist for that out of curiosity: https://gist.github.com/zandaqo/93004fb265146a95aadb28ec851a...
62.
▲
by
maga
5y ago
tsconfig's noUnusedLocals can help you with the last one.
63.
▲
by
maga
5y ago
prettier?
64.
▲
by
maga
5y ago
WASM has its moments, as you can see in this[1] benchmark it outperforms JS and native addons on certain tasks. Since the bottleneck with native addons is usually data copying/marshalling, and we have direct access to WebAssembly memor
65.
▲
by
maga
5y ago
Node has always supported native addons, and since 2017 it also provides a stable ABI making the process a whole lot easier[1]. That said, in my own experience it was seldom worth it to rewrite something in C++ for performance sake. After r
66.
▲
by
maga
5y ago
A few years ago I did similar comparison but in context of Node.js and sans manual optimizations: https://github.com/zandaqo/iswasmfast In my work, I have come to conclusion that it seldom pays off to go "native&q
67.
▲
by
maga
5y ago
Indeed. I remember that, I have been using node since the very early days, and switched to it for precisely that reason--that I could use the same language through my web application. Nevertheless, when we did get those modern web API, Node
68.
▲
by
maga
5y ago
This. I started tinkering with node shortly after I heard Ryan introduce it at JSConf EU, and it was a very different world, not much for Node to draw from on the browser side, no modules, no promises, not even TypedArrays IIRC.
69.
▲
by
maga
5y ago
The often overlooked selling point of Deno that I find most compelling is the (re)use of web APIs. As a full-stack dev writing isomorphic code and libraries, dealing with ideosincracies of nodejs has been a pain.
70.
▲
by
maga
6y ago
I'm a voracious audiobook consumer and get my books in all forms and shapes. At some point, I got tired of organizing them and decided to put them in my Calibre library, re-encoding each book first into a single file preferably with ch
71.
▲
by
maga
6y ago
That's an apt observation, actually. I used to practice mind palace when I had to memorize lists, and I do feel more comfortable when information is "physically" placed somewhere like a page, I guess it's all connected.
72.
▲
by
maga
6y ago
Maybe it's simply a force of habit at this point, but I can only read/study/memorize technical stuff from PDF/paginated source--I memorize the overall "picture" of the page and it's location along with the
73.
▲
by
maga
6y ago
I have been using lit-html for years now, and lit-element for a couple years all in vanilla js for evergreen browsers with the only build step being bundling for production. Here is one of the projects: https://cisterna.app
74.
▲
by
maga
6y ago
Check out esbuild.
75.
▲
by
maga
6y ago
I'm curious about how the hardware side of it all looks. Does Apple sell chips to these cloud providers or they are indeed using real/modified Mac Minis?
76.
▲
by
maga
6y ago
SpaceX. Watching Falcons land is one of the few things that still give me warn and reassuring feeling about the future.
77.
▲
by
maga
6y ago
I understand that, I mean the matter-energy balance in the universe at the moment accounts 5% to ordinary matter, 26% to dark matter and the rest to dark energy. Since we now assume there are less stars, hence, ordinary matter, but the gala
78.
▲
by
maga
6y ago
Does this mean there is "more" dark energy since we still have all the effects of extra matter but less visible matter?
79.
▲
by
maga
6y ago
If I understand this correctly, mushrooms can eat the carbohydrates in oil and oil products. I wonder what happens to metals mixed in the oil, do mushroom suck those in as well or somehow filter them and leave in the ground? Old oil well an
80.
▲
by
maga
6y ago
I wonder why no one tries to colonize Antarctica as a stepping stone for future space colonization. We can test and develop our greenhouse and energy tech there. E.g. create a colony that gets all its energy from solar and uses it to grow g
81.
▲
by
maga
6y ago
I'd like to know how it compares to existing solutions, the only thing I see in abstract is meeting/exceeding some US gov target. Can someone knowledgeable weigh in on this? How big of progress is this?
82.
▲
by
maga
7y ago
And still no support for RegExp features from ES2018(!), i.e. named groups [1]. I love FF as much as the next web dev, but sometimes features fall by the wayside, and it takes forever for FF to implement them. For example, it took literally
83.
▲
by
maga
7y ago
This. I was really hoping for EventTarget constructor to land: https://bugs.webkit.org/show_bug.cgi?id=174313 Safari now is the only evergreen browser that does not support it.
84.
▲
by
maga
7y ago
It usually took me ~20 min to download an mp3 around that size through dial up back in the day. Indeed what a time.
85.
▲
by
maga
7y ago
So, tl;dr answer is that it's because those amino acids are more eager to react/polymerize. I wonder what it means for exobiology, is this true only in Earth conditions or in general, i.e. can we expect life elsewhere to use the s
86.
▲
by
maga
7y ago
Evernote. For KM, I keep notebooks labeled: - Excerpts (for summaries and excerpts from books and articles) - Snippets (for code snippets, formulas, etc) - Reports (for results of research on a subject, e.g. learning new API) - Papers (copi
87.
▲
by
maga
7y ago
I've been doing various sports on/off since I was a student (10+ years ago), mostly martial arts. There were some periods when I was out of shape, but in general I kept myself fit. I was never into lifting though, I could barely b
88.
▲
by
maga
7y ago
By finding a coach to set up a proper form for the lifts. That is, if we are talking about powerlifting, learning how to properly do bench press, squat, and deadlift. Internet is awash with materials about it, but each person is different a
89.
▲
by
maga
8y ago
I believe I have the same thing in structurae [1]. I have a RecordArray[2] class for exactly this: you can define a struct (or record) and use ArrayBuffer to hold a specified number of structs. Although I went with extending DataView to do
90.
▲
Structurae: Data Structures for High Performance JavaScript
(medium.com)
1 points
by
maga
8y ago
|
0 comments
More ›