News for hackers. Stuff that matters.
Re:Why do so few people major in computer science? by ashark on Monday May 29, 2017 @06:42PM (#14441901)
I don't think it's even the programming that's the problem. There's a ton of Stupid Computer Shit we all know, mostly from messing around on our own time, that makes programming or doing anything else with computers much easier. A set of skills for navigating and troubleshooting issues, and a hard-earned intuition for where and how to look for answers.

My CS program was really easy and I still don't know how people who hadn't put hundreds to thousands of hours into picking up that stuff in the years before college made it through. Many didn't, I guess. With some programming background on top of that it was pretty much a cakewalk for me, but the poor n00bs....

Re:Why do so few people major in computer science? by Baeocystin on Tuesday May 30, 2017 @12:19AM (#14442984)
>There's a ton of Stupid Computer Shit we all know, mostly from messing around on our own time

This, I think, is the core issue. Like most of us here, I started playing with computers as a young child, from a Timex Sinclair 1000 as a pre-teen to a Commodore 128 as a young teen, then an Amiga and beyond. It wasn't work, it was fun, a hobby. And more importantly, by the time I hit college, I had literally thousands of hours of practice just being immersed in how computers work.

I started tutoring other students in CS for some beer money, and it was a real shock at how awful otherwise very intelligent people were at what I considered utterly trivial questions. But they weren't trivial. They were only simple if you already had a complex, detailed and well-worn model of how computers work running in your head. Without that, even simple computer tasks may as well be written in cuneiform for all the good it does the genuinely new student.

I'm not even sure it is possible to take a young adult who is truly computer illiterate and have them succeed in a technical major. At least not in a standard 4 years. There is simply too much foundational knowledge you need to have before you can even begin the real work of learning what to do.

Re:Why do so few people major in computer science? by uncletaco on Tuesday May 30, 2017 @08:50AM (#14444904)
So my story is a little different. I didn't write my first program until I was in college and didn't even own a personal computer until I was going into my junior year in 2009.

I had the advantage of having a department that assumed we were computer illiterate (I went to an HBCU in the late 00s: lots of low-income kids, very few had PCs of their own growing up, let alone college educated parents) so there were a lot of resources dedicated to tutoring, TA involvement in labs, and building a community around our department. It sort of felt like being in a sports club. Every freshman was assigned am upper-classman mentor and every mentor I had took their role seriously. If I didn't come around for a week I got a phone call. If I struggled I got extra help, and my relationship with my mentor was something that came up if I started slipping in a class. We also had advisors based on our interests who were constantly throwing REUs, internships, and events into our face.

When I went to grad school at a majority institution it was like night and day (no pun intended). Lower level students were often left hanging on a vine and were only paid attention to if they were already successful. The TAs weren't actively helping students, only passively so. I left there thinking there were probably a lot of kids who got turned off to the major because they didn't get the help they needed. Poor kids especially had it rough because they often came from a situation like mine, households with one computer that they were only allowed to use if they were using word write a paper or something.

I say all that to say I think you can teach a young adult to succeed in a technical major in 4 years, but it takes a village. If you immerse them in a community built around that technical major, it becomes a lot easier to get them up to speed.

Re:Why do so few people major in computer science? by xeromal on Tuesday May 30, 2017 @12:30PM (#14446479)
Agreed. I think what's more important than tinkering with computers as a child is to just have willpower to stare at something for hours with no end in sight just to have a small breakthrough. Those breakthroughs, for me, almost seemed to reward me with little releases of endorphins like solving a puzzle.
Re:Why do so few people major in computer science? by uncletaco on Tuesday May 30, 2017 @12:42PM (#14446557)
I lived for those "a-ha" moments too. I remember when the theory of computation clicked and the rush of understanding that washed over me that put everything I'd done in that class in perspective. It was probably the best feeling I ever had in my academic career.
Re:Why do so few people major in computer science? by Baeocystin on Tuesday May 30, 2017 @05:56PM (#14448866)
Thanks for sharing your story. It makes me genuinely happy to hear.

It really bothered me that I wasn't able to successfully tutor more CS students, and many folks that I know would have (eventually) loved it and thrived in the discipline dropped out due to their inability to get over the hump.

It sounds like from your experience direct, constant mentoring (along with a highly motivated student!) does work.

Re:Why do so few people major in computer science? by YZF on Tuesday May 30, 2017 @12:43AM (#14443041)
I should have thought about beer money. But I was such an introverted geek.

I do remember watching other people trying to figure out how to use a mouse or the most basic stuff. I've already studied algorithms and data structures and had a paying programming job. Most of the CS work seemed trivial but I did learn some math. The math did get hard so the degree was definitely not a breeze. Even with CS there were areas that were less trivial like computational geometry or numerical methods but I had the advantage that coding was a non-issue so I could focus on the essence.

Many many many years later, I still often make the mistake of assuming things that look trivial to me are also trivial to others. It's just so hard to tell whether something is universally trivial or just trivial because you've done it so many times.

I wonder if the current generation's "playing" with their phone/computer/tablets gives them an advantage over the previous generation. I do work with quite a few sharp young people but I don't know whether they had programmed before going into CS or not, I guess I should ask...

Re:Why do so few people major in computer science? by tsukikage on Tuesday May 30, 2017 @04:23AM (#14443695)
If anything, it's a disadvantage IME: the implicit lessons of the iDevice are that the world is made of non-user-serviceable black boxes that cannot be recombined to make anything substantially different than what you started with, and if one does ever manage to peek under the hood (and why would one do that, any more than they do with their fridge or their TV?) one sees only immutable non-deconstructible complexity.

Contrast this with the 8-bit era: devices made of multiple clunky components large enough to manipulate and simple enough to fully comprehend, shipping with "user manuals" that look like today's programming textbooks or service/maintenance manuals (where those exist today at all), a readily available developer environment giving full access to the hardware, tinkering with hardware and software as a matter of course to get anything interesting done at all... The experience is very different indeed.

Re:Why do so few people major in computer science? by rjbwork on Tuesday May 30, 2017 @05:20AM (#14443949)
I totally agree with this. The mass produced handheld computers such as smartphones and tablets, which outnumber desktops and laptops in personal ownership worldwide, will absolutely not help the newer generations with learning how computers work.

When I was a tween I was building my own desktop, installing drivers, trouble shooting driver issues, trawling log files, and even dabbled in a little bit of python here or there when I had no idea what I was doing.

None of that is even a thing on the black box of of a touch screen device.

Re:Why do so few people major in computer science? by sqeaky on Tuesday May 30, 2017 @01:17PM (#14446828)
I am so glad that there are enough people around to support a healthy PC components market. I build 1 or 2 per year and I haven't felt the supply dwindle yet.

It is a shame that this is no longer the default option, but it can be done for people wanting to get an educational experience. I wonder how easy it would be to build a computer with a little kid?

Re:Why do so few people major in computer science? by Baeocystin on Saturday June 03, 2017 @03:36AM (#14475427)
My six-year-old nephew sat with rapt amazement as I assembled a standard PC in his living room while hanging out with the family. It was a very straightforward build- just motherboard, CPU & RAM, no addon cards, hard drive was already in the case. His mind boggled a little when he saw all the wires from the power supply, but as I pointed out how each group of wired to key into only certain ports, I could see the 'aha!' in his eyes.

(He also just about jumped for joy when he saw the color-changing LED fan I put on the case.)

Obviously at that age he doesn't quite have the manual dexterity to do the work himself, but I let him touch the RAM as I installed it so he could feel it click in to place, and showed him how to close & latch the CPU lever.

He appeared to really enjoy the experience. The next time one of the offices I work for retire some desktops, I may clean some up and partially disassemble them, so he can 'build' one himself. I really want to impress on him the fact that things that look complicated can be understood, if you just break down the task into bite-sized chunks.

Re:Why do so few people major in computer science? by fivestar on Tuesday May 30, 2017 @01:17PM (#14446830)
You forget that Arduino and Raspberry Pi exist now and fill that void quite nicely. If anything, I think it is far, far easier to learn the intangible CS skills today than at any time in the past. The one problem I see is with kids' motivation to do so, not with access to information or materials.
Re:Why do so few people major in computer science? by thenanyu on Tuesday May 30, 2017 @04:31PM (#14448301)
I think the subtlety is the change in defaults. Having access isn't even half the battle. Speaking from experience my motivation came from spending hundreds of hours making the only computer in my family work.
Re:Why do so few people major in computer science? by rjbwork on Tuesday May 30, 2017 @03:34PM (#14447873)
Naw, but I don't think they fill that void. Regular families don't really need/want desktops like they may have in years past.
Re:Why do so few people major in computer science? by theorique on Tuesday May 30, 2017 @10:34AM (#14445644)
Exactly. And the UI of a phone has become increasingly elementary and unsophisticated compared to even a keyboard and mouse. Being an end user of mobile games or Snapchat or Tinder (swipe-swipe-tap-swipe) simply doesn't prepare you for Emacs or vim.
Re:Why do so few people major in computer science? by alasdair_ on Tuesday May 30, 2017 @02:18PM (#14447271)
My son is five and recently put together one of these: https://kano.me/

It's a great little system. It teaches the commandline and python programming and it lets kids do things like play minecraft then change the code to make it run differently.

Re:Why do so few people major in computer science? by wcummings on Tuesday May 30, 2017 @08:12AM (#14444662)
This is why I think it should be mandatory for CS to use free software.
Re:Why do so few people major in computer science? by smeroth on Tuesday May 30, 2017 @03:46AM (#14443559)
I don't think they have an advantage, as I've noticed that kids knowing their way around their phone are often completely lost when put in front of a computer. They never use the computer, they have everything in their phones. Compared to a computer, a phone is simple, and you aren't actually solving any problems while using it (you're just downloading and running apps). When you have a phone, however, there's no need to learn the computer. This means that they're missing out on the computer learning curve that we experienced.
Re:Why do so few people major in computer science? by fivestar on Tuesday May 30, 2017 @01:19PM (#14446841)
Again, Rasp Pi and the whole "maker" movement are mainstream. My daughter is in a STEM Middle School and she has done more things at age 11 than I did when I was 18! They're teaching Android game coding to kids age 10.
Re:Why do so few people major in computer science? by CydeWeys on Wednesday May 31, 2017 @04:06AM (#14451021)
I think your daughter is lucky to be going to an exceptional school that teaches programming at age ten. The vast, vast majority of American students do not have these kinds of courses. May I ask what school system your daughter is in?
Re:Why do so few people major in computer science? by Guyag on Monday May 29, 2017 @08:16PM (#14442235)
I think GP hits the nail on the head there with the homework analogy, and you with yours. Just talking to my friends in other careers about the work that I do makes me check time and time again just how many assumptions of knowledge I make when talking about anything vaguely technical (which is possibly a criticism of how I explain things, but also/even if so says lots about this issue).

What surprises me is the lack of consolidated resources addressing these basic pain points. I don't think it would be hard to come up with a list of examples just by looking at a normal work day and taking a step back; really evaluating where you're relying on basic knowledge to do even the most mundane of tasks. Once you've been doing this for a few years those tasks are just that - mundane - but for beginners it's having difficulty with those basic parts that is a real turn off. "How will I ever be any good at this if I can't even download code off this thing called Github". If someone could point me towards some kind of existing resource covering a bunch of different areas in this way I'd be really interested in having a read.

On a related note, I'm reminded of one of Dan Luu's related essays on debugging [1], which I recommend reading if you haven't already.

[1] https://danluu.com/teach-debugging/

Re:Why do so few people major in computer science? by PretzelFisch on Tuesday May 30, 2017 @12:40AM (#14443033)
My Cousin smart kid had to come over at midnight because he had his first java assignment outside the ide. Couldn't compile because class path was not defined right on windows. Things like that scare people or pop their confidence.
Re:Why do so few people major in computer science? by erikbye on Tuesday May 30, 2017 @02:57AM (#14443370)
That just sounds like the professor didn't teach them about Java classpath before telling them to use a CLI; or this kid didn't read the course materials.
Re:Why do so few people major in computer science? by michaelt on Tuesday May 30, 2017 @07:35AM (#14444512)
It's not unusual, in education, to begin with something interesting* to provide motivation and a big-picture view before getting into details.

For example, if I wanted to teach a kid to use an Arduino, I'd start them off getting an LED to blink by telling them which wires to plug in where, and what code to type in. If they were good at that, maybe I'd have them make it fade in and out like a macbook light.

That way, when it comes time to learn about voltage and current and P-N junctions and bandgaps and PWM and cross-compiling and memory maps and bootloaders, they'll have real-world examples to relate it to.

The difficult part, of course, is even if I thoroughly test the instructions with a clean VM and hardware, the instructions can still fail - like if they've installed a different version previously and there's some sort of conflict.

*Or at least, interesting by the standards of the course

Re:Why do so few people major in computer science? by dagw on Tuesday May 30, 2017 @03:44AM (#14443548)
Sure, but if you have been playing around with environment variables in your OS since you where 8 years old the problem becomes a lot easier to troubleshoot, compared to someone who has never heard of environment variables.
Re:Why do so few people major in computer science? by nathan_f77 on Tuesday May 30, 2017 @04:44AM (#14443770)
Even after decades of experience, this stuff can still be extremely frustrating. I remember my first experience trying out Go, fighting with the GOPATH and GOROOT variables until I could figure out how to get things installed properly.
Re:Why do so few people major in computer science? by le-mark on Tuesday May 30, 2017 @10:32AM (#14445633)
I recently had this experience as well, it was a good reminder about the fundamental obstacles. Although after years, we're much better equipped to interpret error messages and search for answers than a novice. Also, google now vs pre-google. Answers are so easy to find now, it boggles the mind.
Re:Why do so few people major in computer science? by CossieRay on Tuesday May 30, 2017 @11:40AM (#14446087)
I'm a bit interested with your comment. Do we have 8 year olds playing around with environment variables in the OS? I'm curious because I never thought that could be possible
Re:Why do so few people major in computer science? by douche on Tuesday May 30, 2017 @04:33PM (#14448306)
It was not uncommon to have to monkey with crap like that back in the DOS days, to do the most basic things. I vaguely remember having to fool around with autoexec.bat and play with virtual and extended memory settings to try and get Raptor: Call of the Shadows, Wolfenstein 3D or Warcraft: Orcs and Humans to load up and use the right colors on the family 586, when I was much too young to be playing such games - or really tweaking environment variables.
Re:Why do so few people major in computer science? by dagw on Wednesday May 31, 2017 @03:54AM (#14450991)
Yea, having to hack your autoexec.bat and config.sys files to get your games to work was definitely a formative experience :)
Re:Why do so few people major in computer science? by CydeWeys on Wednesday May 31, 2017 @04:10AM (#14451030)
I remember having to muck about with autoexec.bat files when I was SIX (this was a quarter century ago) because our 386 desktop had enough memory to run either Windows 3.1 or the CD-ROM drive, but not both simultaneously. Granted, I was just copying instructions that my dad had written into a workbook, not writing the file myself.
Re:Why do so few people major in computer science? by thanksgiving on Tuesday May 30, 2017 @04:16AM (#14443671)
That's likely a source of frustration. In class, professors and other students might assume you already knowing something as in indicator that you're passionate/interested and not knowing it means you're not. (A->B doesn't necessarily mean ~A->~B, right?).
Re:Why do so few people major in computer science? by literallycancer on Tuesday May 30, 2017 @07:46AM (#14444552)
Maybe, but the procedure is the same as for any other error you don't understand, copy paste the error message to a search engine and use the results to figure out what it means and how to fix it.
Re:Why do so few people major in computer science? by GrinningFool on Tuesday May 30, 2017 @01:42PM (#14447016)
Which teaches you how to find other people's solutions to your problem- a valuable skill - but you miss out on building foundational troubleshooting skills.
Re:Why do so few people major in computer science? by fivestar on Tuesday May 30, 2017 @01:21PM (#14446858)
But that kind of information should just be in the instructions for the assignment. It's a problem with the instructor, is what I'm getting at.
Re:Why do so few people major in computer science? by pbhjpbhj on Tuesday May 30, 2017 @06:47AM (#14444301)
Doesn't the Java processor tell you in the error message that it "can't find x in classpath" or whatever?

Perhaps the lesson was "read the error message; if it doesn't help then take that as a call to produce useful errors in your own programs"?

Re:Why do so few people major in computer science? by zigzigzag on Tuesday May 30, 2017 @04:10PM (#14448149)
Learning to read errors is itself a skill. The number of professional devs who ask questions of the form "I got this message what do I do" and the message itself tells them what to do is astonishing.
Re:Why do so few people major in computer science? by usmeteora on Tuesday May 30, 2017 @09:30AM (#14445186)
to be fair, I've been coding for 8 years and have never coded in a Windows operating system outside of an IDE, and in general I don't use either, and have not since Computer Science 1.

For a job, I had to get python working on Windows, and it took me a few days to get it in stalled correctly on Windows. Even after years of coding experience.

The issue with Windows is it is designed to explicitly hide the backend functionality, and modular accessing and modifying of it to the front end user, so when you do need to do something of the sort, it's more difficult than linux, and even after using linux operating systems, macbooks I find difficult to work with because comustomizable things are hidden to the average mac user.

That being said, a linux operating system is probably daunting for a first timer.

HOW I LEARNED COMPUTER SCIENCE

I only minored in Computer Science, and like others, did not even know what it was until I went to a tech college for Electrical Engineering. I grew up in the deep south low on the socioeconomic scale, noone in my family even went to college ever so I just had had no exposure to computers or even the idea of computer science before.

It seemed cool but daunting.

1. I got a part time job in tech support to help myself get acquainted with the parts of computers and technology that you need to learn so that when you do Computer Science you can focus on Computer Science.

That side job was 15hours a week over two years and it helped me learn alot about troubleshooting, viruses, computers, I reimaged hundreds of computers and learned how to make my own isos, take apart and put together computers.

It made my computer science courses in relation seem ideal and the technical bottlenecks of working in different environments whether operating systems, relatively trivial but yeh, I had to double up on my time commitments and turn my college job into tech work to catch up.

2. once I learned what a linux operating system was, I started using only minimal versions of linux, so I would be forced to learn more about how computers work to do everyday needed tasks, along with all over layered projects and school work on it. This helps ALOT.

You want to print something, you need to install or update the drivers, you want a functionality that you didn't know could never not exist on a computer, now you learn how to figure out what to download, what rpms are learn alot about options you have from opensource packages many people have made.

Now you are aware of hundreds of gaps/needs in functionality that have not been written so you could try something and have a realistic project to work on.

You have access to other peoples code...etc...

All of this from googling about printing drivers and why you have access denied....

the learning curve is steep but its hard to learn about this world any other way.

WHY I DID NOT MAJOR IN COMPUTER SCIENCE

In regards to Computer Science, there were a few reasons I did not end up majoring in it despite really liking it, and now taking coursera courses from Stanford and Princeton to supplement my desire 5 years post graduating to go back and learn more and shift to full time software development.

As a disclaimer, these are all really a result of my mental approach/reaction to a growing desire to learn more Computer Science.

1. I really didn't have the self esteem that I could do it in four years.

I knew I could excel at Electrical Engineering, but Computer Science seemed like a whole new world I could not learn in four years.

2. I went to a pretty good engineering school, and the kids in Computer Science had basically been coding since they were 8, so for me I felt like the competition was high and I could not stand a chance.

3. In retrospect that was not the case, and in fact the people I did know in Computer Science were very welcoming and encouraging to me coming into it, but I really didn't believe I could do it.

I regret that approach now, and I could blame it on all things academia in Computer Science, but it was really my reaction to the sentiment echoed here already that it takes years to really feel comfortable with Computers, programming and all of it in context so you aren't constantly wondering what youre not understanding or spending hours trying to set up varied work environments because you've never used a terminal before.

It is a continual effort and Computer Science, more than any other major or practice, is a new lifestyle and way of thinking, and a lifelong commitment to learning.

For me, I have continued on this path and continued to code for years after college and work on independent and group projects, and taken on coding work in my jobs in relation to electrical engineering. Just now at 26, being first exposed to Computer Science at 18, do I feel confident about my ability to learn and do well as a software engineer that is not a code monkey, working on computationally challenging problems where scaling, algorithms and data structures are a core part of design and implementation to make something successful.

You just have to keep trying, and in general, in regards to computer science or elsewhere, this weeds out alot of people.

SOME INTERESTING THINGS

As a final note, I would say the most daunting part of Computer Science in college was the perception I had about the experience and practice of Computer Science majors versus mine. I felt really ignorant in comparison and had no realistic way to convince myself I could compete and do well amongst kids with 10+ years experience.

Perhaps the value of this post is to say. I overcame alot of obstacles socioeconomic and otherwise to get into college in the first place.

I made a 4.0 in a private high end highschool and had and have a good work ethic and intelligence.

I even went to an engineering school and majored in Engineering.

Despite all of these layers of statistical thinning, I still didn't feel I could cut it as a CompSci.

If it is challenging for someone who is otherwise very smart, exceeding well by all academic metrics, has a good work ethic and is already in a school offering a good Computer Science program, wants to learn Computer Science, takes entry level Computer Science courses and makes As in them, and still doesnt feel confident about Computer Science, then there is definitely something about Computer Science, that sets the barrier high for learning.

It's definitely a DIFFERENT way of thinking, and I think the barrier to that new way of thinking is not a barrier for learning in most other places perhaps maybe save linguistics, which is also extremely difficult to become proficient in if you did not grow up in a multilinguistic environment or are not constantly saturated in living in a multilinguistic community.

You need to saturate yourself in a new way of thinking, and for me it is incredibly rewarding and translates into every other part of my life and allows me to think more objectively and logicially, creatively and efficiently than I have knew I could, but I think it is the way of thinking that is the learning barrier, along with the multilayered skills needed to navigate complex computing environments, that keeps people from Computer Science.

Re:Why do so few people major in computer science? by le-mark on Tuesday May 30, 2017 @10:40AM (#14445684)
Lots of good insight here, you ought to cut n paste this into medium to get it out there. I particularly find your perspective of academic high achievers, who have already over come many obstacles, to still find CS as an impenetrable discipline.
Re:Why do so few people major in computer science? by ajc-sorin on Wednesday May 31, 2017 @01:03PM (#14454067)
This is really valuable insight. Thank you for sharing this!

If you don't mind me asking, did you apply this approach to specific programming languages? I'm curious which ones you tried to learned and ended up sticking with, and why.

Re:Why do so few people major in computer science? by usmeteora on Monday June 05, 2017 @01:53PM (#14489649)
What I stick with is based on what I'm developing and working on. The important part is to not be afraid to learn and try new things. I have not stuck with anything in particular but I stay strong in C/C++ because most of my development has related to efficient memory solutions.

On the other hand, Java is really nice for algorithm testing, and writing for classwork.

Javascript is obviously inescapable in some format if you are doing web development so I jumped right in and have learned it with Angular, Express, the MEAN stack in general etc.

It's better to have actual projects to work on. From there its easier to center around a framework, but I still prefer C/C++ but I am learning to appreciate Java the more I develop GUI applications and test more complex algorithms.

Recently I'm trying to test out an idea for an app, so the first thing I knew is I wanted it to be cross platform, so I've had to learn alot more javascript/ionic framework, etc. cordova and how phonegap is a version of that, and learn android and ios app dev to understand how phonegap links the two, and of course theres a movement to use react to dev natively, and Kotlin is coming in strong in the Android space with cross platform app dev, so there is alot you have to learn once you have an idea, and need to learn what helps you implement that idea/project, and you learn more that way instead of saying "I'm going to create something pretty with javascript". You will learn 20x more by making an entire project from design to implementation, and become familiar with how to navigate when and when not to use languages, frameworks technologies, you have to try stuff and fail alot and keep going and continue to make time to put thousands of hours of work into it.

You have to like it to do that, I really enjoy it.

Re:Why do so few people major in computer science? by alasdair_ on Tuesday May 30, 2017 @02:42PM (#14447425)
I still remember a lab where one of my friends was up all night trying to find an error in his Java (1.0) code that ultimately came down to having a single character lowercase instead of uppercase.
Re:Why do so few people major in computer science? by sah2ed on Tuesday May 30, 2017 @10:14AM (#14445492)
> There's a ton of Stupid Computer Shit we all know, mostly from messing around on our own time, that makes programming or doing anything else with computers much easier.

Thanks for clearly articulating this in 6 words: "Stupid Computer Shit we all know". This is something many people aren't willing to acknowledge (aka tribal knowledge gained from lots of trial and error).

It perfectly summarizes what pg tried to communicate in a 2013 interview [0] where he said founders who have been "hacking for the past 10 years" have an enormous competitive advantage over founders who haven't i.e. female founders when it comes to starting technology companies.

Unfortunately, the tech press [1][2][3] went out of its way to grossly misinterpret what pg was trying to say [4].

[0] https://www.theinformation.com/YC-s-Paul-Graham-The-Complete...

[1] http://valleywag.gawker.com/paul-graham-says-women-havent-be...

[2] https://www.theatlantic.com/technology/archive/2013/12/paul-...

[3] https://www.quora.com/Is-it-possible-that-Paul-Grahams-comme...

[4] http://www.paulgraham.com/ff.html

Re:Why do so few people major in computer science? by ashark on Tuesday May 30, 2017 @10:56AM (#14445797)
> Thanks for clearly articulating this in 6 words: "Stupid Computer Shit we all know". This is something many people aren't willing to acknowledge.

I think a lot of us have forgotten how strange and frightening a blank command line was the first time we encountered it. And how long it took to actually get comfortable with it. Even a windowing system is weird if you're not used to it, and lots of people use those for years and years without ever actually feeling like they're in control of them.

Knowing where the boundaries lie, how to protect oneself from unrecoverable situations and how to get oneself out of bad-but-recoverable ones puts one at ease in front of the keyboard. The absolute n00b (which we all were, once) gets lost navigating directories. The experienced user loses their boot sector, curses, sighs, then fixes the problem. They aren't put off by finding the solution to their problem is to apply a patch to their kernel and compile, and so on. It takes time to reach that kind of ultra-power-user level of competence and confidence, it's hard to teach, but it's enormously useful for letting you put the concerns of basic (ha!) computing in the background and focus on the task at hand (programming, for example).

Re:Why do so few people major in computer science? by nulagrithom on Tuesday May 30, 2017 @11:49AM (#14446145)
I got dropped in to an AS/400 environment a few years ago. All my knowledge instantly vanished. It was harrowing.

There were so many idiosyncrasies my coworkers knew that I had to learn (anyone know how to push the F22 key?) The terminal didn't function in any way I was familiar with at all (no ls, cd, mv, nothing). The "filesystem" was basically for interoperability while the actual system ran with a concept of "libraries" instead of folder hierarchy.

I ended up having to take basic lessons on the system.

It really gave me an appreciation for "stupid computer shit we all know". It sucks to be in a position of not knowing that stuff. Suddenly the most basic functions becomes monumental tasks.

Re:Why do so few people major in computer science? by lowbloodsugar on Tuesday May 30, 2017 @01:55PM (#14447125)
>I think a lot of us have forgotten how strange and frightening a blank command line was the first time we encountered it.

  BBC Computer 32k

  FS 1.42

  BASIC

  >
As an 11 year old, this was thing of joy, not fear.
Re:Why do so few people major in computer science? by ashark on Tuesday May 30, 2017 @03:35PM (#14447878)
It's all fun and games until you break the very expensive family computer (and when your parents have written instructions for the sequence of magic commands to run various programs and don't understand the directory tree, "breaking" it can mean a lot of things) and have to figure out how to fix it. With no Google to consult. :-)
Re:Why do so few people major in computer science? by lowbloodsugar on Wednesday May 31, 2017 @01:28AM (#14450594)
Directory tree? I had a cassette player. This is a computer that you upgrade the OS by going to a computer show and buying a new ROM. Dad watched just to make sure I didn't electrocute myself. He drove me 50 miles buy a debugger on another ROM chip for my 14th birthday. My parents thought these new fangled computers might be important someday, and bought me one to "play" with. I didn't have Google, but I had the instruction manual for the 6502. Life was good.
Re:Why do so few people major in computer science? by theorique on Tuesday May 30, 2017 @10:30AM (#14445613)
Exactly right. The unstated but important knowledge of Stupid Computer Shit We All Know was spun by the media as "Evil Bigot Paul Graham Says That Only Suburban White Kids Who Have Used Computers Since Age 6 Can Ever Be Successful Tech Entrepreneurs". Which was not at all what he was saying but ... media gonna media.
Re:Why do so few people major in computer science? by 0xfeba on Tuesday May 30, 2017 @10:22AM (#14445569)
I agree. The hardest part of getting my CS degree was the Math and some of the fundamental CS classes. The actual programming classes I enjoyed quite a lot. I came into college with a lot of personal experience with computers, and programming, like you mention.

I figured most other classmates were the same. However, the amount of skill variation I witnesses as a lab assistant where intro course students would plead with me to basically complete their assignments after I helped them once was mind-opening. Horrifically formatted code. Unable to use copy-and-paste keyboard shortcuts--or any keyboard shortcuts, really. Unable to run and debug code. Unable to find where in the file system the compiler or their commands were running. Unable to understand file system permissions, etc.

There was a huge valley between those with no experience that just wanted the CS degree for a well-paying job, and those that already had CS experience and wanted CS for a well-paying job that they would enjoy*

*theoretically

Re:Why do so few people major in computer science? by jacobolus on Tuesday May 30, 2017 @12:40AM (#14443034)
On the other hand, I took a theory CS course in college, and all of the pure math students found it extremely easy with predictable lectures and short obvious homework assignments, while all of the programming-since-they-were-5 but not too mathy students were in way over their heads, and really struggled a lot.

It’s all about what you know...

Re:Why do so few people major in computer science? by CydeWeys on Tuesday May 30, 2017 @01:07AM (#14443085)
I loaded up with theory classes in college precisely to stretch myself and learn more of the difficult things that I wasn't yet already competent in. I'd been programming since I was 9, and could handle the programming projects just fine (more easily than most other students), but the theory classes were more challenging and I wasn't going to learn that stuff if not in school. It ended up being quite helpful for Google interviews later anyway.
Re:Why do so few people major in computer science? by wiz21c on Tuesday May 30, 2017 @08:12AM (#14444661)
I didn't go to Google but I can relate to your story. Having reached CS courses after tens of thousands of hours programming was very enlightening. Indeed, the CS course layed down all my hands-on knowledge upon a very nice theoretical foundation. I clearly remember saying to myself "ahhh, all that what I've done so far, now i really get it". I had that feeling when studying algorithm performance (with math proofs) and when studying the Scheme programming language (with all the fun stuff : call/cc, tunks, curification, CPS, immutability, pure function, lazy evaluation,...) This + my hands-on knowledge made me a very enlightened dev :-)
Re:Why do so few people major in computer science? by rjbwork on Tuesday May 30, 2017 @05:23AM (#14443965)
I had a much easier time in theory than the other students as well, and ended up being the only non-graduate level student in Quantum Computing, and only CS major in another, Combinatorics. I think a big part of it was that I had a strong maths background, graduating as I did from a Math/Sciences magnet school.
Re:Why do so few people major in computer science? by CydeWeys on Wednesday May 31, 2017 @04:02AM (#14451011)
I had the same background of having gone to math/science/CS magnet programs in grades 6-12, which also helped me with the theory courses. Not to the same extent as my programming experience helped with the practical courses, though; theory wasn't something I did outside of school for fun.
Re:Why do so few people major in computer science? by ikeyany on Monday May 29, 2017 @07:59PM (#14442177)
I believe that being in the "engineering mindset" is at odds with what many people are used to. I think it's the culture that some see and get scared away from, even if that perception isn't 100% accurate. People interested in fixing CS "inclusivity" should address this first.
Re:Why do so few people major in computer science? by na85 on Monday May 29, 2017 @08:45PM (#14442359)
Given that computer science isn't engineering (they are distinct but different disciplines), can you elaborate on what you mean by the engineering mindset?
Re:Why do so few people major in computer science? by throwaway7645 on Monday May 29, 2017 @09:28PM (#14442484)
Can't speak for OP, but the engineering mindset usually comes from those of us who go into the program that tend to be very mathematical and logical, while being obsessed with figuring out how things work. When a group of engineers sits down at a table to eat lunch, they could spend an hour arguing about how the restaurant could be more efficient...etc. These kids are often used to independent problem solving and don't need to have their hands held. We had an economics teacher in college who was famous for asking the engineers to stand up on the first day of class and then stating that they would be excused from the finals as they would all have above a 95 and not have to take it. The only majors that get the math exposure we do are well mathematics and physics. The difference is we also have to do a lot of concrete things like fabrication, CAD, circuit design, and almost every other class gets some level of programming, so your entire world resolves around fixing things and applying problem solving techniques. They parody this in Dilbert, but engineers are weird birds. Comp Sci is similar in a way when you have a student coding for 12 hours straight as they're in the zone and coding an elegant solution. They aren't entirely dissimilar, but engineers often have a more formal math background and will attempt to approach a problem from that side. Someone with a PhD in math will be so far ahead of me, that I'll barely be able to catch a glimpse at the kinds of problems they solve. We do more practical things like design engines and stealth technology, while they work on things like the millennium problems. I once attended a lecture by a notable math professor on the Riemann Hypothesis basics. 1 hour in and I still didn't hear the problem properly stated. He said "the reason the riemann hypothesis is important is because it is the reimann hypothesis" wtf?!? Anyway, although it is somewhat stereotypical, each major seems to have a kind on niche person that is attracted to it.
Re:Why do so few people major in computer science? by aerovistae on Tuesday May 30, 2017 @03:41AM (#14443531)
> We had an economics teacher in college who was famous for asking the engineers to stand up on the first day of class and then stating that they would be excused from the finals as they would all have above a 95 and not have to take it.

To be honest with you, that teacher sounds like a real tool. All that that can possibly achieve is to breed various subtle forms of animosity, either among classmates or towards engineers or towards the teacher or the course.

Re:Why do so few people major in computer science? by throwaway7645 on Tuesday May 30, 2017 @07:14AM (#14444423)
No doubt about that. Really unprofessional.
Re:Why do so few people major in computer science? by xtreme on Monday May 29, 2017 @11:43PM (#14442897)
> the reason the riemann hypothesis is important is because it is the reimann hypothesis

I can see this being a joke. Entire subfields of mathematics have been built on the assumption that Riemann hypothesis is true. He probably assumed that everyone in the audience would know this, which is not unreasonable.

Re:Why do so few people major in computer science? by throwaway7645 on Tuesday May 30, 2017 @07:13AM (#14444412)
In 6 years I never thought of it that way! :)

Thanks! Now I feel like an idiot.

Re:Why do so few people major in computer science? by d0mine on Tuesday May 30, 2017 @01:57PM (#14447137)
Try "Trolling Euclid" book by Tom Wright, to understand why the Riemann Hypothesis is considered by many mathematicians to be the most important unsolved problem in mathematics today.
Re:Why do so few people major in computer science? by throwaway7645 on Tuesday May 30, 2017 @04:39PM (#14448348)
Will do, thanks!
Re:Why do so few people major in computer science? by kamau on Tuesday May 30, 2017 @12:01PM (#14446241)
Not a dig...but questions like this one. I get what you are asking, but I think that people outside of the discipline would be thinking, "You know what I mean. Why so pedantic?"
Re:Why do so few people major in computer science? by ikeyany on Tuesday May 30, 2017 @12:48PM (#14446604)
As an example, being "technically correct" is important for building a design to match a specification or for winning a logical argument.

But it is not an important skill for persuading people, or for cheering people up.

Re:Why do so few people major in computer science? by tryitnow on Tuesday May 30, 2017 @03:11PM (#14447658)
There should seriously be a class on "Stupid Computer Shit" - I think that would make programming, and hence CS, a lot more accessible.

There was a good class on Coursera a while back called "Startup Engineering" which did cover some of this even though it wasn't the focal point of the class.

Of course, it would be impossible to cover every little detail - but a class dedicated to SCS would still be super useful.

Re:Why do so few people major in computer science? by erikbye on Tuesday May 30, 2017 @02:54AM (#14443357)
Hmm.... Many CS101 courses are extremely easy; have a look at something like Harvard's CS50, which many people also take online. There's always somewhere to start for people who's hardly used their computer for more than just browsing.
Re:Why do so few people major in computer science? by aerovistae on Tuesday May 30, 2017 @03:38AM (#14443522)
I thought that until I saw some of my otherwise very smart friends try to take the course. "extremely easy" is extremely subjective.
Re:Why do so few people major in computer science? by ghaff on Tuesday May 30, 2017 @09:11AM (#14445044)
I haven't gone through CS50 but I took the MIT equivalent online. From the perspective of someone who has done a fair bit of programming but is not a professional programmer (and doesn't do a lot these days), it was somewhat time consuming but not terribly hard for me.

However, my thought when taking it was that if I were a freshman taking this who had minimal experience with computers, I'd have been pretty lost. Not so much because I couldn't have handled individual aspects of the course but there would have just been too much new from the practicalities of a programming environment to a lot of the basic programming concepts to the more theoretical aspects.

Re:Why do so few people major in computer science? by erikbye on Tuesday May 30, 2017 @03:21PM (#14447758)
Would that be MITx 6.00.1x?
Re:Why do so few people major in computer science? by ghaff on Tuesday May 30, 2017 @04:45PM (#14448398)
Yes. (It's actually in 2 parts online.)
Re:Why do so few people major in computer science? by brightball on Tuesday May 30, 2017 @12:35PM (#14446510)
I had a lot of that "SCS" experience from growing up, although in college CPSC 101 was my first experience with programming...and I hit that hypothetical wall really hard. I was worried I was going to have to change majors 2 months into the class. I still remember the moment when I was staring at code for about 3 hours on a bunk bed when it suddenly just made sense...and then I got A's in all of my CPSC classes for the rest of school.

I couldn't explain how to make it make sense if my life depended on it. It just happened.

Re:Why do so few people major in computer science? by balladeer on Monday May 29, 2017 @11:41PM (#14442887)
When I went to senior secondary school (class 11 and 12; this is before engineering college for 4 years starts here in India) I opted for CS as my 5th subject (4 courses are compulsory and you can opt for 1, or 2 more - you'll be scored on best 5). The teacher was doing it in C++. I still remember my first program was a for loop in C++ and before that I didn't know the C of Computers. I sturggled from the day 1. I had gone there from a village and I had never used a computer before. I just was good in Maths, Physics (or so they said and so I thought) etc and people said I should go for CS and I did.

Loop, increments, semi colons, returns, recursive everything was a deterrent. But this wasn't the real problem. The real problems were the teacher and the rest of the class. Pretty much everyone else, most of them were from the that city or other cities and had been doing CS from quite early on - many of them had their own computers to my surprise (it was quite pricey back then), as they didn't face any challenges and the teacher expected me to just go at the same speed and catch up somehow. I tried to seek his attention and get some help with the challenges I faced and he would just say a thing or two and move on, or ask a student to help me who'll help with "no, you have to put a '==' there, not '='" and I would never know why. At that time of of struggles books confused me more. I was shocked to see years later that why they didn't use C&R and why Robert Lafore and some Indian authors. Why? Also, this was also the first time I was introduced to the purely commercial nature of education where the "connection" in the class was missing right from the start which I was used to having been to boarding schools and semi rural schools.

I failed. Miserably. Again and again. But I still kept the course throughout 11 and 12, though I had a strong urge to drop it in 12 (just before the board exam; the one that matters and you get a certificate for this) and opt for something familiar and straight like Economics or Sanskrit which was I really good at. I don't remember why but I guess it was the urge to prove myself or get something that will get me or job or so; as that's what I had known about CS. I can't recall.

Anyway, for some reason my seat during the board exam (during CS paper; your seats change for all the papers) was diagonally behind my best friend who knew pretty much everythiing in the paper and I ended up scoring 3 marks higher than him out of 100. He's still cross about it.

Well, I never recovered from those initial CS trauma days. I still feel daunted by anything new in CS and get stressed. First I try to avoid it and question the need of it in the first place (like I did when I was asked to move to frotend/Angular from Android) and after a few weeks or few months when I have my hands dirty with it and I find it easy like muscle memory I look back and wonder why I was worried about it and it repeats.

Re:Why do so few people major in computer science? by le-mark on Tuesday May 30, 2017 @10:49AM (#14445745)
Thanks for sharing your experience. I've often thought one must be part sadist to continue in this field, or to be successful :)
Re:Why do so few people major in computer science? by harryh on Monday May 29, 2017 @10:23PM (#14442683)
Hundreds to thousands of hours? I think you're overestimating a weee bit.
Re:Why do so few people major in computer science? by sopooneo on Monday May 29, 2017 @10:42PM (#14442730)
Maybe. But I am sure I had put in a thousand hours programing my C64 by the time I had finished 8th grade. And I doubt I'm alone.
Re:Why do so few people major in computer science? by harryh on Monday May 29, 2017 @10:45PM (#14442742)
Ack. I misread "hundreds to thousands" as "hundreds of thousands." My mistake! Hundreds to thousands is def reasonable.
Re:Why do so few people major in computer science? by pkulak on Tuesday May 30, 2017 @02:06AM (#14443218)
And wrote it too? Haha
Re:Why do so few people major in computer science? by harryh on Tuesday May 30, 2017 @07:15AM (#14444426)
I cut and pasted. Ya, kinda silly. Oops!