Hopefully this new year will see some more activity from me. That's my new years resolution for IDT.
As a sort of quick plan for what I want to do this year:
Let's see how it all goes. posted by dharh 10:37 AM Jan 3rd, 2011
A year ago Google unveiled a new operating system they were working on. One in which their browser, Chrome, is the sole focus. Shedding old operating system conventions to do one thing, allow the user to browse the web. Going so far as to call it the Chrome OS.
Google believes that the internet has reached a critical point, where people spend most of their time on the computer using the internet, where web sites can offer many of the same services that applications have done in the past, where HTML5 can offer a rich environment to develop even better web applications closing the gap between desktop applications and web applications. Last week Google unveiled more of what they have been working on in the form of a notebook with Chrome OS as its operating system. They call their new laptop CR-48, which is an isotope of the element chromium. They made 60,000 of them and giving many of them through various applications and giveaways. And I got my hands on one of them. I won't bore you with too many details. If I had done this review earlier I might, but other people have gone into more depth with better writing than me. TouchpadIt indeed sucks. I chalk it up to both software and hardware. They should have focused on the touch sensor and skipped trying to make it a clickpad. If you understand its quirks and don't try to use the clicky part, it works quite well. The quirk is the further away from the center you get the more off its sensor gets. So double tapping, right tapping work in the center, but not so much anywhere else. In the end though it may just be better to use the alt key for right clicking. If its a software issue, heres to hoping they get that part nailed down so they can add even more gestures. KeyboardIt rocks. Best keyboard on a laptop I've ever used. Search in place of caps lock? Genius. The function keys being remapped to internet related functions, perfect. Battery LifeIt's not an iPad, with its ungodly battery life, but it trumps every other netbook I've ever used. I can easily get a full day, and my days are 12+ hours. I imagine using flash more would shrink that down, but not by much. OSShows alot of promise and a few faults. From first opening the lid to browsing the first page <15 seconds. Close lid, open lid, to browsing page is usually <5 seconds. That is until you've been using it for a couple days without shutting it down completely. You start to notice lag between opening the lid and connecting to wifi growing. Browsing the web is pretty straight forward, the experience itself is very close the same as using Chrome on any windows, linux, or OSX machine. Flash, as always, has issues. Hopefully they get that straightened soon, at the very least before launch of the stable Chrome OS. Perhaps there are other clouds they should focus on as well, besides the Web. Things like Device clouds or IRC. I think they should open up the linux terminal in chrome, the default, and even the dev terminal are just too lacking. Especially for the curious among us. I wouldn't go to far as to support anything outside of the Chrome OS stack, but at least allow people to do whatever they want to the stable Chrome OS release without having to develop and compile it on their own. ConclusionGoogle has work ahead of them. The software is definitely beta stage. Also, if they want this to succeed that have to convince more than just me to join the cloud. I've seen quite a few reviews that simply do not understand why anyone would want to use Chrome OS. Google needs to convince these people, because they are the ones who will get the moms and pops, who are the perfect demographic for this, to use it. Other TiddlybitsFrom Tom's Hardware: "The Intel CPU inside is the Atom N455, which is a single core solution, on Intel's CG82NM10 PCH. It's believed that the market versions from Acer and Samsung will use dual-core Atom N550. For memory and storage there's a 2GB stick of Hynix RAM inside, plus a 16GB SanDisk SSD. Its Verizon 3G chip is the Novatel Gobi2000 PCI Express Mini Card, the Wi-Fi is handled by the AzureWave Atheros 9280 802.11 a/b/g/n part, and there's also Bluetooth thanks to the Atheros AR5BBU12 with V2.1 EDR." posted by dharh 4:32 AM Dec 12th, 2010
I got my google notebook on my doorstep last night. I'll write a review over the weekend.
posted by dharh 4:49 PM Dec 10th, 2010
10. Create files with date and time stamp appended to the name
Note: Windows does not like ':' in file names. Also I made this extension friendly so it doesn't just add a date time stamp at the end of an html file for example and instead puts the stamp just before the '.' using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace lrn2CSharp10
{
class Program
{
static void Main( string[ ] args )
{
string fileName = "";
string timestamp = DateTime.Now.ToString( "MM-dd-yyyy_HH-mm-ss" );
Console.WriteLine( "Input name of new file in the current directory to create (it will have the current date appended to it)." );
Console.Write( ":" );
try
{
fileName = Console.ReadLine( );
if ( fileName.Contains( '.' ) )
{
string scope = fileName.Split( '.' ).Last( ).ToLower( );
fileName = fileName.Replace( "." + scope, "_" + timestamp + "." + scope );
}
else
{
fileName += "_" + timestamp;
}
FileStream fs = new FileStream( fileName, FileMode.Create );
fs.Close( );
}
catch
{
Console.WriteLine( "WTF?!?" );
}
}
}
}
posted by dharh 3:20 PM Sep 30th, 2010
9. Time and Date : Get system time and convert it in different formats 'DD-MON-YYYY', 'mm-dd-yyyy', 'dd/mm/yy' etc.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lrn2csharp9
{
class Program
{
static void Main( string[ ] args )
{
DateTime now = DateTime.Now;
Console.WriteLine( "Today's date is: " + now.ToString( "MMM dd yyyy HH:mm:ss" ) );
Console.WriteLine( "Also: " + now.ToString( "dd-MMM-yyyy" ) );
Console.WriteLine( "And: " + now.ToString( "MM-d-yyyy" ) );
Console.WriteLine( "One more thing: " + now.ToString( "d/MM/yy" ) );
}
}
}
posted by dharh 3:03 PM Sep 30th, 2010
I have been working hard on a .NET project for work and thus have not had the energy to do any other work. The project is nearing a major milestone in the next few months which should means I should be less stressed. Which means I can start working on IDT related stuff. So, stay tuned or something.
posted by dharh 12:47 PM Jul 20th, 2010
8. Open a text file and convert it into HTML file. (File operations/Strings)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace lrn2csharp8
{
class Program
{
static void Main( string[ ] args )
{
string file = "";
string html = "<html><head><title></title></head><body>{0}</body></htm>";
string textFile = "";
Console.WriteLine( "Input name of a file in the current directory to convert into an HTML document." );
Console.Write( ":" );
try
{
file = Console.ReadLine( );
FileStream fs = new FileStream( file, FileMode.Open, FileAccess.Read );
StreamReader sr = new StreamReader( fs );
while(!sr.EndOfStream)
{
string line = sr.ReadLine( );
if ( line.Length != 0 )
textFile += "<p>" + line + "</p>";
}
sr.Close( );
StreamWriter sw = new StreamWriter( fs.Name + ".html" );
sw.Write( string.Format( html, textFile ) );
sw.Close( );
fs.Close( );
}
catch ( Exception e )
{
Console.WriteLine( "WTF?!?" );
}
}
}
}
posted by dharh 2:14 AM Jan 30th, 2010
« Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Next » |
AI airships america batteries blogs books browser C# c++ chatGPT computers conversation copyright covid cpp cr-48 CSharp dharh disaster DIY DRM economy energy environment FCC gaming google government history HTML humor idt internet interview japan java javascript linkjack linux lrn2program MLP moving music nature nefeedeater neThing neTodo networking news opensource philosophy podcasts poverty programming projects python reading religion science sick simple software space sparce tagging technology twitter unbirthday video wiki
|