Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
orf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
361.
▲
by
orf
2y ago
This is the dumbest comment I’ve read in a long time. The answer is no, fyi
362.
▲
by
orf
2y ago
Perhaps google the thing before jumping to conclusions, or saying I live in a different reality. Your parents don’t need to run the app at all. You need to run the app. Unless you really do live in a different reality where you want you
363.
▲
by
orf
2y ago
There are two possibilities: it’s their fault or it’s not their fault. In either case it’s advantageous to do what they did: either you’re wrong and the fact that your defective product killed your customers far far far outweighs any messa
364.
▲
by
orf
2y ago
A notification in this context isn’t a push notification, it’s a Slack notification (a red bubble counter). Sounds like an issue with your android phone.
365.
▲
by
orf
2y ago
The browser takes 663MB, or specifically the tab?
366.
▲
by
orf
2y ago
A different one: it’s called “Screen Sharing.app” and it’s under Utilities. After you open it, press “Connections -> New” and start typing a contact name. They get a little notification if they are online, and if they accept you have a s
367.
▲
by
orf
2y ago
Interesting - I see your point, but in my experience the complexity most people reference in this context are things that are implicitly present in C++, like lifetimes. That being said they do definitely make it hard to do certain types o
368.
▲
by
orf
2y ago
Ahh - not sure about the same account, I’ve not tried that. It 100% works across the internet: it works with contact names , not just host names.
369.
▲
by
orf
2y ago
In what ways is it more complicated than C++?
370.
▲
by
orf
2y ago
One of the most underrated macOS features is the screen sharing app - it’s great for seamless tech support with parents. It works via your keychain and your contacts, and the recipient gets a little notification to allow you to view their s
371.
▲
by
orf
2y ago
You’re describing issues with a specific ORM, not with all ORMs. And not even that, really. I’m sure you can understand that it is possible to call functions that execute SQL statements inside a potentially nested loop? What’s that got to d
372.
▲
by
orf
2y ago
> Mapping hand written queries results to structs and updating the DB yourself on the basis of what is in structs is not at all an ORM. You just described a bad, home-grown Object Relational Mapper .
373.
▲
by
orf
2y ago
The whole story is about how you cant do this without lifetime annotations. In other words: you can try limiting all cars to 10mph, closing the road, automatically switching out all car tyres with skid-proof versions while in motion, or a
374.
▲
by
orf
2y ago
What arguments like this fail to understand is that conventions without guardrails, culture and/or guarantees are next to useless. That’s not a human problem. It’s like saying “this motorway is pitch black, frequently wet and slippery
375.
▲
'They refused to let me go': Japanese turn to resignation agencies to quit jobs
(theguardian.com)
73 points
by
orf
2y ago
|
101 comments
376.
▲
by
orf
2y ago
So what you’re saying is: I like to program in C/C++ and don't plan to change, thankyouverymuch?
377.
▲
by
orf
2y ago
“Not backing up the same file twice” is not the same thing as deduplicating encrypted data, as encryption has no relevance there. You can do that with or without encryption.
378.
▲
by
orf
2y ago
That’s not the same thing at all.
379.
▲
by
orf
2y ago
> If you want to turn off SSR, you can look at the docs and see that you can do it with the dynamic import Of course! Duh! The concepts of “server side rendering” and “dynamic imports” are very naturally, obviously and intrinsically link
380.
▲
by
orf
2y ago
Not the same: should be BaseException. I guess this highlights op’s issue quite well.
381.
▲
The Editors Protecting Wikipedia from AI Hoaxes
(404media.co)
2 points
by
orf
2y ago
|
0 comments
382.
▲
by
orf
2y ago
That’s gonna be quite expensive, don’t do this in hot loops. You’re re-defining and re-creating the function object each time the outer function is called.
383.
▲
by
orf
2y ago
They also work fine with JavaScript. The issue is that the concrete types are implicit. Depending on the language, runtime or type system expressing the type in a “better” way might be very hard or un-ergonomic.
384.
▲
by
orf
2y ago
> Dataclasses and Pydantic models are slow to construct Citation needed? Pydantic is really quite fast, and you can pass raw JSON responses into it. It may be slower (depending on the validators or structure), but I’d expect it to be c
385.
▲
by
orf
2y ago
This makes sense for a desktop environment, but for a disposable testing container there is no way that building and compiling each version of Python like that is a sensible use of time/resources.
386.
▲
by
orf
2y ago
Ignore the talk below about pyenv, it’s not even slightly suitable for this task. You want precompiled Python binaries. Use “uv” for this, rather than hacking it together with pyenv.
387.
▲
by
orf
2y ago
Maybe related to this segfault I found on MacOS? https://github.com/python/cpython/issues/114653
388.
▲
by
orf
2y ago
You do, given your replies and initial post.
389.
▲
by
orf
2y ago
Then you must know how terrible that argument is
390.
▲
by
orf
2y ago
Is your speculated 11.5gbit per location not a result of their system rather than something to look down on? Yes, anyone can shove a bunch of network equipment into a bunch of cabinets. No, not anyone can shove a bunch of network equipmen
More ›