skysight-inc/HackerNews huggingface dataset:
> is there a sustainable way of working/developing with Rust while completely offline?

Yes. Once you have downloaded your dependencies the first time while online you are able to work with them completely offline.

> read documentation

Rust docs:

rustup downloads docs for Rust itself alongside the toolchain when you download it.

`rustup doc --book` will open the locally downloaded copy of the book The Rust Programming Language in your browser.

`rustup doc` will open the locally downloaded copy of the overview of Rust Documentation in your browser. The locally downloaded docs include things like the docs for the Rust Standard Library.

Project and dependencies docs:

`cargo doc --open' will build the docs for your project and for your dependencies as offline HTML files and open the locally build docs in your web browser for you.

Subsequently running the same command while offline will open the already built docs in your web browser again.

You will find the built docs under target/doc/ in your project. This includes the docs for your dependencies and their dependencies and so on.

And even if you delete the built docs, for example by running `cargo clean', cargo can rebuild the docs offline because it has cached the source code of your dependencies and their dependencies and so on.

> manually import libraries (downloaded manually, no dependency hell)

Rather than attempt to do it manually I would advice that you run `cargo build' once while online, so that your dependencies are fetched and made available offline. Attempting to do it completely manually has no benefit that I can see and would only serve to waste time and probably introduce problems that would not happen if you leave it to cargo to fetch it all for you.

And you can write crates of your own locally, never publish them online and import them by relative local path.
British Army to Create £22m Cyber Operations Centre
No, you can do everything, including the first build, offline.
> Publishing the latter stuff almost certainly got people killed.

That was all greatly overstated

https://web.archive.org/web/20101129044151/https://www.mccla...
Replacing JavaScript: How eBay made a web app 50x faster by using WebAssembly
Journalists around the world pay attention: The US government has control over journalism and that's the way they intend to keep it.
Or this: It should come out your R&D budget because it is critical tech, and some marketing funds should be diverted to R&D.
VRChat Site User Demographics: 430k Uniques, Mostly Male and over 25
I understand that centralized systems are much more efficient than P2P when it comes to high bandwidth communication. But as of today, it would be possible to create a completely decentralized Snapchat (signed ephemeral videos that are shared between two parties). The routing would be the only non-trivial component of this, but it could be solved with a DHT. Why do we continue to trade convenience for privacy? Such a solution would protect from most third parties, including government requests.

As someone without much knowledge of implementing decentralized communication, am I missing some knowledge, or is it solely lack of interest?
> when New York Representative Alexandria Ocasio-Cortez proposed on 60 Minutes to hike the top marginal tax rate to as much as 70% on income above $10 million, Zucman and Saez were fast out with a New York Times op-ed in support.

Isn't he smart enough to know that such a tax would only serve to permanently entrench the super wealthy?

That's why I think Warren's wealth tax is much smarter and would effective.
He instructed and encouraged Manning to steal information for him while Manning was on military duty.

It is not clear he is a journalist as traditional journalism is pretty far away from what Wikileaks has done.

It is also still not legal for journalists to direct people to steal classified information. Publishing it is not necessarily the crime, being involved in the acquisition is. This is why nobody is talking about charging or extraditing Glen Greenwald (published Snowden's materials). Assange was directly involved in getting the materials and exposed himself pretty easily to espionage charges.

If you don't agree about classifying that as espionage, what is espionage to you?
Wait until chimps figure out how to refine oil and use combustion engines.
Coming from C++, this always throws me a bit:

if (0..=10).contains(&5) {

I assume we are taking a ref to "5" (and not passing by value) because "Range" is a generic type that might be too big to want to copy (or it may not be copyable at all). But taking a reference to a number for a simple operation like this feels... weird. It makes me worry that Rust is going to be passing around pointers to some stack-allocated "5", but I hope that Rust is actually much smarter than that?
Wouldn't stopping our production of carbon dioxide essentially mean ending our industrial civilization? We would have to go back to an agricultural civilization like during the Middle Ages? Frankly, that seems impossible to bring about unless there is worldwide systemic collapse brought on by global warming or some other global catastrophe.
I think there would be significant benefits to all parties if GitHub just put the proper automated scaffolding for large scale sponsoring in place instead of relying on such ad-hoc conventions:

1) Individual developers and the companies that want to sponsor projects will otherwise just continue to talk past each other. The developers ask "Why aren't companies donating?" while the very use of the word donation is already a complete showstopper for a company that otherwise doesn't flinch at dropping $50K on a one-day booth at a developer conference that draws maybe 15K visitors at best (a website like Material UI or Webpack probably does 10x that in a month, a perfect fit!). If GitHub doesn't set the system in place, large players like Webpack will continue to "get it" (they offer invoices for sponsors!) while Bob with his 5K stars project will be left out.

2) If the attribution is on a case-per-case basis, companies will continue to select just a few big showcase projects. If the handling is uniform it would be much easier for companies to do things like spreading their spend out all over some segments like "top-100 Go projects" or "libraries built on top of D3" or whatever audience they'd like to target.

3) If there is actually significant uptake in a project, meaning more than a handful of sponsors, it quickly becomes a serious timesink for developers just to track who is active which month at which tier, which sponsors churned etc. and then to actually attribute everything correctly. How about, sponsor picks the project, developer does nothing except gets paid, and all campaign links, logos etc. automatically taken care of. Hmm, I guess what I'm describing is sort of like an AdWords for GitHub now that I think of it :)
There was a data corruption issue in recent history ( https://github.com/zfsonlinux/zfs/issues/7401), but otherwise I’ve found ZoL releases to be very stable.
Tackling Complexity in State Management
The Milkman Model Returns, This Time for Shampoo and Haagen-Dazs
> Do you think Leonardo Da Vinci have been a programmer and digital artist instead of a mechanist/inventor if born today?

Possibly. He was a "robotics engineer" of sorts:

https://en.wikipedia.org/wiki/Leonardo%27s_robot

https://www.leonardorobotsociety.org/the-robots.html

https://www.amazon.com/Leonardos-Lost-Robots-Mark-Rosheim/dp...

He quite possibly invented a mechanical calculator:

https://www.educalc.net/197481.page

So I could see him continue explorations of that nature.

> And would his contributions have the same impact?

Aside from his art, and possibly the various engineering commissions or consultations he was involved in - what was in his notebooks didn't see the light of day until long, long after his death. They were essentially "lost" until rediscovered much later. While he was alive, they were probably only seen by himself, and/or maybe a few students (speculating).

On the art side alone, though - would his works have the same impact? That's difficult to say. If they were collected, preserved, and viewed by their owners properly.

I don't know this for certain, but my guess is that most of the artwork of people like LDV of that era, their art were all private commissions, for the most part, outside of a very few pieces that were "publically viewable" - for various terms of "public". Those private commissions would have only been viewed by their owners, family, and maybe a few friends or acquaintances. Outside of those, the works would not have been public, until far later, as they were sold or otherwise "moved around" in the marketplace. Their value would increase or decrease almost at a whim, but also depending on how known the artist was, and other works by the artist. What we see today of these artists is probably mostly survivor bias. There's a good chance that there were others out there of a similar note who just didn't make it because of various reasons (along with a whole host of others who weren't as good, and their art - mediocre or whatnot as it may have been - became "trash" and didn't get passed down to us, but was thrown away over time).

So - if such digital works were created - in 500 years or so, if the work was preserved (migrated from media to media, from machine to "machine", platform to platform) - it's quite possible they would have the same impact - after enough time passed (and everything else being the same).

Pure speculation, of course...
The royalties an artist receives are a form of passive income. Beyonce had to work to create an asset (her music), but when she's done with a recording the income comes from controlling the asset, not directly from her labor. It's really not that much different to owning a business. She's still capturing an outsize portion of the value from a process that involves thousands of other people.

Wealthy musicians are still capitalists, and getting rich running a business that employs thousands should be as respectable as singing, if not more so.
Causeway Bay Books Disappearances
Genome Comparisons in 4 Milliseconds – Pilosa
The actual charges hinge (at this point) on Assange supposedly helping someone to bypass some security to obtain that information.

I don't think they were successful (legally that likely doesn't matter), and we'll how much actually counts as "help".

So with your analogy you obtain information release it, and then help someone try to hack a computer to access more .... that's where we are at this point.

It's a difference. Generally journalists don't help their sources hack into anything.

I suspect if you did China would be happy to take you if they could extradite you.
How much are they keeping for themselves? I'd really like to see this business model arise, but if means giving 30% to Google I'm not so sure.
This is why we will not get meaningful climate change legislation in the developed countries. People do not want to make a sacrifice in the name of a future danger forestalled. Look at Australia's most recent election. Embrace of climate change legislation probably tipped the balance away from Labour.
coming from rust - I spent three hours last night trying to build scylla (and failed). problem after problem, baffling errors, etc. -- what I would consider dependency hell. have you tried cargo? I'm actually curious what your perspective is that you think of the c++ situation as preferable somehow.
When I see visible, tangible results from my work whether its more revenue, happier users, etc
DeepMind seems to be conducting research in a similar direction. Any insight on how are the two projects related or different?

https://deepmind.com/blog/neural-scene-representation-and-re...
> If you deeply care about music and are an audiophile you do

FLAC has no benefit over traditional 16/24 encoded content.

https://wiki.xiph.org/Videos/Digital_Show_and_Tell.
The 2016 Global Wealth Report from Credit Suisse Research Institute says you need $744,400 in household assets to be in the top 1% globally. I don't think most Americans making $32k/yr will have that level of assets. In a different report from the same place, they say the average us household was just over 300k in 2014.
Dine and dash is theft. Piracy is not.
> Isn't he smart enough to know that such a tax would only serve to permanently entrench the super wealthy?

How?
Kroger, largest grocery chain in U.S., to eliminate plastic bags
Once you have rustup installed, run ‘rustup doc’. You will get standard library documentation from disk as well as “the book” which introduces the core concepts

Then, if using cargo which I totally would, run ‘cargo doc —open’ to see api documentation for your project as well as your projects dependencies both direct and indirect.

All from disk!
Requiring a high standard of evidence would appear to be impartial. But state media has direct access to evidence for fleshing out the official narrative, even regardless of how real it actually is (eg yellow cake). Meanwhile those pointing out a "crazy conspiracy" are left hoping for leaks.

Previous speculation about USG extraditing Assange was solidly grounded in looking at underlying motivations and capabilities. Claiming that there would be no extradition was essentially implying that Assange couldn't be charged under US law, presumably due to some combination of the first amendment and jurisdictional issues. To anybody that pays attention to how USG actually operates, this was at best naive. Now the reality has finally been demonstrated.

This tendency to malign a non-official narrative as "crazy" for lack of a smoking gun demonstrates exactly why leakers are so vital. The conversation of 2012 would have looked much different if "he's hiding in the embassy simply to escape a rape charge" had been a completely nonsensical position. But as it was, it provided a basis for FUD while the "Assange bad" drums pushed people into thinking that it's right for something bad to happen to him.
>> World's richest 10% produce half of global food.

It's more proper to think of the production of carbon emissions as an act of consumption, making the parallel statement " World's richest 10% consume half of global food."

By caloric content, that is almost surely false. By retail price-paid value, that is more likely true (but irrelevant).
Sweden allows the CIA to just black bag people, outside of the legal system. That's the fear of being extradited to Sweden; the UK doesn't allow the CIA to do that.

https://en.wikipedia.org/wiki/Repatriation_of_Ahmed_Agiza_an...
You see that light pulse that they captured?

Your camera synchronization signal in the wire is traveling about 2/3 of that speed. Can you imagine all the cameras in your array receiving and interpreting that signal at the same time?
Sorry, I should’ve been clearer: I need cargo to be online the 1st time so that it could resolve my dependencies for me online the 1st time because I don’t want to setup local repos and stuff. Thanks
This.

I think it would be very hard to have substantial retirement savings on the bottom 25th quartile of American wages. Especially when most Americans are living paycheck to paycheck. Want people to save more? Pay them more.
It describes cracking and then leaking it.

I don't think you could manage the same legal challenge with just the latter. Often charges describe all sorts of things that themselves aren't illegal.
Extra irony; OpenPGP is part of Equifax's revamped security practices.
Assange wasn’t a journalist in this case he was a handler.

He groomed sources and actively pushed them to steal secret information and transfer it to Wikileaks.

And when it suited him he happily burned and exposed his sources.

The fact that anyone can even remotely defend this tool is beyond me.
Uber and their "God Mode"/"God View" comes to mind. E.g.: https://www.forbes.com/sites/kashmirhill/2014/10/03/god-view...
Don’t really buy this in the middle argument. “It’s the budget committee’s fault that I dodge taxes.” The way you change the way the national budget is allocated is changing your voting habits and organizing with people who feel similarly, not gaming the tax system until you feel that it’s suitable
We don't have to stop emitting all carbon dioxide, we need to develop the technology to capture and sequester what we do emit, however.
The users of Snapchat don't know about this so how would they know to stop using it because of it?
> and never see it because I die at 70, how is that fair?

"I paid premiums for fire-insurance, and my house was never destroyed in a raging inferno, how is that fair?"

Basically if you die, then you're definitively not at risk for "being old and poor." It's also an excellent time to stop paying the premiums, which fortunately occurs automatically...
"1,300 people were eventually killed, and 350,000 were displaced. That was a result of our leak"
- Julian Assange

https://www.theguardian.com/media/2010/aug/01/julian-assange...
> Do you really expect I mentioned this example, mentioned I wrote some code that solves this issue, and still never looked up or came across an explanation of why most programming languages behave this way?

Well, what you described does not actually solve the issue despite you claiming that it has, so I thought you might be confused. Which is not an insult -- many people are confused about this issue.

And you appear to have misunderstood my comment, which is not about explaining to you why binary arithmetic is imprecise, which you obviously already know. It is about explaining that decimal arithmetic is also imprecise, for the exact same reason, which is something that much fewer people understand.

Your "fix" makes it so that 1/10 + 2/10 == 3/10, but it still doesn't make it so that 1/3 + 1/3 == 2/3. So how is it actually "precise"?

To answer your question about speed: yes, doing things with arbitrarily-sized integers is much slower than doing them with floats (or normal integers for that matter). In the best case, you add at least one branch to every arithmetic operation. And a binary-coded decimal scheme like you described would be even slower still.

It doesn't really matter whether it would make the average website slower, since the average website should not be using floats (OR binary-coded decimals like your scheme) in the first place except for calculating layouts or other numeric calculations where asking whether 0.1 + 0.2 == 0.3 would never come up. For discrete computations they should be using integers -- that's what integers are for.
Great cities know that streets are places to linger and enjoy
> There are artists for example who are disabled and it is difficult to do concerts,

That's not the case. Dead artists do concerts. Artists that never physically existed do concerts. You could have a Steven Hawking concert now and people would pay for the tickets if music was good.
But a good part of which makes debt for a car?
IMO highly unlikely. The UK is usually not ok with that, and I'm not sure this is a case anyone wants to take that far.
> And that's probably something that needs to be argued in front of the Supreme Court.

do you really want that?

the supreme court will rule 5-4 in favor of the administration, where 2 of those 5 judges were placed there by the current president

what people want is for the thin fabric of society to not be challenged when people already recognize that it exists on shaky legal ground, not nearly in line with the social contract in their head

obama administration had considered an espionage act charge but didn't want the first amendment challenge, if they had the supreme court they would have done it as well
The most useful tools for me are:

1. Pomodoro sessions and timeboxing with a visual timer. I like the Time Timer brand.

2. When I'm working I take notes for personal reference in markdown files of things like bash sessions and code or approaches I tried to a given problem that did / didn't work. Project-wide searches of my notes repo save me a lot of time later.
not sure if I agree with your point about promise--especially with the implied "moral hazard"--if they are trying to solve the inefficiency in the justice system then its better for them that the system remains inefficient-- def seems like something beyond their control that they had no role in creating, and they are trying to help as best as they can. There is a bigger problem for private prisons---not promise
This is utter nonsense. US government routinely loses high profile cases.

Trump government lost quite a few very high profile cases just in the last few days.
I have a book recommendation that may help you think a little outside the box when it comes to living expenses: https://www.amazon.com/dp/145360121X/?tag=oildepletio03-20

Not only is 40 hours / week of a minimum wage job totally livable, the author of this book would be able to save over 50% of such salary. Is it unusual? Yes. Is it easy? Haaaail no. But impossible? Please.
Women perform better on math and verbal tests at higher temperatures, while m
>> a replacement for the + operator in javascript because computers can't do proper addition (0.1+0.2!=0.3).

> Just saying they can't do it (I edited this: first I said that JS doesn't do it properly, but I thought that was rather too narrow. I guess 'computers' is too broad again. Pick a name, you know what I mean)

You can say it, but that won't make it true. They can do it, and they do do it. Your comment is so much nonsense. The algorithm computers use to add 0.1 and 0.2 is the same algorithm that you use, which is, unsurprisingly, why they produce correct results.

> There is a lot other words in the comment that one could reply to, and it's rather frustrating that it's completely overshadowed - every time - by people ignoring everything except those twelve magic characters: 0.1+0.2!=0.3.

I'll point out again that I'm focusing on your completely unjustified claim that "computers can't do proper addition", which you didn't bother to include in "those twelve magic characters" that everyone is complaining about.
They are not naive. They are being deliberately disingenuous.
I wasn’t expecting that to be their mission with a device like this. What I mean by “successful” is two things:

1. Have any longevity beyond a novelty. By that I don’t mean hundreds of hours clocked up; I just mean people will use it for more than a couple of hours before putting it in a draw to never be seen again.

2. Make a profit. Obviously including all the time spent in design et al as well.

Personally I can see this both being unsuccessful in terms engagement as well as financially unsuccessful.
Doesn't mean their carbon footprint is low.
Yes, you're right, I was talking about the restricted case of straight up as the Karman line would likely be.
Well, it was always literally an insurance program -- the "I" in OASDI.