skysight-inc/HackerNews huggingface dataset:
LeetHub – Automatically sync your code b/w Leetcode and GitHub
Hey all,

I just wanted to thank everyone who supported our work, LeetHub - a chrome extension that automatically (200-400ms) pushes your solutions to GitHub after passing all tests on any Leetcode problem.

Earlier today we hit 150K user commits, of whom ~25K are publicly available. With over 950 daily-active users using the platform, 1 in 5 leetcode related commits to GitHub (500K+) is generated using LeetHub!!!

Couldn't be happier with the people using this extension and the open-source team that helped build it :D

I'd really appreciate your support on GitHub so we can further maintain this project for other folks trying to improve their developer portfolio.

Cheers & happy leetcoding

GitHub: https://github.com/QasimWani/LeetHub
The clear solution is to test. Look for a suitable district that wants to open up the schools, open them up for a bit and do a rapid lockdown if it instigates an outbreak.
It's your site and you do a great job moderating it, so the flagging is completely justified.

I will offer this hypothetical: what if I had written, "The concept is exclusive in a way that should offend the human race and feels like the proposal of an American caste system"?

I'm not asking you to respond and debate me. I'm just trying to point out that this is an outrageous idea and saying so with additional words (or a third-person perspective) is not any less fulmination than what I wrote.

At some point, I believe an unemotional response to something deeply anti-human and classist is at best disingenuous and at worst a normalization of ideas like this.
> Long COVID was characterized by symptoms of fatigue, headache, dyspnea and anosmia and was more likely with increasing age and body mass index and female sex. Experiencing more than five symptoms during the first week of illness was associated with long COVID.

A bit disappointing information. So, first week severity indicates risk for long covid? Or is it multiorgan involvement independent from severity?
Would you rather your mum / sister / kid died of COVID? Because that's more likely.
That was the case in Russia villages. Old Russian cars were used everywhere and one could fix anything with a wrench and hammer. Those people were reluctant to adopt new cars. I think that it's changed now, as local mechanics got more experience with electronics and stuff. Most of electronics issues actually could be fixed, you can replace capacitors, etc. But of course not in the middle of nowhere.

That said, old Toyota cars are still treasury, because they just don't fail. But they're quite costly.
Imperial College London:Covid – Vaccination Approaches – Prof. Robin Shattock
We do for now, but we all know it can blow up any second.
He is, though, because his opinion on Santa Claus should be completely irrelevant to his interactions with his co-workers. But if he prioritizes being hostile by correcting and insulting people over being humble and accepting that others might believe differently, he is being toxic -- he's poisonous to be around.

There are different ways to stand by one's beliefs. One is to keep them to yourself and let them guide your decisions silently, but defend them vigorously if they are actively challenged. And one is to feel the need to rub them into everyone's face constantly, because there is only Right and Wrong and you can't deal with somebody being wrong (i.e., of a different opinion than you) without feeling personally attacked and going on the offensive.
>And if you are writing a third party widget, be considerate and make the defaults the least aggressive possible when it comes to accessing user/site/server data.

Unless your business model is literally collecting all personal and private information, then don't do it.
Hi Yev. It's great to know that you fixed it. Could you share since when you had this issue? I'm a long-time paying customer and feel somehow betrayed here.
I am surprised the drone survived (or did it?)
>The tinfoilhat-crowd (we call them 'wappies' in Dutch)

A very divisive term which will only increase the divide between the "believers" and "nonbelievers". Please treat people who don't share your ideas & ideals with respect and don't use blanket statements to demonize groups.
> "without violating privacy"

Yes, that's covered by this being a mistake in implementation as I said.

> "there shouldn’t be any ads nor tracking"

Again, based on what exactly? Finding new users that are similar to your existing customers is a completely valid strategy.

Most people in this thread are making wild statements from the typical emotional/outrage driven pile-on when anything happens.
My first thought was that it could just as well have been a shot from Mustafar in Star Wars. Stunning video!
Dumb question, can Backblaze ask Facebook to delete the submitted data?
Well put. This is in my eyes the biggest problem with the whole "politically correct" and identity politics movement: it assume the worst of people digressing a chosen subjective universal ideal, in the process singling out lots of individuals despite the self-proclaimed goal of diversity and acceptance. It's pretty warped to demand respect for your own personal difficulties and particularities while bashing others for theirs, or in other words, demand to be treated with respect as a human being while failing to see the human in others.
Not in that age range and in that sample size. Don’t forget that those are not random blood clotting cases but very rare ones.
It's an extremely important distinction. There's a term for software like Unreal Engine, which is "source available", and the difference between this and "open source" has massive categorical differences in terms of what you can legally do with this source code.

If an important distinction like this is fading from our language, it's probably evidence that newer members of the community haven't been fully educated on the implications of software licensing terms, and if that's the case we should focus on improving that education, not resign ourselves to important knowledge being lost by the community.

For instance, if you learned that young people were not aware of the dangers of exposure to lead, you would not throw up your hands and say: "I guess we'll just start using lead pipes again". You would make an effort to pass on that knowledge.
It shows 264 communes worldwide. Not a very impressive number out of 7 billion people. I looked at a couple at random, and they were very small.

> Communes predate America.

You're right. Jamestown was a commune. They starved. The Pilgrims' first year was spent as a commune. They starved.

> Where would American airlines be at right now left up to free markets?

They were shut down by the government lockdowns and travel bans. Whether or not the lockdowns are a good idea, the damage they caused are not the fault of free markets. Do you propose that communes thrive under lockdowns?
Package manager :

- apt

- maven

- npm

You can't imagine the pain not having them.
That and he flew through a shower of molten rock, the smallest little blob would take that drone out.

Some things are with the risk though, turned out amazing!
I wouldn't judge a company based on their Twitter engagement. Twitter is a really dumb place.
In case anyone doesn’t notice this little detail... right in the last few seconds you can see one of the erupting chunks of lava pass out of the frame in the vertical direction. It looks like the drone made a lucky pass through the top of the erupting lava plume, narrowly missing red hot chunks of lava.

To clarify... it looks like that, can anyone more familiar with the original post confirm more details? Because it could obviously just have been a trick of the drone’s speed combined with the camera field of view just making it look like it whizzed under a chunk of red hot lava... which is still neat camera work... but it would be so much more awesome if it wasn’t just a camera effect and it actually did fly through between erupting chunks of lava.
From the table:

> null pointer dereference ... [C] none; [Zig] runtime; [Rust] runtime

Assuming this is talking normal "safe" Rust, I think I disagree with this. The Rust analogue of a pointer in safe code is a reference, not a Rust pointer, and these can't null at all. You could use an Option<> of a reference, and Rust will internally use null to represent the None (empty) case, but an attept to use the option without checking for None will result in an error at compile time, not runtime. Yes you could convert that into a runtime error, but if it was an error condition for that variable to be None then (depending on the context) you could choose not to use an Option at all and then it would be a compile-time error at the call site to attempt to put None into it.

I don't think I understand what is meant by "type confusion". Surely this would also cause compile-time errors? Even C++ would give compile time errors for this unless you use a cast! (C, unlike C++, lets you implicitly convert from void* to any other pointer type so you don't need a cast to get pointer confusion.) Could someone think of an example of what might be meant here, and how it would cause a runtime error?
I have no problem with _public_ transportation not being private.

There is too much private anyway when it comes to land-use. Obviously you have to ensure to avoid the common pit-falls of government run (or intervened) companies, but we have decades of knowledge about this now and should be able to design better systems.
How I Made This Realistic Red Switch (Pure CSS)
Well, yes, but you have to consider that (hopefully) everyone will get the vaccine, and not everyone will get COVID. Infection rates are below 1 out of 60 in many countries.

To be fair, I shouldn't have said that it'd be better than doing nothing (because in that case eventually everyone will get COVID-19), but it'd still be better to wait for another vaccine.
> Did you read the article?

I did

> There are 2 cleanrooms. The 2nd story one is undamaged but needs the 1st story one to be repaired (I assume it's a structural thing?).

I don't believe they have multiple clean floors.

Fabs are usually done with space below the clean floor being where machinery for supply of liquids/gasses is, and space above being used for air handling equipment.

Some have a storage floor, but that's usually it, especially for a smaller fab.
But the number of digits should reflect the precision.
Btw. there is a Distributed Systems lecture series by MIT from Spring 2020.

https://youtube.com/playlist?list=PLrw6a1wE39_tb2fErI4-WkMbs...
Within the city centre that might be true.

But people also want public transport in rural regions and there it is just far way from profitable. But it‘s still necessary to provide IMHO.
have a look at: https://www.makeareadme.com/
Depends on the incentive schemes too.

Back when I was an undergrad studying Applied CS, we[0] had a really friendly, cooperative attitude - we would help each other learn, do homework together; people who turned out to be good at a particular topic would often compile guides and learning material and FAQs for everyone else. Late in my studies I discovered this was seen as a highly unusual thing about our sub-faculty[1]. Other faculties had much more competitive, every person for themselves attitude.

It turns out, the driving factor was that our sub-faculty had different rules about scolarships: you had to cross a threshold of high grades on a given year to be eligible for one, and the amount of money you got was purely determined by your grade average. Everywhere else, scolarships were limited to top % best students. Where everyone else competed and kept their hard-won knowledge to themselves, we'd routinely assist each other, so that everyone could get a shot at getting the scolarship.

I hear that after I graduated, they normalized the incentive scheme to % top students everywhere, and that new Applied CS groups got as unfriendly as everyone else was.

--

[0] - All years studying Applied CS in our sub-faculty[1], not just my year. Don't know what the proper English term for it is, in Poland we call it "kierunek" (literally: direction), vs. "rocznik" meaning a class of a particular year studying on a "kierunek".

[1] - Not sure what's the right term for this either. Our faculty had essentially two branches that dealt with overlapping fields of study; as I was graduating, they ended up splitting into two separate faculties.
> I wonder if anyone has been killed already because of Amazon's disregard for a manufacturer's right to his brand.

How many people saved from Amazons cheap access to equipment?

I'd guess more are saved.
Last chance to give the XScreenSaver 6 beta a try
> the tweet was from someone I think unrelated to the project

Seems fine for unrelated Twitter randos to say whatever they want about RMS, but would be distracting and counterproductive for GNU/FSF to permanently ban RMS in support of Twitter randos' unrelated ideals. I never said or implied anything about stopping Twitter randos from expressing or doing whatever they want.
I find it hard to estimate the position from the top-down view compared to when I was there, and I just copy-pasted the coordinates from Google Maps
For me only the engine is essential. I don't care about LEDs, AC, ABS, ESP or whatever. All I need is moving wheels, steering wheel (not necessary with amplifier), brakes (don't care about ABS). Heater at winter. Everything else is optional and can break. All I care about is to get to home alive when I need to ride 300 km without a single car around me. Whether my cars works or not might be live or death.

Though I don't think that chips are root of all evil. You can easily have analog systems failing. I think that engine chips just should be very reliable, may be even duplicated. We have vehicles on Mars, surely we could get reliable vehicles on Earth.

And, of course, I don't care about reliability of those second-class systems. They're not essential and car works without them. They could be made with chip or whatever, it does not really matter.
I did not say or describe individualism. I said that people organize and cooperate out of self-interest, and that's what a free market relies on.

> Collectives are fundamental to human society and always have been. Even hunter gatherers lived and still live in communities.

Communities, sure. Collectives, not so sure.
Unfortunately the winning strategy is to leave yourself.
Not at all exhaustive but the question reminded me of a couple of episodes of Talk Python To Me

- https://talkpython.fm/episodes/show/281/python-in-car-racing

- https://talkpython.fm/episodes/show/296/python-in-f1-racing
Why is Backblaze even connecting to FB in the first place?

It would appear that the two have absolutely nothing to do with each other.

As a backup entity your first priority should be end-user trust, you can't just squander that in the name of growth.
Yup (see also https://en.wikipedia.org/wiki/Metro-land). But that was before city planners in the West started catering almost exclusively to the automobile...
How Technology Won the America’s Cup
Good catch, i was unaware that loading textures off threads in opengl was possible, given that ive never seen it used even on commercial engines. Ill update the article to reflect that.
> In America, many thousands have been created.

> They all failed.

> [...]

> What that strongly suggests is communes are just incompatible with human nature.

All things in the material universe are impermanent, communes exist in the material universe, ergo communes are impermanent.

But many of those started in the US have not yet failed, and some have lasted several decades. So the actual evidence doesn't even show that communes are incompatible with American-style capitalist context, much less “human nature”.
> His philosophical brilliance has always impressed me, his personal presence is like rotting offal in the sun. He doesn't get the benefit of being remembered for the former when he puts in so much effort to broadcast the latter.

Sounds a bit like Diogenes the Cynic.
> Nothing in that definition demands self-sacrifice.

Sure it does. In a commune, everything produced is shared equally. That's self-sacrifice, as in if you produce more than the mean, that is taken from you.
There is one: https://i.imgur.com/HuE82K0.png
Got stuck with an underperforming person to manage - the person has no drive, no eagerness to work and above all expects someone in the team to babysit them because they don't know something.
0 instances in the last year (10-12 months) where they have proactively tried to understand what's happening.
It's tough to get any work out of them and the worst part is my manager and the whole team knows they're useless but the company policy is a mess and it's practically not possible to get rid.
So I'm thinking of showing myself the door but in this economy, I don't see any good job openings for myself :(
I think so, it's sometimes necessary to slow down, double check things. Definitely follow the basics
This brings back memories of the 2003 era Etna eruptions, when I was living in southern Italy. After the regular programming stopped, the RAI channels would just run a live feed of the volcano spewing lava at night, all night long. It was a hell of a screen saver!
I'm actually surprised as well at how many people sign up, but we're still in development, so what would you have me do?

We're not gathering the emails so we can spam people, we're figuring out where we can reach potential customers, who these people are, and will be sending them question aires to fit them into our trials, and later on the waistlist.

We took a page right out of superhuman, and as far as getting people interested, it's working well enough.

Btw, we're not a QS startup, we're a sleep tech.

When we've got product and people using it, we'll update the website, and perhaps it will be more to your taste then. But at the moment, 5% of people who visit the site are signing up, so apparently we are striking the right nerve with some people.
Why are you acting like all popups are the same?

Also what is your source that the commission isn't paying for their website? I don't mean to say that it's a relevant point, but I'm curious where you got this information. Does the commission not budget for their own hosting?
Is this just an issue with the B2 web app, or does it also extend into the personal backup UI?
There’s a few papers about it such as:

- “Heap architectures for concurrent languages using message passing”

- “Exploring Alternative Memory Architectures for Erlang: Implementation and Performance Evaluation”

- “A Case for the Unified Heap Approach to Erlang Memory Management”

You can find those and more discussion by googling shared heap erlang.
People also forget that the vaccines are only approved for emergency use only. This is not the normal approval process.
Python's for-loops are really for-each loops.

If you have a C-style for-loop, you can and have to do everything yourself. That means you can skip elements or processer them twice, etc.

In a Python-style for-each loop, you can break out with break or return, but you have a harder time skipping or changing the order of processing. So they are weaker. And that's good.

(Your examples still process elements in the body of the loop. It's just that sometimes the body decides to do a no-op.)

Putting the no-op logic in the body of the loop, or in the function you pass to reduce is different than being able to short-cut evaluation.

You can see the difference most clearly, when trying to process (the start of) an infinite generator with reduce or a for-loop. Reduce will just hang.
That is the exact same study that was reported on weeks ago. There isn't any new information and that study is flawed. You can refer back to discussions on it from weeks ago.
Modder puts 16GB memory on GeForce RTX 3070
My point isn't that he should go off and set up his own youtube, my point is that he's completely failed to address the root cause of why this is happening and his suggested resolution "Hey youtube please be really nice and help me on this particular issue" is completely missing the forest for the trees- which is funny because at the beginning he gets so close to it. He works full time, everything he does gets sent directly to Google. In return Google pays him money. He is.... an employee with no employment rights.
This is probably the main struggle of my professional life: to see the difference and find the balance between doing a Good Job and doing a Sellable Job.

Creativity and perfection of craft versus efficiency and economy.

This balance is one of the most important things to get right when evaluating prospective job environments, especially when you're more on the thorough end of the spectrum.
Zig has a nullable pointer type, which will have null checks. But only in ReleaseSafe build mode, and it's trivial to construct a non nullable pointer that is null or uninitialised.

So I agree with your disagreement.
I can't find anything about Norway having 4 fatalities associated with blood clotting.

https://www.wsj.com/articles/scientists-say-they-found-cause...

>Norway registered three cases of CVST, one of them fatal. The country vaccinated around 120,000 people with the shot.

https://sciencenorway.no/covid19/norwegian-experts-say-deadl...

>Holme led the work to find out why three health workers under the age of 50 were hospitalized with serious blood clots and low levels of blood platelets after having taken the AstraZeneca Covid vaccine. One of the health workers died on Monday.
You got that backwards, photon mapping is a hack in the same sense as shadow mapping while ray trasing is the real deal (although implementations will likely resort to hacks for perfromance reasons). Soft shadows are simply a matter of making light sources have a non-zero volume and while tracing rays from the camera instead of the lights is an optimization, it is a valid one that (given infinite rays) produces the correct result and is not a hack.
> But he is not good at being a leader

Don't 35 years leading the FSF say otherwise?

Judging from the reactions in the FSF community to his coming back, people were missing him.
Reasons to Choose Best Repairing Services for Home Appliances
There are certain methods that we experts follow and every appliance requires authorized repairing only. Dryer repair in North York may prove a bit expensive however if you choose a trusted service, it will be easier to get long-lasting use of the dryer.
One thing that's important to note is that Zig in general enforces much more correctness than C and also has much better stdlib APIs. IME many memory corruption issues in C (and C++) are actually "secondary effects" of C's and C++'s general "sloppiness" and bad stdlib APIs.

One thing I found where Zig is currently worse than C compilers: returning a pointer to a stack variable generates a warning in "modern" C and C++ compilers, while Zig lets this slip through. I hope that "trivial" things like this will be fixed on the way to 1.0
I am strugling to understand the nature of the global chip shortage.

Is there a single driver?

Or is it just a confluence of events: The US-China tech war (preventing expansion of Chinese factories, causing stock-piling from companies fearful of sanctions), factory shutdowns due to the pandemic, unforseen demand in certain areas (work from home equipment, TVs, GPUs for cryptomining), random accidents like this one.
> The blod clots are not a rumour, they're there.

That's just dishonest reporting of facts. People died after getting the vaccines, too. In car accidents. Unrelated but nice clickbait headlines.

> It's not certain the vaccine caused them, but that doesn't make this a rumour. And the events do seem to be unusual enough that they certainly need investigation.

The rumour is that the vaccines caused it. The rumour is NOT the blood clots.
As I understand it, whereas Denmark paused every AZ vaccine, Austria suspended certain batches of the vaccine:

https://www.cnbc.com/2021/03/16/astrazeneca-covid-vaccine-do...