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


45 posts and 9 images omitted. Click Reply to view.
>>
anon 24/02/19(Mon)10:54 No. 5672

>>3818
cool




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

I heart /pr/

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

This content removed in accordance to a DMCA Takedown Notice filed by PEARSON EDUCATION.


128 posts and 79 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 22/07/17(Sun)17:58 No. 5569

>>4058

https://savannah.nongnu.org/projects/pgubook




Java Noah 17/07/31(Mon)01:09 No. 5058 [Reply]
5058

File 150145619578.jpg - (106.68KB , 1280x768 , background.jpg )

What does /pr/ think of Java? Is it still worth learning?

I want to get into software development and I'm not sure what language to pickup.


11 posts and 3 images omitted. Click Reply to view.
>>
Decimal Error Rounding Neckbearded Basement Dweller 23/04/25(Tue)05:04 No. 5616

>>5058
Quick question about floating/double rounding errors in Java. Teacher tried to explain, but amounted to "it can sometimes round +/- 1 of your smallest units without explanation. Any further clarification possible?

We did a simple cashier problem where we make do full-on braindead and deduct and write out how many of each bill/coin to give the customer back. As he said sometimes it was a penny more/less/exact to the real mathematical price. To his credit he did offer several suggestions to avoid/correct for it.


>>
Neckbearded Basement Dweller 23/04/25(Tue)05:59 No. 5619

>>5616
If I recall correctly, it has something to do with with the internal representation of the double initializing the entire length significant digits and the loss of precision at the end causing a tiny rounding errors at the end that can bubble up. I'm guessing you were instructed to use BigDecimal, or something similar to more accurately handle decimals of specific lengths.


>>
Neckbearded Basement Dweller 23/07/30(Sun)17:10 No. 5644

Still plenty of jobs for java devs, so yes.

I also think it’s a nice language but I’m biased




Neckbearded Basement Dweller 17/07/19(Wed)00:36 No. 5054 [Reply]
5054

File 150041736958.jpg - (23.73KB , 450x300 , armie-hammer-the-social-network_cycgik.jpg )

Friend is learning JavaScript as her first language. Should I stop her?


13 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 20/12/01(Tue)01:33 No. 5433

>>5054
Nothing wrong with Javascript, my first language was some fucking Game Maker shit


>>
Neckbearded Basement Dweller 21/01/29(Fri)22:09 No. 5448

>>5425
Do you have a source for that?


>>
Neckbearded Basement Dweller 21/05/10(Mon)01:49 No. 5462

>>5054
In regards to web development, doing CRUD is not real programming. CRUD is create read update delete.

If you're programming a jobs board, you can create jobs, read them, update a user's CV and personal information, and delete job applications. To code something like that, it's not real programming because it's CRUD.

Get her to make a battleships game using the command line on C, and making a tic tac toe game in C++ using the relevant algorithm where each square is numbered 1-9 and a winning line adds up to 15. If she can do that then she has programming talent.

Programming requires a certain level of problem solving and intuitive thinking, so when programming jobs are hiring, the recruiter aims to negatively filter out the people whose past experience and portfolio consists solely of CRUD projects. Not everyone has that talent.




Neckbearded Basement Dweller 16/11/03(Thu)02:58 No. 4952 [Reply] [Last 50 posts]
4952

File 147813833229.gif - (0.99MB , 250x333 , 1477848410201.gif )

What programming language should I learn first?


52 posts and 3 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 23/12/26(Tue)09:55 No. 5664

Hoon

You'll meet smart people. Like if you'd learned Lisp 40 years ago.


>>
Neckbearded Basement Dweller 24/04/04(Thu)03:59 No. 5681

c


>>
Neckbearded Basement Dweller 24/04/07(Sun)13:16 No. 5682

lisp, no arguments given just a trust me bro statement




html Neckbearded Basement Dweller 23/08/22(Tue)22:36 No. 5648 [Reply]
5648

File 169273658234.png - (4.75KB , 600x517 , html-logo.png )

should I learn html/css? I already know py and some other shit


>>
Neckbearded Basement Dweller 23/08/23(Wed)04:09 No. 5649

If you're going to be building websites, you certainly will need to. Outside of that, there's not too much reason to.


>>
My answer. Neckbearded Basement Dweller 24/02/15(Thu)23:30 No. 5671

You should definitely learn HTML/CSS and JavaScript. Those are important computer programming languages you'll need to learn if you want to dive into web development. Additionally, you can also use Python software frameworks for web development, like Django or Flask.


>>
Neckbearded Basement Dweller 24/04/21(Sun)16:24 No. 5687

>>5671
also if he is interested in security he can use JavaScript to find vulnerabilities https://youtu.be/FTeE3OrTNoA?si=rsYhg90uFCqste4O




Beginner Languages Yeet M. Noice 19/04/03(Wed)16:13 No. 5240 [Reply]

Hey /pr/, what are some beginner languages? I wanna learn how to program, just don't know shit. Also would like a linked lesson thing, but isn't needed.


4 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 19/10/23(Wed)23:46 No. 5324

Go to CodeCombat and play all their games. Seriously.


>>
Neckbearded Basement Dweller 23/04/25(Tue)05:11 No. 5618

>>5240
Would personally recommend Java > Python though I see the benefits of either given the situation. Mainly stems from the abridged (but still present) requirements of syntax in Java. IMHO Python cuts too many corners for the sake of simplicity and it's a much bigger jump from it to other mid/high languages.
Now alternatively as a stepping stone yeah go for it. Scratch (Block) -> Python -> Java, etc.


>>
Neckbearded Basement Dweller 24/04/16(Tue)02:27 No. 5685

Honestly, I recommend *starting* with this book: https://download-mirror.savannah.gnu.org/releases/pgubook/ProgrammingGroundUp-1-0-booksize.pdf

Then moving on to Javascript or Python, depending on how urgently you want a job




Code Thread butter 23/04/05(Wed)23:43 No. 5608 [Reply]
5608

File 168073103377.png - (70.13KB , 694x669 , hmm.png )

Post funny/weird/cool codes, any code u saw that pick your attention and made u want to share:

def my_map(fuck, asses): sex = [] for ass in asses: sex.append(fuck(ass)) return sex


2 posts and 3 images omitted. Click Reply to view.
>>
butter 23/04/06(Thu)00:39 No. 5611


>>5610
now I see, there's something wrong with the [ c o d e ] here, or I am not using it correctly


>>
Neckbearded Basement Dweller 23/06/27(Tue)05:26 No. 5632

>>5611

ok but for real, (cond == true) is way more readable at a glance than (cond)


>>
Neckbearded Basement Dweller 24/04/16(Tue)02:25 No. 5684

>>5632

Depends on how you name your variables.

I find this:

if (you.areGay()) { you.suck(it) }

nicer than:

if (you.areGay() == true) ...




GOPHER G6 Neckbearded Basement Dweller 21/02/02(Tue)13:29 No. 5449 [Reply]
5449

File 161226895719.png - (602.26KB , 1280x624 , rus777b.png )

AND ACCESSORIES:
https://gitlab.com/SSS8555/
1. requests for line ranges
2. CRC32 in requests to prevent sending files in cache
3. transfer size and error codes
5. user filling forms
6. realtime data streaming


1 post and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 21/05/18(Tue)08:02 No. 5467

>>5450

Sounds like an idea for a demo. Would watch.


>>
Neckbearded Basement Dweller 21/06/10(Thu)04:38 No. 5472

>>5450
It looks like she has no mouth.


>>
Neckbearded Basement Dweller 21/09/29(Wed)09:45 No. 5484

You are reimplementing features HTTP already has. Don't make gopherholes, make better web sites.




Join FemSec FemSec 24/03/28(Thu)03:16 No. 5680 [Reply]

Hey! If you're female, male, non-binary, white, black, Asian, gay, straight, republican, democratic, 4channer or Tumblr SJW, we're hiring. For inquiries XMPP at femsec@jab.im. It's okay if you're barely sending emails or if you just launched a social media site with websocket.





Delete post []
Password  
Report post
Reason