HNHacker News
TopNewBestAskShowJobs

coddle-hark

700 karma · joined November 22, 2019

submissionscomments
coddle-hark··on If not React, then what?
I mean, people ARE doing it, and like I said it's mature enough to be the default way to build Rails apps. There's tradeoffs, no doubt, but this is absolutely a valid, productive way to write (certain types of) web apps.
coddle-hark··on If not React, then what?
> Any web application with a UI _requires_ a frontend build for CSS/JS.

Except it really doesn't. Core web technologies have gotten so much better since the jQuery/pre-SASS days that you can absolutely get by without a build step.

- http/2 makes bundling a questionable choice

- polyfills are pretty much no longer a thing

- CSS now has most (all?) of the features that people used SASS for (variables, nesting, etc.)

- es6 modules work

This has been a big talking point in the Rails community lately — one of the big selling points of Rails 8 was the fact that you can, by default, ship a whole webapp without a build step, and that this is considered the "happy path".

coddle-hark··on Minifying HTML for GPT-4o: Remove all the HTML tags
Anecdotally, the same seems to apply to the output format as well. I’ve seen much better performance when instructing the model to output something like this:

  name=john,age=23
  name=anna,age=26

Rather than this:

  {
    matches: [
      { name: "john", age: 23 },
      { name: "anna", age: 26 }
    ]
  }
coddle-hark··on Ask HN: Why do you all think that Htmx is such a recent development?
I think the industry got caught up in all the cool new stuff that SPAs enabled. There’s a category of web apps that you simply can’t build without putting most of the state on the client (Google Docs, Figma etc.) and that category happens to contain most exciting web-based products that have been built lately. Not using an SPA was (is?) basically an admission that your website is and always will be “boring”.

We’re starting to (re-)discover that you can build interesting, profitable products that are technically boring.

coddle-hark··on Anatomy of a credit card rewards program
Fun fact, this is actually illegal here in Sweden! That is, merchants aren't allowed to adjust prices based on payment method. Not sure what the reasoning is.
coddle-hark··on LLM4Decompile: Decompiling Binary Code with LLM
I wrote my bachelor thesis on something tangential — basically, some researchers found that it was possible in some very specific circumstances to train a classifier to do author attribution (i.e. figure out who wrote the program) based just on the compiled binaries they produced. I don’t think the technique has been used for anything actually useful, but it’s cool to see that individual coding style survives the compilation process, so much so that you can tell one person’s compiled programs apart from another’s.
coddle-hark··on A generalist AI agent for 3D virtual environments
This got me thinking of Ender’s Game, where they basically tricked a kid into committing xenocide by telling him he was playing a computer game.
coddle-hark··on What happened with the Web Monetization API?
Beautifully designed website! I still don’t know how it’s supposed to work though, the whitepaper has zero implementation details in it.
coddle-hark··on Blood doping and its detection
Look at professional bodybuilding to see how this ends. Being competitive means taking years (decades?) off of your life expectancy, and nobody wants to see their heroes die in their 50s.
coddle-hark··on Show HN: MicroTCP, a minimal TCP/IP stack
No OP but I think there’s three parts to really getting TCP/IP:

- Read the spec(s)

- Learn the OS APIs deeply

- Look at a bunch of real network data in e.g. Wireguard

coddle-hark··on The Married Introvert
Yup, this is me too. Married with two kids, met when we were 17, went through uni together.

For me, having a small social circle is just a matter of preference. I don’t know why. I don’t feel uncomfortable in (most) social situations and I have a lot of acquaintances that I’m friendly with. Sometimes I’ll hang out. Most of the times I just don’t want to.

Most of the socialising I do nowadays has a “purpose”. Beers after work, play dates with other parents, tech meetups and so on. If it’s just a random hang out session, I’m sorry but I’d rather hang out with my wife and kids.

coddle-hark··on Tell HN: Doing a chargeback against Google will get your account banned
Or just don’t use gmail. Email is way too important to me (and most people) to risk losing because an automated system thought I broke the TOS of an unrelated Google product. Even if you keep separate accounts, there’s nothing to stop them correlating those accounts and banning you anyway.

Don’t use gmail as your primary email provider.

coddle-hark··on Tell HN: Rust Is Complex
Here’s one: The fact that contexts are used extensively in the standard library but that there’s still no way to cancel a write to an io.Writer. The only way to “cancel” a write on a TCP socket is to set the socket’s “deadline” to some time in the past from another goroutine.
coddle-hark··on Musk’s first email to Twitter staff ends remote work
Hmm it’s almost like we should let the people actually doing the job decide how best to do them, hmmmm
coddle-hark··on GPSJam: Daily Maps of GPS Interference
Since nobody’s asked: How does GPS jamming work?
coddle-hark··on Wrapping Up 2021. Leaving C++
Your use of she/her seems like the result of stereotyping trans people.

Everybody loses when we play this game. You can’t expect people to hunt down the preferred pronouns of everyone that writes an article before discussing said article. Your comment is no more substantive than comments correcting spelling or grammar, it’s just noise and doesn’t contribute to the discussion.

coddle-hark··on Wrapping Up 2021. Leaving C++
It’s xe/xyr according to the linked Twitter profile.
coddle-hark··on At SpaceX, I couldn't stop getting sexually harassed
This comes across as a bad faith interpretation of the comment you’re replying to. I read it as providing additional context and a (slightly?) different perspective, not as an attempt at misrepresenting the article to push an agenda.
coddle-hark··on Bosch gives go-ahead for volume production of silicon carbide chips
Supply is so constrained now (and was even before the chip shortage) that it can take up to a year to get a new car delivered, this changes the depreciation curve a bit.
coddle-hark··on Bosch gives go-ahead for volume production of silicon carbide chips
My local Hyundai dealer told me that buying a new car every 6 months is the cheapest way to own an EV right now.
coddle-hark··on The Paywalled Garden: iOS is Adware (2020)
Imagine it was Verizon Music, Verizon News and Verizon TV+ that came pre-installed. Would you feel the same then? A big selling point of Apple products has been the lack of bloatware found in other platforms.
coddle-hark··on Tell HN: Happy Thanksgiving Everyone
Exec at Sony Music Entertainment here. You are correct.
coddle-hark··on The boring technology behind a one-person Internet company (2018)
It’s almost 2022 and 95% of all backends are still just CRUD.
coddle-hark··on Break into this CEO’s laptop to steal company secrets and plant malware
Meh, I disagree. I find most blog posts nowadays to be way too long. This Twitter thread is short and to the point.
coddle-hark··on Past Performance is Not Indicative of Future Results (2020)
I like the term “data driven algorithm“. It makes it clear to everyone involved that what we’re doing is just adjusting an algorithm based on the data we have. No-one in their right minds would confuse that with building a true “A.I.”.
coddle-hark··on Tesla will not offer a regular steering wheel on new Model S/X
The traditional manufacturers have pretty much caught up already. Hyundai Ioniq 5, Kia EV6, Ford Mustang Mach-E etc. are all competitive with the model 3 (better in some ways, worse in others). There are really good electric alternatives in every price class from small urban to full blown sports car. Tesla’s not the only shop in town anymore!
coddle-hark··on My trust in software, an all time low
Yes that’s what they keep telling me.
coddle-hark··on An Intern’s Guide to Trading
The thing about the stock market is that there’s incredibly powerful incentives for the market to keep growing year after year. These niche markets could crash overnight and no-one would care.
coddle-hark··on Do You Want AI to Be Conscious?
I see this sentiment a lot, that attempts at general AI are improving at an exponential pace, but it’s just not true. Hell, we can’t even agree what consciousness is, let alone how to measure it. The truth is we don’t have a clue how far away we are from true AI, we have literally zero reliable indicators to gauge our progress. It’s not like we have a Moore’s law for consciousness or something like that.

I agree that we should think about these questions ahead of time and not wait around until general AI is upon us though.

coddle-hark··on New Details Emerge on the “Highly Modified Drone” That Outran Police Helicopters
I think 2. can be ruled out. It’s hard to imagine a terrorist group doing this considering the risk of getting caught. Much easier just to drive a truck into a crowd or something.
Page 1 of 8Next →