Re: [dev] alternatives to C: Ada, Rust, Pascal

2024-06-22 Thread Jeremy
me beyond the scope of main. Program doesn't compile if the file doesn't exist on the FS. We only support NixOS now. DNS resolution is now free since it happens at compile time. don't run the program after DNS expiration. it's undefined behavior. Jeremy

Re: [dev][Quark] Big problem

2024-06-03 Thread Jeremy
I personally. am against bc I struggle to ever remember which arguments goes where, so actually I don't recommend darkhttpd anymore. So In closing, i prefer fork/dup for a lot of things, and the Processses are just goroutines under the hood anyway & so Fork/dup is light-weight. Je

Re: [dev] I didn't know that you could use the shell like this: compound pipe?

2024-01-17 Thread Jeremy
e dead subshell & you'd end up with nothing to barify, and that's a fact. but why add cat if you can barify right there? to further correct the above program, assuming barify reads from stdin: ``` ./program-cli | ( read -r printf "%s\n" "$REPLY" > /tmp/a barify ) > /tmp/b fooify /tmp/a ``` "Use files" - I will never forget this. Jeremy

Re: [dev] I didn't know that you could use the shell like this: compound pipe?

2024-01-17 Thread Jeremy
:( It's pretty clear that "header" information is just noise & should EITHER be written: - if stdout is a tty OR - only to standard error Jeremy

Re: [dev] Suckless DNS server

2023-07-19 Thread Jeremy
fusion like > these and should be avoided for this reason. > I meant `ntohs`... and this further proves your point. Thank you for your insight & for the article. Jeremy

Re: [dev] Suckless DNS server

2023-07-19 Thread Jeremy
y aware, if there were 3 answers, and you were running this on a Big Endian machine, the program would attempt to iterate over 768 answers. Instead, one can use htons(byteorder.3). That may be another knee-jerk criticism, but I have trouble seeing any point looking further. Jeremy

Re: [dev] Suckless DNS server

2023-07-19 Thread Jeremy
X(EIO,"input/output error") ... return "unknown error"; } Maybe this is just comedy? In all seriousness, this project seems moreso exploratory than lightweight & simple. Either that or I do not understand the author's objectives here. Jeremy

Re: [dev] Simpler WiFi alternatives

2023-05-13 Thread Jeremy
this mailing-list to try to trigger our insecurities & cause suckless to fragment, but that suckless is already inoculated & preoccupied with its own inner-self-criticism to be affected by outside forces. Moderation in this mailing list is highly disciplined & I'm unironically impressed. Thank you. Jeremy

Re: [dev] organizing programs

2023-05-12 Thread Jeremy
On 05/12/23 02:11PM, LM wrote: > I'd be curious to know what tools other people use on the list to > handle organizational jobs such as time and task scheduling, todo > lists, habit tracking, displaying/printing calendars, etc. Any > recommendations? If you use more than one application, which pr

Re: [dev] Simpler WiFi alternatives

2023-05-12 Thread Jeremy
e physically unable to block Mr. Fossy, simply because this kind of moderation is costly. You can always donate to suckless through PayPal using their teasurer's address: fina...@suckless.org Jeremy

Re: [dev] Logical abilities of routers

2023-05-01 Thread Jeremy
port > errors. > ... > Also consider the internet connection, you may need to run PPPoE to a > xDSL modem or similar. I hadn't thought to mention this - thank you. - Jeremy

Re: [dev] Logical abilities of routers

2023-04-30 Thread Jeremy
t allowed you to start making coffee remotely. All you need to do is tell your router to accept requests to 50.50.50.50:80 & send them to 192.168.1.2:80. This allows you to enter 50.50.50.50:80 into your webbrowser(from anywhere) & access your coffee maker's web interface. Nothing more to a home router than that - hope it helps. Jeremy

Re: [dev] ipaddr - script friendly ifconfig/ip replacement

2023-03-26 Thread Jeremy
ernative is to just get the address from ifaddrs->ifa_addr. Jeremy On 03/26/23 01:08PM, Sean MacLennan wrote: > I started writing ipaddr almost 20 years ago after the umpteenth > time trying to parse ifconfig (and later ip) output in scripts. The > original version was get only a

Re: [dev] sshd?

2021-07-26 Thread Jeremy
re. I agree that minimalism a means to an end, but if the means is the same as the end, why draw the distinction? Jeremy

Re: [dev] sshd?

2021-07-06 Thread Jeremy
-f | wc -l 1996 $ find linux | stest -f | wc -l 66520 Maybe y'all have a better solution? Jeremy

Re: [dev] less lines of code suck less

2021-05-03 Thread Jeremy
ode. I'd argue that requiring awk to use `head` would create more complexity(for the end user) than it would solve for the developer. Jeremy

Re: [dev] svtm

2021-04-28 Thread Jeremy
On 04/24/21 04:46AM, Greg Reagle wrote: > All of your programs/libraries get installed into /usr/local/bin except svtm > which gets installed into $(HOME)/.local/bin Why is that? If you are going > to stay with $HOME, then remove "sudo" from the last step of your > installation instruction: >

Re: [dev] Ada not Rust

2021-04-28 Thread Jeremy
On 04/26/21 03:43PM, Ross Mohn wrote: > > Ross Mohn wrote: > > > I and my entire team have been actively and successfully using dvtm for > > > years. I haven't had it crash in a long while now, and I regularly keep > > > sessions alive for months. However, I am very interested in using > > > somet

Re: [dev] Ada not Rust

2021-04-23 Thread Jeremy
On 04/20/21 10:23AM, Greg Reagle wrote: > On Tue, Apr 20, 2021, at 09:45, Jeremy wrote: > I gave up on using dvtm a while ago (now I use tmux which is good) because it > would keep crashing. And I could not figure out how to debug the crashes or > get > specific information abo

Re: [dev] Ada not Rust

2021-04-20 Thread Jeremy
to write in, and I believe that the enthusiasm for it is unparalleled, however, I'm not certain it's doing anything better in terms of debugging & static analysis compared to the C ecosystem. Jeremy

Re: [dev] Ada not Rust

2021-04-19 Thread Jeremy
e tools for static analysis, debugging, macros for C that you would for any other language, no? I could understand generics, interfaces, iterators, OOP and all of that from a masturbatory standpoint, but that aspect aside, what utility do these provide over C? Jeremy

Re: [dev] Completeness suckless

2021-04-09 Thread Jeremy
On 04/09/21 10:12PM, Hadrien Lacour wrote: > On Fri, Apr 09, 2021 at 01:07:01PM -0700, Jeremy wrote: > > On 04/09/21 09:07PM, Hadrien Lacour wrote: > > > On Fri, Apr 09, 2021 at 08:24:35PM +0200, Sagar Acharya wrote: > > > > I have studied Engineering Physics

Re: [dev] Completeness suckless

2021-04-09 Thread Jeremy
ntists aren't necessarily the same as engineers/programmers, > nor are they wiser than average. > (I say that coming from one of the best universities in France; I didn't have > very much respect left for the word "scientist" when I left). > Do architects lay brick? Jeremy

Re: [dev] Completeness suckless

2021-04-09 Thread Jeremy
e C. They are incapable. > Where would you say their capacities are lacking? Jeremy

Re: [dev] st: enlarge font

2021-03-30 Thread Jeremy
On 03/22/21 03:15PM, Sebastian LaVine wrote: > > The Suckless community is international, and many of course do not speak > English -- in particular American English -- as a primary language. But as > an American, the word used in that email address is beyond vulgar, and > extremely -- uniquely --

Re: [dev] Build system: redo

2020-12-20 Thread Jeremy
will just truncate the target(redo-c). Maybe this usecase is irrelevant to the scope of redo, though I'm not sure. What do you think? Jeremy

Re: [dev] [dwm] systray in upstream dwm?

2012-04-05 Thread Jeremy Jackins
On Thu, Apr 5, 2012 at 2:12 AM, KIMURA Masaru wrote: >> however in my opinion a system tray is >> not necessary and should not be added to mainline. > > if you don't mind my asking, explain why? > just curious. > Necessity needs justification, not the other way around.

Re: [dev] regarding surf and cookie handling

2012-02-21 Thread Jeremy Jackins
On Tue, Feb 21, 2012 at 1:13 PM, Nick wrote: > userbase of < 5 ;) Hey, just because we're quiet doesn't mean we aren't here.

Re: [dev] network usage graphs

2012-01-27 Thread Jeremy Jackins
On Thu, Jan 26, 2012 at 11:05:19PM -, Bjartur Thorlacius wrote: > What use is bloatware such as ed when you have sed and sponge? Not sure if sarcasm...

Re: [dev] [st] Drawing optimizations

2012-01-21 Thread Jeremy Jackins
On Sat, Jan 21, 2012 at 3:54 PM, Aurélien Aptel wrote: > Hi all, > > I've made st ~10x faster on my computer. If there are no major bugs I > will tag tip as version 0.2. > Here's the relevant commit message: > > * add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call > * wait at least

Re: [dev] Patch for st tabbed

2012-01-20 Thread Jeremy Jackins
> Patch for st tabbed > also adds bindable function to instantly exit tabbed (I bind to ^c). Don't you ever want to interrupt a program without closing all your terminals?

Re: [dev] st: Font problem

2012-01-17 Thread Jeremy Jackins
On Tue, Jan 17, 2012 at 4:17 AM, Aurélien Aptel wrote: > On Tue, Jan 17, 2012 at 10:38 AM, François Chaix wrote: >> So, it works, st launches, but it is very slow. 1s to display a full >> man page, 3s to display a ncurses-based interface (tested with mocp). >> What do you think this comes from ?

Re: [dev] [surf] hover fix

2012-01-16 Thread Jeremy Jackins
> this Sorry, this one can actually be applied. hover3.diff Description: Binary data

Re: [dev] [surf] hover fix

2012-01-16 Thread Jeremy Jackins
On Mon, Jan 16, 2012 at 4:38 AM,   wrote: > Hello, > > Surf doesn't "update" when hovering link, > removing an else fixes it. I think this has the same effect but avoids a redundant print. This has really bothered me a few times, that I couldn't hover a link while the page was loading. hover2.di

Re: [dev] network usage graphs

2011-12-24 Thread Jeremy Jackins
Is there a reason for using a stream editor when you want to edit in-file? echo '1d w' | ed original.dat

Re: [dev] PARENT_XID environment variable.

2011-11-06 Thread Jeremy Jackins
>> > I would like to add support for surf, zathura and others I use >> > daily. >> >> I already use it with surf, and I didn't have to add any support. >> > > Are you using PARENT_XID environment variable enabled surf? That was > the point of my mail. Ah, I fear I skimmed through your mail too qui

Re: [dev] PARENT_XID environment variable.

2011-11-05 Thread Jeremy Jackins
> I would like to add support for surf, zathura and others I use daily. I already use it with surf, and I didn't have to add any support.

Re: [dev] [dwm] 2000 SLOC

2011-10-31 Thread Jeremy Jackins
7;m fine with the other ones, but I'd like to cast my vote on keeping these two, I use and love them. I would offer to maintain if necessary but I haven't exactly been around long enough to earn the trust of anyone. Jeremy

Re: [dev] [dwm] ncol layout

2011-10-31 Thread Jeremy Jackins
> So in other words, if we can say tha majority use cases are: > > nmaster: 1-2 > ncol (slave cols): 1-2 Hm, so are we no longer considering bstack? I agree that mod-shift-t would be a nice way to do nmaster=2, but this means that with more than two windows I'm stuck a stack on the side and I've l

Re: [dev] [dwm] ncol layout

2011-10-30 Thread Jeremy Jackins
> keybinding), so increasing nmaster and moving that window into the s/increasing/decreasing/ > ... Anyway it seems like my > explanation isn't clear so I'll try to implement it and post a patch Okay, so not knowing the dwm source very well I'm having trouble implementing this, but I think these

Re: [dev] [dwm] ncol layout

2011-10-30 Thread Jeremy Jackins
ely, you choose which windows to move into master or which to move back into the stack. Maybe this would go against the 'dynamic' part of dwm's name... Anyway it seems like my explanation isn't clear so I'll try to implement it and post a patch Jeremy

Re: [dev] [dwm] ncol layout

2011-10-30 Thread Jeremy Jackins
g one more keybinding and can put an arbitrary number of windows in both master and stack, in a way that is intuitive (to me at least). Jeremy

Re: [dev] [dwm] 2000 SLOC

2011-10-30 Thread Jeremy Jackins
mind? I'm suddenly nervous that my favorite software is going to start to disappear... Jeremy

Re: [dev] Linux sucks!

2011-10-29 Thread Jeremy Jackins
> condolences on your shitty university Makes me appreciate mine a bit more, where the windows section of the main undergrad lab is a dank little corner mainly populated by students from other departments who were forced into taking a CS course.

Re: [dev] [dwm] merging bottom stack?

2011-10-05 Thread Jeremy Jackins
On Mon, Sep 26, 2011 at 3:29 PM, Connor Lane Smith wrote: > Hey, > > On 26 September 2011 21:43, Nick wrote: >> Just wondering what people think about the idea of merging the >> bstack layout patch to the plain vanilla dwm? It's pretty >> non-intrusive, and a very useful layout for small screens

[dev] Missing hg repo after move?

2011-09-29 Thread Jeremy Jackins
hg clone http://hg.suckless.org/sandy gives abort: HTTP Error 500: Internal Server Error and it also doesn't appear in the repositories list at hg.suckless.org. I'm guessing this has something to do with the hosting move.

Re: [dev] [st]100% cpu in some cases

2011-09-18 Thread Jeremy Jackins
I experience this also, using the free radeon driver. I have no idea what this firmware-linux-nonfree is though...

Re: [dev] wmii unicode in the status?

2011-01-23 Thread Jeremy Jackins
On Sun, Jan 23, 2011 at 6:26 PM, Eitan Goldshtrom wrote: > So I had already done that, which made me wonder why you were suggesting > it, because obviously I must have done something wrong when I tried to hg > that URL. I hadn't realized that I needed to build that after getting it. I > did and ev

Re: [dev] [dwm] dwm for windows?

2010-07-09 Thread Jeremy Wolff
gt; Key Laboratory of Modern Chinese Medicines > Department of Traditional Chinese Medicine > China Pharmaceutical University > No.24, Tongjia Xiang Street, Nanjing 210009, China > > -- Jeremy Wolff

[dev] [surf] searchengines patch 0.4 update

2010-06-05 Thread Jeremy Wolff
I've updated the searchengines patch for surf, the patch on the site only works for 0.3. diff -up surf-0.4/config.def.h surf-0.4-mychanges/config.def.h --- surf-0.4/config.def.h 2010-05-30 16:05:25.0 -0400 +++ surf-0.4-mychanges/config.def.h 2010-06-05 14:23:36.0 -0400 @@ -38,3 +38,

Re: [dev] last request for a dev-only list

2009-06-11 Thread Jeremy Jay
nal chatter is fine by me. When the 10% turns to 90% is where I take issue. I agree wholeheartedly with your web forum rant, I hate them. But I also think that mailing lists should have a more narrow focus. Saves everyone from dealing with the chaff. Again, this is just my .02, Jeremy On

[dev] last request for a dev-only list

2009-06-11 Thread Jeremy Jay
hen I should not be subscribed in the first place. Jeremy

Re: [dev] dwm: XComposite patch

2009-06-04 Thread Jeremy Jay
gs! If you can't find a window then you're doing it wrong. I suggest kicking your virtual-screen habits and using it as it was intended, you'll save yourself a lot of time and effort. Jeremy

Re: [dev] How to make R's windows floating?

2009-05-26 Thread Jeremy Jay
I guess I should have been more explicit: { NULL, NULL, "R Graphics", 0,True }, On Tue 26 May 2009 - 08:10PM, Wu, Yue wrote: > On Mon, May 25, 2009 at 03:39:11PM -0400, Jeremy Jay wrote: > > > > use "R Graphics" instead of &quo

Re: [dev] How to make R's windows floating?

2009-05-25 Thread Jeremy Jay
use "R Graphics" instead of "R*". it's only substrings, not pattern matching On Mon 25 May 2009 - 02:04PM, Wu, Yue wrote: > On Sun, May 24, 2009 at 09:51:59AM +0800, bill lam wrote: > > On Sun, 24 May 2009, Wu, Yue wrote: > > > Hi, I tried to make all of R[www.r-project.org] relative stuffs, lik

Re: [dev] dwm only?

2009-05-24 Thread Jeremy Jay
You know, if people stopped complaining or responding to complaints there would be a lot less chatter on the list Jeremy On Sun 24 May 2009 - 11:12AM, Thayer Williams wrote: > On Sun, May 24, 2009 at 1:44 AM, Dusan wrote: > > Is there a way to get only dwm related emails? Since