>>fprog-SG6H9U6I then do >int * p, * q; it's still easier to see it as "int pointer" with this exception
int* ip or int *p11 replies, Click here to view all.
>>fprog-B0W2SD51 >2 spaces now that is just silly
>>fprog-1606BEVL (OP) When I started C, I looked at C code to choose my coding style. Here are some of my inspirations: https://aiju.de/misc/c-style https://man.openbsd.org/style https://suckless.org/coding_style/ https://man.cat-v.org/plan_9/6/style Some code I looked at was the plan9 source code and dwm source code. Hope that helps!
>>fprog-F251CGFK my style is based on some of those as well thank Stallman for all the libreware out there that helped me learn
>>fprog-F251CGFK I like GNU style. check glib and GTK, the code style is pretty neat
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...7 replies, Click here to view all.
>>fprog-1TOIV0D3 (OP) the whole point of imagebords imo is that everyone is anonymous and you don't need an account - the only reason to need an account is if you're a moderator or a passfag, which I don't think should be a shared status among all imageboards for obvious reasons.
>>fprog-1TOIV0D3 (OP) Anyway nice idea built on air but I can't see how to implement it. You want to federate personal user data back and forth with other instances? Where do you go as a user to keep control of your data? How do you know a federation really deleted your data if you wanted it? I'd never use it
>>fprog-6XWQ0OV7 >>fprog-SIBVJ7M1 I'm failing to understand your guys' points. Did you read my entire idea? Nothing is being stored on the imageboard servers, that's the entire point of it being self-hosted. Some imageboards DO have logins, which I dislike for the exact reasons you guys mention (anonymity). The service would be something you self-host, then it would be added as an option to "log in" on clients such as KurobaEx, or browser extensions such as 4chanX. This would of course require a pull request be submitted, then accepted. They can also be forked but the devs seem like they'd be open to such. If not, a fork of the project with this feature added is always possible too. Anyways, the server itself needs to come before any of the client side stuff. The hardest part will be getting clients to add in the login feature, although it should be reasonably simple, some devs can be annoying yk. But anyways back on point, after the user logs in, it would sync down all their watched threads, (You)s, etc. and it will be synced between each client/device they login to. Everything is stored on the server, the server which is the program that I am suggesting be made. That program will run on a server that the user self-hosts, meaning it's run entirely by them, they have full control. The program would ideally also be as minimal, lightweight as possible. And of course free, libre and open source. Nothing is being touched with the imageboards, nothing is being stored on imageboard servers besides your actual public posts to them as usual, the login system is completely self-hosted, and the login prompts are added to the end clients themselves. I don't know how I can be anymore clearer than that. But you guys obviously didn't understand the point.
>>fprog-KTOLYBDX Oh I see, you've just basically reinvented the idea of public key cryptographic authentication. You make a gpg keypair, and what you're suggesting would probably be implemented as some sort of browser plugin that can use that keypair to authenticate you cross platform. Perhaps that plugin also stores what threads you are watching and polls them for any replies. Yeah ok, I just didn't understand your idea. This could be something, but it'd be pretty niche. But possible.
>>fprog-MYSR0DXC Kinda but not really, it's basically just a service that you selfhost, and it centralizes all your watched threads and boommarks on the server you host. You login on any device and it syncs it between them all. Not reeeally a hard concept idk how I can explain it any better. If you use 4chanX, or Kuroba you know about the thread watcher right? When you post to a thread, it adds it to the watch list. You can also watch threads or posts you didn't post to. Anyways basically that list will sync to your server, then your server syncs it to any other devices logged in. The lists are merged on the server and all your devices stay up to date with one another.
testing8 replies and 1 images, Click here to view all.
>>fprog-UFX34A26 noko should be fixed
>>fprog-VTCTZO3F ok thats weird it work, this is fchan to KTP
fchan to KTP without mention
>be me >write life story >attach svg image >fatal mistake >post gets eaten by fchan
>>fprog-44DBNWS5 (OP) press the back button in your browser before refreshing
svg is based file format fchan really should support it
>>fprog-1PWMGYAK The MIME types was referenced from here https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#svg The supported files from the faq at the bottom are "image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/avif","image/apng","video/mp4","video/ogg","video/webm","audio/mpeg","audio/ogg","audio/wav", "audio/wave", "audio/x-wav" If the mime type differs from this it will not upload. svg formats were not tested to catch alternative mime types, but they can be added.
>>fprog-KZIDQGGI >webp JUST
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.7 replies and 1 images, Click here to view all.
>>fprog-E24CD995 You can't. Admin hast' fixed https://fchan.xyz/prog/FFCF2AD4#fb-269GDC00 yet.
I'm also interested in following development last commit in GitHub repo was 10 days ago Matrix room or Lemmy community would be nice
>>fprog-Q7QSSORL strange, seems to be up for me through the element program. if you cant get in post your ID and ill see if an invite works.
>>fprog-Q7QSSORL it has been up as far as I know, which homeserver are you on?
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.
>>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.
>>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.
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?
nigger nigger nigger nigger nigger
What are you programming or wanting to program? I often have a hard time on where to start. Do you have this problem?11 replies and 1 images, Click here to view all.
>>fprog-MS0JZE10 Is there no joy in making your own interpretation of a program?
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
>>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.
>>fprog-MS0JZE10 Evernote is proprietary software so I won't use it
long Lain is long.
Let''s all love Lain!6 replies and 4 images, Click here to view all.
Y = λf.(λx.f (x x)) (λx.f (x x))
>>fprog-B516579A (OP) Where are the non-weeb instances?
How do I subscribe to another fchan from this fchan?
It seems I can't subscribe to /b/ from Pleroma.
Enjoy the drink
All trademarks and copyrights on this page are owned by their respective parties.