skysight-inc/HackerNews huggingface dataset:
Ask HN: How to calculate the sums of 230 invoice files of different formats?
I have 230 invoice files going back 18 years, a mix of PDF/XLS/DOC files and three different currencies.

I'm trying to find out what the invoice sums are, using an AI to go through all the files and do the math for me.

But for different reasons, neither Claude 3, ChatGPT (GPT-4o), Gemini 1.5, Microsoft Copilot GPT-4 nor Perplexity are able to do this.

The prompt: "Can I give you all my invoices (200+ PDF/XLS/DOC files), and can you then extract the total invoiced amount, breaking it down by year and by currency, and listing the totals per currency? If needed, here's a dropbox link for all the individual files: (URL)"

1) Is what I want possible with an AI right now?

2) If no AI can do it, what's the easiest way to do it on macOS with a manual or more automated method?

(I think maybe ChatGPT Plus with Wolfram could do it, and if it DEFINITELY can, I could pay for it and try.)
The amber alert stuff seems useless. Maybe I’m a bad person but I just have that disabled. The emergency weather warnings are also pretty high false positive with respect to things like flash flooding but at least worth being aware of.
It’s completely different for the reasons you already mentioned. It’s like saying an abacus and a (digital) calculator are the same.
I'm doing that these days at the grocery store. If your shit ends in an odd number, I'm assuming it's been shrinkflated. OJ bottle of 1.87 liter? Pass.
see xsum https://gitlab.com/radfordneal/xsum
You're thinking about a sign and magnitude representation, which is not how integers are represented in a modern computer.

The modern version is two's complement. It still has a sign bit, but negating a number involves more than just changing the sign bit since the representation is modular.

https://en.wikipedia.org/wiki/Two%27s_complement

https://en.wikipedia.org/wiki/Modular_arithmetic
No, I'm a GNOME/KDE user. It is written by a Debian colleague of mine.
This misses the context.

A war between the two countries caused the death

Also the bug was known, and more of a limitation that required the system to be power cycled (and this unit wasn't).
Here's our experience with rootless docker.

We've used it in a single-user (a docker user) and multi-user (user for each dev) environment.

Most, if not all, containers work fine, there are some, like mailcow which don't work well with it.

If you have multiple IPs on the one machine, there is a longstanding bug that means you can't bind the same port on different IPs. Eg IP1:80 and IP2:80. The workaround for this is separate rootless docker users + runtime for each container that shares ports, nasty.

In a multi-user environment we simply setup rootless docker under each devs user, so they have their own runtime and their own containers isolated from other devs. This works really well.

Overall it works well for us.
Discussion 3 moths ago [0] (245 points, 178 comments)

[0]: https://news.ycombinator.com/item?id=39561594
This is similar to what happened to Eve and Adam when they ate from the tree of knowledge. Became self aware, aware of their nakedness. Man became aware of their vulnerabilities, death and so on.
They already create periods of abundant electricity, which is why we have negative prices. In practice this means you have to pay the producers for the electricity and then pay once more someone to take it and use it. This could be solved by removing the guaranteed purchasing price and dispatch priority, but then the entire solar economy becomes a lot different.

While periods of abundant electricity might seem like a good business opportunity, it turns out it is not easy to efficiently use huge amounts of electricity that come and go according to the weather. Most factories need to have reliable production to be economical.
I fully endorse spending time as you wish. I do however not understand the interest in home automation. "Good enough" to me is walking over to the thermostat and changing it if I'm too warm or too cold. This is almost never. I set a temperature that I'm comfortable with and then forget it.

Same with lights. If needed, I turn them on when I enter a room. I turn them off when I leave.

In my car I can't stand "automatic" climate control. It never works properly. The best system is one manual dial for fan speed and one dial or slider for heat with an on/off for AC. Simple, reliable, and adaptable to conditions that are outside the parameters of the automatic sensors and programming.
Khan - an English loanword from Middle Mongolian meaning "ruler". Migo - in the works of H.P. Lovecraft, a fundamentally alien race that has mastered neuroscience.

Seems a little too much on the noise?
I've always seen this as simply convincing hallucinations rather than reality (the brain is able to believe some rather outlandish things after all). For example, the folks who say they live whole lives in a dream, when in reality their brain simply had a strong perception of having lived a whole life, without any of the actual experience beyond a few brief false memories, which is quite different.
We've had spell/grammar checkers in word processors that worked totally offline for a long time now. They definitely can be improved with a hosted service but that's by no means necessary and comes with tradeoffs like latency and offline support.
Yea, I remember graduating undergrad in 1998 as a Comp Eng major. Nobody knew who was going to make it big and who was going to be out of business in 2 years. It was a total gamble. Nobody has a crystal ball. Do you join MCI Worldcom or AT&T? One of them is still a world leader and one of them is defunct. How were we to know? Do you join Amazon or Webvan? I chose to go into 3D graphics... Should I have joined NVIDIA, ATI, or Matrox? One of them is now basically nonexistent, one of them got bought and had its ups and downs, and one of them is now the third largest company in the world. In hindsight it's now obvious but it wasn't at the time.
There are also towers in the Mani peninsular in Greece. They were built to defend against not only invaders and bandits but also neighbors due to vendettas. A local told me that blood feuds between families could often last for many generations.

http://mani.org.gr/en/pir/towers.htm
They have a KB article on GTD: https://help.bitespire.com/portal/en/kb/articles/harnessing-...
Thats what parents and mentors are for. We as a society should not have to break our backs bending over backwards to stop people from doing stupid things. People can make their own descisions and be responsible for them. If they lack proper guidance, well that just sucks.
We have many studies that show vulnerabilities of these image classification models to noise (adversarial or otherwise). The confidence levels are just not enough to fit into our "innocent until proven guilty (beyond reasonable doubt)" justice system.
The danger is that big tech/AI can pump enough money into politics that justice system parameters will be rewritten.
you could always side load apollo
The CvB is the holy grail. But it is an insanely challenging detection problem. I think the (multidecade?) PTOLEMY experiment is the only serious proposal, and particle physicists I knew were pretty skeptical it could actually pull it off for SM neutrinos.

https://arxiv.org/abs/1902.05508
Im guessing the author of this has somewhat of an issue with Steve Gibson and GRC, and has obviously spent some time mulling over how to write a very wordy and seemingly in-depth bashing of the their Spinrite software. However if you like myself have seen it work, and actually take a previously unusable hard drive to a usable state to allow a successful recovery of data, or in recent times, take an SSD with poor performing read and write speeds to a significant improvement after running Spinrite on the drive, you will be able to skip much of the diatribe in this post and actually see that it more of a character assassination on GRC and Gibson himself. Is the software 100% guaranteed to work, nope and I probably wouldn't recommend it for critical enterprise data recovery if you have the budget to spend on commercial recovery services, but as a low price maintenance tool it works well for many. The Author of this posts seems pretty knowledgeable, and probably has alot of offer, which is why its a pity his ego and spiteful nature seeps into his writing.
Other things with temperature stats probably worth monitoring and/or orchestrating with e.g. HA: attic fans, crawlspace fans, vents, motorized blinds, bath fans, inline duct fans,

There are recycled mining rig space heaters (that may or may not need Internet access to keep heating), pool heating immersion mining rigs, and probably also water heaters with temperature stats that might be useful in a smart home interface instead of something like Grafana.
I'm not trying to propose anarchism here at all, and agree any shift from the world today to anarchy seems horrible in the short term even if its a long term utopia (trying to be as generous as possible of the upside there).

Respect for institutions is really a sticking point for me though. For one thing, they need to earn and deserve our respect. For another, if respect for institution is the goal then those institutions shouldn't need the power to impose their will upon us.

I don't need someone to that I have respect for to force my hand, and if someone does force my hand I likely won't respect them.
They are not using user data for training. It wouldn't be very useful data anyway, as it's all explicitly from people who are learning and highly structured/not freeform due to the input constraints.
Best of Google AI search results
It was solved.

https://github.com/zellij-org/zellij/issues/2679
Even those sometimes are just MLM huns and mass-made garbage branded as homemade.
Historically, I find that what's politically in fashion tends to be aligned with Russia's interests. One giveaway are those "polarizing figures" whose polarity suspiciously changed over time in alignment with Russia's magnetic field: Gingrich, Berlusconi, Dick Morris, just to pick on some whose mention won't start a flamewar. Coincidence is a thing but this ain't it.

Some are contrarians with the opposite polarity, such as Arianna Huffington. Kudos, maybe.
Creator here. All you have to do to get those things back is just hit the “all” tab on your results, or if you use a search with "&udm=14" added, just keep the original Google around as a second search. I personally use “g” for full-fat Google and “gw” for Web only.

This obviously doesn’t solve every problem with Google, and it cuts in some ways. Obviously, if you are searching for, say, when a restaurant is open, you are going to want to use the knowledge panels. The goal of this is to make up for those situations where you need a simplified view, but Google has intentionally made it hard to reach that view.
When I was 18 years old, a security guard kicked me and a friend out of a grocery store, much to our confusion.

After talking to them and requesting the store manager, it turns out they had a photo of a shoplifter that looked very similar to me. Eventually we were let back in the store and it was all OK.

So, it’s not an entirely new problem? Although with facial recognition I guess there is less recourse; a manager is not as likely to believe they got it wrong if their computer tells them otherwise.
So long as you aren’t proposing things that were tried extensively in the last two hundred years and failed every time.
I didn't think the original was truly anonymous without other systems being used anyways. Probably better to just allow integration with other systems since the methods of staying anonymous will change over time.
try out reads as a temporary thing to me
What?

Why don't you just look at unit prices instead? That's the only price I ever look at and other than edge cases like trying new things or goods that you can't use up fast enough, there's no reason to look at anything else.

If your store doesn't have them, that's a sign you're at the wrong store and everything is overpriced.

Teach your kids this

PS: Walmart, which has pretty good prices, is famous for odd prices everywhere, so your heuristic would fail. All in all, really, a heuristic like this is a pretty weak way to try to be frugal and I can't recommend it. Just check the unit prices and shop at Aldi. Buy commodity ingredients, not trademarked factory food products. You can't help but spend a fraction of what other folks do when you just buy commodities by the unit price at a store serious about prices.
Has Gibson ever explained how SpinRite works? Many people won't believe in magic even if it works.
When you talk about a post office clerk or military draftee, that's when you can use this public service argument.

He is talking about the ruling class with power over all of us, so they should have more oversight than any normal person.
Next - windtraps for water.
I'm willing to bet that with a team of fact checking experts, you'd get a result that is indistinguishable from 100%.
Autonomous Agents (LLMs) research papers
I haven't seen anything that clearly lays out Abbott's reasoning or intent, though I may very well have missed it.

Pardons aren't always condoning a person for the crime they were convicted of. The legal system is fallible and writing clear laws to handle ant scenario that comes up is impossible. A pardon can be used to free an individual who seems to have been wrongfully convicted but without sufficient proof or process for an appeal. It can also be used to free individuals who have been rehabilitated, or who the executive believes has learned from their crime and is ready to return to public life.

I have no idea if Abbott was motivates by anything like that or if it was more akin to jury nullification, but I wouldn't assume that a pardon can only mean that the elected official is condoning the crime itself.
Let's say this technology was basically infallible: only known shoplifters were flagged. What then?

Should shoplifting once mean that a person is banned from all stores that use this service for life?

Also: I assume that this service wouldn't just impact shoplifters, but anyone that a store saw fit to ban for any reason. What about people who experience mental health crises? I had a friend who had psychotic breaks while her issues were still undiagnosed and untreated

I know that this ultimately depends on the store's own policies, the facial recognition tech just provides information. but frankly I don't want to live in a world where making such a minor mistake in your youth could basically ruin your life
The Great Khans of Fallout, as portrayed by the band Migos
He should give the bottom bunk to his grandma.
Maybe allow it to take newly collected data and fine-tune the base model with it, maybe once a day or so.
Pong Wars with an End
> human can tell you "I have no idea, this isn't my field" or "I'm just guessing here"

I wish more of them would lol
Japan is pretty hot and humid in the summer, but AC isn’t guaranteed. The shower rooms are usually pretty hermetically isolated from the rest of the house, however, including the toilet.
There isn't much recourse anyway, you were entirely lucky that they were willing to be reasonable. At least if you live in the US, not sure what laws are like around this in Europe

I don't think this status quo should be empowered further by error prone tech
> Nobody here is cheerleading this

By "here" do you mean in the UK?

Somehow the UK is consistently the first non-China nation where this authoritarian surveillance crap takes hold.

Other countries make pushes towards it, but UK appears to be consistently leading.
I’ve never seen an integrated device specifically for bathroom drying, but this approach is very common here in Taiwan. I have a dehumidifier and clotheslines in my bathroom. Multiple people showering is never an issue. The dehumidifier (on clothes drying mode) brings the humidity down to 35%. A shower briefly brings it back up to 65%, but the vent and dehumidifier bring it back down pretty quickly once you turn the water off and squeegee the glass. The bigger problem for me is that if I leave it running overnight it dries the entire apartment out and I wake up feeling dehydrated.
OnTrac Careers (companies using Midjourney/Stable Diffusion/AI-generated images)
Many years ago, I made the mistake of using SpinRite once to try and recover a hard disk failing with bad sectors.

It was only through the process that I realised that instead of letting the hard disk run and get worse, I should have instead tried to image off all the data ASAP with ddrescue.

That was a very dear lesson in data loss.
Highest score [0] (13 points, 1 month ago, 8 comments), most comments[1] (12 points, 22 days ago, 13 comments)

[0]: https://news.ycombinator.com/item?id=40041885
[1]: https://news.ycombinator.com/item?id=40252345
Since this was a commercial operation for-profit the likesness rights argument could indeed apply. But lets keep in mind that it only makes sense within this context. It does not apply more broadly to non-commercial activities by people.

The defamation claim seems unfounded since there is no claim these are actually photos of the person(s) involved. In fact they are certainly not photos and just synthetic generated images.
So high in fact that either the numbers are cooked or the threshold required for a positive match is set really really high, so they get a lot of false negatives, which opens the possibility that the threshold can be lowered in the future.
> If you drive 100% highway, you will not get EPA miles. Not from Tesla, not from anyone else

In InsideEV's 70 mph highway range test cars from Ford, Mercedes, BMW, Porsche, and Cadillac outperformed their EPA range:

https://insideevs.com/reviews/443791/ev-range-test-results/
For one, you don’t create that person out of thin air using their likeness.
> "Late is just for a little while."

Or until corporate pulls the plug since it didn't meet the expectations that they had, or you just run out of money if you're on your own, since neither money nor patience are infinite. At least in part, that seemed to happen to: StarCraft: Ghost, Prey 2 (we did get the 2017 release), Half-Life 2: Episode Three, Duke Nukem Forever (the original version), Silent Hills, TimeSplitters 4 and some others.

Edit: to some degree, it seems like the recent KSP2 situation was a case where being late would have definitely been preferable, if not for corporate: https://youtu.be/NtMA594am4M

Also, sometimes you'll do good development work, just for things to go wrong anyways in ways you didn't anticipate, as happened to the launch of Brigador: https://youtu.be/qUsuusNLxik

On the opposite end, since we have early access, many will release the first presentable version of whatever it is that they're working on. The good news is that sometimes customer feedback will shape the final product (as long as the developers actually care). The bad news is that many will buy into the "promise" of the final product, as opposed to what they're actually getting at the time of making the payment and then be disappointed if it doesn't pan out.
1.87L is 0.5 gal. The product is from the US since half gallon is common size and they didn’t bother changing the size.

There are products in US that are in nice metric sizes and weird US sizes. Like the 2L soda.
It's essentislly impossible to eliminate false positives. With billions of people on the planet, the odds of someone looking extremely similar is high. Plenty of actual twins around as well.
Have you seen Japanese shower rooms before? I don’t think it is the kind of room you are thinking about. Check out:

https://izanau.com/article/view/bathrooms-in-japan

It is separate from both the sink and the toilet, it’s often just a wet room with maybe a bathtub.
The Rust output:

define noundef i32 @square(i32 noundef %x, i32 noundef %y) unnamed_addr #0 !dbg !7 {
%_0 = add i32 %y, %x, !dbg !12
ret i32 %_0, !dbg !13
}

Let's compare like to like, here's one with equivalent C++ code: https://godbolt.org/z/Y4MnGeof4

The C++ output:

define dso_local noundef i32 @square(int, int)(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 !dbg !99 {
tail call void @llvm.dbg.value(metadata i32 %0, metadata !104, metadata !DIExpression()), !dbg !106
tail call void @llvm.dbg.value(metadata i32 %1, metadata !105, metadata !DIExpression()), !dbg !106
%3 = add nsw i32 %1, %0, !dbg !107
ret i32 %3, !dbg !108
}

> LLVM addition produces poison when signed wrap happens.

https://llvm.org/docs/LangRef.html#add-instruction

> nuw and nsw stand for “No Unsigned Wrap” and “No Signed Wrap”, respectively. If the nuw and/or nsw keywords are present, the result value of the add is a poison value if unsigned and/or signed overflow, respectively, occurs.

Note that Rust produces `add`. The C++ produces `add nsw`. No poison in Rust, poison in C++.

Here is an example of these differences producing different results, due to the differences in behavior:
https://godbolt.org/z/Gaonnc985

Rust:

define noundef zeroext i1 @test() unnamed_addr #0 !dbg !14 {
ret i1 true, !dbg !15
}

C++:

define dso_local noundef zeroext i1 @test()() local_unnamed_addr #0 !dbg !123 {
tail call void @llvm.dbg.value(metadata i32 undef, metadata !128, metadata !DIExpression()), !dbg !129
ret i1 false, !dbg !130
}

This is because in Rust, the wrapping behavior means that this will always be true, but in C++, because it is UB, the compiler assumes it will always be false.

> I'm a little bit puzzled about the vehement responses in the comments wow.

You are claiming that Rust has semantics that it was very, very deliberately designed to not have.
Well this is blocked by Cloudflare for me, but it looks like I lucked out because it's just an ad.
https://archive.is/yiQH5
An abacus and a calculator are the same.
I had a small studio apartment in Japan. My gas powered regular clothes dryer sat above my washing machine thus taking up no space. This article is stupid. And most of this pontificating about the article is a waste of time.
Listen to the "Security Now" podcast. He explains how SpinRite works every 3rd or 4th episode, with testimonials on every show.

He seems open minded and mostly harmless, both in his tool (which I find works better than free alternatives), and in his armchair security analysis. Sometimes though he oddly contradicts his own best practices, like nearly blind faith in LastPass for years based on (IIRC) a white paper and the early execs being very chummy and accessible. Thankfully the audience calls out the questionable stuff.
I think the universal agreement is actually to measure things in football fields
Flesh and Code: The open-source artist (2020)
Hi all, I made this in literally an hour after I saw a very strong response to my original blog post about the URL code: https://tedium.co/2024/05/17/google-web-search-make-default/

The problem I was attempting to solve here was one of convenience, really. I think Google is intentionally trying to make its AI search look better by burying more traditional results in a way that is not easy to find. Given how widely used Google is, I just do not think it’s fair to end users that there’s a lightweight option that gives people 90% of what they want from Google results, and they’re hiding it for what appear to be business reasons. I guess in a way, it’s a simple protest dressed up as an easy-to-use tool.

I trust that most HN users are likely smart enough to figure out how to work around the Google issue without this site, but I think the solution is ultimately for the people who can’t or won’t make those changes themselves, or just want an easy starting point.

My other goal with this was an attempt to make the code “famous,” by making it something that people knew about. On that count, it appears successful, as the &udm=14 fix has been covered broadly in media and has been frequently shared on social media.

This link has gone pretty viral in the last four days, well beyond the tech sphere, and at current count has seen more than 100,000 visitors since Wednesday. Not bad for a site that is literally a few Tailwind classes and a simple HTML page built by hand.