skysight-inc/HackerNews huggingface dataset:
On New Year’s Eve at NYC, the streets are jam packed. There is barely any space to move. Everyone around you has their camera out, trying to take photos of the ball drop. The only thing you can see are flashes. Then you’d curse yourself for waiting for hours in the cold, only to see flashes.

On a normal day in NYC tourist areas, it is common for tourists (especially younger women) to take pictures every few feet. Initially you’d be polite and not walk into their frame, but this gets old super quick. You’re irritated, they’re irritated (because you didn’t pause for their dumb photo shoot)… ruins everyone’s day. All you wanted was to walk uninterrupted.

I used to live and work in upper east side. Took me a while to get used to it
This is like saying if someone can get close to your house with a hammer they can mount a hammer attack on your windows and bypass your homes security. lmao, what a load of bullshit.
“The prevailing opinions of my peers shows them idiots, while I walk enlightened but unheard”
—Oscar Wilde
In any version of the language it's better to decompose it so that you never implement any of these. You either have:

1. A class that's responsible for managing exactly one instance of a resource (e.g. FileDescriptor). This class defines whether or not a resource is copyable and/or movable.

2. A dynamically sized container that needs to offer certain kinds of guarantees.

3. A composite class that may contain zero or more instances of 1, 2, and/or 3.

The vast majority of classes you write are always going to be 3. Option 3 should NEVER specify move/copy constructors/assignment operators and instead should inherit that from whatever is being stored.

Don't do #2 unless you really know what you're doing. Prefer to use existing well-behaved containers from STL. If you need 3p ones, Folly and Boost are probably good ones. I don't know how ABSEIL fares around exception safety when exceptions are enabled so YMMV there if you're doing things in an exception context. It can be hard to properly make sure that you inherit the copyability / movability from the underlying type (& also noexcept inheritance).

For #1, KISS is a very good principle. Just make sure you always leave resources in a consistent state. Move helps here a lot but can be emulated with copy + swap pre-C++11. Here's an example of what a copyable and movable resource might look like:

// Terrible idea - don't actually do this in practice.
class AutoDupOnCopyFd {
public:
AutoDupOnCopyFd(const AutoDupOnCopyFd& copy): _fd(dup(copy._fd)) {
if (_fd == -1) { throw ... }
}
AutoDupOnCopyFd(AutoDupOnCopyFd&& owned) noexcept: _fd(std::exchange(copy._fd, -1)) {}
~AutoDupOnCopyFd() noexcept { close(_fd); }

AutoDupOnCopyFd& operator=(const AutoDupOnCopyFd& other) {
// No need to check for assignment to self but you can if you think you're likely to have this happen
// to avoid the syscall (copy to self is typically rare)
AutoDupOnCopyFd copy(other);
*this = *copy;
return *this;
}

AutoDupOnCopyFd& operator=(AutoDupOnCopyFd&& other) noexcept {
using std::swap;
swap(_fd, other._fd);
return *this;
}
private:
int _fd;
};

Now `AutoDupOnCopyFd` can be nested in any composite class & the composite class will automatically inherit the right set of copy / move semantics with correct exception safety. The rule of 0 really is a powerful concept. This breaks down if you start trying to make 1 class responsible for multiple resources. Don't do that. Use resource classes + containers/composite classes to do that.

You can also (ab)use unique_ptr for unique ownership although I still prefer explicitly named classes (no confusion with `->` vs `.`, easier to understand for the vast majority of coders).

It's a powerful concept to internalize to level up your C++ game but it's only applicable to C++'s ownership model. Rust went a more teachable path that doesn't have these foot guns.
>Or maybe I'm just not understanding that "theory" well enough

From what you've written, I think you are misinterpreting the standard theory, which is much more like 'your idea' (the second paragraph) than your conceptualization of it in the first paragraph, i.e. there was no moon-sized solid chunk removed. I don't think any scientists working on this think that.

Although there is some argument on the size of the impacting body (Theia), most/all the impact-origin theories hold that much of the planet was reduced to tiny liquid fragments and/or vaporized, including the material that became the Moon.

Here is a video of a simulation of the the 'standard' theory: https://www.youtube.com/watch?v=wfImQOZp3hE

Something that is important to keep in mind, but is non-intuitive, is that all of the Earth with the exception of the upper crust (say, the upper 10-30 km of the Earth, radius 6378 km) is hot enough to melt if it was not under the confining pressure of the weight above it. Remove material from above the lower crust or mantle, and it undergoes decompression melting. So even if the material that coalesced to become the moon was removed through gentle caresses, without producing heat due to friction, that material would melt, and so would the rock surrounding the area that it was removed from. So you don't need to place the collision happening in a context where the Earth was much hotter (which it probably was to some degree regardless). Add in the enormous friction caused by collision, and you are in a situation where much of the Earth and possibly Theia are reduced to tiny particles of liquid (lava) or gas (vaporized basically), though these would cool to basically volcanic glass very rapidly in space. Then the Moon and the Earth's mantle were reassembled from these tiny particles.

Caveat: I have a PhD in geology but my research is not in this area and I don't follow it closely.
Not entirely sure if this is what you're looking for, but there was a thread here yesterday with links to several CSS libraries that emulate various UIs, notably library to emulate the Sony PS1 and another for the NES.

[0] - https://news.ycombinator.com/item?id=32430061
The quote from the article specifically mentions the Google Cloud sales org:

> Employees who work in the Google Cloud sales department said that senior leadership told them that there will be an “overall examination of sales productivity and productivity in general.”
254 cm. Enough to completely cover any human, and a lot of single-story houses.
> Also all ticks drop off or just die.

Ok, now I'm definitely worried about your blood.
Advertisement time (not affiliated, just want to share the joy) :
I personally use Xmake and try to advertise it every time I get the chance : FOSS, no DSL it's just Lua, dead simple yet featureful, and it is ninja fast, or at least claims to be I never bothered to check that out, it's fast enough for me.

https://xmake.io/#/
> If your company requires you keep your calendar public

Find a different company. I have no idea how anyone could work in such circumstances. You're held responsible for getting your work done but others can schedule your time.
Just in time for mass distrust of vaccines!
I'm 98% sure whoever wrote this had no idea what they were talking about.
Except that it's not private. Anyone in the channel can read it. Anyone joining can read anything if they scroll far enough and has Slack premium.
If you had asked me a couple of years ago, I would have thought the same about Snapchat but about 2 years ago my teen daughter started using it. It is by far the most commonly used messaging service for her and her friends. She participates in a sport that leads her to traveling a good deal and meet teens from around the US. When she meets someone she wants to keep in touch with exchanging Snapchat info is how they do it.
Ah gotya. An important clarification indeed. Thanka for that!
It needs a map with all the options laid out on the map
After entering my zipcode, it correctly placed me in Harvard Massachusetts, but then showed me promoted listings for places in Harvard, Illinois.

I was wondering why I saw several listings I was not familiar with.
> Note: The network card supports all mobile phone cards in the B1 B3 band

Nothing supported in America as per https://en.wikipedia.org/wiki/UMTS_frequency_bands#Deploymen... and https://www.phonearena.com/news/Cheat-sheet-which-4G-LTE-ban...
The Grand List of YouTube Resources
Wise bans venezuelans, cubans

Constatly closes central americans account, perma holding with no support answers to colombians

Instant closes latin accounts of people who have emigrated to the US ilegally/refugees/asylum

Has no chile/peru outgoing transactions

Bolivia doesnt exist in wise

It seems like they are actually making an effort no serve latin america or kick out the latin america users.

So much for 'borderless accounts'

Aparently borderless for them means people living in SF sending money to people in NY
This is funny, because I just wrote a (fish) shell script that does this as well because all of the tex IDEs are so painful. Mostly because the entire efficiency of latex is that you're editing text and can do it in a text editor like emacs and move things around very quickly. I don't want a new interface!

But. I'm kind of proud. My shell script monitors the tex files for character changes and then once a (configurable) threshold of changes is met, it kicks off the compilation process. But the real game changer is that every time it compiles, if the compile is successful it commits the recent edits to a git branch. Then if I want, I can go through the git branch and see the entire history of edits for only versions of the document that compiled. It's a game changer in a big way. When I finish a section, I squash the minor edits into one commit and give it a good message and then commit the full thing to the main branch. Then there is where I can make sure my manuscripts look the way they should and do major revisions or collaborative edits.

The icing on the cake is that the fish script monitors for a special keypress and will take actions. So I hit "c" to compile the tex, "b" to rerun the massive bibliography compilations, "s" to squash the commits into the main branch, and "l" to display log errors. It's a dream! Now I don't think about compilation at all, or when I should commit something minor to git (and fiddle with the commands). I just type away and watch/request the pdf refresh when I need it... and _actually_ get work done. My god. So happy.

I just finished this today.
And follow all the other rules aroind commercial content creation, e.g. getting model consent before publishing. Something all pros do, and again a way where disruption is actually just another way to say that rules don't apply to you.

The trickey question is so where the threshold for "commercial" activities lies.
I aint is an old but still used negation of to have. So: "Got your ticket"? "I aint"! However this is heading into regional variance territory. Granny Weatherwax (Discworld witch) famously wore a sign saying: "I aten't dead" when off Borrowing.
Maybe try banning windows?
Making seats smaller means they can fit more on the same plane, which means lower ticket prices. If this weren't happening, then people who make good choices regarding diet and exercise would end up effectively subsidizing people who make bad choices.
I always prefer to use native > Desktop [qt] >>>> web apps.
Online privacy is at stake for years already. The cypherpunks have said it.
Is this true of all oils? I thought some (e.g. olive) are much better than others (cheap seed oils). I also thought risk increases with temperature, so unless you're smoking it on medium-high heat and consuming large amounts regularly it's probably not worth worrying about given that alternatives to cooking for yourself are mostly much worse.

Could be wrong.
How Samara Rewrote Their Biggest Mobile App from Scratch
Google voice won't allow me to send MMS/SMS that are political to a friend I've texted for years anymore. It was a picture making fun of alex jones. T-mobile also is censoring MMS.
It should be emphasized that this was an exec in the sales division, talking to cloud sales people. My experience has been that this sort of Glengarry Glen Ross macho talk is much more expected in that universe. By contrast, the Google devs I know say that there has been vague talk of belt-tightening and sharpening focus but no one has been making these kinds of dire threats.
Software maintenance is the most important aspect of software development. It's great to work on new stuff but at some point it has to interface to legacy code so know that code becomes a requirement.
I wouldn't call it malice. It's simply a rational decision. BART makes more money with the fee than without, so absent political pressure to discontinue it why would they?

Also, Clipper cards have been around many years. They aren't a recent addition to BART.
...I mean, all I have to go on is my own experience and what I've seen from the workers around me, but your claim doesn't line up with that data at all. For instance, my team just lost three (out of 8) of its most talented and most productive developers (including our lead developer) who quit over corporate policy changes, including WFH changes. Obviously, to reiterate, this is a small sample size and sampling bias, but... it certainly doesn't support your claim.

EDIT Sorry, I misread your comment. I fail to see how "only the productive people are quitting" supports "therefore, fire as many unproductive people as you can". Doesn't that just leave you with... zero people?
> actively quitting en masse

won't happen in a downturn/recession. Employers will have all the leverage.
People aren't quitting en masse.
Have a look at Pro Expense which can be downloaded from the F-Droid store.
How often does this really happen? Maybe once per 2000 rides? It appears there is a way to get your money back although it might be annoying and bureaucratic.

I think there are bigger issues we can focus on with BART. The should focus on fixing the signaling so we can get more trains through the Transbay tunnel. We should make BART more reliable and finish the San Jose extension on time and under budget.

I'm very supportive complaining about public transit and services in general, but making sure that BART provides excellent service for people who change their mind at the last moment, doesn't seem like the best use of their limited resources.
First challenge: exit vim
>Of course there are limits, as the idiot who tried working his way up from BBs to develop a bullet immunity learned the hard way.

shut up, i don't believe you. Actually??
The 'same station exits' section of that page is fascinating. The great thing is that most people will never need to worry about this, so they discourage fare evasion without inconveniencing honest passengers.

I wonder: if there were better enforcement of fares in San Francisco, would public transport be better? Right now, I almost never use public transport in SF because ~100% of my journeys would take 2x to 3x as long as they do by car. This is very sad for me, having previously lived in two cities with excellent public transport (London and Beijing).
Interesting:

> Airflow was started in October 2014 by Maxime Beauchemin at Airbnb. It was open source from the very first commit and officially brought under the Airbnb GitHub and announced in June 2015.

I believe I starting building my tool somewhere around 2010, possibly 2011. The core mechanism has been completely unchanged in that time. If Airflow was a thing at the time, I'd have hopefully looked into it. I looked at a handful of similar products and didn't find anything that was a good fit.

Based on a really quick skim of the Airflow docs it seems like it checks all of the boxes. Off the top of my head:

* LocalExecutor (with some degree of parallelism, assuming the dependencies are all declared properly) seems to do exactly what I want.

* I could write an Operator to handle the interaction with the system where the processes actually run. The existing Python script that does this interaction can probably get me 90% of the way there. Due to the nature of what I'm running, any job scheduler will have to tell the target system to do a thing then poll it to wait for the thing to be done. To do this without any custom code, I could just use BashOperator to call my existing script.

* It's written in Python, so the barrier to entry (for me) is fairly low.

* Converting the existing Makefile to an Airflow DAG is likely something that can be done automatically. We deliberately keep the Makefile very consistent, so a conversion program can take advantage of that.

I think my dream of replacing this might have new life!
a friendly reminder that "NOPASSWD:" can be a fine thing in some circumstances, but is very very bad news in `NOPASSWD: ALL`
Where I work only the availability is public, the actual meetings aren't. It's pretty common to block out time for "Focus" and similar (I saw it a lot when folks have their calendar open, in the old office days or when sharing the screen) and, as far as I can tell, very well accepted.

Possible that people would schedule meetings over "Focus" time, but since they can't see calendar details, they don't. If they did, I'd push back. (It's easy to see: "This thing is due on Monday, and that's the time I have to work on it. If you don't like that, take it up to my manager." But I don't remember it being an issue.)

I'm not sure if my boss can see my meetings, I never really wondered too much, but if he can he seems to be respecting intervals I block out with a "Focus" meeting very well, so no issue.

Your thing seems like lying to me...
Your claim supports your parent's claim -- that the productive employees are the ones quitting, and the unproductive ones are those who are not quitting.
the denominator is afraid
>The Sopranos and Homeland were (sort of) about remote work

Did I miss a major plot point of these shows?

> We often lose sight of the whole point, the whole shooting match of the economy — it exists to provide people with the security to form and strengthen relationships.

I've never heard anyone claim before that this is the point of the economy.

> If you’re an employer, the office is your primary tool for facilitating culture. Holiday parties and post-work drinks aren’t sunk costs — they’re investments in happiness, innovation, and relationships

I think in my career I've been to about two party/work events that weren't incredibly cringey and didn't make me want to find a way to leave as quickly as possible

For Galloway fans... what's the appeal here? I'm genuinely curious as I've tried to listen to his podcast with Swisher who I do like and found it incredibly dull and riddled with inconsistencies and his writing and tweets do not appear any better but he seems to have a cult following.
Solar fields altered second movements
Not me. Lots missing and multiple that are long gone.
Gate up = open, gate down = closed. It’s echoing a medieval portcullis.
>Scalpers buy up GPUs. There is less supply. That creates a problem.

Those GPUs are then sold immediately to real users. Scalpers do not increase demand.

Scalpers provide a service. They have automation or a way to buy stock fast at MSRP or closer to MSRP. Then they sell it to people who are willing to pay more in order to have the product now or avoid spending time to search for stock.

Scalpers cannot exist unless demand is greater than supply.
We've been using carbon steel pan. Its like cast iron but much lighter (not light though). They look kinda narly, but you get used to it.

You "season" from time to time (oil high heat) but we haven't in at least 6 months and use that thing at least 6 times a week. Easy to clean too.

This article kinda give the details. (you have to dodge a modal and click "read more"...sorry)

https://www.cooksillustrated.com/equipment_reviews/1623-12-i...
> English is not universal

I think only because Excel is not, at its core, a programming tool.

For programming languages, English is universal. You are pretty much forced to learn English in order to take your first programming steps, and -- as a non-native speaker -- I find this is a good thing. This way, we have a lingua franca of programming.

It's not because of a particular love of English. It is what it is. I would have welcomed French or Italian or whatever had it been the lingua franca instead. I would probably NOT have welcomed Japanese or Chinese written with ideograms because those writing systems are completely extraneous and hard to match for my Western brain, but anything else is fair game.

A "Tower of Babel" situation would be the worst.
I'm not actually taking this tone here, this is kind of a play argument:

---

You're hogging the space! Why do you get to be there? Content producers are allowed to have whatever vibe they want. If you want to have a private space, why don't you pay the owner to close it off? Then you can have what you want, and the owner won't need to reach out to a content producer to market their space!

YOU'RE the reason the content producer is going there. Because you spend your money at the gift shop. You're not working there, you're just consuming. Consuming the view; consuming the silence; consuming the clean air. At least the content producer is working!

Who is selfish?

---

You cannot visit a place without changing that place. The unspoiled place is spoiled by the very fact of you being there. You and the content producer are equals. The only person with the high ground here is someone who lives there (who, themselves have a range of positions on this argument; many want more visitors!), or someone who never visits.

The point I'm trying to make is entirely separate from how you feel personally about "content producers." I get that some people personally don't like the content. I, personally, hate it -- I don't even have instagram or TikTok. But then again, I don't like fan fiction, or MMA, or Burning Man. It doesn't really matter what I like, does it?
I'm Christian, so I'm unfortunately also familiar with the feeling of horror and shame when someone does something awful in the name of God. Bad feeling when someone from a group you belong to does harm and claims that you endorse it. I guess we can only pray for everyone involved.

I hope Mr. Rushdie makes a full recovery! He is a very brave man.
Your interpretation of my comment is so far from my intent that I must conclude that I have failed to communicate effectively.
Thanks for pointing that out - It was there by mistake - It has been removed.

Those stores are basically you never found but exists in your zipcode :) You have location label on each store, you can go and visit or call them to verify, if they are available in your area :)
A relative of mine also made a career in the petro-chemical industry. He never denied climate change but the idea of environmental protection is completely alien to him
It is currently happening shrug
I do have to agree with the parent that a paid influencer is basically a professional marketer. And that, paid or not, an influencer without followers is neither an influencer nor a problem. As with everything consumerism, us consumers cannot ignore that, collectively, we are driving a lot of that development. With the more than generous and friendly help of Social Media companies of course.
Tornado Cash Co-Founder Says the Mixer Protocol Is Unstoppable [Jan 25, 2022]
Yep, I misread; my bad. I edited my reply.
What I miss from Panama, is that it is still early steps, even with jextract it is a bit more involved than using P/Invoke.
A law professor who consulted around the world on transactional banking law with litigants and even courts recounted a sardonic bit of legal advice from India: Always pick a lawyer with a son. (Because the case will outlive the first lawyer, and better that it's passed on to someone with familiarity.)
Out of millions, we have covered 85% of it, Soon you will see them all :)

Thanks