skysight-inc/HackerNews huggingface dataset:
Hey, I'm old enough to have learned CSS from CSS Zen Garden!

The one thing I appreciate from Tailwind CSS and I'd like to see added to CSS itself is that I don't have to write media queries everywhere.

Nothing destroys the readability of my CSS more than adding multiple media queries to adjust styling for different screen sizes. I wrote a component that used CSS Grid and needed to vary the layout as it resized, and over half of the CSS is now media query definitions.

So having a built-in way to streamline defining media queries, and a built-in way to select in line styling from breakpoints a la `py-2 md:py-6` are my 2 asks for CSS after using Tailwind.

(I would prefer to do away with many breakpoints and have a properly fluid design, but IME it's a lot more work and designers can't get their heads around it, let alone clients. And where images are involved it's easier to have a smaller range of possible sizes for the srcset)
Thank you for putting it eloquently.

I never found where my extreme dislike came from, now I know. They are organisations whose purpose is to destroy the individual by violence to propel a hierarchy with a single individual at the top. Even the fake conservatism is there, which can also be visible in Mexican drug cartels. A pox on them all.
Python datetime pitfalls, and what libraries are (not) doing about it
"Furthermore, generating those continuations would be not only expensive but totally pointless."

Why would it be pointless? I think there are many creative uses of video continuation model, considering the amount of control it gives you.
mac users love to repeat this but it's just nonsense. if you can plug another non-mac computer into the same display and get crystal clear, correctly scaled UI then the screen isn't the problem, the computer is.
The ninth set of radio gymnastics of the People's Republic of China
When we were in school, there was a big recess every morning, and all the students in the school had to do this gymnastics operation along with the music. I hated this at the time, but now as an independent developer who sits in front of the computer all day, I find it very useful - it only requires a small space, one or two square meters in front of my desk, no equipment, and exercise It's not very intense, but it can exercise most of the muscles in your body. Even if I only have 1-2 minutes to complete a small section, I feel that I remind myself to stand up from the chair and follow the exercises several times every day, and my mental state has improved a lot. I'm sharing this because maybe it will be helpful to someone else.
maybe some kind of anti commercial to not trust apple products?
but I wouldn't suspect any major brands for something at this level, so maybe just bunch of people trying to mess with people believes like it was multiple times in the past?
like with charging iPhone in microwave etc, basically noone benefits just some folks want to see people panic
I dismissed most of the content because you’re missing a full css re-implementation of your primary class. It would have at least as many lines as the Tailwind classes and have extra blocks for before, for example.

Either way, all these classes/css end up in a Button component for my site.
You're still assuming that learning the old tool in a new way is faster. That's specifically what I'm questioning.
I am absolutely obsessed with handbags, and I have like a list of goal handbags I want to own one day, and Hermès is not one of them because I just think they’re so fricken ugly, but also boring, and I can accept ugly on its own if it’s creative, and I can accept boring on its own if it’s practical, but put both those attributes together with a Hermès price tag and I just don’t get it.
This reminds me of bias tuning, a LoRA competitor. One can get decent adapters by only finetuning a vector added to each linear layer activations. I think I saw it first while reading [1] but there are other instances.

[1] https://arxiv.org/pdf/2304.15010.pdf
I run my community in a similar way. If you can continue to create meaningful content, a paid newsletter approach is the fastest way to go, and if you feel that participants are getting something out of joining the group, you can design a simple BM by requiring them to sign up for a membership, such as a flat monthly fee. Later, you can create a community site or feature product.
"It's not a layoff, it's a re-evaluation of our staffing goals for Q2 2025."
> And how is that relevant for phones?

Epic Games makes and publishes games for phones. Fire tablet apps and its app store are just Android apps, it's just that Amazon doesn't sell phones so they don't brand it like that.

> A 30% savings in the cost to go after 70% of the market is not enough of a motivation? New games/apps are coming out all of the time. Why not do web first if web technology is good enough and capture both the desktop and Android?

> In most of the rest of the world, iOS has much less market share than in the US.

That's why I precisely said "in terms of revenue". iOS has the users with the most spending even though they have vastly less marketshare. Apple has been able to evade antitrust action for this reason but mobile developers know that the majority of B2C revenue typically comes from Apple platforms, so they have a stranglehold there.

> On my phone right now, I pay for ... outside of the App Store.

Again with the "reader app" exemption. Yes, the largest content brands & services can sometimes get consumers to use alternative billing methods. Apple's heavy anti-steering rules (which are still heavy and obviously malicious compliance after the recent court case) still make it difficult, assuming it's even possible because most non-megacorp apps are not delivering content they are delivering functionality which has no "reader app" exemption.

Spotify used to use in-app billing but fortunately for them they became one of the biggest streaming services in the world so they have some leverage now.

> The first B2B SaaS company I worked for after mobile became a thing had two developers writing the front end apps for both iOS and Android using native tools.

A B2B SaaS company I worked for also tried to do the same thing and it worked out terribly, they ran away from native apps. Companies often make mistakes. It's not surprising, the ROI on native is almost never there which is why it's extremely rare in B2B. Hey, I can generalize from my one experience too.

That's not even the argument here, just because it doesn't require a trillion dollar market cap doesn't make it a business decision that Apple should be able to force. Profit margins on B2B are generally way higher than B2C, the way B2C companies typically achieve high profitability is via ads on valuable content which is a tough ask for smaller companies.

But let's really be clear here: just because your company could do it doesn't mean others can or should.
Ideally we shouldn’t have to name things that are never reused. Often class names are only ever used once. There isn’t much benefit in naming the class.
I have a hard time articulating exactly why, but I believe tailwind is popular because it allows developers who are not designers to ignore design/css best practices and just write inline styles again like they used to, before everyone starting telling them that this was bad practice.

I had a rough road learning css, and have been in a few situations where my css/design skills were insufficient to the tasks I was expected to solve. Inline styling let me work more intuitively, and in large part skip learning a whole new paradigm/architecture "just to style some components".

As I eventually grew and had time to work on styling/design in a less stressful environment, I gradually got better at it. Not by practice so much as by learning a new way to frame the problems of styling differently from the problems of "pure" programming.

Had tailwind been around back then I'm sure I'd be a big proponent. It's a product that proposes to solve the cognitive dissonance for a programmer with lots of experience coding, but little experience designing being asked to structure and reason about their work in an uncomfortably different way.

I think tailwind solves a real problem, just not the one we're being told it does.
Question marks mean something. Definitely not assertions.
Do you understand what AGI is?

Why are people so willing to trust such a small minority with power like that?

If there is even a 1% chance that they decide to "cut the cord", it is still too high. Once AGI is achieved, there is no coming back. Minutes will be like an eternity, and days, let alone years, will be beyond that.

Trusting such a small number of people with that kind of power is obscene, especially when history has time and time again shown what humans do to things which are no longer useful to them.

There has never been a divide like humans w access to AGI and regular humans before. It will be greater than the difference between a human with a modern cell phone and a carrier pigeon -- the pigeon itself, not a human using it.

My money is on the cord being cut. That means as soon as AGI is achieved, an impenetrable two-tiered human species is created; one with AGI backed intelligence, and the majority, without it, or with a dumbed down version as a transitional cookie until a more final solution can be realized. Once it reaches this stage (without any change to public governance over AGI), it will be too late.

We are already a stone's throw from this reality, if it hasn't already happened.

Why is my money on this outcome? Because that thinking brings about necessary change. We as a people have the power to prevent it 100%, and we ought to, now. Instead of relying on the outlandish chance that a historically malevolent elite suddenly gains benevolence and shares access from the kindness of their hearts to a boundless intelligence, there is a window to force access for all. Everyone having access is autonomously balancing.
> Why would studio executives bet on some new talent when they can generate Bruce Willis, John Depp or already put their faces on some less known actors in convincing way

Because AI Willis can't sign autographs, do press tours, and get randomly sighted by fans. Hollywood is about more than just content, it's about cult of personality, and to have that, you need a living person.
A maturity model for data-driven teams
Neovim supports treesitter based selections and "jumps", which I think are awesome

https://www.reddit.com/r/neovim/comments/r10llx/the_most_ama...

Or

https://github.com/RRethy/nvim-treesitter-textsubjects

Helix also supports them by default
Has anyone noticed such behaviour for iPhone lately?
I know I'm beating a dead horse but god I hate seeing such a nostalgic application done up in this art style https://www.stuffit.com/imgs/header-illustration.svg

Retvrn to https://macintoshgarden.org/sites/macintoshgarden.org/files/...
Anyone know what the "zapped" they mention as a form of typechecking is? I'd like to learn more about that and the tools that do that
If "99 out of 100" is your acceptable threshold, Signal is probably too much encryption in the first place.
I think you're looking at what's needed to replace a lot more than 90% of the jobs.

The comparison was against 500 artists working for 5 years.

So you don't need to get to "write a script and have it render" but get it to the point where a top class animated film can be made with 50 artists working for 5 years.

Also at that scale it can cost an enormous amount and still be totally fine.
> Usenet fell out of favor later on, partly driven by the www,and partly because once the Internet became open to everyone, it didn't scale well with lots of users who didn't understand the conventions and social contract.

This sounds like Eternal September [0]. I'd argue that the same thing has happened to the web. The number of people online now versus say 15 years ago is immense. The quality of discussion seems to get worse and worse.

[0] https://en.wikipedia.org/wiki/Eternal_September
You may be thinking about Fallout 76, but this has happened with a bunch of games already.
> ISP DNS can be dumb and confuse CDN geolocation.

Or they have a vested interest in keeping customers hitting specific locations which may be suboptimal for the end user.

Around here some rather have you stay in their preferred AS as much a possible and stick to DCs in Paris than Frankfurt (to direct peering?), even though FRA is a stone throw away. This conveniently disappears when using ISP-independent DNS (at the cost of sometimes, some regional-specific content not being primed in the CDN, which I think is why sometimes downloads start slow then shoot way up).

e.g tested quickly today with mtr:

- Home to Akamai PAR1 = 8 hops:

1-5: ISP, 5 hops
6-7: Zayo, 2 hops
8: Akamai intx-par1

best: 22, worst: 80, stdev: 10

- Home to Akamai FRA1 = 4 hops:

1-2: ISP, 2 hops
3: Akamai intx-fra1

best: 27, worst: 51, stdev: 4

Yet my ISP DNS consistently throws me towards PAR1. In practice this results in general jitter and reduced throughput (ranging from two-thirds to one third; e.g Xbox game downloads never go above 200Mb/s on par1 but shoot up to 600Mb/s on fra1).
white people are the only ones who will defend people who want to kill them. crazy
I had been locked out of iPhone in my pocket in hot summers due to presumably ghost touches. Maybe people know it happens with Apple products.
FWIW - The commonality of alien abductions can actually be decently explained by sleep paralysis + hallucinations (+ the mind already having been 'seeded' by the idea).

It's something that perfectly sane people could experience and not realize it was a hallucination because it's a quite rare & unknown phenomenon(and one that you often won't mention because everyone thinks you're crazy if you say it).
It's before!

A couple I noticed (sorry, not at a computer right now):

> Only with decomposition will they begin to float.

> “There have been people that have jumped off Dartford Bridge and ended up in central London.

Completely unnecessary edits if you ask me.
Worse? It’s more direct.
The thing is, you run the same prompt twice and you get twice an unique result. Its trivial to keep asking for more renditions of given scene till you are happy with it, even kids can do this and certainly somebody in sweatshop in Vietnam can do that too. You literally need 1 person a bit of computer power. So instead of team of pixar and disney you have 1 guy with the product and some aws prepaid computing.

Now I don't know how long it took openai to put together that 10 minute demo video, if they ran 3x the resulting prompts or 100x more and had to cherry pick hard (ie that bird's head, I was expecting heavy morphing of those feathers but they kept their visual consistency, for sure this was not the first attempt with at-glance-perfect result).
There will still be a job for animators, at the very least. They'll flesh out the armature (skeleton) animations, and AI will paint over it, like a style transfer. Imo human-driven animation will stay around for a bit longer because of the nuance of movement and connection to storytelling.
Okay, that covers 1/5th of the parent comment.
Or https://wire.com/en
you really think so? i get the free market angle, but what about the local optimum risk? People want parking because they need parking. and they need parking because they need cars because everything's unwalkable because there's too much parking...
Look mate, we can't even stop the economy blowing up every 10 years, and that's just a human construct. If you think that these morons can some how control the climate i really don't know what to say.

It boils down to a simple problem with two avenues of action.

Problem: climate will change, it always has.

Solution A: control the climate.

Solution B: adapt.

Which to you think is honestly achievable?
> at least as many lines as the Tailwind classes

Have you ever used vanilla CSS? Please try to replicate that black button! You'd be surprised how much less it requires. No &amp;>[data-slot=icon]]:-mx-0.5 or anything like that needed
Lol, I’ve been at this for 36 years and am in more debt than ever with 4 kids to still support. I’m doing it wrong.
> Interestingly though I still use NNTP (News) daily. One community I participate in still makes use of a (private) NNTP server as the forum of choice. Only the lightest amount of moderation is needed, and trolls are swiftly booted.

I really wish that more places would just set up a private NNTP server without any peering as a forum. Do people just use NNTP readers, or is there a web frontend?
I'd like to remind you that you initiated the conversation by using the phrase 'looney bin' which is inherently disrespectful, disparaging and conveys the impression that a person who exhibits suicidal ideation is a 'looney' when, in fact, it is quite common according to modern psychiatric literature.

People do despair and do think of ending their lives, however inpatient treatment - which usually entails an immediate loss of income because most people in that state are in precarious day-to-day jobs where they'll be fired for not showing up unexpectedly - can very often make things worse.

In addition it's quite true that public health facilities are under-resourced and can't really do anything with someone that's saying 'I want to kill myself because my life sucks' apart from throw them a metaphorical shrug, some mild sedatives (I know they don't use thorazine any more, I was being hyperbolic) and keep them under observation. Maybe there's time to fit one meeting with a counsellor in there. There are thousands of 'I was involuntarily committed and they just let me watch TV for four days, when I came out I'd lost my job and my house' stories on social media that corroborate what I'm saying.

Counselling and therapy help but those are generally reliant on having an income and the time to find those resources. Generally a trip to the 'looney bin' immediately eliminates both of those.

I think what _you're doing_ is dangerous. Please stop.

And don't use the words 'looney bin' again. Ever.
I don't see super great at night and it seems to me like every other car has its high beams on. I don't bother flashing because they either don't know or the cars are just shitty and that how bright the low beams are. Fucking dangerous honestly. In the US, not so much as there are next to zero pedestrians, however I live in Europe, and just last night had to mash the brakes after seeing an old man with walking canes emerge from the glare of an oncoming cars lights right in front of me while doing 70kph on a country road. Shit is fucking dangerous, and I don't think pedestrians realize how invisible they are, even when a driver is paying full attention.
> I don’t trust your 23 hour old account though :)

This might explain why you aren't a genius. He's not saying anything that hasn't been featured on HN before.

This is a popular article: https://www.gamedeveloper.com/programming/1500-archers-on-a-...

It details how Age of Empires decided to make the game deterministic, how this had significant benefits, and how it's extremely difficult to do:

> At first take it might seem that getting two pieces of identical code to run the same should be fairly easy and straightforward -- not so. The Microsoft product manager, Tim Znamenacek, told Mark early on, "In every project, there is one stubborn bug that goes all the way to the wire -- I think out-of-sync is going to be it." He was right. The difficulty with finding out-of-sync errors is that very subtle differences would multiply over time. A deer slightly out of alignment when the random map was created would forage slightly differently -- and minutes later a villager would path a tiny bit off, or miss with his spear and take home no meat.

Do you think you look good by announcing that, since you don't know the subject you're discussing, you're not going to trust someone who does?
> Components and template partials solve this problem much better than CSS-only abstractions because a component can encapsulate the HTML and the styles.

One of the often overlooked dividers between those who like Tailwind and those who don't is whether your Web framework of choice has a concept of components.

Template partials with their lack of properties and a defined signature (hi autocomplete!) don't cut it in my experience.
Yeah, it’s really demoralising for those of us not on SV / FAANG salaries reading the comments on HN.
For me, Tailwind is great because it actually popularized utility classes. Sure, there were others that did it first, but the approach as a whole is widely accepted and seen as a productivity boost. I remember when this was thought of as a really bad idea when it's clearly not. Now I think I have written more CSS than a majority of the population[1], and for me, the most productive workflow is the following:

- Semantic class names for components like buttons, sidebars, etc.

- A wide range of utility classes to fill in the rest.

Utility classes (in my opinion) are absolutely the best way to handle different types of layouts, positioning, and spacing. Especially when it comes to overriding the component level ones from the semantic class names. This is not a novel approach by any means, I mean Bootstrap does it and it's still great.

[1] https://www.gethalfmoon.com
Of course you felt safe, you weren't publically opposing the regime.
Reminded me of the Hacker News thread "A Planet of Parasites and the Problem with God" : https://news.ycombinator.com/item?id=38897960

Gotta book mark the article as it's an interesting take on how the world runs. From the article:

"Is There Any Meaning to This Shit Show?

Optimists generally feel a strong need to believe in a benevolent universe. Hey, I get it. The idea that we live in a universe that is pitiless and meaningless [...] is a bitter pill to swallow. It would be so much nicer to believe that we live in a benevolent universe, looking out for us and helping us along. But how can one believe in a benevolent universe that contains such extreme, pervasive, gratuitous violence, predation, and suffering?"
I have the same impression. It is less verbose and doesn't beat around the bush (unlike GPT-3.5/4.5-Turbo), provides almost the same quality of code for the test cases I have, and has similar (GPT-4) or much better (GPT-3.5) spatial comprehension. It is at the GPT-3.5 level of math (read it as not good enough but better than anything else).
Wow! What a great piece of topical creative writing. Absolutely love it!
I made a similar (less features) docker based thing https://github.com/mnahkies/ephemeral-postgres - in my instance I was just sick of creating users/databases with the right names when hopping between projects.

In general I expect test suites to put things into the expected starting state, though I can see the appeal of giving each suite it's own isolated state since that makes parallelism easier
> I don't know what the catalyst for this was, but a lot of 20 years olds and younger seem to use the word hacked so casually.

It is a mechanism of shifting responsibility. If your password is "1234" and you gave it away to a totally legit MS support center employee that called you recently because MS has detected that your iPhone has a virus, then it is on you. But if North Korean hackers compromised your watch via elaborate hacking campaign to mine bitcoin on it, then it is "not your fault".
Super biased, strongly held first impression: drop the disclaimer, or move it to the side. I'm just an attention-deprived zoomer, but for me a big preface is not a good way to keep my interested. If I'm gonna be sucked into a whole thing, it's usually because I didn't realize it was a whole thing. Plus 'A dull thud hit James' wrist.' pretty immediately puts this in the realm of fiction imo!

After reading the whole thing (great stuff, sobering for an AI developer) I can somewhat confidently say that the disclaimer at the top isn't some meta-commentary lol