-  [WT]  [PS]  [Home] [Manage]

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: GIF, JPG, PNG, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 451 unique user posts. View catalog

  • Blotter updated: 2018-08-24 Show/Hide Show All

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.


Nattajerk 11/09/07(Wed)10:31 No. 6 [Reply] [First 100 posts] [Last 50 posts] Stickied

I heart /pr/

lets start with a book thread. I have some cached learning.

This content removed in accordance to a DMCA Takedown Notice filed by PEARSON EDUCATION.


128 posts and 79 images omitted. Click Reply to view.
>>
Basement Dwelling Neckbeard 22/07/17(Sun)17:58 No. 5569

>>4058

https://savannah.nongnu.org/projects/pgubook




Newbie Thread patchouli!!SyAQpmZGyw 13/05/26(Sun)19:31 No. 3818 [Reply] Stickied
3818

File 136958949722.jpg - (25.15KB , 293x324 , bjarne2.jpg )

What's this? Just a compiled list of resources silly!
(Also, check out the book thread, lots of lovely stuff)
Ask newbie/where to begin questions in this thread!
~


Language Agnostic:
http://www.gskinner.com/RegExr/
http://www.autoshop101.com/forms/h14.pdf
https://www.khanacademy.org/cs

Editors:
http://www.codeblocks.org/ (great IDE for C/C++ and supports many libraries, cross platform)
http://notepad-plus-plus.org/ (good for scripting languages)
http://www.gnu.org/software/emacs/ (great editor with large learning curve)
Message too long. Click here to view the full text.


49 posts and 9 images omitted. Click Reply to view.
>>
Basement Dwelling Neckbeard 25/06/25(Wed)00:59 No. 5784

>>5783
I have no idea if you've confused me for someone else or if I'm just lost but I have no idea what you mean by that, sorry
If you did mean something by that, please do clarify




Didn't get very far Basement Dwelling Neckbeard 26/01/31(Sat)00:39 No. 5821 [Reply]
5821

File 176981636253.jpg - (369.85KB , 1024x768 , Green Sea Turtle.jpg )

/* gcc -pthread telserve_*.c */ #include "telserv/globals.h" #include "telserv/connect.h" int main(int argc, char *argv[]){ int c; int read_size; server.sockID = socket(AF_INET, SOCK_STREAM, 0); if(server.sockID < 0){ perror("Socket Failure"); } else{ perror("Socket Creation"); } server.address.sin_family = AF_INET; server.address.sin_addr.s_addr = INADDR_ANY; server.address.sin_port = htons(PORT); if(bind(server.sockID, (struct sockaddr *) &server.address, sizeof(server.address)) < 0){ perror("Bind Failed"); } else{ perror("Bind Socket"); } for(client_cnt = 0; client_cnt < MAX_USERS; client_cnt++){ if(listen(server.sockID, 3) < 0){ perror("Failure to listen"); } else{ printf("Server listening on port %d\n", PORT); } c = sizeof(struct sockaddr_in); if(player[client_cnt].client.sockID = accept(server.sockID, (struct sockaddr *) &player[client_cnt].client.address, (socklen_t*)&c)){ puts("Connection Accepted"); pthread_create(&player[client_cnt].client.thread_id, NULL, connection_handler, (void*) &player[client_cnt].client.sockID); /*pthread_join(client[client_cnt].thread_id, NULL);*/ puts("Handler assigned"); } } return 0; }


Digging through some old projects and found this experiment I was working on. I think the idea was a p2p network from scratch. User data, messages, etc would be prepped into an xml file and shared accross contacts. By including mutual contexts in the requested xml the network could be self sustaining and eliminate the need for central company host or tracker. I have some handwritten notes here somewhere..
It's basically the concept behind distributed hash tables I think.


1 post omitted. Click Reply to view.
>>
Basement Dwelling Neckbeard 26/01/31(Sat)05:17 No. 5823

Stick with one until you have a minimally viable working product!


>>
Basement Dwelling Neckbeard 26/01/31(Sat)05:23 No. 5824

Isnt this what Tox is?


>>
Basement Dwelling Neckbeard 26/01/31(Sat)16:12 No. 5826

>>5824
That wiki page was a wild ride.
And yes, it looks like that group of college educated computer programmers built approximatly what I wanted to. I find it really cool to know that I had the right idea, but just lacked the skillz and resources to actually do it. I do have more skills and resources now... maybe it's time to circle back to this.

>>5823
lol what product? Can't put advertising on a decentralized network lel




Basement Dwelling Neckbeard 26/01/30(Fri)13:45 No. 5816 [Reply]
5816

File 176977711190.jpg - (112.75KB , 1100x1060 , folio-photonics-active-archive-storage-technology-.jpg )

Do people still use this board?


>>
Basement Dwelling Neckbeard 26/01/30(Fri)18:10 No. 5817

>>5816
Not since python was invented :-(


>>
Basement Dwelling Neckbeard 26/01/31(Sat)00:22 No. 5819

>>5816
There are still people here to answer questions (as well as an IRC channel #programming). That said, there is not much in the way of posts here anymore aside from "What should be my first language?" to which the answer is inevitable "It depends."


>>
Basement Dwelling Neckbeard 26/01/31(Sat)05:26 No. 5825

>>5819
I had a friend who was super into CS and linux at school, and he also knew about Bitcoin just as it became a thing before anyone in the news talked about it so I'm assuming hes a millionaire now. Always wanted to hang out with those kids but we had macs at home and i didnt really know how to even get started learning back then, so I remained a luddite. i wish i learnt programming sooner, the whole web just feels so controlled and dead/hindi internet theory now. I've decided to learn Forth as my 1st programming language because i am a special snowflake




Sriracha Imageboard Basement Dwelling Neckbeard 25/06/14(Sat)02:38 No. 5772 [Reply]
5772

File 174986150887.png - (252.48KB , 1280x1024 , sriracha.png )

Demo: https://sriracha.rocket9labs.com/img/
Download: https://codeberg.org/tslocum/sriracha

Features:
- Upload files matching MIME type whitelist
- Embed external media (YouTube, Vimeo and SoundCloud)
- Reference links >>###
- Report posts
- CAPTCHA
- Overboard
- Plugin system
- Thread catalog
- Oekaki (drawings)
- Fetch new replies automatically
- Translate into additional languages
Message too long. Click here to view the full text.


>>
Basement Dwelling Neckbeard 26/01/20(Tue)01:39 No. 5814
5814

File 176886954266.jpg - (25.98KB , 529x580 , 1w6ubs6twsdg1.jpg )

Now with Docker support (wowzers)

https://hub.docker.com/r/tslocum/sriracha


>>
Basement Dwelling Neckbeard 26/01/20(Tue)03:29 No. 5815

>>5814
Nice




how can i hack? satinofsatan 26/01/05(Mon)10:19 No. 5811 [Reply]

please teach me how to hack. But not super illegal activities. :3


>>
Basement Dwelling Neckbeard 26/01/05(Mon)11:08 No. 5812

>>5811
Get a usb stick with an os loaded with hacking tools, also don't hack unless you actually need to, use that time tu purge yourself online and backup your data instead. And get off of apple, google, meta and micro. Time much better spent than harassing random normies.




Your company is spying on you! Basement Dwelling Neckbeard 25/11/24(Mon)18:00 No. 5808 [Reply]
5808

File 176400363046.jpg - (138.58KB , 1780x1320 , 2005.jpg )

If you want to see what your company is monitoring on your work laptop, search your user folder (C:\Users\yourusernamehere\) for PolicyNudgeClassification.

You will find an .xml file call PolicyNudgeClassificationDefinitions_randomcharshere.XML.

In this file you can see what data your company is monitoring and/or blocking.

And you can use this to bypass those policies by removing or changing those keywords they are looking for.

Spread the word! Tell us what you find on your machine.




Hhhhhhh Adolf 25/05/13(Tue)08:18 No. 5749 [Reply]
5749

File 174711712090.png - (66.03KB , 1200x1327 , 1200px-C_Programming_Language_svg.png )

I want to start learning programming from the language c


1 post omitted. Click Reply to view.
>>
Emi 25/06/09(Mon)20:39 No. 5764

Well if you have all the tools needed to start then go ahead and do it!

I myself am also starting to program in c using a book called The C Programming language.

Make sure to learn fundamental c concepts and do projects.

Good Luck!


>>
satchel 25/09/25(Thu)00:18 No. 5796

same but im lazy and stupid


>>
Basement Dwelling Neckbeard 25/11/23(Sun)14:14 No. 5807

You never stop feeling lazy and stupid when coding.
You are REALLY stupid if you only do vibe coding and think itโ€™s the same thing as programming




Code Thread butter 23/04/05(Wed)23:43 No. 5608 [Reply]
5608

File 168073103377.png - (70.13KB , 694x669 , hmm.png )

Post funny/weird/cool codes, any code u saw that pick your attention and made u want to share:

def my_map(fuck, asses): sex = [] for ass in asses: sex.append(fuck(ass)) return sex


14 posts and 7 images omitted. Click Reply to view.
>>
github.com/GaMaDeCa 25/10/10(Fri)22:39 No. 5801


I love #define, why java or python don't support it?


>>
Basement Dwelling Neckbeard 25/10/11(Sat)03:23 No. 5803

>>5801
> I love #define, why java or python don't support it?
It looks fun! ๐Ÿ˜€


>>
Basement Dwelling Neckbeard 25/11/03(Mon)21:09 No. 5806

>>5801
That motherfucker actually flipped the syntax of the #define directives. It's #define rn ; not #define ; rn!




"the user profile service service failed the sign-in" Basement Dwelling Neckbeard 25/06/04(Wed)08:11 No. 5757 [Reply]
5757

File 174901750228.png - (2.20KB , 483x293 , images (2).png )

Now I 'm having trouble with "the user profile service service failed the sign-in," Does anyone have solutions?


>>
Basement Dwelling Neckbeard 25/06/04(Wed)14:45 No. 5758

fuck it, just don't sign in


>>
Basement Dwelling Neckbeard 25/06/04(Wed)15:31 No. 5759
5759

File 174904386693.png - (271.56KB , 460x459 , 1718523921888859.png )

right-click, "inspect", and write the html for the page you want to see. you gave zero context, so this is the best answer you'll get.


>>
Basement Dwelling Neckbeard 25/10/10(Fri)11:19 No. 5800


Sign up with a valid e-mail address





Delete post []
Password  
Report post
Reason