7,934 karma · joined Sep 1, 2017 (9y ago) · 3,273 submissions
comment 1w ago · link · parent
I never use touch on notebooks and I don't miss it on MacBook.
It's about the form factor.
I would want this as a 80% entertainment and 20% productive device so I can leave my MacBook at home when traveling.
An iPad doesn't have any benefits over the iPhone except screen size for watching movies. It's not worth carrying for me.
An iPad with MacOS could serve as my productive environment in a pinch. But I could still carry it around mostly for watching movies and similar.
comment 1w ago · link · parent
If they want to sell bloated Android, at least they have to be held to the same standard as stock Android.
If they can't keep up with patches we should levy hefty fines that make it financially unattractive.
comment 1w ago · link · parent
The real issue is that it's even possible for companies to make custom Android ROMs that don't get the newest security patches.
Any company that doesn't have the security patch should not be allowed to keep distributing a non-stock version of Android.
comment 1mo ago · link · parent
In some cases you want "default" handling, in other cases it's a runtime detection of a code issue. E.g. you could add a "fallback" case which is the same as "default" yet if your code doesn't exhaustively handle all sealed class cases won't compile. This would still create a fallback, if your sealed class is widened later on, but still allow you to error out if it's already the case right now.
comment 1mo ago · link · parent
If the LLMs were thinking in the sense that some people say they are, they will easily recognize the adversarial nature (e.g. letter counting in the language) and build their own tools to write conformant code right away. As a normal human would also build tools to solve the things we know we're not naturally good at.
The effect should be that a few tokens are spent on building the tool, and then the rest of the problem can be solved with a "normal" amount of tokens without brute-forcing the solution.
If the LLMs are glorified pattern matchers they might not find enough patterns in the corpus of human knowledge and remain inefficient at it.
The weakness I see is rather that this kind of problem-solving can be pattern matched on the corpus of existing human knowledge, so it may be that pattern matching on human thinking might still be enough to solve these problems.
comment 1mo ago · link · parent
https://doc.rust-lang.org/book/ch20-01-unsafe-rust.html
But getting back to the point, the C++ compiler doesn't have a borrow checker, so it can't have a bug in it. So it's on you, as the developer, to take care of all unsoundness.
While in Rust an issue is now filed, and with the fix, every future Rust program gets the fix.
comment 1mo ago · link · parent
Spot on, I've worked in multiple small, medium and large companies. And these internal platforms almost always turn into ivory towers of useless churn.
Even if being forced to use it internally, in a lot of cases the projects ended up buying the same solution (or a working version of it) from an outside vendor when it came to fulfill actual customers needs on the outside.
If that wasn't possible we built what we needed ourselves.
If you have internal customers, I still believe you need internal incentive alignment. Otherwise what the platform builds and what is actually used and needed drift apart.
And you need at least one real customer project to dogfood the platform initially. Because most platforms start out way too generic with pure architecture astronauts [0] at the helm.
If you don't have a project-0 to test those assumptions against, you don't need to start that platform.
[0] https://www.joelonsoftware.com/2001/04/21/dont-let-architect...
comment 1mo ago · link · parent
I mean this is kind of what happens with any advice that has nuance to it, that's not carried with the advice.
E.g. if you have a point in 3D space with x, y, z coordinates. Array points as SoA of individual dimensions makes sense only if you do a lot of averaging and such on the individual dimensions.
If you mostly use the 3 coordinates together, SoA will have bad caching behavior.
So the better advice would be to try to keep things that are used together in the same cache line, whether it's on dimension or all 3. Usage makes the difference.
comment 4mo ago · link · parent
I know this is contrary to your advice but mechanical pencil, get a Kuru Toga, it's a really nice improvement and not very expensive. It auto-rotates the pencil tip, so you don't have the sharp end at some point.
For permanent writing get a Uni ball gel writer, it's supremely smooth to write with. Also not hugely expensive.
They're both not the cheapest option, but an amazing writing experience without being the fancy kind of expensive.
comment 6mo ago · link · parent
Especially in a filesystem I know where I placed something, but not always the title, so even if the search function was ok, which it mostly isn't, having to know the wording used for the title is really inconvenient.
comment 6mo ago · link · parent
Besides OO -> Functional this applies everywhere else in Computer Science. If you understood the fundamentals no new framework, language or paradigm can shock you. The similarities are clear once you have a fitting world model.
comment 8mo ago · link · parent
Even if it's once off, some people handle a lot of once-offs, that's exactly where you need good CLI tooling to support it.
Sure jq isn't exactly super slow, but I also have avoided it in pipelines where I just need faster throughput.
rg was insanely useful in a project I once got where they had about 5GB of source files, a lot of them auto-generated. And you needed to find stuff in there. People were using Notepad++ and waiting minutes for a query to find something in the haystack. rg returned results in seconds.