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

One of the main "problems" we solved with adopting styled-components back in 2016 was styles colocation where more junior members managed to create a several thousand line CSS file with a mess of selectors which we couldn't safely figure out which is used where.

My current plan is to transition to CSS Modules which should allow preserving most (if not all) of the current styled-components DX and advantages.


What is the best approach to have something like context7 for internal tools and libraries?


context7 is open source: https://github.com/upstash/context7


My fellow designer friends would often do this. But they would start from actual fonts and do slight (or more than slight) adjustments to them to match what they wanted as an outcome.


Yes but if you mess with fonts too much, then this can happen:

https://www.youtube.com/watch?v=snjCj0ntG8E


> Meanwhile, engineers are using it for code completion and as a Google search alternative.

Yep, that's the usefulness right now.


In my experience it's far less useful than simple auto complete. It makes things up for even small amounts of code that I have to pause my flow to correct. Also, without actually googling you don't get any context or understanding of what it's writing.


I found it to be more distracting recently. Suggestions that are too long or written in a different style make me lose my own thread of logic that I'm trying to weave .

I've had to switch it off for periods to maintain flow.


I might have like a cargo bike if I didn't like on top of a hill. And if I didn't have 6 months of cold dark weather with snow / ice covering the roads.


I live on the top of a hill and have 6 months of dark cold weather with snow and I use a cargo bike for around 12kms every day. The roads are covered with salt to prevent the ice though. Works fine overall.


> snow / ice covering the roads.

Ice is not problem with studded tires. And isn't snow is usually plowed from the roads so cars or bikes could pass?


It only snows when it's warm (say, -10 C). Plows smear the snow into a thin layer. Then a high moves in so the temperature drops and you get asphalt covered in sheer ice that just gets polished by the sun and subsequent plowing.

In some places there's Winter, not just the pause between autumn and spring.


They might be for major roads in major cities eventually, but most of the streets are pretty terrible for anything smaller than a car whenever it’s snows periodically.


Have you ever tried cycling in actual Winter, with ice, snow and slush?


Just search "Netherlands bicycle snowing" on Google Images to see how normal it is. The top results show both children and the elderly cycling on ice and slush and snow.


Yes it is normal here, but it is also hilariously fraught with low-stakes peril. Dumpert always has vids of people busting their ass trying to make a turn or they hit an icy patch every year. I've had a couple of falls on ice here and I am not confident of my resilience long term doing that as I get older. So I avoid biking when it is frozen. But since that is only like a week or two out of the year, it is no big deal


I've ridden my bike in pretty much any condition. When it's icy, I ride with lower pressure in the tires, snow and slush is usually doable, the only thing that really sucks is when it gets cold again after a warmer day and the roads or covered with frozen slush, that's where I get off and push my bike.

It really depends on how well the roads are maintained, this winter they were quite good at clearing the snow in my city, so it wasn't much of an issue.


Yup, I do it every Scandinavian winter on a beater mountain bike that I have an extra set of wheels with studded tyres for the sketchiest days of ice-y conditions. When it's just snow/packed snow the usual deep grooved MTB tyres handle it quite well.


Yes. Not too much in slush though, it was usually far too cold for there to be any slush.

I took the bus when it got to -30, though. Or, as they reported it then, a wind chill of 2400 watts per square meter.


Personally yes, every day to the train station on my way to work.

The bike paths are a bit less busy but basically nobody changes their behavior except to go slower around the icy corners.

This is in Netherlands


Bit less busy == many folks changing their behavior.


I mean yeah some switch to transit, but there are still lots of people on bikes. I guess I shouldn’t have said nobody changes their behavior, but rather that it’s common and totally fine to ride in those conditions, as evidenced by many people doing it in my daily commute.


Sorry, my comment was pedantic and unhelpful.

Better comment:

I'd think that many people still commuting, doesn't erase the fact that cargo bikes (the thread topic) don't do well in those conditions.

And a critical factor is, hills. I live in a countryside that alternates between flatlands and all-hills. The towns are all around rivers (the pioneers needed water) and built close to them, and it's very hilly around rivers.

So here our experience is different from, say, the flattest country on earth.


I live in Tromsø and I'd say the amount of bikes, which is high, barely drops during winter. They just swap tires.


have you?


If you find cycling up hill difficult then an electric cargo bike should solve that problem for you.


I just booted up my 2009 MacBook Pro since it's the only machine I still have with a CD/DVD drive. Some keys are not working (eg R, T, P, probably others) so I had to use the accessibility on screen keyboard.

I was surprised it still booted up and I was able to use the optical drive.


5. Hallucinate receiving money from hallucinated customers


The money in AI generally comes from hallucinating VCs, not customers.


Thank you for this, I had trouble figuring out how to try out Dalle from ChatGPT


I wonder, wouldn't we be able to dump it into some flat spaces, allow the water to evaporate and then harvest the salt that remains?


The brine more often than not contains traces of pretreatment chemicals, heavy metals, and other byproducts. It's frequently treated before being disposed of. Methods include pumping it down to the ocean floor or mixing with a source of less salty (wastewater/hydro) runoff. Removing the trace chemicals to make salt out of the brine would be prohibitively expensive.


> 4. How is this better or worse than making progress through asking questions on X/Reddit/mailing lists/IRC/Usenet/your local library? I'll tell you: it doesn't irritate other people as much, and it's likely a lot more efficient. I get it, "I spent 20 minutes with an LLM and made a one-page HTML website!" doesn't sound impressive, until you compare it - about a year ago - "I spent two days going through awful ad-laden tutorials and made a one-page HTML website!".

I think this is the money-shot. LLM's (specifically ChatGPT) have helped me debug weird issues, and help get started with new technologies / libraries where searching for the issues on Google did not yield (good) results.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: