Then I looked at the number of bytes on the hard drive, and it listed as exactly 1,500,299,264,000 bytes, and I realized that computers and manufacturers use different metrics.
196 karma · joined August 24, 2009
Then I looked at the number of bytes on the hard drive, and it listed as exactly 1,500,299,264,000 bytes, and I realized that computers and manufacturers use different metrics.
However, this would be really useful for people who play music as a hobby. I play the violin, and I've wanted to try using an electric violin, but costs were a little prohibitive. A $10 app to simulate the experience would be a pretty good deal to me.
The real itch is that some of these services are available as long as I drive an hour south and get past the border and find open wi-fi.
Pretend you're an avid soccer fan. It's as if the world cup was on TV, and your friends are all crowding around it. All you get is the commentary and cheering when the ball is scored, but you can't actually see the game, since they're blocking the TV. And then when your friends ask you "Wasn't that a great game?", and all you can say is "Uhh...I think so?"
It's so close, yet so far.
Even though higher level programming languages are supposed to abstract the difficult parts away from you, LabVIEW abstracts you to the point that it's a whole new level of complexity, which completely defeats the purpose of it being abstract.
Even though it appears to be that you both have an equal chance to win (both of you have 33%), why would someone offer you an equal game unless he had some sort of advantage that you aren't aware of?
The trick was to look at the opponents hand while it was still going down. If you're throwing rock or scissors, your hand will be clenched the whole way down. If you were throwing paper, you will probably open your hand halfway down your throw.
So when he sees you opening your hand, midway he will change his to scissors. And if it doesn't stay open, then he will use rock, since between rock and scissors, rock will either win or tie. It required a bit of hand dexterity, but he practiced wing-chun, so it wouldn't have been a problem for him. Of course, the trick doesn't work 100% of the time, so you were allowed a maximum of two tries discounting ties, preventing kids from getting winning streaks.
It was a pretty interesting lesson, and I was glad that I skipped my statistics class to go to his.
I remember that I was learning to program just as I was entering high school. I fell in love with programming instantly, but it does not mean I didn't spend hours upon hours debugging my first few programs to see what went wrong. But I didn't have anyone to guide me, so all my programs were imperative styled, not OOP. After taking my first computer science course in high school, my classmates thought of me as a programming genius (which I am not) since I was able to write programs faster than anybody else in my class. It's a lot easier to understand OOP when you've been programming for 1-2 years rather than 2-3 months.
That's why I'd say that a lot of programming ability is effort, not intelligence. Except for non-C family programmers, I've never met anyone who didn't have the "4-hour-debugging-session-only-to-find-it-was-a-missing-semicolin" experience when they were beginning programming.
I've had one person approach me and ask why asians don't keep their names, even though they sound beautiful. Like the other comments say, fitting in to have better opportunities is far more important than having a pretty name.
It's like the saying, When in Rome, do as the Romans do. (twist: if you don't have a Roman name in Rome, you're probably a slave!)
If the sun is out for say, 12 hours a day, that means it can power my light for 240 minutes. But turning my crank for 10 minutes would power the light for 300 minutes.
Is solar really efficient at all, because wouldn't getting a hand-turned generator get more electricity than waiting for the sun?
But on the other hand, if you consider it as a project triangle approach, you're given "Well-designed UI, maintainable code, cheap: pick two"
And as professionals, we want to express our clients' vision as much as possible, so we have to make a balance between having good code and the budget that the client gave us. It's not really the fault of our tools and technologies, but we do try to continually improve those tools so that we can provide the best service.
The energy output from light follows the inverse-square law, so double the distance is 4 times less bright, and quadruple the distance is 16 times less bright.
So although the energy output is higher, it's probably not as bad as you think it is.
Most entrepreneurs have a different mindset from these people. They want to do something big like make a revolutionary product or impact the world somehow.
Most of my peers don't want to learn on their own. They just want to get the piece of paper that says "Bachelors of _________", get a well-paying job (>60k), and live a life happily ever after. They don't care about making a company, because being employed by someone else has far less risk than making your own startup.
If you want to meet other programmers or people who are similar to you, join a CS or Robotics club. If you want to meet different kinds of people, join a sports team.
I noticed that tech people tend to float towards techy things, but a whole variety of people do sports, and that trend was visible both in high school and university. On my dragon boat team, there are people from every faculty on the team, even other CS people.
So it depends on how you want to meet people. Staying in your room programming is definitely not going to make you meet new people. If you want to know a lot of different people, a team is your best bet, because they usually have team-building games or social events where they go out to eat or have fun.
Here in Canada, it's illegal to call yourself an engineer without having a license. And it's understandable, since accredited university engineering programs are rigorous. All engineers need to study chemistry, physics, math, and you have to go through "how to be an engineer" programs that teaches you ethics, engineering tools, and safety regulations that need to be followed. The programs are not easy, and you end up having spent 4-5 years of your life mostly studying. My friends in science programs are off playing around or partying all the time, but most of the people in my engineering program are studying, with the occasional day off where they go drinking.
I'm in Computer Engineering, and when I compare my schedule to my friends in Computer Science, it's a complete joke. I have 30 hours of lectures and labs a week, while the computer science people only have 15-20. My roommate in second year computer science just games all the time. At 2AM and I'm trying to sleep, and I can still hear him playing with my other roommate, yelling across the hall.
You can also double major computer science with business. My friend is doing that right now. You can't double major engineering with anything, because there's not enough time in a day to fit in that many courses.
Most people are under the impression that the difference between computer science and computer engineering is that one is theoretical, and the other is more practical. (which is what my guidance counselor told me) But when you actually enter the program, you realize computer engineering is far more than just about computers. The running joke in Canada is that if you graduate computer engineering, you can go build a bridge. (legally, because you have an engineering stamp!)
Yes, computer science solves scientific and engineering problems. But do you really call a toddler an engineer when he builds lego stairs to reach the cookie jar on the shelf?
If so, I hope you're the only person on the bridge he builds.
It's more like playing a simpler piece that everyone knows, like Canon in D. Except you learn to play it faster than anybody else.
You're giving advice on how to be a better programmer, which is significantly different from being a programmer who implements algorithms. In a programming competition, I don't go back and optimize my code. I test to see if it works, and go on to the next question.
The first thing they teach you in projectile motion in grade 12 physics is that the horizontal component is independent from vertical component. That means, if you ignore friction, and you throw a ball in an arc, you'll find that the horizontal speed is linear! This surprises many people, since it's not very intuitive. You would expect the horizontal speed to be quadratic or non-linear, which is not the case. If the ball loses 40% of its vertical energy, it means that it'll just keep bouncing, but at lower and lower heights, but the horizontal speed is continuous. In fact, if given the initial velocity and angle, you could calculate the horizontal distance traveled by the ball for any point in time.
I have to say family plays the biggest role in education. My mom forced me to learn the 9x9 multiplication tables in grade 1. By the time we actually reached multiplication tables in grade 2, I was already able to find the areas of simple shapes like circles and trapezoids.
But after grade 4, I didn't receive any extra math education, and had the same education as all my peers. Never had a tutor, and I continued to get 90s in my math courses all through high school.
You mentioned the idea of: "What's the point in trying? They won't let us succeed." And I do hear that a lot from my black peers in high school. If you say anything that can be mildly interpreted as racist, then you're in big trouble. Like "don't walk in dark alleys at night" trouble. There are outliers of course. Our valedictorian was black, and he had the second highest grades in the graduating class. (top grades belonged to chinese kid. I'd have to say that 8/10 of the top students were asian)
I wouldn't say that the "communist tyranny" had anything to do with our academic performance. I'd definitely have to say that asian culture is far more competitive than other groups. Either you get high marks, or get yelled at by your parents.
I actually never found having the dollar sign as a sigil was any problem. There are a lot of punctuation symbols used in programming that are not used the same way as they are used in English grammar. In English, you don't create a new paragraph for every line indented in, the ^ sign is not often used for exclusive or, % is not used for modulus, and * is not used for multiplication.
You could also probably make a length function which returns strlen($str) if you really wanted to have $str->length.