Hazy125

Gold Contributor
  • Content count

    3,228
  • Joined

  • Last visited

Reputation

  • check
    Agree 18
  • info_outline
    Informative 17
  • tag_faces
    Funny 12
  • thumb_up
    Thumbs Up 22
  • thumb_up
    Likes (Old) 1343

Awards


About Hazy125

System

  • CPU
    Intel® core i7 3770K @5.1GHz
  • Motherboard
    Gigabyte G1 Sniper 3
  • RAM
    32GB G.Skill Ripjaws Z
  • GPU
    EVGA 980 Ti SC
  • Case
    NZXT Switch 810
  • Storage
    5TB worth of Seagate Barracuda + 250GB Evo
  • PSU
    1200w Beast from Cougar
  • Display(s)
    HPL1706, Acer V193HQ and BenQ GL2450HM
  • Cooling
    Custom loop, mostly Alphacool
  • Keyboard
    Ducky Zero with Browns
  • Mouse
    Thermaltake Black element
  • Sound
    Sound blaster Z + M50's
  • Operating System
    Win8, because I want Metro to have my babies... *Modern UI

Contact Methods

  • Twitter
    @Hazy365
  • Google+
    Hazy125
  • Facebook
    https://www.facebook.com/curtis.hayes.5891
  • Skype
    Not Hazy125. Suck it
  • Razer Comms
    Hazy125
  • Origin
    Can't remember... Probably Hazy125
  • Steam
    http://steamcommunity.com/id/hazy125
  • Star Citizen
    Hazy125
  • Battle.net
    *cough*Hazy125.....
  • Xbox Live
    Seriously, there's a trend. 3 guesses...
  • Website URL

Profile Information

  • Gender
    Male
  • Location
    Not in Thailand, just saying
  • Interests
    ......Computers..... Why else would I be here
  • Occupation
    I'm a fucking tradie

Recent Profile Visitors

7,711 profile views
  1. Good evening. My laptops keyboard is getting screwey and I've lost half the screws to the chassis and all of that fun stuff. It's time for me personally to upgrade. As it says in the title, I only really use it for coding and media consumption so a feature list I'd like to see would be something like A sexy feeling keyboard A nice screen. IPS, at least 1080p but I do have a tonne of 4k media which could be nice as well. Touch would be a nice bonus Not required but would be happy with: Nice long battery life (6+ hours) Easy enough to take apart. Ribbon cables are my worst nightmare and I'm sick of working on.... Things that are not easy to work on I don't need a graphics card at all. Zero gaming. Integrated graphics should be more than enough. Don't really want a stupid big gaming laptop. Or even a small gaming laptop. Cost isn't a thing that I need to worry about, but sub 2k AUD would be nice
  2. First of all... Anyone who just hits f12 would be able to see that password if I'm guessing how you want it to work correctly. Second, you probably want the jQuery toggle function. It would work something similar to this: <p class="form-control">*********</p> <p class="form-control hide" style="display:none;" id="copytext">Password</p> <script> $("a").click(function() { $("p").toggle(); }); </script> Pretty rough way of doing it. Essentially whenever an a tag is clicked, it checks all the p tags for the display property. If the display is currently set to none then it shows the p tag. If the display isn't set to none, then it hides the p tag. As the function suggests, it's a toggle. So clicking the a tag again will hide the password and bring back the ******** again. You would need to improve on that to make it work for your application otherwise clicking any a tag will show all passwords on the page, not just the singular one
  3. When did you rack up 479 posts....
  4. You can add "onchange" and similar to form elements to trigger a javascript function which can then send a request to the server adding the information about the change to the database. For example: <h3>Do you like garlic bread?</h3> <select onchange="sendToServer()"> <option value="It's ok">It's ok <option value="Of course!">Of course! <option value="You'd be a fool to not">You'd be a fool to not <option value="Puppies are pretty swell">Puppies are pretty swell </select> Whenever someone selects a new option it triggers the sendToServer function
  5. Oh god I can't type. You said that the value you were checking against was 1, not '1'. != this operator would work. It checks to see if the values match. !== also checks if the values match, but in greater depth. The value and data type have to match. So if you changed it to this if ($row['player1a'] !== 1) Then it will work. That's because you're feeding it a number, not a string.
  6. Kickfarted might be my favourite show. Perhaps after one of your bigger productions like SYW etc
  7. editor.setAttribute("placeholder", "New placeholder text");
  8. I'm primarily a web dev, I can easily chuck together some extremely tidy and concise documentation. If you're not familiar with basic HTML/CSS and maybe some JS if you want to get fancy, for example if you're a C# dev, it might just be better for everyone to use github
  9. I don't answer too many topics these days but since you asked so nicely and all.. This might surprise you, but I've done almost no node stuff. I keep meaning to get into it but I don't have the time. So the furst half of that makes little to no sense. I did notice however that how you access the recipes directory seems to be different every single time oh my godwhat a mess. Anyway, javascript handles the way you've specified directories differently as seen here: https://hazy125.com/randomcrap/LTT/dev/lemur/javascriptDirectoryTesting/ such a long URL I should buy a domain just for LTT stuff Note that the linkes that are preceded with the slash take me to my sites root directory to look for recipes, so hazy125.com/recipes which sadly doesn't exist whereas links not preceded act in the way I think you're after, where it searches the current directory. So my little to no node knowledge answer would be that I suspect everything related to your node app is at domainroot/recipes whereas your post is trying to send it to... Not there EDIT: http://h125forumhelp.com/lemur/javascriptDirectoryTesting/ That URL isn't any shorter what a waste of money I should just shortlink my stuff EDIT 2: http://h125.co/ff3
  10. var percent document.getElementById('percentage').innerHTML var value = percent.slice(0, -1);
  11. var percent document.getElementById('An ID you assign to the h2').innerHTML So if your h2 is something like <h2 id="percentage"></h2> You code will be var percent document.getElementById('percentage').innerHTML
  12. One of the easiest ways to print something to the web page in JavaScript is to use document.write('The thing you want to display') Modern impact drivers have fully computer controlled triggers, while you may think a mechanical switch would be more desirable, the addition of a brushless motor over a standard brushed motor generally requires a programmed response to trigger inputs. The average cost of a 120mm case fan in Australia is $16.3 The first computer with a mouse driven GUI was the Xerox Alto, the reason Xerox is a leader like Microsoft and Apple however is due entirely to executives at Xerox being fucking dumbasses AMD's "8 core" CPU's, such as what is found in the FX 8350 do indeed have 8 cores, but things like the processors L2 and to a greater extent L3 cache are shared between two cores. This means that if 2 cores that share the same cache need that full access to the cache, you experience some performance loss as tasks get put into a queue Asking broad and general questions on an online forum when you have to have at least a little bit of helpful information to add generally yields incredibly unhelpful responses
  13. Test based, nice I think my first not hello world program was a craptastic network based computer manager. The idea was to have a master program with which I could control basic functions of other computers on the network, but never managed much more than shutdown/restart
  14. Nitrous.io I've used it. It's ok, there's free plans too last I checked
  15. fixed

    You didn't include a what's my browser thing, I can't replicate with your resolution alone