skysight-inc/HackerNews huggingface dataset:
Nature is the only one capturing CO2 at the moment.

Biodiversity is what nature does. It starts with soil, then small plants, and gradually you get trees. It's very energy efficient, but it's a very slow process.

Industrial monocultives are nothing like that. It's much faster, but it works out of the paths nature has. Usually by emitting CO2 directly, which impacts climate change.

For example, the natural process of building the soil of a forest takes decades of tiny plants and animals living and pooping and dying, while artificial lumber forest soil is brought in trucks, and set in a single season, with fertilizer extracted from a mine (more CO2). The pooping and dying part releases some CO2 as well, but it cannot compare.

On top of that, cultivation tends to take land from wild forests and jungles. So that doubles the effect.

Permaculture is a way to produce food and wood products using methods that mimic what nature does. Give it a look if you are interested in these things.
Snitch doesn't sound like beach, sheep, cheat. I'm not sure how to approximate snitch in French, maybe you can't. The Google card that comes up if you search "snitch pronunciation" is right though.
Are Oysters Vegan? (2019)
For autonomous robots, sure. And for dumb robots. But are they a problem for people—e.g. rock climbers, divers, etc.? If not, then they also wouldn't be a problem for remote people, provided those remote people get enough sensory feedback to be aware of the relative position of the tether.

After all, the whole point of all this motor modelling is to enable the robot to do things humans do, like noticing when its foot lightly touches its own tether, and then using its hands to unhook the tether from its foot, temporarily pull it lightly aside, step around it, and then drop it. (Think: vacuuming a room with a tethered vacuum cleaner.) That's a very hard thing to teach a robot to do; but a human that realizes they're "plugged in" would do it almost intuitively.
With containers, subdomains and redirects I’ve found switching off network and forcing each subdomain to open in a particular container 1-by-1 to work well.
I can tell you that this is pretty much everyone. I've just experienced this in some interviews and conferences where people were using Zoom and Teams for the first time.

There was definitely much more confusion when using Zoom than teams. How do I share my screen? How do I open the participants/chat when sharing the screen ... The interface especially when sharing a screen is absolutely horrible.
Same way it is pretty much everywhere, including in nuclear power plants. Heat water and use the steam to run a turbine.
What does tase mean in this context?
In the UK 70% of a typical green glass wine bottle will be recycled material and the limiting factor is the availability of the recycled material, the manufacturers would use more if they could get it, since it saves energy to do so.

And we generally don't offer deposits. When we did, the bottles were actually re-used directly.

When recycled, it is crushed, that creates something called "cullet" which can be used in the glassmaking process and is easier to transport. But I don't see the link to keeping broken glass of the street, that should be possible without crushing or recycling.
I think it basically heats up the walls of the chamber, from which you can use the heat to make electricity in the usual way.
They could use the Tiny C Compiler if compile speeds become a concern, although it supports far few platforms and generates much slower code.
Why DevOps Discord Community?
Decades ago I participated in some group programming contest for universities (in person, not online). We did terribly, but mainly I remember being in awe of how quickly Waterloo was solving the challenges.
There is quite a lot of prior art. A good place to start would be by looking into the "Vienna Circle" of philosophers.
What slow cooker recipes do you make most often? I need some ideas
Regarding types, you're right, though JSDoc can get you very far

Regarding perf (performance, I guess?) - are you speaking of the single, global one? As CS takes care of variable scoping automatically, I think it makes a lot of sense (and is deactivatable anyway)
How the latest and greatest Samsung and Apple earbuds lock you into their world
How do I manage an employee who doesn’t need the job?
100% agree. Especially if the data was going to be hard to collect.

I have fabricated data to shut up my political chain more than once in my life. Why? Because they kept pestering me after being told that the data doesn't exist yet but will exist naturally at some point in the future.

So, I can fight with my management chain because some VP has "collect data about X" on his quarterly goals and simply won't take "No" for an answer. Or I can feed him crap data that he will most likely forget about. And if the data is actually important, the data will fix itself in <n> months when I collect it.

Most probably, the data never gets looked at and I never waste the time collecting it. All good. I'm a wonderful team player that gets his job done. Probability: 95%

Or, possibly, some intern comes to me in 18 months asking why my data seems to be ... off. Cool. Unbelievably, someone is really using that data. I give a "Hrm. I'll go look at that." prioritize the poor intern, collect the data and give them an attaboy for being so diligent. Intern is happy and his boss thinks he's extra diligent. Probability: 4%

Or, if the data was actually important, I collected it and resubmitted it myself at the first point we could realistically collect it because I wanted it for myself, too. Probability: 1%

However, if that fabricated data somehow escaped the company and people depended upon it, yeah, egg yolk on the face all around, and I might get fired. Probability: 0% to a three digit engineering approximation.
Really cool. This looks like an ideal language for super quickly developing small apps. I am probably going to use this to write a very minimalist hiking photo blog I've been putting off.
If they recover the data would this still be admissible in a US court?
They spent 20 years in Afghanistan trying to get the country to stand on its feet but ultimately Pakistan's terror machine had unlimited terror resources to draw on (millions of illiterate and poor and brainwashed young men) to continue a slow burn fight. Do I think Biden fucked up, yeah but I don't care and I'm glad we're getting the fuck out of that shit hole.

Would they defend Taiwan? Probably not but it would cost the Chinese dearly.
fast enough is good enough. All the words you used to describe a good experience are subjective and relative.
Hard problems seem to crop up whenever you get far enough along doing something. At some point you’re not a beginner any more, you’ve reached the bleeding edge of whatever your domain is, and hard problems just start presenting themselves and you have to solve them to progress.

So I agree with TFA that there is no need to go explicitly looking for them .. just do something well enough and keep progressing for a long time, and the hard problems will come to you.

(A canonical example of this might be something like Facebook .. most CS undergrads could easily write the first version of FB, while years later it takes many, many CS PhDs to keep building what FB is now)

A corollary is that if you just start on day one with the hardest problem you can think of, solving it is probably not very useful (there are exceptions). The more useful hard problems to solve come up when you’re trying to accomplish something else.
The discord snap blocks this with apparmor by default unless you connect process-control. But it also fills your kernel log with audit denials.
In some languages you can get a choice. Broken record time, but Ada:

type Byte is unsigned 2**3;

This will permit any value in the range [0,7] and when you exceed it (in either direction) it will wrap around (the desired action if you choose this type). In contrast:

type Byte is range 0..7;

Will give you a runtime error when you exceed the bounds by trying to increase beyond 7 or decrease below 0. Having this choice is nice, you get to decide the semantics for your system.
Vaccine stockpiling by nations could lead to increased C19 cases, novel variants
Energy has the most externalized costs of any industry.

The 5th fleet is in the Gulf to protect the flow of Oil.

The USD is backed to some extent by petrodollar, and that is a geopolitical hammer the Americans like to use at least to some extent.

So what does 'profitable' mean?

If Climate Change gets really problematic quickly, then guess what, all Nuclear Plants become considerably more profitable because the government will socialize the losses in case of catastrophic failure meaning owners don't pay for massive insurance costs which are a problem for profitability today give the possibility of $100B payouts in the case of failure.

I'm wary of the commentator's cynicism. If we can make demo plants operating at some scale, close to break even in 25 years ... then that's a strong hint there's material progress, and that those plants could be breaking even another 25 years later.

It also easily justifies a number of scientists working on it now even if only pans out in 50 years. The long term surpluses are potentially ginormous, like, to the point where they existentially shape the future, much like carbon fuels triggered the industrial revolution.
100% agree. I think depth is critical and monocular estimation doesn’t cut it.
> conforming to the specification for email addresses

You mean something that roughly matches this obvious regex:

\A(?:[a-z0-9!#$%&'*+/=?^_‘{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_‘{|}~-]+)*
| "(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]
| \\[\x01-\x09\x0b\x0c\x0e-\x7f])*")
@ (?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?
| \[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}
(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:
(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]
| \\[\x01-\x09\x0b\x0c\x0e-\x7f])+)
\])\z

[ Source: https://www.regular-expressions.info/email.html ]

That somehow doesn't look "easy" on my eyes. I'm not sure the parent's comment was serous.
One of my pet-peeves with the zoom UX is that it always switches to full-screen mode if someone is sharing the screen. This is particularly annoying if you are also using the participant or chat windows (because there's voting or chat messages etc.) and if you are switching between different presenters (meaning it switches again and again to full screen). Why can't it respect my decision to not have a full-screen window?!
Those damaged clothes can be repaired, used as fabric in new clothes, cut into rags or shredded into filling. Throwing them in the trash is the most wasteful thing you can do. All the energy involved in making that fabric is lost.
I’m not sure if you are understanding that when Replicache rebases operations locally it actually re-executes code which can have arbitrary effects. This design yields a lot of flexibility to preserve intent: the function can look at current state of world and decide to do something different.

Now, it is true that OT is considered the gold standard for certain kinds of collaborative editing, in particular unstructured text. But CRDTs are quickly catching up and I believe that any CRDT should by definition be implementable on top of Replicache.

Its also quite a lot easier to implement a Replicache backend than an ot backend.
AlmaLinux is 501c6 non-profit, community based.
RockyLinux is owned by Greg/his corporation.
The problem with that is suburbia doesn't really make it safe to navigate between neighborhoods.

If your friend lives in the same neighborhood, it's doable. If your friend lives in a neighborhood across the street, it's kinda doable.

However, cars are traveling at the speed up to 40 mph. Can be very dangerous if you're not cautious.

I remembered when I was a kid that I nearly died attempting to cross a street and got pulled back by my sister.

Hard to free range when everything is hostile to bicycles or walking.
Coyotes have been introduced in the east in the past. They generally don't kill healthy adult deer (maybe), but they do kill a decent number of fawns. They aren't enough to fully control the population, especially in the suburbs.

The advantage of going after the mice is that they can use crispr to give them immunity. It could be used on deer, but would probably have more push back. Tick tubes have already been shown to be effective at the small mammal level.

It will likely require a combination to control.
Or simply held as excess reserves, as has been happening recently: https://en.wikipedia.org/wiki/Excess_reserves#/media/File:Fe...
Yeah weird stories like this sometimes lead to great discussions, as someone with deep scientific knowledge shows up and provides a whole new level of insight.

Is it likely to happen here? Nah. (Cat scientists, where you at?)
> I assume this is how its discovering running applications with GUI windows open in a cross-platform manner.

That's definitely not a cross-platform way of doing it (and I doubt there is one, even).

On Linux you'd use libX11 and just enumerate all windows (using XQueryTree()). Walking the contents of /proc is not only unnecessary, but is more difficult to do, as looking at executable names won't tell you if a program has a GUI, or if it has any open windows. It won't give you window titles, or how many windows are open, or how to grab their contents.

Pretty sure Zoom is snooping on us and is gathering telemetry.
Yeah, it's amazing to me the hate people have for Zoom.

I feel about Zoom like Garp felt about the plane that hit the house he was looking at buying. When the real estate agent said he wouldn't want to buy it now, he said The odds of another plane hitting this house are astronomical! and bought the house. I think it's unlikely Zoom will jeopardize their leadership by not taking security and privacy seriously.
Rundeck is a pretty good tool to schedule, save logs and the like.

At my work we have a rundeck server connect via ssh to differents vm and execute the script there, you can configure alarms, parallel execution, plenty of steps it's pretty good you should try it out.
They require an account yes, but don’t kid yourself, every time you use a credit card to purchase something, your habits are being tracked by the merchant, using your very identifiable card number.

As for garbage apps, the one I use is well maintained, 53.7 MB binary, so not much on the side of tracking considering it contains ALL of their gas stations with pump details, paid parking lots and car washes. I had to check if it actually used an account, because I don’t remember ever signing in to it.

So good apps do exist.
I'd expect there are lots of factors with glass. Making a new plastic bottle every time might be cheaper on a resource-use than making a glass bottle and washing it for re-use (which uses energy, and water) some average number of times before it gets broken (5? 20? 50? No clue). But it might not.

However, other factors include: labor; transportation & waste costs (glass is heavier and breaks easier); and labor-geographic efficiency enabled by lower transport costs—for example, you might choose fewer bottling plants farther apart for cost efficiency, so you can reduce overhead and concentrate your labor costs in cheap locations, rather than every town having a small bottling plant, or stores having fill-n-cap stations directly in them, or whatever.

[EDIT] that is, with lower transportation costs of plastic you might be able to concentrate production in places with cheaper labor.
Solar+wind(+energy storage) needs a lot more materials and land to produce the same amount of energy.

So the footprint of fusion would be a lot smaller.

Also for the same reason deployment would be faster allowing a faster phase out of fossil fuels.
You can kick your kids out of the house, but what about their friend's parents? If they don't do the same, the result is the same - no social contact in the way earlier generations had.
you get a linear time O(n) isEven function

In complexity theory, the size of a problem is the number of bits to represent the input, so if the input integer is i, then the size is n = log_2(i) so the algorithm is actually exponential in the number of bits it takes to represent the input.
Censorship is bad. Once we start allowing it it only increases.

Misinformation is subjective. There is nobody we can trust to be the arbiter of what is misinformation and what isn’t.

Also the first attempts have failed terribly.
I have always hated when tensors are defined as something whose coordinates are transformed in a certain way. I just find it inherently unfriendly and un-geometric. No matter how much talk is given about simpler cases such as scalars, vectors, covectors, etc., the final defining formula would still look to me as daunting as always. (There is nothing “gentle” about the formulas on page 14.) Surprisingly or not, the whole thing clicked for me when I eventually learned about tensors in a more abstract algebraic setting, where they are defined as multilinear forms. The coordinate transformation laws were very easy to understand and remember after that.

But if you want to learn about tensors from how their coordinates transform, here’s a treat:

https://www.youtube.com/watch?v=CliW7kSxxWU
Perseverance in 3D on the Browser
I really don't get it. Why do they keep fighting their user base?

Pretty much every single firefox user i know hates proton, every single update feels very hostile to 'power' users. Its also terrible for people with bad eyesight (No tab separators, bad contrast).

Its is impossible that Mozilla is not aware of how hated proton is overall. I really don't want to use anything chromium based, but at this point they are almost forcing me.
One could restrict unparliamentary language:

https://en.m.wikipedia.org/wiki/Unparliamentary_language
I wonder how much of this changed due to public sentiment driven by pop culture? Movies like Fern Gully[0] and TV shows like Captain Planet[1] definitely had a hand in shaping my generation growing up.

[0] https://en.wikipedia.org/wiki/FernGully:_The_Last_Rainforest

[1] https://en.wikipedia.org/wiki/Captain_Planet_and_the_Planete...
Also the state legislature voted overwhelmingly to secede and join the Confederacy citing wanting to keep slavery as one of the primary causes for seceding.

It seems pretty cut and dry to me now, but this man was an intimidating teacher, and I was a quiet kid...
Ask HN: Are Unpaid Internships Unethical?
Suppose I, as an individual, offer to train my neighbor(21 yr old, university 3rd year bachelor's student) on latest technologies like JS, React etc and get him ready for a job. I plan to do this by making him work on a small pet project of mine. Frankly he has almost zero skills right now and is not really employable. Is it right of me not to pay him for his work? Is it unethical even if I dont plan to make money on the pet project ?

Not that this is an indivdual to individual interaction and no company is involved. The kid has to work atleast 20hours per week for 3 months, on the project.
Hi Hope You Visitme
> Of course the real goal is to eventually get it to optimize `while (number != 1) { ... }`

Valid C++ programs are guaranteed to be able to make forward progress [1].

So if `number` is a normal stack allocated integer (and not volatile, etc), then the infinite looping case is undefined behavior here.

So it would be a valid optimization to transform this to `number = 1;`.

(And indeed: https://godbolt.org/z/eodhfWe6h )

[1]
https://en.cppreference.com/w/cpp/language/memory_model
This appears to be the source code: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Tran... It's long, but it looks well-commented! Some Googling also finds https://llvm.org/devmtg/2009-10/ScalarEvolutionAndLoopOptimi... which looks relevant.

I think "induction" here isn't exactly the sense of proofs by mathematical induction as you learn in school (as in proving something for all positive integers given a base case and a recursive case) - I think all they mean by it is "a loop, over a single integer." Quoting https://en.wikipedia.org/wiki/Induction_variable :

> In computer science, an induction variable is a variable that gets increased or decreased by a fixed amount on every iteration of a loop or is a linear function of another induction variable.

The description at https://www.cs.cornell.edu/courses/cs6120/2019fa/blog/ive/ makes it clearer:

> An induction variable is any variable whose value can be represented as a function of: loop invariants; the number of loop iterations that have executed; and other induction variables.

That is to say, the link to proofs-by-induction is that if you have a loop like "for (i = 0; i < 10; i++)", you can prove the statement "after N loops, i = N". Why? Because after 0 loops, i = 0 (the first part), and on each loop, i is one greater (the i++ part), and nothing else that happens in the loop changes i (which is what that post means by "loop invariants").

In other words, it's not that the compiler is detecting that the programmer is doing induction (the programmer is not, in fact the programmer is simply writing a for loop and not thinking about it), it's that the compiler is performing induction on the loop.

So a simple case is if you have a loop like

int i;
for (i = 0; i < 10; i++)
printf("Hi!\n");
printf("i = %d\n", i");

You can prove that at the end of the loop, i = 10, and you don't need to do actually increment i during each iteration to get there. And if you didn't have that printf (i.e., if the loop body was empty), you could optimize the loop out entirely and just print out 10.

So it's not terribly magical that LLVM is able to turn

while (number != numberCompare)
{
even = !even;
numberCompare++;
}

into, in pseudocode,

numberCompare = number;
even = !!!...!!!even (numberCompare times);

i.e., that it's able to get numberCompare out of the loop, to conclude that even in turn is only a function of numberCompare, and then that there's no loop left.

What's more magical to me, I think, is that it's able to make sense of "run the ! operation numberCompare times" and turn that into "if (numberCompare % 2 == 1) even = !even". I don't think that's too surprising either - a compiler should know that, for booleans, !!foo can be simplified to foo. But repeatedly applying that rule across an abstract number of calls to !!, plus possibly one more, seems pretty clever.

If I'm skimming the code right, that part of the simplification is a different optimization pass entirely. I don't know off hand where that's implemented. I'd be curious if someone can find it.
Are that static or runtime checks (or both)?
I've used the method of scanning the environment variables of other processes to find the PID of certain applications which advertised themselves using their environment variables. This could be similar?
Yeah I took Ada for CS 210/211 back in 1991, are we there yet?
No you didn’t call them evil: you just called them

>Very, very toxic things for society, like human behavior modification (ad) systems

You didn’t say those points about people’s intents, you just said you won’t hire them / won’t work with them.

Sorry for paraphrasing. My argument stands.

Yes you’re allowed to have whatever opinions you want to hold. But here you’re proclaiming it in a public space where it can definitely be construed as judgmental.

Finally you call my arguments as fighting a straw man and yet you construct one yourself: ‘folks who work in an ethical vacuum’. My whole point is that’s probably a very minuscule amount of folks and something you are refining as a true Scotsman from your previous generic statements. My whole response is around how most folks do consider it but file it under fair use expectations and move on - so it is not a fair opinion. That’s all.
That's not the company into which I'd prefer to be lumped as a believer in free speech with consequences. I'm not sure whether or not that was your point ….