skysight-inc/HackerNews huggingface dataset:
(I lead product at Cerbos[1])

Certainly agree and we have seen a lot of cases of JWT tokens getting bloated with more and more authorization data.

Using JWTs to hold the autheNtication information is a standard now but consuming that and applying fine-grained access controls for authoriZation using that context with a system that can enforce policies is that next step.

Having a dedicated AuthZ system in place that sits after the AuthN layer should put your mind at rest as a good one will provide a central point for all authZ logic which can be managed, tested and audited for every action within a system.

[1] https://cerbos.dev
So the coder who works for a hospital can be assigned to heart surgery and fail over and over?
Arduino Gameboy Printer Emulator
"fatty McFatty"

Good to see that the Rogan stans in tech are classy as fuck. Jesus...
https://en.wikipedia.org/wiki/Alexandre_Yersin

Yersin somehow looks here like taken straight from the streets of Brooklyn.
For everybody who was angry, there were probably two quiet fans who were hoping you would chuck the locks in the river. A personal favourite is when the city employee comes with an angle grinder to cut them off en masse.
This seems to confuse terminology a bit. The problem described isn't with using tokens (which is good standard practice), but specifically with using signed tokens and relying purely on the information in them.
Yeah, I believe it’s possible to fit the perc controller from r730 to r720 so that the throughput goes up to 6mbps but I just couldn’t be bothered.
It's just like any other job, except that the job is to destroy people's lives.
They apply, but that does not necessarily mean that they would be able to finish the training. Being a doctor is prestigious and unsuitable candidates might be drawn to the golden haze.
Yeah definitely. I did some work with a really ancient Python SSG called rest2web that was around since ~2004ish, so several years before Jekyll even started
Queuing means different things to different people; e.g. jobs vs events vs messages. Jobs typically run longer, events are typically reactive, messages are often part of the main flow and potentially part of an interactive operation.

I've implemented job queues in PostgreSQL, but I do polling in two phases. One phase to update the rows (using SKIP LOCKED) with metadata around the fact that a job has started, when it started, what agent is running the job, etc. That enables monitoring for stuck jobs, looking at current status, incremental updates on long running jobs, cooperative job cancellation, etc. It requires monitoring for abandoned jobs, but that's not too bad - it also avoids long-running transactions.

The other phase is to copy completed / aborted jobs to a history table for stats, failure reasons etc., keeping the main queue table small.
I used a similar technique for my awk markdown parser: https://github.com/yiyus/md2html.awk

An awk state machine is a quite straightforward way to deal with data like this log file. It is not so clear that this is the best way to write a relatively large piece of software, like a markdown parser (when I wrote md2html.awk in 2009, the standard md parser was the original one by John Gruber, written in Perl, so it actually was an improvement in code clarity, performance, and portability (we had no perl in Plan 9!), but nowadays it is easy to find much better solutions).
I'm biased, but most likely you could reduce your cloud costs around 63%. Would suggest to run savings report at https://cast.ai (it's free) and see where you could end, maybe you will be able to implement some recommendations by your own not activating platform.
I was in elementary school at the time. This movie scared the living shit out of every single person I know. Nuclear war didn’t feel hypothetical or fake back then, it felt like a real thing that adults were worried might actually happen.
Musk offered a Florida teen $5k to delete a Twitter account tracking his jet
The article clearly states that Foxconn _violently forced_ children out of school to cover their worker shortage.

The parent is clearly illiterate and from their tone, they must be dealing with some serious issues.

So there is no point in responding to this thread, better just let them be.
That other movie is Threads (1984), the scene you describe is in the trailer and the full movie is available at archive.org (https://archive.org/details/threads_202007)
Isn't the NSO on an entity list now? That should mean that the NSA no longer has access to Pegasus.
Whenever I am reading about something in the vain of "boring tech" they miss the following:

1) The first is that many developers don't understand how to do anything simply. Doing things simply normally means actually thinking about what you are doing before hand and it doesn't feel productive.

2) Many developers don't understand how the underlying tech works. I've been working with developers that are working on a web product and I am absolutely sure they haven't done the w3cschools (or similar) HTML and/or CSS tutorials. Which are really basic things (here is what a h1 is for)

3) There is no-incentive for developers to do things simply. Much of the industry wants to pay people who know how to build something in <complicated enterprisey product> or <complicated opensource product>. They don't want people to provide solution built on "boring tech".

I don't see any of those changing anytime soon unfortunately.
Advanced version: https://blog.jgc.org/2018/12/turning-cheap-police-light-into...
Govt of Israel has sure power over NSO operations.

>A yearlong Times investigation, including dozens of interviews with government officials, leaders of intelligence and law-enforcement agencies, cyberweapons experts, business executives and privacy activists in a dozen countries, shows how Israel’s ability to approve or deny access to NSO’s cyberweapons has become entangled with its diplomacy. Countries like Mexico and Panama have shifted their positions toward Israel in key votes at the United Nations after winning access to Pegasus. [1]

[1] https://www.nytimes.com/2022/01/28/magazine/nso-group-israel...
It was historically commonplace for people with similar beliefs, culture, and language to war each other. That the West decided after WWII that it isn't worth it anymore, is rare exception.
What came unstuck in New Zealand? Lessons for the world
Even apart from hiding important icons, simply redesigning a UI for a car sounds like a questionable idea to me. You think you know your car and where everything is, and suddenly, while driving, you discover that everything is in a different location. Even just that can he a bad idea in situations where your eyes should be on the road.
Excellent article. Some quotes from piece:

"The avalanche of claims (which could top 100,000 if the government were to admit liability) and their severity has shocked ACC staff to such an extent that a great many staff members are rightfully concerned that they should not be compelled to vaccinate or boost."

"Prime Minister Jacinda Ardern has famously told the public that “the Government should be your sole source of information”, in her words all other sources of information especially social media are worthless “grains of salt”."

"the number of people suffering from vaccine injuries is so large, that almost everyone has a few friends, (I have almost a dozen), who have succumbed to serious injury."

"The turning point appears to be the case of a 17 year old girl who died from a stroke immediately following vaccination in September last year. A media hack quickly picked this up and questioned Jacinda Ardern at her press conference. Jacinda immediately and forcefully responded that the medical event was unrelated to vaccination. She described the media questioning as irresponsible. Her reply appeared designed to squash any narrative that could cause vaccine hesitancy.
This strong response, which was probably not based on any proven information about the case, had the unfortunate effect of setting the tone for all government departments—absence of risk from Covid vaccines became an accepted stance and came to dominate government media advertising."

"The Science Media Centre was set up in 2002 to specifically undermine opposition to GM crops by offering courses and talks for media science correspondents given by qualified ‘experts’. A central plank of the Science Media Centre is the idea that there are certain areas of science where there cannot be two sides to an argument."
Qubit appeals to the honour of thieves who lifted $80M of its digi-dollars
Trabant, Wartburg, Moskvitch, Zastava, Lada, Skoda,... I guess all of them had a long waiting lists. I don't know if it was a joke but I've heard that people would leave their spots in last will and testimony to their kids.
Red Flags in SaaS Onboarding That Causes Customer Churn
We should never forget that Galileo almost burned for spreading what was "misinformation" back then. The science WAS in the hand of the church (whatever little science it was), so he was actually going against "scientific" consensus. I'm sure many more were actually burned, but I'm no historian.

Misinformation isn't harmful in itself, what is harmful are the choices people make based on that (mis) information. That's what legislation should fight, that's what society should fight.

Instead of censorship, how about more information, more education? People, even antivax and the like, have a good measure of cognitive capacities. We should strive to educate and inform them, and accept that some people are just gonna think differently. If they are 5%, well, that's alright. Maybe one of them is the next Galilee.
It's interesting that you managed to get a Toyota. Toyota until very late on wasn't affected by the chip shortage [0]. Toyota practically invented lean manufacturing and are the only business that seems to do it right, I guess it's because they didn't need to bring in a bunch of lean consultants, that either miss the nuance or can't effectively communicate that nuance.

Lean manufacturing and JIT are like DRY in software development. Those that are just learning think don't repeat yourself is a rule, "DRY means DRY" whereas experts have learnt that "DRY means DRY except in all of those situations where it is better to repeat yourself".

Toyota knew prior to the pandemic that their chip supply chain was vulnerable, being filled with single points of failure, and they stocked accordingly. But those stocks were only going to last so long, and, thanks in part to the panic buying of the other car manufacturers, Toyota is also facing a shortage.

The above is a really long winded way to say, I'd be interested to know if MSRP Toyota's will remain available in the near term, mostly because I'm in the market for a new car, I'll put the local Toyota dealers at the top of the list.

[0] https://fortune.com/2021/08/02/toyota-cars-chip-shortage-sem...

[1] https://www.nytimes.com/2021/09/10/business/toyota-productio...
The argument he/she's making is that specific findings are being suppressed, so nobody has a full and accurate picture. Thus you cannot refute it with a statistical argument that assumes you do have the full picture.
You mean remoteing, then WCF, now replaced by gRPC.

However the RPC stuff you are thinking about is DCOM.

COM by itself is an OOP ABI, for dynamic libraries that can either be consumed in-proc, or out of process for safety reasons and easier cross language interoperability.
> He is literally the first name that appears in the first sentence of that article you linked.

Right, because there is no way a 5000 word article could in anyway clarify or add context to a specific claim once it mentions a name.
I'm sure they want to be able to share pictures, video and use Powerpoint too... there is a published of commercial mobile devices certified for classified use at https://www.nsa.gov/Resources/Commercial-Solutions-for-Class..., (looks like they mostly have Samsung Galaxies) .
So, in light of this (great feedback), for someone like me who's primary motivation is to increase my computer literacy so I can make better and more informed choices on how I post/interact/hang out on the web, would you recommend that I start with what you're discussing: the command line?

My thinking: if I understood basic concepts and philosophy of coding and how the "the web works," I'd be able to build build myself a simple blog, simple website, but also be less beholden to Zuck and Google platforms. Obvs I'd still be using some of it, but I'd just have more choices.
Ask HN: How do you change all your 2FA to new number?
Hey HN, is there a service that finds all the apps and sites you have 2FA with your current phone and lets you change it to a different number (or even better, a temporary number)?

I'll manually change all the ones I remember but sometimes there's the scarcely-used email address or account that you lose access to completely because of a forgotten 2FA switch.

There's gotta be a better way by now right?
neat! here's mine:

while true; do curl -q --http0.9 http://susam.net:8000/; sleep $(( $RANDOM % 10 )); done
Multiple theories and trains of thoughts exist for margarine:

- it plastic no food

- it’s vegetable good

- it’s cholesterol bad

- it’s trans fat bad, butter no trans good

- cholesterol ain’t real, margarine good

I don’t care :p
"You seem to be labouring under the misapprehension that Finland belonged to the Soviet sphere"

Finnish here. In the 1970's Finnish political system was quite heavily listening on what Kremlin had to say. There is a good term - "finlandsierung" which means appeasing the Soviets was a prominent feature of the politics of the time.

By it's system it was politically quite stagnant as it had the same man Kekkonen as president for 25 years https://en.wikipedia.org/wiki/Urho_Kekkonen

Most of the political elite, with some exceptions, paid fealty to the Soviet embassy.

Close ties to East-Germany were also nurtured.

As there are quite many powerful people still in active public life, who likely were in the soviet pockets, nobody wants to talk about this that much.

There is a very well known list of likely Stasi collaborator s given by West German Intelligence Service to the Finnish Security Police (Supo) in 1990 that is declare secret.

https://en.wikipedia.org/wiki/Tiitinen_list

This is not conspiracy theory. It's all quite well documented and understood. The details must wait for future historians to dig out once the last generation of Soviet era politicians has passed away.

One has to realize that while considered a first world country, Finland is tiny and capital poor, with over thousand kilometer land border with what is now Russia, and coastline that guards the approach to St. Petersburg harbour. The weakness to influence is obvious, as well as the interest of the other party to influence events.

That said the top most message is probably a bit hyperbolic. But the assessment is probably correct, that there is some bad blood between Estonians who lived through the soviet era and some people in the current Finnish administration.
OK so to counter,

Do you think 'scientific research' is in a great position from a funding perspective right now?

Have you looked at the press or out the window as to how "science" is portrayed due to covid? The lack of sanity in both political directions is alarming and depressing all at the same. Both sides of the public on this are both, equally, damagingly, wrong. However, they pick up and throw around scientific papers as though it gives them the right to be the next pope...

If science is paraded around like nonsense in the press there's a matter of time until we end up with politicians who make the decisions sit there and say "I don't see any public benefit in researching this".

That day will only come sooner if things carry on as we head into a recession.

Edit:
My proposal to fix, as I've suggested elsewhere, keep scientific papers behind some (non-for-profit) walled access, obviously that has damaging impacts when you say X from country Y can't read paper on Z, but frankly maybe the public isn't grown up enough for completely open discourse when they can't understand the material.
Since shell commands aren't necessarily (or even usually) idempotent, if I'm trying to figure out what I did earlier duplicate entries are still good to have.
What might actually be useful is instead of a "recently used", you've got a "used in similar circumstances" or "popular with other drivers RIGHT NOW". So if everybody is suddenly turning on their fog lights, maybe you should too.
If you really want to use Disqus, you could load the Disqus code after you obtain explicit consent from the user to be tracked by Disqus.
John Carmack, of computer games and graphics programming fame, had pretty positive comments on the Imperial College CovidSim model code:

https://twitter.com/ID_AA_Carmack/status/1254872369556074496
What Is the Blockchain Threat Model?
What a stupid kid. There's no upside and potentially he gets Elon killed.
Wife just sits opposite me and waves her arm.
It’s already been patched long time ago.

No one is running around with anger.

This is unprecedented and new information is coming out that shows how influential people, opposition and politicians were targeted worldwide.
I feel the same.

It's now a significant brand issue for me (ignoring any of the obvious actual issues). I don't want to be associated with that company.

I used to be a fan, but there are actual alternatives available now which I'll be pursuing in 2022.
https://archive.fo/8iZ3r
If you, for instance, only 3D printed plastic parts you could find in stores, you'd also find that your prints were generally significantly more expensive and less reliable. The upside is the ability to get anything you want at any time, as long as it's sufficiently far from the cutting edge, whether production setup for it exists or not.

The point here would not be to replace traditional manufacturing but to augment it by acting as a backstop for total supply failure.
US Sanctions to Venezuela are directed at the government, pdvsa and banks controlled by the government, not at individuals or companies unrelated to them. There's still a lot of business happening between venezuela and the us

https://home.treasury.gov/policy-issues/financial-sanctions/....
After years of studies and working for university I got to agree, at least for most parts. However, I think there are significant variation in quality of science between different fields.

Some fields, like social sciences have long been very politicized and ideological, and this situation hasn't changed for better. I wouldn't take most studies from fields like social sciences, business and humanities very seriously, especially qualitative ones.

Secondly, pay and working conditions in academia generally suck, which means most actually competent people avoid it like plague. This also has an effect on the quality of research. Becoming a researcher these days in my country at least generally means becoming a working poor, who wants that?
"Emscripten" can target platform outside browsers. You have STANDALONE_WASM flag for that.
BlueGriffon?
The basics of XPath for web scraping
Linux: Massive I/O usage from btrfs-cleaner after upgrading to 5.16
BIG conflict of interest… if someone goes on his show stating something like “brushing actually destroys your teeth, you should take X supplement which I developed and read my book” he gets money and viewers interested in this “no brushing” thing. If the conclusion is that you should brush and use toothpaste he doesn’t have a podcast.

He’s in the industry of going against “mainstream [ie scientific] knowledge”… which provides him and endless stream of salesmen who cherry picked scientific papers that support their schtick… and a lot of interested listeners who get an excuse for everything they don’t feel like doing (“oh, this guy on Rogan said brushing destroys your teeth, so I guess I’m better off leaving them alone”)
+1.

As software engineers I think we should explore more the part of our skills that can create things that are not useful per-se, but creative and funny, such as the best gifts (at least for me) are
> This site can’t be reached - REDACTED refused to connect.

Am disappointed and my day is ruined
> Starting cars rolling is the most energy expenssive thing the motive power has to do.

Is it, really? It might require an not unconsiderable amount of force, but due to P = F x v, at low speeds even high forces don't require that much power. If anything, it's rather that you're friction-limited at that moment.
There used to be very good examples in awk.info. The domain is on sale now, but you can get all the old content from archive.org and it still is very valid.
Which distros? This is the first I'm hearing about it
Given the boogey man was that we'd be out of coal by 2020 in the late 90s (I can dig out the material from British schools to show you this!) I think we can survive the over-exaggeration of how soon and alarmingly and the end of the world is coming.

As I keep saying, why can't we just make the planet better? Why is that so difficult? What's the risk?
Well that's terrifying and I wish I could un-read it.
The tonsillar evacuation hypothesis of yawning behaviour (1994)
Exactly like in this crypto case.
Me too. Wikipedia has a pretty good article about it though: https://en.wikipedia.org/wiki/Underscore
Documentation, in general, is God-awful.

I mean, we live in an age, where, if Medium says that something is >7min read, no one reads stuff, and everyone uses videos to give, and consume, information.

I wrote a fairly ambitious infrastructure system, and spent months writing detailed, accurate, relevant, documentation.

That no one ever read.

It wasn't until I transferred the system over to a new team, who started posting videos on Facebook, that it started to take off. It's now the de facto world standard. Documentation is important, but so is the medium.

Sheesh. Kids, these days (Get off mah lawn!).

I write about how I do documentation, here (I need to update for DocC): https://littlegreenviper.com/miscellany/leaving-a-legacy/

It's definitely a >7min read.
Parent said "TypeScript being a notable exception"
Scam Without a Country (1996)
No, inverse means reciprocal only when the context is a number or algebraic variable.

If we're talking about trig functions, inverse sine or arcsine is very different than just the reciprocal of the sine.

If we're talking about images, inverse usually means "rotate 180 degrees" or "color inversion".
But the difference came about only due to relentless informed written criticism of scientists, many of whom happily described their critics as spreading misinformation (or similar words from their era).

https://link.springer.com/chapter/10.1007/978-3-0348-9008-3_...

"Even individual fanatic scientific advocates of the Einsteinian theory seem to have finally abandoned their tactic of cutting off any discussion about it with the threat that every criticism, even the most moderate and scrupulous ones, must be discredited as an obvious effluence of stupidity and malice"

People often present science as some sort of free-floating edifice that "self corrects" through mysterious mechanisms. It doesn't. Scientists with wrong ideas have to be explicitly corrected by other people, some of whom will be random Swiss patent clerks and other outsiders. Therefore you cannot have science without free speech, because otherwise there's no way for bad ideas to be corrected. It's as simple as that. And yet, academic "scientists" are often at the forefront of demanding it be shut down.
Don't big businesses often have Diesel generators to keep power to essential devices going through outages?
I'm guessing it's this BBC Horizon documentary? https://archive.org/details/BBCHorizonS1997e13TheVirusThatCu...

If so, it's from 1997: 25 years =)
U.S. NSC AI Final Report – Summary of Summary (2021)
Why do you have such strong opinions on things you clearly don't use or understand?
Plus this. I use ssh tunneling with private keys to access my Mariadb or MySQL instances.