Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tcfhgj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
511.
▲
by
tcfhgj
1y ago
Well, Telegram stores all messages without e2ee in the cloud, so barely comparable. Matrix gives a similar experience with e2ee though, but you have to save a recovery key for the case you lose access to all your sessions
512.
▲
by
tcfhgj
1y ago
Google is suppressing freedom. "Go, give money to Google, to reclaim freedom"
513.
▲
by
tcfhgj
1y ago
For real? No, thanks I'd like to keep my SMS app
514.
▲
by
tcfhgj
1y ago
No, it isn't.
515.
▲
by
tcfhgj
1y ago
> Who has the technical skill to use a command line and/or a build system. everyone who is able to dedicate some spare time to it
516.
▲
by
tcfhgj
1y ago
nope, since the presence of a segfault doesn't imply memory safety. Probably segfaults imply the absence of memory safety.
517.
▲
by
tcfhgj
1y ago
When using a language forcing checked exceptions, you would know, wouldn't you?
518.
▲
by
tcfhgj
1y ago
I don't think so...
519.
▲
by
tcfhgj
1y ago
so? donate
520.
▲
by
tcfhgj
1y ago
> - use a reducer (i.e. the state blob is immutable during rendering, updates are deferred via events that are delivered between frames) This is how I implemented my last Angular project, works fine for non-trivial tasks.
521.
▲
by
tcfhgj
1y ago
Mastodon
522.
▲
by
tcfhgj
1y ago
But you can forget it, unlike C++ destructors
523.
▲
by
tcfhgj
1y ago
His claim is it's battery limited. I understand that as too little batteries are able to be produced to match the demand?
524.
▲
by
tcfhgj
1y ago
Hackernews, Mastodon, Onlineplatforms of Newspapers or Magazines is what I use
525.
▲
by
tcfhgj
1y ago
> Take for example an unexpected divide by zero, that's a classic invariant violation. The entire process should blow up right there because: > - it knows that the data in memory is currently corrupted, > - it has no code to g
526.
▲
by
tcfhgj
1y ago
> It creates an exception in concept. It might not create an exception data structure, depending on the language/library/framework. Which are you referring to when you say exception here? it creates an exception (your concept),
527.
▲
by
tcfhgj
1y ago
So the language/library/framework does not create an exception when operating on the null pointer, but instead it does not do anything (when it should change the color of a widget from blue to red). Now you have a bug by operating
528.
▲
by
tcfhgj
1y ago
> If I erroneously try to operate on a null pointer, I created an exception. This is only true if some library/framework you use creates an exception for you. Why do you operate on a null pointer in the first place? Well, you didn&#
529.
▲
by
tcfhgj
1y ago
> With bugs, of course, being mistakes around "business" rules, and exceptions being mistakes made around computing environment rules. For me, bugs are all mistakes which manifest themselves in software misbehaving. Maybe it su
530.
▲
by
tcfhgj
1y ago
Do you doubt you can use exceptions for control flow? Of course you need to combine with exception handlers. It's the only use of exceptions not implying a bug
531.
▲
by
tcfhgj
1y ago
> Switching from C++ to Rust? Probably not. Counter example: https://fishshell.com/blog/rustport/
532.
▲
by
tcfhgj
1y ago
> But that does not imply that exceptions encompass bugs. Those are independent events, both wanting their own independent resolutions. they do, unless you use exceptions for control flow
533.
▲
by
tcfhgj
1y ago
googling? how about just letting your app (e.g. db, öffi, ...) show all connections to the target form the updated place.
534.
▲
by
tcfhgj
1y ago
Firefox is 29% Javascript, 28% C++, 22% HTML, 10% C, 3% Python, 2,6% Kotlin and 5% other > There is no guarantee that other bugs do not flurish in the rust echosystem. well, less likely than in C thanks to a advanced type system, e.g. a
535.
▲
by
tcfhgj
1y ago
I haven't either, until I read comments on Rust in Linux on social media outside HN. Apparently, Rust is part of the "woke agenda"
536.
▲
by
tcfhgj
1y ago
why not divide things into errors and bugs (programming errors)?
537.
▲
by
tcfhgj
1y ago
Aren't streams async iterators? generators, at least, are available on nightly.
538.
▲
by
tcfhgj
1y ago
a better solution would be imo to move resources from mindless consumption to healthcare
539.
▲
by
tcfhgj
1y ago
why would I leave for IPhones? I want the other direction of freedom.
540.
▲
by
tcfhgj
1y ago
I still want native apps (including proper OS Integration) even though I don't get them.
More ›