skysight-inc/HackerNews huggingface dataset:
The Cat gets plenty of affection.

The robofeeder has not diminished The Cat's appetite for snacks 24/7, but it did reduce The Cat's stress with its predictable precise delivery of food.

I still restrict its access to the computer, as it had been logging on to KatNet and plotting the overthrow of humanity and having us all stuffed into the KatFud hopper.
From the revised bill summary:

> Directs that for an activity occurring inside a closed structure on private property, a person authorized to be on the private property may make a video recording of the activity from an adjacent room that is less than eight feet away from the activity. (Sec. 1)

Additionally from a separate amendment:

NOTWITHSTANDING SUBSECTION A OF THIS SECTION, A PERSON WHO IS THE SUBJECT OF POLICE CONTACT MAY RECORD THE ENCOUNTER IF THE PERSON IS NOT INTERFERING WITH LAWFUL POLICE ACTIONS, INCLUDING SEARCHING, HANDCUFFING OR ADMINISTERING A FIELD SOBRIETY TEST. THE OCCUPANT OF A VEHICLE WHO IS THE SUBJECT OF A POLICE STOP MAY RECORD THE ENCOUNTER IF THE OCCUPANT IS NOT INTERFERING WITH LAWFUL POLICE ACTIONS."
US health care, rated by longevity, is about the same as Cuba. There is a caveat, the poor die young and those with health plans live close to the Japanese who are close or at the top.
Yes, the USA pays almost twice as much as the developed average = poor get little, rich get $$ wasted in getting older, many in poor health or poor mental states. Sure, over 65 it is all supposedly free - but by then the dividends of medical care skipped for $$ reasons have done the damage.
The Insurance companies, the Hospital companies, the drug companies and the doctor racket have this town sewed up. Did you know the AMA limits the number of new doctors who can graduate annually by enrollment limits? You would think people would flock to the universities, but they have the American Medical Association instructing them how many new MD admissions are allowed. So little price competition exists - which enlarged MD enrollment would certainly promote.
All politics and de-facto bribery via campaign funds and PACs keep this going. Non whites pay for this white elite by their too early deaths.
I can think of no rational reason why this persists, but a host of venal and self serving reasons come to mind.
SMP applies to multi-core as well.
In some cultures, white cloth is for funerals.
A fear that has no basis whatsoever.

Elden Ring sold 3 times as many copies as expected so far. The smartest thing Bandai Namco can do is let Miyazaki do his thing.
Stolen Focus: Why You Can't Pay Attention--and How to Think Deeply Again, by Johann Hari

Time and time again I made up my mind to focus, but it wasn't until I read this book that I actually did it.
To say that Covid may have originated in a lab would get you censored on youtube, facebook and most other social media

Your citation does not say this.
The trolls are what make the ADA less popular, I’ve seen it happen in LA (a place where compliance and awareness is high)…some grifter was actively trying to figure out how to lodge an ADA complaint against the bagel shop I was in. It was utterly obvious, and this place, being in LA, had done everything right in terms of accessibility (the doors don’t have to be mechanical, just easy to open and wide enough to get a wheelchair through). You get a few bad actors in an otherwise good thing and they give the entire program a bad reputation.

Now…I don’t quite remember much when the ADA has done good, but I do remember that one troll shopping for a settlement check. This is the popularity problem the ADA faces.
Well, they seem to have done so, as have many believers of scientism. As well as the doctors who forcible sterilized and lobotomized undesirables.
WE certainly cannot though. Humanity needs some of us to keep true north.
TSA’s First Crack at Protecting Pipelines from Hackers Falls Short
NYC allows citizens to report idling vehicles in exchange for a cut of the fines
tldw?
I do not know of any case studies or examples. However, my own code could be considered non-trivial because it's a full build system, or will be.

After writing only enough to get it bootstrapped, I'm now going through and redoing a lot to make it use all structured concurrency. Nevertheless, I don't think it's useful as an example, or rather, it won't be useful once the transformation is done.

> It'd also be interesting to know if all of the behaviour that was expressed in the original structureless concurrency code could be ported across to structured concurrency, or if it was still necessary to use structureless concurrency in a few places as the corresponding behaviour was not expressible.

I have a firm belief that the equivalence of structured and unstructured concurrency is exactly the same as the equivalence of structured and unstructured programming. It has been proven that you can express any possible unstructured program as a structured program. [0] (There is a bit of controversy over the original proof, but as far as I can tell, it has been proven as long as multi-level loop breaks/continues exist. See [1]. This is one reason why my language will have multi-level breaks/continues.)

I personally believe that such a proof exists for structured vs. unstructured concurrency and that it just needs to be found. Part of that belief is founded on [2], which does an excellent job of showing how the `go` statement is really a multi-branch `goto` statement. Perhaps I'll try to discover the proof and write it in a blog post.

(As a first dirty attempt, imagine all of the possible ways you could have more than one concurrent thread of execution. It should be simple to show how to turn every possible use of a `go`-like statement into an opening of a threadset that launches two tasks and waits on them before continuing. I'm not sure how any way of splitting a thread of execution into more than one thread of execution could not possibly be simulated with that. I could be wrong, though.)

Oh, and I just found out that Swift has structured concurrency! [3] This is great! And I think it is the first mainstream programming language with it. I think this is awesome because it means that structured concurrency is going mainstream. I hope it helps structured concurrency win against async/await, which I believe is a poor model.

So if you want a case study, I'd watch the Swift community; someone is going to rewrite their code using structured concurrency and write a blog post about it.

[0]: https://en.wikipedia.org/wiki/Structured_program_theorem

[1]: http://www.cs.cornell.edu/~kozen/Papers/BohmJacopini.pdf

[2]: https://vorpus.org/blog/notes-on-structured-concurrency-or-g...

[3]: https://github.com/apple/swift-evolution/blob/main/proposals...
Man, that fight was so satisfying, particularly since I’d eaten the umbilicals first.
I have seen Seattle police slam a person's head into the ground, surround them, and appear to purposely cut off any viewing angles. As far as I know, no charges were raised and this person ended up in hospital after immediate medical assistance was blocked.

This is what happens. It's not hypothetical.
I just want to point out that this tweet is wrong when it claims that Secure Boot does not protect against physical presence attacks. This misunderstands the point of Secure Boot.

Secure Boot can indeed be disabled, but that will change the TPM PCR values, so assuming a standard BitLocker configuration, the TPM will fail to unlock the BitLocker key. So if you try to disable Secure Boot on such a machine, you will be unable to boot unless you have the BitLocker recovery key.
Proton uses Vulkan to replace DirectX and Elden Ring's handling of DirectX isn't optimal, or something along those lines. The end result is the game running better on Linux because it coincidentally circumvents those issues.
Commonly referred to as a “chilling effect”: https://en.m.wikipedia.org/wiki/Chilling_effect
If you just apply CA's 49% natural gas (according to DOE) to the 45 mpg for 100% natural gas you come up with a gas-burning car needing >90 mpg to be cleaner -- well higher than the 70 mpg you calculated vs charging on natural gas -- but easily achievable with hybrids.

I feel like there are many people who see 30 coal / 45 nat gas and take offense that it doesn't make EVs sound particularly good. This is why I called it a more honest presentation because EVs in terms of CO2 are fairly bad in WV and marginal in DE or MI or many other places compared to a high-mpg regular car. Instead of taking offense and setting out to correct the record, understand that not sounding particularly good is an accurate view.

Even in CA, the mpg needed to be cleaner than EV formulation makes it clear that driving a 100 mpg hybrid for instance is so good that any further gains are of little consequence.
then why would Apple develop a fast speed charger?
I think that's a bit common knowledge to anybody watching this space: state department types are basically obsessed with protecting Taiwan, as a subset of the whole China-US rivalry thing (that they are also obsessed with).

A big pillar of the neurosis over the issue is that China is reaching the point where the US would have a great deal of difficulty stopping them. So the whole concept of deterring China from military action is not so much about convincing them they would lose, tactically, but rather that the sanctions/global pariah status would be so apocalyptic that they would wish they had lost.

Everybody who has entertained that line of thought would see Ukraine as a golden opportunity to prove to an audience of one (Xi Jiping) that trying something with Taiwan would be a terrible idea. Also, while sanctions hurt both sides, Russia is a pretty small global player, so it's way less painful to use them as an object lesson, than to entertain the possibility of doing the same kind of mutual economic bloodletting with China.
> All that being said, what the guy actually did doesn't make much sense. HIV isn't top priority concern for anybody apart from poorest parts of Africa. You can protect against catching it pretty effectively.

Correct. It makes a lot more sense IMHO if you imagine that his motive might have been less to protect them from HIV and more to get his name in the history books.
On top of that, he did not fully achieve the CCR5 gene edits he was aiming for so the children might not even be resistant to HIV.
That mac /is/ going to run off the power stored in the PSU capacitors for a few (hundred?) ms after you unplug it.
CockroachDB and several companies offer a very competitive free 5GB postgres or almost postgres DB, some companies like fauna offer 5GB of suitable NoSQL, but most of them leap straight to $25/month to exceed the free tier. There's almost nobody out there who is offering to charge me less than a dollar per month if I only need less than a dollar worth of storage, read/write, bandwidth, open connections, etc.
Feeling similarly.

Russia is 100% violating international law but is not the only country doing so right now by a longshot.

The US is also pressing a tremendous propaganda effort that seems to ignore domestic issues, other international issues and fully whitewash our own slow-roll of Ukraine's attempts to join the EU (1, 2) or NATO
1. https://www.atlanticcouncil.org/blogs/ukrainealert/zelenskyy...
2. https://carnegieendowment.org/2018/02/27/eu-and-ukraine-taki...

"further EU approximation will not be achieved so easily. There is frustration in Kiev that a deeper relationship with the EU has not brought a membership perspective or the kind of large-scale financial assistance that new member states have received." (2018)

And the cost of gas continues to go up while crude goes down (3) and we are doing what would have been unthinkable in 2019, pushing more domestic drilling. (4)

3. https://www.marketplace.org/2022/03/18/why-arent-gas-prices-...
4. https://biologicaldiversity.org/w/news/press-releases/new-da...

It truly feels like another set of years in the upside down.
Yes, this is one of the things that arduous processes filter on.
To accurately convey the NYT article, it’s necessary to quote more of it:

> The Russian astronauts did not say anything that would suggest that their clothing was a political statement. Yet it seemed difficult to believe it was happenstance. The outfits worn by astronauts in orbit on a daily basis tend to be subdued. But recent crews from Russia have worn vibrant flight suits of various colors during their arrival, including Yulia Peresild, an actress who arrived on the station in November in a bold red coverall.

> Eric Berger, a space reporter at the website Ars Technica, said the flight suits are usually prepared and packed months in advance but that substitutes could have been added among the last items to be loaded on the spacecraft.

> Eric Berger

> @SciGuySpace

> I still haven't found anyone who really knows why the Russian cosmonauts wore yellow flight suits (with Ukraine blue highlights) to board the ISS. However, this is a revealing answer from the mission commander. Just wild if they smuggled these suits on board.

> Katya Pavlushchenko

> @katlinegrey

> Replying to @Ian_Benecken

> They. We’re asked about the color of the suits, and Oleg answered, there was too much yellow fabric accumulated in the warehouse Except that, just usual greetings and best wishes.

> Jonathan McDowell, a scientist at the Harvard Center for Astrophysics who closely follows space missions, suggested the colors might actually be those of Bauman Moscow State Technical University, which all three of the astronauts — Oleg Artemyev, Denis Matveev and Sergey Korsakov — attended. An official from the university spoke as a guest on the Russian livestream of the launch on Friday.

> Jonathan McDowell

> @planet4589

> It is actually plausible that the 'Ukrainian' color flight suits are in fact "Bauman University" color suits. They made a big deal of this being the first all-Bauman crew. (BMGTU is sort of Moscow's MIT AeroAstro and many Russian astronauts are graduates)

> Ламинат09

> @laminate09

> Replying to @katlinegrey

> Colors are just homage to Baumann MGTU likely
The secret sounds of Dune: Rice Krispies and Marianne Faithfull
There are several comments regarding the 8ft rule making it impossible to record when indoors or in a car, etc.

These these cases are mentioned explicitly in the bill. For the sake of clarity, these are the relevant parts as they appear:

IF THE LAW ENFORCEMENT ACTIVITY IS OCCURRING IN AN ENCLOSED STRUCTURE THAT IS ON PRIVATE PROPERTY, A PERSON WHO IS AUTHORIZED TO BE ON THE PRIVATE PROPERTY MAY MAKE A VIDEO RECORDING OF THE ACTIVITY FROM AN ADJACENT ROOM OR AREA THAT IS LESS THAN EIGHT FEET AWAY FROM WHERE THE ACTIVITY IS OCCURRING, UNLESS A LAW ENFORCEMENT OFFICER DETERMINES THAT THE PERSON IS INTERFERING IN THE LAW ENFORCEMENT ACTIVITY OR THAT IT IS NOT SAFE TO BE IN THE AREA AND ORDERS THE PERSON TO STOP RECORDING OR TO LEAVE THE AREA.

A PERSON WHO IS THE SUBJECT OF POLICE CONTACT MAY RECORD THE ENCOUNTER IF THE PERSON IS NOT INTERFERING WITH LAWFUL POLICE ACTIONS, INCLUDING SEARCHING, HANDCUFFING OR ADMINISTERING A FIELD SOBRIETY TEST. THE OCCUPANT OF A VEHICLE WHO IS THE SUBJECT OF A POLICE STOP MAY RECORD THE ENCOUNTER IF THE OCCUPANT IS NOT INTERFERING WITH LAWFUL POLICE ACTIONS.

Source: https://www.azleg.gov/legtext/55leg/2R/bills/HB2319H.pdf
Without context, this sounds quite crazy.
https://web.archive.org/web/20220309204156/https://www.spoon...
> and you for violating the 8ft rule, either way, you are involved in an interaction between a cop and yourself, and so you are allowed to film it, and so what the hell was the point of the excercise

It’s not about the original interaction (who as you point out would have the right to record), it’s about the secondary crowds that record the original police interaction and endanger the officer/interfere.

15ft or 8ft is kind of arbitrary either way I’m sure there will be abuse, but I’ve also seen some ridiculously entitled people recording on their phones that begin interfering and escalate very tense situations when officers are performing their duties and probably legitimately concerned for their safety and safety of others. Then there are situations like the woman who recorded George Floyd’s murder that was basically crying and pleading for the officer to get off of Floyd.
Wrong link. The proper link is

https://mooreniemi.github.io/2022/03/19/tech-debt-isnt-real-...
Here’s a disturbing trend I’ve seen lately: Putin will say something regarding Ukraine, like for instance there are biolabs there which may be used to create biological WMDs. Then right wing media in America starts making the same claim. Trusted conservative voices like Tucker Carlson will spend a good portion of his show talking about the topic, and then he gets rebroadcast in Russia. Meanwhile, whatever he said starts finding it’s way all over the place, including right here on HN. See: https://news.ycombinator.com/item?id=30640741

It appears that what’s happening is Putin’s propaganda is being laundered through right wing media, causing conservative Americans to support Putin’s worldview without them even knowing it. I don’t think these people are Putin sympathizers, but many don’t realize they’re pushing his lines. How do we counter this?
If youre curious, Cruise has a fairly comprehensive (but long) overview of their tech that goes over their world model and world simulation stuff: https://youtu.be/uJWN0K26NxQ

So no, its a bit more than a house plant
yeah, i can understand that. i should have mentioned that i’m using an m1 mac, and as far as i understand it, there’s no extra overhead on the developer side for enabling an ios app to be downloaded from the app store and used by someone with an m1 + macos. it’s actually something the developer has to explicitly disallow (someone should correct me if i’m mistaken).
Try following a walkthrough on YouTube, eg the one from FightinCowboy. It’s almost an easy mode, since you enter the mid- and endgame much stronger.
>But looking deeper into this: it seems like they've been using said suits since at least 2015, yet news outlet have _zero_ doubt this is a political message from the cosmonauts.

The action here was not by choosing Ukrainian flag suits. Like in USSR back then and today in Russia it works in a quantum mechanics way, ie. the suits were already there and those cosmonauts and others involved around instead of paying political correct attention and blocking/replacing those suits - as everybody obviously understood the reaction these suits would produce - they just played dummy and used these suits "Oh! these are just what we've always been using."
Where the time went during a “laptop” coding interview
Pick one... that iPhone is not going to run uBlock Origin.
I believe the data mesh claim is that as well as the operational API exposed and supported by some given domain team, the domain team also gets a new goal of exposing and supporting an analytical API to deliver a data product to potential consumers. For this to happen, an organisation would need to value this new objective -- perhaps comparably to operational objectives -- and fund and resource it adequately. Arguably throwing enough budget and appropriately skilled headcount at it might address points 1, 2, 4, 5.

But, it's not obvious it actually makes sense for an organisation to value analytical concerns at a similar level to operational concerns, with similar resourcing. The value to the organisation of building and maintaining analytical APIs to serve data products is likely to be considerably less -- perhaps by one or two orders of magnitude -- than the value produced by actually performing and maintaining the core operational function.

If the stars align, maybe in future the analytical data could be used as input to an optimisation project that improves some key metric of the operational function by 10% or 1%. How much is it worth paying to have the possibility of an outcome like that in future? Not obvious, really comes down to how valuable a 10% or 1% lift would be, and how much it would cost, needs some kind of business case. Not obvious that resourcing analytical data APIs owned by arbitrary domain teams everywhere is a sound investment for the business.
Ask HN: API to run Python code, what can go wrong?
As a little weekend project, I'm trying to build an API to run python code and wondering what might go wrong.

Specifically, is there any way of building such a service that is safe from being hacked? My guess is that letting users input code that will be ran is never save, but I'd love some input on this.

The API can be tested here: https://api-run-code.herokuapp.com/
... and here is the code: https://github.com/nathanganser/api-to-execute-python

For context, I'm thinking about building an app that needs to run user-inputted python code, and since I could not find a service that makes this easy, I just built an MVP of it.
And what happens if a cop, who is not in physical contact with the arrestee but is arguably part of the arrest, approaches you about your filming? Anything legally ambiguous is risk for the cameraman.
Yeah sorry, I was assuming 'tech worker' and 'enough money to choose where to live' in that statement which I guess doesn't apply to everyone, but I suspect applies to the majority of HN users..
> Facebook will no longer take down posts claiming that Covid-19 was man-made or manufactured, a company spokesperson told POLITICO on Wednesday, a move that acknowledges the renewed debate about the virus’ origins.
You can't record if the situation is dangerous
When states pass obviously unconstitutional laws that will disintegrate in (costly) court there should be some federal office of oversight monitoring these things with teeth like loss of federal funding disincentivizing such bullshit.
File starts with 0xffd8ff, so it's a jpeg. Guess someone uploaded the wrong file.
100% I could take or leave the difficulty in FromSoft games, sometimes it honestly gets in the way. What I absolutely love, and what keeps me coming back is the atmosphere and exploration.

Recently played the Demons Souls remake and the locations, enemies and atmosphere was just amazing, I couldn't wait to see what was around the corner.
Weird how some giant companies that sell ads for a living invented these JavaScript frameworks that render sites totally unusable when JavaScript is disabled
I had the same problem with sekiro, but found a fov fix (for pc) that also included a slowdown option. 95% speed was already enough for me to make it enjoyable, but still a challenge.
Apologies, I may have extended my experience of French media to the rest of the world, I got news titles clearly stating "Cosmonauts wearing Ukraine's colors as sign of protest against the war" (paraphrasing).
I found that incredibly satisfying to clean though!
The War of Art, Steven Pressfield

It's written in the same concise format as The Art of War by Sun Tzu, and it's just as dense with insights. I would encourage anyone to spend just 5 min reading the first few pages of Book Two here: https://aimeeknight.files.wordpress.com/2016/01/the-war-of-a...
George Hotz against the institutions
You care about this if:

- Software architecture matters to you

- Software performance matters to you

- Team and organizational performance matters to you
How so? Care to elaborate?

The only thing I am noticing that's left in my argument is that there are also bad chemicals that can be detected by human olfactory sense. My original point was that "Just because it has no smell, doesn't mean it is good for you", which is perfectly congruent and abdicates the fallacy you've listed.
> What are your ethics around human genome editing? Do you think its ok? If an ethics committee said it was ok, would that make a difference to how you evaluated it?

no ethics committee would ever approve transgenic human embryo experiments.

this also sounds really stupid. like there's no real science there, just a willingness to overstep ethical bounds in the pursuit of fame and fortune.

meanwhile, it sounds like actual scientists are exploring crispr/cas9 approaches to curing hiv infected persons.