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

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

There's a new /777/ up, it's /Trump/ - Make America Great Again! 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.

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.


120 posts and 82 images omitted. Click Reply to view.
>>
Programming Elixir Yaren666 16/12/04(Sun)23:17 No. 4974

Does anyone have "Programming in Elixir"?

https://pragprog.com/book/elixir/programming-elixir




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.


25 posts and 6 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 15/09/22(Tue)01:40 No. 4807

Hello all. I'm looking for some resources on learning XML.

My intent is to make modifications to an existing freeware program (Anathema character generator) and I've done as much as I can with what I've learned from first-hand experimentation. Also, several files can't be read by notepad/wordpad, so I can't even begin to look at them.

XML for dummies or similar would be fantastic, as well as knowing what sort of program I would need to properly read .class files.




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!




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 16/11/28(Mon)20:50 No. 4970 [Reply]
4970

File 14803626017.png - (102.11KB , 800x600 , Untitled.png )

hey /pr/ here are some cool open source games i found.

https://play0ad.com/
http://www.xonotic.org/
https://www.wesnoth.org/

maybe you can use your programming skills to help develop and make these games better.




Assembly Neckbearded Basement Dweller 16/11/24(Thu)11:31 No. 4962 [Reply]
4962

File 147998349749.png - (41.56KB , 604x394 , screenshot-3[1].png )

hey /pr/

I've been learning Unity/C# for a while,
and I want to learn a little assembly, mostly since I like to learn how the computer works and feel I could understand other languages better if I got a look under the hood.
I looked up some stuff online, but I have a few questions:


1. I noticed there are different assembly languages for each CPU architecture, with x64 being able to run x86 code in 32bit mode.
however, I found a code sample that had this at the top:
".586 ;Target processor. Use instructions for Pentium class machines"

does this mean that each processor/processor generation has a different assembly language, or is it just an optimization thing?

2. are there GPU specific assembly languages as well?

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


>>
Neckbearded Basement Dweller 16/11/26(Sat)03:28 No. 4964

1. While each x86 processor is backwards compatible with previous processors, they do have instructions that take advantage of new features. For example, before math co-processors were standard on Pentium era CPUs programmers had to manually detect the presence of a math processor and programs had two code paths, one that took advantage of FPU instructions and one that didnt.
2. No. On modern kernel architectures you do not program the GPU directly. The closest you'll get is NVIDIA's CUDA and similar.
3. Not at all. Unless you are engineering Hard Real Time stuff and some forms of embedded, or you are trying to break systems (i.e. creating NOP sleds etc), a modern programmer will never need asm. Thank allah. Additionally, these days it is really unlikely the average programmer can hand craft asm that is faster then what a compiler can do.


>>
Neckbearded Basement Dweller 16/11/26(Sat)12:10 No. 4965

>>4964
Thanks, great info.
So if I understand correctly x86/x64 asm is mainly useful as a learning tool and for hacking.

How about ARM assembly? would learning it be beneficial for optimizing apps, or hacking together something that couldn't be done otherwise?


>>
Neckbearded Basement Dweller 16/11/28(Mon)08:32 No. 4968

Knowing the Assembly for your target architecture can be useful not so much to write code but to debug it. Sometimes you may find that a crash is only triggered when the application it built with optimizations, and when you look at the debugger, it may only show you the disassembly at the point where the program crashed. Knowing Assembly can help you figure out what's causing the crash.

Knowing Assembly also opens up other possibilities, such as studying executables to figure out how they do what they do (i.e. reverse engineering)

ARM Assembly is exactly as useful as other other Assemblies, for any given application domain.
Personally, being used to x86 and some of its predecessors, I find it rather annoying to use.




SCM Music Player works only on HTTP SonyaM 16/11/26(Sat)12:29 No. 4966 [Reply]
4966

File 148015977565.jpg - (73.49KB , 540x405 , 1480081637982.jpg )

Hello, to see this problem you have to visit my Neocities static website using both protocols (HTTP and HTTPS):

http://strangerkawaiithings.neocities.org/
https://strangerkawaiithings.neocities.org/

Thank you for the help!




Python 3.5 Neckbearded Basement Dweller 16/09/04(Sun)16:50 No. 4934 [Reply]
4934

File 147300060744.png - (5.84KB , 55x55 , icon.png )

Hey, so I installed anaconda in a brand new Linux Mint distro but when I
"spyder --new-instance" it opens spyder 2.7, and I need 3.5 for what I'm doing atm.

Can anyone give me a few pointers?


>>
Neckbearded Basement Dweller 16/09/12(Mon)10:01 No. 4936

void * voidPtr(NULL);
int * intPtr(NULL);
double check(0.00022);
double * dubs(&check);


>>
Neckbearded Basement Dweller 16/11/17(Thu)14:42 No. 4961

>>4936
I see what you did there...

But for real OP, anaconda has this concept of environments. You should make one for each distort of python / toolchain set you might want.

to do that see this stack overflow posting and act accordingly:
http://stackoverflow.com/questions/30492623/using-both-python-2-x-and-python-3-x-in-ipython-notebook




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

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

What programming language should I learn first?


2 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 16/11/03(Thu)07:00 No. 4955

Also: https://7chan.org/pr/res/4156.html


>>
Neckbearded Basement Dweller 16/11/03(Thu)07:39 No. 4956

https://7chan.org/pr/res/4669.html


>>
Not OP 16/11/14(Mon)21:38 No. 4959

>>4954
I'm going to attend college for computer science/software engineering here in about a year, but it's going to be something I enjoy doing, not some horrible desk job that I despise. Really, I'm trying to get into object-oriented, high-functioning langjuages.




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?


5 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 16/10/28(Fri)09:13 No. 4946

>>4940
Sounds legit. What would you say about python?


>>
Neckbearded Basement Dweller 16/11/06(Sun)23:56 No. 4957

>>4888

With this guy.

Ruby is basically just Rails, and gets fuck-all use outside of that.

I'd recommend starting with Python instead


>>
Neckbearded Basement Dweller 16/11/07(Mon)00:13 No. 4958

>>4957

also, Django rules




Delete post []
Password  
Report post
Reason