Better HN
topnewbestaskshowjobs
Log inSign up

joshdata

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

Submissions

comment 2y ago · link · parent

U.S. law requires that agencies perform this public disclosure of their analysis so that interested parties in the general public have an opportunity to meaningfully weigh in before the proposed regulation becomes an actual regulation. It's an incredibly valuable aspect of accountability if you are someone affected by the regulation.

A more recent law also required that CISA create a regulation on this particular subject. (It's explained in the regulation itself.)

If you want simpler regulations, the issue isn't that we're missing a law to ensure regulations are simpler. The law requires that exactly this happen all the time: Your(?) legislators in Congress are constantly writing laws that direct agencies to do exactly this.

Of course, if they didn't and regulations were simpler, all of the ambiguity would be decided by courts instead. The world is complicated with or without complicated regulations. So we can either have less-ambiguous but more wordy laws, or we can have more ambiguity, more court cases, and judges unpredictably deciding how to resolve the ambiguity.

comment 2y ago · link · parent

Just to clarify the headline, it's Congress and President Biden who are requiring critical infrastructure to report ransom and other cyber incidents, per a law enacted inside must-pass legislation in 2022: https://www.govtrack.us/congress/bills/117/hr2471/text/enr#l.... The law requires CISA to issue a regulation for how that would work in practice, which is what this is.

comment 3y ago · link · parent

Self-replying...

I found the comments really helpful so I wrote up some thoughts on different approaches to tackling projects. Hope this might be helpful to others.

https://joshuatauberer.medium.com/bullet-time-and-elephant-h...

comment 3y ago · link · parent

I think the idea is that for a slice of an elephant to be "elephant shaped," it has a bit of all of the key parts of an elephant - a bit of the trunk, a bit of a heart, stubs for four legs, whatever else makes an elephant an elephant. But what do the elephant's organs map to? I agree that the information on Elephant Carpaccio that I've been able to find doesn't really answer this.

My best guess is the idea is that it maps to aspects of a user story like "get input from the user," "do some business logic," "show output to user." So even the first slice is a working prototype in some superficial sense. The elephant organs might be app components (UI, database, etc.), but in the first slice you don't have a complete UI (maybe you have text input) and you don't have a production database (maybe you just have an in-memory dictionary) and you don't have robust business logic. You have the whole stack, but each part of the stack is incomplete. That's what I think makes it a vertical slice.

A horizontal slice (what not to do) would be one complete elephant organ. Maybe that's a production transactional database. So in the first slice you have a complete database or you've written the final business logic, but none of the other things that you would need in a mockup/prototype/MVP or an integration test.

Anyway, this is my best guess.

comment 3y ago · link · parent

This is a similar idea to how I understand the Elephant Carpaccio exercise by Henrik Kniberg & Alistair Cockburn (2013), from what I've been able to Google. The key idea is that work should be broken down into "vertical slices" where vertical means that the entire user story is captured, or as it's described at https://uploads-ssl.webflow.com/5e3bed81529ab12a517031ab/5ec..., "very thin slices, each one still elephant-shaped." The first vertical slice might be a mockup or very-low-fidelity prototype of the complete project and subsequent slices are enhancements following user stories. Horizontal slices might be, say, system components or other subtasks that leave you without something prototype-looking until all of the slices are complete. At least, this is how I've interpreted what I've read about it.

comment 3y ago · link · parent

We don't ask for dollars back. The government asks for a loan that pays interest and lots of people gladly want to make that loan - like probably your retirement investments. This is where the national debt comes from. If we printed money there would be no national debt.

comment 3y ago · link · parent

This article seems to be extremely confused about the difference between increasing the supply of dollars (printing money or other tactics of the Federal Reserve) and deficit spending (moving already-created dollars from the public, including foreign holders, to the government and then right out to the U.S. public again).

comment 4y ago · link · parent

> You shouldn't be comparing the mailbox part of email addresses at all other than as literal bytestrings

It's hard to know what to do in practice, but this seems to be wrong according to https://www.rfc-editor.org/rfc/rfc6532#section-3.1: "normalization form NFC SHOULD be used".

comment 4y ago · link · parent

Right. And I think subsidies are being offered to switch. (I saw an ad outside yesterday promoting this.)

comment 4y ago · link · parent

It's complicated but thankfully you don't have to reinvent the wheel:

https://github.com/JoshData/python-email-validator (my project)

The README covers a lot of ground: internationalized domain names, internationalized local parts, SMTPUTF8, Unicode normalization, not performing SMTP checks, not permitting obsolete email syntax, and missing UCS-4 support in Python 2.7.

comment 4y ago · link · parent

Of course. DC however has an unfortunate history of being ruled more like a colony than a part of a democracy, a consequence of racism, and talking about the city as if the residents don't exist is a part of the problem and perpetuates that consequence of racism. I don't think Cupertino has that problem.

comment 4y ago · link · parent

Worth pointing out that the article is about rich politicians elected from around the country. The 700,000 residents of Washington, DC do not have an insider trading problem. Wish the article and the HN headline didn't blame DC for other states' problems.

comment 4y ago · link · parent

Thanks for your work! (If our paths crossed you would have known me as the persistent guy at GovTrack asking for bill status XML over and over. :) )

comment 4y ago · link · parent

This is not really a fair picture of history. The folks at the Government Publishing Office who decided to use RSS have really no connection to Swartz's prosecutors and probably were using RSS before the prosecution. (This is also not a government "embracing" RSS. It's one website. And it's been there for a long time.)

comment 4y ago · link · parent

If someone put you in charge, you probably would not know how to do the thing you're imagining. (For example, "classified" doesn't really apply to Congress. That's an executive branch thing. So you're already on the wrong track.) Don't fool yourself that it's just a matter of having a bright idea that's the difference between the world as it is and the world as you want it.

comment 4y ago · link · parent

The civil servants who are responsible for creating govinfo.gov deserve some praise for publishing a truly massive amount of information in an accurate, reliable, and developer-friendly way. (I know them. They are hard-working people!) Also worth noting that these things don't just happen on their own. Dozens of advocates outside of the government (myself included) have advocated for these sorts of things to come about for decades, and they're always in danger of disappearing if advocates and other users of the data don't continually demonstrate to decision-makers the importance of it.

comment 4y ago · link · parent

Great!

comment 4y ago · link · parent

The bills proposed by legislators are published in open data (thanks to years of advocacy by myself and others, but that's another story). If you want to read it and know who proposed it, this information has been readily available on the Internet since 1995. If you want to do some data mining, the data has been readily available to download in XML for about 5-10 years from Congress itself and for the decade before that from govtrack.us. If you're not doing the data mining already, that is about you and not about the availability of the data.

comment 4y ago · link · parent

Ahha! Glad to hear.

comment 4y ago · link · parent

Thanks!

comment 4y ago · link · parent

I think around 1998 or 1999. I don't think we disagree on the facts: I totally agree that there is a lot more to understand and that deliverability is a nightmare. No question. What I see is that today people can achieve a reasonable mail server while being an expert at less.

comment 4y ago · link · parent

> I ran mailinabox for a year or two ... the documentation seemed actively hostile

Maintainer of Mail-in-a-Box here. I'm sorry you had that experience. Definitely was not the intention of the project to be hostile (but I can see how it might come off that way).

comment 4y ago · link · parent

> Things that have happened in the last 20 years include SPF, DKIM, DMARC

Right, of course. The protocols are more complex. (Add TLS, MTA-STS...) But whereas 20 years ago you _had_ to start from scratch and understand the whole stack, today that's just not necessary. There are numerous projects that make running a mail server readily possible without knowing e.g. the sendmail configuration macro language. And there are many many more good resources to learn it all if you want to know than there were 20 years ago. It is both a more complex technology and also undeniably easier for people to actually do it.

comment 4y ago · link · parent

The comments all seem to be from people who think making an artisanal choice is a bad thing. There should be more art, experimentation, and expression in computing. If we've outgrown running our own mail servers as a practical choice, because there are now more good options, and we can enjoy running a mail server as a more humanly choice, that's a good thing.

Not much has actually changed about the complexity of running a mail server in the last 20 years --- if anything it's gotten easier. What's changed is there are other, polished, turn-key options now. Great. (Those options tend to have spam policies that aren't friendly to the independent servers, but that's life.)

Choose to be artisanal.

(I'm the primary maintainer of https://mailinabox.email/.)

comment 4y ago · link · parent

I operate a website that likely meets one of the requirements to be subject to CCPA that received the emails from the research study. We have basically no revenue or staff. I didn't appreciate being lied to (about who was sending the message), being threatened (with legal enforcement), wasting my time (the study was scrapped), and being used for research without consent (the fact that this happens all the time doesn't excuse it). If they wanted to know our CCPA/GDPR policies, they could have simply asked. I also received emails from the study at two other domains I own and one that mentioned a domain I don't even own, but which probably don't matter for CCPA - all of which made me think that this was a scam and legal trap to take seriously.

comment 9y ago · link · parent

It wasn't retribution. This was in the works for many years and this was just an opportunistic time to put it up / it became something people were suddenly interested in. -- the guy behind the linked site

comment 9y ago · link · parent

> A better strategy would be to determine which ISP serves Congress, and pay them for the data of IPs originating from Congress.

This isn't an either-or scenario. If you want to do that, do that. Go raise a lot of money. In the meanwhile, there's this, and it didn't cost anything.

comment 9y ago · link · parent

We'd consider helping with that, but someone else would need to take the lead on the effort. -- the guy behind GovTrack

comment 9y ago · link · parent

The US Congress is not subject to federal FOIA law, so that would be impossible at the federal level. -- guy behind the linked site

comment 10y ago · link · parent

> Why would you choose the 538 map to pick on

It was a convenient example. And I hadn't noticed the interactivity before writing the article. That said, I don't think the zoom function makes it much better.

If you think it's OK to routinely portray America as being only rural white America, and if you're not interested in knowing in a quantified way how different a map is from reality, then we live in different worlds. As I said at the top of the article, the point wasn't that there is a bias (because that's no surprise to anyone) but to find out how large that bias is.

123