PawelDecowski

Joined 16 years ago

Karma
332
Submissions
78
Member since
Jun 17
Founder at FightKit and Knok

https://fightkit.co https://knok.chat

View on Hacker News

Recent submissions

Comment · 4 years ago
Comment · 5 years ago
Hello, fellow hackers! Author of LDAP DN here.

Recently, I was working on a legacy PHP project that synchronises LDAP teams and users. I found several bugs relating to poor DN “parsing” using regexes and string replacement.

There has to be a better way of doing it, I thought. Alas, there’s not much choice in the PHP ecosystem when it comes to parsing DNs. While there are a few libraries and even PHP’s own `ldap_explode_dn()`, I think they don’t have clean APIs.

So I wrote LDAP DN. It breaks down DNs into RDNs and attributes, supports escaping, allows basic manipulation and has 100% test coverage.

Let me know what you think!

Comment · 6 years ago
Comment · 6 years ago
I get:

    Error when getting location: 1 User denied geolocation prompt
even though I allowed location access.

Firefox 72.0.2 on macOS Mojave 10.14.6

Comment · 8 years ago
Don’t blame yourself. Estimation is extremely hard.
Comment · 8 years ago
Comment · 8 years ago
Do you use a tool that supports this methodology or do you calculate it manually?
Comment · 8 years ago
Comment · 9 years ago
UTF-8, Unicode.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton