Thread: I'v just created Snake Game,Rate it!:) + Laptop?

  1. #16
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by whiteflags View Post
    The rule of thumb for me on a laptop is to buy the best hardware possible, because the prospect of upgrades is bleak on the machine.
    Usually most hardware is upgradable except the graphics card. Although sometimes it's not easy to upgrade the CPU. I remember a laptop where you had to pretty much disassemble the whole damn thing to get to the CPU.

    Quote Originally Posted by Salem View Post
    I don't know why Elysia keeps banging on about how important a fingerprint reader is, when they're such rubbish.
    https://www.youtube.com/watch?v=WEjkts7Fn3I
    https://www.youtube.com/watch?v=MAfAVGES-Yc

    What happens if you injure your finger (or worse), are you then permanently locked out of the machine?
    They are a good compromise between security and comfort.
    They aren't unbreakable. Nothing is. But the question is how much effort it takes in order to break the lock. Besides that, the two links are for older types of fingerprint readers. Modern ones require you to sweep your finger, and last I looked, you have 10 of them. Plenty to ensure you don't get locked out if one doesn't work.
    Besides that, you are using a password, and that means you should keep that password safe somewhere in case you get locked out. That's just basic security one-on-one.
    But the point is not to get rid of passwords, but to make you have to use them less.

    Typical example in today's world:
    User uses a handful of passwords to different sites. One site gets compromised, a lot of sites get compromised. User probably doesn't even think of separating passwords for important sites. That is, he/she probably uses the same password for an important for another one and when the less important one is compromised, the important site is too.
    Great, so the user wisens up and uses different passwords for all sites. Except, he/she can't remember them all, so he/she has to store them somewhere. A password manager is a good bet (it's recommended!). Except it's annoying to have to enter a long, difficult password every time he/she wants to log in somewhere, so he/she uses either a weak password, none at all, or just lets the program keep him/her logged in for some period of time. Hacker gets to the computer, opens the password manager, which shows the passwords in plain text. Game over.
    Or the user uses the browser to store the passwords, either setting the master password or not (surprise, Chrome doesn't support a master password). So when going to a site, the browser fills in the fields automatically with user and pass. Except now the hacker can use very simple debugging techniques to sniff out the password. Game over.

    The second two ones are often very easy to do, especially the last one. A little social engineering can usually net you the master password, too, even without the victim realizing it. Ie, get to know them and you can probably guess the password later.
    The ideal situation is to store long, impossible to remember passwords for each and every site, account or whatever, do the same for the master password, and require the master password every time the login is required. But typing in the master password which is impossible to remember each time? Who is going to do that? That's where the fingerprint reader comes in. Because it's easy to just swipe your finger.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #17
    Registered User Foxefde's Avatar
    Join Date
    Mar 2013
    Location
    Lithuania
    Posts
    17
    Hmm,I'm really used to typing long password,so probably it would be useful(fingerprint reader).
    It seems that lenovo is quite good ,but as I really want to choose The best I can,what about this? HP Envy dv6-7215nr

    It costs like 1k dollars,it has fingerprint reader,it has good graphics etc ..

  3. #18
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > Modern ones require you to sweep your finger, and last I looked, you have 10 of them.
    Yes, each one of them is different as far as a fingerprint reader is concerned.

    Next issue, is the FP reader open source or closed source?
    The point being, how do you know that the passwords it emits are secure or not?
    Is it secretly 'phoning home' with all your credentials?
    Is it a strong hash, or a weak one (one easy to break with some inside knowledge)

    For all you know, every single persons 'hash' of cprogramming.com could be the same, and has absolutely nothing to do with your fingerprint.
    It might look like random data to you, but it offers NO security at all.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #19
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Salem View Post
    > Modern ones require you to sweep your finger, and last I looked, you have 10 of them.
    Yes, each one of them is different as far as a fingerprint reader is concerned.
    Sure, but you can register several fingers in case it fails to recognize one of them.

    Next issue, is the FP reader open source or closed source?
    The point being, how do you know that the passwords it emits are secure or not?
    Is it secretly 'phoning home' with all your credentials?
    Is it a strong hash, or a weak one (one easy to break with some inside knowledge)

    For all you know, every single persons 'hash' of cprogramming.com could be the same, and has absolutely nothing to do with your fingerprint.
    It might look like random data to you, but it offers NO security at all.
    We should probably separate the fingerprint reader hardware from the software that reads it and possibly fills in passwords.
    As is the case with Windows, it has functionality for reading finger prints built in. That doesn't mean you're completely safe, of course. You're only as safe as the program you trust with your passwords, and that's where your effort should be spent in finding a good software. But then, that has little to do with fingerprints and a lot to do with how it handles passwords (ie, it's equally unsafe if you just use normal passwords with it).

    Your concerns and points are valid, but I see them being more general than fingerprint issues. It's something you have to consider whether you are using fingerprints or not.

    @Foxefde: Resolution is a little low. Graphics card is a little old. I don't know if screen is glossy or matte. This is one thing I forgot to mention, though. If you're not going to travel with it very often, you can get away with purchasing an external monitor. Then the resolution of the display becomes somewhat less important. Otherwise you should stick with higher resolution.
    Last edited by Elysia; 08-17-2013 at 05:51 PM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #20
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    We should probably separate the fingerprint reader hardware from the software that reads it and possibly fills in passwords.
    That doesn't make sense to me. Fingerprint scanners make it so you don't need a password for access. If the fingerprint scanner comes up with a password after successful scanning, then it isn't separate at all. If it ignores passwords completely, then what is it really doing? Just thinking out loud really.

    Usually most hardware is upgradable except the graphics card. Although sometimes it's not easy to upgrade the CPU. I remember a laptop where you had to pretty much disassemble the whole damn thing to get to the CPU.
    I've never owned a laptop that I could open and swap parts for parts, but laptops sucked in 1998. Perhaps my advice is out of date. I guess you learn something new everyday.
    Last edited by whiteflags; 08-17-2013 at 07:52 PM.

  6. #21
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by whiteflags View Post
    That doesn't make sense to me. Fingerprint scanners make it so you don't need a password for access. If the fingerprint scanner comes up with a password after successful scanning, then it isn't separate at all. If it ignores passwords completely, then what is it really doing? Just thinking out loud really.
    It's the software that fills in the passwords. It doesn't have to be passwords, either. It can be used to start applications too, for example.
    So really, there isn't a one-to-one mapping. There is the hardware that scans the fingerprints and then there is the software that does something with the information.
    I currently have 3 applications installed that uses fingerprints. Windows, lenovo's fingerprint software and my password manager.

    I've never owned a laptop that I could open and swap parts for parts, but laptops sucked in 1998. Perhaps my advice is out of date. I guess you learn something new everyday.
    Well, I've never owned one I couldn't upgrade, but I guess it doesn't hurt to do an extra check, just to be safe. But I'm pretty sure you can still upgrade it, especially memory.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #22
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Quote Originally Posted by Elysia View Post
    but I guess it doesn't hurt to do an extra check, just to be safe. But I'm pretty sure you can still upgrade it, especially memory.
    Any laptop I ever looked to buy - has a maximum supported memory listed (not always on the shop site - but on the producer site).

    Mostly it is x2 upgrade: you can go from 1Gb to 2Gb or from 8Gb to 16Gb.

    And in most cases - it was to get rid of old SIMM and put in the new one. So if you are planning at some time to upgrade from 8 to 16 you will have to pay for 16.
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  8. #23
    Registered User Foxefde's Avatar
    Join Date
    Mar 2013
    Location
    Lithuania
    Posts
    17
    What about Lenovo IdeaPad Y500?

    High resolution,IK,but it seems there is no perfect laptop

  9. #24
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    There is no perfect laptop. If it existed, I would be so very happy.
    Anyway, resolution is a little high. You may have to decrease it to see what's on the screen, but it shouldn't harm. Everything else checks out. Note that the display is glossy, and not matte, so expect reflections. Doesn't say if there's a fingerprint reader or not. I would be wary, though, seeing as it's a multimedia laptop and not a business laptop. Business laptops tend to have a higher chance of carrying a fingerprint reader.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #25
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    You can always buy a fingerprint scanner to bring with you if you are a true believer in the technology like Elysia is though. Gotta prioritize some things.

  11. #26
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That is the thing though. I have yet to see an external one for any price really. Microsoft's reader stopped working with, like, XP. Since then there really hasn't been one available. It's really sad.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #27
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    They're around in the US, can't say what's going on with the rest of the world.

  13. #28
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by whiteflags View Post
    They're around in the US, can't say what's going on with the rest of the world.
    The rest of the world doesn't use fingerprinting scanners. We have BIOS passwords for boot security.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  14. #29
    Registered User Foxefde's Avatar
    Join Date
    Mar 2013
    Location
    Lithuania
    Posts
    17
    Doesn't matter with or without for me,it seems quite good,but many good laptops don't have it..
    And actually I still have no idea which I should buy ^
    Any offers?

    By the way,new game :I was very bored
    Foxefde invaders cpp console - YouTube

  15. #30
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Foxefde View Post
    Doesn't matter with or without for me,it seems quite good,but many good laptops don't have it..
    I would beg to differ. You need to look at the right class of laptops. Business laptops tend to have fingerprint readers.

    And actually I still have no idea which I should buy ^
    Any offers?
    Well, make up your mind. What of all the things I've mentioned are important to you?
    Can you live with low resolution, for example?
    Clearly you don't care about weight and you care about performance, so a good graphics card and a quad core would be good for you. A lot of memory too, most likely.
    You should use some price comparison site. Usually they allow you to filter products.
    Find some that match your criterias, then find if it has good reviews. I ever gave you the laptop model I have which works just fine for me and will probably work fine for you, too.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dat snake game...
    By esrelmantis in forum C++ Programming
    Replies: 3
    Last Post: 05-19-2013, 04:24 AM
  2. Snake game..
    By Marcus007 in forum C Programming
    Replies: 0
    Last Post: 12-05-2011, 06:58 PM
  3. Help with a snake game?
    By awr7126 in forum Game Programming
    Replies: 2
    Last Post: 12-06-2010, 06:39 PM
  4. Help with snake game in sdl/c
    By joellllmal in forum Game Programming
    Replies: 4
    Last Post: 08-22-2010, 12:14 AM
  5. About SnaKE game..
    By ozumsafa in forum C Programming
    Replies: 3
    Last Post: 10-19-2007, 05:46 PM

Tags for this Thread