skysight-inc/HackerNews huggingface dataset:
You might be interested to read Hillel Wayne's crossover project, where he interviewed a number of people who had worked in traditional engineering roles as well as in software development.

https://www.hillelwayne.com/post/are-we-really-engineers/

The upshot is that "engineering" isn't the paragon of excellence we like to think it is. Whether or not you agree, it's a good read!
Say what you will about the shit job that the US military industrial complex has done in this region, but I can't help but feel that the real horror of the withdrawal is that 50% of the country's population is being condemned to what is essentially slavery.
> It doesn’t matter it was land owners. You said that anything but monarchy was unheard of. It wasn’t.

I think you may have assumed someone else was replying to you. The idea of democracy certainly exists in ancient times, but not in the modern sense.[1]

> I wound demonstrate that the West is based on liberal science by simply observing it is. To your other questions - pass the joint.

I guess I'm a little confused: what is "liberal" science? Is there a specific observation to which you could point to show that the West is "based on" it?

The other questions are, I think, relevant, but I'm content to pursue this one as it's where I'm most interested in your thoughts.

[1]: some good contrasts at https://www.history.com/topics/ancient-greece/ancient-greece...
Charity teaches underprivileged kids to humanely hunt their next meal
Yea you are right. It could be a service being down and requests piling up, or a cache key expiring and many processes trying to regenerate the value at the same time, etc.

I think the article just used this phrase to describe something else. (Great article otherwise).
> it seems to me like there's been a shift across all sectors (not just journalism) away from professional integrity

It starts with the meaning of "professional". I know of two opposite ones:

1. "Professional" as in doing high quality work, no corner cutting, having respect for the problem and the customer.

2. "Professional" as in putting business first, with the implication that any possible corner will be cut, any possible sacrifice on quality will be made, if it makes the business more money.

The second meaning is what I've been seeing increasingly often over the years. It's a frequent sentiment in our industry - it's professional to keep applying subpar tooling and methods to a problem, because upskilling costs money short-term. It's professional to bloat your product and make your users pay an implicit tax, because it's saving fraction of those costs for the company.

> I don't know if it's because the people who used to care care less, or because the people who never cared are being put in charge (...)

I sometimes wonder if the answer is: none of those, things have always been as shitty - it's you and me who are growing up and discovering the world for what it is (and/or growing more cynical in the process).
At least with GNU ls, 'ls | more' does not disable sorting. It disables automatic color (which is important -- coloring requires 'stat(2)'ing every file in the directory).
Any grpup that is three or more in Albanian is called a "grumble"

Good automation rule
By that logic you should never give away money because your principal will never stop growing.
Lisp only has dynamic scoping? C comes with first class function objects, closures, ... ?
podcasts, speaking engagements, blogs, twitter, substack, HN, Product Hunt, Instagram, small communities, early customers, newsletters.

The reason digital advertising is so popular with VC backed startups is because they need capacity. If you are starting a bootstrapped startups getting a flywheeling going starting with 50 people is fine.
If someone would make a tutorial that replicates the process you just described, that might be a good way to teach monads.
Not neccessarily, when your program is (tail-)recursive you can carry the "current" value along without ever really mutating it. Haskell has the State monad which doesn't require any impurity.
with "ls -f" on 1.9M files its 45 seconds, much better than regular ls (and system load of 94)

2.25M and its 60 seconds

I'm also spamming about 16-18 thousand new files per second to disk using a very inefficient set of csh scripts...
Individuals do. By voting people in power who care and act.
Ok, we've changed it to the (slightly less dramatic?) subtitle. Not sure which is the better choice here...
Werent there audio system calibrators in the nineties doing room calibration in similar manner (microphone on a cable)?
Yeah, you can usually get away with super-loops in Arduino (YMMV depending on the libraries you want to use and your latency requirements). It's conceptually simple but creates a lot of complexity in the code you're writing (you basically wind up writing ad-hoc schedulers for each piece of logic you write). For simple tasks (especially with relatively simple control flow), it can be good enough and the ease of writing it can make it the best approach. As the complexity of your system grows it becomes less and less readable and maintainable.
The issue here being: what happens when you have your proxy configured as "proxy.lan" but you make a typo when entering it in local DNS or in your browser settings? That DNS request for "proxy.lan" will now go all the way out to the root servers for every page load, multiple times.

Not so important for you with your 200 tabs open, but quite important to the people maintaining the root servers who see a significant percentage of all queries being for bogus domains that don't exist.
From Kurt Vonnegut's obituary-poem for Joseph Heller [0]: the two were at a party hosted by a billionaire. Vonnegut asked how he felt that the billionaire made in a day what Catch-22 earned over its entire run:

And Joe said, “I’ve got something he can never have.”
And I said, “What on earth could that be, Joe?”
And Joe said, “The knowledge that I’ve got enough.”
Not bad! Rest in peace!

[0] https://apoemaday.tumblr.com/post/190861571089/joe-heller
So just do it with VRML5 like HTML5.

<cube id="myCube" x="0" y="0" z="0" width="10px" height="10px" length="10px" onClick="someFoo()" onMouseOver="someOtherFoo()" onTouchStart="someBar()">

<video src="blah.mp4" rotateX="45deg" rotateY="30deg" autoplay="true" loop="true" onClick="document.querySelector('#myCube').rotateX(45);">

...

No reason the above can't be done. But many people will come up with lame excuses about why we shouldn't have nice things.
There's no need for laws here. If I want to sell my old bike to a friend I'm not required to post it on Craigslist first. Real estate is no different.
Why? Defaulting to UTF-8 for modern HTML, and to ISO-8859-1 for legacy pages, makes a lot of sense.

Pages that haven‘t been adapted to HTML 5 in the last 10 years or so are exceedingly unlikely to do so in year 11.
I love functional programming and I think every CS major should learn the key concepts of it: higher-order functions, immutability, purity, and how they can lead to better designs and more reliable software.

However, I believe that even after the learning curve has been scaled, the task of writing code in functional languages is objectively more difficult in at least one way: Coding a function in the expression-oriented syntax of functional languages has a higher cognitive load than coding that same computation as a sequence of statements. You simply have to hold more things in your head.
Is a replica not a cache of sorts?
I'm not sure I follow, what is the "OOP" solution as you imagine it here (that all these technologies are alternative to)?
I don't think your car suggestion makes sense, I'll try and locate some numbers to demonstrate.
Saying that a lab leak of a SARS virus has no precedent is completely inaccurate.

There was a lab leak of SARS1 in 2004 which infected a lab worker and the people he came in contact with.
https://www.google.com/amp/s/www.the-scientist.com/news-anal...
You're not banned because of your "viewpoints" but because you've created dozens of accounts to break HN's rules with. That's not cool, and something this community would strongly disapprove of if people knew about it.

Btw, goatse ascii art is not a "viewpoint". Well, I suppose it is in one sense.

If you don't want to be banned on HN, you could try the approach that I've recommended to another user with a similar history here: https://news.ycombinator.com/item?id=28191897.

https://news.ycombinator.com/newsguidelines.html
Agree re smell test. Those directory blocks are cached, even in front of a slow virtualized disk, and most of those syscalls are hitting in cache. Author is likely running into (1) stat calls and (2) buffer and sort behavior, exactly as you describe.
You do realize it returns 1 for an empty string right?
I mean it doesn't have any digits in it...

What about adding a check of str[0] == 0 -> return 0
Also, giving char str[] will make it char* str.
Which can be null. This may cause reading a random memory location (possibly segfault or use-after-free)

edit: I get the comments but empty string still contains no digits. Given the regex would be ^[0-9]+ (+ instead of *)
What I want to say is string has a numerical value or not. Empty string is NaN.
Tyson Foods says costs are rising faster than it can raise prices
It is possible to produce software of great quality if you are willing to spend a lot of money on it. And if you want to build big system good quality is a necessity. Else you will discover like IBM did early on that fixing one bug on average can create 1.2 new bugs, or something like that.

The issue is that often the quality is good enough to have something that works and then the buyer/payer does not want to spend more. Problem with that is it makes the maintenance and future adaptations expensive and can turn the system into one where fixing one bug creates 1.2 new bugs.

Therefore I think it is wise to err on the side of caution and spend more on software quality than seems to be needed immediately. It is a bit like in the early days of bridge-building the bridges needed to be built stronger than needed because it was not possible to calculate the safety margins accurately.
SPF, DKIM, DMARC... all useless.

I somehow live without all those for what, since before they appeared. 2001 in fact. With my own MX.

They are just ineffective bandaids.
Meet the 2021 Wikimedians of the Year
My theory is its data driven decision making. It's messed up the corporation to be purely metrics driven. Everyone hunts the metrics and misses the qualitative reasons for anything. We distrust internal models now, and try to be purely empirical, which is a mistake. We are overly technology now, but the technology lacks nuance and long term reasoning.
>> there are no women in those paintings/photos.

Except the last one, the one from 1995. Progress happened. I"m glad to see that the first woman to be depicted is actually sitting at the table. I'd be unhappy if the one woman in the article was servant or mistress to one of the men. This woman is clearly a world leaders, although I cannot figure out who she is.

(Is the woman leaning over the table Hillary Clinton?)
The blog post misses the (controversial if you're one of the ex-applicants) decision by ICANN to ban .corp, .home and .mail from ever appearing on the internet. So you've got those options too.

Or in ICANN management-speak:
"Whereas, the Board considered that the applicants were not aware before the application window that the strings .CORP, .HOME, and .MAIL would be identified as high-risk, and that the delegations of such high-risk strings would be deferred indefinitely." [1]

[1]https://features.icann.org/addressing-new-gtld-program-appli...
Some multinational will create much more pollution than any individual, but it's also effectively distributed on all of their customers "account". So while a toaster manufacturer might create more pollution than someone's trip to Bali, if you divide by the numbers of toasters the produce, that 20k km round trip will outweigh the toaster. And the individual has total control over their holidays and can make a difference. They just choose not to, because it's easier to say "the world must change, what good is it if I do something".
Oh, you mean other than about 90% of journalists in America.

I worked around multiple newsrooms. It's clear that you have not.

There is a very big world outside of the corner of the internet that you live in. And it still exists despite the internet trying to kill it off. Most "hometown" papers still exist. Go find some of them. Read them. What you'll see is that most of them are staffed by about 5-6 people, a few freelancers, and then a bunch of bylines that are simply the name of the paper, because they don't want you to realize how short-staffed they are (these are also written by those same journalists and editors).

That's the reality of the modern newsroom for the VAST majority of news outlets in the US.
Yeah ...

However, lets just accept that regular people don't know those tricks and we should keep files in subfolders? I have that logic in any app that has potential to spam a directory. You can still show them as a single folder (somewhere called branch view) if you like but every other tools that uses ls will work like a charm (such as your backup shell script)
In bed listening to a podcast with my partner so unless i remember this post tomorrow I’ll never know.
My 1998 Mercedes E300D (bought by me in 2009 at around 180K miles) was one of the best used cars I'd bought in terms of reliability. We drove it 7 years until New England salt ravaged the disastrous "environmentally friendly paint process" (which served to provide an early retirement for a mechanically sound car, the overall environmental benefit of which I cannot see).

Mechanically, in the 7 years/~35K miles we drove it, it needed brake pads once each axle, oil changes, wiper blades, one glow plug, tie rod ends, and one tire plug. That's not quite EV level of low maintenance, but it's pretty solid.

Best thing about the German car reputation is that some people are afraid to own them past the warranty and many are afraid past the 8-10 year mark. It makes them (911s aside) reasonably priced to buy used.
I'm not sure what you're referring to.

Here's a dude from T-Mobile explaining how they have (in 2017) over ten million end-customer devices without any IPv4 addresses assigned:

* https://www.youtube.com/watch?v=nNMNglk_CvE

For reaching services that are IPv6 only they use(d) DNS64 (with and without 464XLAT).
Except it isn't robust.

Exceptions occur when "Very Bad No Good Undefined Horrible Things" have (at last, been found to have) happened.

So if you have no guarantee that the memory space is uncorrupted, you have no guarantee that all resources have been recovered, you have no guarantee that in attempting to deallocated resources that they have been allocated in the first place. (Read the fine fine print on exceptions in constructors and destructors.) TL;DR; Don't do that. But exceptions are what happen when people do what they shouldn't.
Do you happen to have a link to it?
I'm willing to sacrifice a lot of things, my diesel and gasoline cars, my plastic straws even my lovely incandescent lightbulbs with their soft warm full light, but only as long as it's mandatory (and enforced) that _EVERYONE_ else does it as well.

If not everyone, I'm not willing to sacrifice anything at all.
> "Hitler, uncharacteristically, cut short the speech he was making to go and plan the invasion of France. Had he continued speaking, he would have been blown to pieces in November 1939. That would have surely have been a very good thing because, in the period between that event and the June 1944 bomb plot, two-and-a-half million German soldiers died."

Ah yes, the group of people who were famously killed en masse because of Hitler between 1939 and 1944... German soldiers.
Yes but makes them more reliable for less maintained runways etc. AKA ground debris/dust is less likely to enter the intakes
Really depends on your requirements. One important distinction is that hard-realtime doesn't necessarily mean low-latency or low-jitter. It just means that failing to meet a deadline is a failure of the whole system. You are right that absent other demands on the processor, polling can usually offer the lowest-latency, lowest-jitter response from a system.
Appreciated the inclusion of the Lucas Lee Collection from Scott Pilgrim vs. The World.
Yeah, exactly. OP is changing 3 variables and concluding that getdirent buffer size was the significant one, but actually the problem was likely (1) stat calls, for --color, and (2) buffer and sort, which adds O(N log N) sorting time to the total run+print time. (Both of which are avoided by using getdirent directly.)
Yet without DMARC, we would be far worse off.
We need to handle a lot of crappy data-in-text-files at work, and for most of them using the UTF-8 duck test seems to be the most reliable.

If it decodes successfully as UTF-8 it's probably UTF-8.
It looks like the F-word may be more acceptable than the I-word.

Is it considered safer because it is only available on prescription and lacks veterinary substitutes?

We'll see how successful it will be to get an out of patent drug approved by the FDA for Covid.
Agreed. I would bet on a language like Elixir or F# being simpler to learn and grow for a complex system than a class-oriented-imperative-oop (Java, Ruby, Python, etc) language any day.
The report:
https://www.blackberry.com/us/en/pdfviewer?file=/content/dam...
This site is a goldmine.

Finally companies which work in a far more human way.
ISO-8859-1 is a subset of UTF-8 isn't it? No harm done by defaulting to the superset.
I did a similar thing back in college at [insert fast food franchise name].

One branch I went had a poster that roughly says "enter our mobile app survey and get a free meal", so I connect to their public wifi, downloaded it, enter the survey, and got a text message that can be exchanged on the cashier for some decent fries and other stuff. Later I learned that the app limits one submission per device per day, so few days later I start bringing friends to submit on their phones and got ourselves a free lunch. We did this once or twice a week so the manager doesn't get suspicious.

Then one time I accidentally got disconnected to the wifi after submitting, tried reopening the app and to my surprise, it allowed me to submit again. I guessed that they limit submission per IP address, so I tried reconnecting to the wifi and the app limits me like before. Me being curious, tried using a VPN and it didn't limit me both on wifi and mobile data, so that means I can do four submissions per day per device. Imagine how many meals I can get.

Few months later, the poster was removed, then later I learned that it was also removed on every branch in the city. The app just shows a blank white screen. Today I tried downloading the app and it still shows nothing.
Sadly it’s the constant barrage of breaking changes. It’s not just a version number bump and everything keeps running. Patch version breaks the app. Minor version breaks the app. Major version breaks the app (understandable in semver) but multiple inter-dependencies need to be updated in parallel.
https://ourworldindata.org/energy-production-consumption

For those without subscriptions to New Scientist. We need a pay-per-article model.
Wouldn't the flutter sdk be viable as a desktop target?
This has been analyzed by many, but the stats you see reported often are that 9/10 startups fail while 7/10 venture-backed startups fail [0]. Perhaps the reason why a startup has no investor interest is because the market is too small, so cutting the data by TAM (if possible) might be interesting. We don’t have data for these micro-TAM startups showing whether they succeed more or less than any other startup. But the data we do have does show an advantage to raising money from VC vs. not. But to be clear, my point is that funding should be a more complicated and nuanced discussion. And if there’s a $5M+ potential return, like the author proposes, then there should be investor interest. The question is whether it’s a good idea for the company to raise.

[0] https://review42.com/resources/what-percentage-of-startups-f...
You may want to disable short name generation on windows when putting many files on one directory.
I mean... older 737 sure. The Max / NG (most of) are bigger. The max also uses significantly more efficient engines (which is what led to all the issues).
If you think so, please elaborate why and provide alternative explanations. Just dismissing my statement without any discussion is not only overly dismissive. It also is not a productive way of discussion, it doesn't add anything of value.
> He has also reviewed books for New York Magazine and has written for The New York Times Book Review and New York Times Sunday Magazine, and is a contributing editor of Time, where he has received popularity for his entertaining and sometimes humorous first-person essays among other articles of interest. He also served as an American cultural correspondent for the BBC.

> In addition to teaching nonfiction writing at the University of Montana, Kirn was the 2008–09 Vare Nonfiction Writer in Residence at the University of Chicago. He graduated with an A.B. in English from Princeton University in 1983 after completing a 22-page-long senior thesis entitled "Entangling Breaths (Poems)." Following that, he obtained a second undergraduate degree in English Literature at Oxford University, where he was a Keasbey Scholar.

You don't think this guy can get a job as an editor?
Scribd has something like that, but it just renders the PowerPoint into a PDF and lets you scroll through that. Looks awful.
Something that really did translate a slide show into a blog post in a semi-intelligent manner would have value.
I’ve read a few Hancock books in my youth for fun and from what I recall, his advanced civilizations weren’t alien, they were just human civilizations more advanced than other human civilizations.
> One of the most frustrating things I've been finding about HN recently is the duplication noise

Given that people have been complaining about this for 10+ years, I think this "recently" can be classified as the Hedberg tense (https://news.ycombinator.com/item?id=28109274).

We do our best! Certainly the principles are clear:

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...
To illustrate the scale, 2^32:

* is roughly equal to 4 300 000 000 (4e9, 4B)

* it is also the maximum number of IPv4 addresses

Going back to math class:

* 2^64 = 2^(32+32) = 2^32 * 2^32 = (4B) * (IPv4 Internet)

So a single /64 IPv6 subnet can hold four billion IPv4 Internets worth of systems.
I believe you could explain greenhouse effect to consumers and voters. The basics are elementary/highschool physics and chemistry. And there are useful analogies too. The issue is that schools in too many countries don't seem to try to explain mechanisms of climate change to pupils.

> It's easy to take action against an asteroid, but fighting CO2 emissions is far trickier.

Really?
I had games in tapes which were very short. 7 minutes a side comes to mind, but I can't be sure. They were long enough for just one game.

The micro could do 1200 bauds/s, so 150 bytes/s. In 7 minutes you'd load almost 64KB (no game was ever that big).
Car Loans in the US are a part of all car companies whether they sell new or used. So this like a good ad for Caravana. Most people in the US expect to buy a car with some kind of financing but as people get price out of more and more homes you can see the Used car market growing more and more.
I don't think it changes you. I think it reveals who you actually are.
Their capacity diminishes not their efficiency and they are 80-90% recyclable.

Efficiency is how much power is put in vs how much you get out.