/prog/ - Programming

Anything related to programming and creating software.

Mark attachment as sensitive

File: dbc1e5cbb04c967776ce73318f(...).gif (118.30 KB)
Attempt at creating a FChannel local client Anonymous 2021-07-28T04:30:40Z No. 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?

13 replies and 1 images, Click here to view all.
Anonymous 2021-07-29T01:15:45Z No. 5ET9CLBU [Report] >>fprog-MYDBF63T

>>fprog-0C8DU5CF idk anon, rss seems like a weird way to read threads from an image board

Anonymous 2021-07-29T10:23:51Z No. OLMDY4BR [Report] >>G3YZ87H1

fbi is kinda usable right now. most of the core features are in, but still lacks some QoL to be easier to use. now instead of generating a single huge page with all thread and all replies, it breaks it into pages of 10 thread each (still shows all replies, i will give each thread its own page and only show the last few replies on the board's page). it can download attachments locally, but this is disable because it takes too long to download all (/b/ alone has over 200M of files), you can set the variable allow_dl_attach to true if you want to download it all anyway (so all images will show up nicely on the posts) you can try it by creating a 'files' directory and a file named 'subs' on it with one subscription per line (do not write the protocol or trailing slash, write 'fchan.xyz/prog' instead of 'https://fchan.xyz/prog/'). multiple board subscription (such as subbing to multiple /prog/s) is not yet supported, if it somehow works (haven't tested) it think the second board's newest post will only appear after the first's oldest. i will sort this out in the future. this wasn't so hard, but i am not sure how i will merge multiple boards' outboxes so their posts show up in the correct order. devchad, how you you do it?

Anonymous 2021-07-31T08:27:35Z No. G3YZ87H1 [Report] >>SZZZO0S9

>>OLMDY4BR its has optargs now, you can pass -u to redownload the outboxes before rebuilding the pages, -f to set the subscriptions file (it looks for it at ~/.config/fbi/subscriptions by default, with ./subscriptions as a fallback (that is, in the current dir)) and -a to download attachments locally. regarding subscribing to multiple equally-named boards: NOW it will show the second board's newest post after the first's oldest (previously it was overwriting them), i looked around FChannel's code to look for how the posts are organized, but couldn't find it (i only kinda skimmed through the files though), but i think i have an idea on how to do it

Anonymous 2021-07-31T15:22:11Z No. fprog-MYDBF63T [Report] >>SZZZO0S9

>>5ET9CLBU why? you're literally just fetching feeds with text. it makes sense to me

Anonymous 2021-08-01T04:09:15Z No. SZZZO0S9 [Report]

>>G3YZ87H1 i did it, now if you subscribe multiple instances on the same board their threads will be mixed and chronologically organized. the only thing left to make it a decent browser is to create an individual page for each thread show only its last few posts on the board's page after that will be aesthetic improvements, like the coveted alternative stylesheets (possibly with a picker), which i am still waiting for that op to deliver (inb4 he won't) >>fprog-MYDBF63T are there rss readers with image support? otherwise browsing imageboards without images would be weird

File: fchan.png (37.23 KB)
Anonymous 2021-01-14T03:21:29Z No. 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.

111 replies and 13 images, Click here to view all.
Anonymous 2021-07-27T14:16:59Z No. 5DCYDVE7 [Report] >>0UOYK4SL

Fchannel instances that are no longer active should automatically disappear from the front page and from your follow list.

Anonymous 2021-07-27T16:55:29Z No. 0UOYK4SL [Report] >>HEL2SCR2

>>5DCYDVE7 what makes something inactive? does hosting the network make it active?

Anonymous 2021-07-27T18:11:24Z No. HEL2SCR2 [Report] >>1FRNZV4P

>>0UOYK4SL An instance no longer being online for 24/48 hours?

Anonymous 2021-07-31T19:01:40Z No. WVGKJ7ZU [Report] >>1FRNZV4P

is there thread archivimng logic in Fchan? how would that evem work? what would be the criteria for makimg thread archived across all instances?

Anonymous 2021-07-31T19:28:45Z No. 1FRNZV4P [Report]

>>HEL2SCR2 added, after 24 hrs of not being able to send a request to an instance the instance removes the instance, but not the posts. >>WVGKJ7ZU added just now actually. works by archiving the oldest 165th+ post since other instances it might not be archived it can still be post to, its just archived locally to the instance where it exceeded 165th post in update time. if you view the archive page there can be new posts from other instances, it is just archived on the current instance. go to the instance it is active on if you want to interact with that thread

File: de152af5156bbc7ca1e1466eeb(...).jpg (111.22 KB)
shit that triggers my autism Anonymous 2021-07-26T05:29:30Z No. XPQ580EN [Report]


16 replies and 2 images, Click here to view all.
Anonymous 2021-07-28T03:29:11Z No. NIDVK0EY [Report]

>>CLF8C9KG No :)

File 1601132713554.jpg (65.29 KB)
Anonymous 2021-07-29T09:08:29Z No. fprog-8D07T2NU [Report] >>D233KMJM

>>IX5MFBGD OP is based >>XPQ580EN (OP) OP is a faggot for even believing something like this could have decent code behind it. Activity pub is a copium provider for soydevs that are addicted to abstractions and have an attention span can cover max 2 pages of docs.

Anonymous 2021-07-30T18:34:27Z No. D233KMJM [Report] >>fprog-Y0WKE26Q

>>fprog-8D07T2NU so what's the alternative, OStatus (activitypub but in XML) or some retarded shit like Urbit that noone seriously uses

Anonymous 2021-07-30T19:12:44Z No. fprog-Y0WKE26Q [Report] >>fprog-ESJKTPT6

>>D233KMJM ATOM / Jsonfeed

Anonymous 2021-07-31T15:23:40Z No. fprog-ESJKTPT6 [Report]

>>fprog-Y0WKE26Q literally nothing, does not even do the same thing. kill yourself actual worthless faggot

File: 41ed406d621d61a7237026b0bc(...).gif (31.85 KB)
Anonymous 2021-05-25T10:06:49Z No. 5LZBCB9V [Report]

how do i use stdlib.h to infect users of my software with an std?

Anonymous 2021-05-25T17:01:13Z No. E686NGZ6 [Report]

>>5LZBCB9V (OP) create a program that doesnt free memory and just has while(true) using malloc

Anonymous 2021-07-29T15:39:18Z No. fprog-MOTU7OGB [Report]

>>E686NGZ6 double fork(2) before that too

Anonymous 2021-07-29T17:55:15Z No. HF134EJH [Report]

>>5LZBCB9V (OP) penetrate(boolean viralLoad)

File: lmk.png (656.99 KB)
.NET Development Anonymous 2021-07-28T05:41:03Z No. ITPCFRVQ [Report]

I am looking to become a .NET developer to get some kind of comfy position at a well paying job. >Where do I start? I'm not sure >What kind of .NET should I use? I was thinking core, but I don't know if its stable >Does it feel good to program in .NET? I would think so when I'm making the big bucks >Why are you posting this? Let me know bros I'm all ears. Looking for a helping hand. If anyone would be willing to spread themselves my way I'd gladly embrace it. dotNET does seem like the way, but if you think its not memory safe let me know PLZ!!

8 replies and 4 images, Click here to view all.
File Mascotas xD-08.gif (275.26 KB)
Anonymous 2021-07-28T07:40:22Z No. 2283SYLD [Report] >>fprog-7XO9FKTJ

>>SYCYN1AC How is that and different than including Rust in the kernel? Rust has no standards same with every driver that needs to be implemented in the Linux kernel >No open standards Allowing sole organizations to sign off on commits? Patent trolls like IBM, Oracle etc... Don't want something in the kernel? Write a patent for it >Allowing for backdoors in the entire industry is equally as bad

Anonymous 2021-07-28T15:16:19Z No. NQ78HUVF [Report]

>>ITPCFRVQ (OP) >Where do I start? Depends on what you want to do. C# is an all around good programming language. ASP.NET is (while mediocre) the best for web dev under the .NET framework. There are definitely other decent languages but afaik those are the two most used and probably most useful There are plenty of great C# resources online (including a full video tutorial series published by microsoft) >Does it feel good to program in .NET? It can be depending on what you're doing, C# was the first language I learned and back when i was like 13-14 making stupid Windows apps it was very comfy. >Should I do this? Maybe, maybe not, if you don't care about Micro$hit's philosophy, track record, etc then absolutely do it, especially since there are some good paying dev jobs with it.

File sataniaasciilaugh.gif (1.94 MB)
Anonymous 2021-07-28T16:18:32Z No. fb-V62L6V26 [Report]

>current year >wanting to be a windows code monkey

Anonymous 2021-07-28T23:11:35Z No. fprog-7XO9FKTJ [Report]

>>2283SYLD rust is just a tranny version of c++, and its inclusion in anything is purely tranny egomania

Anonymous 2021-07-29T07:33:04Z No. fprog-2M0AQBJU [Report]

Learn Q# instead

File: freeshare.webm (260.21 KB)
Decentralised archive Anonymous 2021-07-11T01:00:15Z No. 6UJBBUTN [Report]

Alright /prog/champs, here is a project for this year: >>fb-QMFCOQ9L → We need to come up with a plan to achieve this utopia.

30 replies and 3 images, Click here to view all.
Anonymous 2021-07-21T15:18:07Z No. TVCQB52Q [Report]

>>UO242JNJ >This plan is like the evil genius's ultimate plan to destroy the internet once for all, but that's also the reason why I don't think this would work: it looks too good on paper to work properly. It's merely a way of providing a more sustainable method of archival, as opposed to relying on a central (or handful of different) servers to archive everything online. Right now theres like the wayback machine, archive.md, etc but those are super unreliable if it were to go to censorship requests. A federated archival site would be literally perfect

File WoWSouthpark.jpg (152.78 KB)
Anonymous 2021-07-21T20:18:38Z No. R9HDC7IE [Report]

>>fprog-IK9AZ756 >t.

Anonymous 2021-07-22T16:49:59Z No. fprog-BGV0UNG3 [Report]

>>fprog-DNSKJQKY dial8 faggot you make absolultely 0 sense with every post you make try actually saying something rather than babbling like a nigger next time

Anonymous 2021-07-25T23:34:35Z No. fprog-2T0VQMQX [Report]

>>9HWCQGIR A home-hosted server is more secure for politically sensitive content than a GPS running on hardware and in a location you don't usually trust

Anonymous 2021-07-29T06:16:18Z No. C6PIFKWB [Report]

>>6UJBBUTN (OP) s/jews//

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]


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: 6382fb4cd617f58a7fc8ee2649(...).gif (207.26 KB)
Anonymous 2021-07-04T23:43:51Z No. fprog-QON7QXQT [Report]


6 replies and 3 images, Click here to view all.
File EsxJCg2XEAILDne.jpeg (33.03 KB)
Anonymous 2021-07-05T01:05:11Z No. fprog-8DLLCXZ2 [Report] >>fprog-OJQBSCMS

>>fprog-6NX47UX4 attachment test

File LossGrum.png (38.01 KB)
Anonymous 2021-07-05T01:32:37Z No. fprog-OJQBSCMS [Report]

>>fprog-8DLLCXZ2 Coming in just fine

File mpv-shot0039.jpg (174.09 KB)
Anonymous 2021-07-05T19:11:50Z No. fprog-OF0X2KB2 [Report]


Anonymous 2021-07-18T22:12:30Z No. fprog-2J0VISZT [Report]

>>fprog-QON7QXQT (OP) test

Anonymous 2021-07-23T11:11:41Z No. fprog-HLL0WV7K [Report]


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

lisp general

8 replies, Click here to view all.
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-06T01:22:23Z No. fb-IZDJ3RT4 [Report]


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]


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?

10 replies and 1 images, Click here to view all.
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] >>fb-FPHJA66W

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

Anonymous 2021-07-02T16:26:50Z No. fb-FPHJA66W [Report]

>>fprog-YNCCV5BC If you hash a timestamp it's not sortable by time anymore.

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/


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