Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maga
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
maga
1y ago
Thank you! > The trick then is a sliding scope context window: with a high-level design doc in context, iterate to produce an architecture document. Absolutely, I will be stealing this! > It's a very exciting time, it feels like
2.
▲
by
maga
1y ago
Apologies, no offence to New Yorkers (or the New Yorker) meant. If you find my handle, "maga", interesting..., I'll have you know that it's been around long before it was appropriated by some movements in US and has noth
3.
▲
by
maga
1y ago
> It’s unclear whether the suggestions and techniques mentioned in the article came from personal experience or have otherwise been verified or experimented with with a real team and a real project. Since it's not a New Yorker artic
4.
▲
Literate Development: AI-Enhanced Software Engineering
(substack.com)
38 points
by
maga
1y ago
|
23 comments
5.
▲
by
maga
3y ago
What was the reason behind not clearing outdated flows automatically?
6.
▲
by
maga
4y ago
Code splitting is supported just fine for ESM bundles[1] (and there is little reason to use other formats nowadays), CSS handling works ok as well. I have been using ESBuild since forever and the only instability that I experienced was arou
7.
▲
by
maga
4y ago
That's why we introduced the strict mode ("use strict" pragma)[1]. Among other things, it prevents from accidentally declaring a global variable this way, throwing a ReferenceError. Actually, at this point, with the prolifira
8.
▲
by
maga
4y ago
Great to see dprint on the front page! While here it's speeding up prettier with caching/wasm, it can replace prettier altogether and be even faster (for example, with `dprint-plugin-typescript` for TS/JS dev). So, if you are
9.
▲
by
maga
4y ago
Leo, your comments save me a lot of typing on threads like this, and since I recently wrote[1] what beeandapenguin wrote above almost to a point (sans security), I feel obliged to expand a bit. You are right about incompatibility being a ma
10.
▲
by
maga
5y ago
Yes, TS code is compiled to run in browsers. You can compile and bundle using `deno bundle` if your project is developed in Deno. Since I'm using Deno for library development, I use the `dnt`[1] tool to compile them into ESM modules la
11.
▲
by
maga
5y ago
Good catch, thanks!
12.
▲
by
maga
5y ago
I have moved all my library development to Deno and described the experience in a blog post[1]. To summarize, the two killer features for me are Web APIs and the built-in toolchain. I understand the skepticism other Node devs have when face
13.
▲
by
maga
5y ago
By any chance, are you aware of any good surveys comparing the open models to the cloud providers for other NLP tasks like speech recognition or POS tagging?
14.
▲
by
maga
5y ago
If it's speed you are looking for, give dprint ( https://github.com/dprint/dprint ) a try, it has a vscode plugin too.
15.
▲
by
maga
5y ago
Why not dprint[1]? Does it not "produce a concrete syntax tree (CST) that represents the original code completely, whitespace, comments and all"? I'm not terribly familiar with the architecture of dprint, but it's used i
16.
▲
by
maga
5y ago
In the end, I went with this library for now: https://github.com/chris-rudmin/opus-recorder There are issues reported with the latest iOS, though.
17.
▲
by
maga
5y ago
A common reference to the modern (ergo enlightened) age in Terry Pratchett's Discworld series: https://wiki.lspace.org/Century_of_the_Fruitbat Sorry for the confusion, I'm high on caffeine.
18.
▲
by
maga
5y ago
Sounds almost too good to be true, but here is hoping for the best. > Opus audio decoder (enabled) Considering the track record of codec support, I bet it only works when packaged as CAF, singed by QuickTime, and played during the daytim
19.
▲
by
maga
5y ago
> You’re still missing much the point of the article: WASM isn’t for the browser only. WASI, for example, is a full environment you can run stuff in without any such interoperability cost. Of course, but we are not arguing about the poin
20.
▲
by
maga
5y ago
You do realize that I didn't put up those benchmarks and wrote the article way back in 2017 just so that I can pick on a passage in this article? I was (and still am to a degree) excited about WASM, actually ported a significant chunk
21.
▲
by
maga
5y ago
And how is the data going to reach the "unshackled" WASM in the browser, for example? I'm not aware of any way for the web page to interact with WASM other than through the JS land with the said overhead. The article explicit
22.
▲
by
maga
5y ago
And that's another thing about JavaScript engines--they evolve and usually result in better performance. The article is written in 2017 and the results are from Node.js of the time, meanwhile the results in the repository are from the
23.
▲
by
maga
5y ago
Yep, that's it. And the data marshalling overhead is even more pronounced with the native addon example (N-API Addon). But that's the thing, it's not "WASM always faster than JavaScript" as the author presents it. A
24.
▲
by
maga
5y ago
> “Near-Native Performance”: Wasm is often described as having “near-native performance”. What this actually means is that WebAssembly is almost always faster than JavaScript, especially for compute-intensive workloads, and averages betw
25.
▲
by
maga
5y ago
As a younger man I was a bit overzealous about this, and having an "assertive personality" (as someone put it) it was mostly me putting the pressure on my drinking peers. On the hand, I was incredibly lucky to find likeminded frie
26.
▲
by
maga
5y ago
> For those of you who don't drink, how do you fill your Friday and Saturday nights? As life-long teetotaler, I always had more things to do than time: hobbies, sports, or simply talking to friends and family. I might be workaholic,
27.
▲
by
maga
5y ago
Vanilla JS nowadays means not using a framework, in yesteryears it meant not using jQuery, in either case, it doesn't preclude from having dependencies.
28.
▲
by
maga
5y ago
This is great news! Good luck, Luca! > Better support for explicit resource management +1 Since everyone is making feature requests, I'd like to point out `ArrayBuffer.transfer`[1] -- ability to effectively move data without copying
29.
▲
by
maga
5y ago
And another one: Structurae[1] [1]: https://github.com/zandaqo/structurae
30.
▲
by
maga
5y ago
> Magnetic therapy The practice is still pervasive in CIS/Russian medicine despite being considered pseudoscience[1] by the rest of the world. You're almost guaranteed to be prescribed electromagnetic therapy if you're rec
More ›