Hacker Newsnew | past | comments | ask | show | jobs | submit | ii41's commentslogin

> disparity between I can’t afford a car, and I will never be able to afford a car is vast

There's no disparity. Either way you're not going to own a car any time soon.

You're not freer when the legal system prevents you to do something because you don't have enough money than when the legal system prevents you from doing that thing for other reasons.


I am using sqlite in my project. It definitely solves problems, but I keep seeing overly arrogant and sometimes even irresponsible statements from their website, and can't really appreciate much of their attitude towards software engineering. The below quote from this CVE page is one more example of such statements.

> All historical vulnerabilities reported against SQLite require at least one of these preconditions:

> 1. ...

> 2. The attacker can submit a maliciously crafted database file to the application that the application will then open and query.

> Few real-world applications meet either of these preconditions, and hence few real-world applications are vulnerable, even if they use older and unpatched versions of SQLite.

This 2. precondition is literally one of the idiomatic usage of sqlite that they've suggested on their site: https://sqlite.org/appfileformat.html


Ai is a she. Ai is a common given name for girls in Japanese.


and this, folks, is why they/them exists.


Rust doesn't require you to think about concurrency if you don't use it either. For global variables you just throw in a thread_local. No unsafe required.


The site UI has been going downhill these years. It's become heavy and slow, and the buttons are more and more randomly placed. Like after you search for something in the repo, to go back to the repo front page you needed to click on the most unexpected button.

It's still getting things done, for sure, but no longer pleasant to work with.


I think Github has a nice UI.....when the contents finishes loading.

That's the real problem with Github these days. Too much critical information behind throbbers that take their sweet time. I find Codeberg much more responsive, despite being an ocean away and having the occasional anti-AI-scraper screen.


Isn't it the other way around? I mean, I keep seeing western people advertising that the ways of living in those countries are wrong and they must change, while I don't often see anyone urging western countries to change their way of living.


You can't learn these from either Gaza or Ukraine. Neither is over. Not even close to an end. Both are longer and the technologically superior side suffered more than expected.


> the technologically superior side suffered more than expected.

In the case of Ukraine, it is unclear whether you are talking about Russia or the US ?


About the `if else` producing a value matter. Well, if you look at things that way, C can be said to be syntactic sugar of assembly, as for every C program you can write equivalent assembly. `if else` producing value is very useful because it allows you to write if else wherever a value is expected. You can call methods on an `if else` or pass one as an argument of function. When such an expression is sufficiently complex your equivalent code using non-value-producing `if else` would be a lot more verbose and unreadable.


This is equivalent to the `if let` syntax of Rust. In Rust at least this is treated as a special syntax but not a boolean. I once complained it's kinda confusing that it makes one think the `let` pattern matching syntax is a boolean expression which it is not, and the Rust people replied to me saying yeah it can be a boolean maybe at some point in the future. So yeah whether such syntax makes pattern matching a boolean really is just a matter of whether it's said to be one.


Browsers are applications that embed web technologies though?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: