HNHacker News
TopNewBestAskShowJobs

kbouck

525 karma · joined March 13, 2012

submissionscomments
kbouck··on Let’s code a TCP/IP stack, 1: Ethernet and ARP (2016)
If you disable ARP, you can have a group of servers on the same network configured with the same IP! and if a server acting as a routing frontend can forward packets to a backend server's network interface by mac address (need a kernel extension for this trickery), that backend server will recognize itself as the destination, swap the source/dest IP and respond directly back to the client (without going back through the routing frontend)

Alternatively, you can accomplish the same without disabling ARP and by just adding the common IP address as an alias to the loopback interface, which allows the backend to recognize itself as the destination, but avoids ARP conflicts.

This was a trick used by IBM's WebSphere software load balancer back in the 90's-00's

kbouck··on Troubleshooting: A skill that never goes obsolete
When I'm stumped troubleshooting production problems, I try to think how I can get more information out of the system.

Exporting telemetry events with a wide set of attributes to an observability platform is a great approach which can provide an extensible way to expose additional information about the events.

kbouck··on RoboPianist: Dexterous Piano Playing with Deep Reinforcement Learning (2023)
Any way we can get the Westworld intro song into the demo list?
kbouck··on Framework's first desktop is a strange–but unique–mini ITX gaming PC
I had a coat with large side pockets just big enough to fit the 11" air. Not that I would ever use them for that, but it sure felt nice to have the option...
kbouck··on Robocode
Back in the 80's there was CROBOTS.

https://en.wikipedia.org/wiki/Crobots

https://github.com/troglobit/crobots

https://tpoindex.github.io/crobots/

kbouck··on Science of Microwave Ovens (2016)
you win!
kbouck··on Science of Microwave Ovens (2016)
ElectroBOOM demonstrates this:

https://youtu.be/OyTmJX_TC84?feature=shared

kbouck··on Nokia's internal presentation after iPhone was launched (2007) [pdf]
Worked at Nokia when iPhone was released. No strategy/management insight, but I recall the jokes made by my colleagues as I showed off my iPhone 1:

"Cool, but can it make phone calls"

On internal message boards, some employees advocated staying loyal to Nokia products, and others advocated buying the best product (iPhone) to challenge Nokia.

Wish they had navigated this one better...

kbouck··on DuPont and “DuPont” connectors, and how to crimp them properly
I read this (or similar) article when researching how to better crimp dupont connectors for mini arcade wiring.

I settled on the Hozan P-707 recommended in this article. A bit more expensive than other options, but it has worked really well for me. Every crimp is just right. Worth the extra money for me.

kbouck··on TrunkVer
It would be somewhat more "compatible" with semver if it placed the timestamp in the MINOR or PATCH segment, rather than in the MAJOR:

    0.20241127214906.0

    0.0.20241127214906
kbouck··on Boris Vallejo and the pixel art of the demoscene
> I've found that limitation in artistic mediums can serve as motivation and even inspiration in art.

There's a great 1969 interview with Charles Eames in which he discusses design, and constraints as being a necessary component of design.

Some Excerpts:

Interviewer: Does the creation of Design admit constraint?

Eames: Design depends largely on constraints.

Interviewer: What constraints?

Eames: The sum of all constraints. Here is one of the few effective keys to the design problem: the ability of the designer to recognize as many of the constraints as possible, his willingness and enthusiasm for working within these constraints. The constraints of price, size, strength, balance, time and so forth. Each problem has its own peculiar list.

Interviewer: Does Design obey laws?

Eames: Aren’t constraints enough?

kbouck··on The Cheating Device (ChatGPT on a TI-84) [video]
Ha. Back in the 90's graphing calculators were not allowed during tests, but normal calculators were... Well there was a model of Casio calculator (can't find the model) which was so diminutive, and with a wide rectangular rather than square screen you never would have assumed it was a graphing calculator. But it was, and it saved my butt on many exams... By now I've forgotten all that basic math, but the ability to program things remained!
kbouck··on OpenTelemetry and vendor neutrality: how to build an observability strategy
For anyone that has built more complex collector pipelines, I'm curious to know the tech stack:

  - otel collector?
  - kafka (or other mq)?
  - cribl?
  - vector?
  - other?
kbouck··on The magic of DC-DC voltage conversion (2023)
I want to power my 12V devices with USB PD. Looks like 12V is optional in the spec and is supported only by some devices (eg. UGREEN), and not by others (eg. Anker)

Given a USB PD power supply which supports 15V but not 12V, and a usb-c/barrel-jack cable configured to negotiate for 15V, what would be the simplest (yet safe) circuit i could add via barrel jack to regulate the to voltage down to safe/consistent 12V?

is a simple linear voltage regulator (LM7812) sufficient? would i need capacitors to smooth it out?

kbouck··on iPhone 16 Pro and iPhone 16 Pro Max
Missing Forstall's "Blow Away"
kbouck··on Coding on iPad using self-hosted VSCode, Caddy, and code-server
(this comment is about using ipad as a general computer, rather than purely coding)

if you're like me and continually open new apps and browser tabs, never closing them, then one benefit of using iPad versus mac is the OS process lifecycle. iPad/iOS processes that are not in focus go into background/suspended state, and don't make your ipad slower and slower - whereas on mac you need to be a bit more disciplined, or else ...

kbouck··on Coding on iPad using self-hosted VSCode, Caddy, and code-server
a-shell is another good option
kbouck··on Air Con: $1697 for an on/off switch
Network-connected home Mitsubishi units can be controlled with the MELCloud API (same api used by mobile app) which makes it easy enough to write scripts that grab current temp, settings, power usage.

Perhaps someone has already made a home assistant plugin that does this?

kbouck··on Google's new pipe syntax in SQL
Indeed. Elastic has also recently released a piped query language called ES|QL. Feels similar to Kusto.

I find piped queries both easier to write, and read.

kbouck··on Things I've learned building a modern TUI Framework (2022)
This TUI discussion triggered a bit of 80s/90s programming nostalgia -- anyone remember TTT (TechnoJock's Turbo Toolkit)? Pre-gui era UI framework.
kbouck··on "Grip Car"
Perhaps the act of fidget-spinning spurs on musical creativity
kbouck··on What is the significance of the character "j" at the end of a Roman Numeral? (2013)
There's also an Amsterdam movie theatre across the IJ named "Eye" Film. I(expat)'ve always heard dutch "ij" as an over-annunciated "eye" where the sides of your mouth are a more widely open.
kbouck··on Show HN: Xcapture-BPF – like Linux top, but with Xray vision
Grafana has one too called Beyla.

https://grafana.com/oss/beyla-ebpf/

kbouck··on Vector: A high-performance observability data pipeline
vector's VRL language seems more expressive than otelcol OTTL. Has anyone experience creating complex transformations using OTTL?

I guess my example would be non-trivial log transformation requiring lookup tables (which vector can do with enrichment tables)

kbouck··on The invention of a new pasta shape (2021)
I may be in the minority here, but I appreciate pasta shapes which result in a gradient of aldentitude (made up that word).
kbouck··on Why are there no PowerLine Smart Plugs?
My experience with PowerLine (TPLink) was really awful. Completely unstable and inconsistent performance.

We then switched to MoCA (ActionTec) and it has been about as good as a direct ethernet cable. Consistent performance and stays up for years at a time. No issues ever.

The performance of each likely comes down to how much noice is on the respective wires. Our electrical network is likely crowded and influenced somewhat by neighbors. However our coax was completely unused and I disconnected it from the outside world (for privacy and noise reduction)

If you have coax outlets in locations useful for networking, I would definitely consider using MoCA instead of PowerLine.

kbouck··on UniFi Express
I upgraded from Ubiquiti USG to Firewalla (Gold). I confirm what others who have experience with both are saying: the Firewalla UX is better by a wide margin.
kbouck··on Ingest OpenTelemetry metrics with Prometheus natively
What are the merits of the prometheus approach versus one where events/metrics and their original timestamps can be preserved, stored (during temporary outages), then forwarded to backends when connectivity is reestablished?
kbouck··on Show HN: Free AI-based music demixing in the browser
my idea was to let an existing app like djay do the beat matching (which it does really well!) and demixing (less well), and then make a custom app that would act like a midi controller, adjusting the vocals, beats, melody while songs are transitioning, perhaps working off of cues bookmarked in the songs.
kbouck··on Show HN: Free AI-based music demixing in the browser
> re: "realtime"

it separates the components of tracks that it can download (and process), not of a live audio feed

← PreviousPage 2 of 7Next →