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

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

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

>>4448
It might be, but..
>>2849
Well said.




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.


22 posts and 4 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/10/04(Sat)04:50 No. 4596
4596

File 141239105849.jpg - (65.12KB , 640x556 , 00000BwMQjEMCYAEeU7J_jpg:large.jpg )

Scheme is a lang built for learning programming by actual Wizards at MIT (Sussman & Steele). Learning it is easy, read the following books and do the assignments.

How to Design Programs http://htdp.org/2003-09-26/Book/ is a pretty slow intro, you can just read SICP if ready. You use Racket (DrScheme) which is similar to MIT Scheme. There's a course for it too: https://www.coursera.org/course/programdesign

Little Schemer https://mitpress.mit.edu/books/little-schemer basically a book of exercizes to get you used to programming in Scheme. Teaches you recursive thinking for functional programming.

Structural Interpretation of Computer Programs (SICP) https://mitpress.mit.edu/sicp/ is a masterclass in programming still used today. Uses MIT Scheme. More info why you should do it here: http://hackerretreat.com/why-how-start-sicp/ you don't need any math to do this course, though there is some in it. Students took first year calculus (single variable) with this course traditionally so if stuck on a question skip it. Come back later when you've done single variable calclulus.

Seasoned Schemer https://mitpress.mit.edu/books/seasoned-schemer another book of exercizes, introduces the Y-Combinator.

Reasoned Schemer https://mitpress.mit.edu/books/reasoned-schemer a book about logical programming.

Essentials of Programming Languages https://mitpress.mit.edu/books/essentials-programming-languages use Scheme to learn everything about other languages and make your own.

Congrats you can easily learn any other program at this point by reading a tutorial on it's syntax and libraries because you'll already know fundamentally what's going on. Clojure is a Lisp-1 dialect, easy to pickup after doing these books. Ruby is somewhat Lisp like and easy to start doing after. Lisp flavored Erlang (LFE) and other functional languages.
Message too long. Click here to view the full text.




Neckbearded Basement Dweller 13/01/31(Thu)20:18 No. 3387 [Reply] [Last 50 posts]
3387

File 135965991476.png - (4.10KB , 640x320 , Girls-Who-Code.png )

What do you anons think about those people who are trying to increase the number female programmers in the world?


67 posts and 7 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/10/16(Thu)11:30 No. 4605

>>4601
>The point is. this kindof community, riddled with an unwarranted sense of self importance and superiority, turns a lot of people off from even bothering with Comp Sci. Who would want to be associated, or worse, have to work with these people.
Okay, but the question is, do people get turned off CS because of those behaviors, or are people who would be interested in CS just predisposed to them? Also, if you're an outsider, how would you find out about them?


>>
Neckbearded Basement Dweller 14/10/18(Sat)07:49 No. 4606
4606

File 141361136013.jpg - (98.89KB , 800x640 , average_archlinux_user.jpg )

>>4601
>One point I do give them(although not on the same train of thought) is the toxic culture of the tech community, especially OSS.
Important projects are tired of dealing with idiots, but if you try to contribute to a small project you will be treated nicely. If for no other reason, because they really need the help.

>who do you see in CS classes? Neckbeards and kids with autism who usually have delusional beliefs, whether it be worshipping anything with a vagina, or immediately discounting anything with a vagina.
>On top of that is already a deep sense of elitism.
Pot, meet kettle.


>>
Nattajerk 14/10/20(Mon)22:42 No. 4607

>>4601
when I was in CS there were a few weirdos but for the mostpart it was your standard sitcom lineup. a hot asian girl, the token black guy, the token gay guy. the older "restarting my career" 40 year old. and a bunch of teenagers who got a free ride into post secondary learning.




JSON loading Neckbearded Basement Dweller 14/10/13(Mon)23:13 No. 4602 [Reply]
4602

File 14132348201.jpg - (305.67KB , 612x1008 , we_can_do_it__portal_2_propaganda_poster_by_aelice.jpg )

I want to use multiple jsons (one for every lang) for ex: the english one:
"en-gb":
{
"key1" : "value 1",
"mainMenuText" : "Main Menu",
"thisIsAnArray" : [
"ArrayValue1",
"ArrayValue2",
"etc."
],
"ThisIsASubObject": {
"SubKey1": "SubValue1"
}
}

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


>>
Neckbearded Basement Dweller 14/10/14(Tue)23:38 No. 4604

While I've never used JSON I've never seen it described quite like you have it there.

perhaps something more like;
http://pastebin.com/gWMzgcqv

would make more sense, as I am pretty sure everything has to be wrapped in curly braces. as far as I know, JSON uses nearly the exact same syntax for defining an object in Javascript, so that may be your problem.




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

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

Which looks better?

Also, Colorscheme thread.


11 posts and 4 images omitted. Click Reply to view.
>>
Nattack 14/09/29(Mon)00:54 No. 4592

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


>>
Not+A+Douche 14/10/05(Sun)20:09 No. 4597

There is a setup script in the TARbell.


>>
Not+A+Douche 14/10/05(Sun)20:10 No. 4599

sorry wrong post




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

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.


>>
Not+A+Douche 14/10/05(Sun)20:09 No. 4598

there is a setup script in the TARbell




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

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

>>4593
I realy like this idea sir. Take my bump




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

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

Source code rate thread?

Ill start.

https://github.com/BenevolentCryptopunk/TKchat


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

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

challenge accepted
https://github.com/roberttomsons/YOLOSWAG




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

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

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

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




Delete post []
Password  
Report post
Reason