Re: [dev] Wayland compositors

2021-09-14 Thread NRK
e users calling them "anti-vaxxers and flat-earters" is the way to go :) https://drewdevault.com/2021/02/02/Anti-Wayland-horseshit.html - NRK

Re: [dev] Special target ".POSIX" in Makefiles

2021-12-30 Thread NRK
that `?=` was accepted into POSIX. But I cannot find any mention of it in the posix manpage (man 1p make) so I guess I was wrong. What would be a posix replacement for `?=` ? I assume something like: VAR = $$(if test -n "$$VAR"; then printf "%s" "$$VAR"; else printf "fallback"; fi) - NRK

Re: [dev] Special target ".POSIX" in Makefiles

2021-12-30 Thread NRK
On Fri, Dec 31, 2021 at 12:49:46PM +0600, NRK wrote: > What would be a posix replacement for `?=` ? I assume something like: > > VAR = $$(if test -n "$$VAR"; then printf "%s" "$$VAR"; else printf > "fallback"; fi) > Now tha

Re: [dev] Special target ".POSIX" in Makefiles

2022-01-01 Thread NRK
Might be a good idea to use a different name to avoid potential confusion. Something like `makecheck` should be fine, I cannot find any other project with that name. [0]: https://github.com/christianhujer/makelint - NRK

Re: [dev] [st] wide characters getting cropped

2021-11-11 Thread NRK
; or "end-to-end latency", which is the delay between a physical input (in this case key-press on the keyboard) and it's output (in this case the key-press being rendered). - NRK

Re: [dev] [st] wide characters getting cropped

2021-11-10 Thread NRK
will end up using. Also just to clarify, I wouldn't say ST has "latency issues", that implies the situation is _bad_. As I've said, it's the 2nd most responsive terminal I've tried and _MILES_ better than these "gpu accelerated" terminals. It's also the only other terminal that I still have installed in my system. - NRK

Re: [dev] [st] wide characters getting cropped

2021-10-27 Thread NRK
I have switched over to it. It would be interesting to see someone doing a proper benchmark with all latest terminal versions, since I don't have any data to back up what I am saying :) So take it as you may. - NRK

Re: [dev] [st] wide characters getting cropped

2021-10-26 Thread NRK
(5). I won't be delving any deeper into this as I've moved over to XTerm long ago due to input latency reasons. You might want to check FAQ provided in the ST repo. P.S echo is non-portable. Use printf. https://wiki.bash-hackers.org/commands/builtin/echo#portability_considerations - NRK

Re: [dev] Whether a css selector applies to given html surf code

2021-10-25 Thread NRK
html page . This will > make css extremely minimal and page loading faster. Wouldn't it make more sense to just inline the css into the html instead? I think Dylan was doing that for K1SS. https://archive.md/dFqxv - NRK

Re: [dev] [dwm] default window attaching behaviour

2021-11-30 Thread NRK
; my layout. Hi, You should consider using a "scratchpad" for this purpose. There's a couple scratchpad patches it in the wiki. I personally didn't like them though, I don't remember why exactly but it had something to do with messing up my tag-based workflow. - NRK

Re: [dev] conference video mirror

2022-01-16 Thread NRK
hout needing to use any VPN or anything). On Sun, Jan 16, 2022 at 10:05:55AM -0500, Jeffrey Picard wrote: > I’d love to help get all of these videos migrated if you’re interested in > that. That'd be nice, extra mirrors can't hurt. Feel free to email me the links if/when you get around doing so. - NRK

Re: [dev] [dwm] hardcoded dmenucmd && dmenumon

2022-02-16 Thread NRK
menucmd and would allow other scripts/programs spawned via dwm to utilize this env var as well. On Wed, Feb 16, 2022 at 05:39:14PM +0100, Hiltjo Posthuma wrote: > Whats the issue Wouldn't consider it an "issue", but rather a place for potential improvement. - NRK

Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-14 Thread NRK
suckless.org/dmenu/patches/separator - NRK

Re: [dev] Is there a text editor following the UNIX philosophy?

2022-02-12 Thread NRK
dependancy on tree-sitter is specficially what made me uninstall neovim and switch over to vanilla vim. - NRK

Re: [dev] dwm oddity

2022-04-05 Thread NRK
feature annoying. But on monocle layout, I don't think it should be possible for the mouse cursor to change focus. So your problem is probably related to some patch you're using. Try using vanilla dwm without any patches and see if you still run into the issue. [0]: https://dwm.suckless.org/patches/focusonclick/ - NRK

Re: [dev] requirements of build systems

2022-02-01 Thread NRK
that it does occur in practice. That's good to know, I wasn't thinking about NFS at all. Also just to be clear, my question wasn't rhetorical. Since I've never experienced issue with make, I was genuinely curious if this issue occurs in practice or not. - NRK

Re: [dev] requirements of build systems

2022-02-01 Thread NRK
o waste resource solving theoretical problems. - NRK

Re: [dev] Some direction with my project

2022-04-15 Thread NRK
ed to that, given it's a single source file and none of the functions are being called externally, you should declare (as well as define) all the functions as `static`. - NRK

Re: [dev] [dmenu][bug report] Second instance invisible

2023-09-22 Thread NRK
isn't checked for in dmenu. Perhaps you're getting a NULL ic due to your config? Does the attached patch make any difference? - NRK >From defc910ce1fa51e3031af19abae8c70b3b8b8106 Mon Sep 17 00:00:00 2001 From: NRK Date: Fri, 22 Sep 2023 23:42:10 +0600 Subject: [PATCH] check for XCreateI

Re: [dev] getting rid of cmake builds

2023-09-22 Thread NRK
..] # on windows with msvc without requiring mingw or similar - NRK

Re: [dev] [dmenu][bug report] Second instance invisible

2023-09-22 Thread NRK
r. Cannot reproduce on my system, tried on unpatched master branch and v5.2. The 2nd dmenu instance appears just fine after the first one closes. If you can consistently reproduce, then attach gdb to the 2nd instance (via `gdb --pid`) and try to inspect what might be going wrong compared to a non-buggy case. - NRK

Re: [dev] getting rid of cmake builds

2023-09-22 Thread NRK
d up compilation. For example the infamous linux kernel "fast header" patches included reducing TUs by, "consolidating .c files": https://lore.kernel.org/lkml/ydifz+lmewets...@gmail.com/T/#u - NRK

Re: [dev] getting rid of cmake builds

2023-09-22 Thread NRK
th an over-complicated build system, they tend to also end up over-engineering the software architecture as a result of the build system making it easy to over-complicate things. - NRK

Re: [dev] getting rid of cmake builds

2023-09-22 Thread NRK
impler and superior for small projects - and I've given a list of reason on my initial post. If someone thinks those are valid reasons, then try it out. If not, then don't. - NRK

Re: [dev] [st] UTF-8 not working

2022-04-20 Thread NRK
the patch isn't perfect, but it's certainly better than crashing the application as it does right now. [0]: https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/1 - NRK

Re: [dev] Bye

2022-04-23 Thread NRK
On Sat, Apr 23, 2022 at 12:06:16PM +0200, Olivier Regnier wrote: > > NOOOoo, don't leave! :( - NRK

Re: [dev] suckless indentation with vim

2022-07-02 Thread NRK
, except using spaces for alignment. I see no reason why that needs to be manual when everything else vim can do automatially. - NRK

Re: [dev] suckless indentation with vim

2022-07-06 Thread NRK
, then neatvi and kakoune; or any other "newly written" vi clone will suffer from the same problem. neatvi: https://github.com/aligrudi/neatvi kakoune: https://github.com/mawww/kakoune - NRK

Re: [dev] suckless indentation with vim

2022-07-05 Thread NRK
ion aside, it's useful when you deal with multiple codebases which use different styles. - NRK

Re: [dev] [dwm] Multihead Issues Autostart

2022-05-01 Thread NRK
startx directly, then look into `xinitrc` (man 1 xinit has some examples). And if you're using some login/display manager then look into it's documentation instead. - NRK

Re: [dev] Regarding dwm and st logo being removed

2022-04-28 Thread NRK
en? Also since the logos are just svgs, I *think* it should be possible to override the color of the "fill" dynmaically via css (?) If so, then I think that's probably a better course of action :) - NRK

Re: [dev] Regarding dwm and st logo being removed

2022-04-28 Thread NRK
eme uses a #000 black for it's background. Which looks great my phone with AMOLED display, but not so great on my desktop with an LCD panel where something like #171717 looks much better. I'm not asking to change it though, since that'll just swap the problem. Just putting the info out there as feedback. - NRK

Re: [dev] [libgrapheme] Some questions about libgrapheme

2022-09-02 Thread NRK
ret += n; s += n; } return 0; /* unreachable (?) */ } If I was expecting a decent amount of non-ascii input, I would use the bitvector approach described by Thomas Oltmann. 1bit per byte overhead should be fine for most use-cases. - NRK

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-31 Thread NRK
as looking for but even this *could be* an improvement over the current system if it can be done in reasonable space, speed and code-size. - NRK

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread NRK
a look into instead. [0]: https://git.suckless.org/libsl/file/drw.c.html#l251 - NRK

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread NRK
On Tue, Aug 30, 2022 at 04:50:14PM +0200, Hiltjo Posthuma wrote: > Then write a patch to improve it instead of whining about it. The topic was font fallback; I adviced not to replicate drw, explained my reasoning why, and then adviced to look into ST instead. I don't see any whining. - NRK

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread NRK
en possible/feasible with Xft/FontConfig as I'm not very familiar with those libraries. If someone knows the answer, then feel free to speak up. If it is possible and someone can point out which routines I should be looking at then I can try to take a crack at it. In case that's not possible, then there's probably not a whole lot that can be done about the situation. - NRK

Re: [dev] dwm 6.4 bug

2022-10-26 Thread NRK
re treated as programmers. [0]: https://lists.suckless.org/hackers/2208/18484.html - NRK

Re: [dev] [libsl][bug] Call FcFini on cleanup for projects calling FcIni

2022-10-30 Thread NRK
such call in dmenu/dwm. Running dmenu master branch under leak-sanitizer doesn't show any leaks related to fontconfig (v2.13.1) either. How exactly did you detect this leak? And are you sure this is a problem on libsl/dmenu/dwm side and not the library itself leaking things? - NRK

Re: [dev] [libsl][bug] Call FcFini on cleanup for projects calling FcIni

2022-10-30 Thread NRK
e from that line in FcFini docs) weather initialization is required or not. [0]: https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcfini.html [1]: https://git.suckless.org/st/file/x.c.html#l1144 - NRK

Re: [dev] Some misc tools that could help others

2022-09-21 Thread NRK
tor :) [0]: https://programming.guide/robin-hood-hashing.html [1]: https://en.wikipedia.org/wiki/Locality_of_reference [2]: https://en.wikipedia.org/wiki/Primary_clustering [3]: https://nullprogram.com/blog/2022/08/08/ [4]: https://github.com/jarun/nnn/blob/de3ad1b14618392753051959b2e7ac52f70252a1/src/icons-hash.c#L124-L125 - NRK

Re: [dev] [st] libXft-2.3.5 fixed the color emoji crash

2022-09-15 Thread NRK
m distro package manager (which may be outdated depending on the distro policy). - NRK

Re: [dev] [st] incorrect italic, bold, bold italic versions

2022-08-05 Thread NRK
ont0` and then fallback to `font1 -> font2 -> ..` etc before attempting it's own heuristics. [0]: https://st.suckless.org/patches/font2/ - NRK

Re: [dev] [dwm] view() and toggleview() functions

2023-01-16 Thread NRK
On Mon, Jan 16, 2023 at 08:21:57PM +0900, A Farzat wrote: > Btw, on the email subject it says [SPAM Warning!]. Is it anything I need > to be concerned with? No, you're good. It was just a false positive on my end and I forgot to remove that before replying. - NRK

Re: [SPAM Warning!][dev] [dwm] view() and toggleview() functions

2023-01-15 Thread NRK
From what I see, all the tag > functionality can be achieved using only one tagset. It's for going back to the previous layout via `MODKEY+TAB`. - NRK

Re: [dev] [st] compilation warnings/errors

2022-11-12 Thread NRK
en just push the fix directly: https://suckless.org/wiki/ [0]: https://flameeyes.blog/2009/02/25/future-proof-your-code-dont-use-werror/ - NRK

Re: [dev] dwm 6.4 compilation error on FreeBsd

2023-02-15 Thread NRK
t a/config.mk b/config.mk # flags -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} - NRK

Re: [dev] [dwm] with SIGCHLD commit, dwm cannot launch dmenu_extended.

2023-04-08 Thread NRK
9f9905 grabkeys: Avoid missing events when a keysym maps to multiple keycodes) seems like something that might actually mess with keybinds. (Try changing your dmenu_extended keybind to something else and see if that works or not). - NRK

Re: [dev] [st] Font problem

2023-02-10 Thread NRK
ont configuration is st using? What's your system font-config setting? Etc. - NRK

Re: [dev] Announcing a couple small X11 utilities

2023-07-04 Thread NRK
On Tue, Jul 04, 2023 at 04:37:23PM -0400, Sebastian LaVine wrote: > I'm curious, what inspired you to write this instead of using xwd? Never really knew that it existed :) Going by the manpage, it seems to do a bit more than I'd like, but overall it doesn't seem too bad. - NRK

Re: [dev] Announcing a couple small X11 utilities

2023-07-07 Thread NRK
all that work. - NRK

Re: [dev] Suckless DNS server

2023-07-19 Thread NRK
ut] pointer arguments on such a call shall | still have valid values And in practice, compilers like to mark any arguments to string.h functions as non-null unconditionally due to the above reason. https://godbolt.org/z/brz7jhchr --- FYI I'm not exactly interested in defending dq because I know nothing about it, but the above criticism at least seems more like knee jerk reaction due to something being different rather than actual/technical criticism. - NRK

Re: [dev] Suckless DNS server

2023-07-19 Thread NRK
he bytes into proper place *never* needing to ask or know about the host system's byte order. - NRK

Re: [dev] Help to debug window name with special characters

2023-07-05 Thread NRK
ince you said it works on debian 11, it might also be useful to share the output of them from debian 11 and compare with 12 to see if anything changed. (Specifically, I'm interested in the "type" of the property. If it's anything other than STRING or UTF8_STRING then that might be a hint.) - NRK

Re: [dev] Minimalist software. Should I care?

2023-07-05 Thread NRK
end of the day, I'm not really interested in trying to forcefully "convert" you (or anyone else) since I believe that people should be able to do what they want with their computers. - NRK

[dev] Announcing a couple small X11 utilities

2023-07-04 Thread NRK
pickers were that due to no magnification, picking out specific pixels was fairly difficult. The usage is simple, you launch the program and pick a color. The result will be output to stdout in tab separated RGB, HSL and HEX format. Repo: https://codeberg.org/NRK/sxcs SLoC: ~628 Dependencies: Xlib

Re: [dev] Help to debug window name with special characters

2023-07-08 Thread NRK
f8 IIRC. I'm not sure what encoding those other two are using, but it's probably not using utf8 which is why it's not working. Try to see if there's some settings in those application (or their gui libraries) to make them use utf8. - NRK

Re: [dev] [dwm][PATCH] Add function to exec into another executable

2023-07-15 Thread NRK
ust invoke `shutdown`. - NRK

Re: [dev] [dwm] swallow without patching dwm -- or losing focus

2023-05-26 Thread NRK
re going any further. - NRK

Re: [dev] Announcing a couple small X11 utilities

2023-07-31 Thread NRK
lid value, ASan reports 2 leaks (output cleaned up): $ ./sxot -m 0 >/dev/null SUMMARY: AddressSanitizer: 1296 byte(s) leaked in 2 allocation(s). So something probably needs to be freed above. - NRK

Re: [dev] sbm dmenu bookmarker

2023-07-31 Thread NRK
ile, you can use shell redirection, e.g `https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat - NRK

Re: [dev] [license] gpl issues

2023-06-18 Thread NRK
there's nothing in the MIT license that requires tracking which part is new nor is there anything preventing derivative work under a different license. So my understanding is more or less the same as what Markus Wichmann said on the other reply. - NRK

Re: [dev] [license] gpl issues

2023-05-08 Thread NRK
will be useless. So the reality of the situation is that Valve is still "maneuvering" and trying to get what they want into the upstream wayland-protocol so that it gains adoption. The MIT license made zero difference. - NRK

Re: [dev] Simpler WiFi alternatives

2023-05-12 Thread NRK
s thread has been a massive cesspool. But passive-aggressive replies like this does not help the situation - it only contributes more to the cesspool. - NRK

Re: [dev] organizing programs

2023-05-13 Thread NRK
me at least). [0]: https://taskwarrior.org/ - NRK

Re: [dev] organizing programs

2023-05-14 Thread NRK
hat's mostly it from a quick glance. Slightly relevant: http://www.catb.org/~esr/writings/unix-koans/ten-thousand.html - NRK

Re: [dev] Announcing a couple small X11 utilities

2024-02-14 Thread NRK
to be incorrect then I might reconsider. [0]: https://codeberg.org/NRK/selx/commit/cbf753b97fbefe31c2553fa629878d20df88e6e3 - NRK

Re: [dev] dev

2024-02-03 Thread NRK
Having trouble unsubscribing? Worry not, coach NRK is at your service! For a fair pay of 1337 XMR, you'll receive: ★★★ A comprehensive guide on how to unsubscribe from the suckless dev mailing list ★★★ Offer available for a limited time only. - NRK

Re: [dev] [sbase] Defining scope of sbase and ubase

2024-03-09 Thread NRK
e. At the end, I just `rm -rf` everything and re-cloned all the modules. Maybe in the future git submodule's UI will be better but as of now it's a PITA to use. - NRK

Re: [dev] [surf][stylesheet][startpage] New ownership of Startpage not reflected in description

2024-03-30 Thread NRK
sense of > privacy as outlined in this article: > https://restoreprivacy.com/startpage-system1-privacy-one-group/ > Therefore, a removal of such passage is recommended. The git repo of the suckless website is publicly writeable. Feel free to push your changes in there directly: https://suckless.org/wiki/ - NRK