skysight-inc/HackerNews huggingface dataset:
Isn’t that expected behaviour, as you’re only looking up “a” once when you do it outside the loop, while doing it every time when inside the loop?

Because any reference in the whole hierarchy could change during the looping (e.g. one could say “multiple.levels = {}” at some point), the interpreter really would need to check it every time unless it can somehow “prove” that these changes will never happen / haven’t happened.

Just keeping a reference to “a” is semantically very different, and I’d consider that a normal optimisation.
Trees absorb while growing.
Reach "max CO2"
At which point you need to cut down the trees
and plant the next generation.
You somehow store the trees so they will not have any
risk of releasing the CO2 again.(like if they burn)

or at least that is was Neal Stephenson wrote in his latest book.
(fiction is always great for scientific knowledge)
> Psychedelics (serotonergic hallucinogens) are powerful psychoactive substances that alter perception and mood and affect numerous cognitive processes. They are generally considered physiologically safe and do not lead to dependence or addiction.

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

Decriminalizing psychedelics is likely to help with the treatment of mental health problems that often lead people to substance abuse.

The idea that substance abuse is a character flaw is outdated and harmful. Some substances are certainly dangerous. Psychedelics are not in most cases. Condemning people who are using dangerous substances perpetuates the cycle of shame which keeps people from being able to heal.
> ...We've had conversations with people about GitLab, Gitea, BitBucket, SourceHut and others and we'd like to support them, and self hosted, in time...

I would guess that *when* you achieve support for those other (and especially self-hosted), then you'd up your game massively in the eyes of the open source software community. Of course....i acknowledge that this is not a small nor easy nor fast thing to achieve. ;-) Best of luck, and i really love this idea that you have! (I'll be joining soon)
I agree about the negative consequences, but I'm not so sure about "nowadays". Haven't most people, throughout history, basically copied what other people did, followed the standard paths, etc., when it comes to trying to make a living? Haven't almost all of them been constrained by needing to do so, or fearing the unknown of not doing so?
Are there any benchmarks with the new server yet? Would be keen to see how it compares to the existing server as benchmarking on my machine showed a significant improvement over the existing http server in stdlib.
They're doing it, it will be done the way they do it. There's just no way to avoid that.

A good relationship means "you're going to get it done my way" includes compromise and conversation. This one clearly already has - since the initial suggestion of a simple ssd upgrade was vetoed.

Is he making a mistake? Maybe - who gives a fuck. That's for him and his wife to discuss afterwards.

Why are you so eager to assume malicious intent here?
The uranium lasts twice as long, though. So aside from interest costs it's a wash, at least for fuel costs.

You are right that the reactor structure costs more. Which is the point I've been trying to make.
The last domino before a recession? Job losses
that's motivated reasoning leading to hand-waved figures, driven by the desire to capitalize on the climate change frenzy.
Running PostgreSQL Inside the Browser
Rent control is never short term: if you cannot afford 20% rent bump this year, how will you accept a 50% bump next year when the controls expire?

Better a small pain now than a big one later.
The fact that there's never a v1.0
But the API of signals and hooks is the same... What would change if new signal thing was called useState?
It's not hard, but you're probably not their target audience so they don't care. The best you can do these days is to either use a compromise like and archive.org plugin or ublock origin.
China, Cuba and Albania came to have higher life expectancy than the USA
The birds aren't cheap, the rescue coordination centers (they know who to talk to, they have no ability to actually go into the field--although that's not always needed. Garmin recently mentioned one--SOS comes in "found lost child". 25 minutes later, SOS comes in "lost child"; all they had to do is direct them to where the other was) have to be staffed--and both are private.
Couldn't SpaceX or Rocket Lab's engine be repurposed for this task?
Maybe I’m missing the point of this piece, but it’s probably because I’m still reeling from the author’s idea that adding “say()” which is “print()” with a newline added, is somehow an improvement to the language.
Another alternative is the kyria from splitkb.com (they are from the Netherlands)

It also runs on qmk.

Their stuff is really good, and a perfect/easy solder project. Their discord and support staff is super friendly. (Not to mention you get a sticker and stroobwaffle with each order)

I'm rocking two of them, one for work and one for the home office.

My first one took around 4-5 hours to build, and second one was around 2 hours.
I used to feel that way, then I learned that paying (or even just signing up "for free") doesn't get you out of the spying they engage in. In fact, it makes the spying easier to do and more comprehensive.
While it's not my favorite language. I have to admit that function signatures go a long way towards making perl feel somewhat normal to work with. I have to imagine they are pretty big boons for IDEs.
CBS News poll: Big majority favor maximum age limits for elected officials
Medicine and economics have quite a history of blatantly ignoring things that don’t fit with the accepted consensus. I still remember how meditation was viewed as nonsense. The gut flora is another issue where medicine was/is way behind the curve.

Looking at statements about the housing bubble in 2008 or about inflation a few years ago I don’t trust much in the economics profession either. They seem to always be behind the curve.
Agree. And while I don't agree that the T420 is a worthwhile recommendation, the reddit product recommendation groupthink on that item hasn't changed in nearly 10 years.
While I am also in complete favour, stating that there are no negative health effects is somewhat false. Abusing any kind of psychedelic can lead to HPPD [1], a very real long term disorder.

[1] https://en.wikipedia.org/wiki/Hallucinogen_persisting_percep...
You have a point in that OS is not indeed a car. Analogies are flawed by their very nature ( they are like something are open to interpretation ). It is not, however, just a question of OS. It is just happens to be a sticking point to me. If we are talking expenses, it is a laptop, which, cost-wise, can vary somewhat.

Admittedly, mid-range stuff won't go past 2k if that.
Building with the lumber from them is one way of storing them. Even that is not infinite though, though it could buy you a lot more time until renewables and possibly CCS become more viable.
Historically this was a legitimate performance micro-optimization in Python:

def f(i):
...

def g():
_f = f
for i in range(100000):
_f(i)

because looking up a local variable was faster than looking up a global. I'm not sure if that's still true in newer versions.
I’m in the UK so I don’t know which branch of the US government I’d trust to get it done. What I do know, is that you guys have done some incredible things, look at your railways, roads, cities, subways, internet, space program. You have done massive scale programs in the past and I have no doubt that you could do it again in the future if the political will was there.

As for the second part, privately owned houses would get as much energy as the solar panels and battery on their property can provide. Additional power would come from the grid and would have to be paid for as normal. For people in apartments, presumably you have records of normal energy usage for every house and apartment, you could use those to work out the amount of solar panels needed to add to a solar farm or the equivalent for wind. The government pays for the installation of that and the citizen gets the energy generated for free. Additional energy they use is then paid for out of their own pocket.
> US companies hire freelancers in other countries all the time

Any suggestion where I can find such jobs?
> is if the government spends a huge amount of R&D on it first.

This is how it has always worked.
We clearly don't live in the same 2022 then. Windows 11 has no high-dpi issues for me today on my 4ik monitor. And I even run 20 year old software and games on it. That has been a non-issue since later Windows 10 versions from like 2017.

And users/consumer don't care about GUI frameworks nonsense, that's a developer issue for them to deal with.
Psychedelics can induce schizophrenia, as most mind altering drugs can. The stronger the drug, the more capable.

From https://www.psychedelicsdaily.com/faq/can-a-bad-trip-cause-s...

> Research has shown that the use of LSD can trigger the onset of schizophrenia in people prone to schizophrenia. People who use LSD are more likely than anyone else with a psychotic disorder to consume it over a period of more than a few days at a time.

I am an educated adult who understands my family's history of schizo means that these drugs are no gos for me. It's just not worth it.

However, I worry that teenagers and such in their developmental years will experiment. The way these drugs are marketed by true believers you'd think they're a cure all. However, in some people they cause long-lasting, even permanent effects. A significant number of people taking psychedelics experience symptoms for years after. This is a very bad change to make to one's psyche that calls one ability to reason and decide into question.

These drugs should not be encouraged.
I wish Apple could get the Screen Time feature to work properly. You can set up extremely restrictive parental controls on your own devices and then give the passcode to your sister. But unfortunately Screen Time is not ready for prime time yet. For instance, you can get around blacklisted sites just by changing the browser that you use. What a joke.
A more accurate title: SF supervisors would like to decriminalize psychedelics
The product thumbnails are too small. love the site.
Our inReaches and SPOTs can't. No service, they're little more than bricks.
Hallucinogens have the lowest addiction potential of any illegal drug, by a large margin.
I agree there was no justification to their criminality but would like to caution against portraying them too widely as harmless. Specifically, psychadelics should be considered very carefully(and potentially not partaken in at all) in context of those who have experienced psychosis or are relatives of people with psychotic disorders.
I'm appalled by your hyphen usage
lmao, anyone who recommends listening to a Robert Kiyosaki podcast is a total clown. He TWICE co-"authored" books with Donald Trump on how to get rich quick - all you need to know on how little credibility he has.
Are you saying that there is no value in honing your skills as a programmer?
Lithium hydride is like a ceramic, i.e. a high-melting-point solid.

But whatever you use, you have to get extremely low concentration tritium out, somehow, to run the reactor on tomorrow.
Selection bias. Those who are dissatisfied with Go either have abandoned using Go or—if they have to use it at work—wouldn't bother to participate in the survey.
Perl likely spends a lot more time in C than a lot of other bytecode-compiled languages like Python.

while(<STDIN>) {
print $_;
}

isn't doing much of its work at the top level.
Nice to see fuzzing get mainstream visiblity and signs of adoption like this.
Perl needs backwards compatibility given the `write once, read never` nature of the syntax.

Imagine trying to upgrade this to some new syntax...

https://github.com/schwern/AAAAAAA
>Same holds true for essentials like water, electricity, sewage etc. One straight uncomplicated pipe infrastructure - easy to lay, maintain.

But you lose the network effects of an actual 3d city.
Want to work on the electricity. Every one on the wrong side loses electricity. Plus I'd hate to think of the scale required to get all these things through one pipe.
The answer is in the article... the remaining contenders are General Electric and Pratt & Whitney
I begrudgingly use Go.

Go really fucked us by not having sum types or exhaustive type-safe switches or pattern matching. It doesn't even have optionals, or type-safe nillables. The error handling is the least of my concerns.

Moving on, I'd like to see an ML-like language (with hindly milner) that has M:N threading, with pre-emptive multitasking, and safe concurrency with borrow checker like Rust, with both structural and nominal typing.

Something of a mix of Rust, Go, Erlang, and OCaml.

Not sure about error handling, maybe just use exceptions (ala swift), polymorphic variants (ala ocaml), or error unions (ala zig).

Most importantly in the next language iterations, we need to stop with the async/await nonsense, and let the runtime and/or compile handle that.
Pixar and the Criterion Collection Are Teaming Up for a 4K Release of Wall-E
I thought this was interesting. So far as I can tell, this is the first Disney/Pixar & Criterion release ever.
The moral problem with rent control is that it prevents people discriminating on price, so they discriminate on other factors (colour? sexuality? Age!) instead.

There are others too, but that'd the most glaring...
Bottles Devs and Their Talk at the Linux App Summit
New Startup Incubator/Accelerator in Brazil
We had in France a few female PM: the current one, Edith Cresson and maybe someone else.

0 female president, though.
To me there is not much difference between that and "whenever possible"
I have read that Canada’s house prices have increased by an average 7% per year for quite a few decades. A 5% mortgage would reduce profits on sale to 2%, I think, which is around the target inflation rate.
Moved to Ergodox EZ with highly customized Colemak layout half a year ago. The first weeks weren't easy but now it is a breeze and I can highly recommend. Much more relaxed typing and the customizing together with Karabiner and Rectangle allows me to have the same hotkeys on macOS as I have on Windows.

Kids are loving it too with the backlit keys and animations :)
Those aren’t jet engines.
SpaceX engines can clearly get you to supersonic speeds, but they're not "jets" and are much more expensive to run.
Yes, this is one of those ideas that keeps me up at night. When I'm looking at this system in aggregate, I become aware that we're racing toward asceticism. Me and the person next to me are competing in what we can do without. Even more disconcerting is that as soon as we reach a new equilibrium of austerity someone will find a new way to jump ahead with another form of self-denial. Or in other words, those who live in excess are meant to be punished. It's completely absurd. I'm lucky I fall asleep before continuing too far down this path of thoughts
> It is an easy problem to resolve.

No it's not, and these sorts of reductive absolute statements completely turn me off against allowing any kind of euthanasia.

This is an incredibly difficult problem that causes us to question the existence and causes of free will.
Exactly! Everyone here should hate this terrible place... why is the rent so damn high? I love the "I just moved here" crowd complaining about how bad things are, and I miss the pre-1999 days when artists could afford to live in the city. Even Oakland is expensive now.
Been through an acquisition on the other end.

My main piece of advice is to talk to the employees of the larger company to suss out whether they like the company culture, whether you can or want to work with them and the processes your company will inherit. Treat it as an unofficial low-stress way of interviewing a company. :)

It's pretty much a given rule that the culture of the smaller company is subsumed into the large one - the only question is how fast it happens.
Coinbase employees and Ethereum backers sue U.S. Treasury over Tornado Cash
Here's a GPT-3 written summary of this article:

The article discusses the findings of an internal survey conducted by the Liberal Democratic Party of Japan, which found that around half of the party's lawmakers had dealings with the Unification Church, a controversial religious group believed to be behind the fatal shooting of former Prime Minister Shinzo Abe. LDP Secretary General Toshimitsu Motegi told reporters that the party will take the results of the survey seriously and reflect on them, and that lawmakers who do not abide by the party's policy of severing ties with the Unification Church will not be allowed to participate in party activities. Prime Minister Fumio Kishida told reporters that it is difficult to scrutinize Abe's past relations with the Unification Church, but pledged to implement measures to strengthen internal surveillance on ties between his ruling party and the religious group.
That wasn't asked of kids, that was asked of adults to recall what they wanted to be when they were kids, which is going to result in different answers. Lego, through Harris polling, ran this poll [1] internationally not that long ago and the results were stereotypical. Respondents were allowed to pick multiple dream careers:

---

China:

Astronaut - 56%

Teacher - 52%

Musician - 47%

---

US:

Youtuber - 30%

Teacher - 25%

Pro Athlete - 21%

---

[1] - https://www.businessinsider.com/american-kids-youtube-star-a...
Advertising is throwing punches at you. Worse, advertising stalks you to throw punches at you.
The issue is just how slow python is, it takes a very long time to resolve those references. So it's expected that the multiple.levels.of.dereference would be slower but it's perhaps orders of magnitude slower where in another language it might be much less of a performance hit.
> Things can happen quickly if there is very obviously lots of money to be made.

There is not obviously lots of money to be made in rapidly building out fusion power plants.
Yeah, I think that for new hardware there's more chance of compatibility issues. But when it comes to old hardware that's too slow for Windows, I think installing used SSD and something like Mint is always a good idea over buying a new machine just to run browser on Windows. Good for the planet and your wallet. Personally I use a Thinkpad from 2011 as my daily-driver outside of work, couldn't be happier but it probably wouldn't really work well with Win 10.
> I don't want to spend an hour or two a day learning something new when I've already invested in learning something that solves my problems good enough.

This is exactly how I felt after about 20 years of using Linux since the age of 14. Windows 7? 8? 10? 11? No thanks, I don't want to learn it, I've already had 3.11, 95, 98, 2000, XP, I enjoyed it throughout my childhood, (and then I became a man and put away childish things.)

That's plenty of time for me to consider whether I really want to leave Windows or not, and I don't regret switching to Debian, it does basically everything I need. 20 years later, I've had lots of time to think about it, and I'm definitely still a Linux user. (And a Mac user... anything but Windows really.)
Make it so it has no speaker or microphone, and then you don't have that problem and can sell more wireless earbuds.

Tangentially, you also solve a security/privacy concern.

Heck, make the band a wireless display and solar/kinetic charger and you can mind the guts to a wirelessly connected device that never leaves your pocket.
Is Fresh primarily a server side rendering tool? Or might it be an option for static-ish webpages hosted by GitHub.io?

I love the idea of eliminating lots of build boilerplate but I do ultimately want to output static assets for a read-only webpage.
I too am privacy conscious. I run adblockers, I use a VPN, I use a MacOS firewall and every connection has to be explicitly allowed.

I teach my partner how to do the same. That's about the extent I can do. If you want to go further such as pay for a temp phone or VPN using gift cards or get a 2nd internet connection to the house that's setup with a perfectly firewalled router, you can do so and that is your prerogative. But when your actions affect someone else's quality of life and you take away their decision to do so, that IMO is active sabotage.
Just in case, you should be careful with the use adjectives: they tend to deform your point of view.

Saying that this is a serious situation for the Human Rights in Spain is a bit, just a tiny bit, of an hyperbole.
Go doesn't have errors, only values. Value handling could be improved, I'm sure, but anything that focuses on values that humans attach error meaning to is fundamentally flawed and will leave broken half-solutions.

Each problem people say Go has with error handling is actually a more general problem with value handling and/or interfaces and the right solution would solve for those problems across the board. The problems are real, but not related to errors specifically.
Pumped hydro is very far from the only alternative to batteries. But you have been told that before, too.
You're free to give as much extra taxes to the government as you want to help reduce the debt and get us closer to that sovereign wealth fund. I'd appreciate it.
> The owning class, already fight against the building of additional supply.

I mean of course, but both are true, it limits supply in just the straightforward way that it means more people can compete in high desirability areas. (maybe it increases demand, not limits supply?) either way it drives prices up.
Knowledge Graphs – Computerphile [video]
> The concept proposed is "pay people in the developing world to be a lifelike NPC", which makes no sense

Worse: the solution they probably have in mind is to pay those people with cryptocurrency tokens (i.e. worthless company scrip).
Yeah, that's the other two.

Supersonic jet engines are a rarified field. There are Russian "companies"... good luck getting that certified for Western commercial aviation.
Obviously we cannot do controlled experiments here the same way we can in the physical sciences, but it seems that historical evidence is pretty clear by this point on whether freer markets perform better than ones with more government intervention.
> I don't see how memory safety adds anything [to algos in cryptography] as memory issues are an insignificant problem.

I'm not terribly experienced in cryptography either, but I'm pretty sure that memory safety is a HUGE deal in cryptography as a whole. Heartbleed[0] was a memory safety issue. Python's cryptography package switched to Rust specifically because of memory safety [1].

[0] https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2014-0160

[1] https://github.com/pyca/cryptography/issues/5771
Religion is basically just organized superstition
Ontario is consistently the lowest spender per capita on health in the country.

Ref: https://www.fao-on.org/en/Blog/Publications/interprovincial-...

It's being underfunded by at least 10-15%, which is a lot for a system expected to run as cost effectively as possible. I'm getting that number from the average of $5336 vs ON at $4800. 4800/5336 = ~89%

I don't think we should aspire to US levels of GDP share. That seems quite excessive.

I think the solutions to our issues are structural changes and adequate funding.
Oh, I imagined it would be automated so as a customer service rep you don't even think about it.
I wish some day Xenobots will grow up and become full size Battletoads
Husband requested that I pick up a six pack for an upcoming event, and his current choice of beer is kind of crappy by today's standards.

I am trying to move him away from American lager beer, but he resists, because that is the only beer he knows and does not want to 're-learn how to like beer'. It is not completely wrong, but maybe Heineken would be a good compromise?
Which is exactly why I take great issue with calling ad-supported websites (or anything) "free". They're not free at all. They're very expensive.