Better HN
topnewbestaskshowjobs
Log inSign up

drcharris

29 karma · joined Dec 6, 2016 (9y ago) · 35 submissions

Submissions

comment 8mo ago · link · parent

The gift card is a scratch off and has a number that is used to fund your Mullvad balance. So Amazon doesn't know which instance of the gift card you ordered, meaning there's no link to your specific Mullvad account payment.

The authorities might know you ordered a gift card, but not which Mullvad account you funded it with.

comment 5y ago · link · parent

A while ago I did this when on Mac - keeps it compact on a single line.

https://gist.github.com/drcharris/0830ff4da063c68b0ceed415d8...

comment 6y ago · link · parent

The epub link on that page sends me to an online reader, from which the 'Download' button does precisely nothing. This might be due to all the browser-armour I'm wearing, might be a Firefox thing, don't know. The PDF link works fine.

Anyway, if this is happening to anyone else, just copy the link for the epub button on the main page, and add "?download=true" to the URL (mirroring the pdf link). You will then get an epub file downloaded directly by your browser.

comment 6y ago · link · parent

I learnt Miranda in my first year of CS at University College London...in 1991. So I think you might be right!

comment 6y ago · link · parent

For those interested, Starbucks publishes caffeine content of all their drinks, which makes a nice baseline for comparison.

A 'tall' filter coffee, which IIRC is 16oz in the US, is 229mg, about equivalent to 3 single espresso shots (page 4 of the link below).

https://globalassets.starbucks.com/assets/E3DA4F2E01A148DD88...

comment 7y ago · link · parent

Privacy from the vendor, for cloud backups, is barely addressed by most of the cloud storage providers. I find the best solution is to - like many comments here about photo and music storage - stick to older more stable standards that aren't about trying to sell you services.

In my case that means a chunk of SFTP-based storage, and rclone to make that storage encrypted at-rest.

comment 7y ago · link · parent

Then it's probably regarded as a 'constructive dividend' by the IRS and is liable to tax.

https://www.thetaxadviser.com/issues/2017/may/identifying-co...

comment 7y ago · link · parent

Credibility claimer: I built risk systems for 3 Tier-1 investment banks in a previous life.

I'm not a fixed-income (read: bonds and other interest-rate derived financial instruments) person, but I think the erosion of 'value' via inflation is missing the point.

Sovereign debt is the least risky form of debt there is, period. Everything else that's denominated in the same currency has more risk, not least due to the fact that the pricing of every financial instrument takes the risk of the sovereign debt into account aka the risk-free-rate.

Yes, the absolute amount of risk of a sovereign debt is different depending on who controls a particular fiat currency - but in relative terms, any financial model will start with that baseline. Obviously, cash in that same currency bears some risk due to inflation, which is why people talk about 'real interest rates' that take that into account.

If you lend someone money, you take risk, and you get interest as compensation. That risk includes your predictions of inflation, and the interest rate you are prepared to accept should include that too. If you don't like it, don't lend the money.

Arguing about a 'transfer of value' implies that you have another way of representing value that is better than the currency itself. I can't think of one, but I'm open to suggestions.

comment 7y ago · link · parent

The trust you have in an app store is because you believe in their processes for auditing apps. But the two do not need to be linked.

Google Play Protect, for instance, works just fine on sideloaded apps or apps downloaded from other stores.

The distribution and marketing channel don't need to be the same as the trust mechanism. There's a whole anti-malware industry out there that can do the latter, and could easily do as good a job as Google currently do.

comment 7y ago · link · parent

In the world of finance, "cash" is often shorthand for "cash or cash equivalents".

Instead of the usual layperson interpretation where cash is "a bunch of currency, either physically in my hand or in a bank account", the meaning here is "stuff with incredibly low risk" i.e. you can be very sure that you'll not lose money over time.

Sovereign debt, including bonds, is regarded as the safest type of debt and therefore falls into the 'risk-free' bucket in the finance world. Since cash is usually regarded as risk-free, the word "cash" has come to be a short-hand for "(almost entirely) risk-free assets".

comment 7y ago · link · parent

Vivaldi is based on Chromium and allows tabs to be positioned on the side - not Tree Style in terms of hierarchy, but you get the screen-space and usability benefits.

https://vivaldi.com/features/

comment 7y ago · link · parent

Use this CSS

  #nav-bar-customization-target {
     padding-left: 65px;
  }

comment 7y ago · link · parent

Full details of caffeine amounts are here for those who are interested.

https://globalassets.starbucks.com/assets/94fbcc2ab1e2435985...

Recommended daily caffeine limit is usually quoted at around 400mg for an adult, although there's not a lot to back that number up.

comment 7y ago · link · parent

Link is https://www.dailymail.co.uk/video/news/video-1828378/Video-D...

comment 8y ago · link · parent

Again, it's not about the topic. It's not about who else supports it. It's not about the benefits of a product. It's not about Iceland's policy on palm oil, or the virtues thereof.

The problem is taking, wholesale, content from a political organisation and using it in a realm that has laws about political content.

Removing the logo is, if anything, worse - it hides the origin of the video and ads dishonesty to the mix.

If Iceland made their own video about the consequences of the palm oil industry and advertised it, I'd be interested to see if ClearCast approved it.

comment 8y ago · link · parent

From the article: "“The creative submitted to us is linked to another organisation who have not yet been able to demonstrate compliance in this area.”

It's a Greenpeace video with the logo taken off. So it's political.

It's not about the topic of palm oil - it's about how much an advert can take content directly from an organisation that is a political organisation. Without this, you open a massive backdoor into all TV advertising in the UK.

comment 8y ago · link · parent

See today's Android Police artice on the Moshi adapter that just got re-released today.

https://www.androidpolice.com/2018/10/09/moshi-type-c-audio-...

Comments on that page point to this one on Amazon, looking very similar but a lot cheaper, with positive reviews: https://www.amazon.com/dp/B07FCZY1ZB/ref=cm_sw_r_cp_apa_T2qV....

comment 8y ago · link · parent

See the Oppo Find X, or the Vivo Nex, for phones with pop-up cameras that avoid the need for a notch.

[1] https://arstechnica.com/gadgets/2018/06/the-oppo-find-x-kill...

[2] https://www.engadget.com/2018/06/12/vivo-nex-all-screen-phon...

comment 8y ago · link · parent

Nice little summary here https://www.youtube.com/watch?v=V2349cn0-T0

comment 8y ago · link · parent

Here's some criticism.

https://reason.com/blog/2018/07/12/starbucks-straw-ban-will-...

I hope there's more to Starbucks' plan than this, and that they've got a better lid in the works.

comment 8y ago · link · parent

I think a very effective way is to get much better control over your cookies, when you allow them to be set, under which conditions, on which sites.

I use a combination of CookieBro and Umatrix on Firefox for this. Cookies are only allowed for sites I actively want to log into. For sites that require cookies to function, periodic auto-deletion via CookieBro handles those.

comment 8y ago · link · parent

The 80 char limit was, IIRC, based around the capabilities of fixed-width terminals and dot-matrix printers. It's not magical.

I have the luxury of writing code only for myself, so I can maximise devotion to my 'personal style' and not worry about other people's opinions.

I'm all about information density, and since on 99.9% of monitors the vertical axis is the short one, and the horizontal axis is the long one, I want to save as much vertical space as possible. This is also why I can't stand horizontal tabs (thank you, Tree Style Tab).

On a 27" 4K monitor I get two side-by-side files open in my IDE, with a 10-point font, at 160 char wrap, with vertical tabs. This fits my style because I favour inline comments which maximises my use of the vertical space by not needing another line.

Luckily my eyes are still good enough to read this!

comment 8y ago · link · parent

The obvious solution is to add a notch!

comment 8y ago · link · parent

On a number of occasions, as a (software) program manager at several very large firms, I was tasked with taking every single piece of work that happened in the previous calendar year and seeing whether we could classify it as 'R&D' in order to qualify for one of the many tax breaks on offer in the various places that we did business.

The criteria for qualification usually boiled down to 'was there an element of unknown quantity in the project?' - which left enormous room for interpretation, as basically anything that wasn't maintenance (RTB) could be justified.

We would regularly, across the firm, get $50m tax benefits a year out of this effort.

I'm not an accountant, but I'd be interested in just how rigorous the notion of 'R&D' is in a company's annual returns. It smells of PR to me.

comment 8y ago · link · parent

Try http://hckrnews.com/, infinite scroll works nicely.

comment 8y ago · link · parent

I used NewPipe for a while and then switched to SkyTube - anecdotally I found it had fewer issues with higher-res formats and audio than NewPipe did. It uses the Youtube APIs though, so isn't as Google-free as NewPipe.

Anyway, worth a look if you just want to ditch the Youtube app.

https://f-droid.org/en/packages/free.rm.skytube.oss/

comment 8y ago · link · parent

On this specific point, he refused to answer two questions from (Wall St) analysts, and instead got questions from a (retail) shareholder. That would seem to be the right priority, even though his attitude was wrong.

comment 9y ago · link · parent

I use these https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3... to alleviate the 'sticking out' problem.
12