skysight-inc/HackerNews huggingface dataset:
You know they're an advertising company? Unless you're offering ways to improve their predation on consumers I can't imagine they'd care to hear what you have to say.
The military wants to build lethal tanks with AI
Assuming that nobody catches the NPE by accident or error (according to my experience in Java, it's a pretty big assumption), yes, they pretty much are.

The big difference is that, in Java, you typically get your NPE because you didn't know/didn't check that your pointer could be `null` – in other words, the default behavior of the language is to NPE. In Rust, the default behavior of the language is to inform the developer that they need to check. They may decide to explicitly assert that the pointer is not null, causing a crash if it is, but that's a conscious choice.

For instance, in my Rust code, pretty much every occurrence of `unwrap()` or `expect()` contains a comment explaining which invariant guarantees that the call will succeed. I don't think I have ever seen any comments associated to a member access in Java.
const fn is used for compile-time programming. "pure" is a bit over-loaded of a term, but you can sort of think of it that way, sure.

You can of course also run these functions at runtime; they're a more restricted kind of function. You cannot even currently use if inside of them, for example. We're working on expanding it out, but we're going slow because it's important for soundness reasons.
This is pretty cool. Is there something like this for building "slides" like powerpoint decks?
Because if you don't do anything, the thief will have their actions validated. That theft will no longer be an isolated, one time occurrence... It will be their new full time job. That means that they are much more likely to end up robbing someone again, be it you, a close relative, a loved one, a person who can't afford to "move on with their life", as you said. I'm trying very hard not to use the word "sheeple" here, but you haven't left me many options. If the average person protects themselves, then the group or community, on average, will be protected.
AI is finally learning from children, the best intelligent machines
I watch lots of hobbyist how-to videos and the comments are usually pretty nice. At the very least they are some human engagement from the views to the author, without which making/posting videos would seem pretty lonely.
"If your company has a platform that is beyond your capacity to manage responsibily, then your platform needs to shrink, or be chopped up. "

This is how I feel about fake new too. It's not exactly what you said, but if your business can't afford to moderate what spews out of it, then adjust your business or shut down.
The problem is that they used to be needed, in the pre-Internet era, so the entire academic community has evolved around the publishing ecosystem. Or rather, the incentive system has evolved that way. Journals like Science/Nature/Cell are essentially the gatekeepers to tenure-track jobs at top universities, at least in the biomedical sciences. If you're a typical postdoc trying to move to the next stage of your career, "just post it on Biorxiv" isn't very helpful advice.

I would love nothing more than to see the entire publishing system revamped and parasites like Elsevier and NPG disappear, but until you solve the basic problem of academic hiring and promotion, it's an uphill battle.
Also error messages have had a lot of effort put into them, so an error that would have been confusing a few years ago, now may no longer be confusing.
> Nudity/(consenting adult) sexual content is more likely to get a pass more so than US companies would allow

Unfortunately, Liberapay is beholden to its payment processors, which tend to ban sexual content; they're currently using Stripe, which bans quite a bit of stuff: https://stripe.com/us/restricted-businesses
Finally, the Duration::as_... functions are stable. Allows one to do duration calculations much more nicely now that it's one variable.
This is true, but it also happened a lot even before NLL. That said, I do think it's an additional factor today, you're right.
God forbid they put a link to Wikipedia under flat earth videos, huh?
Americans of Japanese ancestry.
Ideally wait a couple more years, most of the manufacturers seem to be concentrating on the premium end of the market first. They are also all struggling with supply which is keeping prices high.
Great response from the HN community.
For anyone interested in the project: https://hundredfoot.com/ If anyone would like to get in touch, shoot me an email: info[at]hundredfoot com
USTR to suspend China tariff hike 'until further notice'
AI won’t relieve the misery of Facebook’s human moderators
"A random person on the internet is posting creepy comments" is likely not probable cause, especially as you'd have to convince someone national like the FBI to care without a specific location.

"Someone I know personally is posting creepy comments, and I've always gotten a bad vibe about their interactions with kids" is probably enough to get local cops interested enough to knock on a door.
I'll start the discussion by just pointing out how Bloomberg and the NYT absolutely love to talk about China being a surveillance state, but hardly ever talk about the surveillance state that we live in here in the US (relative to how much China bashing they do)
Should we think of them like the equivalent of constexpr functions in C++?
India and Pakistan should stop playing with fire
Mozilla should let users install unsigned extensions in Firefox.
That's a seriously important insight.
Best and Most Popular DVD Ripping Tools for Mac OS X
I am not familiar enough to declare an equivalence, but roughly the same, yes.
>> 'They have the "best" app in the sector, but only because they have essentially the only sports social network out there.'

You could almost say this about any successful app. Facebook is by no means the best at any of the things they do, but they're the site that has the highest adoption rates, so it is what it is.

For whatever reason, people prefer Strava over the alternatives, and so they get to be the best as long as people don't go elsewhere.

Personally, I use Garmin Connect and Strava both, each for different reasons, and it really rounds out my data and social network needs.
In trying to understand one-liners like this, I find that it's valuable to break it down into each step. Run the first step to see what it outputs. Then, pipe that into the second. Repeat for each step of the process. Google or use the man pages, as needed.
To summarize:

* The Pin trait is stable.

* std::task/std::future, i.e., the ability to use futures is still unstable.

* The async/await syntax is still unstable. And apparently being bikeshedded like mad, from what I've heard.
It seems to me that yt could've implemented the perfect honey trap for pedos.

Make an inappropriate remark on children and (being Google), track you down using a variety of fingerprinting techniques and report you directly to the appropriate authorities of that country.
The latter part could probably even be automated.

And yet, they've taken this stance: one that puts the onus on the content creators themselves to moderate the comments. Unfortunately, the pedos are still out there, being predators.
Amazon will let brands issue takedown strikes on fake listings
The problem is that they're making money off content they didn't produce, that taxpayers paid for in many cases, and they're actually preventing wide dissemination of research results. It's not like they're particularly good at their job either - I have yet to meet a scientist who actually enjoys interacting with journal publishers. They simply don't have a choice if they want to stay in an academic position.
Been doing this for a while. There is a great extension for Pass:

https://github.com/tadfisher/pass-otp

Even works with Browserpass and the Pass Android client:

https://github.com/browserpass/browserpass

https://github.com/zeapo/Android-Password-Store
Stop Worrying about Solr vs. Elasticsearch Decisions
The const improvements are indeed awesome.

I wonder if there were any big improvements to compile times? Is that in the road map for this year?
Pedophiles are just the proverbial "Straw that broke the camel's back."

Advertisers have always been agitating, often behind the scenes, that their ads not show up on certain channels. It's just that now that there are all these code words, out and out brazenness, and what not that undesirable people use to have their conversations on otherwise innocuous channels, the advertisers are really starting to put their collective foot down.

This really is an "existential" level threat for YT. I understand the urgency. I'm just wondering if there is a better way to accomplish the same goal? Is there a way to, more directly, target undesirables?
Ah, thank you. Didn't expect to be attacked for being a programmer on Hacker News. Nor did I expect that being a programmer somehow means I can't understand stress or hard work. How crazily insulting and how dim that persons view of others must be.

Never meant to imply no one should complain. Life is hard for everyone. But a 6 figure job out of college after getting rejected from Harvard _is not tragedy_, and I don't really care who says otherwise.
Animal-AI Olympics Will Test AI on Intelligence Tasks for Crows and Chimps
> I've gone through the exercise of retrofitting insulation.

Based on your experiences what do you recommend? (or what sources do you recommend consulting to learn more about retrofitting older buildings?)
Wow...this comment really did not age well at all, even worse than the classic Dropbox comment:

https://news.ycombinator.com/item?id=124594
> DuckDuckGo was roasted

No pun intended, right?
Hillshader
Animal-AI Olympics
Ask HN: How Can I Scale?
So let's say I have a small SaaS business. I have a small user base but its growing and I want to be ready to handle a bigger demand. So how can I go about designing the system so I can scale it smoothly?
This is not an option for big universities (or big companies) unless they want to get sued.
We absolutely need debate and skeptics on climate change. Debate doesn't mean adversarial; it means questioning the evidence and possible interventions.

If we aren't debating on climate change, how do we decide where to put resources to reduce emissions and clean up existing pollution?
I think the (metro) transport situation has improved a lot in the last 3-4 years since the Downtown Line opened, and things will only continue to get better when the various other lines launch in around 5 to 10 years [1].

Go-Jek (from Indonesia) has also very recently launched their private hire service here, but they've done very little to hire new drivers. Fares are slightly better as compared to when Grab had a virtual monopoly here though.

I can't disagree about the weather. :)

[1] https://en.wikipedia.org/wiki/List_of_Singapore_MRT_stations...
> See child comments.

But YouTube won't let me
You think they're doing this manually? There's probably some human supervision, but this is actually a failure of their algorithms.
Opposing opinions are not necessarily nonsense. Not that you said that, but many imply it or assume it. It's like their worldview or nonsense. At best, they allow small diversions from their worldview.

I say, we should allow huge diversions from our worldview.

In fact, even if its nonsense, if its influencial we should study it and understand it (that is, we don't have to suffer any random nonsense, but if something is both nonsense and big, the real active citizen should study it at least, even if just to try to grasp why their fellow people fell for it and what consequences it might have).

Of course if they start with "they fell for it because they're bad/stupid/crazy/lazy etc" that's just something to make themselves feel better, and doesn't really explain everything.

First of all, this or that people can be bad/stupid/crazy/lazy: those are characteristics of the individual. Millions of people can't be said to be that, there are other forces at play when masses make decisions or adopt things, not personal pathologies.

E.g. it's surely it's not because all the "stupid/crazy" people are in the fly-over states that Trump was popular there. And vice versa, it would be improbable that most of the smart/sane people are in the coasts. (You could reverse this with how MAGA supporters view Hillary supports, and it would be the same argument).

Perhaps its a cultural thing that made this people vote this way and the others that. Or a historical thing. Or an economic shift that's felt in one area and not in another. People should strive to understand those things then, instead of assuming the others are into "nonsense".

Of course people conveniently call their fellow people good/sane/etc when they agree with them (e.g. a vote goes how they liked) and then explain the opposite result at some later point (e.g. people voting something they don't like) as "people being bad/crazy/duped/etc"). They're not bothered to see the contradiction in calling the same masses both things at different times.
Both of your statements.

It's probably out of their legal authority and the act of watching a video is obviously not illegal nor harmful to anyone.

But that's is a very simplistic view of the situation.
> But who are those people who simplify Silicon Valley, and mock the useless innovation?

In my obviously very much less than completely thorough experience, they're often people with clear goals who want them advanced. They're frustrated with useless innovation, seeing it mainly as resources that could have been used to advance a more worthy goal. They lament the waste of resources and the failures of vision to bring those resource to bear on the proper goals and problems. All the solvable problems that so many smart, driven people and so much money could hardly fail to solve. The lives that could be enabled, the societies that could be changed.

I've known a number of such people. I've seen a series of such pieces over time, no few of which pass through HN.
The question I have for Dr. Cook is, "What is this wizardry worth in today's world of computing?"

It seems for every concise one-liner that requires no internet access there is a complimentary website someone has set up to perform this same task "for free" on a remote computer and return the results in a web page.

I never use those because I still enjoy the command line. People who design software and websites today, and those who review their work in the media, often refer to the command line as some sort of purgatory. God help the user who is faced with a command prompt. For me, this is more like a haven from the world of gratuitously graphical software and web applications that are too often either bloated, overly complex, inflexible, opaque, slow, or some combination thereof.

It is not that the command line is pleasing in an absolute sense. It is only pleasing in a relative sense, when contrasted with the alternatives. If the alternatives are painful enough, then moving to a command prompt is a relief.
I watched the original expose video of this and I found the comments be disturbing, but I don't expect any platform to perfectly prevent comments. The more damning part for YouTube was how the recommendation engine was clustering the videos based on pedo preferences and automatically creating little pedo playlists. To me, that is their bigger fault as a platform is that they are built on automatically giving people more of what they like. Even pedos.
Because the non discretionary parts of your life like rent/mortgage and medical is so expensive people don't have time after investing 50-60 hours to walk the friends dog.

Note that someone who only works 40 hours but has to commute 1.5 hours to and from work because they can't live in the city where the jobs are and spends 2 hours taking text emails while not actually at work has committed 65.5 hours of their time.

half hour getting ready for work, 1.5 hours driving there, 4 hours on lunch for an hour, 4 hours on, 1.5 hours getting home.

People working multiple part time jobs are worse off. They may be "working" 60 hours and committing 80.
Help me transform business to benefit businesses, employees, & customers alike
Global professionals and leaders, will you help me create the next generation of business software and business apps to benefit businesses, employees, and customers alike? If so, please take 3 minutes or less out of your busy day and complete the following survey: http://bit.ly/HelpTransformBusiness
What's a smart lightbulb for? I'm not playing dumb; I really can't think of a time when I thought, "I wish I could communicate with my lightbulbs when I was away," or, "I wonder what my lightbulbs are up to tonight!". Some of these IOT innovations sound like they're looking for a problem.
It’s the girls who suffer more: Why young women face increasing anxiety
One's mind might not be as open as one thinks unless they're regularly evaluating opposing perspectives, nonsense included.

It's not necessary to completely cover yourself in crap, but you should have an exposure to it once in a while.
Ask HN: Business Is Making $400k / Year– Now I Don't Know What to Do with Myself
I know. Nice problem to have, right? But it's still a problem and I'm not really sure where else to talk about this.

I only need to spend the first 3 hours of my day working on my business. Then I'm pretty much done for the day.

For the last couple years I would spend the rest of my day working on other stuff— making music or new business ideas. I've always had new ideas. Motivation has never been a problem.

But recently I've had trouble caring about new ideas. I mean I spend a lot of time thinking about what to do next but things just feel different. There's no spark. I used to have trouble sleeping on Sunday nights because I was excited to work on Monday... That's no longer the case.

I work mostly by myself. I've been doing it for 6 years and it hasn't been a problem before but I'm starting to wonder if it's getting to me. I have friends and a lovely wife so I'm not lonely per say, but I'm starting to wonder if I'm missing the camaraderie of working on a team.

I don't think I'm depressed. I might just be describing burn out. I just don't know what to do about it. I probably need a sabbatical from work or something but I don't know how to do that. What do people do with themselves during the week when everyone else is working? Pottery classes? Woodworking? Should I go get my masters?

Any perspective or feedback would help. I'm 31 years old.
I didn't take the original article the way you described it, and I don't think there's anything wrong with the "I'm done" attitude. Nobody is obligated to fight all the battles all the time to begin with, and beyond that, speaking out and voting with one's feet is an effective way to cause change.

To gauge effectiveness, think this way: what would happen if everyone in her position did the same thing? Most certainly the area would experience a drastic change.

You know what's not effective? Shaming people into silence by calling them narcissistic. Sure, you can write off her experience as whining - and how's that going to help anyone?

The kids who committed suicide were going through what the author was going through, more or less, and committed suicide for the same reasons the author does not feel happy in the Bay Area. I don't know what else to say except that what she says matters. Listen to it.

In any case, my main take-away from the post was this: the Bay Area is not a healthy environment even for the well-off kids to grow up in, and to live in. The damage of the competitive rat-race is not offset by the prize of getting a FAANG job even for those who get there.

In the end, people like her make are representative of what drives the culture here, and this culture sucks. And again: act to change, understand to act, empathize to understand. This starts with you.
Does YouTube even need comments? I can't remember any meaningful discussion happening in the comments, it's mostly meme type stuff. Long term I can see this being the final resolution for toxic comments.
I think "ethnic cleansing" would be a very appropriate term for what is happening right now.
> If somebody tells you "your money or your life," it's pretty obvious that the safer option is to give them the money.

Safer for you, right then (unless you, you know, actually need that money, for food). Unsafe for all of their future victims, whom you have just chosen not to help. This is true for the same reason that evolution and game-ification works... Applying positive feedback to an action increases the likelihood of that action being performed again. By giving in, you choose not to stop them, and communicate to them that what they are doing is okay.
When a const fn is called from a const context, like assigning a value to a constant, the compiler interprets the function at compile time.

If you're interested in more info the docs [1] and the New Rustacean 1.31 Part 2 podcast [2] are helpful.

[1] https://github.com/rust-lang-nursery/reference/blob/master/s...

[2] https://newrustacean.com/show_notes/news/rust_1_31/part_2/in...
It's not like Google is some magical unicorn place though. It's boring soul-crushing big corp job with overwhelming politics.

Seeing smartest people waste their time on this was very depressing for me during 3 years spent there.
Energy–Maneuverability Theory
My first (knee jerk) thought is “I guess this is what happens when you’re under pressure to perform better in China”; but I think there is more to the story than we know.

I would be surprised Apple if caved on this without having a mitigation strategy in place.
This is pretty cool, I haven't really used the console for something like this in a while, and it's a good reminder for its power.
That sounds dangerous. An Uyghur receiving secure communications from the outside seems sure to get someone in trouble.
Help Us Transform Business
Whoa! That takes us back to the Dark Ages of 2009. Did they even have Wi-Fi? Man, there isn't going to be any Angular, React or Ember in the code, let alone all three like I was hoping for.
All of your examples have huge collections of templates and employ lots of wizard-guided steps that land you to a pretty generated page to get started. These are much easier to use than the "power-editor" showcased here.

How do you know that people actually care about the "power-editor" and aren't just paying for that (and domain registration, hosting, maintenance)?
well, they're protecting their revenue stream.
We agree that reference checks as they are done today at the end of the hiring process are under-leveraged. With Searchlight, we believe that we can make them much more useful.
The same thing happened in the dot com days with sites like fuckedcompany where everyone unleashed against useless companies filled with aeron chairs and foosball tables as they crashed and burned.
You only think that's a good idea because you don't believe in flat earth. They could equally put a link to flat earth sites under NASA/SpaceX videos. Do you really want to decree that whatever they link is "true" just because you agree with them in this particular instance?
How is it possible that it's easier for YouTube to identify children (people under the age of 18) in videos, compared to identifying certain types of comments and automatically moderate those?

Or is it some law regarding censorship that's the issue?
It is fine, and no it didn't anger me, so no need to apologize, really. :)

> I never claimed that Rust was the only language that has these properties.

Yeah, that is my mistake. Sorry for misunderstanding you!

> I never received any formal education on any CS related topic

Same here actually! :P

> No hard feelings please.

Not at all!

I understand that you like coding in Rust, and that is completely okay with me, and even if it was not, that should not deter you from continuing what you are doing.
> IIRC it did largely cure YouTube comments.

Did it? I don't remember that being true.