skysight-inc/HackerNews huggingface dataset:
Even if net emissions are outlawed, carbon neutral synthetic or bio-fuels will still be available. They will be significantly more expensive, but probably not to the point where flights are any more of a luxurious rarity than they are now (for most people). Tourist based economies will be viable as long as there are wealthy people who want to go there.
Do you use some tooling to make it work efficiently? Every time I use ansible I'm stuck in the mud for days.
How Much Plants Move During a Day
Was curious the cost and storage amount. Had to dig into the faq just to find out how much storage was involved.

getting pricing and storage for the offering took me at least 10 clicks. Honestly it turned me off from the product suite.
There used to be qt Jambi...
Well, first I'd argue that you are misusing the tool if you managed to commit a large chunk of unrelated code, but that's another story.

Second, I would tell you that git has a command for just your situation.

git filter-branch

https://git-scm.com/docs/git-filter-branch

You can run a command against every commit and it will then recommit. That would let you remove, for instance, an entire subdirectory. The downside here being that you are rewriting history on something you've shared with the world and that has larger potentials for causing issues with contributors.

I guess my point is really this, git is simply one of the many tools you likely have to use on a daily basis. If you have to use a tool in your daily job it's in your interest to really grok the various ways your tool can be used. You'll want to really understand the primary use cases in detail and the less used ones you'll want to know in passing at least. That allows you to realize that something is possible with the tool, even if you don't recall the exact specifics. A machinist would have the Machinery's Handbook, a programmer will have multiple internet references. Maybe the real point is that it's _ok_ to not know the exact syntax and need to reference it for more esoteric operations.
You beat me to it :)
nit: "filing a bug" is definitely contributing. A well written bug report is worth its weight in gold and can get you started with the test case to write for the fix. alternatively, a one liner pull request that you have no idea what it's "fixing" is useless garbage.
Mercurial was a pleasure to use, but the "whatever Linus does is great" crowd had to kill it.
> "Show me the code". Or in this case show me the GUI.

Easy: https://gitup.co

It makes things that are hard or cumbersome in the CLI easy and convenient.

Things I always do because I'm no longer afraid of mistakes:

- split commits at random points

- move commits up or down the branch

- squash commits up or down the branch

- edit commit messages

Less often:

- cherry pick against current branch

- delete branches (local and remote)

There are signinficantly more operations hidden there behind convenient shortcuts, but I don't ever (or very rarely) need them because it makes fixing mistakes so easy. And the only reason for advanced git usage I've seen is fixing mistakes.
If the timeframe is so tight it would be way more stable to just register all booking attempts (let's say up to 7:15) and then distribute the ticket randomly between unique users for some definition of uniwue user
> Git is one of those technologies where it's super important to get a good grasp of how to internals work.

I fully agree, that's why I built a tutorial where you learn about Git internals by implementing Git yourself in Python:
https://www.leshenko.net/p/ugit/
After 12,523 replacements, Feds investigate Tesla Media Control Unit failures
What would make a great Java UI toolkit is CDI integration. Things like event busses and injection would really simplify things and be very powerful.
When I first started using git years ago as a beginner to programming, I always wondered why it didn't just work this way. Since then I've just gotten so used to it that I forgot about my desire for it.

My hacky solution at the time was just to always do anything programming related in a folder watched by Dropbox. Then every single file modification and delta is indeed automatically stored (and away from my machine, for redundancy and safety). It's not the greatest UX when I occasionally dig through the Dropbox file modification history, but it works okay enough.

As an amateur musician, I always wondered why there wasn't any DAW that supported something like this, too. You get an endless undo button that automatically tracks all atomic actions (twist X knob to N%, change Y volume to N dB) to allow for reversions, but no system to actually view, restore, tag, or switch between anything in this edit tree beyond resorting to annoying kluges like "stashing" an older state by spam-clicking "undo", saving a copy of the project under a new file name with a short description of the state at that time, and then pressing "redo" over and over until you're back at the "present".

And when you close the program, all that undo history is gone, in which case if I feel like I did something that really messed up the whole project and which I want to revert, I have to dig through the Dropbox file edit history and download like 10 different copies of the project file around the time I think the undesirable change may have occurred, and load each project one by one to try to find the one that's immediately before that change.

Sorry for the long tangent. I just also don't see why this isn't already a thing for both source code and music project version control.
> do you just merge updated remote branches into your stale local branches?

Every single developer I work with (or have in the last 8 years) does this. "Messes up the history" ? The merge commit describes that there are uptaken changes from the "main" branch. It doesn't seem to be a problem in practice.
Flagging seems a bit excessive. I have no affiliation with penetrum. Just thought the collection as a whole was interesting. Of course it's not a perfect list as it seems to be a one time post.
I have! At some point I will outline the differences between them in an FAQ
How DIY technologies are democratizing science
We are already doing this with James Webb Space Telescope. That one will be further away from sun than earth and moon.
I wonder how this performs on Black MIDI https://www.youtube.com/watch?v=tfrIXiemYqo&ab_channel=Ginge...
German police swoop on suspects in notorious museum heist
Tl;dr Wealth and Americans are bad. Marxist drivel where the oppressors are wealthy Americans.
The Future of Fintech: Turning Payments Data into SaaS
> See https://stackoverflow.com/a/25028688/8272371 for detailed explanation.

There is a disconnect somewhere. The linked answer says:

> Now, git is different. Git stores references to complete blobs and this means that with git, only one commit is sufficient to recreate the codebase at that point in time. Git does not need to look up information from past revisions to create a snapshot.

> So if that is the case, then where does the delta compression that git uses come in?

> Well, it is nothing but a compression concept - there is no point storing the same information twice, if only a tiny amount has changed. Therefore, represent what has changed, but store a reference to it, so that the commit that it belongs to, which is in effect a tree of references, can still be re-created without looking at past commits.

You can recreate a file that is stored as a root blob plus some series of diffs without looking at information from past commits. But you can't recreate it without doing the diffs! You have to look at the root blob. This is, internally, tracked separately from the commit which created it. But your conclusion:

> when you checkout stuff, git doesn't do diffs to give you the working directory at that point.

cannot be true. If the working directory at that point corresponds to a blob which has only diff information stored, git must apply that diff to a separate blob in order to give you the working directory.
when iterators can’t be used and llvm can’t elide you can use unsafe to elide by hand. the scenarios where the performance matters and iterators can’t be used are thankfully pretty rare so not much unsafe has to be used for this reason.
Nothing is misleading. Half the participants got the vaccine, the rest placebo, before going about their usual lives. Now, a few months later, 95 cases have been confirmed across both groups. Of these, 90 had received the placebo and only 5 the vaccine. If the vaccine didn't work at all, the split would be roughly 50/50. A somewhat effective vaccine might result in a 70/30 split, and so on.
> a system-wide content blocking API (which Linux does not

Technically, isn't that what apparmor does?
...for what? Is it so hard to finish your thought when you begin it?
and this break down can only be based on what is accurately reported and military numbers rarely ever will be. Taxing aviation fuel can resolve the issue of the industry properly paying for their pollution but focusing on only a small set of fliers won't fix anything other than accentuate existing class tensions.

China and other countries did not report numbers so any analysis will be pure guesswork. The flat out comparison to miles flown by those on the continent of Africa exposes the nature of these types of studies. They have their observation written before the numbers are assembled.

To be honest the article is relying on the "one percent" theme which has been an all to common politically led class warfare action by which new policies and taxes are to be implemented under the guise of only targeting a limited set of people but in fact will impact many more and expanded at will once in place.

Class warfare is a common method to get a foot in the door. By incessantly portraying all problems as caused by "one percent" it becomes very easy to implement fees and taxes which will naturally have expand to include more than the "one percent" as the revenue will never meet the promised numbers.
Groundbreaking new study says playing video games can be good for your wellbeing
That's like claiming a gun is just used for shooting other things and that the point of the gun is so you don't have to understand how to handle it. Then when you shoot yourself in the foot you get mad at the gun and not yourself.
I capitalized "Airlines" for a reason, but I would guess it's pretty representative for the country. The reason your number and my number are different is not because AA is an unusual airline, but because the two numbers are about completely different things. There are three groups of Americans: (A) those that don't fly in a given year, (B) those that fly once, and (C) those that fly multiple times. Roughly, your number is A/(A+B+C) while mine is B/(B+C).
> CO2

What about all the other pollutants (nox &co) ? Don't forget they're released at very high altitude too, which generates a whole other set of problems than sea level pollution
"optional mode" problem solved.
Relative to MDs and JDs, is there a credible and in-use ethical creed for MBAs? MDs and JDs have some figment of doing no harm to try to help people. MBAs do anything legal to make a buck?
* More like, may have contributed to a reduction in violence since the 11th-century.

While it’s possible that some form of genetic pacification might work to reduce deviant behavior over centuries to come, the concept lacks relevance in a discussion about criminality in a nation where violent crime has fallen for decades and high rates of incarceration are more readily explained by a host of factors far less abstract than genetics.
In the United States (the extent of my experience on the matter), the fuel taxes are normally understood to pay for roads, which is really the opposite of addressing the externalities (since building more lane-miles fuels more demand.)

To make matters worse, they don't really cover even that cost, in most (US American) locales.
That was sad and sweet. Good luck!
I wouldn't say it's a crap foundation but it's the wrong foundation.

DOM, CSS and the way they interact with JS where designed for mostly immutable "documents" with mostly but to complex design.

Then it was bend and extended to somewhat extend somewhat more complex designs and more interaction.

That step was repeated again and again until now where is used for application graphical user interface instead of just displaying documents with some forms in them.

The foundation is fundamentally unsuited for the task it's used for by now.

CSS might seem simple but has crazy amounts of hidden complexity and until recently lacked trivial/simple ways to do some layouts common for GUIs but unnecessary (and bad) for displaying documents.

In recent years thinks have gotten better, e.g. CSS grid makes GUI layouts SO much simpler, but still the foundation is broken.

As consequence many of the promises the foundation gives are in practice often broken, too (like accessibility, like free resizing and zooming which often doesn't work correct, like cross platform as web apps are often designed for chrome relying accidentally on chrome specific behavior especially wrt. CORS, ...)
If someone could cook up a truly credible plan to defuse that bomb over a century or three, environmental concerns could be sidestepped.
Aviation fuel is typically not taxed since the alternative would involve planes loading up in cheaper countries and carrying it around. The end result would defeat the purpose of emissions reductions.
Book is what this site layout is called in the community, see also:

Rust Book: https://doc.rust-lang.org/book

Rust Rand Book: https://rust-random.github.io/book

Rust WebAssembly Book: https://rustwasm.github.io/book

Rust Unstable Book: https://doc.rust-lang.org/beta/unstable-book/index.html

Rustonomicon: https://doc.rust-lang.org/beta/nomicon/index.html

Cargo Book: https://doc.rust-lang.org/cargo

Which seems to be generated by https://github.com/rust-lang/mdBook

Now, I don't see why "book" should seem so grand. Remember when reference books would come out as a "bible"?

As for bounds check, here's a relevant issue raised on rand crate: https://github.com/rust-random/rand/issues/592

One can dig for a kind of "unsafe assertions" with https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked.... (so the random code, for example, could have before returning value 'if x >= upper { unsafe { unreachable_unchecked() } }')
Britain Imported the American High School
I’m a fan of giving the belief of innocent until proven guilty. You have a firm who’s aligned to cvs making accusations. A firm who’s likely long term going to loose money if Amazon succeeds here.

From that article, “Surescripts did, however, inform CVS and Express Scripts ahead of time about its plans to go public with its decision, the spokesmen said.”
Not OP but:

HTTPS is not secure because it is centralized and it does not protect against MITM.

HTTP is the foundation of our civilization, it will never go away how much certificate sellers try.

But I would go one step further and point out that HTTP can be made secure manually selectively so that you only secure the things that need security!

HTTPS wastes energy by encrypting cat pictures, and we don't have that much cheap energy left!

But don't worry this will not kill HTTP only Mozilla/Chrome. Chromium will always allow adblockers for free and HTTP, because if they remove it, I'll fork it and add it back in, even if it takes 1 day to compile!
Hungary and Poland Threaten E.U. Stimulus over Rule of Law Links
Explore the World Take a Code Vacation
Building Modern Native Add-Ons for Node.js in 2020
If you're really convinced that it's safe to elide them and you can't get it to work using iterators or asserts then you can use `unsafe` to bypass the checks. But I don't think this is necessary in most cases.
Yep, and HTST (if you don't trust that you can use an Firefox addon to perform certificate pinning). I believe HTST got introduced in the wake of the DigiNotar debacle (listen Darknet Diaries #3). Mitmproxy also made it easy.

I guess this Mozilla Firefox change deprecates HTTPS Everywhere.

Either way, we've come a long way. For people in the Dutch security world, DigiNotar was a known joke. I knew about their terrible security (and the implications) back around 2000-2004. Although there have been more vulnerabilities too, such as Hearthbleed and POODLE.
Organizing ML projects as a database of reusable objects
mercury was better but . . . really?
Not sure what does you're using in puppet forge but everyone of the modules I've used are no longer being maintained as the develops have all switched to ansible and left the puppet modules to rot. While ill agree there is a learning curve to ansible for advanced things like loops and conditionals, you have everything a scripting language does.
Decentralized Computing
Could it be a liquid like mercury? Would that evaporate?
I needed a USB to serial converter and specifically went out of my way to ensure I did not purchase a FTDI based one exactly because of that malicious driver incident.
A TDP comparison is certainly reasonable, though we don't actually have real power consumption metrics so it's a challenging thing to really evaluate. But more to your question, it depends on whether you're trying to evaluate _this chip_ or the _chip family_. Personally I'm not going to be buying anything with the M1 in it because they aren't machines that fit what I need, but I'm extremely interested in benchmarks of the M1 because of what they tell us about the hypothetical M1X (or whatever it ends up being called) in a body that I would, in fact, purchase.
> Project Valhalla is trying to add proper value types to the JVM, but sadly as of today the project seems a bit abandoned...

The repo seems to have very recent activity, has commits from today! https://github.com/openjdk/valhalla
How long until some actor emerges who provides a network of ordering sites hosted on the cloud that charge $30-50 a month for each restaurant and nothing more? As margins get thinner and thinner this is inevitable. And no marketing needed, if the service is good word of mouth would do it.
I think moderation has become far too strict on the net and I have seen countless examples of censorship due to bipartisanship. I don't think all people want that. If people prefer it that way, there need to be separate spaces.

But I believe this is at the core of the issue when people complain about moderation. I think it is very true, even sites like Wikipedia are negatively affected on political topics while paid external editors are free to roam to push up articles about themselves or their companies. This is the worst kind of moderation I can imagine.

If we talk about moderation against spammers and scammers, a vast majority would agree on the other hand. But these are two separate issues in my opinion.

> I would also add that no one prevents the original poster, or anyone else from using other services.

I think there is concerted effort to purge alternatives in the current market situation and I think this nothing else than an excuse to justify certain content moderation. I think platforms have this freedom, but there are also consequences to that.
I know a consultant who (pre-pandemic) would fly twice a week, every week, in and out of remote areas.
Dbeaver is certainly not fast. It requires several seconds to start on a machine with a Core i5, 32G ram and a NVME SSD!

In fact VSCode starts faster.
https://github.com/FredrikNoren/ungit is one of my favorite Git tools. IMHO it is the perfect compliment to the command-line interface since it provides a nice visual model of your commit graph and branches. The graph is interactive so you can use the GUI for things like merging, rebasing, cherry-picking, etc (very nice for visualizing those changes). But at the same time, the Ungit interface mostly just stays out of your way unless you need it. It does not try to force you into a certain workflow or usage pattern.
IDEA Community edition is opensource: https://github.com/JetBrains/intellij-community
I once curiously asked this to Richard Campbell after a couple great Geek Out podcasts on geothermal & super volcanoes.

I was told the difficulty in volcanoes vs other popular geothermal sources is that volcanoes are an "unstable magma chamber" which makes it very difficult, expensive & risky.

Of course if this could be perfected, it could be a huge source of energy not just on Earth but places like Mars as well.
Is there any way to treat bounds check as a warning to eliminate it early?
One more reason to move to gopher:// and gemini://
If I specify http://whatever.com in the address bar, or if I follow a link to http://whatever.com, I'd expect it to attempt to connect to port 80 on whatever.com, and not redirect to https unless the page responds with a Location header

If I type "whatever.com", I'm happy with it to try port 443 first

I'm not sure if a http/80 page should be at least HEADed to see if there's a redirect to https/443 before throwing up the "this is not secure"
It's not only resource usage, but performance in general. I can feel lagging when typing slowly in VSCode editor, even in plain text files without even trying autocomplete or any IDE feature. IntelliJ IDEA doesn't have any lag, Eclipse too, and both offer more IDE capabilities than VSCode.
Experienced the same dilemma. I’ll say what I do and what I want to do.

What I do is SSH as root using SSH certificates. This allows me to use rsync commands in Ansible, because elevating to root after login does not.

What I want to do is generate short-lived SSH certificates for root login. Something like, “Run prod-ssh command, enter password, touch YubiKey, and I can SSH as root for the next four hours.” I know how to make this possible, it would just require a couple days of engineering to do it, and I have other things to do.

If I had more hosts to work with I would make one of them run HashiCorp Vault, and serve as an SSH certificate authority for the others.

If I were a team of people managing servers I would probably switch from Ansible to something else. I would want every configuration action to go through source control before being pushed to live servers. As it is, I’m one person, so I don’t need that.

Evaluate for yourself whether this meets your needs, of course. I want to find my own balance between security, safety (removing foot-guns), and convenience.
The Biggest Heists in History
A big ? for DoorDash is how big can they really be as a company. Too many people are making a big deal about their profitability as a whole. But if you look at customers at a cohort level once customers get to years 2,3,4 they are actually profitable. The big question is what is the average lifespan of a customer for them, do they make it to years 2,3,4, how far in do they make it and at scale how much profit can they expect to make from each customer that does last that long. Then when that is all said and one what size company are we lookin at? $1B in annual revenue?, $10B?, $100B? That will determine the viability of DoorDash and its size as a public company.
This doesn’t work with rsync actions, naturally.
If you use `become`, you can use an otherwise non-privileged account with sudo rights. When executed with the --ask-become-pass, ansible will interactively prompt you for your sudo password before commencing.

If you feel manually filling in the sudo password every time is cumbersome, you could also integrate it with a yubikey or make it fetch your sudo password automatically via e.g. GNU pass.
eh, git is perfectly fine even for trivial projects.

Agree on the need for education to be a good developer though.
The majority of people do not care because the police can legally blow your door of its hinges, kick the shit out of you, drag you into a van, and stuff you in a cell all before you get to the due process part of the justice system. They have accepted that this is fine. Telling them that they can be spied on by the government and that the only way to stay safe is to accept a quality of life drop and also learn up on half a dozen relatively complicated technological concepts is not going to work.