skysight-inc/HackerNews huggingface dataset:
Show HN: KamiAI – The easiest way to get data from your documents
Hi HN,

When we started our other company, we found extracting data from documents to be our biggest challenge. We needed to read images, scans, Word documents, XFA PDFs, and many more types of documents. We spent several months figuring out the best way to extract text from all these sources. Existing tools were clunky, overpriced, and not comprehensive enough for our use.

That's why we built Kami. We aim to make data extraction from documents painless. Our document processing pipeline is tailored to read documents and extract data from it. We support scanned PDFs, digital PDFs, XFA PDFs, Doc and Docx files, MSG files, images (PNG/JPG), and more. We automatically OCR documents where needed, and use our LLMs to get data out of it. Our clear and predictable pricing ensures no surprises, eliminating the need for complex OCR pipelines, custom models, or expensive LLMs.

Our beta users have used Kami for literature reviews, data extraction from receipts and invoices, and building document chatbots.
We're committed to data privacy and security, never using your documents to train models or selling your data to third parties.

You can test Kami at https://kamiai.co. Every user starts with free credits so you can get going without any payments. We’re still in early beta and ironing out a few bugs and issues. Email us at founders@eazydraft.com with any issues, and we'll address them ASAP.

We look forward to your feedback!
Here in Italy the worst and most controversial laws are proposed and accepted in the last days when the parliament is open, which happened to be in the middle of August, where everyone is on summer holidays and all activities and offices are closed.
> I added the koala kicking a football as well, I have to admit that they come out just as bad.

And this is exactly my point.

> The problem is, if certain training data is blanket removed, it creates holes in the understanding a model has. We see this in language models as well: censored models can get very obstinate in their refusal to discuss certain completely normal topics, because it links them to something that has been scrubbed.

This is doubly wrong. First, not having porn in your dataset absolutely has no bearing on your ability to draw a man kicking a football. Second, the thing you're discussing is not a lack of training data but a fine tuning to try and remove it due to the inevitability of some porn slipping in. SDXL did this too, but its a perfectly serviceable model.

What we're seeing here is almost certainly just the model being bad because it's much smaller. Drawing unusual poses like kicking a ball is much more difficult than people expect.

This drastic drop is performance is entirely consistent with similar drops of performance seen on LLMs in their respective space for a comparable change in parameter count.

People are contorting themselves into a conspiracy because they're seeing a lot of bad humans get drawn because HUMANS ARE WHAT PEOPLE OVERWHELMINGLY TRY TO DRAW. The model is just generically bad.
Linux Kernel Development – Automatic Cleanup 2/2
"Constrained streaming generation produces partial objects, but no good ways of interacting with the partial objects, since they are not yet parse-able."

I've successfully used the ijson Python streaming JSON parser for this, notes here: https://til.simonwillison.net/json/ijson-stream
> Kutcher is known to older millennials for movies such as „Dude, where’s my car“.

This made me feel old.
This is why anarchism is an important philosophy and practice. It asks, how can we build societies which operate without coercion and hierarchies?
Stellarium Web Online Star Map
This is not a complete answer, and does not include video.

However in the realm of monitoring motion, temperature and environment, open/closed doors, and more checkout company Wireless Sensor Tags

https://wirelesstag.net/index.html

They offer very reliable monitoring, with full API and SDK. Their cloud based backend is free and offers integration in many other services. I believe there are projects to replace their back end with your own.

I have first learned of this company at least 10 years ago.

Their sensors are reliable and inexpensive. I know these are used in restaurants to monitor refrigeration temperatures.

It is really worth your time to dig deep into their website to learn everything they offer in sensors, automation and programming
Ask HN: Why is Microsoft omnichannel (chat widget) over 6MB of JavaScript code?
Sorry, but these are conspiracy theories without good evidence. You don't think other countries have good mathematicians? And the long arm of your government agencies reaches all of them?
> It is very easy to blurt out "well obviously we need twice the processing power!" but if we scale to twice the processing power, then start accepting twice the request rate – we will actually be serving each request in half the time we originally did.

I don't understand what you are saying. Are you talking about the time the request is buffered in some queue on average assuming they are arriving randomly? Or something like that?

Here is what I'm thinking. We are operating a hospital which does only one type of surgery which last an hour exactly. (Presumably it is a veterinary practice for spherical cows.) A fully staffed operating room can operate on 24 spherical cows a day. If due to a spherical cow jamboree we expect more patients and we set up a second operating theatre we will be able to serve 48 of them a day. But we are still serving them for an hour each. (because that is how long the operation takes.)

Even if we are talking about latency when 24 cows show up at the stroke of midnight to the one operating room hospital they each will be served on average in 12.5h. Same average if 48 cows show up to the two operating room hospital.

So what am I thinking wrong here? Is "scale to twice the processing power" not the same as getting a second operating room? I'm not seeing where "we will actually be serving each request in half the time" comes from.
We where going to add Microsoft omnichannel to our webpage but we discovered that running it, a small chat widget takes up a staggering 6MB of pure javascript code.

Anyone known what is going on?

See this example from their website:
https://csimplreslivechatsamples.blob.core.windows.net/$web/...

And the results here:
https://i.imgur.com/I77JvjO.png
My brain automatically thought this is "TikTok" -> Why would they release research on security if they are being targeted for security concerns
I can't even tell whether this comment is sarcasm or not. I mean, a rosy argument based on future guessing, wishful thinking and ignorance of the past (past of the BRICS, that is) must be sarcasm, right? I mean, yes it could end up all of that, like it could become just anything else on the 0-100 probability range. As long there's zero reason to claim such certainty today, I call b$ on it.
Population, Climate Change and the Philosopher's Message
I appreciate the minimalistic design, but a paragraph or two (even three) of explanation at the top would have made me give it a better look instead of just closing it quickly.
I'm thinking I will add it as part of next upgrade. My domain has so few users and we are chill enough to work through email delivery issues. My understanding at the time was that the receiver verifies that the sender sent it.

My current delivery settings are strict so that only my server can delivery our email. I would think I could implement ARC in less strict manner and tighten it up as it becomes more common.

Does that seem reasonable? Any better ideas.
I don't know, no one has done "well functionality democracy" yet
The ultimate check is people voting for better politicians. Without this, no system of checks can do anything significant. No checks in the US will limit Trump and the republicans, if they get voted over and over again. No checks in France or Germany or Italy will limit the extreme right, if they keep getting more and more of parliament. Eventually they would be powerful enough to change the constitution, change judges and so on. No system of checks can stop Putin or Xi or the Taliban.

Checks are useful if people mostly vote right, but occasionally make mistakes. If you double down on the mistakes, you get the situation that it would be undemocratic for some rules made 100 years ago to stand in the way of what the majority of the population wants today.

Plus, who knows what are the "interests of the populace". Who can decide that? If the populace votes one way, you saying "they're voting against their interests so they should be prevented from getting what they want" is functionally equivalent to saying "what I want should be done and what others want should not, even if I am in a minority". I know it does not feel that way to you, but try to see it from the perspective of someone who disagrees with you.

In a democracy, the only possible arbiter of what should happen is the majority. Anything else is the tyranny you decry.
There's literally a section on the Wikipedia article detailling how it launched in a handful of countries, expanded to the US, and only then expanded to most of the EU:

https://en.wikipedia.org/wiki/Spotify#Geographic_availabilit...

Spotify launched in Sweden, Finland, France, Norway, Spain, followed by the United Kingdom and the Netherlands.

After the US expansion, Spotify finally expanded to Andorra, Austria, Belgium, Bulgaria, Cyprus, Czech Republic, Denmark, Estonia, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Monaco, Poland, Portugal, Slovakia and Switzerland

That means Spotify launched for 222 million europeans, expanded to 300 million US-americans, before becoming available for the remaining 281 europeans.

You'd never see a US company launching e.g. only for Washington, Oregon, California and Nevada, expanding to China, and only afterwards become available in the remaining states.
Displaying File Time in C++: fixed in C++20
So let’s see this here how this compares to the US

- we’re on the verge of electing a fascist into the country, primarily because the opposition also sucks. Politically we’re a mess.

- we’ve caused the largest number of modern world fights and deaths. And now we’ve applied our stamp of approval on a genocide where most of the rest of the world is disgusted by us.

- our public infrastructure is collapsing and crumbling. We have no high speed transportation. We have lead in our pipes (flint was just the tip of the iceberg). We have our primary plane manufacturer dying and unable to produce a plane people want to go on. We really don’t have anything to add to the table until we can stop poisoning people due to political corruption.

Anyway it’s easy to selectively pick points and make fun of them.
> Does Brazil have a history of monetary stability?

30 years and counting.
One reason behind Brexit was that there were EU privacy laws in place that prevented UK citizens' data to be sold or exported to US based companies, like NHS data [0] https://www.theguardian.com/society/2019/dec/08/nhs-gives-am... or https://www.gov.uk/government/publications/uk-us-data-bridge....

Also with protecting the internal market; the UK is interested in importing US produce like chlorinated eggs and chickens, but EU laws said nu uh: https://www.nytimes.com/2021/04/25/business/chlorinated-chic...
The Nautilus Summer Reading List
You know, you're probably right. It's just been so long since I was introduced to programming languages that I had almost forgotten (though I'm probably younger than you).

I remember learning JavaScript as a kid (for some class) and trying to get used to the mutable variables, having to mutter to myself "Okay, here, let x be 4. After this line, x is x + 1, which is 5, a new value." From there, eventually thinking things like: "After every loop, x changes to be itself plus 1. So after the loop, x will be its value before the loop plus however many times the loop ran." Things like that. Basically informal Hoare logic without realizing it.

I had almost forgotten, because I then went years before I programmed again, and the language I learned was C, which was probably easier because I was already familiar with while loops and mutable variables.

Maybe it would have been equally intuitive to learn a functional language first. It's probably no more intuitive to mutter that under your breath versus stuff about the type system and equational reasoning.

On the other hand, it seems easier to get beginners interested in programming with an imperative approach. In our assignments in that class using JavaScript, we used libraries to make little games, which imperative programming seems better-suited for.
Ludo Game Rules
Capitalism supplanted its father, Mercantilism, in the eighteenth or at the very latest the nineteenth century. It was "an old fart" well before WW2.
An icon taskbar for the Gnome Shell
I've found the most effective trick for this is to use examples. With the messages array format you can even "fake" previous interactions to provide examples of what you want to happen - send in several prompt / example-response pairs and most models will get the idea pretty quickly.
If you think Kier Starmer's Labour party is socialist, you need better sources.

His platform is notably unambitious and centrist, more so than New Labour, who managed to be in power for thirteen years without introducing gulags.
An Affirming Meander into Ecological Thinking
Domestic incumbents (social networks or messenger apps) would need to jump through the same hoops. So, I would say that, as a whole, the goal is to get people to self-sensor and to fear the establishment.

If the EU wished more competition by domestic companies, they could simply pass a law restricting the income tax by member states to not go over 50% of earned income. In my current jurisdiction, a lowly IT worker can easily pay a 66% tax rate, with 54% being paid as nominal taxes and the rest going as employer taxes. Unless you are self-employed, in which case you will get to pay your 66% with no smoke curtains in the middle.
Use Unpredictable Rewards to Keep Behavior Going
What I would like to know is how good the graphic drivers are. We had to deal with a ton of Intel Windows OpenGL driver issues in the last 10 years...
There seems to be incorrect information out there about strict alignment requesting more strict checking. Strict vs relaxed alignment is just about the domain being able to send mail from subdomains without extra DNS records on the subdomains (relaxed) or not (strict). The envelope from (for SPF) and d= domain (for DKIM) must match the DNS records used. If you don't use SPF for DMARC you don't use SPF for DMARC and it doesn't matter if the DMARC SPF alignment is strict or relaxed (there is no way in DMARC to require both DKIM and SPF to pass). It is still a good idea to always pass plain (non-aligned) SPF (just based on envelope from) since sometimes this is checked independently from DMARC.
Something that would have built trust with me that I didn't find on the site was any mention of success rate. Surely CyberScarecrow has been tested against known malware to see if the process successfully thwarts an attack.
Understated.

A Falcon 9 can put ~20,000kg into LEO for ~$40M - so $2/g.

The cost of deorbiting little space junk is many orders of magnitude higher than that. And deorbiting is far cheaper than capturing and recycling.
I found the initial user journey a bit lengthy. But a well shaped product, cheers!
I love Preact, in many ways it's superior to React. But I wonder if their positioning might be weighing them down, that they will always be catching up to stay compatible with React, to implement the same/similar interface. I know "preact/compat" is optional and separate, but there's an expectation that they will keep up with React's new features - even if it doesn't fit well with the design and goals of Preact.

Preact is how I wish React would have evolved: stay small, keep a simple interface, focused on being a view library instead of a sprawling framework.
You are good citizen like me.

result I like after 5 seconds of thinking -> good

bad outcome -> I don't think people think that way. At least not good people or majority of people.

principles -> elitism.
It doesn't.

One page 17 section 28 says "... constantly assess the performance of the detection technologies and ensure
that they are sufficiently reliable, as well as to identify false positives and avoid to the extent erroneous reporting to the EU Centre, providers should ensure human oversight and, where necessary, human intervention, adapted to the type of detection technologies and the type of online child sexual abuse at issue. Such oversight should include regular assessment of the rates of false negatives and positives generated by the technologies, based on an analysis of anonymised representative data sample"

and for the draft law language see page 60 which says that after the user reported something the provider forwards is anonymized to this new EU Centre, where there human verification has to take place.

So supposedly this means our tax will pay for folks to look at a ton of rashes and pimples.
Show HN: I created extension to help in PR Reviews
Hey HN,

In my previous organisation, reviewing PRs was challenging because I had to manually mark 30-40 static and auto-generated files as viewed. These files inflated the number of line changes, making it hard to see the actual lines left to review.

To make my life easier, I wrote JS scripts to interact with the DOM in the browser console.

After sharing this solution with a friend who found it very useful, I decided to develop it into a Chrome extension to make code reviews easier for everyone.
"You can't become an expert at everything, and it's fine to accept your boundaries. But it's not fine to think you shouldn't be on some paths towards mastery, if you intend to make programming your career."
What exactly would be the difference with what we have now? We already have physical addresses.
Funny how they're only comparing these laptops (equipped with a fan) to a laptop with a fan-less design (MBA).
It shouldn't be. In 2006, the Commission proposed, and Parliament agreed on, the Data Retention Directive. It forced all ISPs to save all browsing data on everyone for 6-24 months.

The idea that the commission or Parliament in any way cares about privacy is nonsense.
If you have good service anywhere in your house, the issue is WiFi
This procedure looks like it would result in some hilarious texts; shame there is no example in the article.
It's that Noah Yuval Harari book, isn't it?

What's separates humans is we can construct common fictions that we actually believe in, eg "my job is to maximize shareholder value" where both the corporation and the responsibilities towards it are made up but generally believed.

There's of course a rather large elephant in this room, too, that decides a lot of things about our lives.
>The idea that outsourcing production had anything to their downfall seems far-fetched

Then why do people keep bringing it up all the time in Fisker's context? It's as if people have an unfounded FUD about outsourcing despite it being done exemplary in automotive for decades without most people knowing about it, and they falsely assume having your own factory means better quality when Tesla proves otherwise.
That's only a fraction of the problem though. You have no idea how easy it is for for example, kids on the fortnite subreddit to end up on the NSFW fortnite subreddits and talk to others and start exchanging pictures.

The other thing nobody wants to talk about is that it's not always adult creepy men approaching kids, it's the kids themselves that seek out sexual conversations with strangers on the internet.

Sure, this is also the parents responsibility. But even with open phone access, internet filters, etc they will find a way, especially if their school gives them laptops and there's open wifi everywhere.

That's where this is also for. Parents cannot monitor all their children's internet access at all times. Children will resist and find ways around parents' control, as it has always been.
Nearly 20% of SQL Servers running have passed end of support
As a happy VyOS nightly user,

They used to have donation options, where in exchange for a regular donation you get LTS releases, (via Patreon and OpenCollective) but both have been decommissioned. I'm not a huge fan of how that was done and how hard it is to find up to date information on that.

Nightlies are pretty stable in my experience, and with the off-device backups, a full recovery will be relatively painless.
Complexity is anything that makes it hard to understand and modify a system.

I disagree with this. It's overwhelmingly more difficult to design something simple, or modify it so that it stays simple.
Coming up with complex solutions is easy, the cost is the time and resources it takes to deal with that monster. Somebody has to read all that, walk through all that, and machine all that, and assemble all that.

Much of progress comes from figuring out simple solutions to problems, which frees up time and resources for other things. It must, in the end take less effort to make and operate the machine than doing it by hand, no matter how much it may seem to the contrary, because otherwise it wouldn't be worth it.
The concept of "mentor" is now misunderstood and overrated.

It became a meme in the professional world in recent years, and people don't really understand what it means.

You don't look for a "mentor" the way you would a teacher or coach for hire. No-one who can really help you would be available on that basis. But if you put yourself out there, do cool stuff and share, offer to help with interesting projects (and then deliver) ... you may find that you've developed that kind of relationship with someone.

If that happens, make the most of it. And until it does, don't block your progress on waiting for that "mentor". The internet is full of books, videos, tutorials, forum posts, chat rooms, with so much you can learn and grow from.

In the end, when it comes to your life and career, you need to make your own decisions. Where you get ideas and advice from matters less. If you somehow found yourself with a mentor who helps you accelerate your learning and growth that's cool, but it's still up to you to decide.
> The functionality disappears with the newer generation intel CPU releases, I had not been able to do similar thing ever since.

I don't know about undervolting, but ThrottleStop allowed me to run my 230W laptop off a 65W power adapter by downclocking the CPU to 800MHz!
The Vulture and the Little Girl
> every expansion require unanimous support of all 5 members

Isn’t it nine [1]?

> Every state that has been accepted in the expansion is a state that has strong economic ties to both China and India, thus canceling out any potential bias

This is true. But looking at military vulnerability, Malaysia is obviously subject to one more than the other. (China’s security relationship with Russia and Iran further undermining India.)

[1] https://en.m.wikipedia.org/wiki/BRICS
What Is ADR (Application Detection and Response)?
$100k bet: AGI by end of 2025
So don't use the tool or make your own. You don't get to tell people what to use or like.
Respecting the Fundamental rights of the individual in the digital realm is really the only thing that needs regulation on the internet.

All the various AI, targeted ads,... regulation could be solved with that simple focus. I see arguing about chat control or AI as downstream of the central issue.

If real privacy was the norm with minimal data collection the other issues take care of themselves. I believe the issue is linking the digital world to an individual without their knowledge.
I think this is a same thing as betting on your own failure: "not enough people will use this for it to be an important consideration for hackers".
Competition is good. It means we will get better hardware from Apple maybe.