Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zirias
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Zirias
1y ago
New release of my authentication service written in C. It now offers "multi-reactor" (multiple threads each running their own event loop). In my jmeter tests, it can now support 40,000 req/s fetching the login form and perfor
2.
▲
Swad 0.11 – auth service for Nginx and Anubis alternative
(github.com)
3 points
by
Zirias
1y ago
|
2 comments
3.
▲
by
Zirias
1y ago
TBH, I've shown this before, but a LOT has changed since then, most notably: * Performance improvements by adding support for epoll() (with singalfd and timerfd), kqueue() and solaris event ports, and also by fixing a few design issues
4.
▲
by
Zirias
1y ago
BTW, it also offers authentication with PAM, password files similar to Apache's .htpasswd and by calling some external tool. And it compiles to a (currently) 176kiB binary, which has the default templates, style.css and the javascript
5.
▲
Hello users of Anubis (for fighting malicious bots), I created an alternative
(github.com)
6 points
by
Zirias
1y ago
|
1 comments
6.
▲
A "no deps" form/cookie authentication service for Nginx reverse proxies
(github.com)
4 points
by
Zirias
1y ago
|
1 comments
7.
▲
by
Zirias
1y ago
swad is the "Simple Web Authentication Daemon". I just started it and crafted a first release that's still pretty limited in functionality, but does something (IMHO) useful, which I already use myself. More info in the github
8.
▲
by
Zirias
2y ago
So, let's look at this group of people knowledgeable in programming et al, but not english. Sure, this group exists. It's relatively tiny though. English is the language in any (modern, IOW except where it didn't replace lati
9.
▲
by
Zirias
2y ago
For Wayland, keyboard input is "out of scope". (edit: Not entirely, just verified it does forward very basic events, but it's a thing wayland doesn't want to handle, while X11 originally had its own keyboard/mouse
10.
▲
by
Zirias
2y ago
> The second worst part is the emoji combining sequences [...] That was the main reason for me to pull in harfbuzz. At least it "just resolves" those sequences to glyph indices.
11.
▲
by
Zirias
2y ago
Thanks for the pointer, this made me have another closer look at xkbcommon's API. Probably not too relevent for the tool I'm currently writing, but I'll keep that in mind: Instead of a key symbol, you can also obtain an utf
12.
▲
by
Zirias
2y ago
Note input is "out of scope" for wayland and XKB is used there for keyboard input as well. I just had a quick glance at "wtype" source and indeed, it fiddles with the keymap, using xkbcommon. So, assuming a suitable X11
13.
▲
by
Zirias
2y ago
Using input methods is the "technically best" solution of course, but it needs configuration and some application support, therefore I wanted something working with "plain X" :) Sending fake key events is unfortunately &
14.
▲
by
Zirias
2y ago
Xcompose only offers sequences started with the "compose" key (whatever it is mapped to) and resulting in a single X key-symbol, so to type an emoji needing multiple uniciode codepoints that way, you'd have to enter multiple
15.
▲
by
Zirias
2y ago
Not sure you really mean the compose mechanism provided by Xlib (and xkbcommon etc ...)? If so, this wouldn't work for all these emojis that are represented by grapheme clusters, ZWJ-sequences or are just "qualified". The res
16.
▲
by
Zirias
2y ago
In case someone wonders what's "special" about it: user perspective: As far as I know, it's the only tool offering somewhat reliable emoji input using faked X11 keyboard events. "x11-emoji-picker" comes close,
17.
▲
Emotional about X11: I'm creating a pure X11 “emoji keyboard”
(github.com)
131 points
by
Zirias
2y ago
|
94 comments
18.
▲
by
Zirias
3y ago
Thanks! If your goal is learning yourself, I guess you should really implement your stuff down on the system API level (using sockets and so on) ;) If, OTOH, you want to get up some simple/small service quickly, I hope "poser"
19.
▲
by
Zirias
3y ago
A "service" certainly doesn't mean SOA (using SOAP), it doesn't even mean any specific form of communication (there might be cases not needing any communication), it basically just means some hosted piece of software.
20.
▲
by
Zirias
3y ago
It certainly is not. Libuv (and friends) abstract platform-specific APIs like epoll (Linux), kqueue (FreeBSD), IOCP (Windows) etc, allowing to scale up to lots of concurrent clients/connections. I would recommend to use such a library