Jump to content

A.D.A.M

Member
  • Posts

    1,490
  • Joined

  • Last visited

Posts posted by A.D.A.M

  1. I'm actually considering this, or the OP3 as a next phone. Really like the unibody design, though I suppose it'l need a skin/case so it doesn't slip. The finger scanner being on the back is nice, so is the expandable storage option. Also hurray for 64GB being standard screw 16GB. Lastly is that dedicated audio they got going seems pretty sweet, would love to see how it handles the higher end cans. Though I'd like to see if they'll unlock the bootloader. 

     

    *Also low light performance seems sketchy, which is a shame. And a few software annoyances I'd like them to iron out. 

  2. Well this is normal.

    You are trying to login on website but u dont have user/pass.

    You need to add:

    $("#user").value("UrUsername");

    $("#pass").value("YourPass");

    Then you can trigger login button click.

    Mhmm yh I did that according to koka's suggestion, and i know that works.I thought the values would already be there seeing that my browser is set to remember the login details... gonna work on it a bit more, see if there is a way to do the same without having to assign a value

  3. you just trigger button click, and login data are already there remembered by browser? My guess is that those login data aren't loaded yet when you start your script, so you trying to send empty login form, try to log what is inside those inputs (login, password) when you are triggering button click.

    Ps. checking if button exists and then triggering click would be neat, cause if tehre is no login button - there is no things to do (you're logged in)

    Oh I'll try this and let you know how well it goes.
  4. Yes, if there's no break, a case will fall through to the next. You'll often see it used like this where more than one case runs the same code.

    Keep in mind that while fall through can be intentional, it can also be a bug because people can forget to add the break.

    So its called a fall? Good thing to know. 

    Also, off topic but you proficient in jQuery.If you are I'd appreciate if you would look at my other thread.

    http://linustechtips.com/main/topic/456363-need-some-help-with-jquery-and-making-chrome-extensions/#entry6124428

  5. You can do this, just matters on the compiler. Xcode gives no errors with this program.

    What are you trying to do with this program though? If you were trying to make it random then this is not the way to do it.

    oh it's just a question i have to solve (spotting code errors and all that). Yeah my friends with dev C++ says it compiles fine...

  6. I got this mcq am wondering if i got the right idea:

    3. Analyze the following code:

    Code 1:

    bool even;
    int number;

    if (number % 2 == 0)
    even = true;
    else
    even = false;

    Code 2:

    bool even = (number % 2 == 0);
    a. Code 2 has syntax errors.
    b. Code 1 has syntax errors.
    c. Both Code 1 and Code 2 have syntax errors.
    d. Both Code 1 and Code 2 are correct, but Code 2 is better.

     

    If i use VS2015 i can't compile without explicitly saying int number=0; (since without it num is undefined.) so answer would be "C" correct? Since 2 definitely can't run without initialisation of num. 

  7. So here's what I'm tryna do: I'm trying to make a script to click the login button or submit a form for a website so I don't need to click log in every time I open the site since that particular website log you out after a session expires.

    Here's the code I currently have :

    post-66999-0-85344900-1443253035_thumb.p

     

    Currently what is does is infinitely refreshing the page and the website says "Invalid login please try again". (Have the assumption that its a loop error or something ).

    Sometimes if you randomly click the page(not button) it somehow logs in.

    Some help directed to what I need to do would be helpful. 

  8. Yeah I do have one, flawless widescreen is a beautiful thing. The guy who works on it is a saint. The app that he has actually let me play evil within at 2560x1080p no letter box, and allowed fov adjustment about 2 days after the game came out. It took the devs 3 weeks just to add leterbox removal.

    I'm waiting until they come up with 144hz 1440p IPS ultrawide with VRR that's "affordable". <3
  9. What about size or refresh rate?

     

    Is 23" enough?

     

    Or 60hz?

     

    My GF uses a LG 23MB35 for Photoshop, which is 1080p, IPS, 23" and 60hz.

     

    Pivot and swivel are also available.

     

    Cost me 159€.

    23"-24" and 60hz is fine.

    Regarding the LG suggested I can't find a listing of it in Malaysia.(probably should have mentioned that... oops)

  10. Hi guys :)

    I'm looking for suggestions of a 1080p IPS monitor (60hz & 23' or 24")around $250. I'd like to have height adjustable ones. Pivot and swivel would be nice if available :)

    Thanks for suggestions :D

    BTW: I live in Malaysia so the choice won't be as broad.

×