Jump to content

Biske94

Member
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    3

Biske94 last won the day on October 7 2018

Biske94 had the most liked content!

About Biske94

  • Birthday 04/20/1994

Profile Information

  • Gender
    Male
  • Location
    Serbia
  • Interests
    Programming, Books, Socialising, I like coffee, Animal lover

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Biske94's Achievements

Newbie

Newbie (1/14)

5

Reputation

  1. Nice! Thank you LSW for your input! Hahaha Hahaha I didnt, but a nice one!
  2. Hi everyone! I am conducting a research about styles of typing. I have asked some great programmers and experienced ones like Larry Wall (creator of Perl), Robert C. Martin aka Uncle Bob, college professors about styles of typing. I saw in one video (https://www.youtube.com/watch?v=S5S9LIT-hdc) Linus Torvalds touch typing but with his own style. I do myself touch type but with my style, and I have nice speed and everything. Speed and accuracy is something that you build only by practice, practice and more practice. But one question concerns me, should we type in some particular style so we dont get Carpal Tunnel Syndrome, repetitive strain injury or any other health problem ? And thats when I decided to conduct research, to get answers from people who coded all their life and from people who are experienced. I will post my research on my website when I launch it. I would like if you guys want to be part of my research, as this can only benefit and help others, so we can improve ourself and also take care of ourselves. So here it goes: Do you touch type? If you touch type, do you do with your own style or you use 10 finger system? Have you had any problems with your body(hands mostly or neck because of hunt and peck) while typing? Thanks, Your input will mean to me and others!
  3. Biske94

    Hi Nerdz

    Hi everyone! Is this forum active? Lets populate this forum and make it a nice place for nerdz and geeks where we can talk and help each other. :))
  4. Answer: isset() is a function in PHP that will return true if the variable, in this case, $var has been assigned a value. If the variable has been created but nothing assigned, has the value of null or undefined, it will return false. basically, isset($var) says is this variable safe to use or not. Update To explain the differences between a NULL value and an undefined <?php //test 1 is defined, but has a value of null. isset will return false, use causes no error. $test1 = null; var_dump($test1); var_dump(isset($test1)); echo "\n----------\n\n"; //test2 is defined with a string value. isset will return true $test2 = "test"; var_dump($test2); var_dump(isset($test2)); echo "\n----------\n\n"; //test3 is not defined, isset returns false and use causes error. var_dump($test3); var_dump(isset($test3)); Which will output: NULL bool(false) ---------- string(4) "test" bool(true) ---------- Notice: Undefined variable: test3 in /in/Nmk0t on line 17 NULL bool(false) I hope this will help those who asked the same question as I
  5. What does mean that variable is set or not set? (in PHP or general) Does that means: // no var declared $var; $var = 'Some fancy string'; $var = ""; //(empty string) I dont know all fancy terms, but I do know when variable is defined, declared and all that, but I dont know what variable is set means. Thanks in advance, nerdz!
  6. Hi people! Since I couldnt get answers from Stackoverflow I desiced to ask you. Can someone explain how does these 2 functions work: class_exists() spl_autoload_register() Class exist function if(class_exists('User')){ echo "It does exists"; } class User { /* Some code here */ } // the output of file is "It does exists" So how does this function works? Scans whole file? Whole directory? I mean its called before I defined class. Spl autoload register function include 'functions.php'; // <- file where is the function class_exist('User') and spl_autoload_register() include 'db_config.php'; include 'database.php'; include 'user.php'; // <- Here is the class (User) So how does this function work? Its before any of those files that are included, and still it does it work? Does it scans whole directory where it is or what? I am really confused. Thanks peeps!
  7. Hi i have encountered one quirk in PHP, and I was wandering if anyone can explain it to me. So writing this code gives me infinite loop public static function find_this_query($sql){ global $Database; $result_set = $Database->queryFunction($sql); $theObjectArray = array(); $var = $result_set->fetch_assoc(); // I put the whole array in $var while($row = $var){ // and then I put that here // some code here } return $theObjectArray; } Buuuut this doesnt public static function find_this_query($sql){ global $Database; $result_set = $Database->queryFunction($sql); $theObjectArray = array(); while($row = $result_set->fetch_assoc()){ // here I just put method and everything works fine // some code here } return $theObjectArray; } So I just wanna know why. Thanks nerdzzzz!
  8. Depends, for instance I like multiple sources, books, internet, video clips, whatever
  9. Okay this is a newbie question but I know how it works but I just want to know how. So this code for example: if(isset($_POST['submit'])){ // do some stuff } else { // do some else stuff } This if statement will only do its code block if submit button is clicked or in nerds language if $_POST['submit'] is set. So thats means that value of that submit button is NULL before clicking, but when we click that submit button we are giving it a value? For example <input type="submit" name="submit" value="someAwesomeValue"> if I click this button its value will be 'someAwesomeValue' which means I set $_POST['submit'] value to 'someAwesomeValue' or in other words $_POST['submit'] = 'someAwesomeValue' Thanks!
  10. I bought it I thought I can watch it on the website and have those quiz questions anyway thanks!
  11. Yo Stef, I finished IWD course and I have bought Python course, can u add it? Thanks!
  12. Hi nerdz! What books about programming can you recommend me? Some books that every programmer needs to read or any good one? Thanks!
×
×
  • Create New...