HN user

jbarberu

588 karma
Posts0
Comments188
View on HN
No posts found.

As someone who one week ago switched from a Debian to NixOS setup, using docker compose, I'd be very interested in hearing more if you have any resources or tips to share.

I was hoping to move over to running rootless containers, but so far my HA setup has proven to be a pita to get working.

Also curious what MCUs you're working with to give you this impression?

RP2040 is 264k, RP2350 is 520k.

I use NXP's rt1060 and rt1170 for work, and they have 1M and 2M respectively, still quite far away from 16M and those are quite beefy running at 500MHz - 1GHz.

My approach for number 3 is to look at previous months and escrow money for it every month, and then pay it off once the bill comes due. From the accounting side you only see the monthly cost of the bill, even though it looks big on the bank statement.

I use a command that'll play a good/bad sound effect based on previous shell command exit code.

Something like:

  function boop() {
      local last="$?"
      if [[ "$last" == '0' ]]; then
          sfx good
      else
          sfx bad
      fi
      $(exit "$last")
  }

I'd then do:
  $ make -j; boop
or
  $ nmap <...>; boop
That way I can focus my attention elsewhere while waiting for stuff that'll take anywhere from 20s-2min without losing track of time.

Lately I've been experimenting with throwing in notify-send in there too, but find it a bit much to both get sound and visual feedback.

Having implemented a custom matrix in qmk, I can say the timescale involved is not something you'd notice a difference between diodes vs diodeless. On ARM boards there's a setup delay to let the gpio propagate before reading the columns, which by default is set to 0.25us, which means reading 4 rows would take about 1us.

I built a macropad that has some regular keys and a SNES controller on the "same matrix", total scan time is 335us, which is dead slow as far as scanning goes, but nothing you'd be able to notice.

Other points are fair though, fewer parts in the BOM. Though routing is a bit trickier with diodeless, especially if you also want to adressable RGB.

I started my ergo-keyboard journey with a corne. I ended up having issues with the thumb cluster positioning and built my own prototype on new years eve this/last year. That board features four thumb keys, six columns, with four rows for index and middle finger and five for ring finger and pinky (essentially a 6x5 board with four of the bottom keys moved into a thumb cluster. A lot of keys ended up unused on that design (the lowest pinkey and ring finger keys were completely useless).

A couple of months back I built another prototype, this time with a 6x4 + 4 layout. I'm still not loving the layout, four keys is too much for the thumb cluster and I'm looking at dropping down to three. Ironically I've already setup my layout so it almost only uses 6x3 + 3 (I use the top row for non-typing keys like F1-F12), and in effect reinvented the Corne that I started out with...

I definitely don't have an inner voice. I certainly can "enable it", for things such as composing this reply. But in general I'd describe it as a stream of thought, not bound to any language. Then when I need to actually communicate I "pipe" it through whatever language I need (I grew up in a home with multiple languages, don't know if that influences it).

One way I notice this is how thoughts are generally unpacked and stored without a language association, meaning I can't remember how people phrased something, only how I interpreted it. I feel like this is a decent memory optimization, but it drives my wife nuts and can be very unhelpful during arguments...

As others have suggested, be kind to yourself. Inspiration comes and goes, and the key is to ride it when it comes.

I used to feel a strong need to work on side project early in my career, that I had to keep up with trends and test out new languages (software developer by trade). Since having a kid I realized how precious little time I have and discovered the need to feel in control of what I spend it on. If I want to zone out one evening watching Youtube videos, that's ok, as long as I decide to do so.

Last year I had long periods of time where the only thing I'd do in my "me time" was reading. I plowed through most of Ryk Brown's Frontiers Saga (read 40 something books before summer), then completely stopped reading for the rest of the year and dove deep into teaching myself PCB design (made a SNES Macropad and put it on Tindie). Right now I've slipped into 3d printing and mechanical CAD, but the goal is to get back into electronics and tackle another keyboard design.

The key I think is to find projects that really interest you. Doing something in your spare time because you feel you "should" do them is a recipe for failure and misery. For me it was abandoning the idea that I'd learn to play the guitar and get fluent in Spanish, if I ever get a true passion for either there will always be time in the future.

One last thing to keep in mind is that what ends up on Hacker News is perhaps not your Average Joe. The internet is great for bringing people together, but it's easy to get sucked into a bubble thinking you have to be like John Carmack or you might as well give up.

Threw in a configuration that maps: Right: Step Over Down: Step into Up: Step out A: Continue Start: Toggle Breakpoint

Can't say that it feels super useful, but amusing nonetheless.

Now I'm curious about how you manage to get such large screenshots. I just tried and with a total resolution of 5120x1200 (over 3 monitors) I get a 35x difference between a random song in FLAC (28Mb vs 729Kb)

I always reach for the non-ratcheting screwdriver when working on electronics. I find the ratcheting mechanism on all drivers I've used to have too much resistance and just start screwing the screw back in rendering it useless and bulky. A bit drive with an end cap that rotates seems to work best for me.

For automotive it's a different story, but then I'd use a ratchet wrench anyway, and fixed screwdrivers in the engine bay as the bits like to fall off in the worst places.

I tend to try to work on a project that I have a personal need for. Currently I'm working on a budgeting application. My background is primarily in Desktop application development (C++ Qt, C# WPF, OpenGL, etc) in the games industry. For my budget application I chose to use Python as it's easy to do the annoying bits (string manipulation, filtering lists, serialize/deserialize json, xml, csv). I recently hit a point where I wanted to send some transactions to my wife for review and decided it would be useful if it was web based. Good time to learn some Django, which I did.

Having a young kid helps to keep me focused while I'm coding as I know my free time is very limited :)

A bit OT, but at least for the Game Boy you can pop the cartridge (front of the case off) into a console (GBA is especially good as it only covers part of the cart), power it on and then replace the battery. The game save will remain. Or you can use something like the GB Operator and backup the game save, replace the battery and then rewrite it to the cart :)

Sure, and I'm sure that adds a few cents to the price of those goods. Doesn't negate that it's a good time to not have to pay for gas for personal transportation.

I left the US for Spain in February and sold my car before the move. Really lucked out between used car market being bonkers (sold pretty much at break even, including dealers fees with 2 years of ownership) and gas prices doubling.

Now with a young kid it seems I'm likely going to need to get a car again in the near-ish future, and not looking forward to when that hits the wallet :(

The best Android phones I've had were Nexus 5 and Nexus 5X. I thought the 5X were a little bit bigger than I prefer, but over all a great device. After that I went through a bunch of different phones, first a cheapo Motorola at 5.7" (smallest I could find without complete garbage specs) and then a Samsung A10 at 6". They were both impractically big, despite having quite large hands.

The only way I could find to have a smaller screen was to switch over to iOS. Currently I have an iPhone SE (iPhone 8) at 4.7" which is lovely, but I would have preferred to stay with Android as it's the only Apple device I currently own.

And then their sign-in page doesn't truncate it and it just fails to login... Absolutely love it!

One of my favorites was Nintendo's user account. The web allows decent passwords when created, but then the actual game console only has room for inputting 15 characters or so for the password :@

As far as I know they're suing Fox News, Mike Lindell, Sidney Powell and Rudy Giuliani for defamation.

Not sure what your point is, but the difference between "dead president Hugo Chavez flipped votes for Biden" vs "Here is how the software works, I don't think it's right" is quite important.