/prog/ - Programming

[X]

Mark sensitive


File: 24.gif (746.84 KB)
Anonymous 08/14/22(Sun)12:56:11 No. fprog-DDYXULDP [Report]

Poopchan says this on every board "OutboxGet:529 : WantToServePage:1120 : GetCollectionPage:331 : GetRepliesLimit:667 : GetRepliesReplies:704 : pq: remaining connection slots are reserved for non-replication superuser connections" what does that mean???????


File: 46.jpg (9.23 KB)
YIKES!!!!!!!!!!!!!! Anonymous 08/14/22(Sun)03:06:09 No. V07G83QL [Report]

OutboxGet:529 : WantToServePage:1120 : GetCollectionPage:331 : GetRepliesLimit:667 : GetRepliesReplies:704 : pq: remaining connection slots are reserved for non-replication superuser connections poopchan says the above on every board. Wtf is that???


File: ohyes.jpeg (37.26 KB)
nigger nigger 03/26/21(Fri)17:07:05 No. fprog-VL6C5XZV [Report]

nigger nigger nigger nigger nigger

>>
Anonymous 08/09/22(Tue)03:19:49 No. fprog-C5A0F46B [Report]

http://zzflfyp2bqz4fm6do6h6aqq5f3hehf2hohkl5gywurgpimiz3cgjvtqd.onion/


File: 6376018_f520.jpg (161.54 KB)
What are you programming? Anonymous 01/30/21(Sat)11:38:03 No. fprog-021AG738 [Report]

What are you programming or wanting to program? I often have a hard time on where to start. Do you have this problem?

12 replies and 1 images, Click here to view all.
>>
Anonymous 02/03/21(Wed)23:12:32 No. fprog-T62PQHNG [Report] >>fprog-BAYDDEEY

i want to make a curses TCG which has some form of meme blockchain to keep track of card rarity and ownership of cards. challenging opponents through a network

>>
Anonymous 02/05/21(Fri)03:21:10 No. fprog-BAYDDEEY [Report]

>>fprog-T62PQHNG Sounds rather easy, and also fun. Ignore the curses for now, interfaces can just be built on top of a sane backend. Rather that putting it on top of an existing blockchain product, you could modify one of them to make tokens equal cards, or via a token system. Might even be fun to make the system generic enough that other people can build their own card system on top of it just by modifying a few configuration files.

>>
Anonymous 02/18/21(Thu)02:40:26 No. fprog-P225N5E0 [Report]

>>fprog-MS0JZE10 Evernote is proprietary software so I won't use it

>>
File Piict3PJ.webm (2.88 MB)
Anonymous 03/18/21(Thu)08:38:11 No. fprog-QDMY3QIA [Report]

>>fprog-021AG738 (OP) 3D rendering for my game or something

>>
oqe anonimo 07/30/22(Sat)22:31:42 No. fprog-A2BBAEC5 [Report]

Bom


File: fchan.png (37.23 KB)
Anonymous 01/14/21(Thu)03:21:29 No. fprog-AF085BFA [Report]

This site is based on the activity pub protocol. It is still a work in progress. You can get the source code here. https://github.com/FChannel0 I hope it provides some interest.

270 replies and 32 images, Click here to view all.
>>
Anonymous 07/26/22(Tue)20:00:58 No. TY0P8WQN [Report] >>11AQTW3D

>>XWIHT0X2 great, thanks. i'm gonna attempt to recreate a scenario similar, where the original instance for a thread is down and hopefully track down the issue

>>
Anonymous 07/26/22(Tue)20:46:41 No. 11AQTW3D [Report] >>6CY5I1IM

>>TY0P8WQN reproduced the bug in an isolated environment, tracked down the error thanks to logs and i'm writing a fix for it now. the actual problem at hand is solved but i also want to solve the related problem of the /followers error, which can introduce this bug will post the patch here when it's done and i'll create a PR too tl;dr fchan gets a list of each following board's followers, however if it fails to contact even one of them it completely dies. my two-line fix prevents this from happening and logs it to the console.

>>
Anonymous 07/26/22(Tue)21:46:47 No. 6CY5I1IM [Report]

>>11AQTW3D >>XWIHT0X2 https://github.com/FChannel0/FChannel-Server/pull/69.patch try this patch

>>
Anonymous 07/27/22(Wed)04:38:36 No. EP3YIWOB [Report] >>4CO7U17I

applied

>>
Anonymous 07/27/22(Wed)11:36:45 No. 4CO7U17I [Report]

>>EP3YIWOB nice, looks like it’s working


File: dbc1e5cbb04c967776ce73318f(...).gif (118.30 KB)
Attempt at creating a FChannel local client Anonymous 07/28/21(Wed)04:30:40 No. fprog-DK37PT1F [Report]

I am done with FCHAM, so I have started a new project: a client for FChannel. My idea is to allow you to subscribe to instance's boards by specifying (in a configuration file maybe) which outboxes to download, after that the client will download the outboxes and build an HTML page of for you. My idea is that the HTML will be static, local, and without javascript. It may download attached files locally idk. I don't intend to let you post replies from the client (I don't even know how I would do that), but it can link to the post so you can reply from its instance. It doesn't seen too hard to build these pages, I think I will take a look at the server's repo and just translate code from it. You can check it out here http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fchan-client/log.html, but to say it is currently barebones would be overestimating it. Anyway, I like to put puns on the names of my projects, but I am lacking inspiration for this one (fchan-client is too inane for my taste), any suggestions?

73 replies and 8 images, Click here to view all.
>>
Anonymous 07/03/22(Sun)18:51:54 No. fprog-FSAUDEL7 [Report]

>>fprog-ZO2J34WU yeah ill work on adding those. ill probably add the captcha endpoint when i change the captcha because the current one is trivial to break if someone wanted so providing an endpoint that can easily be broken time and a time again wouldnt be good but the other stuff makes sense.

>>
Anonymous 07/03/22(Sun)21:24:50 No. fprog-X8EJ21BS [Report] >>fprog-14I2I7K5

>>fprog-3LRHFODW while on my travels to see if what i was thinking was true, i found another issue! i found a way to discover the mod key and have an (albeit invalid) session token generated where i am in control of the password the report to this post will contain the mod key for proof while i haven't vetted the source yet, i'm sure that this is largely a non-issue for anywhere that checks auth, hopefully everywhere but if the whole point was to keep the mod key private, the location of where the issue is went with it

>>
Anonymous 07/03/22(Sun)21:55:28 No. fprog-14I2I7K5 [Report]

>>fprog-X8EJ21BS thanks for reporting that should be fixed.

>>
File f156d65bda77c318129ed7f42e(...).jpg (385.31 KB)
Anonymous 07/11/22(Mon)01:01:22 No. fprog-A7KRE2L2 [Report]

some times it is very hard to keep it together while programming for example, take a look at https://poopchan.org/pen/following do you notice anything? look at fchan.xyz/pen's entry >"id": " https://fchan.xyz/pen", why? WHY IS THERE A FUCKING SPACE BEFORE THE FUCKING ID WHY WHY WHY WHY WHY WHY WHY WH YWH YWHW YWH YW HWY HWY HWY WHY WHWY HW YWH YWH WYW HWY HWY HWY HYWH WYH WYW HWY WH YWHW YW HWYHWYWHYWHWYHWYWHWYHWYWHYWHWYHWYWHYWHWYWHYWHWYHWYWHWYHWYHWYWHWYHWYWHYWHWYWH no prob i will just remove the ^ from my match string and it will work ...OR FUCKING WILL IT? https://fchan.xyz/b/following >"id": "https://penchan.xyz" WHY THE FUCK IS IT FOLLOWING PENCHAN ITSELF INSTEAD OF ITS /B/?????? WHY CANT DATA JUST BE CONSISTNET AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ok ok i can just make it default to the instance's board in such cases ...but is that even how it works? when it says simply "https://penchan.xyz" does it mean the same board as the actor (in this case 'b') or the entirety of penchan?

>>
Anonymous 07/14/22(Thu)17:53:29 No. fprog-B0331F3D [Report]

Releasing FBI2, now it is called CIA. The server is up: http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/cia/file/README.html FChannel can't show my past post with the changelog (though you can read it on the textboard - thank you, based feditext), but basically now you can post from the client, hide posts, see a map of the federation, and there is a page showing statistics about instances, posts, boards, etc.


File: IMG_20180813_172420_464.jpg (13.20 KB)
professional programming language Anonymous 09/17/21(Fri)12:51:32 No. fprog-4YP1X037 [Report]

hey guys i am currently looking for a job. what language should i learn/expand in? what is the most wanted atm?

19 replies, Click here to view all.
>>
Anonymous 05/18/22(Wed)01:39:41 No. fprog-VOEM9ROT [Report] >>fprog-SU3ZB90L

>>fprog-7QLLRF5V shut the fuck up faggot, dx12 only works on windows and metal is nothing. vulkan and opengl are pretty much what you need

>>
Anonymous 07/06/22(Wed)00:57:48 No. fprog-SU3ZB90L [Report]

>>fprog-VOEM9ROT CUDA is worth learning too despite locking you to Nvidia products, a lot of the DSP and ML software running in datacenters still use it commonly. not a fan of propitiatory APIs, but it is still a thing

>>
Anonymous 07/07/22(Thu)04:59:52 No. fprog-EAIJSQNA [Report]

>>fprog-L53KSM6V Congrats OP. I hope you like your job and coworkers. What industry? I just got a coding job in the WebDev mines with Microsoft Java.

>>
Anonymous 07/09/22(Sat)13:20:15 No. fprog-00PXXFM2 [Report] >>fprog-7PHKB3VB

>>fprog-4YP1X037 (OP) Common Lisp Scheme Haskell Perl Racket

>>
Anonymous 07/12/22(Tue)00:45:55 No. fprog-7PHKB3VB [Report]

>>fprog-00PXXFM2 I have never encountered any of those IRL (jobs) in the last decade, but will admit different fields are different. I have only ever seen IRL: Java Python Go C C++ SQL Javascript A lot of those are rightly considered horrible, but I feel like those are still the most universal, so you would want to know them for employment.


File: map.png (720.24 KB)
FederatedChannel Hacky AutoMapper v1.0 Anonymous 07/28/21(Wed)03:39:12 No. fprog-OFF4C8HU [Report]

FCHAM is a couple of scripts for generating a graph with graphviz of the FChannel network. It started as an innocent attempt to visualize the federation status, but has evolved into a somewhat decent program. You can see the original thread here: https://fchan.xyz/b/HDAMDSZB (though if you browse /b/ you have probably seem it already. Many times. Over and over. People started complaining, so I will spam /prog/ now) FCHAM is made of two scripts: * fetch-data, shell script responsible for downloading all the following.json from all boards from the known instances * make-graph, lua script that parses the json and generates a .dot file used by graphviz' dot filter, it is then used to render the graph There are recipes in Makefile for all the files needed to create the map, so a simple 'make' should execute everything perfectly. You will need graphviz installed on your system to be able to render the graph. lua and curl you may already have. tor (the daemon, not the browser) is an optional dependency if you want to fetch data from tor instances. You can download an archive of FCHAM at http://p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fcham.pax.xz, read more about it at http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fcham/file/README.html, and clone the git repository from http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fcham.git. Pic related is the current map as generated by FCHAM ignoring 0x00000000.xyz (which is hidden by default), showing tor instances, hiding unknown instances, and merging /a/+/amh/ /b/+/vip/ and /lit/+/phi/ (the default merges). I think the color scheme is kinda bad, but there are too many instances now and I am bad with colors.

12 replies and 1 images, Click here to view all.
>>
Anonymous 06/30/22(Thu)11:52:26 No. fprog-1JL202YS [Report] >>fprog-Z5ALH4XF

>>fprog-OFF4C8HU (OP) ``` $ torsocks git clone http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fcham.git Cloning into 'fcham'... 1656590060 PERROR torsocks[6457]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202) fatal: unable to access 'http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fcham.git/': Couldn't connect to server ``` Anyone have a copy?

>>
Anonymous 06/30/22(Thu)22:12:47 No. fprog-Z5ALH4XF [Report]

>>fprog-OFF4C8HU >Later today Haha that was a good one. Nevermind that, let's try Saturday. >>fprog-1JL202YS >git clone Not gonna work, I haven't installed git on the new server. >Couldn't connect to server Yea, down. I will post here when it is up.

>>
Anonymous 07/02/22(Sat)19:23:42 No. fprog-1ZBZ29IJ [Report] >>fprog-YNI9H84D

It is up. http://xdni7g5asjyvbjqo4tp4qar5j7kcjjuifnrwbxxubb37bgrxdyicnzyd.onion/fcham.pax.xz

>>
File Screenshot from 2022-07-11(...).png (24.07 KB)
Anonymous 07/11/22(Mon)03:16:40 No. fprog-YNI9H84D [Report]

>>fprog-1ZBZ29IJ No it's not

>>
Anonymous 07/11/22(Mon)21:31:24 No. fprog-C88026F5 [Report]

>>fprog-YNI9H84D then wait patiently


File: c5423167dbf1d0b7304390ee70(...).gif (154.64 KB)
PGP login Anonymous 02/27/22(Sun)01:18:24 No. fprog-UEV7X7XK [Report]

Has anyone already devised a method to create an account and login using only a PGP key? The way I envision the account creation process is that the new user simply uploads his public key, but I am not sure how the login would to work. Maybe send some data to the user and ask him to sign it with his private key? It sounds kinda autistic to me, so I wonder if a better way already exists?

6 replies, Click here to view all.
>>
Anonymous 03/01/22(Tue)17:12:13 No. fprog-X35RFOWV [Report]

>>fprog-UEV7X7XK (OP) TLS client certificates are a thing and are also supported by browsers

>>
Anonymous 04/04/22(Mon)20:02:26 No. fprog-U9BJTA08 [Report] >>fprog-IWU0P8RD

>>fprog-X35RFOWV what if doing it with http, for example over tor?

>>
Anonymous 04/09/22(Sat)16:36:59 No. fprog-IWU0P8RD [Report]

>>fprog-U9BJTA08 TLS over TOR works no?

>>
Anonymous 07/08/22(Fri)00:25:31 No. fprog-4PW8KK95 [Report]

This is basically what SQRL is. https://www.grc.com/sqrl/sqrl.htm Tl;dr you hash a master key with the domain name to derive a per site key, which you use to log in. Adding something to the domain name before hashing allows you to have multiple identities for the same site.

>>
Anonymous 07/08/22(Fri)19:37:44 No. fprog-GFS47SBW [Report]

>Maybe send some data to the user and ask him to sign it with his private key? sounds like challenge response authentication where is challenge is sending the same data back signed


File: (0.00 KB)
:) Anonymous 06/03/22(Fri)17:11:53 No. fprog-5B24B02D [Report]

<3

>>
Anonymous 06/06/22(Mon)05:48:26 No. 3RQE6N8V [Report]

>>fprog-5B24B02D (OP) >:(


File: designedwithnotepad.jpg (3.16 KB)
Interfacing with Fchan Anonymous 04/19/21(Mon)09:32:07 No. fprog-F6926VVH [Report]

I'm making my own chan, because there weren't enough chans already. So how can I make it interface with fchan? How does it work in a nutshell? I send POST requests to fchan, fchan sends POST requests to me? We keep seperate databases? Verification?

13 replies and 1 images, Click here to view all.
>>
Anonymous 04/22/21(Thu)18:48:02 No. fprog-DOJ72ZI8 [Report] >>fprog-B80MCOQQ

>>fprog-ARWGGSPK do anonymous imageboards fit in with microblog type systems that usually have a login attached to each post? how would a post from or to peertube look without a user login? would it be a post dedicated to that video?

>>
File new.png (13.36 KB)
Anonymous 04/24/21(Sat)09:36:44 No. fprog-B80MCOQQ [Report] >>fprog-VJ1IU688

>>fprog-DOJ72ZI8 AFAI have been told the boards are the actors, aka "users". PreferredUsername is probably set to "anonymous" or something. So you would "follow" the "user" fchan.xyz/prog/ and then see "anonymous" post on your feed.

>>
Anonymous 04/24/21(Sat)09:45:57 No. fprog-VJ1IU688 [Report] >>fprog-8C2S6A3I

>>fprog-B80MCOQQ That's how fchan works, but how would fchan federate with pleroma, mastodon, peertube etc where the original quote was referencing the mastodon url posted about auth standards.

>>
Anonymous 04/24/21(Sat)10:08:56 No. fprog-8C2S6A3I [Report]

>>fprog-VJ1IU688 as of now, not. fchan needs to abide by their rules and setup if it wants to federate. The http request signature and a simple shared key for all boards seem pretty easy to add though. There's probably an opensll library available for go.

>>
Anonymous 04/25/21(Sun)00:14:31 No. fprog-9VIPQZ85 [Report]

Being closer to what other federated services do sounds like a decent idea. I'm also having trouble imagining what crossposting between something like pleroma and fchan would be like but maybe someone will come up with an inventive interface that would make it work?


File: rust.png (10.49 KB)
Anonymous 05/08/21(Sat)01:04:42 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

11 replies and 1 images, Click here to view all.
>>
Anonymous 05/26/21(Wed)09:28:06 No. fprog-TER5W7XA [Report] >>fprog-89FUXSIE

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

>>
Anonymous 05/26/21(Wed)14:47:46 No. fprog-89FUXSIE [Report] >>fprog-0I9UUZ2O

>>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

>>
Anonymous 04/30/22(Sat)07:13:58 No. fprog-CMKXCA8H [Report]

test

>>
Anonymous 05/05/22(Thu)13:12:34 No. fprog-ED7P2AOR [Report]

>>fprog-CMKXCA8H test deez nuts in your mouth

>>
Anonymous 05/10/22(Tue)15:07:54 No. fprog-0I9UUZ2O [Report]

>>fprog-89FUXSIE once in a blue moon a tranny writes good code and does it in C, there's maybe 1 9front dev like that. most can't be fucked with using sane tools because they want to feel special or got molested by C programmers or something


File: parentheses.png (113.17 KB)
. Anonymous 05/21/21(Fri)21:07:05 No. fprog-R3T1OZUX [Report]

lisp general

8 replies, Click here to view all.
>>
Anonymous 06/26/21(Sat)20:05:38 No. fprog-NVN65AO0 [Report] >>fprog-F15L7S06

>>fprog-X0R2B2WJ is an empty list considered false?

>>
Anonymous 06/27/21(Sun)09:46:57 No. fprog-F15L7S06 [Report]

>>fprog-NVN65AO0 no, (null? '()) evaluates to #f

>>
Anonymous 07/02/21(Fri)09:02:11 No. fprog-3ZBKOHK4 [Report] >>fprog-UV66UZPP

>>fprog-R3T1OZUX (OP) do we have any lispers around here? anyone using it in production?

>>
Anonymous 07/10/21(Sat)23:11:08 No. fprog-JLYXCLDH [Report]

>>fprog-R3T1OZUX (OP) if that's what you see then why isnt it like that, silly?

>>
Anonymous 04/26/22(Tue)18:42:50 No. fprog-UV66UZPP [Report]

>>fprog-033QE5AU Interesting. >>fprog-3ZBKOHK4 Yes.


File: sks1.jpg (145.44 KB)
Anonymous 01/16/21(Sat)04:05:00 No. fprog-183939AB [Report]

emacs

24 replies and 3 images, Click here to view all.
>>
Anonymous 06/27/21(Sun)20:49:03 No. fprog-XQNNLOBK [Report] >>fprog-XQ7UIBVD

>>fprog-JWPLOESO being able to hit 2 keys to execute a command is faster than typing out the whole command and middle clicking I wasn't talking about keyboard navigation like this vim. You know like in tiling window managers you can set keybinds to open programs? I want something similar to that with acme. Thinking of just forking plan9ports acme and making it myself.

>>
Anonymous 06/28/21(Mon)00:54:50 No. fprog-XQ7UIBVD [Report]

>>fprog-XQNNLOBK i see what you mean. you could create a dump file with the commands you want preloaded and just load acme form there every time through an alias or something, so you don't have to type "Put" every time. making a fork seems based though. there could be a way to script the filename into a Put command every time you open a file though, so you could also look at that

>>
Anonymous 06/30/21(Wed)02:14:32 No. fprog-1IYDD6FT [Report]

what a pretty desktop environment! I also use emacs.

>>
Anonymous 04/25/22(Mon)07:48:16 No. fprog-50NY9ETS [Report]

Native compilation is nice. If you're still on Emacs 27 or older, try bumping up to Emacs 28.1 which was just released. Make sure it's compiled with native-compilation enabled.

>>
Anonymous 06/01/22(Wed)06:22:38 No. fprog-KFSLVB67 [Report]

>>fprog-JWPLOESO This is your brain on Plan 9


File: 14.jpg (373.36 KB)
Pls answer Meeeee 08/18/21(Wed)21:05:24 No. HBB7L95M [Report]

Hey, so I installed this, what is a good way to keep fchan running when the ssh terminal closes tho? Im used to using pm2 for node but that dont work here.

7 replies and 2 images, Click here to view all.
>>
File 1624243636639.jpg (27.44 KB)
Anonymous 08/31/21(Tue)03:46:47 No. fprog-WA6R5DYI [Report] >>fprog-U8D2DI5J >>fprog-7DRAKDLJ

>>HBB7L95M (OP) If you don't like systemd, I recommend using runit for your long-running services. https://jtimberman.housepub.org/blog/2012/12/29/process-supervision-solved-problem>>HBB7L95M (OP)

>>
Anonymous 08/31/21(Tue)14:39:22 No. fprog-U8D2DI5J [Report] >>fprog-YPMD2WP2

>>fprog-WA6R5DYI runit is based

>>
Anonymous 08/31/21(Tue)16:23:42 No. fprog-YPMD2WP2 [Report]

>>fprog-U8D2DI5J runit is the best

>>
File out.png (5.63 KB)
Anonymous 11/29/21(Mon)00:34:32 No. fprog-M1ZSWTWW [Report]

For me it's busybox. It uses the /etc/inittab file, from where I call a single /etc/rc script (that's where I put all the commands that run at boot). This version of Ubuntu also had Upstart, but I didn't want to bother with that. Busybox does everything I need.

>>
Anonymous 12/10/21(Fri)23:35:22 No. fprog-7DRAKDLJ [Report]

>>fprog-WA6R5DYI > https://jtimberman.housepub.org/blog/2012/12/29/process-supervision-solved-problem This is the article that sold me on runit years ago. I still use runit to this day. I love it.



[Home] [Rules] [FAQ]

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

v0.1.1

Theme: