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

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

There's a new /777/ up, it's /selfhelp/ - You're Pathetic, We're Pathetic, We Can Do This! Check it out. Suggest new /777/s here.

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.


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




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.


113 posts and 87 images omitted. Click Reply to view.
>>
Nattajerk 15/03/20(Fri)17:28 No. 4713

>>4712
CHM files are the worst offenders. PDF is nice, though it often has the problem of being large if they're not properly made. There's a few books I want to post but they're a good 50-200MB in size




show urself and find a bug Neckbearded Basement Dweller 15/04/24(Fri)10:24 No. 4728 [Reply]
4728

File 142986389971.jpg - (438.23KB , 2000x1000 , bug.jpg )

Find da bug!

http://pastebin.com/dKm2G2XV


>>
find bugs in popular open-source projects Neckbearded Basement Dweller 15/04/25(Sat)11:53 No. 4729

Authors of PVS-Studio static code analyzers offer programmers to test their sight and to try finding errors in C/C++ code fragments. https://software.intel.com/en-us/blogs/2015/04/24/lets-play-a-game-find-bugs-in-popular-open-source-projects




Neckbearded Basement Dweller 14/07/03(Thu)05:32 No. 4501 [Reply]
4501

File 140435837030.png - (141.51KB , 1178x583 , SDFDSFSDFSDF.png )

This author is really starting to piss me off. I paid 15 dollars for this shit, and I think I have picked out two huge errors he has made. Book is Java 7 for Absolute Beginners, by Jay Bryant.

First example:
On page 79, he says that

int a = 0;
int b = 1;
String s = "s";
String sToo = "s";
System.out.println(a == b);
System.out.println(s == sToo);

will generate the results "true" and "false" respectively. Eclipse begs to differ. Here's what it says:

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


8 posts and 3 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 15/02/26(Thu)23:54 No. 4700

>>4539
s==sToo because Java has references instead of pointers. When you make a new String(), then you create a different memory location. It's confusing as all hell.


>>
Nattajerk 15/03/04(Wed)22:29 No. 4702

i tend to get book reviews long before i buy a book these days, after being stung by C++ Primer Plus and Learning PHP & MySQL before, not even the animal books are safe from bad authors.

doing your homework requires doing your homework to do your homework, it's ridiculous.


>>
4503 inter 15/04/22(Wed)23:04 No. 4727





Iffy vocational school Neckbearded Basement Dweller 15/01/15(Thu)20:03 No. 4672 [Reply]
4672

File 142134860082.jpg - (19.80KB , 364x329 , 1365193232_Guy-with-Question-Mark-over-his-headFot.jpg )

I'm attending a one-year training in COBOL. So far, I've seen these alarming signs of varying importance:

*There is these mandatory exercises. But you can pass a course despite not having made them all. The general modus seems to be dragging people trough the education so that they can get their tax money at the end of the spring semester.

*There is no paper towels in the dining room nor the toilets. Despite our complaints.

*We had a week with a horrible sales pitch with a representative from IBM. z/OS and stuff. He was knowledgeable, but he was the worst teacher ever. And of course a few megabrains did catch everything he said. But not the most of us.

*This education will be crowned with a 2-month period of an internship. But the school had only some 15-20 places earmarked for us. Then a few places disappeared, because one of the banks has decided to move all the COBOL-development to Balticum. Then a few places will be taken by children to people working at these banks.

*Applying for internship will be as if you was applying for a real job. So the last week before christmas there was this little course on how to promote ourselves. One of the panaceas suggested was LinkedIn, yeah THAT LinkedIn, THAT spam-engine.

So what do you think? Am I only training for unemployment?


>>
Neckbearded Basement Dweller 15/01/16(Fri)04:44 No. 4673

There's supposedly a lot of legacy COBOL code that isn't going anywhere. Get in touch with someone who works where you want to work, then get a job there.


>>
Neckbearded Basement Dweller 15/04/17(Fri)21:54 No. 4726

For now, COBOL is very sought-after, because lots of shit is programmed in COBOL, and the old geezers who are proficient in it are dying out. So for a decade or so, I'd say you're set.

I strongly suggest you learn some more modern programming languages though, too.




writting program Ali 15/03/09(Mon)21:26 No. 4705 [Reply]
4705

File CENG112_Lab2.pdf - (356.25KB )

can you write this program


>>
Neckbearded Basement Dweller 15/03/09(Mon)21:47 No. 4706

We're not here to do your homework for you, instead, tell us the problem you're having that prevents you from doing it yourself.


>>
Neckbearded Basement Dweller 15/03/20(Fri)20:26 No. 4714

with what should one even write this with ?


>>
Person 15/04/07(Tue)10:58 No. 4723

Yep, I can. Why do you ask?




take the international OOP TEST JAVA MexicanRedneck 15/03/26(Thu)03:50 No. 4721 [Reply]
4721

File 14273382427.jpg - (1.48MB , 3264x2448 , IMG_20150325_085920 - Copy.jpg )

although this exam is in Spanish and in java it should be about the same in some programming languages. here Google translate is your friend. Good luck. serves as a good learning tool (collage exam unit 3) . (theme inheritance)


>>
Nattajerk 15/03/27(Fri)08:50 No. 4722

do you have a link? or is that the test in the image. it's a bit blurry.




Neckbearded Basement Dweller 15/03/22(Sun)21:37 No. 4715 [Reply]
4715

File 142705664858.png - (8.89KB , 600x523 , mono-logo.png )

Java, C# or F# for my new project?

It's a small project but not too small. I master none of them but can put my shit together pretty well with Java. Anyways I don't mind learning a new language, will be the first one in years (not counting interpreted ones) which is always a good thing.

Also, is Visual Studio + Blend a good thing or a bad thing?


1 post omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 15/03/23(Mon)00:14 No. 4718

>>4716

Well, as I said it's a small project so it does what basic programs do: it takes information out of databases, make not too complex operations with them, needs extensive external input but for a few sources and peripherals, update databases, create new ones, use some files too to store certain kind of info (mostly current user configurations and states) and uses a big enough GUI.

Nothing special.


>>
Neckbearded Basement Dweller 15/03/23(Mon)20:02 No. 4719

C# might be easiest way. Easy GUI editor,friendly dataset,
you can use WPF for GUI, microsoft will support this at least 10 years or more after win10


>>
Neckbearded Basement Dweller 15/03/23(Mon)23:01 No. 4720

>>4719

Now that's something useful.

Finally I've decided to delay at least a week the writing of the first line of code because my interest on F# has grew enough to take a step in.

I'll probably do as you said, anyways, and make it in C#, which seems much more reliable known that I can already code Java.

But F# really tickled my apetite for learning something new and that's something uncanny since... lots of time.

As for WPF, thanks, I was looking for something Blend and didn't know where to start. All this shit gets rusty fucking fast.




phk on how to sabotage everything Neckbearded Basement Dweller 14/04/12(Sat)15:42 No. 4397 [Reply]
4397

File 139731017820.jpg - (43.97KB , 600x400 , Behj8RUCYAAR42X.jpg )

Talk by Poul-Henning Kamp (FreeBSD) @ FOSDEM '14

- he covers how open source projects are sabotaged
- how shit is distracted purposely
- how NSA shills can sneak in patches
- how NSA can shutdown privacy projects with patent trolling
- how Skype was likely bought by the NSA thru proxy
- how totally fucked OpenSSL is
- how totally fucked Ipv6 is
- how totally fucked DNSSEC is

http://youtu.be/fwcl17Q0bpk


8 posts and 3 images omitted. Click Reply to view.
>>
GHØST 14/04/26(Sat)00:25 No. 4425

>>4405

Sadly, Yes this is true. They have fully cracked the Tor network and now using reverse machanics to get users that are using tor network for hitman, drug traffic, child porn, etc. The best example would be Silk Road how in no time after the arrest of its owner it relaunched.. in reality.. it was a trap being runned by a high lv agentcy we are thinking CIA cause it has there stank all over it.. but we are still unsure, but since its relaunch many silkroad members has secretly been getting arrested... ---GHØST(Anonymous)


>>
Neckbearded Basement Dweller 15/01/01(Thu)22:13 No. 4662

>>4397 nice one, OP. haven't seen that yet.

>>4398 you can use jitsi instead of skype or any other tool supporting ZRTP.

>>4425 not sure if idiot or troll. anyway, there are other darknets so just use those if you think tor is compromised.


>>
Neckbearded Basement Dweller 15/03/20(Fri)16:55 No. 4711

>>4405
>As a matter of fact i was watching a youtube video and it said the NSA has fully cracked TOR
The problem is that it's easy to uncover yourself through your browsing habits when using TOR if you don't know what you're doing.
Was this video by a fat screaming Texan, by any chance?




Neckbearded Basement Dweller 15/03/19(Thu)11:20 No. 4707 [Reply]
4707

File 142676041448.png - (194.51KB , 1920x1080 , sequention.png )

Hey guys,

I am trying to make a sequention diagram out of my class diagram.

I have never made a sequention diagram, all I know is that I am working in the wrong order.


This is what I currently have, do you guys have any pointers and or tips on how to progress.


>>
Neckbearded Basement Dweller 15/03/19(Thu)11:21 No. 4708

I could rewrite it in english if anybody would like that.


>>
Neckbearded Basement Dweller 15/03/19(Thu)12:09 No. 4709

I have 2 players, playing a game of 4 in a row against eacht. I have a reactToDoTurn() but I dont know how to place it in my diagram, do I have to make 2 seperate questions, or just 1 as player1 and 2 are the same object.


>>
Nattajerk 15/03/19(Thu)19:34 No. 4710

That looks more like a class diagram rather than a sequence diagram.

I don't really know UML (i know nothing of it) but from the look of it there isn't too much to know - its basically a flowchart

In this case I think every class would be set side by side, below them would be a stem - you would draw on the stem the flow the program would make. probably labelled with each function call.

I'm not entirely sure, that's just an 'at a glance' observation




Delete post []
Password  
Report post
Reason