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

[Return]
Posting mode: Reply
  1.   (reply to 3818)
  2. (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 427 unique user posts. View catalog

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

We are in the process of fixing long-standing bugs with the thread reader. This will probably cause more bugs for a short period of time. Buckle up.

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.

Newbie Thread patchouli!!SyAQpmZGyw 13/05/26(Sun)19:31 No. 3818 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)

Java:
http://www.learnjavaonline.org/
http://www.java-gaming.org/

Python:
http://learnpythonthehardway.org/
http://swaroopch.com/notes/Python_en-Preface/
http://www.greenteapress.com/thinkpython/thinkpython.html
http://docs.python.org/2/tutorial/index.html
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/

C/C++:
http://beej.us/guide/bgnet/
http://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628

Web Scripting:
http://diveintohtml5.info/
http://www.tutorialspoint.com/perl/perl_cgi.htm
https://developer.mozilla.org/en-US/docs
http://www.w3.org/

*nix:
http://www.linuxmanpages.com/
http://www.ee.surrey.ac.uk/Teaching/Unix/

Bash:
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html


>>
Neckbearded Basement Dweller 13/06/29(Sat)21:43 No. 3930

Okay, guess I'll be the first newfag to ask something in this thread.

How long would it take to learn Java to an intermediate/upper intermediate level and where do I begin?

I was supposed to learn it in the uni but the guy teaching us was utter shit. He hasn't programmed in around a decade, from his own admission. So now I have to take this shit into my own hands.


>>
Nattajerk 13/06/30(Sun)00:48 No. 3931

>>3930
depends on how much underlying experience you may have. Java isnt that hard to learn, though, so I would say you could get the basics out of the way in as little as 3 weeks if you study hard.

getting to the intermediate level is easy, really - advanced? a few years and several languages. you cant really learn it without actually coding though. setting up assignments for yourself (by a book or otherwise) would be a good way to get started


>>
Neckbearded Basement Dweller 13/06/30(Sun)01:25 No. 3932

>>3931
Actually, would you recommend any exercise books?

I've always had a hard time finding good exercises.


>>
patchouli!!SyAQpmZGyw 13/07/01(Mon)02:55 No. 3934

>>3932
http://www.ntu.edu.sg/home/ehchua/programming/java/J2a_BasicsExercises.html

I like these, good for beginning. For future practice, you can choose a random algorithm from: http://en.wikipedia.org/wiki/List_of_algorithms, and implement that.


>>
patchouli!!SyAQpmZGyw 13/07/01(Mon)04:47 No. 3936

Also, if you haven't seen this already, try http://projecteuler.net/problem=2 .


>>
Neckbearded Basement Dweller 13/07/02(Tue)00:53 No. 3938

>>3936
Alright, thanks a lot. I really hope I can make some progress over the summer.


>>
Neckbearded Basement Dweller 13/07/17(Wed)20:10 No. 3995

I might as well contribute
I hope this is not taken as spam
http://it-ebooks.info/book/372/
^Head First Programming, for the absolute n00bs.
I learned java through a head first book (Can't find the link right now) as my first language. It was very complete and newbie friendly.
Also check that entire website, IT ebooks, there's lots of mterial


>>
Neckbearded Basement Dweller 13/08/03(Sat)04:16 No. 4034

Just out of curiosity since I figure you guys may know best, which 2 languages should I learn to guarantee me a job in the field? And how much math do I need to know?

I really just need employment.


>>
patchouli!!SyAQpmZGyw 13/08/04(Sun)06:33 No. 4035

>>4034
!DISCLAIMER: I AM NOT AN EMPLOYER!

I would learn for the sake of learning computer programming(assuming you have never done this type of thing before). As far as I know, there no languages that grant guaranteed entry into the job market.

Just program a <b>LOT</b> and find your niche. From my experience, employers like someone who know what they are doing.

Then again, you most likely are not going to find a job programming in something like brainf*ck, so make sure to get good in a popular language like Java or C.


>>
Neckbearded Basement Dweller 13/08/20(Tue)20:41 No. 4064

>>4035
I'd say, employers want someone, who knows something their team currently does not. That's because good employers are always looking for fields to expand to. They also appreciate if the applicant has skillset relevant to what they are doing at the moment, but esoteric knowledge is a big plus and may open a temporary position (for first) for single project's length if they are further in that consideration, on receiving/sending offers level.


>>
Neckbearded Basement Dweller 13/09/10(Tue)05:52 No. 4107
4107

File 137878512831.jpg - (24.75KB , 480x334 , s.jpg )

>>3818
>http://www.learnjavaonline.org/
That site sucks balls. The challenges are poorly written and do not reflect what the expected output is. I would not recommend it. I just went through it today to brush up and holyshit I regret everything!


>>
Intruder 13/10/03(Thu)19:58 No. 4144

>>3818
Hai.
I'm looking for some good tutorials on Qt and QML. I have some programming experience, mostly Java.


>>
Neckbearded Basement Dweller 13/11/22(Fri)18:39 No. 4221

Ultra n0b question:
I have to read data from an xml, and arrange it to k pieces of n x m matrices, then get it to a pdf ready for printing, optimized for minimum page use.
The first one is trivial, however, I cannot use tex as a dependency (nor anything else, the sw must be a standalone executable, and should work on any standard installation of Windows - java can be used, but no python, or script languages), and depending on the input size, the output can occupy very large amount of memory.
Could anyone help me in a Java solution, or if that cannot be done, then C* (C, C++, C#, C#.NET - .NET version has to be compatible with WinXP) solution?
(I know, I'd be done 6*10^23 times if I used either python or php)


>>
Neckbearded Basement Dweller 13/12/29(Sun)03:44 No. 4262

What is the code source of Java's Math.random() function? I've used google to no avail.


>>
Neckbearded Basement Dweller 14/01/03(Fri)08:26 No. 4266

>>4262
Random rnd = randomNumberGenerator;
if (rnd == null) rnd = initRNG();
return rnd.nextDouble();


>>
Neckbearded Basement Dweller 14/01/23(Thu)00:39 No. 4278
4278

File 139043395733.png - (5.17KB , 318x315 , 1379624574005.png )

stupid question here.
I want to make my own roguelike (just for fun in my spare time) and I'll most likely use this tutorial here: http://www.roguebasin.com/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod so, what python tutorial and how much should I learn before I get down to business? note, that I have barely even seen code in my life


>>
Neckbearded Basement Dweller 14/01/23(Thu)03:43 No. 4279

>>4278
The best way to learn is just to do. It looks like that tutorial starts off pretty basic. If you haven't already, download Python, there's a great amount of documentation on python at python.org including a beginning sort of tutorial.


>>
Neckbearded Basement Dweller 14/01/23(Thu)13:41 No. 4280

>>4279
will do, thanks


>>
Neckbearded Basement Dweller 14/04/25(Fri)20:26 No. 4423

How do I get the latest version of a git project without committing my changes ?


>>
Neckbearded Basement Dweller 14/04/28(Mon)02:31 No. 4426

>>4262
this
>>4266
And
private static synchronized void initRNG() {
if (randomNumberGenerator == null)
randomNumberGenerator = new Random();
}

And

public double nextDouble() {
return (((long)(next(26)) << 27) + next(27))
/ (double)(1L << 53);
}
Where next(n) returns a (48-n) bits long pseudo-random number.
The pseudocode algo for next(n) is :
new = (old * 25214903917 + 11) % (2 exp 48);
old = new;
return new >>> (48-n)

Also, if you want the algo for generating pseudo-random integers, check :
http://en.wikipedia.org/wiki/Linear_congruential_generator

And for the Java source code :
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/Math.java

Also, the Holy Grail of PRNGs is nowadays the Mersenne twister.


>>
Neckbearded Basement Dweller 14/09/05(Fri)04:24 No. 4577
4577

File 140988387319.jpg - (78.33KB , 720x643 , Tatjana_van_Vark_machine_rotors.jpg )

I have one project were I need porgramming and nothing else.
I want to make my own rotor machine, like the enigma but different.

What language should I learn for this? Most cipher simulators I found online are written in javascript, should I pick that up?


>>
Neckbearded Basement Dweller 14/09/07(Sun)00:46 No. 4579
4579

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

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


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

This guy used scheme to deploy adware and embedded it as a scripting language http://philosecurity.org/2009/01/12/interview-with-an-adware-author so it's still used today. Here's a recent research project written in Racket (scheme) for a shell that uses mandatory access controls (MAC) http://shill.seas.harvard.edu/ that was timely released during the Bash 'shellshock' bug shitstorm last week.

If you want to perform actual magic then do SICM, Structural Interpretation of Classical Mechanics which is Physics using Scheme. Book is taught Graduate level to students at MIT http://groups.csail.mit.edu/mac/users/gjs/6946/index.html but you have to build your math up to it doing Differential Equations http://ocw.mit.edu/courses/mathematics/18-03-differential-equations-spring-2010/, and taking Classical Mech http://theoreticalminimum.com/courses/classical-mechanics/2011/fall


>>
Neckbearded Basement Dweller 15/04/10(Fri)08:25 No. 4725

Little book of semaphores is great for any concurrent problem

http://www.greenteapress.com/semaphores/downey08semaphores.pdf


>>
Neckbearded Basement Dweller 15/08/04(Tue)13:58 No. 4777
4777

File 143868952341.jpg - (115.24KB , 1400x1200 , red-onions1.jpg )

Here's some perl learnings

Programming PERL, 4th edition
http://www.reedbushey.com/69Programming%20Perl%204th%20Edition.pdf

Learning PERL, 5th edition
http://www.e-reading.club/bookreader.php/138785/Phoenix_-_Learning_Perl,_5th_Edition.pdf


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


>>
Neckbearded Basement Dweller 17/02/07(Tue)20:48 No. 4987
4987

File 148649690940.jpg - (76.13KB , 728x514 , 1411622522143.jpg )

I just started learning programming with C as my first language.
Where can I get my baby programs corrected and criticized? I'm running into some errors I still can't understand


>>
Neckbearded Basement Dweller 17/06/17(Sat)07:20 No. 5045

Good documentation/books/online courses for a C# Unity beginner? I've got some basic experience in JS and most of the stuff i've read for unity fails to explain how anything works.


>>
Neckbearded Basement Dweller 18/06/21(Thu)04:54 No. 5120

>>5045

Seconded. I’m confident I grasp the basic logic of programming, but I couldn’t tell you what a double colon does. Apart from giving me more shit than I can handle.

Unity resources seem pretty light on explaining relation of raw language to the engine, and a lot seem to focus on getting you to parrot a bunch of alien lines of hysterically punctuated English.
Couple this with the with the begginner’s view on programming - looking from the outside in - it’s hard to figure out where to go to find those baby-step tutorials. You know, those ones that list all those functional rules upfront?


>>
Neckbearded Basement Dweller 18/11/23(Fri)15:24 No. 5158

>>4987
In my opinion, C is a bit complex for a first language... You should first try a language like Python: it's SUPER easy and it has a lot of features.


>>
Neckbearded Basement Dweller 19/03/12(Tue)06:48 No. 5235

are you telling me that a programming language has a lot of features?


>>
what?? benja 19/09/23(Mon)02:56 No. 5309

I really hope no one is really considering using codeblocks.org for IDE... there are much better ones out there. Heck I for basics it would be better to use visual studios for C/C++ and C#.


>>
Neckbearded Basement Dweller 19/12/19(Thu)01:09 No. 5342

Somebody please tell me why is there are emacs on op but not vim?


>>
Neckbearded Basement Dweller 20/01/08(Wed)05:13 No. 5344

>>4596
Gold


>>
Neckbearded Basement Dweller 20/06/12(Fri)23:30 No. 5387

fesfsf


>>
Visitorial 20/07/10(Fri)22:37 No. 5394
5394

File 15944134296.jpg - (86.27KB , 480x640 , awbddunrx4x41.jpg )

In programming, as in dress, style is everything.


>>
Neckbearded Basement Dweller 20/07/13(Mon)08:04 No. 5395

The cherno have some good vids on c++.


>>
Neckbearded Basement Dweller 20/07/21(Tue)08:19 No. 5398
5398

File 159531233513.gif - (1.25MB , 300x225 , 1.gif )

This is a where to begin question-

I'm looking for the source code for mfisn3(iirc), whatever the latest was before the site 404ed. Someone has to have it...


>>
Neckbearded Basement Dweller 21/05/10(Mon)01:43 No. 5461

>>3818
Codeblocks is shitty at compiling C and C++ so you shouldn't use it. Simply defining a function that has a variable inside it and returns it, and then printing that variable outside the function, it fails to compile.

Visual Studio has a better compiler. Use that instead.


>>
Neckbearded Basement Dweller 21/09/28(Tue)22:34 No. 5483

Hi, i need help. I've started studying python through a course, and dropped the course(idk why, i just change it to books), but people began suggesting me shit and i change the books sometimes, i've been through this book mentioned by the OP, i've been through head's first programming, and more two or three books, i didnt finished them, because people suggesting me shit. I even started "The C programming language", it was confusing as fuck, since i dont have any background on programming.
I will not follow any suggestions anymore, but anyone can show me the fucking way? Now, i can't even know where i stopped, since in this moment i'm studying web design, to have some background on html and css, but in programming, i still dont have a clue. Should i go back all the away to the course?


>>
Neckbearded Basement Dweller 22/05/26(Thu)17:13 No. 5555

>>5045
To learn the language, read Microsoft Visual C# step by step by John Sharp.

>>5461
Visual Studio has terrible C compiler. You should use Clang or something instead. Even Code::Blocks is better.

>>5483
>python
I recommend you start with either Python or Ruby. I recommend you read Learning Python by Mark Lutz and watch https://www.youtube.com/watch?v=rfscVS0vtbw

>The C programming language
It was written for programmers and it is outdated since it won't teach you any new stuff.


>>
Neckbearded Basement Dweller 22/05/27(Fri)16:34 No. 5556

>>5461
VS Code for the modern learner.


>>
Neckbearded Basement Dweller 22/05/27(Fri)18:05 No. 5557

>>5556
VSCodium to escape the botnet!
https://vscodium.com/


>>
Neckbearded Basement Dweller 22/11/14(Mon)16:16 No. 5586

biiiiutiful, thx you


>>
anon 24/02/19(Mon)10:54 No. 5672

>>3818
cool



[Return] [Entire Thread] [Last 50 posts]



Delete post []
Password  
Report post
Reason