daler
Members-
Content Count
10 -
Joined
-
Last visited
About daler
-
Rank
Newbie [Level 1]
-
I'm sure that if you were blind, any sort of vision would be welcome. In fact (according to the article) this device allowed blind people to see well enough that they could perform assembly line tasks and track movement.
-
Found the article (from 2001) at sciencenews.org. The article describes a method by which a blind person can "see" using a matrix of electrodes placed on the tongue. Basically, by hooking a camera up to a computer, then attaching the computer to a grid of electrodes placed on the tongue, the device allows a person to get a sense of how something looks. The human brain is incredible adaptive, so with some practice a blind person can use this technology to gain a primitive sort of vision. Bear in mind that this article was written back in 2001, and in-brain electrode grids have proven a better, more permanent solution in most cases.
-
Anytime, I had the same problem a while back.
-
*Edit: Never mind, you fixed that part in an edit. Change this bit of code in your css file from: #header { display:block; position: relative; width: 924px; height: 290px; background: url(http://forums.xisto.com/no_longer_exists/; no-repeat;} to: #header { margin: 0px; display:block; position: relative; width: 924px; height: 290px; background: url(http://forums.xisto.com/no_longer_exists/; no-repeat;} The problem was that firefox gives <div> tags a default margin of 0, and IE does not.
-
Sql Injections What are they, and how to prevent them?
daler replied to matto's topic in Security issues & Exploits
The following code it blatantly stolen borrowed from http://forums.xisto.com/no_longer_exists/ <?php// Connect$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password') OR die(mysql_error());// Query$query = sprintf("SELECT * FROM users WHERE user='%s' AND password='%s'", mysql_real_escape_string($user), mysql_real_escape_string($password));?> On a site a few years back for my boyscout troop, I used the mysql_real_escape_string on everything the user potentially had access to, including every sql-query which included either the username or password. In fact, I might have used it on some things that really didn't need it, but then again I think a few extra CPU cycles in the sake of security on a low traffic site won't hurt much. -
I wrote a upload script in PHP a few years ago that allowed users to upload jpg/gif images. The 3 important things that must be in an upload script are: 1. Check the file's name (in my case ensure it's a .jpg or .gif and not a anything else) 2. Check the file's CONTENT-TYPE 3. Set the permissions of the file so that it isn't allowed to be "executed" (read/write only)Also, I dynamically renamed the files so that: 1. Overwriting existing files of the same name wouldn't be a problem 2. More secure: if the above methods failed, at least the file would have an arbitrary name of randomname.jpg instead of something like index.gif.php Finally, be careful about allowing users to upload files into a directory visible from the web.
-
A pure javascript hack can't add or delete files (except for that sites cookie). On the other hand, javascript can be used to steal your username and password. If a cite allows users to post links, and doesn't properly sanitize user input, a hacker (or script kiddie) could insert a "cookie stealer" by using javascript entities. Also, IE supports VBscript, which is like javascript in the fact it's run client side, yet is more like visual basic in form and function, and thereby more powerfull.
-
Saw this awhile ago, looks cool and could be useful. For example, you could easily switch character sets, which would be nice for public terminals. Once the prices drops dramatically for OLED displays, I can see this becoming widespread. The keyboard just like a normal keyboard, only the top of each key is a tiny OLED display. There's some pics at: http://www.artlebedev.com/optimus/ I'm sure they could sell replacement keys, or you could send it in if a key broke.