Jump to content

LukaP

Member
  • Posts

    6,512
  • Joined

  • Last visited

Posts posted by LukaP

  1. 3 minutes ago, Simon771 said:

    Well Xeon have lower clock usually and can't be OCed.

    For gaming it's better to have higher clock + ability to OC it.

     

    But for video editing, Xeon might be the best solution.

    Again it depends on what CPUs exactly you are comparing.

     

    Try using CPUboss and see results in differend types of workloads.

    CPUBoss is a really superficial way to compare hardware... in many ways its better to ask around and get qualitative answers than relying on cpuboss

  2. 8 minutes ago, Ottermad said:

    This is my solution:

     

    
    word = input("Please enter a word:")
    length = len(word)
    if length % 2 == 0:
    	midpoint = length // 2 
    	output = word[:midpoint] + "egg" + word[midpoint:]
    else:
    	midpoint = int(length / 2 - 0.5)
    	output = word[:midpoint] + "ga" + word[midpoint] + "ga" + word[midpoint+1:]
    
    print(output)

     

    its not nice to just give out the whole solution, doesnt help him learn. but yes, that is how one would do that. a nice oneliner would be

    return word[:len(word)//2 - 1] + "egg" + word[len(word)//2:] if len(word) % 2 == 0 else word[:len(word)//2] + "ga" + word[len(word)//2:len(word)//2 + 1] + "ga" + word[len(word)//2 + 1:]

     

  3. 2 minutes ago, Ace0100 said:

    Hi guys 

    My cousin bought a new computer and he has setup internet over power adapters because he does not have a wireless USB adapter. The internet over power works on his old computer but when he connects the cable to his new computer it does not work any ideas on how to get it working.

     

    Thanks 

    is he on the same circuit?

  4. 8 minutes ago, jameshumphries47 said:

    ive tried like this, but its invalid syntax

    
    word = word int([:len(word)/2]) + egg + word int([(len(word)/2) + 1:])

    as you can tell python is not my strong point.

    word[:int(len(word)/2)] would be the syntax

  5. 5 minutes ago, jameshumphries47 said:

    i now have it like this

    word[:len(word)/2] + egg + word[(len(word)/2) + 1:]

    
    word[:len(word)/2] + egg + word[(len(word)/2) + 1:]

    and it still throws that error

    ok now im cofused. try wrapping the slice indeces in the int() function or using the integer division //

  6. 2 minutes ago, jameshumphries47 said:

    i have tried the code that you gave me and i dont want it in a function so i did it like this 

    
    word= input("Please enter a word.")
    if len(word) % 2 == 0:
        word = word[:len(word)/2] + egg + word[len(word)/2+1:]
        print("word")
    else:
        print("odd")

    but im getting the following error

    TypeError: slice indices must be integers or None or have an __index__ method

    even when i run your code and put it in a function?

     

    Try " + egg + word[(len(word)/2) + 1:]"
    i dont remember how python does maths priority, but it may be trying to resolve that into len/3 which would result in a double, not an int

  7. 1 minute ago, PCGuy_5960 said:

    If it isn't on their CPU support list it won't work?!

    not necessarily, usually it does nevertheless. but its better to google something like [your cpu] + [mobo you want] and see if people had any problems

     

  8. 2 minutes ago, PCGuy_5960 said:

    But the Xeon isn't going to be a complete sh!t when it comes to games right?

    oh no, definitely not. Imagine it like having a slighltly slower i5, like for example the 4570 or what the entry haswell i5 was. still perfectly capable of gaming fine.

     

    Also with the xeon, its good to check whether the mobo youre buying will support it. some need bios updates, and some dont support at all. (and do make sure its working before you buy it)

  9. 1 minute ago, DEcobra11 said:

    Keep in mind that for that Xeon you'd have to buy a 2011-3 mb.

    And no, xeons are not meant to be OCed (though via FSB it can be OCed by a little)

    yes but the difference between prices is 80$. if he has to buy a mobo in any case, the E5 will be a better bet. 
     

    @OP if you will only game, get the i5. if you do any other compute intensive things, get the Xeon

  10. 3 minutes ago, PCGuy_5960 said:

    If you can buy a 5820K... (or 6800K)

    that would mean replacing mobo and ram as well. 500£ wont do

     

    @OP your best course of action is either getting a 4790k, or saving up a bit, and going for the 5820k, but im almost certain it wont provide a tangible benefit over a 4790k. Or you could first overclock your i5, if its at stock

  11. 4 minutes ago, Julian5 said:

    I personally try to stay away from cheap AIO coolers, get a 212 evo or a be quiet dark rock 3

     

    1 minute ago, XEPICMADDNESSX said:

    212 evo doesn't fit in the case without rubbing on glass panel

    Would a 212 Evo even manage to cool the 140W the 5820k chucks out?

  12. 19 minutes ago, Prysin said:

    who bothers with IPhones?

    iPhones are great. regular updates, apps usually have more functionality on iOS, the design is imho amazing, iOS is a much better OS than Android, especially regarding power usage and memory management, i could go on... 
    the downside is of course the price, but then again, they are no more expensive than the Galaxy S7 or the G5 or the HTC 10 so...

  13. 1 minute ago, Mr. Tsao said:

    Personally I wish both companies would cooperate more. And btw, I have a 7970

    Thats like saying it would be nice if Samsung and Apple cooperated. Not going to happen. Not in the companies interest. And even if it were, there are laws against monopolies that cooperation would break...

  14. 1 minute ago, Mr. Tsao said:

    Fanboy?

    Person with a brain. last gen was on 28nm, with a 4 year old architecture. We saw NVIDIA work wonders last year on an old process. i dont see why AMD couldnt work wonders on a new process and an arch 4 years in development. 
    If anyone is a fanboy its you ;)

×