skysight-inc/HackerNews huggingface dataset:
> In some calculations food and fuel are excluded because of volatility (controversial, for obviously reasons).

From the BLS FAQ[1]:

Has the BLS removed food or energy prices in its official measure of inflation?
No. The BLS publishes thousands of CPI indexes each month, including the headline All Items CPI for All Urban Consumers (CPI-U) and the CPI-U for All Items Less Food and Energy. The latter series, widely referred to as the "core" CPI, is closely watched by many economic analysts and policymakers under the belief that food and energy prices are volatile and are subject to price shocks that cannot be damped through monetary policy. However, all consumer goods and services, including food and energy, are represented in the headline CPI.

Most importantly, none of the prominent legislated uses of the CPI excludes food and energy. Social security and federal retirement benefits are updated each year for inflation by the All Items CPI for Urban Wage Earners

The FAQ clarifies a bunch of other CPI misconceptions overheard regularly in internet forums.

[1] https://www.bls.gov/cpi/factsheets/common-misconceptions-abo...
The slogans "Defund the police" and even "Abolish the police" were in fact quite common in BLM protests and the like. They're not something that Fox News just came up with to ridicule Democrats. https://en.wikipedia.org/wiki/Defund_the_police
Jeff Snider from Alhambra Partners routinely makes this distinction: https://alhambrapartners.com/2021/10/13/perfect-time-to-revi...

They have a great podcast: https://podcasts.apple.com/au/podcast/eurodollar-university/... and routinely appear on finance podcasts to explain this.
There's essentially an F# implementation now that's under active development right? I haven't used it and forget the name, but last time I looked into it it, it seemed well-regarded and the people using it like it.
Given that the US already has the highest health spending per capita I feel dumping more money into it is a horribly inefficient idea. At some point you run out of people to tax to get that money from.
> sometimes you have to do it, because that strictness really is there.

In that case, wouldn't it be more correct to specify the strictness explicity through service dependencies?

Service dependencies form a DAG. Sequential start of services can be modeled by a DAG in which every node except the first and the last one has exactly one dependency and one dependant. So systemd way of starting services is a superset of the traditional, sequential way.
Whether people like it or not these "policies" Chesa and his predecessor George Gascon(also under threat of recall in LA) have really turned what used to be a world class city into a complete dumpster fire.

I worked in SF for the better part of a decade on and off and every year it seemed like things got worse, human shit on sidewalks everywhere you looked, needle casings littering the ground, aggressive homeless and crime that was out of control(only time in california I ever got a car window smashed in and stuff stolen).

I didn't see SF for 2 years during the pandemic but the week I did visit in 2022 it was down right apocalyptic, no normal people on the street at all, just homeless/drug addicts everywhere, graffiti and trash at levels I have never seen, no wonder the city saw its population drop by the largest percent of any major american city.

https://www.sfgate.com/bayarea/article/San-Francisco-populat...
In those days when developers tirelessly try to develop in their iPads, I think a library such as this one has great future.

This sixth version fully support touch input, that is unlike Monaco editor on vs code were you can have multiple online versions (self hosted, one hosted by Microsoft and GitHub code spaces) but none of them work well on the iPad.

I don’t know if there’s something similar to vs code already implemented with CodeMirror but I would tend to think there’s market (of free editor) for that.
Does your contract or the email specifically contain a flexibility or mobility clause that might allow them to unilaterally change the location of your work? I'm guessing it does as if it did not there would be more brouhaha in the press about it, It might not be a bad idea to have a real lawyer take a look at your contract and other correspondence.

Musk does not strike me as the kind of person to offer severance and Tesla is looking to reduce it's workforce by 10%. Unfortunately, I think this is likely a shitty way to consider you to have abandoned your job rather than having to fire you outright.
We are 80 years over due! I’m not sure what to do with this info. It could be tomorrow? I found this link from https://marfooglenews.com/2022/06/07/14655/
Yeah those sensible gun laws in Chicago - some of the strictest in the country mind you, seem to be working really well. /s
Amen. The American Hospital Association wields way more power now. Mergers between hospital systems have led to the large hospital systems being among the largest employers in many states, which means that senators and representatives are going to listen to what they want. Certainly more than they do to the AMA, which might only represent like 25% of doctors anymore.
Engineers can and do go to prison for mistakes, so at least there is precedent for paying reasonable-if-high salaries. I would expect folks interested in public service and justice would be intrinsically motivated to do a good job, too.
If it's really needed and there is no way around it, it'll be painful in almost any sane and modern init system (OpenRC isn't that much better at it than Systemd, neither is svcs from Solaris which sucks the most at configs).

A good init system IMO doesn't have deterministic behaviour built in but rather as emergent property. Your start order falls out of the service definition.

---

The bluetooth module. Linux is highly modular and you can blacklist modules you don't want. And you can even compile modules after the fact. If you need bluetooth but your distro didn't ship it, you can in fact compile just that module and load it.

Only some core options need a full recompile of the kernel but that isn't too terrible on most distros (apt source, Arch's ABS, etc.) either.
> It delivers orders from the elevated kitchen area via a vertical lift / “food tube” seen in the video below that brings meals down to ground level

Cool to see some experimentation in the fast food restaurant space. And I'm guessing since the kitchen is elevated and out of view, it's probably largely automated.
US reading, Math and Science scores have been flat since 1970 while inflation adjusted spending per student is up more than 200%.

Spending night be misallocated but a bigger budget won’t do anything by itself. There are no big, obvious wins out there.

https://www.cato.org/blog/addressing-critics-purportedly-no-...
The government takes all the worst 40% of customers (the poorest and the old) out of the pot, socializes them - leaving the free market to profiteer on the customers who need the least care. The generally healthy 26-65 year olds should be pooled in.

Medicaid requires you basically give up your house - and most health plans normal people have come with deductibles too high to actually use. So poor folks don't seek preventative care until it's too late, pushing up prices for everyone.

The whole thing is unconscionable, and the price tag you point to is a function of massive structural inefficiency and not something to be proud of. Canada provides healthcare to 100% of the population for half the per-capita cost. Norway, 66% of the per capita cost.

There is no true free market for healthcare, anywhere. A free market requires voluntary agreement between buyer and seller, but regional monopolies saying 'pay up or I'll let you bleed out on the floor' ain't it.
Maybe officially and unofficially, but the state monopoly on violence (of which the police is a part) absolutely reduces violence and prevents crime. See “Better Angels” for a discussion of why. Or go right back to Leviathan.
Anyone who thinks this is a stretch needs to be watching the Jan. 6th hearings tomorrow night.

We came within a hair of a fascist takeover of the US in 2021. That threat is now stronger than it has ever been.
The problem is short that weapon ownership is established as a right in the US - not a privilege. This makes it much harder and less palatable to regulate. It's been done, but there's tons of court cases where strict laws were overturned after a lengthy court battle...that and there's enough people in this country that will vote out any lawmaker who goes after firearm ownership.

This is why lawmakers faff around with stupid ineffective solutions like "a firearm cannot have any of these features" instead of something more "common sense" - odds are it's been tried, and repealed or overturned.
Here in Sweden some of those 'experiments' have been policy [1] for many decades. There is an increased call to do away with many of them since they - in combination with the mishandling of migration which has led to ethnically segregated ghettoes - have led to an explosion of gang-related crime [2].

- Under 18 year old convicts in practice do not get sentenced to prison no matter the crimes they commit, instead they tend to get off with a warning for 'small crimes' and are sent to social care ('ungdomsvård' or 'youth care') for 'larger crimes', this can be in a closed facility for crimes like murder and rape. Under 15 can not be prosecuted at all. This has led to a large increase in the use of under-18s by (ethnically segregated) criminal gangs where "att brösta en fyra för att bli en hundragubbe" [2] (taking four years of 'ungdomsvård' (for murder) to prove your 100% loyalty to the gang) has become a way to get away with murder while gaining new recruits.

- Under 21 year old convicts get reduced sentences ('ungdomsrabatt' or 'youth discount') which is also useful for gangs which see their members back on the streets within a short time.

So going by the long-time experiment run here in Sweden the conclusion seems to be that these policies do not help in lowering the crime rate, in fact the opposite seems to be true.

[1] https://www.aklagare.se/lattlast/ungdomar-brott-och-straff/s...

[2] https://www.theguardian.com/world/2021/may/26/fatal-shooting...

[3] https://www.svensktidskrift.se/ett-parallellsamhalle-som-let...
Why is this discussion flagged?
> Inflation is highly manipulated by goverment and is usually 2x lower than real inflation.

You just seem to be generically responding to the keyword "inflation."

I would bet this rate is almost completely driven by fallout from a nearby war with a major energy exporter that's resulting in embargoes and boycotts:

> Energy prices continue to have the greatest effect in May, with price advance there jumping from 37.5 percent in April to 39.2 percent in May.

Estonia is quite close to that exporter, and I'd imagine they've been affected more than some other countries.
If a person is depending on medical intervention to stay alive, and the situation is permanent, it seems inevitable that their death will be a "medical error".
Why are there still so many Americans quitting their jobs?
Hi!

Thanks for sharing your concerns!

PeerTube is not concerned by these effects since we're using Websockets and WebRTC to handle the connection with the tracker and P2P.
>Name one city that has suffered the fate of Mariupol from US actions

Raqqa, Mosul, TONS of cities during WWII, including Dresden and Tokyo.
> the reason for having bullet proof glass still exists because of the guns

Is that the only reason? Does every county in the US with a lot of guns have bulletproof glass in stores?
That area of computation is a subfield of discrete mathematics, and these are all topics I looked up in my old discrete mathematics textbook.
IANAL but this seems like the kind of thing that gets the state sued every time a barrier could have protected a business or it’s employees but couldn’t because the business was forced to have it removed.

Even if it passed, I can’t imagine something like this lasts long at all.
>Service managers should take care of things like figuring out where stdout and stderr logs are sent to, so you shouldn't have to do that stuff in your service scripts.

You don't have to. The fact that Linux had anachronisms like that wasn't because of shell scripts, it's an entirely orthogonal issue; a typical rc script in, say, FreeBSD, looks like this: https://github.com/freebsd/freebsd-src/blob/main/libexec/rc/.... It's declarative, it's easy to understand, but it also provides you with flexibility when you need it, as opposed to one-off hacks with custom, fixed functionality and random syntax.
> Tell them you've got an order for $YOUR_NAME when they ask what you want. Boom. Already paid. Just wait for it at the window and off you go.

I do fintech, and I'm failing to see what is the advantage of just ordering is here: I'm guessing you don't want to to use cash but can you not just swipe a credit card? It's the only step left out of the equation from how a normal transaction occurs, isn't?

The waiting thing is what really gets me, you're still inconvenienced waiting for your order, and there seems to be no added benefit and only seems like a step above gift cards.

I'm still not even sure what lengths and what costs so many people will go to in order to just not place an order over the phone for pick up.

Monetizing agoraphobia, however, and adding a data extraction feature is like the MVP for most of these self-checkout like businesses. I'm personally conflicted but I have accepted that is how the World is going anyway.
Is he also a “secret Muslim trying to bring Sharia law to the US?”

I think we should check his birth certificate.
Seems like it depends a lot on the local practices. Here in France the vast majority of mortgages are fixed rate and term. I'm probably a pessimist but it seems way to risky to take a variable rate, who knows what the future will hold in 15, 20, or even 30 years ?
Which department in San Francisco releases statistics on violent crime and who heads it?
The common refrain was that they'd arrest folks multiple times and the DA would release them, so why bother arresting them in the first place.

I'm sure the truth is somewhere in the middle and the police deserve a fair slice of blame, but so did Chesa. I think San Franciscans are sick of both sides and looking to send a message. Now the police have no excuses, and if it doesn't get better Chief of Police and Breed will be next.
It is probably easier to interview someone with 20+ years of XP (who is experienced at interviewing and at adapting to various work environments) than someone junior.
My suspicion is that this, and MicroPython, which it's based off, are designed for people who know Python, and are hesitant to learn another language, or expand their toolbox. Python is a great language in some domains. For example, numerical computing, web servers, and scripting.

Embedded programming is, unfortunately, only suitable to a handful of languages that can operate with high speed and low memory use. At this time, they're C, C++, Rust, Zig, and ADA.

For example, on my embedded projects, I use Python to handle the webite framework, and to generate filter coefficients using Scipy, and plot data with MPL. I use Rust for the firmware.
> IMO this is another example of a company taking established trust in a franchise and exploiting it for a cash grab.

It's a franchise. There is no aspect of this which is not a cash grab.
That's brainstorming, basically; just come out with ideas and say "yes and" instead of "but", save any judgments and but what ifs for later.
New diabetes drug helped obese people without the disease lose weight
Please, add "in the USA" to the title, thanks!
Wasn't the ACA essentially the Republican plan? I didn't follow it closely, but I remember hearing at the time that Obama basically went with their plan, as it was the only way he could get some kind of health care reform passed.

If Republicans believe that healthcare for working adults is best covered by the private sector, then the government doesn't need to do anything to fund that. If the government did take it over, there is no guarantee it would include mental health aspects or if it would just expand sick care to all. There are a lot of assumptions that a government funded plan will be the exact plan everyone wants, but that is very unlikely, because everyone wants something different.
Safari definitely needs work, and there are quite a few areas it's holding back wider adoption of features. My previous comment was scoped only to Apple's prohibiting other browser engines in the App Store being the only thing holding back a Chrome monopoly.
But that's not a direct competition. Europe can't possibly match their growth rates
https://polyformproject.org
Oh this looks fun
getStructureString and render can be defined as record selectors

newtype Structure = Structure { getStructureString :: String }
newtype Html = Html { render :: String }

BlockArguments let you write expressions like myhtml

myhtml :: Html
myhtml =
html_
"My title"
( append_
(h1_ "Heading")
( append_
(p_ "Paragraph #1")
(p_ "Paragraph #2")
)
)

in a more domain-specific style. De gustibus, but some may prefer it to the parentheses.

{-# Language BlockArguments #-}

myhtml :: Html
myhtml =
html_ "My title" do
append_
do h1_ "Heading"
do append_
do p_ "Paragraph #1"
do p_ "Paragraph #2"

or using the associativity of append_ = (<>)

myhtml =
html_ "My title" do
h1_ "Heading" <> p_ "Paragraph #1" <> p_ "Paragraph #2"

myhtml =
html_ "My title" do mconcat
[ h1_ "Heading"
, p_ "Paragraph #1"
, p_ "Paragraph #2"
]

All examples of 'concat . map' can be replaced with.. concatMap :Ð
British tourist sentenced to 15 years in Iraqi prison for taking artifacts
Sorry, this DA getting fired means nothing. The DA cannot solve everything by themselves.
My God, based on what I know, drinking UV sensitive resin would have to be one of the worst ways to die.
This is a little bit naive, I don't think you've really thought a great deal about how healthcare works. You're talking about a basic triaging system in ER (or A&E or whatever it's called in your locale) - this is something that every hospital does already.

It's kind of obvious you're young (20-something or at the very most early 30s), but just remember you're going to be "infected" by old age one day. You'll likely feel a little bit different about the whole old people are just ill and die attitude then. And that's not even to mention the elderly who are alive today who we are responsible for and should feel compassion for. A bit of empathy goes a long way :)
Archived link:
https://archive.ph/a4jOd
If it’s not reported, it’s not crime
CodeMirror is one of the most important pieces of software, period. This thing is powering everyone's editors - heck, Chrome DevTools uses it.

CM6 has a steep learning curve, in exchange for being even more flexible than 5. It's worth it.
The 'mental health issue' is a symptom, not a cause. Personally, I believe the cause is public schools. Boomers and Gen Xers didn't have to do standardized testing, they had meaningful break periods between classes, could leave school for lunch or just hang out outdoors. Not everyone was pushed into excelling for some college track type education.

Now, you have someone that's had a lifetime of anxiety because they couldn't perform academically (which will get you shunned by your peers) with little to no prospects in life. Add in social media where these people can see their peers going to tropical islands, college parties, just living a nice life they'll never attain, and you've tipped the scales into driving someone mad.

So, if you want to solve the 'mental health' problems, you need to fix what's causing them. We're human beings, not robots. We don't need to be locked in classrooms and have performance measured 8+ hours per day for our entire childhoods.
I remember Amazon making a bunch of noise about offering 80% time and 60% time jobs a while back; they may still be doing so. If not, there are plenty of "full time" roles in big tech that only realistically require 24 hours/week.
The problem, unfortunately, is that no one knows how to actually solve the underlying systemic causes.

The only thing that works, partially IMHO, is periods of "broken-window-theory" policing followed by gentrification, healthy streets, and mixed use development. If residents value their communities, they will take care of them physically, economically, and socially.

This was explored a lot in a classic work by Jane Jacobs (The Death and Life of Great American Cities). It's still a relevant read and informs much of new urbanist thinking.
> NUCLEAR!, to keep their industry energy independent of Russia

The world (EU and US included) is heavily dependent on Russian nuclear imports and technology. Here is an in-depth article on why this is so difficult to overcome:

https://thebulletin.org/2022/05/five-reasons-that-russias-nu...
Mathematically if the supply of money stays fixed there cannot be general inflation. Some prices could go up but the overall level of spending must be constant (so buyers would substitute or else other prices would decrease).
Yes thanks, autocorrect :-)
>No credit agency will touch a $1.16 bill

You would be surprised how detail oriented rich white people suffering from narcissistic injury can be.
And yet... That's 90% of what legislation is all about.
> guarantee service start order at boot

If the services boot after their dependencies, why do you care what order they boot in?

Plus, it's rare to find a CPU with fewer than four cores these days, so 'order' becomes harder to reason about.
Want the best software engineers? Stop looking at Stanford and Berkeley
> Also, is it possible to make guns disappear in the U.S.?

No. Partially because of the culture, partially because there are just that many. And even if you could, you would be mostly restricted to taking them from lawful owners.

On a somewhat related note: With guns, I don't see how restricting lawful ownership more and more helps with keeping people from illegally obtaining guns for criminal actions. (Cant pull up actual stats atm because of the company firewall)

And I'd say that the potential of the victim being armed is a pretty good deterrent in a lot of cases.

In relation to the article: I find it quite annoying that concerns about the danger of the area is conflated so much with accusations of racism. It obviously sucks that there are areas with higher amounts of violent crimes. Yes, they often correspond to the what ethnicities live in that area. It more often than not is caused by socioeconomic factors.

All those things can be true, and the reason for the higher security is likely still not based in racism.
https://rsc-banks.house.gov/democrats-push-defund-police

Plenty of prominent Democrats quotes here that say otherwise.
>Republicans: mental health is definitely an issue that needs to be solved in regards to guns but that's a long term solution - we also need a short term solution of preventing people who shouldn't have access to guns in the first place.

Translation: anyone that even has an anxiety disorder is just one step from turning into Mister Hyde and going on a rampage, so instead of dealing with guns by reducing the number of them in the population we'll just scapegoat people with emotional and other sorts of mental problems instead.