[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I need to distract myself. So I'm wondering if anyone
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /r9k/ - ROBOT9001

Thread replies: 74
Thread images: 4
File: programminggirl.jpg (257 KB, 800x600) Image search: [Google]
programminggirl.jpg
257 KB, 800x600
I need to distract myself.
So I'm wondering if anyone needs programming help. Right now. I don't have any standards for how good you are or how necessary your questions are. Just need something to do.
send me an email with your skype or just communicate via mail:
[email protected]

Questions are also accepted in the thread.
>>
What is the best language to start out on?
>>
>>27952009
Imo C, its what I'd have preferred to start with but I'm a C++ dev. Really it's something people bother too much with. I'd say stuff like Java or C# doesn't really have enough of a low level for you to get a good grasp on what you're doing.

Moving between languages is a lot easier after learning your first though.
So just
http://learnpythonthehardway.org/
or whatever.
>>
i used a disposable email to write to you, op
>>
>>27952115
Ended up in spam.
I'l reply.
>>
thanks op i'm grabbing supper and then doing what you advised me to,
here's a bump for you fampai
>>
>>27952009
Are you planning to start now? I could explain stuff for you.
>>
i started learning programming hundreds of times, i have a few neat tutorials i ripped off website but for the life of me i cant bring myself complete anything.

i just end up back on here or playing vidya or watching anime or sleeping and contemplating suicide.

halp
>>
I know how to do for loops and similar commands, but after that I just don't know what to do.
Seems like 90% of all tutorials are just hand holding you through those parts.
>>
>>27952671
Find something you actually want to do. Maybe find something useful.

What languages do you know and how far in are you? What's the last thing you learned.

I think a major issue with copying from websites is that when you look at problems you have to solve yourself you don't really have the tools.

>>27952703
Yes. This is one of the reasons I recommend C. It's a very basic language to begin with. Most languages skip major things because they can. C doesn't because it can't. It's sortof like you're learning math, addition and subtraction. Then you skip multiplication and division. Then they teach you powers. Which really doesn't make much sense withuot knowing multiplication so you're not sure how you can work with it.
When you're taking the rational power of something you're completely lost. You don't have a mental model of what the computer is doing at all so all you can do is try stuff.

If you have someone explain stuff to you it's easier because you can get answers to your questions. No tutorial gets you all the answers.
>>
>>27952778
i started python, currently up to hello world. i grasp the concept, understand everything fully..i just...something inside me tells me its a waste of time. i don't see anything coming from it, i have nothing i want to pursue.i picked up the guitar as a hobby to stop myself from smoking so much. i dont really need another hobby...i think it would be useful to code but i have no problem that only programming can solve that will give me the resolve to actually learn. so i dunno.
>>
>>27952944
I find that problems create themselves when you learn to appreciate that you have them.

Sometimes I just write programs for things that would be faster to do manually. But I enjoy writing a program more.

Hello world isn't particularly far. It doesn't surprise me that you think it's a waste of time. Things go a lot faster when you get further.
>i picked up the guitar as a hobby to stop myself from smoking so much. i dont really need another hobby
Whatever works is great.

If you're dealing with issues and the current situation works don't change it.
>>
Where do you go when you've gone through the motions of learning syntax?
>>
>>27953077
>Where do you go when you've gone through the motions of learning syntax?
Depends on what you want to do. You can find something you want to do. Like write a game for instance (lots of people want that). So generally that means you pick up some library that lets you do GUI/rendering.
You could also be more theoretically focused still and read about agile development, rapid software architecture exploration, Exploratory programming etc. I find that there's a lot of practices you could employ. Just don't be dogmatic. It's one of the things you never get to learn from courses or self-learning really. And it's very useful in helping you make more progress. Which makes things more fun.

I guess you wouldn't be asking if you had a goal. You'd be asking about how to get there rather.
>>
is there such thing as an all purpose language, something that could be run on any platform or even as a script for the web?

i dont wanna be good at a few languages i want to be expert in one.
>>
>>27953446
Javascript I guess. But it's not such a good idea. The only reason I say javascript is because it's the only popularly supported client-side scripting language in browsers.
Other than that most language have wide platform support. C/C++ has the most. But most other languages have wide enough support that I doubt you care beyond that.

I don't think it makes that much sense to base your choice around that. Being a programmer is less about the language and more about how good you are about expressing things. So really if you're learning on your own focus on a language which has good support for what you're interested in doing.

Javascript isn't a bad choice. There's node.js now if you want to write desktop applications. Anything that supports a browser can run whatever you want.
>>
>>27951983
Sent you an email, hoping you can help me famalam.
>>
>>27953446
Unless you want to get stuck using s language that may be obsolete in 20 years, dont. But it wouldn't matter. When you learn programming, youre really learning the logic behind the methods and algorithms. So even if you swore uo and down that you only knew php and had 6 years experience in nothing but php, you could still learn say, c++ in a weekend with a decent book. Thats because youd you just practicing with the same ideas: data containers, searches, sorts, etc.
>>
GIVING OHPEE MORE BUMPERINOS FOR GREAT HELP
>>
>>27954132
No problem. I'm assuming it works since you're not complaining.
>>
>>27954456
well uh, it still takes long, but that's probably due to the ridiculous quantity of files the website has. i'll probably just leave it to run through the night. thank you sempai
>>
h-help me with mein linux problems?
>>
>>27954709
Maybe. I'm not the best but I can try.
>>
dont reply
who cares ;~;
fukin nigger
>>
>>27955165
Oh I thought you were coming back to me with stuff..
>>
help me make a simple game, or at least some pointers where to start?

thanks desu~~
>>
>>27951983
hello fellow programmer. I'm spamming your obviously not your main account because I'm bored. But I'm also bumping your thread, so I guess that's a bargain.

Anyway, what's your main language and framework?
>>
>>27955238
http://www.stencyl.com/
This is pretty easy to get started with
http://www.yoyogames.com/gamemaker
So is this.
https://love2d.org/
This is pretty good.

But really all of these require some form of systems knowledge. Something you can gain through learning how to program. So I'd go with that first. >>27952038

>>27955345
I mainly do C++ but I've also done a lot of python, C and Java.
I use SFML for most projects.
Been thinking about doing server-backend stuff for websites so I'm picking up CppCMS I think.
Not sure if that's a good idea or if I'm just supposed to learn PHP.
>>
>>27955423
PHP is cool as long as you don't build websites that serve custom content to millions of people. Facebook tried that and ended up writing their own PHP-like compiled language.
A backend written in cpp is obviously going to outclass pretty much everything but it's hard to write and most of the time is not worth the effort.
I like fooling around with cpp templates writing the perfect stl container but once I wasted like 3 hours with a colleague of mine just to decide on what abomination to use, while in PHP the only containers you have are associative arrays. Which you can nest. Indefinitely. Think Python lists.
I started web development about 5 months ago, learning PHP from scratch. Pure PHP is pure crap. If you want to do PHP do yourself a favor and study a framework like Symfony. Or, since you already know Python, learn Django. Only do backend in cpp if you are a performance fanatic.
>>
>>27955722
An associative array would be a dictionary in python.
>>
>>27955722
>Only do backend in cpp if you are a performance fanatic.
So what's so bad about CppCMS compared to Django/PHP/other frameworks?
From what I see I don't see the major differences. I'm right now questioning why you'd pick one over the other and I don't see much that indicates C++/CppCMS as a lesser choice. Being already familiar with C++ that seems to be the biggest issues people talk about. A lack of familiarity. About how they have to be "careful" because they're not using a garbage collected language. These are non-issues for me.
>>
>>27955885
Slower dev time?
>>
File: skjkmnler.jpg (71 KB, 500x313) Image search: [Google]
skjkmnler.jpg
71 KB, 500x313
array would be a dictionary in python.
>>
>>27955945
Not quite sure why that'd be.
>>
>>27955885
Have it your way. I'd say backend cpp would actually be great but I think it's hard. It's certainly more time consuming than programming in a scripting language because you have to compile each time you need to make a single change.
Time is money, that's why there aren't a ton of companies writing backend in cpp.
>>
if you know lua, i'm trying to work with classes or something class-like.

function arrow:create(x,y,rot,vel)
local self = {}
self.x=x
self.y=y
self.rot=rot
self.vel=vel
setmetatable(self,arrow)
return self
end

function arrow:drawArrow()
love.graphics.draw(ground,self.x,self.y,self.rot,.2,.5)
end

calling

newarrow=arrow:create(200,200,50,50)
newarrow:drawArrow()

returns an error

attempt to call method 'drawArrow' (a nil value).

what the hell am i doing wrong? it is an issue with drawArrow itself, i even commented out the body of it. i am able to reference newarrow in my code, like to print newarrow.x, but this function is fucked.
>>
I just sent an email.

Printf ("hello %s.\n",&anon);
>>
File: images (2).jpg (27 KB, 441x334) Image search: [Google]
images (2).jpg
27 KB, 441x334
>>27952009
Seriously? People are saying start with java/C?? Idiots it's always best to start with python.
>>
>>27956016
>because you have to compile each time you need to make a single change.
Well I'm not familiar with back-end that much yet but you could still have dynamic-code loading if I keep a good memory system.

Still compiling obviously but you would have live coding. Maybe. Maybe I'm being ridiculous in thinking I'd do that.

Maybe I shouldn't because of some common web-backend practices that conflict with pool allocation or similarly predictable memory systems.
>>27956078
Was a long time since I did LUA.
Try to print the newarrow object before the call. I'm pretty sure it complains about nil value when you attempt to call a function on a nil value.
>>
>>27956228
>python
No anon it's not best to start with python because there's so much complexity in python which SHOULD confuse someone who gives a damn about programming. You could start with any language obviously. But not all languages teaches programming well enough.
>>
>>27956078
nevermind. i forgot the line

arrow.__index = arrow

in my file for the arrows
i'm an idiot. works now.
>>
On top of artistic skills, what programming language would I need to learn to make a pornographic flash game?
>>
>>27956310
>flash
I think that's actionscript.. Know nothing about it aside from it being a joke.

What kind of game is this? Focused on the porno or the gameplay?
If there's practically no gameplay there's tons of frameworks/engines that generate flash.
http://www.stencyl.com/
For instance. I tried teaching some kids this. It worked out alright.
>>
How long does it take to become employable if you study full time?
I'm interested in becoming a web developer and I'm studying JavaScript.
>>
>>27956365
You taught kids how to make porn games?
>>
>>27956365
Gameplay wise, it'd be just simple point and click, think pokemon with porn. Nothing more complicated than just walking around
>>
>>27956508
YES OF COURSE. How else do you keep a bunch of 11 year olds attention?
>>27956511
Stencyl can do that with ease. I think you will probably enjoy going that route rather than pure flash. They probably have a tutorial that gives you just what you need most likely. The forums seem very helpful too. They're accustomed to kids so anyone who knows basic grammar is probably appreciated.
>>27956487
Look for jobs and see if they take you. I have no clue. Haven't had a (real) job.
>>
>>27956549
Cheers breh, guess I'll start making fetish bait games for weebs, something to do with myself.
>>
>>27956487
You get an internship. Most firms that do web dev do frontend or backend internships. If you want to study JS apply for a frontend internship. No JS experience is required but some programming background is always a plus. All you have to do at the interview is to convince the interviewer that you're smart and eager to learn.
Just don't expect a ton of money.
>>
File: guido.jpg (97 KB, 659x592) Image search: [Google]
guido.jpg
97 KB, 659x592
>>27956280
>not starting with python
>>
>>27956948
>somehow thinks his scripting language with no obvious entrypoint, dynamic typing and is OOP oriented.
>>
>>27957066
Is appropriate for beginners.
>>
>>27957066
Somehow thinks what? You didn't finish sentence.
Beginners can just do procedural style with a file full of helper functions.
>>
>>27957139
>Beginners can just do procedural style with a file full of helper functions.
And just what does that teach them but be poor programmers who write the shit software we all use?

We don't want that.
>>
>>27957166
How does starting with basic procedural code make them be poor programmers?
You'd be doing the same if you started with k&r.
>>
>>27957243
Yeah but it's not a GC'd, language where all you do is import and call shit to get the results you want.

All computer programs do is convert data from one form to another. So why would you recommend a language that distances itself completely from all of that and claim it's good for new programmers.

Python is for scripting shit. It's fine if it's just something you run every once in a while. That's not what we hope programmers are supposed to grow into. That's sysadmin stuff. And there's nothing wrong with sysadmins but train them that way, not as programmers.
>>
>>27957305
How does python distance itself from converting data from one form to another? I think forms is more general than types.
I don't see memory management as being a core aspect of the programming way of thinking. If someone writes a procedural program in Python that does something neat I don't think they missed out on a vital aspect of the experience because they didn't have to initialize variables.
>>
>>27951983
Some brobot already stated he started learning programming many times etc. I'm pretty much the same way. Well, the difference maybe is that I know how to program. I just can't force myself to learn .NET to a production level.

The question is: do you have to force yourself to program, or you enjoy it? If I don't enjoy programming, is it possible to be really good at it and earn tons of cash desu?
>>
>>27957396
>If I don't enjoy programming, is it possible to be really good at it and earn tons of cash desu?
Of course but you won't enjoy the work and you'll have to force yourself to do it.
The only benefit of enjoying programming is you're more likely to program, practice, read etc.
>>
>>27957396
>If I don't enjoy programming, is it possible to be really good at it and earn tons of cash desu?
Well anyone can do anything. You can be a mercenary and make mad dough despite hating violence.

I think most of the enjoyment from programming is in enjoying having made systems that work. Not really from having to learn frameworks/libraries.

You can absolutely get good enough where you can support an ok lifestyle without much effort.
>>
>>27951983
Why help the noobs when you could do something with moderately experienced programmers and make something cool?
>>
Why is programming so hard?
I have started learning C++ numerous times but can never even finish hello world. Even if I directly copy the text from the book, it won't work. What's more, sometimes when I try to compile it, I am told I'm missing a .dll file, so I update visual studios. But it changes nothing.

I just wanted to learn to make video games.
>>
>>27951983
Just become a trap. That is how the masters do it
>>
>>27958042
Making video games requires

>programming
>high lvl maths
>artistic sense
>ability to use video and audio editors to a high lvl

Designing any sort of game beyond 2d shovelware you can get for free is a long hard endeavor, most ppl start young. If you're 20 don't expect to make anything good until you're at least 30+. Or so I've read, every site I went to look upu the essential skills making it seem impossible. And yet people like Phil Phish did it, so how hard can it be.
>>
>>27958148
>high lvl maths
"no"
>>
>>27958440
Then how do you program the physics?
>>
>>27958148
Well, I'm only 18. I've been researching game design, model making/editing applications, and so on for quite a while. It's just programming that has halted my way, which is odd because math was always my best subject.
>>
>>27958464
It's not particularly advanced math unless you're trying to write a complex physics engine, in which case you should probably just use a premade one.
>>
>>27958464
Text based game for example dont need physics.
>>
>>27958464
Average person trying to write a game for hobby doesn't need much beyond algebra and trig.
>>
>>27957934
Because lack of discipline. I've done a few things but more and more I realize that I need to get better to get anywhere.
>>27958148
Most of what you mentioned is false.
>>27958042
Email me, mail is in the op. You just need a pusher.
>>27958464
You can get a licenced system and do well with that. Havok for instance. There's even free options. But still, ignoring those options the amount of math you need is being able to solve a differential equation once. All the physics is there for you to read.
3d transforms are linear algebra. Not all that hard.

And you're pretty much done with math at that point.
>>
>>27958572
>most of what I mentioned is false

Well, I did throw in some serious doubt with the last comment I made, about idiots like Phish doing it, or hell, even Notch. I was just going off what a few websites listed, which according to them it is really hard, but lots of game devs seem kinda dumb, which is why I was skeptical.
>>
Hey, I actually got it to work. Thanks for those who tried to help, but I think I'm good. Now that this latest reinstall got Visual Studios working properly I think I should be good at advancing through the book I have.
>>
>>27958622
Yeah I just read your greentext and went off that.
There's not a lot of math, there's a lot of systems knowledge and programming experience.

Alternatively a massive amount of stubbornness.
Thread replies: 74
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.