/prog/ - Programming


Mark sensitive

R: 1
threading IS the heart of any textboard. Threading makes or breaks the functionality and usefulness of any board. Your css is very nice, it does no good when the threading is not easy to follow tho. No one wants to spend time figuring out what reply went to what...if we wanted a puzzle we would go buy a soduku book or something. This app will never take off unless the threading was modified. Say what you want, make excuses... i know im right tho, ask other random objective people, I am sure you will get the same feedback.
R: 0
You guys!!!!!!!!!! https://github.com/anjumjfax/lupi can anyone fix this?? Its interesting as fuk cuz its only one small file!!!!!!!!!!!! so when you post, the image does not work at all. But like the first post will make a 0 file, the next post will make a 1 file and so on. looks like csv files interesting, when you go to /1 for example, it becomes a text board, no image file is asked for. Very interesting program, here is the whole code...https://github.com/anjumjfax/lupi fuck, that is just a few lines of code, ONE fucking small file!!! That is really, really cool, i don't suppose someone can fix it? Even if you made it a textboard, since the images do not work anyway. It is SO CLOSE to being an awesome, one file golang imageboard.
R: 7
okay, ive posted this on SO many golng forums, and NO ONE ever helped!! Can someone be a golang hero and help?? ALL i want is the simple golang code to take html form input and write the results to a file. Kind of like the world's simplest textboard!!! Check this out...So there are TONS of example php scripts of how to do the above...it is all done in one php script. Oddly enough, in GO, there is not one single working script that does it!!! Google it--- You will see some half made scripts, but absolutely ZERO working full scripts that do a simple thing like take form inupt and write it to a file. If anyone can make that simple script, I will use it as the starting point for writing a textboard and learning go... and I will owe you big time!!! So can someone pls post or link to a working example???
R: 0
Rocky Linux
I don't suppose anyone has experience with Rocky Linux?? Currently i use a digital ocean vps, a bunch of sites on one server. I use ubuntu 22. Digital ocean offers other servers, rocky linux is cool. I used to run rocky linux with the old school php control panel, plesk. Plesk is old as fuk, but it got a bit more modern. Docker manager, for example, right from plesk, allows people to run a docker image right from plesk. Like ghost.org the popular node js blog can be run on multiple sites with plesk. I always kind of wondered how to use golang with plesk. Like. I wonder if i can make a regular plesk control panel, run a bunch of static/php sites on it, then just hand code golang sites. One would think I could just make the nginx config files and point the port to the right one, and then just install go and run go sites manually along side the plesk php sites. Not sure, I never tried. Regular docker seems the ultimate way, no plesk needed. I could install docker, then run multiple sites with docker from the single vps. The ONLY slight prob is that i have no clue how to set that up,i get lost whenever someone makes a tutorial that tries to explain how to make multiple sites with docker. Besides, I was waiting for a more graphical/easier docker manager to be invented, so anyone could maintain a bunch of websites from docker. I would love to use rocky, it does not have to be rocky tho. SO far, in ubuntu i know how to use nginx to make multiple sites on ubuntu, even golang sites. I am sure the way I do it is not very secure, it would prolly be best to use a control planel or manager of some sort. Was wondering if anyone knows of a control panel or manager to easily run a bunch of golang sites?? Most will just be static, since go works do good to serve static sites, that would be easy. I would also run a bunch of ib or text boards on some sites, too. Not a major deal, like I say I know how to do it on ubuntu and nginx, just wondering if anyone knows of a control panel or manage made to run a bunch of go sites, because I am sure it would have less security holes than the way i run sites just hand coding the nginx.
R: 0
doing a different lang
I only learned the basics of how to make ib/txt board scripts with php. I realized years ago that vichan was doomed, cuz the php 8+ broke and ruined vichan. I do have tons of simple ib scripts tho in php, very simple, just a couple lines of code. Lynxchan is nice, but the maker is too dumb to worry about security. He refuses to use deno instead of regular node js. Lynxchan relies on dependencies which rely on dependencies which rely on dependencies. That is STUPID. So lynxchan is one of the most functional boards no doubt, but there WILL be a time in the future when it is too hard to maintain. And node js has tons of security risks in general because of the way dependencies are used. Tons of articles say node js and npm in general is considered a security risk by many devs. Go is really nice. I like how it can compile to windows or linux. I will miss messing around in php but im gonna totally switch to GO tho, because now that you gave me a working script to get started in making an ib, GO can do everything php can. Php could possibly morph into something better in time, but that will not happen tomorrow, to be sure.
R: 0
Hi, here are some general thoughts I have about stuff. I figure that you would think its cool. Thoughts This is an incomplete list of thoughts I hold. Remember, they may not necessarily agree with your thoughts and views, and I’ve tried to separate them into appropriate topics that you can skim through. Politics Just stop caring. Turn off the phone, change to a different channel. My stance on this comes from another opinion of mine, that I shouldn’t care too much about things I don’t have a hand in anyway. Sure, something may suck for me but what can I do about it if it’s across the world? Local stuff is cool though, because you can actually do something about that. At the end of the day, I just want to grill for God’s sake. Technology Discord: Awful but I still use it, I actively avoid it when possible past 2022. Or sometimes just out of laziness. I still need to use it for some things but really, I hate the damn thing and a non-small portion of the people behind the service and some of those who use it. Too bad Matrix is not quite there (but still cool), and IRC too old-school for some people. I will continue to be available on all three for now. I wish they didn’t ban third party clients because their official client is awful. But everything’s legal until you get caught ;-) too bad i did, hopefully not again. Their interface is horrendous. It is designed like a toy for little kids with all of these huge buttons that you just can’t miss, along with upselling Nitro at every opprotunity. They’ve gone and broken my CSS every time I came back. Luckily, I do most of everything from IRC now on a different account via Bitlbee. DRM: Imagine buying something but not owning it. You don’t have full rights. You own a license to use the content, but you don’t own it. This is awful. Google: A company who threw out their “Don’t be evil” motto so they could be evil. I could probably fill this entire point with links about Google doing evil things and still have plenty of links to go around. IRC: super cool. I’ve pretty much gone to living on there, I also need to work up the courage to join some channels. I’m putting it off until I’m done my IRC bouncer project. NFTs: stupid and a waste of money. My buddy says “money laundering”. Smartphones: They’re okay if you use them like a dumbphone but with a couple of extra capabilities. They aren’t gaming consoles, banking machines, social media zombie machines, no, just do what I do and just use them to call/text people, listen to music, and a couple other things. Of course, you can keep these apps installed if you need to use them but really I try to keep use of said apps to a minimum with some exceptions. GB -> Gigabyte. Gb -> Gigabit. gb -> lazy but probably gigabyte. Plan 9: cool, too bad the Raspberry Pi port doesn’t have audio. Linux sucks but its the only alternative with good hardware support. BSD has bad wireless support, Plan 9 has bad everything support but has the most elegant userspace. runit > s6 > OpenRC > everything else. But NixOS makes me like systemd. musl > glibc, however glibc > musl in practicality. Alpine is cool but I don’t like OpenRC. So I use runit as PID 1 on my desktop Alpine machine. OpenRC is not installed. abuild also kinda sucks. Void is my favorite distribution but falls short in a few places, however all of these places have to do with my personal opinions. KISS is cool but the maintainer tends to disappear for some time. The POSIX sh based package manager is really cool but I don’t think that the entire package manager should be built in POSIX sh. NixOS is super cool, but also uses several things I hate. I have a love/hate relationship with containers. They’re super useful yet Docker is such a pain in the ass sometimes. I’ve actually gone back and fo
R: 1
nigger nigger nigger nigger nigger
R: 12/ A: 1
What are you programming?
What are you programming or wanting to program? I often have a hard time on where to start. Do you have this problem?
R: 270/ A: 33
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.
R: 73/ A: 8
Attempt at creating a FChannel local client
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?
R: 19
professional programming language
hey guys i am currently looking for a job. what language should i learn/expand in? what is the most wanted atm?
R: 12/ A: 1
FederatedChannel Hacky AutoMapper v1.0
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.
R: 6
PGP login
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?
R: 1
R: 13/ A: 1
Interfacing with Fchan
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?
R: 11/ A: 1
i wanted to give rust a chance, i really did but come the fuck on, not even the GNU Cbloatware Collection is this bloated
R: 8
lisp general
R: 24/ A: 3
R: 7/ A: 2
Pls answer
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.
R: 28/ A: 2
shit that triggers my autism
R: 34/ A: 3
Decentralised archive
Alright /prog/champs, here is a project for this year: >>https://fchan.xyz/b/GT4KLZ21#QMFCOQ9L We need to come up with a plan to achieve this utopia.
R: 15
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.
R: 3
Thinking about bootstraping a SAAS product by myself
I really like Guile Scheme and would like to use it to build a SAAS webshit product by it. I would do this in my free time and I don't want to use some enterprise grade bullshit in my spare time as well. If this endeavour doesn't fail, do you think using obscure tech for basically CRUD backend is a big obstacle for future?
R: 26/ A: 2
Request for Comment: Headless FChannel Server
http://p6nhckzlonbw72mhxqcyfa474ssavlnud6tvpmhjzf37r2zyz2ommtqd.onion/files/rfc-hlfchand.ps I was gonna post an ascii version of the document, but apparently one and a half page is too large for a post here, so have a .ps instead. In short: I want to create a headless fchannel server, that is, a server compatible with the fchannel protocol, capable of talking to other instances, but that does not offer a web interface. To interact with it either use another instance or use a client (like FBI). But I want to hear what other people (in particular devchad) think before I start working on it.
R: 11
thoughts on raspberry pi
R: 9/ A: 1
HOW DO I keep fchan running when the terminal is closed? im used to pm2 in node js not sure how to do it for fchan tho. Pls answer
R: 24/ A: 3
> ^n[a-z]+g+.*r$ is regex used anywhere other than in obsolete shell scripts?
R: 18/ A: 3
Hello from 0chan
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?
R: 1
WPA handshake script
Does /prog/ have a script to automatically capture WPA handshakes? Bash or python is preferred as I am capable of writing those languages. I've looked into autobash already but it uses incredibly outdates dependencies which can of course be resolved but it sure as hell is annoying, but it won't work because it also requires hashcat which is not available in my desired architecture (armhf) I don't want to write my own if someone else has already done it before, so if you have something like this of know about a similar project then please do share. If I decide to write my own then I will make it FOSS and share it here.
R: 8/ A: 3
.NET Development
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!!
R: 3
how do i use stdlib.h to infect users of my software with an std?
R: 2
tell me pls
fellas, what is an erlang?
R: 17/ A: 4
>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
R: 8/ A: 1
What's a good way to differentiate anonymous posts?
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?
R: 13
>/prog/ >Not a textboard
R: 23/ A: 1
Setting up my own fchan
# 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
R: 2
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
R: 5
https://github.com/Billy02357/shvirus I made this while bored What add now?
R: 2
I like the new post-hover... very minimal and sleek. Thanks devchan!
R: 3/ A: 1
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
R: 11
How do you type out your pointers
int* ip or int *p
R: 7
Cross Imageboard Login System Idea
I've had this idea for some time, and have shared it on and off. I wanted to share it here though. Basically, I've had the idea of a very minimal/lightweight, free, libre, and open source, self-hostable program that provides users with a login for imageboards. How it would work is, the user would setup a username and password, then on any clients (4chanX, KurobaEx, etc.) the user would input that username and password. Then whenever they post something, it would sync to the server, then sync to their other devices. So basically no matter which device they are on, they can keep track of their watched threads, posts, bookmarks, (You)s (replies), etc. This would be a privacy friendly way for users to sync their activity between devices to keep track of everything, instead of relying on image-board logins (which most don't have anyways). The hardest part would probably be submitting a pull request to add support for the login/sync system into clients such as KurobaEx and 4chanX. At worst it's a separate extension, or someone forks them and adds it...
R: 8/ A: 1
R: 4
Fchan eats posts with wrong filetype
>be me >write life story >attach svg image >fatal mistake >post gets eaten by fchan
R: 7/ A: 1
Is there a Matrix channel we can follow along dev progress in? I'm quite interested in this project, I think it solves a very important problem.
R: 1
long Lain is long.
long Lain is long.
R: 6/ A: 4
Let''s all love Lain!
R: 1
How do I subscribe to another fchan from this fchan?
R: 1/ A: 1
R: 0
Enjoy the drink
R: 2
Hello workd
Inglewooood. I hope you like my IP

[Home] [Rules] [FAQ]

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