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

tinyboard kevin 17/05/19(Fri)20:14 No. 5043 [Reply]

Can anyone help me get tinyboard running.
1. I started the http daemon
2. put tinyboard in /srv/www/htdocs
3. installed the php dependancies
4. installed mysql server
5. started mysql service
6. opened
7. nothing happened

Neckbearded Basement Dweller 17/08/15(Tue)21:28 No. 5060

Is the address correct?

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.

How does one learn hacking? Lukas 17/03/15(Wed)23:34 No. 4999 [Reply]

File 14896172853.jpg - (86.42KB , 600x1067 , dbd.jpg )

I have basically none experience with advanced usage of computer whatsoever and O have no idea where to begin. I want to become the ultimate neckbeard.

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.

Linux redhat unleashed 7.2 Neckbearded Basement Dweller 17/02/23(Thu)02:34 No. 4992 [Reply]

File 148781367067.png - (9.40KB , 590x292 , Yuppie Flag.png )

Hey I want to rtfm and I don't have the manual can someone upload it?

How to effectively emulate consoles on PC? FOR EXTREME NOOBS! TheMasterOfAllNoobs 16/11/26(Sat)19:59 No. 4967 [Reply]

File 14801867636.png - (63.17KB , 696x204 , mednafen logo.png )

I am trying to use Mednafen, but it says "generic error" every time I try to run a ROM.

P.S. I will explain better the situation when I get replyed.

Neckbearded Basement Dweller 16/12/03(Sat)05:23 No. 4973

Peaked my interest

Neckbearded Basement Dweller 17/02/12(Sun)19:40 No. 4988

File 148692482240.png - (256.41KB , 576x576 , 76889856744.png )

I haven't encountered this error so I will just outline what I know since I don't have problems. Mednafen has no GUI, meaning you cannot just run the binary. If you are on Windows, you need to drag and drop the ROM(can be archived aka in a .zip file) on top of the Mednafen.exe and it will open up. Linux users can use the terminal, mednafen romname, ez. You can also use an unofficial GUI like https://sourceforge.net/projects/medguireborn/ which even comes with a Windows compiled server executable for hosting online servers. Most settings are controlled in the mednafen-09x.cfg file found in the emulator folder or ~/.mednafen for Linux, this is where you would for example turn off filters or turn off aspect correction making everything stretched if you want that. To bind controls you would use the hotkey, ingame, alt+shift+1, and press each button twice in succession. 1 can be replaced with 2 or 3 or whatever for whichever controller you want. That said I don't know what the fuck this has to do with programming

Neckbearded Basement Dweller 17/02/12(Sun)19:43 No. 4989

Also if it wasn't obvious, Mednafen is more advanced or as I like to call it pointlessly obtuse. I recommend newer users learn to use something like Retroarch unless you specifically want to use the very good online functionality of Mednafen or the primitive but fantastic new support of Sega Saturn (which doesn't have netplay support yet). Oh yeah, RTFM https://mednafen.github.io/documentation/

Delete post []
Report post