News for hackers. Stuff that matters.

dvdcxn

I'm sorry but this is completely wrong. NPM has lock files which explicitly lockdown the version you have downloaded after your first install. These are commited to source control, so all subsequent installs will use the exact same version of dependencies, and nested dependencies too.

You need to ask npm to upgrade or delete your lock file and node modules to run into this issue.

With lock files, you will always be stuck with whatever version you first installed until you explicitly ask npm to upgrade, or delete your lockfile.
Even if they did they're not 'breaking your app in minutes', as if all live apps which use that package are suddenly going to poll npm for deleted packages. That's absurd.
Re:The Handwavy Technobabble Nothingburger of Crypto on Wednesday November 24, 2021 @12:53PM (#29332859)
What use is that if the servers running the rest of the game are turned off?
Re:Virtual DOM is pure overhead (2018) on Tuesday June 29, 2021 @09:42AM (#27675638)
I think this 3 year old topic needs to be revisted considering the improvements that Concurrent mode will provide.
Yes this is my predection too. We are enforcing evolutionary pressure that favours a less dangerous strain of the virus.
Arguably you are consciously observing by viewing the output of the RNG
Re:Apple Sues Nuvia’s CEO, a Former Employee on Tuesday December 10, 2019 @12:01PM (#21754263)
Restricting the movement of labour does not in any way benefit the individual. Presumably, as a member of this profession you must realise that competition improves compensation.

You are not owned by your employers. Anything else is like a turkey voting for christmas

Re:Dependency injection is dynamic scoping in disguise on Thursday October 31, 2019 @11:19AM (#21409734)
Imo, dependency injection frameworks are distinct to the concept of DI. They do not represent DI itself, which is just a design pattern.
Re:Dependency injection is dynamic scoping in disguise on Thursday October 31, 2019 @09:31AM (#21408488)
What's weird about it? In practice it just means writing classes which instead of newing things inside the constructor, allows them to be passed in by the caller.

This is a pretty fundamental aspect of polymorphism and composition.

Re:Why Don’t People Talk About Breaking Up Microsoft? on Monday August 12, 2019 @06:15PM (#20680643)
It's less of a walled garden than OSX, which isn't even virtualisable.
A theoretical solution to that would be an inflation scaling bursary given to low income workers.
Re:London pushes to take Saudis off EU dirty money blacklist on Friday February 08, 2019 @09:45AM (#19114579)
> 1. Leaders of France and Germany meet to draw out a plan.

So...the main power in Europe is not Germany, it's 'France and Germany'. Important distinction.

Re:London pushes to take Saudis off EU dirty money blacklist on Friday February 08, 2019 @09:41AM (#19114538)
If we're pretending the EU doesn't exist (which seems to be what's happening here), then it's clearly Russia.
Re:London pushes to take Saudis off EU dirty money blacklist on Friday February 08, 2019 @09:26AM (#19114355)
I don't understand the revisionist conflation of the EU and Germany. Germany are not the main power in Europe, although they are a significant part of it.
Re:Cardiff tech firm: 'We'll pay £100k, but can't get staff' on Wednesday October 31, 2018 @02:02PM (#18347923)
In my experience the drinks tend to be quite a bit more expensive.
Re:Cardiff tech firm: 'We'll pay £100k, but can't get staff' on Wednesday October 31, 2018 @12:34PM (#18347143)
> However, I'd still argue that their offer is clearly not competitive by matching London salaries since they are not getting applicants.

That's a big inference. Is there not a talent deficit in London too?

It's hard hiring people anywhere right now.

Re:Cardiff tech firm: 'We'll pay £100k, but can't get staff' on Wednesday October 31, 2018 @11:50AM (#18346734)
You're projecting your own perception onto others.

Let me raise a counterpoint, the cost of living in Cardiff is vastly less than the, frankly, over inflated prices in London.

I'm going to reuse your tone here - who would give up Cardiff to go to London to get the same Salary but pay twice as much for rent?

I'd raise another point as well - you're assuming people prefer the art and culture scene in London in comparison to a more local scene in a smaller city where gentrification isn't as ubiquitious. I'd rather live in Glasgow, where anyone can afford to go to a club or gig than London, where such activities are generally reserved for rich kids.

Re:Do You Really Know CORS? on Thursday October 04, 2018 @05:51AM (#18138454)
How do you prevent people proxying your API via a node service?

This is something I could never get my head around with CORS - what's the point of whitelisting origins if getting around the whitelist is nothing more than an inconvenience?

Re:A Fighter Pilot’s Guide to Surviving on the Roads on Tuesday September 04, 2018 @09:28AM (#17908856)
We blame the drivers of cars without headlights on for night time collisions, why would cyclists be any different?
Re:Why punk keeps connecting people across space and time on Thursday July 19, 2018 @07:16AM (#17565293)
Bleach wasn't a very strong album, imo.
With experience you realise you're looking for an answer that matches your question, as opposed to a question that matches your question.
One involves allowing the personal freedom to kill yourself. The other makes the decision for you.
> ultimately putting an autocrat in the white house is a non story?

Democrats are free to pay google to signal boost their own content, and almost certainly will have.

This is only a story if Google denied the same services to Democrats. We would have already heard if this was the case.

Bit of a non story - they offer the same services to any well funded ad agency regardless of political leaning. What would have been more concerning is if they rejected the agency - as this would show that google exercise political bias in who it chooses to collaborate with and target ads for.
The press haven't been completely honest in their description of his bike. He had a fixie. Which is illegal, and is dangerous, but you can slow / stop the bike by simply not pedaling. People are acting as if he was cycling a runaway train.

They're quite common in the US and not illegal there.

This year there has been a lot of bad press for cyclists in the UK as one 20 year old biker hit and killed a lady.

Lots of negative emotions and bad blood exposed, the court case got nationwide attention for weeks.

However nobody seemed to realise the dissonance that whilst 1 cyclist caused death is the ultimate heresy, drivers kill people daily without us batting an eye.

It's all a bit frustrating, I don't understand where this bias comes from - is it latent auto industry propaganda?

Because it's fun. Does there need to be a more deep reason than that?
Re:Ask HN: Why blog as a developer? on Friday May 26, 2017 @08:38AM (#14423595)
Blogging, or writing in general, fortifies your knowledge. By having to actually write down what you think on a topic, you first have to actualise what it is you think. Your gaps in knowledge become really apparent when you try to write with authority on some topic.
Re:The largest Git repo on Wednesday May 24, 2017 @02:58PM (#14412520)
What's dramatic about copy and pasting a clone uri into a command?

Older »