skysight-inc/HackerNews huggingface dataset:
A much more attainable goal would have been to develop a fast and safer transpiration system for autonomous vehicles that could navigate across water. Ever since the submarine Lotus from Octopussy, I've wondered why companies wouldn't try to create a market for water-based travel since we've been talking about flying cars and automated cars since the 1920s and it's never happened, whereas cars on water don't have the same factor of danger in many cases. Sea exploration as well is largely untapped, and with rising sea levels, you'd thin they would have developed underwater real estate to troublesome levels by now...

Anyway, we should probably all stop developing these silly pipe dreams perhaps, and perhaps divert that attention to solving the more pressing problems we face in this world like asking why solar energy is still weak and to fixing poverty, housing, and disease-related issues with the funding for innovation over things that time and time again never roll off the R&D line into reality if you ask me.
During World War II, we had radio and television broadcast. The fascists in Italy and the Nazis in Germany brought both under state control.

... but so did every Allied nation, to a greater or lesser degree. The US press worked hand-in-glove with the federal government on message-shaping and propaganda. https://en.wikipedia.org/wiki/Office_of_Censorship

As a general rule of thumb, the state will regulate the media during wartime. That's pretty standard.
I feel like I'd been ok, previously. I've spent a lot of time in loud places for most of my life. It's definitely possible that I simply didn't recognize the issue.

Interesting point about music. I'm terrible at remembering the words to songs, but just fine with melody and rhythm.
The M1 Max MacBook Pros
MJML: The only framework that makes responsive-email easy
Yeah, it's hosted at https://cric-code.pankajtanwar.in/ ;)
Storybook with React TypeScript
Electric cars are actually a very good fit for many rentals. Thinking through my last 5 rentals.

A wedding that was 1 hour from an airport, ~100 miles RT.

A ski trip where I wanted to drive from Denver to my AirBnB near Winter Park Colorado, ~200 miles RT.

A hiking trip where I needed a second car for a point-to-point car shuttle (New Hampshire!), ~120 miles RT.

A bachelor party where I needed to drive from the airport to a trailhead then to an AirBnB then back to airport, ~150 miles RT.

A national park trip to the Grand Canyon, ~500 miles RT.

Each of those scenarios would have been 1 full charge of a Tesla round-trip, with the exception of the Grand Canyon. Maybe not the ski trip since it's mountainous and cold weather kills the battery so 200 miles might be a stretch, but I could have trickle-charged at my AirBnB. So basically I can see how many quick rental car needs are met by EVs, plus no dealing with filling with gas!
I assume debit cards
I've wanted to try a Tesla for a while now with a view to purchase. There's nowhere near me to rent one (Turo isn't available in my state) and I'd gladly rent one from Hertz. This is a move that could do wonders for EV sales. Exposing people, without commitment, to EVs may just quench some lingering doubts re: charging, etc.
I'm a developer and these laptops are exactly what I was hoping they were going to release. Perfect in every way.
Seems simple as ever to move jobs as long as you keep up to date and flexible! (London)
To be fair, the AT2020 is a high-quality mic compared to the dollar store AirPods your colleagues are using...
The easy fix to this is sharing presentation files before the meeting so everyone can follow along however they want. Meetings should mostly be to discuss the information that you already have, not to be surprised with brand new information.
I happily pay for rider license every year. When you make so much money as a dev, investing in the tool you use every single day makes a lot of financial sense. Even if it makes you 1 or 2% more productive than VS it pays for itself (in my experience the speed boost alone is so worth it)
I may be wrong about this, but here's how I see things: I think the two main "variables that depend on" performance are latency and how much computer power you need. And the "variable that depend on" how much computer power you need are server costs, and the architecture of your application.

If we assume that REST serves more requests than GraphQL, but GraphQL is more flexible, that may be a trade off of dev time of the application vs a dev time of the infrastructure. Which would fit with more and more people using orchestration and things like that. That might be a very wrong assumption though.
Wasn't it $1 per year before Facebook bought them?
I worked for ~3 months exclusively on the N5000 version, writing C++ drivers for the RP2040 (in VSCode) and binding them to MicroPython, plus tending our 32blit (STM32-based) project. Sure I would have used something a lot beefier if I had the opportunity (I do now) but I managed to be productive with it.

The N5000/N5030 are not fast, but coming from WSL1 on Windows 10 over to a Linux-native machine gave me pretty much the same approximate build times.

I still leave my workstation (i9, 32GB RAM, Pop!_OS) in the office and work on the Star Lite if I'm doing some evening tinkering. Or just want to sit on the sofa for a change of scenery.
Can I heavily recommend the use of them as a pihole + Wireguard VPN + DNSCryptProxy Server.

Pihole -> Great use for a network wide adblocker/DHCP server.

Wireguard VPN -> In combination with a DDNS setup and some port forwarding enables the use of a global private VPN. I think it's a prerequisite for a decent home-automation setup.

DNSCryptProxy -> Great for ensuring all DNS requests on the network via DNS over HTTPS. Kind of useful because frankly ISPs are sniffing DNS traffic. Also useful for bypassing DNS based ISP filters.

The above basically enabled me to create a 5 country wide private VPN by giving VPNs to family members. It enables me to print/scan things from abroad, access CPU resources/servers/GPUs/Webcams/automation and obviously browse as if I am in another place.

My family when they are abroad, can now work as if they aren't.

It also saves power (reducing analytics traffic), improves privacy and takes about a weekend to setup.

They also make great personal gifts too.
I mean, let’s be real, what could it actually power? I can think of a few applications but it certainly won’t be much.

- dhcp / dns / radius for the office
- maybe internet router, if they don’t have a too fast connection (>500 mbps)
- egress MTA
- intranet wiki or ticketing
- resource monitoring

But yah, I agree with others, the title is a bit click-bait.
That's not as true now as it used to be. AFAIK the Atom line was recently rebranded as Pentium Silver.
What does the Dutch model of comprehensive, ‘shame-free’ sex-ed look like?
The transcript is probably about 30 pages: https://pastebin.com/7HfHiwVD
With Covid-19, every disagreement became a culture-war flashpoint
You're right, of course, but it still works for now. The backwards compatibility layers keep the API functional and I don't think they'll be removed for at least another few years.

Google is turning more and more towards the Apple spirit, sadly. I fear that one day they'll end up with the same idiotic rules about code execution Apple has, restricting their browser to only allow Chrome and other such stupidity.
https://bit.ly/3pyXXGx
DNA testing giant 23andMe expands into telemedicine with Lemonaid acquisition
Where are you working, mate? I make less than 35k USD in Europe. I only have half your work-experience, but my most senior coworkers ain't making more than 50k....
That never happens to me. All ports that I encountered have identical configuration. I need to make a quick look on cable and I know how to position it.
Anecdotally, based on my own data, roughly 0.2% to 0.3% after excluding bot/crawler UAs (and I run a website more likely to be visited by "techy" users, probably lower for the general population).
But he was still good enough to lead the Intel team that developed the Pentium III, or is that an overstatement?

From his Wikepedia page:

> At the beginning of 1990s, he immigrated to United States where he worked at Intel and led the team that developed the architecture for the Pentium III processor
More like 66% of the time... you need to try it, fail, turn it over, try it again, fail again, and then turn it back, and it'll fit.
Dangerous Laser Strikes Continue Rise in ’21
99% sure this user is just trolling you.
Queue endless business majors wanting to copy them
I've also been the only remote person on a team pre-pandemic. I never needed the camera. We did use it for a stint but switched to audio only due to technical issues. Even when we had the cameras on, I'd quickly end up switching to another desktop and focus on information relevant to the discussion: issues, personal notes, meeting notes, code, schematics, datasheets, etcetra.
The stdlib contains outdated modules, it's not outdated itself. Windows 11 still contains some DLLs dating back as far as at least NT 4.0 and nobody would call it an outdated OS. The stdlib is constantly being improved and I for one am glad that older and rarely used features are being kept around instead of booting them out with the next minor release.
Sure, okay, then find me a competitor that does all the things I listed that this machine can do in an equivalent or smaller size.

I presented sourced evidence showing why I think this computer is in a class of its own, so I'd be really excited to be proven wrong.
Chekhov and Pushkin are extremely easy to read in russian. Always straight on point, with few distractions, rarely engaging in highbrow ornamental phrases. Good choice when learning a language.
The problem with avoiding useCallback is that another hook will bite you: useEffect. If you need to define functions that interact with your component's state, you have to memoize them with useCallback (or useRef) to avoid a useEffect infinite loop.

What's even worse is that if functions passed as props are unstable, your useEffect will run every time the parent component renders — meaning that a component can't trust functions passed into it.

This is one of many reasons I think useEffect is a huge footgun, and I really wish we had a better primitive for causing side effects.
An addendum to tie this back to the original discussion: the reason kernel devs want these APIs more than userland is that (a) in a kernel, panicking = crashing the computer, which would be bad, and (b) they have a much bigger toolbox for handling OOM.

They can kill entire misbehaving processes. What are you going to do in your little program, clear a cache whose objects are sprinkled evenly across 150 different pages? You would need more control than you get from blindly using malloc/free/rust_alloc globally. Something like memcached would be able to use these APIs, because it uses its own allocator, and knows enough about its layout to predictably free entire pages at once.
The Soviet intelligence apparatus spent a good deal of time and effort post-1945 ensuring that pretty much every state in Eastern and Central Europe would be dominated by the local communist party, parties which largely took direction from Moscow itself. In some places, like Poland, the process began even earlier when the war was still ongoing. The idea that they wouldn't have done so if Communist governments reigned in France and Italy is laughable.

Read Postwar, by Tony Judt. It's a pretty good roundup of what happened in Europe during the post-war era, including the start of the Cold War.
Several of the Stan’s such as Kazakhstan and Uzbekistan are quite wealthy due to a high amount of natural resources such as oil and coal. Kazakhstan’s main city capital Astana is incredible. It looks like a small Shanghai or Dubai and it’s all largely because of their wealth from oil.
I’ve been looking at building an auto remediation system for server alerts, is Node-RED a decent system for this? It will probably start with just triggering some kind of ssh command to run a script.
I'm in my 24th year now as a Dev, and I can tell you that the career perspective for senior devs is not nearly as dim as you describe. On the contrary, the more senior I've gotten the more possibilities I have got to move to different countries and/or better salaries.

The key is that you have to keep working on your skills to stay valuable for your (next) employer. When you're 40+ you can't compete with a 20 year old anymore when it comes to the ability to work crazy hours. But do you even want that?

As a senior you have a big advantage though, and that is your experience. But you have to make sure all the time that that experience is useful.

20 years experience is some dying language has very limited value. But 20 years of studying algorithms or general language concepts can get you almost anywhere.
It helps of course if you like what you're doing, not everybody likes to study algorithms all the time. But there are plenty of other specialties around that will always be in demand.
That is more related to the frontend, the frontend doesn't have to overfetch data.

But the graphql still will fetch that data and just filter what does out, it still has to get that data.

Example is a query like

```
{
currentUser {
id
name
todoLists {
title
items {
name
}
}
}
}
```

The resolver will likely get the whole user object from the database, then just send name and id. Then when it finished getting the user, it will then query for the todo lists, and then only send the title (even though it got the whole row for each todo list), then after it fetches those lists, it will query for the items. And retrieve the whole rows of each item from the database.

The data the server needed to fetch didn't change, just what the frontend receives. It is still loading and fetching all the data on that query and then graphql filters the results leaving the server.

Also in the above steps, you notice it queries AGAIN after a data set has been retrieve, this causes an N+1 problem.

It is not inherent in the specs or implementation that fixes these. If you want to avoid fetching the whole object you will need custom code, and to avoid N+1 problem, you need batching of data within requests that "caches" or consolidate nested requests like data-loader, and some form of response caching to help with these issues.

Not siding against the tech, just clarifying those cons.
Crime and Punishment is pretty well-known, but not many know that Joseph Conrad wrote at least one novel in direct reaction to it / to Dostoyevsky.

Under Western Eyes (1911) is a novel by Joseph Conrad. The novel takes place in St. Petersburg, Russia, and Geneva, Switzerland, and is viewed as Conrad's response to the themes explored in Crime and Punishment; Conrad was reputed to have detested Dostoevsky.

https://en.wikipedia.org/wiki/Under_Western_Eyes_(novel)

https://www.theguardian.com/books/2005/feb/26/featuresreview...
"Raised without comfort and support of a stable, loving family structure, and without any sort of ethos."

Let's fix this to what the author really meant:
Raised without comfort and support of a nuclear, Christian family structure, without God-based morals and ethos.

This piece explicitly seems to ascertain the judgment of 'Halloween' and a generation's supposed fixation on the holiday, as the apparent "inability" and "lack of a proper foundation" for the generation.
Yes, it could happen, but according to the well detailed article, would be one hell of a coincidence.
Because lots of information is easier to take in with animation and ease of use features vs. staring at a wall of text.
Isn't AMD still a node behind Apple? They both use TSMC, but my impression was that Apple was the largest customer bankrolling the leading node and therefore got first crack at it.
Censor "wrong-think" without blame and create a moat that smaller players will have a hard time crossing. Win-win.
My experience is, # of engineers is directly related to # of product people, which is in turn related to quantity (not quality) of ideas that the founders/leaders are desperate to try out.

Higher quantity of ideas == More engineers. Higher quality of ideas == Fewer engineers.

WhatsApp success is not about what WhatsApp did, it's about everything they didn't do. No desktop, no browser (until after reaaaaaaallly long), no account creation (your phone number is enough, thanks), no hidden ad engine, no hundreds of stupid features that product people stuff down in the name of experimentation.

There are some leaders who want anything and everything: Throw 100 darts in the wall. Leave what sticks (don't touch or nurture it). Go back to throwing 100 more. The other guy does that? We want that too. Mobile? Yes. Desktop? Yes. Browser? Yes. Different affiliate channels? Yes. Custom features for B2B partners? Yes. Merchandizing? Yes. Build a mini Ad engine? Yes. Multi user profile management systems? Yes. Yes, yes, yes, every requirement is a go.

The crucial difference is: What happens when you have a restricted pool of people, but insist on doing 100s of things? Some leaders simply treat this as an "org structure" problem, not a problem of focus. They slice and dice the org until the 30 people become split into teams of 2-3 with a manager for each, running into coordination hell on each step – just so that more quantity of features can be seen on paper. This is how most startups are, except for those rare few which don't "talk" about focusing, but actually focus.
Download your website, engrave it on a quartz crystal[0], and hope your progeny have something to read the data from. If you want something that will last ~30 years, then tape and tape drives are a good way to go.

When it comes to web hosting, archive.org maybe? Who knows if they'll exist in 500 years. But in terms of publically accessible webpages from generations past, they seem reliable to me.

[0] https://gizmodo.com/optical-data-storage-squeezes-360tb-on-t...
> I think I’ve read somewhere on HN to never let any two person do the same thing, to avoid the conflicts you mentioned.

I’ve read this in Peter Thiel’s “Zero to one”.
The ATV 4K I'm talking about is one generation behind the current one and was first released in 2017. They sold it until May of this year and it still gets updates. It always "supported" YouTube but not in 4K until tvOS 14 which released LAST YEAR. The hardware could always do YouTube in 4K and weaker devices like the 4K FireTVs could do it too.
I find the state of things in React, pun intended, a bit sad. Hooks are definitely an improvement over class based components but it still suffers from the same issue - having logic and state in the view layer leads to spaghetti code. Not to mention dependency arrays which are easy to get wrong and the weird syntax you end up with everywhere.

I'm a big fan of MobX and it pains me to no end that it didn't took off better. It's a godsend from like 5 years ago and it makes so many of these React pain points disappear.

Instead of adding state to your components here and there, it works outside of the view layer. You define the model, derived computed views, actions and then just use it inside your components. You never ever worry about performance because MobX knows what is used where and it will optimize your renders automatically.

Moreover, dealing with state outside of the view layer makes it much more easier to refactor, reason about and test your app. Sure, you can do the same with Redux but it's 10x more code.

I recommend this article on this topic by the author - https://michel.codes/blogs/ui-as-an-afterthought
Can verify. I get no less than a dozen calls per week from recruiters even though my resume website and Linkedin profile make it very clear that I am very happy with where I am.
> Apple should showcase real-world apps using the M1 and compare it to Windows/x64.

This reads as they should showcase apps I use. From Anandtech's review re: Adobe Premiere Pro:

> What we find is that both Macs perform well in this benchmark – a score near 1000 (the score is 955) would match a high-end, GTX 3080-equipped desktop – and from what I’ve seen from third party data, this is well, well ahead of the 2019 Intel CPU + AMD GPU 16-inch MacBook Pro.

That seems like it's unlocking the hardware's capabilities.
Medicine: Radium Drinks (1932)
I share 3 stories about my previous experience when I deleted not on purpose data in my Hadoop clusters or when we ran terraform destroy over our GCP projects.

This is a personal post about what I learnt and some takeaways.

Did you ever feel the same way?
I really wanted to use US-International, but the way it breaks quotes and double-quotes is so bad, I ended up with similar hacks in Windows (via AutoHotKey). It's one of those things where Apple really got it right, and I don't understand why MS cannot adopt similar solutions to what the Macs do.
I became a developer advocate. Here seniority still matters. I'm great at public speaking and have all the connections. I write really well and I don't have to work with annoying young team leads who think that their "newer" ideas are somehow new...
They may not have broken "the law" but they _did_ break the US political system (not to say it was perfect beforehand...).
Here in South America companies don´t wan´t devs with more than 5/6 years of experience. If you manage to find work with 10+ years of experience or after age 35 is because the demand for devs have grow to a point where they cannot fill all the vacancies with younger ones.

I thought of becoming a business analyst but analysts seem passé nowadays.
No, in C++, a pair of member variables is what I wrote.

C++ has enough complexity already, there's no need for you to add additional false claims. The thing you pointed to is the standard library version of std::pair, written to be as platform-independent, performant and correct as possible. But if, as a programmer, you need a 'simple struct with two elements', as you described it, you just define a struct and add the two elements, and that's it. Or you just declare it as std::pair<int, int>.

Your statement that declaring a struct with two members in C++ takes 200 lines is just completely false.
I'm a senior dev in the US, and I don't see things quite that way at all. There is a serious problem with ageism in our industry, no doubt about that, but it's not a career-killer (and I suspect that it takes longer because I'm worth more money and am unsuitable for a lot of entry or mid-level positions).

The industry is huge, and there are plenty of companies who hire (and even prefer) very experienced devs. As I've aged, it's taken a bit longer to find new positions, but I've always been able to.

That said, I do have an escape plan -- it's not to change to a different line of work, it's to start my own venture.
nice. i've done simliar projects with unipis in hotels as its cheaper than crestron. Seeing that din rail brought back some memories. you can attach an infrared reciever to the pins and use lirc to then basically do whatever from a universal remote aswell which is a cool upgrade. put infra on a pizero on the network so it can go in ceiling or discretely somewhere. you might also find the AC has an http interface . they often modbus but samsung have http ones too. so u may be able to control that. one thing you can do is read the serial signals coming out of an AC controller and record the bytes. then just store them as instrucitons and send the same bytes over the same wire to hack it. takes a lot of fiddling.