skysight-inc/HackerNews huggingface dataset:
> Nature (biological systems) do not in general consume all available resources to die off.

So what happens to a deer population if it is established somewhere with no natural predators? Same question for any other prey species. You can also ask the same question for what happens when a predatory population expands rapidly but this is harder to control all variables for.

I still disagree that there is anything unnatural. Yes, ionizing radiation can easily kill most living things, no it is not something that life could not adapt to. The only reason that most organisms are not tolerant of high levels of radiation is because this particular planet doesn't have high levels of radiation (though we do have a non-zero amount of background radiation that we are all very tolerant of). There currently exist organisms that are tolerant of high levels or radiation and given enough time to evolve that would be possible for life in general.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC99018
Got it in summer 2022. The worst things were rapidly changing fever (temperature between 37° and 40°C) for two days and loss of smell for a couple of weeks when I felt otherwise healthy again. No fatigue or memory trouble worse or longer than a medium cold AFAICT, luckier than some people I know. Three shots of Moderna at the time, recently got a Pfizer omicron booster. The latter won't help for long, but I'll meet vulnerable older family members over the holidays, so...
Uh, isn't using `memcpy()` to copy strings doing exactly that?

The problem is that `memcpy()` doesn't know about (of course) string terminators, so you have to do a separate call to `strlen()` to figure out the length, thus visiting every character twice which of course makes no sense at all (spoken like a C programmer I guess ... since I am one).

If you already know the length due to other means, then of course it's fine to use `memcpy()` as long as you remember to include the terminator. :)
Normally if you submit the same link as someone else it will be automatically flagged as a duplicate, and you'll get a link to the original post. This works well most of the time, which is why I was surprised that individual tweets (with their very specific URLs) didn't set it off.

The duplication filter is run by HN rather than user flags. Most of the time it's effective, although if someone posts an interesting story at the wrong time of day and it dies for lack of attention the dupe filter can defeat subsequent efforts by people to repost it. However it's easy to circumvent by modifying the submission URL, just don't abuse it.
Which is precisely why I would refuse to dive with someone that doesn't carry two second stages.
Ecuador has no-cost public healthcare. The US does't. Not having money in the US will literally actively kill you.
Which can be tracked… Likely all the way via satellite.
Apple Messages and Color Contrast
As they erased themselves, all their tweets deleted since somewhere in October :)
So then I need to eat the fried chicken on the side like a sucker???
There's also the existing code at the site for reference. That's how you should be doing things. You need a really good reason to not follow the local conventions. So, most answers you seek will be in the existing code base.

Also, I would add that most mainframe programming is flat procedural (no objects, no complex data structures - heck, COBOL doesn't have real strings). So the vendor manuals cover most of what you need to know, as things don't get too complicated and obscure. And there are always colleagues to ask too.
Ask HN: Do you use music when coding/working with computers?
If so, what type of music do you listen?
If not, why don't you listen to music?

For my personal case, music stimulates my creativity, so when I do coding my playlist usually comes from https://www.youtube.com/@cryochamberlabel. For me, ambience music sets my mind away from everything and just focuses on the current task.

I've tried to work on a quiet room, no sound at all, but distractions occur more frequently, using music is a matter of vanishing distractions as much as possible.
Wow! Imagine designing a user interface via careful, evidence- and feedback-driven development, as opposed to just doing what subjectively "looks good" to a sheltered SV """designer""" and shuffling it all every 6 months.
I don't know. On the one hand - yes, let's stop patronizing people. On the other hand we need to be responsible. There are many vulnerable people, they can't just get their shit together and become tech-savvy.
> I think this is a bad move, since security is more than enough.

Security isn't/wasn't the concern, the trade-offs exist to ensure verifiability in the most trustless way possible (low hardware and bandwidth requirements). This enables a decentralized system which is open to any participant and keeps miners accountable. If running a node is limited to miners and exchanges and requires a renting server racks there is just no point.

> Lightning is not viable, because it requires "watchtowers" to check for early state commit attacks

This is inaccurate. LN has shortcomings currently but this isn't one. Without a watchtower your peer in a channel can force close it while you are offline by publishing an outdated state on-chain and attempt to defraud you, but if at any point before the end of the grace period (usually ~2 weeks) you are online and you produce a more recent state you get the whole balance of this channel back (this is how dishonest peers are punished). This is one channel mechanism (Poon-Dryja), another mechanism (Eltoo) which doesn't require as much monitoring/penalties will eventually come but depends on changes to Bitcoin protocol which are still pending.

Secondly theses optional watchtowers which automate this process minimize trust a lot as they can only publish the most updated state IF and ONLY IF the counterparty in your channel published their outdated state. So they have no real custody of your funds.

Lastly solutions like local federations (Fedi to name one) can address your concern of people not being able to run servers, if the users aren't content with the public offers of existing watchtowers.

> But, for instance, Bitcoin Cash has larger blocks (the reason for the first fork of Bitcoin). However, in spite of its technical advantages, adoption severely lagged compared to Bitcoin. I wonder why that is.

Because having larger blocks is not a technical advantage if your goals are the principles mentioned in the first paragraph. If you intent to compromise on these then just build a centralized database, it will be more efficient and at least you won't lie to people pretending that your system is open/decentralized (like Bcash supporters do).
Right, but my point isn't that "we all need to use only Free Software" (even though I think it would be great if we did), but rather that these companies, let's take Apple for example, consist of engineers like ourselves. Why are we not fighting harder internally that these products & platforms should be less restrictive? There's a myriad of arguments about "security" and whatever else that can be made, but even something like in the case of Apple with macOS just having a checkbox that lets you run unsigned code and if you select that then you acknowledge the risks would go a long way in my book. It's similar to how Pixel devices work. There's a barrier to unlocking the bootloader that requires the user to acknowledge what they're doing, but it is possible. It doesn't need to be everyone using Free Software, but we should at the very least be far more insistent that these companies give us the option to use our devices as if they are truly our devices.
Tip: focus on how your app/site/feature is making users feel and try to understand why that is instead of blindlh doing what they ask.
TIL link for those curious [https://www.aclu.org/issues/voting-rights/voter-restoration/...].

Looks like only a couple permanent-disenfranchisers.
Gaslighting isn’t a word. It is all in your head.
Infinite loop with a constant expression is defined behavior.

for (;;) { }; cannot be assumed to have finite number of executions.
Therefore, it cannot be optimized away to finite execution.

You're showing potentially infinite loops with non-constant expression as condition.

for (; i != 0; ) {} can be assumed to have finite number of executions and can be optimized unless i is constant expression.
So how do the people who abandoned the web chasing $$$ in app stores feel now? The app stores have become as chaotic as the web, is it better?
Source? Genuine request - “chad loder suspended” doesn’t bring up any stories with info not in that newsweek article for me. Unless you’re meaning a different account?

[edit]

Had another go and the closest i can find is a report from Dec 2021

"However, Los Angeles-based activist and researcher Chad Loder said their account was permanently blocked after reports to Twitter over publicly-recorded images from an anti-vaccine rally and a confrontation outside the home of a former Vice journalist."

https://www.businesstimes.com.sg/startups-tech/technology/tw...

So it seems like he may have been suspended in the past for things that might count as doxxing - but his account had been re-instated since then. Either way, I can find no evidence to suggest there was another reason for his most recent suspension.
I may be (probably am) being stupid, but do any of the benchmarks they publish actually compare it with the original PyTorch version?
Track your business performance in a more efficient way
We live in NYC. Beginning of 2020, my partner and I entertained a friend who flew in from France. Shortly afterwards, we both got sick with what was the most persistent "flu" that we ever had (lasting 3 weeks or so). No tests available, so no confirmation if it was Covid.
Wait, so psychedelic mushrooms aren’t a drug by that definition?
Try it and see, I suppose. My experience of it is that you can read an individual conversation but if you just look at some random person's timeline it will only show you a few tweets before asking you to log in.
What's a package manager? Is that an app store?
Why? Linux is a community project that is open source, and containers are based on Linux. If you want native support for your proprietary OS then talk to your proprietary OS vendor since they are the one who should be supporting it.
Correct, but remember that in most properly cooled batteries, degradation is not substantial.

Based on some quick searching, a Tesla with 100,000 miles (many of which done DC fast charging, worse on the battery) retained 90% of its battery capacity and still goes over 200 miles on a single charge. (https://insideevs.com/reviews/573397/tesla-model-3-100k-batt...)

Most people do not need long range cars so this would still be worth it to buy and resell. Furthermore, as the price of new EVs drops, the battery price will also drop. The battery cannot be more expensive than the car's MSRP.
No, Google never stood up to Russia. A year ago they blocked a perfectly legal list of candidates published by Navalny team.
This article seems at odds with itself if I'm reading it correctly.

The augment put forth is partly that an app store / hub not accepting all possible apps is a form of censorship, but simultaneously asserts that that there are too many apps and an app store that doesn't accept all apps is providing a "curation" service that is beneficial to the user.

Maybe they are trying to make a delineation between a large scale app store and a small scale app store, but the point doesn't feel well defined or fleshed out.

Unsure what was meant by the statement "The freedom to get apps will always be in tension with the things that people want to keep out of their life"... applications being available to install doesn't mean you have to install them.

I agree that the iOS App Store and Google Play store enjoy a monopoly over much of the world, but I don't see that China has a less censored market. I understand China to have far greater government censorship over the internet and their applications than most other regions, so having a more even market share over multiple app stores doesn't necessarily improve the censorship issue.
I absolutely love Hasura. I basically never want to write a backend API again after using it. But yeah it is a GraphQL to SQL compiler (and yeah all the attributes are like "where", "aggregate", it obviously is SQL-in-GraphQL), which... yeah let's just use SQL everyone, come on.
Not counting e-bikes and scooters≥]…
On a more general level, perhaps it would be useful to have the option to mute certain keywords? Implementation should be trivial with a browser extension. Not that I need it, but I think this is a legitimate pain point.
https://archive.ph/3tuU0
How does this keep happening? Is lead just a ubiquitous material? Curious to learn about manufacturing and supply chain insights from someone in the biz.
That's what we call the No True Scotsman Fallacy. BlockFi was a crypto bank that promised unlimited returns by investing in crypto. Unregulated, untaxed, unmonitored, secret and opaque. An onramp to a federated market where deposits are tied to the value of the overall market for crypto holders. And it failed because it has no safety net by design. That's like saying Robinhood isn't the stock market.
or just use the minutes value.
Since you trust the long-term safety of the vaccines 100%, I guess it's reasonable to trust long-term predictions of the effects of covid 100% for you then.
Elon told his biographer that he came up with hyperloop to kill plans for California high speed rail.
A self selected fund that risks 10% of the wealth on BlockFi cannot and did not lose 100%.
I’m consistently surprised when people don’t evaluate Elon musks companies (sans Twitter which IMO was a bipolar mania induced fiasco) in the only lens that matters - the creation of the end to end infrastructure for building a persistent colony on mars. The boring companies only purpose is to provide the tools for living on a planet with no magnetosphere. The rest of this is just how to secure funding and apply R&D in preparation.

It’s not like he’s not been transparent about this.

Sadly he’ll be too busy conducting code reviews on check mark images to succeed in his vision.
Wait what? How can you claim that capitalism requires a company do unethical things while in the same comment giving an example of a company that chose not to do an unethical things?
Gmail's spam filter has been horrendous lately (~ couple of months)
Just gonna leave this here [https://www.bbc.com/news/health-43699484.amp].

I’ve also heard of folks having esophageal tears due to severe vomiting.

All ‘reactions to’, not ‘reactions from’ I guess?

That said, capsaicin is recognized as a chemical agent used in warfare, and having been through some training, it does suck to be sprayed.
You probably should read Popper before dismissing his ideas. If you don't want to, it's fine, but in that case it's hard to take your dismissal seriously.

Like more or less anything real, this is not a simple binary problem.
My first instinct was to say this seems like an overreaction to a joke, but this is a meme that originated from 4chan and the worst parts of reddit, so you might not be far off, given the track records for violence there.
So that's like what, 82 in Town and Country years?

Point being, 200k and 25yr on an SUV isn't that impressive on something expensive enough in its day to mostly avoid being rode hard and put away wet from day one. There are a lot of pretty pristine 90s Jags kicking around too and they weren't exactly the pinnacle of reliability. Minivans, commuter compacts, station wagons, they got chewed up and spit out.
No, they aren’t. If they don’t make changes that are observable outside the loop, they can be assumed to terminate. ThTs a compile-time thing. https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1509.pdf (not guaranteed to be equal to the final wording of the standard):

“An iteration statement that performs no input/output operations, does not access volatile objects, and performs no synchronization or atomic operations in its body, controlling expression, or (in the case of a for statement) its expression-3, may be assumed by the implementation to terminate.”

Rationale for including that: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1528.htm (basically, without it compilers can’t optimize loops that terminate as well as with it)
If I buy a fund that holds 90% cash and 10% of a BlockFi farming contract, then I only lost 10%. OP said only 10% was in blockfi, so he did not lose all his value.
Yeah, I grew up around it, but never learned to stomach slaughtering animals myself.
Journalism goes back to AT LEAST 200AD. Han dynasty China had regular government news bulletins, albeit for internal use, not public consumption.

Regularly published newspapers go back to the 1500's in China and early 1600's in the west.
Not at all. It's typically far more convenient to use a network available drive for backup. You rarely need to restore and even rarer to do a full system restore.
Seems like in the 90s we all had the impression that paper bags came from chopping down rainforests, and we should use the "recyclable" plastic bags. Turns out we just swallowed the oil industries BS, and we should just be supporting responsible forest management and using paper.
Bring your own key a placebo?
I upgraded my phone with the Black Friday sales... it was an iPhone 7 that I had gotten in 2016.

Eight years would be a bit long, but 6 years certainly isn't (the reason for my upgrade was that the battery wouldn't hold a charge for a full day and the "get a new phone" vs "upgrade the battery" was one I went with the new phone).

One of my coworkers has an iPhone 6.
I've seen some projects that say almost exactly this: Feature requests will be closed. If you have a contribution or patch, I'll look at it. If you want to pay for something, contact me.
Username/password. Just let me put in a key and be done.
OK but that doesn't explain why it reappeared in Raptor Lake.
Not in the least. Consumerism is not a substitute for real policy.

Imagine if instead of freeing the slaves, Abraham Lincoln just instead made "Freedom Credits" that were issued to businesses that didn't use slave labor, but it allowed companies that used slave labor to purchase surplus "Freedom Credits" as offsets so they could claim they're making progress towards their ESG goals. Maybe it would become part of these companies advertising like "Fairtrade" has. The net result is that we would still have some kind of chattel slavery.

As ridiculous as this sounds, this is what we are doing when we defer to market based solutions to help nibble away at real policy issues. Also, consumer choices are already highly constrained by what the market bares.
Right now the control center for me is just this annoying icon I never look at/touch and can't disable, much like Docker Desktop's. So it just adds to the problem.

Now that you mention it, in concept it seems appropriate for widgets I want ready access to but don't need to see all the time. But...

* there aren't that many things that fall into that category. I want to see at least my CPU graph, memory usage, network status (bandwidth, default route: wired vs wireless vs missing), datetime without any clicks.

* it doesn't seem as customizable as I'd want, e.g. I don't need a "Now Playing" thing that shows Apple Music. I never use Apple Music.

* isn't it redundant with the widgets that pop up when I click the date? I think that's the notification center, though I don't know why there are widgets like calendar and news in there.

* third-party stuff doesn't seem to use it. I suspect they can't or haven't bothered because of issues similar to those above, but I haven't looked into it.
In one of my best "tabletop" RPG session, we had no dice, no character sheets, just two coins. We upgraded to a D6 mid-game when someone found one lying around.

Wasn't D&D though, the rules (most of them made up) were particularly suited to that sort of play: lots of storytelling and brutal combat.
For context: AirDrop was one of the only ways protesters had to communicate en-masse.

Signal is unsafe for Chinese protesters, since it requires SMS verification upon signup and is therefore linked to your identity.[0] Mesh networks are the only real solution there, and AirDrop is about the only mainstream one. AirDrop has been used by Asian protesters for years.[1] I highly recomment you read the full China Digital Times article, which gives excellent context, and lets these protesters explain the value of AirDrop in their own words.[1]

Apple's timing is unmistakeably suspicious; keep in mind that there have been protests for weeks, which preceded the iOS update.

It must also be pointed out that Apple issued an official statement to Western media outlets that the goal was to prevent spam.[2] At no point did Apple ever admit that this was done to follow any government demand. It's unknown whether Apple could be under a Chinese gag-order, but we shouldn't speculate that it's the case unless experts say it's likely. If Apple is complying with a Chinese government orders, then it has an ethical duty to make that public, and again, we have, as of yet, no reason to assume there are gag orders related to this. Apple deserves criticism for the update, and for trying to hide its true purpose.

[0]: https://twitter.com/RealSexyCyborg/status/159707255662827929...

[1]: https://chinadigitaltimes.net/2022/11/netizen-voices-apple-r...

[2]: https://www.bloomberg.com/news/articles/2022-11-10/apple-lim...
I would go much farther than this. It's not since the internet that the answer is no. It's since civilization that people collectively choose not to try to do everything themselves.

No one thinks it's a good idea to be your own bank.
No one thinks they need to make their own
shoes
cars
food
computers
hand tools
...
the list is an enumeration of all the artifacts of civilization.

crypto is an anti-social fantasy at best, it flies in the face of reality.
Thanks! I think the best place for code generation in Go would be:
1) Go templating: https://pkg.go.dev/text/template
2) Go reflection: https://go.dev/blog/laws-of-reflection (there are many articles and documentation on this).

Then I would try to do something small to experience both libraries hands-on as otherwise it's hard to get the hang of it. Once you did a small project I would go and try to contribute a small fix/feat to sqlc to understand sqlc code structure and from there potentially a bigger feature/extension for sqlc.
Funny, that's the same thing people said when Elon pitched his Twitter bid.
No music. Whatever ambient sound is fine.

I grew up one of 6 kids. Everything I did was in a chaotic environment. Never mattered.
>I dread the day that I have to replace it and probably deal with a lack of an all-tactile interface.

If this is a big thing for you, then know that you can still find great vehicles today that balance it well, even brand new ones.

Vote with your wallet, everyone! Car manufacturers are doing these things because they think/(know?) that it will sell better. But they still make cars with dials and knobs. My 2020 Subaru has them, and even the newer ones with the huge screens still have volume and temperature buttons.
I’ll repeat my comment:

> The app store model simply presents an easy choke point.
Not directing this at OP but seems like someone's just trying to stoke the flames even more to fuel the Elon vs. Apple debacle that's been popular today.
Do you have any open sourced projects wit this setup? I have a soft spot for (C) single header libraries, would be interesting to compare.