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

Agreed, but is it about the way you use online banking or is it about security? I think it's interesting to consider because at the point where "security" starts to impact UX, you have to really scrutinize the difference between what's actually making an impact on your security and what's just theater.

comment 3y ago · link · parent

Sure, I wouldn't either. When I said the majority of things, I meant literature, documentation, and common legal documents, not so much advanced theoretical papers or if I'm being completely honest, most things in mathematics. I re-read those too.

comment 3y ago · link · parent

I minored in Undergrad. I thought the program would be easy because the credit hours required was lower compared to other similar program's requirements. Boy was I wrong. When I took metaphysics the reading list in the syllabus was roughly as large as your average English Lit. course, but I probably spent twice as much time on that 300-level three hour class as I ever spent on any other similar class. I pride myself in my reading comprehension skills. Even today I typically only have to read the majority of things once before understanding it. I think I re-read everything in that class at least twice if not more depending on the philosopher.

comment 3y ago · link · parent

I wish we could achieve this for package management in almost any ecosystem. It's got me pretty bummed lately.

comment 3y ago · link · parent

They call it “micro-dosing”. Lots of people experiment with it. You can probably find out more on reddit or something. I can’t personally say.

comment 3y ago · link · parent

Geez that’s disturbing. I clicked having no qualms with nudes, artistic or otherwise. I’m not a prude. I’ve seen my fair share of anime girls and AI nudes. Hell, I was raised on the internet before parental settings were a thing, but I didn’t expect that. It’s so gross how it toes a line too.

comment 3y ago · link · parent

Some of this is straight up soft-core child porn. This is fucked up.

comment 3y ago · link · parent

Do you think of firing someone as something mean or unintelligent? He sounds like someone I’d love to meet but your comment interests me because I’ve never really thought of these characteristics as relevant to that kind of decision.

comment 3y ago · link · parent

Thank you so much for taking the initiative to learn and grow from that experience. My team is in the fledging stages of using Supabase to rebuild a mission-critical application for our company. We were initially disappointed with what we found in terms of CI/CD and local development but we liked Supabase enough for other reasons to keep moving forward with it. I'm really glad we did because I think this has the potential to be a major boon for the productivity and efficiency of building and maintaining our project over time. I get the impression that you're making really good calls as it relates to your roadmap, and I'm really looking forward to exploring these workflows and sharing what I find with my team. Thanks again!

comment 3y ago · link · parent

Not quite. Passengers without seat belts are a hazard to other individuals in the vehicle too. https://m.youtube.com/watch?v=y3InF19dzlM

comment 3y ago · link · parent

Nice use of scroll snapping!

comment 3y ago · link · parent

If I follow what you're saying I suppose my understanding could be wrong, but there's no "cloud transfer" required. It's just a matter of both the distribution and the configured origin being on AWS. If the origin doesn't direct traffic outside of the datacenter, AWS doesn't bill that as egress to whoever owns the origin. The Cloudfront distribution, on the other hand, will take the hit once it exceeds the free tier because it's the AWS service distributing data to end-users. It has to make a request to the AWS internal service then cache it, so The SaaS lambda or s3 bucket or EC2 instance or whatever they're using is none-the-wiser. It's just how the AWS billing mechanism works.

comment 3y ago · link · parent

I ran into a SaaS company recently that had a guide for how to setup a white-label domain using route 53 and Cloudfront for one of their services. The SaaS company charges for service bandwidth usage, and they host their infrastructure on AWS, so if you opt to follow their guide they get a fat margin bump in the form of avoiding an egress charge and you get to be double-charged for bandwidth. You've gotta love it.

comment 3y ago · link · parent

Does anyone else hear a kind of background static in these samples? It almost sounds like part of the track is more compressed in terms of dynamic range than other parts, which doesn't make any sense to me. I'm trying to decide if this is my own confirmation bias at work or not.

comment 3y ago · link · parent

I agree that it's really important to periodically check the pulse of where your team is at for stuff like this. I think part of the reason I lead the team I do is because I was encouraged to lean very hard into vanilla JS at the outset of my career and use tools sparingly. We're not nearly as "pure" as you state here, but I've been able to apply that experience to working with my team when it comes to discussing what we allow in and coaching them. It makes a big difference.

comment 3y ago · link · parent

1) My heart goes out to you here. I feel like re-adapting any existing styles to work in or with a new system can be a real challenge, and I'd hate to have to make it work. I've tried this once in an environment where it would have to mesh into a larger system with prefixes/important. I gave up and wrote vanilla. Tailwind just doesn't seem like a good fit there.

2) They have a couple of pseudo-selectors but just largely don't use them if we need the cascade. We just write vanilla instead, but it's funny how often that isn't required. When things need to be dynamic we'll often use the classnames library.

3) This is really interesting because we haven't really experienced this. I wonder if it's framework or ecosystem specific. I often find opinions vary broadly across these lines because of what you noted about the variance in dev flow.

comment 3y ago · link · parent

I think you're more or less described what the end-result for Tailwind is. Tailwind doesn't prevent you from writing vanilla CSS in any way, shape or form. It's a big part of why all the hate often feels so weird. People largely just seem to hate seeing it. I've never read one of these articles where people could resist subjectively calling out what amounts to, "Well, it's ugly!".

comment 3y ago · link · parent

You're not crazy. I've used Tailwind to accomplish 75% of the work required to rebrand an enterprise website with over 6k pages of unique content by updating only the Tailwind config. It's not perfect, but it's a reliably productive enough system as far as I'm concerned.

comment 3y ago · link · parent

There are a lot of arguments I've heard in this article rehashed time and time again to the point that I feel if I were Adam Wathan (Tailwind Creator) I'd just read this, shake my head, and move on. No one is holding anyone over a barrel. You still have to have your head screwed on right when you write code, and a failure to do so is not a condemnation of the tool by itself.

Tailwind has tons of good escape hatches, and many of these arguments about terrible maintenance are just rubbish. I use the developer tools with Tailwind all the time when debugging. I just pick a test case, write an inline style to demo an override, then go back and update my styles. I still write a lot of custom CSS when it's called for, modern features, included with Tailwind. Now it's easier to spot those more complex features in a much shorter stylesheet.

I've explained carefully to my junior developers that Tailwind is a tool to make it easier to generate and manage a standardized, reusable design language in CSS that is expressed through JavaScript without inflicting a performance penalty on the end-user. It's not a panacea. As much as it has grown and prospered, we still look at it as an extension of PostCSS, not a replacement for CSS. I stress to my team that learning and writing real CSS is still necessary, and that our goal should always be to look out for ways to not use Tailwind or to eliminate it when it makes sense to do so.

I'd love to hear more about scoped styles, especially why they were deprecated by browser vendors. I'd be interested in seeing some data about performance penalties from HTML parsing too. I personally haven't noticed anything that could make a difference no matter how "ugly" it is. I guess I just want to stress my/our open-mindedness. I don't understand why Tailwind has become such a religious topic of discussion for CSS. I remember when writing CSS was a lot harder before Tailwind and lots of other really nice CSS features were around. I feel like we've come a long way.

comment 3y ago · link · parent

This man (Clarence Lushbaugh) was also involved in a controversial research program where they exposed human test subjects to varying degrees of radiation by having them sit in test chambers disguised as waiting rooms. Later, he was promoted. Of the controversy he remarked, "Only God can retire me," according to Wikipedia[0]. I've verified the citation as present on page 44 of the Sept./Oct. 1981 of Mother Jones towards the bottom of the first column[1]. This was published 15 years before the date of the trial in the current discussion. I'm sensing a pattern.

[0]: https://en.wikipedia.org/wiki/Clarence_Lushbaugh#:~:text=Onl...

[1]: https://books.google.com/books?id=aeYDAAAAMBAJ&lpg=PA31&pg=P...

comment 3y ago · link · parent

> general knowledge questions, programming help, translation, or writing.

They get all of these wrong too. It's like some AI-specific variant of the Gell-man amnesia effect. It's usually right in the first sentence, but if you really know the answer, it's often either very debatable or completely wrong by the halfway mark of the paragraph. Meanwhile, the associated brand authority is problematic.

comment 3y ago · link · parent

The thing is that they never have to liquidate. They’re given an outsized leverage because any bank will lend them money with the assets as collateral, and they never have to pay tax on that cash (unless you consider low interest given to a bank tax).

comment 3y ago · link · parent

I don't disagree. I was latching onto the idea that people are running single-node "clusters". Whatever it is, it isn't a cluster.

comment 3y ago · link · parent

No, it wouldn't, at least not given the contextual details of this situation because we wouldn't do that. Honestly there are parts of my above comment that hold but I admit in the moment that it was a bit impulsive of me because I hadn't yet learned all of the details necessary to make that judgment call. That number is right under slightly different circumstances if you're asking, but it sounds like you were trying to prove a point. If that's true, you succeeded. I learned a bit later that what they were calling a cluster was a single server and that's just... yeah.

comment 3y ago · link · parent

In hindsight I wish I could edit because my above comment was pretty trigger happy and focused overly focused on the amount of downtime. It was colored by some existing preconceptions I had about Fly, and I'm honestly surprised it continues to be upvoted. When I made this comment I hadn't yet learned some of the bits you mentioned here at the end from another thread. Anyway, I tend to agree overall. I actually suggested Fly even reconsider offering this configuration given that they refer to it as a "single-node cluster", which is an oxymoron.

comment 3y ago · link · parent

I see. Have you considered eliminating this configuration from your offering? It sounds like the terminology could confuse people, and it may be the case that they're assuming that a host isn't really what it is (a single host). This kind of thing is difficult for those seeking to build managed services, because I think people expect you to provide offerings that can't harm them when the cause is related to the service they're paying for and it's difficult to figure out which sharp objects they understand and which ones they don't. People should know better, but if they did would they need you?

If this sounds ludicrous, then I think I probably don't understand who Fly.io wants to be and that's okay. If I don't understand, however, you may want to take a look at your image and messaging to potentially recalibrate what kind of customers you're attracting.

comment 3y ago · link · parent

Why are your customers exposed to this? This sounds like a tough problem that I'm sympathetic to for you personally, but it sounds like there's no failover or appropriate redundancy in place to rollover to while you work to fix the problem.

edit: I hope this comment doesn't sound accusatory. At the end of the day I want everyone to succeed. I hope there's a silver lining to this in the post-mortem.

comment 3y ago · link · parent

I'm surprised by your risk tolerance. If I had any cloud service at this level in my stack go down for three days, I'd start shopping for an alternative. This exceeds the level of acceptability for me for even non-HA requirements. After all, if I can't trust them for this, why would I ever consider giving them my HA business? Just based on napkin math for us, this could've been a potential loss of nearly half a million dollars. Up until this point, I've looked at Fly.io's approach to PR and their business as unconventional but endearing. Now I'm beginning to look at them as unserious. I'm sorry if that sounds harsh. It's the cold truth.
1
141516
33