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




A New Guy 14/11/05(Wed)02:40 No. 4611 [Reply]
4611

File 141515165046.png - (15.38KB , 370x370 , photo.png )

Hey /pr/!
First time here..
4chan doesn't have a /pr/ which is what brought me here.

I'm looking to start developing android apps. I have a great grasp on anything computer related, dabble in web development and am currently looking to expand my knowledge.

At this point in time I'm running Lubuntu 14.04 with Android Studio installed. I decided to install this as I saw Google was looking to sway away from eclipse and possibly end plugin development.

My question is, where should I start?!

Does anyone have any good sites for tutorials, torrents or video tuts they can link me to?

I've started using CodeAcademy to learn Java but was looking for something that tends to be more specific to what I'm doing (Android Apps).

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


4 posts and 2 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/12/04(Thu)19:11 No. 4630

good sites for tutorials:
youtube ;)
https://www.udemy.com/learn-android-programming-from-scratch-beta/#/


>>
Neckbearded Basement Dweller 14/12/08(Mon)21:47 No. 4639

>>4615
You are wrong, C# is basis for WP development. Any other platform uses whathever they use. Only constant being js for most of cross-platform frameworks.

>>4611
I recommend professional android 4 application development.


>>
Neckbearded Basement Dweller 14/12/18(Thu)03:01 No. 4646

https://7chan.org/pr/res/4611.html#4615 Nope, C# is for Windows programming. Android apps are usually written in Java and iOS in Objective-C (they are moving to Swift though). There might be other languages but those are the common ones




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

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.


21 posts and 2 images omitted. Click Reply to view.
>>
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.


>>
Neckbearded Basement Dweller 14/12/16(Tue)17:15 No. 4645

for the love of god do NOT start java




Neckbearded Basement Dweller 14/02/25(Tue)21:38 No. 4333 [Reply]
4333

File 139336069175.png - (42.26KB , 800x444 , vi-emacs-final.png )

So, programming on GNU/Linux:

Which is best? An IDE, Vim, or Emacs? (Instead of shitposting or flamewarring, you have to give a legitimate reason for your answer and why you like it better than the other options)


20 posts and 3 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/06/18(Wed)06:33 No. 4479

I use gedit but nano works just as good. I never understood what the big deal with vi/vim is, it's too complicated for myself and I only had to use it twice.


>>
Neckbearded Basement Dweller 14/06/18(Wed)06:36 No. 4480

I use nano and gedit. Vim is too complicated for my needs (basic C++ and other things).


>>
Neckbearded Basement Dweller 14/12/15(Mon)23:23 No. 4644

>>4333
It's all preference; you can use any text editor with multiple terminals for compiling/running, or you can use a fullblown IDE. If you want something more GUI-oriented, try Geany.




How bad is it? rayman 14/12/02(Tue)01:39 No. 4625 [Reply]
4625

File iwlmem.c - (1.27KB )

How bad is this piece of code?


4 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/12/07(Sun)20:21 No. 4635

>>4629
windows line endings are a pain in the ass, but when you think about it they do kind of make sense, one to go down a line, another to reset to the first position


>>
Neckbearded Basement Dweller 14/12/08(Mon)18:27 No. 4636

This is an unsafe conversion:
>int addr = &ptr;
What if sizeof(int) < sizeof(&ptr)?
Use intptr_t instead.


>>
Neckbearded Basement Dweller 14/12/11(Thu)08:15 No. 4643

>>4625
fucking terrible




Neckbearded Basement Dweller 14/12/09(Tue)02:47 No. 4641 [Reply]
4641

File 141808962137.jpg - (81.15KB , 519x533 , 1416624224370.jpg )

What types of data should UDP and TCP handle, respectively, in an MMO server backend?


>>
Neckbearded Basement Dweller 14/12/11(Thu)05:36 No. 4642

That should be JSON mate




U w0t Neckbearded Basement Dweller 14/04/24(Thu)07:01 No. 4421 [Reply]

I came across this. What does /pr/ think about systemd? I'm not a huge fan. I like the BSD style shit arch had until this shit came along :|

http://boycottsystemd.org/


2 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/06/08(Sun)15:45 No. 4465

>>4421

I'm fine with init, but I'll probably give systemd a shot.


>>
Neckbearded Basement Dweller 14/12/07(Sun)20:15 No. 4634

>>4463
IMO it's Red Hat trying to "own" the Linux ecosystem (lol conspiracies)

Also fuck Lennart Poettering, he's a humongous cunt and full of shit.

It's all about removing choice. Why else would things start depending specifically on systemd when they worked fine before?

Especially with Red Hat's own projects (PulseAudio, NetworkManager) and now gnome 3. Makes it difficult to use anything else.


>>
Neckbearded Basement Dweller 14/12/09(Tue)01:53 No. 4640
4640

File 141808640133.png - (146.09KB , 600x589 , 1416512802220.png )

Essentially a bunch of ricer retards who don't know shit about fuck whining that somethings finally replacing sysinitv

All thats legit criticism, is Lennart is a fucking faggot and gets blown the fuck out by Linus all the time for shitty code. Whether I like him or not, he's continuously won debates against the likes of the Gentoo devs, forum posts and many violent or rude "debaters" at conferences

but like most things, people who have the most opinions dont know anything, and the less they know, the more opinions they have




Java Beginner Lamoa 14/08/06(Wed)06:17 No. 4541 [Reply]
4541

File 140729862373.jpg - (72.60KB , 500x500 , Front.jpg )

Hi guys, I just discovered /pr/ and I think this is really great. Im a first year I.T. student,and right now we're at Netbeans Java in our programming class. Im really a beginner and before taking college I have no idea about programming but I really like it.
Can you give any tips and advice on how to be a great programmer and how can I improve my logic skills.


1 post omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 14/08/18(Mon)03:42 No. 4566

>>4542
This.

I was in almost exactly the same position as you, OP. Barely finished my BSc.

Now I'm finally going all into it.


>>
Not+A+Douche 14/11/15(Sat)19:15 No. 4619

Just caught my wife still using that program. It has been 2 years


>>
Neckbearded Basement Dweller 14/12/08(Mon)21:34 No. 4638

>>4541
Pratice. Pratice. Pratice.




Getting items from website to app Neckbearded Basement Dweller 14/12/08(Mon)19:08 No. 4637 [Reply]
4637

File 141806210734.jpg - (8.83KB , 843x403 , 164204_10151467305537900_4299705_n.jpg )

Is this a good way to get stuff from a website into your app?

Document doc = Jsoup.parse(html);
List<String> titles = new ArrayList<>();

for( Element element : doc.select("div[class=title]") )
{
titles.add(element.text());
}




Delete post []
Password  
Report post
Reason