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
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
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
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
; 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
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
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
(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
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
; 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
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
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
suckless.org/dmenu/patches/separator
- NRK
dependancy on tree-sitter is
specficially what made me uninstall neovim and switch over to vanilla
vim.
- 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
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
o waste resource solving theoretical problems.
- 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
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
..] # on windows with msvc without requiring
mingw or similar
- 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
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
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
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
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
On Sat, Apr 23, 2022 at 12:06:16PM +0200, Olivier Regnier wrote:
>
>
NOOOoo, don't leave! :(
- NRK
, except using spaces for
alignment. I see no reason why that needs to be manual when everything
else vim can do automatially.
- 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
ion aside, it's useful when you deal with multiple
codebases which use different styles.
- 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
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
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
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
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
a
look into instead.
[0]: https://git.suckless.org/libsl/file/drw.c.html#l251
- 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
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 treated as programmers.
[0]: https://lists.suckless.org/hackers/2208/18484.html
- 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
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
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
m distro package manager (which may
be outdated depending on the distro policy).
- NRK
ont0` and then fallback to
`font1 -> font2 -> ..` etc before attempting it's own heuristics.
[0]: https://st.suckless.org/patches/font2/
- 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
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
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
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
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
ont configuration is
st using? What's your system font-config setting? Etc.
- 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
all that work.
- 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
he bytes into proper place *never* needing to ask or know about the
host system's byte order.
- 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
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
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
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
ust invoke `shutdown`.
- NRK
re
going any further.
- 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
ile, you can use shell redirection, e.g `https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
- 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
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
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
me at least).
[0]: https://taskwarrior.org/
- NRK
hat's mostly it from a quick glance. Slightly relevant:
http://www.catb.org/~esr/writings/unix-koans/ten-thousand.html
- NRK
to be incorrect then I might
reconsider.
[0]:
https://codeberg.org/NRK/selx/commit/cbf753b97fbefe31c2553fa629878d20df88e6e3
- 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
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
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
70 matches
Mail list logo