Better HN
topnewbestaskshowjobs
Log inSign up

CSSer

2,366 karma · joined Mar 15, 2019 (7y ago) · 973 submissions

Sometimes fascinated by pieces of cheese
Submissions

comment 3y ago · link · parent

The web has given me an amazing career and life (that I feel is still very much only getting started). I’m always happy to contribute when I can.

That being said, I wish I could better articulate my opposition to No. 4. I think it’s because it immediately strikes me as a typo, like if someone was editing some CSS, deleted a selector and then forgot to write a new one back in before committing their work. Others seem to suggest that formatting addresses this, but I’m uncomfortable with that because it’s very subjective.

comment 3y ago · link · parent

Hm, could you provide one as an example? I’m kidding. That’s fair. I was just thinking of ASCII. How many services live up to AWS’ standards?

comment 3y ago · link · parent

I’m very much aware of the differences in format and effort. The idea was only tangentially related :/

Also, at the risk of being pedantic, yes, some semblance of the password is definitely there. Someone can happily go off and try to brute force it.

comment 3y ago · link · parent

I forget the exact details, but if I recall correctly you can crack md5 with a for loop in PHP because you can just iterate through the full character set. Maybe it would take awhile but having seen it in action for shorter examples I doubt that’s going to stop someone sufficiently motivated. Then again, at that point I guess they’d just opt for a tool like hashcat.

comment 3y ago · link · parent

Wow. I’m really surprised so many people have voted for option 3 so far. Option 5 feels much more in line with the rest of the other proposals and features in CSS, and option 3 introduces at least one quirk we’ll have to internalize and teach to everyone forever. Those suck. I have to teach those kinds of things to juniors until my throat is sore some days.

I don’t have much of substance to say about option 4 other than that it just feels… gross. I’m sorry, but those butterfly brackets are really extra.

Circling back, I think my preference for option 5 is that I personally moved away from nesting with preprocessors after watching too many developers create specificity bombs in their CSS from selectors nested 4 or 5 layers deep. I think it makes sense for this syntax to have a clear, distinct weight to it. CSS should be meant to be read just like all other code.

Finally, and I won’t spend too much time on this because I’m not trying to be a detractor, I’m not sure this is really high up on my wishlist anymore. Component-based design has changed a lot about the way I write CSS. I’ve found that I write a lot fewer highly-specific selectors these days, and I never have to bother with heavy id/class syntax conventions like BEM anymore for things to be easy to understand either. Those two things alone were big, dangerous motivators for me to use or encounter nesting. Anyway, I voted for option 5.

comment 3y ago · link · parent

Or md5. I wouldn’t be surprised to see that from some in PHP land.

comment 3y ago · link · parent

It’s also kind of insulting to those of us who go out of our way to safely fly drones recreationally. More and more drones you purchase today have built-in GPS transponders. I’m notified when airplanes are nearby even at altitudes I can’t reach, and I can tell you what kind of air space I’m in easily. I’m registered with the FAA as required, and I’ve taken more safety courses than I need, mostly because I wouldn’t mind getting my part 107.

I tell everyone these things are not for kids, especially the $1K+ drones capable of high altitudes and speeds. If you go online and find a video of someone doing something stupid, you’ll find an army of enthusiasts telling them so in the comments because they want to preserve the hobby.

comment 3y ago · link · parent

Of course. From what I can tell, there is virtually zero effort to create, accommodate, or contribute to adapters that allow Next.js to run at bug-free, full (or close to full) performance on any other turn-key serverless platforms i.e. Netlify or Amplify. I think Next.js' poor performance on Netlify ultimately reflects poorly on Vercel as much as it does on Netlify, for better or worse. We (the customers) are being swept up in what appears to be your skirmish.

Meanwhile, Next.js is becoming increasingly opinionated in ways that make it difficult to justify ongoing investment. Turbopack was announced without any commitment for plugins, for example. Hats off to your team for being able to attract and retain talent, but I (and I suspect many others) have a growing sense of anxiety centered around the fact that you can pull the rug out from under the rest of the ecosystem at any time. In exchange for that we're being given incremental build performance improvements and more configuration requirements that we could live without on all sides.

It's untenable to try to secure commitment to migrate a plethora of sites implemented in a given framework to its parent platform when that platform effectively appears hostile towards alternatives.

comment 3y ago · link · parent

Someone at Shopify might want to consider hip-checking Ryan if they’d like Remix to go somewhere. He doesn’t seem articulate enough or in the right position to have this conversation. I’m not taking sides here. This whole Next.js (and Netlify) situation is fast becoming a mess. Ryan has a point buried in his hot take somewhere. Lee is basically lying by omission and distraction. Matt is overwhelmed and maybe even a bit naive.

I’m not sure what the solution is. It’s driven us to consider going back to basics by building our own internal SSG React framework to avoid the intermittent grief of running Next.js on Netlify. It’s sad because there are things we like about all parties involved here.

comment 3y ago · link · parent

Why not just use a mouse? Grab a mousepad, slap it down next to you and put a keyboard in your lap. Lean back and have fun. Depending on your couch’s material and your mouse’s DPI, you may not even need a mousepad.

comment 3y ago · link · parent

Obviously I agree. I suppose I got here because this industry often seems laser-focused on CTOs, 10x engineers, and individuals with a generally accepted as outstanding level of knowledge in some niche field or specialization. This guy has none of that, hence “mediocre” but I agree he’s anything but.

comment 3y ago · link · parent

The VP of my company is like this. When I started he was an operations director. He amazes me. He’s an older guy that physically seems half his age. The only indicator to the contrary are some fine lines and his completely gray-white hair. He’s somehow incredibly even-tempered with a dry wit. I’ve worked with him for four years, and I’ve seen him make an upset face exactly once.

What’s even crazier is that I’ve had scenarios where I needed something and my supervisors made it seem like it would take eons to get it because they don’t understand it. They’d want me to write a report or something to that effect. Same five minute conversation revisited with him in the room? He listens, asks a few questions (mostly about how it’ll impact our budget), and then says something like, “Okay, sounds like we need this,” and boom! Done.

He’s not a programmer. He has no technical experience or background. He just seems to have a fine-tuned compass for what is and isn’t a big deal. I’ve never had the feeling that he didn’t trust me about something that I 100% feel is what needs to be done. Yet he’s still taught me things I didn’t know. It’s weird.

comment 3y ago · link · parent

Therein lies the rub. Consumer welfare has no definition[0].

[0]: https://deliverypdf.ssrn.com/delivery.php?ID=897001005069000...

comment 4y ago · link · parent

This is pretty funny. It’s like how tomatoes are bad for you because they’re in the nightshade family. I suppose moderation is all I can suggest.

comment 4y ago · link · parent

Ah, I see. I love the template idea. I had to look this up just now, but do you mean copy paper? Apparently copy paper is typically a bit thinner and not as bright white. I think my problem may be that I was originally picturing high-end, color quality paper.

I might try this out.

comment 4y ago · link · parent

> It's also possible that someone is trying to increase the percentage of searches that have location information, that doesn't seem terribly far-fetched either, and I can imagine lots of ways people could try to rationalize it as actually benefiting users.

Could you speak more to how this kind of thing figuratively plays out? With privacy on most of our (tech-focused) minds, I’m mostly curious how openly an initiative like this is/would be carried out. Would you imagine it as a buried lede or as a very transparent, explicit OKR?

comment 4y ago · link · parent

Have you considered buying loose leaf notebook paper instead of printer paper? You get lines and I’d imagine it’s even cheaper.

comment 4y ago · link · parent

Out of curiosity, what’s the motivation to error suppress the mkdir call here (my PHP is rusty)? Anyway, this is great. Thank you for sharing!

comment 4y ago · link · parent

I had the privilege to get a behind the scenes tour of a winery once because a friend’s family were the owners. They had some pretty sophisticated lab equipment. You could drop in a sample and it could tell you all sorts of things about its chemical makeup (magic to me because I never took much Chemistry). I asked them what sample attribute had the highest correlation with sales and without even hesitating they told me it was sugar content. They said their best selling wine was also their sweetest. They even said it was a pretty strong correlation that held all the way down the line from sweet, citrusy varietals to tannin-rich, cottony varietals. I think I was even told they could sometimes observe the effect from year to year if one vintage crop happened to be a little more or less sweet than the last year.

Now, for the record, I take the same approach you and GP mentioned here. I happen to prefer pretty dry wines too, but I’ve gotta admit knowing this shook me a little.

comment 4y ago · link · parent

I did this for awhile with DDG. I had to do it so much I switched back to save myself typing those two extra characters 90+% of the time.

comment 4y ago · link · parent

A lot of this comes down to available resources too. I used to hate how many third party things we used on principle and because I directly felt all the pain of tying them together. Now I’m a lead and I still dislike it but because I have a realistic read on how much bandwidth my team has I think this has balanced my view. I also still feel the pain but sometimes more indirectly (code reviews, for example).

I think where I still struggle is “rules for thee but not for me”. At some point, someone on the team (usually the person in charge) is just going to be better at picking which external libs to let in. I find this really hard to teach without it seeming arbitrary. I find it a lot easier to teach good coding habits.

comment 4y ago · link · parent

Your point about the attention required was my takeaway too. I traded paper in college for awhile out of curiosity, and I made a decent amount of "money" doing it too! I was surprised by this because I thought the stock market was insanely difficult to understand and constantly unpredictable beforehand.

It was like that but not as often as I expected. For example, intraday movements could often happen at very predictable times. It can also be very cargo cult. Things like technical analysis seem to work (until they don't) only because enough people believe they will, so the signal to noise ratio can be very hard to suss out.

Ultimately the time required and risk tolerance for those moonshot chances just didn't add up.

comment 4y ago · link · parent

That’s what I mean. I was surprised I didn’t find what you wrote in the article.

comment 4y ago · link · parent

This sounds like the Margaret I. King library building AKA the Science & Engineering library. Otherwise, I'm not sure which library they're referring to. Interestingly, there was a subway on campus too. I wonder if it was that one, by chance. Small world.

source: UK is my alma mater.

comment 4y ago · link · parent

This is all very cool but how did I make it through this entire article without reading the word SONAR once? They even discuss underwater exploration robots using sound to navigate a space.

comment 4y ago · link · parent

You mean in a timely manner, right? Because the crazy thing is that they did follow through on FaceTime. It just took them nearly a decade. Seeing all of this now, one might wonder if there were certain legal motivations for that.

comment 4y ago · link · parent

Does distant/muffled coffee shop music fall under limited forms? I’m like you but I’ve found lately that this works for me. I’m beginning to suspect the fidelity of modern consumer speakers and headphones are just too good for focus because they seize my attention. It makes me wonder what would happen if I tried an EQ that cut bass/mids.

My problem is that “focus” music is often pretty repetitive. It can drive me nuts if I listen to it for 8 hours.

comment 4y ago · link · parent

Perhaps a function but I don’t think I would go so far as to say primary. They also lugged their stuff around and handled all of the boring parts of life, like opening doors, writing letters and so on, that they didn’t want to deal with.
1
202122
33