skysight-inc/HackerNews huggingface dataset:
> The "just write a component" strategy is really bad if you're trying to reuse your CSS across different projects and frameworks. I just want my buttons and cards and components to LOOK the same, not function the same.

Could you explain the problem more? There's lots of Tailwind based component systems that have reusable button and card components you could look at for ideas how to structure this.

In comparison, reusing traditional CSS is usually a nightmare because the CSS for a single component is usually spread across multiple files and difficult to disentangle. That's part of the problem Tailwind tries to solve.
I don't. But I know from experience as someone who gets paid to do statistics that you work with the constraints that are set by your employer, and the person who gets to have the job is the person who's willing to do the job.
Wasn't this on HN last year?

This is just a summary from the day the Germans found out about the bomb. The full transcripts are available.[1][2][3] Unfortunately, the recordings were not kept. They were not on magnetic tape; they were recorded on shellac records. Only the interesting parts were transcribed.

The conclusion of the US Alsos mission to investigate the German bomb program: "It was so obvious the whole German uranium set up was on a ludicrously small scale. Here was the central group of laboratories, and all it amounted to was a little cave, a wing of a small textile factory, a few rooms in an old brewery. To be sure, the laboratories were well equipped, but compared to what we were doing in the United States it was still small-time stuff. Sometimes we wondered if our government had not spent more money on our intelligence mission than the Germans had spent on their whole project."

[1] https://pubs.aip.org/DocumentLibrary/files/publishers/pto/co...

[2] https://pubs.aip.org/DocumentLibrary/files/publishers/pto/co...

[3] https://pubs.aip.org/DocumentLibrary/files/publishers/pto/co...
Will you make this open source please?
Part of it is that Apple has the margins that they can spend a little more on parts. They know they don't have to compete on price as much as PCs do. People aren't going to ditch the Mac over $25 or $50. However, people do regularly compare prices on PC laptops looking to save small amounts of money. That means that Apple can spend a little more designing and ordering a fan that's quieter with a better design and more premium parts.

Also, because there are so many PC laptops, it's really hard to get a good review of a PC laptop. There are so many configurations and PC makers often make small (but meaningful) changes to designs during a product's lifecycle. All of a sudden, the one you bought has a less bright display or the cooling system isn't as good or whatever. It makes it hard to reward companies for creating good products. There are premium PC laptops, but they still suffer from some of these decisions and they often cost about the same.

I've looked for alternatives to the Mac, but at this point I've stopped. I'm sick of doing research on junk to try and save a few bucks, I'm sick of trackpads that are unusable, and with the new M-series processors I simply never want to go back to a high-wattage processor.

I actually like macOS, but I'm really glad happy to see Linux advancing on Apple hardware. The Asahi Linux developers are amazing and I love reading their write-ups.
> "If they were to say 'everyone back in the office', I would probably be asking for a raise," said Coomber, who still visits the office once or twice a week. "You get more family time. You can actually finish work at five, rather than finishing at five spending 45 minutes trying to get home."

I'm all for work from home, I think it's actually worth a pay decrease[1], but this quote is a form of double dipping. Presumably Coomber didnt take a pay cut when the pandemic began and they started working from home. I guess it depends on the circumstances during offer/negotiations. That being said, most US contracts more or less say the employer can change your job duties to whatever they want, without any requirement to change your pay. That could include coming to the office, working longer hours, and cleaning the toilets -- if they can get away with it.

As far as I know the primary tool by which workers have caused meaningful changes in the workplace are 1) Negotiations on initial offer and 2) Refusing to continue to work for an employer under terms that are no longer their BATNA .

[1]: I think its actually a mutually beneficial arrangement, at least for me and many of my colleagues we're simply more able to contribute -- from focus, quiet, being able to spend commute time working (reduced stress) etc. The employer is getting a better worker with less office space overhead. Naturally this is highly variable to the job, a work from home ER nurse probably doesnt make sense. But for many it does.
I guess my point is that (the way I understand it) the author says that he feels like the web is splitting: on the one hand, those who are fine with the commercial web and ads, even if it means that they probably miss on some stuff that does not get the same marketing power. On the other hand, those who are not fine with it and run ad blockers and privacy tools, even if it means that they miss on some stuff that is only available through surveillance capitalism.

I don't know if we can say that a feeling (which is a descriptive concept) is "extremist". Then the author says that he feels like he is on the side of the ad blockers. Again, I don't see that as extremism. He is not saying "I will never open a commercial website in my life, and I strongly believe nobody should do it". He is saying "well if a commercial website works under my conditions, it's fine, but if they make sure to block me access because I don't want their ads, then I will live without their website".
> That happens under a certain subset of progressive tax systems.

There is no tax rate system that will ever tax any income at more than 100%. If you earn an extra dollar, you may only ever take home $0.01 (because you owe $0.99 in taxes). You might even take home nothing in some hypothetical 100% marginal rate tax regime, but nobody has ever proposed a system where you owe more than $1 on any $1 of income.

> The real consequence of believing in the argument directly implies that nobody should earn more than X, for some amount of income X (like 50k) where after that the marginal utility is so low that it might as well can be given to the state to waste.

Yep, that's precisely the belief and it's well grounded in lots of research into happiness, utility and so forth. Now, as it turns out, nobody has the courage/conviction to actually impose a 100% tax rate for any income over $X, so the reality is that the tax systems at play in the real world do not in fact prevent anyone from earning more than $X. Given that even the highest rates ever imposed in western industrial democracies were far from that, this just seems like a strawman. Even at 90% (the highest US marginal tax rate), for every $1000 you nominally earn over the $X value, you take home $100, thus earning more than $X.

BTW, $X is much, much higher than $50k, but I suspect that this is just a typo on your part.
Noncommercial use is not well established in copyright law, which is the law that actually matters. I know other forms of law actually do establish noncommercial and commercial use standards, but copyright does not recognize them.

As for "Facebook won't sue"? Sure, except we don't have to worry about just Facebook. We have to worry about anyone with a derivative model. There's an entire industry of copyleft trolls[0] that could construct copyright traps with them.

Individuals can practically ignore NC mainly because individuals can practically ignore most copyright enforcement. This is for the same reason why you can drive 55 in a 30mph zone and not get a citation. It's not that speeding is now suddenly legal, it's that nobody wants to enforce speed limits - but you can still get nailed. The moment you have to worry about NC, there is no practical way for you to fit within its limits.

[0] https://www.techdirt.com/2021/12/20/beware-copyleft-trolls/
In smaller towns utilization for things like restaurants, mechanics, etc is usually much lower in big cities. The amount of time spent waiting because shit was full was a big shock to me when I moved to a very large city.

So if everyone with a job that's possible to do remotely distributed themselves across the country, I think that would actually result in more people, proportionally, in in-person service-industry jobs, since each employee of those businesses would be serving fewer other people per day. (Which would be less stressful for a lot of people, probably! But it's very short-sighted to think anything like "100% work from home" is realistic for that many people.)

But I'm also not convinced by the main claim, here. Bigger, denser cities are more expensive. That's because they're more in demand. Some of that is "because that's where the jobs are." But a lot of that is things like weather, entertainment, shopping, availability of services... so I think you also open up the possibility of someone who was working in-person for an employer in Tulsa, say, now being able to move to Dallas instead for more free-time options.

In the last hundred years in the US the most effective ways of distributing people were two things: weather (sun belt vs cold-ass winters) and in-person work that got geographically distributed for big-govt/strategic reasons (e.g. let's make sure our new defense project is going to employ people in as many states as possible to get votes, or let's spread out our industry to be more robust against Soviet bombs, etc).
If they disable your account, you're not going to get any new email. So if a website uses your email address for 2-factor-auth, then you are straight out of luck, as I'm sure they also use that email for any sort of account changes. To be clear, "don't use email for 2-factor-auth" isn't a real answer here, there are plenty of services that don't give you an option.

Additionally, you can't send email. That's also a pretty important part of the whole "email" thing. Any ongoing discussions will just be cut off.

Seems pretty walled garden-y to me, considering the entire framing of this is that nothing bad was done with said email. It was because Apple has a unilateral switch that turns everything off if anything bad happens to an associated credit card. That is to say, if your credit card number is stolen, completely outside of your control, this could happen to your email. I'm not aware of any other email service where that is the case.
Only Cory seems 1,000 more pragmatic. And although he's often a hypocrite¹ and I'll roll my eyes very hard every time I read the word "enshittification", I admire that his goal was to create a "shovel-ready" book with actionable advice and look forward to reading it.

¹ https://imgur.com/a/TAltXUf
Maybe I am mis-reading the e-shop, but I see the book as CHF40 and the 12-sensor card as CHF89. Am I wrong?
What does that mean when you move after employment has started? At least in this jurisdiction (and I imagine most others), being able to move is considered a human right, and employers cannot violate human rights.

I have certainly worked with more than one person at my workplace who started when they lived locally, but eventually moved to the big city over an hour away, while retaining their employment with the business even after settling into their new home. Them suddenly working 2+ fewer hours each day would be a significant change to their employment.

If the time is set in stone at the time of first hire, then I guess you're incentivized to move as far away as possible that still allows you to be hired, and then on your second day move in next door?
Just a nitpick, Muslims specifically don't believe that Mohammad is god/allah. Good point otherwise though
> But they are not accurate or meaningful ways of measuring someones actual worth. For that we have money.

Prices in an efficient market (which the labor market is not, but that's another discussion entirely) are determined by marginal cost and marginal utility, not value. The value I get out of having as much water as I do is enormous, but I'm basically indifferent as to whether I get even more water than that, and so water is cheap.
Meh, probably is an example of a no-true-scotsman. A better way to word it would be to say that not many of the Tailwind codebases I've seen have styles of that length, except for on choice elements where most of the classes are overwriting default styling (such as on inputs).

You literally defended CSS in a similar way in your post "The cascade, selector chaining (see above), and specificity are all very powerful tools. If you misunderstand them, yeah you can cut yourself. Just like if you don't use a saw properly you can cut yourself.". In the same sense, just because some people write super long Tailwind classes doesn't mean that you can extrapolate that to all Tailwind classes.
I'm sure there are pluses and minuses for both options but what works in one place won't necessarily work the same in another. It can be a boon for the areas people are migrating to but you can easily get gentrification instead.

Different parts of US, Australia, or Europe will respond differently even when subjected to the same policy. So I don't think any one answer is correct as a general rule.
This is the entire premise of the book “Being Mortal”, highly recommend as a read.
For my non-MoviesAnywhere direct movie purchases and code redeems, I’m starting to use Vudu a lot more than iTunes, as the having your account disabled or suspended for some vague reason is pretty much not a thing with Vudu. All Vudu does is movies and TV, nothing else, and they want to keep you as that customer.
Couldn't help but nod my head off - absolute truth that applies to so many other things.
Setting up a Smart Folder in MacOS may work but it’s been a long time since I’ve used them. I use rsync to backup photos to my NAS. It looks like you can use rsync on an iCloud directory.[1] I just ordered a new MacBook Pro and plan to use them method for my NAS and to iCloud.

[1] https://www.jessesquires.com/blog/2019/09/27/icloud-backup-u...
TLDR; soft pedaling psychopathy as a de facto asset. IMO, Yes, "socially high functioning" psychopaths live among us but, more likely than not, they don't care much about anyone in their orbit and that should always be a red flag; unless they are an injury attorney working on your case.

How about this gem: "The idea that some psychopathic traits could be positive does not sit well with everyone." I agree 100%

NPR did a similar story titled: "Is There Such A Thing As A 'Good Psychopath'?

"...Andy is a British Special Air Service veteran and novelist; Kevin is an Oxford University psychologist. Kevin studies psychopaths. Andy says he is a psychopath.

Their checklist of psychopathic traits includes: charisma, charm, coolness under pressure, fearlessness, focus, impulsivity, lack of conscience, mental toughness, reduced empathy and ruthlessness...."

https://www.npr.org/sections/theprotojournalist/2014/08/21/3...
I have seen it posted that diamagnetic materials require multiple magnets stuck together to create field "pockets" (?) for the material to rest in.

The few videos of lk99 show it reacting to a singular magnet. A property of superconductors that apparently diamagnetic materials don't have.
I don't argue with that! I just explained how it was possible to implement it in law in the first place. But yes, it absolutely must have been a criminal procedure, as it is in some (many?) other countries.
> the goal of our human pursuit is to advance our technologies and systems to the point we can all live carefree lives where the focus of our pursuits is self defined.

Agreed!

> the future should not be about preserving some peoples rights to limit our collective advancements over their personal wants.

Systems that don't allow people to extract value from the hard work they put into collective advancement do not seem to lead to collective advancement over time and at scale. Incentives matter. No one's going to spend all day making candy and put it in the "free candy" bowl when that one asshole kid down the street just takes all of the candy out of the bowl every single day.

At small scales (i.e. relatively few participants with a relatively high number of interactions between them) then informal systems of reciprocity and reputation are sufficient to disincentivize bad actors.

At large scales where many interactions are one-off or anonymous, you need other incentives for good-faith participation. There's a reason you don't need a bouncer when you have a few friends over for drinks, but you do if you open a bar.
And also, a lot of german banks are actually federated with centralized IT departments (like Finanz Informatik) providing the entire bank as "blueprint". Yes, even if they aren't called Volksbank or Sparkasse. For instance, if you get an EC/GiroCard from DKB, the letter is suspiciously typeset in Sparkasse's corporate font.
You have just highlighted the main fact about the www that so many technical skilled people are missing to see. Most consumers have little to no knowledge about anything technical, which is not bad at all since there is no reason why they should care. Now imagine telling those people that everyone should have their own website instead of a social media account. What a horrible and illogical thought in my opinion. Digital consumers only change behavior if something is 10x better. So from a consumer perspective, who cares about things like decentralized networks? Or Duckduckgo.com for example is probably for 99% of the www users some chinese russian inbreed virus. People started using ChatGPT besides google because it is simply 10x better for many cases, and not because it promoted with more privacy feature and less ads than google.
I sync photos with my google account. I realize it’s not ideal, but at least something.
Just for a little more context on why this is, Buc-ee’s is a gigantic operation. They're major truck stops with super-massive gas stations, tons of parking, and very large stores with a wide variety of stock including a lot of food. At any given point during the day they could easily have a hundred customers on premises gassing up or at a store. Managing that operation is not like managing a typical roadside gas station/store.
So what's the savings against using the actual properties?
Houses are not really the issue, but supporting infrastructure is. Things like plumbing, schools, places to shop at, ....
Socket now supports the Go programming language
Most things people do end up being a care of other people.

If nobody is beholden to any job or duty, and the machines do everything, who is to say I don't want to make every machine on earth dance in a flash mob? I cannot do that, because it would require other people to halt their use of the machines. Abundance is a false promise and one we should be quick to shoot down lest we surrender our future rights to the ones advertising it.

Removing the worth of people in their jobs removes their leverage in the constant resource allocation negotiation in the economy. Given that we just witnessed Elon Musk spend 20,000 average American lifetime earnings worth of wages just to be the new dictator of a social media company, I'm not sure that I want those negotiations to take place only among the giga-rich.
> Additionally, if there is a delay or error causing a row number to be missing, we want the queue to pause processing until the missing message arrives before sending the subsequent messages to the service

There's your problem. On the real Internet after some surprisingly finite amount of time the probability of some message never arriving is ~1.0.

The number one falsehood programmers believe about networking is that the network is reliable.

Even Google and Amazon, as good as they are, can't guarantee perfect network connectivity. In the real world you'll get hit with hardware failures, human failures (e.g. misconfiguration, bugs), random failures (flooding, cosmic rays), malicious failures (hackers), and so on. With this requirement you're guaranteed to have your system grind to a halt eventually.

Can you engineer around it? Well yes to a point, redundency and all that, but it's expensive and will still fail eventually. So both Google and Kafka gave you the correct answer.
Novice question - does a material behaving as a superconductor occur all the sudden like a step function if resistance is plotted against temp and pressure - or does it ease into super conductor behavior?

(edit) Also is it resistance (aka if I remember my EE degree correctly), DC only or also impedance where frequency also matters?
Seems reasonable, then again we're dealing with a potential superconductor where sudden discontinuity is the expected result.
I don't understand how the "head of open source" software can claim that a license which literally begins by saying it is not open source, is in fact open source. You're right gaslighting the community or you're engaging in self delusion.
A book I read way back in the 70s quotes Groves as saying that one bomb could be seen as a one-off but two bombs would make the Japanese think there's more to come.
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!".
Does anyone know how to estimate the cost of inference using your own Llama2 model? This article talks about the cost of fine tuning it, but not what to expect when running it in production for inference.

In particular, it would be great to know how the inference cost compares to gpt3.5 turbo and gpt4
Hear me out because I thought I HATED tailwind, but have come to reconsider.

What got me to convert to using Tailwind on projects (after a lot of reluctance) was styling variants. How to handle edge cases in your CSS empire.

For modern CSS practices, he gives a good example in the article of creating a button component with scoped styles. At first, that seems to work really well. But now use that button in unique and unforeseen location where it really needs left margin. There are SO MANY little scenarios like that which will creep up in actual usage.

You could target the button via id or perhaps a class on the parent, but making adjustments that way is not really fun, maintainable, or repeatable.

So then the next step is creating a few utility classes so you can easily apply a bit of margin, padding, etc. But now you have to decide what stays in the .button class and what properties to make flexible via added utilities. Pounding your head on the table brings you to the same conclusion Adam (the Tailwind creator) reached: it sounds crazy, but may I could only use utility classes...

Tailwind is certainly verbose. But it's very readable, explicit, and easy to debug. Wait... why is this button blue? Ah, I see right here in context... because it has bg-blue-600 applied.

The cascade is powerful but also tricky... it can be hard to determine where and when across global and local style that a piece of html picked up a certain color, size, or property.
Off topic, but I’d like to note that a startup does not have to solve a problem.

There’s a sort of cult around that idea but it’s wrong.

There’s plenty of businesses that don’t solve a problem.