skysight-inc/HackerNews huggingface dataset:
That's been done before. The original Modula 1 compiler had that. In a language where the default parameter mode is a read-only reference, it's an obvious optimization.

The reverse is true. Anything passed by value can be treated as const reference by the compiler if the compiler knows enough about access and lifetime. The compiler must be able to determine that the parameter is neither deallocated nor modified while the function is using it. Rust compilers should be able to do that.
Yes. When I attended an IAEA Safeguards conference in 2018, there were a number of these civilian nuclear battery designs but none had been built. A small nuclear battery can replace building-size diesel generators which remote communities and islands, data centers, etc. currently use as a primary or backup power source.
Who cares, it's China's business.
I'll politely disagree. The mundane libraries I think you're talking about tend to be about IO, that's always going to be side-effectful in nature. Their APIs wouldn't be all that different even if implemented directly in Clojure.

Type hinting isn't hard or time consuming, literally you can take 10min and have everything type hinted.

Now I don't know about big frameworks, maybe I don't find a need for big frameworks? But even then, what kind of framework are you talking about? Using Spring MVC for example?
I think you're right, tho not an expert with multiple connections. I think if the DB is in WAL mode and you're only issuing read-only requests, then there will be no lock and long HTTP requests won't lock anything up. But if you issue a write-request that locks tables, then other write-requests will be blocked with long requests.

But if you're in journal mode then there's not much you can do. Please correct me if I'm wrong!
is the "_optout" part of "_optout_nomap" required? i thought "_nomap" is sufficient.
https://support.google.com/maps/answer/1725632?hl=en#zippy=%...
Ask HN: Locked out of Amazon accounts for a month
Suddenly Amazon Shopping asked me to change my password. I got authenticated, including with my 2FA, and picked a new password, but I keep getting server errors that something went wrong and asking me to retry later. I attempted on different browsers, the mobile app, incognito mode, etc. I kept trying this for weeks, hoping somebody would attend to the logging errors. Finally, I opened a ticket with Amazon Shopping, which has not been worked on for a month after being on the phone with them twice. Yesterday, I tried to use my AWS account and have a support plan for it but encountered the same issue. My IAM users and root user also experiences the same problems, and a password reset is mandated without explaining why. For whatever reason, Amazon has flagged all my accounts and IAM users as needing a password reset, and their password reset system does not work, and I'm locked out of everywhere! Their support pretends that they care, but nothing has changed! At least I managed to ask them to refund my Prime subscription, which I cannot use - I can't tell if it got canceled as I got no emails confirming that. I need a purchase receipt - I don't have access to them for the same reason. This is turning into a huge nightmare. I cannot do anything with my useless support subscriptions as, obviously, to get a good case into the system, you need to be able to log in. I pinged their Twitter support, and they again pretended they cared, but nothing different happened. I can't even cancel the useless support subscription.

I am pretty sure this is some software change issue, given how old my Amazon Shopping and AWS accounts are. They've flagged my account for some reason, although I have received no notification about this.

Given how much of my online shopping life relied on Amazon Shopping and AWS, which, even with paid support nowadays, seems useless, this is not acceptable for a modern technology company! I tried purchasing certain products directly, but many manufacturers work exclusively with Amazon.

At the end of the day, Amazon is losing revenue, not me. And sends a clear message that something's wrong with their system, which used to provide quality support and considered the logging process sacred - we all know the original Amazon Shopping, which even allowed people to create multiple accounts with the same email so that they can still complete their purchases. This is no longer the chase! A forced password reset goes against what made them big!

I am looking into alternatives such as Walmart+ and Amazon will lose loyal customers spending thousands every month. For supplements, for example, I'm trying to move my business to iHerb - I've already canceled all my Subscribe & Save subscriptions thru their customer service (that they can handle, but they can't remove the requirement to reset the password).
Then they should be even more amenable to offering subscriptions. Unlike VCs, bootstrappers can't afford to sell only one time licenses to their products, especially at a sub 10 dollar price.
Those dogecoins aren't going to mine themselves.
What's your objection to people needing spaces where they feel safe?

I'm currently healing from PTSD and I can get triggered by a wide range of different situations and have flashbacks which last hours. I attend a community centre at a local mental health charity which is a space I feel safe in, and I'm not really able socialise in many other spaces at present. Am I correct in inferring from your comment that you think I would be better off in a culture where I was ridiculed for needing a space like this? Or did I misunderstand what you're saying?
Doesn't matter, it is just a bridge node. Tor is resilient to that mode of attack.
Replication is handled by FDB so you don't need to care about it on the application level. These databases can contain partitioned data of your application, like one DB per user, so that a transaction on only user A and another one on only user B won't conflict.
No other solution I am aware of meets that criteria, happy to be shown otherwise.
Something like Phoenix? Elixir is a newer language, with a lot of similarities to Clojure. Phoenix even made the most loved web framework in the Stack Overflow 2022 survey.

Why did they converge on something so, apparently, great, in such a low amount of time? And why is this so hard for Clojure?

Not taking sides or trying to be negative, just honestly curious what the driving factor is.
American yes, Chinese no.
Which is why PHEVs could be a way to minimize dependency on that chain without requiring everyone to purchase an EV with an 80kWh+ battery.
I disagree. It’s a way to enjoy an experience that is “outside” of your “moral code” without the moral consequences.
Back of the envelope, 60MW is 30,000 homes. So a small city or very large town could install just a couple of these and be completely set.
I (re)discovered an interest in natural scents earlier this year when I tried eliminating petrochemical skin products. Coconut oil and aloe vera (about 80:20), olive oil liquid soap, and essential oils - including patchouli, cedar, oak moss, lavender, vetiver, (European) bay, tea tree, melissa. My best effort so far is a rosemary/eucalyptus/bay aftershave balm.
Hum, I've used Spring with Clojure a lot, never had issues.

Things that are difficult to interop are java annotations based stuff, having to implement interfaces or subclass classes, and functional interfaces.

But you can use Spring without annotations, which is my preferred way anyways, because I favor explicit over implicit.
This is wrong on numerous points.

> China is banned from international space cooperation.

Firstly, China is not banned from international space cooperation. They have worked with several other agencies including ESA and Roscosmos. The only ban that exists is the US restricting China from working with it because of a history of their seizing and stealing of US civil space technology for military purposes.

> In order to do that, risks must be taken and sacrifices are necessary.

You can take risks and sacrifices without endangering the general public of your own country and especially without endangering the public of the world. China has the technology to de-orbit vehicles, they just refuse to implement it on some vehicles.

> They see lack of science and technology as one of the main reasons why the were so miserable the past 150 years (minus the past 40 years or so).

This is the myth of "chinese national humiliation" that is a common talking point of Chinese nationalists and is used to foment nationalist sentiment. Repeating it doesn't make it real.

> But China is very much a country that prioritizes collective interests over individual interests.

You can do that (with criticism) and endanger the population of your own country but you can't at all do that internationally. That's a ridiculous claim.

> This isn't even a weird thing on the world stage: most Asian countries have a similar mindset.

This is again completely false. Japan values the life of an individual at even higher levels than we do in the US. It's not an Asian sentiment. It's a Chinese Communist Party sentiment. (BTW this technique of expanding their own values to all of Asia is something that Imperial Japan did heavily in the decades lead up to WW2. Let's hope China doesn't head along a similiar route. https://en.wikipedia.org/wiki/Greater_East_Asia_Co-Prosperit...)
Or a post that's about the cloud, and the follow up "You Don't Need The Cloud" post?
The problem is that we don't have any high quality data on most crimes. Virtually all murders are reported. But victims often don't report lesser crimes, especially in places like San Francisco where they know that the police won't bother to investigate and the DA won't bother to prosecute.

The closest thing we have is the National Crime Victimization Survey (NCVS), but so far they only have data through 2020.

https://bjs.ojp.gov/data-collection/ncvs#publications-0
"While many fencers justify their actions by saying they only steal from large corporations"

And who ends up paying for it, in the end? Not faceless corporations, I can promise you that.
I think if Chernobyl happens on the open sea, then it's not very dangerous, but if you imagine nuke aircraft crashes in dense populated areas.
I really don’t understand this reliability question. There was Fukushima and Chernobyl in my lifetime. Fukushima got earthquake and tsunami at the same time. Shit happens. I have no opinion about Chernobyl since it was in a country with extremely poor working culture. But otherwise in my opinion nuclear power plant is just another piece of big machinery. Comparable to semiconductor fab. They have there enough of interesting gases to gas whole population of the next city. But it never happened yet.
Mega Millions ticket wins $1.34B lottery jackpot
I agree. I think a zero defect mentality keeps things moving along smoothly. Unfortunately, people think I'm just being a perfectionist. I'm just trying to not trip on the treadmill. Every bug is another stumbling block.
I see two main points as to what Chegg is doing wrong:

1. Their "homework help" service is more of a "do my homework for me" service

2. They intentionally don't require any verification that questions submitted are actually from homework rather than from an exam
This feels like a big win for privacy. I just hope that it's communicated well enough that users know to enable it when they send in their phone for repairs.

I also wish there was a way to enable it if the touchscreen is inaccessible, as it usually is by the time I would consider seeking repairs.
ah _optout is microsoft i did not know that.
> Community management is bad, even worse that RH nourishes this elitist aura around himself.

I have never seen Rich say or do anything that matches this description.
I wish we were discusssing programming languages or technical problem solving! This is sub-Facebook level.
the information i got from rt was that putin says he’s invading bc the us is putting missiles in ukraine, which take a certain amount of minutes to hit moscow, which putin claimed was unacceptable to russian national security. from the west the only info you get is that he’s crazy and there was no reason at all for the invasion. so without even getting into details of is it actually true or not, it was nice to at least hear putin’s rationale, because the west’s explanation that he’s doing this for no reason except that he’s crazy is really insulting to the intelligence of everyone who is not a complete moron. but unfortunately that is 99% of people.
Futility Closet is always interesting and/or amusing.

https://www.futilitycloset.com/
Wow, AT&T Uverse (DSL) and AT&T Direct Stream (fiber) are not BGP-Safe.
This sounds really cool, do you have any source code in a workable state yet or is this project still in the formulative ideation phase?

If there's anything concrete so far, I'd love to take a look and/or try it out!
This is what happens when you think that brands are a fungible resource that you can just move around to give a free boost when launching products. People generally like windows Defender so they use the name for five other unrelated products until the name is diluted to nothing.
Yes. There was definitely a human named Jesus who “was baptized by John the Baptist and crucified by order of the Roman Prefect Pontius Pilate.”

https://en.wikipedia.org/wiki/Historicity_of_Jesus
It goes to show how this is a problem that affects everywhere. Higher stakes education means more cheating. I think it also sheds light on the cynical reality that college is just a very expensive ticket to the middle class and learning will always be secondary to that.
Keep in mind that the US is generating about 20x the amount of high level nuclear waste than if it were to recycle spent fuel. The French do it, but Americans won't.
Shorter HN: generalized global goals remain largely unchanged, decades after decades.
I think the problem is that if you want to write code portable between clj and cljs, you’re gonna need a lightweight abstraction. With that said, I’m still not sure how exactly the maintainers feel about portable code, having written a portable http library.
Could Europe even use electricity to heat? I assumed the gas was mostly being used directly in gas furnaces. Heat pumps are only just getting to where they can work in extreme cold right?
I agree in principle, but I am not aware of any nuclear powered battleships. Iowa class BBs have steam turbines running on fuel oil.
Apple's Cocoa framework itself reused the name of a 90's visual programming language for kids developed by its own Advanced Technology Group. It was certainly a play on "java for kids."

https://en.wikipedia.org/wiki/Stagecast_Creator
I'm pretty sure Taiwan cares, and anyone else that believes Democracy is worth fighting for.
> Such people can believe black people are inferior, or lgbtq is wrong, without it deriving from hate. Their hate comes from people trying to "corrupt" their children's beliefs, and anyone with a child would feel precisely the same way, if they thought the thing taught, was very wrong.

I think I understand what you’re trying to say but if you explore the next “layer” of their beliefs and ask why they’re so afraid you’ll find the ultimate root of these beliefs is hatred.
> I think the general challenge of "how do we get a sustainable, supported, mature/polished open source ecosystem of software that we can use that works together" is kind something we don't really understand

I think one problem is people who tend to flock to niche languages like to write libraries so what happens is you get a random person on the internet who makes a library, then they eventually stop using it personally and the project dies because they were the sole maintainer championing the project. You have this happen in parallel and the next thing you know you have 3-4 libraries that are either missing big features, fall out of date, go into maintenance mode, etc.. I saw this a lot with Elixir's community libraries (Stripe, AWS SDK, pagination, etc.).

There is a chicken / egg aspect to it because I think the fix here is to eventually get popular enough where you have a large enough of a community around the language and ecosystem that the most popular projects for a specific feature get so popular that they can't die because too many people depend on it and then a bunch of folks start to contribute to it and the community informally blesses 1 solution as "the" solution. The chicken / egg problem here is that a lot of people want to use Stripe, not create a library to use Stripe, etc. so it never gets mass adopted.

I think the best way for this to happen is organically. Trying to create a committee with an org with specific contributors trying to invent solutions is going about it in the opposite way. The best libraries tend to be extracted out of real projects and grow to become popular because the person or people behind it have a skillset around not only creating high quality software but also a dedication to create great documentation, can handle support, have lots of tests and generally have created a maintainable code base that makes it easy for others to contribute.

> Ruby is no longer always considered popular enough to get an SDK from a vendor.

Do you have a bunch of examples here? I haven't come across that with the usual libs I use (Stripe, Braintree, PayPal, Sentry, Datadog, Mux, AWS, etc.).
It already works! There are steps to try it in readme.
Will you pay out in the event that SS7 is compromised, as opposed to your support people giving the swap to a random attacker?

I think this is cool, but also think it's important to be clear what's being offered.
I did a huge security audit gig at a stock market in a family-run kingdom. Needless to say, my team had to present the results in front of a prince who was not technical in any way.

Before entering we were told, "You can't mention anything in a negative light. People will lose their jobs and never be able to get a job elsewhere." I was already aware of the requirement to have release letters from previous employers when hoping to take on a job elsewhere, but until then, it hadn't occurred to me how serious and limiting that was.

I had to really pussy foot around the issues (ie: Nobody was doing a bad job, the things that looked bad were super common, they can be fixed in a jiffy, these are all part of the learning experience in this brave new technological world...), and focused heavily on what kinds of things they were reasonably well on the way with.

Otherwise their info security was super lousy. I just wasn't able to say so because of the repercussions for others.
Did you intend "shard", or s/shard/partition/?
This isn’t remotely an issue on gigabit links, where I use it. Not sure how much of a problem it is at lower speeds - it isn’t my go-to solution on the public Internet.
You're right that it's a chicken and egg problem. The place needs some resource to incentivize jumpstarting that infrastructure and it's not clear what that would be.
The Node ecosystem still has tooling problems
> Google "math is whiteness"

That's about how teaching methods are failing some children, and then they're being judged for it unfairly. It's not against proper education and testing and using that to sort.
Personally, I think prison ought to be structured a lot more like life outside prison. You teach people what they need to do to be successful outside, which has some obvious benefits.

Provide for jobs, pay a reasonable market wage, a fair amount of paid time off and/or sick leave.

Then teach them how to pay bills and prioritize. Charge reasonable rates for accommodations, food, and amenities. Let people upgrade their room for an increased monthly fee. Maybe they can pay for cable. If someone wants a steak on their birthday, they can splurge and get one -- but it will cost them more than their usual meal.

Now you're probably asking: "but what if they refuse to work?" I say: the same thing that happens outside a prison. You don't work, you don't get paid. You don't get paid, you can't buy food. You can't buy food, you don't eat. The problem will solve itself after a while.
I was liking the article until I read the bash on Republicans.

I tend to vote Republican, and I've sold my car. I have Democrat friends that drive trucks and big motorcycles purely for pleasure.

So tired of the political nagging and innuendo in every little thing. It's probably going to get worse as November draws closer.
Thats surprising, from my experience his clarity is what sets him apart from most other german philosophers of the time. The open society and its enemies takes a really long breath to read but his shorter essay-style booklets are very good.
Mr. Rogers is one of the purest people to have ever walked this Earth. I used to infrequently run into him outside of WQED’s studios when walking to and from CMU’s campus and without fail, he’d have a huge smile on his face and tell me (as I’m sure he did everyone!) to have a great day and that he was proud.

To this day the memory brings a huge smile to my face. What a human being.
The recommended design for Clojure programs is imperative shell, functional core. You use Clojure as your functional core, and it interops with mundane libraries for the imperative shell, such as database clients, http clients, logging, http server, graphics, sound, etc.

It works beautifully, and the REPL helps with all of it.
As a bootstrapped developer though, I love subscriptions. They offer consistent and predictable cashflow with which I can hire other developers and employees. A one time purchase, unless you have data [0] on how it's going, is less predictable.

[0] https://remoteok.com/open
Do they all include the words “postmaster” or “server at”?

You also have to handle subscribers who want to unsubscribe. You need a footer with an unsubscribe link and a web server and software at your end that handles that. Or, use a mail list service that handles that.
In some video games, they would just model the mirror image of the room to cheaply get a mirror to look correct. Some hacks would allow you to walk into the mirror world.

Otherwise, it's normally done with a clipped modified camera projection and rendering the original scene.

All in all it's a lot more complicated than you might imagine.
Nice, I dug a bit and found the git repository:

https://github.com/losfair/mvsqlite

Would be great to add this link to the body of your story to make it easy for HNers to get to the thing :)

If no longer editable, consider emailing moderator Dang (hn@ycombinator.com).
> chances of meltdown projected at 1/3704 reactor years

That is for existing reactors. The point of new designs is to do better:

"The likelihood of core damage due to NuScale reactor equipment failures while at full power conditions is 1 event per module every ~3 Billion Years."

https://www.nuscalepower.com/benefits/safety-features/emerge...
How the world was built for us
No. In particular, the issue is that PTSD is a (mental) illness and deserves our understanding and help. However, it is not helpful to shape all of society around this.
I guess "partition" is the better wording. Updated my comment.
I'm not sure what your point is here.
Ask HN: Is there a tool you use just for reading code?
When writing code, I'm a huge fan of using keyboard driven development. But sometimes I just want to read code, either to review or to learn things in a mouse-driven and read-only environment. Git forges seem like the obvious answer to this but they're slower to browse and not as customizable as your favorite text editor/IDE.

Is there an application you use to read code? And am I alone in feeling the need of such tool?