skysight-inc/HackerNews huggingface dataset:
Which is the reason I wrote that paragraph... right? ;P I could repeat the content of that paragraph--which explicitly states... no no no: wait, you're tricking me!--but instead I will use this opportunity (as I had run out of edit time on my comment a while back) to connect it to the original thought of how personal some of these thoughts are and then to provide the trivial patch that adds this functionality to my "elegant" implementation of strjcpy without making it as complicated as strxcpy:

[redacted, as actually, omg... I immediately noticed it didn't work! Saagar's implementation of my function does have that property, of course. fixing it for real requires two of statements, one before the loop and the other after it, which is demoralizing as strxcpy arguably asked for semantics which were impossible to do well for 0-sized buffers because of this termination step]

If you make the loop more complicated (more like my first copy) you can avoid the duplicate comparison, but I continue to find the elegant second copy much more elucidating, as this demonstrates visceral how the termination is a duplication of effort when chaining, as you are effectively concatenation the loops but then tacking on what should be a single termination step at the end into every intermediate loop. Really, you should just not... ooo: almost repeated that previous paragraph again ;P.
What exactly are “non-WEIRD” societies?
Maybe, but do you know how many have died from the vaccine-induced side effects? How could we find this number?
These days youtube would ban him.
Caltech's freshman class size is also about 50% larger than in my day. These days I also hear that people shotgun out applications (much easier to do with a computer rather than a typewriter!) which increases the rejection rate even with the exact same number of students.

I have no idea if the relative quality of today's Caltech freshman body is better or the same as in my day.

I flipped through an SAT vocabulary builder book the other day. I knew nearly all the words in it already. Vocabulary is something that happens organically, by reading a lot and looking into complex things. I suspect that memorizing word lists builds a fake vocabulary. Some people have told me they recognize when someone sprinkles their language with the daily word they memorized. It comes off as pretension, not education.

I suspect that if SAT training involves learning fake knowledge and test taking tricks, anyone who gets into Caltech via that method is going to find they're in the wrong place. Students there like to sit in the halls and talk about ways to build a warp drive. Students who don't belong will be watching the game on TV.

One of my good friends there had an apartment off campus. He'd regularly make his special chicken wings and invite all comers (this was not to be missed). The apartment manager would come, too, and he'd just quietly sit off in a corner by himself, munching on chicken wings.

I asked him once why he was there - he didn't participate, and he was way way older. He replied, "oh, this is incredibly fun. I've never ever heard people talk like this before. I just like to listen."
I would “let” the young people read it because as citizens we share the right to free speech and the right to consume ideas, whatever they may be.

That being said, an individual’s actions may be outlawed or punished, but I see that as distinct from what they read and publish.
At some point, these students will become adults, and some of them university administrators, and then they make the rules.
I stayed for almost four years at a job and in a location that I knew with great certainty was a poor culture fit for me by the one-year mark.

Similarly, I knew that I needed to do some therapy work, and deliberately did not do it so as not to end up with a diagnosis that could affect my potential admittance as a Peace Corps volunteer. (This was deeply misguided; the volunteers that did their work were both admitted and frankly more effective.)

Both of these mistakes were arguably the same mistake: I did not take care of myself. As a result, the first half-decade of my career was basically a wash. I burned out of the industry I went to school for, and a large chunk of time I could have spent deliberately learning and building was instead spent essentially coping and surviving.
Cupertino and Palo Alto have some of the best public schools in the entire state. Of course, some still choose to send their children to private schools, but the public schools in the suburban south Bay Area are good enough to drive up housing prices by their own right.
Spot the Mandela Effect visible in this story's hero image: https://duckduckgo.com/?q=uncle+sam&ia=images&iax=images

e: "ME" just means "collectively remembering something one way despite it being another", not an attempt to speculate why. Relevant: https://www.vintag.es/2016/08/walter-botts-man-who-modeled-u... :)
Are they grossly underpaid? I don't think that's necessarily true. I think it's true in rural areas, but Chicago Public School teachers are paid above-average, and suburban Chicago teachers make as much as Chicago-area software developers do. And that's without taking into account defined-benefit pension plans and huge amounts of vacation time.

I think the meme about teachers being underpaid is mostly unuseful in conversations like these.
The VLSI I took for my EE degree was the hardest course by far. I did a digital logic project and the amount of time I spent looking at my traces and trying to figure out what went wrong, only to forget to ground my P-wells or make one of transistors too small. Maybe I just wasn't good at it but have a lot of respect for people who do it professionally.

There's also MEMS which is basically making sensors (even motors) out of Silicon.
They would need to know they're being targeted for them to be suspicious. Most people would see that happen and assume either a software bug or the screen had gotten wet.

That said, I also find it unlikely this is a planned exploit.
Thats fine. The pount is that the work should be signed off by a licenssd engineer.
One would hope that you could come up with a better theory than "the problem with the world is rich people" but one would be wrong, apparently.

Rich people are, in fact, human. They are drawn from the general population.
> I never understood the good effects of American hegemony until they started breaking down.

This is a one-sentence forward to some future history of the 21st century yet to be written.

Can we please get this engraved on the headstone of the millennial generation?
Doesn't mean the first instinct needs to be public ownership of it, though. The tax revenue will come on its own.

> Do you think we'd be enjoying solar boom today were it not for public investment?

This is somewhat awkward because it also wouldn't be where it's at today without cheap Chinese panels, and I doubt US tax subsidies would have been enough to make up for China's manufacturing expertise.
Universities Continue Their Slow Motion Suicide
I bet if it was written by a company with lots of IP that gets pirated that no CFAA criminal action would be brought against them.
State the null hypothesis
Radium came out in 2000? How have I never heard of this??
Indeed I made a couple of typos.

But this is a great opportunity to observe some of the engineering challenges with these advanced manufacturing techniques.

Tesla Model S and X were constructed with alloy control arms (Tesla calls them 'fore links') which sometimes did not meet specifications, resulting in catastrophic failures[0] termed "Wompy Wheel" in the press.

I don't know if they are extruded or forged, I think they are extrusions but I haven't had a really close look. One thing that I've noticed about the failures is that the control arms have what appear to me to be unusually large rubber bushings. I don't know what conclusions can be drawn from that observation, but there it is. I would speculate that the largeish bushings provide improved ride quality. On another note, Tesla wheels were kind of weirdly large, with uncommon tire specs.

I've had the opportunity to examine some more resent Tesla suspension components and they appear quite resilient. However, YMMV, I am not an X-Ray.

[0] https://www.motorbiscuit.com/this-is-bad-whompy-wheel-syndro...
I don't think Cupertino's character has changed much. If anything, housing prices continued to skyrocket…
Funny how these faults keep happening over and over again in the same set of languages.
You said it is different than a government banning books but universities/colleges being publicly funded are effectively the government. I fail to see the difference. Libraries in general to the extent they are publicly funded should be neutral and not pick what materials they put in their collection based on political considerations, or subjective opinions of what material is too extreme.
I created a 2x10 gigabit loop directly to the data center core of a regional health system on the consolidated virtualization rack that held ~80% of the applications back in 2012. It also took out the PBX. Thankfully it only took me just about 5 minutes to realize what I had done and run from the office area to the data center (in the same building thankfully) to set it back.

I thought for sure at minimum I was at least going to end up in a high pressure meeting about root cause and so on... no doctors complained, no ticket was ever created, the only mention that was ever made to me was "heh, was it you that broke things?" as the SAN guy was heading to his car and I ran past him.

Apparently 4:25 PM is a better time to break everything in a hospital system than the 2:00 AM change windows they schedule and nobody is going to bother calling support when things are working again by 4:30 and they just want to end the day. Service desk guy laughed at me when I apologized and he said he had 0 calls about it by 5:00.
My biggest mistake for most of my youth was that I valued technical complexity over business utility. As a result, I kept moving from one trendy thing to the next one in technology, skills and domains.

Very late did I realize that putting simple php scripting to good and right use is enough to make the same money as trendy job and skill hopping. (on average ... i.e. ignoring outliers)
Not asking what the promotion path of my first dev job would be. As it turns out, there wasn't one: I was hired to be a code monkey, and a year and three "annual" performance reviews later, I was still a code monkey, with no change in responsibilities.

Don't be shy about asking what the near future of a role is.
Summary:
>Korea only acknowledges test results from the US-based BACL through an agreement with the United States
If a state’s borders aren’t enforced, either those borders are not in fact the state’s real borders, or the people residing within those “borders” are living in a failed state.
We've all been trained to sanitize user input, but the WiFi SSID isn't a user input string, so why should I need to sanitize it? --some poor dev wondering where their Twitterverse sympathy is
Oof. I hate to call C a mistake. I hold the language close to my heart; quirks and all.

Sure there are safer models for computing. But it has served its purpose for a long time. A small language allowing highly performant programs/operating systems to be written. Plus we got to see the beautiful art form of exploit writing. Sure at what cost (lots), but all hackers can appreciate when a system gets owned. It’s the intentions that come after which bother us all.

Don’t get me wrong, I’m excited for newer languages like rust to come along. However, I learned so much about low level computing from c, and I’m forever grateful.

Hats off to Dennis Ritchie. Thanks for creating a language I met so many other hackers through, and sparking the curiosity of hacking within me.
Running a Cardano Stake Pool Operator: From the Horse's Mouth
Other experts are at work... so let the youtube with no science credentials or credibility judge and censor vocal scientists instead? How is that a desirable process?
It's interesting though how come the certs were fake ones. Is it possible the US lab outsourced the whole process?
The fraudulent business of recycling
Periodicity
If you're really worried about people in other nations, you should start voting and protesting against all our stupid wars, sanctions, CIA operations, assassinations, etc. that harm people in other nations. Left to their own devices, free from USA predations, they would mostly be fine. I mean, they might not have iPhones, but most humans throughout history also have not had iPhones.

If you don't want your communication to be compared to that of the crudest politician in recent memory, you shouldn't communicate like he does.
How to enable subscription payments for your SaaS Bubble app using Stripe
I wrote up the detailed steps to receive Stripe payments for a subscription to your own app built with Bubble.io. Access to the article is free and it helped a bunch of people out, so I thought I'd share it here too.

..Marty
> Four bytes are still overhead.

I hedged with "typically" but I'm a little skeptical about the environments in which this is a problem. Embedded stuff that's severely memory constrained probably doesn't deal with that many strings.

But you could use a variable-sized length prefix as another commenter suggested to have no overhead on short strings. Its size would be decided at allocation time so you're not shifting the string. You could indicate it via high bits of the length or low bits of 4-byte-aligned string pointers. It's an extra branch or table lookup or the like on access though.

> Also, you often need to keep the capacity of a string. Another four bytes

Nonsense. There are exactly no situations where you need to keep a capacity with this scheme and not with traditional C strings.
I love it when my image formats suffer from the halting problem.
Saving 8 bytes, and saving a few cycles by scanning rather than counting... is an argument for using NUL-terminated strings as an optimization in specialized circumstances.

In the common case, the extra 8 bytes and the cycles saved (if any) don't matter — and are not worth the sacrifice of making it harder to program correctly.
How can it be not safe since it s a very widely used antiparasitic
Yes. Basically none. The vaccines have been given to almost a billion people. And side effects have been tracked. How can we find this number? We already have it.

If there was anything dangerous within even 3 orders of magnitude of those that have died because they didn't get the vaccine it would be front page news.

Get vaccinated
WEIRD stands for Western, Educated, Industrialized, Rich, and Democratic.
> Even before the advent of the internets, catching students cheating was generally not particularly hard. ... Catching this sort of malfeasance has gotten even easier with the development of plagiarism detection software.

> ...students use umlauts in place of quotation marks and acute accent marks in place of apostrophes

Those students figured out a way around the plagiarism detection.
Industrial development can be promoted without creating poverty by using the tax code to eliminate any after-tax speculative super profits in real estate and finance and non-industrial sectors so that investors are forced to put their money into the real economy.

Then by using financial regulations to require loans which expand quantity of legal tender in circulation to be issued on security of the replacement cost of tangible industrial capital, structures, plant, and equipment values rather than on security of the present value of future property rents.

Then by replacing regressive sales, consumption, and payroll tax with a distributive ground rent tax on property owners.

Promoting industrial development through regressive taxes and wage suppression is only the aristocratic form of industrialization pursued by right-wing governments when they are unwilling to eliminate after tax ground rents and non-industrial super profits enjoyed by the rich.
Is it still happening? Seems to have been resolved for my friend that was hit.
Or just use thymalin.. It's really sad how groundbreaking scientific knowledge keeps being niche.
It's hard to imagine a place where free speech is more important than in Court testimony.

Suppressing testimony by punishing people for speaking honestly (nor merely disregarding their testimony) undermines the very foundation of thr legal system.
I thought this was going to be another opinionated railing against "woke culture", and my surprise - and disappointment - is immeasurable.
I don't even know if that's possible. 3 miles is a long way, and bodies are squishy and... easy to separate, relative to a rock or bullet.

The speed you would need to get that far might be high enough for the force to tear off limbs or to shred the skin. The chances of you getting a permit after you put "might rain human limbs or remains on the beach" is very low.

You'd probably have better luck with little solar-powered, GPS-guided dinghys or kayaks that can go out 3 miles, drop the body and come back.
College Board worked with Khan Academy to put a free SAT prep course (with practice questions that it uses to figure out what you need to work on) together. Even if you don’t have internet at home, you could definitely get enough prep with an hour at a library or your lunch period a day. I boosted my score 100 points and only did 15-20 hours prior.
You can just try it and see [1], but tl;dr, no, that problem doesn't occur here.

The elements are power-of-2 sized, so at worst there would be a shift instead of a multiplication. On x86 there's 'lea' which could encode the shift-and-add in a single (fast) instruction. (Actually, even 'mov' can encode this. See [1].) And one nice thing about simple linear indexing (with power-of-2-sized elements) is that the compiler could use index registers on x86 (si/di), which can sometimes result in even better code than with pointers.

But note that there isn't even a need for a shift to begin with here (let alone multiplication), because it'd be a no-op... since sizeof(char) == 1. So the whole concern is moot.

(If these were generic iterators in C++ I'd have coded them differently, both due to the reason you're mentioning and also because I shouldn't assume they'd be randomly indexable to begin with.)

[1] https://gcc.godbolt.org/z/dqxj5WzTd
Crudely speaking, topologists consider spaces as if they're made of rubber - a mathematically perfect rubber that can be made infinitely thin or stretch to infinity. So, a circle can be made with an infinitely thin circular rubber ring, and you just pinch three points and stretch, and you get your triangle, in any shape.

But you can't get a straight line - to do that you need scissors to cut one point of a circle (to be precise, remove a single point) - and then you can stretch the remainder to infinity and now you have your line.
Well, you have elected government that sets curriculums. And the way school systems are set up. Either at state level (Germany) or federal level (France). Then it is up to teachers to teach that curriculum, find someone ambitious enough to become a school principal to run a particular school. All while coping with the stuff the ministry comes up with.

Sure, some teachers go on to set policies ay the ministry. Those are actively teaching anymore. Of course there is so much more nuance to it, but in a nutshell that's it.

You have an elected government setting policies. You have public servants acting on those. Democratic and surely somewhat technocratic. But it works.
Can you tell me more about simple php scripting? I enjoyed php when I was new to the industry a while back, but do you mean that someone can be good at php and just work contractually and actually get by still? That’s pretty incredible and tempting tbh.
Docker Dev Environments announced at DockerCon
last year's reports about ivermectin were from 3rd world countries, and they were not rct. i guess that contributed to dismissing it.

OTOH there was a lot of hype around remdesivir, despite it being barely effective. Pharma is really a weird world
The point is to control the island that locks in their aspirations of controlling Asian sea trade and thus slowly controlling the countries around them.

They don’t care about the people there one bit.

When they control most of the world in the future, they can just rewrite history and nobody will know. Classic move.
The gig economy's dark-money, astroturf “community groups”
Old garbage, as redrain notes, not to mention see https://jamaletter.com and/or https://c19ivermectin.com/scheim2.html https://c19ivermectin.com/scheim.html and finally https://c19ivermectin.com/lopezmedina.html
I grew up in a multi-story ~1700 sq ft home where I took daily showers on the second floor, traditional tanked hot water heater in the basement. Took < 20 seconds for water to turn hot.
What do you know now that you wish you knew then?
Even if that were true, on the other hand it's never been easier to access information for free, and it's never been easier to do a startup.
According to almost all comics, being really funny means you're probably messed up in some way. It's a sad reality of how our minds work.
This article seemed to dance around stereotypes and therefore ended up saying almost nothing at all.
That would depend on the efficacy of the existing possible treatment. Ivermectin is 70%, so it's not as effective as a vaccine. But it's a hell of lot better than nothing.
Not GP but I live in Philly, a very dense walkable city. It is absolutely reasonable to set a speed limit below 35 mph on most of our streets. Especially in residential neighborhoods, but honestly ideally pretty much everywhere in Center City and a good distance away from there too.

EDIT: And in fact most of the residential streets here are 25 mph, and I think only that high because it's the minimum posted speed limit in the state of Pennsylvania. (I'd like to see that lowered personally, and more importantly some traffic calming that's actually effective.)
> other alternative drug goes through due course they would have no difficult being accepted.

That is quite naive, the "due course" here would mean very costly trials that usually big pharma pays for. I'm not holding my breath for them to pay for that.
Ah... it doesn't allow installing apps outside of the App Store. If I named an app that is paid on the App Store, you will find it nearly impossible to run it on an iOS device without a jailbreak... or even with a jailbreak.

Also "root" is Android terminology.
I think censoring people responsibly discussing Ivermectin is deplorable. It might be a good idea to censor people advocating for using horse-Ivermectin, or selling fake Ivermectin, but there is no excuse for censoring a reasoned discussion of the facts.

I am ambivalent about whether or not it does work. I have read articles that make it seem promising and I have read articles that suggest it does very little or nothing. Not sure how to come to a conclusion there. However, everything I have read does seem to agree that it is safe to take and cheap so it certainly seems reasonable to try.
>“Are Ideas Getting Harder to Find?”

No.

People without ideas are finding it easier than ever to get into leadership positions, and there goes innovation.
I can’t tell you how many startup’s splash page animations have actually caused my PC fans to spin at maximum. What is this website possibly doing with all my available computing power?
The parent only said that 50% reduction for BTC was not cause for alarm for them because of how often such big drawdowns occur in crypto. Nothing more.

Stop trying to pick a fight.
They are more interested in movies, I think.
Related - China's loess houses

https://en.m.wikipedia.org/wiki/Yaodong
Why could explain Ivermectin effectiveness pharmacologically?