HNHacker News
TopNewBestAskShowJobs

iamjackg

819 karma · joined July 9, 2021

submissionscomments
iamjackg··on 1.2.x Versions not available anymore on PyPI
A Python package was split into free/pro tiers, and the author deleted previous versions of the "free" library that still contained all functionality.
iamjackg··on Windmill: Open-source developer platform to turn scripts into workflows and UIs
I get what they mean -- it has definitely gained a foothold in the tool/utility world thanks to easy cross-compilation and single-binary output. Given their target, I definitely understand why they would put it in that group.
iamjackg··on Don't believe the hype: why ChatGPT is not the “holy grail” of AI research
To be fair, the ones I've seen use a form of point 1 (giving all facts in the prompt) by allowing for searching the web, which becomes a version of point 2 (summarization).
iamjackg··on The Leverage of LLMs for Individuals
Take a look at https://phind.com

Being able to search the web allows it to deal with recent information: you can ask it to limit its search to the API documentation for the library you're working with.

iamjackg··on Show HN: The HN Recap – AI generated daily HN podcast
There's also this! https://camrobjones.com/hackercast/

It was posted a few days ago and got 0 comments. https://news.ycombinator.com/item?id=35751065

iamjackg··on OpenAI Tokenizer
You can use https://github.com/openai/tiktoken
iamjackg··on The simplicity of single-file Golang deployments
If you really don't want to use different ports you can handle it with Docker. Since each container has its own IP, they can all expose the same port. Otherwise, for non-containerized deployments you'll have to resort to two different ports.

In either case, you will need a reverse proxy like Traefik/Nginx in front to smartly "balance" incoming requests to the two instances of the service.

iamjackg··on Argbash – Bash Argument Parsing Code Generator
This is very similar to Bashly (https://bashly.dannyb.co/) but with a lot more weird magic going on.
iamjackg··on Argbash – Bash Argument Parsing Code Generator
100% agree. There are some libraries like https://amoffat.github.io/sh/ that aim to make that easier, but they always have some quirks that, funnily enough, are often the corner cases you were hitting in your complicated Bash script in the first place.
iamjackg··on Talk-to-ChatGPT
You raise a very valid point, but one could make an argument that it's _okay_ for innovation and entrepreneurship to slow down, if it's done to protect people's rights and ensure that companies do things "properly."

It seems to be an eternal cyclical process: people come up with something that either sidesteps or has no regulation whatsoever, you get massive growth and innovation, which turns to exploitation, which leads to regulation.

We've seen it in all fields, from tech to pharmaceuticals to big box retail. Is it an acceptable compromise in society to "let things happen" for a while before regulating? Or should we all slow down and think about the consequences before pushing forward?

iamjackg··on Talk-to-ChatGPT
Hm, this is actually a very interesting case. If the extension is (I'm assuming) literally just leveraging the API and not storing anything at all, would it be sufficient to let people know it's doing so in order to be compliant with GDPR?

Does this even count as something that would be covered by GDPR? Is it because the data collection is tangential to the "service" being offered?

Chrome's Privacy page [1] doesn't say anything about the API. Other people have also been wondering about the privacy implications of using the Speech API. What an interesting rabbit hole!

1: https://www.google.com/intl/en/chrome/privacy/

iamjackg··on Teenage Engineering Field Desk
I love, love, love Teenage Engineering's design and they create really cool products, but this seems too crazy a price point even for them.

When they released the TX-6 mixer for $1199 I almost understood their reasoning, since pro audio equipment has always been overpriced, and they clearly put a lot of thought into it and it had a somewhat unique set of features, and most of all it was beautifully designed, but this... This is plywood on an aluminum frame. What's unique about this? Maybe I'm finally just too removed from the target market. Could somebody help me understand if there's something I'm missing?

iamjackg··on Ask HN: Share Your YouTube Channel
I started a series on how the Game Boy works a few years ago while I wasn't working. I posted the first episode on r/videos and it was unexpectedly successful, so I rushed to buy a better microphone and got to work on the second video. Then I went back to work and realized that I just couldn't keep it up. The amount of effort it took to write, record, edit, and fully animate the episodes was just too much for a side project.

I also made a bunch of mistakes that kinda soured the experience and made me realize I'd have to be much more strict about sourcing, vetting, and reviewing every single detail. I hope I'll pick it back up one day, but it doesn't seem likely.

https://www.youtube.com/@jacktech5101

Occasionally I make music and publish it on my other channel: https://www.youtube.com/@JackGMusic

iamjackg··on Getting Started with Tmux
Oh I've definitely been doing it for years, but only for things I don't care very much about. For example, I used to have a password protected livestream of a camera that was literally an ffmpeg command running in a tmux session that would pipe MJPEG data to an nginx instance, and tmux was by far the easiest way to get it going. But the moment I want reliability, automatic restarts, or something easily reproducible, I switch to systemd or a Docker container.
iamjackg··on Disney says it has more streaming customers than Netflix
You're right, my bad: Wikipedia only mentions them in the "animation" section of the side panel, while the actual article only mentions Frederator and Powerhouse.

My reply was incorrect, and I'm not trying to move the goalposts, but it has to be said that the studios you listed have animated many of what would be considered "western" shows: Ben 10, Spiderman, and Animaniacs show up in the credits for Mua Film and Tiger Animation.

My intent was not to focus on the American aspect as much as the "this is very much a western production, unlike what Netflix is trying to imply." I should have worded it better.

iamjackg··on Disney says it has more streaming customers than Netflix
For the record, while Netflix really pushed the anime angle, Castlevania is actually an entirely American production. It was written, directed, and animated entirely in America by Americans.
iamjackg··on Over 16k people still use a Pebble smartwatch
I've been using a Garmin Vivoactive 3 for a few years after owning a Pebble Time that eventually stopped working. I've been pretty happy with it: it also has a retroreflective screen that's always on and perfectly visible in sunlight, the battery can last about a week depending on usage, and Garmin's IQ app ecosystem is solid.

The notification functionality is not as customizable, but otherwise I haven't really been missing the Pebble much.

iamjackg··on VHS: CLI home video recorder
I love asciinema. A key difference between these two tools seems to be that asciinema records a human using the terminal, whereas VHS generates output based on a list of steps to execute.

I can see VHS being nicer than asciinema for a lot of applications, since you can avoid typos and fumbling, and you can easily re-render the same output with different settings.

iamjackg··on Forgotten Employee (2002)
Ahh yeah, I guess I should specify that these were not breaks I took "on purpose": one was while waiting for some documentation to go through, and the other one was parental leave, and at least one of them was partially paid.
iamjackg··on Forgotten Employee (2002)
I'm curious: how long were your breaks? I've had two rather long (>6 months) breaks in my career, and I've enjoyed them immensely and have been very productive: finished personal projects, made music, YouTube videos, learned new skills.

However, both times it took at least a couple months of passive life before I could do anything productive at all: I just slept, cooked, read, played video games, and scrolled Reddit. Almost as if I had to first flush out all the accumulated stress and get rid of the "muscle memory" around work.

iamjackg··on Matter – Protocol to connect compatible devices and systems with one another
One thing I've learned over the years is that this 100% depends on you and nobody's answer will really satisfy you, because the needs and routines of every individual can be radically different.

Do you care about energy consumption? If you do, you can pull in all that information into a dashboard, evaluate your usage patterns, and craft automations that ensure you're being as efficient as you want. Turn your lights/AC/music on and off when you go from room to room, etc.

Do you care about micro-optimizing your time usage? Create automations that support your daily routine. Tie your coffee maker's smart plug to the next upcoming alarm on your smartphone so you have breakfast ready by the time you get up. Have your garage door open automatically when it's time to go to work, and it's not a holiday, and your phone is at home, and your car is in the garage.

Do you care about eye strain? Have your smart lights change colour to match the light temperature of sunlight throughout the day.

Do you care about silly things that make you feel all powerful? Have your lights turn off, some white noise start, and all the smartphones in the house switch to Do Not Disturb when you plug in your phone to charge next to your bed after 10PM.

The sky is the limit. Over the years I've ping-ponged between "eh, this is not really worth it" and "this is actually incredibly convenient" depending on how my routine has changed.

iamjackg··on Weightless: Parabolic flight on an A310
Yeah that looks like the kind of artifacting you might get from a 360° camera that's trying to hide itself from the footage.
iamjackg··on IKEA’s knowledge graph and why it has three layers
Thanks for the tips! That's pretty much exactly what my process looks like today if I want to figure out which variant is the most "popular." Most of the uncertainty is specifically about specialist sites like Digi-Key.

For example, the 74HC595 you linked is a super common shift register, but DK Canada has 88 listings for it. Some surface mount, some in different DIP configurations, and now I have to scour through and figure out the one variant that works for me.

Generalist sites like Amazon and AliExpress tend to mostly stock the variants that tinkerers/makers want when prototyping, which makes it easier for me to plop "74HC595" in the search bar and quickly get a sensible result, especially when sorting by amount sold.

iamjackg··on IKEA’s knowledge graph and why it has three layers
It's very interesting to me that, as an absolute amateur at electronics, I find the Amazon/AliExpress approach infinitely more usable, even though Digi-Key has a better selection of products. Of course, this is because my needs are usually something extremely generic and simple like "I need some 400ohm resistors" or "I need an 8-bit shift register," with a strong emphasis on the "anything goes" aspect.

On Digi-Key I get absolutely lost. There are thousands of options, with different form factors, costs, availability, specs, and more. Can I buy 5 of them? What's the lead time? Is it SMD or through? How much is shipping? Which vendor do I choose?

On AliExpress, I get a bunch of "5 8-bit shift registers for electronics projects" listings, check a couple of them, look up some info, and purchase one in a few minutes.

Of course this means I end up with mediocre, sometimes outright broken parts, but it feels like it's worth the time I save. I wish there was a curated list or an "easy mode" on Digi-Key.

iamjackg··on Handpicked No-Signup Tools
I've had a bash script in my PATH that uses ffmpeg exactly to do this for the longest time. This is great!
iamjackg··on 2XL – ‘70s toy that faked AI with an 8-track [video]
I had a friend lend hers to me when I was a kid, and I did in fact try it in a cassette player! I even tried to make my own cassette, but I soon realized that I couldn't because... All 4 tracks had to be recorded in the same direction.

2-XL used the left and right stereo tracks of each "side" of the tape to store four total synchronized audio tracks, but all in the same direction of play. If you listened to "side A" on a normal cassette player, you'd hear two tracks: one on the left and one on the right. If you listened to "side B" you'd hear the other two tracks, but played backwards.

iamjackg··on Cat Printer
Most emulators are able to export a PNG that you could then print with something like this project! They don't support using a webcam with the ROM for the Game Boy Camera though.

If you buy the real thing, there are lots of projects for extracting and printing the pictures though.

This project implements a fake GB Printer that you can then access via WiFi to download the prints: https://github.com/zenaro147/NeoGB-Printer

This project I wrote a while ago allows you to use a printer very similar to the one in this submission as an actual Game Boy Printer, connected to an original Game Boy: https://github.com/iamjackg/esp32-phomemo-gameboy-printer

iamjackg··on I built a receipt printer for GitHub issues
I bought all the equipment to do something like this a while ago, and wanted to set up a script that would print a daily briefing every morning. Then I realized that I would basically be generating tons of garbage for an absolutely frivolous purpose, so I never did it.

I did end up reusing the printer to turn it into a Game Boy Printer, though! ...And I make sure to only print pictures I plan on keeping. ;)

https://github.com/iamjackg/esp32-phomemo-gameboy-printer

iamjackg··on I built a receipt printer for GitHub issues
This reminds me of a comment I read a long time ago about somebody's experience working for a company that had a branch in Japan. They would demand that some spreadsheets be sent as a fax, and then some employee would be tasked with re-typing all that information back into a spreadsheet later on.
iamjackg··on Littlefs – A little fail-safe filesystem designed for microcontrollers
I don't know about higher level, more expensive stuff, but many popular microcontrollers (like the ESP8266 and ESP32) have SPI flash onboard, without any built-in wear leveling.
← PreviousPage 6 of 7Next →