There's a new /777/ up, it's /Trump/ -
Make America Great Again! Check it out. Suggest new
Movies & TV 24/7 via Channel7:
.m3u file. Music via
, Structure and Interpretation of Computer Programs.pdf
I heart /pr/
lets start with a book thread. I have some cached learning.
Does anyone have "Programming in Elixir"?
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!
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.
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.
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.
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.
>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
Pretty basic stuff... looks like something I can use too! Thanks!
, 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.
Peaked my interestbump
hey /pr/ here are some cool open source games i found.
maybe you can use your programming skills to help develop and make these games better.
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.
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.
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?
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.
Hello, to see this problem you have to visit my Neocities static website using both protocols (HTTP and HTTPS):
Thank you for the help!
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?
void * voidPtr(NULL);
int * intPtr(NULL);
double * dubs(&check);
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:
What programming language should I learn first?
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.
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?
Sounds legit. What would you say about python?
With this guy.
Ruby is basically just Rails, and gets fuck-all use outside of that.
I'd recommend starting with Python instead
also, Django rules