skysight-inc/HackerNews huggingface dataset:
This is great news! I know Obsidian uses CodeMirror 5 on desktop while using CodeMirror 6 on mobile, maybe the stable release will make them unite the versions again so 6 runs both on desktop and mobile? Would make life easier for writing plugins.

On a unrelated note, this irks me slightly:

> CodeMirror 6 is a new code editor library for the web, a from-scratch implementation

Why not just call it something different at that point? It's essentially CodeMirrorNext v1, if everything has been reimplemented from scratch and all the API interface intentionally changed.

That way there won't be any confusion what editor API you talk about when you say "CodeMirror". Instead, we now have to ask follow up question "Version 6 or older though?".

This seems to happen in a large part of the ecosystem. React Router for example has gone through a lot of API churn, where basically the first three/four versions of React Router all look different, and should instead have been just three/four different libraries instead of versions.
Before you do anything, talk to a lawyer.
I've read that USB-C is a durability improvement over micro USB. This surprised me because I've never had the USB port on a phone fail on me until I got a USB-C phone.
I think you are right where it comes to possession. According to the 2018 report [0] only 4.1% were in prison for drug related crimes. It would be interesting to see how many of the other categories (burglary, murder, possession of a weapon etc) are directly linked with drug trade or drug use.

[0]https://www.cdcr.ca.gov/research/wp-content/uploads/sites/17...
Excellent work! I've applied this to my website at https://songquotes.pro/ and yes this looks like the most spam comment I've ever done but there it is. It's real. :)
I mean it's not like we have much of a choice. It's the result of decades of progress, economic development and home comforts as a result of an okayish relationship with Russia and their natural resources, which "suddenly" collapsed (it wasn't actually that sudden).
Punctuality Is Having a Moment
Being able to load extensions at run-time could be a pretty big advantage. Have "apps" you can install on the micro-controller.

>but in practice you hardly can exploit your microcontroller's power using such a non-compiled high-level language

With micropython you can mark a function to be compiled, or even write a function as inline-assembly. Like normal python develop quickly and optimize the expensive parts. Micropython makes it quite easy to optimize the expensive parts with the viper code emitter and inline-assembly options.
They weren't asleep at the wheel - pretty sure they were involved in discussions that led to larger guard bands etc deployed elsewhere.

FCC is the one that sold problematic spectrum before work was done (and yes, work was being done, and it's not trivial to deal with spectrum change like that)
Absolutely talk to a lawyer instead of the internet!
Swift finally gets a native regex library. It uses custom DSL
I’ve been working on CodeMirror 6 extensions for Typescript-based autocomplete, autoimport, hover tooltips, etc. The extension system is very deep, but there are APIs at many levels of abstraction. Marijn is also very quick to address feedback. CodeMirror is also much more usable on touch devices than Monaco (VS Code’s editor component).

Thanks Marijn for all your work!
Political views often shift over the course of a lifetime. Those that rebel with opposite views from their parents in their 20s often shift further center in their middle age.
I am not understanding the article. Someone tried to install a particular type of glass and were told no? Why is this even a thing? I can install whatever I want in a commercial building provided it meets building codes and I can install literally anything in my home. Is there more context behind what is going on?
The whole thing would be more believable if e.g. bankers went to jail. When sentencing repeatedly seems to have no relation to societal harm, it's fine to ask if the judicial system isn't corrupted in some way (talking about the UK specifically here).
The official crime rate is artificially low because nobody reports, investigates, or punishes the crimes that occur.
Good point. That's why I'm working on a C++ version of TypeScript's type checking./computation so it can be used in all languages. That would allow us to use TypeScript types literally everywhere and remove that barrier.

Prisma's DSL has no syntax for validation constraints, so even with openAPI generators it's incomplete.
>When it comes to naming SSIDs you need to blend in and not draw attention.

I did that for over ten years, people just abuse privlidged access to make their own truth.

Why should I blend in on my personal network?

Why should I repeat the same actions expecting different results?
Get shoplifters on camera and trespass them immediately as soon as they touch merchandise, then throw the book at them with vandalism and assault charges (they will yell, they always do).

Where there's a will there's a way.
Their "models" don't make any sense at all. All BS.
In the case of Georgia, that must be a definition of "feel ok" that I've not encountered before.
Finding a Path in a Broken System
Squatting has an intention behind it. You don't call ancient coin collectors deplorable squatters because they are taking limited stock off the market.
The old Milton Friedman quote is still true, as far as we know:

> “Inflation is always and everywhere a monetary phenomenon in the sense that it is and can be produced only by a more rapid increase in the quantity of money than in output.”

What has changed it that "the quantity of money" has become much harder to figure out.

> all prices will be higher, but salary will be higher too

Salaries are the price of labor. As other prices go up, there is no particular reason these prices wouldn't do the same.
Maybe it is different in the UK. John Major, 1997: "Tonight we have suffered a very bad defeat, let us not pretend to ourselves that it was anything other than what it was. Unless we accept it for what it was, and look at it, we will be less able to put it right." Ed Miliband, 2015: "I take absolute and total responsibility for our defeat. I'm so sorry for all those colleagues who lost their seats."
Agreed; Ireland is very similar
har har.

Except I work in industry, both specialty and retail pharmacies.

For any chronic disease (the ones this program benefits most), most doctors will get you setup with the cheapest option for your insurance / PBM. As cost of treatment is the #4 indicator whether people will fall off treatment in the United States[1]. Additionally, in a retrospective study, cost was cited as the main reason for non-adherence in 17% of cases, making it the #3 leading cause[2]. This number is as high as 55% depending on age / demographic... Doctors working in chronic diseases know this and have to deal with it like any other adherence issue.

For one off treatments, people usually just go to their grocery store or local pharmacy.

Are there patients who are over paying? Absolutely. Is this a cash grab by a multi-billionaire because its not actually addressing the issues resulting in expensive drugs? Absolutely.

[1] adherence to refills and medications scale
[2]https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3934668/
Typically when we say “more money” we mean more money in circulation. What’s the point of any other meaning?
I'm not sure the over-exaggerations are necessary (one of the most important? Everyone's editors?), CodeMirror is plenty good to just stand on its own merits without over-hyping it.
The article stresses that all medical errors are not necessarily due to bad doctors. It's also bad coordination between different services, miscommunication, etc. Dr. Makary points out various process problems that are not necessarily the fault of any individual doctor.
Please stop spreading misinformation. The AMA doesn't limit residency slots. They have been actively lobbying Congress to increase residency slots, and have even put their own money into it.

https://www.ama-assn.org/education/accelerating-change-medic...
No, it's negatively correlated with guns and strongly negative with registered guns. Taking store robbery data as a proxy.
You're probably better off posting over on reddit in /r/legaladvice they've got a pretty good pool of properly qualified people who will point you in the right direction. This is highly likely to come down to details about what is in your contract or any agreements you made with your employer as well as the jurisdiction. Talking to a lawyer is going to cost you much less than getting screwed by Tesla, so highly recommend going to one for some advice. Outside of legal avenues, I would suggest to you that saying to your boss "I'm willing to locate, but I need flexibility to push that date from August back to January" is most likely going to work if they really do want you back in the office. It's not going to work if (as has been widely suggested) the back to office order is just a pretense for getting people to quit without paying severence.

The other thing to do obviously is talk to them about how it's industry standard for companies to provide financial help for relocation- that should also give you a good idea how serious they are.
Hmm... That's much harder. I can list plenty of things, only, they apply only to the wealthy.

60 years ago I'd have a huge list. But we sorta stopped caring and we've been costing on that historical success.
I don't see it that way. What I see is systems that have behaviours that look like human behaviours - for example, generating and recognising text, or recognising images, etc; but what these systems really do is nothing like whatever humans do, and the behaviours they produce are not the same behaviours as those of humans, after all.

For example, we can see that clearly in chess and other board games. Chess engines play by executing some variant of the minimax algorithm and they can out-play humans. But human players don't typcially try to run minimax in their heads when they play and in any case can play chess without trying to emulate a chess engine. The same goes for image classifiers (it is extremely unlikely that we match sets of pixels to numerical labels in our heads, to the point of absurdity) and for language models (again it's absurdly unlikely that we calculate the probabilities of sequences of tokens).

I think what you say comes from an assumption that because humans exhibit certain behaviours, and humans have human intelligence, any system that exhibits similar behaviours must also have human intelligence. Which, if you look carefully, does not follow.

Anyway historically people have always been quick to identify the capabilities of computers as artificial intelligence, just because we tend to think of anything to do with computation as requiring intelligence. But we had machines that could perform calculations automatically, through entirely mechanical procedures, for more than 200 years now, and most of those we don't think are artificially intelligent. For example, I don't think anyone would consider the Pascaline to be an AI, and yet the Pascaline can do better arithmetic from any non-human animal, and from many human animals, also. So, does arithmetic require intelligence, or not?

How much of what we can do thanks to our intelligence can also be done by a dumb, mechanical automatism? This I think is the important question in AI research today and one that, if we could answer it (which we can't) would finally put the lid on wishful thinking about LLMs exhibiting "a different sampling" of intelligence than ours.
I think there's been a move towards unity within the EU at least; for the past year or so, I think, Dutch articles on inflation [1] have been explicitly stating that they were calculated using the "European calculation method", while comparing them to what the numbers would have been with the previous Dutch method. I presume the latter will slowly disappear as we get used to the EU method.

[1] https://nos.nl/artikel/2430862-inflatie-nog-steeds-hoog-maar...
Don't forget that LNG market is mostly short-term, and Russian pipes work under long-term contracts.
Products that were inspired by Nickelodeon's green slime?
Which Party Has Gotten More Extreme Faster?
> by then lisp might have fallen into the abyss of history

I don't think so, because being a lisp is a trait of a language rather than a specific language. Scheme is a lisp. Racket is a lisp. Clojure is a lisp.

People keep making new ones because lisp continues to be a useful idea. It keeps not quite going mainstream, the reasons for which have been subject to much speculation. It's most likely that there will be some semi-popular lisp in 50 years.
yawnshoppe
If the data from SF's own website, plus the FBI's UCR site is accurate, crime is mostly down over time, peaking in SF in 2014/2015. There was a bump in some crime types during the pandemic, but that was a national trend.
https://sfgov.org/scorecards/public-safety/violent-crime-rat...

https://www.fbi.gov/services/cjis/ucr
"Most" is a bit of a stretch. Depending upon the year it is anywhere from 45% to 68%, most years it is right on the 50% marker.

Additionally the NRA gets lots of money from corporations and big ticket donors. This seems to typically be around 30% of their income. While a smaller amount overall, this has an oversized weight as one big ticket donor coming and complaining the fear of them taking their money and going home is a lot scarier than a normal membership fee.
The Fintech 50 2022
An investment fund is not a bank vault. The money leaves the fund and enters the economy. In particular it will be invested in companies, which will use it to buy assets and pay wages. The effect is similar as if you had spent it in the first place.
Tell HN: Use separate windows, not tabs, for distinct tasks
I find this reduces cognitive switching penalty.

Each window has all the tabs relating to a specific task.

When you finish a task, you can close the whole window at once.

When you want to pause a task, you can minimise the window.

Your minimised windows show you of your tasks in progress without you having to infer it be checking all of your tabs.

Building the habit is hard, so what I did was install a browser extension that limits the number of tabs you have running, and set the limit to three. This will force you to start using new windows for different tasks. It can be annoying in the long term, but it's enough to break the "new-tab-by-default" habit.
It's not much of a secret when even in high school economics class I was taught about different substitution methods (Paasche, Laspeyres[1]) with various drawbacks.

It's done because factually consumers buy different and producers produce different things over the years, and it's hard to impossible to observe/measure which substitutions are by necessity and which by preference.

[1] https://en.wikipedia.org/wiki/Price_index#Paasche_and_Laspey...
What circumstances do police prevent crime? If someone breaks into my house, what are the chances that police will get there in time to stop it? If someone is victim of crime committed by a family member (20%), how will the police help?

Then you have the case where the police were afraid to go into a school during an active shooter incident because they were “afraid of getting shot”

https://nypost.com/2022/05/26/texas-cops-feared-getting-shot...
Oh this is a very funny topic.

You are probably aware that IT startups require engineers. And in Estonia there's only one tech university with a very arguable level of education.

Working in this field for decades, can assure you that for recent years Estonia made a huge progress in importing engineers from Russia, Belarus and Ukraine. Those high-quality engineers actually made it the Startup HQ of Baltics.

As for now, the immigration policy does not permit any work visas for Russian or Belarusian citizens, so this flow is depleted. Ukrainians have stopped coming here few years ago as salary levels were higher in Kyiv and it made no sense in coming to Tallinn. Today they just can't leave the country.

The biggest motivator for engineers from mentioned countries to come to Tallinn was the big Russian-speaking community, which made it "live in Europe, speak in native language" for them. As of today, the pressure on Russian language based education is extremely big, and having kids you want to teach in native language, coming to Estonia for Russian-speaking developers makes no more sense .
I understand that they can be seen as an indignity, unwelcoming, and makes people feel less secure. Though, when you walk into a chicken joint at 1AM next to the Pink Houses and some dude is pounding on the window yelling "yo, wheres my fuckin chicken nigga" I understand why the restaurant and their employees want them.
You can already do x86 emulation on linux ARM devices via other means[0] including on the Raspberry Pi. Keep in mind performance will be greatly degraded, but its possible.

[0]https://github.com/ptitSeb/box86
Instead of defining append_ for structure

newtype Structure = Structure String

append_ :: Structure -> Structure -> Structure
append_ (Structure c1) (Structure c2) = Structure (c1 <> c2)

empty_ :: Structure
empty_ = Structure ""

the <> operator (from Semigroup) can be reused by deriving it via the underlying String type (edit: I see this is suggested later in the tutorial).

{-# Language DerivingStrategies #-}
{-# Language GeneralizedNewtypeDeriving #-}

newtype Structure = Structure String
deriving
newtype (Semigroup, Monoid)

append_ :: Structure -> Structure -> Structure
append_ = (<>)

empty_ :: Structure
empty_ = mempty

Semigroup and Monoid let us use a lot of standard vocabulary

concatStructure :: [Structure] -> Structure
concatStructure list =
case list of
[] -> empty_
x : xs -> x <> concatStructure xs

becomes

concatStructure :: [Structure] -> Structure
concatStructure = mconcat

or

concatStructure = fold

Also in the detour about kinds they are written as * while the ecosystem is moving towards a more uniform Type name.

{-# Language StandaloneKindSignatures #-}

import Data.Kind (Type)

type Tuple :: Type -> Type -> Type
data Tuple a b = Tuple a b

type Either :: Type -> Type -> Type
data Either a b = Left a | Right b
TypeScript's type system can be very powerful and flexible - creating types at build time in a manner of speaking. Here's an article I wrote on an aspect of this called mapped types. You can see how types can be composed of other types.

https://www.lloydatkinson.net/posts/2022/going-further-with-...
Speak in complete sentences.
you usually get 1 month severance if you agree to voluntary separation. Otherwise, if you are fired you can get unemployment. Some companies note that you were fired in their employment records.

edit: why is this downvoted. I was given this choice in two places, lol.
Ah the 70s energy crisis. I remember it like it was ... half a century ago. In fact I don't remember it because I'm younger than 80. I wasn't even alive.

Most people on this forum weren't even alive then. And we now live in an era where governments are inexplicably opposed to any of the easy options to secure energy. We should have been going nuclear in the 80s, 90s, 00s, 10s and now the 20s.

So while I'm happy to say that if we have an energy crisis that will cause inflation it isn't like we didn't see it coming 30-40 years in advance. The anti-fuel drive of the last decade hasn't helped any either. And I still blame regulatory interference.
I've found I need to work a bit harder than I used to.

As you noted, it used to be as simple as just showing up to some conferences/events and chatting with folks.

Now I've found that I need to take it a bit further, I need to identify folks that I have common ground with or otherwise want to meet and reach out via LinkedIn or email, introduce myself, and ask if they'd be so kind to meet for coffee, etc.

Thus has worked well for me.
Totally agree, programming shows other angles on problems or issues that can be adapted well to real life.
I know it first-hand, lived through it after the fall of USSR.

Hovewer, I don't know the exact threshold to be considered "hyper", that's right.
Russian oil and gas should actually be cheaper because demand has dropped sharply.

Anyway it's a very bad time to be a Russian oil consumer, because you'll be funding an unprovoked invasion and the countries that have sanctioned Russia may not want to deal with you.
do you have it on GitHub?
It’s almost like one side doesn’t have a monopoly on effective policy. It’s too bad we can’t have laws based on efficacy, regardless of which side of the aisle they come from. “If either the left wing or right wing got control of this country, it would fly around in circles.”

Most frustrating of all to me is the Enlightened Centrism memes which equate a rational middle position with agreeing exactly half with both sides and poisons the well for anyone trying to find policy that is effective, regardless of its origin.
I don't believe it's very selfish to want to avoid starvation and to have a roof over your head.
I'm guessing this [0], which is the base from the 'bro' app from Silicon Valley.

>Yo was more deserving of a million dollars of investment money than web3 is.

Here is the thing, I despise Web3 it's a total Boomerism trying to shoehorn themselves into relevance and trying to ride the coat tails from the Bitcoin and to a greater extend the alt coin mania which so many profited from since the ICO craze; but for real-time crowd-funding it's pretty useful, Nadya of Pussy Riot and anti-Putin activist raised $40 million selling her NFTs and sent the first traunch of funds to help the frontline soldiers in less than 24 hours on the day of the invasion. And this was at a time that the Ukrainian Central Bank imposed Capital Controls and made it incredibly hard to get money in or out of the country.

This is a very narrow usecase, and I mean incredibly narrow, but it has utility: you can in theory be able to prove providence of an item in real time with this tech, but the issue as in most cases, will rely on an arbiter: and Courts/Judicial system are simply not caught up to the 21st century to make any of this enforceable.

You could program certain parameters into the NFT/Token to avoid scamming, or scalping in secondary Markets if you're holding an event etc... but as I said, these are so narrow that I fail to see if being embraced by anyone who doesn't have a financial incentive because it is still so early.

Eventually you can have things like Oracle's that point to certain events and self-execute a transaction, but honestly you'd be a fool to build this on ETH or any other Alt for anything that matters since it's so prone to hacks/reversals/forks etc... Personally I think this will be Layer 3 in the Bitcoin network due to security.

0: https://finance.yahoo.com/news/why-yo-could-be-the-next-twit...
It’s hard to imagine that demand for bread doubling doesn’t result in the price going up. I don’t think this is the example you were going for.
For some reason I figured HN was immune to the classic gun talking points. Maybe clarify what you mean by "assault weapons" as the general populous does not have easy access to what could be construed as "assault weapons". Not even law-abiding citizens. Despite the warnings of the Founding Fathers.

"A free people ought not only to be armed, but disciplined; to which end a uniform and well-digested plan is requisite; and their safety and interest require that they should promote such manufactories as tend to render them independent of others for essential, particularly military, supplies." ~ George Washington

Military supplies. Not "civilianized" equipment.