Hacker News new | past | comments | ask | show | jobs | submit | Jaygles's comments login

Identifying areas to improve is how we make progress

Being more judicious about who you wank in front of, for example. (Just in case the reference isn't obvious, I'm not talking about either wmf or Jaygles here.)

> especially as every id must be unique.

Although a very consistent convention, there are no guardrails put in place to prevent something from setting the same id on two or more elements.

getElementById will return the first element that it finds with the id, but you can't know for sure if it is the only one without additional checks


Companies that aggregate and sell data suck up all of the obituaries as they are public record and unburdened by regulations on sharing and selling it. Although it may not be in its original form (as far as I know), info from obituaries may actually be positioned to survive a very long time.


The best use I've gotten out of LLMs is as an autocomplete. I use Cursor at work, and it's pretty good at consistently calculating the next 10-20 characters I want to type out. Anything longer, save for some situations where the changes I'm making are super repetitive, the quality dives off a cliff.

I've yet to coax out good/working code of significant complexity from these models without putting an amount of effort into prompting that would be greater than just working it through myself without any LLM assistance.

The use I do get out of Cursor can save a lot of time for me, so I do think it's a productivity boost as is.


In the US, a person can get a new SSN if their current SSN is heavily used in identity fraud. I've heard its a high bar, but technically a person can be associated with more than one SSN.

Getting an SSN for your child isn't compulsory, so the system also isn't expected to hold every person.

For the majority of people, it's 1-to-1. But it's not guaranteed that an SSN identifies a person (if it's been replaced) or that a person has an SSN (if their parents were lazy or are sov-cits)


Same, although most of the LinkedIn profiles of the recruiters are incredibly sparse. For me some of it might be scammy/spammy


How much of that code and dependency reduction is due to having the entire app to use as a spec? How can you be so sure this new stack won't be "abandoned"? (Vue has received regular updates for 11 years)


Vue 2.x is NOT receiving updates. Not even security updates. Its abandonware.

I had to ask myself if it was worth the hassle to update to 3.x and risk the same thing happening again. The answer was no.

The new stack is Django (which the backend was already written in). Will it stop receiving updates? Extremely unlikely, conserving they have been preserving upgrade paths for the last 20 years and has a solid foundation supporting it.

The supporting ui libraries like htmx and alpine could conceivably become abandoned. The big difference is that they can be vendored easily.

I checked the vue project and it has 1500 transitive dependencies. The new “stack” has a whopping total of 7.

On top of that there is no build step to maintain. Also it’s straight up way faster.


htmx will not be abandoned as long as I'm alive, and the API will not change significantly either

i am hoping my oldest son gets interested in computer programming and can take over as the lead eventually


Hey! Whether your son takes over or not, the larger point I was trying to make is that worst case I can vendor htmx.js with my app and keep it going for a long, long time.

Same can’t be said for the vue app and its 1500 dependencies + web pack build chain. At least not as easily.


> i am hoping my oldest son gets interested in computer programming and can take over as the lead eventually

Sacrificing the first born as god intended.


I haven't done any real web development in over 20 years, but will soon have to build some sort of dynamic web site. I toyed with React 8 or 9 years ago (though never did anything with it, really), and found everything out there to be large and clunky and difficult to work with.

I came across htmx a while back and have kept it in the back of my mind as something to potentially use if I ever had to build something. I'm glad this article came up on HN, and your comment here... makes me really want to build something with htmx!


Primogeniture is an underrated project leadership policy.

You will need a Latin motto on your coat of arms. Something like "Simplex sigillum veri".


nemo codeo appendium lacessit


> Vue 2.x is NOT receiving updates. Not even security updates. Its abandonware.

I algo got burned with Vue 2 at one point. Pretty amazing considering Vue is quite popular. Recently went over 1M daily downloads.

https://npm-stat.com/charts.html?package=vue

I don't think even jQuery had so many downloads back in its heyday but it has maintained its API and methodology after all these years.


I think npm stats aren’t even the same thing as number of jquery downloads. I bet 99% of the downloads off npm are automated jobs like CI.


Not OP, and this was Hotwire Rails with Stimulus but I also saw a similar reduction in moving a page from React to Hotwire. It was actually a new page, with significant changes so couldn't be trumped up to just a rewrite. But this was easily 1/10th if not more of a reduction in LOC than the similar React app it was replacing, with the more features, and a like a 90% increase in performance.


No consequences, the cost can be great, and it can negatively impact productivity by introducing hurdles to legitimate uses. Those are immense pressures a soulless company will need to overcome to do the right thing.


.


I don't know fully what your math was showing but this is my math.

sesame: 0.7 million

FARE citation: https://www.foodallergy.org/sites/default/files/2020-06/FARE...

US Population: 341mm

341 * .002 = 0.682mm

Some rounding errors but I think math stands.


> 0.2% of the current US population is 6.6 million people.

Math doesn't check out.

> If you hosted an event of 500 people, you could expect around 10 people to have a sesame allergy.

Same.

> 65,000 [...] ~1,300

Again.


1 person, not 10, and 130, not 1,300. Doesn't really affect your point, though.


> "It was the easiest thing I've ever applied for," McDonough said. "I just filled out paperwork and submitted it and I was approved."

It really is scary how easy it is to sign your life away. A lot of people aren't able to fully understand the risk they are taking on

> "Regulation Z, which is part of the Truth in Lending Act," Kelly said. "It requires that monthly statements be sent if there is interest assessed on a mortgage."

> In many cases, she says, that just never happened. The homeowners never received any kind of communication about these loans for years. And debt collectors piled on massive amounts of interest and late fees retroactively.

There should be a cap on how much interest a loan can accrue. Maybe 1.5x or 2x the amount of the loan.


If there is a requirement to send statements and it’s not met for _years_. The loan should be nullified.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: