HNHacker News
TopNewBestAskShowJobs

gvjddbnvdrbv

541 karma · joined December 19, 2019

submissionscomments
gvjddbnvdrbv··on Is TDD Dead? (2014)
Then test the externalities. They probably have healthcheck endpoints....

Don't overthink everything. KISS

gvjddbnvdrbv··on Is TDD Dead? (2014)
The bug triggered the exception. The test case encapsulates reproducing the bug. The bug is fixed. The bug can no longer be reproduced. As long as the bug remains fixed the test passes..

Another way of thinking about it. Unless your exceptions are a documented part of your API no one cares about them - they only care about the outcome they actually expect. If you construct tests that pass for positive outcomes or fail for any other outcome then your exceptions remain implementation details.

gvjddbnvdrbv··on Africa declared free of wild polio
I'm confused I've never heard of it getting involved in anything else.

What do you mean?

gvjddbnvdrbv··on Kindle collects a surprisingly large amount of data
Does this work with Teslas?
gvjddbnvdrbv··on Kindle collects a surprisingly large amount of data
Only a matter of time before devices come with 5G data connections...
gvjddbnvdrbv··on Kindle collects a surprisingly large amount of data
There are some features in software I rarely use. But those times I do use them they are utterly essential. If I find such feature has been removed I am incensed.

Usefulness is NOT the same as usage.

gvjddbnvdrbv··on How to Write in Plain English
I've no idea of my precise age.
gvjddbnvdrbv··on A tale of webpage speed, or throwing away React
> The alternative of doing things old school with server side templates is ok, but it massively slows down your iteration speed through reliance on tight coupling between backend and frontend.

This depends on project size. If a single team is working fullstack then using server side templates gives seriously faster product development iteration. Once you get to more than 5-10 devs and you want separate frontend and backend teams then it slows down.

gvjddbnvdrbv··on Chrome, Firefox extension that blocks NSFW images using TensorFlow JS
Presumably that is against policy and would get you fired?
gvjddbnvdrbv··on Chrome, Firefox extension that blocks NSFW images using TensorFlow JS
I'm curious how workplaces do this. Does they have a root cert installed so they can MITM SSL traffic?
gvjddbnvdrbv··on Nasal vaccine against Covid-19 prevents infection in mice
The oral polio vaccine is a live vaccine. It is much more effective than the injected dead vaccine we now get in the west but it does occasionally cause polio outbreaks...
gvjddbnvdrbv··on An Update on MDN Web Docs
Mozilla has earned vast sums of Google Search money over the last decades. If that money had been invested into an endowment then Firefox and projects like MDN could have independent funding. Instead they used it on what? So now we have to donate money to an org who's executives make more each year than our home is worth? No thanks.
gvjddbnvdrbv··on An Update on MDN Web Docs
Why? In recent years w3schools has been a valuable resource...
gvjddbnvdrbv··on An Update on MDN Web Docs
There's a discussion up the page.
gvjddbnvdrbv··on Why Did Mozilla Remove XUL Add-Ons?
It crashes my whole linux system. Is about:memory preserved on restart? Is it safe to send my employer's data?

I've largely switched to just running FF inside a VM. It seems to use all the available memory in a given system so I just give it less memory and it performs about the same...

gvjddbnvdrbv··on Why Did Mozilla Remove XUL Add-Ons?
No one is truly a Scotsman...
gvjddbnvdrbv··on Lightroom app update wipes users' photos and presets, Adobe says not recoverable
If someone steals from you you don't have to produce exhaustive evidence of your ownership in order to file a police report or claim your insurance. This works because saying you owned something you didn't is fraud and filing a false report is an additional crime.

The same principle could maybe be applied here?

(Usual disclaimer I am not a lawyer etc)

gvjddbnvdrbv··on Lightroom app update wipes users' photos and presets, Adobe says not recoverable
Exactly. I tried to reverse some charges. The bank told me I had to file a police report. I did find that the company returned the money pretty promptly when I told them I was reporting them to the police...
gvjddbnvdrbv··on Why Did Mozilla Remove XUL Add-Ons?
And FF (as Chromium always has) now consumes RAM until my system crashes...
gvjddbnvdrbv··on Why Did Mozilla Remove XUL Add-Ons?
At least in your analogy no one comes to your garage and replaces your car with a bike....
gvjddbnvdrbv··on Why Did Mozilla Remove XUL Add-Ons?
How many non developers used vimperiator?

I am very familiar with software and in particular the tradeoffs between business pressure to ship something new and shiny vs keep maintaining something that works....

gvjddbnvdrbv··on Why Did Mozilla Remove XUL Add-Ons?
We know exactly what Mozilla said and yet my actual experience before the change Firefox was performant enough whilst having exactly the UI I wanted and never crashed whilst after the change Firefox uses all the memory on my system has crashed several times (also the memory hogging causes swap issues which are as bad as a system crash) AND the UI is worse.

I used to use FF because it was better than Chromium. Now I used it because Mozilla is not Google.

gvjddbnvdrbv··on Secret gyms and the economics of prohibition
Some of us think about other people than ourselves...
gvjddbnvdrbv··on Secret gyms and the economics of prohibition
They had 'spread the curve' type measures (stay home if sick and 'use common sense' etc) for 10 days. The infection rates carried on doubling during that time.

London is a perfect example of how quickly this thing can spread in a modern city and how many people get sick at once. The only reason the death rate wasn't way higher is that many many people self isolated for their own protection in early March.

I know less about New York but it sounds similar.

gvjddbnvdrbv··on Secret gyms and the economics of prohibition
It seemed that way (I'm not certain it wasn't just incompetence in realising how quickly it was spreading). Then they did strict lockdown and worked hard to shield the most vulnerable. The shielding was poorly executed - like everything the UK government do.
gvjddbnvdrbv··on Secret gyms and the economics of prohibition
Norway. I agree another strict lockdown will be difficult to enforce. We are looking at a second wave more like the US's ongoing first wave. BUT treatment is seriously improved since March. The IFR is now lower. So that lockdown will still have saved many lives even if the second wave saturates the population.
gvjddbnvdrbv··on Secret gyms and the economics of prohibition
The rate at which this thing grows took London from a fraction of a perentage to 5-10% infected at the same time in about 4 weeks. It could have easily hit 30-50% of people infected at the same time in another 2 weeks without the lockdown. Unless you literally shut in and careful wash and disinfect all your deliveries during the period when your delivery driver has a 1 in approx 5 chance of being an asymptomatic (but infectious carrier) you are nearly certain to catch it.
gvjddbnvdrbv··on Secret gyms and the economics of prohibition
To be fair if we don't control this thing you have a near 100% chance if catching covid at some point in the next few months. Assuming we have an effective vaccine in 6 months you would then have a near 0% chance of catching covid again. This works out to the lifetime chance of death being the IFR. So between 1/1000 to 1/100 (depending on which study for IFR you look at).

If we don't develop an effective vaccine then given immunity seems to be temporary (as with other coronaviruses) most of us will catch this every year so a really high proportion of us will die of covid eventually (where eventually is in many years).

gvjddbnvdrbv··on Secret gyms and the economics of prohibition
Most places in Europe locked down early and harder than the US. We got damn close to elimination in many areas. This meant that many countries have been able to broadly reopen their economies. Sadly not every country played ball and it is spreading again.
gvjddbnvdrbv··on Mailto: ?attach=~/ parameter allows including arbitrary files on disk
Saving grace here might be that most mailboxes will be bigger than what can be sent in an email...
← PreviousPage 2 of 10Next →