skysight-inc/HackerNews huggingface dataset:
> I’m not sure about that: there’s been a few people vocally complaining but it doesn’t seem like they’re getting much traction.

You don't see the problem with that?

People (who already use a memory-safe language!) shouldn't be complaining when their crypto gets rewritten in a memory-safe language. If they are, someone shat the bed.

And if your users are complaining but getting no traction, that is a (second!) shitting of the bed.

> other maintainers saying “people using hardware which has been dying since the 90s aren’t a major constituency and I’d like the huge safety and productivity benefits of Rust”.

We all want safe software. People aren't upset by choices being added, they are upset about something they (thought) they had that has now been taken away. If you break a bunch of people's stuff and then tell them "fuck you, pay us" or "your platform isn't hip enough" it's kind of a dick move, eh? The "optics" are bad.

- - - -

In re: complexity of Rust vs. C: The measure of complexity of a system isn't the ergonomics of the tooling, it's the time/effort for a newbie to achieve competence, eh?
Lady Jane Grey’s Letters from the Tower of London
Isn't that behavior explicitly allowed on stackkexchange? Why wouldn't stackexchange want people to do that? Is it not a net positive to have someone ask and answer a question that people find useful?
> Another variant of this is, some DNS nameservers (like Cloudflare) flatten CNAME records (aka transparently ALIAS endpoints)

AFAIK, cloudflare only flattens CNAMEs at the root level, and that’s because CNAMEs at the root are not a standard. They have to convert it to an A record to be standards compliant.
Most CPU architectures are "fake diversity"; for example both Alpha and ARM64 are 64-bit little-endian with a weak memory model. Sure, S/390 is 31-bit and supports BCD while in PA-RISC the stack grows upwards and IA-64 is VLIW, but these are trivia that are not comparable to the diversity of human cultures. For decades programmers have wasted their time porting software to different-but-not-better architectures, mostly for the benefit of the vendors who fragmented the market in the first place instead of standardizing.
Contrary to popular social media sites, capitalism isn't a form of government.
The preprocessor is part of the language. Also there is no really such a thing as "abuse" of the macro system, this is taking advantage of a language facility to do something one wants. It is like saying someone abuses the type system when they define a handle type or abusing the namespace system when they define a static variable.

C's preprocessor is very powerful and like the rest of the language it can be used to shoot yourself in the foot - but that doesn't mean you shouldn't take full advantage of it or that actually taking advantage of it instead of treating it as a poor man's module system is "abusing" it.
I remember this, I feel old now.
How about Racket?
You can do 1 by setting boot-args to a certain value [1]. But even then it's not the cleanest experience since you have to start in clamshell mode and then open the screen. And if the computer goes to sleep the effect is lost.

[1] https://apple.stackexchange.com/questions/152203/turn-off-ma...
Pay Cuts, Taxes, Child Care: What Another Year of Remote Work Will Look Like
(First three paragraphs)

Companies are anticipating another largely remote work year, and new questions about compensation and benefits are weighing on managers.

Discussions about the future of work, such as whether to reduce the salaries of employees who have left high-cost cities, are priority items in board meetings and senior executive sessions across industries, according to chief executives, board members and corporate advisers.

Among the questions companies are trying to resolve: Who should shoulder tax costs as employees move to new locations while working remotely? And what is the most effective way to support working parents?
...
Oh no count me 100% in the anti-C++ camp, it's a horrid language. I'm happy enough using D for the dayjob, but I'm writing a replacement on the side.

Weirdly, lots of D people end up doing that. I blame the fact that it's a language that's both obviously better than the languages it's competing with, and also obviously worse than it could be.
There is a very unscientific dogma underlying this decision: that all inequalities between demographic groups are due to systemic discrimimation.
AOL Phishing Campaign in Wild to Steal Account Credentials
A new phishing campaign spotted by BleepingComputer in the wild has been stealing the AOL credentials of users. The phishing email starts with a warning message saying the email account will be closed if the details are not updated and prompt them to log in to their AOL account, a phishing page collecting the credentials.
Show HN: Reseter.css – A New CSS Reset/Normalizer
What other Forum would be an alternative to reddit?
Using signalfd and pidfd to make signals less painful under Linux
if its the dell control board (I've got the dell) it predates the faster DP standards. It only supports 5k via dual link. Which is why a couple years ago when the newer 5k displays came out, I snapped up mine from some guy on ebay upgrading and selling it at fire sale prices (nothing like new hardware to lower the value of perfectly good old stuff).
Please Stop Paying Me
Well then might I suggest a video on the official NASA web site? https://www.nasa.gov/feature/jpl/mars-virtual-reality-softwa... There are much better video specimens of science experiments on YouTube.
My _guess_ was some sort of (attempt at?) very minor inductance / capacitive correction factor; leaning a bit more towards capacitive for the lack of more loops. In college I tried to do something similar in a term project by using all of the spare surface space on the PCB as a capacitive fill attached to the power supply.

If they were test pads something more like the solder ball or a normal pad might be expected.
Impressive Barnum statements, these are actually very good.
Many people buy property with racially restrictive covenants still attached to them, never intending to follow them, and knowing that those racist covenants have been unenforceable since the 1940s.

Effectively none of these people have acquired a reputation that they are not keeping their word. (Indeed, voluntarily keeping their word would be illegal under the Fair Housing Act.) Just like I don't think anyone who has signed a contract with terms that aren't legally enforceable in CA has gotten a reputation for not keeping their word.

(A rare handful of people will back out once they find such restrictions exist, or exercise the recent right in some jurisdictions to disclaim those covenants.)

It's certainly true that covenants are much harder to change than an employment contract! But so far your argument hasn't been that simply signing a contract with an unenforceable term, where you know it's unenforceable, is unethical. You haven't placed a weight on the difficulty in making a change.

Going back to your original statement:

> say it's not valid in California so why have it in the contract

People move. I always thought that if I moved from CA to TX then such clause would be binding. 'Course, I am not a lawyer. But if most people hold my opinion then again, there's no chance of reputation loss here.
I just noticed you have one for "Create single-image video with audio".

This seemingly easy task is actually pretty hard to get right with FFMPEG.

Just leave a few notes here if anyone want to use that.

Video part

Chroma sampling

Without any `pix_fmt` argument, FFMPEG defaults to 4:4:4 instead of typical 4:2:0. Which has very limited support (for example, Firefox doesn't support it.)

To fix: add `pix_fmt yuv420p`, or chain a `format=yuv420p` vf at the end to your other vf(s).

Color space

FFMPEG by default uses BT.601 when converting your RGB images into YUV. This is an issue if your image / output video is in HD resolution. Almost all video players (including browsers) would assume BT.709 for anything >=720P. This causes color to shift in playback（255,0,0 would become 255,24,0).

To fix: add `-vf zscale=matrix=709`.

Note: there are some other video filters can do the same. The most famous being good ol' `scale` (based on libswscale). However, it has a notorious bug that would cause the color to shift on its own (becomes yellow) if the input is in BGR (all the `.bmp`s). See: https://trac.ffmpeg.org/ticket/979 So stick with better `zscale`.

Framerate etc.

You can set framerate with `-r` to a small number for both input (reading the same image X times per second) and output (since it's a still image, you can get away with very low framerate. `-tune stillimage` should also be used for (default) x264 encoder.

In summary:

ffmpeg -loop 1 -r 1 -i image.png -i audio.wav -r 1 -shortest -vf zscale=matrix=709,format=yuv420p -c:v libx264 -tune stillimage output_video.mp4

Audio part - length mismatch bug

Even if we ignore all the image/video troubles above, `ffmpeg -loop 1 -i image.png -i sound.mp3 -shortest video.mp4` still doesn't work well. "-shortest" argument has a long-standing bug (https://trac.ffmpeg.org/ticket/5456) that is the output video would be longer than your input audio (by quite a few seconds, worse if using -r 1). There are some workarounds (listed in the ticket) but they don't eliminate the issue entirely.

Your best bet (if the length match is crucial) is to just convert the output video again and use -t to cut to the proper length.
Not really a scientific instrument...more of a stage prop.
Generally these scanners can have two possible opinions about a dependency: "contains security bug" and "don't know" - they can't prove absence of vulnerabilities. So if tool A flags a dependency and tool B doesn't, both are likely right, and you should treat it as a flagged dependency.
It’s been slim picking for 5K monitors- especially if you’re not on OSX where thunderbolt dispay output is much more complicated.

Besides the (now discontinued) Planar IX2790, which had severe quality control issues (went through 4- all with major dead pixels and burn-in), I don’t think there are any readily available DisplayPort-based 5K monitors out there :(

Feels like hidpi displays have pretty much stagnated outside of apple ecosystem
Fairly standard? I dunno. Hard to uphold in certain states.
Perfect analysis!
I vaguely recall the terms, hopefully correctly.

High speed on copper, for networking anyway, has gone all analog now. That's more of a 'broad'-band (in the literal sense) than 'base'-band (in the single frequency, off/on) sense.

Edit:

The Wikipedia page for broadband says it better: "The key difference is that what is typically considered a broadband signal in this sense is a signal that occupies multiple (non-masking, orthogonal) passbands, thus allowing for much higher throughput over a single medium but with additional complexity in the transmitter/receiver circuitry." -- https://en.wikipedia.org/wiki/Broadband
Lot of truth in this article.

We used to use the floating point hack for radix sort[1] in alpha sorting transparent quads on a back to front renderer. Depending on the cache line size we'd either have 3 or 4 pass sort radix with a puny little arm chip.

Guess what, that thing screamed because it was linear memory reads all the way through. We could throw thousands of quads at the thing and it wouldn't even flinch.

[1] http://stereopsis.com/radix.html
Check out this book:

https://www.amazon.com/Flood-Novel-Book-2-ebook/dp/B002KS3AI...

which it (and its sequel) I found rather disturbing.
Does anybody have any thoughts on how feasible it would be to make a metal “vacuum sphere” that floated in earth’s atmosphere?

That’d be pretty cool!

How huge would it have to be? Would it have to be made of titanium? Aluminum? Stainless steel?

How good are those materials at withstanding a vacuum (or partial vacuum) if the diameter was say... 50m?

I feel like at some size it must work, as the volume of air displaced goes up with r^3 and the surface area of metal only goes up with r^2.

If people here can do the math, maybe I could build one in time for next burning man...!
You could have object interface on procfs. I think Solaris used a lot of binary files there.
How did Bernie Madoff's investment fund operate for years after people were claiming it was a ponzi?

People want to believe just a little longer.
Server configuration can't be done in ~/.ssh/* files.
I honestly don't know all of the ethical commitments that the NYT has made. But I'm assuming that they are at least broadly following some standard of journalistic ethics [1]. I believe that journalistic ethics are a fairly standard part of journalism school, and that many of the reporters at the NYT have been exposed to them.

As far as the NYT abusing their sources for the last few years, well, I could easily believe that it's true. But I think that it was clear from the context that I was speaking specifically about the current SSC controversy.

As far as doxing Scott, I agree that it was the wrong thing to do. Also, as Scott himself often discusses, it's important and worth while to try to understand the other side. For example, the New Statesman wrote about Scott's doxxing [2] earlier. It at least considers the possibility that the NYT has a reason for doxxing Scott, that they have a reason for their policies regarding anonymous sources.

It's certainly possible that the NYT is simply a bunch of slavering monsters who, as you wrote "tossed every ethical framework out the window for the sake of their ego, id, wallets, power, and agenda." But I'd bet that there was a fair bit of internal discussion over the issue. I'm willing to give them at least some credit, even if I disagree with their conclusions.

[1] https://en.m.wikipedia.org/wiki/Journalism_ethics_and_standa...

[2] https://www.newstatesman.com/world/2020/06/why-new-york-time...
I ended up having to daisy chain a dock to a USB hub, and then I would get errors if I connected the wrong things to the hub because I was breaking the 7 hub limit (turns out a lot of things have extra internal hubs). Obviously I did get it to work eventually, but it felt a lot more complicated and fragile than in the old days.
The other poster mentions analog techniques used in contrast-tracking TV-guided munitions like the Walleye, but digital "CV-like" image/contour matching methods were used on the original Tomahawk cruise missile and the Pershing 2 missile to provide terrain-matching navigation and target guidance. GPS was neither sufficiently complete or accurate for strategic weapons in the late 1970s/early 1980s.

In more modern weapons, imaging IR sensors are well-established for terminal guidance on missiles like LRASM, JASSM, or NSM to distinguish targets from clutter and identify specific target features (specific parts of a ship, for example). Of course "traditional" "IR-homing" SAMs and AAMs now use imaging sensors (often with multiple modes like IR+UV) to distinguish between the target and decoys/jammers. Even your basic shoulder-fired anti-tank missile like Javelin requires some amount of CV to identify and track a moving target.
For HN readers, he's probably most famous as the inventor of the Kernel programming language. We just had a thread about it two weeks ago: https://news.ycombinator.com/item?id=26162673
My first glib reaction was something along the lines of

"Sigh, first they demoted Pluto, now they're adding new continents"

But in all honesty, I think this is cool (and humbling). We think we're just so smart some times. That our knowledge is so black and white and factual and additive. But it's squishier than that.

I'm reminded that

"As our circle of knowledge expands, so does the circumference of darkness surrounding it" (Albert Einstein)

We live in exciting times. Keep the discoveries coming!
> The code in question did sscanf("%d", ...), which you read as “parse the digits at the start of the string into a number,” which is obviously linear.

I think part of the problem is that scanf has a very broad API and many features via its format string argument. I assume that's where the slowdown comes from here - scanf needs to implement a ton of features, some of which need the input length, and the implementor expected it to be run on short strings.

> The subtlety is that sscanf doesn’t do what you expect. I think that “don’t use library functions that don’t do what you expect” is impossible advice.

I don't know, at face value it seems reasonable to expect programmers to carefully check whether the library function they use does what they want it to do? How would you otherwise ever be sure what your program does?

There might be an issue that scanf doesn't document it's performance well. But using a more appropriate and tighter function (atoi?) would have avoided the issue as well.

Or, you know, don't implement your own parser. JSON is deceptively simple, but there's still enough subtlety to screw things up, qed.
They intentionally broke ignoring updates. You used to be able to ignore updates through a terminal command so you can keep everything else untouched and still use update notifications or auto-updates for unrelated updates.

Since Catalina, this is intentionally broken, so now you have a constant red badge on the System Preferences icon and regular notifications to update to macOS Big Shit, which in the end causes the user to ignore other updates (like security updates) they would actually want to install.
Internet Archive Infrastructure
Bobby Fischer on the Johnny Carson show (1972)
I think it’s in development, Big Sur is part one of heading in that direction.

Still, macOS has become far too locked down and inconsistent UI-wise for me. Developing for macOS has lost its magic, just about everything is inaccessible to developers now and the Mac software community has become dull. A real shame - things used to be so vibrant when macOS was more open and more attentively designed.
Facebook and Google shouldn't be allowed to run ads on their ad networks without paying the same as customers pay to some 3rd party a charity, a tax, etc...

Likewise Amazon shouldn't be allowed to basically steamroll custom brands and replace them with Amazon products that are exactly the same.
People lose money in the stock market all the time. This feels similar to me--people bet on the market and were on the wrong side of the trade. I do have sympathy for people who are having financial trouble as a result of their decisions here, but there isn't serious talk about banning speculation on stock markets because some investors might make bad trades.
Multi-Agent Deep Reinforcement Learning in 13 Lines of Python Using PettingZoo
Some Were Meant For C (2017) [pdf]
I've been a landlord for ten years and I've always been a renter.

For people like me with no desire to have kids and minimal ownership of furniture and toys, renting is nice.

I've always wanted to be a renter for life, but recently I also have been thinking about buying some land in upstate New York or in the outskirts of some European city and building a livable structure like an A frame or a geodesic dome.

I do think urban housing prices are insane. My rental units were in the suburbs, and now I have vacation rentals in Southern Utah instead. So the rent price ratios made sense. In denser cities, the landlord would have to out like 50% down just to break even on the mortgage. Yes, they may be cash flowing, but just barely, and the nuance is they put a massive down payment. It just depends on location.

For those who need a general rule of thumb comparing rent vs mortgage, there's the 5% rule:
https://www.pwlcapital.com/rent-or-own-your-home-5-rule/
couldn't they do a reverse image search, see that it is already online, and therefore suspect that it was not posted by the person it depicts, and therefore require the verification?

I don't see how "posting a picture you got from google images results in them asking you to confirm that you are the one in the picture" indicates that they generally require verification before you can post a picture of yourself.

I mean, based on the name, I assume that in my case that subreddit wouldn't be interested in a picture of me, because I'm male (and, I also wouldn't want them to have it either), but still.
Most people are signing these agreements because the alternative is not to have a roof over your head or eat.
The latest edition (7th ed, 2015) actually uses 4.5 as well. AFAIK OpenGL hasn't changed too much since 3.3, certainly not to the point of being irrelevant for learning.
For what its worth, the new version is the 7th edition, but the linked page still talks about the “new” 6th edition from 2013.
> Proper engineering doesn’t need to be maximally efficient,

Until it does, like with limited hardware.
I played around 96-98. After that I continued hanging around as a wizard (coder) for a few years. Created some areas and relaunched the Barbarian guild (For Groo)

-Runeaxe Tuneaxe
You are spot on. I would suspect that everyone that I work with falling this cluster. You could sum us up as a bunch of nerdy engineers, and I don't think anyone would really take exception with that.

But it captures almost nothing except a very small range of behavior. We are very different people. 'Sally' lights up whenever she talks of her children, but mostly pines to be a librarian one day. we have cluster b people, we have Jokers and humorous people, perhaps a bit of Asperger's, adventurers and the meek, storytellers, partiers, tea totalers. One seems to live for firing people, another I'm pretty sure I cannot model another human mind. some of us paint, play music, others disdain that stuff. Jocks and couch potatoes.

Those that say they use the mtbi for self-understanding puzzle me, because it tells you nothing of any of these very human traits. knowing somebody has one of the cluster b traits for example tells you a lot about how you might need to modify your behavior to interact with them successfully in a work environment, and MB days nothing. I could go on and on on what it is not measuring.

Yeah we're engineers. I knew that. I didn't need the test.
It should be clear that while Eurocopter and Aerospatiale before them liked showing off specific modified helicopters in the Himalayas (up to and including landing on Everest), none of them were capable of carrying a useful payload to that altitude. Helicopter altitude records are much like zoom-climb records in jet aircraft - yes, you can reach those altitudes, but not for long and not while doing anything else.
Sports leagues have been a thing for generations, so it's worth noting that the answer to "What did you do before all this digital stuff" isn't "kids just did their own thing" -- they still organized leagues.

(Fewer of them, to be sure.)
What Is Function in C
Yes, but why can't per-user server configuration be done in a per-user file? It's not any less secure than letting users change their own password.
That’s a valid point probably, but that’s not what I meant. I am more aware of myself, and am more methodical when gathering information or reading a book after reading “How to read a book”
Author here. Agreed, this is a great point. Fortunately, we did not need to craft all componnets from scratch at Deepnote (since they existed in various forms both in code and in designs), so we mostly polished the existing elements and unified them. This means the friction of hand off was significantly reduced and the engineering team was also very keen to look into it as they saw the immediate value in having a single source of truth e.g. for a Button.

Also, you mentioned the framework. We use mainly React + emotion on the frontend (along with Storybook from the article). Happy to answer any specific questions you might have - filip@<company-name>.com
IMO this is something that Microsoft got right with time. I don’t mind the mandatory updates as long as they install fast.