HNHacker News
TopNewBestAskShowJobs

dvdcxn

355 karma · joined April 17, 2015

submissionscomments
dvdcxn··on Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
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.

dvdcxn··on Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
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.
dvdcxn··on Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
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.
dvdcxn··on The Handwavy Technobabble Nothingburger of Crypto
What use is that if the servers running the rest of the game are turned off?
dvdcxn··on Virtual DOM is pure overhead (2018)
I think this 3 year old topic needs to be revisted considering the improvements that Concurrent mode will provide.
dvdcxn··on “I'm not sure there is an acceptable solution to the problem we are facing”
Yes this is my predection too. We are enforcing evolutionary pressure that favours a less dangerous strain of the virus.
dvdcxn··on The ‘consciousness causes quantum collapse’ hypothesis (2017)
Arguably you are consciously observing by viewing the output of the RNG
dvdcxn··on Apple Sues Nuvia’s CEO, a Former Employee
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

dvdcxn··on Dependency injection is dynamic scoping in disguise
Imo, dependency injection frameworks are distinct to the concept of DI. They do not represent DI itself, which is just a design pattern.
dvdcxn··on Dependency injection is dynamic scoping in disguise
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.

dvdcxn··on Why Don’t People Talk About Breaking Up Microsoft?
It's less of a walled garden than OSX, which isn't even virtualisable.
dvdcxn··on The IRS Tried to Take on the Ultrawealthy – It Didn’t Go Well
A theoretical solution to that would be an inflation scaling bursary given to low income workers.
dvdcxn··on London pushes to take Saudis off EU dirty money blacklist
> 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.

dvdcxn··on London pushes to take Saudis off EU dirty money blacklist
If we're pretending the EU doesn't exist (which seems to be what's happening here), then it's clearly Russia.
dvdcxn··on London pushes to take Saudis off EU dirty money blacklist
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.
dvdcxn··on Cardiff tech firm: 'We'll pay £100k, but can't get staff'
In my experience the drinks tend to be quite a bit more expensive.
dvdcxn··on Cardiff tech firm: 'We'll pay £100k, but can't get staff'
> 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.

dvdcxn··on Cardiff tech firm: 'We'll pay £100k, but can't get staff'
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.

dvdcxn··on Do You Really Know CORS?
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?

dvdcxn··on A Fighter Pilot’s Guide to Surviving on the Roads
We blame the drivers of cars without headlights on for night time collisions, why would cyclists be any different?
dvdcxn··on Why punk keeps connecting people across space and time
Bleach wasn't a very strong album, imo.
dvdcxn··on Ask HN: Anyone else not read the questions on SO, only the answers when stuck?
With experience you realise you're looking for an answer that matches your question, as opposed to a question that matches your question.
dvdcxn··on Portugal’s radical drug policy is working. Why hasn’t the world copied it?
One involves allowing the personal freedom to kill yourself. The other makes the decision for you.
dvdcxn··on Facebook and Google Helped Anti-Refugee Campaign in Swing States
> 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.

dvdcxn··on Facebook and Google Helped Anti-Refugee Campaign in Swing States
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.
dvdcxn··on Interview with GoCardless CEO Hiroki Takeuchi after paralyzing accident
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.

dvdcxn··on Interview with GoCardless CEO Hiroki Takeuchi after paralyzing accident
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?

dvdcxn··on Opioid Use Could Explain 20% of the Drop in American Men from Labor Force
Because it's fun. Does there need to be a more deep reason than that?
dvdcxn··on Ask HN: Why blog as a developer?
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.
dvdcxn··on The largest Git repo
What's dramatic about copy and pasting a clone uri into a command?
Page 1 of 4Next →