skysight-inc/HackerNews huggingface dataset:
I've been flagged as a potential shoplifter by the self-checkout at the grocery store based on some video analysis of CCTV footage of my hand motions. (It was wrong, of course.) After leaving the store I wondered if it really was software analysis or just some guy in India or the Philippines watching a live feed of me scanning bananas.
Ugggh, credit card rewards. We all pay higher prices on goods because of the fees credit cards charge merchants, and then can get "rewarded" some of that money back. No thanks.
I have 133 occurrences of google in my host file.(and I'm not even saying that's enough) Those five you listed are a good start, but you can do better. There are a lot of services available to update your host file.
Show HN: godns A DNS forwarder similar to dnsmasq
godns is a super basic DNS server in go (mostly fun and go practice) which allows you to specify hosts and ips in a json config file. This eliminates the need for editing your local /etc/hosts file. If it matches a host in the json config file it returns that ip, else uses Cloudflare public DNS resolver as a fallback.

Please; easy on my go code :-). I am a total beginner with go. PRs welcome.
that gets solved by using a different quoting character for template literals.

https://discuss.python.org/t/pep-750-tag-strings-for-writing...

> Backticks are traditionally banned from use in future language features, due to the small symbol. No reader should need to distinguish ` from ' at a glance. It’s entirely possible that the prevailing opinion on this has changed, but it’s certainly going to be easier to stick to the letter prefixes and regular quotes.

and earlier in the thread the difficulty in typing it for some is cited as another reason
Let's try to generate some data to back up your experience.

So, let's test the quality of your internet connection with a long test. Run the following. https://speed.cloudflare.com/ it'll graph the speed and quality of the connection of the internet and wait till it settles. ( Wi-Fi is going to inconsistent compared to a wired Ethernet connection.)

Once the connection looks reasonably stable, then try calling and seeing if the graph changes significantly! Obviously, you can rerun it multiple times to experiment.
I’m using ellmer to power some research on LLMs at my job—it’s great!
Two windows are invaluable when doing diff, ctrl-F2 to navigate both windows to the differences in both windows.

I can quickly go over the content of the files in a directory with one window in dired mode and another for visiting the files.
The problem is TAI is not the source of truth in real life. In real life, Arizona can change its laws and suddenly that event is going to happen at a different TAI timestamp. That’s why the unambiguous storage format has to be a date time with time zone, and not just a timestamp.
None of that onboard stuff ended up working afaik as the Tensor chips shipped right as giant LLM's became how dominant.
A good time to remember: Colombia/Columbia
SCOTUS: Due Process in Theory; Deportations in Reality [video]
I guess this could be useful in SQL for escaping values, I saw a project on the comments here.

With templates:

mysql.execute(t"DELETE FROM table WHERE id={id} AND param1={param1}")

Without templates:

mysql.execute("DELETE FROM table WHERE id=%s AND param1=%s", [id, param1])

So one less argument to pass if we use templates.

But yeah it does seem a bit confusing, and maybe kinda not pythonic? Not sure.
I like this one:
https://www.forestapp.cc/

Then I whitelist google maps, camera, and my messaging app. Everything else is inaccessible. I paid for it.
By fighting anything abstract you only make it stronger.

Create something, do some positive impact. This way you will leave less space for bad things.
The current administrations insistence that even in court cases their attorneys must be unflinching in their positions ... really puts their attorneys in a somewhat hilarious spot at times. Granted it would be funnier if it weren't so sad ...
Sadly, I think we all know the answer - because laws don't apply to large corporations or wealthy, powerful individuals in the same way they apply to the rest of us.
Nobody involved in pro-Palestine protests has been sent to El Salvador. AFAIK only Venezuelan or Salvadoran nationals accused of membership in Tren de Aragua or MS-13 have been sent there. (If I'm wrong please correct me!)
I'll start!

Your skills: Urbit, Mayan language (Quiche), Tarot
Skills you want: Playing HackTheBox machines, DevOps, Elastic, Security Onion, computer networking
About you: I'm silly, kinda autistic. Very patient
Contact: dan.j.bednarski at gmail dot com
Rotten rings a bell there.
>and reap the rewards

Hmm. To chart the risk for individuals a bit better, maybe that "hardwork" ought to be replaced by "shlep-blindness"

https://news.ycombinator.com/item?id=3465521

(From top comment)

>one persons schlepp is another mans passion.

>You'd have to make deals with banks.

E.g. one can argue that Russia is full of passions (but not banks)
Marx is like a doctor who diagnoses a disease then offers a cure that is worse than the disease itself. It's a bit like removing a leg to fix a broken toe. I figured this out in college thinking about it for 10 minutes, I don't get anyone whose observed human nature for 25 years not to see the obvious flaws in it and why it always breaks down.

He also fundamentally misunderstands human nature and our ability to care about anything outside a "tribe" or rather put aside our own desires for those not in our immediate tribe. It simply breaks down at scale.

Just because someone can adequately critique and point out the flaws in a system does not make them qualified to architect a working solution. Especially first draft. The problem with communism is will always devolve into authoritarianism, because its the only way to enforce people putting the needs of others over their own, not to mention those in charge will do whats best to serve their own ruling tribe.

It's how we evolved, its human psychology, and at mass population scale you can't escape it. Capitalism or trade at least to some extent incentivizes mutual benefits on a basic level, but Marx tosses out the one thing about it that works, otherwise the same problems that occur in capitalism as it devolves come about the same way they do in every other form of human governance, with groups/organizations with a shared purpose or identity (tribes) jockeying for authority and power to serve their own interests.
> "I really feel much less demystified by this."

Respectful correction: you feel less mystified, i.e. it has been demystified for you.

PS That nit aside, great question. Sorry I can't provide illumination.
Fair, and I did, after I commented. Not exactly sure why I felt so compelled to comment, maybe because I was frustrated trying to find on the linked page what it was talking about.

I thought it was an actual game for a good chunk of time.
I agree in the sense that Black Mirror seems almost required to be extra pessimistic when... there's a better and far more complex story available with a different approach or ending.

Granted I'm also WAY burnt out on pessimistic Si-Fi, it's the default now, and it's predicable and far too easy.

That's not to say it can't be mostly dark, but for many movies and shows, that's most of the meat...
> Make a tradeoff that favors one of the things they miss for something they're myopically focused on?

Ok, I'll bite. If boosting the economy isn't the goal of his economic policy what is it?
Famous words.
Also Garfield Gameboy'd https://www.youtube.com/watch?v=tDqUDt3K5Mk
This feels like an example of the XKCD comic "lucky 10000"... I guess it was just my turn to learn about it today, after 15 years actively on HN.
Its a meme and not "truth". "Everyone" knows that our plugs have three large prongs and if you step on one then it will hurt. However, incidents of actual treading are very rare.

Our plugs do have a shape that means they can lie with prongs up due to the flat shape of the plug. Other plugs tend to be cylindrical and hence will always lie horizontally out of habit.

However, look at the size of the things! A US (for example) plug has two thin prongs. A UK plug has three thick prongs with one (earth) longer than the other two. If you actually leave one lying on the floor and it happens to be facing upwards and you step on it then what happens.

Our feet are phenomenally sensitive. We are easily capable of stepping on something nasty and detecting it and reacting by lifting up before any damage is done. That assumes normal walking and not say jumping onto an upturned plug, or being pissed or whatever might impair your senses.

Funny you should use an idiom like "a bunch" and describe yourself as a 40 years old Brit and have a new account. Your accent implies Casterbridge.
Yes it’s evil.
Do you think this kind of insight would be useful?

Go and ask restaurant owners. They are your potential customers.

Or better yet, ask them what their problems are and work on those.

The best likely outcome is you gain experience trying to talk to potential customers. Some experience acting instead of imagining. Good luck.
Fyne – Flutter but in Go
Exactly.
In this case it's pretty clear how Nate was defrauding investors with the claims.
Amazon Go made fraudulent claims, but not only had the legal savvy to hedge those claims, they didn't directly raise fund from investors based on those claims.

IANAL, of course.
This is what happens when you let recent college graduates and "idea guys" with no real work experience make wholesale ideological changes to organizations that do actual work...
>> many of us over the generations who read it really really did not want to live in such a future

You live in exactly that future.

The screens that you watch, watch you. You can't escape them in your own home, let alone in public.

Words are redefined by the elite at their whim, as they were in the novel.

Very few would dare to publicly align themselves with the nation which we have always been at war with.

You live in that world now.
D had a big blow up over string interpolation. Walter wanted something simple and the community wanted something more like these template ones from Python (at least from scanning the first little bit of the PEP). Walter eventually went with what the community wanted.
While I don't fully agree with the article, I really like this sketch about "Black Mirror in medieval times": https://www.youtube.com/watch?v=y1aSqZ23ydk

It does show rather well (and rather funnily) how it can be a fine line between warning about technology, and taking it too cynically.
YaRrr! The Pirate’s Guide to R

https://bookdown.org/ndphillips/YaRrr/
It's pretty well known that the AI companies are heavy users of Amazon mturk for their RLHF post-training.
Yah but CBSA it states that only certain offenses allow for devices to be searched as part of standard procedure. The article states, that the US border can do it without justification. You may be cynical towards what the Canadian border might consider valid justification, but unless you believe that they're lying or the Auarticle is lying,
Woody Guthrie had the right technology.
A consent decree doesn't give the White House binding control over Columbia; it gives a federal judge that control. Consent decrees with universities aren't unprecedented; there are several over ADA issues, for instance.

I'm not saying this is good (I have no idea, but given the actors involved, probably not), and this isn't a normative claim.
Thanks! I actually use Superset and echarts does work well on it
As a card-carrying Whig party member I take offense to this. US has had periods of 3 parties, where the 3rd party ousts the 1st or 2nd eventually and we're back to two party, though that's more 1800s.

This is a product of duopolistic parties AND social media algorithms. Outrage. Outrage gets clicks, gets money, gets votes.
>> no plotting library available in python even comes close to ggplot2.

I so disagree. I've used R for plotting and a bit of data handling since 2014, I believe, to prove to a colleague I could do it (we were young). After all this time I still can't say I know how to do anything beyond plotting a simple function in R without looking up the syntax.

Last week I needed to create two figures, each with 16 subplots, and make sure all the subplot axis labels and titles are readable when the main text is readable (with the figure not more than half a page tall). On a whim I tried matplotlib, which I'd never tried before and... I got it to work.

I mean I had to make an effort and read the dox (OMG) and not just rummage around SO posts, but in like 60% of the time I could just use basic Python hacking skillz to intuit the right syntax. That is something that is completely impossible (for me anyway) to do in R, which just has no rhyme or reason, like someone came up with an ad-hoc new bit of syntax to do every different thing.

With Matplotlib I even managed to get a legend floating on the side of my plot. Each of my plots has lines connecting points in slightly different but overlapping scales (e.g. one plot has a scale 10, 20, 30,another 10, 20, 30, 40, 50) but they share some of the lines and markers automatically, so for the legend to make sense I had to create it manually. I also had to adjust some of the plot axis ticks manually.

No sweat. Not a problem! By that point I was getting the hang of it so it felt like a piece of cake.

And that's what kills me with R. No matter how long I use it, it never gets easier. Never.

I don't know what's wrong with that poor language and why it's such an arcane, indecipherable mess. But it's an arcane and indecipherable mess and I'm afraid to say I don't know if I'll ever go back to it again.

... gonna miss it a little though.

Edit: actually, I won't. Half of my repos are half R :|
AI standards for "actually Indians."

It's the same tech used at Intuit Dome for the food stalls.
There used to be a tank museum in the bay area. How could you criticize that weird collection? :)
>Authoritarianism is fundamentally right wing.

Go look at a political compass. Authoritarianism is when you use force to push your ideals, whether they be radical/liberal (left) or orthodox/conservative)(right) ideals on a populace with extreme authority. Communism is considered left/radical, if you use government force to make people adopt it, that's using authority, hence authoritarianism. Please learn definitions and political axis before making silly arguments.

China isn't really communist because they tried it and people starved, then they had to go back to capitalism or some degree of it, but kept the authoritarianism, and effectively became some hybrid version that leans fascist.

Communism simply never works at scale, socialism can to an extent, assuming its not abused and there's a homogeneous society with shared cultural values and purpose that includes to contribute and to not abuse it. Hence Nordic socialism, which of course breaks down when you bring in those that don't share those values as its doing now. I've heard enough Swedes bitch about Eastern European migrants abusing their social welfare to say nothing of now to see the idealism fall apart when self interested parties without the same cultural values enter en masse.

Human psychology being about protecting and serving the interests of your tribe and things like "Dunbar's number" and the limit of the number of people you can literally care about and prioritize makes it impossible at scale. Families can be communist, even a small group of 10-50 people (more or less a cult or small tribe), massive populations can not. They simply are not going to work for the benefit of others without receiving something in exchange, unless you use a gun to their head, which is why all communist regimes start out authoritarian, but holding a gun to someone's head for 10-50 years won't change 200k years of evolutionary programming. Hence why Marx is good at pointing out capitalism's flaws, but he's naive and even more fundamentally flawed when it comes to prescribing a solution that does way more harm in the end.

Truth is most successful societies adopt a hybrid solution, socialism at the community or local level where everyone works for a shared purpose and contributes to the local community, whether that be through a church, small local government, etc. with capitalism that allows trade and mutually beneficial deals to happen with those outside of that community.
Yea, I do the same, I try to surround myself with positive people. Friends I choose, local businesses I frequent. But there are some forced interactions (like kid's school friends' parents for example) where you have no choice to have to interact with terrible people.

My recollection is that niceness used to be the default in random people you might meet. But that's not been true for about the last ten years or so. You actively have to seek out nice people now. Something happened back in 2015-2016, where "casual meanness" became suddenly OK, and people went mask off and it was cool to be an insufferable jerk.
Do you have a photo of the results?
You should read Stephen Wolfram, The Second Law. He has a useful perspective on what can be predicted (computed) by an observer and what can't, it is more helpful than thinking about things in terms of compression. His views on physics-in-the-world phenomena are not correct, to be clear, but the mental models are useful.
> except for edge cases where the AI failed to complete a transaction

Technically if the AI fails a transaction (or is expected to) then I see nothing invalid about the processing being 100% human!
I hear that pays really, really well:

https://www.newyorker.com/business/currency/how-to-travel-li...
I really like picking up arcane UNIX/Linux knowledge. In the 90s, I was asked in an interview by a wizened old UNIX greybeard what the brk system call did, and what I would think if I saw it pop up frequently in the strace output of a program I was trying to diagnose. I did not then know the answer to that question, and I subsequently bombed the rest of that interview. If I would have read this article I could have told him stood for "program break" and mentioned that it was an end-of-heap marker, and that I should expect that the program was calling malloc (which was then implemented with brk) a lot. I probably would have still bombed the other interviews, but I could have at least momentarily impressed the crusty old sysadmin.

Nowadays however, interviewers are rarely impressed with what arcane knowledge you may or may not have, regardless of how hard won the experiences were that taught it to you.

I was reminded of this when reading the "Demystifying the shebang" article today on HN when I saw it in some strace output, which along with the other similarities got me to thinking about this article.
Thank you for your work on this topic and for answering questions here. I have a question: is there a way to avoid the security issues with string formatting described here? It seems like all (most?) string formatting options suffer from the same issue.

https://lucumr.pocoo.org/2016/12/29/careful-with-str-format/
Exactly. A post full of bollocks.
Rich old people can't be expected to know anything about anything.
It was praised for its visual style.
AAI: Artificial Artificial Intelligence
Mutual Fund ETF Unrealized Gains and the SEC's Two Masters (2024)
Knowing the history of GCC (more focused on C) and Clang (more focused on C++), it makes sense to me that GCC has better ISO C compliance.

Clang has a very nice specific page for ISO C version compliance: https://clang.llvm.org/c_status.html#c2x

I could not find the same for GCC, but I found an old one for C99: https://gcc.gnu.org/c99status.html

CppRef has a joint page, but honestly, I am more likely to believe a page directly owned/controlled/authored by the project itself: https://en.cppreference.com/w/c/compiler_support/23

Finally, is there a specific feature of C23 that you need that Clang does not support?
> Adding comments in the source code itself

I've worked with editorial teams and I'd rather have that than PDFs and/or Word files without version control.
Columbia's endowment is ~$20 billion. A sustainable spending level would be 3-4% of that, assuming no further donations, or 4-5%, if donations continue as usual. In any case, it would be at most $1 billion/year, and that money is already spent on current activities.

Last year, Columbia received over $1.3 billion as government grants and contracts. Even if they stopped everything that currently depends on the endowment and redirected the money to replace federal funding, it would not be enough.
Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

https://news.ycombinator.com/newsguidelines.html

Edit: In many other threads on HN, people lament and protest the difficulty of getting paid well as a freelancer or small business in the technology industry. Let’s not trash someone for charging a handsome price for a product that’s had a lot of time, thought and design talent invested into it. Everybody knows that other clocks ant timers exist. Nobody is forced to buy this one. But we can still appreciate the effort and talent that someone has put into trying to create something beautiful, and respect them for charging a premium for it. And let’s keep Hacker News from being a place for grumpiness, especially about people trying to make nice new things.
It's funny that "it's a computer but I'll tell people it's a human" and "it's a human but I'll tell people it's a computer" are both commons ideas.
110V is regularly used via transformers, generally for safety - 110V doesn't kick you as much as 240V. Perhaps I didn't emphasise that 110V is not grid delivered here.

I have a 110V transformer and a 110V rated SDS hammer drill. The idea is that if I manage to hit an electrical cable then I will probably not die, with luck.

We also have three phase which I think is normal in the US, for example and is why ethernet over power line is a bit fraught.
I don't know if we had bad service or what, but I bought both my kids cell-connected Apple Watches and had a terrible experience. Could never get ahold of them, half the time they couldn't call us or message us, battery sometimes wouldn't last a day, and on and on. I cancelled the plan and the watches sit in a drawer now.
The part you’re misunderstanding about black mirror is that it’s about how technology will strip the humanity out of people.

Also, the name of the show is BLACK mirror. Besides the iPhone symbolism by which the name is inspired, the whole point of the show is to hold up a mirror to the dark side of society.

This may lead to a show that is without nuance or is less interesting, but thats the point of the show.
What I would use is an ADT and I make a wish for that every day in every language that’s not Haskell :D

Haskell also has operator overloading on steroids so you could use the (|>) operator from Flow and write transformations the same as you would shell pipes. I’d love to whip up an example but it’s difficult on this tiny screen. Will try to remember when I’m on my computer.

Before someone chimes in with ML propaganda, I warn you that I’m going to exercise my rights under the Castle Doctorine the moment you say “of”.
Communicating bugs: use a single standalone shell script