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

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

There's a new /777/ up, it's /gardening/ 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.

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

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?

Neckbearded Basement Dweller 17/07/30(Sun)05:44 No. 5057

Unless she is specifically trying to learn Front-End Web Development with Front-End Frameworks, I'd recommend trying to get her to switch.

Python in general is a much easier more intuitive first language, and if we wants to do WebDev, the Flask framework makes it very easy. Once she is comfortable with Flask, HTML, and CSS, going into JavaScript, Front-End or Server End will be generally much easier.

Neckbearded Basement Dweller 17/08/31(Thu)15:35 No. 5070

fuck no

Neckbearded Basement Dweller 17/10/19(Thu)15:15 No. 5078

No, let her be comfortable in C-syntax instead of using Python.

Neckbearded Basement Dweller 17/07/28(Fri)10:04 No. 5056 [Reply]

File 150122907045.jpg - (2.47KB , 135x100 , pp.jpg )

Hi, /pr. I'm learning Scala and I want challenges to implement in this language. What do you guys suggest?

Neckbearded Basement Dweller 17/10/15(Sun)17:52 No. 5076

Fuck, this board is dead.

COBOL Neckbearded Basement Dweller 17/05/17(Wed)19:51 No. 5042 [Reply]

File 149504350023.jpg - (8.86KB , 300x108 , Cobol.jpg )

Hi. When I was in university I worked for a short time by using COBOL, I only learned how to read and write into a .txt file by using this language, and now I want to go deeper with that.
So I found an online lesson of this language and it is said that I have to download the IDE Net Express 5.1 before starting. But this IDE is free for only 30 days (and the link is dead, I didn't search a other link yet).

So my very simple question is :
Do you know a other good IDE for COBOL that is free or I have to get a cracked version of Net Express 5.1 ?

Thanks in advance for your respond.

Neckbearded Basement Dweller 17/06/27(Tue)06:08 No. 5046

write in terminal

Neckbearded Basement Dweller 17/08/16(Wed)05:58 No. 5061 [Reply]

File 150285589835.jpg - (9.09MB , 3800x5244 , jasmine4.jpg )

results.Sort((g1, g2) => g2.depth.CompareTo(g1.depth));

Can someone explain to me what the hell this C# does?

results is a System.Collections.Generic.List

It's some kind of interface shortcut I guess? But what is => and why write it like that, does it save CPU cycles or just time for the coder himself?

1 post omitted. Click Reply to view.
Neckbearded Basement Dweller 17/08/18(Fri)05:06 No. 5065

Darn, the formatting got completely fucked. Oh, well.

Nattack!upUGcHlgU2 17/08/18(Fri)10:55 No. 5066


Here bud

Function currying and lambdas combine to make a thing called Streams (as my college puts it anyway), they are not quite the same as a filestream, however.

It's a great thing to learn, a bit tricky at first but can eliminate the need for complicated nested loops with slightly less complicated nested lambdas.

Neckbearded Basement Dweller 17/09/04(Mon)00:29 No. 5071

File 150447779632.jpg - (181.57KB , 650x922 , jasmine2.jpg )

Thanks for explaining! I think I'll need to do a bit more research on lambdas before I grasp them.

Neckbearded Basement Dweller 17/03/17(Fri)15:37 No. 5001 [Reply]

File 148976143896.jpg - (140.76KB , 610x581 , coq-noir.jpg )

I just failed a job application over a bizzfuzz. Please tell me what I did wrong.

> First, I think, this dickhead wants me to just fart out a line of Haskell in two seconds. Well, no, that's not what this job is about
> Started with a specification in Atelier B just to show that I can make trains work
> After writing the specification in B-Method, I went into Coq for a nifty proof
> I wrote all this using Acme with a 20 year old 3-button that I only save for special interviews
> My Coq proof proves, I extract the proof to Haskell. Then for shits and giggles, I show this clown why dependent types are essential for string-out by rewriting it in Idris
> I try to run it and it crashes. Fucking Idris 0.99 whatever no problem
> Turns out one of my types was a character off. Quick save, I just started talking about how I would have done it in CML instead if I wasn't crunched for time, and that I did it in peano numbers over the fibonacci sequence
> It compiles. Success! Wait, but this needs a graph.
> An hour of MATLAB later and I have something truly beautiful... a 5d graph of fizz and buzz, and it's only like 3mb. I'm proud as shit, I've been working my ass off for the past three hours
> "Do you know fucking javascript? It's a porn ad you idiot"

Didn't get the job. What the hell is wrong wrong with people?

Neckbearded Basement Dweller 17/03/20(Mon)18:48 No. 5007

Had a good laugh 6/10

Neckbearded Basement Dweller 17/04/11(Tue)05:42 No. 5038

I'm sorry to hear that.

You'll do better next time.

Neckbearded Basement Dweller 17/04/08(Sat)10:39 No. 5036 [Reply]

Hey /pr/ first time getting into programming a debug mode for brogue and I'm gonna learn to do some miscellaneous programming, but I want to make brogue into a debug form, but when I try to do so, I get this:

||=== Build: Debug in Brogue (compiler: GNU GCC Compiler) ===|
C:\Users\Zenheart47981\Desktop\brogue debug folder\Brogue-windows-v1.7.4\Brogue-windows-v1.7.4\Brogue Source\PlatformCode\main.c||In function 'main':|
C:\Users\Zenheart47981\Desktop\brogue debug folder\Brogue-windows-v1.7.4\Brogue-windows-v1.7.4\Brogue Source\PlatformCode\main.c|77|error: 'cursesConsole' undeclared (first use in this function)|
C:\Users\Zenheart47981\Desktop\brogue debug folder\Brogue-windows-v1.7.4\Brogue-windows-v1.7.4\Brogue Source\PlatformCode\main.c|77|note: each undeclared identifier is reported only once for each function it appears in|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
||=== Run: Debug in Brogue (compiler: GNU GCC Compiler) ===|

The curses console is undeclared, but how do I declare it?

Neckbearded Basement Dweller 17/04/09(Sun)06:20 No. 5037


Have you looked specifically in all files you've imported?

When I first attempted to do this on my own I get a different error, cursesConsole is undeclared, you have to declare it in a specific file?

Have you found any references for cursesConsole in different files?

Add this in codeblocks:

extern struct brogueConsole cursesConsole; in file platform.h.

i need tips Neckbearded Basement Dweller 16/10/30(Sun)04:53 No. 4948 [Reply]

File 147779958931.png - (50.05KB , 1116x1086 , Irish boy.png )

Hi /pr/ i need some advice for creating my own chan board

Neckbearded Basement Dweller 16/10/30(Sun)06:14 No. 4949

Well I would start with getting what they are called correct.

Pick up, uh, php, python, perhaps some java script.

Neckbearded Basement Dweller 17/02/19(Sun)13:13 No. 4991

So what makes your chan different to other chans? Are you bringing anything new to the table?

Neckbearded Basement Dweller 17/03/17(Fri)15:42 No. 5003

Sperg out and try to make solar powered weatherproof server repeater boxes, like the guy who wanted to start spacechan.

Learning Ruby Neckbearded Basement Dweller 15/12/17(Thu)00:12 No. 4835 [Reply]

File 145030753443.png - (88.79KB , 959x833 , ruby.png )

so, I am going to start learning ruby because I am a basement dwelling neck beard and I have no life.

So, I figure I might as well learn how to program and thought ruby would be a good place to start.

What are some staples I should know about ruby and programming in general, really?

7 posts and 1 image omitted. Click Reply to view.
Neckbearded Basement Dweller 16/11/07(Mon)00:13 No. 4958


also, Django rules

Neckbearded Basement Dweller 17/03/11(Sat)08:09 No. 4994

python is better than ruby

Neckbearded Basement Dweller 17/03/17(Fri)15:27 No. 5000

AFAIK "Learn Ruby The Hard Way" is still free, and not only is it the one good thing that joker wrote, it's also the best thing he did. Which is why he wrote it first, and then moved on to things he didn't understand as well... which is almost poetic, if you like bad poetry.

LRTHW works, though, and I'd suggest starting there, if you're dead-set on ruby. It's ~slightly~ easier than Python, but I'd really recommend py at this point. It's more applicable; frameworks built around Ruby are worth learning if you know jack shit about MVE or whatever, Python will inevitably lead to you checking out the differenced between 3 and 2.7 and goes right into pentesting. So idk man, it's blub, but it's a good blub to help you get into learning how languages work.

Neckbearded Basement Dweller 17/03/11(Sat)08:48 No. 4996 [Reply]

File background.css - (402B )

when paired with a html file this css file will make a background

Neckbearded Basement Dweller 17/03/11(Sat)08:51 No. 4997

correction it will make a purple background

Neckbearded Basement Dweller 17/03/11(Sat)08:47 No. 4995 [Reply]

This css file will make a purple background when paired with a html.

Delete post []
Report post