rlp
|
1 year ago
|
on: Apple will soon receive 'made in America' chips from TSMC's Arizona fab
9am to 9pm 6 days a week
rlp
|
1 year ago
|
on: Zod: TypeScript-first schema validation with static type inference
This is my exact experience. TypeScript seemed to hit a complexity sweet spot about 5 years ago, then they just kept adding more obscure stuff to the type system. I find that understanding TypeScript compiler errors can be almost as difficult as understanding C++ template errors at times.
rlp
|
1 year ago
|
on: Go is my hammer, and everything is a nail
This is no longer remotely true. Most .NET teams I know now deploy on Linux and develop on Windows/Mac/Linux.
rlp
|
1 year ago
|
on: Show HN: Sonauto – A more controllable AI music creator
rlp
|
3 years ago
|
on: Porting 58k lines of D and C++ to Jai
I'm not seeing a major problem here, you just need to install MSVC++ alongside it.
rlp
|
3 years ago
|
on: Ten Years of TypeScript
I've always been a big proponent of TypeScript, but does anyone else feel like the type system has gotten a bit too flexible? I recently had to fix some errors when upgrading packages on an old project, and it was not at all clear what was wrong by just reading the compiler output. For some errors, there were like 5-10 lines of confusing info/context, it felt like trying to understand the errors reported in template-heavy C++.
rlp
|
3 years ago
|
on: Lisp in 99 lines of C and how to write one yourself [pdf]
Maybe libuv? It's used by node and julia. It's not a full standard library by any means, but it would give you the event loop with async/networking/io/threading.
rlp
|
3 years ago
|
on: Ask HN: I'm disabled and out of money. Now what?
rlp
|
3 years ago
|
on: Ask HN: What exactly is a mindfulness meditation?
No need for a meditation myth at all, absolutely. It's brain hacking as far as I'm concerned.
As for concentration training vs mindfulness meditation, I do think there's a difference. Concentration is a tight single-pointed focus, while mindfulness is a broad focus on the present moment. I found mindfulness meditation basically impossible without practicing concentration meditation extensively first, my mind was too overactive to settle in the present without an anchor to focus on.
rlp
|
3 years ago
|
on: Ask HN: What exactly is a mindfulness meditation?
It's about training your mind's executive control/function. You learn to focus on one thing and allow others to pass through your awareness without them being overly distracting/disturbing.
Think of your focus like a spotlight. Most people have very little control over their spotlight and it gets aimed at whatever is the latest thing to enter their awareness: a thought, a sound, another thought, a visual, etc. It's bouncing all around, all the time. A proficient meditator can more effectively control where the spotlight points. Over time, as the mind slowly learns to do this better, the stuff outside the spotlight fades and become less intrusive. This leads to increasing states of calm and peacefulness which extend even after the meditation session ends.
rlp
|
3 years ago
|
on: Racket v8.5
rlp
|
3 years ago
|
on: WebAssembly 2.0 First Working Draft
Also, WebAssembly can't support most GC runtimes now, because you can't scan the stack for roots. You can keep your own shadow stack on the heap, but that has a bunch of pretty bad performance implications. This actually impacts C/C++/Rust codegen as well, since they can't create references/pointers to anything on the stack, and have to build their own shadow stack (I think this is done in binaryen or LLVM itself?). I understand it's a security thing to disallow direct stack access, but most languages and runtimes expect it.
Anyways, that's why there needs to be support in WebAssembly for GC, because there needs to be a safe way to walk the stack (aside from the obvious JS interop considerations).
rlp
|
4 years ago
|
on: Rebelle: Experimental online paint software
I had to turn off uBlock.
rlp
|
4 years ago
|
on: Packages dumped in wrong lobby, resident tried harder to correct it than Amazon
FedEx maybe. UPS is unionized, I think they pay a fair wage.
rlp
|
4 years ago
|
on: Write in JavaScript, Render in Flutter
Very cool! I'd love to see proper macros in a major language like Dart. And the proposal looks good, like a mix of Scala and Nemerle.
rlp
|
4 years ago
|
on: Write in JavaScript, Render in Flutter
Any particular reason you like Dart so much? I tried it briefly, and it felt like a watered-down mashup of Java and C# with somewhat worse performance.
rlp
|
4 years ago
|
on: Nimforum: Lightweight alternative to Discourse written in Nim
It highly depends on the use case. When people interact with a piece of software all day every day, they tend to appreciate having more information/actions available at a glance. Simple interfaces are better for casual users, but they generally mean more clicking around and tend to be slower to use for experts.
rlp
|
4 years ago
|
on: Homeless encampment grows on Apple property in Silicon Valley
The property owner should not be responsible for answering that question.
rlp
|
4 years ago
|
on: Lang Jam: create a programming language in a weekend
rlp
|
5 years ago
|
on: Typing, RSI, and what I do differently
That's great! Like you, it did take me a while to get to 100%. Old habits die hard, I guess. You really know you're there when you realize you forgot to think about RSI for a whole week/month/whatever.