I think it would be smarter for you to learn and use CodeWarrior.
The more tools you have learned and used in your course will give you an advantage when it is time to look for a job.
You can also show how really smart you are to your peers by giving everyone an example of how well you can adapt and change to use any environment! (with success)
No one is impressed with a geek who can only code in vi and g++! You have to be multi-skilled in many different environments in order to get any respect!
What I hate the most is linux users who use vi and C, and call windows for dummies. But when time comes for them to code something in windows, they end up being the dummies! Don't fall into the trap.
Also by learning about other environments besides linux, you will be able to maintain outspoken discussions with your peers about what environment is better.
Postgres has a serious limitation that is not being taken into account.
The limitation is that you can only store a maximum of 8KB in a row! This limitation is deeply rooted into the postgresql source tree.
Version 7.1 promises to fix this, however, this version is long overdue! I've head that they are re-implementing the way data types are stored completely! I hope the new implementation is not slower.. Also, and if they are changing the way data is stored and retrieved, then it would make benchmarks like the ones outlined in the story posted useless!
Ok, this is not fool proof - but it could eliminate about half of the annoying & redundant posts we see on slashdot each day.
Before the post is published on slashdot, you could take the md5 hash code of the post. As the post gets moderated down, the corresponding hash code of the post would then be updated to keep a tally count of how many times that particular hash code / post was moderated down.
Now, if a user decides to submit a new post to slashdot, the md5 hash code is taken and compared with all the previous hash codes. If a code matches, then the tally count is retrieved. If the tally count is more than three, slashdot will refuse the user to post.
The md5 hash codes are used for efficiency (much easier to match bit pattern of a hash code then 1000's of bytes of ascii code!)
This would not work well if the abusing user decides to spam slashdot with random garbage. However it might be useful if it worked in combination with the 60second ban, lameness filter etc.
You could also implement an automated process that will change the values of the name="whatever" parameters in the HTML tag to crush those automated posting scripts. (a process will need to change the script source as well) Or have some sort of token value hidden in the form - and only a client that posted with the current token can be accepted.
Actually, blowfish is more secure then DES, since it allows a key to have up to 448 bits! (compare this with 48bit key for DES) The reason why blowfish is not so well accepted is that there hasn't been much studies performed and published about its weaknesses.. One study has shown that a family of keys can be detected but not broken for blowfish implementations of 14 rounds or less. Another showed that a particular 4 round implementation can not be extended to more rounds, when using a second-order differential attack. These studies do not account for the standard implementation of blowfish, which consists of 16 rounds. Blowfish is also very fast! The speed comparison will show you that it takes 108 clock cycles to encrypt a byte using 3DES, meanwhile only 18 clock cycles per byte for blowfish! http://www.counterpane.com/speed.html
Did you read what was on that page?? http://www7.scu.edu.au/programme/fullpapers/1921 /com1921.htm
Goto Section 4.1 and read it! Here is what you missed: "Most of Google is implemented in C or C++ for efficiency and can run in either Solaris or Linux."
Only the web crawlers are implemented in python. (See Section 4.3)
The data format of http://slashdot.org/slashdot.xml has been changed! It broke my slashdot headlines generating script, becuase the <url> tag does not have the full URL!!
Please Fix..
Re:o/~ can't get there from here o/~
on
Solving Chess?
·
· Score: 1
There exists some optimized algorithms that make it easier. For example, you could do a depth first search, so that you dont have to keep every node in memory - only keep the nodes that you expanded. And you can use Alpha-Beta Pruning to reduce the number of nodes you exapand.
You can also search in parallel. Ofcorse there are problems when parallelism is introduced..
Hehe.. yea, Nepal is like a third-world country! You dont expect to get internet there!:)
I traveled to Nepal last February, hoping that I could get away from computers and the internet for a while. Hope quickly vanished, as I was surprised to see internet cafes on every street corner!
GSM Cell phone coverage is available too, but only in, and around the parameters of the major cities. Next time I travel there, I will probably subscribe.. only a modest fee:)
Australia has internet cafes, but they are very expensive. GSM is even more expensive, and you may need to get a dual band cell phone since Australian frequency bands might be different to the ones in the US?!
However, if you have some money to spare, get a satellite phone. Globalstar will be offering data services soon. The handsets can operate in either satellite or GSM mode, and they have a cool aerial (and a built in modem).
Slashdot effect? I doubt it.. Its more likely a CNN effect.
This is not because QNX was Closed Source!
on
QNX Crypt Cracked
·
· Score: 1
This story does not highlight the risk of not using free software. It actually highlights the risk of using poorly designed software.
It is actually highlights a trivial rule that exists when designing ciphers. Basically, the rule says that a cipher is more secure if the algorithm for that cipher is public.
A cipher designed with the intention of having the algorithm public is resistant to reverse engineering attacks.
The publishing of an algorithm gives researches and other enthusiasts an opportunity to try to break the cipher by using different analysis attacks on the plaintext / ciphertext or by brute force attacks on the key.
The designers of QNX made the mistake because of the way they designed their cipher. The risk here is not about using closed source software, but about using software that is poorly designed.
Poorly designed software happens in the Open Source world as well.
The last two news posts are weird. I find it hard to imagine someone would make such foolish jokes.. They don't make any sense as April Fool pranks - who are they exactly trying to fool?!
My best explanation for this is what if someone found a hole in the recently released Slashdot V1.0 code? I am guessing they are using the hole to the post stories. I guess its reasonable to think that, given that there is no other logical reason for the posts?
Telstra is not a monoploy! Competition between other australian telecomunication companies is fair, and closely monitored by an independent commission! Telstra does not own a 100% market share in anything!
All ppl on slashdot telling you otherwise must be smoking some crack..
Incidentally, someone rang in to my favourite talk back radio show on Thursday, to ask DR Karl (the top Australian science guy) why he is getting a ball of lightning whenever he places a lit candle and a tooth pick into a microwave!
Here is the link to the actual question that was asked, and here is a link to the discussion which is very interesting.
A translation cache is still better then nothing. If you think of a cache like a window on a portion of the code, and then you can imagine that only a small portion of the code (less than 1K) would be kept in the cache. The TM3120 has 108KB of cache, but the TM5400 has 400KB cache, which sounds like a good amount.
Cache works because it exploits the locality principle. The locality principle says that the 2nd memory reference that comes in sequence after the 1st memory reference will most likely be close to the 1st reference. This means that addresses are grouped in clusters, instead of being in stored in random locations.
Cache memory is many times faster then main memory, therefore the CPU can access the cache memory much faster. If we know that memory references are grouped in clusters, then it makes sense to copy a whole cluster of memory into the cache all at one go. The CPU accesses the cache at one address at a time, and because of the locality principle, the CPU will always get more hits then misses.
If the cache ever runs out of space, the least used cluster is evicted from the cache - this guarantees that the most used clusters are always kept in cache memory the longest.
I also believe that the locality principle can be applied even better to code, since code tends to occur more naturally in groups of clusters (eg functions) and better predictions can be made on how frequently the clusters will be needed (eg inner loops)
I do not think the Crusoe chips will have any problems with cache..
Security improvements, and fixing exploits aside, it is the law that needs to be changed. I would like to see the introduction of higher penalties for this sort of crime, and the law has to be international.
Already in Australia it is a penalty of 2 years imprisonment for obtaining access to data without authority, and 10 years of imprisonment to damage, insert or delete data without authority.
I also think Cygnus tends to concentrate on developing software tools for more modern 32bit and 64bit processors, instead wasteing its resources to develop tools for the outdated 8bit Z80 CPU found in the gameboy. Have a look at the above link to get a better idea.
Linux on gameboy would be almost impossible too. There might be enough memory for the kernal to load in, but loading X or any other decent apps would be impossible.
Modern games? You mean those 2D platform scrollers? You did not convince me on that point, and you never will. These days, machines that are designed for games blow the amiga out of the water and the games on these platforms are so realistic that they allow you to get more into the game in grater detail then ever before.. a far cry from those blocky pixel blobs that you call Turrican 2!
I know that the Amiga was used for the editing of titles in SeaQuest, Babylon 5, but was it done in REAL TIME??
I agree that the amiga possibly has a lot more hacked up hardware available then any other platform. This is largely thanks to the bright ingenuity of the nostalgic amiga community...
When I said customized, I did not mean hacked up by John Doe in his tin-shed at home. I meant commercial hardware that is available in the store. Another point I want to make is that the PC was DESIGNED to be expandable and upgradable more so than the Amiga.
Amiga is dead. Get with the times. If you still use it exclusively, then I'm happy for you. Just do not spread bullshit hype on how brilliant it is because it's not.
Amiga was a computer designed for games. Therefore it is easy to play games on the amiga, you just wack the disk in and go! You don't require any "Amiga for Dummies" books, or "Amiga Unleashed" manuals for that either..
And you are also comparing the Amiga as a hardware platform to Windows which is a software platform. This is wrong comparison, because you are missing the fact that the PC hardware platform is much more customizable than the Amiga platform. There is also a greater choice of Operating Systems and software that you can use on the PC and even Windows is technologically more advanced than Kickstart/Workbench.
So how does the uptime client work? Does it actually send the complete uptime data back to the main server?
There could be a potential hole for cheating, where a hacked client could be used to send fake uptime data back to the server. (This is just like the problem John Carmack was expressing not long ago with the Open Source Quake)...
Having a closer look, I went to the new 'uptimes' site, http://www.uptimes.net/ and it had the source for the client available for download.
Just breifly looking at the client source, I noticed that it fetches the uptime from the good old/proc/uptime file. Now how easy it would be to modify the source to point to your own 'hand-crafted' uptime file?
Seems like all they were doing all the time was rebooting..
The article is filled with quotes like:
"Steve Heaney and Mark Ingalls were literally in front of the FTP and download servers for an entire day rebooting them to keep them up because there were too many users for what the boxes could handle,"
www.s11.org ---- see police thugs in Australia!
No, its more like: see the police beating up thugs in Australia!
Dear Sadistic
I think it would be smarter for you to learn and use CodeWarrior.
The more tools you have learned and used in your course will give you an advantage when it is time to look for a job.
You can also show how really smart you are to your peers by giving everyone an example of how well you can adapt and change to use any environment! (with success)
No one is impressed with a geek who can only code in vi and g++! You have to be multi-skilled in many different environments in order to get any respect!
What I hate the most is linux users who use vi and C, and call windows for dummies. But when time comes for them to code something in windows, they end up being the dummies! Don't fall into the trap.
Also by learning about other environments besides linux, you will be able to maintain outspoken discussions with your peers about what environment is better.
Postgres has a serious limitation that is not being taken into account.
The limitation is that you can only store a maximum of 8KB in a row! This limitation is deeply rooted into the postgresql source tree.
Version 7.1 promises to fix this, however, this version is long overdue! I've head that they are re-implementing the way data types are stored completely! I hope the new implementation is not slower.. Also, and if they are changing the way data is stored and retrieved, then it would make benchmarks like the ones outlined in the story posted useless!
Ok, this is not fool proof - but it could eliminate about half of the annoying & redundant posts we see on slashdot each day.
Before the post is published on slashdot, you could take the md5 hash code of the post.
As the post gets moderated down, the corresponding hash code of the post would then be updated to keep a tally count of how many times that particular hash code / post was moderated down.
Now, if a user decides to submit a new post to slashdot, the md5 hash code is taken and compared with all the previous hash codes. If a code matches, then the tally count is retrieved. If the tally count is more than three, slashdot will refuse the user to post.
The md5 hash codes are used for efficiency (much easier to match bit pattern of a hash code then 1000's of bytes of ascii code!)
This would not work well if the abusing user decides to spam slashdot with random garbage. However it might be useful if it worked in combination with the 60second ban, lameness filter etc.
You could also implement an automated process that will change the values of the name="whatever" parameters in the HTML tag to crush those automated posting scripts. (a process will need to change the script source as well) Or have some sort of token value hidden in the form - and only a client that posted with the current token can be accepted.
Actually, blowfish is more secure then DES, since it allows a key to have up to 448 bits! (compare this with 48bit key for DES)
The reason why blowfish is not so well accepted is that there hasn't been much studies performed and published about its weaknesses..
One study has shown that a family of keys can be detected but not broken for blowfish implementations of 14 rounds or less. Another showed that a particular 4 round implementation can not be extended to more rounds, when using a second-order differential attack.
These studies do not account for the standard implementation of blowfish, which consists of 16 rounds.
Blowfish is also very fast! The speed comparison will show you that it takes 108 clock cycles to encrypt a byte using 3DES, meanwhile only 18 clock cycles per byte for blowfish! http://www.counterpane.com/speed.html
Actually as good punisment, Microsoft should release an open source version of their XENIX OS
Did you read what was on that page??1 /com1921.htm
http://www7.scu.edu.au/programme/fullpapers/192
Goto Section 4.1 and read it! Here is what you missed:
"Most of Google is implemented in C or C++ for efficiency and can run in either Solaris or Linux."
Only the web crawlers are implemented in python. (See Section 4.3)
The data format of http://slashdot.org/slashdot.xml has been changed! It broke my slashdot headlines generating script, becuase the <url> tag does not have the full URL!!
Please Fix..
There exists some optimized algorithms that make it easier.
For example, you could do a depth first search, so that you dont have to keep every node in memory - only keep the nodes that you expanded.
And you can use Alpha-Beta Pruning to reduce the number of nodes you exapand.
You can also search in parallel. Ofcorse there are problems when parallelism is introduced..
The FAQ says that the release date will be by the end of second quarter.
l /pda/faq.htm
http://www.sem.samsung.co.kr/eng/product/digita
Hehe.. yea, Nepal is like a third-world country! You dont expect to get internet there! :)
:)
I traveled to Nepal last February, hoping that I could get away from computers and the internet for a while. Hope quickly vanished, as I was surprised to see internet cafes on every street corner!
GSM Cell phone coverage is available too, but only in, and around the parameters of the major cities. Next time I travel there, I will probably subscribe.. only a modest fee
Australia has internet cafes, but they are very expensive. GSM is even more expensive, and you may need to get a dual band cell phone since Australian frequency bands might be different to the ones in the US?!
However, if you have some money to spare, get a satellite phone. Globalstar will be offering data services soon. The handsets can operate in either satellite or GSM mode, and they have a cool aerial (and a built in modem).
Slashdot effect? I doubt it..
Its more likely a CNN effect.
This story does not highlight the risk of not using free software. It actually highlights the risk of using poorly designed software.
It is actually highlights a trivial rule that exists when designing ciphers. Basically, the rule says that a cipher is more secure if the algorithm for that cipher is public.
A cipher designed with the intention of having the algorithm public is resistant to reverse engineering attacks.
The publishing of an algorithm gives researches and other enthusiasts an opportunity to try to break the cipher by using different analysis attacks on the plaintext / ciphertext or by brute force attacks on the key.
The designers of QNX made the mistake because of the way they designed their cipher. The risk here is not about using closed source software, but about using software that is poorly designed.
Poorly designed software happens in the Open Source world as well.
DirectX is probably the best product Microsoft ever made! Just because it's made by Microsoft doesn't mean it's crap.
The last two news posts are weird. I find it hard to imagine someone would make such foolish jokes.. They don't make any sense as April Fool pranks - who are they exactly trying to fool?!
My best explanation for this is what if someone found a hole in the recently released Slashdot V1.0 code? I am guessing they are using the hole to the post stories. I guess its reasonable to think that, given that there is no other logical reason for the posts?
Telstra is not a monoploy! Competition between other australian telecomunication companies is fair, and closely monitored by an independent commission! Telstra does not own a 100% market share in anything!
All ppl on slashdot telling you otherwise must be smoking some crack..
Incidentally, someone rang in to my favourite talk back radio show on Thursday, to ask DR Karl (the top Australian science guy) why he is getting a ball of lightning whenever he places a lit candle and a tooth pick into a microwave!
:)
Here is the link to the actual question that was asked, and here is a link to the discussion which is very interesting.
Also if youre lazy to check out the above links, here is a direct link to a web page that has instructions on how to make your own ball of lightning!!
Enjoy
A translation cache is still better then nothing. If you think of a cache like a window on a portion of the code, and then you can imagine that only a small portion of the code (less than 1K) would be kept in the cache. The TM3120 has 108KB of cache, but the TM5400 has 400KB cache, which sounds like a good amount.
Cache works because it exploits the locality principle. The locality principle says that the 2nd memory reference that comes in sequence after the 1st memory reference will most likely be close to the 1st reference. This means that addresses are grouped in clusters, instead of being in stored in random locations.
Cache memory is many times faster then main memory, therefore the CPU can access the cache memory much faster. If we know that memory references are grouped in clusters, then it makes sense to copy a whole cluster of memory into the cache all at one go. The CPU accesses the cache at one address at a time, and because of the locality principle, the CPU will always get more hits then misses.
If the cache ever runs out of space, the least used cluster is evicted from the cache - this guarantees that the most used clusters are always kept in cache memory the longest.
I also believe that the locality principle can be applied even better to code, since code tends to occur more naturally in groups of clusters (eg functions) and better predictions can be made on how frequently the clusters will be needed (eg inner loops)
I do not think the Crusoe chips will have any problems with cache..
you cannot write a program that will tell you if another program will terminate, or run forever. (That works for ALL possible programs and input).
Security improvements, and fixing exploits aside, it is the law that needs to be changed. I would like to see the introduction of higher penalties for this sort of crime, and the law has to be international.
Already in Australia it is a penalty of 2 years imprisonment for obtaining access to data without authority, and 10 years of imprisonment to damage, insert or delete data without authority.
If this story would be true, then the this would be announced on the cygnus press release page..
I also think Cygnus tends to concentrate on developing software tools for more modern 32bit and 64bit processors, instead wasteing its resources to develop tools for the outdated 8bit Z80 CPU found in the gameboy. Have a look at the above link to get a better idea.
Linux on gameboy would be almost impossible too. There might be enough memory for the kernal to load in, but loading X or any other decent apps would be impossible.
Modern games? You mean those 2D platform scrollers? You did not convince me on that point, and you never will. These days, machines that are designed for games blow the amiga out of the water and the games on these platforms are so realistic that they allow you to get more into the game in grater detail then ever before.. a far cry from those blocky pixel blobs that you call Turrican 2!
I know that the Amiga was used for the editing of titles in SeaQuest, Babylon 5, but was it done in REAL TIME??
I agree that the amiga possibly has a lot more hacked up hardware available then any other platform. This is largely thanks to the bright ingenuity of the nostalgic amiga community...
When I said customized, I did not mean hacked up by John Doe in his tin-shed at home. I meant commercial hardware that is available in the store. Another point I want to make is that the PC was DESIGNED to be expandable and upgradable more so than the Amiga.
Amiga is dead. Get with the times. If you still use it exclusively, then I'm happy for you. Just do not spread bullshit hype on how brilliant it is because it's not.
Amiga was a computer designed for games. Therefore it is easy to play games on the amiga, you just wack the disk in and go! You don't require any "Amiga for Dummies" books, or "Amiga Unleashed" manuals for that either..
And you are also comparing the Amiga as a hardware platform to Windows which is a software platform. This is wrong comparison, because you are missing the fact that the PC hardware platform is much more customizable than the Amiga platform. There is also a greater choice of Operating Systems and software that you can use on the PC and even Windows is technologically more advanced than Kickstart/Workbench.
Get with the times.
So how does the uptime client work? Does it actually send the complete uptime data back to the main server?
/proc/uptime file. Now how easy it would be to modify the source to point to your own 'hand-crafted' uptime file?
There could be a potential hole for cheating, where a hacked client could be used to send fake uptime data back to the server. (This is just like the problem John Carmack was expressing not long ago with the Open Source Quake)...
Having a closer look, I went to the new 'uptimes' site, http://www.uptimes.net/ and it had the source for the client available for download.
Just breifly looking at the client source, I noticed that it fetches the uptime from the good old
Seems like all they were doing all the time was rebooting..
The article is filled with quotes like:
"Steve Heaney and Mark Ingalls were literally in front of the FTP and download servers for an entire day rebooting them to keep them up because there were too many users for what the boxes could handle,"