News for hackers. Stuff that matters.

_shadi

Show HN: Fulltext search on PDFs and scanned images

https://github.com/Shadi/docs-search

I wanted to quickly search for something on my receipts folder but didn't remember the file name, and was surprised that there was no light enough tool to do this, I quickly built this using PDFium and Bleve, the UI/UX needs a bit of work and so is the logic for index persistence, but if you have similar use case this should be enough.

( Read More... | no comments | on HN )
Re:Don't YOLO your file system on Saturday March 28, 2026 @03:10AM (#47552321)
I had the same idea and created this quickly in an evening: https://github.com/Shadi/isolate
Re:Tell HN: HN Was Down on Thursday December 18, 2025 @05:09AM (#46310860)
> anti-crawler protections

what type of protections are used on HN? rate-limiting? ip range blacklist?

> Why is there not any kind of narrative out there describing how fake and soulless is code written by any AI agent?

because soulless code does not matter. For other fields the result is more subjective, I don't like movies with desaturated color palette, a lot of people like them, maybe LLMs can produce new genre of movies, which people who appreciate classic films or music find it soulless, and find it sad that the peasants kind of like these films and the whole thing a risk for their careers or whole craft and the human effort in making their art work.

In code its objective, either the result work or not work, I guess you can stretch "it works" to have a different meaning that can include maintainability where it starts to get more subjective, but at the end of the day you will also can get to a point where the whole thing can collapse under its weight.

I think this is the main difference in reaction to LLMs between different fields, fields that are subjective and more to sensitive to receiver taste you can notice a rage(I think range is an overstatement) against it, while fields where the result is objective the reaction from people is simply saying it does or doesn't work.

> I am guessing that no-one ever gets convicted for this murder.

He was arrested by Israeli police for questioning, but was later released on house arrest while an investigation continued.

About a dozen Israeli soldiers raided the mourning tent, pushing those attending out while keeping a thumb on the pin of a stun grenade. Soldiers declared the area a closed military zone and said only residents of the village could be present. They arrested two activists and threw stun grenades at journalists who were too slow to leave.

https://www.theguardian.com/world/2025/jul/29/palestinian-aw...

Re:Intel CEO Letter to Employees on Friday July 25, 2025 @06:58AM (#44681799)
One theory that I saw earlier was that the industry is bloated, big tech companies executives knew that but they continued to hire anyway to make sure that the people they don't hire don't start competitors when there was funding, there is less funding now so that risk is no longer there so companies can reduce their size to their actual needs, but maybe that does not apply to intel since they seem to be really in a bad situation now.
This project sounds really interesting as an alternative to cloudflare and for decentralizating the internet, but for some low traffic home server what would I gain with using it instead of directly exposing a single port on my home server with nginx, I have static IP from my ISP, right now it is exposed as the server IP, what would I gain if I use a cheap vps as a proxy first?
Re:AI: Accelerated Incompetence on Wednesday May 28, 2025 @11:22AM (#44116995)
I might have not been clear in my original reply, I don't have this problem when using an LLM myself, I sometimes notice this when I review code by new joiners that was written with the help of an LLM, the code quality is usually ok unless I want to be pedantic, but sometimes the agent helper make new comers dig themselves deeper in the wrong approach while if they asked a human coworker they would probably have noticed that the solution is going the wrong way from the start, which touches on what the original article is about, I don't know if that is incompetence acceleration, but if used wrong or maybe not in a clear directed way, it can produce something that works but has monstrous unneeded complexity.
Re:AI: Accelerated Incompetence on Wednesday May 28, 2025 @08:57AM (#44115545)
A big problem I keep facing when reviewing junior engineers code is not the code quality itself but the direction the solution went into, I'm not sure if LLM models are capable of replying to you with a question of why you want to do it that way(yes like the famous stackoverflow answers).
> If someone interned as a doctor's assistant at a medical center and then later started their own medical center. Can their previous employer sue them for that? It's nonsense.

As I said the legality of this is not so simple to answer, yes you can intern as a doctor at one place and then open a similar one, and if someone tries file a suit about this then I think it will be very hard to find a sympathetic judge to look into it, but once you bring IP into this it becomes a lot more complicated, calculus is also about ideas, yet it didn't stop Leibniz or Newton from making accusations of plagiarizing.

>If Replit can sue this guy, then Cloud9 can sue Replit, WebStorm can sue Cloud9, Microsoft can sue WebStorm, etc, etc... Who even invented the first IDE?

the difference here is that the guy worked/interned at replit, this what moves it for me from the founder being an asshole to a grey area where he sees someone had access to all resources at the company and now wants to use that knowledge(or at least having access to it) to create an alternative and he decides to go with a heavy handed approach before it becomes a big headache, was he nice in how he went about it? no

Someone interned at a company, saw and worked on the IP and architecture, and after leaving created something that can be viewed as a copy(the emails say that even some of the UI design and languages description were copied) of the core business of the place they worked at, maybe the response was a bit too heavy handed, but you don't exactly expect roses after doing something like that.

This seems somewhat unethical, and whether it is legal or not that is up to lawyers and specialized people of law to decide, and the founder wanted those people to get involved to decide that, again nothing crazy to expect after you create a copy of a project you were paid (or at least trained) to work on and learn all about it.

Re:Alaska CEO: We found many loose bolts on our Max planes on Wednesday January 24, 2024 @06:49AM (#39116197)
disgusting, but I guess the airline is easier to bin it to than the airplane manufacturer who had airplane problems with multiple airlines.
Re:Organization Probably Doesn't Want to Improve Things on Sunday October 08, 2023 @09:50AM (#37810433)
> It's not that all organizations don't have disfunction, but as a younger person I was very fixated on everything I saw that was wrong and ignored either the problems I myself was introducing which were (and probably still are) numerous or the systems and programs that made the organization successful.

speaking from my own experience, when I look at my earlier career years I didn't appreciate how resilient organizations can be to disfunction, yes 100 things are broken, but for the most part everything will still be fine.

Re:Why Americans Are So Awful to One Another on Tuesday August 15, 2023 @06:12AM (#37132099)
I don't live in America, but I think this is related to the unprecedented mass communication that has been made possible by the internet, and as cliche as it sounds it truly made borders disappear between different countries, contents and cultures, which is making this generation exposed to things previous generations didn't even think they exist or have people believe in it, the only countries that seem a bit isolated from this are the ones who have their own internet circles because of language or laws.

But I'm a little optimistic that this would eventually pass with time, If we apply `Tuckman's stages of group development` to the whole world and communication between its parts I think we are in storming phase.

I add them to inoreader, whenever I'm on a bus, can't sleep or have 5-10 minutes of free time I open inoreader and read instead of mindless scrolling, some of the articles are out of date by the time I get to them, but all in all it is more satisfying way to kill free time instead of reading comments.

in addition to tech you can also add long form journalism from authors/magazines you trust, usually these things tend to be more analytical and not related to the current thing/hype.

how different is it then from libgen?
Re:Night of the Runbooks: a DevOps horror story on Wednesday June 14, 2023 @05:26AM (#36323445)
non native speaker too, I was taught that "they" is the more formal/neutral pronoun to use, or preferred in passive case, isn't that the case here?
Re:The Age of Average on Wednesday March 29, 2023 @11:00AM (#35358250)
The age of A/B testing

Ask HN: Is it normal now to have the interviews spread over weeks?

I have been interviewing with multiple companies during the last month, and one major difference I noticed compared to my last job search is that most companies now have multiple interviews spread over weeks, last time I did a job search it was usually a 1 hour screening interview/test followed up by half a day of interviews, but now 1h interview, then submit availability, then another 1h and...

( Read More... | 2 comments | 2 points | on HN )
Re:The Chinese Civil Examinations on Wednesday December 07, 2022 @10:37AM (#33895552)
aren't people already tired of those tweet size tropes.

Revanchism, extreme nationalism and economic anxiety among other reasons what led to the rise of the ww1 veteran who happened to fail an art admission

Re:I don’t believe in sprints on Wednesday October 05, 2022 @10:19AM (#33095901)
the writer assumes that sprints are adopted to help the developers, while in fact its a tool so that product owners track progress in a way to have a shorter feedback cycle than in months.

Of course its more convenient not to worry about sprints and time/points and "just work", and that is usually the case in startups or backend teams where the stakeholders are all always present in the same room, but once you add more layers to the organisation chart it becomes harder to track what everyone is focused on right now and that they are planning to do next without sprints or something similar.

Re:What Beirut was like before the war (2019) on Thursday August 18, 2022 @11:50AM (#32511266)
related: https://www.theguardian.com/world/2022/may/14/secret-british...

The effort, run from the mid-1950s through to the late 70s by a unit in London that was part of the Foreign Office, was focused on cold war enemies such as the Soviet Union and China, leftwing liberation groups and leaders that the UK saw as threats to its interests

The campaign also sought to mobilise Muslims against Moscow, promoting greater religious conservatism and radical ideas. To appear authentic, documents encouraged hatred of Israel.

Recently declassified British government documents reveal hundreds of extensive and costly operations.

Re:What Beirut was like before the war (2019) on Thursday August 18, 2022 @11:29AM (#32511014)
I would say the trend started before the 90s but it became apparent in the 90s.

It started in the 70s, before that all the islamist political groups were heavily repressed by Nasser and different nationalist leaders in the region, Sadat realignment, the Islamic revolution in Iran, and the commercialization of oil in the gulf countries opened the Pandora box for the different(and sometimes warring) groups inspired by different interpretations of Islam.

Re:What Beirut was like before the war (2019) on Thursday August 18, 2022 @11:04AM (#32510662)
> largely as a result of radical Islamist Palestinians who had left Palestine and wanted an Islamic state in Lebanon.

those damn communist and nationalist Palestinian factions wanting to create a caliphate.

Not interested in a political discussion, just wanted to point out that this guy has no idea about the Lebanese civil war or the history of the region

Ask HN: Teams migrated from Nomad to Kubernetes,what pushed you to migrate?

we are trying to pick a self-hosted container orchestration engine to use, after evaluating the pros and cons of both we decided Nomad would be the better option for us.I used both in the past, and for self-hosted solution I also prefer the simplicity of Nomad, but I realize that Kubernetes has much more functionality, so I'm wondering if there is something that we will realize that we are...

( Read More... | 4 comments | 13 points | on HN )
You can read some of the essays John Keynes wrote, still as relevant as when they were wrote, especially now with the pandemic and inflation.

even if you don't end up agreeing with his views(I do agree, and I think he is very underrated), its still a very good and eye-opening reads.

https://www.gutenberg.ca/ebooks/keynes-essaysinpersuasion/ke...

This is already the case in a way, X show was more viewed than Y, make more shows similar of X.

You will also end up with less ground breaking shows and more mundane stuff which is already the problem at Netflix.

“If I had asked people what they wanted, they would have said faster horses.”

Older »