Hacker Newsnew | past | comments | ask | show | jobs | submit | justinko's commentslogin

You should know only what you need to know to solve a problem.


My contrasting advice is that you should use the problems you're facing as opportunities to learn and practice the wider competencies that will allow you to gradually take on bigger and more interesting problems.


Same. It’s amazing for frontend.


As a front-of-the-frontend guy, I think it's terrible with CSS and SVG and just okay with HTML.

I work at a shop where we do all custom frontend work and it's just not up to the task. And, while it has chipped in on some accessibility features for me, I wouldn't trust it to do that unsupervised. Even semantic HTML is a mixed bag: if you point out something is a figure/figcaption it'll probably do it right, but I haven't found that it'll intuit these things and get it right on the first try.

But I'd imagine if you don't care about the frontend looking original or even good, and you stick really closely to something like tailwind, it could output something good enough.

And critically, I think a lot of times the hardest part of frontend work is starting, getting that first iteration out. LLMs are good for that. Actually got me over the hump on a little personal page I made a month or so ago and it was a massive help. Put out something that looked terrible but gave me what I needed to move forward.


It's astonishing. A bit scary actually. Can easily see the role of front-end slowly morphing into a single person team managing a set of AI tools. More of an architecture role.


A yes I’m more of a backend guy that loves tailwind.


Is this because they had the entire web to train on, code + output and semantics in every page?


I guess it’s because modern front-end “development” is mostly about copying huge amounts of pointless boilerplate and slightly modifying it, which LLMs are really good at.


It's moreso that a backend developer can now throw together a frontend and vice-versa without relying on a team member or needing to set aside time to internalize all the necessary concepts to just make that other part of the system work. I imagine even a full-stack developer will find benefits.


So we are all back to be webmasters :)


This has nothing to do with what they asked.


Copilot is going to feel "amazing" at helping you quickly work within just about any subject that you're not already an expert in.

Whether or not a general purpose foundation model for coding is trained on more backend or frontend code is largely irrelevant in this specific context.


Found the bot.


I’m not sure how this was extended and refined but there are sure a lot of signs of open source code being used heavily (at least early on). It would make sense to test model fit with the web at large.


If I can't copy/paste HTML, not interested.


There is an experimental feature that allows you to use ERB templates like ViewComponent. https://github.com/phlex-ruby/phlex/pull/867


The world’s most popular programming language that’s also the ugliest.


For all of Python's faults, being called ugly is the one I'd least expect. Am curious, what language do you consider syntactically "pretty"?


Always take magnesium with vit D. Ask an LLM why.


I do take magnesium, but I could try to up it when I take D. Thanks


Once again, Rails is ahead of the curve on this:

https://github.com/rails/rails/pull/54693


It also gave us sleep apnea.

Agriculture was without a doubt the worst thing to ever happen to us.


Na, the worst thing to ever happen to us was hyperbole.


Don't you still have the freedom to eat like a pre agriculture human now?

Just buy some meat and nuts? What exactly is different?


Nothing stopping you from reversing the trend and start hunting if your sleep apnea is so bad.


Nothing but the fact that agriculturally-based civilization has already claimed the land, cleared the forests, farmed the grasslands, and killed off the wild animals, so you'd spend your time starving to death and hiding from game wardens: but at least you'd get better sleep, maybe.


There are lots of places you can still hunt (or trap) and gather. The actual problem most people would face is (a) they're not very good at it and (b) it's extremely tedious.


You can still hunt and trap a little, sure, but I took the previous commenter to be suggesting that one could trade agricultural civilization for a hunter-gatherer lifestyle, and I can't see how a person could get enough calories to survive that way without egregiously violating bag limits. Maybe up in Alaska or the Yukon you could still get away with it, but here in Washington, a little quick math suggests that hunting all the deer and game birds you're allowed in a year would only keep you fed for 6-8 weeks.


Fishing is also an option to supplement.


I don't know much about fishing, but the Fish & Wildlife website mentions daily rather than seasonal limits, so perhaps you could make it through a year that way - but hunting would be the supplement, as you'd have to live primarily on fish!


If you read old books, there's a fact that becomes very clear: The land was abundant with wildlife before industrialized agriculture.

Of course there's more wild land than cultured land still today, but the best and most fertile land has been taken for agriculture.


Two words: Hotwire Native


I'll look this up later tonight. Is Hotwire using the same approach as Capacitor / Ionic?


Please enable for Cuba for my girlfriend :-(


Sorry bro, human biology is infinitely more complex than your CRUD app.


Oh... I agree.. I'm just shocked at the attitude.

i.e. "We don't quite know how it works... but statistically we think it will help, with these side-effects.. good luck" <gasp>


Yes, I remember learning about this issue with psychiatric medications and being similarly dismayed.

There is a sub-field called Computational Psychiatry [1] trying to do better. And interestingly, a person could argue that randomized controlled trials for medicine are only really necessary because we don't have good enough theory and/or good enough measurement devices. If we did, we could reliably predict the effects of a medication without the trial.

[1] https://www.nature.com/articles/nn.4238


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

Search: