skysight-inc/HackerNews huggingface dataset:
The position of “I regularly don’t know if I have a string or a uri” is indeed a commonly raised issue. It folds out to two other problems:

It implies a lack of conventions around interfaces and variable names.
The surrounding statement also implies that it was not easy to figure out quickly (hard to exercise that code synthetically).

Highly successful workflows in loosely typed environments like this depend upon a strict culture to ensure both of these aspects are under constant improvement.

This is difficult to scale, and improving these aspects in other languages also helps other workflows, but their impact in these environments is much higher. It’s part of the reason why you would hear _so much_, density wise, about code patterns, code health, testing and so on in the ecosystem in its peak era, all of those things were really just mechanisms to try to achieve the above factors.
Good thing they're failing at it :)
Yes, that is the loop. All the magic is in the gpt2 function there.
I found the website a little inscrutable but I think "Bleeding Gums" has it

https://www.youtube.com/watch?v=ny2azUt5d3Y

...apparently the session singer nailed it in one take.
I’m helping build it too and would love any thoughts out there!
The rules, as you gave them to us, didn't define an "airplane". So you have to go to a dictionary for that. Which means ball of paper isn't an airplane because an airplane has to have wings.

I understand why it felt unjust to you at the time. But even if you go 100% rules lawyer, the disqualification was correct.
I specifically avoid mentioning Crystal because there are a group of people on HN who doesn't like Crystal being mentioned in a Ruby Thread. But yes Crystal would be close if not "it".
It is being worked on! https://github.com/maplibre/maplibre/discussions/161
I suppose, but more general ways to structure the forum, moderation, how to do upvotes or likes, and so on. Maybe decentralized and federated. Make the whole Internet message passing, even!
Terrible article. In Portugal if you don't attend the meetings you can get a sanction of some sort (or at least you used to): https://en.wikipedia.org/wiki/Drug_policy_of_Portugal#Laws_a...

This is quite different to giving someone an information card.

For what it's worth there is increasing problems in Portugal with drugs. The overdose rate is starting to really spike again, there was a good article somewhat recently about this which I can't find, but you can see the trend here: https://www.statista.com/statistics/911927/drug-overdose-dea...
Imagine a union which forms in secret, strikes once, hard enough that the misbehaving institution cannot continue, then disbands.

Now imagine a culture which habitually does this. You don't need continuity of leadership if the only reason your organization exists is to rid the world of a problem. Once the problem goes away, so does the organization that solves it. (And if you fail, well, disband anyway and try it again next time as a differently composed group).

It would be like agriculture, but instead of selecting plants for drought resistance we're selecting institutions for human-friendliness.

Perhaps there's a holiday, and a crypto thingy that handles voting. If there's not sufficient consensus, nothing happens, but if it turns out that a sufficient majority voted to disband the same institution, then on the next such holiday you meet in person with some algorithmically chosen subset of people who voted similarly to you (to verify that they're real people and not sybil accounts).

If validation succeeds, then we generate proofs that indicate that yes, there are enough of us--this isn't radicalism--this is the will of the people. Then you spend the next such holiday orchestrating the demise of your target. Then you disband, problem presumably solved. If not, you'll have to try it again with a new union on the next cycle.

It would create incentives for the bureaucrats to not let their organization be chosen. It's more or less what labor day should have been. Let's do it quarterly.

As for "have to", you don't "have to" breathe, but you "have to" breathe in order to stay alive. It's a conditional, not an imperative.

So I mean that if we want our institutions to be continually useful to us, then we have to practice some kind of hygiene of this sort. Evolution does not act on organisms or organizations which don't occasionally die.

Perhaps this too would ossify and eventually have to take itself out of the meme pool, but I think it could do us some good along the way.
I worked exclusively in Ruby for many years and this was never a problem I experienced. Or if I did it was such a non issue it was fixed and moved on.

I can agree that the behavior of casting to a number type should probably be undefined. But a null becoming an empty set seems fine to me.
Not Power Metal, but I thought I’ll take my chances.

Any recommendations for someone who loves Rammstein, despite only knowing 2-3 words in German?

I haven’t found many while searching for industrial metal.
Losing a couple percent of cash every year to inflation is a lot more predictable than losing a domain suddenly and having someone else put up a malware-infested copy of my own site taken from an archive.
It was introduced in Ecmascript 2020, but many have probably already seen it in PHP (2015) or C# (since, like forever).

Or Kotlin or Objective C, though they use "?:"
Nyan, yet Another Notation
I think there should be two tiers in any account, the private space (private spaces where you talk to friendgroups) and a public space where you have a rather anonymous nickname and which isn’t directly connected to your private space.

Usually it’s one or the other and you need multiple accounts (say on Instagram for example)

It feels like businesses figured out accounts and then moved on, while I think there is still room for so much growth and customization.
One naive question, since I have no contact to anyone taking opioids: what is it that people get from the drug? For what is it used for exactly?

If it’s regular pain, then why not “simply” prescribe Aspirin or Ibuprofen instead?
I would love it if we were all "cross function" but that comes at a cost of reduced velocity. First of all, a manager shouldn't be side channel dm his reports questioning the estimates/story points the team collectively decided at all but in this situation you have to live with reduced capacity forever if you want everyone to be a jack of all trades.

Management wants to have its cake and eat it too. I feel like if you object to an estimate, you must have to do the task yourself with the reduced estimate. This falls flat because I suspect my manager has ZERO programming/qa/development or even business analyst experience.

Just my personal opinion that if you think the estimate is wrong, you should take the task yourself and do it in less time or shut up.

You know how we talk about developers not able to do fizzbuzz with ten years' experience? I suspect he is whatever the equivalent of that is for managers.
If you need to test again nil "every third function or method", then that reflects broken abstractions and/or very dated Ruby. For "maybe nil" situations, modern Ruby code will lean heavily into safe navigation, dig, or wrapping values, and sometimes monads or similar.

If that's not enough for you, Ruby has optional type checkers available.
I disagree. When you've solved the problem the best thing to do is to celebrate, give resources back, and then organize to solve another problem if you want. Switching missions is a bait and switch for your supporters and should be avoided.
Isn't that Mastodon?
(I updated my comment a few moments ago with another example and some more text, but I guess we'll have to agree to disagree)
I hope they also analyze Enrico Pallazo's performance during the Queen's visit.
It you have the data, it can be accomplished pretty easily with Graphviz, an open source graphing tool.
Seems little has changed since Xe's article back in 2019

https://xeiaso.net/blog/v-vaporware-2019-06-23/
void linux in general is great if you are looking for a “no-magic” linux install where you can conceivably control all moving parts of the system.
Pre primed anger is an opportunity to make someone’s day.

Meet rude introductions with polite responses. If that fails meet rude mid game with a compliment. If that fails meet rude end game with thank you for your hard work. If that fails close with a generous tip.

You are much better off emotionally than they are at this point and may be the one that solves the problem for others they serve for the rest of the day.
Ah yes, most people running sites are rolling in dough, especially journalism…
> .......at least be truthful.

At least a tiny glimpse of morality, or would you name it differently?
No, I don’t ask them to show me any code or artifacts, but to simply describe the architecture, how it’s put together. Any novel code or algorithms they are proud of. Areas of the code that were problematic, and how they would fix them if they had the chance. Talk about non functional requirements and if the architecture addressed them or not.

Basically see if they could communicate how the system worked, it’s good points and bad points, and how deep they could go. This quickly separates the good developers from the cargo culters and pretenders. It also is a good gauge of how much real experience they have had.

Generally, if someone can’t describe at least the rough outline of the architecture of an application they have worked on, that’s a strong signal they are going to struggle as a developer
Yes, but now I have to keep track of which functions invalidate-and-return and which return nil. If I forget that `slices.Delete` returns a new slice instead of mutating in-place, the language doesn’t help me.
the way rice is cooked can reduce arsenic levels by 80%. we don't need to completely forbid rice production in the southern US
Learning hugo is on my bucket list. Has things like tagging which would be a pain to do with a hand coded website.

I got a parsing error when trying to add the rss feed on your website to Thunderbird. Line Number 19, Column 7.
COVID19 mRNA Vaccines: Lessons from Registrational Trials and Global Vaccination
Fentanyl is smuggled into the United States by US citizens[1] and by closing the border may have accelerated its adoption. And yes, while it does come from our southern border, data suggests it's being carried over by US citizens who have the right to come and go across the border legally.

Or are we using the term "open border" to suggest freedom of US citizens to leave (and re-enter) the country?

[1] https://www.cato.org/blog/fentanyl-smuggled-us-citizens-us-c...
> they force you to be explicit on allocating new memory.

Not at all. With e.g. `append` being a “maybe I'll allocate, maybe not, take a guess” kind of method, it's basically just like Java's `List.add` with extra steps and much worse egonomics.
OP here - I have a desktop RSS reader and I do not subscribe to feeds that only have abstracts.

I much rather just go to the site personally.

If every feed had just abstracts then I probably wouldn’t even bother with an RSS readers.

I’m technical already and I can’t imagine any regular person bothering with RSS if it was just abstracts.
Aspirin or Ibupofren have their limits.
> Personally I prefer gradual type systems that need less up front wrestling so that the coding process is more productive, more time can be spent on tuning the design rather than “finally I made it work” acceptance of compiler driven design.

If your style is to hack hack hack until it’s right, yeah, types are challenging. If your style is to think first about types, you can also create guardrails in your code that naturally create the correct thing.

Static vs Dynamic vs Gradual… it’s really more a question of “how does my brain like to get to a solution and keep it functioning” and I find that fascinating.
This. It blows my mind that people have to be explained this.
Mantras like these are always a response to something. Someone in charge of technical culture at $PLACE diagnosed specific anti-patterns in their Java code, came up with a set of rules for the noobs and a catchy acronym. Things got better. Great!

But then those rules got transposed into other situations, possibly by somebody else and things went downhill. Also see "Agile".

Our industry, because of its huge growth, is filled with inexperienced people who learned from inexperienced people. We all know software is kind of trash, and we're coming up with ways to improve it, but the fact of the matter is we don't know what works. We know some things that don't work, and many of those were previously on a list of things that might work and had catchy acronyms of their own. A few people have enough experience to give good advice, but what they have to sell isn't a magical silver bullet with a neat acronym, and they don't use twitter, so nobody listens to them.

The only thing I personally believe makes you write better code is long and varied experience with different domains, fueled by a desire to always be learning. Throw away mantras when they're no longer useful. Work like this for 10-20 years, and you'll start writing sort of OK code. Everything else ends badly.
Here we are throwing arguments.

I don’t write about no quality. I write about reasonable level of quality.

I argue against “everything has to be perfect”.
I'm sure it's a combination of mass hysteria and flocking behaviour in humans.

These find their origins in primitive survival techniques: there is safety in numbers, both for raising early alarms, and for protecting against stronger enemies.

I've had great fun with Common Lisp, and I quite liked Scala and recently Kotlin, but professionally I have to make do with Java, TypeScript and Python.
I would like to see other incentives on the other end.

Make consumer packaging rely less on plastics.

Put some effort into Material design.

We do have an island of plastic larger than France floating in the Pacific ocean.
I'll bet the main problem here is that they flew over restricted airspace. Basically the entitled Western half of Utah is restricted for Dugway and the salt flats, which is unfortunate, because it's the area that would be easiest to recover your balloon from. I did a high-altitude balloon in Utah a few weeks ago and had no problems, but we stuck to Eastern Utah (https://twitter.com/mpatrickwalton/status/176000350831999008...).
> companies would rather censor than have liabilities.

Companies that create products on top of LLMs absolutely should have the power to censor the LLM as they want, and they should add a lot of censorship to support their use cases. They should not be prevented from making these decisions (by applying censorship at the base LLM level you prevent companies from doing these decisions).
You can get this behavior with --sort d in argument or ledgerrc or setting LEDGER_SORT=d in your environment. Or merge files sorted by date with ledger -f file1 -f file2 --sort d print. I agree the default sorting is quite jarring, but practically every single time if some entry is out of place chronologically, for me it's because I input-ed the wrong date and the default sort makes more sense. The reason I have hledger installed is for check ordereddates.
I'm not clear what you are asking. (Honestly having a hard time grokking your sentence here, my apologies.)

I think you are appealing to what many would consider degenerate cases to assert that because it can have uncertainty, it always has uncertainty. Is that accurate?

If so, I don't disagree that movements can be ambiguous or hard to reason about. I'd assert the majority are not, though. To the point that in normal use, it is a fair assumption.

And again, you are free to disagree on this one. As someone that learned to type and edit without having to look at keyboard or screen, visual affordances sometimes feel off to me, personally. Doesn't mean I think they have no purpose.
Well I don’t think there is any audience because very few sites had/have any decent RSS feeds.

Well except maybe tech sites, but most people are not into tech sites.
I'm guessing they didn't look at the article and assumed it was the older one. There is a similar one from two years ago: https://mawfig.github.io/2022/06/18/v-lang-in-2022.html
Yes, but it's not that simple. There are millions of users of fancy/big tech who would without thinking pay even hundreds of dollars to crowdsource some quality-of-life change for things they use. (Think Windows, Android, GMail, WhatsApp, AWS self-service UI, Amazon.com, Epic, EMR systems, other large systems.)

But there's no market for this. And even then in many (likely most) cases the perceived user-facing quality is just irrelevant. There's no effective advocate for this.
static-x, especially the older stuff.
After years of lies from anti-drug and pro-drug guys, I simply don't believe this type of article with data to back it up.

For example, the opioid crisis in America is very different from drug use in Portugal. Do opioids in America kill more easily than the drugs used in Portugal?

The article contains a lot of feelings and no data.
Your mentality of expecting everything to be free is why there are no alternatives, and also why Google Reader shut down. Building and maintaining these services isn't free, so when people don't want to pay for it there's no incentive to actually make or maintain such service.
Ah, brings back memories of chess programming where this stuff was discussed often. See [1] for more of this. I always found Kogge Stone [2] pretty cool, a kind of bit-twiddling flood-fill.

[1] https://www.chessprogramming.org/Bit-Twiddling

[2] https://www.chessprogramming.org/Kogge-Stone_Algorithm
I would say 90% of the struggle of my learning to play piano was developing the correct muscle memory for the right motions for the right measures of the right song.

The academic "Can I read and understand this sheet music?" is maybe 10%.

It's possible if you put in the decades required to build up all the muscle memory needed for any song you might need to play (or you are a virtuoso), in which case reading and understanding the sheet music may be 90+% of your "practice time"... but the most accomplished pianists I know of still have to practice (with their hands) consistently.
Ibuprofen is basically the German strategy. It's not super strong, but everything else is only for extreme pain.

Get your wisdom teeth pulled? Ibuprofen. Broke some bones? Ibuprofen.

Burn victim? Maybe some opiates.

The strategy works. Better to have some pain, than to get hooked on opiates.
What explanation, precisely?
Can someone explain the backstory of what V is and why someone took the time to write this? To the uninitiated this sounds like someone criticizing some kid’s side project.

I’m picking up some context clues that V is widely used / famous / notable / significant somehow, but the only time I have ever heard of it before this is Xe Iaso’s similarly negative posts. Did V receive some huge funding grant that made it the target of ire? Is the author otherwise well-known? What am I missing?
Combat Lander
Google has destroyed the Web by directing traffic from its SEPRPs to pages filled with their own ads that are stuffed with useless content to encourage scrolling and optimize for ranking. Google any recipe for details. Not sure if it’s any consolation that AI will at the very least level the playing field and give us more direct answers.
> I believe the internet has gone full-circle…

One of the most annoying things about the internet is avoiding the great enshittification cycle. I want things to be popular enough that there is traction but not popular enough that the Ad people are salivating to squeeze another dollar out of it.
It varies around the world. In the US, Class E begins at FL600. Most of Europe, it's FL660.

It would be best if all objects in the sky that could harm aircraft had transponders, including vintage aircraft without electrical systems and balloons.

See also: https://www.aopa.org/news-and-media/all-news/2017/january/19...
My brain quickly gets bored with any attempt to "track" myself, even if it's finance. If you're like that, I'd advise you to first make concrete how you're gonna use the result -- which report-commands you'll bind to keys, and how the reports are gonna influence your decisions. Only then start tracking.
BBEdit, Sublime Text, OmniGraffle, Pixelmator, Darktable, Forklift (file manager), KDE (as a whole), yt-dlp, curl, wget, freemind, mindnode (and I can add many more) are strong counter examples to this. They are high quality, packed with tons of features and are leaders or give leaders a decent run for their money.

The most important thing is all of them go slow. Without rushing. They don’t race. They release when they are done. And it shows.

Ah, also there’s CameraBag, which spent their last year optimizing first, adding more features second.
> "The flooding of U.S. rice into Haiti is not only economically violent for Haitian peyizan who struggle to sell their local product, but also violent toward the long-term health of Haitian consumers," the report said.

This seems like a very strange way for a research paper to talk about chemical analyses. The Reuters article doesn’t cite the paper directly, but it’s here [0].

I note from their paper that rice from all non-Haitian origins, not just the US, contained what they describe as worrying levels of arsenic. I’m also confused by their (mislabeled) graphs attempting to suggest that the levels are routinely harmful. Those graphs all seem to reflect people whose bodies weigh between 8 and 20kg each eating 1.5 cups dry = 300g dry = 1kg cooked rice daily.

That seems like a lot of rice for a baby to eat, but I don’t know what’s normal. What’s more, their graphs seem like they’re saying both local and imported rice would largely fall below the “cancer risk” threshold they show on one set of graphs, and both largely exceed the “non-cancer health outcome” thresholds they’re interested in.

To top it off, in their conclusion, they mention that they know they’ve been measuring the wrong thing all along: they’re measuring total arsenic levels, while the standards they use refer to concentrations of inorganic arsenic. The EPA says that organic arsenic is nontoxic and harmless. [2]

> By measuring only total arsenic levels, our measurements do not exactly correspond to thresholds set by Codex and the U.S. FDA, which are based on inorganic arsenic concentrations.

A quick look at other widely-cited experimental research suggests that around 40% of the total arsenic in US rice is the harmful, inorganic kind [3]. And the remainder of the total arsenic count is the nontoxic organic kind.

Which suggests that if the researchers at hand had measured the thing that was actually harmful, instead of including harmless things with a similar name, they’d find that all the rice in question was below the worrisome thresholds, even for the small humans they’re worried about.

I wonder if the same policy agenda informs the rest of the editorial decisions at the “Journal of Agriculture, Food Systems, and Community Development.” A causal glance suggests an activist kind of flavor [1], but I don’t have much of a baseline on norms in the “food justice” discipline.

[0] https://www.foodsystemsjournal.org/index.php/fsj/article/vie...
[1] https://www.foodsystemsjournal.org/index.php/fsj
[2] e.g. https://www.epa.gov/sites/default/files/2021-04/documents/ar...
[3] https://pubs.acs.org/doi/abs/10.1021/es802612a
I think what they're getting at is the most common limiting factor for plant growth is almost never CO2. It's usually Nitrogen, or another two of the macro (P,K) or micronutrients.
Cool analysis, though it doesn’t make for a very linear read. This is the kind of issue where laws really need to be updated, it’s crazy that non-consensual pornography is legislated against across the US but that deepfakes (for the most part) aren’t included.

Feels like a high importance area to move fast in with current real world harm, yet we move slower than our premature attempts to litigate AI compute guardrails.