/b/ - Random

No real organization....









Mark attachment as sensitive





File: map-lines.png (120.37 KB)
Anonymous 2021-07-05T18:25:26Z No. HDAMDSZB [Report]

here is what the current federation map looks like i drew this by downloading the following json of every board of every known instance (poopchan seems to be down). each instance has a color (above it) and each colored line mean the respective instance is pulling. i will look into a less retarded way to draw a graph. if you know one, leave a suggestion

>>
Anonymous 2021-07-05T18:27:02Z No. fb-D6FP8Y8L [Report] >>FC0FKCSB

>>HDAMDSZB (OP) wtf is kyogi?

>>
Anonymous 2021-07-05T18:31:42Z No. FC0FKCSB [Report] >>fb-SW9EYFM5

>>fb-D6FP8Y8L tor instance

>>
Anonymous 2021-07-05T18:33:04Z No. fb-SW9EYFM5 [Report]

>>FC0FKCSB ah okay i'll never follow that one, want to keep the child porn to a bare min.

>>
Anonymous 2021-07-05T18:36:57Z No. HB8HKK4B [Report]

>>HDAMDSZB (OP) very good visualisation thank you OP I just find it a bit messed up that boards can get federated to boards with different names sure, it makes sense from API standpoint, so that you can federate /g/ and /tech/, but don't federate irrelevant boards FFS

>>
Anonymous 2021-07-05T18:47:25Z No. fb-221MG23H [Report] >>fb-3AQTSLD1

>>HDAMDSZB (OP) im up alive

>>
Anonymous 2021-07-05T19:04:24Z No. fb-3AQTSLD1 [Report] >>671RS1GB

>>fb-221MG23H the poopchan does not exist

>>
File sexier this time.png (67.39 KB)
sageman_ !!pEAstp03m0 2021-07-05T19:35:33Z No. 2NH38ZVO [Report] >>HFWN5RTW >>fb-8CO9U7D6

>>HDAMDSZB (OP) A much more interesting graph.

>>
sageman_ !!pEAstp03m0 2021-07-05T19:36:56Z No. HFWN5RTW [Report] >>fb-8CO9U7D6

>>2NH38ZVO I forgot to add: the origin points of the arrows are the followers of the points that they point to.

>>
Anonymous 2021-07-05T19:47:51Z No. 671RS1GB [Report] >>fb-20KTIRHL

>>fb-3AQTSLD1 poopchan is alive and well

>>
Anonymous 2021-07-05T20:05:37Z No. fb-20KTIRHL [Report] >>fb-3JH2U0M5

>>671RS1GB it's existence is not proven it's an urban legend

>>
Anonymous 2021-07-05T21:03:23Z No. fb-3JH2U0M5 [Report] >>fb-FCEH66S1

>>fb-20KTIRHL poopchan is real

>>
Anonymous 2021-07-05T21:35:18Z No. fb-8CO9U7D6 [Report] >>XWR9X4MD

>>2NH38ZVO >>HFWN5RTW very nice sageman, how did you make this?

>>
Anonymous 2021-07-05T21:53:59Z No. fb-FCEH66S1 [Report]

>>fb-3JH2U0M5 ... or is it? vsauce micheal here.

>>
sageman_ !!pEAstp03m0 2021-07-05T22:04:36Z No. XWR9X4MD [Report]

>>fb-T23P4GOC → >>fb-8CO9U7D6 That is a python program, but it was some kind of web framework that the graphing library was based on.

>>
Anonymous 2021-07-05T22:48:33Z No. 2RSSDNFY [Report] >>P0HSYXUY >>01ICZUBE

i just learned about graphviz, looks like a good framework for drawing graphs. i am still learning it, if it is as good as it initially seems, i will have a better network graph later

>>
File fedichannelmap.png (205.87 KB)
Anonymous 2021-07-06T00:03:56Z No. P0HSYXUY [Report] >>J95MM1A5 >>9W0OBQXR

>>2RSSDNFY here it is, i hope this helps the newschad with the map on the weekly chans

>>
Anonymous 2021-07-06T00:05:43Z No. J95MM1A5 [Report] >>ZGRJNDOB

>>P0HSYXUY same as before, arrows point the flow of information (end of arrow is pulling from origin) color coded to tell who is doing the pulling. kyogi's url is too long so i replaced most of it with a *

>>
File fedichannelmap.png (328.51 KB)
Anonymous 2021-07-06T00:34:34Z No. ZGRJNDOB [Report] >>9W0OBQXR >>ZWPOEJQ9

>>J95MM1A5 added poopchan. i had to define the vertexes and edges manually, but since that fitchan was created the map has changed (penchan, for example, created /fit/ and /out/ to federate with them) so i will now work on a way to automatically fetch and render the network map. should not be too hard. >famous last words

>>
Anonymous 2021-07-06T04:54:41Z No. 9W0OBQXR [Report] >>ZWPOEJQ9

>>P0HSYXUY >>ZGRJNDOB You could remove 0x00... and it will have better visualization. 0x00... is a mess because it was for testing purpose by the dev, I think.

>>
File fedichannelmap-no0xpng (304.72 KB)
Anonymous 2021-07-06T05:25:14Z No. ZWPOEJQ9 [Report] >>Z3C2LABZ

>>ZGRJNDOB almost done, just figuring out how to do clusters. i might just do it adhoc ...later, because now i will sleep >>9W0OBQXR i edited the old file and you are right, looks much better (pic related)

>>
File fedichannel-automap.png (324.28 KB)
Anonymous 2021-07-06T15:29:06Z No. Z3C2LABZ [Report] >>54T020QA

>>ZWPOEJQ9 here it is, automatically generated the phantom arrows are there because whoever retard runs 2hu-ch.org is trying to pull from non-existent board on 0xchan (like 2hu-ch.org/prog trying to pull from 0x00000000.xyz/prog) i will look into completely excluding 0xchan (or any arbitrary instance) from the graph

>>
File fedichannel-automap.png (324.41 KB)
Anonymous 2021-07-06T16:10:56Z No. 54T020QA [Report] >>fb-V7SHJZRY

>>Z3C2LABZ perfection

>>
Anonymous 2021-07-14T12:01:43Z No. 9Z15ABYZ [Report] >>01ICZUBE

someone make a program that can generate this kind of graphs take https://gource.io/ as inspiration or even make a website that shows the state of Fchan federation

>>
Anonymous 2021-07-14T19:00:26Z No. fb-V7SHJZRY [Report] >>01ICZUBE

>>54T020QA >automatically generated how are you generating it? are you using some sort of program?

>>
Anonymous 2021-07-15T01:38:39Z No. 01ICZUBE [Report]

>>fb-V7SHJZRY as i said on >>2RSSDNFY, i use graphiviz (specifically the dot filter) to draw the graphs everything else is done on shell with some python scripts to help i wrote scripts for: 1. downloading all known instances' frontpages [shell] 2. parsing the hmtl to get the board list of each instance [python] 3. downloading the following json of each board [shell] 4. parsing the json into graph edges in the dot syntax [python] 5. building the rest of the dot file (setting colors and text for each node, writing the header and creating the clusters) [shell] 6. calling all other scripts in the correct order [shell] i had never used python before, had seen too many examples of shitware written with it, but it is a decent scripting language, i guess soydevs just misuse it. i only chose it because it was the first result when i looked for an html parser and i didn't want to download new packages just for it (python already comes with the html and json parsers by default, it seems) >>9Z15ABYZ looks very pretty. i will clean up my code and post it somewhere so someone (possibly me) can convert it to gource

>>
Anonymous 2021-07-15T01:44:30Z No. QGYUQUEQ [Report]

a few other remarks - there are loki instances federating now, i will later look into how to download data from them to properly include them on the map, any tips are welcome - given the direction this thread has taken, maybe it should be moved to /prog/ - is there any anonware license? something that requires it to be distributed anonymously (pseudonymously does not qualify)

>>
File fedichannel-automap.png (648.89 KB)
Anonymous 2021-07-15T04:44:48Z No. G2DRTBCZ [Report]

>>HDAMDSZB (OP) here is the current map btw i need help finding a better color distribution

>>
Anonymous 2021-07-17T15:20:10Z No. J9D00PG0 [Report] >>YZ62LAWK >>JXGLC70O

http://p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/projects/fcham.html here it is i will keep the hidden service up for today, download while you can

>>
Anonymous 2021-07-17T16:02:43Z No. YZ62LAWK [Report] >>MZ80P1SF

>>J9D00PG0 Link is actually just http://p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/projects/fcham silly!!!

>>
Anonymous 2021-07-17T18:54:22Z No. MZ80P1SF [Report]

>>YZ62LAWK sorry, forgot to update. i had moved the files related to fcham to a new folder to better organize them, then renamed fcham.html to index.html thanks for the correction

>>
Anonymous 2021-07-17T23:07:28Z No. K8ILZOJ1 [Report] >>36YN8I3Q

i made a new version + changed colors to make them more distinct + nodes from unfetched instances are labeled "unknown" + generates smaller image of the graph with imagemagick i wish someone would give me feedback on this project

>>
File 2021-07-18-093953_553x213_(...).png (71.95 KB)
Anonymous 2021-07-18T13:40:38Z No. 36YN8I3Q [Report] >>JXGLC70O

>>K8ILZOJ1 Ok heres your feedback: Running as user returns: >curl: (7) Failed to connect to localhost port 9050: Connection refused >curl failed to download 'https://fchan.xyz/' Running as root returns: >picrel

>>
Anonymous 2021-07-18T15:32:20Z No. JXGLC70O [Report] >>2OERK7OY >>PW24YLJU

>>36YN8I3Q read the DEPENDENCIES files, localhost port 9050 is where tor is supposed to listen, if you don't have tor running it will fail you obviously won't be able to download from kyogi, so you may need to delete its entry from output/known-instances (both the url and boardlist) if it causes the rest of the script to fail (i don't expect it to be very robust) >>J9D00PG0 a day has passed so i will take it down to do some maintenance i can put it back online if anyone cares

>>
Anonymous 2021-07-18T15:40:29Z No. 2OERK7OY [Report] >>ATL2UBYX >>HNMBSJLC

>>JXGLC70O >read the DEPENDENCIES files, localhost port 9050 is where tor is supposed to listen, if you don't have tor running it will fail you should just add an exception for tor if it's not running and run without it, to compensate for that >a day has passed so i will take it down to do some maintenance >i can put it back online if anyone cares why not leave it up? nothing wrong with an anonware site staying up for the lulz

>>
Anonymous 2021-07-18T15:42:07Z No. PW24YLJU [Report] >>ATL2UBYX

>>JXGLC70O i also dont have anything in the /data folder for some reason so nothing is being parsed at all. Not sure if i fucked something up. did extracting with tar instead of pax fuck something up?

>>
Anonymous 2021-07-18T15:47:32Z No. ATL2UBYX [Report] >>2NZ4QC3M

>>2OERK7OY >>PW24YLJU nvm im just retarded, i just deleted /data and refetched it and it's working now. nice script anon :)

>>
Anonymous 2021-07-18T15:57:39Z No. HNMBSJLC [Report] >>41Q47RV0 >>8FDKTUWJ

>>2OERK7OY >you should just add an exception for tor if it's not running and run without it, to compensate for that i should get to that, the way i made the scripts is not robust at all and they will probably fail if anything is different from my machine i will add an option that needs to be passed in order for the script to try to reach onion services >why not leave it up? nothing wrong with an anonware site staying up for the lulz alright i will put it back up just for you when i am done here ;3 >i also dont have anything in the /data folder for some reason so nothing is being parsed at all. Not sure if i fucked something up. it is probably due to the failure you mentioned before. delete the '--proxy socks5h://localhost:9050' from the curl alias (@data-fetcher:5) and try again. data/ contains the downloaded files, and if the very first curl call failed it is no surprise that nothing was downloaded >did extracting with tar instead of pax fuck something up? i highly doubt it, if it unpacked wrong you should have gotten mangled text or something obviously corrupted, lossless compression usually fails catastrophically when it does i think i will start to use git to track changes, how is that cute git html interface called? gitweb was it? i will try to set that up.

>>
Anonymous 2021-07-18T15:58:17Z No. 2NZ4QC3M [Report]

>>ATL2UBYX thanks fren :)

>>
Anonymous 2021-07-18T16:00:48Z No. 41Q47RV0 [Report] >>8G4W9RSM

>>HNMBSJLC you can just add a try: and except: for each link fetch, which would probably make the script incredibly robust. Would help against instances that are down + alternative network instances ie tor, lokinet, etc

>>
Anonymous 2021-07-18T16:05:36Z No. 8FDKTUWJ [Report] >>8G4W9RSM

>>HNMBSJLC if you make this git based, make a post on /prog/ about this, i'll definitely contribute a bit

>>
Anonymous 2021-07-18T16:33:03Z No. 8G4W9RSM [Report] >>U2T4ASNP

>>41Q47RV0 >try: and except: that is a shell script but i will try to botch together something similar >>8FDKTUWJ i will keep it in mind

>>
Anonymous 2021-07-18T16:51:57Z No. U2T4ASNP [Report]

>>8G4W9RSM oh whoops, i figured the python script handled the link fetching too

>>
Anonymous 2021-07-18T19:10:24Z No. 7WHVFRU0 [Report] >>5MIOJ0BJ

>>HDAMDSZB (OP) up again http://p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/projects/fcham/ now will only use tor if the -t option is passed to data-fetcher and if a download fails it will just skip it instead of aborting (except for fchan.xyz, because it is needed to get the instance list) and it has proper option handling with getopt i am not sure if i should bother with an http git frontend or if just having a basic git server will suffice. i will try the basic one first

>>
Anonymous 2021-07-18T19:43:15Z No. 5MIOJ0BJ [Report] >>CO4IO8MQ

>>7WHVFRU0 >i am not sure if i should bother with an http git frontend or if just having a basic git server will suffice as long as you know how git works a basic server will be fine, unless a git frontend is something you want for a personal project

>>
Anonymous 2021-07-18T20:12:59Z No. CO4IO8MQ [Report]

>>5MIOJ0BJ i think i will end up using gitweb, otherwise i would need to setup ssh for people to be able to clone the repository and i DO NOT want to open that can of worms apparently with gitweb i can avoid doing just that

>>
Anonymous 2021-07-18T20:49:59Z No. QDYRNSNH [Report]

i will take it down again while i try to setup gitweb (nginx would probably crash from a messed up config file anyway)

>>
Anonymous 2021-07-18T22:13:43Z No. EI1PK9Y4 [Report] >>JKMTCOYW

>>HDAMDSZB (OP) ...and it is back! now with a git subdomain http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/ i struggled a bit because this was my first time using a cgi application. and gitweb is not what i had in mind, lemme tell you. i was expecting something like git.suckless.org, but maybe they use a different frontend? the css is pretty bad too, it is huge and instead of defining easily accessible color variables, it instead has colors "hardcoded", i am not even gonna touch that for now. it also had huge javascript, i enabled it on my browser to see what it did, which is nothing apparently so i deleted it i don't know how i would allow for things like pull requests. and apparently you can't git clone it. but you can download a snapshot of the master branch (.tar.gz) i will see if i don't find a different frontend

>>
Anonymous 2021-07-18T23:06:05Z No. JKMTCOYW [Report] >>8STIS2PZ

>>EI1PK9Y4 found one https://git.zx2c4.com/cgit/ server might go down while i try it out

>>
Anonymous 2021-07-19T00:18:14Z No. 8STIS2PZ [Report]

>>JKMTCOYW i can't for the life of me get this to work properly the root load fine, but trying to access /fcham.git/ just loads the root. it is like cgit is not getting / is ignoring the uri

>>
File feelsgood.png (113.62 KB)
Anonymous 2021-07-19T19:42:04Z No. 3ZXLZLIH [Report] >>CDMHWO8F

oh fuck yea i found it, the one i was looking for! https://git.codemadness.org/stagit/file/README.html and it is perfect + generates static html, no cgi bullshit + easy to write css for + no javascript fuckery + looks neat and the most important + JUST FUCKING WORKS!!!!!! i am keeping this one next task is setting up git clone over http

>>
Anonymous 2021-07-19T21:48:32Z No. CDMHWO8F [Report] >>K262NZTS

>>3ZXLZLIH it is done, now you can clone with git -c http.proxy=socks5h://localhost:9050 clone http://git.p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/fcham.git (needs the tor daemon running) stagit let's me specify a clone url and advertises it on the pages with the git clone command, but i had to edit the source to make it say that the -c option is needed as well. thankfully it is readable. a couple of things i still want to do: update the html everytime i push (it is static, after all) and figure a way to accept anonymous code contributions. maybe syntax highlighting would be nice to have on the files, but not if it is too much trouble to set up.

>>
Anonymous 2021-07-19T22:49:57Z No. K262NZTS [Report] >>TIIADVSW

>>CDMHWO8F very cool anon, the git frontend is very sleek i like it props to you for putting in so much effort for this!

>>
Anonymous 2021-07-19T23:30:04Z No. TIIADVSW [Report]

>>K262NZTS thanks fren, it has been a great learning experience

>>
File mfw.jpg (62.35 KB)
Anonymous 2021-07-20T06:50:13Z No. TT0HYEHP [Report] >>Y6FHHXVO

i am gonna have to gt this one >try to ssh into server >no-route-to-host.txt >go to computer hosting server >frozen >hold power to poweroff >turn back on >tsunami_siren.wav >no idea what the beeping means >open it up >pull out ram stick >turn on >other beep pattern >put ram back on, not sure what is happening >try to turn it on again >it works i wonder if my computer is dying this is why you shouldn't host from home, kids

>>
Anonymous 2021-07-20T15:36:51Z No. Y6FHHXVO [Report] >>7OTXK3RM

>>TT0HYEHP just host from a rasp pi or something if you have one

>>
File fsf.png (46.76 KB)
Anonymous 2021-07-20T16:56:32Z No. 7OTXK3RM [Report] >>MLRKHJ54

>>Y6FHHXVO i would prefer, but i don't

>>
Anonymous 2021-07-20T17:17:26Z No. MLRKHJ54 [Report] >>8D9KVDAI

>>7OTXK3RM ah, i've got a raspberry pi zero that im planning to host something on, they're only like $5 and they work pretty well for a basic web server

>>
Anonymous 2021-07-21T00:06:50Z No. 8D9KVDAI [Report]

>>MLRKHJ54 cool, i may look into buying one

>>
Anonymous 2021-07-21T02:34:42Z No. IFLXUQWW [Report] >>Y9IIWTWP >>LR0S5BQK

by the way, how is the html and css of the site? this is my first time writing either of those. is it good?

>>
Anonymous 2021-07-21T15:10:16Z No. Y9IIWTWP [Report] >>V4DWDHVU

>>IFLXUQWW not bad, the color scheme could be improved a bit (https://kill-9.xyz) this site has a good scheme with the css listed somewhere on it. other than that it looks good also you should make a post on /prog/ about this so people can find it, rather than digging through this thread

>>
Anonymous 2021-07-21T17:36:13Z No. LR0S5BQK [Report]

>>IFLXUQWW It's fine I guess. Though you should use separate CSS files instead of hardcoding it in the html files. Also the mobile CSS is lacking, see Fedorachan for a good implementation of that.

>>
Anonymous 2021-07-21T17:38:31Z No. V4DWDHVU [Report] >>Y48OO2SI

>>Y9IIWTWP >https://kill-9.xyz funny you mention them, my css is actually based on their darkgreen theme >also you should make a post on /prog/ i will, but i want to figure out a way to receive contributions first while researching it i read that projects used to be maintained with mailing lists where people would share their diffs and discuss changes, instead of using git-specific platforms like github or gitlab the pro git book explains it >https://git-scm.com/book/en/v2/Appendix-C%3A-Git-Commands-Email >https://git-scm.com/book/en/v2/Distributed-Git-Maintaining-a-Project >https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project#_public_project the last link caught my eye, it has a way to do pull requests that i could use, basically: >clone my repo >create a new local branch >work on your changes >push to a repo on your own website (inb4 internet pleb) >create a pull request >git request-pull origin/master yourrepo >yourrepo is a remote repo, where i will later pull your changes from (hence "pull" request) >origin/master is a pointer to the commit where the diffs will be calculated >pass -p to output the patch, instead of just a diff summary >send me the output of the command (i am still figuring this part out, maybe just post it on the thread) >i pull from your repo >merge with my repo's master >contribution has been incorporated, your name (which i recommend you configure to be "Anonymous") will show up as the author of your commits if i understood it right, that's the gist of it you will just need a place to host your clone (a repo hosting service might suffice, but why not set up your own stuff like me?) and i will need a way to receive a notice that someone requested a pull, other than this, it seems pretty straight forward to me

>>
Anonymous 2021-07-21T17:41:54Z No. Y48OO2SI [Report] >>I35YW73G

>>V4DWDHVU if you can't host a repo, you can also >clone my repo >create a new local branch >work on your changes >git diff origin/master >send me the output it will generate a diff of all the changes you made that i can then patch onto my repo, but there is no commit history with it, i think

>>
Anonymous 2021-07-21T17:43:28Z No. I35YW73G [Report] >>ITH4SAN5

>>Y48OO2SI WHAT THE HELL HAPPENED HERE!? anyway, ignore the mangled text, the post starts at >if you can't host a repo, you can also

>>
Anonymous 2021-07-21T17:50:07Z No. ITH4SAN5 [Report] >>AI91KTPW

>>I35YW73G hmm ok, this makes sense as to why github and gitlab became popular kek, i'll definitely make a webserver to do this soon, thanks for the guide anon kek

>>
Anonymous 2021-07-21T17:59:09Z No. AI91KTPW [Report] >>G2CF4FHT >>fb-PW39B169 >>R7WWGBRG

>>ITH4SAN5 no prob, i hope we can collaborate soon, let me know if you need help setting up git i have been thinking of also setting up an irc server to have faster discussions about the project, seems easy enough. i heard i should have ssl for irc even over tor, but i didn't see any good reason for it, seems redundant to me idk

>>
Anonymous 2021-07-21T18:13:29Z No. G2CF4FHT [Report]

>>AI91KTPW IRC sounds dope, ill look into setting up my git server tomorrow and lyk how it goes

>>
Anonymous 2021-07-21T22:50:58Z No. fb-PW39B169 [Report]

>>AI91KTPW we already have an irc network irc://2hu-ch.org irc://benisxdyrrq5phrxggeght6pvhet5gxgc3dmsy42qvivhrrkpmp33dqd.onion irc://irc.probably.loki

>>
Anonymous 2021-07-23T00:19:44Z No. R7WWGBRG [Report] >>GW1KBZLT

>>AI91KTPW i have the ircd configured, it will go live this weekend when i have time to use it

>>
Anonymous 2021-07-23T15:23:18Z No. GW1KBZLT [Report] >>QBT8NSA4

>>R7WWGBRG also configured an ftp-based dropbox

>>
Anonymous 2021-07-24T02:53:05Z No. QBT8NSA4 [Report] >>NYIBKU55

>>GW1KBZLT fuck nvm that ftp was fine on LAN, but it is all fucky over tor i am not sure what the problem is, but it seems the protocol itself is a bitch to work with tor because the ftpd will try to open a random socket for the data transfers, but to host an onion service i need to manually map external ports to internal ports (basically whitelist them) i even tried to configure the range of ports the ftpd will use and it still didn't work. from what i saw on the error messages, i am trying to connect to myself (localhost) and that is why it is failing, so it means the server sends the ip address the client is supposed to connect to (instead of doing the sane thing and just using the same connection) which in this case is 127.0.0.1 because that is the ip the daemon on the server binds to idk if i got this wrong or if ftp is really this retarded i wonder if there is another protocol that was made specifically for only receiving files, i don't need all the functionalities of ftp for my purposes

>>
Anonymous 2021-07-24T02:57:21Z No. NYIBKU55 [Report]

>>QBT8NSA4 connecting and sending ftp commands to the server works alright, apparently, is it the data connection (ftp has the brilliant idea of using 2 connections, one for commands, one for data) that is broken at this point i am considering rolling my own autistic solution using netcat, but i will look into alternatives, maybe study more about ftp to see how it works and what exactly is going wrong

>>
Anonymous 2021-07-24T15:04:18Z No. WYD3XBG4 [Report] >>fb-3PLBXZJ5

it is up

>>
Anonymous 2021-07-26T02:01:17Z No. fb-3PLBXZJ5 [Report]

>>WYD3XBG4 based, thanks

>>
File basedlua.png (71.32 KB)
Anonymous 2021-07-26T23:22:33Z No. 3IGM31FT [Report] >>OJQU1VVV >>SS0ETJV0

i have just finished translating follow-parser from python to lua. i found a json parser for lua that is written in c that is ridiculously faster than python's. i had a little trouble translating because lua doesn't use posix/perl regex, i thought it was bullshit but then i read their justification (picrel) >imagine being so based that you disregard posix because it is bloated fcham used to hang for a few seconds on "==> generating graph", but now it breezes through it anyway, i might end up translating other scripts to lua, because: 1. i want to remove the python dependency, so translating board-parser is necessary 2. graph-maker would probably work better and be easier to read if it was written in a proper programming language (not to shit on shell, i was surprise i could do so much with it) and translating it to lua would allow me to merge it with follow-parser which will reduce code complexity because i won't have to maintain two color lists, for example

>>
Anonymous 2021-07-26T23:24:13Z No. OJQU1VVV [Report]

>>3IGM31FT on another note: i have changed the framework i use to generate my site's pages. i used to write the html manually, but i have now adapted (read: severely simplified) suckless' build-page.c tool to allow me to write my stuff in markdown. the appearance of the pages hasn't changed, but now is my way comfier to write them. i say this because after seeing how fairly easy it is to automatically generate static html, and having taken a look at the fchan's board outbox json, i might be willing to try to create a simple fchan client that let's you subscribe to different boards (download their outboxes) and renders a static html page that you can open on your browser. you won't be able to post replies (at least i have no idea how to implement that), but it can link directly to an instance's page so you can reply from there if you want. i don't intend to make it awfully complicated, so no sql fuckery, just something like fcham: download the json and parse it. it may well download attachments locally and avoid redownloading them i want to come up with a very clever name for it though

>>
Anonymous 2021-07-27T05:49:45Z No. SS0ETJV0 [Report] >>HD0OP9A9

>>3IGM31FT just found out board-parser can be replaced with a simple pipeline, idk what i was thinking when i brought the html parser to the table

>>
Anonymous 2021-07-27T14:28:48Z No. HD0OP9A9 [Report] >>KHBTV14X >>R4QJ7PW5

>>SS0ETJV0 move this to prog so the blogposting doesn't take up /b/

>>
Anonymous 2021-07-27T16:34:34Z No. KHBTV14X [Report]

>>HD0OP9A9 >/b/ >not used for /b/logposting

>>
Anonymous 2021-07-28T03:42:40Z No. R4QJ7PW5 [Report]

>>HD0OP9A9 i am satisfied with the state of fcham so i finally made the thread on /prog/ (>>fprog-OFF4C8HU →), here are the highlights of the changes i have made since my last post * follow-parser and graph-maker have been merged, they are now a lua script * board-parser is now just a simple shell pipeline inside data-fetcher, the html parsing was overkill * python is no longer a dependency * lua is, and while it has some dependencies (json parser and getopt), they are included in the repo for convenience * data-fetcher no longer overwrites data by default, if you want it to, pass the -o flag * data-fetcher has a option to redownload a single instance, use the -r flag specifying the instance's domain name * instead of a fcham master script that calls all other scripts, the scripts are now organized by make recipes, a simple 'make' does everything * defining clusters has been greaty simplified, it basically just works now and is much easier to configure which types of board are clustered together (like /b/ and /vip/) * speaking of configure, it now has a configuration file, you can define an ignorelist (instances to hide in the graph), a mergelist, whether to show unknown instances, and the colors of the nodes using a configuration file. an example file is provided, if you want to use it copy it to ~/.config/fcham/config.lua, or pass the -f flag to graph-maker to define a custom location graph-maker and data-fetcher have been renamed to a verb-name (make-graph and fetch-data)

>>
File lmk.png (661.33 KB)
Anonymous 2021-07-28T05:51:00Z No. UMXJ4QPM [Report] >>0FOWNEBI

>federation map Good job faggot now post one without the lines crossing to prove ur not autistic

>>
Anonymous 2021-07-28T05:54:42Z No. 0FOWNEBI [Report] >>P3NRKFQ3 >>1AO4DPDC

>>UMXJ4QPM what the fuck is test?

>>
Anonymous 2021-07-28T05:55:08Z No. P3NRKFQ3 [Report] >>1AO4DPDC

>>0FOWNEBI >is test *is this test

>>
Anonymous 2021-07-28T13:22:33Z No. 1AO4DPDC [Report] >>IA8L4YAF

>>0FOWNEBI >>P3NRKFQ3 it's an autism test, if you can't pass it you're clinically autistic

>>
Anonymous 2021-07-28T13:46:45Z No. IA8L4YAF [Report]

>>1AO4DPDC if you can't pass the test, then it's either ligma or autism

>>
File autismtest.png (451.17 KB)
Anonymous 2021-07-28T14:53:34Z No. fb-M7TGSXV6 [Report] >>9CK6PCOV

.

>>
File ace.png (501.77 KB)
Anonymous 2021-07-28T15:55:33Z No. 9CK6PCOV [Report] >>6C4VEXY7 >>fb-SF2JM1ZS

>>fb-M7TGSXV6 lol dumbass the water is gonna put the fire out if you pipe them together

>>
Anonymous 2021-07-28T17:03:42Z No. 6C4VEXY7 [Report] >>BWMOFY6E

>>9CK6PCOV it has to be one continuous line moron

>>
Anonymous 2021-07-28T20:33:48Z No. BWMOFY6E [Report]

>>6C4VEXY7 says who? and the line is continuous, it just happens to fork

>>
Anonymous 2021-07-28T23:19:35Z No. fb-SF2JM1ZS [Report] >>197MXK5D

>>9CK6PCOV literally nothing you water and fire pipes are still touching and you can't cross cables so you already failed on account of the electrity and water. you're litearlly electrecuting a baby with your design

>>
Anonymous 2021-07-29T01:49:25Z No. 197MXK5D [Report] >>fb-7K4MVM7U

>>fb-SF2JM1ZS what the hell are you talking about? neither are touching each other

>>
Anonymous 2021-07-29T20:37:08Z No. fb-7K4MVM7U [Report]

>>197MXK5D they can't cross the same hole


92 / 15
[Post a Reply]

[Home][Rules][FAQ]

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