violate the license.
As for not every contributors being listed in the license file, that's
on the upstream authors. The license imposes no legal requirement for
someone who's copying it to hunt down and correct/list missing author
notices.
- NRK
with sent as I haven't used it but the bulk of the
work probably needs to happen at ffscale(). When filling up the
ximg->data you'd need to convert it from 24/32 bits to 16 bit format.
- NRK
ile now since `config.def.h`
doesn't provide any value to me given that I can look at git history to
see the defaults if needed.
- NRK
], so this shouldn't be a controversial change (I think).
[0]: https://lists.suckless.org/dev/2208/34923.html
[1]: https://lists.suckless.org/dev/2208/34926.html
- NRK
Hi Marcel,
> recent decisions made by the Gentoo Linux council
Out of curiosity, which ones in specific do you dislike?
- NRK
nding
it over.
I also noticed that in utf8decode() there's this line:
if (j < len)
return 0;
Is this ever reachable? If yes, wouldn't it be a infinite loop since
`text` would never advance inside drw_text()?
- NRK
ment solutions that stems of "single
element thinking").
* https://www.symas.com/post/the-sad-state-of-c-strings
* https://nee.lv/2021/02/28/How-I-cut-GTA-Online-loading-times-by-70/
- NRK
a massive waste of time, it's very
likely buggy as well unless you can actually test it.
So unless you know for certain that you will be targetting weird
machines and have the means to test on it: keep it simple and make
things *obviously correct* instead of overcomplicating things for
"theoretical portability".
- NRK
se 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
knows what else. 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
that assumption turns out 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
that 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] che
y* conclusion is that the latter is significantly
simpler 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
a nail.
When someone start off with 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
windows.c [...] # on windows with msvc without requiring
mingw or similar
- NRK
speed 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
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
accept a
file, you can use shell redirection, e.g `https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
- NRK
74a0 sp 0x7ffe95aa7498
And even if you enter a valid 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
u know that, you can simply shift
the bytes into proper place *never* needing to ask or know about the
host system's byte order.
- NRK
ecause 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
you can just invoke `shutdown`.
- 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
duplicate all that work.
- NRK
e 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
the 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
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
imal color 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
Dependen
se 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
spawn functions before
going any further.
- NRK
ps into the namespace reserved by .
You can rename it to `str_trim` to avoid it.
And that's mostly it from a quick glance. Slightly relevant:
http://www.catb.org/~esr/writings/unix-koans/ten-thousand.html
- NRK
action than
productivity (for me at least).
[0]: https://taskwarrior.org/
- NRK
t this 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
x27;t follow/adopt it and thus the
protocol 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
the commit right before it (89f9905 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
CE -D_XOPEN_SOURCE=700L
-DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
- NRK
act font configuration is
st using? What's your system font-config setting? Etc.
- 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
a specific patch, then just push the fix directly:
https://suckless.org/wiki/
[0]: https://flameeyes.blog/2009/02/25/future-proof-your-code-dont-use-werror/
- NRK
n't seem to say
anywhere (aside 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
h 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
are treated as programmers.
[0]: https://lists.suckless.org/hackers/2208/18484.html
- NRK
stead of using some pre-made
generator :)
[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
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
t",
Wasn't exactly what I was 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
said, I'm not sure if it's even 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
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
so that might be worth taking a
look into instead.
[0]: https://git.suckless.org/libsl/file/drw.c.html#l251
- NRK
oritize `font0` and then fallback to
`font1 -> font2 -> ..` etc before attempting it's own heuristics.
[0]: https://st.suckless.org/patches/font2/
- NRK
he vim
ecosystem, 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
en suckless indentation aside, it's useful when you deal with multiple
codebases which use different styles.
- NRK
hing I need, except using spaces for
alignment. I see no reason why that needs to be manual when everything
else vim can do automatially.
- NRK
;re using
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
mode; the current theme 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
rojects then?
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
On Sat, Apr 23, 2022 at 12:06:16PM +0200, Olivier Regnier wrote:
>
>
NOOOoo, don't leave! :(
- NRK
[0].
The thread suggests that 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
file in there.
And related 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
e 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
special case dmenucmd 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
s://tools.suckless.org/dmenu/patches/separator
- NRK
uot; editor. The dependancy on tree-sitter is
specficially what made me uninstall neovim and switch over to vanilla
vim.
- 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
not to waste resource solving theoretical problems.
- NRK
ine
now (without 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
RM) in it's README.
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
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 that I t
was under the impression 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
g
> 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
t;input latency" 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
certain software, then it's going be
the one I 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
thus overtime 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
t be related to terminfo (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
ar 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
ayland work for these users calling them
"anti-vaxxers and flat-earters" is the way to go :)
https://drewdevault.com/2021/02/02/Anti-Wayland-horseshit.html
- NRK
78 matches
Mail list logo