orangegreen's comments

orangegreen | 1 year ago | on: Styling Tables the Modern CSS Way

Alright, shameless plug. I spend a ton of time trying to style this table of city data I had as nicely as I could. Getting CSS tables to not overflow in containers is a nightmare. I had to use a bit of Javascript to get the scroll shadows working using Intersection Observers.

I like HTML tables but getting them to do what you want can really be tricky.

Check out my table: https://caldwell.org/projects/data/city-index

orangegreen | 4 years ago | on: FDA Approves First Covid-19 Vaccine

It's not really about you. It's about preventing other, more vulnerable people from getting sick. Living in a society means giving up some of your freedoms in exchange for security, and getting vaccinated as a way to help other people should be part of that exchange.

orangegreen | 4 years ago | on: SWE interviews should be paid

Or, once companies start paying for interviews, they start outsourcing all of their work to interviewees, never hiring anyone. I don't think this would ever actually scale well, but if there's any way to exploit labor, corporations are going to figure out how.

orangegreen | 4 years ago | on: Don't attach tooltips to document.body

I agree, I hate how long it takes for the title attribute to show up when hovering over elements. It takes a few seconds, where any decent tooltip will take maybe 0.5 seconds or so to show up. I'd love to be able to style the title attribute for length of time to show up.

Fortunately tooltips are pretty easy to make these days. You don't need Javascript at all to make a nice tooltip. But again, it's a tooltip - it's been done so many times before that it'd be nice to have a native browser version.

orangegreen | 4 years ago | on: The age of the à la carte internet

I am very happy many news sites are now behind paywalls. There is now less of an incentive to drive revenue via clickbait or "picking a fight" as many tabloid journalists are wont to do.

There appears to be some kind of concern that this will put people in their own subscription bubbles. Please. Having a subscription to your city's newspaper or subscribing to a documentary streaming service is a far healthier way of ingesting content than getting put into algorithmic engagement bubbles via social media.

To be fair, most print newspapers were subsidized not necessarily by costing money or traditional advertising, but by classified advertising. Maybe news sites can figure out classifieds next.

orangegreen | 4 years ago | on: Assembler CSS, a modern utility-first framework

I'm not sure why utility frameworks are so popular. It seems like Sass solves most of the problems of vanilla CSS. Writing Sass is not only quicker and more powerful than regular CSS, but you can also create your own utility classes very easily with loops.

Moving CSS into HTML does not makes much sense either, as it's far stylistically cleaner to separate CSS and HTML into their respective files.

Plus, if you have two elements with the same or similar styling, re-writing all those utility classes over and over seems extremely cumbersome. Why not just write the class name and use it everywhere it needs to be used? .button or .button-primary is far simpler than writing out inline CSS over and over again.

orangegreen | 4 years ago | on: The World of CSS Transforms

What did people do before CSS transforms?

I've been making an app with React Native and react-native-svg and even though react-native-svg supports transformations, I've had to do a lot of transforms with trigonometry (i.e. rotating a shape around a center point, then getting the new bounding box, which requires things such as Math.atan2).

It's made me really appreciate 1. how much easier front end web development is and 2. how far we've gotten. I cannot tell you how much I appreciate web methods like getBoundingClientRect() or element.closest(), and how easy it is to make animations with CSS and move things around with transforms.

orangegreen | 4 years ago | on: New Laptop: Thinkpad P14s

I've bought numerous Thinkpads and I still can't find myself using them daily because of the awful trackpads. It's not even the tracking, it's the amount of force you need to put on the trackpad to get it to register a click. Also the lack of media keys on Thinkpads is outdated and annoying. If Lenovo fixes these two things I'd gladly use a Thinkpad as my daily laptop.

orangegreen | 4 years ago | on: 1 out of every 153 American workers is an Amazon employee

You can use eBay if you don't want to use Amazon. Plus, you can even sell your stuff on eBay when you're done using it. I've never been an Amazon customer and don't plan on ever being one. I buy most things used too, saving lots of money along the way.

orangegreen | 4 years ago | on: Amazon has ruined search and Google is in on it

Does anyone know any good alternate search keywords when trying to find "Best x under x?" Content marketers already know that people search "Best x" when doing shopping research, so I wonder if there are alternative keywords that have less spammy results.

orangegreen | 4 years ago | on: To H-E-Double-Hockey-Sticks with Facebook

What I really dislike now about YouTube's algorithm is its insistence on showing short videos. I do not come to YouTube to watch 30 second videos. If I want to watch short videos I'd go to Instagram or Tiktok. Yet, no. I am bombarded with short videos.

I removed the videos from showing up on the home page with some CSS, so now I solely rely on related videos for non-subscription content. Those seem to be delivered based on engagement so they're usually longer. Unfortunately, half the time they're hour long videos.

Come on YouTube, just give me a 5-10 minute video.

orangegreen | 4 years ago | on: Ask HN: Anyone here built successful SaaS/startup just for money?

A good start up has a good business plan. Making money from your business can be a very interesting endeavor. But you have to at least be interested in the product in some way, or else you'll eventually give up.

Phil Knight started Blue Ribbon/Nike as reseller of Onitsuka Tiger shoes from Japan. He was clearly in it for the money. But he was also a track runner and believed in the product himself.

You also really don't need to change the world with a product. Just make something you want yourself, or something that adds value to people's lives. It doesn't need to be a billion dollar idea. Just something useful.

orangegreen | 4 years ago | on: Runway – Create impossible video

The auto-rotoscoping feature seems very useful if it works well. Auto-rotoscoping in After Effects can be extremely finicky and usually requires frame-by-frame touch ups. This would be very useful for people without green screens.
page 1