-  [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 479 unique user posts. View catalog

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

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

WebM support has been added on a trial basis.UPDATE: WebM is now available sitewide! Please check this thread for more info.

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.

21 posts and 3 images omitted. Click Reply to view.
Neckbearded Basement Dweller 14/09/07(Sun)00:46 No. 4579

File 141004358945.png - (39.58KB , 432x270 , 0507_sdt-github-language-chart.png )

It doesn't matter much which language you choose for that. Use the one that looks less retarded to you. If you want a graphical interface, you will probably want to avoid bash and the like.
Also, you should've made a new thread for this you faggot.

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.

110 posts and 87 images omitted. Click Reply to view.
Neckbearded Basement Dweller 14/08/10(Sun)04:57 No. 4553

It might be, but..
Well said.

Python Excel Neckbearded Basement Dweller 14/09/30(Tue)08:22 No. 4595 [Reply]

File 141205812889.png - (50.48KB , 340x340 , python_sh-340x340.png )

I'm sorry to be spamming everybody's stuff with my own selfish request, but I'm wondering if anyone has a link to an executable of Python Excel (http://www.python-excel.org/) so I can install the module on my Windows machine. Need to get a script written by the end of Tuesday and only have a Windows machine to do it.

Tabletop game development OP 14/09/29(Mon)20:21 No. 4593 [Reply]

File 141201490869.gif - (23.89KB , 658x443 , dungeons[1].gif )

Guys back at the basement of my apartment complex play RPGs and nerdy stuff like that.

My idea was to call out a few interested programmers to make a simple multiplayer 'game' which features a selective player location board with different types of blocks (passable, etc.)

Why? For the shits n giggles!
I thought Java could be a good choice of language, but we can discuss.
Choice of source code hoster? I think BitBucket is good enough.

Anybody with me?

Neckbearded Basement Dweller 14/09/29(Mon)20:38 No. 4594

I realy like this idea sir. Take my bump

Colorscheme jerker 14/07/29(Tue)07:18 No. 4534 [Reply]

File 140661111262.png - (252.31KB , 1366x768 , 2014-07-28-231738_1366x768_scrot.png )

Which looks better?

Also, Colorscheme thread.

9 posts and 3 images omitted. Click Reply to view.
Neckbearded Basement Dweller 14/09/12(Fri)06:21 No. 4583

For urxvt, at least, you have to configure the ctrl+arrow to keybinds.

Add this to .Xresources

URxvt.keysym.M-Down: \033[1;3B
URxvt.keysym.M-Up: \033[1;3A
URxvt.keysym.M-Left: \033[1;3D
URxvt.keysym.M-Right: \033[1;3C

Neckbearded Basement Dweller 14/09/27(Sat)19:32 No. 4591

File 141183915162.png - (11.79KB , 758x890 , Scheme.png )

These days I like to keep it simple.

Nattack 14/09/29(Mon)00:54 No. 4592

late post, but I think left is better, the magenta text is hard on the eyes - also I've always found alpha distracting.

its a personal choice, mind you. but i find the more contrast between the foreground and the background the better when it comes to text. dark backgrounds and light foregrounds, or vice versa for the traditional paper sheet look.
the only problem is the text shouldnt be too contrasting, if its a colour thats painful to look at (like magenta or bright yellow) it strains the eyes too much over time if its something thats going to be popping up all the time. I'd reserve it for function names if you really wanted it to be useful, like for being able to easily find sections by eye.

Neckbearded Basement Dweller 14/09/20(Sat)22:31 No. 4587 [Reply]

File 141124508685.jpg - (29.96KB , 355x444 , Alan_Turing.jpg )

Source code rate thread?

Ill start.


rate thread [FPS] 14/09/26(Fri)02:28 No. 4590

File 141169130577.jpg - (421.45KB , 840x560 , 01.jpg )

challenge accepted

Delete multiple rows with variable number 'ID's to delete Neckbearded Basement Dweller 14/09/21(Sun)12:26 No. 4588 [Reply]

File 141129520030.jpg - (413.11KB , 533x400 , Pineapple.jpg )

So i have an application Im writing and I have an input with checkboxes that will send an array of names to the application. The application is then supposed to delete rows that have the names in a column as the names in the array sent by the checkboxes. I can use a loop in the application to run through the array, but is there an SQL way of doing this. I am using SQLite for now, but a Postgres dialect answer will help though.

Not+A+Douche 14/09/23(Tue)03:18 No. 4589

DELETE FROM table_name
WHERE some_column=some_value;

C++ Quiz Neckbearded Basement Dweller 14/09/19(Fri)20:14 No. 4586 [Reply]

File 141115047244.png - (43.99KB , 462x261 , play.png )

http://q.viva64.com/ - C++ Quiz: are you a code guru?

Neckbearded Basement Dweller 14/09/07(Sun)23:19 No. 4580 [Reply]

File 141012474693.jpg - (11.01KB , 225x209 , mrS3f1BVoz6qoQOv5UJdgBQ.jpg )

I was told to make a new thread.
I want to make my own cipher machine, like the Enimga.
What language will be better for this?
I want something like this: http://www.users.globalnet.co.uk/~andlaw/engindex.htm
A simple graphic interface where one imputs the setting, encode and decode.

patchouli!!MxLwWzZ2L4 14/09/11(Thu)05:55 No. 4581

I am assuming you are new.

There are boundless options for you; as >>4579 said.

That being said, I would try out OCaml, it is really neat and it has quite a nice gtk wrapper.

It is considered a functional language, akin to Lisp and Haskell, and if you have already got used to imperative languages: C, Java etc, it might be tough to start out, but don't get discouraged. You can overcome anything with a bit of practice.

Good luck!

Neckbearded Basement Dweller 14/09/14(Sun)01:53 No. 4584

I have no previews experience in programming.
Can I jump straight to OCaml or should I learn something else beforehand?

Neckbearded Basement Dweller 13/10/11(Fri)23:41 No. 4156 [Reply]

File 138152768546.jpg - (85.38KB , 587x551 , 138119478561.jpg )

Is... is it ok if I just skip C and move right on to C++?
I... seem to find it easier reading cpp code than C, without all those enums, links, arrow operators, and shit.

20 posts and 2 images omitted. Click Reply to view.
Neckbearded Basement Dweller 14/08/16(Sat)00:45 No. 4564

Well the only think that changes using C is the code that runs in server side, the response is a html document

Neckbearded Basement Dweller 14/08/16(Sat)07:55 No. 4565

OP here. Been a while since I started this, didn't think itnstill dxisted lol.
Anyway I learned both. Of course I didn't *really* learn them, I'm in the process. But I learnedn the basics of both and I'm using them both (though mostly c++) so I actually *learn*

Neckbearded Basement Dweller 14/09/02(Tue)20:48 No. 4576

If you have no programming background, honestly just jump in with something easier like Python. Easier doesn't mean worse or not useful, I think with Python the time you go from 'what is programming' to making something actually useful and not just textbook example code is a lot shorter.

From there you can honestly pick up whichever, I do feel it's advised though. C gives you a good base to really figure out what's going on and if you have any intention of looking at something like x86 eventually, I'd consider it.

Just start man.

Delete post []
Report post