Better HN
topnewbestaskshowjobs
Log inSign up

qubyte

266 karma · joined Dec 26, 2013 (12y ago) · 144 submissions

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 ]

Submissions

comment 2y ago · link · parent

This is really interesting to me. It could imply that an ugly theorem is less valuable. What if a theorem is ugly but useful vs a beautiful but esoteric one?

comment 2y ago · link · parent

Yup, I can reach all three keys in each thumb cluster without a stretch. It's actually only a slight movement because my digits are quite long. My middle and ring fingers rest on the columns which are shifted up.

comment 2y ago · link · parent

I designed my own for similar reasons, and it's interesting to see a somewhat similar position for the thumb keys. I optimised for hand/wrist position with minimal movement. However, I messed up the column stagger (off by one). Here's the writeup:

https://qubyte.codes/blog/why-did-i-create-a-keyboard

comment 2y ago · link · parent

I stopped by the Mokuhankan shop when I was in the area last year. David Bull was carving a block on the left as I came in, so I didn't see him at first (my eyes were drawn to the prints, which are arranged into bins like records on the right).

I was wearing an old trade shirt which had a Kurzgesagt sort of look to it. When I bought a print to the till it was in his eyeshot and caught his interest, so he came over for a chat! He's such a nice guy. He asked me what I do, and the next thing I know we're talking about tech stuff, and how he builds his site and shop. A true renaissance man.

comment 2y ago · link · parent

Yeah, I get that too. Fortunately the floaters are per eye, so I can eliminate them as a migraine thing using a sequence of winks. This looks in no way peculiar to people around me.

comment 2y ago · link · parent

The general shape is the same as in these pictures for me, and it expands in the typical way and direction, but for me it's like shards of broken glass strobing various colours. When I first got migraines I didn't even realise I was seeing them. The first sign something was wrong was when I was watch the TV and suddenly it was hard to understand what the actors were saying. When I focussed, I realised that it was because I couldn't see their mouths!

Unfortunately, nearly two decades on, smaller weird visual artefacts are now just daily life and I seem to be very sensitive to glare (and I break into a cold sweat pretty often because that's how an aura looks when it starts). I only get a few migraines a year, but they seem to have rearranged the furniture in my brain a bit.

comment 3y ago · link · parent

I used to be a regular in-person attendee here in Brighton pre-pandemic. My site is statically generated with some IndieWeb enhancements (webmentions in and out, micropub, posse, etc.) I mostly use it as a hidden log of my study sessions and for notes. A few times a year I'll write something longer form.

https://qubyte.codes/

comment 3y ago · link · parent

Yup, it’s definitely best when the rice has cooled and dried a bit, but take care to avoid food poisoning! You only make _that_ mistake once…

comment 3y ago · link · parent

Luckily we had an excellent fume hood. Kimchi was far from the smelliest thing cooked on those hobs!

comment 3y ago · link · parent

Do some rice in a rice cooker. When that’s done, slap a good helping of kimchi in a hot frying pan (no need for oil). Let it sizzle for about thirty seconds, then crack an egg in and muddle it up some. When it’s nearly done add the rice. Add a bit of sesame oil at the end if you feel fancy. Eat.

I got through a kilo of kimchi a week this way when I was a depressed 20-something living in a share-house abroad.

comment 3y ago · link · parent

https://qubyte.codes

Going since late 2015. I post long form (/blog) and short form (/notes), mostly on programming, maths, (bad) generative art experiments, notes as I learn Japanese, and of course about the blog itself since I spend more time on the custom static site generator than I do on writing actual posts.

comment 3y ago · link · parent

I think you’d struggle to convince an elephant to get into the trebuchet though.

comment 3y ago · link · parent

Someone already snapped up torment(dot)nexus.

comment 3y ago · link · parent

I did a write up of how I use import maps to avoid bundling JS on my static site and cache modules more effectively. I mostly use JS for little experiments and generative art and such, so I have a number of utility modules. These get hashed and the names of each resolved in the import map. Original modules are kept for browsers without import map support (without the immutable cache header).

There are a few gotchas. The browser won't use the import map to result an entry point in a script tag for example. Content security policy is a painful one too for static sites like mine (the import map counts as a script, so you have to hash the map and put that in the CSP header).

https://qubyte.codes/blog/progressively-enhanced-caching-of-...

comment 3y ago · link · parent

With all the shiny floors and glare, at least they’ve found a cure for migraine.

comment 3y ago · link · parent

I'm mostly angry at Netflix because most of the kids content on there is absolutely dire. A lot of it is low grade CG with no dialogue to make it cheap to produce and put out in any region. I find myself having to ban the worst of it.

comment 3y ago · link · parent

While Safari doesn’t support importmap, it’s possible (and not too hard) to use them as a progressive enhancement so that it’ll still work, and safari users will get the benefit with 16.4. I did a writeup: https://qubyte.codes/blog/progressively-enhanced-caching-of-...

comment 3y ago · link · parent

https://qubyte.codes/

It’s built with my own static site generator (my favourite thing to tinker with). I author posts in my own flavour of markdown. Page templates are good ol’ handlebars. It’s built with indieweb ideals in mind with micropub and webmentions implemented using netlify build plugins and functions.

comment 3y ago · link · parent

My personal static site has a custom implementation of dispatch and receipt of Webmentions using netlify functions. I’m sure there are many more folk quietly coming up with their own ways to do it as well.

comment 4y ago · link · parent

Same. Eon blew my mind when I first read it, coming from coffee-table sci-fi (which I still love too). Eon is my favourite of his books.

comment 4y ago · link · parent

A number of comments here are along the lines of "at least they're open about it!"

No.

The problem is that crunch culture selects for people in a position to put in that time. What of people with more complex home and personal lives (most people)? What about having a family? What if you're a carer? What if you have medical needs? What if your cultural or religious practices place limitations on when you can work?

You'll wind up with little diversity, which leads to terrible culture and poorly designed products.

comment 4y ago · link · parent

Probably the most common comment from me in code reviews is about code being prematurely DRY’d out. Fortunately, I’ve found that mentioning the Rule of Three is usually enough to correct it, and it tends to stick in the mind. Waiting that little bit longer, more often than not there’ll be no third instance of some pattern and no need to abstract it. When a pattern does emerge, it’s a clearer one. Either way it’s less work.

comment 4y ago · link · parent

I got $550 so I think it's split evenly (they state it's shared between 900 folk in the blog post, which I assume is rounded). It's a one off as you say. Even if they do this next year, this event will have prompted a lot of folk to set up sponsors, so we'd all get a smaller cut.

comment 4y ago · link · parent

Same here. I'd completely forgotten that I'd even set sponsors up. At the time I was just sort of hoping for coffee money now and then. That never happened of course. Most of the stuff I write is a bit too niche. I got the email about $550 on Friday after work and it was a nice way to wrap up the week!

comment 4y ago · link · parent

I also write mixed language notes in markdown and arrived at a different solution. It’s a little heavier (it uses curly braces as delimiters), but the payoff is that you can mix content. For example, a paragraph can have more than one language, which appears to not be possible with sigils.

https://qubyte.codes/blog/marqdown#languages

comment 4y ago · link · parent

Comparing with REST(ful/ish) APIs...

From the consumer side I really enjoy using it. Queries can avoid lots of network chatter and mutations embrace procedural thinking (REST has answers CRUD, but not everything a server needs to do is resource based).

However, as a server dev I really don't like it. It puts much more power into the consumer's hands without providing good visibility into the database queries it's making behind the scenes and how heavy those might be.

As I see it, it trades client side complexity for some loss of control over database queries. I often see it sold as the former without mentioning the latter.

comment 4y ago · link · parent

And I misread it as McBorker and now I can't stop chuckling.

comment 4y ago · link · parent

This is untrue. Symbols provide no privacy. They provide a mechanism to avoid collisions. You can even ask an object for its symbol properties: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

comment 4y ago · link · parent

https://qubyte.codes

I blog about things which interest me (mostly JS and creative code related), but also take Japanese language notes as I learn. Also part of the 250KB club!

It's built with my own hand-rolled static site generator, and I'm pretty proud of it's capabilities now. I've got a bunch of indieweb features integrated into it. I have no sense of style though!

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

comment 4y ago · link · parent

Always good to see a .codes blog! Mine is qubyte.codes.
12345