Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpc0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
jpc0
6mo ago
A magnet in a coil operates both ways, this is non intuitive but perfectly sound. Not sure if it's mentioned in the article but microphones can be speakers too...
32.
▲
by
jpc0
7mo ago
> It’s also THE language you use when writing UIs I'm unsure that I agree with this, for my smaller tools with a UI I have been using rust for business logic code and then platform native languages, mostly swift/C#. I feel like
33.
▲
by
jpc0
7mo ago
I'm not entirely sure that this is true. I haven't actually looked into this but it might not be the realm of possibility. But you are generating a frame on GPU, if you can also encode it there, either with nvenc or vulkan doesn&#
34.
▲
by
jpc0
7mo ago
Good strong (read specific) types encourage easier redactors. Changing the function signature or the type then generated cascade of compiler errors that tells you exactly what you touched. Weak non specific types does not have that property
35.
▲
by
jpc0
7mo ago
There is a difference between us all experiencing a shared artistic experience and us hearing about your kids while we are trying very hard to share an artistic experience. I wouldn't complain much about people singing along to a balla
36.
▲
by
jpc0
7mo ago
I don't think fear or legal action makes it illegal. If I know it is legal to make a turn at a red light. And I know a court will uphold that I was in the right but a police officer will fine me regardless and I would need to go to act
37.
▲
by
jpc0
7mo ago
Of all the self help books I have actually read, The 7 Habits is probably the one that had consistently been useful in actually navigating issues day to day. And I read it probably closer to two decades ago.
38.
▲
by
jpc0
7mo ago
Let me ensure I understand you. Running a node.js server on Tahoe makes your macbook sluggish and you feel like Tahoe is fine performance wise? May I reminded you that 10 years ago people also ran chrome and node js webservers and this was
39.
▲
by
jpc0
7mo ago
Just not having a Celeron level chip is worth the difference... Windows update on a Celeron chip makes it 100% utilisation with full boost. I would actually rather but an Android phone than a laptop with a Celeron chip for the same price.
40.
▲
by
jpc0
8mo ago
From my knowledge RCU/epoch/Hazard pointers are useful in data structures and algorithms where raw atomics cannot be used but you still nees lock free or in some cases wait free semantics. If you can use an atomic then these are o
41.
▲
by
jpc0
8mo ago
1. Use thinking/pri 2. Ask it something that gets a streamed response 3. Hit refresh A surprising amount of time the chat will bork itself by just alt tabbing but refreshing is a sure solution
42.
▲
by
jpc0
8mo ago
It is extremely complicated to do so yourself. Handling energy efficiency/a11y/i8n is non trivial in any language, using the paved road of the system's native implementation solves for many of those problems out of the box. Y
43.
▲
by
jpc0
8mo ago
Where is the extensive tooling support for this use case if that is where you think it fits? Apple is all in on Swift, so you will not be writing native MacOS or iOS code for UI in D, best case you put your business logic in D but you can d
44.
▲
by
jpc0
8mo ago
For context now you need to make a booking at a specific department and must take an eye test with
45.
▲
by
jpc0
8mo ago
There is a pretty significant difference between the way JS is used there and in electron apps. This might be what you were getting to but I tend to agree with the idea of place all the interaction logic in a high kevel language and get the
46.
▲
by
jpc0
8mo ago
Some more context on the South African system, although before it was done at our equivalent to the DMV it now gets done by an optometrist.
47.
▲
by
jpc0
8mo ago
Every time I see this take I ask myself if the person commenting does not understand that by definition a runtime has to do more work than a strictly compiled version of any said code and therefore can never be quicker. To steelman your arg
48.
▲
by
jpc0
9mo ago
In my experience agentic coding is still bad a context management. I can get amazing results from a chatbot based workflow where I manually provide any context needed, if the agent can happily pull files into context on it's own it ten
49.
▲
by
jpc0
9mo ago
Golang would like a word...
50.
▲
by
jpc0
9mo ago
For a company codebase maybe not but for solo projects yeah it can be, what exact options do you enable in clang tidy? Have they changed since the last version you used and now you need to change the config? Do you run cpp-check? This versi
51.
▲
by
jpc0
9mo ago
I want to reiterate the points other have brought up. Learn more about whatever domain you are writing software for, then ask what skills you need to improve to solve a problem in that domain. Also do not get hung up on specific languages o
52.
▲
by
jpc0
10mo ago
> A hard lock which requires a reboot or god forbid power cycling is the worst possible outcome Hilariously this happens on windows too. Actually everything you said windows and mac doesn't do they do, if you put on a ton a memory p
53.
▲
by
jpc0
10mo ago
I would guess solved but bot easy. WebRTC makes it possible by timing is still limited to NTP who has is far above one sample, you couldn’t possibly get sample accurate playback but you could get it to within a mS or so. Depending on how fa
54.
▲
by
jpc0
10mo ago
That clarifies a lot. So effectively it was at least partly guided refactoring. Not blind vibe coding.
55.
▲
by
jpc0
10mo ago
This. I agree that you will probably just end up writing ASM but it was a trivial example, there are non-trivial examples involving jump tables and unrolling loops etc. Effectively weird optimisations that rely on the virtual machine the co
56.
▲
by
jpc0
10mo ago
Reading the code and actually understanding the code is not that the same thing. "This looks good", vs "Oh that is what this complex algorithm was" is a big difference. Effectively, to review that the code is not just be
57.
▲
by
jpc0
10mo ago
Rust prevents the footgun, but also prevents shooting in the direction where your foot would be even if it isn't there. There are absolutely places where that is required and in Rust those situations become voodoo to write. C++ be defa
58.
▲
by
jpc0
10mo ago
Are you sure claude didn't do exactly the same thing but the harness, claude code, just hid it from you? I have seen AI agents fall into the exact loop that GP discussed and needed manual intervention to fall out of. Also blindly havin
59.
▲
by
jpc0
10mo ago
> Which is a huge risk factor for Rust, especially in today's context of the Linux kernel. If I have an object created/handled by external native code, how do I make sure that it respects Rust's lifetime/aliasing rule
60.
▲
by
jpc0
10mo ago
This is more akin to selling a car to an adult that cannot drive and they proceed to ram it through their garage door. It's perfectly within the capabilities of the car to do so. The burden of proof is much lower though since the worst
More ›