skysight-inc/HackerNews huggingface dataset:
In the traditional standard C library, there are many functions which, in order to be invoked with less parameters, use some static variables.

However this approach works only in single-threaded programs. In multi-threaded programs, the static variables are clobbered when invocations of the function from different threads are interleaved.

The correct method to make the standard C library reentrant is to replace all the functions that use static variables with reentrant functions having one extra parameter, which typically use the old name of the function with the suffix "_r".

This has been done, but this means that if you have an old single-threaded program, when you want to make it multi-threaded you must search the program source for all bad standard library functions and replace them with good functions.

Newlib offers an optional facility to avoid the editing of the source files when making a conversion to multi-threading, by replacing all the static variables with dynamically-allocated variables, which will be distinct in different threads.

This feature should better be avoided, because the newer reentrant standard functions also correct other problems, in many cases.

An exception is precisely the "rand_r" function, which is supposed to replace "rand", but which has been wrongly defined, with an inappropriate size of the state parameter.

None of the ancient functions "rand", "rand_r", "srand", "random" or "srandom" should be used in any remotely serious application of random numbers.

There are a huge number of good PRNGs for which the source code is freely available.
Good, that an institution with so much money has been treating them this way is simply inexcusable.
I haven't lived in SV since 1993, but things like this sure make me miss it.
Can care packages be sent to the OP? Safely?
It is a testament to the effectiveness of a zero Covid policy rigorously applied. Taiwan has similar figures. Could have been us too!
Kids are fascinated by little bugs right in front of them. Adults are reward-hacking themselves stupid.
It's not the training set. CLIP stands for Contrastive Language-Image Pretraining. It's a model that tells when a text and an image match.
> while being paid a fair living wage

But it's not a fair wage - that's the point.
“At this point, the EECS department is running an annual deficit of nearly $5 million”

“department must provide more than 7,000 student-seats per year in the upper division courses”

That’s crazy. Also amusing how the author constantly talks about scaling up as if the department is a startup.

As an international graduate student, I never considered Berkeley to be an attractive place to study a PhD: insane housing prices, expensive fees and insurance, huge bureaucracy, and all the while even the most popular departments are underfunded or barely-funded so low stipends.

I recommend watching the documentary “At Berkeley”.
This reminds me what the yaw string [0] in effect does for aircraft, but turns that visual cue into a tactile sensation, also because there's no wind drag in the cockpit.

[0]: https://en.wikipedia.org/wiki/Yaw_string
Nice
Looks like a multi-word version of Word-in-one, which I’ve added to my daily wordle routine :)

https://bushong.net/~mconst/wordinone/
I am from Trivandrum, now in US and really badly want to pack up and leave (because of management issues). Do you have any tips on finding a job in Trivandrum while still being in US? Do people with about 15 years experience in IT have any hope of finding jobs there?
Landlords already charge the maximum rent they can do.

LVT doesn't punish wealth accumulation, it punishes monopolies
The greater good argument, eh? That never works in the long run.
I think that linking skin sensations to proprioception is pretty dubious. Think about walking in a high gale. The air will be pressing your outer layers to your body in a way that adds extra 'weight', but there's not even the slightest sensation of phantom movement in your limbs. Maybe it's a very low-weighted input, but I very much doubt proprioception is 'heavily based' on it as you said earlier.
That's a little weird. The ways companies motivate their employees with mission statements and how they're "changing/saving the world" can definitely be weird.

That being said, a lot of people appreciate and need that kind of motivation. Hopefully it's gets less weird as you get into your role.

I'm always thinking things like "yeah, I guess our mission is to change the world in X way, but I've spent the last three months making this revenue reporting graph for EU tax purposes."
You are eloquent for a child. How old are you? Have you learned what a 'category error' is? :o)
Now imagine for a moment if we painted our modern marble statues and architecture as they did. The ruins mentality is a big part of neoclassicism, to the point where the designer of the Bank of England building made a sketch of how the building would look in a thousand years' time:

https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Ae...
Do you think they wouldn't be able to keep you inside a house?
A better question is probably how many rich people need to take out a mortgage to fund their housing needs.

Using equity for cheap money to buy more equity makes perfect sense.
The lockdown policy was successful in these aspects before, but it’s very unclear if it can still work with omicron.
they may not be their real names to protect their identity
As long as we're listing electronics flea markets nationwide, I might as well mention the grand-daddy of them all, the Dayton Hamvention:

https://hamvention.org/
A new free, open source, cross platform OSINT tool
Sub3 Suite is a new research-grade tool for hackers, bug bounty hunters & researchers for OSINT gathering and target mapping. The beta version has just been released.
I’m in Shanghai too. It’s a city of 25+ million people: there will be some bad stories. But overall it is running remarkably and the vast majority of people aren’t thinking about how oppressed they are by having to eat fish. They’re helping each other and encouraging each other, because they know the cost of not doing this is millions of lives.
Are member of congress leaders? Which people do they lead? They have teams of assistants but they're not huge teams. They seem more like individual contributors.
China also likely lies about their numbers so it's not likely we'd know the real death count. According to their stats, they had covid 4 covid deaths in all of 2021. This puts them at the number 2 best results spot.

The issue here being that all the top stats spots for least deaths are from island countries, which china is not.
I don't know about the Netherlands, but at least for the UK and France which university you go to is extremely important. At least there's a big divide between top schools and the rest.
> I am 100% sure they would treat me the same if there is a similar lockdown here

I wish you never get to find this out, because I firmly believe you're wrong.
dear lord, I couldn't do loom. I got stuck too long and too often.
Again, the author conjectures that people may starve, but provides no evidence, anecdotal or otherwise, that people are starving.
I think we need to stop calling MRNA solutions vaccines because they are gene therapies. You need regular administration for them to be effective on a public health level which is not logistically feasible as we found out. They know this but they’re playing along as a matter of publicity and politics. We got incredibly lucky with Omicron.
SH miscalculated/mananged trying to live with covid in the first place. Jilin (5m) and Shengyang (9m) both coming out of lockdown after month - seems like new stealth strain is still broadlycontainable. Whether cost is worth it medium term is another question. Probably time to force elders to vaccinate and then try to live with covid again. From what I read they're cutting off SH by shutting regional HWs and moving to reopenning by districts that manage to zero tests. As for logistics issues with delivery, inevitable at this scale, but should be within state capacity to sort out. In terms of eating bitter, skipping a few meals is mild relative to even recent PRC history.
You only need to be around kids for a few minutes to realize why we are so flawed as human beings and why some of us fail to learn even the most basic life lessons.
They are already doing that and it will take some time. However no vaccine is 100% effective against mortality. Bear in mind that China had almost no covid deaths post-2020. Any covid death now is considered a failure as it would have been "preventable" under a strictly zero covid policy.

This is why the figures out of China is looking too good to be true right now with 150K+ recent cases, very low intensive care admission and only 2 deaths so far(both had very serious underlying conditions including end stage renal failure and cerebral infarction). One might argue that the officials have an incentive to hide the true figures to save face, but keeping the numbers low does not necessarily make them look any better as the lockdown appears overly harsh and disproportionate to the risks. The only options is to try and return to the zero covid days, no plan B allowed.
The emotional response of the people living in China is very relevant to the effectiveness of the collectivist policies. If they continue down the path of CovidZero in the face of evidence that it is not going to work and will only cause economic and emotional pain to the population, it highlights one of the major downsides to collectivist policies. They cannot adapt because they have a culture that looks down on any contrarian thoughts.
That's really helpful! Thanks!
The old machines had similar 'speed tweaks'. For example I ran my Windows 95 from a big ramdisk and it was blazing fast.
My parents told me Santa Claus was mythology and that parents played along because it was fun and magical for their kids. They also told me about the symbolic meaning of giving gifts.

It made the whole thing amazing for me. I always knew where gifts from Santa came from, but we could all have fun pretending.

Also, consequences for ruining the magic would be equally mythological. ;)
China may arguably have done a better job at the collective response to the virus than the west at the start of the pandemic (though with measures that probably wouldn't been seen as acceptable in liberal countries). So there they might have had reason to brag that their authoritarian system works "better", for some definition of better.

But now their zero covid policy seem to be largely symbolic and to save face - you (probably?) can't lock down Omicron. Should have spent the time they won with their good initial response to increase immunity levels in the population.
The first world problems of healthy people with healthy kids with plenty of time and money for leisure.
You can tell by not entering any PII into the site in the first place.

IP is technically PII in some places. Personally I am not worried if a criminal gets "my" IP in the same way that I am not worried if they have my phone number. I would be worried if they had my name address age bank account info etc, but then I don't give that out freely
"h" suffix is a pain in the ass in MASM and probably other assemblers (a leading 0 is required for hex literals that begin with a letter to distinguish from identifiers e.g. mov eax, 0FACEDEEDh)
Crikey the Royal Exchange is a crater.
In the original iteration of Tesla’s Fremont factory Musk insisted on automation.

Global automakers in the 80’s learned the limits and perils of automation. Musk decided he had to learn that mistake for himself, years later admitting the process needed people more than he imagined.

The collective knowledge gained in making quality automobiles since Toyota started until now is widely available, especially with someone who has the resources to hire people with that experience.
Source: I'm a flight instructor :-) the rule you're looking for is FCL.055

It specifies that you cannot use your license privileges unless you have a language endorsement on your license for English or the language used for RT for that flight. So if you have not passed an English test you are only allowed to fly in French airspace and speak French.

Maybe the French authorities will issue you a basic PPL without LPE, assuming you'll only fly in France. But many other CAAs will not issue licenses like that, and some won't renew a license without it even if you historically got it without LPE.
Why. Would. They. Not?

Biology is not science.

Ask yourself: what causes 'emotions' in humans? Chemical/molecular balances and imbalances. Same happens in any creature you care to name. Unless you suppose that all other creatures are static unchanging automatons at the molecular level ... which is mind-blowingly stupid.

Also: what if other creatures have emotions but they are not identical to what we call 'human' emotions.

Again: biology is a farce when it tries to be 'scientific'.
Using Linux Mint for 8+ years on a lot of different laptops and 4 desktops.

Everything "just works".
This situation in Shanghai sounds pretty far from an ideal society, it sounds downright horrifying
Good. Please use more tax money to send them some WiFi repeaters to link up with the Starlink terminals so people can be in bunkers nowhere near the Starlink terminals. I imagine that people here could think of hundreds of other projects we could suspend or terminate to make up for the cost.

I'd wager there are probably also some companies that would love to get rid of old stockpiles of weatherized POE cat 5e/cat 6 300-600 foot cables to avoid WiFi location detection.
I only recently restarted a blog after a decade hiatus. For me there's two reasons:

1. Catharsis. Work and life is often excruciating and it's calming to organize your thoughts about a subject.

2. To see if people relate. Sometimes your journey is lonely and painful and seems unique to oneself. By posting blogs on this site, I've discovered that I'm not even close to being alone. The Internet is a wonderful place.
I didn't write "fascist" but "authoritarian", here's the relevant quotes:

>disturbed by the notion of our children tuning in for a regular dose of primary-colored authoritarianism

>Then there are the parents who are OK with the authoritarian elements in children's media

That's from the author of the article, I wasn't referring to Ms. Uhls.

Edit: And I get to neo-Marxist because it's always those types who're at the forefront of denouncing and smearing anything that reeks of individualism or liberty. They hate it with a passion, because their goal is the submission of the individual to the collective for the "common good", if necessary by force. For that reason their heritage of pillage and murder is unparalleled in history.
China is on Earth, not in some other solar system. If their excess deaths per capita were a fraction of the numbers in the West, there would be no way to hide it.
Related: A few months ago, I wrote some code to analyze the distribution of topics in Money Stuff over time and found the results interesting: https://blog.vghaisas.com/matt-levine-topics/
Oh, is he up in NYC now? Good for him - I hate to hear he's left Baltimore, but I can't say I haven't thought his talents a little wasted here.
> The article provides no direct evidence of people starving, only that 'We cannot freely choose our recipes'.

What? The article clearly describes how people in Shanghai are barred from accessing the supplies they ordered because their buildings have been literally locked up and there is no way to get their orders past the outside gate.

From the article:

> Sometimes one of the people in the locked building yells to the dabai or anyone who passes, to hand over the vegetables she has ordered and who are now perishing at the locked gate of their building. But people don’t have the key and the ones who do may not necessarily care.
While $$$ certainly was on my list, last time I switched other points were more important to me

- distance from home

- work-life balance

- tech stack

- smaller project size <50 ppl

- smaller office rooms <5 ppl

In the end I picked the highest paying that fit all the criteria above and so far I'm happy with my choice.
Need is different from want. Indian college students are future temporary workers, if that. Going to college here doesn’t guarantee you an H1B much less a green card. The rapidly aging American population has a need for various temporary workers, but they don’t need them to stay here and become citizens. There is no political will on either the left or the right to create a real, predictable skilled immigration system that doesn’t leave Indians and their families at the mercy of legal fictions like “dual intent” papering over what is fundamentally a temporary worker program.

Silicon Valley needs and perhaps even wants Indians as permanent immigrants. Insofar as Biden is supported by Silicon Valley with donations he’ll throw them some scraps. But Indians (and Asians generally) aren’t especially politically useful to Democrats. They aren’t eligible to vote for a decade or more, and don’t turn out even then. And they create internal tensions in the coalition (e.g. voting down Prop 16 in CA). Democrats will talk a lot about loving immigrants because they’re laser focused on the Hispanic vote. But reforming the H1B system doesn’t help with that and they won’t spend any significant political capital on that.
Website is designed for desktop with pretty good UX tbh even if it looks like breaking common patterns. It’s a very small learning curve considering it achieves the immersion it intends to.
Do you know how Benadryl counteracts that effect? That's fascinating! (I hope you don't mind me asking, you're not a research subject and I respect that you may not want to discuss it)
> The larger picture is that China by pursuing these policies has stopped millions of deaths

We have highly effective vaccines available globally. Even in the twisted American healthcare system I can walk into any CVS or Walgreens and get a free mRNA vaccine, 47 times over, anytime I want to.

There is no good argument in favor of China's lock-down policies in the present, post vaccine availability. Unless of course their vaccines are particularly mediocre at preventing death and or serious disease, in which case they should be placing a multi-billion dose order with Pfizer and Moderna.
Try spinning up your own email server in 2022 and you may find sending email through the anti-spam cabal is both more difficult than creating a facebook account and about as decentralized.
Xpastebin, simple X selection paste service integration and filtering tool
Although you're right about the incentive structure, I have a hard time seeing such a clear difference in UX quality in practice.

I've used OSX for a year after over 20 years of Linux. I really tried to like it, but to me or didn't feel any more polished than modern Linux distros. Just... different. Different flaws, different glitches, different inconsistencies, different trade-offs. shrug
They are not vaccinated because they did not want.

i am wondering about your question.
Where is the evidence that it didn’t work?
> I just don't think many or most tech companies have anything positive to offer the world. All these companies simply exist to make money.

IMHO, making money IS providing something positive to the world. A lot of people are employed, and those people get to buy art or cookies or college for their kids or whatever.

A lot of customers are served, and presumably got something they wanted.
They stole my apes, Odo.
https://youtu.be/DrbDWq64BNg
Certainly it is awful in Shanghai right now, but it will be for a limited time period, and the benefits (of zero Covid) will out weigh this cost of this investment in public health.
I really don't understand why a country where (on average, from Google) every citizen has received 2+ vaccinations there should still be such a strict policy
Those are not common names in the U.S. at least.
Although it's not covered in the basic setup, I'm fairly sure you can set up your own controller locally and set the adopt URL on the AP (via ssh) to match. This process requires no internet beyond downloading the controller software (they maintain a .deb and provide source).
Those pop-ups are usually shown on "exit intent" which is simply when you move your mouse outside the viewport (i.e. the address bar or hover over another tab).
> I’ve never been to India, but I assume the situation is better

It isn't. The best produce in India ends up getting exported.
Family Offices are increasing crypto and blockchain investments
What makes them dangerous is the fact that most users have no way to know what web site they will be visiting when they scan one.
China Is Accelerating Its Nuclear Buildup over Rising Fears of U.S. Conflict
Colors are good. The most advanced color implementation if seen is Pony's capabilities system.

https://blog.beardhatcode.be/2018/10/pony-capabilities.html
Ohm Overlooked
Keep in mind many 9/11 victims wouldn't have been able to get to a window or break it out. And many would have succumbed to the smoke and not had the chance. Also, one isn't going to commit suicide if they think they are still going to be rescued by the firefighters they knew were on their way. Contrast that with a month of seemingly irrational lockdown with no end in sight because 0-covid is futile.

I don't even understand the point you're trying to help defend. You know a story about suicide must be fake news because suicide isn't a thing that happens? Really?
A lot of focus here on the salary aspect. But he also emphasizes referrals, albeit not necessarily in a personal connection sort of way. When I last changed jobs, a dozen or so years ago, my strategy was basically to put together a short list of companies that I was interested in and had connections at. I started at the top of that list, it worked out, and here I am.
Is this unprecedented for grad students?
Sadly that logic doesn’t work here, though it’s tempting. There’s a portion of the population that refused vaccines, due to a combination of factors including misinformation. Omicron going wild would put millions of elderly people into the hospitals, jamming up the healthcare system and leading to millions more excess deaths.
vyos would be another, though is also networking focused.
Zero covid seems to be working in Jilin an Shenyang lockdowns - about 15m after a month. SH fucked up by thinking they could pull of dynamic zero. Too many financial interests and tier1 entitlement thinking not to tempt it. Not mandating vaxxing among elderly was a mistake. CCP not authoritarian when it should be.
Wet nurses need to be already lactating mothers, not just any woman. Also in a strict lockdown how are you going to get a wet nurse to visit you?
But was that better driver support simply a snowballing consequence of Linux already having been ahead by then? If so (and IDK if it is so) then the original explanation would have to lie elsewhere.
> if you don't speak the native language, you will be at a significant disadvantage when requiring the assistance of police.

This is true true virtually everywhere in the world.
Moved there in 1995 and it was amazing.

Sadly, it got less amazing as the decades marched on and Silicon Valley became Web Valley (now Social Valley?).

Those days: Computer Literacy bookstore, Disk Drive Depot... Fry's went mainstream and then faded, Weirdstuff gone, Haltek, several other surplus stores gone whose names escape me. The Saturday crawl from one surplus store to another across Mountain View and Sunnyvale used to be worth getting up early for.
What brand of car do you drive? I've only driven ones where the pedals don't move when cruise control is controlling them.
The size of a long is not defined, and is platform dependent. It may be the size of int.

Likewise

if (s < 0)
s += 2147483647;

Overflow/underflow is UB in this case, and who says it is 32 bit in the first place?