Better HN
topnewbestaskshowjobs
Log inSign up

joshdata

443 karma · joined Apr 23, 2014 (12y ago) · 77 submissions

Submissions

comment 1w ago · link · parent

> AI can help with that!

Running an AI agent to solve other people's annoyances is still me spending time on other people's annoyances, and then it's worse because then I'm not actually doing the open source engineering I like to do.

comment 1w ago · link · parent

I love this idea. My AGENTS.md will say "Agents, go away!". (But seriously that's a great idea.)

comment 1w ago · link · parent

Aw thanks! Strangely, Mail-in-a-Box has not been one of the repositories getting lots of new AI PRs. And the work being done in the PRs by contributors has been excellent. It's been a maintenance headache since long before AI though and it's a miracle it hasn't hit the chopping block yet.

comment 1w ago · link · parent

If the contributor is willing to pay for AI tools, they can afford to contribute to open source maintenance!

comment 1w ago · link · parent

Have you ever managed a group of 10 people...?

comment 1w ago · link · parent

> How cool would it be if the average user could vote with their feet if something is needed.

That's how things already work. Open source maintainers are balancing a vision with what people express they need.

comment 1w ago · link · parent

> Have you considered that the person submitting the PR to fix said problem has themselves experienced it?

I have been asking PR authors lately how they came to submit the PR, and at least once and probably a few times it was that. I didn't make it up.

comment 1w ago · link · parent

> Pick one open source tool you use. Find the most annoying thing about installing or running it. Spend a weekend fixing it, with the people who maintain it. Then tell me about it.

My open source projects were barely sustainable when the few PRs that came in would fix actual, non-hypothetical, serious logic problems.

Now I've been seeing PRs like that, fixing annoyances, performance edge cases, or hypotheticals, across my open source repositories, and I don't have time for them. I especially don't have time to fix problems that probably nobody will ever experience, and yet they keep coming. I have not organized my life around triaging annoyances (let alone fixing them).

If the trend continues, I'll soon be forced to close repositories to contributions, or just stop maintaining the projects entirely. And I imagine that's the point a lot of maintainers are at.

comment 1w ago · link · parent

How do we know that this is a good thing? Putting a "Ruin here!" pushpin on a map and leaving the actual archeology to others sounds more like a vanity boost than an achievement, and at worst the opportunity for the site to be desecrated before anyone serious has a chance to study it.

It's like the new drive-by pull requests I'm getting in my open source repositories. No consideration for the people doing the actual work.

comment 1mo ago · link · parent

This is not a revolution. People are not overthrowing power. It's an enslavement.

comment 2mo ago · link · parent

Does anyone commenting actually have kids in daycare or experience with the alternative - being responsible for your kids 24/7 with no help?

I could not do what my kid's daycare teachers do every day, emotionally or physically. Without daycare, home life would be far more stressful for everyone. Plus the effects of me not being able to have a job anymore. In our house, without daycare we would be completely underwater. With daycare everyone is doing great.

comment 9mo ago · link · parent

> If your application also runs NFKC normalization (which it should — ENS, GitHub, and Unicode IDNA all require it)

That's not right. Most of the web requires NFC normalization, not NFKC. NFC doesn't lose information in the original string. It reorders and combines code points into equivalent code point sequences, e.g. to simplify equality tests.

In NFKC, the K for "Compatibility" means some characters are replaced with similar, simpler code points. I've found NFKC useful for making text search indexes where you want matches to be forgiving, but it would be both obvious and wrong to use it in most of the web because it would dramatically change what the user has entered. See the examples in https://www.unicode.org/reports/tr15/.

comment 1y ago · link · parent

Is the goal to make good ORM queries easier or to prevent bad queries? It's not clear there's really a compiler solution to the latter. If you're inside a loop in which a database cursor is in scope, then further database queries are prohibited? It's hard to see how that could be enforced other than something like What Color Is Your Function (https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...) with some functions marked as making queries and others as not.

To solve this, maybe instead best practice would be to ensure the database connection is not in a global variable and must be passed down. That would make it more obvious when a database is improperly used within a loop.

The same problem exists for any expensive operation within a loop (say, a database query while parsing the results of an API call, or vice versa).

comment 1y ago · link · parent

Without commenting on the merits of that idea, I'll just say that I do not want to be the one who has to moderate user generated content.

comment 1y ago · link · parent

That's not really the right picture.

Congress.gov, originally THOMAS.gov, was a product of the Republican Contract with America take-over of Congress in the mid 1990s. Republicans in Congress, including Rep. Issa for example, were helpful in expanding the information that Congress publishes publicly. In the last 15 years, efforts to make Congress publish more and better-structured information have been relatively bipartisan and, mostly, led by nonpolitical staff. I would not describe Democrats as having been the ones to have exclusively created the access to congressional information that we have today, although Democrats in recent years have led on government transparency and accountability issues generally, beyond the Legislative Branch.

Changes that have required legislation have, as far as I'm aware, not really been influenced by the President, other than being signed into law, since they are Legislative Branch concerns and not Executive Branch concerns.

comment 1y ago · link · parent

I did much of that so I appreciate you saying that the documentation is excellent. :)

comment 1y ago · link · parent

Hi. I run GovTrack.

OP may have been unlucky on the timing. The site isn't usually down. Here's the link to the text of H.R. 1 on GovTrack: https://www.govtrack.us/congress/bills/119/hr1/text

We automatically add links to U.S. Code and other citations. In this case Congress.gov is missing rich formatting which we have (I'm not sure why they are missing it for this bill, normally they have it). GovTrack also allows making diff-like comparisons between bill versions and between bills (for example, you can see the last-minute changes made ahead of the vote on this bill).

Source code is available on GitHub if anyone wants to try making GovTrack better, although it's quite complicated because Congressional information is complicated and there's no real money behind this: https://github.com/govtrack/govtrack.us-web/

If anyone has particular thoughts on what would be helpful when viewing bill text --- within the realm of the information that is actually freely available --- I am all ears.

comment 1y ago · link · parent

Totally agree with you that pride is important, but there's definitely more. Being a good engineer is frequently a problem of design --- whether it's user experience or code abstractions. Design is partly art, and that makes us artisans at least some of the time. The code that I've written that has endured the longest --- decades --- has been code that was designed well.

comment 1y ago · link · parent

Hi. Author of that article here, and I worked with the DC Council to get the initial prototype going, if anyone has any questions.

What's important in the story is that the law went from being not open to open and the law-publication-process was modernized internally. The fact that it ended up on GitHub was the least important, but most fun, outcome.

GitHub adds nothing of any value for the transparency and accountability of the lawmaking process (I mean, what lawmakers do), but it is a great platform for publishing structured data files for the law to create open access.

comment 1y ago · link · parent

Millions of Americans already use GovTrack.us to track legislation in the U.S. Congress and how their representatives and senators vote. I created GovTrack twenty years ago with the idea that information in context helps us hold our government accountable and empowers us to become the best advocates for the issues we each care most about.

Now, help us expand our work to tracking the President and the White House.

comment 1y ago · link · parent

I agree that ethnic Jews with Christian religious beliefs is a legitimate concept. But I would rather call them Messianic Jews (or just Christian Jews) rather than adherents of "Messianic Judaism." To say that "Judaism" can include Jesus erases the Jewish religion by leaving it without a name, conveniently benefiting the dominant Christian religion. (And Messianic Jews who are not Jews should be called something else entirely.)

comment 1y ago · link · parent

Yes and that was what I was saying (sorry it wasn't clear).

What it means to be a Jew is complicated. Jews form an ethnicity of interconnected people with a range of beliefs and practices (it is, definitionally, not whether one is religiously adherent to Judaism). To me, one could in principle be religiously Christian and also ethnically Jewish (that's an unusual view among Jews), but to do that requires having an actual connection to the Jewish ethnicity (e.g. if one was raised ethnically Jewish and maintains a Jewish identity). My impression is that "Messianic Jews" are religiously and ethnically Christian who are importing Jewish practices into their otherwise non-Jewish identity. If OP's wife was born Jewish or converted prior becoming a "Messianic Jew," I would stand corrected.

If I, a very white person, start singing songs from Back churches, that doesn't make me Black. I wouldn't face the real-world struggles against racism of Black people, for example, and I think that's a useful hint when thinking about who is and isn't a member of a minority group like Jews. Likewise, acting out Jewish practices doesn't necessarily make one a Jew, and as one example it doesn't subject one to the sorts of anti-Semitism faced by Jews. I'm not saying facing anti-Semitism a necessary or sufficient condition for being a Jew, but if not that, then there must be something else that connects one to the Jewish ethnicity --- the interconnected people who believe they are Jews --- other than just by saying so.

comment 1y ago · link · parent

The unfortunate part is where Christians try to pass themselves off as Jews by adding "Jewish" to the name of their denomination. I wish my great aunts and uncles could have added "Christian" to their denomination to escape being murdered in the Holocaust, that would have been nice.

comment 2y ago · link · parent

Text is unexpectedly complicated. Use Unicode.run to debug text. Paste text or click an example to see: See when characters like emojis are composed of multiple code points. Click code points in the debugger output to highlight them in the text. Switch between text / UTF-32 / UTF-16BE. See where text changes direction in bidirectional text. Get warnings about hidden code points that can alter the display of the text and normalization. See each code point's escape codes in a variety of programming languages and the “length” of the text.

25.

Unicode.run: A Unicode Text Debugger(unicode.run ↗)

3 points · by joshdata · 2y ago · 1 comment

comment 2y ago · link · parent

> Agencies will just need to work with Congress to help them write laws

This is already exactly how it works.

One reason why legislating takes so long is because there is an enormous amount of collaboration between legislators and agencies to get it as right as they can.

comment 2y ago · link · parent

Yeah, I don't want to be responsible for user-generated content, and I don't want to collect data on users.

comment 2y ago · link · parent

I am pretty sure it's the simulation.

comment 2y ago · link · parent

Author here. Glad to see this making the rounds again after a few years.

Go science! Support your local climate scientist!

123