int* ip or int *p
>>fprog-SG6H9U6I then do >int * p, * q; it's still easier to see it as "int pointer" with this exception
>>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...
>>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.
testing
noko test
>>fprog-UFX34A26 noko should be fixed
>>fprog-5B89B1E3 (OP) this is testing federation from KTP and FChan ignore
>>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.
>>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
>>fb-UKXXQJIQ →
>>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?
long Lain is long.
woah
Let''s all love Lain!
>>B516579A based
>>fprog-B516579A (OP) Where are the non-weeb instances?
>>fprog-B516579A (OP)
reply test
How do I subscribe to another fchan from this fchan?
It seems I can't subscribe to /b/ from Pleroma.
wat
>>fprog-6894A80B (OP)
Enjoy the drink
Inglewooood. I hope you like my IP
No IPs are tracker here, we wont be able to enjoy them :(
>>fprog-C8D06E94 of course not
All trademarks and copyrights on this page are owned by their respective parties.
v0.2.0-c793a28