skysight-inc/HackerNews huggingface dataset:
Language Design: Annotations Obsolete Modifiers
then don’t use it
Apple has tried to phase out and slowly kill off the Mac for the last 10 years but people kept buying them for school and work so they have begrudgingly updated it alongside the iPad.

Apple was right. Desktop operating systems like MacOS and Windows belong in corporate, not consumers. They are archaic and still use the file system, which is no longer a thing that consumers need or want. Most people use a tablet and smartphone as their primary computer.
How does this compare to snakemake?
Normally, I would think that this is a fake threat. However, it's written by Mitch Daniels who is also the same guy who froze Purdue's tuition for at least 7 years.

So, I figure there's a chance he means it. Time will have to tell for sure though.
Using this information here [1](https://www.cnbc.com/2019/05/24/where-bernie-sanders-money-c...) and this calculator here [2](https://www.pewresearch.org/fact-tank/2021/07/21/are-you-in-...),

>annual income of 1,100,000 U.S. dollars for a household of 2 is equivalent to $1,309/day per person in 2011 in purchasing power parity dollars, putting you in the high income group worldwide, along with 39.8% of people in advanced economies.

*2 since he has a wife.

And he doesn't have to pay much for insurance as per this [3](https://www.cnbc.com/2017/07/25/heres-how-much-members-of-co...)

He is a part of the "elite" class as per his income. And being a senator he does have a lot of influence over policy.

I don't hate Bernie but seeing the discourse regarding him, that often deifies him feels disingenuous to me.
The unfunny, mean frame around hacking things in unexpected ways probably seemed like a decent literary device, but turned out not to be.

But by then the series was a series, and like a bad Sunday-paper comic strip back when, just kept going. This seems to be a failure mode peculiar to syndication.
I think the most recent experience on inflation is very clear on this. The government reported number is 6%. But for people who spend most of their money on daily items, like rent and grocery, 6% is like lying to my face telling me red is blue.
This looks pretty cool (particularly that it's easy to use). If you're already using AWS you could just use nitro enclaves to do this directly, but this makes it easier to use, and easier to use if you're not using AWS but trust AWS (+ evervault, particularly for availability). It's cool to see this for something other than just payment card info vaulting.

Biggest problem I could see with applications is that if you were using this inside a larger application, someone with control of the application could just change the less-secure application to bypass Evervault entirely. Wouldn't compromise historical/data-at-rest data already inside evervault, but would bypass it for new submissions. That doesn't mean this isn't useful, but it would be a concern in some use cases.
We solved this by issuing company owned and controlled laptops to our contractors.

Disk encryption, screen time outs, remote wipe etc. contractor machines with code and production access are treated as critical assets and are fully under IT control.
My commentary is (intended to be) more about how effectively it's been triggered than any particular group of people's susceptibility to it. The effectiveness of the execution of it.

Plenty of groups of Western folks get super amped up over any threat to the continuity of their chosen self destructive, unhealthy, unsustainable lifestyles to which they've become accustomed. Because freedom!
In-depth view into Chinese censorship: https://www.theatlantic.com/ideas/archive/2019/01/why-1984-a...
The causes of decreasing life expectancy are fairly well understood and have little to do with the economy.

We know many young people are dying early deaths of despair. We can make mental health easier to access (there’s a lot of unnecessary bureaucracy just to get pills for well understood mental illnesses).

We can help folks avoid drug overdoses. One piece of low hanging fruit is to make opioids over the counter — that ways people aren’t _accidently_ overdosing on mislabeled fentanyl. And when they do OD, we can make sure they have safe consumption sites and narcan available (this is no different than a bar, where sometimes an ambulance has to rush away someone with severe alcohol poisoning).

We can help folks fight obesity — calorie counts should be included on everything and farm subsidies should be reallocated to healthier foods and low-calorie alcohol sugars instead of HFCS.

And lastly, COVDI-19 has been a big contributor to increased mortality. Anytime the US wants to get serious about the virus we can.
I have the feeling that Haskell has one feature that could be super useful for security.

That feature is the explicit typing of effects via monads. Just look at the recent log4j example: If effects were explicitly typed in Java, you would potentially scratch your head why you need a network monad or a "insert code into the process" effect to just log a line.

Of course, in current Haskell, everything is put into the same IO monad. But in principle, I think that effect systems could have a very nice effect on software security.
Well it's a sweeping generalization about the former POWs all sent to Gulag. But yes, NKVD had a unit called SMERSH (Death to Spies) that would do that. They almost did it to my grand-grandfather who was injured at the beginnig of war, was captured and spent 4 years in a concentration camp(he was an officer hence treated better). Upon his return he was about to sent to Gulag but they found the doctor who treated him in the captivity and he testified that my g-grandfather was gravely injured, abandoned by his unit and didn't just surrender to Germans. He was never awarded a medal to commerate the victory (like all the soldiers had) but at least he was recognized as an army veteran (with all the rights that came with that)
China stealing intellectual property? If only we could have seen this coming!
Welp, looks like 72% of all human deaths each year wasn't enough...
> To me, useState with a complex object is an antipattern. I'd much rather use multiple useState invocations.

The issue with that is that sometimes you need to make transactional changes to your state (i.e. either update 3 variables together, or not update them).

That gives you 2 options:
1. bundle the state up in a complex single object with useState
2. extend the space state of your app to allow for mid-transaction rendering (i.e. only 2 of the vars have updated and the 3rd has not).

#2 feels a lot harder to me, tbh (although I do strongly dislike #1. and would like an alternative.)
If they don't have user accounts and no ads then there's literally nothing to do to be GDPR compliant. Literally zero.
"where of course the universities get to decide who is allowed on their property"

If a student-run organization wants to invite a particular person (someone from outside the university) to speak at an on-campus event, do you think:

A) The university authorities must first grant permission, or

B) The university authorities must be notified, and given the opportunity to disallow that speaker, or

C) Neither A nor B, but the university authorities can intervene (during) or sanction (after) for breaking the rules/principles of the university, or

D) None of the above.

My choice would be (C). But your comment "the universities get to decide" suggests you may disagree, and perhaps you believe A or B is better?
At quick glance their page does have a login button, which you can't implement on a static site. It also has social network buttons. These are probably all useful features for them and their audience
It looks like they use cookies for saving login information.
I completely agree the professions you provide would be people capable of a creating logical critical paths and therefore a programming language. Lawyers would be quite adapt at it, doctors as well, as would be educators - the examples you cite all exhibit professions that require critical analysis to achieve the basics of their profession. However, at the same time I might suspect the attorney would be the best of these three, followed by the educator. My reasoning for why these two would be better than a doctor at creating a programming language is because doctors do not need to work through the understandings of others, while both attorneys' and teachers' work requires the collective understandings of others to agree and that agreement is through the effort of the attorneys and teachers. That logical indirection required by attorneys and teachers is the insight that would enable them to create a programming language capable of use by others. Doctors would create some illegible scribble.
Maintaining someone else's code, I'm equal parts mind reader, software archeologist, detective (forensics), and grumpy old man. When I've had to maintain ML stuff, I spent most of my time wrestling with the tools and chaotic mutant one-off instances of "data pipelines", contorting myself into the mindset of the creators.

So, ya, "empathy" works for me.

FWIW, I found the tools like PyTorch, Spark, and such to be laughable bad. I pity the people who have to do this work on the daily. Jupyter is cool though.
Coding Practice for FAANG
Which is what % of the total?
/sensible_chuckle
I mean I think that is a very simplistic, limited and isolated point of view to address a population, but also very optimistic about the democratic West population capability to logically read situations.

I see tennis players in China being incarcerated for speaking out, I saw recently a video of a guy trying to report about Uyghurs concentration camp, and if I was worried as Americans right now about China (not even Taiwanese are giving as much of a fuck), I am sure I would be aware of more examples.

What I mean is that there are servants in the world, patriotic people that are willing to put 1 kilo of ham slice on their eyes at every press conference, we have people who believe in the second coming of god and people who believe in Q theories, we have accepted the incarceration of people who reported about war crimes in the middle east, we have accepted attacks on women right to abort, we have accepted the killing on our streets of black people and minorities. All this spotlight on NK, China, Russia, is nothing more than a way to keep the people of the west distracted from their own misery, if people of the West were able to solve anything, there are already enough problems that internally need to be taken care of

what kind of example can the west be to the world
Yeah, this reminded me learning of the concept of "Eternal September"... but a decade+ after it happened, and as one of Eternal September's generation.

And indeed also that exponential growth where the previous comminities are quickly rendered irrelevant happens slower and slower, since at some point you start to ran out of non-connected people and only the generational shift remains.
You fell into the same trap that the author points out: Flask, FastAPI and Django are tools with different scopes for different purposes. If you want to compare FastAPI, compare it with Flask-RESTx or Django-REST, for example. If you want to compare Flask, compare it with Starlette, for example.

asyncio won't do much for you if your application is CPU-bound. (Admittedly, that's usually not the case with network services)
So will all those outlets that had "Trump's social network is violating the GPL" stories be jumping on this with equal fervor? Considering they didn't cover the compliance with the GPL that "truth social" (awful name) did, I think we can safely assume they won't.

That said, TikTok using and backing OBS makes perfect sense, the terms of the license aren't onerous and everybody benefits. "Open source works like its supposed to" isn't a eyeball grabbing headline tho.
The Asahi Linux project is basically free labor that makes the M1 Macs more appealing to consumers. Perhaps this help is profitable to capture the Linux crowd?

Personally, I wouldn't consider buying a Macbook unless I knew I could run Linux on it after it EOL. My oldest laptop is 14+ years old and is still useful because I run Linux on it. A 2022 Macbook should make a very nice ssh Linux client in 2037.
Of course, lawyers exist to make themselves money. Doesn't change that if you don't violate GDPR you won't be fined. A simple blog does not violate it, so they must be doing something creepy.
>one of the best ways for those of us in the democratic West to combat this is to not tolerate when our own governments promote false narratives

I'm far more concerned about tolerating this behavior among ourselves. Politicians always lie and people have been complaining about it as far back as we have written record.

This case involving these students is the same basic fact pattern (but without and abstractions between the victims and the thread of government violence) of the narcing on your neighbors for various minor stuff behavior that is applauded as "being savvy and working the system" behavior in certain demographic circles in the US.

If you don't wanna live in a world where the secret police show up at the door or someone who's kid said some WrongThink don't make us take steps in that direction by making us live in a world where people have to worry about not putting the wrong politician's sign in their yard lest the building inspector showing up and measuring the square footage of their garden shed that can't be seen from the street.

It's not like you wake up one day and have a secret police in an otherwise free society. It's a long slow slide with a lot of intermediate steps where similar behavior under different pretexts and with slight abstractions is normalized until it is so pervasive it doesn't need to be obfuscated and you get an official "secret police" agency
Yes, some basis exists for such assumptions. RuPay and UPI were originally conceptualised by RBI and Govt of India to solve the overdependence problem. Otherwise RBI and GoI had no reason to introduce RuPay and they could have let the market develop organically.

Recent RBI moves of data localisation and enforcement actions against Diners, American Express and Mastercard also indicate strong intent.
Those movies are more often than not glorifying such embarrassments, which make them propaganda.

As an analogy for China & the US, you can say one of them is Orwellian while the other is Huxleyan. They're both oppressive, but it's about time to stop pretending only coercion is bad; propaganda is everywhere in american media and it's the same tactic used by autocracies in the 40s: spin everything you do as "us vs them they evil" and dehumanize anything your foes do as "they evil not free genocide". People who say there's a genocide in China with 0 Uygur deaths are the same to dismiss the Iraq war with millions dead; calling it what it was, a genocide, will never even pass by their brains. Double standards.
Definitely a challenge for many mechanism design approaches to intervening in the world. As I understand, the only really solution is to experiment in the real world, see what holds and see what doesn't, and tweak accordingly (e.g. test out different interfaces that communicate how the mechanism works!)
https://howlongistwoweeks.com/
Reverse Engineering the Firebase Realtime Database Wire Protocol
Completely agree, also individual named state hooks are great for semantic reasons, they will make your code more readable and more easily maintainable.
Definitely like a glorified Matlab
"...why should an American student newspaper have to take the time to learn other countries’ laws?".

Students! Learning!
(Continents!).
“Right click and save as” jokes not looking so funny anymore?
Quite the opposite! I'd much rather that the website denied me access than treated my private info like their own property purely because they are too lazy to be GDPR compliant.
*total cancer risk
It reminded me of when Microsoft used to pay people to say "just bing it".
then they should renew!
> or in this case who is the most careful about nonexistent GDPR risks.

Parent comment is convinced the site is doing something that would be illegal.

You are convinced that the site’s GDPR risk is non-existence.

It’s amazing how many people sitting on the sidelines can be so confident about GDPR while having entirely opposite opinions.

But my point stands: This stuff is complicated and requires sign-off from the lawyers in any large institution. If you don’t have a reason or budget to go through that process, you don’t do it. It’s not virtue signaling or anything silly like that. It’s basic corporate legal protections.
You don't need a legal review.

• A static site without JavaScript;

• with all images / external resources hosted on the same domain;

• where the logs are default configuration, don't leave the server (except as GoAccess reports), and are deleted / anonymised eventually;

is GDPR-compliant. Sure, there are other ways to be compliant, but this works, and is basically the default way of setting up a website. It's not hard to check whether this is how your website works.
Do you know of any examples of descent against the government that ended well for those that spoke up? I highly doubt the people are sheep and I'm pretty positive I would act in the same exact way and keep my mouth shut in order to live my life if I was living in a country with an oppressive government.
You've conveniently focused on one group without noting the overwhelming power of the far left whose insanity is currently tearing through the US and the West in general (the tail end of a long progression). As far as political power goes, the latter is what should arouse more concern given how entrenched (philosophical) liberalism is.
I don't know, I remember a naturalized college classmate of mine who came to the US permanently in elementary school (from China) going on off the cuff rants about the Dalai Lama poisoning people.

I think they do a really good job at creating a narrative of victimhood and inculcating a sort of unhinged teenage belligerence. Not that threats don't have their role, or that they aren't keeping folks under observation, but they get a lot of mileage without those tools.
Unless you're talking about library-level hooks, there's rarely a need to test them directly. I'd mostly consider them implementation detail.

Testing the components themselves is ample.
"Web 3 can't work because it doesn't work right now."

Remain ignorant.
Making the Most of Data with Augmented Sbert [video]
Then why else did the committee drop that evidence like a hot potato once they found out it complicated their case?

We're not seeing their corporate media buddies belabor trivial information or twisting it to manipulate people into thinking it serves as evidence against Trump.

In fact, in the video I linked, it shows a clip from CNN of all places supporting my point because they can't even twist it.

Willful ignorance is a choice, it's just nice when folks are more honest about it.
Or block access and move on with your day.
Yes, but this is clearly the good kind of ionizing radiation. Perhaps we get dumber by certain wavelength of EM-radiation too. Would explain some things, wouldn't it?
lol, nothing could be further from the truth, I have to say though this is the first time I have been called an egotist for advocating for a voluntary, individualist society. That is a new one, I thought I had seen all the ways people that want collective control over society could manipulate my words so A+ for being able to surprise me at my old age.

>> If you don't want to participate in society, just don't.

Participation in society does not require an over aching organization either governments or collective body's to manage my participation for me. I participate just fine negotiating my own individual contracts, my own business deals, etc. I do not need a third party to inject them selves in the transaction. Looks up Voluntarism, and/or Georgism and you will get a since of my worldview, it is far from solipsist

>> when (according to your philosophy) I get nothing back in turn.

Then you have a very narrow world view. The best interactions are voluntary, I attend social events because I enjoy the conversation, I buy a new computer because a need to get X done, I work for my employer because I need income to do the other things, my employer pays me because they need my skills, knowledge, and labor to advance their mission. These are all voluntary exchange where we each get something from the other.
The a380s biggest problem right now is that it can’t carry cargo efficiently or be retrofitted to do so effectively. They would still be pumping them out if they were practical for cargo.

Boeing would have kept making 747s if they didn’t commit to shutting the line down and stop part production years ago. Freighter market is blazing hot
Regardless of controversy, how is this relevant to the matter at hand?
It has, but I think that's on accident on Reddit's part. So far, pretty much everywhere they've banned has been out of the Overton Window enough that the results are what you see. Voat, Saidit, etc. There has been one semi-successful small alternative in Ovarit (in that it's a stable community that slowly gains people), but the radfems set up an invite system + a lot of their beliefs are less 'crazy' + their ideology encourages them to discuss 'normie' things with each other.

There is one other way a new site could succeed, I think: A Reddit competitor with decent search and archive abilities, better mobile/app UX, and (here's the killer) a complete ban on political discussion and brand accounts. Set up a place for people to have groups for hobbies without having to prove their vaxx status (or lack thereof) or whether they like trans people enough. People (regardless of their political persuasion) need breaks, rest, hobby, and connection.
You should take the outside perspective into account: For me as an EU employer, this implies students from West Lafayette, Indiana, are unable to fulfils even the most basic of rules regarding privacy and are thus a liability. Doing this - even if the site itself is not directly associated with the student body - diminishes the perceived worth of the degree.
Yeah I can see why that makes sense as a blanket rule most of the time.

I feel like in this case I am likely calling out the manufacture, but I am not entirely sure.
>there is the elephant in the room of college loans which were essentially non-existent in 1970, but have indebted 10s of millions of kids

Also, health care/insurance costs. Growing up as a kid in the 1970s/1980s in a blue collar household, my father's job provided health insurance at a far lower % of salary than is common today and with minimal out of pocket costs for receiving care. Also, retirement. Back then most companies provided defined benefit (pension) plans rather than defined contribution (401K) plans - you put in your years and then you retired at a decent % of final salary for life.
I don't know what applications they are developing but an application only needing two custom two hooks, would be a quite trivial one. Not to mention the hook in the article extendState is basically bringing back the Component `this.setState` semantics but not much else.
Based on their privacy policy, it's data extraction. Also for some reason they link out to privacy policies of the Walt Disney company and the Washington Post? They also seem to use some obscure, third party CMS provider, and perhaps the ads are handled by that organization? In either case, I'm not sure why a student run, university newspaper needs to have such predatory data practices.
Isn’t there anything more important for you to focus on your business?

This is not my place to say, the thread is not about this, and downvote me if you want but it sounds like people go out of their ways to find things to take their focus away from what they should be really doing. Later, we get a Ask HN thread asking “Why my business have failed?” or “How can I get clients?”.

If all you do is play with technology your business won’t move forward.