skysight-inc/HackerNews huggingface dataset:
Scraping the open web is NOT the same as accessing privileged APIs to collect private information. If LinkedIn made their pages accessible to anyone as a sort of public service (as they used to), people would think twice what data to put on there.

The problem is the same as with Facebook: they pretend the data is private and secure, then let people siphon it away. Public and private networks are both fine, but huge corporations trying to mix both usually end up with the worst of both worlds.
Air pollution in France is responsible for more than 40 thousands deaths every year. Nuclear power, well, Chernobyl in total is estimated at around 10 thousands deaths total. In France it's actually 0 since the radioactive cloud stopped at the border /s.
I thought most of the JS world know that virtual DOM is slow and ahead-of-time direct binding is the way forward at this point - why do something expensive inside your users browser when it should be done on the developer's machine? Svelte will either take over, or React will get patched to start doing this in a major new release. It could go either way at this point.
Like sending firefighters
If they are to be deployed on battelfields I'm against it. But for domestic use, please, do it faster :)
We have garbage hills all over the place. They are well managed landfills...
It comments out the `if` block, but not the rest of the function.
PostgreSQL Table Partitioning
also read https://ryansolid.medium.com/components-are-pure-overhead-12...
Slack SMS – Throw away your work phone
That is what smart is: having technology that works when and how you need it to. Some people would put a sign on the door: "don't knock, just come in", and be comfortable with strangers doing that (the door exists for HVAC reasons) at any time of the day/night. Other people would prefer their doorbell be a few km away from their house and set it only ring during visiting hours. Most people are somewhere between those two extremes. Their doorbell needs to serve how they live their life.
Is that urban or rural?
My favorite UX mental game is "Can you describe the paper interface as a new, innovative system relative to the technology solution?"

So with the paper pad waitress experience:

1. Responsive, zero latency interactions.
2. Accepts free form text entry.
3. No multi step UI control lookups.
4. Allows entry of customer modifications and requests to items.
5. Allows custom abbreviations.

Etc. etc.
You could also say Python is pure overhead. You can write any Python programme in C, but more efficiently! C is faster, and therefore better.

This article avoids the fact that declarative programming has proven to be more pleasant for most people. And React simply is fast enough for most use cases, even though it has a performance penalty compared to Svelte. The virtual DOM is an elegant optimisation that usually works well in the real world, and methods like `shouldComponentUpdate()` can be used in the 1% of cases where the default is not fast enough.
If you (not you personally, the general 'you') still believe that reductionism can explain all phenomena then even if you claim to be a physicalist, you are still stuck in materialist patterns of thinking.
Not surprising really.

A few years back Hotmail/Outlook were returning people's Twitter/LinkedIn handles for emails sent/received. It had been noticed you could scrape that fairly easily at scale. With one email account you could check up to 30000 email addresses before being flagged by Outlook.

Slightly longer ago you could simply iterate 1...n on LinkedIn URLs to find someone's profile, by converting the number to base12, you'd be redirected to the person's public URL.

Also their bulk contact upload. Take any data leak of email addresses, bulk upload them as contacts and then correlate email addresses to social profiles.

Facebook, Twitter and LinkedIn are all bad in that regard on the last method, though Facebook at least do not return people's URLs along with your contact upload (you're expected to know the person's face/name to decide whether you'd want to connect). The take away is that once you sign up, whatever information you put on your profile/account is pretty much available to anyone who wants it enough - and clearly there are plenty bad actors who want it. Obviously these social networks want to expand their network, but they also make it much more easy for data harvesting at unprecedented scale.
Scientists obtain magnetic nanopowder for 6G technology
One possible difference is that there seem to be an awful lot of supposedly "safe investment" offers out there promising outrageous interest rates for short term loans. I'm not keeping a particularly close eye on that market, but I don't recall that being mentioned in past years, and it would seem to be a sign of the bottom of the sucker pool being scraped.
I'll be honest. I was in college when the iPhone dropped. I think I was my freshman year. I saw a few people with them and I was like this thing will never catch on. I had a Blackberry 8830 and I thought it was so amazing. And I never thought touch keyboards would take off in such a big way.

Obviously I was mistaken and I've had multiple iPhones now. That said for all their advancement I still, once in a while, look at the BlackBerry Passport and consider buying one...just because it's a square :)
Snippet supplied in the article:

function get($urlPath, $queryParams=null, $ouputFormat='xml'){
// if(!authenticateAsOwner($queryParams))
// {
// header("HTTP/1.0 401 Unauthorized");
// return;
// }

That if statement is checking for authentication before running the rest of the function. Just the if check is commented out.

Assuming here the rest of that function would come below it, with a closing brace.

ie:

function get($urlPath, $queryParams=null, $ouputFormat='xml'){
// if(!authenticateAsOwner($queryParams))
// {
// header("HTTP/1.0 401 Unauthorized");
// return;
// }

do;
something;
here;
then;
}
Gosh, it's weird that some people see abuse as bad and want to end it. How very black and white of them. If they keep on like that, they might oppose all sorts of harm to people. Quelle horreur!

The weirder part to me is the number of people who end up caping for abusers and abuse. Usually they're more subtle than you, though.
The drawing random letters is true for the lambda in lambda-calculus, but not true for (at least some) combinators. e.g. the K combinator derives from Konstanzfunktion, and I from Identitätsfunktion[1]. So I do think it is an interesting question why Y, and we can't just assume it's arbitrary.

[1] https://www.johndcook.com/blog/2014/02/06/schonfinkel-combin...
What's a practical use case for this?
The commented-out closing brace is for the if statement, not the whole function. The rest of the function was snipped, you can see the whole thing here: https://paste.debian.net/plainh/7630c424
I would never attempt to ring up a $500 cart of groceries for feeding a family on my own. And I do buy those. Also, I generally prefer the cashier experience.

However, I do occasionally need to get just an item or two. If I'm at a store that has a self-checkout, it seems to be faster for that.

Also, the checkout at ALDI is an impressive demonstration of efficiency. CostCo seems to have a similar philosophy.
This article is from 2018. Plenty of water under the JS bridge since then.
Note that the benefits of the sale ($800M) will all go to a non-profit dedicated to the development of the Open edX project. This just gave the project one of the largest warchests of any open source project, and freed it from the sometimes conflicting needs of monetization edx.org had.
While there are a series of vulnerabilities here, none of them would be exploitable in this way if the metadata server was accessed via an IP instead of the hostname metadata.google.internal.

The metadata server is documented to be at 169.254.169.25, always[1]. But Google software (agents and libraries on VMs) resolves it by looking up metadata.google.internal. If metadata.google.internal isn't in /etc/hosts, as can be the case in containers, this can result in actual DNS lookups over the network to get an address that should be known.

AWS uses the same address for their metadata server, but accesses via the IP address and not some hostname[2].

I've seen Google managed DNS servers (in GKE clusters) fall over under the load of Google libraries querying for the metadata address[3]. I'm guessing Google wants to maintain some flexibility, which is why they are using a hostname, but there are tradeoffs.

[1] https://cloud.google.com/compute/docs/internal-dns

[2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance...

[3] This is easily solvable with Kubernetes HostAliases that write /etc/hosts in the containers.
I will probably get downvoted as I am in minority who still believe Server Side Rendering is the best approach for most of the web with exceptions to some websites that require Single Page App functionality.

I still think web would be best if you do SSR and then replace HTML DOM elements using frameworks like Stimulus Reflex or Hotwire. For millisecond interactivity you may want to write JS in a framework like Stimulus JS is good enough. Personally I do not see why everyone wants to build a Single Page App when 80% of your pages are static and can be server rendered and with SSR frameworks you can build something a lot faster than building a Frontend and Backend separately and fragmenting or hiring extra developers when it is not needed.

DHH said your code reflect your org structure and I agree companies that use SPA and Backends micro service arch usually tend to require more developers rather than companies that use SSR monoliths which appeal to smaller 1-3 developer companies that are building out a POC before committing huge amount of venture capital or their own money behind an idea that may not succeed.
Both.

Someone hacked their HVAC firm to hack target credit swipe terminals.

At the time it was the biggest hack in US history.
I have just migrated my Photo collection from private NAS and and other storage mediums into iCloud. And by that I realised how my photo collection library's metadata, frequency of photos has so much increased after the smartphones became popular (and then, SLRs getting GPS sensors, etc.).

Nothing of that is surprising to me in retrospect, but browsing through that photo collection its still astonishing.

Side note: I remember back then, I had an iPod touch and a plain Nokia phone and I really failed to see the value of the iPhone as compared to this iPod touch. I got wifi almost everywhere.

I also remember when the first people my age (typically broke college students) got their smart phones, HTC was big, I wouldn't have a smartphone for 2 more years. Then going for a Samsung Bada, then various Androids (Motorola Moto G, the initial One Plus, Huaweis) and finally in 2020 I settled on an iPhone.
>Doing the same thing to an adult can get you an assault charge, or a punch in the face.

Only people in a capacity of authority do the same thing to adults all the time when they're hard to control / reason with: imprison them, beat them and pin them down when they are unruly, restrain them, taze them, some countries have corporal punishment, and several other things besides.

What many modern parents did is exchange some slap and/or light hitting (which is not the same as abuse) with an arsenal of psychological manipulation, negotiation tactics, and guilt-inducing talk to get the kids to cooperate. Or, perhaps worse, giving up and letting kids having free-reign and ending up as horrible unsufferable me-me-me adults who think the world is there to serve them.
Okay, but - why does Rust frontend libraries (like Yew and Seed) use vdom instead of doing whatever Svelte does?

Actually, is anyone else doing it the Svelte way?
Back in the day me and a friend made bootleg t-shirts with the CM-1 logo.
Yes, I too was hooked but disappointed there was no link to a follow-up article!
Lol nice trick. People could be surprising sometime. Thannk for the info.
Thanks a lot . I really like the concept of imitating the natural day lighting scenario with hue lights
I've consulted or been employed at both big companies and small companies over the last 20 years. And after those experiences, I'll just offer the anecdote that I hope I never work at a big company ever again.
Yes, this happens to me when I'm very tired. The worst is when I'm about to fall asleep, but this thought pattern keeps my brain just active enough to prevent sleep.
we don't even have the option of infinite regression because we cannot know the total state at a quantum level, both because of uncertainty and because quantum mechanics violate locality.
Svelte is:

- smaller (because Svelte doesn't include Svelte in the binaries it outputs, but rather a dynamically generated static mapping between data and elements)

- better organised (single function components, with the JS, HTML and CSS in a single file) - like Vue!

- simpler (name = 'Joe' instead of const [getName, setName] = useState(null); setName('joe')). The last one isn't quite true as you can't use this in all circumstances - fruits.push('pear') won't update fruits, you have to run 'fruits = fruits' afterward to trigger the update (there are other ways too).
The Overton window has shifted to a place with exotic physics when people trying to overthrow the government as it certifies a legal election are described as conservative.
> The entire first page of Google agrees with me, which seems a reasonable proxy for the prevailing wisdom.

I appreciate you clearing up that talking with you about this is definitely a waste of my time.
How to Work Hard
Did you also notice the uncheck all option a bit further down? I didn't until I already unchecked everything by hand twice.
This is a portable reactor for use by the army.

So the question is what would you rather be hit by a missile? A nuclear reactor or a diesel engine?

The emissions of a diesel engine are irrelevant here because that's a specific use-case that is going to be negligible compared to emissions by cars and industry in general (or even by the army).
Very cool. Thanks for sharing
For 95% of apps, Svelte's custom syntax is pure cognitive overhead making little difference to the performance of the app.
It's odd to see "startup mentality" associated with a site that works well without JS and is otherwise very accessible (https://news.ycombinator.com/item?id=25915313)
I have said it many times before. Unless and until you make companies pay exorbitant amount of money when your data gets stolen from them, the companies will never be serious enough about security. We had the whole Equifax fiasco, and nothing has changed.
If I were allowed to rewrite all the rules at Youtube, I would simplify censorship. Only content that breaks the laws where Youtube is headquartered would be removed by Youtube. No exception. AI would be allowed to "flag" a video for review and a large crowd-sourced team of moderators would vote on whether or not the video is breaking a law. They would have to attest to which laws specifically are being broken. Moderators that false-flag will slowly lose points that count towards a quorum. When a quorum of moderators agree a video is breaking one or more laws, the video would become invisible to the public and handed off to a forensic interface for law enforcement to subscribe to. The forensic queue would summarize who is posting the most illegal material and give law enforcement officials the ability to search for specific content, IP addresses, geographic locations, etc... Law enforcement could un-flag a video if it is in fact legal. Verified law enforcement are also welcome to join the moderator queue and review process. This might be a good option for those having recently left the police force due to current events. If there are laws on the books that the district attorney does not wish to enforce, they could log in and gray them out. A comment will appear showing which district attorney muted those laws.

As for false information, quackery, etc... there would be icons that people could up/downvote to provide public opinion as to something being false information. Post a video of the earth being flat? No problem, go right ahead. People can upvote the "Cool story bro" icon. Quackery icons will slowly de-rank a video from showing up in suggested. There would also be industry specific icons and people verified to be from those industries could double-up-vote icons as well as post comments with a checkmark next to their name linking to their public credentials and contact information. Cost? The verification process would pay for itself. Being a verified subject matter expert provides exposure for the individual, so there is incentive to pay to be manually verified. Being a SME does not grant the ability to remove a video, only the ability to add a comment with a checkmark. Not all SME's will agree with one another. Let the merits of their conversations drive public opinion and emoji voting. Post a cure for covid or cancer? Go for it. Verified doctors and scientists can post checkmark comments and upvote the quackery emojis if they feel it is required. Or they could upvote the green checkmark if they agree. More verified checkmarks equates to higher rank in suggested content.
The most important line:

> It's important to understand that virtual DOM isn't a feature. It's a means to an end, the end being declarative, state-driven UI development.

Declarative, state-driven UI development is a valuable abstraction.

I really hope readers take this to heart, rather than the article title becoming a new meme.
WAL mode has been added in the last 10 years which handles read concurrency really well IMHO. You’re still constrained to a single writer but that’s not usually a problem as long as you keep your write transactions short.
In almost all cases you can ask for a paper menu if the QR code isn't working for you. I once went to a place where the QR menu worked for everyone but me. They gave me a paper menu and it was no big deal.
Maybe the point is that what you get out of it depends a great deal on what everybody around you puts into it, a depressing fact that online learning can hopefully mitigate at least a little bit for people who have access to it.
There are some VDom-less libraries popping up now. https://github.com/sycamore-rs/sycamore
Hi, I’m Disaster Bot
Perhaps you are unaware, but in the US, tipped waitstaff only make $2.83/hr in most places (tipped minimum wage). These people need tips in order to make any money. Nobody is working hard for 2.83/hr.

This is changing since now people are refusing to work those jobs. And yes, the entire industry is dumb and corrupt for having this practice in the first place, but it is what it is.
> This article avoids the fact that declarative programming has proven to be more pleasant for most people.

No it doesn't. Second-to-last paragraph:

"It's important to understand that virtual DOM isn't a feature. It's a means to an end, the end being declarative, state-driven UI development. Virtual DOM is valuable because it allows you to build apps without thinking about state transitions, with performance that is generally good enough. That means less buggy code, and more time spent on creative tasks instead of tedious ones."
https://en.wikipedia.org/wiki/Bhopal_disaster

Hell, https://en.wikipedia.org/wiki/Great_Molasses_Flood killed more than the Fukushima Daiichi meltdown.
Glad to hear it. Good luck!
I live near Paris, but I admit did not go in many restaurants since they have reopened. I was under the impression that QR code only existed in restaurant chains, not in the regular restaurants. I have a hard time to see how the huge range of good restaurants where the menu is on a slate that change everyday and the waiter explain each item to you would use QR code, but I may be wrong.
Try a Better Bike PEDL.
https://arstechnica.com/science/2020/12/archaeologists-excav... might want to consider a wider scope of recent archaeological discoveries. I wonder what it was like outside of Europe during this time period too
“As America slouches toward plutocracy”

JD Rockefeller once was worth 2% of the US GDP.

The “sky-is-falling, everything is getting worse” narrative gets eyeballs but isn’t true.
Obviously, when I say OO thinks X, I mean that people working within the paradigm think that.

Given that you've decided to pretend that I meant something stupid instead, you aren't a person worth talking to.
I haven't seen many sales engineer positions around here (PA), any my wife won't move. It sounds like it would be right up my alley. I imagine the ability to quickly grasp the concepts and thi k about it from a systems and cost/benefit approach would be useful (stuff I tend to do well with). And it sounds like the minor technical details aren't too important because you have the dev team to fall back on.
This is the correct answer. Lap belts are there because under unexpected conditions planes can and have[1] suddenly hit turbulence pockets where they plummet 10 or so meters in an instant. The effect is anyone unbuckled gets slammed into the ceiling.

It's why if you're seated, it's recommended to be buckled in - the difference between one person slamming into the ceiling and 300 is pretty substantial.

[1] https://abcnews.go.com/Health/story?id=7391144&page=1
No, they do not have 'multi-hundred billion dollar endowments'. Harvard's is around $40 billion, which is a lot, but income from the endowment only covers about a third of operating costs. It is all already budgeted for other purposes. Even for Harvard and MIT, $800 million is a non-trivial amount of money.
Virgin Galactic Gets FAA Approval for Passenger Space Flight
> The reason that average people eat average quality food is because they get paid average wages, not because they don't value the good stuff.

Tastes really aren't universal and, more than that, have a certain average (though there is large individual variation) contribution from familiarity and other path-dependent effects.

Do average people eat average food because of average income, or average tastes, of average tastes due to average income? Each is part of the story (and how much of a part each is varies from person to person and category of food.)
The facts are a little different.

For the math & physics classes, the deadlines are 3 weeks after being assigned, whereas when you take the class in person, there's a strict 1 week deadline.

Part of the advantage of taking an online class, as opposed to self study, is the motivating factor of deadlines. I have a lot of textbooks I've started reading, then said "I'll get back to this" and never have.

Another advantage of class over just textbook is discussions with classmates and TAs. Having a schedule helps with that too, since there are others working on the same material at the same time.
Start with your insurance company’s website to find covered doctors nearby.

Don’t fret about picking the perfect doctor or trying to parse reviews of doctors on the doctor review sites. You want whoever is nearby with availability for appointments. You can always switch providers later.

It’s extremely important that you go into any appointments with an open mind. Present your problems and symptoms, but don’t go in expecting a certain diagnosis or certain medications. Steering toward the wrong diagnosis (example: seeking ADHD medications when your problem is actually burnout, depression, anxiety, or even physical health issues) can actually worsen your problems
"opposite" is not the right term... tree-shaking appears to be a particular technique for dead code elimination.

I.e., there are many algorithms you could use to eliminate dead code, and tree-shaking seems to just be a simple one that works well for JS.