Search results

  1. O

    Ternary Operations outside of coding?

    I use the ternary operation in web development all the time, eg: x = y > z ? a : b Which reads, if x > y then a, otherwise b I realize that it is just a shorthand for if...else statements, but even still, are there any mathematical properties associated with it? I know inequalities have...
  2. O

    Lance Armstrong won't fight doping charges; loses titles

    It would be impossible, literally impossible, for the human body to train as hard and as long as the top tier athletes do, to include Armstrong, in any sport without some sort of performance enhancement. Fact. Your body can only process so many nutrients per hour and your muscles can recover...
  3. O

    Socializing Mathematics?

    First, a definition of what I mean by socializing Mathematics A platform whereby people can either learn, teach, or advance Math/Physics/etc. either as individuals or groups by directly using, modifying, or expanding others work under the same platform. Think MIT OpenCourseWare meets...
  4. O

    Why html data has to be send to a different server to process?

    When I ask this, I'm not being smart...I'm legitimately curious. What do pointers have to do with anything? As for the Facebook example, I was merely pointing out that C++ is useable. Your posts made it seem as though C++ is dangerous, or as you say "unsafe", which it isn't. People use...
  5. O

    Why html data has to be send to a different server to process?

    @Avichal: I always have a hard time explaining what CGI is. It's not actually a program, but a set of rules...a standard. CGI scripts (typically coded in Perl, but can be coded in C/C++, Unix Shell scripts, etc) are used to interface the browser with the server, but in a very specific way. Best...
  6. O

    Why html data has to be send to a different server to process?

    I hate to say this, but pretty much everything you said is false. PHP is a framework, for one. Also, interestingly, PHP is written in C and can be extended with C or C++ Facebook is for the most part built in C++. In fact, you can fiddle with some of...
  7. O

    Iteration, recursion, optimization,

    In JavaScript, "var" defines a local variable. Even in other languages, all you would have to do is define local variables - I don't know how this would involve "ugly" re-writing. It might actually even be less code if your language is weakly typed or automatically variables as local. I'm a...
  8. O

    Do women really look at a man's shoes?

    Hahaha I would say they were by the door so I just put them on, but I doubt anyone would believe that (it's true, I swear :P )
  9. O

    Iteration, recursion, optimization,

    Here's a working example in JavaScript (because you can see it online): I'm completely self-taught, so I couldn't say how they teach it at school. I'm pretty sure they wouldn't be teaching you recursion in this way however. I think you're overcomplicating it. For...
  10. O

    Iteration, recursion, optimization,

    Yes, but if I saw that no-loop solution in the wild I would most likely vomit. If I remember it was still longer than the 1 loop solution, and slower anyways because you were dealing with maps - although it was most certainly a unique solution! I don't know what this pattern is called...
  11. O

    Interested with computers

    As others have said, it totally depends on what you're interested in. Khan Academy has a great beginner programming series created by John Resig - he's sort of a big deal. After you work through that series you should have the basic foundation to pick up another language, like JavaScript or C...
  12. O

    Engineering Engineering job vs. school

    Ouch, I feel you brotha. I deployed as a System Administrator and ended up being the go-to guy who fixed anything that ran on electricity and had to McGiver things together. It was very stressful because I really didn't know what I was doing (hell I was just a system admin) and made many...
  13. O

    Calculators Online Calculator List

    These are a few other free HTML5 calculators: Graphing Calculators: (2D) FooPlot: (2D) Graphr: (3D) GraphyCalc: Algebra: Algebra, Trig, Calc...
  14. O

    Do women really look at a man's shoes?

    @julcab12 lol interested, never thought about it like that. Last summer I went outside to get grab something out of my car wearing my roommates pink flip flops with a flower on them. I figured I only have to walk ten feet down the hall, down three flights of stairs, and it's in the middle of...
  15. O

    Global problems, how could I help?

    You could take a look at IndieGoGo or Kickstarter, which are "crowdfunding" sites where one person or team attempts to launch a project by getting support from generous people like yourself. Some projects are for specific causes (disaster relief, 3rd world education, inexpensive energy), some...
  16. O

    Mental Arithmetic Tricks

    I'm actually building a website which has an interactive "Mental Math" section which should be completed by this weekend (I'm releasing a demo tonight or tomorrow which has you solve random numbers by 11). In the meantime, there's a great book called "Secrets of Mental Math" by Arthur Benjamin...
  17. O

    Why html data has to be send to a different server to process?

    Essentially, here's what's happening: When you visit a website you are actually passing an instruction to the server in the form of a URL. The purpose of the server is to, well, serve you data and exactly how it does this depends on the server technology you are using (examples include Apache...
  18. O

    How long does it take to learn web-programming from scratch?

    Depends, do you have ANY programming experience? I was freelancing within 2 months of picking up web development by going on eLance and doing small PHP and JavaScript projects, and slowly working my way up. I've also been coding in general almost since I could read... You could build a...
  19. O

    Setting browser to check for changes to a page?

    I used to use Page Monitor when I wanted to keep up with certain blogs that weren't setup for RSS. It's a Chrome addon, so you'll obviously need Chrome. Then you simply visit the page, click the button, and you'll get notifications. I don't use it anymore, but I think there was a setting to set...
  20. O

    On Math-Atlas, where does regular Algebra fit in?

    I think so, maybe I can just call it elementary algebra. Even textbooks just call it "Algebra", which is pretty generalized. [edit] I googled around for elementary algebra, and the descriptions match what my textbooks cover so that's it! Thanks.
  21. O

    On Math-Atlas, where does regular Algebra fit in?

    On Math-Atlas, where does "regular" Algebra fit in? Where on the Math-Atlas does Algebra I and Algebra II fit? Should I assume "Algebra I and Algebra II" are essentially generalized, introductory courses that cover a subset of branches under the "Abstract Algebra" branch? I'm starting school...
  22. O

    Questions on encoding and combinatorics for an equation generator web app

    Oh it's actually JavaScript. I used the dollar sign to make it easier to read because it was inline with the rest of the text :P You gave me a lead however. Turns out JavaScript supports window.btoa [EDIT] I'm hosting the site on GitHub, which allows me to design it in a way that it's easy to...
  23. O

    Medical Aspergers and considering academia.

    Thanks for the encouragement Andre! I've given a few presentations in various web development conferences. My first time I dry heaved into the mic twice back-to-back...once because I was so nervous and another because I realized I just dry heaved. I don't remember anything I said for the next...
  24. O

    Questions on encoding and combinatorics for an equation generator web app

    Interesting. I didn't think of using byte tables, which is funny considering that I was actually referring to the ASCII table while I worked out a solution. Your method would certainly be faster and more optimized, but what I ended up doing is building a string of allowable characters: $chrs =...
  25. O

    Time machine

    You'll first need to construct your machine. Any design and material should do. You'll be traveling at the minimum of 18.5 miles per second, however, so keep this in mind. (The machine will also need to support your mass at this speed) Watch "The Time Machine", "Back to the Future", "The...
  26. O

    Questions on encoding and combinatorics for an equation generator web app

    Wow, I understand completely. Thanks! It didn't occur to me to use a series of if-statements or even a table to convert from 62-base to decimal. Looking at this now, it is pretty obvious as my program can't possibly know that 'a' represents 10, for example. However after thinking this through...
  27. O

    Why do you some time only hear the bass when listening to music

    You know, I've always wondered this myself. Here's what I know: Some of the deeper bass notes have wavelengths which are several feet long. I know, but can't tell you how I know, that wavelengths can pass through objects so long as the wavelength is longer than the object (I don't know if...
  28. O

    Medical Aspergers and considering academia.

    Thanks brotha, I ran into one of the medics from my unit who is also a psychologist today and asked her about it. She told me pretty much what you said. She does "brain wave balancing" which is some sort of experimental therapy which is supposed to reduce anxiety among other things. It's free...
  29. O

    So You Want To Be A Physicist Discussion

    Whoa, this was a really awesome read! I read this over the span of 3 days and I have to say, I'm pretty inspired! Your emphasis on making connections with faculty/students was probably the best takeaway I got from this and is something I'll try and apply when I start next Spring.
  30. O

    Looking for home educational material

    Whoa cool link SolsticeFire, thanks! I knew of the MIT CourseWare but this is pretty mind blowing.