skysight-inc/HackerNews huggingface dataset:
I had a really strange experience at a self checkout just two hours ago. The employee monitoring the terminals suspected I was entering items incorrectly (intentionally), and came over to review my basket and what I’d entered.

She became flustered when she saw everything was correct, then began rapidly and somewhat forcefully checking the rest of my items through. Was it that she didn’t trust me? Was I doing something that looked suspicious?

Maybe there’s a lot of shop lifting and their job security is at risk when it occurs on their shifts. In any case it made me regret choosing self checkout – I’ll definitely think twice in the future.

Ironically my wife steals things in self checkout constantly and I never have (nor would I), but somehow I’m the one who gets picked out for a thorough check.

I feel for that employee, anyways. I was a little frustrated and bothered by it at first, especially when she began checking my items through for me. Then I realized she must deal with people being pretty awful and lying to her all the time – I wouldn’t last a day.
There are photos with captions at [1].

[1] https://www.charlesbrooks.info/
I use the GNOME Disks app (udisks frontend) because it provides a lot more context for wiping drives, which helps prevent the sort of problems you mention.

https://wiki.gnome.org/Apps/Disks
My old AV receiver had a "night mode" (I believe it was called) that did some really great, natural-sounding dynamic range compression. I ended up just keeping it on all the time, for the reasons the parent lists. Alas, the entire unit stopped working several years ago, and I learned it would cost more to repair it than replace it... and I didn't do great research when buying its replacement, so "night mode" is no more.
It lets me and my friends talk over the movie without missing much. Do other people not do that?

EDIT: Come to think of it, makes DVD commentaries much more useful as well.
I've done that before, now I have a custom shell function that recursively lists the files to be deleted and forces me to confirm that they should be deleted.
> you really need the behaviors documented before you start screwing with it. It's very likely this thing has some pretty complex business logic that is absolutely critical to maintain.

Nothing I said suggested otherwise. Absolutely critical for whomever is doing a rewrite to understand everything they can about the application and the business, before writing a single line of code.
As constitutionally protected, as socialism, desecration of the flag, lese-majeste and smut are.
What would you consider formal business activities?
* Discovering Modern C++ by Peter Gottschling - Good fast coverage of the features.

* The C++ Programming Language, 4th edition by Bjarne Stroustrup - The biggest change in the language was the introduction of C++11 and this book covers it well.

* A Tour of C++, 3rd edition by Bjarne Stroustrup - Summary of all changes upto C++20.

* Software Architecture with C++: Design modern systems using effective architecture concepts, design patterns, and techniques with C++20 by Adrian Ostrowski et.al. - More like a broad survey rather than in-depth but covers development in a "modern ecosystem".

* Modern C++ Programming Cookbook: Master C++ core language and standard library features, with over 100 recipes, updated to C++20, 2nd Edition by Marius Bancila - A series of articles one each for a language feature.
Can someone please explain how I can run this on my computer but something like GPT3 is too computational intensive to do the same? Isn’t text easier than images?
> most people have a 2.0 or a 2.1 setup at most

Wait, is this true? I’ve always thought I was in the minority for “still” having “just” 2.0. I’ve been needing to upgrade my receiver for a while, but mostly putting it off since I can’t find a decent 2.0 one with a good number of inputs. Almost every receiver is (5+2n).1 these days (where n >= 0).

I feel so behind the times in my simple 2.0 system, even though I think it sounds better than almost any other setup I’ve heard — and my speakers are probably 30 years old!

So I really don’t care if I’m behind the times, but would still be nice to find someone produce a first-class 2.0 receiver.
It's kind of sad that some kind of tedious bag check is "doing it right". If you have to go through that, why bother with the self-checkout at all instead of going through a human cashier?

Where I live, the self checkouts in all stores are basically unmonitored, don't have any item weight consistency checks, and basically the only thing that causes staff to be summoned is buying something that requires agree verification. In the last three years, I've exclusively used these and not once have they checked my bag. Seems to work, at least in that nobody has tried tightening their systems.

(Of course what works in a high trust society won't work in low trust ones, and vice versa.)
Yes, a computer with a good low-noise ad/da converter can be an excellent compressor. But it's likely to be much more expensive than a used RNC.
So I guess government restricting free speech is fine?
(It was fixed shortly after your comment was posted.)
Sorry, I’m going to need you to give me a little more of a clue what you are talking about.
Great points. Is there a book or some other resource that covers the differences in doing business between the US and emerging markets?
When you live in a system that increasingly benefits the few at the expense of many, anger is a natural immune response. A healthy catalyst for change, really.
A lovely knot to unravel!

First, get everything in source control!

Next, make it possible to spin service up locally, pointing at production DB.

Then, get the db running locally.

Then get another server and get cd to that server, including creating the db, schema, and sample data.

Then add tests, run on pr, then code review, then auto deploy to new server.

This should stop the bleeding… no more index-new_2021-test-john_v2.php

Add tests and start deleting code.

Spin up a production server, load balance to it. When confident it works, blow away the old one and redeploy to it. Use the new server for blue/green deployments.

Write more tests for pages, clean up more code.

Pick a framework and use it for new pages, rewrite old pages only when major functionality changes. Don’t worry about multiple jquery versions on a page, lack of mvc, lack of framework, unless overhauling that page.
You may be at the start of a classic story of an unexpected journey.
I wonder if as part of the rollout, they selectively routed non-rfc compliant connections to nginx and get 90% of the way there with their changes while they added more support
Perhaps they mean not homoiconic like lisp or forth.
I think the concern here is that the new ruling could make it mandatory for Facebook etc. to distribute hate-speech.

Who wants such an outcome? The haters.
Words per minute spoken - 120-150

Words per minute read - 220-350

When doing some other task side by side with consuming a movie with captions, the combination of reading and hearing allow a better comprehension than just one or the other. E.g. side tasks like reading twitter, playing a game, sending a text message. When captions replace the aural mode, this allows enough time to interleave attention (e.g. watching a movie while browsing TikTok on mute).
>> Ironically my wife steals things in self checkout constantly

Not to pass judgment on your wife or anything like that, but I’m very curious: Has this changed the way you feel about your wife or her judgment?

I was just thinking to myself that if my wife said that she stole things constantly through self check out, I would advise her that it would be wise to stop. To me it’s reckless, you may never get caught, but you might get caught, and who knows what incident that might create.
Christian Crantell has already made a Stable Diffusion plugin for photoshop[0]. Not 1st party mind, but given Photoshop's transforms already included I imagine they have people looking into it.

[0]: https://christiancantrell.com/#ai-ml
How do you like Rust for say SaaS type services? JSON marshalling/unmarshalling, socket behavior, etc? HTTP request/response processing?

I spent the last two months coding in Go pretty much not enjoying it. Nil is not always equal to nil in third party libraries through an interface -- and the compiler wouldn't warn about it.
GPT3 is a large model that won't fit in memory generally.

Stable Difussion isn't so heavy... mostly you are limited by how many steps you want to do.
Were you somewhere a little upscale?

I wonder if she was trained to do that so that you'd think she just came to help.
Also I am not certain that publishing tweets is a violation of sanctions?
KDE i believe uses phabricator (so likely phorge going on)
I worked in grocery for a decade until going into accounting. The labor saved by self checkout is ridiculous. The hours for front end staff were reduced by an order of magnitude in my time there. They were always pushing us to pull people to self checkout to reach the required utilization rates and other ridiculous measure-targets. It started at 20% self checkout utilization rate, then creeped up over the years to 60%. Of course that means less staff.
>... they're amateur only in the sense that a national quality producer and engineer and studio probably wasn't involved, but probably recorded in the proverbial garage, except actually at a "pro" studio, in the sense that was a studio, and it cost them something, maybe $15-$30/hour, as opposed to $800/hour, or whatever places like Abbey Road Studios charge.

https://en.wikipedia.org/wiki/Reciprocal_Recording
Do you share a rewards account at that store with your wife, who steals things constantly? It wouldn't surprise me if the sales system could recognize suspicious customers and flag them for review based on a rewards number/account.
This is an insightful observation but also feels incomplete and outdated. They use hot and cold to distinguish between "one sense" and "all senses", for some reason, which doesn't quite match modern media.

But I definitely agree that there is something to it, and video games occupy a different niche of entertainment than movies for me. Video games are a pastime and a hobby, movies and shows are not unlike books: I don't want to miss a single piece of the action.

When I have dinner I watch something off Youtube. Movie time is after dinner when I can give my full attention to it.
Social media has dramatically magnified these preexisting 'material contradictions' to America's sociolegal conception of free speech. The absurdities are becoming larger and larger and cracks are showing. Stochastic terrorist there. Fascist elected here. 500k anti-vaxxer deaths over there. What will come first, will the dam finally break in the form of society collapsing into conspiracy driven dictatorship, or will the ideologues realize that their constructs can't cope with the modern world?
Great read, guy is a party genius.
This approach is a trap.

Management need to know that this needs a rewrite, and a more capable team, and that persuing on aggressive roadmap while things are this bad is impossible.

If they say no, and you try to muddle your way through it anyway, you are setting yourself up to fail.

If they say yes, ask for the extra resources necessary to incrementally rewrite. I would bring in new resources to do this with modern approaches and leave the existing team to support the shrinking legacy codebase.
One part I agree with is that Twitter marketed itself as free speech, only to change tune when it became market dominant.

That’s false advertising, or at least bait and switch.
Scientists create the first ever autistic monkeys
Show HN: I may have created a new type of puzzle
If used to work but somehow was broken on M1Mac a few days ago. Not sure if fixed. Get an older branch if it doesn’t work for you.
For context, I'm in my mid-30s and grew up playing video games. When doing chores I listen to podcasts or audio books.

I really like to think of media consumption in terms of attentional pressure. How long can you not pay attention without "missing something". For movies and TV shows it seems like 15 seconds, plus or minus depending on the content itself. Chatty podcasts give you 30 seconds or a minute.

I enjoy the fast video games I play (shoutout to Deep Rock Galactic, killer PVE FPS with a non-toxic player base!) because they modulate their attentional pressure and ratchet it up intensely at moments. It feels great to handle a situation where even a subsecond lapse in attention would result in failure.

From wikipedia: Cool media are those that require high participation from users, due to their low definition (the receiver/user must fill in missing information). Since many senses may be used, they foster involvement. Conversely, hot media are low in audience participation due to their high resolution or definition.

Seems like it's hard to place fast video games? You don't have to fill in much of anything (hot) but they require full participation (cool).
What kind of work can you do while watching? You're just doing two things badly. Unless you mean physical work that doesn't engage the mind like cleaning or doing the dishes?
That source does show that Europe has the highest forest coverage, although the weird remark about Russia does imply that Asian Russia is counted. Moreover, North America, which I believe is quite forested, is totally absent from the chart.
I have auditory processing difficulties. Among many other sensory challenges. Sitting at a table in a restaurant, I struggle to understand what my friends are saying to me over the din of background chatter, a bartender shaking a drink, back of the house clinking a pan.

I similarly struggle to understand what actors are saying when they’re backed by theme music or other physical things going on as part of (or behind) the story. Captions help me actually consume video rather than feel lost in it. Without text I pretty much would stop consuming video entirely.

Granted, I’m 40 so I can’t speak for the youngs. And I hear just fine in that the sounds are all present in my ears and my brain. They just get jumbled and being able to catch up with text helps immensely.
modern C++ is fine, as long as you don't try to get too clever with return types, move semantics, constexpr and template parameter expansions.

They all have their places, but if your code is littered with them, it feels like every line is a puzzle.

Here's an attempt to wrap sqlite in a typesafe manner using template expansion. All very simple C++11. https://github.com/nurettin/pwned/blob/master/sqlsafe/sqlsaf...

(some types had to be spelled out because the compilers weren't ready)

Here's some more C++11 without using any of the mentioned complexities https://github.com/nurettin/pwned/blob/master/server/server....

This shows that simply spelling out your types and not getting crazy with polymorphic metaprogramming makes code much more readable. Ideally, code should just be a bunch of ifs and loops.
> "Personally, I like to run "find -name file" and once I'm ok with it, I circle the command back and add -delete to it. It is much more usable."

This is becoming more and more my favorite method as well. It's easy, it's reasonably safe, it's readable, and it works well.
Arena allocation and smart pointer tackle fairly different problems. Not sure why you're conflating these different problems? I'm extensively using both of them on a fairly large code base (>10M) daily basis. Without smart pointers, I'm confident that engineers will need to spend 2x more time on figuring out actual ownership of pointers.
How can I know what it’s worth before I drink it?
Not sure if this answers your question, but you can use a Yubikey for FIDO2 on iOS with any iOS device with a USB port, or use the camera connection kit to make one on a Lightning port device.

Source: I was curious, so I used a camera connection kit to login to Okta with a Yubikey as my MFA last month.
Some people are just really bad at self checkout - they’re not trying to steal.
Pay what you wish model? I sure would love my mortgage to be a 30 year at 0.01% APR. Something tells me if all the rest of the customers asked the same that bank wouldn't be around very long.

Its not a bad thing for both parties to be up front with what is reasonable to them.
I love how you wrote “enunciate”. :-)
>Actors need to go do some stage acting and learn how to e n u n c i a t e and project their voices.

Hard disagree. I want realism. The sophistication of modern audiences is now so high that the level of enunciation and clarity in older movies now sounds comical to modern audiences. Believe it or not this old style speak you see in Older movies was Literally artificial and made for acting: https://www.youtube.com/watch?v=Gpv_IkO_ZBU

Modern Audiences want realism. They want a certain level of believably that matches with reality. And a dialect artificially designed for "clarity" on radio just doesn't work.

Clarity takes a hit in the name of realism... but who cares? I have closed captions for that. Literally I don't see what's wrong with it.
How do you know that wine is worth $30/glass if you've never had it?
Where is C++ the only choice? Gamedev seems like the closest—as far as I know, most AAA games aren’t using C, but I think maybe many are using C# via Unity (I’m not familiar with the gamedev space)? In the embedded world, C still reigns supreme. Maybe in the world of high frequency trading? But these seem to be fewer and fewer and Rust seems increasingly likely to be a contender in these domains.
I’m doing the work of an employee to scan and bag my groceries. Stealing almonds is the wages I am owed for my service.
Do what I did. Quit. Don’t get paid. Work for years to build your own business and fail a lot. Be poor but find happiness in the journey. Until you succeed. Then find happiness in that journey. This is the way.
Eventually is right now.

Hydrogen and ammonia electrolyzers are being built by the tens of megawatts as we speak. Presently for chemical synthesis, but use in fuel cells or turbines is not far behind.

Simple synthetic hydrocarbons follow soon after that.
It is used as a trading term in hedge funds. It is shady and heavily regulated by SEC unless you are crazy enough to trade crypto or fx where SEC can't regulate anything.
> Why can’t we be kind and considerate of each other?

Because if you miss an opportunity you might miss putting food on the table specially if you live in a developed country.
tiktok audio is not off by default. But it's right in the idea that some people will have the audio off, and cc means you can consume the content in either case.
Wat? Y’all learned to read cursive in schools? Like your teacher just wrote words but in connected illegible italics and had you figure out what it meant? And yet y’all think we’re the weird ones.
Yea, I've heard that. I've been to Kurt Cobain park by the river twice and sat under the bridge where Kurt composed Something In The Way. Aberdeen Washington is one of the most depressing towns in the North West because it's was a lumber town with an air of desperation about it. I passed through a couple times and they didn't even a memorial for Kurt for a long time. Now they begrudgingly have a shitty park by the river, which seems fitting.

Underneath the bridge
Tarp has sprung a leak
And the animals I've trapped
Have all become my pets
And I'm living off of grass
And the drippings from my ceiling
It's okay to eat fish
Cause they don't have any feelings

Nirvana - Something In The Way https://www.youtube.com/watch?v=q4gMfdfRRnA

Here's a few pictures:

https://imgur.com/a/xL0xlB0

https://imgur.com/a/X5OFp5e

https://imgur.com/a/SRdBtXC

Cobain made a lot more sense after spending time at the park in Aberdeen
What's the best way to think about a team switch?
Yeah, that is a reasonable question if you’re not familiar. People are mean if they’re downvoting :(
Opening paragraphs of the linked paper:

> In 1900, David Hilbert challenged mathematicians to design a “purely mechanical procedure” to determine the truth or falsehood of any mathematical statement. That goal turned out to be impossible. But the question — does such a procedure exist, and why or why not? — helped launch two related revolutions that shaped the twentieth century: one in science and philosophy, as the results of G ̈odel, Church, Turing, and Post made the limits of reasoning itself a subject of mathematical analysis; and the other in technology, as the electronic computer achieved, not all of Hilbert’s dream, but enough of it to change the daily experience of most people on earth.

> Although there’s no “purely mechanical procedure” to determine if a mathematical statement S is true or false, there is a mechanical procedure to determine if S has a proof of some bounded length n: simply enumerate over all proofs of length at most n, and check if any of them prove S.
This method, however, takes exponential time. The P ?= NP problem asks whether there’s a fast algorithm to find such a proof (or to report that no proof of length at most n exists), for a suitable meaning of the word “fast.” One can think of P ?= NP as a modern refinement of Hilbert’s 1900 question. The problem was explicitly posed in the early 1970s in the works of Cook and Levin, though versions were stated earlier—including by G ̈odel in 1956, and as we see above, by John Nash in 1955.

> Think of a large jigsaw puzzle with (say) 101000 possible ways of arranging the pieces, or an encrypted message with a similarly huge number of possible decrypts, or an airline with astronomically many ways of scheduling its flights, or a neural network with millions of weights that can be set independently. All of these examples share two key features:

> (1) a finite but exponentially-large space of possible solutions; and

> (2) a fast, mechanical way to check whether any claimed solution is “valid.”
I've noticed Walmart does automated monitoring of self checkout. Once I got flagged at checkout when I placed the scanned item directly in my shopping bag instead of the designated shelf; the person who came to inspect my lit up station showed me the video excerpt from a camera overhead that detected the movement discrepancy.
I knew someone who would routinely shoplift clothes from Walmart. They'd essentially change all the clothes with new ones while at the store most times they'd go. They were never challenged leaving even though they'd walk past the greeter wearing a completely different outfit than when they came in.

Not that I endorse such a thing, I did not approve of that person's actions. I mentioned it once when leaving, the greeter shrugged.

Some places just price in the shrink and honestly don't care.
Stunning images. The impact of climate change in some of these pictures hit harder for me than the regular reports on them. Especially images like the one with kangaroo during the bush fires or the cheetahs getting washed away by the flooding in Kenya.
That wasn't it; There was nothing revolutionary about it. It was the most hyped/marketed language in History[1]. Sun threw ungodly amounts of money to market it and make it what it is today. Invented as a "Embedded Systems" language, pushed as a Browser "Applet" language, moved to "Server App" language and settled as a "Enterprise App" language.

[1] https://www.theregister.com/2003/06/09/sun_preps_500m_java_b...
It's something I wondered about whenever I see those fully-automated store prototypes. Whenever you have a system like that you'll soon find out how much creativity the most mischievous people have. The ability of people to get around this stuff is pretty much limitless in ways you can't even imagine when you put safeguards in.

I think they'll pretty much only work out in places that have such strict laws and culture around theft that people don't even attempt it.
For those who didn’t read the article, they’re not ending “self-checkout” with dedicated lanes and scanner machines.

This is a smartphone app system that they briefly rolled out and have now paused/abandoned. It did not require going through a line at all, which presumably made it much easier to ‘accidentally’ not scan an item here or there.