skysight-inc/HackerNews huggingface dataset:
Zero initialization is also one of those features that seems such a low hanging fruit to implement...

I'm still moderately optimistic. I suspect that many of these checks will end up being enabled by default on compilers shipped by distros, like stack guards and other forms of hardening.
I thought that Softway replaced the Microsoft PSXSS with their own but I don't remember for sure. This would be an interesting software archaeology rabbit hole to go down.

Interix 2.2[0] shipped with its own PSXSS.EXE. I don't have a contemporaneous version of the PSXSS.EXE that shipped with Windows at that time to compare handy.

Finding a copy of OpenNT prior to the Microsoft acquisition is proving to be difficult.

[0] https://archive.org/details/INTERIX2.2.7z
We use good words for inequalities we want and bad words for inequalites we dont!
young attractive women in sales jobs often do very well.

At every sales and sales adjacent job I've experienced the top salespeople where always men.
Unless your code is actually commented out (actually dropped from the program), it can still (maybe) execute.

I think the main reason for this is an if(testSomeState()) { //code with UB } block being optimized to just //code with UB.

Functions which are unreachable, maybe I agree, they can't be executed (without UB somewhere in reachable code). I'm not sure that's true though - if you have UB in your hardware (not your code), you can still execute that code. This is why (at least I was taught) never to leave dead code around. There's this better thing for that called source control you may have heard of...

IF you have perfect hardware, and IF you have perfect logic/compiler and IF you have no UB in your program, then maybe you can guarantee that dead code is really dead, but I'm not really sure you want to heavily define dead code like that.

Just remove it. Especially if it has UB in it to cause more fun bugs...
Telescopes are on another mountain, Mauna Kea.
Lava from Mauno Loa can't reach Mauna Kea. Ash or earthquakes I guess could be an issue.

Settlements would be at risk if lava leaves the crater.
I don't think this proves the point, because foo() will not invoke UB unless it is called with a NULL argument.

It is true that when foo() is called with a NULL argument, the UB will be realized before bar() has had a chance to run (EDIT: this doesn't actually appear to be true for the given code sample, neither Clang nor GCC elide this NULL check: https://godbolt.org/z/v9v74c3jd, which makes sense as bar() could call exit()).

> Note that it's not executions which trigger UB, it is source code programs that do.

For C, I think this interpretation is directly contradicted by DR #109: https://www.open-std.org/jtc1/sc22/wg14/docs/rr/dr_109.html

> Furthermore, if every possible execution of a given program would result in undefined behavior, the given program is not strictly conforming.
A conforming implementation must not fail to translate a strictly conforming program simply because some possible execution of that program would result in undefined behavior. Because foo might never be called, the example given must be successfully translated by a conforming implementation.
The classic Joel article: https://www.joelonsoftware.com/2000/04/06/things-you-should-...
That we know about... Remember, information is suppressed.
Fair enough. I can see why you say this, and I would probably feel the same way if our positions were reversed. Perhaps there is a better way that I should have phrased this.

OTOH, I'm somewhat stumped. Some forms tend to be condescending or dismissive. Assigning motives, for example. Meta, like my response to your comment. Yet, motivated reasoning exists. Cognitive fallacies recur. Etc.

I don't want to be condescending or bad faith. But in these cases, I don't see much daylight between condescending and just not commenting. There is such a thing as adopting a worldview, and then suddenly seeing everything through that lens. As you say, you already hold the position that "the American project is failing its residents." When the water grid has a fault, it's proof of this. My contention is that if you had previously adopted an alternative worldview, you'd hold the recurring culprit (capitalism, bureaucracy, republicans, environmentalism, etc.) responsible by the same logic.
Close to settlements; the city of Hilo is built on a fairly recent lava flow.

The telescopes are on another, dormant summit.
Monkeypox given new name by global health experts
Get introduction to ffmeg, but it misses a lot of pro use cases.

Mine would be to find out, if ffmpeg can create a chunked stream as an output (basically one like most TV stations use nowadays) which outputs parts and a updates m3u8 playlist with it...
Wikipedia actually does a decent job:

https://en.wikipedia.org/wiki/Gender_pay_gap

In the United States, for example, the non-adjusted average woman's annual salary is 79% of the average man's salary, compared to 95% for the adjusted average salary.
'Gaslighting' Merriam-Webster's word of 2022
Non-recognized British WWII hero who 'hacked' the German radios in France
"The Allies were able to learn a great deal about the location and density of German radar stations along the channel coast thanks to this one single act, which helped to convince Allied commanders of the importance of developing radar jamming technology. "
if (!x) std::abort();
if (!x) return;

In this case, the compiler should warn that the second statement will never be executed, instead of just silently removing it.
I’m seeing a lot of Rust in the Python world, too, which I think makes sense as people want to avoid the hostility of C/C++ and expect developer ergonomics closer to the level they’re familiar with rather than the C/C++/Go-level toil.
We might ask if gcc will feel like keeping the sanitizing checks or it will take them out due to some bout of language lawyering as well...
Not just looks and sex, try to even find male babysitter. People just assume woman is the role to raise children so naturally babysitter should be female.
> If you're doing a check for UB, the reasonable thing, to me is to maintain that check.

The problem is that you need to do the check before you cause UB, not after, and here the check appears after. If you do the check before, the compiler will not touch it.

The compiler can't know that this code is part of a UB check (so it should leave it alone), whereas this other code here isn't a UB check but is just computation (so it should assume no UB and optimise it). It just optimises everything, and assumes you don't cause UB anywhere.

Now, I'm not defending this approach, but C works like this for performance and portability reasons. There are modern alternatives that give you most or all of the performance without all these traps.
Undoh – yet another undo/redo class
See also the "hot tub" streaming controversy
And average youtube account makes probably $2
Cold brew is not "leftovers from yesterday."

>I guess this backs that up a bit :)

No it absolutely doesn't.
It helps that Rust is probably the best language to use if you are targeting Wasm, which is mentioned in the discussion. Go can be compiled to Wasm too, but the fat runtime makes it a non-starter for many use cases.

(I prefer Go over Rust for general purpose programming, and I wish that Wasm had an answer here so we can use less complex, cognitively-lighter languages.)
I haven’t used it much yet, so I’m not sure. Books, courses.
> but people find it very uncomfortable to acknowledge that gender roles exist and men and women continue to have very different preferences about how to live their lives, despite over a century of feminism.

TBH I don't think anybody is uncomfortable acknowledging this as "a thing". The issues arise when there are people saying that it's biological and it is how it is because women and men are inherently different while others say it is due to society, beliefs and costumes.
If your unsafe code is sound, you can't cause memory corruptions with wrapping integer overflows, no matter what you do with them. If your Rust code is engineered correctly, overflows are primarily logic bugs, not memory safety issues.

> Every memory access is already a conditional branch, and it doesn't cause problems.

What are you referring to here? The MMU/TLB?

> Sadly, modern languages like Rust haven't fixed the mistake and also penalize writing safe code

Writing safe code is smooth as butter. You just follow borrowing and lifetime rules and you get memory safety basically for free. Same with safe concurrent data structures.

Unsafe code is the one penalized. The amount of boilerplate and unstable features I need to use in Rust for ergonomic unsafe code is pretty staggering.
The compiler isn't required to know if code is unreachable. For example, `if (fermats_last_theorem_is_wrong()) {*p == 1} ` will imply to a modern compiler that p is not NULL in the scope where it is defined, even if we now know that this code will never be reached (assuming that function is correctly written).

Or, here is a better example:

for(int i=0; i > n;) {
}
*p=1;

Here the compiler will assume that the loop terminates, since non-terminating loops without side-effects are UB in C++.

Then, since the loop terminates, p will be dereferenced, so it can be assumed that p is never NULL, so any NULL checks for p in this context can be ellided.

This remains valid even if you call this function with an n such that *p=1 is unreachable.
that's exactly why it's counter-intuitive! Obviously it can't be right forever, but at any given moment if you need predict the minimum future life span of a book, framework, language, job, country, whatever and you have very limited information it turns out that just predicting the thing's age will often be a reasonable prediction -- probability is hard!
Their vaccination has been a failure. And their mRNA is not due till next year. Even tho they bought western vaccines for the high ranking CCP officals. They refuse to buy/allow their citizens to use non-chinese vaccines.
HandBrake is your gui to FFMpeg

"HandBrake uses FFmpeg under the hood and generally can open whatever FFmpeg will, in addition to disc-based formats like DVD and Blu-ray." Via

https://handbrake.fr/docs/en/1.3.0/technical/source-formats....
Yep this makes sense, thanks. My background is SaaS services where you have long term contracts payable monthly. I don’t think there is a clear cash flow benefit in that case, for the reasons I gave. But I totally get it for your example. It’s a kind of leverage, right? Effectively using your suppliers as a loan facility.
See also: Cutting the videos based on start and end time using ffmpeg

https://stackoverflow.com/a/18449609
Some HN threads;

'Stylometry' site:news.ycombinator.com

Ask HN: Can we delete our accounts? [18 hours ago - 160 comments] https://news.ycombinator.com/item?id=33765437

Show HN: Using stylometry to find HN users with alternate accounts [1 day ago - 518 comments] https://news.ycombinator.com/item?id=33755016

US Government plans to develop AI that can unmask anonymous writers [58 days ago - 215 comments] https://news.ycombinator.com/item?id=33034918

US Government building AI tech to unmask anonymous writers [60 days ago - 99 comments] https://news.ycombinator.com/item?id=33009545

Unveiling the anonymous author: Stylometry techniques [8 months ago - 12 comments] https://news.ycombinator.com/item?id=30571932

De-Anonymizing Programmers via Code Stylometry [Sept 1, 2017 - 52 comments] https://news.ycombinator.com/item?id=15150237
Haven't done Swift and Cocoa in a while, but is there any major disadvantage to just not using SwiftUI?
Sigh. If that’s true, it has (to be generous) very little to do with why waitstaff earns more than kitchen staff.
Evaluation of robotics data recording file formats
Well, for one thing it allows a flatter organization, which makes for (imo) a really great quality of life.
I think it's more interesting that this poorly-worded "riddle" managed to find its way onto wikipedia:

A section titled "The Language Paradox" was removed on October 2:

> Careful wording must be used to ensure that the "paradox" is correct.

With the explanation: "This is 100% original research, which as noted contains errors"

So the only thing that makes the "paradox" interesting is that it's badly worded, but any commentary to that effect is original research, so in the end we're just left with a fairly unremarkable riddle on Wikipedia and grumpy people like myself complaining about it.
I think it's to maximize potential contributor base.

JS is the front-end browser language. That's its origin story and it almost certainly will always have that job, because of web browser backwards compatibility.

That's why it's so universally known / used / understood.

Once you target TypeScript you're suddenly looking at a much smaller set of devs who know it, and you're married to a language that's effectively owned by a single company (MS, to boot).

You can get decent gains in type-checking by writing JSDoc and using tsc in your build process without adding much friction for new contributors.
Wikipedia has pointers here: https://en.wikipedia.org/wiki/Unisys_OS_2200_programming_lan.... It seems links are now broken, but googling e.g. "Unisys publication 7831 0448" etc. should lead you to correct documents.
After trying it a bit more I am slightly leaning towards keeping Intellij again. Mostly because of being better at the small things. Like more readable file tree-view and better project search tools.
Best pictures of the article: the first four.

Why are they the best: their composition is interesting with great use of vertical lines, background colors and well positioned windows.

First line of the core of the article: "It is said that composition is the most important aspect of a photograph. I disagree."

Well, let's agree to disagree then.
Waitresses & sex work don’t really occur to me as the employment that comes to mind to move the needle in out earning men on a gender-wide level.
Same here. 3 Mac Laptops connected to my TrueNAS server (v13) over wifi. Each laptop has its own separate ZFS dataset. Works great. No issues thus far. That said, I have not tried to restore from TimeMachine yet. I need to try that this week.
I think they meant "never written UB"? Which would still be a bold claim, much like "I never write bugs" (only features :P).
I often prefer to listen with a small speaker (sony x12/13 is great) close to my ear. To the sound sounds more natural because we used to hearing conversations in real life at about 130cm. Your tv has to have bluetooth though to make this work or get a tiny computer (Asus makes some good ones) and run Linux Mint on it. Yeah I'm aware this would be beyond a lot of people but for some it can be done.

Still though I wish there was a button I could press to squeeze the dynamic range of loud movie sound tracks. Often when the explosion sound comes in the whole house shakes. Hard can it be?
Why would they be cutting the up-close footage of people in the crowds not wearing masks if it was just about assembly?

You can still see that crowds are not being spaced out from normal angles of the match, they would still know that restrictions aren't in place for those abroad.
Just the other day I read this thread on Reddit about the link above and this thread stood out to me. This person uses TypeScript files to define types, then uses JSDoc to import the types into JS. They said they didn't want a build tool but I agree, it seemed insane to me.

https://old.reddit.com/r/javascript/comments/z4lwlo/complete...
I'm from the Netherlands and I must agree. The entire article reads as a sponsored item.
Brilliant Self-Stacking Lego Domino Machine Is Perpetually Mesmerizing
The writer was E. B. White. Most schoolchildren in the US still read and love his Charlotte's Web and Stuart Little. And most secondary or post-secondary students in the US are given the style guide he wrote with William Strunk, Jr., The Elements of Style.

I thoroughly enjoyed seeing what he did with a piece like this.
There kind-of is a table of contents.

If you're on a desktop computer then the top right has a floating grey "On this Page" which lists the section headers.

There's no numbering or sigils, which might make it hard to use effectively as a TOC.
When you say OP are you referring to the poster you responded to or the article author?

It's not clear.
Nobody knows, of course. But heavier elements do get pushed up to a stars surface so they look more prevalent.

This is clearly the sort of oddity stuff science and society should inspect with gusto. There’s surely much to learn there. I wonder whether JWST has time allocated for it?

Also at 356 ly away this is basically a neighbor. That could be very telling in itself. Should be easier to study too.
> known for having less bugs and vulnerabilities per line of code in comparison to proprietary software

I don't think this is universally true. People have only tested this in very isolated environments like microkernels and cryptography libraries. Certainly no one is doing this analysis on GIMP vs Photoshop.
Move to better tech: going from building apps on Drupal to Ruby on Rails got a big team to understand what they were doing (MVC, web applications, migrations, DDD, fat-model, separating concerns, REPL-based development, deployments-wihtout-migrations in one command, ssh, and more).

Then going from Groovy to Kotlin (using types in your advantage, functional-style where it makes sense, IDE comprehension of code, fear-less refactoring).

Now we are using Elm to replace some brittle React/Litelements/jQuery mess (sum-types, strong typing, currying, etc.)

Also I believe we should regularly discuss bad code examples, code style improvements and evolving the processes. We do this in a "retro" session at least once a month.

One of the best thing I learned is to accept to be a "bad programmer", hence I like strong typing, defensive coding styles, and smart IDEs.
A simple solution is to close all feature requests with a tag that lists is as a request, and a comment that explains that you may go through the requests some day when you don't have many bugs to fix. Or if a customer is willing to pay for an extra feature. Maybe even add a tag to indicate that this feature would be a good place for new contributors to start. Of course, you then get the same feature requests multiple times.
Babysitters are not generally the employment that comes to mind in moving the needle on an entire average income raising on a gender-wide scale.
ooof! That's really good work. As suggested, a link to a navigation index would be nice. Would make it a separate html page with a big fat link at the start of your guide, or use an html table as layout and no, html table as layout are _not_ harmful.

Something which is worth of interest: AMD is supposed to have published AV1 hardware encoding/decoding ffmpeg code (this one is "oooof!" too... if it is cross-platform, or at least elf/linux).
Do you mean that sex is a product of a degenerate society? I'm not sure I can read your comment any other way, and it's interesting to see one comment say "it's amazing how quickly we've become accepting" and the reply being "we degenerated long before that".
What about competitive care work?
But saying No too much might result in features sorely missing from your Project.

For example, Mastodon quote tweets, or viewing accounts follows and followers.
Anyone know any link to CCTV live urls so we could check for outselves the next game?
Sure, I 100% support changing the C standard. Until it is done, compiling with flags is infinitely easier than trying to avoid these UBs.
Why? Men work in restaurants too.
the developers of a software know more about its behaviour than all users/hackers in the world
You think Xi would have resigned if the virus had leaked from a lab? Or the CCP conceded any power?

lab leak is just a red herring. The CCP has botched the response by 1. insisting on a zero COVID policy and 2. Refusing "western" MRNA vaccines.
That's only if you ignore that the whole of what history thinks is "the war for independence" was really a war of conquest where Laos stopped being a French colony and became a Russian/Chinese one. "Come on now, you have to honor this loan aggreement, the guys we installed with our tank columns in 1975 signed it..."
>stop spreading communist propaganda.

Might be better stated: "[Please] Stop spreading Chinese Communist Party propaganda."

The rest then makes sense.
Why Fly over DigitalOcean or similar? Is it just that it's all done for you?

Fly takes your credit card info up front so if you abuse it they can just charge you. Also people who give their credit card upfront are less likely to abuse their plans.
Feature creep in open source is almost always because of user pressure "add this or I'm going elsewhere". Nobody has the insight to build in a modular way on top of that library or system, ironically despite being programmers! Sigh.

Yet. The things that truly succeed find a way to evolve, scale and grow by learning to include contributors in a way that make them owners of their new contribution and more. It does not always happen. Not all projects can achieve the scale and funding to do it properly but those are the ones that succeed.

Point to the ones that worked and there's the thousands of others that didn't, leaving the maintainers totally burned out. Turns out we're not born managers or project leaders. GitHub and others could do more to improve life for maintainers and users alike. I see sponsorships, but I don't see bounties! Where's the bounty programs? Reward the user for their contribution, reward the maintainer for their long term efforts. The platform needs to do more. Can't put all the pressure on the people using the platforms.
The demonstration in Shanghai is a significant milestone, it's the first time in recent decades, a group of Chinese fight for the rights of another group of Chinese.

Technology wise, nothing worth noting, the censorship is complete there.
The simple moving average for 1BTC should be around $50,000, so a $500 TV will be about 0.01BTC.

Hype or fear may drive the price higher or lower than that, but if you regularly buy and spend bitcoin then the swings average out back to the simple moving average over time, which reliably increases against USD.

I get paid a fixed USD amount of Bitcoin every month regardless of price so my exposure to it similarly averages out.
I don't know if it's correct to call China a "dictatorship" but I'll humour you for a moment. The idea that dictatorships have everything under control and can conduct themselves however they please is true ... until the point that it isn't. So while a dictator technically doesn't necessarily need to justify themselves or to have a reasonable, fair plan for some given situation that pleases their subjects - they probably don't want to needlessly push things too far if they can help it.

However in this case a badly managed change in their Covid strategy doesn't collapse the country or cost the CCP their control over China, but it could cause a bit of a power struggle within the party as factions jostle for position and attempt to shift blame and some higher-ranking politicians will probably lose their position or go to jail for reasons. If you're one of those people, you probably want some kind of plan.
Wouldn't really be a problem if the design of those languages wasn't horribly ridden with footguns.

Compiler designers just chose the notion of "obviously user wouldn't invoke the footgun, so any code that would be causes by footgun can be removed"