skysight-inc/HackerNews huggingface dataset:
I wish I was as cool as Rob Pike.
Literally all that Copy does is it says after assignment the moved-from variable can still be used. So in this sense, sure, these semantics are "always used". But if you don't use the variable after assigning from it, you could also say the semantics aren't used in this case. Does that help? Copy does a lot less than many people think it does.

If you're a low level person it's apparent this is because Copy types are just some bits and their meaning is literally in those bits, Copy the bits and you've copied the meaning. Thus, this "it still works after assignment" Copy behaviour is just how things would work naturally for such types. But Rust doesn't require programmers (and especially beginners) to grok that.

It's possible to explain Copy semantics first in a way that's easier to grasp for people coming from, say, Java, but that's only half the picture because your students will soon need Move semantics which are different. Thus I recommend instead explaining Move semantics from the outset (which will be harder) and only introducing Copy as an optimisation.

I think this might even be better for students coming from C++, because C++ move semantics are a horrible mess, so underscoring that Move is the default in Rust and it's fine to think of every assignment as Move in Rust will avoid them getting the idea that there must be secret magic somewhere, there isn't, C++ hacked these semantics in to a finished language which didn't previously have Move and that's why it's a mess.

I'm less sure for people coming from low-level C. I can imagine if you're going to work with no_std on bare metal you might actually do just fine working almost entirely with Copy types and you probably need actual bona fide pointers (not just references) and so you end up needing to know what's "really" going on anyway. If you're no_std you don't have a String type anyway, nor do you have Box, and thus you can't write Box<str> either, although &str still works fine if you've burned some strings into your firmware or whatever.
This is a cultural plague in pretty much all activity these days. Even in the age of memes, influencers, and user-generated content, everything has been professionalized,

Professional sports has overwhelmed real amateur leagues. The Music Industry has displaced a lot of just getting together and singing badly. Wedding planners, summer gap year planners, even professional Christmas tree decorators. There are few roadside restaurants that don’t basically reheat something delivered frozen by CISCO. Random roadside motels and amateurish amusement park attractions have vanished in the face of chains. Even tinkering happens at a high level.

Sure, all the non-professional things still exist, but are a miniscule fraction of how they used to be.
This is spot on from my own experiences. I'm currently in that sort of a position where I'm aware my energy (which I've started to refer to as currency with my therapist) is low.

It refreshes every day (the amount depending on sleep quality) and even at the best of days it's not enough to do an iota of what I was previously capable of doing.

Personally, in my situation I believe the answer to be antidepressants and will likely be going on them soon. Once this "situation" becomes lived in, it becomes harder to escape from... especially whilst self-isolating. Antidepressants increase neurotransmitters (which ones depends on the class of drug) and aid in this positive-thinking and habit-formation. Psilocybin works acutely through this mechanism as well (increased serotonin -> neurogenesis -> escaping mental ruts + more easily forming habits).

(note: when people 'cure' depression through psilocybin it's typically by being exposed to an extremely different perspective of the world. For example, "I forgot how beautiful nature is" or "every stranger has an amazing story" or "the world is so big and so much to explore". Taking those learnings back with yourself is one way to help depression, but in that class the depression is usually sub-clinical.)

People who start Prozac, for example, and get positive results tend to report a much better ability to learn and to maintain hopefulness.

This situation is not always due a chemical root cause (i.e. passing of a loved one) but staying in that state for much too long will cause a learned depression that we will accept as our truth of the world. At that point, SSRIs and other medicines have a role.
I pull out my phone even though I know there is no signal and that nothing will load. It’s more to avoid interaction with anyone else than entertainment.
WoW was colossal. It shaped an entire generation I was part of; the socialization, camaraderie, ventrillo and teamspeak chats, friends all over the world. I can’t really imagine myself without it.

I remember one New Year’s Eve in Goldshire. It still is honestly one of my favorite NYE. Getting drunk on voice chat, throwing fireworks, having engineers build all sorts of weird contraptions, some steamy chat with probably a balding dude playing a Night Elf chick.

I still play every expansion. I make a new character and level it to max. But it takes ages and I usually solo and when I hit max I mostly stop. It’s a little guilty pleasure.

I like to believe this is what kids today get with Fortnite and whatchamadoodle.
I recently find that anything on my phone or computer that tries to grab my attention, whether it's in an app or on a website, produces immediate annoyance from me. Even some genuinely helpful (but unnecessary) notifications. Popups, badges, dings, etc.

I hear about how "people" get a dopamine hit from the dings or whatever, and meanwhile I'm basically the opposite.
Try to put yourself in his place for a second. The world that this man knew is gone. He lives now in some kind of strange afterlife, spending most of his time sitting alone in a hut waiting to die.

Imagine you're living in absolute security and that you can have whatever you want. After some time its fair to say you'd get a little bored, so you'd want to be a bit surprised, to go on a little adventure. After some time, you'd get bored of that little adventure and you'll want a new one, slightly more intense. Continue like that for some times and you'll want to be exactly where you are now.
You just need some exception handling in your life
So we should keep them in failing schools?
That was one of the most tragic Greek tragedies I saw or read
I assume they're using PKI and there has been no unexpected attempts to obtain key pairs. That may or may not be correct, but it is one possibility if that statement is accurate.

It also may use 2FA before the drive can be mounted.

Those are my best guesses.
I don't think that's the case with git though? It's fairly simple actually. The biggest (only?) challenge is to not view it as a tool to do versioning of your code, but rather a tool to work on data structures that effectively do versioning of your code. It seemed fairly straight-forward to me once I did that mental shift.
Until the headset problem is overcome then these devices will always be luxury items. A killer app would help too.
Perhaps it's due to ffmpeg, or being oblivious to ffmpeg.
Pretty crummy IMO to compare himself to that poor man. He literally cannot communicate with anyone in the world, but wants to. He's constantly telling stories nobody can understand. That has to be some kind of nightmare impossible to comprehend.

The author just chooses not to talk to people. Not the same thing at all.
I have a PhD so I may be biased towards formal education, but I do review resume often and find certifications to be of no value, lame even. I had very poor performing colleagues with many certifications and they were very proud about it. Doesn't bode confidence at all.

When I see certifications on a resume, I see it as a negative.
I often joke that this is the only change I'd desire for a Rust 2.0.
Sure, it's not a universal law. We can imagine all kinds of scenarios where raising gobs of seed money at absurd valuations is the better choice.

We aren't discussing hypotheticals, though. We're talking about the actual seed landscape today, which to be clear is fantastic for founders, and the actual predicaments of a bunch of companies that raised in the last two-odd years at nonsensical valuations and are now forced to accept whatever investors offer (which in many cases will be nothing -- a down round is actually a luxury).
Thanks for all the examples.
> The charming bloke that dominates GeoGuessr

Not really. He is a good player, but not in the same league as the top players, which is something he readily admits. He isn’t interested in learning the minutiae (bollard styles in different countries etc.) necessary to get to that level.

People watch him because of his personality and sense of humour. His most popular videos aren’t even GeoGuessr related at all!
Max Tegmark's "The Mathematical Universe". https://arxiv.org/pdf/0704.0646.pdf
I'd second this and also recommend looking into if he has ADHD. I've just gotten diagnosed and it explains huge amounts about myself, including why I've found it so hard to bond with people and even to find the motivation to go out and meet people.
I wish this chap well. I can relate (but that would mean nothing, to him).

I have spent my entire adult life, in a unique community, composed of many thousands of "loners."

Given my druthers, I'd be a perfect hermit. I have been forced to be a participating member of society, and that has served me well.

It don't come natural to me, though. I have to make a conscious effort to run in the Human Race.
One of the points of the article is that the schools are not just trying to deliver an education, they're also trying to deliver social services to kids.

Why is that? Well, as a society we've decided that adults are generally unworthy of a social safety net, yet we still consider kids to be "innocent", and so instead of helping the parents of the kids, we insist on providing social services directly to the kids in school, bypassing the parents. This adds a lot of cost and layers of administration. And of course poorer kids are more in need of social services, so the poorer schools are often more expensive to run, even factoring in teacher salaries. You can say the schools are "failing", but they're also being asked to do too much.
> Rather than conceal the licenses of the under­lying open-source code it relies on, it could in prin­ciple keep this infor­ma­tion attached to each chunk of code as it wends its way through the model.

I don't know if the author understands how these transformer models work, but this would a impossible task in Byzantine complexity. The way these models work is by outputting a probably distribution of likely "token" embeddings given an input prompt. The output involves basically inverting a word2vec (probably beefed up with programming language keywords and other bells and plausible search techniques I don't have access to the details of).

This model was of course trained with real code, but you can't attach to the output any meaningful information from the gradient you get from the sample. It's a very messy computation to even think to write down (attaching a percentage that 1 training example affected 1 particular output), much less come up with a simple interpretation of.
Yep I have and it were some of the most fun times of my life. Every 10 million pop. city has terrible traffic and problems, including those high on that list, and all of their residents think they suck in some sense.

But unlike a lot of the high income expat enclaves the Economist chose to put up in the rankings Istanbul also has genuine culture. It's the most actually cosmopolitan city in the world as far as I'm concerned.
Funny to see this downvoted. I have watched Davies for a long time now, and I really like both the style of the videos and his ability, but "being better in a game" is kind of an objective metric, and the fact that these "writers" at newyorker tend to use such titles as "X who DOMINATES Y" (naturally, because it sells better) doesn't take away from the fact that Tom is far from "dominating" the game.
I agree. I would also like an example with static typing. Also I would like a book on how to create a visual scripting language.
They're loved by crop farmers where I live too (I also learnt recently), but they're illegal to cultivate because they're an introduced species.

(Now that I write that, I assume honeybees are too, but perhaps the honey industry is well entrenched)
The astounding athletic power of quadcopters (2013)
Rust's standard library strings cannot because of a specific API, as_mut_vec, which is incompatible with the internal representation necessary to do SSO.
You said: "after seeing NYC, SF and Las Vegas, I passed on an opportunity to go for a week-long business trip to Seattle. Even though I had the time, I imagine Seattle being just *mostly more of the same (an uniform, boring city consisting of XX century architecture built on a grid*"

You later changed to "worth it" because you didn't want to admit that these places might not be "more of the same", because they aren't the same at all.

I suspect you also realized that if you find yourself "bored" in NYC, the problem is not the city. There are few places in the world with more things you can do 24/7 than New York.
France has the highest per capita psych medication usage.
Now this is a vision
Ah the classic nukes "gotcha." If you want to argue nukes ought to be included as bearable arms, I'm all for that too. The federal government has shown itself very willing to infringe on the right to bear arms.

A constitutional amendment could easily ban nukes. It's not like there isn't a process to get them out of private hands the legitimate way. It probably wouldn't even be difficult amendment to pass. Similarly an amendment should be required if you want to exclude certain technology from the 1st amendment.
Some weird construction around Cow + Arc that is also Copy is not really possible in Rust, I'm sorry to report. No way to implement it and even if you could (you technically "can" by reimplementing most of Cow and Arc) - the result is not useful, the destructor of it doesn't work.
That's kind, thank you. I'm sorry for your friend. I hope you did cope with the trauma somehow.
Here’s a cached version https://web.archive.org/web/20220624083118/https://casperclo...
I've seen estimations that verbatim copies of training code constitute around 0.1% of the code produced by the Copilot. It would be relatively straight-forward to implement a verification step that would remove this code. I would be surprised if it hasn't been done already.

With verbatim code copies out of the way, I don't see any basis to consider code produced by Copilot copyrighted. So unless you have some problem with the fact that portions of your code will be public domain, I don't see any reason not to use it.

And one more thought. The author gives an example of using Copilot to list prime numbers. That's not a good use for it. Copilot and similar systems are primarily useful for writing boring boilerplate code, saving your time for more involved parts.
I wonder if you could sidestep the visa issue by forming a business entity in your home country for the purpose of selling your app. I'm thinking that if I was getting a good app, and willing to pay $16/mo, I wouldn't care what country my money was going to.
My experience is both yes and no. Some people are so incapable of connecting with other people that it's even worse than a normal person because you have to both drive everything and compensate for everything (which you may for some reason know more about.) When you do meet people functioning as well or better than you though, then yes, of course you quickly identify common ground and can bond on that. It doesn't mean you'll necessarily get along in the long run though.
I think mandatory blood donations might be closer to the argument you’re trying to make here
Are they willing to pay for it? Most people love free apps, but don't buy the paid versions, so the fact they like it does not mean they will be interested to pay.

This kind of stuff needs to be discussed upfront.
>I think we need a new WoW, and I think it’s going to have to come from FAANG level company. A fully dynamic cloud backed world running AI agents, GPT-3+ storylines, Unreal 5 graphic

I'm mildly worried about the societal implications of something like that. EverQuest was pretty addictive as it was. Hard to fathom what something even more immersive with essentially infinite content would be like.
Show HN: Medots – Cross-platform tool to deploy dot files
In reality, the United States is the largest exporter of calories in the world, and the overwhelming source of direct food aid, and has been since WWII.
Part I: https://news.ycombinator.com/item?id=31682361
Never fear. Copilot will hire a passel of lawyers not long after it's declared sentient (by some lawyers)
rust has one uphill battle in the mainstream adoption is that a lot of things make sense if you wrote bare metal code. If not then it can be very confusing.
People hate intelligence, but they respect power more. Money is a form of power.

So when the intelligent people get rich today, they are respected. But as kids, they are often bullied.

The opposition to gifted education has the same source. If the gifted kids come from a rich family, they can get all the tutors they need anyway. And if they come from a poor family, screw them.
> What's the alternative? Open rebellion against the state?

Yes. HTH!

To elaborate: At some stage, that becomes the only acceptable alternative; not doing so is morally culpable.

The world learned that in 1945, two ways:

1) "I was only following orders" was deemed not a valid excuse at the Nürnberg trials; not refusing orders like that is complicity; and

2) Germany as a whole was de-Nazified. Just like Russia needs to be now. (But more thoroughly: in Germany's case, it was an aberration of a dozen years; in Russia's, it's a millennium of unbroken history of totalitarianism.)

Too bad the world seems to have forgotten those lessons since then.
Ask HN: Does HN block iCloud private relay requests?
I can't seem to load HN when using Safari's iCloud private relay. The HTTP status code is 403

https://i.imgur.com/RfufQep.png

Or, perhaps, someone is abusing icloud private relay and HN has blocked that IP/CIDR and I am on that IP/CIDR

When I use Firefox/curl etc, I see HTTP 200 Ok response so I am quite certain it has something to do with IP
As I said, there's a limit to such land, and a limit to how much cattle that can be raised on that land.

There's a reason why cattle farming went from extensive to intensive methods.
This sounds all diplomatic and intellectual, but when a 16 year old gets a pregnancy from incest or rape, she’s totally screwed. I don’t think going towards the dark ages deserves this kind of “both sides” talk
As long as we get energy from non-renewable sources, that argument doesn't fly.
I hope this new battery (really a bunch of improvements on current battery construction) helps to advance the capabilities of batteries in general. But batteries don't have "range." This battery may improve the range of the cars it's installed in, or it may just make them smaller or cheaper. That's up to the designers of the car, its battery pack, and associated power electronics and motors.
Augmenting What3words for E911
I miss what it was like to play EQ around the Vellious expansion. I loved that game. I've tried playing one of the "classic" servers and while it is close to how I remember it I no longer found it fun, since I have changed.

I will always cherish the memories from it. Meeting my wife in the Paw dungeon. Taking her to the Temple of the Dragons and going all the way to the top. Camping the Plane of Hate for her epic weapon. Camping the stupid giant in the ocean island for my epic weapon. That one zone without oxygen on Luclin. Making tons of money teleporting people around the world.
This is very judgemental. Casper is saying that he literally cannot communicate with anyone in the world (but for a different reason), but wants to.

> The author just chooses not to talk to people.

The post says the opposite: "the difficulties I currently have in functioning."
Selling software is no longer the best path to success. Open source your software and offer alternative means to make money. If the software is really good, "they" will throw money at you through:

1. Paid support.

2. Software as a Service (OpenSaaS)

3. Open-core model.

4. GitHub sponsors.

5. Paid feature requests.

6. Get paid to build open source extensions for existing products.

https://cult.honeypot.io/reads/6-ways-you-make-money-as-an-o...

Check y-combinator for seed money.

https://www.ycombinator.com/deal/
I guess C++ has the best names after all, Rust should have emulated those (except it couldn't - string_view came after Rust and maybe even was inspired by Rust.)
Compilers are their own beast — I wouldn't put them with systems code. They're pretty different from an OS, BLAS, machine learning kernel, game engine, network stack, database or what have you. There's not as much buffer management, speed and memory aren't usually as critical, you don't make direct syscalls, many structures are graphs rather than arrays, etc. They often aren't even multithreaded.

It's also popular to write compilers in distinctly non-"systems-y" languages, most notably Standard ML but also eg Haskell, and lots of languages are self-hosted.
BTW the reasons that Ford gives in that article seem BS.

"The reason, a Ford spokesperson told Car and Driver, is the desire to keep EVs 'in the Ford network longer' to maintain control over battery recycling and materials. "

How is that not a concern for a car that is sold instead of leased? and what does "keeping the in the Ford" network mean? This is all about them getting more money for resale than for a lease buyout.
Yea, I see what you're saying but it's not a good example. I don't imagine there aren't many good examples because I agree with the article's premise that tech really can't solve political issues.

The existing resistance to fission based nuclear power is irrational. Fission is amazingly safe. If you add up all the deaths that have ever happened from nuclear mining, plant accidents, and fallout, you still have orders of magnitudes fewer deaths when compared deaths those from coal mining and plant accidents in the same period. And that's to say nothing of deaths related to pollution caused by coal.

I think the perfect proof that the resistance to nuclear is irrational is the drastic effect three mile island incident had on the public opinion of nuclear power. You had a nuclear meltdown (basically the worst thing that can happen at a nuclear plant) with with no deaths, no fallout, and and it basically turned the majority of the US public against nuclear power. Meanwhile in 1979, a 144 miners died coal mining.

Even for the worst nuclear accident that has ever happened (Chernobyl), estimates of the death toll including all fallout related deaths (cancers after the fact) are only for several hundred. But in the 1980s (when Chernobyl occurred), a hundred miners died every year in coal mining accidents.

So if people today are against nuclear because of safety concerns, even when by any conceivable metric it is safer than existing alternatives, why is everyone suddenly going to become rational about fusion? Won't the same irrational beliefs that turn people against fission turn them against fusion?
Only use Linkedin for resume discoverability. Couldn't care for all the circle jerking that goes on in there.
In the 80s, he used to go into bookstores and sign copies of his books on their shelves (with permission, the bigger stores put an "author signed" sticker on them). Not as an event, just as a treat for the next person to buy one of his books; when he happened to be in the store.

Always thought that was a particularly nice gesture.
That is a contradiction to my statement in what way? Do you think the United States is the only wealthy country? The fact is that the war in Ukraine is leading to shortages and those are felt by the poorest, not the richest.