skysight-inc/HackerNews huggingface dataset:
I just call the character a pipe, It's actually a "bitwise or". i think the reasoning is that it looks at each item in the two sets being compared and returns it if it is in either or both of the sets. Which functionally is the same thing as creating a union.

I usually avoid using bitwise operators because they get confusing, and the kind of stuff my team does rarely needs them. In this case I would have used union.

edit:
here are some of the docs

Bitwise operators:
https://wiki.python.org/moin/BitwiseOperators

and how they work with sets:
https://docs.python.org/3.10/tutorial/datastructures.html#se...

Plus the set docs have the methods with their corresponding operator:
https://docs.python.org/3.10/library/stdtypes.html#set

I can see how it would be nice and concise, but I think the methods are easier to understand.
I appreciated the check on the unnecessary condescension
I think it's useful to distinguish between what a President says, and what he uses his executive powers to do. As far as what he did, I think the most impactful was probably drastically reducing press briefings in which the free press can directly challenge the administration.

https://pressgazette.co.uk/trump-vs-media-freedom-of-press-d...
> Does China even have Oligarchs?

Yes, a lot: https://www.scmp.com/week-asia/asia-buzz/article/2140667/its...
Why do commercial airliners in Russia prefer Boeing/Airbus over domestic models? Are the Western planes cheaper to operate?
Ripping a page from Hong Kong's "national security" law under the PRC, which resulted in Apple Daily publisher Jimmy Lai being sentenced to prison (https://www.bbc.com/news/world-asia-56770567). The law even goes after people not living in Hong Kong:

The wording of the Hong Kong national security law asserts jurisdiction over people who are not residents of Hong Kong and have never even set foot there. This means anyone on Earth, regardless of nationality or location, can technically be deemed to have violated this law and face arrest and prosecution if they are in a Chinese jurisdiction, even for transit.

https://www.amnesty.org/en/latest/news/2020/07/hong-kong-nat...
Besides data caps on residential broadband, a non-trivial number of clients will be on mobile and have effectively zero ability to reseed content. To enable streaming from mobile devices requires a lot of server infrastructure to support hole poking and reflection.

Even with residential broadband without worries of data caps, there's still issues of firewalls and terrible upload speeds. Hole poking in residential firewalls like on mobile requires third party infrastructure. Most end users are not readily able to forward ports on their home routers. It's also not uncommon to see 10:1 downstream to upstream ratios. There's plenty of connections that couldn't manage to reliably upload a single FHD stream to a single client. It would take a hundred seeders with Comcastic upload speeds of 10Mbps to equal a single cheap VPS on a 1Gbps connection.
Yeah, the author is definitely racially problematic: all her references to Indian/Asian students claim their success is due to merit, hard work and the like (“diligence and ambition”) whereas Hispanic and Black students aren’t suited for “rigorous training in Maths and Science” and are doomed to be dropouts.

One only need look at the source publication (a magazine of stories deemed “unheard” by a British oligarch). Skimming Wikipedia, this bit made me laugh: “a magazine publishing people who are generally unheard because people edge away from them at parties." Exactly the case here, except the author felt her oh so privileged voice was silenced because she wasn’t heard at a school boarding meeting…2800 miles away from where she lives. Also, if 70% of the school shares characteristics with you, maybe introducing some diversity isn’t the worst thing in the world.

Anecdotally, as a former internship director, I’ve taught many of the students from high schools named in these articles. Ultimately, every student is unique and needs to be considered on a case by case basis. But many of the students who struggle are those with helicopter parents like the author. Through early hard work and ambition they have book smarts or can study, but have never encountered any real setbacks and expect everything to just go their way, which obviously doesn’t happen in the real world. It’s those students who have to struggle, the one the author otherizes in her article and doesn’t want to see in the same school as her kids, that go the farthest.
I recommended talk therapy to the person who was worried that their (perceived) lack of social skills would make them appear combative / argumentative, as a way to get tutored/coached in those social skills, in a safe setting. I do not recommend telling a combative coworker "have you tried therapy?".
First thing I did was typing up my French originating surname; big agglomerate right around Paris, then Normandy (where my ancestors came from).
> Was Elizabeth Holmes brilliant for defrauding Silicon Valley for over a decade with Theranos? By your standards, yes.

It's not just my standards. I could be wrong here, but I think most people would find her brilliant. That's part of why her fraudulent behavior was so successful.

Not sure you meant to, but you've dodged my main question. Why should I factor in his antisemitism (alleged or not) when considering his brilliance?

You originally said Solzhenitsyn was antisemitic, now you are claiming he wrote an exaggerated account of Communist Russia. Either or both of those claims may be true. I don't know the veracity of either and I'm not arguing those. I'm asking *why I should disregard his purported brilliance altogether even if those claims are true*?

Washington owned slaves. Edison likely exploited his workers for his own gain. Martin Luther was an antisemite. Nelson Mandela had ties to terrorists. Joan of Arc was a heretic. Theodora was effectively a prostitute at one point. These men and women all did and said things we would not approve of, and yet there are qualities they held and actions they took which we celebrate to this day. I don't see how some corrupt part of their character gives cause to dismiss them entirely.
Which country do we have to sanction to cut down on all the left-wing trolling and astroturfing on reddit?
All true, and I would add to #5 is the only reason I'm not a millionaire is that I haven't found the right product/market fit, nor a market of a size that would support a business where I would be a millionaire. It's more than just finding the right salesperson, it's also finding the right market and the right product for the salesperson (and the marketer and the developer) to succeed in.
Grischuk is a special personality who most of any chess enthusiast will know. This is like banning a Michael Jordan style personality - charismatic, charming, and a world class player on top. And he does this all in his own sort of unique deadpan style package. His demeanor and comments from the video in this thread are **EXTREMELY** out of character for him, emphasizing how much this is all clearly personally affecting him.

This is an absolutely stupid decision, and an injustice.

Two wrong don't make a right and two million wrongs most certainly don't.
There are many factors that make it so the new generations are more connected and emphasize better. EU membership makes it possible for students to study in different places and learn more, from my experience younger generations are less racist/xenophobic/nationalistic. It will take time to fix the issue but it things improve and with less Russian propaganda and dirty money in our politics it will improve even faster.
I don’t believe factories here in Germany run 24/7, to be honest. But anyway: wind energy is quite cheap at night.
I've been a manager. Managers burn out all the time. They're just not allowed to show it. They get some degree of exemption from the petty humiliations (time tracking, on-call duty) and they do have human shields to throw in front of a bus or few... but as a middle manager, you're even closer to the truly horrible people up top, and your daily life is consumed by the issues faced by your unluckiest subordinate (sometimes he deserves it, sometimes he doesn't). You don't spend time with your underlings when the work is going well; you're constantly being pulled to deal with the crises and the sad cases.

Every company has an invisible line, like the officer/enlisted distinction in militaries, but always undocumented for obvious reasons. Above it are the real humans whom the company cares about; below it are the "resources". ICs are always below the line, except in R&D jobs that aren't available without a top-10 PhD... but most managers are also below the line.

Above the line, you basically write your own performance review because the bosses are your buddies. Below the line, it's miserable, and as you said you're one delay or mistake away from being sent to the Performance Improvement Camps. Almost all first-level managers in a company of significant size (25+ people) are below the line and spend just as much time on humiliating work justification (e.g., status reports) as the guys at the bottom.
Structured Concurrency (2016)
It's interesting to try to model the type of moral philosophy you have that would cause you to write "Punishing civilians for the actions of its government is absolutely insane and will backfire badly."

I'm guessing the word "complicit" is not in your moral vocabulary. Or for some reason you don't feel it applies to doing business and helping to enrich a society that is murdering their neighboors.

Apparently refusing to be complicit with Russian aggression is "punishment".

Let's just same I'm less than impressed with this moral argument.
Each country has its own group of allies. The more powerful the allies of your target country are, the higher the cost you pay when you invade it.
I had the same issue post 9/11 for a few years. I was unable to check-in to flights or receive boarding passes. I had to get a "gate pass" from a baggage agent to go through security and then check-in with the gate agent to be assigned a boarding ticket. This also applied on every connection and they required identification and occasionally additional questions each time.
I gave up on the documentation and have been reading "Build Websites with Hugo" by Brain P Hogan.
It's a step by step guide to a build website, and I find Hugo more approachable and understandable than React Static and Gatsby.
My cynical take: Well, "when the Ukraine government called for hackers to defend against Russia" you thought you wouldn't be inviting others with different persuasions to pile in on the chaos? The fog of war is a real thing.

Previous related thread from a week ago: https://news.ycombinator.com/item?id=30462219
Solar + wind & thousands of startups are working on it.
I agree whole heartedly. Until we figure it out, treating it as legal abuse and punishing the parents is the way to go.
For #4, it doesn't even need to be the same ticket. Having a ticket queue without end and that being all you do is enough too.
> Sci-Hub's existence is an international security risk. Even if you believe that China and USA are rational actors who won't use cutting edge sci/tech for malicious ends (a reasonable supposition), the unadulterated democratization of leading edge research presents increasingly asymmetric applicational risk by rogue non-govt actors.

What are you talking about? Sci-Hub provides free access to research that is already published in journals. If some government wants to get access to a paper and sci-hub didn't exist, they can just pay for it or go to a well-funded university library that subscribes in bulk. Sci-Hub isn't like the WikiLeaks of science. They aren't publishing confidential or private research.
No precedent is being set here. Sanctions aren't new, and their purpose is to put pressure on the citizens to change their government. It's already been done to the US before as well. Eg. The Gulf states raised US oil prices to protest America supporting Israel, and Canada recently targetted products from key states for tarrifs in response to Trump's. Russian misinformation bots are the same thing, punishing the citizens to make the government more compliant.

America is a democracy, so influencing the citizens is effective. Cooler heads still need to prevail - you can't use all your non-war tools, or you'll only be left with going to war
No offence, but it would probably be a good idea for you to study some theory of the state, before making such outlandish remarks.
Uninvestable Markets Are Hard to Trade
That does sound like synesthesia. I have sound -> touch synesthesia. There's some discussions about whether a pretty big percentage of people have some form or another actually
Gates sold a decent amount of his Microsoft stock to fund the foundation, something Gabe can't really do given the current structure of Valve. They would have to go public for him to do so, sell to private concerns, or something like that all actions which would dilute his control of Valve.
Is this not carpet bombing?

https://www.independent.co.uk/news/world/middle-east/isis-ir...
Yes, get a job. You can always work on your programmable proxy nights and weekends.

Marketing/selling something like what you're building is going to be at least 3x harder than building it - so prepare for that. If you don't have a single person willing to pay you money for it now, or at least a promise of it someday, you might want to switch gears to ensuring there's even a market for what you're building. Getting some firm commitments from potential customers before continuing down the path would be a good idea imo.
I've heard about a similar thing happening to someone on a Goenka Vipassana retreat. The sound from their heartbeat became too overwhelming for them and they had to stop.

Maybe taking refuge in the impermanence of that feeling could help? That the squeamishness is just a state of mind and like all things arises from emptiness (sunyata) and returns to it? But yeah, putting away the practice sounds completely reasonable in this case.

In a Thai tradition I practiced a bit from they'd tell you to not focus your attention and awareness on anything above the heart center at the beginning, to really just keep it at the naval, as these sorts of difficulties with the body aren't uncommon.
Don’t expect too much from the personal approach. I had a similar problem with Bank of America where they wouldn’t open a business account for me because the risk management department vetoed it. Visiting the local branch didn’t help: the local staff was friendly and tried to assist, but were equally stonewalled by the home office.

They refused to give me any clue how to address their concerns, so I just moved my accounts — all of them — to another bank. But that was mostly out of spite, not because I believe the new bank doesn’t have equally troublesome possibilities.

BTW, I have got to be about the least risky imaginable person to open an account for.
I think you are probably spending too much of your time on software and too little time on marketing.

When I look at an open-source project, I ask myself three things:

1) What does it do exactly?

2) Is this easy to get started with?

3) Does it have any documentation?

For example, I have a use case for wanting to use graphql to communicate with elasticsearch. I google "graphql + elasticsearch" and somewhere a link to https://www.searchkit.co/ comes up. I look at it and I find my answers within 60 seconds:

1) Top of the page I see "Searchkit is an open source library which helps you build a great search experience with Elasticsearch. Powered by Apollo GraphQL." This makes me think that yeah, it's probably looking to solve a similar problem to me. In case I had any doubts, there's a demo.

2) Yes, easy to get started. There's a big "get started" button at the top of the page. And a get-started-video link at the bottom of the homepage.

3) At a glance, yes, it has decent documentation.

Given that I quickly got answers to these 3 questions, yes, I might consider using this project, or at least trying it out.

When I go to your page, I see:

1) River DB is a Rust connection pool and middleware proxy... ok... why do i need that? What problem is this solving? There's a long paragraph I can read after that, but when i'm browsing the web i don't usually read long paragraphs, so you've lost me already.

2) I have no idea how to get started

3) Doesn't look like there's any docs

Given the above, why would I use your software?

Note that the above has nothing to do with your software quality. But people only care about your code if things are breaking. Marketing material is what gets them in the door. For example, I use React all the time. I have NO IDEA if the underlying code is any good. And I don't really care. What I care about is that it's easy to use.

Anyway, long story short... if you want to build a software business, coding is maybe 30-40% of the job. Marketing, sales, documentation and all that jazz is probably the majority of the work. If you don't want to do that and you just want to code, then great, get a job. People will pay you good money for that.
My point was not to support the decision the police made. It was, rather, let's not give the police a pass because they're "damned if you do, damned if you don't."

I agree with you. I would rather the police have a principaled stand for freedom and privacy, and not murder people. Then if something big happens, as GP opined, we as a society need to not crucify them. The police are not and should not be a guarantee that bad things won't happen. We should hold them accountantable for what they do, not hold them responsible for preventing all evils.
Starting a business is alot harder than what it may seem like. Given all the publicity startup get, it seems like all you have to do is come up with an idea, program it and boom it's a success. A business is so much more. Ironically the product is a minor reason for the success. It's mostly about the people that are part of the organization and the organization that is created around the product. But ultimately it's about the founder's leadership. I gather from your post that you are focusing too much on the product and not as much around the organization.

I advice that you start to focus on figuring out how to create a winning organization.

Also, get a job in a relatively small organization where you can have a direct impact on its success. At the very least you will get to understand how the startup world works.

Given your future family situation you need to get your career going and put your startup dream on hold while you get more experience.

After a few years you can reevaluate and decide what's best for you and your family.
iPhone 11 Emulated on QEMU
Thank you for being honest. I feel you've described me and my situation pretty accurately. I appreciate the advice and you're right - I need to learn the non-technical skills where I'm weak before doing this again. Or at least meet a co-founder who's strengths overlap with my weaknesses - probably a marketing/sales person.
So, a few question to all the number-as-shapes-in-head-representators out there: What happens in front of your inner eye when you do more complicated operations like exponentials, modulo, ...? Do you have distinct visualisation for certain ways to represent a number (roots, fractions and so on) too? And do these representations help you when you solve a problem where you don't have to "count" anything, like when you have to write a proof or something?
If it's a persistent pattern and not just a result of stress and poor culture - not always easy to tell - they're likely on the Dark Triad spectrum.

Or at the very least they don't like you personally and are trying to bully you.

It's not usually about the presented issue. The relationship dynamics are the real truth.

Everyone has bad days. But if interactions consistently take this direction - especially to the point where anticipating them causes anxiety - it's time to consider moving on.
Why is burnout considered a syndrome that needs a solution? We work in a mentally exhausting and demanding field, why can't we normalize the idea of taking a break? Is the status quo really to work for several uninterrupted decades and then retire?

If a company has a burnt-out high performer they want to keep, then offer them a sabbatical. Let them take the time they need to relieve their stress. If they still don't want to come back, well that's life.

I say this as someone who put in their notice on this past Monday because of burn out. After nearly fifteen years working in this industry, I'm tired. I'm going to take time off and rest up, maybe work on my own projects. I feel no shame in this.
The easiest way to not be that person is to tell people what you've done already followed by your problem. Instead of

> Coworker: There are no docs for [this thing you're doing].

Say

> "I looked at company.xyz/wiki/app/docs and don't see the docs for [this thing you're doing]. Can you help me find them?"

I'm way more understanding if someone has given an attempt to solve their problem but failed and are now coming to me. If you come out the gate with "facts" I know aren't true like [x doesn't exist] or [y isn't working] I'm more likely to be annoyed at you.
Russian ISP DNS servers would just do whatever is necessary to make it work, up to not respecting ICANN
I'm also SWE. I failed for the first 2 years. I took some time to fill in the gaps --business and product skills. Now I have $6k MRR. How serious are you about building a company and are you willing to fill in your gaps?
Is your enterprise a product or solutions startup? Products only scale if resold - the magical 90% pure profit margin only exists on theory. In practice client demands will almost always turn small fry into a services business because you can't afford to lose a client, especially an anchor tenant. Why services? Because you can't say "no" so you end up doing what you promised you wouldn't and incorporate ungeneralised per tenant/client features into to the product.

Perhaps you should advertise your skills as a service?
Cool! If the author is reading, have you looked at synaesthesia, and do you think it applies here? The idea of addition having both a visual appearance and a kinetic feel is alien to me (perhaps partly because I avoid mental arithmetic like the current plague). But it's apparently reasonably common to have colour and spatial associations with numbers.

I'm also curious if you are an unusually quick calculator compared to others you know. Synaesthetes can sometimes turn their condition into a talent, like the famous Shereshevsky who had a photographic memory; every experience was utter sensory overwhelm, making mundane information very memorable.
> Also, some of my colleagues (who'd been working for decades, just like me) seem to still love it and thrive on the stuff that made me want to quit and demotivated me. I'm fascinated with how some people like them are able to persevere and thrive in the same situations that make people like me quit and burn out.

It really comes down to the level of influence and control you have in the organization.

If you feel empowered to enact positive change, even if it's just at your level in collaboration with your colleagues, then that can be enough to remain motivated. Speaking for myself, for years, this describes how I managed to stay motivated through a lot of BS.

But when that falls away--when senior management becomes ineffective, when your colleagues leave or become demotivated themselves, when leadership starts to get in the way of your enacting change, when the organization becomes large enough that it's more likely to resist change than embrace it--that is when management becomes, at best, an unrelenting chore.

I've been a middle manager for nearly eight years. The first 5-6 of that were pretty good. But in the intervening years the company has grown and is now big enough that my ability to enact change in the organization has all but disappeared and I'm considering my options.
There also seems to be a modal ad on hover out. Hadn't seen that used before for ads.