skysight-inc/HackerNews huggingface dataset:
> Isn't this just inline styles?

Yes it is.

I personally don't like the end result, where by "separating the concerns" you end up hardcoding your style in the HTML markup. For me the utility classes are just exposing the CSS rules to the HTML markup, which I think is actually the opposite of separation of concerns because I when I think of "separate" I think the most of writing code in two different files.

> The amazing thing about this is that before you know it, you can build entirely new UI components without writing any new CSS.

So, if you want a responsive/mobile version you would have to either serve a different HTML for mobile or also have all the CSS rules for mobile in the inline class names. Before you know, you have a list of 30 cryptic CSS classes written inside the HTML markup for an element.

> How many times have you needed to style some HTML and thought, "this text needs to be a little darker," then reached for the darken() function to tweak some base $text-color?

Well, why not just use $text-color--darker? Define your swatches globally beforehand and do not allow the creation of new colors anyhwere else in the code. I guess his solution is similar, but with using another CSS class instead of a variable.

Also, what if at some point you decide to redesign your site and change the margin of all text? So you would have to replace all "mar-6" with "mar-12", but only where the margin is for text. This looks like a complex update invloving a lot of bug-prone search and replace. If it was written as ".text-margin { margin: 6px; }" then it was just a matter of changing one number and you know it would only affect the text-related margin. Sharing style across components is not always a good thing, it makes changing things much harder. I guess with this approach you should never change the initial values, as the entire design might be affected in weird ways.

I am not saying this is completely bad, I am just saying there's no perfect way of doing things and everyone and every project is different.
Clearly the "Your operating system? This isn't Linux, ..." assumes that Linux is yours beyond if it's free and open.
One of their investment paths is "Beacon":

> We believe that there are exceptional individuals with great ideas who likely have the skills to build a company but lack the network or personal financial means to get started. So we will invest a small amount of capital -- $50K (for roughly 2% of the startup idea you pursue) -- to support very, very early-stage founders explore an idea, validate a key hypothesis, or build an early prototype.

https://github.com/Bloomberg-Beta/Manual/blob/master/1%20-%2...
What kind of drivers? Pop an iso of what, where? I hardly can think of anything one could do with FreeBSD and Jails that would involve any 'drivers' - mind elaborating a bit?
It's funny watching the open-source world gradually converge towards something that looks a lot like borgcfg.
engineers are only good at "yes, but"

Being primarily an engineer myself, I can't help to say 'yes, but' you might want to rephrase this into 'untrained engineers' or 'some engineers' or 'uncreative engineers' or similar. Don't get me wrong, I know the people you talk about and I simply cannot deny I used to be like this myself sometimes but over the years this changed into something bimodal. I.e. when needed I will always fall back to 'how can this fail' mode - just because it's often required to properly fix/create things which won't brake, but I find myself defaulting to generating tons of ideas. But I'm also creative b nature so that helps. In fact most other engineers (by education or not, doesn't matter) I know also clearly use a mix of both modes. There's only a couple which don't (and even some which default to only creating a mess, not seeing any problem, but that's something else and I'm not sure if it's an engineer:).
I did and dont feel bad. Unfortunately, these services will be outlawed or regulated for whatever reasons, witholding people from information they should be able to have. I was lucky enough to have had health reports before it was outlawed. I know how imperfect it is , but i think the bans violated my rights. I now have a file with my SNPs - uncensored- to play with as i wish. (I wouldn’t rule it out that these companies will be forced to censor SNPs that some groups don’t like in the future)

Also , it is futile to think you re not already affected, after all we re all connected with only 3 degrees of genetic separation: https://blog.23andme.com/news/make-that-three-degrees-of-sep...
But the garbage collector only pauses for 100 microseconds...
until the next memory operation, when it pauses again. ;-/

More seriously, as of last year at least mark phase pauses could be significant, on the order of seconds for large heaps.
Build Your Own WebAssembly Compiler (WebAssembly SF November)
The two-margin problem in insurance markets
Best skill I learned from my college physics professor: A cow is roughly a circle.
There is work by Frank Vahid (founder of ZyBooks) on many small programs and how students performed comparable to other traditional styles.

However, in the vein of this thread, I think that is only playing one note to learning CS. When I compare CS to martial arts (MA), I consider the traditional programming exercise akin to sparring. It is real world situated, but with the number of new variables it is difficult to successfully demonstrate or refine your understanding. MA, like CS, has a high attrition rate to start, and for reasons I consider isomorphic - a false sense of what CS/MA is and the demoralizing effect of "losing" constantly (sparring or debugging).

So, in MA, there are attempts to make sparring less intimidating. You can pair equal experienced partners or against an understanding senior, but you also focus on drills. If we consider sparring as a combination of problem solving and applying technique in the moment, then drilling removes the problem solving aspect to allow for technique refinement.

So, in combination with traditional programming exercises, my current work is looking at novel practice activities separate from tradition - for example, error finding, output prediction, and even typing exercises (which I have published on).
ML is a subset of AI therefore even though the system is using ML you can call it AI.

Similarly sculpture is a subset of visual arts therefore when sculpting you may claim to be creating a work of art.
The industry buys debts with little to no proof that the debt is legitimate and then proceeds to hound and scare people who don't know their rights into paying.
FreeBSD and Jails are a fully packaged product, but the product isn't what you would like it to be, simply. They are meant to be building blocks for your own customised solutions, not a 'software application' like Docker is.
There's a big limit on how bad it can be with Uber though because each Uber is currently driven by an actual person. That person costs money and places a natural limit on how many unutilized Ubers there will be.

With AVs, this limit no longer exists, and people will start using AVs for runs that currently are prohibitively expensive with care that require drivers.
How do you re-use this inline CSS?
> Being a fixed expression is just one of many necessary conditions

And yet it is the only one you raised, and the only one I responded to in this thread. You are moving the goal posts. If these posts were legal briefs the judge would say you have waived the rest of your arguments and I would have won (Waiving arguments being the legal equivalent to moving goalposts).
Why More Hollywood Stars Are Joining Video Games (It's Not Just a Paycheck)
Since I tend to read ToS and other agreements prior to signing, I was quite surprised to see a similar restriction for Revolut.

In their case it is actually phrased in a way that makes it seem like you are not even allowed to pay for pornographic content with Revolut, not just receive money for it.

Not a problem for me personally but why would payment card providers make such restrictions?

It had some other weird restrictions as well.
This is only really a wide savings once manually-driven cars are banned from the roads entirely.

How long, if ever, do you think it will be for that to happen?
I'd strongly agree on the point that a dark theme in a media editor (or similar context) draws focus to the project and away from the controls.

But I also believe that the UI experience should lean towards uniformity. Still, if you're an expert user of specific software perhaps your brain already manages the context switch. At least, though, maybe the WM could become context aware like Android's dark mode.
This looks promising (even at $750 for the motherboard and CPU) but it seems to be a work in progress, specifically at the bottom of the page it says:

Mainline Kernel – work in progress
UBoot – work in progress
UEFI – work in progress

But if anyone has any experience using this board, please share.
Coastlines (2018)
I like Oberon, both the language and the system, but I don't see either expanding beyond niche usage, in spite of their elegance and compactness.
What Would the Father of Cybernetics Think About A.I. Today?
The 64bit kernel is able to run a 32bit userland, so it should be possible with the correct libraries etc to run vcgencmd and friends.

I've personally had no issues - the system is overall faster than on armv7h - ioquake3 runs full speed, I can watch 1080p videos in mpv, etc.

I can't seem to get the 'kitty' terminal to work which does require the use of OpenGL, but that doesn't work on a 32bit kernel for me either.
> Variable shadowing is actually a pretty clever thing that I'd like to see in other languages.

Shadowing exists in most languages, the biggest difference being the allowed scope relationships between the shadower and the shadowee: most languages allow inter-function and inter-block shadowing (if they have actual block-level scope so e.g. not Python).

Intra-block shadowing is a much rarer feature, and one which Go doesn't have.
We have an integration with Payworks for non-US, but mostly hoping Terminal rolls out globally soon.

But, no card reader is required.
Sure, Tao's an outlier among outliers, but in general nurturing a prodigy does not require a lot of parental time or money. I've met a number of such prodigies in the course of my work, and generally their parental involvement amounts to buying them a book every few months, at their kid's insistence. The kids then teach themselves, often by sneaking glances at their books or math problems while hiding out at the back of a standard school classroom. They are not more privileged or supported than the average middle class child in a first world country.

The world's best educational resources are dropping rapidly in price; with some searching, you can even get an mathematical education up to what Tao knew in graduate school completely for free.
How to Find Hidden Cameras
This is basically Keynesianism, which is the leading paradigm in macroeconomics. The challenge is knowing how much excess capacity there is in the economy. Unemployment is 3.6%, so I would guess not a lot, but I could be wrong.
It's one of the reasons I won't work with Java -- I just don't want to tie myself to a technology that's owned by a company like that.

Somewhat amusingly, Java becomes more dangerous to use if Oracle wins this case, because they would then be able to kill OpenJDK and any other implementations whenever they want.
When the FAA Chief of Aviation Safety says there was "nothing he could have done", that is sign of deep systemic problems where someone else is to blame.
An Oral History of Wipeout
This reminds me of how my own behavior changed when Amazon Locker arrived. I could order what I wanted, and have it delivered up the street without having it stolen off of my porch!

Now I'll order something off Amazon, then 30 minutes later think of something else I need, then 10 minutes after that get another item, and then I've got 3 separate shipments taking up 3 spaces in the lockers, because to me there's no cost to the lack of planning.

When Amazon tells me the lockers are full, I become furious.
First link is paywalled.

Second link: they kowtowed to Congress because it would be worse if they hadn't. Look at what they actually did: they complied with the law and advised their clients on how to comply with the law. That's their job.

Third link appears to be all about allegations in a lawsuit rather than anything that was proven.
Can this be expanded to selling “nursing home futures”? In a typical home, families pay X/month to keep their loved ones taken care of. In my plan, investors can buy shares in each resident, and can expect an increasing return as the upfront costs of establishing the resident are amortized.

The nursing home turns a profit if a resident dies within a period of time where the “upfront costs” are not yet all spent. The investors profit if a resident stays alive for a long period of time in the home.

The perversion of incentives will encourage good care of the residents that maxes out their life span and to ensure that investors keep coming back.

I wonder if someone with a finance background could tease out the benefits and pitfalls of this plan.
> I'm actually between arch enemies at the moment, so the position is open if anyone would like to apply.

Is the lair a proper complex built into the side of a volcano? I'm not quite diabolical enough to make my minions work in an open office.
> Please, don't exaggerate.

I am a software developer who uses Linux exclusively since about 2000 and has contributed indirectly to Debian.

Last week I wanted to setup Debian on my new work laptop. Naively and without thinking much I downloaded the default image, so the wifi card didn't work.

I was on holiday, abroad with friends. Even with both the buster and testing non-free images the wifi card didn't work.

After three hours (downloading, installing a cd creator on a mac of a friend etc) I got frustrated, downloaded an Ubuntu image and it just worked.
Surgery for Blocked Arteries Is Often Unwarranted, Researchers Find
The world powerful herbalist in Nigeria
I'm with you there.
Not the parent, but the approach I've seen in React is to treat inline CSS as objects like "{ fontWeight: "bold", color: "#000" }". So to re-use it, you can either put it in a constant or make a component that applies the styles to an element (and maybe takes props to override them).
I would agree with most of what you said here. To echo your semantics and in the greater context of this thread, I was merely pointing out that increasing the supply (and in the case of money, distribution/saturation) could increase the "quality" at a rate faster than the forces that that push the "quality" down in terms of "quality" per unit of currency. In the specific case of money, there is an additional group psychology at play: if you believe your money won't be worth as much tomorrow as it is today, then you should spend it today if you can. Since the value derived from currency is in its exchange (it's not producing any value sitting under a mattress), it increases the "quality" of the currency for it to be circulating.
Chart median home cost vs. Median salary and you'll see the problem. Salaries have declined since the 1970s while home costs have doubled.

In 1970 about 1 year of earnings could buy a house. Today it takes 4 years salary.
Cars are a dead end. No matter who drives them. We need subways like Manhattan. Or at least like the DC metro. Eminent domain and political willpower is all it takes.
The point they're making is that the only possible solution is to solve the land use problem, so that the majority of people can live lives that don't require individual automobiles. Broadly speaking, this means building densely enough that walking, biking, and mass transit are suitable for most trips.
This reminds me of the debate around not-quite-self-driving cars. Saying the product is safe to use, but that the user must be ready to do X immediately, despite evidence that the users you're selling to won't be ready to do X immediately. Then when people die you get to say it was totally safe, if they'd just done what they were supposed to do.

Or we could just design products that will be safe in the real world, rather than ones that could have been safe in a utopia of perfect people.
There is some interesting genetic theorising https://en.wikipedia.org/wiki/Ashkenazi_Jewish_intelligence#...
In every mainstream language I can think of `map foo myCollection` creates an intermediary map.

Memory allocation is so expensive that making that copy is often more expensive that calling `foo` on each element.

Sometimes making a copy is exactly what you need and there's no way around that cost (but hold that thought).

But I've also seen `sum map foo myCollection` so many times (especially in JavaScript).

Here you have a short, neat but also extremely wasteful way of doing things. I see it so frequently that I assume that many people are unaware of this cost (or completely disregard performance concerns).

If you were to write this imperatively, it would be obvious that you're making a copy and maybe you would stop and re-think your approach.

But there's more.

If you're paying attention to performance, an easy way to improve performance of `map foo myCollection` in e.g. Go is to pre-allocate the resulting array.

For large arrays, this avoid re-allocating of underlying memory over and over again, which is the best a `map` can do.

In imperative code those costs are more visible. When you have to type that code that does memory allocation, you suddenly realize that the equivalent of `map` is extremely wasteful.
Right, but it goes from being something you get for free to being something you have to go out of your way to do. Which can matter, especially on projects where you're designing a site/theme to hand off to someone less technical.
I feel like one thing that isn't addressed is the way designs are often made. Using utility classes requires that your designer is also aware of this and uses it. My experience is that most of the time this is not the case. You will end up having to make a lot of utility classes for single cases.
I love how my non-argumentative, acknowledgement of both sides was still downvoted - exactly reinforcing my note.

Thank you
Stents and bypass are no more effective than drugs for stable heart disease
Similar studies could be done on long running Minecraft servers. Back when I was playing a lot of MC one of the things I enjoyed was exploring abandoned bases. It's really interesting to see what happens to abandoned bases / settlements in open world games.

I once had a large base on a modded Minecraft server, with multiple buildings, lots of machinery, nuclear reactors, power lines running everywhere, etc. Eventually I stopped playing and announced to everyone else my stuff was free for the taking.

A few months later I decided to hop on and see what was left. It was almost like you'd expect to happen in real life.

The buildings were mostly intact but had missing doors and broken windows. All of the most valuable stuff was stripped out. There was some worthless stuff left, like food in vanilla chests. My nuclear reactors had been partially disassembled, the most valuable parts scavenged.

It felt like visiting an abandoned factory in Detroit. It was once glorious and now stood in ruin.
There are simulations that show great deal of how and what is the likelihood of different systems forming.
The article has a somewhat rose-colored view of free trade agreements - in practice, they tend to include many environment-, worker- and consumer-hostile clauses (which is predictable, since the agreements are negotiated mainly by industry representatives). I can't find the source currently, but I believe one of them (Possibly the TPP?) had a clause where a patent holder could forbid the export of any item covered by their patent (even after it was sold). The direct opposite of free trade.

A brief example of the many horrors contained in the for-now dead TPP: http://infojustice.org/archives/34189

And industry representatives defend such terms by saying that they are 'standard' for trade agreements (that they also mostly wrote!), as if that somehow makes it better, not worse.
RSA Algorithm for Noobs
Or the Lewis–Mogridge Position[0] which is that "traffic expands to meet the available road space", i.e. building more roads (thinking it will improve traffic congestion) usually ends up making the traffic congestion worse.

[0] https://en.wikipedia.org/wiki/Lewis%E2%80%93Mogridge_Positio...
Odd that the author never really discusses if it is fun to play. Thought that was one of the first things to do when reviewing a game.
Rust Live-Coding Sessions
Can you consider flatpak instead or in addition to canonical's snap? or maybe just a .tar.gz
Didn’t we manage a few years ago to go an entire calendar year with no commercial airline fatalities?
>>> This is really the biggest challenge facing borrowers. The means of payment should really be locked in.

Why? Some debt terms are incredibly long, such as a 20/30 year mortgage. Many soon to be paid off mortgages were signed before online banking / online payments was a thing. So you would be forcing people to continue using outdated and inefficient technology,,, b/c no reason at all.

Can you imagine the payment technology we will have 20 years from now? If I bought a house with a mortgage today, why should I be forced to continue using today's technology for another 20 or 30 years when a better technology is out there?
qsort in general executes one call per comparison, this doubles that to two. Whether the std::sort method is better depends on the cost of the comparison: for cheap comparisons, having it inlined into the sorting routine is better. For expensive comparisons, it's likely better to have only a single instantiation of the sorting algorithm that uses function calls.

I'm curious: Is there a programming language or a compiler that is actually smart enough to make that distinction? In principle, C++ compilers wouldn't have to monomorphize template instantiations all the time: it's in principle possible to compile templates in a way that adds a hidden "type" parameter to the function which essentially acts as an out-of-band vtable to provide the operations that the template uses (yes, there are ABI issues).
I think the article points out the main reason. It is more profitable to build Facebook than put a man on mars.
Another reason: no imminent threat from the rival superpower. Though , the rise of china may change that
I love the analysis in this post. I think utility functions along with a set of design tokens (Styled System [1] / ThemeUI [2]) is a better mechanism and achieves the same end goal as utility-first CSS, at least in the React ecosystem.

1. https://styled-system.com/
2. https://theme-ui.com/
He was at the premiere computer science research organization for decades. And you presume that he's not familiar with sum types, because if he was, he would have included it, and therefore he can't have been familiar with it, because he didn't include it? That's the most amazingly arrogant thing I've heard in a while.

The fact is that Rob almost certainly knows more than you, rather than less. And he still made the choices he made. That should make you ask questions, not about Rob's knowledge, but about yours.
> It's very unlikely though. These companies have a lot of influence and a lot of power

While that's true, just money and influence aren't sufficient for this. Congress passes laws, but its upto the Executive to interpret it. The lack of breaking up of larger corporations has indeed been due to their significant influence, but I'm interested to see how e.g. a left-learning President like Sanders or Warren would use the powers of the Federal Executive (specifically the Justice Dept) to enforce existing anti-trust laws. Probably the only thorn in their plan would be SCOTUS, and its possible that its current makeup might make it amenable to the influence of corporations (its not clear to me if it will).