HNHacker News
TopNewBestAskShowJobs

halifaxbeard

242 karma · joined August 25, 2016

[ my public key: https://keybase.io/lattwood; my proof: https://keybase.io/lattwood/sigs/hYhjZ1j1Gynwc-DB-wujRRNiLDrqbTIsGrdqqLM8w1U ]
submissionscomments
halifaxbeard··on Vim Boss
“The Doctor and Amy take Vincent Van Gogh - who struggled to sell a single painting in his own lifetime - to a Paris art Gallery in the year 2010”

https://youtu.be/ubTJI_UphPk

halifaxbeard··on A list of recent hostile moves by Google's Chrome team
Safari has translate webpage for me
halifaxbeard··on Ottawa pulls advertising, escalating showdown with Facebook and Instagram
Close. Sharing it on Facebook means you’ll comment on the story on Facebook and not on the linked website hosting the comment. Facebook gets the linger time to show you more ads but the organization doing the actual reporting misses out.
halifaxbeard··on Ottawa pulls advertising, escalating showdown with Facebook and Instagram
My understanding of the core issue is people aren’t clicking through to read the article, but they’re commenting on Facebook based on the headline. Facebook gets ad views and user-generated content/comments, and the organization doing the reporting sees nothing of the economic value generated in this scenario. (Hacker News is specialized in audience and news orgs generally aren’t posting all their stories here)

CBC tried to head this problem off by disabling comments on all their Facebook posts so people would comment on CBC.ca.

halifaxbeard··on Facebook to block news for some users in Canada
Canadian here.

You know how “nobody reads the article” before commenting? That phenomenon is massive on Facebook. News organizations are tired of providing fodder for Facebook comment sections and not getting eyeballs on their own websites. CBC News turned off comments on their Facebook articles to drive more people to their website.

halifaxbeard··on What not to write on your security clearance form (1988)
On the declaration when entering Canada there’s the same question, along with this similar one: “ Meat, fish, seafood, eggs, dairy products, fruits, vegetables, seeds, nuts, plants, flowers, wood, animals, birds, insects, and any parts, products or by-products of any of the foregoing.”

I check yes because I have a half eaten chocolate bar in my backpack.

They ask what I have and I tell them, and immediately send me on my way, it’s great.

halifaxbeard··on Ask HN: Someone is proxy-mirroring my website, can I do anything?
Setup Cloudflare on the domain and turn on “bot fight mode”.

If the TLS ciphers the client proposes for negotiation doesn’t align with the client’s User-Agent they get a CAPTCHA.

I would suspect that whoever is doing this proxy-mirroring isn’t smart enough to ensure the TLS ciphers align with the User-Agent they’re passing through.

halifaxbeard··on The persistent and pervasive impact of bullying in childhood and adolescence
The best advice I would have for my childhood self is along those lines.

Get angry, and hurt them.

halifaxbeard··on Ask HN: What is the most impactful thing you've built?
The UX for the COVID vaccination bookings webpage in Nova Scotia was, um, not great, and contributed to the problem.

We did rollouts by age groups, and generally the appointments in urban areas would be two weeks out, but once you had a vaccination booking you could reschedule it. So everyone would book the first thing they found on the site, then could start looking for appointments made available due to other people rescheduling.

I wrote a scraper for vaccine appointment availability and shared it

halifaxbeard··on Ask HN: What is the most impactful thing you've built?
I wrote a vaccine booking availability scraper that helped double digits of people get a COVID vaccine a few weeks sooner otherwise.
halifaxbeard··on BMW F Series Gear Selector, Part One: Failures
Yes.

The depth of BMW diagnosis tools is impressive.

Even more impressive has been the work of scapy around the debug and diagnosis protocols BMW uses.

Check it out: https://github.com/secdev/scapy/blob/master/scapy/contrib/au...

halifaxbeard··on The Worst Perk at Google
It would certainly help cushion the blow of the death of a team member.
halifaxbeard··on Running Intel Binaries in Linux VMs with Rosetta
Didn’t Apple also implement togglable memory models for m1 (and I’m assuming m2)?
halifaxbeard··on Canadian military saw pandemic as opportunity to test propaganda techniques
Yes.
halifaxbeard··on Can Redis be used as a primary database? [video]
Yes. Should you?

It depends, like everything.

halifaxbeard··on I've got a broken combine harvester – manufacturer won't give me software key
There’s no aftermarket/non-OE brake options for the Passat? I find that hard to believe, I thought VW raided Audi for chassis bits for the Passat.
halifaxbeard··on Datalore enterprise – Jupyter environment for data science teams
I’ve brought my jetbrains license with me to three jobs. I see an IDE as no different than a mechanic’s tools, and relatively speaking a personal JB license is less money than a mechanic spends on tools in a year.
halifaxbeard··on Do you really need Redis? How to get away with just PostgreSQL
Postgres’s transactional semantics are really useful when building a queue, because of how it interacts with the various pieces.

Connection 1

  LISTEN 'job-updates';
Connection 2

  BEGIN;
  INSERT INTO jobs ('a-uuid', …);
  SELECT PG_NOTIFY('job-update', 'json blob containing uuid and state change info');
  COMMIT;
Connection 3 (used when Connection 1 is notified)

  BEGIN;
  SELECT id, … FROM jobs WHERE id = 'a-uuid' FOR UPDATE SKIP LOCKED;
  UPDATE 'jobs' SET state = 'step1_completed' WHERE is = 'a-uuid';
  SELECT PG_NOTIFY('job-update', 'json blob containing uuid and state change info');
  -- do the thing here: computation, calling external API, etc. If it fails then rollback.
  COMMIT;
Because notify has transactional semantics, the notify only goes out at transaction commit time. You want to use a dedicated connection for the notify.

The only downsides I immediately think of are you will have every worker contending to lock that row, and you’ll need to write periodic jobs to cleanup/retry failures.

halifaxbeard··on The GitHub Load Balancer
I'm currently working with GitHub Support on dealing with zip downloads of a 5GB repo failing after 2-3 minutes, with curl error "transfer closed with outstanding read data remaining".

Sure about the long running connection issue being solved? :-)

halifaxbeard··on How Startup Options and Ownership Work
I remember asking for a cap table at a startup and in not so few words, was told to fuck off.

At that point I realized it didn't matter how many options I had, I was going to get screwed should there be an exit, and made my own.

← PreviousPage 2 of 2