skysight-inc/HackerNews huggingface dataset:
What's a TD?

> The replacement producer was simply moved to work on another project.

I wonder about the theoretical situation when the replacement did a significantly better job, and you needed just one person for that job role.

Then, I wonder if there could be some resentment when the original less talented person returns and "kicks out" the more talented one.

Maybe a solution is to not be too attached to the company and how it's going, and have a life outside work, hmm. And just not care

> fostering a culture where no one person is absolutely pivotal to the project

That sounds good. Maybe could even be a good thing to practice project leader rotation, without anyone going for parental leave
AdGuard names 6k web trackers that use CNAME chicanery
I used to live in Alameda, internet is way better where I’m at now in rural Illinois tbh.

I think the corruption in many places are what seriously hamper development of fiber networks.
I didn’t know that it was Microsoft that lobbied for them; that perplexes me since I thought Microsoft’s version of them were a bit different (for example, I think C11’s explicitly fail on overlapping inputs where Microsoft specifies undefined behavior) and because Microsoft didn’t bother supporting C99 for the longest time. (Probably still don’t, since VLA was not optional in C99, IIRC. I think Microsoft was right to avoid VLA, though.)
Even better is that tomorrow is Friday, and that room gets down on Friday (for better or for worse).
I kinda wish it would. Anecdotally, as a dual income household grandparental assistance was indispensable in raising our baby, and I've sorely missed it since the pandemic hit and no one's visiting any more. I recognize how lucky we were to have that available, since not everyone does.

I think it can also have great benefits for the grandparents, who find a new sense of fulfillment and purpose and something to fill their time later in life. It reminds me of the studies on combining preschools and nursing homes showing positive outcomes for both populations. Also, intuitively, multi-generational households were the norm throughout human history before industrialization and economic centralization encouraged "leave your family behind and go Seek Your Fortune".
Survey: San Francisco tech exodus 'greatly exaggerated'
I'm on my second time (: . Do you have links to the resources that you mention?
If you have advantageous mutations in two parallel family trees, sexual reproduction permits them to join into a single tree while asexual (splitting) doesn't. There's a similar effect for eliminating harmful mutations that coincide with beneficial mutations.

It's more complex in practice for bacteria - there can be DNA transmitted horizontally - but bacteria usually win out by sheer numbers.
The description makes it sound like this is lending to businesses, not consumers.
Hi everyone!

I just released the Practical Python Projects book! (https://practicalpython.yasoob.me) You can get a free sample chapter here: https://practicalpython.yasoob.me/sample/chapter2.pdf.

I am happy to announce the first version as a release candidate. I have poured a lot of love into writing this book and would love to hear what you guys think. (A limited 100% off and discount coupons at the end)

This is not a pure beginner book. The book does assume some background Python knowledge. You need to know the basics like methods, functions, classes, and such. If I use something that is not typically covered in beginner Python books, I will explain it before I use it. There are no tests for these projects as they are really small and teach you how to glue different pieces together.

Some projects that we will be making

- A Twilio bot that keeps you updated with the latest match scores from the FIFA World Cup

- A Facebook Messenger bot the shares latest memes, jokes, and shower-thoughts scraped from Reddit

- An automated invoice generator and deploying it using Flask

- Making automated cinema-preshow by downloading and stitching together related movie trailers using moviepy

- Generating automated article summaries and overlaying them on top of images

- Understanding and decoding JPEG images using vanilla Python

- Creating a GUI application using PyQt for downloading online videos

- Implementing a TUI email client that allows reading emails in the terminal

The first 50 people can use the "hn-love" coupon (without the quotation marks) to get 15% off. I am also offering a 30-day no-questions-asked refund policy if you don't enjoy this book and don't learn anything new.

You can buy the book and see a detailed FAQ at https://practicalpython.yasoob.me. If you want to try before you buy, see the sample chapter at https://practicalpython.yasoob.me/sample/chapter2.pdf, or you can learn more my writing style by reading any of my recent articles over at https://yasoob.me.
> Do your vets recommend the drops instead?

Well, "the drops" is a broad category. They typically recommend certain spot treatments and offer to administer it for free because the most common reason for problems is misapplication and they really do care about the health and safety of your pet. Most of these are friends or family who happen to be vets and not my pet's vet, but the same applies.

> I use the collar because one of my cats did not react well to the drops.

It stands to reason that even a potentially dangerous treatment could be better than no treatment at all when the standard front line treatment fails. I think there's also definitely an element of "now that you know it works and didn't instantly kill your cat maybe switching to something else introduces risk unnecessarily". It's probably best to keep following your vet's advice for your cats' specific circumstances.
Indeed, that's precisely what makes these techniques so powerful. For many people, even self-knowledge isn't a reliable defense.
And it's nothing new with move/copy semantics either. Even passing by reference is bad for hiding that. Every time I write C++ I'm tempted to take pointers as parameters in places where you'd normally take a reference just so the call site has an indication of what I'm doing.
> That section mentions a wide range of policy implications—several paragraphs that you didn't bother quoting—without advocating for anything in particular beyond reducing harm.

Yes but that is still propagating the unsubstantiated view that cryptocurrency mining is an important cause of societal harm worthy of mitigation/regulation. There is no comparison to other similar or bigger economic activities, no mention of the fact that the pollution happens at power plants and is under direct control of the power plant owners, not miners. It is inordinately focused on societal harms of cryptocurrency mining, it ignores the benefits beyond mining profit(which is uncertain but non-zero and hard to quantify in dollars). Limitation of the paper narrative to such a narrow topic shows bias.
It’s funny, I worked exclusively with MISRA at the start of my career. Eventually I started a job at a FAANG and received quizzical comments on why I implemented a memory arena.

The argument was to allocate memory freely and let it pool memory as necessary. Fair enough, it was simpler and fit the standard expectation of development.

The issue is that if you talk with the allocator team they complain of not being able to fix performance issues fast enough due to allocations firing off left and right in the middle of a request.

I never realized that my view of C programming is heavily influenced by MISRA until your comment.

I know game engine programming follows a similar, perhaps unspoken, convention.
Apple clarifies iOS default music app feature, and it’s not what people thought
+1, my university's program seemed to work well with "program anything" (Python), "program with objects" (Java), "program some cool lower-level stuff" (C)
Every time that Chrome updates I have to give it macOS permission to access my location (if I want my location available to any web page at least).

Is there a way to make this permanent anyone is aware of?
It is for fixed length records, which is why it also zeroes the remaining space.
I wonder if you can do this using an AWS instance of a mac. And then move the photos to S3.
Do you know why California is using batteries instead of cheaper nuclear? Is it just for cynical political reasons?
Thanks for the clarification. Clearly, I have things to learn about SVGs.
I’m a twin. How you read that as me calling twins twisted and toxic is rather confusing to me. It was obvious that I was referring to the system that forces these delays in reproduction.
The Git Mailing List Archive on lore.kernel.org (found in the README from the git mirror on GitHub) has more context [0] [1] [2]. From Jeff King on 2018-07-24:

The strncpy() function is less horrible than strcpy(), but
is still pretty easy to misuse because of its funny
termination semantics. Namely, that if it truncates it omits
the NUL terminator, and you must remember to add it
yourself. Even if you use it correctly, it's sometimes hard
for a reader to verify this without hunting through the
code. If you're thinking about using it, consider instead:

- strlcpy() if you really just need a truncated but
NUL-terminated string (we provide a compat version, so
it's always available)

- xsnprintf() if you're sure that what you're copying
should fit

- strbuf or xstrfmt() if you need to handle
arbitrary-length heap-allocated strings

I just did a search on the keywords 'banned' and 'strncpy' [2]

[0] https://lore.kernel.org/git/20180724092828.GD3288@sigill.int...

[1] https://lore.kernel.org/git/20190103044941.GA20047@sigill.in...

[2] https://lore.kernel.org/git/20190102093846.6664-1-e@80x24.or...

[3] https://lore.kernel.org/git/?q=banned+strncpy
"That will kill any ability to use heuristics for blocking" was a pretty common response to Google's Manifest V3 stuff. They knew this was coming.
The letter specifically calls for symmetrical speeds of at least 100Mbps. Let's hope that this is the death of PON-based FTTH.
I just want to understand how to do pretty basic things with CSS. Like building hackernews in css even seems difficult. Anyone have suggestions?
Assuming that they're using the Google Photos API for this, maybe the upload media API calls [1] don't trigger whatever handling is needed for Live Photos? The Google Photos app might be doing something undocumented/unavailable-in-the-public-API that triggers the Live Photo behavior, since a Live Photo is two associated pieces of media.

Or Apple might just not be uploading the videos that accompany the photo for some reason.

[1]: https://developers.google.com/photos/library/guides/upload-m...
U.S. blocks Myanmar junta’s attempt to empty $1B from Federal Reserve account
> The vast majority of pre-modern humans were likely starving or malnourished, and those problems are mostly solved in the modern era, thanks in part to refrigeration.

What makes you think that? I find it more likely that early hominids fared about as well as contemporary chimpanzees. Some starving, some being malnourished, but definitely not a vast majority.
it's the name of a place where you might have gotten alcohol during prohibition. where you could 'talk without challenge'
Of more than a dozen friends who moved to Silicon Valley for work/education, all but one left California around the time they started their families. The impression I get is that they're happy they had a chance to work there for a decade or so and now they're happy to live somewhere else. Silicon Valley sounds like a great place to do many things and it's OK if having a family is not one of those things. I'm not saying it's not possible -- one of my friends is making a go of it. But it does sound like having a family there is playing on Hard Mode.

Contrast that to NYC where most of the folks I know who started families there still work in the city, though some did move a little further out into the suburbs.
Melvin Capital Had a Better Month
You could send a pull request, it doesn’t seem too complicated to implement
Legalmattic
> -regulating ISPs as a free market is, to be hyperbolic, a disaster. there is effectively a monopoly in most parts of the country.

starlink is changing that, as these articles and letters are being written.
The "steam turbine attached to the gas plant" as a system benefits from the high power density of the gas turbine. For nuclear to do the same it would need to run at high temps (e.g. sodium, sodium fluoride, ...) and be coupled to a combined cycle powerset and heat recovery system...

Still needs the high temps!

Nuclear competes not just with fossil fuels but with "burn the fossil fuels, capture the carbon, inject the CO2 back into the ground option", which might not be so bad if this gets perfected

https://en.wikipedia.org/wiki/Chemical_looping_combustion
This doesn’t seem to be true at least for the nervous and immune systems. Probably also the microbiome we host. There’s lots of important stuff yet to be learned with those systems.
I'm partial to https://github.com/antirez/sds these days
I'm skeptical anti-UBI. Well... let's put it this way. If Stockton instead did a program where those 125 had to go to community college to get an associates (bachelors would be best, but let's stick to the 2 year timeline they gave to be fair) in something useful or some sort of skilled trade along with the 500/mo, that perks my interest and gets my vote for a pilot program in my area. To me, that's not just throwing money around hoping for the best, it's a straight up investment in people and communities. When I say useful, I mean it. No philosophy, art history or anthropology. Something in the Occupational Outlook Handbook that's currently needed and has a good 5 to 10 year outlook that's realistic for people to get a paying job better than a cashier in a short time span. STEM and medical would be great, but 2 years is a bit rough on education level to get a job in those fields. Maybe not. New course programs should be developed? Also, I think the 500/mo (maybe more) stipend is based on doing well in whatever course you're taking. You slack, you're cut. Hell, maybe a sliding scale on stipend amount if you choose a career that's really high in demand. Add in, different industries are more realistic than others in different areas. I'm in the Space Coast in Florida. A shitty STEM background gets you a decent job around here. Other areas are not so lucky. Adjusting fire on suggested careers would be necessary.

Obviously some (a lot) number tweaking is needed, but I hope the general idea comes across. Even though what I suggest is more expensive, I think in the long term it would be cheaper on the city. I would vote for it too. Under this idea, the handout money is not longer the pump. Because now, the "help" is done and over in Stockton. With an added education in something extra they didn't know before the program, the participants will end up being the pump increasing tax revenues for their community.

I know I just did the whole scholarship/grant program with a few extra steps. Honestly, the system back in the mid-2000s was broken (I don't know what it's like if it's changed since then).
This is spot on to my experience as well. Startup employees seems to move in waves and being the first wave of employees at a startup usually means working the hardest and getting burnt out. In my experience it's the second and third wave employees that have it easier, get to reap the benefits.

(Also, your bullets didn't format properly, you may want to edit your response to fix that)
I think the Telecommunications Act of 1996 was supposed to help improve Internet access through its Universal Service provision. Of course all the telecoms pocketed the money and didn't do shit.

https://www.fcc.gov/general/universal-service
Here's boringds's post, for anyone else who's curious: https://boringdatascience.com/post/data-science-is-dead-long...
Not only whites can be racist. Any race in power, anywhere, becomes the new "white man" when powers are tipped. There is nothing fundamental to your skin color: all of us bear the seeds of our future cruelty. And until we address desire and deconstitute it atom by atom, none of us will ever be free.
It's curious this isn't (yet?) HN front page news.
http://youmightnotneedjquery.com

I feel the site is being sarcastic how jQuery is easier to write than vanilla JS.
Thanks for the confirmation. But my concern remains: they banned strncpy without a proper replacement. In addition, I didn't know the extra restriction of strlcpy until today (I have never used it before because it is not conforming to C99/POSIX). I might have fallen into this trap.
An unnecessary one because of safer alternatives.
None of our technologies is flawless and on top of that there is human greed and incompetence. This means that even if we had clean nuclear energy, we would not be able to operate it faultlessly worldwide for a long time.
Or do you know an authority or a company that you would trust with this?
1. You had some pot when you were a teenager, ended up in jail. Once you got out of jail, it is near impossible to find a decent job as a felon, even if you had the work ethic and expertise. What is your plan in this case, without outside help?

2. I once worked for a financial services firm in NYC. One day I see this 20 year old intern - sharply dressed, smooth talker. But she did almost no work. I was wondering how did she get the internship. Guess what? Her mom worked there. There must be hundreds of kids who were more qualified than her, but she got (and kept) the internship, thanks to her mom's connections. If you are a poor student, how are you gonna compete with her?

3. I know of people who work as hard as anyone else, still earn the same income year after year. There is near zero chance for promotion. If they switch jobs, it is the same scenario in the new job. What is your advice for them?

It is very offensive (and honestly, just plain dumb) to claim that poor people have attitude problem. Upward mobility is not as easy as it is portrayed. Maybe it was easy 40 years ago, not today.
The expectation of a C89 programmer is that a valid C89 program can be compiled for any machine that has a C89 compiler, and likewise for C95, C99, C11, and C17. Furthermore, it's expected that any C89 program can be compiled unchanged on any future version of C, and the standard library is part of the definition of the language, and therefore functions cannot be removed.
https://images.indianexpress.com/2021/03/dr-seuss.jpg

Maybe I'm old fashioned but all I see is a smiling boy, in traditional Chinese dress, eating what appears to be rice out of a bowl with chopsticks. Are there actually Chinese people who find this offensive? Why?
The difference between then and now is that they have given up attempting to use blockchains for anything, and simply now claim it is a "store of value." In other words, they've embraced that it is a ponzi scheme, and learned to love it for what it is.
I doubt a model of disease for the plague that requires rodent to human transmission. Here is a good explanation of evidence of spread direct from human to human: https://www.newscientist.com/article/mg17223184-000-did-bubo...

According to Wikipedia "Although academic debate continues, no single alternative solution has achieved widespread acceptance": https://en.wikipedia.org/wiki/Black_Death#Causes
Thats a great idea. I'm trying and failing to find gotchas.
I was providing a quick and simple example, not making a generalization about all Facebook users. Just as my anecdotal evidence does not necessarily demonstrate an addiction problem across all Facebook users, your anecdotal evidence does not demonstrate a lack thereof.

The point is that there are users whose use of a service is driven by psychological manipulation, not by a value proposition. The relationship between many people I know and Facebook is merely an example.
Gauss strikes again. simplicity [pdf]
I find it highly backwards that documentation on "what to use instead of X" is in the commit message disabling X. One _might_ do it and might remember to do it, but IMO it makes absolutely no sense for this not to be documented properly in code, as suggested by OP.

By that logic, a non-insignificant amount of (good) comments in code could be removed and people asked to "git blame the code and check out the commit that made it for the documentation". Of course this could be done, but it sounds ridiculous even typing it out.
In a compiled language, when you remove a function it fails to compile. So removing them from the standard library forces code changes - they're not usually drop in replacements because the semantics were wrong in the first place.

Removing strcpy would make the Python transition look easy.
> Agile/Scrum is great if done properly.

and, I'd like to point out, Agile/Scrum is great IF applied on suitable organizations/projects.

Some projects are too big by nature and, regardless of how much resources are available, there are not enough 10x engineers to be hired and trained to deliver the project within a feasible time.

Some organizations are too hierarchical and there's no way to change entire cultures based solely on software projects' needs. By extension, its employees are unlikely to show the level of ownership required by Agile.

Don't get me wrong, I like Agile and favor it over other method families whenever I can, but I have a different point of view when it comes to organizations "not well-suited to Agile". I don't necessarily see them as limited solely based on how well software projects can be carried within their structures.

It's indeed advantageous to possess a software project-friendly environment. That would provide them a good edge over competition.

But there are so many other things beyond that, and so many organizations being successful on their main goals despite being Agile-hostile, that I'm more inclined to look for ways to cope with their shortcomings.

I'm not implying you wanted to say that, but I see many Agile enthusiasts classifying those organizations as "not prepared to Agile" and I think this is so wrong. I see that simply as a natural incompatibility and, if I had to elect a culprit (which I don't think to be the case), then Agile would be the party which is in debt.
It seems to have become less common for providers to advertise upload speeds. I was helping a friend pick a plan from a non-comcast cable provider, and she had to call to ask about the upload speeds, as the information was not on the web.
My kids sure now what a high speed Internet connection is, and they're as far from "tech" as you could imagine. Ask any gamer too...
Maybe.. OTOH, in the US it seems the common expectation these days it that men pull their weight when it comes to raising children. God knows I would have gotten divorced if I continued to work till 10PM leaving my wife at home with a young child.

Which maybe, if the man is ok with biologically having a child they see a couple times a month that works, otherwise most men are going to be up feeding the baby all night long too, and picking them up from school, staying home to take care of them when they are sick.

So, just the split work/family focus is going to remove most men from the competition to be top dog at the office unless they are successful enough, and can find a women willing to be a housewife.

Women can probably pull this off in reverse if they are successful enough, and find an "artist" or someone already outside of the traditional male career paths too. Biologically its not unheard of for women to work until their due date and then return to work in a week or so, leaving the child with a caregiver (frequently an aging parent/etc).

Of course if she wants to participate in the child's upbringing the split focus issues will likely arise too.

Hence my comment that to imagine this is strictly a female problem is an oversimplification. Yes, the problems are slightly different, but to imagine a man can work his way up to some level of success and then find a younger woman willing to be a housewife to a 20 year older man is a risky proposition too.