Better HN
topnewbestaskshowjobs
Log inSign up

willhoyle

28 karma · joined Jan 23, 2016 (10y ago) · 26 submissions

williamhoyle.ca - will.hoyle at gmail
Submissions

comment 9mo ago · link · parent

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.

comment 3y ago · link · parent

There’s also https://onedev.io/ which deserves a mention. I’ve never personally used it but it looks promising.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

I’ve seen this suggested elsewhere but without content I don’t see this working out.

comment 3y ago · link · parent

That looks interesting, I’ll have to give that a try thanks!

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

https://github.com/marcj/css-element-queries

I’ve had pretty decent success using this library.

comment 5y ago · link · parent

> 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?

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

That’s great news! I figured it’d come back at some point.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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 ;)

comment 5y ago · link · parent

Thanks for bringing this up. I didn't know about open-ui. I think something like this is becoming more and more necessary.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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-...

21.

Vue Has Too Many UI Frameworks(williamhoyle.ca ↗)

2 points · by willhoyle · 5y ago · 4 comments

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

+1 for Nord. I used it everywhere - terminal, vs code, browser theme, gtk theme

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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.

comment 8y ago · link · parent

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?