skysight-inc/HackerNews huggingface dataset:
If we have the code "if (x != null) { x.foo = 42; }", then it can rewritten as x.foo = 42 (with some extra magic in the runtime). If x is not null it will be faster if the cost of a branch is higher than zero. If x is null, the (slow) trick with SEGV can be used.

The trick of catching the SEGV can also be used by an AOT compiler (https://llvm.org/docs/FaultMaps.html), but the AOT compiler would need profiling data to do this optimization that is more expensive to do if the variable x happens to be null often. Even if you have profile data for your application, and that profile data will correspond to your application profile of this particular run (on average), you can not handle the case when x != null for five hours and then is set to null for five hours. If you use an AOT compiler you would have exponential blow-up of code generations for combinations of variables that can be null (if you would try to compile all combinations), and you would basically reinvent a JIT compiler --- badly.

Theoretically, a JIT can do anything an AOT can do, but the reverse is not true.

The article is talking about optimizations the JIT is capable of doing for your code. It is well written, and although it is talking about code throwing a NullPointerException, I think you can see that the same optimization can be done for my example at the top (that is applicable to c++ as well). So my comparison is not apples to oranges.

But your observation that most compiled languages do not have NullPointerExceptions is interesting. It could very much be because that it is too expensive with an AOT, have you thought about that?
https://archive.ph/nt6P8
What an interesting, and dare I say nuanced, point.

Let’s add to it how good fats can become bad through releasing free radicals, which happens at approximately the same temperature that a lot of animal fats are cooked at.
> SF is about diversity

This is the straw-man various groups use when trying to bring down progressives, but SF is just a city with no political views, the people in it are who hold what views, and I would argue that SF is absolutely not progressive, and the idea that it is is just a continuation of that straw-man to this day.

Anyways, on the topic, that was a shitty thing to do for UCSF and they shouldn't have done it.
The clip of the dog doing a Nazi salute was on YouTube, so by your logic, as they are both art forms in poor taste, they should both be protected.

Not what happened though.
UK isn't a democracy it's a monarchy
This is a great time for the British to have a little revolution with very modest aims like this. Both the government and the opposition are indistinguishable warmongering austerians who hate working people, British energy bills are tripling due to elite adventurism, posturing, and US ass-kissing, and the ex-colonies are openly proposing separating from the Commonwealth. What's more, the Queen alternated between a benign pleasantness and a prickly terseness that kept her internal states pretty mysterious and a bit charming, but now they know for a fact that their new King is a useless moron.

Getting rid of their magical fairy kingdom trappings (again) might give the population an impetus to flex some popular sovereignty over their own country. Pair it with the abolition/democratization of the Lords, and they'll finish the revolution that Cromwell spoiled.
Omnivore species? You sure about that one? We're opportunists. Don't believe me? Go ahead, rip into some meat raw with your "canines" and let me know how that one goes.

Our ancestors ate bone marrow because it was the only thing other scavengers didn't know about. We transcend our biology all the time, but I wouldn't point to our modern and obscene meat consumption as a historical constant. Most peasants didn't get the luxury.
“Strange women lying in ponds distributing swords is no basis for a system of government”

And no, I don’t mean it as a joke

If Britain wants to survive the next 100 years, they need to make some brave decisions. Dissolve monarchy and the class system, get back into EU, and hope Scotland will not declare independence.

Also, USA, wtf, why are you flying the flag at half staff? Did you forget what you fought about in 1776?

(edit: Actually I looked it up and apparently it has flown at half staff for foreign leaders a few times in the past. My bad, knee jerk reaction.)
You are not wrong about the differences being minor for most people in a city day to day and the solutions being achievable. And it is fun to think of the challenges and possibilities of doing it another way. :-)

While for many the google maps dilemma in a city won't matter, there are always "edge cases" that google people would have to cover. I occasionally ask google maps for a 8 hour day drive. In my case, most north-south so not an issue, but for other people it could be.

And maybe not using google maps: trains, planes, trucks - logistics in general - all want to be precisely on time while covering large distances. So I think this is not as easily waved aside as a societal problem if this "midday where you are" approach was taken.

This clearly would require a fundamental change in mindset for the whole populace - so not an option we'd see coming soon! But maybe fun for a sci-fi setting.

In the end though, if you accept the cost of the sun being not quite overhead at "midday", a time zone obviates the need for further solutions. Simpler all round.
I could imagine HPSC being useful for edge "compression" of sensor data. A continuously running high speed camera (or whatever they're doing at the LHC) generates terabytes of data per second, too much for direct download. The satellite has to be able to do analysis or at least process the data into a manageable stream before sending the results to earth.
Hmm... I thought it was going to be about the game go. Not that I want to take up the game any more than I want to start using Go...
IMHO, both Git and Fossil are wrong here.

Fossil requires users to either commit stuff they don't want to see later, or hack away until finished, cherry-picking changes as necessary. This isn't a good workflow for everybody.

Git allows users to do anything they want, but your Linux master branch may not be the same as Linux Torvalds' master branch, and history can be changed at anytime, while merge commits can be completely rewritten, losing the actual merge information.

Both of these are wrong.

There should be a way to make WIP changes without committing it nor committing to it. (Yes, those are different things.) But there comes a point at which a change should be committed and committed to, to never change again. (With the exception of the nuclear option of erasing accidentally committed secrets and the like.)

Fossil is too rigid. Git is too flexible.

There is a middle ground. My design for such a VCS would have two kinds of commits: saves and full commits. Saves would be WIP stuff; anything goes. They would also be on auto-generated branches. Once WIP stuff is done, it should be to be rebased, squashed, merged, and/or cherry-picked into actual full commits on the branch that the saves created a branch off of.

But once those commits have been created, they are there forever. They should be a commitment. (I love the double meaning of the word "commit" here.)

With this design, people could have their cake and eat it too: they could have WIP stuff that they can still massage into a history they like, but then they would also have solid, reliable history with proper merge commits.
Not all timber is created equal. Dedicated logging tracts are a monocrop and are often yellow pine. Forested areas can also be counted as timber, but in a given tract only a certain percentage of trees are worth logging. These are generally high value trees like poplar, walnut, oak, or ash, and they are planted as generational investments.
I highly doubt AI is being used here to match up the Open Camera footage with the instagram pic. Identifing humans as an object within a frame is trivial. Identifying individuals requires a considerable amount of custom training which is more than what is available from an instagram pic and a few video frames. I'm not saying it can't be done, it's just not that easy. I'd bet $100 bucks that most, if not all, of these matches were accomplished using good old stalking (matching post times to manually reviewing video data). Would be happily proven wrong but without any source code provided I stand firm with my opinion.
I'm a big fan of hydrogen, particularly the collaborative work with oxygen. You could say that it's central to my life.
That's hardly a point of view and more of a knee-jerk reaction. From whataboutism to half-hearted attempts to cast the article as antisemitic to the cynical "so what?" as if the conduct described by the NYT is not so clearly illegal.
Yes, I love that the entire fix is a 5 byte change.
Is someone who rudely suggests support for the monarchy going to be arrested? I suspect not.
Go to the dollar store and look at the food there. Everything has sugar in it.(It's also not a great deal due to portion size, but if you don't have much money it's an easy way to get variety). The cheaper the food, the more likely there are cheap sugars meant to made it more palatable

Or look at restaurant/fast food-- the healthier options are the 'premium' options. But if you've got a few buck and want to feed a whole family, a bunch of burgers is still reasonably priced for someone low income
For an elderly person, losing control or crashing on a trike is a low speed non-event.

A car driving so dangerously, so recklessly, so without any care for humanity, to hit a slow moving bicycle is homicide. It's an outrage to ever surrender the road to criminals. No-one should ever accept such a mentality.
>> Easy as in like 5 minutes easy, and it's worth the 5 minutes for the all the benefits.

The sum total of time spent on CI/CD and tests is not the time it takes to get it started, it's the time spent executing the tests/CI/CD into the future, thinking about the tests/CI/CD, problem solving the tests/CI/CD.

All these things require ongoing time which takes time away from developing the application.
Sorry to say – the Dark Sky API will shut down end of March next year[0].

Apple recommends switching to WeatherKit's API. It is not free, requiring a paid Developer Program membership, which is $99/year.[1] That includes 500k API calls/mo.

On that linked WeatherKit page, they include a DarkSky migration guide. There are fields that are no longer being offered. (The fact that `temperatureHigh` doesn't have an analog makes me wonder if the table isn't telling the full story)

[0] https://darksky.net/dev

[1] https://developer.apple.com/weatherkit/get-started/
The convolution kernels in the first layers of AlexNet and all its DL image processing descendants converge to the Gabor filters (or some variation of) which are the response functions of the neurons in the first layer of the visual cortex. About 15 years before AlexNet there were works showing that such type of filter is kind of mathematically optimally encoding for the feature based image processing. (So, theoretically one could have just pre-generated the first layers in the net and use them fixed thus cutting significant time/effort on the training - i myself wanted to do it 20 years ago, yet just didn't get to it :)

I'm pretty sure that for middle layers in image DL as well as for transformers in lang we have a kind of similar optimality, ie. something like maximum entropy filter(separator/aggregator at higher levels?) at a given level of granularity/scale like Gabors at the first feature level.
Here are my best attempts: https://imgur.com/a/obZH7X5

Not a very wide range of what I could do with the idea in terms of composition, but just some variations of finishing touches/intermediate steps. I achieved this with some human-in-the-loop iteration and inpainting, but it was no more than 15-30 minutes toying around with it, and I'm no artist.

If you have a semi-decent graphics card and would like to experiment with a bunch of extra settings and tools than are readily available online, this is a good repo for that: https://github.com/AUTOMATIC1111/stable-diffusion-webui
I'm confused about the they pronoun, isn't it plural? This pronoun thing doesn't exist in my native language.
From a golang mentality, I think perhaps he should have said: Rust has quite a few additional anti-features though.
Yes, it is secret, same as it is secret that you spent 8h in the office, but did "only" 6h of productive work. It is an open secret [0].

Well, a lot of it is very subtle, and I guess vary from place to place, person to person. Point is, your "body of work" can be the same, but time spend is certainly higher with office work, simply because you _HAVE_ to spend this time, regardless of the amount of work you do.

[0] https://en.wikipedia.org/wiki/Open_secret
Maybe? That's a really complicated question honestly - how much of their personal property actually is hereditary wealth and how much is a benefit of their station. I can tell you the answer is neither 0% nor 100% - the royal family (if dethroned) shouldn't be thrown out as paupers and it shouldn't be granted personal control of spaces that enjoy public use. Where precisely that line should be drawn is complicated but if that line leaves them with any significant portion of their current titular wealth the UK will end up losing money. The Crown Estate might be worth around 15.6 Billion, so a few hundred million every year is far less then the family would receive if they liquidated the lands at value and just invested it into an index fund. The actual income of the estate is significantly higher - with a lot of those assets under reporting their actual yield in terms of tourism and public benefits.

I think it's a really complicated question.

Lastly, while we're on this topic - why hasn't the US seized the wealth of the 100 most wealthy individuals unilaterally - that money would be of immense amount of benefit to the country so why do we let wealth accrue?
This is just asking why acquisitions happen. There are plenty of reasons, and they typically don't demonstrate monopolistic behavior, certainly not in any legal sense.
Monorepos are unreasonably effective for a product that you can guarantee won't scale to silly proportions. They also provide you some great capabilities for introducing new team members to your solution, bringing aboard contractors if something breaks or you face some regulatory issues later on, etc.
The problem with the monarchy in the UK is not so much them themselves, but that they are the cornerstone of the remnants of the feudal system. We never had a cataclysmic revolution like the French, though the English Civil War was close. We've also been uninvaded for nearly a thousand years (unlike the French). So we have a fair amount of cruft built up.
this is probably the second-most studied thing in forensic toxicology after alcohol use.

> Cannibis can be in your system for weeks or months

and the levels of active compounds[1] in somebody recently using, vs someone months away from use look very different, and their nature will generally work to the benefit of the defendant when reviewed by a competent forensic toxicologist.

[1] - not a yes/no from shitty screening methods; that kind of information comes off of quarter-million dollar mass spectrometers. they should be able to separate all of the inactive and active compounds from each other, enumerate them and list their exact concentrations in the blood.
And yet nowhere in the article was it mentioned that someone was "screeching profanities." There were people who were holding signs and there were people that expressed their opinions without profanity during the ascension ceremonies. In fact the only screeching of any referenced in the article was Twitter post with a video where people are screeching "God Save the King."
> Safari actually uses Keychain, which has been part of macOS since it existed and long before Safari and iCloud were even thought of.

I know how safari and keychain works, and my statement stands as a reasonable summary of the end user experience.

Keychain is the mechanism by which passwords are stored, but the integration into the browser is only available in Safari - you can manually open and use KeychainAccess to get the passwords for use in other browsers but that is far from what is expected from modern password manager UI - the UI for this path is even worse on iOS. To get the syncing between devices that people want from password managers using the safari password system requires an iCloud account.

> Passkeys is WebAuthn, an industry standard that uses public key encryption

The generation using the secure element/touchid seems to be safari only, and the key material is as you say stored in keychain, which other browsers do not use and so do not have access to. So using them has the effect of tying you to the safari/apple ecosystem.

Question of ecosystems are a matter of "how does an end user actually use a feature?" not "could a sufficiently skilled user use the feature across multiple ecosystems?".
Nuclear Thermal Rocket / Nuclear Thermal Propulsion (NTP)
back in the day, we called this "work to rule"

It's hardly a new thing
This is hyperopic viewpoint.

Because it would only remove the violence in our neighborhood and not the violence 1000s of miles away. This plan is not worth pursuing.

We can grant everything you said that the Silk Road may have only reduced violence in our immediate vicinity. That is still a huge success that should have been continued. Its not a failure for only reducing local violence.

That local win could have grown more globalized acceptance; reducing the niche cartels fill. Even if it had merely encouraged greater local production of illegal drugs that alone could have reduced cartel violence in Mexico.
Stumbling upon cases like this one really shocked me - “Penile self-amputation due to cannabis-induced psychosis: a case report”

https://jmedicalcasereports.biomedcentral.com/articles/10.11... (Edit: graphic images warning)

If you search PubMed, you will find case reports of other similar incidents. Now, no denying this is an extremely rare adverse effect, but still a quite frightening one. (Also worth stating, many of these reported cases of cannabis-induced psychotic penile self-amputation involve no known history of gender dysphoria.)
Or, you build a well architected piece of software that replicates your organization structure if the people (director+) who are in charge of the org structure do their jobs well.
> Frequent bronchitis (for people that smoke it)

Yep breathing combustion products is pretty bad for you.

> Risk of vehicle crashes

I'm not aware of any proponents of driving while high.

> Low pregnancy weight, preterm birth, NICU

Again, who's advocating for pregnant women to consume cannabis?

> Mental health (associated risk of schizophrenia, depression, anxiety, suicidal ideation, Cannabis use disorder)

I think this is only for those already genetically predisposed to developing schizophrenia.

> Impaired learning, memory, attention

I'm not sure anyone thinks you should smoke a bunch of drugs before studying for finals.

Just for an ounce of perspective here.
See the dozens of voting restrictions which were passed in various states over the last two years. See the 200 year old compromise with slave holder states which is still in effect to this day. See the consistent disenfranchisement efforts over the last decade led by a particular major political party. See any and all voter rights laws being stymied by that same party.

https://www.brennancenter.org/our-work/research-reports/voti...
I agree. I think as long as you have an acceptable degree of financial security, that it is very healthy to face new challenges.

As someone who has taken a few sabbaticals--including leaving an apartment to live in a tent for months at a time in order to reduce expenses while traveling-- the fear, I think, of a sabbatical, is a fear of two things:

1. leaving comfort

2. facing the unknown

Both of these are growth experiences. You'll learn what you can live without, and you'll learn various new things through new experiences with the people you meet, new ideas you develop, and beautiful new places & experience you have.
The Influencer: Charles Murray’s social science is sometimes provocative
Usually I use the default Samsung weather app, but when I'm on my PC https://wttr.in/ is a fun one, and you can even get terminal-readable output by using something like cURL!
The vast majority of applications out there are CRUD applications
I would say both; you can oppose the procession itself for all of its pomp and archaic tradition at a time where the country is dealing with a cost of living crisis and also have that also be more broadly a protest against the monarchy in general.

A large portion of the life of the royal family is public, even funded by the taxpayer, so to me it makes sense to allow for opposing viewpoints to be heard. Perhaps you can argue that a memorial service isn't the most appropriate time (though, I don't really subscribe to this viewpoint given just how much this memorial is rammed down our throats) to protest, I do think its where its likely to generate the most coverage. There is never going to be a more appropriate time to get people to listen

Edit: Just to clarify the point further - Not all of the arrests being discussed were made in Edinburgh (where the procession took place). Its debatable how much impact a person holding a blank sign in Oxford has on the events in Edinburgh (though I would wager its infinitesimally small). Equally, holding a sign with a swearword on it doesn't really "disrupt" in any meaningful sense either. A lot of people defend the police action on the grounds that it "may" have lead to violence via provocation and the person was arrested for "their own safety", but in that case why follow through with the charge? Rather than "de-arresting" (whatever that means) afterwards
Columbia University Ranking Scandal