HNHacker News
TopNewBestAskShowJobs

willhoyle

28 karma · joined January 23, 2016

williamhoyle.ca - will.hoyle at gmail
submissionscomments
willhoyle··on The Singularity will occur on a Tuesday
Same. Sentences structured like these tip me off:

- Here's the thing nobody tells you about fitting singularities

- But here's the part that should unsettle you

- And the uncomfortable answer is: it's already happening.

- The labor market isn't adjusting. It's snapping.

willhoyle··on Ask HN: Gitlab or Gitea for self-hosting Git?
There’s also https://onedev.io/ which deserves a mention. I’ve never personally used it but it looks promising.
willhoyle··on FastAPI 0.100.0 release notes
This looks like exactly what I've been looking for. I just want strong typing, json <-> struct and validation. Seems like it ticks all the boxes + speed benefits which is always nice. I especially find it useful that I can use messagepack for internal service chatter but still support json for external stuff and dump astuple to sqlite.
willhoyle··on FastAPI 0.100.0 release notes
I too have made similar observations regarding pydantic and FastAPI.

I was evaluating various Python async http frameworks and landed on a similar stack:

- attrs/cattrs for models - starlette+uvicorn for HTTP/websocket - validation I’m still on the fence about. I’ll see how far I get with the built in validators offered by attrs. I use voluptuous at work and generally like the DX but it’s in maintenance mode.

This is purely personally preference, I’m sure devs using fastapi+pydantic are more productive in the long run. It almost feels like I’m hand rolling my own fastapi implementation but at the same time I don’t want to be too locked in to frameworks like that.

Ive been burnt by magic frameworks that do too much behind the scenes and there’s something nice about fully understanding what’s going on when you hand stitch libraries yourself.

willhoyle··on RIF developer counters Reddit CEO’s claims
I’ve seen this suggested elsewhere but without content I don’t see this working out.
willhoyle··on Getting Started with Tmux
That looks interesting, I’ll have to give that a try thanks!
willhoyle··on Getting Started with Tmux
I’ve had to stop using tmux on macOS (MacBook Pro 2018).

For some reason I kept getting extreme slowdowns/laggy behaviour when using neovim.

I’ve seen this thread: https://github.com/tmux/tmux/issues/353

I tried everything in the thread and still end up with a laggy terminal. For now I just use iterm2 with tabs but I miss my tmux.

On my personal Linux laptop, I never encounter the same lag with the same setup.

willhoyle··on Show HN: Famnom – Nutrition tracker and meal planner for families
I also have a similar project partially done but lost steam (eatplants.app). I always think I should just finish it to make it functional.

My thinking is that logging food is annoying (weighing and tracking food you ate). I want to make a more fluid way of just selecting recipes or food and encourage a more scalable/intuitive way of eating.

Looks like a cool project you’ve built there.

willhoyle··on Show HN: Arctype, a cross-platform database GUI for developers and teams
I found this app a few months ago from another HN comment. Unfortunately it was slow and unresponsive. I started looking for other options and found TablePlus which I’m loving so far.

Hope they can improve, might give it another go once I have time.

willhoyle··on Microservices: Why Are We Doing This?
This is blowing my mind. I felt like you were specifically talking about my place of work. Turns out (based on your github link in your profile), you did work there haha!

The 7 repos are gone now and a k8s cluster has replaced the swarm service. Deployments are a bit easier to manage now. It's still such slow development process to add a simple API endpoint, especially if that API has to call other DAOs. It's crazy because I feel like it's completely normalized here that dev work takes 300% longer than it should for simple features.

willhoyle··on Modern Javascript: Everything you missed over the last 10 years (2020)
https://github.com/marcj/css-element-queries

I’ve had pretty decent success using this library.

willhoyle··on Why we switched from Webpack to Vite
> my former company's webpack builds were 30+ minutes for a relatively simple site

I’m genuinely curious what simple site would cause a 30+ minute build? Is it just one of those things that grow over time?

willhoyle··on Public-ownership rental as a third option to renting or owning a house
I’ve always been curious - what if we imposed a law disallowing owning more than 1 home. Wouldn’t this reduce demand and, in doing so, lower prices from less competition?

I’m sure there’s other aspects I’m missing which make this a bad idea but there’s something that doesn’t feel right about people owning 2-3 homes while others can’t get on the property ladder.

willhoyle··on QUIC and HTTP/3 Support Now in Firefox Nightly and Beta
That’s great news! I figured it’d come back at some point.
willhoyle··on QUIC and HTTP/3 Support Now in Firefox Nightly and Beta
I spent the good part of last night compiling a previous version of nodejs to try out quic. I wanted to see if it could replace webrtc for a multiplayer game.

You have to compile a previous commit from the repo because the experimental implementation of quic was removed according to this issue: https://github.com/nodejs/node/pull/37067

Not sure when we can expect it to come back. You can just feel the pain in those comments. All that hard work.

willhoyle··on Show HN: The game where you test your offside decision-making skills against VAR
I think it's valid to question whether VAR is broken or not, however I think in the end it's a net benefit to football. Some will say it wasn't ready for production, but we all know real world usage is the real test that surfaces issues. And I say this as a Spurs supporter who's been burnt by VAR far too many times to count.

Also, thanks for not calling the website offsideSornot.com ;)

willhoyle··on Building React and Vue Support for Tailwind UI
Thanks for bringing this up. I didn't know about open-ui. I think something like this is becoming more and more necessary.
willhoyle··on Building React and Vue Support for Tailwind UI
I guess what I'm arguing is that we already have so many Headless UIs out there. Another comment pointed out PrimeVue, which does exactly what Headless UI does. This feels like another library reinventing the wheel.

I'm always reminded of https://xkcd.com/927/ when another UI framework pops up. Do all libraries do things just differently enough to warrant a completely new library or can the implementation details be abstracted to some core lib (maybe even a web spec).

On the other hand, maybe I'm wrong and HeadlessUI ends up being that GenericUI lib.

willhoyle··on Building React and Vue Support for Tailwind UI
This is great work, congrats on shipping a great product. I use TailwindCSS on my personal website.

I often wonder whether we need yet another UI framework implementation? I touched on this in my post a couple days ago: https://williamhoyle.ca/blog/2021/vue-has-too-many-ui-framew...

To summarize:

We have 20+ UI frameworks written in Vue. Surely there's enough common ground/code to combine the implementation details for all these common components. For example, OP mentioned the complexities of implementing a modal with some corner cases for 'ESC' behaviour. This is a universal concept whether you're using WidgetUI or TailwindUI. How many times are we going to re-implement a modal/button/dialog/menu?

We have to learn another set of APIs, props, component names, etc... Of course, no one is forcing us to use this. But it seems like we're going in circles re-implementing the same UI patterns over and over again.

I wish we could standardize on a library. Imagine just pulling in GenericUI and sprinkling in your CSS of choice (e.g. tailwindCSS, Bulma, Material, etc...).

I'm a Vue guy, but I think my argument still stands for the React ecosystem.

willhoyle··on Vue Has Too Many UI Frameworks
Agree. I use Quasar at work for SPA and Buefy for personal projects which was one of the ideas for this post.

I thought SSR support was pretty good in Quasar? https://quasar.dev/quasar-cli/developing-ssr/ssr-frequently-...

willhoyle··on AirPods Max
I have a Logitech k380 which in my opinion does this in an intuitive way.

There’s 3 dedicated buttons for paired Bluetooth devices (fn + 1,2,3) and hitting them just pairs to the device. And you can reassign a button to another device by holding fn+1,2,3.

When you turn it on it pairs to the last device it was paired to.

willhoyle··on Reasons to prefer Linux over Windows (2014)
+1 for Nord. I used it everywhere - terminal, vs code, browser theme, gtk theme
willhoyle··on “Facebook has taken the name of my open source project ”
Is there a license that basically says: MIT License unless you’re FANG? Is that what people mean when they say a code base is dual-license?
willhoyle··on Ask HN: What scientific phenomenon do you wish someone would explain better?
Cells at work! https://en.m.wikipedia.org/wiki/Cells_at_Work!

It’s an animated series that takes place inside the human body. I’ve been meaning to watch it myself. It’s supposed to be pretty accurate.

willhoyle··on Ask HN: How do I find meaningful things to work on if programming is a hobby?
I've always wanted to do this but didn't know it could be so cheap! Where did you find that stuff? Is it pretty reliable/robust?