2,718 karma · joined Mar 1, 2013 (13y ago) · 586 submissions
Want to contact me? zestyping at gmail dot com +1 510 6, 12, 18, 24
comment 1w ago · link · parent
Every primitive type has a null value, and the "if" statement tests for such a value. Whether a value is true or false is a property of the value. Notice that "true" and "false" are adjectives, not nouns.
That is a simple, internally consistent model with one concept of trueness.
The introduction of the boolean type made this a lot messier: it makes "if" look like type coercion, and introduces two different ways to think of boolean-ness (as an adjective or as a noun) which you must hold in your head at the same time. For example, it became possible to compare things as equal to True or False, doubling the number of ways to express a condition: "if x" and "if x == True" are now very similar, but subtly different, ways to express the same thing. The fact that we have to talk about things as "truthy" or "falsy" as if these were different from "true" and "false" is a further illustration of the mess this has created.
If we had stuck with 0 and 1, we would have avoided all this confusion. It is imperfect but simple; what we ended up with is still imperfect and needlessly complicated.
2.
Claudia.gallery(claudia.gallery ↗)
2 points · by zestyping · 1mo ago · discuss
comment 2mo ago · link · parent
https://hsph.harvard.edu/news/usaid-shutdown-has-led-to-hund...
It cites this study, published in The Lancet (open access full text):
https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
Summary:
The study calculates that 91.8 million all-age deaths, including 30 million deaths of children under 5, were prevented by USAID funding in the period from 2001 to 2021, and projects that DOGE's cuts to USAID will result in 14 million additional all-age deaths, including 4.5 million deaths of children under 5, by 2030.
comment 3mo ago · link · parent
From the way the article is written, it sounds like you presented yourself with a bunch of faces of completely random colours and then manually sorted them into two categories, "plausible skin colour" and "implausible skin colour".
But I feel like I must be misunderstanding, because I don't see why you would do that. Why wouldn't you gather photographs of actual faces and sample colours directly from the photos?
comment 6mo ago · link · parent
Honestly, this seems like an even worse situation than before. If you're making a new tool and choosing a configuration format, stay away from YAML.
comment 9mo ago · link · parent
Ranked-choice reduces transparency and understanding of the vote-counting process, disenfranchises an alarming percentage of lower-income voters, obstructs risk-limiting audits (which are essential for security), and is non-monotonic (increasing voter support for a candidate can make them lose). Further, ranked-choice doesn't actually fix the spoiler problem and won't eliminate two-party dominance.
Approval voting is cheap and easy to implement, dead simple to explain, count, and audit. Not only does it eliminate the spoiler problem, it is easy to see why it does so: your ability to vote for any candidate is independent of your ability to vote for any other.
comment 9mo ago · link · parent
Children are sentient, but we still hold their parents accountable. Adults are sentient, but in some coercive situations we hold the party in power accountable. The fact that they are sentient is not determinative.
What matters is that we have _no accountability mechanism_ for them. There is no effective way to hold AIs accountable, therefore we must hold their operators accountable, full stop.
comment 9mo ago · link · parent
Specifying the requirement in terms of measured impact is a good strategy because it motivates the app companies to do the research and find effective ways to address addiction, not just replace specific addictive UI patterns with different addictive UI patterns.
Building measurement into the law also produces a metric for how well the law is working and helps inform improvements to the law.
comment 9mo ago · link · parent
The alien is a diversion from the concern; I'm talking about realistic human avatars. Let's stay focused on that.
Let me suggest a worthwhile exercise. Just take ten minutes. What are some of the ways that realistic human avatars would make deception more effective or more scalable than previously possible?
Come up with three scenarios, and let's talk about them, honestly and thoughtfully.
comment 9mo ago · link · parent
If you pursue this, your explicit goal is deception, and it's a massively harmful kind of deception. I don't see how you can claim to be operating ethically here if that's your goal.
comment 9mo ago · link · parent
It's on you to identify the "immense" benefits that outweigh that explicit goal. What are they?
comment 10mo ago · link · parent
The filename in the title bar has a down-pointing chevron next to it, indicating you can click it. You click it. A small drop-down window appears with the filename, the tags, and the folder where it is located. You edit the filename and press Return, as you would when renaming the file in Finder, or as you would when completing any text field. Nothing happens. The file isn't renamed.
Only if you press Tab (?!) is the file renamed. Insanity.
itle
comment 1y ago · link · parent
comment 1y ago · link · parent
That was more than ten days ago, and yet major packages were compromised yesterday. How?
comment 1y ago · link · parent
Value can be created either way: through labour or trade.
Regardless, your statement that all wealth is created by trade is false.