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

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

  • Blotter updated: 2011-01-12 Show/Hide Show All

There's a new /777/ up, it's /Trump/ - Make America Great Again! Check it out. Suggest new /777/s here.

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

WebM is now available sitewide! Please check this thread for more info.

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

File Structure_and_Interpretation_of_Computer_Programs.pdf - (2.21MB , Structure and Interpretation of Computer Programs.pdf )

I heart /pr/

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

119 posts and 85 images omitted. Click Reply to view.
Neckbearded Basement Dweller 16/05/22(Sun)19:14 No. 4896

RE in general would be nice especially how to use IDApro and how to do it on linux.

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

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

25 posts and 6 images omitted. Click Reply to view.
Neckbearded Basement Dweller 15/09/22(Tue)01:40 No. 4807

Hello all. I'm looking for some resources on learning XML.

My intent is to make modifications to an existing freeware program (Anathema character generator) and I've done as much as I can with what I've learned from first-hand experimentation. Also, several files can't be read by notepad/wordpad, so I can't even begin to look at them.

XML for dummies or similar would be fantastic, as well as knowing what sort of program I would need to properly read .class files.

Xfinity WiFi Neckbearded Basement Dweller 16/07/21(Thu)04:54 No. 4920 [Reply]

How to free WiFi from Comcast Xfinity:

This is for those that happen to be within proximity of a Comcast Xfinity modem. I hope it is helpful for at least one person other than myself.

Step 1:
Be disconnected from essid "xfinitywifi"
(Please note that this is vacuously true if you are aren't already connected)

Step 2:
Run the following script to change your MAC address

#!/bin/bash ifconfig wlan0 down macchanger -r wlan0 ifconfig wlan0 up

Step 3:
Connect to essid "xfinitywifi"

Message too long. Click here to view the full text.

Neckbearded Basement Dweller 16/07/24(Sun)10:33 No. 4921


Python Neckbearded Basement Dweller 15/11/08(Sun)15:50 No. 4819 [Reply]

File 144699425290.png - (173.04KB , 2000x2000 , Python-logo-notext_svg.png )

I'd like to start learning to code Python. Does anyone have tips for me on where to start or tips in general?

4 posts omitted. Click Reply to view.
Neckbearded Basement Dweller 16/05/27(Fri)05:20 No. 4897

I used that book to learn the basics of python, but towards the end the book went down the shitter for me. It seemed to jump around too much, when before he made it clear what he wanted you to do.

Neckbearded Basement Dweller 16/05/27(Fri)05:20 No. 4898


Neckbearded Basement Dweller 16/07/11(Mon)07:44 No. 4919

codingbat has an integrated SDK for you to program Python into. :/

C++ Input Data Neckbearded Basement Dweller 14/05/04(Sun)07:47 No. 4436 [Reply]

File 139918243382.jpg - (46.20KB , 600x586 , CHILI.jpg )

I'm a newfaggot programmer more or less. I'm writing a simple guessing game. The user guesses a random number within a range. The only problem I have is accepting multiple data types. The user needs to guess an integer, but I want them to also be able to be able to submit characters such as '?' or 'EOF' into cin to do something like bring up a help menu or quit guessing. Anyone here who can/wants to teach me which method I should use to accomplish this?

I'm not sure if this is a shitpost here or not so if it is, tell me to fuck off, thanks in advance.

11 posts omitted. Click Reply to view.
Neckbearded Basement Dweller 16/06/12(Sun)00:05 No. 4913

That's awful.

template <typename T> bool is_only_digits(const T &s){ for (auto c : s) if (!isdigit(c)) return false; return true; }

Neckbearded Basement Dweller 16/06/19(Sun)00:32 No. 4917

Could you elaborate on that function of yours? I got quite confused.

Neckbearded Basement Dweller 16/06/23(Thu)22:21 No. 4918

It accepts a sequence of some kind and returns true if isdigit() returns true for all its elements. I used ranged for to iterate over the sequence.
I was going to take std::basic_string<T>, but I figured that would have just made it more confusing.

hacking someone back Swamp Child 16/05/27(Fri)08:00 No. 4899 [Reply]

okay total noob here

some little shit got my email, Facebook, and dick pics and is threatening me over kik of all places, and also apparently has my ip.

i get i should have have higher security measures.

i wanna know how to stop him and fuck up his shit.

any help would be GREATLY appreciated.

3 posts omitted. Click Reply to view.
Neckbearded Basement Dweller 16/05/28(Sat)06:29 No. 4905

Feed the troll. that's the best way to stop him. make youtube video threatening him.

Neckbearded Basement Dweller 16/06/04(Sat)03:38 No. 4912

>and also apparently has my ip
Oh shit, he has your ass. The only way out now is to fake your death and assume a new identity or actually kill yourself. He has everything now.

Neckbearded Basement Dweller 16/06/15(Wed)21:28 No. 4914

hypothetically you use social engineering to figure out where he lives and fuck his shit up fam, unless he's too far away, then there's not much you can do.

Learning Ruby Neckbearded Basement Dweller 15/12/17(Thu)00:12 No. 4835 [Reply]

File 145030753443.png - (88.79KB , 959x833 , ruby.png )

so, I am going to start learning ruby because I am a basement dwelling neck beard and I have no life.

So, I figure I might as well learn how to program and thought ruby would be a good place to start.

What are some staples I should know about ruby and programming in general, really?

1 post and 1 image omitted. Click Reply to view.
Neckbearded Basement Dweller 16/05/31(Tue)01:45 No. 4906

Well, before advising lisp/scheme as a first language I would ask OP what goal is he would like to do as a programmer. OP?

Neckbearded Basement Dweller 16/05/31(Tue)01:48 No. 4907

>what goal is he would like to do as a programmer.
"what he would like to do as a programmer"

Neckbearded Basement Dweller 16/05/31(Tue)13:23 No. 4908

>It is required of all students at MIT who major in
electrical engineering or in computer science, as one-fourth of the ‘‘common core curriculum,’’

Ew. Go ahead and use this, but be sure to learn something else as well.

c++ help whale 16/05/20(Fri)06:14 No. 4895 [Reply]

File arraywork.txt - (816B )

ask your student write program that lists european countries and their capitals. the programs retrieves this info from input file. the data has to be stored in two dimensional array.displayed in tabular format.......

Neckbearded Basement Dweller 15/12/27(Sun)11:21 No. 4840 [Reply]

File 145121168726.png - (2.05KB , 352x72 , nginx.png )

At the moment i'm setting up a Nginx server on Ubuntu operating system but I can't access it from my other computer. I've got the server connected to a switch and then my laptop connected to another port. I'm almost certain that I have the config file worked out but I can't seem to figure out where the root file is (even with extensive research on this) and how to connect from my laptop to the server to even see basic webpages that I have created

Neckbearded Basement Dweller 16/01/21(Thu)00:38 No. 4849

Things to check:

- Can you ping the server computer from your laptop?
- If not, are they on the same network? Do they have the same netmask? Are they both using IPv6 (or IPv4)? Do they have conflicting IP addresses? Conflicting MAC addresses? (Unlikely.)
- Is nginx listening on port 80? If not, are you trying to access the correct port?
- Does curl's -vvv option show you more interesting debugging output?
- If you're trying to use the domain name instead of the IP, does the domain name resolve?

Neckbearded Basement Dweller 16/05/14(Sat)11:06 No. 4894

OP, did you restart? :D

Should I be fucked? Neckbearded Basement Dweller 16/02/18(Thu)21:55 No. 4865 [Reply]

File 145582892088.jpg - (72.49KB , 800x665 , 1332772955387.jpg )

I need to transfer a file from windows to linux and then call an operation on it. I've done socket programming in C on Linux, should I be bothered learning it for windows or is there something "off the self" I can use.

Neckbearded Basement Dweller 16/02/28(Sun)11:20 No. 4869

If you don't mind using C++, you could implement both ends with boost::asio.

Neckbearded Basement Dweller 16/04/29(Fri)02:17 No. 4887

You can use cygwin

Delete post []
Report post