/prog/ - Programming

Anything related to programming and creating software.











Mark attachment as sensitive





File: 06d5647afb06a781d399470f5e(...).png (491.37 KB)
Anonymous 2021-05-24T13:53:48Z No. AGAUVIB2 [Report]

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

>>
File [disgusting].jpg (101.82 KB)
Anonymous 2021-05-24T14:13:48Z No. AD8ZJDJF [Report]

imagine not putting your brackets on a new line

>>
Anonymous 2021-05-25T18:37:46Z No. K0C4XC75 [Report] >>8HHG9SCM

>>AGAUVIB2 (OP) This is how civilization collapses, one bracket at a time. Little men cringing behind their glasses, staring and spaghetti code, sobbing as they tell themselves it's supposed to be hard to read. Your ancestors worshipped whitespace because they were not barbarians.

>>
Anonymous 2021-05-25T22:20:03Z No. 8HHG9SCM [Report]

>>K0C4XC75 8/10 pasta nice meme dude


File: glenda-trollface.png (20.24 KB)
How do you type out your pointers Anonymous 2021-04-26T06:17:20Z No. 1606BEVL [Report]

int* ip or int *p

11 replies, Click here to view all.
>>
Anonymous 2021-05-09T15:41:06Z No. B0W2SD51 [Report] >>OCTLEQR0

>>SG6H9U6I then do >int * p, * q; it's still easier to see it as "int pointer" with this exception

>>
Anonymous 2021-05-09T18:46:46Z No. OCTLEQR0 [Report]

>>B0W2SD51 >2 spaces now that is just silly

>>
Anonymous 2021-05-14T16:15:42Z No. F251CGFK [Report] >>8U0QKH0L >>V2BCEKA3

>>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!

>>
Anonymous 2021-05-14T16:31:16Z No. 8U0QKH0L [Report]

>>F251CGFK my style is based on some of those as well thank Stallman for all the libreware out there that helped me learn

>>
Anonymous 2021-05-21T21:05:02Z No. V2BCEKA3 [Report]

>>F251CGFK I like GNU style. check glib and GTK, the code style is pretty neat


File: rose-amd.jpg (36.77 KB)
Cross Imageboard Login System Idea Anonymous 2021-04-25T12:36:40Z No. 1TOIV0D3 [Report]

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.
>>
Anonymous 2021-04-25T15:43:05Z No. 6XWQ0OV7 [Report] >>KTOLYBDX

>>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.

>>
Anonymous 2021-04-25T15:47:08Z No. SIBVJ7M1 [Report] >>KTOLYBDX

>>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

>>
Anonymous 2021-04-28T17:16:01Z No. KTOLYBDX [Report] >>MYSR0DXC

>>6XWQ0OV7 >>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.

>>
Anonymous 2021-04-28T20:56:03Z No. MYSR0DXC [Report] >>LTSWC8J9

>>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.

>>
Anonymous 2021-05-01T21:07:49Z No. LTSWC8J9 [Report]

>>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.


File: 1610690455624.jpg (99.05 KB)
Anonymous 2021-01-15T06:35:29Z No. 5B89B1E3 [Report]

testing

8 replies and 1 images, Click here to view all.
>>
File love2d.png (15.73 KB)
Anonymous 2021-04-26T19:32:20Z No. UFX34A26 [Report] >>68ZFV49A

noko test

>>
Anonymous 2021-04-26T19:48:30Z No. 68ZFV49A [Report]

>>UFX34A26 noko should be fixed

>>
Anonymous 2021-06-30T22:41:37Z No. fprog-VTCTZO3F [Report] >>9Q1ETJ91

>>5B89B1E3 (OP) this is testing federation from KTP and FChan ignore

>>
Anonymous 2021-06-30T22:42:25Z No. 9Q1ETJ91 [Report]

>>fprog-VTCTZO3F ok thats weird it work, this is fchan to KTP

>>
Anonymous 2021-06-30T22:43:09Z No. JXWE8FB4 [Report]

fchan to KTP without mention


File: yarks.png (610.95 KB)
Fchan eats posts with wrong filetype Anonymous 2021-04-22T18:38:21Z No. 44DBNWS5 [Report]

>be me >write life story >attach svg image >fatal mistake >post gets eaten by fchan

>>
Anonymous 2021-04-22T18:45:20Z No. WQK3A7JO [Report]

>>44DBNWS5 (OP) press the back button in your browser before refreshing

>>
Anonymous 2021-04-24T19:32:46Z No. 1PWMGYAK [Report] >>KZIDQGGI

svg is based file format fchan really should support it

>>
Anonymous 2021-04-24T19:45:11Z No. KZIDQGGI [Report] >>LI29W2NI

>>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.

>>
Anonymous 2021-04-25T16:47:03Z No. LI29W2NI [Report]

>>KZIDQGGI >webp JUST


File: 1586359272619.png (312.60 KB)
Anonymous 2021-01-22T20:09:19Z No. BBC99398 [Report]

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.
>>
Anonymous 2021-02-02T12:23:54Z No. HY8G5461 [Report]

>>E24CD995 You can't. Admin hast' fixed https://fchan.xyz/prog/FFCF2AD4#fb-269GDC00 yet.

>>
Anonymous 2021-02-16T00:37:46Z No. SOLBJLWI [Report]

I'm also interested in following development last commit in GitHub repo was 10 days ago Matrix room or Lemmy community would be nice

>>
File inaccessible.png (22.77 KB)
Anonymous 2021-04-16T17:15:42Z No. Q7QSSORL [Report] >>506KWKRJ >>7I1URMDY

>>fb-UKXXQJIQ →

>>
Anonymous 2021-04-16T17:37:55Z No. 506KWKRJ [Report]

>>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.

>>
Anonymous 2021-04-25T00:16:24Z No. 7I1URMDY [Report]

>>Q7QSSORL it has been up as far as I know, which homeserver are you on?


File: designedwithnotepad.jpg (3.16 KB)
Interfacing with Fchan Anonymous 2021-04-19T09:32:07Z No. F6926VVH [Report]

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.
>>
Anonymous 2021-04-22T18:48:02Z No. DOJ72ZI8 [Report] >>B80MCOQQ

>>ARWGGSPK do anonymous imageboards fit in with microblog type systems that usually have a login attached to each post? how would a post from or to peertube look without a user login? would it be a post dedicated to that video?

>>
File new.png (13.36 KB)
Anonymous 2021-04-24T09:36:44Z No. B80MCOQQ [Report] >>VJ1IU688

>>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.

>>
Anonymous 2021-04-24T09:45:57Z No. VJ1IU688 [Report] >>8C2S6A3I

>>B80MCOQQ That's how fchan works, but how would fchan federate with pleroma, mastodon, peertube etc where the original quote was referencing the mastodon url posted about auth standards.

>>
Anonymous 2021-04-24T10:08:56Z No. 8C2S6A3I [Report]

>>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.

>>
Anonymous 2021-04-25T00:14:31Z No. 9VIPQZ85 [Report]

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?


File: ohyes.jpeg (37.26 KB)
nigger nigger 2021-03-26T17:07:05Z No. VL6C5XZV [Report]

nigger nigger nigger nigger nigger


File: 6376018_f520.jpg (161.54 KB)
What are you programming? Anonymous 2021-01-30T11:38:03Z No. 021AG738 [Report]

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.
>>
Anonymous 2021-02-02T22:47:20Z No. UD9BSRAT [Report]

>>MS0JZE10 Is there no joy in making your own interpretation of a program?

>>
Anonymous 2021-02-03T23:12:32Z No. T62PQHNG [Report] >>BAYDDEEY

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

>>
Anonymous 2021-02-05T03:21:10Z No. BAYDDEEY [Report]

>>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.

>>
Anonymous 2021-02-18T02:40:26Z No. P225N5E0 [Report]

>>MS0JZE10 Evernote is proprietary software so I won't use it

>>
File Piict3PJ.webm (2.88 MB)
Anonymous 2021-03-18T08:38:11Z No. QDMY3QIA [Report]

>>021AG738 (OP) 3D rendering for my game or something


File: long_lain.png (317.72 KB)
long Lain is long. Anonymous 2021-01-26T17:20:29Z No. 3AE17500 [Report]

long Lain is long.

>>
Anonymous 2021-01-29T15:25:13Z No. 55FCF1C9 [Report]

woah


File: lain.jpg (72.91 KB)
Anonymous 2021-01-16T14:28:10Z No. B516579A [Report]

Let''s all love Lain!

6 replies and 4 images, Click here to view all.
>>
File 1610671638059.jpg (37.27 KB)
Anonymous 2021-01-17T17:23:13Z No. BDDA8FBD [Report]

Y = λf.(λx.f (x x)) (λx.f (x x))

>>
Anonymous 2021-01-17T20:52:00Z No. 7E22GGB8 [Report]

>>B516579A based

>>
Anonymous 2021-01-18T12:10:53Z No. 9DGC3183 [Report]

>>B516579A (OP) Where are the non-weeb instances?

>>
File weebdr.png (313.78 KB)
Anonymous 2021-01-18T19:39:57Z No. F802EEA9 [Report]

>>B516579A (OP)

>>
File 1610942534328.png (746.10 KB)
Anonymous 2021-01-24T07:22:08Z No. 51CD7827 [Report]

>>B516579A (OP)


File: WAT - Рыжий кот.png (253.96 KB)
Anonymous 2021-01-21T09:10:50Z No. FFCF2AD4 [Report]

How do I subscribe to another fchan from this fchan?

>>
Anonymous 2021-01-21T10:42:52Z No. 2DFBGB01 [Report]

It seems I can't subscribe to /b/ from Pleroma.


File: theo-de-raadt-3.jpg (9.42 KB)
Anonymous 2021-01-14T04:14:19Z No. 6894A80B [Report]

wat

>>
File 1610471081342.png (53.43 KB)
Anonymous 2021-01-19T00:06:43Z No. FEBEG585 [Report]

>>6894A80B (OP)


File: enjoy_the_drink.png.png (236.39 KB)
CLU 2021-01-15T11:07:20Z No. 42345B85 [Report]

Enjoy the drink


File: BFF1D539-55CD-40CE-A51A-91(...).jpeg (96.34 KB)
Hello workd Anonymous 2021-01-14T06:55:11Z No. C17E93CF [Report]

Inglewooood. I hope you like my IP

>>
Anonymous 2021-01-14T07:10:25Z No. C8D06E94 [Report] >>9C71F50D

No IPs are tracker here, we wont be able to enjoy them :(

>>
Anonymous 2021-01-17T12:27:35Z No. 9C71F50D [Report]

>>C8D06E94 of course not



[Home][Rules][FAQ]

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