skysight-inc/HackerNews huggingface dataset:
“Mocks only test the happy path.”

This is a problem with the test authors, not mocks.

“All the bugs are when talking to an actual database.”

Databases have rules that need to be fillowed, and a lot of those can be tested very quickly with mocks. The combined system can have bugs, so don’t only use mocks. Mocks and unit tests are not a substitute for all the other tests you need to do.

How this person can claim to be a CTO I have no idea.
SquiggleConf
Similar themes. SICP is a little more academic. You build a compiler, do more math, etc.

PAIP also focuses more on Common Lisp specifics.
Source: I am a parent of child who has just finished GCSEs. We live in the London commuter belt.

The hope that stopping phones in school will help the mental health issues that children are facing today is a ridiculous hallucination. The second paragraph of the article states "in the hope of also addressing the downsides of their use outside the school gates". Hoping for a better result is not enough.

Phones enable a level of socialisation, both positive and negative, on a scale that people who finished school as recently as five years ago will not understand. My child is a product of the covid-taught secondary schoolers and has very complex relationships with communication technology.

It is not about the phones in school. It is about games, apps, social media, media, influencing, content creation, filters, pr0n, spam, bots, AI, news. Those same platforms and tools are used to bully, shame, abuse, and stalk. Whatsapp 'in' groups allow social inclusion and exclusion at a pace that would never have happened at the same rate as before. You can be in and out of a group in seconds. You can feel the pressure to have to 'engage' at 2am. The phones are the problem, but switching them off while at school will make no difference.

By all means, let those schools trial it and give us the data. Adjust the results levels of family income, ethnic background, previous mental-health issues. I doubt we will see a drop in cases of teenage depression, self-harm, and suicide.

The UK (and many other education systems) have a pattern of 'parental blame'. For many educators, if a child kicks off at school it is not because they are being bullied, but because their parents expose them to domestic violence. 'Phones off at school' makes all the phone-related problems the parents' fault. Forgetting, of course, that the phone is just a device that connects children to their school peers.
FreeBSD 14.1 vs. DragonFlyBSD 6.4 vs. NetBSD 10 vs. Linux Benchmarks
If your dependencies are unstable then that is very important to know! If it means you have to add forms of resilience then that's good for your code perhaps?
to also be fair, I just recently returned from Europe and I was shocked at how maddeningly frustrating it was to simply use the Web. Between shockingly obtrusive GDPR consent forms and outright blocks on Websites from EU consumers, it was a wild look at what Europeans have to go through under the guise of consumer protections.

Like, the pendulum swung WAY too far in the other direction.
Why over a socket? You could perform the same protocol more efficiently with normal functions in-process. Maybe we need a standard serializing LPC protocol just using the platform ABI. Or maybe this comes down to something like ZeroMQ in-process.
Quote from your first link:

> We can use it:

* to blend with (or replace) natural gas for homes, industry and cooking

* for fuel cells to generate electricity to power cars, trucks, buses and trains

* to store energy and generate electricity for mining sites and remote communities

* as an industrial chemical feedstock for products such as ammonia, fertiliser and iron

* to trade clean energy with other countries.

Only the feedstock one really makes financial/economic/environmental/logical sense.

The unwarranted industrial and governmental enthusiasm for Hydrogen in roles it doesn't make sense for, compared with the general apathy towards clean energy and electrification is somewhat baffling, unless it's seen mostly as handouts to the existing fossil fuel industry.
Many graphic artists operate as independent contractors/consultants.
What would make it different from other messaging platforms?
> As we advance, we can start to smell unhealthy working environments.

As I was going through some old papers, I found my offer letter from a previous job. I'd underlined a whole bunch of things and written questions in the margin to ask the HR guy. Things like, "who will I report to," and "what's the name of the team I'll be on?" Needless to say, in retrospect these were all red flags, and now I know how to spot a company that's not being run by grown-ups.
This is like someone suggesting murder should be illegal, and the main argument being “but some people will still do it anyway”.
"When a user cannot log in to a website, tech support will tell you to double-check your password as it is the simplest explanation as to why users cannot log in."

Why is it the "simplest explanation"? I can see it may be the most common reason why somebody cannot log in, but in what sense is it the "simplest"? Wouldn't it be just as simple explanation that something is wrong with the server?

It makes sense to start trouble-shooting with the most commonly occurring explanation, but is that the definition of Occam's Razor?
The CLTC testing regime is ridiculous. They put the car on a dyno and then have it spin the speedo up to 50kph, 80kph, and 110kph for like 15km indicated on the odo to compute the range.

It's incredibly easy to show excellent range when there is no wind resistance to worry about and you don't have to accelerate the car's actual mass around. It's basically a test of rolling resistance. Not quite a perfectly spherical horse oscillating in a pure harmonic motion, but much closer to that then an actual road test. A good rule of thumb is to cut the CLTC figure in half to estimate actual range, cutting it even more if the car is especially brick like.
In Spanish se have a saying: "Dime de qué presumes y te diré de qué careces".

Tell me what you brag about and I'll tell you what you lack.
Most IO nowadays in my context is to call some REST API. I prefer to use nock (https://github.com/nock/nock) With that I can create an environment for my test to run in without changing anything about the implementation.

The article does not seem to bring up this way to do it.
> People mostly don't care

My experience when doing the same isn't that people don't care. It's that they don't really believe it but are too polite to say so to my face.
Meanwhile, you can’t get a mortgage or a car loan because your SiriusXM bill remains unpaid because you “fixed the glitch.”
I agree with this in principle, but some things can only be mocked, like AWS interactions in a test/CI environment.
I'm not talking about drone legislation here in Europe, but state overreach in tech in general + bad scene for startups compared to the US (for now...) due to politics.
"no one ever got fired buying IBM"
Become a solopreneur and escape the rat race as well. You can do that with your CRUD skills.
Seriously? I've experienced this personally multiple times in my life: gas station ran out of gas, so you can't pump. Or they have bags over every single handle and they're out of order. Now, it's easy to solve: just go to one of many other gas stations nearby... but I've certainly experienced a gas station that didn't function.
Then it ruins your credit, and technically the three bureaus disallow "pay for delete" agreements between consumers and debt collectors which would get it off of your report entirely (some still do it).
If someone steals my card, and uses it to pay for Netflix, how will I log in and cancel?

The simplest, safe route is to not give companies the newly updated number. If my Netflix lapses because I forgot to update the number after a card change (whatever the reason), they can email me, and then I will log in to my account and update the card on file.
Considering that bias is in the eye of the beholder, a biasless language model is a beholderless language model.

The nomenclature is poor, IMO; we should be talking about bias-aligned models, models that align to our specific sets of biases. That'd be more fair to what's actually happening.
Comments moved to https://news.ycombinator.com/item?id=40707558, which has the source that this article is reporting on.
"just copy the stuff that already worked and made it up"
Kudos to you for being able to make the first 2 points fairly despite being personally affected by this. Rare that you'd see that. Most people would start with the 3rd point and try to minimise anything that contradicts.
I think physical and mental health need to be in this list. It’s part of what keeps people trapped to begin with.
grenades are sold separately though.
It’s a boundary set by childless internet commenters.
I did so at the beginning of last year. I was on and off the phone within 5 minutes and they refunded the last month.

I was canceling a several years old standalone radio subscription, and not trying to cancel at the end of a car's free trial, and I wonder if that's why I had such difference experience.
It's called "fireside chat" because of the layoffs. :-/
Anti AI App Cara and Alternative to Instagram Explodes in Popularity
The bank allowing a charge on a closed account is some bullshit.
Clearly mocking DB is a footgun and it's not that hard to setup e2e test.
Use TestContainer or Docker on a random port, run your API on a random port.

Every tests seeds all the data needed to run (user, org, token), it requires an initial setup but then you just reuse it everywhere, and voila. No side effects, no mock to maintain, it also test your auth and permissions, almost 1:1 with prod.
To answer your question for real: Yes, obviously.

To answer your question practically: No, it's just a job, gotta pay the mortgage. And you know companies have a legal duty to be amoral in the quest for profit, right?

We live in a time where so many people work at and/or want to work at ethically dubious large tech companies, we experience overwhelming social pressure to see them as more morally-neutral than they are.

We don't want the cogitative dissonance of hanging out with friends and spending the whole time thinking about what it means to have someone in my life that enables $foo for a living. Are you financially and emotionally ready to quit your job as soon as your employer crosses your line? You did spend time developing and reflecting on your own personal line in the sand, right? And are you're comfortable unabashedly sharing that standard over dinner to your 5 closest friends? What if one works at the place you find most-evil?
I've heard offhand here that the ease of starting a business in general is easier in the US and that funding for tech startups is more available in the US due to policy.

Totally hearsay from me.
They can't stop them all, but they definitely stopped anyone they caught.
The Charango and the Siku are Iconic in my opinion

https://www.youtube.com/watch?v=8kQZHYbZkLs
https://www.youtube.com/watch?v=xnqXtz3sxjU

https://en.wikipedia.org/wiki/Charango
https://en.wikipedia.org/wiki/Siku_(instrument)
It also takes some time to build high resolution obstruction data. If you have perfect views, not an issue, but that is rare.

Until that happens, you’ll experience unpredictable short loss of signal when it can’t talk to a sat it expects to be able to for a second or two due to a branch, building, etc.

Usually 30 mins to a couple hrs and you’re fine, depending on the site and how much traffic. The more traffic, the faster it can find the ‘dead pixels’ and route around them.

Remarkable tech!
Interesting knock-on effect to RID of this goes through.
I don't know if you're out of the loop but the AI scene has dramatically changed in the past few years. We are solidly out of the AI winter.
Of those being built, most of them began construction in the last 2 years[0]. If you look at the timelines, China is doing much better than others on timelines. For the economies of scale, one needs to only look at the historical example of France (same link).

This issue here is that when you infrequently build reactors you have to reinvent all the tooling to build the sub-components. This is actually what caused the Westinghouse bankruptcy. But your question is about 7 years being a long time. China seems to be pushing that down to 5, but how much time are you expecting? There's always a trade-off here and frankly big projects take time.

I suspect you have an incorrect mental model where you think other energy systems are constructed much faster. I pulled a random US example from the list of photovoltaic systems[1] and so let's look at Westlands Solar Park which is a 2GW facility[2]. We can see planning began before 2014 (since that's when a real estate company was involved), initial demonstrations in 2014 (2MW), construction began in 2020, took another 1-2 years to get 250MW online, another year (2023) to get another 420MW online, and the facility isn't expected to be finished until 2025. So we can say that the time takes is at least 5 years. For reference let's look at Yangjiang, China is doing about 6 on their reactors which are around the 1GW scale. And you'll notice that while staggered, these are often parallel so the whole facility is going online in roughly 10 years, but that's 6GW where past the initial first 8 years, one is going online every year. This example was even slowed down by Fukushima. But you can see they've done that a few times and can tell that that was their foray into building nuclear power, and after success you do more. As long as they have good construction (and we should expect these to be higher quality than many other things in China because there are international inspectors and overseers), then I expect them to even get a bit faster. But the overall timeframe for building isn't significantly worse than building a solar plant of a much smaller capacity.

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

[1] https://en.wikipedia.org/wiki/List_of_photovoltaic_power_sta...

[2] https://en.wikipedia.org/wiki/Westlands_Solar_Park#Phases
It's just hard to get away from the transaction costs associated with exchanging low-value physical goods over distance. A swap meet with a local electronics club? Sure. But selling individual items on eBay? Not so much.

There were a bunch of ideas associated with the early Web like sharing tools and so forth that just don't make sense outside an informal neighborhood "economy" (and often not even there).
Sure, caveats are always included, but if you don't need a mortgage or a car loan, fuck 'em.
Everyone in the comments seems to be against this: why? Let's build up a great domestic drone company here in the US.
They wouldn't want to use a firearm for that. Might get guns banned...
I really wonder people who say these things ever owned a cat. I cannot see how cats are "less capable of living with humans albeit they're less dangerous". My anecdotes show:

* Cats absolutely can be obedient with training. I've been clicker training my cat for years and he can do any trick a dog can do. He also understands his name. I tested this many many times by yelling random words, seeing him continue sleeping, then yelling his name, causing him to jump and run towards me.

* Cats can be trained not to attack at hands like dogs. This is called "cat inhibition" and it's standard practice for cat owners, all good cat owners must know and practice inhibition training.

* Cats clearly prefer sitting next to humans and sleep close to them. If you never experienced this you never lived with a cat long term. It's actually fascinating, when a cat is "sleeping" they're actually not sleeping in a human sense, it's a particularly light sleep. They're still ready to hunt. What most cat owners will see is that when your cat is sleeping next to you, and you suddenly change the room to clean dishes or use the bathroom, your cat will get up and sleep somewhere close to you. Although a human interprets this as cat being lazy, they're exhibiting hypersocial behavior for their species.

* Cats are not weak. Have you ever fought a cat? I did. I'm a full sized human male who weight trains regularly and my cat can barely overpower me if he puts all his power. Go watch some feral cat vet videos, you'll see cats require a strongman sized vet to be fully seized (and rarely some still get away). An adult cat will have no problem overpowering a human female. If you think "cats are attacking their owners" you seriously have no idea how incredibly powerful these creatures are. When a cat slaps you or whatever they're merely warning you in a "polite" way (and, as explained before this is a sort of behavior that can usually be curbed with training)
X automatically tags photos of burnt Nova Music Fest cars with community notes
In this thread, people not understanding that we've literally watched in the past year as consumer drones with IEDs attached to them have made the $10 million M1 Abrams tanks obsolete and what that means for war and its downstream implications for manufacturing bases.
What attack vector could that possibly enable for a session with a valid login?
Pro-tip if you ever want cheaper Adobe subscriptions is to cancel your sub and they’ll send you repeat offers at lower prices up to 60% off.

Though, obviously as per the article, this is a pain to do.

It’s really a shame there’s nothing comparable to Adobe’s products on the really pro-artist end of things.

Companies like Serif have tried with Affinity but it’s lackluster when you really need to do some high end work. OSS stuff like Krita, Inkscape and Gimp have improved a lot but there’s still a huge gulf.

Photoshop is perhaps the easiest to replace, but the rest of the suite like Illustrator really has no competition when it comes to functionality.

Affinity Designer lacks so many of the gradient tools, shape repetition, and even certain alignment tools.

InDesign similarly has many QoL features that Affinity Publisher lack.

After Effects has some competition but nowhere near the ecosystem it provides.

I guess premiere and animate (previously flash) have a lot of competition but that’s about it?

For reference of where I’m coming from , I own licenses to the full Adobe suite and the full affinity suite. I have professionally done art and programmed for features in multiple domains for a decade and my work has shipped with major products from FAANG-like companies.

I totally think the alternatives can replace Adobe products at some level, but the level of tooling I need and that Adobe has provided, is currently unmatched.

It would be great to see better alternatives someday.
And some of you are saying Apple is just taxing people with AppStore fees or the hard inapp purchase rules. Just check out their no nonsense one tap subscriptions cancellation support for all subscriptions.
> If the article was written in China and allowed to be published it was reviewed and aligned to the ideological language and goals of the CCP by government propaganda officials.

It's a great meme, but is it true (warning: be careful subconsciously inferring an inadequate variable type here)? Are you even able to wonder about the truth of such matters after having your mind subjected to unknown amounts and forms of Western propaganda?

This is not a rhetorical question by the way: I pose it sincerely and literally, and challenge you to answer it. I greatly enjoy exhibitions of extreme cognitive capabilities, please don't hold back.

> That’s the way the laws work.

At best you can know what laws exist on the books (I doubt you even know this), it is not possible for you to know how and to what degree they are implemented & enforced.

> It’s not a form of propaganda to recognize the structural fact that any material originating from China is, by intentional construction, propaganda.

a) You are expressing a personal opinion in the form of a fact.

b) Your claim is comprehensive ("any material"), thus necessarily speculative.

c) "by intentional construction" - intentions are not (and cannot be in this case) achieved with perfection.

> Whatsboutism doesn’t change that.

Thinking in simplistic memes like this can cause "reality" to appear other than it actually is.

Sir: have you seen the movie The Matrix? If so, what was your take on it?
YouTube testing new ways to offer viewers more context and information on videos
So what's America's plan to survive?

Ban almost everything they used to buy? (i.e. goods manufactured in China)

Which Made in the Good Ol' US of A consumer drones are people supposed to purchase instead of a DJI Mini?
Experiments show that drag coefficient for light depends on light frequency, but light is not a plain radiowave, it's a Hopfion or a similar thing, so our intuition about its interaction with physical vacuum (ether) can be wrong. Moreover, light is an electromagnetic wave, so it propagates through physical vacuum (ether) because of non-zero capacitance and inductance of the medium. It's possible that light interacts with physical vacuum (ether) only when transitioning from one state to another OR when it is in one of two states, which explains the behavior.

PS.

For example, look at walking droplet. It interacts with the medium through it pilot wave when it bounces off, part of the time, so drag is partial and depends on frequency too.
Sort of like the water pumping station in Raleigh, NC:

https://www.wunc.org/science-technology/2014-01-15/video-wha...
Sock puppet comment spam is (still) a problem on YouTube: screenshot [PNG]
I've been seeing this specific type of sock puppet spam on YouTube for years, the same exact modus operandi, my earliest distinct memory of seeing this specific kind of sock puppet spam comments promoting a financial scam is from early 2020, just before the breakout of COVID19.

The screenshots shows how they are the top comment on the video, as a result of manipulating YouTube's comment ranking algorithm, with the sock puppet comments. (note: it's a big screenshot, you might need to zoom in)

How is it that Google has not fixed this yet?
How can spam email classification in Gmail be so good while this is allowed to go on?

I believe a small finetuned LLM can easily identify this kind of sock puppeting spam.

Google should do something about this specific kind of sock puppeting comment spam that promotes financial scams and shadow ban them.

Can somebody who knows someone that works at Google ask them to raise this internally?

It infuriates me and makes my blood boil how they specifically target old people. and they intentionally target YouTube videos that old people are more likely to watch.
If you call to cancel every time, you'll probably end up with a subscription equal to $10/yr every year.
Unfortunately that's not a correct summary.

I care about renewable energy (for example for many years my electricity contract is from a local provider of 100% renewable energy).

Nuclear energy will save much less lives, than a rapid expansion of renewable energy, which is the only viable way to make a large impact on global CO2 emissions. I also think that Nuclear energy is inherently harmful in general, such that it best is avoided, especially given that it does not scale for the challenges ahead.

Here is a task for you: xy graph the following, on a time axis: share of nuclear powered electricity from the last 20 years and the yearly electricity production.

Then graph the yearly renewable energy installations and produced electricity over that period.

Then compare.

With a little math knowledge you can deduce that the situation to use nuclear energy for reducing CO2 worldwide is hopeless, renewable has been scaling much quicker and will accelerate even more in the current future.

The numbers you can collect are mostly facts and then you can find out for yourself which technology scales better. You would not fall victim to desinformation, if you collect reliable data and try to analyze it. There is only a little math needed.

Good luck!