News for hackers. Stuff that matters.

gebt

Re:Parser Combinators on Sunday October 18, 2026 @03:43PM (#50144643)
Others mentioned, but to make it more clear, the problem with regex is not that it gets messy/complex, but that it's formally proven that it's not possible to use regex for recursive parsing.

In fact regex has a regular grammar, and based on language theories, it's not possible to parse context-free grammar with a regular language.

See langsec for more.

Happy Persian new year 1404

Happy new year!Spring begins, and it's the beginning of the Persian new year!Wish everyone happiness and good health!https://en.wikipedia.org/wiki/Iranian_calendars

( Read More... | no comments | on HN )
Re:Tell HN: DuckDuckGo shares users IP with Microsoft on Thursday March 06, 2025 @08:46AM (#43280120)
You are right. But, it shares my gussed city name, which most of the time is very accurate.

Then it says we throw away the IP and gussed city name, which is correct. But they have shared the city name with Microsoft.

I will update the title to fit the described problem.

Re:Tell HN: DuckDuckGo shares users IP with Microsoft on Thursday March 06, 2025 @07:42AM (#43279568)
Sorry, I updated the title. By location I meant IP.

If we have location-based results it means that they shares (let's say) the gussed city name with Microsoft. Saying *we throw away both the guessed location and the IP address* is bullshit. They share it with Microsoft, and Microsoft keeps it.

Re:Tell HN: DuckDuckGo shares users IP with Microsoft on Thursday March 06, 2025 @07:28AM (#43279447)
I tried that on Ecosia and it's the same. But Ecosia in its privacy policy says that it shares IPs with Microsoft.

Tell HN: DuckDuckGo shares users IP with Microsoft

Hi HN,Today I was using DuckDuckGo website to look for some exhibitions. I typed "Ausstellung" (German word for exhibition) and accidentally pressed Enter. What happened next was interesting. The search result was full of pages related to my city!!!I don't live in Berlin any other big city. I live in a small city, and the result was all about exhibitions in my city.As far as I know Bing serves...

( Read More... | 13 comments | 7 points | on HN )
Re:Ask HN: What apps have you created for your own use? on Sunday December 17, 2023 @09:15AM (#38672961)
I love them!
I tried to defeat an angry bear by throwing up rabbits (idea by Julio Cortázar) but it didn't work
Re:OpenAI announces leadership transition on Sunday November 19, 2023 @06:11AM (#38331536)
Last week lcamtuf published a blog post on corporate life which exactly fits here. Whatever you do as a staff for your company, they still can fire you easily. Corporates want you to consider them as family, but they don't do it themselves.

https://lcamtuf.substack.com/p/on-corporate-life

Older »