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

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

>>5036

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]
4948

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]
4835

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

>>4957

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

>>4835
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]
4996

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]
4992

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]
4967

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
bump


>>
Neckbearded Basement Dweller 17/02/12(Sun)19:40 No. 4988
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/




Someone ever programmed on FORTH? Neckbearded Basement Dweller 17/01/25(Wed)16:40 No. 4983 [Reply]
4983

File 148535884532.jpg - (16.52KB , 480x163 , IMG_20170111_063642.jpg )

I love FORTH, every aspect of it and can't find a modern alternative. What do you think about it?


>>
Neckbearded Basement Dweller 17/01/30(Mon)17:09 No. 4985

finally, someone else who knows about FORTH.


>>
Neckbearded Basement Dweller 17/03/12(Sun)22:50 No. 4998

I think it has a lot of potential. Still learning, want to implement a microkernel of sorts on it.
Does it work well with embedded systems?




Neckbearded Basement Dweller 17/01/10(Tue)06:44 No. 4982 [Reply]
4982

File 148402707222.png - (4.07KB , 200x75 , Musl_libc.png )

Hello great Wizards!

Can we have a musl-libc thread?
Static everything is good, example: sta-li linux (http://sta.li/)
( Small & stable & efficient ) code.




needs advices Neckbearded Basement Dweller 16/11/26(Sat)01:12 No. 4963 [Reply]
4963

File 148011913833.jpg - (350.02KB , 576x720 , 125687572736.jpg )

Okay, I recently switched to Linux... and I'm looking at Qt as an IDE, but I have a bunch of questions:

1) Does anyone have a better suggestion than Qt? I'm not a professional in any sense, I just do this for fun and occasionally for a practical need that I may occasionally have for building my own progs. I've mostly used Basic (several kinds) but I am willing to give other languages a shot from time to time... looking at Python as an alternate lately.

2) What all bits and pieces do I need to make it work? I'm constantly getting surprises when it comes to plugins and other stuff, so I need to have some idea what's involved in simply writing out some code, building a few forms, and the simple task of compiling the damn thing!

3) Can it be used for making games? Frequently, I find it necessary to use a "gaming" language because of the ability to do 3D world rendering, but the only out-of-box lang I've found so far is Blitz3D, which is pretty cool but horribly limited in several other areas. I can add modules, but this seems to be easier in some than others... Irrlicht is my current fave, but if you know of another one that does the same for no cost then I'd love to hear it.

4) Can I compile into Windows-ready *.exe/*.dll files? Linux is great, but Windows is still a thing (sadly), Mac is entirely optional to me as I don't use it.

Also, EVERYTHING must be FREE because I AM BROKE.


1 post omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 16/12/01(Thu)21:53 No. 4971

>>4969
Op here... I'm realizing as I look back at my original post that I probably wasn't very clear about a few things, although you did answer most of my questions pretty well. :)

For that the last question (#4), I should've mentioned that most of my progs are simple items that don't tend to use much outside stuff as a general rule, and therefore shouldn't require any retooling if recompiled for a different OS.

#3 is the sticky point though... I simply use a game engine to do live 3D rendering because it's easier than trying to create bullshit charts or anything else. I can just make some code, crunch some data, render it in a 3D world and mess with it that way. (yeah, im weird) I have experimented with game programming before, and I may give that another whirl soon. But what exactly does Qt have built in it for doing 3D world rendering? Irrlicht is optional to me.


>>
Neckbearded Basement Dweller 16/12/02(Fri)22:39 No. 4972

>>4971
>what exactly does Qt have built in it for doing 3D world rendering?

This looks like a promising place to start: http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html


>>
Neckbearded Basement Dweller 16/12/05(Mon)00:05 No. 4975

>>4972
Pretty basic stuff... looks like something I can use too! Thanks!





Delete post []
Password  
Report post
Reason