skysight-inc/HackerNews huggingface dataset:
Seems to me there is a large public relations push to normalize their authoritarianism in the view of Westerners.

Then you hear about bloggers being imprisoned for pointing out corruption according to the government’s own definitions.

China’s authoritarianism looks attractive when it’s about infrastructure and efficiency, but the underside of it, the collective silencing and destruction of debate, the “blank spots” it introduces into its citizens understanding of history and the world, are truly disturbing.

China’s existential threat is an opportunity or technology which enhances its ability to control citizens but leads, in the long term, to destabilization of the regime. Could be AI, could be something else. But at some point one of these forbidden fruits will poison and what appears to be a manageable, technical problem will become a societal one that no one can control or censor.
Launched with so much success, Elon is giving away thousands of dollars in ethereum /s

https://twitter.com/eiiilonmusk/status/966844047032832000

backup: https://imgur.com/a/8OsbX

(this is a third or fourth one I've noticed so far)
I don't think we'll be able to break the cycle until we encounter aliens and there's a whole new spectrum to use as a measuring stick to label outsiders. The cycle persists because of how different the outsiders are compared to "us" insiders. The human animal is like many animals, matching patterns in past experience and applying labels to those patterns in order to survive. Religion and superstition are fine examples of this behavior. As is racism and classism and politics, etc. I don't think this will change unless the pattern-matching, label-applying biology/behavior is eliminated, e.g. the human animal is changed into something that isn't human, or through semantics, e.g. unless the human animal is presented with something so extraordinary and counter to the status quo that the definitions are changed.
Driving tests for self-driving cars
LLCs may be taxed as flow-through entities (similar to partnerships), but no LLC is organized as a partnership, that's simply a nonsensical statement; an LLC is a distinct and separate type of entity to a partnership, limited partnership, LLP, LLLP and corporation.
That's a good idea. Do you mean in the text where it says "Guidelines | FAQ | ..."? or somewhere else?
Where is the proof that CEO's make better than random decisions? Companies go bankrupt all the time.
Twitter Scam: Elon Musk is not giving you free ETH, one tweet scammed 155 ETH
> Given that the first sentence is too long, I think it's a reasonable summary of it, though reasonable people may disagree.

The difference between the title and the contents is the difference between control and ownership. They are not the same. The article discusses control not ownership. That is also the case in the portion of the article you quoted.
thanks, thats an interesting link.
Yeah I understand what you mean. I have around ~12 projects, for different clients, that are just recent enough that I might need to access the environments.

If that was one environment (forget some of them being stuck on 2.x) the number of damn dependencies would be monstrous!

When I need to bring a partner onto the project, I can't give them a requirements file that's 5x what it should be!

> I just never understood what all the fuss is about.

It's to keep environments clean + easy to maintain. Virtual is probably a bad word for it. It isn't like Docker or a VM.

I don't think too many Python projects that are not libraries support many versions, that isn't the point of virtualenv or conda anyway.
>They have a good solution to the "expecting the driver to watch and take over" problem

I've always thought the model itself represents a fundamental design flaw. These systems should either be fully autonomous and responsible, or engage only as active safety measures in accident avoidance.

Tesla has been particularly ambiguous and irresponsible in its messaging/positioning. Naming the product "Autopilot" and really playing up its capabilities, then disclaiming responsibility in the event that the system fails.
Also iirc current LIDAR hardware is rather large and needs to placed in a fairly open and visible position. The HN demographic may not appreciate this as much as they should but looks are really important when it comes to selling a car, a LiDAR set is unsightly. LiDAR-less maybe the only market viable option.
You put money down in hopes of cash. Yes, yes it is.

https://www.merriam-webster.com/dictionary/gambling?src=sear...
Ask HN: What is the most interesting or entertaining commmit message you've seen?
There's been many interesting commit messages, what is the most interesting one you've seen. It might be funny or technically detailed. My professor previously mentioned rants that were incredibly detailed. What is your favorite commit message?
Geeks don’t belong locked in a server room
Sorry yes, had a brain fart there.
What about the other case - when they're not random, but also not reused ... such that the psychology of the user's password-selection methodology might be exposed?
Musk shared the first images of SpaceX satellites that could change the internet
How does an ad that was created by, targeted by, and paid for by Facebook not hahe anything to do with Facebook?
We lost so much behind the scenes history/trivia with the removal of IMDB comments. Some frequent users migrated their comments to www.themoviedb.org but it's nowhere near the amount of what was there from what I can tell. Top movie listed has 1 post, Shawshank Redemption has 11.
Thanks for the reply.

It certainly sounds like the job description is somewhat different than it is here:

A) My teachers didn’t have to care if I skipped class beyond marking me absent. I probably skipped 60 classes in Grade 12 alone and nobody ever said anything beyond a machine making automated phone calls to my parents.

B) We had no standardized tests or college entrance exams (other than an English assessment in Grade 10)

C) My teachers only had around 110 students and 20h a week of instructional time.

D) We rarely had graded or custom assignments more than once a week per class. You were on your own to do ungraded optional problem sets from the textbook most days.

You sound like you really care, respect.
you can have "escaping" closure. But you cannot return something that outlives it's lifetime. So the closure must own data, not merely refer to it. The online Rust book should habe the details.
Martins Beach: Billionaire Takes Case to U.S. Supreme Court
> Rather than activate the receptor, another drug called naltrexone blocks the receptor and can decrease cravings over time.

Naltrexone is essentially a vaccine against both opioids and and alcohol. My recovered-alcoholic friend found that Naltrexone eliminated her ability to consume large amounts of alcohol. But she drank "to make it all go away", and Naltrexone didn't provide any relief for her emotional problems. She took herself off Naltrexone and drank herself into a 2-year prison sentence for her 3rd DUI. She tried to stay sober after getting released, but was unsuccessful because of her anger at her ex-husband (which I somewhat helped her release).

Gabor Maté [0] says that virtually 100% of his most-hopeless drug addict patients had experienced "adverse childhood experiences".

[0] https://news.ycombinator.com/item?id=16023802

Last month I met "Henry" - our mutual friend said he was trying to get off "Black" (black tar heroin). A while later Henry tagged along with us... Mutual friend disappeared for a bit. Henry told me how scared he was of Black... That he'd once gone to Mexico with his family, thought he took enough to get him through the week, but started to go into withdrawal at the end of the trip.

He also said how much he loves G (meth amphetamine), and that he'd tried to find some that day, but was unsuccessful. He then said, "A junky like me has to shoot something...", and said he'd used Black in the Taco Bell bathroom that afternoon, shortly before getting in my car.

I told him I thought my friend (whom I've mentioned here before) was predisposed to addiction on account of her being adopted. Henry immediately said that he was adopted -- that he was found in a dumpster at 4 months old, screaming his little heart out.

> But people struggling with addiction to cocaine or stimulants such as methamphetamine don’t have treatment options like these. They don’t exist.

I've read some studies that found that Naltrexone is also helpful for reducing people's stimulant use, and that the anti-psychotics (anti-dopamine drugs) cause people to use more cocaine/amphetamine.

Really there's no need for developing "vaccines" for "addictive drugs" - we have tools (naltrexone, the MAOIs, etc) that work well enough to address the reasons that people self-medicate with substances that cause long-term harm. Doctors just need to consider the full conditions of the person who can't limit their use of addictive substances to "recreation".

It would also help to stop teaching addicts to be helpless in jail.

This week I finally found the rest of a quote about 'feeling safe' that I've referenced for years [1]. Someone had asked about "ego" - the response was, "It's very important to develop an ego. When a person feels safe, the false-ego goes away."

[1] https://news.ycombinator.com/item?id=15024780
No, the objective for Rust was never to be all the way safe.

Rust gets much inspired by C++ and seeks to be a systems language where " there should be no room for a lower-level language between [it] and native machine code".

If you want that, you need unsafe blocks. The intent is to use those blocks to build safe abstractions that can be used for the lion's share of your program.
The article talks about exporting the tech to the global South, not me. The goal not being in the export itself but in the subjugation of those people under a central point of capture. From there, it's obvious who remains: the West.
Yeah that's the same one I was thinking of. It's a pretty far out theory but is nonetheless extremely interesting. The part of this that is incomplete from an implementation standpoint is creating an algorithm that can fully digitally manage a business entity without human intervention. In general though I think we are much closer than anyone thinks to seeing the first fully autonomous corporation (though the first one will likely be pretty rudimentary and more of a toy than anything else).
Moscow may use Ethereum based voting blockchain system in upcoming election
A Panasonic toughbook would come closest, but I haven't used one. I just saw youtube videos and ads abusing them. You could also get an old thinkpad(T420, W520). Other than them I don't really have any ideas, although googling `ruggeredized laptop` might bring some results.
Great! Would you be willing to continue moving this forward rather than just picking it apart? Going beyond only debugging and providing a patch, as it were?
What is going to be an issue, is that opiods (like heroin, Fentanyl, morphine, oxycodone) actually have a clinical use apart from the abuse. So either the vaccine is very specific and just changing from say fentanyl to another of the many available opiods defeats the vaccine, or else it renders a whole class of drugs that may be legitimately used for pain management or anesthesia during surgery no longer able to be used for potentially the rest of the person's life.
> privacy bs

Privacy is always BS until the lack of it bites you personally. Privacy (i.e. 4th amendment) is to Swiss what 2nd and 4th amendment is to conservative Americans: Our insurance against government overreach.

The problem is of course that not every place is as democratic (i.e. ruled by the people as a whole) and low in crime, therefore privacy creates unwanted side effects in form of illegitimate uses. What exactly is illegitimate is up for discussion though - e.g. I consider tax hiding as simply a symptom of governments failing to create stringent market places where taxes flow automatically and fairly. As long as you don't have a world- (solar system?) wide government with total control, you'll never eliminate the availability of tax havens, they just get shifted around - currently the easiest place to hide is probably Delaware.

I see cryptocurrency as a nice opportunity to introduce a much more stringent monetary system where it's trivial to trace back the origin of money and track whether it has been earned in a legitimate way, including the deduction of taxes. People will still have the same options in general:

(a) store it in a personal offline wallet - somewhat dangerous due to potential loss and/or forgetting access codes

(b) give access codes to a trusted bank who will have an interest in tracing whether everything is in order (due to regulations)

(c) store it somewhere off-shore, risking fraud

What crypto enables is basically a clean separation of (b) and (c), which would make life easier for Swiss banks in the current landscape, i.e. allow them to once again deal freely with foreign nationals, especially Americans.
IMO that's less of a Rust problem than a problem for the next generation of verified languages. Probably total functional languages, or maybe just usable versions of Coq.
I think you’re ready
I've never paid attention to that personally. I guess I add them in order of most important (who I anticipate getting most value out of the meeting) subconsciously, but I try to keep as few people in To: as I can and put "everyone else" in CC:.
Rust needs unsafe to be Rust. It's reasonable to expect (safe) Rust to become more expressive over time so that more things can be written in safe Rust (or written more conveniently) but expecting the escape hatch to go away entirely is misguided. It is as unlikely as C++ or C trying to do away with inline assembly.
I don't think that there's anything wrong with wanting to find meaning in your job.

The time has come to stop sidestepping the debate and home in on the real issue: what would our economy look like if we were to radically redefine the meaning of “work”? I firmly believe that a universal basic income is the most effective answer to the dilemma of advancing robotization. Not because robots will take over all the purposeful jobs, but because a basic income would give everybody the chance to do work that is meaningful.
Ok so if you’re going to send inspectors and police out to the ASIC farms to verify compliance and register that miner as a “chartered” miner running the right software...why change the system at all? That’s how it works with banks under the current federal reserve system in the US and defeats the whole point of decentralization
Right! So (from the perspective of the password alone) the owner doesn't have to care if that password is used only on that site where the horse has left the barn.

If the password is used on other sites, then of course all that protects them its strength relative to the compute resources thrown at it, relative to the time between the breach and discovery.

(From other perspectives, the user does care: like their credit card number was stolen and is being misused.)
So can anyone tell me why we should support what China is doing? Why should any entrepreneur or tech worker go there and support this government? How come China seems to get a free pass on human rights issues like this by western society?
ECampusOntario Open Textbook Library
What about replay attack? Providing apt with old metadata and packages?
Yeah, a doubly-linked list is basically the worst possible choice for your first program in Rust. This is because Rust likes all of your memory to have one clear owner. And this means that cyclic data structures are unusually difficult compared to almost any other first program you might choose.

But if you really want to know how to do it, there's a really good tutorial on the subject titled "Learning Rust With Entirely Too Many Linked Lists": http://cglab.ca/~abeinges/blah/too-many-lists/book/

This will walk you through multiple different kinds of linked lists, and show you how to implement each in Rust. Along the way, you'll learn more about Rust's ownership system than most working Rust programmers generally need to know.

Personally, I've written quite a bit of production Rust code, and I've done so without ever touching 'unsafe' or needing a linked list. If I really did need a linked list, I'd either grab a good one off crates.io, or just knock out a quick one using `unsafe` and raw pointers. I mean, Rust can do basically anything C does if I ask nicely. It's just that if I choose to write "C in Rust", then I get about same safety guarantees that C offers.
tbh I don't know enough about rust or the whole field of software development to give an authoritative answer, but if you don't know much about rust, this might help you.

in general, rust is great for pretty much anything c is great for. you can do raw memory manipulation in unsafe blocks if you want, but you write memory safe code by default. at present, rust is definitely slower than c, but there's no inherent reason that it has to be so; mainly it's just the consequence of being a new and immature language.

one neat thing you can do with rust is build safe interfaces to the c libraries that you know and love for a relatively small performance penalty. I am writing a toy graphics application in rust, and it is so much nicer than bare OpenGL, although there are some serious pain points with library maturity.

it can also be a decent substitute for problems you might solve in C# / Java / other statically-typed languages, although it is a bit more strict and explicit than those.

the main things I can think of that rust makes hard are applications where you really don't want static typing (web dev, scripting, etc.) or you have a need to use a lot of specific libraries that you don't feel like writing interfaces for.
>It's probably the set of information that's put out there the most often in order to muddy the waters, often by people have racist motivations.

Lower cognitive ability is related with racism[0]. So it might not be malice, but simple that they cannot grasp the social underpinnings of such statistics.

[0] http://www.fraw.org.uk/library/anarchism/hodson_busseri_2012...
A closure in Rust is just a struct containing its captures either by value or as & or &mut references pointing to the values. Thus, making/avoiding a cycle with them is the same as doing it for "normal" values.

One can't accidentally get a reference-counting cycle (values aren't reference counted unless they're put into a pointer explicitly), and a cycle of shared/mutable references won't stop deallocation (and, if it's a cycle that's unsafe, it won't compile).
You don't need to solve the halting problem just to verify an existing proof of a semantic property, nor to use smarter heuristics to avoid requiring such a proof. 100% safe is totally reachable, though I bet the syntax would be pretty hairy added to today's Rust.
I respect your expertise here, but pulling up 20,000 feet...shouldn't Rust feel some urgency to provide something like simple-to-use common data structures without pain? Or a reasonable alternative? Current state feels a little science projecty.
Aw, I see now. Thanks!
I have been thinking lately about the purpose of crime. Obviously people get robbed and bad things happen, but what would happen in a society without crime? is it possible that crime has a larger purpose?
https://outline.com/BKDd54
In ex-USSR at least, and, I bet, in many spanish speaking countries, word "negr" or "negros" refers to any dark-skinned person without any baggage of slavery, diminishing mental capabilities or anything like that. (Word "nigger" is not really used in ex-USSR except may be some teen groups who listen too much to rap music, and still does not carry same baggage)

Why these immigrants should be shamed for use of these words, why some should be offended by words?

Intent should matter. And if bad intent is not there - there should be no judgement. That how empathy works both ways.
JQuery is more of a wrapper around document.querySelector/{All}, but for the amount of documentation out there you can't beat it. Also, it has a really good and easy to use ajax interface, which is probably worth using no matter what.
> HN is full of middle/upper middle class programmers who works in well-developed countries. This is definitely a segment on the political spectrum.

No, it's not. While class and profession have some loose correlation to ideology, the class/profession combination you describe includes people from all over the political spectrum, including all of the ones you say are excluded from HN for this reason (whuch, contrary to your description, seem to be well represented; well, not overt bigots but HN moderation is aimed pretty directly against that, and perhaps merely Trump apologists, who may or may not be Trump voters.)
It is through this kind of actions that we can hope to one day erase the Great Pacific Garbage Patch https://en.wikipedia.org/wiki/Great_Pacific_garbage_patch
Most elite universities have income-based financial aid and going to one could easily conceivably be cheaper or at least on par with going to a state school. Of course one big problem is that rural students don't know that
None of these should conflict with Anaconda (or at least Continuum conda, I'm not that familiar with what else is out there) unless you put the conda root bin directory on your path.
If you have a password selection methodology that you do not change when hashed passwords are compromised, then it doesn't help you. The methodology will be uncovered once the password is cracked, even if that specific password doesn't itself work anywhere anymore. It's somewhat better if the methodology is discovered later than earlier, I suppose.
Wrong way to deal with package repository bloat.
I think HN user pinewurst nailed it back in 2016: "[Intel] are basically a PR firm with a good fab in the basement".

https://news.ycombinator.com/item?id=11820078

Their handling of recent events has really cemented this view in my mind.
The account has been suspended. There are a lot of cryptocurrency scams on twitter with accounts having similar names to famous figures, replying to a well known account and offering to give away eth or bitcoin if you send them a small amount. e.g.:

https://twitter.com/Bitfinex___/status/964883934780841985

Replying to @BTCNewsUpdates @Bitcoin @keyatoms
Happy to announce 30 BITCOIN giveaway!

To be able to receive 0.5 Bitcoin, you need to send 0.2 bitcoin to the address

1AZogUQTyvgwizwxkC1Nxzubno3xw9D1dA

IF you are in the first 10, you have a chance to receive 1 BITCOIN
Fun fact: The `unique_ptr` approach you mention is also broken (and I would go so far as to say it's wrong entirely). The destructors will blow the stack. I really do think std::list's approach is the only correct solution for a generic linked list.
Maybe I was confusing my terms or something. I think of these as like an API as well, although packaged into a nice library that automates some stuff. So I guess I'll try to describe my ideal scenario instead.

What I was thinking of was a common language that can be used by all solvers. Similar to how C can be compiled by gcc or clang, this language can be used directly with the solver binary. Something like `export CC=my_solver` and `CC -d data.dat -m model.mod`, if you will.

What a lot of these projects do feels like calling a solver by translating it into some format that's different for everyone, whereas I wanted for the solvers to all agree on some language.

Or at the very least, some standard similar to how languages have libraries for something like XML. It would be nice if JuMP and PyOmO could read these standardized formats.

Then again, it's probably a pain to implement and even C compilers implement different extensions. But one can dream.
There are simple-to-use data structures available in Rust. In fact, they are particularly easy access due to the excellent package manager. What is not so easy is to write some of these data structures yourself. Which is a publicity problem for Rust, as these tens to be exercises that people from a C/C++ background want to try in Rust.