r/learnprogramming • u/jellycola • May 03 '17
I turned my life around when I learned to code after my country collapsed, so I'm donating all profits from my store to a charity that teaches syrian refugees how to code.
I don't want to get too sappy, but I thought I'd share this because people might find this motivating, and others might want to contribute.
I taught myself how to code, and then went to school briefly, when my country collapsed and I lost my job in 2013 when the Arab Spring hit, and moved to Canada on my own.
A few years later I was a dev at Shopify, a big canadian ecommerce company (and one of the largest and oldest rails apps currently running) and created an online shop with my friend, a lowbrow artist in Vancouver. At the beginning of 2015 I was living on a futon because that was all I could afford until my next pay check.
By the end of that year, I was earning good money doing very interesting work, and had time to work on my online store which is my main hobby now.
I like to raise money for causes I am passionate about. Black Friday we donated to a charity that helps end FGM in Africa.
This time, we are giving everything we make to RE-CODED, which goes to refugee camps in Iraq and runs a bootcamp that teaches youth how to code. I don't think I've ever seen a cause that resonated with me more. My journey wasn't easy, but my country wasn't shelled and I wasn't trapped in a refugee camp.
Anyway, thanks for checking it out, good luck with your journey, and be sure to cop a shirt or two if you want to support.
I'm available for mentorship or help if you DM me, especially if you come from a very nontraditionalbackground like me.
PS: The tall brunette modelling the heavy metal shirt is also a reborn programmer.
PSS: If you want to sidestep the middleman and donate to the charity directly, you can donate here: https://www.generosity.com/emergencies-fundraising/iraq-re-coded--2
However, I bet some of you could do with a fresh new t-shirt or two for the summer. Many of them have designs inspired by the programming and dominos lifestyle.
Stay Greasy,
jellyc0la from HORRIBLENOISE
21
u/Garbanian May 04 '17
I've finally set my mind to learning to code/program because I'm done with the call center life I've been living, but I'm honestly overwhelmed. Do you have any advice for someone who is looking to try this and start coding? I'm thinking of a beginner's boot camp of sorts, or something similar that's local so I can work and go to the boot camp. Any thoughts on those?
25
u/jellycola May 04 '17 edited May 04 '17
I think immersion is key to learning, so a bootcamp might be a good idea. Personally, I think they are too expensive and try to cover too much, too quickly. But I also think that academic computer science is too theoretical and not for everyone.
There are a lot of free resources online, and I suggest dabbling a bit on your own to see if it's something you want to do for a career - it's a big commitment.
I suggest this, and have used it to get a few people started, even though it's kind of an esoteric recommendation. It's insanely practical.
https://www.learnenough.com/tutorials
Finish the command line, text editor, git and HTML one and you will be able to put little static sites on the internet for the world to see. Do that and message me and I'll tell you what you should do next, if you don't know yourself.
EDIT: This is controversial because it will teach you the tools that most programmers (including myself, and most people at shopify) use to make things on the web, without really teaching you programming. A rough anaology would be learning how to use a chef's knife and how to slice and dice vegetables before learning about how to make your own recipes.
For why I think this, check this guy out: https://github.com/ismailarafa It is the github account of a friend of mine that I've been mentoring who wants to learn how to make websites.
The interesting thing about his progress is that he is not far from someone at a place like Shopify when it comes to tooling and workflow, and every little project he makes or even his study notes he puts on github for the world to see.
Here's even made an open-source contribution: https://github.com/tldr-pages/tldr/pull/1287. A simple, but useful contribution that I found myself using the other day. He learned how git rebase works and CI work along the way while doing that. I didn't know what these were until my second programming job. He's only been hacking for a few months and he knows, and that's because he got out in the real world quicker.
To me, starting there is like starting at step 1, not from a theoretical plane, but from a "how do i start building things and putting them on the internet" plane.
I've seen people who are seniors at CS programs that can't do that (and have similar aspirations) because they've only been hacking in sandboxes and very artificial environments.
4
u/Digital_Voodoo May 04 '17
/u/Garbanian, I'm in +/- the same boat and I've been pointed to the CS50 course from Harvard/Yale.
It takes you from the very very basic steps through understanding how a computer works, than links how programming work to it, then goes from one language to another.
Do take the time to watch all the videos (I'm still at it...). Once the course is over, you can choose the language you want and dive deep in it.
I find it very interesting and hope you too. Good luck !
4
u/jellycola May 04 '17
I heard good things about that course. If you're already doing it and getting a lot of it, keep going!
I'll elaborate on this later, but one thing I see beginners do that kills their progress is constantly switching resources as they try to microoptimise their learning path. Learning to program is not a linear rabbit hole, its more like those maps in RTS games that start off mostly obscured. There's so much to cover.
Whatever you do though, I suggest getting into the habit of putting your code online for others to see as quickly as possible. My problem with the Edx course I first used to learn was that everything I was doing was in this little browser sandbox and it was hard for me to bridge the gap between basic CS concepts and what I was seeing on the web.
4
u/Digital_Voodoo May 04 '17
Thank you for replying and sharing your experience.
I'm fully aware of that mistake from beginners. But being one myself, I understand and this is how I can explain it: beginners are in an almost permanent quest of the optimal learning path. They need someone to show them a structured way and time to reach their goal (as done in any other subject in school, in fact). And whichever path they choose, they want to be sure it's the best to date. That is why they are constantly exploring other ways.
I've done this back in 2012-2013, when I signed up on CodeAcademy, was doing good progress but signed up at the same time for programming courses on Coursera, edX, Udemy, etc. Of course, I stopped my progression on CodeAcademy and didn't take any of the others until the end. Moreover, my professional life "helped" me to halt everything.
Although I consider myself not very newbie in the field, I have decided to start everything over again and stick to only one path that would give me a broad view of programming and different languages, so as to let me further choose one language by myself, learn it and master it before moving to something else.
I've spent the last few months to lurk here and there, to decide the path that is most suitable to me. At the end of this video series, I'll start with Python. There are abundant resources, but I'll decide which one is most adapted to me and my life style. Self-paced but not lazy.
It will take time, for sure, but fortunately I'm not that in a hurry to be hired. I'm rather intending to switch career and finally do one of the things I love most :)
3
u/jellycola May 25 '17
beginners are in an almost permanent quest of the optimal learning path.
This was extremely insightful. It's something I've done before in lots of many different areas. I remember when I was trying to learn the guitar I was obsessed with finding answers like Acoustic vs Electric, Tabs vs playing by ear, etc. In reality, none of this matters and I wasted a lot of time.
Definitely stick to one path until you hit a wall.
2
u/yahooitsdrew May 04 '17
hey! i'm sort of in the same boat as you--in that i want a career switch and i think programming/computer science is really what my brain is geared towards.
that said, when you say you started over again, do you mean you started watching the CS50 videos you linked above? i'm also planning on starting with python, and i thought this would be a good starting point (linked by OP above):
1
u/jellycola May 04 '17 edited May 04 '17
That MIT course is very good, especially if you are mathematically inclined, but honestly I found it too hard and dropped before the end. I think algorithms are important to learn, but I have yet to find a situation where I used a notoriously unintuitive technique called Dynamic Programming either at work or when hacking on a project, so I don't know what it's doing in an introductory programming course. There's a lot of things like that as well.
Unless you are on learning full time, or have a lot of time on your hand, and are hyper smart and motivated enough to do it all, I suggest something simpler. Otherwise, power to you!
26
May 04 '17
Too awesome. Shopify is a fantastic company! Glad to hear you ended up there!!
30
u/jellycola May 04 '17 edited May 04 '17
Definitely! Only place I've ever worked for where I felt like no one cared about where I came from and decision making was task based and not role based.
I originally created the shop for an internal competition, when employees got a few hundred bux to bootstrap whatever online business they wanted, and because I wanted to support my friend's crazy art which resonated with me.
There were definitely a few people with unusual backgrounds there. I like that they take punts on people like us.
This guy is a legend and a role model for sure, and has an even stranger origin story: http://blog.gauravchande.com/the-story-of-how-i-got-hired
He responded to a random tweet that the CEO made about that notch DCPU16 emulator game, taking on a challenge without knowing anything about CPUs or assembly, and kept diving deeper into the rabbit hole until he came out the other end understanding how computers work. A few years later and he's one of the top contributors by LOC to their core repo.
10
u/jellycola May 04 '17
Thanks for the encouragement everyone. I wasn't really expecting it. I'll elaborate a bit more since many people are interested based on the messages.
3
u/jellycola May 04 '17 edited May 04 '17
Feel good; look bad
Hono Update
First of all, thanks a lot for the messages and comments! ~1500 upvotes is more upvotes/likes/shares I've had on all other social platforms combined so it's a lot to get through, especially during this campaign. I will try to get to it eventually. This is all very flattering!
Anyway, I'll be a little greasy and say that we dropped two more shirts that you might be interested in, which you can scope here.
We are getting a lot of moral support, but not a ton of sales, so I have no shame in being a bit pushy and asking yoll to cop a shirt if you can afford it. Every little helps, and RE:CODED is badly underfunded, and you can tell your friends about the cause when the look at your shirt.
Programming Advice
Many of the messages in my inbox ask me about things that helped me out so I will share them here so everyone gets them.
Disclaimer I only have a few years of professional experience as a programmer, have my own biases, neural configs, prefered learning strategies etc, so don't take this at face value, but instead integrate it with what you already know.
Disclaimer 2 This is a wall of text
1) It's a marathon, not a sprint
If you haven't already, be sure to read Peter Norvig's (Director of Research at Google) essay about the journey
Don't worry too much about how much there is to learn, or whether you're not learning the new cool thing, or not learning quickly enough. Hopefully you're in this for longer than 21 days.
There's a time for hacking things together, experimenting with the new thing, or bolting together as a prototype or to pay the bills, however, dont compromise your long term learning by not taking the time to understand what you are doing and why it is or isn't working.
2) Nothing helped me in my career more than understanding things at a deep level.
When you are learning a new language, a new tool, framework, technology, you will find that you can make more progress in the short term just by pattern matching without really understanding what you are doing. You can get far with stackoverflow and a certain kind of stubbornness to just keep going.
Don't do that shit. Nothing will save you more time in the long run than stepping back and realising that you don't understand what you are doing and need to learn more.
If you don't do that sooner or later you will hit a bug or a problem you can't solve and descend into madness as you fail to guess the right incantation to make your thing work.
Sometimes I think that one of the biggest parts about coding is self control - having the ability to calm yourself when you get frustrated and trying to break down a problem into smaller steps or pieces which you can reason about.
For example, if you are doing web stuff, when the time comes, understand networking, how servers work, how browsers work, read the HTTP RFC, before you start using higher level frameworks or complicated libraries or esoteric languages like Node or React or Erlang or whatever.
For that, I find going through technical books like Dom Enlightenment or High Performance Browser Networking, as an example for learning front end dev, to be a lot more fruitful than random online tutorials. They are harder to get through but the information is much more coherent.
It also helps not to move on to a new technology unless you understand the ones you have been exposed to very well, if you think it is something you are going to be using in your career.
An example that might be relevant to you if you are starting off with web stuff is how I've been teaching my friend javascript and css. I've seen a lot of people hack some css, not really understand it, then move on to some framework like bootstrap, and then hate CSS forever. Before you mess with frameworks, or higher languages like Sass or PostCSS that compile (translate) to CSS, I made him go through this very long and pedantic guide to CSS layout. It took him a few days, and it definitely wasn't fun, but because he did that he is better at CSS than many backend developers I know.
If client-side js was something you were interested i, . Forget react and angular and vue and whatever else is cool these days for the next year (apparently react has been rewritten, lol). Instead kearn how to build something like a calculator with just JS. and then learn jquery and see what it buys you. Then build lots of small things. Then read something like Dom Enlightenment where you build your own little thing that addresses the shortcomings of JS. Then build lots of things.
At that point you will know whether or not you need React and (And if you are just hacking solo, you probably don't need i - since that thing was made to solve problems that facebook had), and you'll be comfortable with it in a week.
3) Computer Science is very important, but there's a time for it and it's not when you can't program.
Kind of the flip side of the last point: Turns out CS is actually important.
You don't want to be forcing yourself to do something uninteresting. I suggest that you first learn to program and build non trivial applications so you have things you can show people, stay motivated, and can maybe start doing this for money.
But once you do, be sure to then step back and drive into the fundamentals, or you will never be able to solve hard problems. Right now, if you just want to make simple business applications, then its fine to defer more hardcore CS until you need it. But trust me, you will if you want to have a long career and have lots of fun.
I've been using this excellent resource to go through a second pass https://teachyourselfcs.com/
Recently, I've actually been hacking C so I can understand the code bases of Redis, Postgres and other datastores. Before, I used to have extremely little interest in low level programming, computer architecture, etc. and didn't see why I should be learning about things like that when I can't program simple things, and I still think that makes sense. It wasn't the time for it.
This book also helped me when I was weaker in CS than web dev: https://bigmachine.io/products/the-imposters-handbook/
At some point though, you will reach a level that is just too far down for what you want to be doing, and that's OK. Not even the most idealistic of academics would think it's still useful for a computer programmer to understand how we get silicon used in computer chips out of the sand.
The sweet spot is understanding at least one layer below what you are currently doing.
4) Do one thing at a time
A lot of people asked how I deal with information overload and all the resources available on the internet. That is indeed hard, and it's very important not to get distracted otherwise you will never learn.
If you're in the middle of a course, ignore everything I say here and finish that first, and you'll be better off than someone who never finished anything and kept optimising and worrying about the best way to start.
On the other hand, a lot of the stuff on the internet will seem enticing and could be valuable.
What works for me is.. I literally keep a text file with things I want to accomplish. Like when I find a cool book or blog post or tutorial, I just write it down in that file. When I have an itch to optimise, I reorder things around. But I always keep that shielded from what I am currently doing, which is ONE book or resource or project where I go very deep.
Right now I'm just trying to get much better at C. Knowing that one day I will learn Haskell and dive deeper into functional programming makes me comfy because it is in my list. But for now, I dont care about it.
3
u/jellycola May 04 '17 edited May 04 '17
5) Nothing will waste your time more than being a hipster magpie.
If you frequent reddit, hackernews and similar resources, you will be bombarded with people namedropping the benefits of some new technology, build tool, language, and decrying the death of its ancestor. It's functional! it uses the erlang VM! its more declarative! it's more simple! Often these advantages will be contradictory and have no data to back them.
Sometimes these statements are so outrageous, yet so influential that I've seen undergrads trying to debug some react/docker monstrosity they did for a school project that was just putting a bunch of university points of interests on the map that can be done in maybe 50 lines of JS, or people using complicated NoSQL databases without having any users or data.
Most of this is BS and will waste your time, and you should ignore it until you know what you are doing and when you need new shiny.
When I was first learning web dev, Ruby and Rails was the new cool thing, and node was like the "bleeding edge" choice.
Nowadays Rails isn't cool, node is enterprise, and the cool ppl are slinging elixir and golang. And you know what, by the time you learn how to program those things wont be cool anymore, but you will find that you can learn them super quick, because there are really only so many ways of moving data around and putting it in a database then showing it to a user.
I learned this the hard way with Angular 1.x (I dove in without knowing much js. It was touted as the way to build single page applications and everyone took that as gospel. A few years later it was rewritten in a backwards incompatible way because it had so many performance problems. Many times these tools will actually slow you down.
I'm not against progress or staying up to date, but when you are starting off, keep it simple and focus on building things and learning the fundamentals. You will know it when you need it.
Don't be like me when I replaced Grunt with Gulp for no reason only to find out that a) there's no difference b) there's a new cool thing that everyone moved to c) this is basically Make, a neckbeard tool from 1976.
Shopify is basically Rails, MySQL, Nginx and some caches, which isn't very cool these days, but scales to handle a pretty crazy amount of orders
Become a programmer because you want to use creativity and logic to solve problems and make things.
6) Find a mentor who does what you are doing
Two of the people I've been mentoring want to be professional web developers. I'm a professional web developer, so I can give them realistic advice that saves them a ton of time, keeps them motivated, and guides their learning.
Whenever I wanted to learn something, I would go to someone that has already done it and ask them how they did it. It's like the only lifehack worth remembering. Most people are eager to help.
If you want to become a game developer, or a data scientist, find a game dev or data scientist and ask them to mentor you.
7) You gotta ship
No matter how many books you read or how many courses you go through, the only way to improve is to code a lot and make lots of things.
It's a good habit to get into learning git, and knowing how to put things up on github pages as early as possible.
I made a contract with my latest mentee that if his code isn't on github and, in most cases, deployed live on github pages, then I don't care about it.
Don't worry if it's garbage. I think my first one was a bad non-responsive html/css clone of the google search page. Putting things up forces you to meet some minimum level of craftsmanship where your stuff has to at least work and be visible to someone else.
8) If you want to be good at programming, get the first job/internship/work opportunity you can even if is not sexy.
My first programming job title was "junior software intern" at a 10 person company that was around for decades, mostly ex microsoft people working on a ASP .NET codebase to schedule shifts for large enterprises. My monthly salary was about $1.8k a month.
It was the opposite of sexy, and the opposite of what I thought was cool at the time (I wanted to learn vim, unix, and use open source technologies), but I still learned a ton about programming that I didn't know, like how to incorporate feedback from other programmers, and how to write maintanable code. When I started there, I used to try to write things as cleverly as possible. I would cache things for no reason without profiling, and one time I literally rewrote a big hunk of code I had written to something that is logically equivalent but uses less lines of code thinking that this is better code. I also had no ability to make reasonable estimates.
I remember talking people into doing an infinite scroll thing thinking it will take about a week and then a month later I'm installing windows XP on a VM to try to figure out why nothing is working on IE8. Good times.
Doing anything for 40 hours a week will teach you a lot about it, and I learned a ton on that job that helped me get my shopify job.
9) When you get a job be able to think at a higher level of abstraction than what you are currently doing
This helped me throughout my life in any career and not just in the software biz, and is more for when you get a good job and want to succeed in your career.
The absolute majority of us who software for are there because some business person had some money and thought they can turn it into even more money by hiring programmers to write software. You can be a very good programmer but if you aren't adding value to the business or the organisation that you are in, you will not get far.
For example, I've seen smart programmers just munch through obscure bugs or issues that were very hard to fix that no one cared about for months.
Be good at the task you are hired to do, but also think, what is my entire team your are a part of trying accomplish, and how do they make money? What is your superior responsible for? How do your customers or fellow devs feel about your product?
If you try to apply a problem solving mentality to these questions, you will find yourself able to work more autonomously, suggest features, improvements and build tools that add value to your organisation and get recognition then the dude who is just doing what they are told and churning filler/negative work in their free time.
I feel a bit weird coming off as some kind of guru here, so don't take this as gospel. Instead, see if it is consistent with other things you've read and think about it for yourself. There's a lot of misleading information on the internet and sometimes I wonder if I'd
I'll make another comment some other time with some kind of rough outline of how I got started, and how I can help. I kind of have a crazy idea.
Stay greasy,
jellyc0la
6
u/MHMoose May 04 '17
This is great. Bookmarking to use as motivation when the United States collapses later this year.
5
u/jellycola May 04 '17 edited May 04 '17
I hope it doesn't, but don't rule it out. Civilizations rise and fall. Iraq was the United States of its day a few centuries ago.
The word "Algorithm" comes from this dude: https://en.wikipedia.org/wiki/Muhammad_ibn_Musa_al-Khwarizmi
A scholar who lived in Baghdad in the 9th century.
2
u/CMSigner May 04 '17
The irony of the type of artwork you've got and donating to children is kind of killing me. (crying laughing emoji)
These just aren't my style--except maybe the greasy pizza graphic, but I'm going to look into donating directly to them. Have you guys considered doing your style of art and mixing it with the actual causes you're working with? (art+programming+cause, and maybe humor if it fits in there) Because I can promise you--I'd be buying that t-shirt.
3
u/jellycola May 04 '17 edited May 04 '17
I know the artwork is a little risque, but I don't see it being particularly offensive or harmful to children. Fair enough if it isn't your thing. And badass that you're still considering donating!
Your question about mixing art with the causes we are advocating for is very thought provoking.
My friend who draws the designs has been doing lowbrow art for a lot longer than we've been selling things, and though he's been 100% onboard with the charities I've wanted to support and the idea of using our skills for good, I don't want to completely override his creativity, brand and style because its very original and personal (And for me, very relatable because it is so dystopian).
One day I'd like to have the means to do something solely altruistic, but I see that as a different project. Right now it's just cool art and apparel that happens to contribute to good causes. He described our approach as "chaotic positivity" which I liked a lot.
PS: If we were to do it, it will probably be like this drawing for our anti FGM campaign for black friday. (Warning: there's a drawing of a vagina) https://www.instagram.com/p/BNNy6s-BJ4q/?taken-by=horriblenoise
71
6
2
u/irbaz May 04 '17
I have information overload when starting to code. There are many sources to learn coding from. How did you narrow down the sources, which sources did you use?
3
u/jellycola May 04 '17
See if my answer helps. tl;dr for your first question:
pick one thing, and only do that. If something else comes up that you think is cool, write it down as something you will check out later. But keep doing what your doing.
For sources I used, I'll outline that in a later post.
1
u/irbaz May 04 '17
Thank you for the response. I'm enthusiastic about the idea of making a service based tech business, but I find myself coming up with ideas more than knowing how to start building the actual product. Is it not worthless to come up with these ideas if you don't know how to build them, or pay someone to create it?
I'm knowledgable about stacks and technologies, but 0 to no knowledge about programming. I'm sure many of us can use a mentor :).
1
u/jellycola May 04 '17
Good question. I had this for a long time as well and many others asked about it, so I will address it in an upcoming comment or two
10
17
May 04 '17
This is such an inspiring story. Most people take up coding as a hobby but you're really contributing to the community and helping people create a future in tech. Keep up the good work!
5
5
4
4
4
4
3
u/spore_777_mexen May 04 '17
I always wondered how I could use programming to make the world a better place and this has opened new doors. Thanks for sharing.
2
2
May 04 '17
Wow, what a great story. Thank you for sharing! Love hearing about people who got into technology from non-traditional backgrounds.
2
6
5
2
2
May 04 '17
as someone trying to learn to code to turn my life around, thank you for the inspiration, some days I almost feel like giving up, this should help keep me going for a bit.
1
1
1
May 04 '17
hopefully get Syria back to the stable country it was before rebels tried to oust Assad
2
1
-26
May 04 '17
[removed] — view removed comment
16
u/Not_A_Throwaway999 May 04 '17
Can it teach them the logic behind leaving the violent savage pedophile cult that is islam?
There was nothing about religion in the post at all, why bring it up?
13
6
8
May 04 '17
Christianity would like a shout. Anyway, this ain't about that.
1
May 04 '17
Admittedly for some strange reason Islam gets a pass for things we give Christians shit for but again not the place.
2
3
39
u/yellowstickypad May 04 '17
What language did you learn to code first?