Posts tagged Hardware

Explained: Garbage Collection

Garbage Collection is the concept of collecting useless “dereferenced” memory, and freeing it for re-use by the system. De-referenced resources are those objects that are no longer in use by the program but are still allocated for use by it.

Languages like C/C++ could allow programmers to directly interact and play with memory, a responsibility that is often so abused that it does more harm than good… Problems arise when people recklessly allocate large system resources and the due to some mis-management the allocated memory is never freed. This leaves large chunks of unreacheable memory locations that ultimately cause “Memory Leaks”. In comes the invention by John McCarthy, which shoulders the responsibility of memory management by de-allocating memory that is not in use by the program anymore. While the concept was initially developed for LISP only, now it has spread to a variety of High Level Languages, including updated versions of C\C++ themselves.
C++/CLI (Common Language Infrastructure), which is Microsoft’s language specification has provision for both manual and automated memory management.

Garbage collector is the term used to represent automatic memory management by the system. Garbage collector scans the runtime environment for objects that are accessible directly or indirectly via references. Then it proceeds to discard all remaining objects. Typically, an object’s memory is reclaimed when the number of references to it reaches zero. These scans are done in cycles, which are started automatically by the Garbage collector or when explicit calls are made to it.

Garbage collection does not guarantee immunity from memory leaks, and obviously requires a considerable percentage of system resources to run, but definitely helps programmers who have to deal with a lot of memory in their projects. Garbage collection is not commonly used in embedded projects due to their already small resource size but are available on certain platforms like .NET Micro Framework and Java-ME.

WPC 2010 Virtual Pressroom: Video Gallery

Demo: The Personal Cloud

Corporate Vice President Brad Brooks shows off how Windows 7, Bing, Windows Live and other services connect to create a connected “personal cloud.”

[Video]

Have you made your decision to be a Mac or a PC?

This is a video review of Mac versus Windows which shows both – the good and the bad – sides of PCs and Macs:

<video>

Personally I made my decision to be a PC because I love to have control over every little part of the OS (using OpenBSD, Ubuntu Netbook Edition and various Windows).

What are you? (Mac, PC or both?) Please comment!

Update: Should colleges start giving Apple’s iPad to students?

This morning I wrote about all the discussions to the question Should colleges start giving Apple’s iPad to students? 

But since this time there were many important news-releases surrounding the Apple iPad.

For example data now points that the iPad has become (or always was, given its short life thus far) so popular that it is on the right track to outsell the venerable Mac, Apple’s regular computing line. According to an analyst Apple is selling some 200,000 iPads a week, versus a mere 110,000 Macs in the same time frame.

The iPad is of course a new product, and slower sales are to be expected once the full global roll out has been completed and enough time has passed to fill initial demand. That will take weeks, if not months. At 200,000 a week, Apple will have moved at least another million iPads.

The shocking statistic that has the tech world in an uproar is that some 20% (1 in 5) Americans is either “likely” or “somewhat likely” to purchase an iPad. The population of the United States is roughly 300 million, 20% of that number works out to some 60 million. If Apple sold that many iPads at the lowest price point possible, $500, it would bring in some 30 billion USD in revenue.

Seeing those data, people start to think, if maybe the Apple iPad is going to get a mainstream device and draw in a huge amount of PC users not using apple products yet. For sure other manufacturers will be really unhappy with Apple and since they don’t want to loose all of their clients to the Mac or iPhone/iPad, they have to adopt Apple’s new standards and also be sort of nice to them…

I guess this will end in a really huge showdown between Microsoft and Apple. But then there is another question: What about all the other big technology companies like Google, HP/Dell, HTC, and so on. For sure these companies all have their reasons to like neither Apple nor Microsoft but they will have to decide very soon! Or maybe it will go bad for both Microsoft and Apple as you see Google working on their ChromeOS and HP hugging WebOS.

No matter what happens, it is going to “take a bloody end”. I just hope that customers won’t have to suffer too much.

 

PS: take a look at how I tagged this post..

Should colleges start giving Apple’s iPad to students?

The iPad has landed. But should campuses be throwing it a welcome party? A online search for “free iPad at college” shows that many are doing this now! Hundreds of educational institutions announced in the last weeks that they would be giving Apple’s new computing tablet to each new full-time student when they arrive on campus in the fall for free. For Example George Fox University, a Christian institution in Oregon, will expand its annual laptop giveaway to first-year students to offer students a choice between a Macbook and an iPad. The year after that, there will be no more choice: Everybody will get iPads. Interesting is also that even small ones (for example Eugene Bible College) are giving their students iPads ”to make learning [...] more interactive”.

The e-learning giant Blackboard, meanwhile, announced that it launched an app for the iPad that allows students to access their courses from the new device.

:: (Summary of the last month in mailinglist listserv.educause.edu)

But the arrival of the long-awaited device has also prompted questions. On Educause’s CIO listserv last week, higher-ed technologists wondered aloud about the costs and benefits of the efforts of some campuses the try to seed their student bodies with the gadget du jour.

Theresa Rowe, the CIO at Oakland University, noted the “pattern” of colleges announcing high-visibility technology giveaways of laptops, iPods, iPhones, and now the iPad — each time prompting peer institutions to wonder whether following suit would be strategically wise. “Our presidents or leaders ask ‘Why not us?’ ” Rowe wrote. “And then we scramble to put together a budget and support picture.” (Rowe was one of several CIOs to authorize Inside Higher Ed to quote from her contributions to the usually private forum.)  

This time, Rowe decided to crowdsource the question to her counterparts on the listserv. What she got back was a mix of curiosity, enthusiasm, light number crunching, and some pointed skepticism. (See here)

Greg Smith, the CIO at George Fox, responded, saying that universities should not worry about justifying iPad giveaways with precise cost-versus-value analyses. The shifts that are happening in higher-ed technology — particularly from bound textbooks and research materials to electronic versions — are “bigger than the iPad,” said Smith. Universities know this change is coming, he said, so they should do what they can to enable it. “The iPad appears to be the perfect device for information at your fingertips which places it in the role to ignite the change,” Smith said.

But Robert Paterson, CIO at Molloy College, was not ready to anoint the tablet as a harbinger of institutional transformation. “Apple has done it again … created a proprietary hardware with no particular purpose, except it may be cool and then sell, sell, sell,” Paterson wrote. “… And these initiatives for students … without any experience in how it might be used, without faculty being able to experiment or to plan how to use them in the teaching/learning process… I apologize but it seems sort of gimmicky.”

Without a firm agenda in place for how the new technology is meant to be used, 5% of students at most might figure out a novel use of the iPad for learning, he said — “too few to justify a campus-wide giveaway”. By the time a substantial proportion of students start following the examples of the early innovators, Paterson said, “multiple iterations, improvement, enhancements to the tool have occurred… So you throw away the one first adopted in favor of better and cheaper versions.”

Stephen Landry, CIO at Seton Hall University (not to be confused with Seton Hill, which is the one doing an iPad giveaway), said that while he is more confident about students’ ability to adapt new devices into their learning processes, “it is wise to have concrete learning objectives that we hope to achieve by deploying that technology” nonetheless. “We should be able to discuss this with the students and parents who may want to know why tuition is going up and with our faculty who may want to know why we aren’t hiring more instructors,” Landry wrote. For example, he said, when Seton Hall first started giving out laptops in 1998, it did so as part of an effort to redesign its first-year English and math curriculums in order to improve learning outcomes through better use of technology.

So how much would an iPad giveaway actually cost for a typical campus? As it turned out, it was Rowe, the Oakland CIO who originally queried the listserv, who did some number crunching and estimated that to purchase and distribute the devices to a 3,000-student campus would cost about $2.2 million.

 

Other considerations

In an interview with Inside Higher Ed, Smith, the George Fox CIO, said that, more than getting students to use the iPad toward educational ends, campuses that choose to make it standard hardware could face pushback from professors, many of whom are used to using Microsoft Office’s suite of tools — Word, Power Point, Excel, etc. — to assign and receive student work (the iPad, unlike Apple’s Macbook laptop, does not run Microsoft Office and will not in the feature).

((By the way: Students can get office 2007 - for windows - for 59.95$ at http://www.microsoft.com/student/discounts/theultimatesteal-us/default.aspx and additionally to that they can upgrade to office 2010 for free as soon as it is released) )

He said that having to adjust to new technologies — regardless of whether students are likely to want them — gives professors everywhere jitters. “The biggest fear starting to grip [professors] is that … e-textbooks might actually become reality,” Smith said — acknowledging that there are exceptions, but they are the minority. “If you know higher ed, you know that the biggest fear of a professor is having to change how they deliver their course.”

And then there’s the observation made by a number of reviewers that the iPad is much better for consuming content than creating it — and content creation — of papers, presentations, video projects, etc. — is a big part of being a college student.

But Smith is not worried. One of the reason George Fox is phasing out its laptop program by way of the iPad giveaway is because most students there already have laptops — or at least have access to computers more oriented to creation. Besides, if you set up an iPad with its docking station and external keyboard — both of which George Fox will be providing to students — it is basically a desktop computer, he said.

In my opinion, trusting the iPad in Colleges as the only way for students to read and write their stuff is a really bad idea since this is just plain ignorance of any previous standardization and makes the school totally dependent on Apple. Previously students and also professors always had the freedom of choice in what hardware they buy (for example: a laptop or netbook or desktop from Dell or HP or Acer,..; and if they want to use Microsoft Windows, any Linux Distribution, *BSD or Apple Mac OS,…; and if they use Microsoft Office or OpenOffice,..). This freedom of choice created a market where people were able to get expensive products or even sometimes for free! If someone didn’t like a special product, then they were able to just change to another one; and so on…

But with just making the iPad a must use and relying on these devices, students don’t have a freedom of choice between what hardware, operating system, Office suite and other software they use.

But the fact that many institutions are still doing this, shows how good Apple’s marketing is. If you compare an iPad with a laptop; then the laptop clearly wins (for example because it has additional ports like USB, Bluetooth, sound in/out, CD/DVD drives,……. which the iPad doesn’t have!!). Also Apple’s decisions like banning flash from it’s devices aren’t what everyone wants – but this is the power of non-open systems with good marketing!

I hope that here in the USA they will soon release laws prohibiting public institutions to use/depend on products from just one company without allowing freedom of choice. Many countries worldwide already made that step!

PS: I am still waiting for all the open source and/or freedom supporters to jump up and do something against this (bad) change in today’s world!

Update: also see my next post Update: Should colleges start giving Apple’s iPad to students?

Sony to block Windows and Linux from all PS3 Systems

Sony has announced that a new firmware upgrade for the PlayStation 3, to be released on April 1st, will remove the “Install Other OS” option from all versions of the  console. The announcement in the company blog cites “security concerns” as the reason for the removal.

The “Install Other OS” option allows users to install Linux on the Sony console, a capability which Sony did not support on the new “Slim” version of the PS3, released in August 2009. At the time Sony explained that adding the feature to the “Slim” PS3 would have added to development and support costs, but assured developers that the feature would not be removed from previous models of the PlayStation 3.

The ability to install Linux had allowed some groups to sell clusters of the games console and run software which made use of the Cell processor for computation. PS3 clusters have been used, for example, for cracking cryptography.

Linux and other operating systems on the PlayStation 3 run within a managed hypervisor which limits access to the physical hardware to prevent hackers from tampering with the console’s content protection features. Although Sony do not specify the precise reasons for the removal of the other OS feature It is possible that the company has found, or been made aware of, vulnerabilities in the hypervisor implementation that allow the content protection to be compromised.

Windows 7 vs. Ubuntu 9.04 EyeCandy

I just found this nice video in Youtube:

 

You think thats impressive? Me too :D Looks cool – but do you really need all this eyecandy stuff? I like Windows 7 because it is just the right amount of visual cool looking stuff so you are able to work as efficient as possible. But this varies between each person.

 

PS: I have UBUNTU 9.10 as second multiboot system and it is really helpfull to impress other people ;-)

Chuck Norris Virus Roundhouse Kicks Unprotected Routers!!!!!11

Just a few seconds after publishing my last post I read about this really ChuckNorris-stuff on a german newspage (I hope you all have humor):

Apparently, when Chuck Norris wants to create a botnet, he’s such a badass that he doesn’t even have to attack computers.

The Chuck Norris virus, so called because of the words “in nome di Chuck Norris,” (Italian for “In the name of Chuck Norris”) in the source code, attacks routers and DSL modems by guessing commonly used passwords. It also exploits a security vulnerability present in many D-Link routers.

This virus, which takes advantage of an incredibly common vulnerability, is potentially incredibly dangerous. Even the most security-minded of consumers will often forget to change the default password on their routers after setting them up. Because this virus can change DNS settings of the router, it can also hijack the browsers of computers on its network, steering them to malware-infested sites or phishing sites.

In addition, due to the widespread use of Linux and MIPS-based chips in internet-connected devices (like routers, modems and even cable boxes), this particular vulnerability could be devastating. According to Jan Vykopal, head of network security research for Masaryk University’s Department of Computer Science (and the discoverer of the virus), devices in Asia, Europe, North and South America are already infected, and it appears to be spreading quickly.

While this particular virus might not become the next conficker, it suggests that similar exploits could be on the way. Despite the fact that many people have antivirus software on their computers, most people completely overlook the security of their routers. It’s only a matter of time before another more effective version of this exploit finds its way into more routers and cable boxes.

SuperFetch – What is this?

SuperFetch is a technology in Windows NT 6.0 (Vista) and onwards that is often misunderstood. I decided to delve into this technology to see what it is all about, and to dispel some of the myths surrounding this feature.

Very succinctly put, SuperFetch is a technology which allows Windows to manage the amount of random access memory in the machine it runs on more efficiently. SuperFetch is part of Windows’ memory manager; a less capable version, called PreFetcher, is included in Windows XP. SuperFetch tries to make sure often-accessed data can be read from the fast RAM instead of the slow hard drive.

SuperFetch’ goals:

SuperFetch has two goals: it decreases boot time, and makes sure applications that you use the most load more efficiently. SuperFetch also takes timing into account, in that it will adapt itself to your usage patterns.

Read the rest of this entry »

Q. What is Windows 7 XP mode?

A. Windows XP Mode is available in the Professional, Enterprise, and Ultimate editions of Windows 7. It is essentially two things: the new version of Virtual PC, called Windows Virtual PC, and a Windows XP Professional SP3 virtual machine (VM) configured with Windows Firewall and automatic updates enabled. XP Mode could be preinstalled on new computers if OEMs choose to install it, and the mode will also be available as a download from Microsoft.

Windows 7 hides the XP VM from the desktop user. Applications that will only run on Windows XP are executed within the VM, but the application window is displayed on the Windows 7 desktop, offering the end user a seamless experience. Applications installed on the VM will also be displayed in the Windows 7 Start menu and can be pinned to the Task Bar. Redirection of user data folders is performed with XP Mode, so when a user accesses an application running in XP Mode they still see their normal document folders.

XP Mode is essentially just running a VM on Windows 7 with seamless application execution. Organizations that use this technology will probably also want to integrate with Microsoft Enterprise Desktop Virtualization (MED-V), which is part of the Microsoft Desktop Optimization Pack (MDOP), to get better management of the Windows XP image.

To enable the Windows XP Mode, your processor must support virtualization (it must have AMD-V or Intel VT) and virtualization must be enabled in the BIOS.

The inclusion of XP Mode will allow organizations to adopt Windows 7, even with applications that don’t run on Windows 7, by running the applications in the VM. Long-term applications should still be updated to run natively on Windows 7, however, to allow the VM to be retired. Running applications natively provides better performance and less management overhead than the maintenance required on the Windows XP image.