skysight-inc/HackerNews huggingface dataset:
> Humans’ ability to efficiently shed heat has enabled us to range over every continent, but a wet-bulb temperature (TW) of 35°C marks our upper physiological limit, and much lower values have serious health and productivity impacts. Climate models project the first 35°C TW occurrences by the mid-21st century. However, a comprehensive evaluation of weather station data shows that some coastal subtropical locations have already reported a TW of 35°C and that extreme humid heat overall has more than doubled in frequency since 1979.

https://advances.sciencemag.org/content/6/19/eaaw1838.full

> fringe regions

I wouldn't call India a fringe region and typically cities are hardest hit.
Yes, while "match ergonomics" made many "just work", the magic it implies also obscures the language, and code, a lot.

I remain of two minds about it.

If you want to make sure you have the right model you can always set edition to 2015 tho. You will also lose NLL and a bunch of other conveniences, but match ergonomics will be disabled.
Sure.

I'm on phone, so hopefully this paste doesn't look awful, but it's right from the website homepage

iterator oddNumbers[Idx, T](a: array[Idx, T]): T =
for x in a:
if x mod 2 == 1:
yield x

The three different sets of brackets, the mixed : and =, it just seems inelegant to me.

I don't really know how I'd improve it, so it's just pointless, ignorant complaining on my part. Pay me little mind.
> Statements like this seem to point to ransomware activities being far more coordinated and "business-like" than they often get credit for.

They only don’t get credit for that in mainstream media. In the Cyber Security world, Ransomware as a Service (and various other malware-aaS) groups have been discussed as well organized, customer-focused entities for quite some time.

I swear this is the first time it seems the world is hearing about RaaS, which feels weird since it’s a pretty dominant model today.
That’s the point, these small studies never give compelling evidence.
Find a virologist who will guarantee a harmless vaccine first.
Is there a point in measuring affordability relative to locals’ purchasing power, when the question the article raises isn’t how many people who already live there can afford homes, but rather where you should move to buy a home “for cheap” when your job has suddenly become mobile?

I would think absolute home prices (plus cost of living, minus any local tax incentives for moving to the state, etc.) might be a more interesting metric here.
Obviously not, it depends on the ratio. Because roughly every year you contribute is a year you can rest on your laurels.
If we currently live to 80, and work on average 20-65, that's 45/80, so the same ratio of working years is 67 of the 120 living years. Retirement would be 87.
I can't get used to the fact that for builtin types grow methods, you need to import corresponding modules everywhere.

You import module X, which gets you objects as defined in the module Y. To use methods defined for that type, you need to import Y yourself. Python, of course, by virtue of binding objects to methods, doesn't need it.

There are some more namespacing quirks that may require one to give up on that sweet syntactic sugar to disambiguate things (two unrelated modules defining methods on a single type, with the same signature but different behaviors, and you need both modules imported for some reason?), but this is, again, something one would have to get used to. It's not a different world like Rust or Prolog.

It's not a complete showstopper, just something I keep bumping my head into now and then.
It matches identifiers style-insensitively so you can actually use other conventions if you want. Although the online docs are still camelcased.
Show HN: Simple Web Links with Analytics
I just love the new numeric literals syntax:

proc `'i128`(n: string): Int128 = parseDecimalInt128(n)
assert fib(184) == 127127879743834334146972278486287885163'i128

It's so sexy!
This guy shards. This is the correct answer.

"The social graph is tightly interconnected; it is not possible to group users so that cross-partition requests are
rare. This means that each TAO follower must be local
to a tier of databases holding a complete multi-petabyte
copy of the social graph. It would be prohibitively expensive to provide full replicas in every data center.
Our solution to this problem is to choose data center
locations that are clustered into only a few regions, where
the intra-region latency is small (typically less than 1 millisecond). It is then sufficient to store one complete copy of the social graph per region. Figure 2 shows the overall architecture of the master/slave TAO system."

https://www.usenix.org/system/files/conference/atc13/atc13-b...

edit: Oh hah, didn't realize parent was former DB person at FB. I was too, just a few years before :-)
Nim is partially case-insensitive:

https://nim-lang.github.io/Nim/manual.html#lexical-analysis-...

my_foo, myfoo, and myFoo are interchangeable. MyFoo is different because the first letter is capitalized.

If it's not clear, what I mean is that if you've imported a module that exports myFoo, you can refer to it in your code as my_foo, if you prefer.

Some people love this aspect of Nim, others loathe it. I don't have strong feelings about it, though one has to be mindful of it when searching through a codebase with e.g. the_silver_searcher.
You seem motivated to push a particular narrative and are cherry picking papers to support it, so I really don't want to go back and forth anymore about this, but here's a even larger meta-study that has a completely different conclusion.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7014589/

> The strongest evidence shows that glyphosate causes hemangiosarcomas, kidney tumors and malignant lymphomas in male CD-1 mice, hemangiomas and malignant lymphomas in female CD-1 mice, hemangiomas in female Swiss albino mice, kidney adenomas, liver adenomas, skin keratoacanthomas and skin basal cell tumors in male Sprague-Dawley rats, adrenal cortical carcinomas in female Sprague-Dawley rats and hepatocellular adenomas and skin keratocanthomas in male Wistar rats.

In fact, this paper links to some of the same studies that the paper you linked to also does, with different conclusions. In particular, it seems your paper was extremely selective about which cancers could be caused by glysophate, e.g. ignoring several types.

> Graphs showing increased cancer risk since glyphosate was introduced is almost zero evidence that it does anything.

That's just an absurd statement, so I'll disengage now.
No, let's please not stop! Have a look at this plot:

https://www.ipcc.ch/site/assets/uploads/2018/02/FigSPM-10.jp...

And then consider that the x-axis does not cover the full carbon available as fossil fuels. Depending on estimation, this could be 15,000 GtC, maybe more (the lower axis in that plot).

https://mahb.stanford.edu/library-item/what-if-we-burn-all-t...

It's not looking good now, but we can make this so much worse.

You're right about the mitigation, of course.
https://github.com/Yardanico/nimpylib
We’re being hunted, say Edinburgh University lecturers
The idea that Solzhenitsyn is a reactionary doesn't hold up when you read his books.

The First Circle is a deep exploration of so many things. Friendship, Stalinism, Marx, Marxist Dialectic, Christianity, Catholicism, Jews, and so on. No one comes out of it clean and Solzhenitsyn doesn't think he has the answers. Two things the book is sure of are: suffering is real and being does not determine consciousness (contrary to Marx's dictum).

I believe the attempt to frame Solzhenitsyn as a reactionary and antisemite is wrong. It stems from him saying things you're not supposed to say about Jews being overrepresented in the early Soviet prison system (an empirical question) and failing to condemn Putin as much as the West would like. Solzhenitsyn was highly critical of Gorbachev for seeming to put his reputation with the West ahead of his country. It's clear Solzhenitsyn wanted to avoid that.

Also, regarding his alleged antisemitism, The First Circle contains a narrative about Stalin turning against the Jews highly placed in the Soviet prison system. Solzhenitsyn's view here is nuanced. I haven't read 200 Years Together but I highly doubt it's slavering antisemitism. And 99% of the people claiming it is haven't read it either.
I suspect this was a tongue in cheek comment
'/tmp/hc.nim(5, 1) Error: tabs are not allowed, use spaces instead'

Fundamentally broken.
It's a bit of a circular definition. Certainly it shouldn't be surprised that the set of popular things is full of things that are popular. It shouldn't be a surprise that people are focused on fashionable topics since the notion of fashion is defined by what people are talking about.
It's a wealthier suburb/exurb of Denver, it's up against the mountains so there are significant growth constraints, and the flagship campus of the University of Colorado is there, so there's a lot of permanent demand from both students and spin-off companies from the university.
That's a really risky maneuver for Facebook. Yeah, maybe it has the desired result and the regulators back down. Or maybe competitors that have been locked out for over a decade due to the unassailable network advantage of Facebook finally have their chance to shine, and a new European social network competitor to Facebook rises up. The new competitor would be able to architect their service ground-up for GDPR compliance, which is something Facebook hasn't really been able to do since their platform has a lot of architectural inertia behind it.
Is there something equivalent to Nomadlist but for filtering places to live in? I don't know anything about Youngstown or Jackson but based on Flint's reputation I imagine there's probably a reason it's a cheap place to buy a home.

I don't see Des Moines, IA on the list but it pretty routinely ranks highly as a good balance between affordable and desirable (it's safe, there's a decently vibrant tech/startup community, lots of big insurance/financial services/agtech companies that provide a stable foundation of high-paying jobs, and it's big enough that there are things to do -- downside is the winter weather)
https://www.dsmpartnership.com/news-media/rankings

But I'm sure that I'm only aware of DSM because of my family ties. Would love to hear what other undiscovered gems there are. Eg I've heard good things about Chattanooga.
*in America
For a possible motivation behind this attack that doesn't come out of the lying teeth of the IDF, there was a recent interview conducted by Medhi Hasan with an Israeli Official where he called him out on his doublespeak.

This is not the first time that Israel have launched attacks in retaliation for speech either.
Can't edit anymore, but just wanted to say: on review that post came off as snarkier than I intended it. I just mean that, whatever the policy on including closed-source in the primary Brew repo, casks are enabled by default and don't even require a different command or any set-up anymore. From a user's perspective they're 100% as available as other packages, as soon as you install homebrew. I think the only major difference is that they don't auto-update when you do a "brew upgrade"—you have to specify the cask package you want to upgrade. Which is a good policy since a lot of those programs have their own built-in updaters anyway.
If being mean on twitter is "attacking the press", then what is this?
> When clever, intelligent people are ostracized and marginalized, they then use those skills to get illegally what society has prevented them from getting legally

Ehh, maybe. Or maybe they’re just bored sociopaths who get thrills looking for a big score.
I've lived in a very inexpensive city in Ohio. I'd rather pay more not to hear gunshots as I'm drifting off to sleep on weekend nights (and I lived in a relatively "good" section of the city). Death is even cheaper than cheap housing, but that doesn't make it a desirable situation.

(And if you have kids, you probably want at least halfway-decent public schools, which many of these cities don't have.)
I wonder how much data does an average human poop hold...
See, this would be a reasonable point of view if only we weren't currently seeing far more strident rhetoric coming from the other side, routinely accusing Republicans, white folks, those who care about traditional values, etc. etc. of furthering "racism and white supremacy".

This kind of divisiveness does far more in practice to "reduc[e] the chance of communicating effectively across party lines" than a mere quip ("Democrat party") that's essentially intended to unambiguously convey the intention to say not-really-nice things about Democratic policymakers, and that I've also striven to reasonably back with facts unlike so much recent discourse about "the evils of white supremacy".
It really depends on what you are doing. If inserts into the middle are common, readjusting a vector gets really expensive.
Only useful for devs and other digital people. Not useful for a construction worker. If I were Price Economics I would keep it general as there are many (knowledge) workers not being able to go remote (or wanting to go remote).
I'm the same way, and the reason is simple - I played MUDs as a kid. I can hit > 100 wpm easily if my brain can keep up. Occasionally something will throw me; a weird bit of punctuation, like the shift + number keys, but that's about it. I've tried to learn to touch type, but the drop in speed, and the promise of ending up basically where I am now means I just don't care. The way I move my hands and wrists and such probably also helps avoid carpal tunnel, though I have nothing other than my own suspicions (and the 20+ years I've been typing without issue or concern over posture/wrist rests/etc) to base that on.
تحميل برنامج هوت سبوت شيلد Hotspot Shield Business لفتح المواقع المحجوبة
College town (and NIST) + limited space (greenbelt)+ right next to the mountains + a downtown that doesn't suck.
He acknowledges this, but the article is hardly a hagiography.
I save time and just eat the poop directly
I think web fonts are massively overused. Sticking with the user's configured selections are better unless there are very strong reasons you need to over-ride them.

It's extra resources, time, and complexity spent on forcing something on the visitor that in most situations they don't want or care about.
All of the most affordable places seem pretty horrible to live in, so the information isn't particularly useful.
Perhaps a dumb question but why is offline stressed so much here? Nothing in the underlying tech seems to suggest one should expect it to not work offline?
You got a pretty good answer on stackoverflow, despite a not very good question. You could try a follow up question on the rust discord, but I'd suggest massively decreasing the size of the code dump, and talking about why the proposed solution doesn't work.
That is statistical significance. There is also clinical significance, ie is it actually worth doing.
Rust can have mixed mutability - see Interior Mutability (Cell/RefCell/Atomic/Mutex).

But in Rust the distinction is actually about shared vs exclusive access. This is the aspect that really matters for safety. Access is properly of the code, not data, so it can be dynamic from data's perspective (the same data can be borrowed exclusively or not at different times)

When you have exclusive access, immutability becomes irrelevant, because nobody else can observe the mutation (so e.g. exclusive reference to a Mutex can skip locking!)
Why I chose Svelte for my new app
> Your words not mine. Re-read all of my responses without your blind hatred for what they did. All I am asking for is to give them the benefit of the doubt that they did their research and made a good decision. Of course it's clear you find that incomprehensible.

I think you're right. In their case this was the best course of action, unfortunately. Not every company has capacity to do things right.

React Native does suck big donkey though.
It’s not really a Denver suburb. Most people that live in Boulder work there. In fact, people commute into it from neighboring towns.

The main explanation is building restrictions. There’s both a greenbelt and height limits.

It’s also an extraordinarily beautiful place.
Me-Too Drug
Could it be that because of 2008 bailout, the prices weren't allowed to fall to normal levels so now most people can't afford house?
It replaced what they were using previously, which was bash. I am not saying that it is a superset of bash's functionality or that it should be expected to support bash features.

EDIT: I see what you are saying now. Bash is still installed by default despite it not being aliased to /bin/sh. So it's still possible to rely on bash features if you use it explicitly. For some reason I was under the impression bash had also been aliased to dash in the default installation. Thanks for the information.
That's the point, not if EU said so. FB needs to comply to EU laws to operate in EU.
Current prices factor in the expected future value of a property. So, rolling out the tax over 20 years would still have a massive deflationary impact on prices today.
Someone should mash this up with crime statistics to find the most peaceful cheap cities. They will probably be somewhere in the middle of Tornado Alley though.
But the Amazon rainforest is similarly named after the Amazon warriors from Greek mythology.
College town. The wide availability of student loans helps to inflate housing costs around a university above the local market. Its similar structurally to Chapel Hill, NC in that way.
Sure it is, he's addressing a specific question that is theoretically testable.

This is the same question that gets asked of drug developers as well - There's the efficacy question AND the harmful question. Does it work? (not what he's asking) and Does it break something? (this is the question)

This is a valid scientific endeavor.
when I read about the model of prison they have in Denmark, I wondered if it's feasible to have that everywhere. Cost might be the biggest problem.
You* are right to call out my use of the word unskilled. Teaching is skilled work, but it’s much more blue collar than the job requirements would have you believe.

Driving a fork lift truck is skilled work. Plumbing a house is skilled work. Felling a tree is skilled work. I have never done any of these jobs but I believe the majority of work a teacher does has a lot more in common with this kind of labour than it does with, say, maintaining a web-based Rust build infrastructure.

*plural
Here’s a simple point for you to consider. Let’s assume you and your team are 10x devs with perfect knowledge and use all the right tools. What happens when you guys leave or someone who isn’t up to your standard contributes, or is a junior dev?

Imagine all the best tools and all the best and memory safe features all rolled up to one called Rust.

Lastly, with C++ there are many situations where the memory unsafe actions are not caught until they are triggered dynamically. So like others have mentioned, you’d have to have the best test suite combined with the best of fuzzing etc.

Or you can just use Rust where nearly everything is caught at compile time with useful errors and when something funky does happen at runtime it will just panic before you cross into UB/ unsafe land
If objects know where they are, why do you need sorted ordering? If you need sorted ordering, it sounds like you're (regularly!) iterating over it. But iterating over a linked list is incredibly slow.

This is where Big-O just really doesn't have a strong relationship with performance. Iterating over a linked-list is O(N), same as a vec. But in the real world it's nowhere close to as fast.

So then if you're not regularly iterating over it a bag implemented with a vec is likely a better option. Then just have a bool that tracks if it's sorted or not, and in the (relatively) rare case you need sorted traversal just sort() it first.
But I would not describe the areas experiencing change as “fringe”. Nor do I see a reason to expect the areas not experiencing change to continue not changing.
I bet most of us doesn't use tiktok, therefore we are unlikely to write any comment to talk about it.

If the positive comments are made in good faith, I see no reason to downvote/flag them.
Try this, she's kind of specialising in community building:
https://rosie.land
It's worse than that. The drive comes from people who employ labor who believe that poverty is the only way to keep wages low.

This attitude is very topical right now, playing out in US politics: https://theweek.com/articles/982343/republican-theory-unempl...

(Ignore the Republican part; most Democratic politicians would go in the same direction, but Republican belligerence gives them the cover to be silent, and to not alienate a portion of their base which would endanger their tiny majority.)
Even though it's not according to the styleguide, you can just use snake_case whenever and wherever you want, consumers of your libraries or other way around will never notice!
Erm today is the dead to accept new terms. I obviously haven’t done this. What will be the implications?
Or at least take you to a disambiguation page where both are listed.
Good to know. Although I'd argue that this is something that I'd count _against_ the language. I'm also biased against languages that allow you to do the same thing in multiple ways (hint: Scala). Code bases tend to vary according to the team's own conventions, so you have to keep adapting to whatever code base you happen to be reading.
To be fair, as someone who is similar in not using touch typing (but hits high wpm), new keyboards do throw me a little bit, and it takes me 10-30 minutes on one to get my error rate back down to negligible. That said, I instinctively know when I have typed an error, even on a new keyboard, and so am already moving to hit backspace before my brain even goes "oops, wait, you made a mistake", so the new keyboard is really just slowing me down rather than leading to bad output.
Can drug cartels engage in terrorism? That seems like a useful edge case. They are not ideological but maybe you could say they have political goals.
This is the most impractically Hacker News advice I have received in this site in at least a year.
We're pouring liquids into our butts right? What's the friend for? Can't one do that on their own?
While the article confirms his acceptance of his circumstances, I still find it hard to understand how a man who went into a prison at 15 and came out at 83 can see anything as positive. An entire life spent behind bars. Maybe he really tapped into a sense of contentment and acceptance that I'm missing or am too young to understand.
Boulder isn't naturally constrained in its housing supply. There's tons of room to grow denser and to the North, East, and South if it chose to.
I don't know about you, but I'm scared anytime my phone rings that it is another robocaller.
Not good, but at least that limit is better than the 10k DKK limit in Denmark, you basically can't even have a proper rainy day fund or own a car.
Giving Javascript the ability to make requests without asking the user via dialog for each one—if we must allow it at all—was a mistake.
>There is something deeply wrong with the financial and governamental systems if they can sustain me like that but they can't sustain most of the population.

No, that just means there are a lot of people below your living standard who are willing to work for you, in exchange for the resources you have accumulated over your life. You are also owning machines that make it possible to sustain yourself and some of the labor input is necessary but not the primary driver of value.

Think about how much a human tractor driver contributes to how much food is being produced vs how much the tractor contributes. Without the tractor the driver could have never possibly farmed that much food.
The equivalent in Python would be:

T = TypeVar("T")
def odd_numbers(a: list[T]) -> Iterator[T]:
# implementation

I don't really find that less verbose, in terms of brackets and symbols…