skysight-inc/HackerNews huggingface dataset:
rclone mount does a better job - it’s designed to handle high latency and flaky http apis, so the sftp backend with none of these limitations is a joy to use. Night and day compared to sshfs
I remember being very excited when this came out. What impressed me right off was the java.net package -- back then, few language environments (except in Unix-land) had built-in networking support. That was usually a (kludgy) add-on package. That, along with Threads made Java really stand out as the language for the era of distributed computing. Applets were a great idea that unfortunately didn't pan out.

It still has a lot of good qualities, but is one of my least favorite languages to use (much more into Go now).
That's what the spanish did with the native americans

About 90% died as a result. If the objective was to propagate life, they definitely failed
Startup City: Panama
Safari Reader Mode works too, for those on Mac/iOS
> I get it, you’re going to occasionally hear a friend say that chiropractic helped him de-clutter his alcove or do 87 sun salutations… but that’s an anecdote, and data is more important, and trustworthy than anecdotes. The data on chiropractic supports that the practice is nothing more than a collection of broken promises and fake medicine.

Anecdata doesn't matter is such a bleak worldview. Technocracy has huge gaps, from how people view, understand, and interpret data to collection and sorting practices. Anecdata helps tell the story of why things don't work or what we missed that does work. It helps us recognize gaps and improve. Technocracy and anecdata are a marriage you cannot rid yourself of because the human worldview, no matter how data rich is fallible.

This author takes issue with holistic medicine. I've heard this argument time and again about chiropractics due to its wonky history and some outlier practitioners. I've rarely run into chiropractors that have told me stuff that aligns with junk. On the other hand, I have ran into a number of Chiros that are more like DOs in the holistic things they ascribe to. I have run into chiropractors that were determined to remedy my issue (I have a crack in my lower column around my sciatic nerve). When the VA started prescribing me pills and couldn't find the crack after numerous MRIs and X-rays I found a chiropractor. When my leg would go numb and I would get shooting pain that put wells of tears in my eyes, he did x-rays, found it, cracked my back and alleviated enough pressure that I could walk. I knew and he reminded me that I had to lose weight, I had to increase my core strength, and I needed to take pride in living again.

I've had numerous people argue with me about what it is that they think he did that helped where the VA fell short and thought palliative care or spinal fusion was their only option. I speak to you with no spinal fusions, and I don't know the science of what he did, but I'm shocked at the audacity that people have to chalk all Chiros up as lunatics and snake oil salespeople.

My point is, it's important to speak concisely about problems, and I know it is difficult to in the moment, but "Chiropractors are bullshit" is on par with someone who has experienced the worst ends of technocracy saying, "Technocracy is bullshit".
Const in C++ is entirely unlike immutability in Rust. Even ignoring the existence of “const_cast”, C++ const is vastly weaker than Rust immutability in several extremely fundamental ways that should be immediately obvious if you’re a C++ professional with even a surface level introductory understanding of Rust. At this point you honestly should just take some time to learn a bit of Rust, and it will likely all make sense. If not, it’s possible you’re relatively amateur C++ developer (no shame in that) lacking experience of the many ways in which C++ const falls very short.

But to directly answer your question, suppose I have a “struct FloatArrayView { float* data; size_t size; };” Of course this is a toy example, but humor me for now and consider the following:

1. Without excessive custom effort (e.g. without manually unwrapping/wrapping the internal pointer), how do I pass it to a function in C++ such that the data pointer within becomes const from the perspective of that function (i.e. you’ll get a compile error if you try to write to it?) Hint: It’s very complex to do this in C++, vs trivially easy in Rust. And no, passing as const or const reference to “FloatArrayView” does NOT work. The only solution in C++ for complex composite types operating with “by-reference semantics” is ugly, complex, and horribly error prone to maintain correctly. For a more concrete example, consider how “unique_ptr” works with the constness of the value it holds. A “const unique_ptr<T>” is NOT a unique pointer to const T. A “unique_ptr<const T>” is, but the relationship and safe conversions between these are not simple or easy to implement or even use in many cases. It gets even worse when you need to implement a “reference semantics” type like this that is inappropriate to be a templated type, or contains a variety of internal references unrelated to the template arguments.

2. Now suppose I solve #1 and pass this into some class method, which then stores a copy of the const reference for later. But I as the caller have no way of knowing this. So after that method returns, I later proceed to modify the data via my non-const reference (which is a completely valid operation), but this violates the previous method’s assumption that the data was immutable (will never change). This creates an incredibly dangerous situation where later reads from that stored const reference to data (that was assumed to be immutable) is actually going to actually yield unpredictably changing results. Const is not immutable. Question: How do you make it so C++ guarantees that passed reference is truly immutable and will never be mutated so long as the reference exists, and enforce this guarantee at compile time? In Rust this is easy (in fact, it’s the default). In C++, it is impossible. The closest you can get in C++ are runtime checks, but that’s nowhere near as good as compile time checks.

Edit: Removed a bunch of perhaps unnecessary extra C++ trivia which I’ll save for later :)
You already get a lot of defaults from your vendor (OS, device, browser). Why couldn't these vendors maintain a bigger list of default entrypoints for the web? They already do for "apps".

Plus there is already an endless sea of walled stuff (paywall, "create an account and login" wall, "fill in your address/ZIP code and we'll give you the best price" wall, government filtering wall).

I'm not saying it's great, or it would be great, but currently having 1 (or maybe 1-and-half) search engines is also very far from ideal.
Like Uber, some do manage to avoid the pitfall of trying to shoehorn hard languages everywhere. I recently learned their microservice fleet is almost entirely in Go [1]. Could also have been C#, Java, Python or Node but the point is it is not Rust or C++. Probably for the reasons you stated.

[1] https://news.ycombinator.com/item?id=27120689
The diets in the "Blue Zones" feature those as staples as well. I somehow don't think that they're terribly unhealthy. Grains have been staples for millennia by now.
If I'm going to die from a small internal explosion, I'd rather it start at the other side of the tube. If my guts explode, I might still have a few more days to live.
CanBuildFrom got killed in 2.13, but taking a step back is exactly the right thing to do:

The desire to return the same type of collection lead to overall slow performance; it turned out it's a design dead-end that Scala is still suffering from.

It should simply have been abolished and replaced, instead of applying some minimal fixes in 2.13 that preserved the wrong design choices.
When I read a sentence like your first one, it sounds to me like somebody saying, "at best, massages are bullshit", which just strikes me as odd. At the very least it's clear that lots of people self report feeling better after partaking in their services, in both cases.
Study in question:

* https://www.counterhate.com/disinformationdozen

* PDF: https://252f2edd-1c8b-49f5-9bb2-cb57bb47e4ba.filesusr.com/ug...
The column for the Rust language on this page (https://scattered-thoughts.net/writing/how-safe-is-zig/) with the rows of "compile time" for various memory issues is what is selling me on Rust that I am spending time with it hoping to sacrifice some difficult current learning time and some future tedious development and compile time to save on painful debug time for some kinds of issues. The problem is that the pay-off is at the end :-).
The planet will be stable under our models, but what about the humans? There are mass migration scenarios in the models and mass migration always leads to instability. Our species is capable of unspeakable violence.
What would that ideal mixture look like to you?
See my post below, but here is one paper: https://www.pnas.org/content/117/21/11350
To be honest, that doesn't sound like a problem FB can't figure out.
please can someone explain how these troll organisations work? are they using some kind of AI or automated garbage or real people behind every comment? i can not believe what i am reading. there are pictures of dead children and people spamming highfives.
Problem is, we are mostly not preparing for chaos, we are still trying to prevent it. We should stop trying to prevent global warming because that is a futile endavour anyways. Instead we should start building water reservoirs, dams, begin resettlements, etc.
The problem with food reservoirs is that the stuff at the bottom tends to go bad before you can get to it.
> Sure in theory there's all this regulation, but somehow we keep having disaster after disaster that would have been avoided if all these regulations were enforced.

Making new regulations is not helpful when the problem is the existing regulations are not enforced.
You're arguing past one another. The parent's working assumption is that concentrated lithium is much cheaper to harvest than trace lithium in natural deposits.

You seem to be assuming that it is cheaper to mine trace minerals than harvest from existing batteries.

Absent any domain knowledge regarding the cost of these two sources of lithium, neither of you can presume to be correct.

The only fundamental thing here is that, absent any external pressure, in a capitalistic system, we will see suppliers of lithium prefer the source that is cheaper for them to utilize.
or they took the linus approach of "don't break user space" and force every one else to fix their code because they fixed their code.
I feel like everything in this article can be automated at some point in the future. I can't wait till the day that an NLP algorithm takes piles and piles of negotiation dialogs and negotiates on your behalf.

This is the kind of stuff that I want Google Assistant to do. I don't need it to get me a silly haircut appointment.
7000 ppm for the N Baltic vs 35000 ppm for average sea water.

The limit for safe drinking water is 1000 ppm.

The salinity of blood is about 9000 ppm.

Drinking it from either end isn't advisable because the osmotic gradient wouldn't transport water it in very fast. It would be safe-ish but not hydrating.
Reservoirs as in lakes for water.
> such a nerd bro theory, as if only you are clever enough

This doesn’t sound like a conversation worth getting involved in
The most interesting parts of my comp sci degree were in this area - “models of computation”, and later “type systems for programming languages”, which started with lambda calculus, and culminated in studying Haskell’s type system (and its relation to lambda calculus).

It was surprising to me to discover how logical and mathematical Haskell’s type system is.

It’s the kind of topic that I’d probably not ever have thought about if I didn’t do a degree, but has had an impact on how I view other areas of computer science.
So when everyone in the building got a call to evacuate, Hamas just said, "no, we'll stay!"

If it were a real military target, they would have just bombed it outright, since you're "allowed" to do that in war...my point was its a BS claim. This is the country known for sniping journalists, and taking intentional knee-shots at unarmed protesters, their word has very little value.
In fairness, you have those problems no matter how you include other people's code. At least Cargo as far as I'm aware uses a SAT-solver to deliver you a working dep graph unlike `pip` or `npm` or any of that nonesense. (as long as I remember correctly that Carl Lerche wrote that part. Sidebar: wicked smart guy).
At the time it came out, George W. Bush was President, and there were not only 9/11 conspiracy theories, but also the false narratives about WMDs in Iraq.

Similarly, a story came out during the Windows 3.1 era about how typing NYC with your font set to Wingdings yielded a skull and crossbones, a Star of David, and a thumbs up sign, stoking fears of antisemitism in a time of religious tension and a revitalization of the right wing after the Waco siege. While it is true that the letters in NYC mapped to those symbols, it was not deliberate. In the successor font Webdings, the letters NYC were deliberately mapped -- to an eye, a heart, and a city skyline (referencing "I love New York").
You're right of course, the nonzero percentage of fraudsters isn't high enough to cause a statistically impactful problem, I suspect. The deniers who make noises about faking cards and who are actually going to go beyond talk to action can't be that numerous, despite their appeal to sensationalist journalists.

Once the pandemic is well and truly past, as is not that far in the future in places like NY, those few activist deniers' remaining impact will be even easier to handle than it is now.
Been doing this in addition to blocking any users sharing cable news clips. Really enjoying my silly feed.
Because government agencies (ie: literally not free market capitalism) never get hit with ransomware...

https://www.bbc.com/news/world-europe-57111615

https://www.sungardas.com/en-us/blog/ransomware-attacks-on-u...

So yeah blame capitalism and not inherent human nature that applies to every large scale system built by humans.
There's rarely room for doubt.

We may be about to step through some undergrad poli-sci and IPE coursework and (as inevitably happens) a review of book 1 of Plato's Republic up-thread, if you're interested. Or the poster may just leave it at a downvote and not respond. :-/

I tried to take Socrates' side of Book 1's exchange re: the definition of justice once already with another probably-libertarian, but we got derailed by your parent poster. (the short version for the uninitiated: if you try for a simple, inflexible, & complete definition of justice, you've almost certainly opened yourself to obvious contradictions and/or consequences that everyone hates as soon as you start gaming it out—workable definitions of justice that survive serious scrutiny are hard to come by)
> However a considerable minority (maybe even a majority in business circles) in Taiwan see themselves as Chinese and are not at all sympathetic to US containment policies on China.

That's an odd position for anyone living in Taiwan to take, seeing as how their democracy and country exist only because China does not yet have the military strength to change that. I find it highly probable that they cease to exist as a separate entity within the next two decades.
I've been using python for many years, but these days I would prefer to use JS (or better, TS) even for backend. I find it more enjoyable to use than Python, and faster.
Sure it has its warts, but if you write idiomatic code they are not much of a problem (e.g. I don't think there is a single class in the code I write, so prototype chains are a non-issue)
Well, I have been writing both high and low level code in Rust, and I must admit I've been happily falling into that "trap". The nice thing about Rust for high level software is that it lets us specify interfaces in a way that makes them actually usable without delving into the low level details.

A lot of things that are hand waved away in C++ (who owns this? How long does this need to be alive? Can I mutate this?) are completely explicit in a Rust interface. And Rust's type system is strong enough to express a lot of rules that no one would want to write down in C++ (because overriding them is just one cast away), allowing us to write hard-to-misuse libraries.

Coding on top of such libraries is a really fun experience. That's why I call Rust an all level language.
I had Vostok watches with jet fighter and crunchy adjustable outer diving rim, they ran 5 minutes earlier every day. I also had small gray watches with black metal band that just said "quartz" and "sdelano v sssr" and they were off by 1s per month, entire family set time from me.
You don't need quotes in

res="$(... whatever ...)"

This is sufficient:

res=$(... whatever ...)
archive.is link (full article):

https://archive.is/P7FvQ
>If it turns out to be incorrect there's no harm is there? It's not like we can overreact to climate change.

We can. Human life is still resource constrained. While we live better lives than ever before, it's something that can always improve. The resources we spend on dealing with climate change could've been used to improve the lives of people instead. An investment in the economy today can have (positive) compounding effects in the future.

We could live like people lived in the middle ages, but that would cause more human suffering than it would help. The same point goes for the future though - if we stop technological advancement, then how many people will suffer from issues of the modern day that would be solved in the future?

Ultimately, it's a balancing act on what will help more people more in the long run.
Can there be social mobility that is independent of social social status, or does "social mobility" have a literal definition where if someone gains social status someone else must by definition be lower on the social ladder. If one follows that definition it seems not too strange logic that social support should go towards those at the bottom of the social ladder, and if you change the social ordering then who receive support will also change.

One way to resolve the problem seems to be to decouple benefits from social status and instead see them as human rights. Health care is not something that you buy, but rather a service that the government provide to every citizen equally. The top 1% get the same cancer treatment as the homeless and both pay zero.

Decouple benefits from social status does not seems to be strictly a left vs right issue, at least not here in Sweden. Is the UK different here?
Obligatory xkcd:

https://aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
There are some examples which (IMHO) are not the best.

First, global variables changed silently is a tempting yet very bad idea for software engineering. Yes, we are used to them, but there are unsafe. You can easily create a mutable variable in the main, then explicitly change it with a function. So, no features are lost, but it enforces clarity and explicity.

Second, I don't find initialization with zeros to be a huge problem. I got surprised it got mentioned at all.
The harm in being incorrect is that more and more people will use the past incorrect statements as grounds to dismiss future potentially correct statements.
Modern Javascript: Everything you missed over the last 10 years (2020)
Show HN: Automaticlly updated language performance banchmarks in visualization
Hi everyone,

To celebrate pyston(for those who don't know it's a cpython's jit interpreter) release it's new version, I made automaticlly updated charts project compareing performance difference between languages.

Data source comes from debian's the computer language benchmarks game. Hope this project can help you.
> creating a language that is closely-related to Python, arguably one of the world's most popular languages, and allows / encourages porting large Python codebases, seems like a pretty worth goal.

well they do state "copying bad design is not good design" in the main page. Actually porting Python code to Nim is not that difficult especially when people care enough to create pages like: https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programm...
Someone from TSMC reached out to me on LinkedIn to apply to a 4 year program (2 years in Taiwan 2+ years in Arizona). As a software PM I don’t know they pegged me right, but interesting how they are recruiting.
So what I like about your comment is you’re clearly more pragmatist than zealot or ideologue.

So I don’t know Lisp or Haskell. I never learned in the college years when I might’ve had time and now I just don’t want to pay the years long learning curve. I’ve got shit to do.

But the big problem (for me) is I’ve completely turned off dynamic typing. Python did this to me and i I honestly don’t think I’ll ever go back. I refer to dynamic typing as “unit tests for spelling mistakes”. YMMV.

Another issue is I like simple grammars and relatively opinionated languages. I’m not the biggest fan of GC either. Years of tuning GC pauses of JVM have soured me on the boundless benefits of GC.

I give this as context to say that I like Go. You can learn Go in a really short amount of time. There’s usually only one way to do things in Go. That’s good. Less surprise and less arguments in teams.

An issue I have with C++ (and this applies to Lisp and Haskell too) is it allows people to be too clever for their own good. Look at 200 lines of Lisp and there might be a C compiler buried in there. Who knows? That might demonstrate the power of the language but is usually counterproductive to a team or project.

So memory safety is the big selling point of Rust. You need to buy into that and why things like static typing are good even though you might struggle with the type system and borrow checker at first.

Is better to fight the compiler than be surprised by the runtime (IMHO).

But Rust of course is not issue free and it differs from some long-standing and unfortunate design choices early in its life that are going to be hard to correct. Build times are a big one. See this [1] for more.

For the last few years I’ve written Hack (aka PHP) professionally. One thing one comes to really appreciate is cooperative async-await, which is pervasive. Writing C/C++/Java has taught me that of you every manually spawn a thread you’re going to have a bad time so you should do anything in your power to avoid this. Go is one flavor of alternative. Hack is another. I’m not sure I’ma big fan of Rust’s.

Ultimately, with Rust out any other language for that matter, you need to learn and buy into the idioms otherwise you’re going to have a bad time.

[1]: https://pingcap.com/blog/rust-compilation-model-calamity
> I think that having more people doing more science enriches everyone. Without American and German scientists working sharing information, it would have taken a lot longer to have the space technology that we currently do.

> That is true even when two countries have political tension, as Germany and America had in the 1930s. China may have political rivalry with America, but science should take a lead in exchanging ideas, learning from each other, and developing new ideas that will enrich all of humanity.

You're only saying this because America stopped Germany. You might as well be telling the French why sharing their science with 1930's Germany is a net good. What about a hypothetical where that French 30's science was the defining factor in Germany being able to conquer them?
> Their argument is that subluxations (misalignment of the vertebrae) impair nerve function, kind of like having a kink in a hose.

And this "theory" is--pardon the expression--complete horseshit that's unsupported by any scientific evidence.

The article actually covers this topic at some length, including the fact that this "theory" regarding subluxations was discovered through the very scientific practice of seance...
Looks can be deceiving. You'll have to try it to see if you like it.

And if not, that's totally OK.