skysight-inc/HackerNews huggingface dataset:
So, I just did this recently. This is an ok article for beginners. I’d hesitate to even mention l2arc or slog devices to someone that isn’t an experienced technical user, though, as they will probably go buy the wrong drives and may not even need the added complexity. I’m not using them and I see high write and read speeds from a zpool with 2x2 mirrored vdevs (wd reds).

If the hardware is remotely capable I’d probably advise running proxmox and spinning up a turnkey Linux fileserver container with bind mounts to the underlying zfs filesystem to use as the main samba share manager. This makes it easier for less technical people to manage the users and permissions and stuff with a web gui. I had some trouble getting zfs sambasharing to work with sharesmb=on (not sure where those configs are stored on proxmox, and if it can do everything samba normally can), but you can try that route to or use sharenfs to set up NFS shares.

There are a bunch of options for ACLs in zfs you probably want turned on , acltype and aclmode, and xattr=sa. Also case sensitivity and the case normalization stuff. And atime=off. Does anyone ever actually use access time because I can’t think of any use case for that on my nas!?

To go beyond chmod, you probably want to learn about setfacl and getfacl and set some sane ACLs so your folders and files are created with the correct permissions. If you are sharing stuff with other users, this becomes a problem real quick unless you’ve got the ACLs set right and things get created with 775/664 perms. I like to also set chmod g+s so the default group of anything is the group of the parent, not the current users primary group.

Lastly, if you’re on zfs you can setup something like sanoid to automate snapshots. I just did that, hopefully it will save me next time I run rm -rf against the wrong folder by accident!
it also moves the division around
Perhaps its actually good that one company can't capture significant ammounts of money when the goal should be to move away from single-company communication tools. Of course the Foundation does need funding and I think it would be in Germany's / the EU's interest to secure that.
In practice vast majority of scenes are not illuminated (directly) by a blackbody source, so for white balance purpose its inherently crude tool to achieve a color look, and often there is no "correct" color temperature setting for a scene
Wait until you see Wordle for Riichi Mahjong :-)

https://mahjong-handle.update.sh/
Guide to FFmpeg
"a+b" for signed integer types potentially invokes undefined behavior (overflow). It's a horrendous situation.
FFmpeg is powerful technology, yet approaching it can be very daunting. So we decided to create an approachable guide for intermediate devs.
Feedback is very much appreciated.
I disagree with the aesthetic choices by the people supporting this shitcoin project. I also disagree with the people choosing LV, Hermes, et al and would never buy their products either. It’s hard to see why this site which is supposed to take the stance that web3 doesn’t have a legitimate use case is posting this. Obviously some people find value in making an extraordinarily ugly statue, or they wouldn’t purchase the token.
This is how your parents and grandparents lived. Stuff got dirty, and instead of tossing it after having used it once, they.. washed it!

When I go shopping, I:

* bring my own bag

* buy oat, rice, sugar, pasta, chocolate etc in bulk (w/ textile bags I bring)

* refill detergent containers in-shop

* buy fruit & veg without packaging

.. and I have no meaningful reduction of my living standard. I know it's difficult to make some sacrifices. But honestly, if we can't as a society be ars*d to do even that, perhaps we deserve to disappear after ecological collapse, and the geopolitical consequences of that.
Like it. I was thinking Vampires, but maybe put them in Westminster?
But quite a lot of people in the real world use NTFS.
Yeah, it is pretty easy, crypto value is built either on Ponzi or on the Greater Fool principle.

National currencies, issued by states are not a scam.
Dutch people tell me they learned English by reading the Dutch subtitles on American shows (because the Dutch market isn't big enough to justify dubbing).

But I know enough German to know that the English subtitles only rarely match the German. So how do people learn English this way?
I think it was a mistake when CPU and language designers decided to make overflow in arithmetic operations not an error. This is wrong. Overflow can produce invalid data, which can break something elsewhere. Overflow has been a reason for security vulnerabilities.

For example, you don't want to have an overflow when calculating a total cost of ordered goods or size of an allocated memory block.

One could argue that it is a developer's responsibility to make sure overflow doesn't happen, but the history shows that developers usually fail to protect the program from such kind of errors. We have memory protection, why cannot we have overflow protection?

In my opinion, an overflow should cause an exception unless the program explicitly asks to ignore it. Of course this means that every addition now becomes a (very unlikely) conditional branch, but I guess this can be optimized by static prediction. Every memory access is already a conditional branch, and it doesn't cause problems.

But CPUs and programming languages seems to make writing overflow-safe code more difficult than unsafe. In assembly, you have to insert additional branch instructions, and in business-oriented languages like Java you have to write long sentences like Math.addExact(). If you write a complicated formula this way, it becomes unreadable.

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

The only language I know with overflow protection is Swift: an overflow causes an exception there. Well done, Apple, you are lightyears ahead of open source software.
good things to learn, even better to forget.
This probably just an example, but why are they using a signed int for indexing???
You're fine if you avoid number 5.
I'd rather have close captioning than nothing at all.

There's many Amazon Prime movies I've quit because of a sentence I could not hear very well and they didn't come with close captioning. I hate that so much these days.

My pirate setup at least comes with auto-synced subs for everything I watch.
Right?
I don't think, however, that any competent writer or artist feel threatened by AI outputs at all. The threat comes for others abusing AI to misuse their name and steal their work. That is a legitimate concern.
Filter news sites by topic – Create your own filter bubble browser extension
I made a simple greasemonkey script:

https://gist.github.com/plotti/168f833a94cbd801c50ac7fc5bf280d3

It always runs when you visit a particular newssite. For me its the swiss news-site watson.ch

You can define topics via keywords that you don't want to see on this page (e.g. putin, trump, influencer) and then the script finds that dom element that contains this text and simply hides it.

When I started using it I realized how much of a website is news-junk that i am totally not interested in.

See screenshot: https://imgur.com/a/HtxTynh

Discussion: Obviously the filtering would need to be constantly updated to match the page layout, but with a community of people its not hard to do this, similarly like for adblock lists. I would love to find people who want to turn this script with me into a browser extension that allows people without coding skills to perform this sort of filtering. I also wonder if there are similar projects out there.

How to use:

1. Install Greasemonkey extension

2. Add this script as a userscript and adjust for your needs.
I get my crisp macro shots with tupper-cam [video]
Have you checked what Accept-Language header you're sending? Eg on http://myhttpheader.com/
Frankly what I think it we should have a compramize.

Make overflow on a signed int defined.
Create a new type called unsafe_int where it is not.

So then the compiler writers get to implement their pointless optimization pit traps. And everyone else can avoid those by banning unsafe_int.
Lawyers. Lawyers, prosecutors, judges etc will survive forever.
"technology" put us here, more of it without a dramatic paradigm change won't do any good.

See EVs for example, sold as a solution to global warming when it reality it's just ever so slightly displacing the problem and not actually solving anything besides car manufacturers from bankruptcy
Yeah I agree their recommendation algorithm needs some serious work. I have the same issues as you - especially that it keeps recommending videos again and again and I have clearly seen the thumbnail and not clicked it but it never gets the message unless you tediously manually hide the video.
Netflix did that for a long time with the very right item in the suggestion list where I could never see the details because it would instead scroll to the next page, making the item I was interested in disappear to the left :)
Seems like they fixed that though
New Book Identifies 26 Lines of Code That Changed the World
Some part are purposely unclear, some video on the matter[0]

[0]: https://www.youtube.com/watch?v=SIgznB0-ICo
> and using Arc to wrap structs carry a huge performance costs

Does it? It's like using shared_pointer, which some C++ codebases do everywhere for memory safety.

And some languages like Swift even do it by default.
Hand timed subs could still preserve the punchline. The problem is many subs are obviously OCR scanned from text.

But the pirate scene has people dedicated to writing subs, and are often credited in them. There is no reason Hollywood could pay someone to curate their subtitles.
Oh it is. The fact that you have to remember a (very lengthy) document and every single mention of undefined behavior in it just to be sure that the code that goes out of the compiler will somewhat resemble your mental model of it is, in my opinion, not a reasonable requirement.

It really shouldn't be that difficult to wrap all these assumptions into a ‘if (can_exploit_ub)’. Then you can just pass something like -fno-exploit-ub and everybody's happy.
Given Musk's nearly perfect record of making wrong predictions we can probably give this the attention it deserves: none. I can't think of a single prediction Musk has made that he delivered on, usually not at all but never in the year he predicted. The Psychic Friends Network probably gets at least 50% right.

The credulous press continues to lap this up when they should caution readers against Musk's latest stock pumping scheme.
how does it fail at that? it does exactly what the standard advertises. you need to write standard-compliant code.
It's difficult to argue about the woke mind virus with someone who is suffering from the woke mind virus.

Not everything is fascism.
It is undefined behaviour if I write GCC --hlep

Does that mean it's acceptable for GCC to reformat my hard drive?

Just because something is UD doesn't give anyone a license to do crazy things.

If I misspell --help I expect the program to do something reasonable. If I invoke UD I still expect the program to do something reasonable.

Removing checks for an overflow because overflows 'can't happen' is just crazy.

UD is supposed to allow C to be implemented on different architectures if you don't know whether it will overflow to INT_MIN it makes sense to leave the implementation open. If I, the user knows what happens when an int overflows then I should be able to make use of that and guard against it myself. A compiler undermining that is a bug and user hostile.
We're getting closer to automate programmer's job too though. In the end it's a text problem - get a textual description (ticket) and generate code that fits it. We have models that can generate non-repeating art, why not non-repeating code?
My favourite example of this is bank app I use very often, which comes with a VERY annoying twist. The most used button (one-time payment code) sometimes switches with "Take a loan" button, and after clicking loan button, someone from bank will call you in a near future to talk about it.
I'm totally fine with tooltips on hover. In fact, quite often they should appear quicker. And sometimes they don't appear at all when I really want them to. No idea what's going on with that.

But yeah, hover is just for info about the thing you're about to click, not pretending I've already clicked it when I haven't.

The stupid thing about Youtube is that sometimes a video starts playing on hover, in the thumbnail and without sound, and then I actually do click it because indeed it is something I want to watch, and then I miss the first couple of seconds because it's already shown those, with the sound off. It's just the most bizarrely stupid UI decision I can think of.
I also watch most things with subs but I find it frequently leads to a worse experience. I end up reading things too early (e.g. a punchline) for one.
It'll just become even more of a bimodal distribution of income than at the moment. There will be hundreds of thousands of people writing for free in communities, with whatever anti-AI policing they need to make that work for them, and a few dozen celebrities who make a living from writing.
A quote from the C standard:

"However, if any such execution contains an undefined operation, this International Standard places no requirement on the implementation executing that program with that input (not even with regard to operations preceding the first undefined operation)."

Quote found here: https://devblogs.microsoft.com/oldnewthing/20140627-00/?p=63...

It seems that the standard explicitly disagrees with you.
Not actually. As the GP said, Charing Cross (actually its old position at the present Trafalgar Square) is considered the centre of London, and all the distances are measured from there. Despite its name, the City of London is only one of the towns and villages comprising what we traditionally think of as "London".

Fun fact: Officially, there is no such place as "London". ;)
This problem is even older, but was not as prevalent as now.

Early 1990 I experimented with Mosaic, and I experienced it the first time: I wanted to click on something but in the few hundreds of milliseconds between my decision to click and really clicking an alert popped up and I accidentally dismissed the alert and couldn't read the message.

This does not only happen on the web. All GUI software suffer from this problem. I know that Office products also have caused me to misclick because something just appeared or disappeared.

I have been thinking about a tweak to the GUI: Let things appear or disappear but still accept click events for about 200 milliseconds longer. As if the change did not happen yet. Perhaps combine this tweak with a soft but quick blending-in of the change, and only enable the new GUI after the blending-in finished.

This is different from the problem that GUI buttons move but at least related. Perhaps with this tweak moving GUI buttons won't annoy as much, because we can react. This is not ideal, but not as bad.
I guess it was a joke comment - most soundbars are not even close to an imax alike sound system
If the same happened in a city in another country you just wouldn’t hear about it on international news.
Well, the problem with the first scenario is that if the discount is percentage based (say, 10% off), then it's going to require code to calculate. It's no longer just an SKU - it's an SKU which does a calculation, which is presumably not part of the platform already. And so we have a new "discount" SKU - but which line items should the SKU apply to? How do we know when to stop using that SKU when the discount runs out? And anyway, why should an SKU have a discount % field on it? Why do we get different behaviours based on some magic SKU field? It's a breakdown in cohesion... and so the spaghetti begins...

You can also argue that we can just "get someone" to apply discounts manually, but isn't that the job of the billing system? Manual labour doesn't scale too well, and a lot of mistakes get made - asking a customer to return an accidentally applied discount is a very, very difficult conversation, and I've worked with companies who simply had to absorb years of incorrect discounts because doing so was the only way to keep the customer.
I think I personally enjoy the magic of languages, compilers and their tools. A lot of work and fields make us very dependent on programming. We can achieve almost everything we want through programming. I used to be a person using a programming language, but now I'm working on my own programming language https://github.com/KusionStack/KCLVM , design a programming language and implement it, which will eventually improve the efficiency of developers, stimulate the creativity of more programmers, and let them feel b, I am working hard to realize this beautiful vision.
Especially if your name is Marlowe.
I know this is a stupid argument from my part, but I see this enormous effort to use tools that work really really well on Linux, but on a Mac. Why not just use Linux and save yourself the effort, performance overheads and whatnot? 99% of the time the loads are being deployed on Linux servers, why not use it in the workstation as well? Is it worth JUST for the hardware?
Check the link to the "NSFW" image. If you don't want to: My interpretation is that he sees it as a place where business ruins good-will technologists.
Typically, a "DevOps engineer" job position means that the infrastructure and architecture have become so terrible that a specialist is needed and/or existing engineers don't want anything to do with such mundane concerns. Which is, of course, the opposite of "DevOps" as the result of process improvement and collaboration.
> Either you'd need to switch your whole cloud infrastructure to run on ARM …

Nope, the whole cloud infrastructure does not need to switch.

Since containers are fully self-contained, self-sufficient and isolated from each other, they can coexist peacefully and run alongside each other in a mixed setup in AWS ECS/Fargate clusters.

And they do. AWS Lambda also supports aarch64, and the degree of isolation for the lambdas is even higher and they can also run out of a x86 or an aarch64 Docker image (if required), and 30-40% cheaper with performance loss incurred for the workloads I am interested in.
New EU law on gender balance on corporate boards
OP asked about cities in the USA. ;-)
This is not a counter point, you're agreeing with what the parent comment said. Choosing a subject doesn't mean only photographing "interesting" things.
I like it, but it relies on too much luck once all logical deduction is exhausted: I feel like it needs another clue source in there. Perhaps giving you a flop card for free
would be enough.

Another thing is to accept any answer that would explain the bronze/silver/gold.

Or what would be cool is take WSOP actual games, show the action and the cards, and you guess the flop/turn/river.
I can't comment about the new disks, but I'm surprised you can vouch for the 90s. They are magnetic support after all and I'd expect that to degrade rather faster than in a few decades, maybe less the plastic but more the magnetic medium...
Inflation has reduced the golden calf to an aluminum goat.

The principle still applies though.
It's easier to learn English with English subtitles, and stop often to Google some new word or idiom whenever you encounter one. I went from average in English comprehension to fluent in ebonics of the Baltimore area by watching The Wire.
I mean, it's representative of everything Meta found in the third quarter, no?
Netflix is managing to do this for me on AppleTV … it’s the one thing more annoying than the stupid YouTube app requiring an entire two extra button presses to switch accounts. Every god damn time I go to switch accounts I push the “select” button on the username in the username list, then remember “oh that’s right, fuck this stupid app” and click to the side and click the button again.

Every damn time… for years… every time. It’s that counterintuitive to my brain.

But as sand in the lettuce as that is. The Netflix app completely stubbornly refusing to give me a “mark as watched” and blatantly refusing to use the AppleTV SDK features to integrate with the “up next” and TV app… I’m getting pretty close to just cancelling the subscription, because I’m sick of having to go and specifically check Netflix… they are not that special I want to go out if my way, I’m sick of them being slow to load my list I’m sick of them not fitting into my relaxation time in a smooth seamless way and most of all I’m sick of having to waste time specifically opening their app, waiting for my list to load, being reminded which stuff from my big watch list is leaving soon, seeing there’s nothing I want to watch right now from my current partially completed tv show list and then leaving the app. Im just really annoyed by paying someone to waste my time… If they didn’t have just barely enough interesting stuff I’d have dumped them, but it’s just teetering in the balance.

Why the Netflix rant? Easy answer. I can see an exit potentially in the future. YouTube is shit and pisses me off but it’s basically a monopoly on hosting video content which means everyone else who makes interesting stuff uses it and unless I want to ignore the wonderful array of diverse and interesting and intelligent cont I have managed to find on there… I have no exit in sight for all the dumb shit google cancels I don’t see them cancelling YouTube.

Which is why I force myself to be more zen about its failings… This bread sure sucks but it sure beats starvation!
I didn't understand if in the end you can say "contra o muro" in portuguese (about the chair). In Italian, you can.
Mine is Firefox default "Accept-Language: en-US,en;q=0.5" yet google maps and search turned into French when I was in Luxembourg just for couple of days. Luckily they don't turn to ruscish any more when I'm in baltics.

My youtube ads are the same 2-3 casino/sports betting things over and over again. Tho I never have nor never will partake in any of those nor have I ever clicked on one, so it is just unbelievably stupid.
I hope the sculptors got paid in FIAT.
If I had a nickel for every time I accidentally deleted the wrong email using Gmail...
All optimizing compilers do stuff like this. You yourself ask the compiler to do it when you pass it '-O2'. Its default behavior is, in fact, to not optimize based on the assumption that UB won't happen.
So much this. Especially if you are squashing PRs, this tool is barely useful. I once tried to bisect the problem and I was able to narrow down the PR that introduced the bug, but the PR was made up of hundreds of commits squashed into one. So, we knew what PR it happened in, and it wasn't surprising because the PR touched dozens of files and hundreds, if not thousands of lines. The PR was a landing PR, in that people opened PRs into a staging branch and then eventually merged that one into the mainline.

If the commits weren't squashed, we could have narrowed down to the individual commit that introduced the (revenue affecting) bug and probably fixed the issue relatively quickly. IIRC, any git-bisect shouldn't take more than ~12ish attempts to find the breaking commit, no matter how many commits there are. At least we knew which PR the issue was affected by, but instead of just hot-fixing what was probably a one-liner, we had to either revert the entire new feature or read through all the changes to find the issue.
I hear people say this, but I haven't seen any concrete examples of AI generated art actually threatening the entire art industry. Sure, AI can generate me a nice pic to use for my blog post, but are game studios ready to fire all of their concept artists?
Western color psychology.

Red is considered a very lucky color in China.