Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Arch-TK
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
331.
▲
by
Arch-TK
1y ago
Firstly, thanks for the link and information on more of the roots of this kind of programming, I couldn't find this when I looked. Regarding NodeRED. I don't dispute that it's stable, but my experience actually running any no
332.
▲
by
Arch-TK
1y ago
I saw Node-RED recently, and now this. While I think these are cool (and I would rather Erlang than NodeJS), is there some code based system for these kinds of things? I know I can just write code, but I mean a DSL or some library specifica
333.
▲
by
Arch-TK
1y ago
"I think the underlying problem is that Prolog is part of a mandatory curriculum, but the professor doesn’t understand it. How do you teach something you don’t understand?" Same problem with C and probably other languages. Althoug
334.
▲
by
Arch-TK
1y ago
The recommendation is not to interpolate certain things into shell scripts. Don't interpolate _anything_ into shell scripts as a rule. Use environment variables. This combined with people having no clue how to write bash well/safe
335.
▲
by
Arch-TK
1y ago
Brake lights should be activated whenever the vehicle is significantly slowing down regardless of whether the brakes are being used or not. And this should be standard across _all_ vehicles, not just motorcycles. I would say brakes should a
336.
▲
by
Arch-TK
1y ago
I will often write a bunch of stuff and then use an LLM to pre-process it a little bit and suggest some improvements. I will then work through the differences and consider them individually and either accept them, or use them to write my ow
337.
▲
by
Arch-TK
1y ago
One of the reasons I have refused to switch to HSBC's app is because I refuse to take up space on my devices with software that shouldn't exist. I remember when HSBC had a website which did not require JS to use it. Dark thoughts
338.
▲
by
Arch-TK
1y ago
If there's a dispute and the person you're having a dispute with never materialises to argue their side of the argument, you're fine to just revert the banner.
339.
▲
by
Arch-TK
2y ago
Fun fact, to top it off: The COS format which is the structure behind a PDF, itself looks a lot like postscript, that's because apparently it's originally based on postscript [0] (although it has deviated). [0]: https://
340.
▲
by
Arch-TK
2y ago
Oh yeah... I completely forgot about this thing. But you're right! There's also XBM. I love these kinds of formats.
341.
▲
by
Arch-TK
2y ago
The substantial differences are in terms of restrictions to postscript to reduce it to a declarative language rather than a full fledged programming language. A PDF is a collection of isolated, restricted postscript programs (content stream
342.
▲
by
Arch-TK
2y ago
... did you read the bit of the PDF I referenced?
343.
▲
by
Arch-TK
2y ago
Key word: "basically" Read section 2.4 of the PDF you linked for a bit of additional information on this "bsaically". GhostScript is a postscript interpreter which can handle PDF files by applying the relatively simple t
344.
▲
by
Arch-TK
2y ago
Uploading ASP as an image and having it execute server side is one thing. But in this case, it's subtly different. This issue relies more on a quirk of how PDF and PostScript relate (PDF is built on a subset of postscript). Imagine you
345.
▲
by
Arch-TK
2y ago
Rust doesn't have interface inheritance either. Rust only has composition in this regard. Calling it inheritance in any way is just confusing terminology.
346.
▲
by
Arch-TK
2y ago
I mean in this case I would recommend using a search engine to cross-reference, and any other phishing countermeasures you might normally use. I think the situation is dire when it comes to non-technical users, but I don't think QR cod
347.
▲
by
Arch-TK
2y ago
That's just all parking apps in my experience. The websites (if they exist) are usually about as bad. Car parks make more money if they can fine you, so there's no incentive to make payment easy or make it work reliably.
348.
▲
by
Arch-TK
2y ago
The same way you might treat a URL randomly written on a billboard. Barring vulnerabilities in your QR reader, it should be enough to just read the URL.
349.
▲
by
Arch-TK
2y ago
These are all too insecure in 2025. Everyone knows that phones are impenetrable fortresses which only one person can ever access, and nobody has ever been mugged into transferring money to someone else using their phone.
350.
▲
by
Arch-TK
2y ago
The Rubik's cube example is just reversing the moves. Writing a visualiser and basic scrambler isn't hard to stumble upon, there's endless training material and not much to screw up. Writing a working solver even if you train
351.
▲
by
Arch-TK
2y ago
Yes, I'd argue COM is specifically very limited in such a way that traits can be used to implement it mostly seamlessly. But regardless, the dispute is over "[Rust and C++] encourages creating a library of types with inheritance&q
352.
▲
by
Arch-TK
2y ago
Multiple inheritance and SFINAE through templates are the only non-concept way of doing traits in C++ The way single inheritance is used in C++ is nothing like how traits are used in Rust.
353.
▲
by
Arch-TK
2y ago
It's kind of funny to see this being called a technique. It has been something I've done so many times to impressive results. To me, it's just something you can do, among a million other things, if you know enough about Linux
354.
▲
by
Arch-TK
2y ago
I disagree completely. It's not just a technicality, traits are not the same as multiple inheritance. They allow you to solve the same kinds of problems but traits don't introduce the mountain-loads of confusion, complexity and he
355.
▲
by
Arch-TK
2y ago
Clearly to whom? I think it works fine in C with 8 spaces per indent level. It works fine in python and rust with 4 spaces per indent level. For some languages I think it's worth going down to 3 spaces per indent level. But I've n
356.
▲
by
Arch-TK
2y ago
I used to think rust was like C++ but harder to write badly but I don't think it's anything like C++ now that I've spent a couple of years writing it. Rust is its own thing, it has none of the extensive baggage of C++, and do
357.
▲
by
Arch-TK
2y ago
It's not even just that. The reason newspapers have multiple columns rather than lengthy lines is because it's strictly easier to read shorter lines.
358.
▲
by
Arch-TK
2y ago
The worst bugs I've ever dealt with were a result of working at a company which was using the Clarion programming language. The language compiler was most likely written by someone who had never read a book about compilation, it was ba
359.
▲
by
Arch-TK
2y ago
I think banks requiring you to buy hardware you don't actually own (a blessed android phone) to run software you can't control (this banking app) so you can access money you worked to make is absolutely ridiculous and dystopian. W
360.
▲
by
Arch-TK
2y ago
The post talks like tech jobs have a societal benefit but it's difficult to see it due to the many layers of abstraction. I would rather posit that most tech jobs have a negative societal impact and it's difficult to find a compan
More ›