frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions

https://github.com/olivier-ls/php-fts
18•asmodios•2h ago

Comments

cpollett•1h ago
code looks pretty clean. is small and compact, decent benchmarks. might want to consider using an autoloader for classes.
hparadiz•1h ago
The PSR-4 definition is properly defined in composer. There's no need to include an autoloader. Any project pulling this in would have it's own.
captn3m0•1h ago
Zend used to maintain a PHP port of Lucene 15 years ago that I used, but not sure what happened to it.
asmodios•34m ago
Yes, Zend_Search_Lucene was dropped from Zend Framework 2 and never officially maintained for modern PHP. There's a community fork.
idoubtit•24m ago
I expected a toy project, but it is a usable library, which required a lot of work. Good job on delivering. A few comments:

After reading "composer.json", I thought that the tests used a custom framework. I'm glad the project does not suffer from NIH syndrome, but the dev dependency on PHPUnit should be declared.

There should a warning that it's only meant for some Western Latin languages. The normalization of the input is built on a character table for a handful of cases. That's not enough for some Latin languages, e.g. Turkish. And any input with Cyrillic, Arabic, CJK and so on, will be ignored.

There is no Unicode normalization or cleanup. Real-life input have many corner cases, e.g. diacritics next to the characters, or invisible characters inside a word to prevent hyphenation. Unless I'm mistaken, this engine would treat the NFD form "fête" as "fe te", instead of the expected "fete", which the NFKD form "fête" produces. I suggest using ext-intl for Unicode normalization, at least as an option.

Lastly, I can't think of a use case for this library. I've always had access to some external service (MySQL, Postgresql, Manticore Search, Solr, etc.) or to a PHP extension for a local Sqlite with FTS. Even for hobby projects, I haven't deployed to a shared hosting for more than two decades.

Valve releases Steam Controller CAD files under Creative Commons license

https://www.digitalfoundry.net/news/2026/05/valve-releases-steam-controller-cad-files-under-creat...
920•haunter•7h ago•309 comments

UK businesses brace for jet fuel rationing

https://bmmagazine.co.uk/news/uk-jet-fuel-shortage-rationing-goldman-sachs-warning/
22•OgsyedIE•32m ago•3 comments

Appearing productive in the workplace

https://nooneshappy.com/article/appearing-productive-in-the-workplace/
592•diebillionaires•7h ago•232 comments

Vibe coding and agentic engineering are getting closer than I'd like

https://simonwillison.net/2026/May/6/vibe-coding-and-agentic-engineering/
311•e12e•8h ago•336 comments

Google Cloud fraud defense, the next evolution of reCAPTCHA

https://cloud.google.com/blog/products/identity-security/introducing-google-cloud-fraud-defense-t...
171•unforgivenpasta•5h ago•154 comments

From Supabase to Clerk to Better Auth

https://blog.val.town/better-auth
175•stevekrouse•6h ago•101 comments

The bottleneck was never the code

https://www.thetypicalset.com/blog/thoughts-on-coding-agents
467•Anon84•2d ago•310 comments

Learning the Integral of a Diffusion Model

https://sander.ai/2026/05/06/flow-maps.html
69•benanne•4h ago•15 comments

David Sacks crashed and burned in the White House

https://www.theverge.com/column/925487/david-sacks-trump-administration-ai-model-review
35•PhotonHunter•41m ago•8 comments

Show HN: Tilde.run – Agent sandbox with a transactional, versioned filesystem

https://tilde.run/
113•ozkatz•7h ago•89 comments

Inkscape 1.4.4

https://inkscape.org/doc/release_notes/1.4.4/Inkscape_1.4.4.html
172•s1291•3h ago•35 comments

Show HN: Hallucinopedia

http://halupedia.com/
100•bstrama•6h ago•110 comments

A Theory of Deep Learning

https://elonlit.com/scrivings/a-theory-of-deep-learning/
99•elonlit•1d ago•24 comments

Ted Turner has died

https://www.cnn.com/2026/05/06/us/ted-turner-death
201•pseudolus•8h ago•159 comments

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions

https://github.com/olivier-ls/php-fts
18•asmodios•2h ago•5 comments

Community firmware for the Xteink X4 e-paper reader

https://github.com/crosspoint-reader/crosspoint-reader
23•dmos62•1d ago•5 comments

Show HN: I built an open-source email builder, alternative to Beefree/Unlayer

https://play.templatical.com
83•oahmadov•7h ago•21 comments

Knitting bullshit

https://katedaviesdesigns.com/2026/04/29/knitting-bullshit/
418•ColinEberhardt•18h ago•177 comments

Multi-stroke text effect in CSS

https://yuanchuan.dev/multi-stroke-text-effect-in-css
325•cheeaun•18h ago•41 comments

Higher usage limits for Claude and a compute deal with SpaceX

https://www.anthropic.com/news/higher-limits-spacex
334•meetpateltech•7h ago•262 comments

Reverse-engineering the 1998 Ultima Online demo server

https://draxinar.github.io/articles/2026-05-01-uodemo-reverse-engineering.html
223•notsentient•16h ago•60 comments

Setting up a Sun Ray server on OpenIndiana Hipster 2025.10

https://catstret.ch/202605/srss-hipster202510/
119•jandeboevrie•12h ago•43 comments

Apple is enforcing an old App Store rule against a new kind of software

https://adaptivesoftware.substack.com/p/the-wrapper-and-the-code
36•iristenteije•1h ago•8 comments

What makes a good smartphone camera?

https://cadence.moe/blog/2026-05-05-what-makes-a-good-smartphone-camera
65•zdw•1d ago•50 comments

Batteries Not Included, or Required, for These Smart Home Sensors

https://coe.gatech.edu/news/2026/04/batteries-not-included-or-required-these-smart-home-sensors
189•gnabgib•3d ago•82 comments

Coverage Cat (YC S22) Seeks Fractional Engineer to Build AI Growth Toolkit

https://www.coveragecat.com/careers/engineering/fractional-growth-engineer
1•botacode•11h ago

Building my own Vi text editor in BASIC

https://leetusman.com/nosebook/yvi
5•zeech•1d ago•0 comments

Virtual violin produces realistic sounds

https://news.mit.edu/2026/mit-engineers-virtual-violin-produces-realistic-sounds-0429
70•gmays•3d ago•59 comments

Life During Class Wartime

https://www.tbray.org/ongoing/When/202x/2026/05/03/Life-During-Class-Wartime
167•AndrewDucker•6h ago•135 comments

Mickey Mouse is watching you: Disneyland deploys facial recognition

https://www.theguardian.com/us-news/2026/apr/28/disneyland-entrance-facial-recognition
23•Cider9986•2h ago•3 comments