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

/g9k/

This is a red board which means that it's strictly for adults (Not Safe For Work content only). If you see any illegal content, please report it.

Thread replies: 251
Thread images: 26

File: programming.jpg (79KB, 770x513px) Image search: [Google]
programming.jpg
79KB, 770x513px
Who /programming here/?

You guys sit on your ass on the computer all day so you may as well be getting better at something. Even if it's only for 15 minutes a day.
>>
File: 1496090234599.jpg (30KB, 600x600px) Image search: [Google]
1496090234599.jpg
30KB, 600x600px
me me me me me
what kind of an answer do you expect
>>
>>38551510
I pop in and out of MSDN and SO throughout the day.
>>
>>38551510
Me
I once wrote hello world in python
And then in java
Then I wrote a numbers guessing game in python
Then tried to pick up and learn java
Have been on a kind of break for about a month now
>>
>>38551510
what are you working on anon?
i can't find the motivation to go through a programming book
>>
Learning C right now with K&R
Planning on learning some C++ fundamentals after
Then Python
Then Scheme
>>
>>38551510
I program.

What a boring question to ask.
>>
File: 12487412984.png (85KB, 644x605px) Image search: [Google]
12487412984.png
85KB, 644x605px
I want to program but am not sure where to get started. I tried getting into it a few times but I found the concepts kind of hard to keep my attention on and gave up. I have a few questions:
Is codeacademy a good place to start learning, and can it be used as a substitute for programming textbooks?
How hard is it to make money off programming?
Is there a way I can get myself more interested in this, like make it more fun to code?
>>
>>38551510
javascript is dogshit ugly goddamn
>>
File: 1487328654324.jpg (155KB, 977x1488px) Image search: [Google]
1487328654324.jpg
155KB, 977x1488px
>>38551510
>be sucessful software engineer who earns six figures
>still in my twenties
>tfwnogf
>headed for wizardhood when i'm already a mage
>>
>>38552189
me too thanks
let's kill ourselves
>>
>>38552144
>Is codeacademy a good place to start learning, and can it be used as a substitute for programming textbooks?
It's okay to start, but it's no substitute for texbooks in the long run.
>How hard is it to make money off programming?
It's suprisingly easy actually. The field is growing fast enough that anyone with a pulse and a sense of logic is drafted
>Is there a way I can get myself more interested in this, like make it more fun to code?
Find something you can do with your current skills, then modify it so it's just beyond your reach and make it a challenge to actually make it.
>>
>>38551510
i used to, but my OCD is disallowing me from finding comfort in my environment.
>>
>>38552189
why is output going to null?
>>
>>38552205
Already tried that anon. I can't do it.
>>
>>38552260
because he redirected the standard output to /dev/null
>>
>>38551747
> Learning C right now with K&R

For what purpose? There are better and more modern books available.
>>
>>38552276
I guess we're both slaves to our mortal coils then
>>
>>38552276
did you really? do you develop in Java? that might be why you are so unhappy?
>>
>>38552376
It's not all bad, at least I have purpose you know. It's much better than what most robots get.

I just wish I could share all this with someone I trusted you know?
>>
Is objective c++ a good language to learn?
I've ben wanting to get into programming.
>>
>>38552392
No man, I would have offed myself for real if I did Java. I do kernel level stuff, write drivers and higher level systems stuff.
>>
>>38552448
tfw u have to be autistic to properly use windbg and it automatically makes you a wizard
>>
>>38552446
It's not one that exists.
There's Objective C, which is shit.
Then there's C++ which is a minefield for beginners.

If you don't know where to start, try to learn programming, not a language. I hear Eloquent Javascript is a good book for beginners, but don't limit yourself to a single tool.
>>
>>38552448
damn. thats some real shit. i wish i was that level.
>>
>>38552448
don't know much about kernel. i'm guessing you use C? assembly? i don't know
>>
I got C Programming Absolute Beginner's Guide, is it a good idea going through this book for a first- timer learning programming or should I start with something else?
>>
>>38552609
Yeah C and x86 asm.
I'm doing mostly C++ these days, and as much Rust as I can get my hands on.
>>
>not programming in HolyC
ISHYGDDT
>>
How far can you go with MS Access?

How much of a bad idea is it?
>>
>>38551510
I did some programming in college and learned that I didn't like doing it.
>>
>>38552496
Reminds me of that time where we had a GDB bug and I could only map symbols for either kernel space or user space on one run.
That's the kind of pain in the ass abstract problem that ruins your fucking brain. And you can't even explain half of why it's so fucking annoying to anyone. I hate when that happens.
>>
>>38552631
Start wherever you feel okay dude, that book is okay from what I heard, it's not the best but it'll get you started.
>>
Can some benevolent american give a yuropoor an internship for spring.
I'd really like to get one without using a placement agency and paying for that.
>>
>>38552631
Read accelerated c++
>>
>>38552675
I get angry any time i have to use GDB, half the shit just doesn't make sense coming from windows
also F U C K at&t style x86-64
>>
>>38552635
do you program for fun? do you use linux for developing?
>>
>>38552716
It's funny you should say that, I fucking despise MS tooling, some of it is well done (and with a vision instead of the mindless patching) but they get their fair share of clusterfucks. I mean Windows itself is far beyond what a maintainable codebase should ever be.

And yeah, fuck at&t, I learned that shit at the same time as ARM and it's backwards as all hell.
>>
>>38552730
Yeah, I do some side projects for fun and to keep myself sharp. Learned Rust through writing a text editor for instance.
And I don't think I could ever work as efficiently without Linux or at least a functioning *nix environment. Too much useful tooling & stuff you can combine on your shell lives there.
>>
>>38552772
It sounds like you work a bit lower than I do, most of my work is either drivers or usermode winapi shit
I want to get a hypervisor together soon, it seems like a fun project implementing one from the intel specs
>>
how the fuck do you get experience in coding for all these companies that want you to get work experience before they hire you?
>>
>>38552823
What would be a good linux distro if i wanted to learn/program for c++?
>>
>>38552903
Free Open Source Software
If you prove you can work and contribute to a big project, or make a small project yourself, you'll be employable.
>>
>tfw to intelligent to learn how to program beyond copy-pasting hello world
>>
I have a job as a developer but I spend 70% of my day on Reddit and hacker news. Probably going to get fired in two weeks. AMA
>>
>>38552927
Anything with g++ and clang++
Distro choice is really more of a personal choice of environment than anything else.
I like my Arch with it's small memory footprint and customized i3, but my friend who runs Ubuntu with Gnome3 is as fast as I am.

Programming is mostly about reading code and understanding its flow. Having a familiar environement that allows you to work with little effort is the thing you should strive for.
>>
File: 1443045423885.jpg (40KB, 535x577px) Image search: [Google]
1443045423885.jpg
40KB, 535x577px
>>38551510
>liked programming when i did java
>take c++ course
>instructor has pages of coding standards
>cant use global variables, no nested loops, not allowed to use any libraries. List goes on forever
>go to office hours and spend hours on assignments
>still fail
>switch majors
>tfw brainlet

Memory managing is just so fucking annoying.
>>
>>38553027
Your teacher sounds retarded.
>>
Currently working my way through Automate the Boring Stuff with Python. Pretty good stuff.
>>
>>38553027
>not nested loops
lmfao what
>>
>>38552996
That's everyone my friend. We all procrastinate to a degree. It's even healthy, you need to do mundane things to let the ideas flow.
Just try not to let it take over the productivity periods and you'll be fine.
>>
>>38553027
>tfw the big bad monster that sepples is is just understanding memory ownership and locality vs mobility
People overcomplicate things, memory optimisation isn't that hard when you have the right abstractions.
>>
>>38553092
The guy I share my office with is somehow able to stay productive all day. We were both assigned projects at the same time and he is completely done, while I just barely have a working version of mine. Pretty sure I'm past the point where the procrastination is normal based on this
>>
>>38553078
It was an intro to data structures course so nothing high level. He believed that nested loops caused too much problems based on previous classes so he just banned it.
>>
>>38552823
do you have a github?
>>
>>38553167
Lmao do you go to brainlet U?

Nested for loops are a normal part of software. Maybe he just trying to get you guys to use functions for "abstraction"
>>
>>38553191
Teacher was probably triggered about students creating dumbfuck O(n^2) or worse sorting algos.
>>
>>38553027
>memory management is just so fucking annoying

if you use RAII properly then it isn't
>>
>>38553176
Yeah mostly for said side projects https://github.com/IGI-111
>>
>>38553243
Still pretty dumb, since loop depth does not necessarily lead to higher order algorithms.
I guess teaching is always lying by omission anyhow.
>>
>>38552189
>tfw getting six figures in Europe is hard
>>
>>38551510
i've been programming for a bit more than a year but i never have any ideas or motivation
>>
>>38553451
It's not that hard, but it sure is easier if you go for the big corps or have rare skills that are in high demand.
>>
I designed my own Neopets homepage with HTML onces
>>
File: 1391536180415.jpg (109KB, 998x974px) Image search: [Google]
1391536180415.jpg
109KB, 998x974px
I've been learning c++ for a few months now, but I'm lacking interesting project(s) to work on.

It's literally the only career path i could see myself going, but I'm dumb as fuck. Unlucky I guess.
>>
>>38553327
you are euro? they are alway good programmerrs
>>
>>38553497
Where should I go in Europe for that? There are some countries I refuse to go to.

I also don't like big companies tho.
>>
File: 1489456350193.png (2MB, 3840x2160px) Image search: [Google]
1489456350193.png
2MB, 3840x2160px
>>38553515
>I've been learning c++ for a few months now, but I'm lacking interesting project(s) to work on.
set up or get a random number gen and go to town
>>
>>38553560
tfw no motivation to do any of that
>>
>>38553541
I'm a hon hon baguette.

I've seen some guys that are pretty good, also some that are pretty bad.
The only consistent stereotype to me is that exported eastern europeans are always the hackiest people who found ugly solutions around impossible problems.
But ymmv obviously.
>>
>>38551510
>started learning python with videos
>order some books
>make a python eCommerce site in django
>live off the money it makes me

Why are you cuckbots not doing this?
>>
>>38553549
If you don't like working for megacorps, you won't make the big bucks, it's as simple as that.
And you can actually make some huge salaries in poor as dirt countries in europe in this field. I have a Romanian friend who makes tons of dosh doing web crap.

After a certain sum, it's no longer about how much you make.
>>
>>38553660
I don't really know what
>make a python eCommerce site in django
entails
>>
>>38553690
Guess I'll stay poor and comfy.
>>
>>38553783
I made my own amazon from scratch.
>>
>>38553787
It's a choice. Be ready to live with it is all.
>>
>>38553839
Yeah, it's not really about the money, just a matter of self-worth since you're getting paid less.
>>
>>38552144
Codecademy is NOT a good substitute for programming books, fuuuck no.

There are a bunch of sources on the internet, free pdfs and whatnot. But if you want a website then try out
https://www.sololearn.com/
>>
>>38551510
The average programming task is a joke. It's as simple as telling the computer what you want it to do. People get tripped up on the syntax of the language saying "wow it looks so complex I don't know what any of that means" but if almost anyone really applies themselves you can do it easily.

Think about what you want to do. Write down the steps if necessary and boom, tell the computer what you want it to do in its own language. It's not hard at all.


But you know what IS hard. ART! You need the dedication of a surgeon to learn anatomy, learn to draw and model what you truly see, create environments and characters from your imnagination, etc.

I got into both areas (art and programming) because I want to make a game and by far, getting better at the art (3d modeling, sculpting, drawing and painting digitally) takes the most dedication. I can slap almost anything together in code if I understand the problem. It may not be the most optimized solution but its a quick job to do it.
>>
>>38554007
my point is that if you have time to waste, pick up art, not programming. It's more rewarding. HaHa
>>
>>38553833
oh
why would somebody use it
>>
>>38554102
They use it to buy things other people put on there. I am a merchant service.
>>
>>38554175
Of what tho? That domain is pretty saturated as it is.
>>
I wish I could enjoy programming. I like the idea of it and I have lots of ideas for simple programs and as a job it seems like it'd suit me but I just can't sit down to learn it. Whenever I try it just makes me want to kill myself.

Wish I could just become a fisherman or something. I'm starting to hate technology.
>>
>>38553515
I felt the same for a while until my younger brother posed the question if I could make games.

started out making a shitty space shooter in java/swing then moved on to sfml&c++ now I'm looking in to an open source 3D graphics engine having lots of fun learning new and making better things every day.

just a tip. also check out the /agdg/ threads on /vg/ to see what others are doing. it's a major bucket of crabs though, so beware
>>
>>38554260

Making games is cancer
>>
>>38551510

im attempting to learn both java and c++, having trouble getting into the habit of studying this and learning.
>>
>>38552144
try here:
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
or
the ebook thread on lainchan
or check a torrent site for paid programming videos, because shit like codeacademy is a scam and won't teach much of theory/application of the a language just its syntax and not much else
>>
>>38553560
the problem i have with most of these challenges is i dont even know where to start.
>>
>>38555432
googling what they even mean obviously
>>
>>38555462
sometimes i know what they are though.
for example, i have no clue how to get started on making a text editor
>>
>>38555485
Well since I know about this one, it's a bit easier to help you there.
You can research the state of the art (ie: look at how other text editors work) and try to reproduce part of their functionality.

You'll need something to do rendering, get input and handle reading and writing files.

The rest is on you.
>>
>>38554260
I'd argue that for once /v/ is better in that regard. Much more approachable and productive whenever there's game dev threads.
>>
>>38555532
yeah thats all very confusing.
i've mostly given up on programming though, so it's okay.
>>
File: 1498990891793.png (177KB, 328x449px) Image search: [Google]
1498990891793.png
177KB, 328x449px
Ill be graduating with a CS degree next spring and i have an offer for $60k/year + benefits and bonuses from where i did a summer internship. You guys think thats good, or should i look for work elsewhere? Ill try to haggle it up if i do take it though
>>
>>38553027
C++ is absurdly confusing. It's probably the biggest programming language in existence and it's full to the brim of inconsistencies and confusing rules that create unexpected behaviour.

Don't feel bad. They seriously should not be teaching C++ to beginner programmers
>>
File: compiler.png (49KB, 1366x768px) Image search: [Google]
compiler.png
49KB, 1366x768px
>>38551510
I'm working on a really simple script compiler.
Tbh I'm not going to finish it anytime soon, I've been in a shit mood lately, and can't do any programming like that.
>>
File: Reac 188.jpg (54KB, 1280x720px) Image search: [Google]
Reac 188.jpg
54KB, 1280x720px
>>38551510
Tried 2 intro level classes in different languages/different formats/different grad levels. I was bad (Though I got good grades) when it started getting legit and still get anxiety when thinking about programming deadlines.

I've decided I want to work in something tech related, but not programming.

Can you give me any links that would help me be able to talk intelligently with programmers and IT guys? I don't need to learn programming, just the concepts and terminology though if I needed to program to learn I could do some minor projects.
>>
>>38555960
CS student here. That 60k can be different dependent upon where you live with COL and all. That's super low in areas like Silicon Valley and New York, but really good new grad salary otherwise.
>>
>>38551510
I'm in my final year of uni and have to choose between an intro to python "Computational Methods" paper that sounds boring as fuck but will teach me to code and will be helpful to finding a job, or an interest paper I was really looking forward to.
>>
>>38556816
Read Intro to Algorithms.
Not all of it, just the first chapters.
>>
>You guys sit on your ass on the computer all day so you may as well be getting better at something. Even if it's only for 15 minutes a day.
I think this way but then I ask "what good is it"? Unless you want to be a codemonkey, programming is useless if you aren't creative enough to utilize it. What would I program? It feels like every thing I need has already been done.
>>
File: Reac 186.png (402KB, 598x1021px) Image search: [Google]
Reac 186.png
402KB, 598x1021px
>>38556926
Found the PDF:

https://web.njit.edu/~wl256/download/cs610/Introduction-to-algorithm-3rdEdition.pdf

Contents is on page 6. So where should I stop?
>>
I went to a coding bootcamp but caked my pantsu

>select pants
>>
>>38557221
Do 1, 2, 3, all of II III and IV if you can, all while skipping stars.

Should give you a good base knowlege of the commonly known CS stuff.
>>
File: Reac 177.gif (299KB, 500x655px) Image search: [Google]
Reac 177.gif
299KB, 500x655px
>>38557274
So:

>I (Only 1-3)
>II (All)
>III (All)
>IV (All)

Sorry for the questions. I just need to be very precise. And thank you btw!
>>
>>38552448
I would off myself if i had to do that shit. I just like making gay little apps.
>>
>>38557504
Yep.
You can skim the latter ones partially, not everything is crucial, but 1-3 is critical, and you need to understand the concepts in the others broadly.
>>
File: f2rjwzv2hoay.png (129KB, 500x498px) Image search: [Google]
f2rjwzv2hoay.png
129KB, 500x498px
>>38557562
You're just a shitty wizard.

You make pretty pictures move for people.
I teach sand to think.
>>
>tfw been doing common lisp even thought it's not a viable lang
>>
>>38553560
>Basic Neural Network: Simulate individual neurons and their connections
that sounds pretty cool

i want to switch careers and be a programmer. should i do one of those coding camps? have my wagecuck bux all saved up so i could pay for it no problem

but am also extremely jew-y and would rather self-teach
>>
>>38558032
Self teach, then if you feel like it do a camp.
>>
>>38554007
implying you can make a program with more than a 1000 lines
>>
i dev games in c# does that count
>>
File: 1500757937437.png (31KB, 300x250px) Image search: [Google]
1500757937437.png
31KB, 300x250px
You know the rules...
No coding until I finish my coffee..
>>
Because im a 115 IQ brainlet and id end up a struggling noone. Prob ready for death
>>
File: file.png (120KB, 1048x870px) Image search: [Google]
file.png
120KB, 1048x870px
>>38551510
I write automation stuff in python all of the time. Lots of bots and scraping.
Started learning C a few days ago.
Pretty comfy.
>>
What C books would you guys recommend?
I found digital copies of a lot of older books. I looking for more modern ones.
Sorry if this has already been answered. I'm still reading the thread ant it's about to 404.
>>
>>38558661
Share some educational resources
>>
>>38560041
What kind of resources?
All I did was read some random book to get the basics of python down.
I looked at a few books until I found one I liked. No idea what it was called.
After that I read the documentation for whatever packages I wanted to use.
I'm reading k&r right now.

uh, I guess I read Flask Web Development by Miguel Grinberg to learn flask
Pretty much anything you want can be found on libgen.
http://gen.lib.rus.ec/search.php?req=Flask%20Web%20Development
>>
>>38556816
>>38556926
In practice you won't need that to talk to them.
Understanding basic networking, caching, the rough magnitude of time and space for such things are more usefull. Also basic OOP shit.
You'l never talk to an IT guy about self balancing trees or heaps.
>>
>>38560301
Oh, and for web scraping lxml has been great.
http://lxml.de/
>>
>>38560348
I like beautiful soup's syntax better and you can set it to use lxml's parser.
>>
>>38558661
>>38560301
what are some fun things to automate with python?

Eventaully I would like to automate something to get some passive money flowing, even if it's tiny
>>
> tfw you seem to be the only genuine autist that doesn't enjoy programming
I should just kill myself, shouldn't I?
>>
My job is programming.

Problem is that I was never trained as a software developer. I can code and shit, I just know next to nothing about version control, git, etc.
>>
>>38560522
Find something you do more than once and automate it.
also
https://www.youtube.com/watch?v=iAOOdYsK7MM
>>
>>38551510
>Posts a screenshot of JS
>Programming
Scripting languages don't count as programming brainlet.
>>
>>38551510
I can't even force myself to do things I "like" doing. Why would I want to learn programming?
>>
>>38560860
muh C
>>
>>38551510
I can't get into programming lie about my interest in computers doesn't really hold me attention for long anymore
>>
File: 21V41Hl.png (688KB, 1000x1462px) Image search: [Google]
21V41Hl.png
688KB, 1000x1462px
>>38560663
>version control, git, etc.
they don't teach that shit in universities either, just focus on learning and don't worry too much about it senpai
>>
tfw about to graduate at mid-teir university for programming and learned barely anything, I cheated on most big assignments when I got lost lol.
At least i'm trying to relearn and get better at programming on my own time. Learning programming is easy, actually implementing and learning the massive amount of libraries is time-consuming and hard.
>>
>>38561666
The fact I don't know any better pisses off one of my managers. They won't even give me a quick rundown on how that shit works either beyond basic shit like "press this button to upload code" which is fine until something fucks up with the push or commit or some shit and I don't know how to fix it even after googling.

The version control shit is out of whack as well. I work at a startup and am one of the few programmers on staff. The executives always want new features to be added quickly but I never get the time to test anything I make so it's always some combination of n steps forward, n*y steps back; sometimes problems that got solved months ago come back because of this. This really upset my office-oneesan since she had an assignment that depended on my code. She keeps insisting it's not entirely my fault, but I keep thinking on some level that it is.

I-I-I just want her to be happy ;_;
>>
what do I have to install to learn c on windows?
>>
Everyday I hate non-functional more and more, but I'm terrible at functional programming.

Someone try to explain it to me, I wanna be good at Haskell
>>
>code with shitty hipster blurring to make it look cool
>not even monospace font
disgusting
>>
>>38562233
Use Visual Studio, it's meant for c++ but the compiler works with c since the c language is pretty much a subset of c++.

When I first started I used cygwin and it was a nightmare. Windows 10 beta also has a linux subsystem.
>>
Unity programmer here, yesterday I started a project on Android Studio and for now is easy af. I guess because I'm not writing a first person CharacterController with physics and a FSM.
Btw I have a little webdev background (setup Centos with an Apache server, coding in straight PHP, SQL with PDO, Jquery with ajax for frontend) so I guess I won't have any problem with SQL Lite. For now I'm focused on designing a badass UI
>>
>>38551510
>what do I have to install to learn c on windows?
Install Vim and GCC, with CMDER
>>
>>38560808
>All those tickets he won
Fucking hell, i'm mad jealous. I would do this but i'm pretty sure they patched it by now.
>>
>>38551510
I graduated about a month ago with a BSCS degree.

I've been offered a position as a security researcher at the company I've been interning at. Basically, they want me to design a lab for use by their analysts and pentesters and also for my own use in doing malware analysis and reverse engineering.

Should be fun and a pretty good learning process since I know very little about setting up a lab for malware analysis, let alone actually doing malware analysis.
>>
>>38563054
>design a lab
What does that even mean?
>>
What do I need to learn to make a website for comic reading and interactive stuff?
>>
File: IMG_1096.jpg (92KB, 419x480px) Image search: [Google]
IMG_1096.jpg
92KB, 419x480px
>>38561119
>he isn't a professional c programmer
>>
>>38563606
plug some computers into a switch
>>
15 minutes per day is fucking nothing though.
>>
i am make discord bots
want, yes?
>>
>>38552323
Is K&R really bad or is that just a meme?
Why would a book that was written by the inventors of the language be bad?
>>
>>38562093
>tfw no office-oneesan
How is it anon
>>
File: jILZxy2_d.jpg (25KB, 500x334px) Image search: [Google]
jILZxy2_d.jpg
25KB, 500x334px
I really want to be good at programming but I honestly feel like I keep slamming into a brick wall.

Where do I go after learning core material? I've taught myself java using tutorialspoint, but what do I learn next?
>>
>>38564707
What do you want to do with it?
>>
Yes,
but I only know C++ to an intermediate level, some basic python and matlab.
>>
hey is this site any good?

https://learncodethehardway.org/
>>
>>38565711
you can download these pictures on gen.lib.rus.ec for free
>>
>>38565773
>pictures
books I mean. I honestly might be mentally retarded.
>>
>>38565773
>>38565781
Thats great, but is the stuff in those books any good?
>>
File: TurningGirlsParty_20150709002103.jpg (134KB, 1280x720px) Image search: [Google]
TurningGirlsParty_20150709002103.jpg
134KB, 1280x720px
>reddit mods deleted my picture
I'll probably study CS (germanfag) starting next semester since it's the only thing that even remotely interests me (next to english-studies which is a fucking meme degree if you don't want to become a teacher). I heard Java will be taught first. Any good books/websites so I can learn that shit in advance?
Also, tips on CS in general are appreciated as well of course
>>
I'm curious about programming and figure it might be something worthwhile doing with all the time I spend on the computers however I have no idea where to get started and I fear I would have nothing worthwhile to do with it other than just fucking around. That and I fear I would get bored and feel like I'm wasting my time.
>>
>>38560324
No, but you might to a CS guy if you collab on a project.
>>
>>38552255
>It's suprisingly easy actually. The field is growing fast enough that anyone with a pulse and a sense of logic is drafted
How? The app bubble popped, indieshit popped and freelancing sites are full of pajeets with years of experience on their profiles
>>
If I wrote my own OS, what are the chances that a prospective employer might overlook that fact that I failed out of uni?

I fucking hated uni so much. Going back would cost a lot of money so I'm not very inclined to do that.
>>
>>38566949
Get your skill up to the point where you can work in a web agency, then work from there.
I know people who are so starved for talent that they basically recruit anyone with a STEM degree to train them into programmers.

There's still plenty of time before automation ruins the low level jobs, but it will happen eventually tho.
>>
>>38566962
Depends on your country. But I won't lie, systems people are a bit more elitist than usual. If you're in the anglo-saxon world you might be okay though.
If you are actually hot shit, you can cruise along without a degree, but it's always going to be harder than if you have any piece of paper.
>>
second year cs student here. doing well in school, but i feel like a fraud all the time.
i'm working on a dumb side project right now, first real javascript experience.
all the projects i do are brainlet tier using other people's libraries and don't really take any skill to make

i'm afraid i'm not going to make it
>>
>>38564247
It's not bad for learning C, it is not great for learning programming though. It is a small book focused on teaching C, not a general programming book like "C a Modern Approach" that just happens to use C. CAMA is about 6x longer than K&R for reference.
>>
>>38567117
Make sure that you don't graduate without an internship. If you have the choice, go for a co-op over an internship, it's longer than an internship, but if you do well, it's pretty much expected that you will get an offer.
>>
>>38567190
i'm gonna apply for next summer once school starts. i only have 3 semesters left in school, would people take me for a co-op the spring immediately after i graduate?
>>
I don't get any better when I program these days (and I'm not very good)

My brain just can't handle the logic most of the time
>>
>>38564247
At some point I wanted to learn C. I gave up when one of the early exercises was to program a debugger for C code
>>
>>38567209
Maybe, but it's waaay easier to get into one through your school. You literally skip steps so you don't have to compete with the other hordes that want the *ship. It might be the most important thing you can get out of a CS degree, you don't want to be one of those fresh grads with no EXP trying to apply to places that need at least 1 year experience and will decline you when they see that you're green.
>>
>>38557048
r6s6 compliant scheme to javascript transpiler

posix compliant scheme kernel based operating system
>>
>>38552186
Finally someone with some sense around here
>>
>>38567240
Did you give up on C entirely or just on K&R?
I'm at that exact same point (program a syntax checker for C). The exercises in K&R are really tedious and sometimes quite difficult so I get stuck a lot and it's discouraging.
>>
>>38567257
yeah i know, most places don't even hire out of school. i want two before i try full time. i've heard of people doing one the summer after graduation, would people still take me spring after grad, or summer after an empty spring?
>>
>>38567961
I have no idea, lmao. I graduated in the spring of this year and my Co-Op peeps offered me a full time job. But before they offered, I was looking around for jobs and i couldn't find anything that didn't have "needs 2 years exp", fucking ENTRY level positions. I found one that was offerind around 50k (still need exp, but I had my coop as exp), but then I got a an offer of 60k + amazing benefits from my coop. And i got my internship a year ago, so it was pretty close. I was going to skip out on it, but this girl stressed how important it was, and I'm glad I listened.
>>
>>38567961
>>38568043
and this is FL mind you, so 60k is pretty good for someone right out of school
>>
File: mad wojak.png (14KB, 646x720px) Image search: [Google]
mad wojak.png
14KB, 646x720px
What's the newest language in the market right now? I feel like the ship has sailed already for C++ for me to make any decent money in it.
>>
I want to get into computational finance
Where should I start? Is machine learning a good specialization to get?
>>
>>38568711
C++ and Java are there to stay. The ship hasn't "sailed", these languages aren't going away anytime soon.
If you want money, I'd say Java, C++, C#, JavaScript, Python, SQL are good.
>>
>>38568737
cmon now r9brother i know you're probably making some mad dollarinos with a state of the art programming language and laughing at us C++ plebs flailing around in a saturated market. Help a brother out here just give us a tiny hint.
>>
>>38567750
Gave up on C entirely. Especially because I didnt see a reason to learn it.
In generally learning from a book is extremely boring. I could only learn programming when I took classes for it.
>>
>"learn" C
>program a shitty calculator
>"learn java"
>program a shitty calculator
>"learn" c++
>program a shitty calculator
>"learn" python
>program a shitty calculator

The cycle continues. and I can't get out
>>
>>38569496
Yeah how the fuck do you go from knowing a language's features to actually programming useful shit
>>
>>38551611
Python is a nice, easy language to get started, anon. Tkinter is very useful in python, if you're struggling with ideas.
>>
>>38554175
Ok you're clearly making this up, fuck off
>>
>>38569496
>>38569526
JUST DO IT
literally
>>
>>38566949
>Pajeets
>Experience
Anon, monkeys smashing the keyboard until something just works is not experience.
>>
>>38569496
How do you make a shitty calculator?
>>
File: wat.jpg (113KB, 1026x800px) Image search: [Google]
wat.jpg
113KB, 1026x800px
>>38551510
currently programming a little engine with opengl in C++, so far it can load models and textures with UVs and it does some basic lighting stuff, also has a content manager so the same stuff isn't loaded twice, as well as a composite object model.

currently sitting at only 1500 lines and i'm starting to lose what the fuck is going on, plus i havent worked on it in like a month
>>
GUYS, SHOULD I STICK TO C# OR GO TO PYTHON? PLS RESPOND
>>
>>38571914
How did you get to the point where you could program something like that?
>>
>>38572379
Mainly by being an INTP.

Memes aside, I've been programming on and off since I was about 6-7 years old, started off with QBASIC on Win95, I just picked it up super fast for some reason.

If you wanna learn C++, I recommend you read the latest editions of C++ Primer and Effective Modern C++, they'll set you on the right track.
For OpenGL, the trick is to grab a book that shows you how to render things, and then abstract it with your own code as quickly as possible, so you don't have to think about OpenGL and vector/matrix math no more.
>>
>>38572357
Do both and use whichever one fits your project the best. You can use more than one language.
>>
6 figures, wizard, hate my job, want to apply to new ones but i don't know what will be good and i don't want to go through the whole interview etc process again
>>
File: angry-pepe-gun.jpg (99KB, 486x486px) Image search: [Google]
angry-pepe-gun.jpg
99KB, 486x486px
>>38551510
I SUCK AT EVERYTHING
I EVEN FUCKING SUCK AT MATH
I CANNOT DO HIGH SCHOOL MATH M8
How can I program with that?

>inb4 duh u retarded
>>
>>38572494
>>38571914 here, I genuinely had problems with high school math, mainly to do with the boring way they were teaching it and the fact that I wasn't paying attention 98% of the time because of that.

Programming isn't all about math, things like 3D Graphics and very low level programming can be pretty math-heavy, but for the most part, it's just linear logic.
>>
>>38572441
>INTP
Me too but what does that have to do with anything?

Thanks for the recommendations. Does it take long to get to the point where you can build complex programs? I'm not necessarily talking about rendering or graphics, but big projects in general.
I can only do basic shit like parsing files or whatever and I can't imagine how I'll ever reach the point where I'm capable of making a >1000 line program by myself.
>>
>>38572630
Yes. You're going to want to make lots of small programs and utilities until you understand how to use object-oriented programming and how to "glue together" the different parts to make a functioning program that is complex and extendable.

It also might be worth noting that I'd worked on that engine for a good few weeks straight (without doing anything else) to get to that point, it's certainly not quick.

Extendability is the name of the game, write an open-ended object-oriented program and you'll be able to add any new features you want to it with minimal effort.
>>
>>38572723
>Extendability
Is that exclusive to OO programs? Are imperative or functional programs less extendable?
>I'd worked on that engine for a good few weeks straight
Still, I'm assuming the thought process of how to build and structure a program comes naturally to you? Is that just a matter of experience and practice?
What are some good exercises and projects one can take on to get better at programming?
>>
>>38572536
Yes but with such poor math knowledge I don't know where to start. Ive been a dunce at math since age 10. It won't earn me a job in programming
>>
if anyone has .dll for files transfert on idevice, in C# ?
>>
>>38572772
Considering OO allows for things like polymorphism and encapsulation, it is certainly easier to create open-ended code, for instance:

If I have a base type (lets call it `base`), `base` has a functuon called `func` which prints `this is base class`. I can then create two derived types of this `base` class, let's call them `d1` and `d2`. I could then replace `func` with different code for each one of them.

In another part of code, I could have a function that accepts an argument in the form of a pointer to `base`, the function simply runs `base::func()`. If I pass the function a pointer to a `d1`, then the function will do something different, but will still accept the `d1` object as it is a derived type.

Extremely hard to explain the intricacies of this kind of programming, C++ Primer has a much more in-depth and easier to understand explanation of this sort of stuff.

In regards to your other questions, I'm not entirely sure. I've always known a few languages but never had anything to do with them, this is my first "big" project, I just do what my intuition tells me to do.
>>
File: photo(2).jpg (1KB, 30x30px) Image search: [Google]
photo(2).jpg
1KB, 30x30px
I know basics of HTML and CSS and have used flexbox to layout a basic site (I still don't know how to position layouts with floats, bootstrap grid or css grid).

Been trying to learn Javascript from A LOT of different resources.. nothing is clicking.. it sucks.. Can someone please tell me how they learned the javascript basics? I just want to know enough so that when I go online to watch a tutorial or make a project I know enough of basic syntax and what things do to beable to follow the tutorial and know what I'm doing.

Resources I've used but didn't make javascript click for me:
Colt Steel web dev bootcamp on Udemy
watchandcode.com/p/practical-javascript


I am close to signing up to TeamTreeHouse or Udacity to try and learn this stuff so I can move forward with wanting to be a front-end web dev but damn javascript really stopped me in my tracks. I know I can learn it but the resources I've used just aren't clicking for me.. I'm a visual learner..
>>
>>38572772
Also a thing I forgot, if you haven't used C-style languages before, or you're not used to them, start with C#. Make some small apps with Windows Forms and maybe a game of pong or something with MonoGame.
When you're comfortable with using object-oriented programming, then move to C++.

Sorry I can't help you more anon, I don't even know how I got to where I am now.
>>
>>38573052
Javascript: the good parts
>>
>>38551983
It's only boring because you're one of those sheldon type nerds who go "WELL ACTUALLY" and take everything completely literally and have no sense of human interaction or figure of speech to innitiate a large conversation.
>>
>>38552260
I'm more concerned about the book titled "Traps" on the shelf, t b h.
>>
>>38572939
>>38573097
I didn't get your explanation very well but that's because I've never done any practical OOP before.
I'll look at C++ primer, thanks, though I thought I'd learn C first as to have a good basis. It seems really hard to dive into C++ without knowing C.
>>
>>38573165
I never learned C first and to be honest with you, unless you're doing some kernel programming, it's not worth using, as it's much more unsafe than C++ (no smart pointers, no type-safe casting etc)
IMO C# is a lot better to start with, although the transition from C# to C++ is a bit hard, keep in mind that everything in C# is a pointer/reference, and it shouldn't be too hard.
>>
>>38573239
Well fuck I'm already too deep in C to stop now.
>>
>>38551510
I used to do that, still do it when I can make money on it or my friends/work/whomever needs something done. I like to think I'm breddy gud.

The problem is that pretty much everything has already been done. Every problem has already been solved and had a library written for it. Modern programming is taking these boxes that have already been made and mashing them together to make the next cool looking company CRUD app.
>>
File: the ritz.gif (73KB, 512x512px) Image search: [Google]
the ritz.gif
73KB, 512x512px
>>38573127
Thought that was a Rare Stallman for a sec
>>
>>38573350
The problem is, 99% of these libraries are poorly written in a slapdash manner to get out the door.
What this world needs is more freelance programmers who do it because they like doing it, and write quality code, and actually read and refactor their own code because they fucking push their changes.

t. anon who avoids libraries as much as possible
>>
>>38564344
It's nice. I learn a lot from her, and it's nice to have someone looking out for you (and who you can look out for too).

The only uncomfy thing is that I'm always scared to death of doing something wrong and making her upset.
>>
>>38573417
>t. anon who avoids libraries as much as possible
How do you rewrite fucking everything? It sounds extremely tedious.
>>
>>38573271
C is fine, it will teach you to manage memory properly the hard (and very painful) way, and you will find C++ memory management way easier.
>>38573527
Not him but it depends on what it is, some things are actually pretty simple but because of the desire from library authors to include every possible use case they bloat it with every feature possible. The trick is to tailor it to your exact needs.
Other things should be kept in the black magic cave it came from.
>>
>>38573527
Depends. If the library is massive and would take a considerable amount of time to rewrite then I'll begrudgingly use it.
For instance, I use GLFW because it's over 100k lines, but I write my own image loading logic over using something like SOIL.
Another time it's a good idea to use a library is if multi-platform is a goal and you don't want to spend lots of time testing and writing on different platforms.
>>
>>38573597
>Other things should be kept in the black magic cave it came from.
Like what?
It sounds really difficult to rewrite complicated things like graphics libraries or whatever.
>>38573623
Alright, then what kind of libraries do you rewrite, for example?
>>
>>38573623
>>38573670
Fuck I misread the part about SOIL, sorry.
Before rewriting something like that, what do you do? Just immerse yourself in the relevant documentation/copy parts from the library you're rewriting?
>>
I know this might be a meme but I can't program because I'm a brainlet, believe me I tried reading a few books but got overwhelmed thinking maybe the hobby wasn't for me or I'm just not made to be a programmer
>>
>>38551510
How do I study programming now that I have a 9-5 job? I just feel like I barely have any time to myself and most of it is just spent either working or sleeping so I get up early enough to work again tomorrow.
>>
>>38573670
You wouldn't want to rewrite a graphics library, you'd want to use DirectX or OpenGL(preferable) since these interact directly with the GPU and work slightly differently on different GPUs.

I don't "rewrite" any libraries, I simply don't use the library and write functionality that I need into my own code. For instance, rather than use SOIL to load images for OpenGL, I just wrote an OpenGL wrapper class for libpng(which again, is not worth rewriting really). If I don't know how to do a thing, I just search for it on Google and then adapt the result to fit to my program, and progressively refine it from there.
>>
>>38573670
>Like what?
Well in my case a group of modules designed to operate a specialty machine that turns rolls of film into stacks of film which is jury rigged by 2 rooms of 1000s of feet of cables and Honeywell processors from the 1960s and written in VB6 without any comments.
>>
>>38573723
Why do you want to program if I may ask? Is there anything specific that motivates you?
Also, don't worry about it too much. Even if programming might not be for you, just keep looking till you find something you really want to do. At least that's what I'm doing right now ;_;
>>
>>38573776
yeah, graphics was an example, but I figured things like graphics, networking, compilers and all that were too hard to redo by yourself.
>>38573862
Sounds difficult. It's a pretty extreme case though.
>>
>>38573896
I thought it would be cool to learn to automate computers and make do things like when learning C and programming an Arduino
>>
>>38573942
Oops I meant to say *make them do things

Sorry
>>
>>38572939
unfortunately, the 'is a' type of relationship expressed by inheritance isnt that useful, which is why the phrase "prefer composition over inheritance" has to be repeated so much.
>>
>>38573942
I can't program either so I can't really give you any tips or recommendations, I'm afraid. Maybe /g/ can help you out with your troubles
>>
why even try, unless you've been at it for years on end already.

You're never going to be as good as someone else most definitely is

>hurrr durr I can add numbers in java
> herp derp look I drew a triangle
>>
>>38573052
be my friend and i will let you use my udemy account
>>
>>38574149
lol really man? What courses do you have that I could watch? I would really appreciate that!!
>>
Tried C# but then went to Python and love how much easier python is. I know some basic stuff but idk what to do now :/ I don't even know what I can do at my current level.
>>
>>38574177
everything from html css to react
i got it for free anyway and rarely use it
>>
>>38574094
I know that feel man. But that goes for pretty much anything. You will never be the best, no matter what you do.
>>
>>38574263
>You will never be the best, no matter what you do.
>tfw
>>
How do you program with concentration problems ?
>>
>>38574561
Make sure you're getting necessary vitamins and shit or get a script for adderall.
>>
>>38574227
Anyway I could contact you? My snapchat is Squirtle.Squirt
>>
>>38574720
just give me your email instead of being a normie
>>
anyone else just wants to program for $? I mean it's nice to make your own shit and steer this machine, but at the same time money is my biggest motivation + robot type job (not any more with all those normies in programming huh), and it feels like a really bad motivator
>>
what do you guys listen to when programming? I want to code in silence but fucking kids outside makes it impossible so at day I need to listen to something
>>
>>38574890
Ryoji Ikeda
>>
>>38574890
Mostly popular rock songs, the kinda stuff that just turns to white noise after a certain amount of time. Definitely can't listen to anything interesting because it'll distract me.
>>
>>38574890
https://youtu.be/Wr_wFh46V7I

https://www.youtube.com/watch?v=bcxnbfRYM-g
>>
File: 1500385891209.png (129KB, 724x611px) Image search: [Google]
1500385891209.png
129KB, 724x611px
>>38551510
I started programming by learning C# through making homebrew applications for an R-JTAG Xbox 360.

Eventually, I ended up switching my major to CS because I love programming.
>>
>>38561666
>they don't teach that in universities
yes they do, at least in Sweden
>>
>>38562093
just read a book on it, aren't you a professional?
>>
>>38575147
Literally do not have time since I'm always having to program shit for them.
>>
I've been programming for a long time but all I ever do anymore is make shitty video games. I have a hard time getting motivated.

working on the text system right now. It's much more of a nightmare than you'd think but it can do a lot of cool things.
Thread posts: 251
Thread images: 26


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.