HNHacker News
TopNewBestAskShowJobs

H1Supreme

1,108 karma · joined April 4, 2017

submissionscomments
H1Supreme··on Please just try HTMX
> The churn is largely opt-in.

It is not. React 18 changed damn near everything. You can't create a new React 17 project without jumping through serious hoops. React 19.5 introduced the compiler, so you can stop using useCallback and useMemo. Except for "common scenarios" where you still need it. Which are about as clear as mud.

I can only imagine what React 20 is going to introduce.

H1Supreme··on Please just try HTMX
How do you handle routing with plain React?
H1Supreme··on Please just try HTMX
> But sometimes—and here's where it gets uncomfortable—you actually do need a button that updates part of a page without reloading the whole damn thing. You do need a search box that shows results as you type. You do need interactivity.

You can do this with plain old Javascript. Make a request, swap out the [inner | outer]HTML with the result. If you want a nice visual transition, wrap the swap in a startViewTransition(). Obviously, you need to be extra careful if you're using user-submitted HTML. Otherwise, it's fairly straight forward.

H1Supreme··on US Tech Force
I know it's par for the course these days, but that's a lot of Js and CSS for a single page app with some text, a few images, and a list of collapsible info sections (whose animations aren't very smooth).
H1Supreme··on EFF launches Age Verification Hub
Generally speaking, I share the HN consensus on age verification laws. But, there is a real problem with kid's unfettered internet access. Just think about all the adults who are hopelessly addicted to social media. The negative affects are amplified when it comes to developing minds.

My SO has been teaching for nearly 20 years now, and mental health in kids has fallen off a cliff in the last two decades. I could fill this page with online bullying stories. Some of which, are especially cruel. Half her students are on medication for anxiety. It's out of control, honestly.

That said, I don't know how to solve it. It's easy to put this on the parents, but that's not the answer. Otherwise, it would be solved already. Some don't care. Some don't have the time to care because they're trying to keep the lights on, and dinner on the table. And, some simply think it doesn't apply to them or their children. Parents on HN are hyper-aware of this sort of thing, but that's definitely the minority.

I know a family that would be most folks least likely candidate for something bad to happen online. Single income, relatively well off, the parent at home has an eye on the kids 24/7. And, if you met the kids, you would most likely qualify them as "good kids". Without going into detail, their life was turned upside down because one of the kids was "joking around" online.

Again, I don't know what the answer to the problem is. Clearly, age verification laws are a veiled attempt to both collect and control data. And, EFF's emphasis on advertising restrictions as a solution, seems off the mark. There's more to it than that. Idk, this shit makes me want to log off permanently, and pretend it's 1992.

H1Supreme··on Framework Laptop 13 gets ARM processor with 12 cores via upgrade kit
I've been running ARM VM's on my M1 MBP for the last few years, and outside of the very beginning, it's been pretty smooth sailing.
H1Supreme··on How to Synthesize a House Loop
> I haven't really found anything yet that Gemini can't do in python for this.

Python for audio apps? First I've heard of this. Is it a "Python acts as a thin wrapper over C" or something?

> I have really gone further though and thought why do I even care about VST or a DAW or anything like this?

Been there. I started making music on a Windows 95 PC, built up a studio over the years (including some DIY hardware), and eventually was using Logic as glorified multi-track recorder + effects rack. These days, I've kind of went back to my roots, and I'm doing a lot of sample chopping. Only difference is: I'm using my own sounds as source material.

H1Supreme··on How to Synthesize a House Loop
Look into the JUCE framework for building your own tools. I was using MaxMsp for a while, but would always think to myself "This would be so much easier to accomplish in pure code". So, I started building some bespoke VST's.

There's a learning curve for sure, but it's not too bad once you learn the basics of how audio and MIDI are handled + general JUCE application structure.

Two tips:

Don't bother with the Projucer, use the CMAke example to get going. Especially if you don't use XCode or Visual Studio.

If your on a Mac, you might need to self-sign the VST. I don't remember the exact process, but it's something I had to do once I got an M4 Mac.

H1Supreme··on Nano Banana Pro
This is really impressive. As a former designer, I'm equally excited that people will be able to generate images like this with a prompt, and sad that there will be much less incentive for people to explore design / "photoshopping" as a craft or a career.

At the end of the day, a tool is a tool, and the computer had the same effect on the creative industry when people started using them in place of illustrating by hand, typesetting by hand, etc. I don't want my personal bias to get in the way too much, but every nail that AI hammers into the creative industry's coffin is hard to witness.

H1Supreme··on Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?
I think those old TUI systems are analogous to learning Vim. At first, you don't wtf is going on. But, the more time you spend with it, the more it's ingrained, and eventually becomes second nature.

I've seen many of these systems over the years. Before I moved into software full time, the company I was working for was transitioning from a TUI to a GUI based system. The long time sales and warehousing staff absolutely hated it. Which, yes, is par for the course with any new system. But, I really believe there is an (potential) efficiency to a TUI system that makes it superior to a GUI when dealing with prototypical business operations (order entry, inventory lookup, etc).

Which makes me think, is there a market for "modern" TUI systems?

H1Supreme··on Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?
Working with FoxPro, I'm assuming. I spent several years dealing with xBase systems, and it was honestly a nightmare. I suppose if you've never used any other language or database, you wouldn't notice. Plus, the bit relative to the OP, it's a mostly worthless skill.
H1Supreme··on Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?
> https://www.burtonsys.com/download/dbf2csv.php

Man, this would have came in handy when I was trying to extract data from .dbf files. Ended up writing something in Go while referencing the dBase IV spec. Lots of trial and error as I recall.

H1Supreme··on No Socials November
HN, to me, is unlike anything else. It has a "feed", but it feels more like a forum with one category for threads.
H1Supreme··on A mechanic offered a reason why no one wants to work in the industry
I know someone who had an older Chrysler 300, and you had to take a wheel off to change the battery. Baffling. I'm not much of a mechanic, but the Honda's I've owned over the years have all been easy to work on. At least in the engine bay.
H1Supreme··on CSS's problems are Tailwind's problems
It's less of when it becomes a "non-utility", and more that it becomes an incomprehensible mess of classes on a div.
H1Supreme··on When Figma starts designing us
How many web designer (ie. strictly HTML + CSS) roles are out there anymore? Anytime a position is posted with "HTML and CSS" in the requirements, you can almost guarantee a Javascript framework of some sort is in there as well.
H1Supreme··on My AI skeptic friends are all nuts
> Did Photoshop kill graphic artists?

Desktop publication software killed many jobs. I worked for a publication where I had colleagues that used to typeset, place images, and use a camera to build pages by hand. That required a team of people. Once Quark Xpress and the like hit the scene, one person could do it all, faster.

In terms of illustration, the tools moved from pen and paper to Adobe Illustrator and Aldus / Macromedia Freehand. Which I'd argue was more of a sideways move. You still needed an illustrators skillset to use these tools.

The difference between what I just described and LLM image generation is the tooling changed to streamline an existing skillset. LLM's replace all of it. Just type something and here's your picture. No art / design skill necessary. Obviously, there's no guarantee that the LLM generated image will be any good. So, I'm not sure the Photoshop analogy works here.

H1Supreme··on Gurus of 90s Web Design: Zeldman, Siegel, Nielsen
Although this article references the 90's, it reminded me of the truly vibrant web design scene of the early 2000's. I was a graphic design (print work back then) student / early in my career at the time. Sites like k10k, Newstoday, Praystation, and many others jump-started my interest in writing software by way of web design. Flash especially.

There was a network of sites (like those mentioned above), that had feeds of interesting work done on the web. Much of it was purely an exercise in creativity. The single 1024x768 resolution target let folks go wild without the constraints of responsiveness that we see today.

While I realize that the web had to evolve, I have a lot of nostalgia for web design from those days. The "design" part of it was really centered around artistic expression, and still had a lot of influence from graphic design.

H1Supreme··on How much do you think it costs to make a pair of Nike shoes in Asia?
I have 4 pairs of Allen Edmonds shoes. The oldest pair is 6 or 7 years old. With some light care (conditioning / polishing) they've held up very well. To address another comment about comfort: They're quite uncomfortable at first. Over time the leather (and cork insoles) mold to your foot. Making them comfortable.

These are leather dress shoes though. As far as I know, this doesn't exist in the athletic shoe world. Considering the materials used in athletic shoes, I don't know how a "repairable" athletic shoe could exist without some serious re-engineering.

H1Supreme··on The Frontend Treadmill
Considering all the advancements that Vanilla JS and CSS have made in recent years (plus exciting features like animating "display: none" that are almost fully adopted), I think templated HTML on the server + JS where it's needed, makes more sense than ever. And, that's coming from someone who largely makes their living from React.

Like the author, I've been doing frontend in one way or another for 20 years. The ecosystem, churn, and the absolute juggling act of sync'ing state between the frontend and backend is batshit crazy.

I recently started a proof of concept project using Go templates and HTMX. I'm trying to approximate building a UI with "components" like I would with React. There's still a lot of rough edges, but it's promising. I'm still not sure I need HTMX tbh. I've started managing event listeners myself, and I think I prefer it.

Interestingly enough, managing complex UI state that's based on user roles and permissions is so much easier on the server. Just send the HTML that the user is allowed to see. Done.

That said, React, Vue, et. al has sooo much steam. I don't know how a collective shift in thinking would even begin. Especially considering all the developers who have never known anything but frontend frameworks as a way to build a UI.

H1Supreme··on Pixel 9a: The latest A-series phone with Google AI smarts at an unbeatable value
Yeah, I hate this move. I own good, low Ohm headphones than can be powered by a phone, but they are all 3.5mm jacks.
H1Supreme··on Wall Street stocks tumble as investors fret over US economic slowdown
I'm in an area of the country in which he won easily in the polls. Whenever I hear the "run the country like a business" line, I always ask "What's the product? And who is the customer?". I haven't received an actual answer yet.
H1Supreme··on Fabric and craft retailer Joann to go out of business, close all of its stores
> I went from being able to purchase just the resistor I needed to a $15 pack of 1,000 resistors I'll never use

The last time I bought resistors from Radio Shack, which was well over a decade ago, they were $1 a piece. A piece! While I get your sentiment, you can buy resistors in packs of 100 for roughly the same price you used to get 5 for.

H1Supreme··on Oklch in CSS: why we moved from RGB and HSL (2024)
When I worked in design we used to have a big book of color swatches for CMYK (and pantone). Your screen was always lying to you, even if you calibrated it. Plus colors looked different on coated / uncoated paper.
H1Supreme··on Oklch in CSS: why we moved from RGB and HSL (2024)
Yeah, that's a bit of a hot take from the author. I'd say it's equally as readable as RGB. They're both arbitrary values that you need to spend time with to get a feel for.
H1Supreme··on Show HN: I made an open-source laptop from scratch
> Unless they are forced to learn things that are uninteresting to them.

This really resonates with me. I love math now, but absolutely loathed it in high school. The curriculum lacked any sort of way to apply math to real problems. I simply cannot learn things in the abstract like that. It's like learning a programming language without ever building a program.

H1Supreme··on Learning Synths
Came here to post something similar, so I'll upvote your comment, and add my own. I started building a Eurorack modular synthesizer in 2009. Prior to that I would mostly tweak presets on other synths. I knew what the filter did, and could adjust an envelope, but didn't have a fundamental understanding of what was going on.

When I started using the modular, I was forced to understand the signal flow. And, the patch cables provided a visual cue of what was happening. I learned more about synths in a year with my eurorack system than I did in the previous 10 with hardwired synths.

After you learn those basic rules for patching a synth, then you get to break them. (-:

Recommending something like VCV rack seems like starting with Calculus before you can solve 2+2, but it's really not. The signal flow is right there for you to observe.

H1Supreme··on Ask HN: What's Your Morning Routine?
Not much of a routine to be honest. Wake up around 8:15, lie in bed until 8:30, make a double shot espresso, and start work at 9.

I lift weights (at my "home gym") on my lunch break (except Wednesdays) for 45 minutes. Use the last 15 minutes to eat a lunch I have prepared (a salad or a sandwich + a protein shake).

Overall, it works. I tried working out at 7:00am, but my workouts were horrible that early. Kinda wish it worked so I could fit a power nap in at lunch. But, I don't function too well that early.

H1Supreme··on The correct amount of ads is zero
I get the anti-advertisement sentiment, and when it comes to most every flavor of online advertising, I agree. But, once upon a time, ads blended seamlessly with the content. Or, at least had the potential to.

I used to subscribe to XLR8R and Thrasher magazine. The ads were tailored to the content of the magazine (electronic music and skateboarding, respectively). Thus, completely relevant to the interest of the reader.

I'm not sure how folks would emulate that online without heavy curation. But, I can't remember feeling any negativity towards ads while reading those magazines. If anything I was glad to be informed about a new skate video or music release.

H1Supreme··on M4 Mac mini's efficiency
> I actually think it's a really good choice and shows Apple really understands design. And with the relatively low power consumption it makes sense. It's not like it's drawing a ton of power on idle

I use a Mac Mini (older model) in my music studio. It shares a surge protector with approx. $12k worth of audio gear (some of it nearly impossible to replace). I have all the gear + the surge protector switched off anytime I'm not using it. Which is most of the time.

While the weight and form factor would make powering the M4 Mini on a little more than a nuisance, I have a hard time lumping this into one of Apple's great design features.

← PreviousPage 2 of 18Next →