skysight-inc/HackerNews huggingface dataset:
You’ve referred to two kinds of move there — memmove (overlapping) vs memcpy (non-overlapping memory) and transfers of ownership. In C++ a move appears to always require moving memory with either (depending on aliasing) or via registers. Is that correct?

In Rust, the only thing that has to happen is a transfer of ownership, which does not always mean moving bytes. This greatly simplifies the whole “rvalue reference parameter” thing, because ownership abstracts over wherever you might want to move to. So if your new owner wants it in part of its new stack frame, the compiler is free to just put it there before calling or simply call a destructor on the parent stack frame’s memory in the child. (I don’t know exactly what it likes to do, but it’s all fine.) New owners like Box need to move memory, and that’s cool too, and the compiler is free to reorder the steps to avoid initialising and moving when “placement new” is better. This is also something I believe the compiler is getting better at slowly. The compiler won’t let you safely write moves out of a vector without mutating or taking ownership of the vector, each with moving bytes — otherwise it has access to something it no longer owns.

The easiest example is `let a = A::new(); let b = a;`, which only needs stack space for one A, and for which line 2 is a noop. Its only effect is in when drop is called, if b is in a smaller scope. Does C++ do this too? I would hope so, but it looks like no.

Edit: turns out neither do it.

- https://rust.godbolt.org/z/xjA9v4
- https://godbolt.org/z/7Wh_AZ
Sounds like they are open to social engineering attacks, if you can get a rep to describe the password to you... Meaning I could pretend to be you and get your money.
I really hope there is some law against companies actively spying on people, as it sounds like happened in the article, but I struggle to think of where this falls legally.

The thought that companies could start to take an active, vengeful take is very frightening. Especially if they work together and share private information. I'm not sure that's really illegal either?

Would you be able to get a restraining order against a company? How would you prove it was them anyway?

This really turns my stomach like an Orwellian novel. It feels like it could easily happen to anyone.
Useful tips which I overall agree with. Having worked remotely more frequently lately, I've had to quickly figure out some of these things (like blocking out time/schedule for myself, separately from the rest of the team, for example).
> Remember, the key is to assign your blocks and sticking to them. It’s also important that you let your teammates know what your blocks look like, so that they’d know not to expect you to take calls early your morning.

I'm not sure what world makes something like this possible, but every client I've had in the past (I contract to businesses) needs flexibility. If I were this rigid then there's no way it would be possible to meet their needs. Not necessarily specifically with early morning, but just throughout the day.
Google GSuite is about $15 per user per month for Enterprise, and most users only really use Gmail, Calendar, and maybe Drive. That's more than $50 a year for a calendar.

So... lots of people!
Chaleff's Typology of Followers
I’m glad to see a case made against anticompetitive lobbying. But I’m disappointed in the use of the GDPR as a straw man.

There are many reasons that could explain why ad network market concentration increased after the GDPR took effect, and not all of them are bad. For example, if some significant percentage of companies depended on exploitative behavior outlawed by the law, we should expect to see concentration increase as those companies leave the market. That’s not a negative side effect; it’s the law working as intended.
We changed the URL from https://www.scottaaronson.com/blog/?p=4616, which points to this.
It’s actually a shame that there is no `mov rip, ...` instruction. That would make it truly Turing-complete. ARM has this instruction! (Of course, jmp [...] works just as well, but it isn’t called mov)
Would it be so hard to say “when I press command-v, send a paste event to the focused window containing my clipboard contents”? Sure some programs would want to customize keybindings, so unrestricted access could be allowed on a per-app basis, but why should any app I install have access to all of my copy events ever?

Similarly for private files: MacOS already alerts you when something tries to read from “~/Desktop” for the first time, why not allow users to extend that to “~/.ssh” and “~/.gpg” too?
There should be only one regulation for fb, display following warning on all pages/screens:
Statutory Warning: This product is specifically designed to cause behavioral addiction so you are guided down a slippery slope of over consumption & that is how this company makes money.
Overuse of this product is known to cause - anxiety, depression, low self esteem, constant craving for attention, short attention spans, inability to concentrate on tasks, inhibited social development in the real world & possibly general "unhappiness", especially among the young & impressionable.
We need to handle the root cause. In case of US companies it has to do with anything the patriot act brought — something which should have been a temporary "boost" turned out to become the new status quo. Nobody will voluntarily cut these new powers of your services and it breeds a climate of anticipatory obedience within US companies that will be hard to get rid of even if the patriot act isn't extended again.

This problem can only be solved by electing fundamentally different actors into office.
Oblivious, while also utterly disregarding your own self interests. Reminds me of real life, have an upvote!
> can you use the common languages - and if not, why?

Good question. I do not know the answer to that. But I think there must be some answer since there are all these different configuration languages, Ant, Gradle etc. They must have been created for a reason.
While true it is harder for companies to manipulate those 2 measures.

E.g. could Facebook run with 20 staff? Would Facebook and its shareholders be satisfied with 20m in annual revenue.

This scenario requires trade offs.
My opinion is that monopoly, political and market dominance is a sub-optimal outcome
Yup. The fundamental problem are the evil apps that steal your keys and add ads to the text you copy. You can't take away the means for them to do it without neutering the entite system itself (an experiment in doing just that is happening on the web and in mobile space right now).
> What is the marketing and hype that tesla is doing? they don't have paid ads.

That is exactly my point, yet their announcements always make it to the tech press, because they are the darling of the tech world.

> Meanwhile, every other legacy car company pays millions a year in paid ads

When was the last time you saw an ad for a Mercedes S-class, Audi A8 or BMW 7-series?

I'm betting never, because those companies don't really advertise their most advanced cars to a mass market. And when they advertise them, they highlight the luxury and sophistication, and shut up about all the tech. So people generally don't know about all the stuff they have, and those cars are loaded.

> Sure, there are some cars with a few things.

I don't think you know what the state of the art is among the other car companies. Mercedes launched automatic lane changes before Tesla did, for example. Audi had stop&go cruise control before Tesla even launched Model S. BMW has had night vision pedestrian detection for years, Teslas don't have that. You can't even get a HUD on any Tesla, yet pretty much every other car brand offers that as an option on some of their models.

> No electric car until this year

That's a bit unfair considering the other car makers haven't really put out any electric cars with the same looks and features as their existing gas cars before now.

> 6 years ahead, some specifics:

1) Yeah, I already read the article that this post was about, not just the HN comments.

2) There are zero specifics in that article, it talks about a single thing, and that is that the core processing unit of Teslas are way ahead of the competition. Cool, but not exactly informative or specific.
I might start to be grateful for the screen reading software - these tricks fortunately don't work when you use NVDA or Orca, because they have its own virtual buffer and they intercept the copy command soon enough that the browser has no idea about it.
Maybe but that is their problem. Its still the bank responsibility to deal with that.
Try a longpress on the back button and there you should see the hn=>techcrunch=>guce.advertising=>techcrunch redirect chain.
Hitting back will go back to guce which immediately forwards you to techcrunch again. Select hn instead
That's easy to fix, just apply the rules only to companies having more than a hundred shareholders, and count shareholders of the parent for any subsidiary. Then you can't restructure Facebook to have less than a hundred shareholders because the number of shareholders is independent of the internal corporate structure.
PrisonPlanet is working hard to spread this meme. He has 1.1 million followers on Twitter.
You forgot to mention that besides royalties, the main reason HDMI is used in consumers electronics is that it also streams audio with CEC as apposed to Display Port that only does video.

For most consumers, plugging in just one cable that does everything is a lot more convenient.

Edit: sorry, didn't know DP can also stream audio, my bad
I agree that the parts are needed and the complexity essential. What I mean is that we need higher-order primitives that abstract away and shield us from the conplexity. Just like we don't need to spend time crafting TCP packets by hand, I don't think we should have to mess with transport protocols, writing RPC calls by hand, juggling yaml files to stand up Kubernetes clusters, and so on.

I've been working on building something like this for a year now [1] and it's certainly quite different from how we do backend development normally,but that's also the point :). The tricky part is to find abstractions that are general and non-leaky so they can be leveraged to build a wide variety of software. Feedback appreciated!

[1] https://encore.dev
How to run a startup for free ($6/yr)?
Use this stack.

1. DynamoDB for database
2. AWS Lambda for backend
3. Netlify / Now / Surge for frontend
4. S3 for file/image hosting
5. Cloudinary for image hosting
6. IFTTT to webhook for cron
7. RedisLabs for queues, cache
8. Figma for designing and prototyping
9. Porkbun for $6 .com domains
10. Cloudflare for DNS

This setup is enough to handle ~1M/requests month, more or less, depending on the application.

If you are getting more traffic than that, your startup will be making money so you won’t mind upgrading. :)
Its better to live at the end of times. Gives your life significance. Makes everything you do, your possible last one.
Is a symptom of how mundane, boring and deeply hated the western life style actually is by those living in it.
To paint a picture with the knife: "Im isolated, but at least we all die together."

One scenario usually not even considered by the xeno-phobic, could cgove use this against its own aging "lost" generation?

They are prone to riots - and there is no social net except for family (which fails due to western cultural influence).

So a virus to carry them out in large numbers, would make sense if your where a sociopathic government, focused maniacally on stability and at the end of the rope when it comes to winging it with nationalism.
I just tried it. Unfortunately it does not seem to work with my use case where I use youtube to play music in a background tab while working on other things. I want it to block me from actively watching videos but playback in the background is fine in my case.
The problem is that there are too many influential people financially invested in Facebook and other monopolies. It creates perverse incentives for governments and other companies.

People these days are using the stock market as a giant collaborative money laundering machine; all small businesses exist only to take bank loans which go straight to paying these big corporations for whatever useless services they provide. The small businesses then go bankrupt and new ones spawn up in their place with fresh new loans for the corporations to feed on. That's what our fiat financial system is all about; the big mega corps feed on the bankrupted corpses of small business and let the rest of society foot the bill through inflation. The main sport for the elites is to move around this inflation to parts of the economy that are not being monitored so that it doesn't show up in the CPI.
I don't think orgzly will handle some of the custom org packages the author is talking about so unless you can get really good at org searches it'll be a mess on the phone. For example every file will blitz the sidebar.
The author said teammates not clients.

Asking your team to respect the fact you block out some time every day to focus is good, and most teams will respect that especially if you also respect times they want to avoid distractions.

Clients can be managed too, but sometimes their needs are more important. I've always found my clients are happy for me to tell them I'm busy unless it's a critical issue.
Actually it specifically says that this is not knowable and may never be:

“Although genomic evidence does not support the idea that SARS-CoV-2 is a laboratory construct, it is currently impossible to prove or disprove the other theories of its origin described here, and it is unclear whether future data will help resolve this issue.”
Tell HN: How to run a startup for $6 a year
Use this stack.

1. DynamoDB for database

2. AWS Lambda for backend

3. Netlify / Now / Surge for frontend

4. S3 for file/image hosting

5. Cloudinary for image hosting

6. IFTTT to webhook for cron

7. RedisLabs for queues, cache

8. Figma for designing and prototyping

9. Porkbun for $6 .com domains

10. Cloudflare for DNS

This setup is enough to handle ~1M/requests month, more or less, depending on the application.

If you are getting more traffic than that, your startup will be making money so you won’t mind upgrading. :)
Who Programmed Bloomberg Terminal?
I wanna know the name of person who coded it. So far nothing in Google about it. Was it Bloomberg himself?
Even if you have the money to push the civil suit. There might not be money to recover!

By definition the people you could rightfully sue are misusing the money and likely living it large with it.
I’ve been working remotely more on than off over the last two years, full time since last summer. The two things I recommend are buying a Fitbit and making sure you’re active enough throughout the day, and going to a cafe for breakfast or lunch alongside meeting a friend/going to a meet-up two or three times a week.

It’s surprisingly easy to end up spending days indoors and destroying any sort of work/life balance. I know this has happened to myself and numerous team mates across the three companies I’ve worked remotely at. Keep an active eye on it!
Looks like it’s PNC. Everyone here, move your money now.
There's a tension here, though. Having access to things like this is the whole point of having JS in the first place. The web is just full of assholes, so you experience the abuse as often - or even more often - than the proper use of JS.

Not sure how to approach it. JS whitelist is a stopgap solution, but not a particularly convenient one, and it doesn't always work.
GDPR "hurt" tech companies, but hurt the big ones less than the small ones.

The big tech companies have increased market dominance so it seems like spirit of the law was actually to crush competition so that there fewer players for the EU to regulate
For someone who knows nothing about Steam, can you say more about what the hardware survey means? If it doesn't indicate resolutions in actual use, what does it indicate?
Wallace trees if you want performance
That's about run of the mill for them (assuming we're thinking of the same bank). I called about my mortgage and they started reading off someone else's information. They also wanted me to confirm personal information over email...
In defence of online freelancers (SME10X)
Yep. It's a very common phenomenon called Regulatory Capture.
I agree! But isn't that the beauty in abstractions? If you are using an unmaintained file system with a CVE, the beauty of the POSIX interface means you can just migrate to another file systems and basically all applications would just continue working. I'm not advocating for having nobody at the wheel to notice and address security vulnerabilities, just that those concerns should be isolated from the application code to a much greater extent than they are today.
Habit of sleeping early is Pristine
> A conspiracy theorist is someone who brings up possibilities that are extremely unlikely to be true. That would fit your senator to a tee. He’s not backing any of this up with actual evidence, he’s just bringing up scary possibilities. We don’t need that kind of fearful reaction in a public health crisis.

What do you mean by “we don’t need...”? Why do we not need it? The truth matters, and if it did have origins in a lab (accidental or not, engineered or not), then bringing those responsible to justice matters. Thousands will have died by the time this is over.

Furthermore, such speculation doesn’t meaningfully change the management of the public health crisis. I feel like the fear of misinformation is more overblown than speculation about the origins of the virus.
Norvig is so another level maybe because of being so literate. I came across a Kakuro (Soduku * crossword) puzzle in a newsprint puzzle booklet, and failing to solve it with a pencil, attempted it in JavaScript.

I am now >10x at solving Kakuro puzzles with access to a command line and the repo (~100ms/10x10).
By "low budget" i read"cheaper than Digital Ocean". I'm not sure how many of them let you specify firewall rules outside of/"in front of" your vm.
One weak argument:

Finance is between 20 and 50 years behind the curve in terms of fundamental/top-down security common sense, notwithstanding the handful of specific exceptions strictly necessary to ensure accounts are not actually made off with on a regular basis.

There are likely a good handful of hair-raising security issues (known and unknown) impacting your account(s) right now, that would cause you to scream and run were to learn of any single one of them (let alone the full list).

In this light, cargo-culting specifically [only] avoiding environments that store passwords in plain text feels like premature optimization.

With the above being said, I do agree with the sentiment raised elsewhere of contacting annoying persistent organizations that will follow up - apparently in this case that's investigative journalists and the OCC.

Just don't forget the bigger picture.
Ask HN: How to articulate myself better when writing and speaking?
Hi. I can't articulate myself better when speaking or writing anything. How can i improve myself?
'Ghost ship' washes up on Irish coast
Sounds a bit like the Silicon Valley version of McKinsey.
Good idea, though I'd add another metric: market reach, in terms of, for the case of social media, users.

This might have other metrics though -- sources / sellers, for a market or middleman entity, some weighted metric of business customers for b2b suppliers (such that an F-10 company weighs more than an F-10000 company). For physical management (say, commodities), total tonage moved. Et cetera.
Spoiler alert.

No one in a position to care understands why this matters.

Nothing gets done.

Major vulnerability occurs.

Customers get screwed.

Some low on the totem pole techie gets blamed and loses their job.

Executives get bonuses.

Film at 11.
Ask HN: Career in Cybersecurity Industry
Hi everyone. I think this is the first time for me to post a question in hacker news. Currently, I am an ICT infrastructure engineer for like 6 years. I feel that my knowledge is too general. I think it is time to develp my specialty. I am still interested in the IT industry. But there are too many areas of IT. I am considering about the cybersecurity and data science. But I am not sure how the career path and real job of cybersecurity and data science. Anyone can share your thoughts? Thanks!
If you think 4K 60Hz is a PITA, try getting 8k working in Linux. It's a super PITA.

Then try relocating the computer 50 ft away to put it in another room for noise reasons. Super super PITA.

But: it's possible.
We’re very close to not being
able to trust video, I don’t think many people outside of tech realize how close we are.

Imagine someone adding your face to a video of a crime.
r/programmingcirclejerk would have a field day with it, that's for certain.
HTTP: //Wintersupplement.com/Evianne-Cream/
Evianne Cream
By referencing the word safe doesn't mean they are perilous to life however they can make certain responses or sensitivities the skin. Along these lines, one must purchase any item that is intended for the application on skin cautiously. Today we present to you a protected and successful item that is known to determine all the above said issues in reference to skin. We present to you EVIANNE CREAM UK. this is a saturating and hostile to maturing cream that is found to particularly successful on utilization of female skins. This cream has increased an extraordinary prominence among ladies searching for specific answers for their dry and matured skin. On application on skin, it keeps it hydrated and sustains it well and lessens the pigmentations and certain maturing spots and improves it as well. It acquired use by the commitment of numerous dermatologist who have a cooperative attitude in field of dermatology. It isn't intended for maturing reason yet additionally it very well may be routinely utilized as a candidate on the skin for profound saturating as well. This cream has acquired satisfaction numerous ladies life and it won't let you down as well, it will bring back the appeal all over and keep up a brilliant look that show monitors your excellence.
That will give you 20 0 14 on the stack (top to the right). After 20 ENTER 8 ENTER you have 20 8 8 on the stack (and the stack lifter disabled). - gets you 20 0; 7 ENTER gets you 20 0 7 7 (and the stack lifter disabled again); + gets you 20 0 14. If you want to compute 20 - 8 + 7, type 20 ENTER 8 - 7 + . As another comment points out, you only use ENTER to separate two numbers. Other ENTER:s are not optional, they are usually downright wrong, unless duplicating the number at the top of the stack is what you want. (Edit: as I am mentioning the stack lifter, I should probably say "bottom" rather than "top". The HP calculator stack was usually visualized as being above the display, with operations taking place at the display, i.e. at the bottom of the stack.)
You’re right, you’ll probably get your money back if your password gets stolen.

Eventually. Might be real disruptive if you’re in the middle of buying a house.

I’d probably choose my bank to minimize my chances of dealing with a giant bureaucracy for however long (and the non–zero possibility that I actually won’t get my money back). But if that’s not “damage” to you, feel free to keep doing business with them!
There is a much better way to deal with Facebook. Stop letting them buy their competitors.