Readit News logoReadit News
domano commented on Some Go web dev notes   jvns.ca/blog/2024/09/27/s... · Posted by u/tosh
peterldowns · a year ago
I've been writing Golang for years now, and I heavily endorse everything written here.

Only exception is you should use my migration library [0] instead of tern — you don't need down migrations, and you can stop worrying about migration number conflicts.

One other suggestion I'll make is you probably at some point should write a translation layer between your API endpoints and the http.Handler interface, so that your endpoints return `(result *T, error)` and your tests can avoid worrying about serde/typeasserting the results.

[0] https://github.com/peterldowns/pgmigrate

domano · a year ago
Bold of you to flat out drop down migrations.

I guess having a new up migration to cover the case is better, but its nice to have a documented way of rolling back (which would be the down migration) - without applying it programmatically. But it helps if other team members can see how a change should be rolled back ideally.

domano commented on FOSDEM 2025   fosdem.org/2025/... · Posted by u/edward
domano · a year ago
I wish they would limit the number of attendees somehow or have some way to manage overcrowding. In 7 attendances i and most people in my group got a cold or the flu (this was before covid) - 7 years in a row.

Deleted Comment

domano commented on Krazam: High Agency Individual Contributor [video]   youtube.com/watch?v=dLTUq... · Posted by u/asimpletune
domano · a year ago
The slack notification noise triggered me to check Slack frantically in case i was mentioned, but there was nothing. Slack really has us conditioned well.
domano commented on No Salt   jakeseliger.com/2024/08/0... · Posted by u/jdkee
domano · a year ago
A bit over a year ago I lost a dear friend, while his girlfriend was pregnant.

The feeling of seeing something the person will never use again is soul wrenching. I wept when I read the line "No salt. No salt means that he’s not cooking. He’ll never cook again."

The child is a ray of light for me whenever I see it, I hope the family can find a little comfort in this piece of him that will be brought into the world.

I have followed this story for a while now and wish the family a brighter path in the future. Thank you for focussing my thoughts on what is important, instead of the daily tech grind.

domano commented on Show HN: I made an app to use local AI as daily driver   recurse.chat/... · Posted by u/xyc
domano · 2 years ago
Hey, i bought it, nice work!

A few things:

* The main thing that makes ChatGPTs ui useful to me is the ability to change any of my prompts in the conversation & it will then go back to that part of the converation and regenerate, while removing the rest of the conversation after that point.

Such a chat ui is not usable for me without this feature.

* The feedback button does nothing for me, just changes focus to chrome.

* The LLaVA model tells me that it can not generate images since it is a text based AI model. My prompts were "Generate an image of ..."

domano commented on Testcontainers   testcontainers.com/... · Posted by u/floriangosse
domano · 2 years ago
I dont understand how this is better than a docker-compose.yml with your dependencies, which plays nicer with all other tooling.

Especially if there are complex dependencies between required containers it seems to be pretty weak in comparison. But i also only used it like 5 years ago, so maybe things are significantly better now.

domano commented on Walmart to buy TV maker Vizio for $2.3B   cnbc.com/2024/02/20/walma... · Posted by u/jmsflknr
epiccoleman · 2 years ago
I know Vizio is considered more of a low-end brand, but I have a ... probably 2010s era Vizio that's one of the best TVs I've had. 32" or something, never had a single issue with it. It's a dumb panel that displays whatever I put on it. How a TV should be.

I had a more recent 65" Vizio (2020, I think?) in my living room, which was also a great TV. It was something like $600 (crazy cheap for the size!), great picture, never connected it to the net, always worked like a charm. Was a great panel for my Nvidia Shield.

That TV was broken in an unfortunate incident involving a toddler and a thrown wrench, and was replaced with a similarly priced TCL TV (which was the best rated one in my price range on Rtings at the time).

That TV is nothing less than a hunk of shit - constant sound issues, molasses slow UI, built in Roku stuff is all crap. Picture is decent, but I liked the Vizio better.

I've often considered shelling out the big bucks for a better model TV, but given the industry trends I'm terrified of the thought of spending triple the price of my current TV and still hating it. Happy to pay for good quality, but just extremely skeptical of most offerings in the market these days.

domano · 2 years ago
I just never could be happy with a TV without an OLED panel after i got my first one last year. Since then all other screen types look like garbage to my eyes, the better cinema projectors too.

Shouldn't have bought an expensive big monitor for work without OLED the year before, but i hear that OLED is not that great for close up text rendering.

domano commented on Show HN: Presentations for your webcam, not a projector   cuecam-presenter.com?ct=h... · Posted by u/michael_forrest
domano · 2 years ago
Maybe someone knows how to solve a common sharing issue, I didn't see it mentioned here:

I have a single ultra wide screen and would like to share a virtual area that has a normal size (16:9) with people via Google Meets, Slack, etc. Otherwise I have to share a window, stop, share another one etc.

Really bad, especially during some on call emergency session.

So far I couldn't make it work, only Zoom had this feature at some point but nobody uses Zoom where I have worked.

domano commented on Queues don't fix overload (2014)   ferd.ca/queues-don-t-fix-... · Posted by u/akbarnama
roenxi · 2 years ago
The other thing to bear in mind about queues is that once they start showing of symptoms of something being wrong, collapse might be just around the corner or it might not be depending on the nature of the load.

When congestion spikes start showing it is helpful to know some queuing theory to estimate how close the situation is to eating someone's weekend. Congestion collapses are an interesting time because most people don't know queue theory or how to reason using balance equations, it is possible to misdiagnose the problem or waste a stressful few days trying to work out a congestion situation by experiment.

domano · 2 years ago
Hey, can you recommend something one might read to get up to speed on queuing theory? I certainly am not aware of it, but work with queues.

u/domano

KarmaCake day694May 19, 2020View Original