skysight-inc/HackerNews huggingface dataset:
It depends on what you're building. For a simple website that only uses a few tags, a single file should be enough, but that's no challenge.

I think the problem starts with the phrase "a css file". If you're building something complex, you gotta bite the bullet and split things up.

If you're building apps, one way is doing self-contained components, which share absolutely nothing between them. You can have a "base CSS" for the page that is very small, just a few lines (plus maybe a reset), but the rest of the style should be "owned" by components and scoped to them using whatever methodology you choose.

Another possibility is going the completely opposite direction and having only helper classes (like Tailwind) that know absolutely nothing about the elements they're styling.

I don't believe in a middle ground. A lot of messes start by having a single CSS block that is responsible for styling 20 different parts of the screen with a very complex CSS selector targeting multiple components. This is like a COMEFROM in INTERCAL. I don't think you can't have your cake and eat it, except in toy projects. If you want to have a single-source-of-truth for colors, you gotta use variables (SASS, native CSS variables, etc), or a helper class.

Working with frameworks also requires care when you want to slightly change the default appearance, and a lot of people abuse !important for this. You don't have to do it.

To avoid !important when you want to "extend" some third-party CSS, use specificity rather than !important. Have a root class, for example .my-app-with-custom-style (it can be applied to the body tag or some other root element), and then extend each block of the framework using the root class + the same selector. For example, if your framework is .b-button.main-btn and you want to extend it, extend it with .my-app-with-custom-style .b-button.main-btn. This way specificity wins and you don't need !important.
We don't use the Fiat for road trips, but we often caravan with friends with Teslas. Every couple hours they stop at a supercharger station for 15 minutes. It's really not that bad; we stop as often just to keep our kiddo sane. The stations usually have interesting services next door.

Supercharger stations usually have dozens of spots; gas stations typically have maybe ten? An EV station just needs one parking spot per car, so they are much more space efficient than gas stations. The only real constraint is electrical infrastructure.

BTW it averages much more than 1m per car for fueling. Person gets out of the car, fishes around in their purse for the credit card, fiddles with the cryptic instructions on the pump, walks into store to piss and buy junk food... if you've had to wait at a busy station, you'd be acutely aware of just how long fueling actually takes. Humans are slow.
My go to weather site is:
https://kachelmannwetter.com/
Run by a former weatherman it uses a number of forecast models and even lets you see whether a gust of air from a specific region is going to reach you (interesting if you live in Europe and a Ukranian NPP blows up)
> I would say the real reason it "works" for non-tech workers is because they don't have enough bargaining power to reject crap such as Teams and similar Microsoft software

Do you really think that if non-tech workers had enough bargaining power they would really waste their time with Slack vs Teams instead of, say, better wages ?

> If those non-tech workers were given a choice, Microsoft's marketshare would significantly shrink overnight.

X doubt. Most people (rightfully so) use their work computer just to work.
That is a fair point; I think many people will agree on "statement of problem" - pornography is a quick example which is a perfectly legal activity but a) may be privacy-demanding and b) payment methods are being denied based on... not legal requirements :).

Cash was nice - fairly anonymous. Digital anonymity seems to be harder. Currently, Crypto to the best of my understanding is not necessarily the solution - it is extremely trackable inside the system, and vulnerable at the edges of the system.
That's completely new information to me. Thanks!
Ok, so... are you buying the wine or are you buying the place it came from?

Like, there's nothing magical about the towns of Champagne or Cognac that makes the wine they produce different. It's all in the process and expertise used to produce the wine. If you brought the brewers and growers to another part of the world with the same soil and climate, and told them to make the same thing they make in Champagne and Cognac, they would produce identical[0] wine.

And the current regime of "terroir makes the trademark" leads to suitably absurd results. Like, if a Champagne producer wants to expand their operations, they can't, because there's only 75,000 acres of land you can legally make Champagne on. France has been trying to add new villages to Champagne's terroir since 2008 and the process still isn't done, even though the villages being added are literally just in between other Champagne villages. People still clutched their pearls about France diluting the brand purely by just allowing more of it to be made.

Ok, so maybe it's silly, but it shouldn't matter, because Champagne is a luxury product and I'm a [1]smelly American neoliberal that thinks you shouldn't be able to trademark a whole town. Fine. What about a staple food like rice? You see, India saw the EU PDO system and realized they could use it as a weapon to beat Pakistan with. So they're going to the EU and crying bloody murder about how poor Indian rice farmers are being crushed by evil Pakistani rice counterfeits[2]. Defining any sort of terroir here is a political statement not backed up by reality: both countries are either perfectly capable of making basmati rice, or we need to look at micro-climates and other things that would probably exclude a large portion of both countries' rice farms.

>If the Moldovan spirits industry has a superior product, why can’t they call it a relevant name that protects the integrity of their creation?

So, the thing is, often times there isn't really a generic equivalent name. We have "sparkling wine" for Champagne, but that seems to be rare. For example, I've no idea what you'd call non-terroir - but still otherwise well-made - Parmesan or Mozzarella cheese.

[0] As determined by a double-blind taste test with a suitably experienced sommelier.

[1] Two of the following words are true while the other one is trash. Can you spot the fake?

[2] https://www.aljazeera.com/news/2021/6/7/india-pakistan-take-...
There's more to it than that. I had a model where voice would work on both networks but SMS would only work on one. The only contacts app you could use also relied on a proprietary gateway, and took a minute to open on the other network.

Also, updates to SMS implementations eventually broke SMS on the good network.
Elon musk was a founding member, a board member (resigned in 2018), and a donor, but not an owner (it's a non-profit so there aren't owners exactly).
Grid isn't a good solution for this particular problem because the layout depends on the intrinsic size of the content. Grid is good for when you want the container to define the layout and have the content flow into it. Flex is good for when you want the layout to adapt to the content, like in this case.
> while there are undoubtedly experts in this domain whose contributions are indispensable, the majority of programmers can comfortably rely on higher-level abstractions without delving into the complexities of Assembly.

True. You don't need to be an assembly expert to be a great programmer, but I do think you need to have a solid understanding of how computers work all the way down to the CPU level in order to be a great programmer. And once you have that knowledge, assembly isn't a big hurdle anyway.
Options have existed for awhile, but unless you have the specific slicing profile in mind (which is NOT the same for every file; some might need supports... some you might not care about quality, etc), it's not going to be one-size-fits-all.

As others have mentioned, the closet is using something like PrusaSlicer and using 'Upload and start print'. You do the slicing manually, then you just press a button and it uploads the gcode and starts printing.
What about the Nissan leaf?
The problem isn't the specific policy, the problem is that right now the people who will be empowered and enriched the most by any theoretical "good at stuff" AI are the same people who already spend mountains of cash and effort stopping those things.

How will a functional AI model do anything other than make them better at getting the outcomes they want? CEOs and the megarich have never had any problems watching people burn for their bank account.
Show HN: Simple reverse proxy router in Node.js for multi tenant server
I am excited to share my latest creation: a powerful yet super simple Node.js reverse proxy server that forwards HTTP requests to a specified port based on the request host header / domain.

I use this for running multiple processes on a single server for different domains or subdomains. It supports "hot reload" by just editing the map object in the configuration file, and works great behind something like Cloudflare.
In your first paragraph you say that there is a huge difference but don't say what those differences are, which approach is better and what are the differences?
It must cost them some revenue because quick receipts is a much better user experience. The receipt system will inevitably make mistakes and it's much easier for the customer to deal with those before leaving the area and getting involved in something totally different.
Ask HN: Can you think of a sci-fi novel that feels like ChatGPT now?
Makes sense to me. I suspect most people are not quick to end a bad marriage, and will hold out hoping things will improve. Marriage therapists might be more likely to act on a bad situation and extricate themselves from it.
But Multi-Millionaires need to actually pay for things like real estate and taxes? Is it not enough an honor for something to be owned by the princely class?
I did indeed do that (more than once) yet it continues to come to the same (erroneous) conclusion. Try "Which is faster, a Pi zero or a 486/33?".
Did you watch the video, or read the bill? The bill goes way and well beyond "banning Tik-Tok", it's basically the Patriot Act on Steroids.

No one really cares if one app is banned. But you should be VERY concerned with the sweeping measures the bill would actually accomplish.
These are nice and I have MK3 as well. However, I am doing most of my prints on HP MJF these days. It’s so much better and the cost is very reasonable. FDMs are good toys that require love. A lot of it (which can be good and bad).
Citation needed. Everything I’ve seen indicates that transition rates are roughly equal.
Package it for what? There are a lot of distros. Should the dev be packaging it for every one of them? Debian, red hat, suse, arch, other more esoteric ones? Which distro versions? How many years back should they be maintaining the packages?
> From an objective, outside perspective, it's definitely weird to say, "Put up $X to assure us you'll actually appear for trial. Oh, you're putting up .01X? Okay, we're cool."

What is historically weird in the history of money-involved bail is the practice of having a penalty plus either full-value security or arms-length employment of a government-licensed agent as surety with a government-set fee schedule; penalty, surety, and security are three separate levers to acheive compliance.

What’s weird from a system outside of money bail world is...money bail.

The federal system of the courts having freedom to adjust the compliance levers independently to acheive what they feel is necessary sufficiently acheive compliance is weird only from the perspective of the system that has evolved away from that in state practice (and the even more divergent image of that state practice that has been advanced by popular media portrayals and misunderstandings.)

> Like, even accepting the validity/logic of the cash bail system, they should just be honest and call it .01X bail

Would you view a $100,000 non-dischargeable, non-expiring debt to the federal government when you have $100,000 in current assets as equivalent to $10 million non-dischargeable, non-expiring debt to the federal government when you have $100,000 in current assets?
What OP means is that everything there suggests the Riva folks are releasing their tech for Flutter as an add-on, while your original comment suggests the Flutter project is adopting/integrating this tech inside Flutter. I was also confused.
I'm genuinely asking for a good example here. I've tried a bunch and every time I find Google about 100x faster. I think GPT is good for some things, but search and recommendations it's like going back in time.
Both competence and social skills are trainable. A specific shop may not be able to train both, but there are shops that can train at least one of the above.

My last job I could take the most incompetent beginner and make them productive. In my current one, I really can only train that social skill side.

Obviously tail behavior on either end may make training not worth it.
It's well known that symmetry is considered beauty, so when you average up enough imperfect faces, you'll get a symmetrical and thus beautiful average.

https://petapixel.com/2013/05/28/what-averaged-face-photogra...
Yep. I love that I don’t have to think about Car. Because I don’t care about Car. If I’m lucky enough to buy new Car then I _know_ Car will work great because we figured out Car.

Interiors, exteriors, etc… great. I’m glad there are building codes that make buildings safe, and that ugly poorly made furniture is kind of hard to find.

Convergence is a great word for this phenomenon. I’m glad humans tend to converge around good ideas; it’s gotten us far.

This article is ultimately a ramble with no strong purpose. Just like most internet articles. “Convergence.”
I have a Mk3S and a Bambu X1C. The Bambu is much, much better.

The Mk4 covers most of the distance, but at a price point matching the X1C, and it's only most. Speeding it up is nice, but... pressure advance depends on detailed characteristics of the filament, such as viscosity, which varies from brand to brand and color to color.

The X1 has a lidar, which from experience actually does work as advertised. The Mk4 has... what? Prusament, maybe? I would not be surprised to find you can only get the advertised speed if you use Prusa's precalibrated filament.

Or you can print the calibration lines and do it manually. That does work; it's a ten second eyeballing procedure, simple enough for the X1 to do full auto. But you're really supposed to do that for every startup -- characteristics change as the reel ages, which doesn't even happen evenly across the entire reel -- and nobody does that.
To correct #1, it is a way that China can fully control.
This bill is so awful it cannot be allowed to pass. It reminds me of the Patriot Act.
Maybe someone will scroll all the way down to this comment. Probably not.

For half a decade, I have lived outside of the US, and I've watched as it has fallen to shit in slow motion. I make a decent chunk of income in USD and this terrifies me... but this. This move saddens me.

There are only so many hours that congress has to make real decisions ... and this, this is what they spent their time on? Talking about how 'kids' might be influenced by an algorithm when they're being influenced every day by how they might get shot up in math class? Come on (wo)man. This shit is fucking stupid.

It's just sad to me, sad to watch the country I grew up in, the one I went to war for ... do this level of stupid shit.

That's my 2 bucks, spend it how you want it.
Well I'm not in the US so I have no idea. But they work in Europe for sure by my experience.
It wouldn't be a Microsoft chatbot without it getting controversial.
What you need is a system that implements some Grammar of Graphics (Leland Wilkinson, 2000; sometimes abbreviated "GoG" or "GG"), like ggplot2, vega, or something like that. Although I'm a bit weary of systems that have "their own version" of Wilkinson's GoG but that don't necessarily have the same rigorous correctness proofs.

D3 is awesome but not trivial: I consider it a more low-level tool than any GoG.
> Adding something like this were people are inventing complexity in the language itself out of boredom is a recipe for disaster

Not really. This is a fun project to show what an effects system would look like. The consequences of this are pretty much strictly positive.

> and is much worse than the terrible things than can happen in C.

No. "Ugly code no one will use but that demonstrates a concept" is definitely not worse than "attacker has full control over the computer".
It is already avaialble on any browser that allows you to change the User agent.
Apparently having self control is something lost to younger generations.
The issue with that explanation is the synchronous timing. Why would it happen over the last 10 years or so, across a bunch of countries?
The first bit still doesn't seem to me to add much so I just went with the second half of zamnos's suggestion above.
I want to thank both you and the original article author for bringing this issue up, because until this article and this comment I never really understood the use of the vertical-align CSS property. This is the perfect example to illustrate the actual use of this property. Playing around with the author's codepen and seeing how it changed when I added the vertical-align CSS property really unlocked something for me.
> Just spend some time on the Bambu Labs subreddit and you will see a lot of frustrated owners.

I have had mine (w/ four total AMS units) for two months now and have over 500hrs of printing so far w/ minimal failed prints. I often print in sport and/or ludicrous too. I own eight other 3D printers of various major brands (including Prusa) and it’s by far and away the best I’ve ever owned. Easily comparable to printers 2-3x more expensive imho.

> It is insanely loud, and it seems unreliable and buggy.

Even with the door open to the room mine is in, I never hear it. Sure, if you’re within 5ft of it, it is a bit loud, but not terribly so, especially if you reduce fan speeds (they have conservative defaults). If you are someone who wants to sleep next to your printer farm, maybe not a good fit, but for any normal person the noise isn’t a concern imho.

> I just canceled my X1-Carbon order.

Your loss! I’m doing the reverse, thinking about buying another one.
I'm very confused by your stance.

I get that cradle started out meaning "basket" (like definire started out meaning drawing boundaries), but now it literally also means the place where a civilizations started (like define literally means to describe a word).

Are you denying that process happens? Can words never expand in definition? What about computer terms like type? Can a person never literally type on a computer in any context ever?

Or should I just give up because this is a personal neurological thing that we will just disagree on forever due to differences in how we process inputs about the world?
There are more than 40 countries in Europe, each with its own constitution, electoral system and political landscape. If you don't like nuance, stay with your republican=right, democrat=left and feel safe.
I see little correlation between such minor user experience quibbles and sales in US retail.

You can't even tap a MasterCard to pay in any of the top 3 brick and mortar retailers in the US. Nobody is going to walk 2 more blocks past an Amazon Go/Fresh because they want their receipt faster. Or at least, the demographic who would is likely not the demographic Amazon is targeting. These stores are going up in neighborhoods where people are relatively unlikely to look at their receipts anyway.
>If they had access to primitive weaponry, why would they waste energy running when they could instead ambush?

This is the main point why I don't believe in the endurance running hypothesis. Humans are lazy. Why would they opt to run for days over just waiting at the local watering hole for prey?
There is no need for "whataboutism". There are plenty of very similar missives and warnings against, for example, the dangers of climate inaction, and I rarely see people claiming that the signatories of the latest IPCC report are "virtue signaling".
Only if stuck in legacy Java 8, and even then, Java is more useful than Dart.
You are absolutely right here. This problem arose because the surrounding code was much older. I would have liked to reformat it, but that would have been a huge lift compared to what I was trying to achieve.
Lose less trust by being more deceptive --- the motto of modern institutions
...the generation currently exhibiting self control in the article?
> They do. I do not have to convince you that 2+2=4.

Yeah, because you're trying to convince me that 2+2=5.

> If you have read recent European Human Rights Court decisions, you can clearly see what kind of domestic laws is in violation of law. (Yes, I mean some domestic laws are in violation of laws)

And what's that court going to do to make Italy comply?

For instance: I can claim until I'm blue in the face that everyone has to comply with some "universal law" that I declare, and I can issue statements to that effect, but in reality that's totally meaningless because I lack the power to make others follow me. There are a lot of international bodies that makes similar claims, and similarly lack the power. Maybe those bodies persuaded you, but that doesn't matter to the unpersuaded.

International relations is literally anarchy. Sometimes there's cooperation that looks like law, and rhetoric that that claims the moral force of law, but the reality is anarchy -- which is why Putin was able to invade Ukraine and North Korea's government has remained in place for 70 years, doing things liberals find to be horrific and "illegal" the whole time.
Same... the people at Project Zero are basically magicians. I love reading their write-ups, even if I barely understand most of them.
> People have gone through much tougher times and seemed to thrive once the bad times ended.

My theory is that in fairly recent memory, in America you had relatively good times that went from the '80s up to 2008, with the '90s being a particularly tranquil time at that (no major war between Desert Storm and 9/11). So to regress from a time of security and prosperity into a bad time provides a sort of trauma of its own. Especially since, as others have pointed out, there seems to be no exit condition.
It's MUCH WORSE than the Patriot act. This bill is absolutely horrific. And calling it at bill to "ban TikTok" is extremely disingenuous as it egregiously goes well beyond that.
Once he's done with it it will require even more extensive renovation, though.
This is America, we follow through on our threats of violent aggression, no matter how far away other countries are. And when we ban speech, it's not authoritarianism, it's Freedom.
It's a multipart series, I'm hopeful the evidence will be presented in the next parts.
The vast majority of people will not use the website even when the app is not available.
If you don't mind my indulgence, does Qt Creator have any features specific to developing with Qt? Along the lines of Xcode being able to edit resources or graphically connect components, etc? Even a specialized search that's better at finding Qt things. That would take away all ambiguity.
Not if they need to buy a phone for it.
"another group of researchers believe that we should not stop because we cannot be certain whether those who are trying to catch up with us will use the advancement of AI technology as a hidden weapon"

It's not just a potential weapon, but a potential source of untold riches and power.

That's going to be irresistible to anyone with an interest in either (ie. most politicians, governments, billionaires and corporations... and most ordinary people too, if they only had the means).