topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday November 11, 2025, 10:46 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 24 25 26 27 28 [29] 30 31 32 33 34 ... 50next
701
Good thing I didn't get my hopes up...
Well really this is even better news.; more punishment for IE users!!! :P

Ehtyar.
702
Living Room / Re: Tech News Weekly: Edition 43
« Last post by Ehtyar on October 25, 2008, 03:02 PM »
LOL Deo! Do we have a dunce award or something around here? :P

Ehtyar.
703
Living Room / Re: Tech News Weekly: Edition 43
« Last post by Ehtyar on October 24, 2008, 06:30 PM »
The Weekly Tech News
TNWeekly01.gifHi all.
Not much in the way of meta-news this week (haha, I'm hilarious), and not a whole lot in the way of real news, sorry guys :(
Oh, and I've fixed my macros to operate entirely on the new layout, so......yay for me?
No Word Man, there is no CISCO news OK?   :tease:
As usual, you can find last week's news here.


1. LOLcats R in Ur Gallery, Pimpin 4 Adult Literacy
Spoiler
http://blog.wired.com/underwire/2008/10/lolcats-pounce.html
Gallery: http://www.wired.com/culture/art/multimedia/2008/10/gallery_LOLarts
Apparently art doesn't understand the LOLCat concept...they're taking them seriously!! Fortunately, it's for a good cause, so they're forgiven.

The grammatically challenged felines known as LOLcats are clawing their way off computer screens and into the mainstream art world.

Works by nearly 30 artists influenced by the pidgin-speaking-cat meme will be auctioned off Thursday during a sold-out art show in San Francisco -- with proceeds going to benefit an adult-literacy program.


2. Passports Will Be Needed to Buy Mobile Phones
Spoiler
http://www.timesonline.co.uk/tol/news/politics/article4969312.ece
Britons will soon be required to present their passports and be registered in a national database when purchasing a mobile phone under plans to overhaul state surveillance powers.

Everyone who buys a mobile telephone will be forced to register their identity on a national database under government plans to extend massively the powers of state surveillance.

Phone buyers would have to present a passport or other official form of identification at the point of purchase. Privacy campaigners fear it marks the latest government move to create a surveillance society.


3. Keyboard "eavesdropping" just got way easier, thanks to electromagnetic emanations
Spoiler
http://www.engadget.com/2008/10/20/keyboard-eavesdropping-just-got-way-easier-thanks-to-electrom/
http://www.theregister.co.uk/2008/10/20/keyboard_sniffing_attack/
Not really news, keyboards have been insecure almost from day 1, particularly since the advent of wireless once, but one has to admit, this is just cool.

We always knew those electromagnetic emanations would amount to no good, and now here they go ruining any shred of privacy we once thought to possess. Some folks from the Security and Cryptography Lab at Switzerland's EPFL have managed to eavesdrop on the electromagnetic radiation shot off by shoddy wired keyboards with every keystroke. They've found four different ways to listen in, including one previously-published general vulnerability, on eleven keyboard models ranging from 2001 to 2008, with PS/2, USB and laptop keyboards all falling to at least one of the four attacks. The attack works through walls, as far as 65 feet away, and analyzes a wide swath of electromagnetic spectrum to get its results. With wireless keyboards already feeling the sting of hackers, it's probably fair to say that no one is safe, and that cave bunkers far, far away from civilization are pretty much our only hope now. Videos of the attacks are after the break.


4. Microsoft Issue Out-Of-Band Security Patch
Spoiler
http://www.informationweek.com/news/security/vulnerabilities/showArticle.jhtml?articleID=211600270
Technical Info: http://blog.threatexpert.com/2008/10/gimmiva-exploits-zero-day-vulnerability.html
Discussion thread started by Lash Man: https://www.donationcoder.com/forum/index.php?topic=15460
It's not often Microsoft choose to release a security patch outside of the regular monthly cycle, but this one's important. Bulletin MS08-067 describes a vulnerability in Windows' Server Service (can anyone say "redundancy"?) that if exploited will permit remote code execution on any version of Windows.

Microsoft has released an out-of-band security update to address a critical flaw that could allow a remote attacker to take over Windows computers without any user interaction.

"This security update resolves a vulnerability in the Server service that affects all currently supported versions of Windows," said Christopher Budd, a MSRC security program manager, in a blog post. "Windows XP and older versions are rated as 'Critical' while Windows Vista and newer versions are rated as 'Important.' Because the vulnerability is potentially wormable on those older versions of Windows, we're encouraging customers to test and deploy the update as soon as possible."


5. Microsoft MASSIVELY Improves JavaScript Performance in IE8
Spoiler
http://zephyrxero.blogspot.com/2008/10/current-browser-javascript-benchmarks.html
Discussion started by Lash Man: https://www.donationcoder.com/forum/index.php?topic=15461
I probably would have phrased it something more like "IE JavaScript still the worst performer among Firefox and Chrome.", or "New Firefox blows Chrome's JavaScript out of the water, which blows IE into outer space!"...but whatever.

I've seen lots of people recently saying that Firefox's TraceMonkey JavaScript engine blows Google's V8 out of the water...but was a little skeptical so I decided to do some benchmarks of my own. Now with any benchmark, everything here needs to be taken with a grain of salt as performance will certainly vary upon which sites you are viewing. For this test I have used WebKit's SunSpider. Also, since Chrome and Safari do not have native ports available on Linux right now, I had to do the test under Windows XP. The test machine is dual-core so multi-process/threaded apps should show a benefit, but I feel it's totally fair as single-core machines are quickly going the way of the dinosaur and do not accurately represent the future, which is what we're talking about here. Also as Chrome does not have a stable/final release yet, I've compared with many other browsers' development builds.


6. Silverlight 2 Released
Spoiler
http://www.cgisecurity.org/2008/10/silverlight-2-r.html
Apparently Microsoft isn't put off by the fact that they're the only ones using Silverlight, so they decided to release version 2...*cough*

Silverlight 2 is a cross-platform browser plugin that enables rich media experiences and .NET RIAs (Rich Internet Applications) within the browser.

Silverlight 2 is small in size (4.6MB) and takes only 4-10 seconds to install on a machine that doesn't already have it.  It does not require the .NET Framework to be installed on a computer to run - the Silverlight setup download includes everything necessary to play video or run applications.


7. Your Privacy is an Illusion: UK Attacks Civil Liberties
Spoiler
http://arstechnica.com/news.ars/post/20081020-your-privacy-is-an-illusion-uk-attacks-civil-liberties.html
It seems the right to silence no longer applies in the UK when the authorities want your encryption keys.

Last year one of the more troubling provisions of the UK's Regulation of Investigatory Powers Act (RIPA) finally came into effect. This piece of legislation made it a criminal offense to refuse to decrypt almost any encrypted data residing within the UK if demanded by authorities as part of a criminal investigation. The penalty for failure to decrypt is up to two years imprisonment for "normal" crime, and up to five years for "terrorism."

As two men accused of "terrorism" discovered last week, the long-standing right to silence does not trump the RIPA powers. The UK's Court of Appeal judged last week that the pair, named only as "S" and "A," could not depend on their right of silence to refuse to provide decryption keys. In the decision, the Court stated that although there was a right to not self-incriminate, this was not absolute, and that the "public interest" can supersede this right in some circumstances.


8. Aussie Govt: Don't Criticize Our (terrible) 'Net Filters
Spoiler
http://arstechnica.com/news.ars/post/20081024-aussie-govt-dont-criticize-our-terrible-net-filters.html
In followup from this story last week, here is some further info. on the upcoming Australian internet filters.

Australia's plan to subject every Internet user in the country to mandatory content filtering just keeps getting stranger. Although the current government says it simply inherited the program from its predecessor and that the filtering will be voluntary, it seems intent on continuing the rollout plans even as it has become apparent that some level of filtering will be mandatory. Now, an Australian newspaper has uncovered documents showing that the government minister responsible for the program has ignored performance and accuracy problems with the filters, then tried to suppress criticism of the plan by private citizens.

The filtering plan as it now appears consists of two tiers. One would apply to all Australian Internet access and would block access to content deemed illegal (though how that term will be defined hasn't yet been disclosed). A second tier would be switched on by default, but users would be allowed to opt-out; this tier would target content inappropriate for children.


9. Google's Open-source Android Now Actually Open
Spoiler
http://news.cnet.com/8301-1001_3-10071093-92.html
Google has released the source of Android for all to see.

Less than a year after announcing Android, the open-source phone operating system intended to jump-start the mobile Internet, Google began sharing the project's underlying source code.

The Android Open Source Project site includes a project list, a feature description, guides to the roles people can have in the project and how to contribute, and of course the Android source code itself.


10.  First Look: Firefox 3.1 Beta Offers Speed, Better Searching and More
Spoiler
http://www.webmonkey.com/blog/First_Look%3A_Firefox_3DOT1_Beta_Offers_Speed__Better_Searching_and_More
Monkey_Bites reviews the new Firefox 3.1 BETA, a little more comprehensively than I did :(

As we mentioned Tuesday, the first beta release of the new Firefox 3.1 browser has arrived. Firefox 3.1, which will land in final form near the beginning of 2009, promises speed improvements, a more refined search bar and support for new and emerging web standards. The browser will also contain a slew of small features that didn’t make the cut in Firefox 3.0.

While not all of the improvements are in beta 1, there’s enough to whet your appetite for the final release.


11.  Channel 9 To Offer All PDC08 Sessions
Spoiler
http://windows7news.com/2008/10/20/channel-9-to-offer-all-pdc08-sessions/
Post/Discussion thread by 40hz: https://www.donationcoder.com/forum/index.php?topic=15107.msg135404#msg135404
Channel 9 will be offering videos of all the speeches from the Microsoft Professional Developer Conference on their website within 24 hours of the speech taking place.

The PDC08 (Professional Developer Conference) will start in six days from now and will be packed with Windows 7 related sessions that promise to provide news about the upcoming Microsoft operating system. Not anyone can attend the conference which is held in the Los Angeles Conference Center from October 26 kicking off with a pre-conference session on that day. The registration fee for the full event is $2395 USD which might be a bit much for someone who just wants to find out more about the upcoming Microsoft operating system.

Channel9 announced recently that they will post recordings of all PDC08 sessions on their website for everyone to view. Each session should not take more than 24 hours after taking place to find its way on the Channel 9 homepage which is an excellent opportunity for anyone not attending to view the sessions and discover all the exciting news about Windows 7. The PDC08 is not only about Windows 7 and there surely will be some other interesting sessions that might be interesting to users. This is also an excellent way of watching a session that you missed while attending another session at the PDC08 in case you are one of the attendees.


Ehtyar.
704
Living Room / Tech News Weekly: Edition 43
« Last post by Ehtyar on October 24, 2008, 05:42 PM »
The Weekly Tech News
TNWeekly01.gifHi all.
Not much in the way of meta-news this week (haha, I'm hilarious), and not a whole lot in the way of real news, sorry guys :(
Oh, and I've fixed my macros to operate entirely on the new layout, so......yay for me?
No Word Man, there is no CISCO news OK?   :tease:
As usual, you can find last week's news here.


1. LOLcats R in Ur Gallery, Pimpin 4 Adult Literacy
http://blog.wired.com/underwire/2008/10/lolcats-pounce.html
Gallery: http://www.wired.com/culture/art/multimedia/2008/10/gallery_LOLarts
Apparently art doesn't understand the LOLCat concept...they're taking them seriously!! Fortunately, it's for a good cause, so they're forgiven.

The grammatically challenged felines known as LOLcats are clawing their way off computer screens and into the mainstream art world.

Works by nearly 30 artists influenced by the pidgin-speaking-cat meme will be auctioned off Thursday during a sold-out art show in San Francisco -- with proceeds going to benefit an adult-literacy program.


2. Passports Will Be Needed to Buy Mobile Phones
http://www.timesonline.co.uk/tol/news/politics/article4969312.ece
Britons will soon be required to present their passports and be registered in a national database when purchasing a mobile phone under plans to overhaul state surveillance powers.

Everyone who buys a mobile telephone will be forced to register their identity on a national database under government plans to extend massively the powers of state surveillance.

Phone buyers would have to present a passport or other official form of identification at the point of purchase. Privacy campaigners fear it marks the latest government move to create a surveillance society.


3. Keyboard "eavesdropping" just got way easier, thanks to electromagnetic emanations
http://www.engadget.com/2008/10/20/keyboard-eavesdropping-just-got-way-easier-thanks-to-electrom/
http://www.theregister.co.uk/2008/10/20/keyboard_sniffing_attack/
Not really news, keyboards have been insecure almost from day 1, particularly since the advent of wireless once, but one has to admit, this is just cool.

We always knew those electromagnetic emanations would amount to no good, and now here they go ruining any shred of privacy we once thought to possess. Some folks from the Security and Cryptography Lab at Switzerland's EPFL have managed to eavesdrop on the electromagnetic radiation shot off by shoddy wired keyboards with every keystroke. They've found four different ways to listen in, including one previously-published general vulnerability, on eleven keyboard models ranging from 2001 to 2008, with PS/2, USB and laptop keyboards all falling to at least one of the four attacks. The attack works through walls, as far as 65 feet away, and analyzes a wide swath of electromagnetic spectrum to get its results. With wireless keyboards already feeling the sting of hackers, it's probably fair to say that no one is safe, and that cave bunkers far, far away from civilization are pretty much our only hope now. Videos of the attacks are after the break.


4. Microsoft Issue Out-Of-Band Security Patch
http://www.informationweek.com/news/security/vulnerabilities/showArticle.jhtml?articleID=211600270
Technical Info: http://blog.threatexpert.com/2008/10/gimmiva-exploits-zero-day-vulnerability.html
Discussion thread started by Lash Man: https://www.donationcoder.com/forum/index.php?topic=15460
It's not often Microsoft choose to release a security patch outside of the regular monthly cycle, but this one's important. Bulletin MS08-067 describes a vulnerability in Windows' Server Service (can anyone say "redundancy"?) that if exploited will permit remote code execution on any version of Windows.

Microsoft has released an out-of-band security update to address a critical flaw that could allow a remote attacker to take over Windows computers without any user interaction.

"This security update resolves a vulnerability in the Server service that affects all currently supported versions of Windows," said Christopher Budd, a MSRC security program manager, in a blog post. "Windows XP and older versions are rated as 'Critical' while Windows Vista and newer versions are rated as 'Important.' Because the vulnerability is potentially wormable on those older versions of Windows, we're encouraging customers to test and deploy the update as soon as possible."


5. Microsoft MASSIVELY Improves JavaScript Performance in IE8
http://zephyrxero.blogspot.com/2008/10/current-browser-javascript-benchmarks.html
Discussion started by Lash Man: https://www.donationcoder.com/forum/index.php?topic=15461
I probably would have phrased it something more like "IE JavaScript still the worst performer among Firefox and Chrome.", or "New Firefox blows Chrome's JavaScript out of the water, which blows IE into outer space!"...but whatever.

I've seen lots of people recently saying that Firefox's TraceMonkey JavaScript engine blows Google's V8 out of the water...but was a little skeptical so I decided to do some benchmarks of my own. Now with any benchmark, everything here needs to be taken with a grain of salt as performance will certainly vary upon which sites you are viewing. For this test I have used WebKit's SunSpider. Also, since Chrome and Safari do not have native ports available on Linux right now, I had to do the test under Windows XP. The test machine is dual-core so multi-process/threaded apps should show a benefit, but I feel it's totally fair as single-core machines are quickly going the way of the dinosaur and do not accurately represent the future, which is what we're talking about here. Also as Chrome does not have a stable/final release yet, I've compared with many other browsers' development builds.


6. Silverlight 2 Released
http://www.cgisecurity.org/2008/10/silverlight-2-r.html
Apparently Microsoft isn't put off by the fact that they're the only ones using Silverlight, so they decided to release version 2...*cough*

Silverlight 2 is a cross-platform browser plugin that enables rich media experiences and .NET RIAs (Rich Internet Applications) within the browser.

Silverlight 2 is small in size (4.6MB) and takes only 4-10 seconds to install on a machine that doesn't already have it.  It does not require the .NET Framework to be installed on a computer to run - the Silverlight setup download includes everything necessary to play video or run applications.


7. Your Privacy is an Illusion: UK Attacks Civil Liberties
http://arstechnica.com/news.ars/post/20081020-your-privacy-is-an-illusion-uk-attacks-civil-liberties.html
It seems the right to silence no longer applies in the UK when the authorities want your encryption keys.

Last year one of the more troubling provisions of the UK's Regulation of Investigatory Powers Act (RIPA) finally came into effect. This piece of legislation made it a criminal offense to refuse to decrypt almost any encrypted data residing within the UK if demanded by authorities as part of a criminal investigation. The penalty for failure to decrypt is up to two years imprisonment for "normal" crime, and up to five years for "terrorism."

As two men accused of "terrorism" discovered last week, the long-standing right to silence does not trump the RIPA powers. The UK's Court of Appeal judged last week that the pair, named only as "S" and "A," could not depend on their right of silence to refuse to provide decryption keys. In the decision, the Court stated that although there was a right to not self-incriminate, this was not absolute, and that the "public interest" can supersede this right in some circumstances.


8. Aussie Govt: Don't Criticize Our (terrible) 'Net Filters
http://arstechnica.com/news.ars/post/20081024-aussie-govt-dont-criticize-our-terrible-net-filters.html
In followup from this story last week, here is some further info. on the upcoming Australian internet filters.

Australia's plan to subject every Internet user in the country to mandatory content filtering just keeps getting stranger. Although the current government says it simply inherited the program from its predecessor and that the filtering will be voluntary, it seems intent on continuing the rollout plans even as it has become apparent that some level of filtering will be mandatory. Now, an Australian newspaper has uncovered documents showing that the government minister responsible for the program has ignored performance and accuracy problems with the filters, then tried to suppress criticism of the plan by private citizens.

The filtering plan as it now appears consists of two tiers. One would apply to all Australian Internet access and would block access to content deemed illegal (though how that term will be defined hasn't yet been disclosed). A second tier would be switched on by default, but users would be allowed to opt-out; this tier would target content inappropriate for children.


9. Google's Open-source Android Now Actually Open
http://news.cnet.com/8301-1001_3-10071093-92.html
Google has released the source of Android for all to see.

Less than a year after announcing Android, the open-source phone operating system intended to jump-start the mobile Internet, Google began sharing the project's underlying source code.

The Android Open Source Project site includes a project list, a feature description, guides to the roles people can have in the project and how to contribute, and of course the Android source code itself.


10.  First Look: Firefox 3.1 Beta Offers Speed, Better Searching and More
http://www.webmonkey.com/blog/First_Look%3A_Firefox_3DOT1_Beta_Offers_Speed__Better_Searching_and_More
Monkey_Bites reviews the new Firefox 3.1 BETA, a little more comprehensively than I did :(

As we mentioned Tuesday, the first beta release of the new Firefox 3.1 browser has arrived. Firefox 3.1, which will land in final form near the beginning of 2009, promises speed improvements, a more refined search bar and support for new and emerging web standards. The browser will also contain a slew of small features that didn’t make the cut in Firefox 3.0.

While not all of the improvements are in beta 1, there’s enough to whet your appetite for the final release.


11.  Channel 9 To Offer All PDC08 Sessions
http://windows7news.com/2008/10/20/channel-9-to-offer-all-pdc08-sessions/
Post/Discussion thread by 40hz: https://www.donationcoder.com/forum/index.php?topic=15107.msg135404#msg135404
Channel 9 will be offering videos of all the speeches from the Microsoft Professional Developer Conference on their website within 24 hours of the speech taking place.

The PDC08 (Professional Developer Conference) will start in six days from now and will be packed with Windows 7 related sessions that promise to provide news about the upcoming Microsoft operating system. Not anyone can attend the conference which is held in the Los Angeles Conference Center from October 26 kicking off with a pre-conference session on that day. The registration fee for the full event is $2395 USD which might be a bit much for someone who just wants to find out more about the upcoming Microsoft operating system.

Channel9 announced recently that they will post recordings of all PDC08 sessions on their website for everyone to view. Each session should not take more than 24 hours after taking place to find its way on the Channel 9 homepage which is an excellent opportunity for anyone not attending to view the sessions and discover all the exciting news about Windows 7. The PDC08 is not only about Windows 7 and there surely will be some other interesting sessions that might be interesting to users. This is also an excellent way of watching a session that you missed while attending another session at the PDC08 in case you are one of the attendees.

Ehtyar.
705
Find And Run Robot / FARR In APC
« Last post by Ehtyar on October 24, 2008, 07:18 AM »
Hi all. Good news; APC (Australian Personal Computer), arguably Australia's most popular PC magazine (shutup Word Man, CISCO don't have a magazine OK? :P), made mention of FARR in their October issue. Take a look below. Unfortunately it's only a passing reference, though perhaps one day I'll be editor and we can be blazoned across the front page ;) Congratulations Mouse Man  :Thmbsup:

farr.png

Ehtyar.
706
General Software Discussion / Re: WINDOWS 7 THREAD (ongoing)
« Last post by Ehtyar on October 23, 2008, 07:52 PM »
It's a shame there's really no way to display emphasis in programming, otherwise I'd have used it in conjunction with:
Portable Software > *
;)

Ehtyar.
707
I've been using Mono recently, and even on Windows I'm impressed. Not sure what state the VB compiler is in, but the C# compiler is feature complete.

Ehtyar.
708
Developer's Corner / Re: Where to start with computer programing
« Last post by Ehtyar on October 22, 2008, 03:14 PM »
I also started with assembly. The only reason it's fallen out of favor with me is that assembly is not of a cross platform nature, and since I intend to use Windows only for as long as necessary, I would've had to entirely recode everything I've written after I make the switch. I also agree with PaladinMJ about going with which language helps you 'get it' (though I would definitely recommend C# over VB).

Ehtyar.
709
Developer's Corner / Re: C# as a Script
« Last post by Ehtyar on October 21, 2008, 05:49 AM »
I used it for my binary parsing problem Mouse Man (first link). I won't show the script here because it's not appropriate for DC, but if anyone would like some info on how things went, feel free to ask any questions.

Ehtyar.
710
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 21, 2008, 05:47 AM »
I had no problem forming the habit...
In fact it's so bad that now I have installed and am really liking the Tab on Right extension, but I still hit the new tab button at least 3 out of 5 times  ;D
I must say, now I'm kinda glad I never fell into the habbit :P
Thanks for the nice summary. :up:
My pleasure as always Mouse Man :)

Ehtyar.
711
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 20, 2008, 03:00 PM »
I used that New Tab button on the leftmost side of my bookmarks bar for a short while, as close to it's proper position as possible. But for all the use it was it may as well have not existed, it's difficult to get into the habbit of going to the bookmarks bar when you want to perform a tab-related operation IMO.

Ehtyar.
712
Developer's Corner / Re: Best Language For Binary Parsing?
« Last post by Ehtyar on October 20, 2008, 02:56 PM »
In all cases, data transferred between files and your programs is represented as Python strings within scripts, even if it is binary data. This works because Python string objects can always contain character bytes of any value
It may *work*, but it's a complete nightmare to parse.
Perl deals with strings the same way. To get an integer of a byte, I had to call ord() to be certain Perl didn't whine about a string. To parse the file, I had to load the entire header into memory in one, then unpack it to a hash. To get a hex representation of most things, I had to call unpack() again. For compare operations, I often had to resort to regex.
I can't understand what makes anyone think Python (or any dynamically typed language for that matter) would be a better choice here then one that's statically typed, and provides functions to deal with specific types. If someone can show me an example of Python parsing various datatypes read from a file and displaying them in multiple representations, I might be more receptive. But I can say unequivocally, in my experience, C# was a dream compared to Perl.

Ehtyar.
713
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 20, 2008, 02:35 PM »
Edvard, the New Tab Button you refer cannot be placed on the tab bar. Rather nonsensical to me.

Ehtyar.
714
Developer's Corner / Re: Best Language For Binary Parsing?
« Last post by Ehtyar on October 20, 2008, 03:27 AM »
For the uninformed, I spoke to Mouse Man and Scan Man outside of the forum, and unfortunately Python's typing is not quite strong enough, and while Euphoria appears to be strongly typed, it is mostly superficial.
My solution came in the form of C#, believe it or not. When I came across the BinaryReader class I did some further investigation (because who would not want to use that for binary parsing), and eventually found C# scripting engines. The strong typing, coupled with BinaryReader made C# a perfect choice.
Those that know me well will be shocked to pieces at the thought of Ehtyar using .NET....never fear friends, the script interpreters run on Mono ;)

Ehtyar.
715
Developer's Corner / C# as a Script
« Last post by Ehtyar on October 20, 2008, 03:05 AM »
Hi all.
I'm posting this in relation to this thread. It's intended to be just a quick intro to using C# as a scripting language instead of a compiled language.
Due to the fact that CLR compiled applications must be accompanied by a compiler, .net languages provide a unique opportunity to compile code on-the-fly. In this case, we're using a compiled executable to call the compiler to compile code we provide at the moment we wish to execute it via Microsoft.CSharp.CSharpCodeProvider(), thus simulating the behavior of a scripting language. There are two engines I've found to accomplish this task:
  • C# Script for .NET 2.0 is the engine I eventually chose. It is extremely small and relatively simple, therefore is also a cinch to modify.
  • CS_Script is the bulkier, yet more feature full of the two, this one provides for caching of the compiled script, and for embedding the "interpreter" itself into any .net application.
I chose the former both because it was far easier to modify, and because it runs happier on Mono than the alternative. Attached is a console and GUI build of my slightly modified version (scripts written for the console misbehave if run from the GUI interpreter). The changes include:
  • The System, System.IO, System.Text, System.Collections.Generic, and System.Windows.Forms namespaces are included by default, and the necessary assemblies are referenced.
  • The full path of the executing script will be provided as the first argument on the command line.
  • The code generated from the scripts will be optimized and will not contain any debug information.
  • The interpreter will compile code that does not contain a Main(). However, if you provide a Main(), you must also provide an enclosing class { } , and optionally, a namespace { }. This provides for multiple classes or namespaces in a single script.
I hope this info will be of use to somebody. As always, feedback is much appreciated

Ehtyar.

716
Living Room / Re: Tech News Weekly: Edition 42
« Last post by Ehtyar on October 19, 2008, 05:22 AM »
Where the bloody hell are we?  :huh:
Inside joke
ROFL!! I didn't get it until I remembered you are Australian, hehe.
I recall reading somewhere that they intend to simply supply a list of blocked websites, the then legislate that ISPs have to prevent their "customers" from accessing them. This would make ISPs directly responsible for the blocking, so I would expect they'll be doing more than just flashing new firmware onto your modem...
Still, what with that government initiative to provide parental controls a few months back (which was subsequently bypassed a 12 year old high school student) nothing would surprise me.

Ehtyar.
717
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 18, 2008, 09:18 PM »
There's also this addon which adds a new tab button similar to IE's to Firefox.

Ehtyar.
718
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 18, 2008, 08:55 PM »
Well no one way around in the IRC channel to test this, so I hope it's working as it should. Here is the HTML 5 demo I promised. Be sure to read the warning before clicking any of the links.

Ehtyar.
719
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 18, 2008, 08:52 PM »
I can't disagree with you there, though part of what makes it so silly is that they're the last of the major browsers to implement it, and they've done it in the least user-friendly way.

Ehtyar.
720
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 18, 2008, 07:58 PM »
Sorry I should have been more clear. In previous versions, Firefox would simply close the tab in the previous window, and open a new tab in the new window at the URL of the old tab. Now, the new page is loaded entirely from the memory cache of the old one (Firefox won't hit the server again), and all aspects of the tab are copied across, including history, permissions etc.

Ehtyar.
721
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 18, 2008, 06:13 PM »
Thank you ewemoa, and welcome to the forum :)

Ehtyar.
722
General Software Discussion / Re: Firefox 3.1
« Last post by Ehtyar on October 18, 2008, 05:56 PM »
The too-little-too-late new tab button. Really, if we wanted to go all the way to the right hand corner to open a new tab we'd just double click that micro-thin layer of blank tab bar above all our open tabs. All hail Tab Mix Plus.
Ctrl-T works great.
As far as buttons go, the new one is a bit of a joke...

Ehtyar.
723
General Software Discussion / Firefox 3.5 [FINAL]
« Last post by Ehtyar on October 18, 2008, 05:42 PM »
Now don't get your knickers all bunched up just yet folks, this post is about BETA 1 only. I thought it best to consolidate all 3.1-related posts in one thread, save filling the forum with it. As anyone who reads the Tech News Weekly (and I imagine many who don't) will know, Firefox BETA 1 was released this week. As it hasn't been dole already, I thought I might take the opportunity to plug my favorite browser a little. Firefox 3.1 includes many new features that should excite almost every user group, though the most excitement will be felt by developers, particularly those keeping abreast with HTML 5 developments.
As yet there doesn't seem to be a consolidated list for features, but I'll link to more detailed information where I can. OK, here are the new features in the most awesome browser ever....bias? what? who? *cough*:

For Everyone
tab-switch.png
  • Filter results in the Smart Location Bar (Awesome Bar) with keywords.
  • The long-overdue ability to drag tabs from one window to another.
  • The too-little-too-late new tab button. Really, if we wanted to go all the way to the right hand corner to open a new tab we'd just double click that micro-thin layer of blank tab bar above all our open tabs. All hail Tab Mix Plus.
new-tab.png

For Web Developers

For Extension Developers
  • A search attribute for the XUL textbox, which fires the command function on content modification, much like the Firefox inbuilt find does.
  • A level attribute for the XUL panel, used to determine which panel should be atop another.
  • Support for cross-site XMLHttpRequests.
  • Support for progress events in XMLHttpRequest.
  • Support for removing <keyset>s.
  • Native JSON support.
  • Various theme changes

Well I hope that sums it up well. Please let me know if I missed anything. I'd like to put together a demo HTML 5 page so people can try out the new HTML 5 elements if they'd like, so keep an eye out :).
For those of you who'd like to run the BETA alongside their existing installation, download Portable Firefox here. Once installed, copy the FirefoxPortable.ini from Other\Source into the root directory, and change 'AllowMultipleInstances' to 'true'.

Ehtyar.

[edit]
Here's the demo peoples, be sure to read the warnings before clicking the links. Enjoy :)
[/edit]
724
Living Room / Re: Tech News Weekly: Edition 42
« Last post by Ehtyar on October 18, 2008, 03:35 PM »
Thanks for your kind words everyone :)
Since there appears to mixed sentiment about the spoiler tags idea, I think next week I will double post the news next week and see what everyone likes. The only question left is what goes inside the tags and what is displayed outside? Leave me some feedback if you have an opinion either way.
Also, I have a question: what's the ordering? Is it ordered by time or relevance? Not that it matters, I'm just curious :)
I'm afraid at the moment there is no ordering at all. I add them as I come across them. There will be sporadic chronological ordering where I have more than one article from the same website (which often happens with wired.com and theregister.co.uk).
Also, thank you for the info on botnets (8 and 9), I didn't even know there were names for specific botnets :)
In actual fact, the botnets are simply named after the trojan that creates them. Some of the larger ones like Kraken also have several aliases.

Ehtyar.
725
Living Room / Re: Tech News Weekly: Edition 42
« Last post by Ehtyar on October 18, 2008, 05:59 AM »
I don't know what the hell the Australian government thinks they're doing. Surely the UN wouldn't be a fan of this sort of ****. Whatever happened to the government being afraid of its people? I guess that credo goes out the window when you live in this country; apathy as abundant as water is scarce.
Have you considered collapsible sections (spoiler tags) for each item? That would serve as a TOC and do away with a lot of scrolling.
That's an interesting idea. I'd probably prefer a proper TOC myself, but what does everyone else think? If there's call for it, I'll try it that way next week.

Ehtyar.
Pages: prev1 ... 24 25 26 27 28 [29] 30 31 32 33 34 ... 50next