News for hackers. Stuff that matters.

overlordalex

The way that this is done these days (and likely what the author did/does) is that you use a custom domain to receive mail; you provide an email like [email protected], and that way when service@ starts receiving spam you know exactly where it comes from
Yes and no. If congress has granted the EPA authority to regulate water to ensure it's not bad for you, then someone needs to determine what "bad for you" means.

Previously, under Chevron, the courts would defer to the EPA as the experts to make that determination (with the understanding that congress could always pass more specific legislation if they felt the EPA was overstepping its granted authority)

What the Supreme Court has said is deferring to the agency is going too far, and that if congress wants specific things regulated then it needs to be specific in it's legislation. Prima facie that makes sense, except for two major problems: congress is not productive enough in passing legislation, and congress are not the experts

This means that when questions like this arise, it comes to the courts to be the ones who end up interpreting the statutes and making the determination on what "bad for you" means.

Re:Modular Monoliths Are a Good Idea on Saturday September 14, 2024 @04:31AM (#41538373)
What you'd want is Architecture Unit Tests; you can define in code the metastructures and relationships, and then cause the build to fail if the relationship is violated.

The classic is ArchUnit in Java:

    @ArchTest
    static final ArchRule  layer_dependencies_are_respected = layeredArchitecture().consideringAllDependencies()

            .layer("Controllers").definedBy("com.tngtech.archunit.example.layers.controller..")
            .layer("Services").definedBy("com.tngtech.archunit.example.layers.service..")
            .layer("Persistence").definedBy("com.tngtech.archunit.example.layers.persistence..")

            .whereLayer("Controllers").mayNotBeAccessedByAnyLayer()
            .whereLayer("Services").mayOnlyBeAccessedByLayers("Controllers")
            .whereLayer("Persistence").mayOnlyBeAccessedByLayers("Services");
The problem I've had with these tests is that the run time is abysmal, meaning they only really get run as part of CI and devs complain that they fail too late in the process

Also, I'm on mobile so apologies for the badly formatted code - original can be found here: https://github.com/TNG/ArchUnit-Examples/blob/main/example-j...

Re:Thoughts on the Durov Arrest on Wednesday August 28, 2024 @04:38AM (#41377365)
We are presently in the futures past

That is to say, it's entirely possible that you were already tortured and the backdoor is already there by using the same logic - no time machine needed

Like already said unfortunately the only safety would be reading the code

Re:S l o w r o a d s on Friday April 05, 2024 @06:39AM (#39940818)
The barriers start at the beginning - you just have to reverse and then you can drive over mountains and under water to your hearts content :)
Re:PU-239 on Sunday January 21, 2024 @08:37AM (#39078320)
I read this book many years ago and thoroughly enjoyed it - in my opinion the movie did a good job as well, however I've found it increasingly difficult to find via online services (and even finding it on the high seas was rare, but perhaps that's changed)

When I read it my partner at the time was from an exUSSR country and validated the feelings of hopelessness, grift, and expectations of the future matched a lot of the personal experiences of people at the time

Re:USPS In-Person Identity Proofing on Thursday September 21, 2023 @02:23PM (#37601771)
That's if you even got a pin in the first place!

I discovered this recently when I wanted to use the gloriously named AusweisApp2 (ID app 2, superseding a PC app which was at least forward thinking enough to be called ID app 1).

In theory it's simple to request a new pin - you can even do it within the app! However I've moved since I acquired the card, and so instead of the reset mails going to my registered address, I can only assume they went to the address stored on the card. And in a catch-22 of course you can only update that with a pin...

But no worries, you can simply book an appointment at your nearest buergeramt to have a pin reset in person; except there are no free slots in the next 3 months.. anywhere!

I needed documents for a new visa, which should give me a new card (and hopefully a new pin!), which ultimately turned out to be faster to do than trying to sort out the damn pin

Re:Are Any Words the Same in All Languages? on Thursday September 07, 2023 @06:37PM (#37426586)
They're considered fillers that mark a continuance on part of the speaker so that the other participants know that they will continue speaking. Different languages not only use different sounds, but in many cases continuation markers can also be "normal" words from the language. In English some examples would be "well", or "yes" which can be pure filler words to bridge to the next utterance.

That being said, what is a word anyways? You could argue that they're well understood units of language that convey meaning, which I would argue is pretty much a word

Re:Why is a mood tracker from 2016 still the best? on Wednesday August 23, 2023 @05:41AM (#37233684)
I'm in a similar boat - I pretty much use the watch for HR tracking (as a proxy for stress). I like the step tracking, but otherwise keep things like the notifications disabled. Personally I get about 20 days between charges

Thats not to say it's been smooth sailing - there was a period where the mobile app was draining my battery and chewing through data, and uploading custom watch faces is somewhat limited.

However the biggest problem is that the eInk screens seem to be a major failure point - when working normally it seems to have massive burn-in after a few months.

My first watch had the screen die due to what I believe was trapped moisture (the weep-hole on the back is easily clogged) and just a few days ago my current watch also had the screen go bad.

It's really sad because the feature-set is almost precisely what I want, at exactly the price I'd like to pay

Re:Hollywood’s Cold War Dissidents in Ireland on Saturday August 12, 2023 @05:44PM (#37104517)
Even more cromulently:

In Dennis v. United States the government jailed the leaders of the american communist party, and the supreme court upheld the conviction.

And if it's said that it's justified because they were the leaders: in Harisiades v. Shaughnessy the supreme court ruled that immigrants can be deported for being a previous member of the communist party, not even in any sort of leadership position. This includes just being a member for a year or two several decades ago.

You can make the argument that those were cases from the last century, so how about being arrested for exercising your first amendment in the wrong place: https://en.wikipedia.org/wiki/Free_speech_zone

For something even more recent, protesters attempting to stop a massive new police training center* are being charged with domestic terrorism

*https://en.wikipedia.org/wiki/Stop_Cop_City

While there is definitely plenty of latitude around "free speech" in America, it's not limitless and the government will happily jail you if they disagree with what you're saying.

This is not even getting into topics like COINTELPRO

Here's a taste - the United States Foreign Intelligence Surveillance Court (often referred to as the FISA court) authorizes security agencies to spy on US citizens. The court proceedings are secret, and the party being surveilled is unable to participate and is not aware of any of the proceedings. In terms of warrants issued:

> From 1979 through 2012, the court overseeing the Foreign Intelligence Surveillance Act has rejected only 11 of the more than 33,900 surveillance applications by the government

> "The FISA system is broken. At the point that a FISA judge can compel the disclosure of millions of phone records of U.S. citizens engaged in only domestic communications, unrelated to the collection of foreign intelligence…there is no longer meaningful judicial review," Mr. Rotenberg said.

Story by the Wall Street Journal https://archive.ph/lafXz

Re:The Most Important Coding Habits on Saturday July 22, 2023 @06:13PM (#36830469)
Obligatory Behind the Bastards podcast episode: https://www.iheart.com/podcast/105-behind-the-bastards-29236...
Re:A blocky based CAD program on Tuesday May 23, 2023 @07:42PM (#36052219)
Huh. I was looking for some more information (about either the developer or maybe whatever CAD engine was being used), and it seems that there is another block based CAD editor with a very similar name.

Block CAD (this) versus Blocks CAD[1]. As a disclaimer I use OpenSCAD and have long thought that the interface would lend itself nicely to the scratch-style paradigm, but I've never bothered since the default OpenSCAD + git + Cura has been more than enough for what I need

[1] https://www.blockscad3d.com/editor/

Re:Grand Jury Votes to Indict Donald Trump on Friday March 31, 2023 @07:48AM (#35385609)
It's even easier than that - Cohen already pled guilty and was convicted for this campaign finance violation. During the trial Cohen explicitly named Trump as a co-conspirator while the prosecutor decided to call him "Individual 1" in the filings
Re:The Legasov Tapes (2019) on Tuesday December 13, 2022 @10:58AM (#33970582)
There is an accompanying podcast which went into the decisions behind the series, such as the character design and which events to show and how they were dramatised. The original page is dead[0] but it seems to be available on most podcast platforms. I can highly recommend a listen-along for your next rewatch

[0] https://www.hbo.com/chernobyl/article/podcast

Re:Valve Introduces Proton Next on Wednesday November 23, 2022 @04:37PM (#33724852)
If you're curious, ProtonDB is the place to check if the game you're interested in is supported (and how well).

You can also just browse and see what is supported. Here is the list sorted by the highest user ratings: https://www.protondb.com/explore?sort=userScore

Re:The Undersea Art Gallery That Ensnares Illegal Trawlers on Thursday November 17, 2022 @10:21AM (#33640101)
Huh, seemed pretty effective at first glance. It also lead me down a wiki rabbit hole from the dogger bank to similar nearby features, which came full circle with the Cleaver Bank where Greenpeace also sunk some boulders. Except apparently they were removed by the fishers...

    The Cleaver bank is in 2015 considered for protection as a Marine protected area. The Greenpeace organisation considered the actions of the Dutch government in this direction too slow and sunk some large boulders on the seabed in May 2015 to increase the nature value.[7] Dutch fishers lifted the boulders on 16 June 2015, because they were afraid the boulders would damage their fishing gear.[8]
https://en.wikipedia.org/wiki/Cleaver_Bank
Do you mean for content in German? There might just not be enough of it to be anything but low-effort junk - I never got anything useful in German and gave up after about 20 minutes.

I'm based in Germany but view English content and I can at least echo your sentiments about the lack of good content. I've read multiple times about how amazing the TikTok algorithm is meant to be and how quickly it learns about what to show you, and yet that has not been my experience at all.

Twice now I've spent an hour attempting to train the algorithm but it's just endless streams of trash. The worst part for me was coming across an interesting video, for example some industrial machine process, only to be subjected to the exact same video hosted by another user. Most times they have just overlaid some music, but sometimes they crop the original or add some useless text overlays.

The part that also annoyed me was it felt like the algorithm gave up every 20-25 videos and tried to show me something sexual, even though I was not interested. I always found the subject transitions extremely jarring and annoying - I already have my porn channels sorted thank you very much, I'm looking for a different type of wood-working

Re:Ask HN: Why don't we have 3 day weekends yet? on Thursday September 01, 2022 @02:44PM (#32681093)
To maybe throw the question back - what have you done to make 3 day weekends a reality?

The way the post is worded right now seems to be phrased in a way that 3-day weekends are blindingly obvious, but if you look at the history of labour rights I dont see why anyone expects it to just happen without a massive amount of organising

Re:A model for journalistic copypasta on Friday August 12, 2022 @04:34AM (#32435904)
What you're describing is actually the artefact of a popular method of organising information in articles called the inverted pyramid[1]. Essentially what happens is the chronological order is discarded in favour of ordering the information by perceived importance

> It is sometimes called a summary news lead style, or bottom line up front (BLUF).[3] The opposite, the failure to mention the most important, interesting or attention-grabbing elements of a story in the opening paragraphs, is called burying the lede.

[1] https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism)

Re:Ten Percent of the Brain Myth on Wednesday July 13, 2022 @08:23AM (#32081658)
It will be harder to dispel because the underlying general assumption actually is true - in most people the brain does split some functions by hemisphere, but rather it's not a general statement that can be simply applied:

> Some popularizations oversimplify the science about lateralization, by presenting the functional differences between hemispheres as being more absolute than is actually the case.[21]: 107 [22]

Sources that wikipedia uses:

[21] Westen D, Burton L, Kowalski K (2006). Psychology : Australian and New Zealand edition. Milton, Qld.: John Wiley & Sons. ISBN 9780470805527.

[22] Toga AW, Thompson PM (January 2003). "Mapping brain asymmetry". Nature Reviews. Neuroscience. 4 (1): 37–48. doi:10.1038/nrn1009. PMID 12511860. S2CID 15867592.

The hex codes cannot be selected/copied out which was disappointing, but perhaps worse is that the hex codes slowly fade away completely!

I only noticed the first time because there was a gorgeous gold/purple combination that I wanted to save, which makes me think there might be another layer of combination that can be saved which is worst/best combinations of colour.

Re:Why America can’t build on Tuesday June 28, 2022 @04:43AM (#31905544)
> highways that made it harder to reach different parts of the city

One blatant example of exclusionary infrastructure was Robert Moses building bridges in New York that were too low for busses to pass under, in order to discourage travel to his parks and beaches.

I can also recommend the Well There's Your Problem podcast: https://www.youtube.com/watch?v=8oq0u2i4iHc

Re:Show HN: Tuc – When cut doesn’t cut it on Monday June 13, 2022 @11:55AM (#31727286)
Just want to say thank you for the unlimited delimiters - this was something that always limited my usage of cut so just this feature alone makes tuc worth it
Re: on Sunday June 12, 2022 @06:11PM (#31718754)
The very first sentence does the american-right-wing trope of conflating communism and socialism, which makes the article already suspect:

> The Victims of Communism Museum could play a role in disabusing young Americans of their fascination with socialists.

and that's pretty much all you get because of the hard paywall.

I havent heard of the source before and the other headlines on the site all look _very_ right-leaning. Here are some samples:

    The Transgender Contagion Includes Fox News
    Are We All Going to Be Gay?
    Democrats Refuse to Learn Anything
    Adoption Remains a Better Option Than Abortion
Re:Vanced Discontinuation on Monday March 21, 2022 @06:02AM (#30752211)
> And yet, somehow, you see it happen time and time again as people just can't help themselves when it comes to using other peoples' trademarks for their clients.

This is exactly what happened with "Reddit is fun" which had to rebrand as "RiF" but quickly changed again to "RiF is fun for Reddit" which is a rather clunky name but seems to meet the criteria of having enough standoff to the original

The myth is that "NATO promised not to expand".

NATO made no such promise - some members of NATO informally made statements, but no treaties or agreements were ever formally put into place.

The mistake seems to be that they relied on individual leaders and general sentiment instead of codifying it into something concrete

Re:Antonovs in America (2012) on Monday February 28, 2022 @05:36AM (#30498415)
> I think it was because the brain involuntarily steers where people are looking, so those people trying too hard not to hit the tree might have involuntarily steered towards it, not sure, just my hypothesis because it made no sense.

This is actually called target fixation[1] and is part of why a helpful hint for a lot of new cyclists is to simply look where you want to go and don't overthink it.

[1] https://en.wikipedia.org/wiki/Target_fixation

Re:Wordle is pretty damn smart in many subtle ways on Wednesday February 23, 2022 @08:28AM (#30440717)
> And then the biggest mistake

Some might say the biggest mistake is not playing on hard mode ;)

> Hard Mode > Any revealed hints must be used in subsequent guesses

I prefer hardmode as it prevents the sort of elimination strategies, and it feels more like a strategic game. However it does come back to bite you if you get 4 letters early on for a combination that has a lot of possible answers.

Re:Building an iPod for 2022 on Tuesday February 15, 2022 @05:11PM (#30353532)
> Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.

Zawinski's Law of Software Envelopment is hardly a 2022 notion ;)

Older »