/prog/ - Programming

Anything related to programming and creating software.











Mark attachment as sensitive





File: map.png (720.24 KB)
FederatedChannel Hacky AutoMapper v1.0 Anonymous 2021-07-28T03:39:12Z No. 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.

>>
Anonymous 2021-07-28T03:53:46Z No. 78IHGKUT [Report] >>8GQF9ATS

Very cool, i said this a while ago but WHEN I GET AROUND TO IT i will host a clone of this to contribute

>>
Anonymous 2021-07-28T04:17:41Z No. 8GQF9ATS [Report]

>>78IHGKUT thanks fren, i will look forward to it

>>
Anonymous 2021-07-28T10:43:44Z No. fprog-FMWYY6D7 [Report]

>>OFF4C8HU (OP) kyogi DEFEDERATED

>>
Anonymous 2021-07-28T13:50:29Z No. DE0BR6CD [Report]

>>OFF4C8HU (OP) set up FCHAMaaS, get newfags to pay you in crypto for pretty graphs


File: parentheses.png (113.17 KB)
. Anonymous 2021-05-21T21:07:05Z No. R3T1OZUX [Report]

lisp general

7 replies, Click here to view all.
>>
Anonymous 2021-06-26T15:12:59Z No. X0R2B2WJ [Report] >>NVN65AO0

>>R3T1OZUX (OP) Scheme gang rise up! I'm using Guile atm, had anyone given any serious try to Racket language oriented programming?

>>
Anonymous 2021-06-26T20:05:38Z No. NVN65AO0 [Report] >>F15L7S06

>>X0R2B2WJ is an empty list considered false?

>>
Anonymous 2021-06-27T09:46:57Z No. F15L7S06 [Report]

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

>>
Anonymous 2021-07-02T09:02:11Z No. 3ZBKOHK4 [Report]

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

>>
Anonymous 2021-07-10T23:11:08Z No. JLYXCLDH [Report]

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


File: funny.png (107.31 KB)
Anonymous 2021-06-30T23:14:31Z No. fprog-BRDX94F4 [Report]

computer

10 replies and 1 images, Click here to view all.
>>
Anonymous 2021-07-09T05:49:09Z No. fprog-HLN4V84I [Report]

>>fprog-BRDX94F4 (OP) Computer is the only human connection i live I treat and speak to computer liek a real human I love computer

>>
Anonymous 2021-07-09T05:52:35Z No. MF6VJEHN [Report] >>fprog-0FPCL0NO >>fprog-30EKL63O

>>fprog-BRDX94F4 (OP) Is it possible to fuk and cum in computer?๐Ÿค”

>>
Anonymous 2021-07-09T10:19:03Z No. fprog-0FPCL0NO [Report]

>>MF6VJEHN try it and report back (if you survive)

>>
Anonymous 2021-07-09T16:01:55Z No. fprog-30EKL63O [Report]

>>MF6VJEHN soon, very soon.

>>
Anonymous 2021-07-09T18:10:41Z No. H6AAA5U3 [Report]

I love my computer, you're always in the mood I get so turned on when I turn on you I love my computer, you never ask for more You can be a princess or you can be my whore And it's never been quite so easy I've never been quite so happy


File: pepecookieinmilk.png (59.74 KB)
tell me pls Anonymous 2021-07-09T03:22:57Z No. EE5OSZBV [Report]

fellas, what is an erlang?

>>
Anonymous 2021-07-09T05:47:07Z No. fprog-UTA29AFZ [Report]

>>EE5OSZBV (OP) a faggot larper

>>
Anonymous 2021-07-09T16:01:31Z No. fprog-4L1QPE65 [Report]

>>EE5OSZBV (OP) it's something daddy puts up his butt to make him feel good


File: fuckup.png (23.00 KB)
Anonymous 2021-06-30T07:38:13Z No. BG2CQYHC [Report]

>pentards already fucking up this is what happens when you make being added to a global list be opt out instead of opt in tards gonna tard

17 replies and 4 images, Click here to view all.
>>
Anonymous 2021-07-04T14:32:34Z No. WQT2TWFR [Report]

>>6UYTH2PJ DO NOT DO THIS. CORS must be handled by server with appropriate headers https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

>>
File 1617034924584.png (32.79 KB)
Anonymous 2021-07-04T16:14:50Z No. A4SIIQGL [Report]

>>fprog-TKQN4GE8 Patch submitted, it's only a matter of hours before it gets merged https://github.com/FChannel0/FChannel-Server/pull/36

>>
Anonymous 2021-07-04T21:31:11Z No. fprog-K85VMHIK [Report]

>>fprog-8VCINN21 niceu picu

>>
Anonymous 2021-07-04T23:23:56Z No. fprog-ZW1793L9 [Report]

i have a primordial media proxy i need to finish making

>>
Anonymous 2021-07-05T00:55:51Z No. fprog-4P53PYJ7 [Report]

media proxy endpoint wired up http://2hu-ch.org/api/proxy?hash=bb469d75070cc69e3f0be0502c98e33ff5394e93da47a080950047fd9d6b131f


File: braille.png (3.52 KB)
What's a good way to differentiate anonymous posts? Anonymous 2021-05-01T21:15:53Z No. XQJ0RBG6 [Report]

Basically see the thread https://anonium.net/thread/1b69c1a5191e0d81e75dea1ae6f56131#6e54c7de1b8b4cc29edff9913e35f47d I've considered: - show plain hex - show base64 - turn it into concatenation of words, like BIP39 - show hex, but only the last x digits Which would you prefer and why? Or do you have another idea?

8 replies and 1 images, Click here to view all.
>>
File phrase.png (5.32 KB)
Anonymous 2021-07-01T18:16:25Z No. fprog-RP4UJWA6 [Report] >>fprog-8WKC3VGN

>>XQJ0RBG6 (OP) Why not just number sequentially, starting at 1? in Pleroma we found inspiration in flake[1], a Decentralized, K-Ordered Unique ID Generator as far as translating a hash to another format, well. I think word lists are fun; see this[2] chan-specific take on making hashes sometime. I don't think it was ever used by anyone (maybe BubbleBBS?). [1] https://archive.is/2015.07.08-082503/http://www.boundary.com/blog/2012/01/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang/ [2] http://worrydream.com/tripphrase/

>>
Anonymous 2021-07-01T18:42:26Z No. fprog-TB4ZUAXG [Report]

>>fb-VQOJCL9H โ†’ just make the last 3 characters always be digits and have the rest be hex, then you can still roll for dubs.

>>
Anonymous 2021-07-01T20:05:03Z No. fprog-0AHN7I9B [Report] >>fprog-8WKC3VGN

why not make it the hash of the post contents?

>>
Anonymous 2021-07-02T00:44:27Z No. fprog-8WKC3VGN [Report] >>fprog-YNCCV5BC

>>fprog-0AHN7I9B flakes mentioned in >>fprog-RP4UJWA6 beat a hash of post contents because they are sortable by time

>>
Anonymous 2021-07-02T15:36:55Z No. fprog-YNCCV5BC [Report]

>>fprog-8WKC3VGN make the timestamp part of the value you hash


File: Initiation.gif (2.21 MB)
Anonymous 2021-01-14T04:06:59Z No. 8642A89E [Report]

>/prog/ >Not a textboard

13 replies, Click here to view all.
>>
Anonymous 2021-04-02T12:08:37Z No. QTX5Y0MR [Report]

>>14100A45 A DILDO LINKD IT ON POL xpect shillbots...

>>
Anonymous 2021-04-05T01:28:18Z No. 9QEBU4EC [Report]

>>8642A89E (OP) 26ch.org/prog/

>>
moot!fa6d37b0 2021-04-12T23:29:03Z No. JV3N7Y42 [Report] >>fprog-7DKTM5ER

test

>>
Anonymous 2021-07-01T00:43:17Z No. fprog-7DKTM5ER [Report]

>>JV3N7Y42 it's okay to be upset about tripcodes being WRONG on fchan

>>
๐Ÿ shill ๐Ÿ 2021-07-01T18:03:25Z No. fprog-DAXVBOGF [Report]

>>2ACC5E2B there's also https://multichan.sageru.org/tags/prog


File: ba.gif (0.84 KB)
Setting up my own fchan Anonymous 2021-06-29T19:42:28Z No. XUBY8VJ0 [Report]

# Debian apt install redis apt install imagemagick apt install exiv2 nano config createuser --pwprompt fchan -d createdb --owner=fchan fchan go run . Might help someone

23 replies and 1 images, Click here to view all.
>>
sage 2021-07-01T02:46:29Z No. QDH0IMTQ [Report]

>>fb-CMC11OQI โ†’ ok its fixed

>>
Anonymous 2021-07-01T02:59:28Z No. I6EWA7J5 [Report]

i don't get it my psql server doesnt start :(

>>
File 2021-06-30-231630_697x102_(...).png (74.49 KB)
Anonymous 2021-07-01T03:16:43Z No. 1SCZTZJH [Report] >>FAM8BD16

>>fb-S91TU360 โ†’ using openrc, can't create a lock file is the main issue and i haven't found anything that fixes it right now. Not trying to host an instance I'm just trying to contribute and it makes it easier if I can test my changes kek

>>
Anonymous 2021-07-01T03:24:20Z No. FAM8BD16 [Report]

>>1SCZTZJH ok i just manually made the folder but now it's saying that it doesn't have permission even though i gave it permissions

>>
Anonymous 2021-07-01T03:45:06Z No. L7PP3XG5 [Report]

>>fb-C6J36WCD โ†’ yeah, so thats why im confused. Maybe ill just setup a vm with a systemd distro for testing, it might be easier that way


File: triangle.gif (99.81 KB)
List of known /prog/s Anonymous 2021-06-29T21:19:20Z No. fprog-ATMKNR4F [Report]

Text: - http://dis.tinychan.org/prog/ - https://4-ch.net/code/ - https://dis.4ct.org/prog/ - https://textboard.org/prog/ - https://dis.heyuri.net/code/ Image: - https://lainchan.org/%CE%BB/index.html Federated /prog/ : - https://fchan.xyz/prog - https://0chan.vip/tags/prog ----- https://tanasinn.vip/doku.php/prog

>>
Anonymous 2021-06-30T17:26:06Z No. GFV9BZ3A [Report] >>fprog-T79RZW8J

>>fprog-ATMKNR4F (OP) Thank you for the info prog-kun

>>
Anonymous 2021-06-30T18:12:46Z No. fprog-T79RZW8J [Report]

>>GFV9BZ3A imo, Tinychan (aliased as Free Software Foundation) is probably the most active one. 4ct is a sad imitation of w4ch /prog/ . Fuck MrVacBob, Moot, ALTERNATIVE, and all others who participated in the torture and execution of og /prog/


File: sks1.jpg (145.44 KB)
Anonymous 2021-01-16T04:05:00Z No. 183939AB [Report]

emacs

22 replies and 3 images, Click here to view all.
>>
Anonymous 2021-06-26T07:00:14Z No. ZMPAJVNV [Report] >>JWPLOESO

>>7ZRJUB0M I would use acme if I could set keybinds. Its tedious to drag your mouse up to the task bar to click on your commands other than that acme is really good

>>
Anonymous 2021-06-27T15:41:44Z No. JWPLOESO [Report] >>XQNNLOBK

>>ZMPAJVNV >acme >keybinds stop being gay man. you realize it actually takes longer to navigate with the keyboard than with the mouse since the brain takes longer to process movement that way than with the mouse, so you write less code in the same time.

>>
Anonymous 2021-06-27T20:49:03Z No. XQNNLOBK [Report] >>XQ7UIBVD

>>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 2021-06-28T00:54:50Z No. XQ7UIBVD [Report]

>>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 2021-06-30T02:14:32Z No. fprog-1IYDD6FT [Report]

what a pretty desktop environment! I also use emacs.


File: 2021-06-18-135255_284x304_(...).png (65.93 KB)
Anonymous 2021-06-18T17:53:41Z No. 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. FBKR7GPN [Report] >>I4GLPJLL

>>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. I4GLPJLL [Report]

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


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

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

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

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

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

>>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. 4QWEUW9T [Report] >>0247PJN6

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

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

>>4QWEUW9T this is nothing

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

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


File: 2021-06-18-100805_614x96_s(...).png (22.43 KB)
Anonymous 2021-06-18T14:08:49Z No. ZBFXNRUQ [Report]

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

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

>>ZBFXNRUQ (OP) no js too!

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

>>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: 1617158239766.jpg (1.45 MB)
Anonymous 2021-03-31T05:17:33Z No. 921DE73Y [Report]

How is it that in order to be very good programmer, you need to be very logical and mathematical, yet the field is full of trannies? Is this not a contradiction? I donโ€™t get it.

12 replies, Click here to view all.
>>
Anonymous 2021-05-31T02:02:50Z No. RMBM3GUL [Report]

i totally do want to suck her dick tho

>>
Anonymous 2021-06-12T04:16:26Z No. CN116FTO [Report]

>>D7TE2HCY And those are almost all of them autogynephilles, so they are also not the kind of trannies that would actually pass as a woman and unlike non-autogynephille trannies they "hatched" ( as those faggots like to say ) once in adulthood, so they lived most of their lives as males and developed male's interests.

>>
Anonymous 2021-06-12T16:20:43Z No. A6EVLG75 [Report]

>>921DE73Y (OP) They're not women. The tranny part is logical to them, but that is because their understanding of reality is incorrect, not because they are lacking in logic. They're sad and often very lonely people, not necessarily dumb.

>>
Anonymous 2021-06-12T16:42:01Z No. 1DO2Z0YU [Report]

>>921DE73Y (OP) You have obviously never met a tranny Trannies are extremely logical and mathematical. A vast majority of mtf trannies have some kind of high-functioning autism. Every single one of the trannies I know is in STEM, highly logical and knows at least something about mathematics. I'm also an mtf tranny and I'm working on a master's degree in mathematics. >>WQALICVI You will never be a woman

>>
Anonymous 2021-06-16T03:09:33Z No. 3F98DYG9 [Report]

>>921DE73Y (OP) deeply autistic men are good at coding, dunno what you're on about


File: rust.png (10.49 KB)
Anonymous 2021-05-08T01:04:42Z No. 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. 5GSJ1SZ7 [Report] >>2DG941A7 >>LYCZ04OX

>>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. 2DG941A7 [Report]

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

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

>>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. TER5W7XA [Report] >>89FUXSIE

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

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

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



[Home][Rules][FAQ]

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