/prog/ - progs af

i hate computers

[Start a New Thread]



File: 2021-06-18-135255_284x304_scrot.png(67509)
Anonymous 2021-06-18T17:53:41Z No. fprog-F7I1GKYE [Report]

Any arch/artix fedifags here? I made a fairly minimal AUR helper for automating pretty much any package. All the other AUR helpers I've seen are super bloated and have a bunch of useless features. Still a WIP, but it functions for 99% of cases that don't need any involved setup. Check it out if you want. https://github.com/seth-scherer/mah

>>
Anonymous 2021-06-18T20:24:48Z No. fprog-FBKR7GPN [Report] >>fprog-I4GLPJLL

>>fprog-F7I1GKYE (OP) nice script i dont have $HOME/Downloads folder could you have a check if $HOME/Downloads does not exist to uses /tmp? might also be nice to have an option to audit the PKGBUILD file with something like less or a text editor and then install if everything is ok.

>>
Anonymous 2021-06-18T22:19:38Z No. fprog-I4GLPJLL [Report]

>>fprog-FBKR7GPN Thanks for the feedback anon, just added that. If you think any other additions could be needed, I'm all for it.


File: 2021-06-18-100805_614x96_scrot.png(22969)
Anonymous 2021-06-18T14:08:49Z No. fprog-ZBFXNRUQ [Report]

I like the new post-hover... very minimal and sleek. Thanks devchan!

>>
Anonymous 2021-06-18T14:36:03Z No. fprog-TSLHDO29 [Report] >>fprog-4ZJCQWUI

>>fprog-ZBFXNRUQ (OP) no js too!

>>
Anonymous 2021-06-18T16:19:24Z No. fprog-4ZJCQWUI [Report]

>>fprog-TSLHDO29 not really, js is still required to properly generate the links, but once a complete no-js interface is created, it will work as intended


File: 123go.mp4(2118592)
Anonymous 2021-06-14T20:16:29Z No. fprog-NJ5VD3T8 [Report]

https://github.com/Billy02357/shvirus I made this while bored What add now?

>>
Anonymous 2021-06-14T21:22:22Z No. fprog-RMB49OZH [Report]

>>fprog-NJ5VD3T8 (OP) add some comments, i have no idea what it does

>>
Anonymous 2021-06-14T22:22:46Z No. fprog-KKNH8O6F [Report]

>>fprog-NJ5VD3T8 (OP) nice sequence of commands. need to remove startenc and endenc unless you are meaning to keep those around. suggestions are depending if youre trying to cause damage or just leave your mark in as many places. atm it seems fine for its current use case. if you already have user control to execute the script you already have more access than the script will be able to provide. so this one seems to do its job.

>>
Anonymous 2021-06-16T03:06:59Z No. fprog-4QWEUW9T [Report] >>fprog-0247PJN6

>>fprog-NJ5VD3T8 (OP) >by Billy02357 AKA noid explain this

>>
Anonymous 2021-06-18T16:40:28Z No. fprog-0247PJN6 [Report] >>fprog-X6PMZV19

>>fprog-4QWEUW9T this is nothing

>>
Anonymous 2021-06-18T21:40:44Z No. fprog-X6PMZV19 [Report]

>>fprog-0247PJN6 i spotted you pal now spill the beans


File: idontunderstand.jpg(9451)
Anonymous 2021-06-01T06:21:28Z No. fprog-GL1XK382 [Report]

> ^n[a-z]+g+.*r$ is regex used anywhere other than in obsolete shell scripts?

17 replies and 1 images, Click here to view all.
>>
Anonymous 2021-06-13T14:08:29Z No. fprog-8KH5BY1U [Report]

>>fprog-GL1XK382 (OP) >>fprog-F0E5GSJ2 It's a bad regex for this. The .* is a DoS risk and doesnt make sense when you only want to match a few characters at most. Should be something like >^n\w{1,3}g+.{0,3}r$

>>
Anonymous 2021-06-13T14:26:59Z No. fprog-0ITUVIIA [Report] >>fprog-0MMICB9X

>>fprog-2E1QA6VA You appear not to know what you're talking about. Regex is a mainstay of unix/c/perl/shell style and culture and generally considered the opposite end of the spectrum to rust. Also, regex is hardly cryptic - you just don't know it. >>fprog-44823KUW This is interesting, although obviously doesn't replace regex in the terminal or editors. I can't imagine anything beating regex for live situations.

>>
Anonymous 2021-06-13T20:23:14Z No. fprog-0MMICB9X [Report]

>>fprog-0ITUVIIA This is -> >>fprog-44823KUW Agreed, for situations like terminal or a quick script, the ubiquity of regex in those situations (Perl support, terminal tools) makes them a better choice in many cases. Parsec is more heavy weight, and sometimes the benefits it gives (readability, type safety) aren't something that you particularly care about.

>>
Anonymous 2021-06-23T17:41:40Z No. fprog-IYIK4NDO [Report]

>>fprog-Q7FAVW5P >no one i know that works in the industry uses regex Where the fuck do you work?

>>
Anonymous 2021-06-28T19:13:52Z No. fprog-XYB1LEUZ [Report]

>>fprog-GL1XK382 (OP) perl, the greatest


File: frontpage.PNG(63891)
Hello from 0chan 0chan dev 2021-05-27T06:27:21Z No. fprog-ZS0MGEI9 [Report]

0chan.vip is a node running "multichan" , a federated textboard that uses tags rather than boards . It can federate over Tor ! we also have a shitton of ATOM feeds: > https://0chan.vip/atom/ What do you guys think of our project?

13 replies and 2 images, Click here to view all.
>>
Anonymous 2021-06-04T07:34:59Z No. fprog-MTIYNG8W [Report]

>>fprog-BNWJJWS8 >lemmy https://github.com/LemmyNet/lemmy https://lemmy.ml/

>>
File multichan.png (78162)
Anonymous 2021-06-07T19:14:08Z No. fprog-N46WS6EX [Report]

>>fprog-PMN3RBK8 https://0chan.vip/api/friends.txt

>>
Anonymous 2021-06-07T19:19:19Z No. fprog-S6THVZ24 [Report] >>fprog-SAQEDFS9

>>fprog-BNWJJWS8 > the way fchannel federation works is that admins manually connect a local board to a remote one, and then all remote threads and replies just get transparently mixed in with local ones. That's how we do it, too. We are soon adding a feature for multichan to scrape "normal" textboards/imageboards, thus granting it "archiving" ability (and probably pissing off some devs in the process). The first step for a federated project is being able to talk with itself; being able to talk with other kinds of softwares is even more fun!

>>
File tyrell_wellick.png (285616)
Anonymous 2021-06-08T19:47:11Z No. fprog-SAQEDFS9 [Report] >>fprog-IU3SNQ81

>>fprog-BNWJJWS8 >>fprog-S6THVZ24 you two faggots should combine efforts steal whatever is good from 0chan and put it into Fchan if you two stop being autistic and instead start working together, this idea of decentralised shitposting platform might actually take off

>>
Anonymous 2021-06-08T20:58:19Z No. fprog-IU3SNQ81 [Report]

>>fprog-SAQEDFS9 i approve this though if you can't work together you could at least make your protocols compatible so 0chan and fchan can talk


File: 06d5647afb06a781d399470f5e78f3b6bb7bd52ee72655094d639a714f387c92.png(503166)
Anonymous 2021-05-24T13:53:48Z No. fprog-AGAUVIB2 [Report]

leaving the bracket on the same line is better because it makes the source code smaller and thus reduces bloatness >imagine wasting time pressing a key just so you can put the curly bracket in a new line and make you code even uglier and more bloated pathetic

>>
File [disgusting].jpg (104260)
Anonymous 2021-05-24T14:13:48Z No. fprog-AD8ZJDJF [Report]

imagine not putting your brackets on a new line

>>
Anonymous 2021-05-25T18:37:46Z No. fprog-K0C4XC75 [Report] >>fprog-8HHG9SCM

>>fprog-AGAUVIB2 (OP) This is how civilization collapses, one bracket at a time. Little men cringing behind their glasses, staring and spaghetti code, sobbing as they tell themselves it's supposed to be hard to read. Your ancestors worshipped whitespace because they were not barbarians.

>>
Anonymous 2021-05-25T22:20:03Z No. fprog-8HHG9SCM [Report]

>>fprog-K0C4XC75 8/10 pasta nice meme dude


File: rust.png(10737)
Anonymous 2021-05-08T01:04:42Z No. fprog-TV1N4EVZ [Report]

i wanted to give rust a chance, i really did but come the fuck on, not even the GNU Cbloatware Collection is this bloated

8 replies and 1 images, Click here to view all.
>>
Anonymous 2021-05-11T00:45:37Z No. fprog-5GSJ1SZ7 [Report] >>fprog-2DG941A7 >>fprog-LYCZ04OX

>>fprog-TV1N4EVZ (OP) By using Gentoo, I can confirm it's bloated as hell without even looking at the size, it literally compiles a rust compiler using a C compiler, then re-compiles itself using the brand new rust compiler it just literally compiled, and then finally it compiles the entirety of the rust default bloat with this second rust compiler compiled from the first rust compiler that was compiled using GCC.

>>
Anonymous 2021-05-11T04:48:46Z No. fprog-2DG941A7 [Report]

>>fprog-5GSJ1SZ7 what the fuck this isn't even bloat any more, this is just retarded

>>
Anonymous 2021-05-26T00:44:18Z No. fprog-LYCZ04OX [Report] >>fprog-TER5W7XA

>>fprog-5GSJ1SZ7 I gave up and replaced it with rust-bin, it's so fucking awful. Emerging rust is worse than firefox. My machine sounds like a jet engine the whole time too, it's so bad. Half the reason it's so bloat is because they bundle their own (out of date) version of llvm. And they checksum it and force you to use their own out of date bullshit too, you can't slip the system llvm in. I hear it's fun to write but packaging and compiling rust is terrible.

>>
Anonymous 2021-05-26T09:28:06Z No. fprog-TER5W7XA [Report] >>fprog-89FUXSIE

>>fprog-LYCZ04OX good fucking lord, is the trannys cant into programming meme real?

>>
Anonymous 2021-05-26T14:47:46Z No. fprog-89FUXSIE [Report]

>>fprog-TER5W7XA some trannies don't take themselves as seriously and learn a normal language like haskell or lisp, since they are autistic usually and functional language attract them. but yea there's a reason trannies never use C, someone correct me if i'm wrong


File: glenda-trollface.png(20729)
How do you type out your pointers Anonymous 2021-04-26T06:17:20Z No. fprog-1606BEVL [Report]

int* ip or int *p

11 replies, Click here to view all.
>>
Anonymous 2021-05-09T15:41:06Z No. fprog-B0W2SD51 [Report] >>fprog-OCTLEQR0

>>fprog-SG6H9U6I then do >int * p, * q; it's still easier to see it as "int pointer" with this exception

>>
Anonymous 2021-05-09T18:46:46Z No. fprog-OCTLEQR0 [Report]

>>fprog-B0W2SD51 >2 spaces now that is just silly

>>
Anonymous 2021-05-14T16:15:42Z No. fprog-F251CGFK [Report] >>fprog-8U0QKH0L >>fprog-V2BCEKA3

>>fprog-1606BEVL (OP) When I started C, I looked at C code to choose my coding style. Here are some of my inspirations: https://aiju.de/misc/c-style https://man.openbsd.org/style https://suckless.org/coding_style/ https://man.cat-v.org/plan_9/6/style Some code I looked at was the plan9 source code and dwm source code. Hope that helps!

>>
Anonymous 2021-05-14T16:31:16Z No. fprog-8U0QKH0L [Report]

>>fprog-F251CGFK my style is based on some of those as well thank Stallman for all the libreware out there that helped me learn

>>
Anonymous 2021-05-21T21:05:02Z No. fprog-V2BCEKA3 [Report]

>>fprog-F251CGFK I like GNU style. check glib and GTK, the code style is pretty neat



[Home][Rules][FAQ]

All trademarks and copyrights on this page are owned by their respective parties.