HNHacker News
TopNewBestAskShowJobs

qubyte

266 karma · joined December 26, 2013

Mainly serverside engineering with some frontend and a touch of devops. One time quantum information scientist.

https://qubyte.codes https://github.com/qubyte

[ my public key: https://keybase.io/qubyte; my proof: https://keybase.io/qubyte/sigs/5hKm04_8qQK3B1sEV90Y-_qQgx50PlZWjT1hXvMUol8 ]

submissionscomments
qubyte··on Ask HN: Any piece of hardware that was more of game changer than you expected?
There's life before one has experienced a kotatsu, and life after.
qubyte··on Career advice nobody gave me: Never ignore a recruiter
Up until I added that line it was "rust" which was doing it. Perhaps the line makes it worse, but at least I'm happy to ignore those requests now. :)
qubyte··on Career advice nobody gave me: Never ignore a recruiter
I think it happens to me because I mention that I'm dabbling in rust in my profile, and I guess that's a keyword they scrape for.
qubyte··on Career advice nobody gave me: Never ignore a recruiter
Most of the recruiter traffic comes from LinkedIn, which is not particularly surprising. The very first line of my profile there reads:

  Please do not contact me about cryptocurrency, blockchain, NFTs, or associated technologies.
Almost all recruiters who contact me on LinkedIn are talking about... cryptocurrency, blockchains, or NFTs etc. If a recruiter isn't prepared to read even the first line of my profile then I think I'm fine to ignore them. For all other recruiters I'll send a polite and friendly "thanks, but I'm not looking at this time".
qubyte··on Poll HN: What operating system do you primarily develop on?
All three at some point, but MacOS has been my dev environment of choice since 2004. I'd probably be happier in Linux or even a BSD except I can't help tinkering with them.
qubyte··on Never Use Black (2012)
I happen to have a pretty pronounced astigmatism. I still prefer light (note, not white in the case of my site) on black.
qubyte··on Never Use Black (2012)
This is why I use black for the background on my own site, and high-contrast dark themes where available.
qubyte··on Tell HN: GitHub is down again
Close that loop: Once the traffic goes above a threshold transition it to red!
qubyte··on Ask HN: What's the quickest way to get something online?
The simplest way I can think of is Netlify. You can drag and drop a folder to deploy it. You'll get a sort of random looking domain and HTTPS. From there you can configure your own domain and deploy from GitHub etc. if you choose, but it's not required.
qubyte··on Image file formats that didn’t make it
This article has some... interesting entries (as noted elsewhere in the comments here), but it came up at an interesting moment for me. I spent last weekend poring over the PNG spec because I wanted to make QR codes real small [1]. I'm completely obsessed now. I'm going to dig into some other formats...

[1]: https://github.com/qubyte/qrcode-png/blob/main/index.js#L6-L...

qubyte··on How to win at CORS
This is the resource I wish I'd had some years ago when I was starting out as a server dev. I remember the (lack of a) Vary header in particular causing me hours of frustration.
qubyte··on The Shocking Immaturity of JavaScript
Why should they not be?
qubyte··on Japan is holding back as the world rushes toward electric cars
This isn’t correct. My family live in the countryside and they’re more than an hour drive from the nearest rail station. There are buses but only a couple a day and they take a very long time. Their situation is pretty common.
qubyte··on The rise of never-ending job interviews
I should add, this was several years ago. I'd never put up with that sort of crap now.
qubyte··on The rise of never-ending job interviews
I once interviewed for a large game company. Their main office in Europe is in Dublin, but at the time they were opening an outpost in Brighton, UK (where I am) and were hiring a server engineer for their e-sports division.

There were a lot of interviews. For the fourth or fifth they flew me out for a whole day of interviews in Dublin. These included at least three different departments that I remember with separate coding interviews, and I had to give an hour long presentation.

I didn't get the role, and shortly after the Brighton outpost was axed. In hindsight I'm pretty sure that I didn't get the role because someone high up didn't want the outpost office to exist (it was only there because someone important they wanted was determined to live here).

I'm not sore though. Not long after the company hit the news for having a toxic culture (amongst other issues), particularly toward women.

qubyte··on Give me /events, not webhooks
One pattern I like to use is to have a regular /events endpoint, which works for polling. The endpoint also checks the accept header though, and if it sees `text/event-stream` it'll act as an EventSource endpoint.

EventSource is also nice because you can add cursors, so if the connection drops the source naturally catches up when the connection is re-established. While the interface is browser oriented, there's no reason not to use it in other contexts.

qubyte··on Problems with math rendering on the web (2020)
I use server rendered SVG with mathjax as part of my static site generator. To try to make it as accessible as possible I add a title element with an ID to each SVG and use an aria-labelledby attribute to connect the two [1] (a sample for the interested, scroll about half way down [2]). The title content is the unrendered LaTeX source.

I'm very interested in the notion of using HTML and CSS rendering though! Many thanks to the author for pointing out this functionality.

[1]: https://github.com/qubyte/qubyte-codes/blob/main/lib/render.... [2]: https://qubyte.codes/blog/advent-of-code-2017-day-20-task-2

qubyte··on Ask HN: Who wants to be hired? (February 2021)

  Location: Brighton, UK
  Remote: Preferred (working remote since 2016)
  Willing to relocate: No
  Technologies: Node.js (since 2012), docker/k8s/ECS, postgres, redis, RabbitMQ, etc.
  Résumé/CV: https://qubyte.codes/papers/mark-s-everitt-cv.pdf
  Email: hello@qubyte.codes
--

Senior/staff backend developer with 9 years of fulltime Node.js experience. Most of my work over has been on APIs and in service oriented architectures deployed with docker. Recently I've been playing with Rust.

qubyte··on Hyper-regional chippy traditions of Britain and Ireland
Bankers usually, but occasionally Bardsley's if I'm around there.
qubyte··on Hyper-regional chippy traditions of Britain and Ireland
The tradition down here in Brighton is for a herring gull to steal the fish before you’ve had a chance to taste it.
qubyte··on Automatically sending Webmentions from a static website
I also use Remy Sharp’s code, but as a library. I have netlify call this glitch [1] I wrote on successful deploy. It compares the new sitemap.txt with one it has cached and scans new URLs which match a pattern for mentions to dispatch.

1: https://glitch.com/edit/#!/lean-send-webmentions

qubyte··on MathJax
I found the documentation hard to follow to get server rendering to work, so here’s an example of MathJax integrated with marked [1], and an example of it in action [2] (scroll down).

1: https://github.com/qubyte/qubyte-codes/blob/main/lib/render....

2: https://qubyte.codes/blog/advent-of-code-2017-day-20-task-2

qubyte··on Inline CSS works better in a component world
Attack is stretching the term sightly, I admit. It’s possible for a malicious style to reorganise things on a page in a misleading way, or place a lewd image in a background for example.

Edit: As for scripts adding things, the CSP prevents the style attribute being applied iirc.

qubyte··on Inline CSS works better in a component world
I'm mostly a server dev, and I'm keen on a nice strict Content-Security-Policy (CSP) header which rules out inline CSS. The benefits (preventing extensions etc. from injecting style in a way which may constitute an attack) outweigh the convenience of inlined CSS for components in my opinion.

https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP

qubyte··on A little bit of plain JavaScript can do a lot
I enjoyed this. It conveyed a little of the sense of wonder that can come with just a touch of JS without bashing the frameworks. I also liked the emphasis on making HTML and CSS do the heavy lifting by adding and removing CSS classes as triggers.
qubyte··on Quarantine Bread
It seems like everyone in this town (Brighton, UK) realised that they were about to run out of dried yeast yesterday, and there's none to buy. This morning I took to twitter with photos of the beginnings of a sourdough starter and there are a lot of photos of folk doing the same.

Mine won't work though. It's Half and half strong white flour and whole buckwheat flour. The idea is that the latter will donate yeast. Or maybe it will...

qubyte··on MathJax Turns 3.0
I commented elsewhere, but yes it can! It took a bit of head scratching but I got there in the end with my own Node.js based static site generator. This code integrates version 3 of MathJax, which was considerably different to version 2.

https://github.com/qubyte/qubyte-codes/blob/master/lib/rende...

See in particular the top of that file, and the renderMaths function. I'm not sure how you'll integrate MathJax into Pelican given the language gap, but in principle it's possible.

qubyte··on MathJax Turns 3.0
I integrated MathJax 2 into my static site generator, and just recently bumped it to version 3 (which is quite different). You can see the result here:

https://qubyte.codes/blog/the-maths-of-domains-of-points-wit...

And you can see the code which integrates version 3 (in this case by hacking marked to render it in fenced markdown blocks labelled as mathematics) here:

https://github.com/qubyte/qubyte-codes/blob/master/lib/rende...

qubyte··on John Titor
If you count Steins;Gate (anime available on Netflix in the UK, in which Titor is important), there already is one.
qubyte··on Into the Personal-Website-Verse (2019)
https://qubyte.codes
← PreviousPage 2 of 5Next →