MurphyA/hacker-news huggingface dataset:
by xhunmon | 2025-06-22 13:50:04+00:00
During the HarmonyOS Next app publishing process, if your app involves network services (such as APIs, cloud storage, user registration/login, etc.), you must complete domain registration and ICP filing. This article details the domain registration and compliance process, common issues, and official resources to help developers pass network compliance review smoothly.

1. When Is Domain Filing Required? Any app involving network services (such as server access, cloud APIs, push notifications, data sync, etc.) must use a registered and filed domain. Standalone local apps (completely offline) do not require filing. Domain filing is a legal requirement in mainland China; unfiled domains cannot be used in apps. 2. Domain Registration Process Choose a domain registrar (e.g., Huawei Cloud, Alibaba Cloud, Tencent Cloud, etc.). Check and purchase a suitable domain; choose a short domain related to your app brand. Complete real-name authentication, submit the registration application, and pay the fee. After successful registration, log in to the registrar's backend to manage the domain. Tip: Prefer major mainland China cloud providers for easier filing and better support.

3. ICP Filing Process Log in to the registrar's backend (e.g., Huawei Cloud), go to the "ICP Filing" page. Fill in the filing subject (enterprise/individual), website info, responsible person info, etc. Upload required documents (e.g., business license, responsible person's ID, website commitment letter, etc.). Wait for the registrar's preliminary review; after passing, submit to the authority for final review. Once approved, obtain the filing number and display it at the bottom of your app and website. Notes:

Enterprises need to provide a business license; individuals need an ID card. Filing usually takes 7-20 business days; plan ahead. During filing, the domain cannot be used for production; use a test domain or IP for debugging. ...
by edanm | 2025-06-22 13:50:33+00:00
Sorry, what? You're literally [edit: figuratively] flying in the face of... well, just about anyone who has any knowledge or expertise in the middle east.

It also flies in the face of anyone with general knowledge:

Two of Iran's main proxies are Hamas, that has been shooting rockets at Israel for the last 15 years, and launched a major invasion planned (in their mind) to destroy Israel?

And Hezbollah, which fought multiple wars with Israel, also launched hundreds of rockets at Israel since the Gaza war began, and had thousands of rockets aimed at Israel, as well as tens of thousand of ground troops hidden in caves and tunnels on the border of Israel, with plans to launch an invasion into Israel?

This is all on top of the Iranian regime saying over and over again that one of their goals is to destroy Israel?
by itsallboutsugar | 2025-06-22 13:50:42+00:00
Thank you, I initially came here to post a comment disencouraging sugar based on my anecdotal experience. It's indeed weird that people I know don't report the same immediate, acute, negative effects that I experience upon sugar consumption. Until now it never occurred to me my experience might not be universal. Curiously I have ADHD too. Maybe there is a link?

In my experience an apple = a bar of chocolate, has the exact same effect, no difference except maybe a bar of chocolate is slightly faster acting. Immediate brain fog, almost like being psuedo-drunk.

I too gave up on fruits after deluding myself for a long time that an apple a day is somehow healthy for me. In hindsight it's crystal clear addiction. I was looking forward the entire day to that moment where I'd 'allow' myself the fruit. I was frequently unable to stop eating after the determined portion.
by anon84873628 | 2025-06-22 13:50:43+00:00
Look, I'm no Trump supporter and not trying to defend his actions. But this comment just doesn't explain anything. Why would the Russians or Chinese choose to drive over the unstable bridge? The 'bad option he chooses' could be "bomb Three Gorges Dam" or something.

I'm also no fan of war or playing world police. I don't know whether destroying Iranian nuclear sites was ultimately the right or wrong decision. But there is clearly enough debate here in the rest of the comments that it's not obviously the wrong option. Even a broken clock can be right twice a day.
by foobarian | 2025-06-22 13:50:54+00:00
I wonder if the regime is holding back so as to not piss off the remaining JCPOA signatories. They only have until October [1], and after that it's not clear if they can agree on a renewed set of sanctions.

[1] https://iranwire.com/en/politics/136431-how-the-snapback-mec...
by mjburgess | 2025-06-22 13:52:08+00:00
They weren't willing to destroy the world. You do observe that sometimes one's own propaganda can backfire, esp. if its runs over years, and create a "middle management" layer of zaelots who arent aware it was for show.

So one quite important feature of stabre-ratting systems is that you don't have regieme-change instability where "lower tier zealots" who have been propagandised their whole lives suddenly take power -- because they, like the public, may be unaware it was just for show.

You're just repeating decades of US propaganda to me. I know it all. This was just a TV show put on to defend the rise of two empires, the US and the USSR -- the claims about ideology, world-destruction, communism, capitalism, etc. are all propangada. The goal the entire time, of both nations, was to expand their spheres of influence to each other's borders and to contain one another.

Here, the near entirity of iran's foreign policy is -- just like that of the US, USSR (and many other nations) -- a containment strategy for an highly militarised adversary. If iran took any other approach, israel would have invaded far earlier.
by netsharc | 2025-06-22 13:53:11+00:00
My anti-distraction setup uses multiple dnsmasqs, one of them has a long list of blocked (ad-)domains, and DNS tags, something like this (1).

So the devices with the "black" tag have a different DNS server (it's the same computer, but it has 2 IPs), and has DNS-level ad-blocking (convenient for phones) and can't access reddit, Twitter, etc. One device doesn't have blocks, in case the aggressive blocking breaks something. I guess it'd be great to use a slow laptop to browse brainrot sites to discourage me from doing so.

(1) https://stackoverflow.com/questions/22467430/dnsmasq-tags-an...
by triknomeister | 2025-06-22 13:53:19+00:00
Because they plan before implementation. They don't trust grassroot efforts in most work. While this works well for them in classically established fields, it makes them fall flat on their faces in anything that requires experimentation with scaling.

Europe only has two modes: 1. Time-limited research funding (which funds basic sciences) 2. Classical "planned" funding (which funds classical industries)

Both are symptoms of low-risk taking ability, the first one is bound on risk by time, the second one by planning. It doesn't have any institution that it can trust that can hand out funding which creates a bridge between the two. The real reason is that there's no EU-wide institution that has the trust and power of the EU-wide population for that purpose. And the fractured democracy is part of the reason for that.
by PaulHoule | 2025-06-22 13:54:48+00:00
Funny I thought Substack leaned right-wing but that list is heavy on center-left blogs, even the conservatives (The Bulwark) are anti-Trump. Even the Trump (Mary) is anti-Trump.

It’s been fun to see Freddie deBoer pick fights with Matthew Yglesias now that he’s in his manic phase (Freddie says he’s bipolar, which unlike a claim autism or ADHD, I believe) and not making a lot of sense.
by Neywiny | 2025-06-22 13:55:19+00:00
What's not mentioned is a comparison vs FPGAs. You can have a systolic, fully pipelined system for any data processing not just vectorized SIMD. Every primitive is able to work independently of everything else. For example, if you have 240 DSP slices (which is far from outrageous on low scale), a perfect design could use those as 240 cores at 100% throughput. No memory, caching, decoding, etc overhead.
by ndsipa_pomu | 2025-06-22 13:55:31+00:00
The basic premise seems odd to me - why would the constitution not include language specifying that "the people" referred to white people if that was their intention? It's not as though different skin colours didn't exist then or were rare. There's examples of 18th century gentlemen in England having dark skin (quite rare as most of them would have been slaves, servants or sailors), so I find it difficult to believe that the constitution writers were not aware of the distinction.
by LeonB | 2025-06-22 13:56:41+00:00
A community where every household does not have guns is safer than one that does: but not for a simple reason like “because we have the police which is meant to give security to people”

A safe community isn’t one where people are held in check by police. People are not roving around thinking “oh I’d break and enter and murder and rape but for the fact a police officer might shoot me.”

People in such a community lack guns but they do have things like a working public health system, decent education, daily encounters with other people that are positive and so on.

The threat of police shootings is not what makes a safe society safe.

Constructive, open and fair trade is the equivalent at an international level. Cooperative and trusting. Not staring down the barrel of each other’s guns.
by Muromec | 2025-06-22 13:56:59+00:00
I was with the author until that moment and the list of things "we" have supposedly forgot. Overtone window seems to be widening if anything. With the most unhinged hot takes of the 20th century being talked over again and all that.

At least the article doesn't blame "them" for doing it to "us". Or is it implied? Does the other article blame on the usual suspects of the day?
by ljm | 2025-06-22 13:57:52+00:00
The real security issue is around the use of ‘YOLO mode’ where you just let the agent invoke tools in a completely unattended manner. It’s not much different than slapping sudo in front of every shell command or running as root.

People are going to continue doing that because these agentic tasks can take some time to run and checking in to approve a command so often becomes an annoyance.

I can’t see a way around that except to have some kind of sandboxing or a concept of untrusted or tainted input rather than treating all tokens as the same. Maybe a way of detecting if the response of a tool is within a threshold of acceptability within the definition of the MCP (which is easier with structured output), which is used to force a manual confirmation or straight up rejection if it’s deemed to be unusual or unsafe.
by adrian_b | 2025-06-22 13:59:14+00:00
True, but FPGAs are suitable only for things that will not be produced in great numbers, because their cost and power consumption are many times higher than those of an ASIC.

For a company of the size of Google, the development costs for a custom TPU are quickly recovered.

Comparing a Google TPU with an FPGA is like comparing an injection-moulded part with a 3D-printed part.

Unfortunately, the difference in performance between FPGAs and ASICs has greatly increased in recent years, because the FPGAs have remain stuck on relatively ancient CMOS manufacturing processes, which are much less efficient than the state-of-the-art CMOS manufacturing processes.
by johannes1234321 | 2025-06-22 13:59:17+00:00
With so much attention on Das Boot, I would also recommend the DVD version of the TV series.

The TV version shows the monotony which transports the relief when finally making enemy contact a lot more. In the DVD versions the individual episodes are cut together into a continuing movie of more than 4 hours.

The director's cut however has improved visuals and sound, also worthwhile if you don't have the time for the big thing.
by ghkbrew | 2025-06-22 13:59:38+00:00
The chance that a positive result is a false positive depends on the false positive rate of your test and on total population statistics.

E.g. imagine your test has a 5% false positive rate for a disease only 1 in 1 million people has. If you test 1 million people you expect 50,000 false positive and 1 true positive. So the chance that one of those positive results is a false positive is 50,000/50,001, not 5/100.

Using a p-value threshold of 0.05 similar to saying: I'm going to use a test that will call a false result positive 5% of the time.

The author said: chance that a positive result is a false positive == the false positive rate.
by edanm | 2025-06-22 14:00:14+00:00
What does that matter? Are you saying you are more of an expert than everyone else?

Would you at least agree that yours is at the very least far from a mainstream opinion? I feel like you at least need to back it up with some evidence given that.

For the record, I have no formal expertise in anything related to this. I do live in Israel, have been living through the bombing campaigns, invasions etc of Iran's proxies for most of my life. The country that just "happened to be in the way".

Except in the case of Hezbollah (first Google result for "why was Hezbollah founded": "Hezbollah was conceived by Muslim clerics and funded by Iran primarily to fight the Israeli invasion of Lebanon."). And except in the case of Hamas, which governs the Gaza strip, on the border of Israel. This is the first time I've ever heard Hamas referred to as not mainly having to do with Israel, but with Saudi Arabia.

(In any case, differences in opinion aside, thank you for your service!)
by marginalia_nu | 2025-06-22 14:00:30+00:00
Dunno, there are other aspects of environment variables that deteriorate the dev experience. They're very conducive to spooky action at a distance, since they're silently being passed along from parent-process to child-process (except when they aren't).

They can cause a lot of annoying bugs, and sometimes it's hard to track down where they are coming from (especially when dealing with stuff running in containers).
by kgwxd | 2025-06-22 14:00:34+00:00
Yeah, tyrannic rule is on the rise. There's no greater single ruler, vested with absolute power, than the imaginary, one true god. Despicable men use it's name in vain to do whatever the "flock" will let them. We're moving backwards at breakneck speed.

Also, that's not what "losing my religion" means.
by treetalker | 2025-06-22 14:00:49+00:00
Try this: never read without a pencil in your hand. Make it a point to not only orally or mentally restate but also rewrite by hand everything you read (on-screen and in real life) in your own words, and to make multiple drafts of each restatement until it is as succinct, orderly, and logical as possible.

This practice will probably help you:

* recognize and stop reading low-value material;

* read less on your phone;

* deeply understand what you're reading;

* identify errors in what you're reading;

* identify errors in your own understanding;

* improve your own writing (and possibly your handwriting!);

* recall what you've read and what it says and means; and

* build a record of your reading, reactions, and thinking.

And, of course, I think it should improve your ability to focus.

You can also make flashcards while you're at it (again, handwritten ones) and develop a spaced-repetition practice for the important information and skills.

--- Later Edit ---

You mention long-form text in particular. One of the most effective tactics to use while reading is to discern the writing's architecture/structure — at all levels, from the writing's genre, to its main components and their arrangement, to how each main part is composed, and so on. Doing so not only helps to understand and critique the author's ideas, but also becomes a fun game that keeps your attention directed.

And also keep in mind that > 99% of all writing is not only not great but also probably not worth reading in the first place. It's ok to use boredom as a guide: your mind may be indicating through boredom and distraction that what you're reading isn't worth the time and effort and attention it takes to do so. But if you have decided that you must read something, or that you want to read it and understand it, then I've found that there's no substitute for the handwriting technique. Check out the Mortimer Adler book How to Read a Book for further suggestions.
by kikimora | 2025-06-22 14:00:49+00:00
>That’s your issue. If all you have is a hammer, everything looks like a nail.

While I admit lack of experience at scale I had my share of Linux admin experience to understand how it could be done. My point is that building a comparable environment without cloud would be much more than just 500 LoC. If you have relevant experience please share.

>I would be quite annoyed by such back and forth even on the cloud. I don’t even want to think about the costs of changing so often.

In cloud it took 1-2 weeks per iteration with several months in between when we have been using the solution. One person did it all, nobody in the team even noticed. Being able to iterate like this is valuable.
by anon84873628 | 2025-06-22 14:01:12+00:00
Was this dropping the ball? There seems to be a lot of debate about whether it was ultimately right or wrong long term.

In any case, it certainly doesn't weigh towards "not belligerent". I'm no Trump supporter or apologist, I just don't see how one can claim that this action changes the calculus for Russia and China. Maybe if he really had fully abandoned Ukraine then yes. But he's been happy to attack Yemen and Iran (and possibly Greenland for that matter) so why would China think they are immune? I suspect he also harbors more racism towards China than Russia.
by wonger_ | 2025-06-22 14:01:23+00:00
I just found out about an Android app where you can set up custom redirects for any links, OS-wide: https://github.com/TrianguloY/URLCheck

It's a little finnicky to set up, but I'm enjoying it so far. It goes beyond alternative frontend redirects. You can strip URL params, check domains against a blacklist, and choose native apps to open links that match a pattern.
by sweezyjeezy | 2025-06-22 14:01:28+00:00
This is a subtle point that even a lot of scientists don't understand. A p value or < 0.05 doesn't mean "there is less than a 5% chance the treatment is not effective". It means that "if the treatment was only as effective, (or worse) than the original, we'd have < 5% chance of seeing results this good". Note that in the second case we're making a weaker statement - it doesn't directly say anything about the particular experiment we ran and whether it was right or wrong with any probability, only about how extreme the final result was.

Consider this example - we don't change the treatment at all, we just update its name. We split into two groups and run the same treatment on both, but under one of the two names at random. We get a p value of 0.2 that the new one is better. Is it reasonable to say that there's a >= 80% chance it really was better, knowing that it was literally the same treatment?
by oezi | 2025-06-22 14:01:29+00:00
> Absolutely not the case. I've got 2 at the moment, right now. Had 4 running when I had 4 computers I was using.

Thanks for the correction. It seems up to 5 desktops can be linked at least since 5 years, which is odd because I recall this not working or at least causing the old device to unlink.
by teleforce | 2025-06-22 14:02:17+00:00
>I don't sleep great with all the constant rocket alarms because we're under fire and I have to take my kids to the safe room.

If you are direct descendants of the original Jews that have been living in the area for many centuries, I really hope that you and your family are safe from all the troubles.

But if you're of the new recent Jewish immigrants to the promised land of Israel, I've really bad news for you. Personally I'd migrate elsewhere than accidently caught in the perpetual crossfire [1],[2],[3].

> Israel has one of the highest ratios of secular/atheists

I'm not sure whether you're naive or pretending to be naive, but don't be fool to think that the Israel - Palestinian conflict is a nationalist or secular agenda, it's not and it's never was. It's highly religious matter and as you probably know the area surrounding Jerusalem is the holy land site for the three world's major religions namely Jewish, Christian and Islam, and the Jerusalem is mentioned specifically inside the Old Testament, New Testament and Quran, all originally in Semite based languages.

The root causes are religious and the solutions are also going to be religious based solutions, and those who think otherwise is either naive or in-denial, or both. There were already many many wars fought in the name of religions in Jerusalem, from David vs Goliath to subsequent Jewish wars with Persian and Roman, several hundreds years of Roman/Byzantine - Persian wars, several hundreds years of Crusades - Muslim wars, and now the Israel - Palestinian hundred years wars [1],[2],[3].

Fun facts, in the Quran Jewish people were mostly referred as Bani Israel (son of Israel or Yaakob/Jacob) not Yahudi as normally referred in the Arabic language, and both Cristians and Jewish together were referred as the People of the Books. The term 'Israel' is being used in the Quran more than thousands years ago, ironically it's being adopted by current Israel govt.

Another fun facts, most of the US Presidents (45) are descendants of the Eleanor of Aquitaine [4]. She's the Queen of France and later after her divorce, Queen of England. She's the mother of King Richard the Lionheart, the infamous Crusades King l, and also mother of King John Plantagenet. She's also the major sponsor and player of early Crusades [5].

[1] Jewish – Roman wars:

https://en.wikipedia.org/wiki/Jewish%E2%80%93Roman_wars

[2] Roman - Persian Wars:

https://www.heritage-history.com/index.php?c=resources&s=war...

[3] Crusades:

https://en.wikipedia.org/wiki/Crusades

[4] US Presidential Relationships to King John Plantagenet:

https://www.wikitree.com/wiki/Space:US_Presidential_Relation...

[5] Eleanor of Aquitaine:

https://en.wikipedia.org/wiki/Eleanor_of_Aquitaine
by nathan_compton | 2025-06-22 14:02:22+00:00
The main difference now is that everyone sees everyone else's overton window because we are all just letting our asses hang out on social media and this engenders a lot of conflict, dog-piling, etc. Not great stuff, certainly, but not really evidence that the overton window is narrowing.

In other respects I think the submission is more on point, though still reactionary.
by mattmaroon | 2025-06-22 14:02:30+00:00
Islamism != Islam. Plenty of Muslims (most, thankfully) are not Islamists, including Pakistan. Pakistan also does not fund terror globally (though India says they do it locally) because they do not believe they go to heaven for killing Israelis. There are a number of Muslims, including the Supreme Leader, who do. My contention was not that any muslims would nuke Israel if they had a chance, most surely would not, but it's reasonable to believe Iran would. Hamas and Hezbollah would, and Iran would love to give them the opportunity.

South Korea was never going to attack North Korea because, as I mentioned, they had plenty of conventional weapons they could easily deliver to South Korea. They had mutually assured destruction before they even tried to get nukes, that's why they succeeded. Iran does not have that yet, and must be stopped before they do.

I do now know whether this was the right way to do it by any means, and I think it's a shame that the Obama-era deal was abandoned. I think we could possibly have gotten here through peaceful measures. But we did need to get to here.
by k1rd | 2025-06-22 14:02:41+00:00
Not yet! there are ways to do it with https://github.com/mozilla/webextension-polyfill but i want to focus on one thing at a time for now!

BTW firefox was my main driver before starting develop for the web, then i realized it has a 5% share so it is better for me to focus on chrome for now.

Will revisit if i get 1000 users on chrome or if many people ask for it.