skysight-inc/HackerNews huggingface dataset:
What are Canada’s options for successfully resisting a US invasion? I imagine it could call on NATO and UK military support? Support from other commonwealth nations? It seems it would be outmatched by the US military might. I think its only real hope is that US military personnel would refuse to obey orders to attack our neighbors.

I really hope this doesn’t come to pass. Part of me has always expected the US to attempt this. I thought there could be a point in which climate change would become so bad and water and resources so scarce that the US would find it irresistible. I thought this scenario, if it happened, would be decades from now. It’s surreal to see it playing out. My SO is Canadian and if it happened, we would likely plan our own AmeriExit, for our family.
There would still have be some buffer between the amount of space you have left and the size of this heap - even if the OS were changed to treat this specific case as not being out of disk space, it would significantly impact write performance on the disk once it is 'full', because any disk operation would have potentially double the number of operations required compared to being able to write it to empty space on the disk
There is an arm version of pretty much every major Linux distribution now. I’ve used mint, debian, and kali all on arm.

Also, see below

https://distroware.gitlab.io/lists/RunsOnARM/
> Not sure what you find insane about it

How about array_filter() returning an associative array, because it doesn't renumber the indexes? You need to run it through array_values() after. You run into this all the time when converting to json.

For something more obscure but equally infuriating, how about using iterator_to_array() on anything that uses `yield from`? Everything yielded that way will overwrite previously yielded values, unless you pass a magic boolean parameter that of course defaults to doing the wrong thing (PHP is chock full of those). OFC it's because of the behavior of array keys.

How about when you do want associative array semantics and use a string index that consists entirely of numeric digits? It gets cast into an int, always, and you cannot control that. This is super "fun" when you run array_keys on your associative array you only used string keys on, and naïvely think it will return only strings. Crash at runtime if your function was declared to just take a string.

There are so many more WTFs, these were just off the top of my head from issues I've encountered recently. I make my living with PHP, but you'll never see me defending arrays. Though at least they're zero-based As The Deity Intended It.
So then "curing Alzheimer's" is akin to "curing cancer". If this is true, I wish this truth was better disseminated.

Is the theory now that Alzheimer's just actual brain rot, of which their are multiple causes, and that beta amyloid plaques are just detritus of a losing battle?
The reason for the undocumented interface is not because Windows needs to go into protected mode itself (which would be a simple operation that later on came to be available through the more documented DPMI-alikes) , but rather because Windows wants to _replace_ EMM386 itself and "therefore" (usual troll MS logic of the era) needs access to its internals.
What makes SRWLock buggy or over complicated?
Janito – A Claude-powered CLI assistant for developers
Show HN:
Janito is a CLI tool I built that brings Anthropic's Claude AI to your terminal for coding tasks and file management. It's designed to help developers stay in their workflow without context-switching to browsers or other tools.

Key features:
- Intelligent file management with real-time output
- Code search and editing capabilities
- Token usage tracking with cost reporting
- Web page fetching for research
- Parameter profiles to optimize Claude for different tasks
- Conversation history with ability to resume previous discussions
- Trust mode for concise output

Example usage:
```
# Create a project
janito "Create a Python script that fetches data from the GitHub API"

# Enhance it
janito "Add error handling and rate limiting"

# Continue the conversation
janito --continue "Add command-line arguments"
```

It's built with Python and requires an Anthropic API key. I'd appreciate any feedback or suggestions for improvement.

GitHub: https://github.com/joaompinto/janito
PyPI: https://pypi.org/project/janito/

Install: pip install janito
FWIW, if you believe that long-term, the market is a good optimizing engine (I think it's a very reasonable and well-proven belief), then this is just a matter of time before things sort themselves out.

The need for companies to get more value out of less spend won't disappear, nor will the comparative advantage of companies in lower CoL areas of the globe. That's two fundamental incentives on both sides that are aligned, driving the market to find the lowest-energy path from here to there. It'll get there, even if it ends up looking strange (like, idk., maybe cutting out management intermediaries but involving a middleman acting as insurance).

That is, if LLMs won't leapfrog it all and end software dev outsourcing before it started to work well.
How to include Git version information in a Golang binary
I've been trying to reason over this. I don't think Trump is insane or as stupid as they media is trying to paint him and I think some of the actions he will take will be taken by democrats too (ie: the tariffs on China).

I think if China continues its rise, the old world model positioned by the US (and its "allies") is pretty much dead. In this world, it would make sense for the US to concentrate resources near its vicinity (Canada, Greenland, Mexico) and only fortify positions in its continent (North and South America).
> That Craig person, the OP in the thread. Imagine doing all that work, having other people say, hey, that's an issue; and then all the people saying "so what" or "nothing can be done"

For context - Craig's opinion won out, and what he was suggesting (crash-restart and perform recovery) is what postgres has been doing for many years (with an option to revert back to retrying, but I haven't seen anybody toggle that).
blitz.gg might not be a good datasource. Mobalytics is better suited.
But you wouldn't call that car a general purpose vehicle
Many religious dictates of the two religions with a standing religious law and polity had a usefulness in the past and a second, slightly different usefulness in the modern era of loneliness, alienation, lack of identity, etc.
I always on purpose avoid macros and comptime as much as possible because they usually make code much harder to reason about and to debug. Also, often macros are hard to refactor.

Would you agree with my idea, or would you say I am missing something? Does Zig aleviate some of the problems I mentioned?
> $CEO says they use $HYPED_TECH to build their $PRODUCT.

Color me surprised.
This is pretty neat! Is font formatting allowed/possible in shortcuts? Would love the timestamp to be on a mono font! Tried fiddling with it, but haven't been able to figured it out.
Is it a plot twist if it’s the whole plot?
You would need to remove the older docs first and still than it will hallucinate. Forcing the llm to open the doc webpage does produce some hallucinations as well. The more context you provide the worse it gets.
And tbf inb4 most llms could migrate bootstrap to tailwindcss v3 without too much trouble (of course it fails to change tags when building css classes from multiple strings, but that’s fine)
And I tried a lot of models. It just broke from one week to another
Yeah, that makes sense. I was tripped up a bit because "march is warmer" sounds to me like an effect, not a cause - and it becomes paradoxical if there is a massive cold front underway at the same time.

But if they mean, there are other seasonal factors - such as daylight - that counteract the cold spell, which aren't there in winter, it makes more sense.
Personal data should be owned by us and a license given limiting it to the original company in its original form read entitlement only.

That's the only thing I can come up with to stop this and maybe have a side benefit of killing credit companies at 7am before I've had my cup of Joe.
argp: GNU-style command line argument parser for Go
Right, so people who claim to have this experience are lying, for no good reason.

While people who have a lot to gain from hiding problems with wind turbines are telling the truth.

Isn't that always how it works?
Show HN: Too many saved tools, ended up building a directory
Recently i saved a lot of tools and resources that i've found useful but it started to be a long list, so i built this website to browse more easily them and share with everyone

open to any feedbacks!:)
Judging by what I read in the comments, this is probably not a good time to go contracting/consulting which I believe is the primary formats of freelancing.

And I have something back in my head telling me that this time is different from 2001/2008 because of major geopolitical challenges ahead.

I think the best way is to stick to full time jobs, hop every 2 years to prevent "layoff without a backup plan", reduce as much cost as possible and hopefully retire in ten years.
It depends a lot on geography and (obviously) winds in the area.

I can assure you that it's very real, and very harmful on a daily basis.
He is highly immoral and your "makes sense" is just apology for literally trying to start a war.
Sending feedback also doesn’t work.

Classic AI sites.

Tbf this is the nicest looking AI site I’ve seen yet.
Musings on a Good Parallel Computer
If they're making the blog posts in their capacity as NOAA employees, on an NOAA web page, wouldn't that imply that these are "official agency communications"?

Or is there some distinction I'm missing?
https://archive.is/ZEdle
What makes you think the research was done in Fahrenheit? This is a blog post by a science communicator who’s trying to reach a wide audience of American-English speakers. It stands to reason that they’d use units that their audience is familiar with.
SRWLock perf is slightly better than Window WaitOnAddress stuff, and works on older versions of windows.
Ars is perfectly usable without Javascript. Either use Noscript or click the uBo shield and deselect the script tag.
I feel that calling it the AI tooling of the future is an exaggeration:

https://dev.to/internationale/the-mcp-trap-is-the-open-sourc...
A real combat simulator would have you polish boots and cleaning latrines for most of them time, and then wake you in the middle of the night with an artillery barrage.
Most people misunderstand what's really going on at the federal level. The federal government is a conglomerate of corporations (all listed on Dunn & Bradstreet), and the parent corporation has been forced into chapter 11 bankruptcy, and is also absorbing the debts of the District of Columbia municipal corporation's chapter 7 bankruptcy.

Musk is merely auditing and liquidating all the subsidiary corporations at the order of the bankruptcy court. That is why no federal judge is able to shut him down. Musk is walking into agencies with a court order and cannot be stopped.

Gotta remember - Trump was the king of bankruptcies. He had several very large corporations of his own go under.

When Musk and Trump are done, the federal government will be very lean indeed.
Wind, and moving shadows when the sun is behind them.

I find both annoying to live with daily.

And it's not like its a problem that couldn't be solved; I like the idea of wind turbines, just not at any cost.
Everything you need to know about safe rooms
Yeah, this cacophony of clacks is being recreated at my office by every other eng using a diabolical mechanical keyboard with no respect for the ears of their neighbors.
Im not against llms. I‘m just not a fan of people that says we have agi/singularity soon.
I basically dropped google to search for things about code, because even if it fails to get stuff right I can ask for the doc source and I can force it to give me a link or the exact example/wording of the docs.

But using it correctly means that especially junior developers have a way harder barrier of entry.
First, this is not an open source / weight release.

Second, it has the problem of non-stoping response.
And my gut feeling says neither of you is learning as much anymore either.
The issue is that we don’t have the primary data. This stuff is messy and the systems at play are extremely complicated. Often one of the most challenging parts of bio sciences is figuring out a test that will cleanly show a result that is true.

Without directly testing for a connection it’s extremely rare to get unexpected data that confirms an alternate hypothesis.

Even if the statistical tools are there, they can’t make up numbers that we haven’t collected yet.
And just for fun, `typeof null` returns `object`, which is an acknowledged bug they'll never fix because compatibility.
Thanks for the link. Apparently Google has more bots than I thought. But is that really a Google bot or is someone else using their name? I don't see 'GoogleAssociationService' listed in their documentation [1].

They do say it’s from Google IP addresses, but it might be someone running a bot in Google Cloud? Maybe they checked that, but we can’t tell from a tweet.

Seems like a reasonable approach might be to whitelist the documented Google bots and block others.

[1] https://developers.google.com/search/docs/crawling-indexing/...
There is 0 chance American military would resist those orders. They would obey.

Before the attack, there would be period of economic was and vilification of Canada. They would believe all of that and blame Canada for US economic problems. That process already started.

There would also be a period of replacing leadership and members by loyalists... that already started to happen too.
https://www.freedesktop.org/software/systemd/man/latest/syst...
Can you give any specific example?

I am currently working on project that would use ATP and I am vetting its spiders. So far I have not found any bad ones.

If you found one then knowing which one you mean would be highly useful!

(BTW, just marking something as copyrighted does not make it copyrighted)
♫ The cattle all have brucellosis, We'll get through somehow ♫
I am a fan of mindfulness, but grounded in (a) faith or religious/spiritual framework.

When it comes to 'corporate-style mindfulness', I like to think of the mindfulness as brushing a set of fake work-teeth that you may or may not care about.
If you are responsible for taking care of others, keep in mind that the way you act will stick with them

this was the biggest motivator for me to change my behavior. when i saw my kids doing things i didn't like, i realized that i was doing the same, and that they were most likely learning it from me, or if it wasn't me then i wasn't doing enough to model a better behavior.

the challenge is that many of these behaviors did not come out until i had kids. when you learn something from your parents, very often you don't get to apply that without kids, so you are not even aware that you would act like that until you are in the same situation with your kids.
I'm afraid this one's no exception to the law of headlines.
"...would be outmatched by the US military might." Such as in Korea, Vietnam or Afghanistan? Perhaps Canada could become the US version of Ukraine?
Americans are not the healthiest population on average so if anything, it proves the reverse point that you are trying to make...

Also, fiber advice is complete nonsense. There are now plenty of studies showing that fiber causes more problems, especially for people who get easily constipated.

The fiber bullshit comes precisely from bad science, that is directed by wants and political opinions, especially those of women in that case.

Fiber advice has come around because for some reason, it was thought that defecating more often is better and women like to "work" on their transit because of them wanting to look as fin as possible at all times.
So, they make you eat very low energy (and nutriments) food to make you shit more often, just because.
We could find better looking trees every year. We don't currently have pictures of every single tree on earth to judge like that.
Precisely, now you need to finish off the remaining 70%, which is where most of the work that is required truly lies, with or without all the AI bollocks. Whether it takes 2 or 8 days of work to get those 30% done, it's not much of a difference if you need several months(or in some cases years) to get a project to a tolerable "production" state. I'd much rather spend 8, as opposed to an AI-generated codebase which will shoot itself in the head because someone scrolled over it and thought "lgtm".
Yes, it is. Bare link promoting mildly related product/account/project, added without explanation and one that was easily replaceable with less promotional text is a spam.

At least in my opinion.
Could you please help me understand why exec is required for this touch example? Is it necessary to actually launch the touch binary? Or touch itself exec()s something else?
If a stalker already followed you into a coffee shop surely they have your name and address
> A group of researchers mostly based at Columbia University are testing whether valacyclovir, an antiviral used against HSV1, can slow down cognitive decline in people with early stage Alzheimer’s. Between 2018 and 2024, the researchers recruited 120 patients and treated half with the antiviral.

Outsider view: while I'm excited we're making progress, I can't shake a feeling of sadness that the best we could manage was a study this small, started 7 years ago. If it's as pivotal as the article suggests, one would hope we could get more than 60 people in the experimental arm (IIUC this antiviral is widely prescribed, well-tolerated, and off-patent). Nonetheless, excited to see the outcome
I’m no fan of the current administration at all, but I’m also weary of just accepting stories that confirm my bias.

I _feel_ like the administration would brag about blocking potential European terrorists or something of this was actually going on intentionally.

My gut tells me that the people getting blocked at the border are either running into extremely overzealous border guards OR are making some kind of ruckus anyway and complaining to the media after provoking guards somehow.

Still not acceptable behavior by border guards, but it’d be a far cry from a top down order.

I guess we’ll see how often these stories keep popping up.
There is no reflection in this example, this is easily replicated in C++
With Alzheimer's, it's possible that it's fraud hiding the linkage.

E.g., https://www.science.org/content/article/potential-fabricatio...

https://www.science.org/content/article/research-misconduct-...

https://arstechnica.com/science/2024/07/alzheimers-scientist...

https://stanforddaily.com/2023/02/17/internal-review-found-f...
which blog system is this? I like the theme.
That's fair enough. I'll consider it.

The irony here is that part of what I've learned is because of PUAs. Not Andrew Tate though, his advice is criminally toxic. And a lot of advice is metaphorical dirt to the point that it really does feel like one is mining for nuggets of gold of wisdom. Being sceptical but open really helped. Back then (2004), I had nowhere else to look. PUAs taught me the concept of playfulness really well, including the advice that taking improv classes help with that as well.

It was really hard to understand, given my specific blend of neurodivergence, but once I understood how a big part of my personality is inherently playful (always has been), a lot of my dating issues were fixed. Not all though, but I think unearthing my own inner playful self, which was there behind all the layers, has helped me tremendously. Thoroughly understanding and digging up my own playfulness has been one of the best investments in my life.

I also learned a lot thanks to Tal Ben-Shahar's positive psychology class in 2006. In an indirect way, I owe my HN username to that class as metta is loving-kindness meditation and meditation super charged my life (and dating life).
DOGE cuts are screwing up summer travel plans at national parks
I am not from the US, so I am not trying to be apologetic for anyone. His moral stance is irrelevant if you just want to weigh the odds of a war happening. At the end of the day, most of the world is run by interests and if the majority of interests are aligned against yours, you have to reconsider your position.
Russia UK agreement to tend war graves transcends bitter international relations
So they might not return money that taxpayers volunteered...
I can't believe we're at the point in history where criticizing our president is labeled "potential terrorism" and used to punish people.

Free speech is literally the first right granted by the bill of rights. Criticism of our president has _always_ been allowed.
Is the advantage over an enum not kind of small? We're seeing bugs here because people tried to do the right thing but the tooling has absolutely no way of helping anybody to do that. Simply preventing accidental mistakes would prevent these. Adding complexity to make it harder (though never impossible) for consumers to misuse the API in a complex way seems like it's potentially going to far.

Then again, it's been years since I used this kind of C, so maybe my instincts are rusty here (no rust-pun intended!)
What is it about an educated woman who doesn’t want to take anyone’s BS that scares you so much you’d repeat made up nonsense?
What's a good "dumb phone" these days to travel with?
What do you think of Typst https://typst.app/ ? They are planning a web target as well.
I only bring a secondary, recently factory reset phone with a basic account setup overseas. But I haven't been overseas since prior to COVID. My primary phone stays at home, it's too potentially valuable to allow any country's airport security to paw through freely.

I used to buy a local SIM card when I got to the airport. Next time I go overseas I might have to buy a new phone and SIM card.

Edit: from what others have said, I'll also be making sure my phone is shutdown before the plane lands.

I might also be looking very closely at GrapheneOS on a second hand pixel.
I've always found people who have such a strong agression toward OO are people who simply cannot grasp it.

Here is a list of these people who just don't "get it" and their quotes.

https://www.yegor256.com/2016/08/15/what-is-wrong-object-ori...

A particularly pertinent one is from the co-founder of Ycombinator:

“Object-oriented programming offers a sustainable way to write spaghetti code.”
So, Kelvin then?
Linkedin has been fined for their use of personal data for ad purposes (albeit through the RGPD framework after the CNIL passed the case to them):

https://www.lemonde.fr/pixels/article/2024/10/24/donnees-per...

Facebook is also targeted under the RGPD, we've been amply seeing the news. The CNIL doesn't need to be doing everything either.

There is and will be no silver bullet completely stopping companies from building databases. I see having an active agency responding to user feedback as at least a decent counterbalance to it, when it's a complete shit show in so many other countries.

> government

Right now the government having extensive databases allows people to manage all their health payments and data in one place, including any hospital getting access to their full history when they're brought in pain barely able to speak.
That also includes ease to vote on the net within minutes, check school records on a standardized site etc.

It's not perfect and probably abused in some way, but right now the net benefit at scale largely overshadows those IMHO.