skysight-inc/HackerNews huggingface dataset:
Agree on both counts.

It's really inspiring to see what real engineering is. Makes me feel like a sell-out massaging Skinner boxes.

In the laundry problem they are dealing with both the extreme challenge of physical objects (connecting the right pump to the right controller, battling liquid pressure loss, unreliable reference washing machine performance and water quality ), abstract concepts ("what shall be identified as microplastics?" "is the reference wash cycle in any way relevant to how plastic clothing sheds when worn by humans?" "how shall the conflicting measurement methods from literature be addressed / unified?") and project constraints. To say nothing about filter clogging.

And it's a great feeling to know that your work is fundamentally relevant, i see that even when they hit their lows.

Really making me re-consider my career path.
No, but it's weird when people get annoyed that Google are putting ads next to the videos
The people owning these domains most probably have them listed on a domain market place so you might not have to deal with the person directly and if it's listed as instant buy there is no bargaining or whatnot. You just buy it and the platform handles the transfer of ownership.
In the past, I had a userscript that would just clean up the DOM document on the page (along the lines of document.body.textContent = '') and would just fetch/parse/query the website content anew via XHR and render the content as I liked.

It worked pretty well. And if you keep using some common helper functions, it would not even be that much code. A few tens of lines, or something like that.

You're also within the browser and the origin, with all the cookies and stuff handled for you by the browser, and a ton of platform API at hand, so it's fairly easy to even make your own forms and submit data to the server.

It's also a way to not be accused of creating a derived work from some proprietary CSS/JS that might have been on the website, if you ever publish the userscript.
How is it lock in if you do something like extract components? https://tailwindcss.com/docs/extracting-components

Or define components? https://tailwindcss.com/docs/plugins#adding-components
Yes, that is exactly the point I was trying to make!

It seems like a more concrete example of JS in contrast to Rust could have cleared up the confusion, but I didn't really want to make it a X vs. Y article that just comes of as language bashing.
Yes, a tiny minority.

The majority are so bad that they have reduced their consumers ability to read to the point where they can't understand the difference between few and none.
Ben Stokes is also a very popular English cricketer.
This is a problem that should be solved by the framework. With React you can look at the virtual tree instead of html.
Who cares. Please tell us about more things you don't like
Rust has its own colored functions problems due to the whole Fn/FnMut/FnOnce distinction, based on the properties of closures' captured state. It's bad enough that some folks would say Rust functions are not genuinely first class, and it's also why some features that are common in other functional languages (including monads as generally understood in FP) are challenging in Rust.

It may be possible to come up with some more elegant solution to the overall issue by adding linearity to the Rust type system, but clearly this comes with its own issues wrt. ergonomics. All of these are really complex, research-level problems, and it's not clear whether they can be addressed sufficiently in an overtly "practical" PL design.
> do basic tasks like reading a file into an array

not 100% on-topic, but that's an interesting one because I'd expect many active devs could stumble over: Reading a file isn't difficult, but it's also not something you actually do very often. If you do C++, you're often working in large projects where reading files is something done by libraries, custom wrappers, ... It's firmly in "if you need it, once every few years, it's in the docs" land.

Whereas I do comparatively little code in Python, but a lot of it is small one-off scripting where file handling using the basic facilities is typical.
Isn't this the job of a catalytic converter?
Used to use WebEx at work.
I hated it.

But I can't remember anything wrong with the installer/uninstaller, really. Don't know why you want to complain about that.

The uninstaller has a UI that is readily understandable, and does what it's supposed to. The rest of the application does not.
This article convinced me to give Tailwind a try.
To pile on to the recuiter hate train, I have absolutely had recruiters insist on getting a .doc resume, which I never give them. Some will elaborate and say they want to add their logo.
Interesting thing is that more or less the same applies to electronic schematics, that's why companies no longer add them to service manuals as the connections between components can be freely copied. Only thing that you can copyright is the layout or PCB traces, but not as a schematic but as painting. There is an exception if a certain component configuration is patented, but that's rare.
So essentially you can copy any electronic device provided you will not use the same layout and traces.
* I am not a lawyer, just my personal research
I quite agree, especially with the second paragraph.

What I see as main "advantage" is that it stops developers from trying to be smart. With Tailwind first idea when creating a new component is using some combination of existing utility classes and it will be probably more or less ok and consistent with rest. Without Tailwind, developer will probably start create new classes, possibly duplicating or reinventing lot of existing stuff.
Airbus will do nothing, they are not interested in harming Boeing as they would suffer retaliation from US government
A "cheap low-res IR camera" isn't really a thing. Thermal imaging cameras cost a lot more than your average microwave, even at resolutions we would consider "super low" by visual standards. The only way it would be worth it is if it worked flawlessly, which it probably wouldn't even with a pile of R&D. Microwaves intrinsically never heat food evenly, so in order to heat the whole system to your desired temperature, you must perforce heat parts of it to above your desired temperature, or switch the magnetron on and off an excessive number of times as the system asymptotes. Nor are the hotspots in a random place, but are fixed resonances; the best we've been able to do about that is a turntable, which turns a hot spot into a hot radius. So you're going to be heating the same spot multiple times. Microwaves are just unsuited for this, and a thermal camera won't help much.

For your poaching salmon application, you probably want a souse vide bath. You can build a passable one for pretty cheap - it's just a pot of water on a hot plate and a thermocouple. It will heat the entire surface of the food to exactly the target temperature and hold it there; you can detect when the food is up to temperature by measuring how much energy you need to maintain the bath.

To boil water in the microwave, may I suggest a sealed container with a plastic whistle, like a kettle?
You suffered because of idiot co-workers.

Let me tell you, your idiot co-workers can also do some evil things in Mongo pipelines.

Very, very evil things.
Cryptographic coin flipping, now in Keybase (2019)
That's true, but not for media queries or pseudo selectors. I suppose with CSS custom properties it would work something like this (please correct me if you know a terser way to use defined colours and weights):

<span style="color: var(--color-primary); font-weight: var(--weight-extrabold);">my text in primary color and extrabold</span>

I believe Tailwind's syntax is still far terser and more manageable:

<span class="text-primary font-extrabold">my text in primary color and extrabold</span>

When you have lots and lots of styling this quickly becomes important
> So my rule is that if people in the world top 10

Sure. Most of the time that's true. However you can go a long way in your 20s if you don't get injured and you maximize the benefits of sleep, water, massage and scheduling. And let me say it again, don't get injured! :)

> How big were you?

Junior sumo weight. I know from the dust on certain weights that nobody ever unracked those except me.

A misconception is that roids are the most important thing, but nutrition/insulin are equally important, if not more. Mr. Olympias eat 10,000+ calories per day, some size monsters do 20,000 calories per day. They tend to blow out their pancreas though.

I'm sure people in the gym used both. I mean, come on.

A lot of my exercises were coincidentally the same as Arnold's (concentration curls), etc. that nobody else does now, so I would max out curl bars with 10x reps. (See Pumping Iron for great clips.) I was able to work in with pros (often the front desk would tell me as I was leaving, "Hey, you worked in with so-and-so.") Shrug. :)

People (ok, dudes) in airports would walk up to me and start feeling my biceps. I was planning to do the Inch dumbbell lift, but never got around to it.

https://en.wikipedia.org/wiki/Thomas_Inch#The_'Thomas_Inch'_...

An interesting Russian technique is not to overload muscles to exhaustion so you can do more days. (I did 3x per week for a decade, but the Russian method could be 14x per week with less intensity.)

Anyway, just some natural tips and anecdotes. Note that if you want to enter powerlifting competitions, the bench "starts" at 350 pounds, so that should be your goal if it's not just a hobby.
My point is precisely that they compare two subpar approach of SQL while prepared or stored procedure are the real contender here.

And as far as I understand depending on your use case prepared or stored is better.

Prepared mean less code base inside the db and still more composability with less sql injection risks.

Stored add even more composability and security but at the cost of managing code inside the db.
As a (former) programmer, the idea of changing to latitude based time zones in every current software package in existence gives me nightmares. But if you are looking for "Basic Jobs for Programmers" policymaking, it would do the trick.
I think there's more than personal preference at play here. The hidden benefit that the author missed is that Tailwind's (or any other atomic CSS approach) classes are immutable and all changes localized. This pays off hugely for large [enterprise] projects.

In a million-line codebase, you can add and remove classes from a specific element with 100% confidence that you are not breaking anything else. With class-based styles, even when using theme variables, there is always the chance you end up breaking something at a distance by adding a property to an existing class, changing a shared value, renaming a selector or changing it's precedence.

If you find yourself in this environment where dozens of people are making changes concurrently, and these issues are a daily occurrence, naturally you'll wonder how you ever worked with CSS any other way.

styled-jsx and other approaches can get you similar benefits but extra care is necessary. I mostly avoid Tailwind due to the lock-in, complex setup and slow build, otherwise might have used it for quick prototypes more often.
I also thought it was real time audio translation, as google meet has speech to text already for a while.
You can do this already with:

<div class="container">This is the text</div>

.container {
align-items: center
display: flex;
justify-content:
height: 200px;
}
I'm looking forward live audio translation in the speaker's voice.
But that's unrelated to "social justice", isn't it? It is idiotic nonetheless.
This is a fun hack, but there is no way I would get involved in providing any form of commercial email service for $1440 arr. I wouldn't do it for $1440 a _day_. Everything involved with email is pain. I wish you luck.
Really cool and brings me a wave of nostalgia for Mugshot[0].

15 years ago Red Hat launched a similar service and it was great. Unfortunately it didn't catch on.

0. https://arstechnica.com/uncategorized/2006/05/6955-2/
Could almost just instead add a class to your html, and at the same place as the markup add a style tag inline writing exactly what you need. Css doesn't have to be one huge chunk. So instead of

<div class="lots of stuff">... or <div style="lots of stuff">...

one can do

<style>
.something { lotsofstuff }
.something:evenwithpseudo { otherstuff }
@andevenwithmedia {}
</style>
<div class="something">

and just have lots of small <styles> everywhere.

That's basically how elm-css[0] does it. One writes css in the attributes of elements, and then when it's converted to DOM-stuff the css is extracted and classes created (or reused if similar). Since it's all elm-code one can reuse variables, call functions, import styles from somewhere etc

[0]: https://package.elm-lang.org/packages/rtfeldman/elm-css/late...
If it’s on a case insensitive file system, it does.
This is just plain wrong. There's nothing you can do in C/C++ (or C+, as you put it) that you can't in rust, when it comes to parallelism. There's always unsafe if you really need it.
>I keep thinking discussions are stacked against nuclear unfairly.

Very fairly. Nuclear will always be many times more expensive than equivalent power hydrocarbon powerplant.

It's not because of any manufacturing intricacies, but largely from just the material cost.

It's not possible to "science it out" how to make ultra reliable pressure vessels with less steel, and metalworking, and large industrial building with less cement.

Nuclear reactors are fairly dumb industrial implements, basically very huge, and expensive water boilers.

The biggest advantage of nuclear is very cheap fuel, and fuel logistics. Nuclear fuel is cheaper than even coal. The price of transporting coal also makes not a small part of its cost.

40-50 years, that advantage was what pushed nuclear power to prominence.

Now, the cost of fuel, and its transport is not considered that significant, and nuclear lost this advantage. Costs of some fuels actually went down as extraction scaled up, and itself became cheaper. Transport costs also went down. Power plants got more efficient.

To regain this advantage, nuclear plants need to produce many times more electricity, and heat for their cost.

This is why I was always telling people that scale is what is the real problem for nuclear now. Four, and up to ten+ gigawatt reactors is what will make difference for nuclear.
I explicitly noted that I see why credit card are required, just that I am considering Oracle to be malicious and likely to be fraudulent.

> It’s impossible to breakout of the free tier and get charged for something.

Impossible in which sense? If they got my credit card info they can charge - and possibly justify it by convoluted rules.

And "Oracle promised something" is sadly not very credible.
My team maintains around 200 websites on behalf of a design agency. Performance isn't important, and these clients aren't paying much.

Let's say a client wants to add a custom page, with some custom design.

Where do I add that? Into the global CSS, where now it needs to be maintained? Do I use a body#custom_page selector before everything? I've got elements that I now want to override only on this page. The easiest way is using inline CSS, except I can't inline responsive and pseudo-states. Updating the 5000 line CSS file with a bunch of classes under a body#custom_page selector is hard to maintain.

Tailwind solves this problem, by effectively allowing me to use inline styles even for responsive and pseudo-states, and simple variables.

CSS is effectively global state. You make a change on one bit of CSS, it can affect any part of the website, so you have to know about the whole website before making changes. And that's impossible when you maintain 100s of websites, especially when budgets are small.

I can see why Tailwind isn't helpful in a large company maintaining its own large website. But for small teams managing lots of different websites, it's fantastic. It allows you to localise and isolate the effects of CSS.
>not having to look at two files to understand what's going on (html/css) really felt like a big boon,

If I am currently creating the html and the css I don't have to look at both to understand what's going on. I only have to look at both if I am coming into some html and css that was created a while ago.

If I have to understand the html and css that was created a while ago and how it all relates I don't do it by looking at different files - I do it by opening up the browser and inspecting.

I suppose you have a different way of doing it that I have difficulty envisioning.
Like many discussions, Tailwind is a topic on which some of us are guilty of not stepping back and realising that others have different views mostly due to their background and the tools that they've used, and that those views are totally valid.

For example, I also don't like Tailwind (or, for that matter, Tachyons or any of the similar tools). I find it absolutely infuriating to work on a site that uses it, it is a massive drag on my productivity, and offers quite literally nothing that I want.

But here's the thing – I was a front-end specialist for years. I know how to write CSS and Sass, how to build UIs from them, and I have an established set of patterns and helpers for doing so. I used to be a graphic designer too, so doing things like building an application-specific design system is my bread-and-butter. For me, Tailwind is a massive distracting abstraction on top of a thing that I'm already completely comfortable using.

Other people aren't necessarily in the same position. It takes a lot of time and work to start thinking in terms of the way that styling works on the web, and CSS is pretty different to many of the languages and tools that developers are used to. If you're a back-end developer who is primarily interesting in implementing a straightforward and functional UI for something, then investing lots of time in the quite different skill set of front-end styling probably doesn't offer a good return. So there are sets of tools out there which make it easy to write simple, organised, and maintainable sets of styles, without having to get right into the weeds.

Of course as always YYMV and you might be a CSS expert who loves the consistency of this kind of framework. But I'd definitely back up the idea I've seen some other people mention – there's no obvious right or wrong, or objectively correct answer.
From Vim to Emacs in fourteen days (2015)
Yeah. Some of my friends lent through https://www.kredx.com/. They made good returns initially but it all quickly unraveled during NPA mess and of course the pandemic.
How I earn a living selling my open-source web-based invoicing application
I’d say even at a large company this can be advantageous. Since most devs are moving into fullstack, it’s obvious to me when more backend centric people are doing frontend. I’d rather they reach for standard classes than do their mish mash of css brainstorming.
"Snobbery" is an incantation We speak to get a seretonin boost in the presence of people or groups that cause our seretonin levels to drop.

It is one of many tools that can be used to attack or diminish those who are seen to have higher status than Us.
I know nothing about Go or IP, but i do know Erlang where atoms (= interned strings) are a little bit of a security risk because it makes it very easy for an attacker to cause out-of-memory by flooding an endpoint that converts input strings to atoms with random data.

Is that a risk here? Could i connect to a Go service that uses this library with a patched IP client and somehow push random data into that "zone" string and crash the server?
This is an amazing idea for sci-fi!

Spread the masses out over orbit, measure net gravity on those (by orbit deviations?), and you should be able to detect changes in gravity from distant objects. With enough spread maaaaybe you could do something with parallax to detect distance too.

Imagine a system like this in 'the expanse' to detect the stealth asteroids hurled towards earth. Or, in general, to detect massive ships that are 'on the float'.
If Rust async isn't colored, so C#'s.
Actually the transition from "offline editing" and "electronic terminals" was not short at all. Teletypes (aka "typewriters which can recieve content encoded in electricity, next to the user keyboard") date back way beyond computers, and were still in use in the 1980s (but evventually superseded by fax). Teletypes were cheaper, faster and more convenient then video terminals. Don't underestimate of having a printout of your session, especially when being online (i.e. connected to the mainframe or mini computer) is something valuable and your terminal is "dumb" and has no storage (except paper).
Exactly. Every time you find yourself doing copy paste for a whole range of elements, introduce a component with its own collection of style classes.
> if you incorporated the business XYZ then you're entitled to the domain XYZ.se

What happens if the domain is already registered? I think I've seen .se used as the ending of english words like say impul.se (first try, seems to be unused or squatted).
Show HN: I've just created a Basic Python Quiz
Agree, context-switching is massively overlooked

When I'm creating an element having it styled as-I-think, without having to switch to another file is a nice productivity boost

Especially if you have some sort of real-time rendering on your local server
Good!!

For me (and many others) it's been a game-changer, but I didn't truly appreciate it until I actually tried it.

There's a lot of help available, and I highly recommend Adam Wathan's Youtube channel (https://www.youtube.com/channel/UCy1H38XrN7hi7wHSClfXPqQ/vid...) where he has several livestreams of actually building pages using Tailwind. Watching a couple of these went a long way to convincing me that Tailwind was worth trying.

(Adam is the creator of Tailwind).
OK, but my assumption was that this syntax was proposed as an incentive to use Tailwind, rather than trying to cram custom properties into style attributes.

If I’m going to use custom properties it would be in a way that plays to CSS’s strengths.
I think i might have realised I've become old, when the very idea of an emoji domain causes me anger. sigh
That's fine for the typical case, it's not like "teens with fresh ideas" solve all the problems, that's why this is news worthy because it is an exception. I'm not sure this story (the article in question seems like a blog of some sort so their writing might not be the best) is trying to pass off the idea that it's common at all.
Unique identifiers are something that should be added separately.

It's not just debugging: If you're doing any kind of testing on the UI you already need class or data attributes to identify the components you're using, otherwise you test becomes coupled to the structure, or worse: to the styling.

The difference of Tailwind to other methodologies is that the Tailwind classes are used exclusively for layout.
I hope you are right, because that's better for the environment. Independent testing of the Tesla Semi will prove or disprove all these claims. Regardless, the huge point here is that we offer a retrofit solution that solves carbon emissions from trucking now.
Aiju's Online PDP-11/Unix Emulator
From the FAQ:

"Q: What OS is this thing running?

It's running UNIX Sixth Edition, a.k.a. V6. Yes, that's the one John Lions commented in his famous book."

- http://aiju.de/code/pdp11/faq
Hipster offended after mistaking himself for hipster (2019)
U+F71F6