A page for randomness

July 18, 2008

Secure remote access using public/private keys

In the context of digital security, a key is a piece of data which is used to encrypt or decrypt other pieces of data. The public and private key scheme is interesting because data encrypted with a public key can only be decrypted with the associated private key. You may freely distribute a public key so that others can encrypt the messages they send you. One of the reasons that public/private key schemes have revolutionized digital security is because the sender and receiver don’t have to share a common password. Among other things, public/private key cryptography has made e-commerce and other secure transactions possible. In this article, we’ll create and use public and private keys to create a highly secure distributed backup solution.

Each machine involved in the backup process must be running the OpenSSH secure shell service (sshd) with port 22 accessible through any intermediate firewall. If you access remote servers, then there is a good chance you’re already using secure shell.

Our goal will be to provide machines with secure access without requiring the need to manually provide passwords. Some people think that the easiest way to do this is to set up password-less access: do not do this. It is not secure. Instead, the approach we’ll use in this article will take perhaps an hour of your time, set up a system which gives all the convenience of “passphraseless” accounts — but is recognized as being highly secure.

Read more: Automate backups on Linux

July 14, 2008

Robocars on Discovery Science Channel to feature autonomous vehicles from DARPA Urban Challenge, including Team CajunBot.

The series “Robocars” will be premiering tonight at 9pm (Central time) on the Discovery Science Channel.  The show follows ten teams of top engineers from around the U.S. compete for a $2 million grand prize, struggling to build the first vehicle to drive itself through an urban environment and features Team CajunBot.

Here is the schedule and episode descriptions:

July 14th 9-10pm - Episode 1 - follows Stanford Racing, Tartan Racing, Team Jefferson, Team Gray and The Golem Group as they prepare for the Urban Challenge and pass through the DARPA site visits.

July 21st 9-10pm - Episode 2 - follows Highlander Racing, Team Oshkosh, Team Cajunbot, Team MIT, and Team Case as they prepare for the Urban Challenge and pass through the DARPA site visits.  The show ends with DARPA announcing the teams who made it to the semi-finals.

July 28th 9-10pm - Episode 3 - covers the semi-finals.  Stanford Racing, Tartan Racing, Team Jefferson, Team Gray, The Golem Group, Team Oshkosh, Team Cajunbot, Team MIT and Team Case are all included.  The show ends with DARPA announcing the teams who made it to the finals.

August 4th 9-10pm - Epiosde 4 - covers the finals.  Stanford Racing, Tartan Racing, Team MIT, and Team Oshkosh are all included.

August 11th  8-10pm - Episodes 5 and 6 - The first hour is a summary of the last four episodes and the second hour focuses on futuristic car technology and contains excerpt from the DARPA Urban Challenge.

Read more: Welcome to the CajunBot Lab website.

July 12, 2008

ACLU, others greet Bush FISA bill signing with new lawsuit

Filed under: computers and technology, interesting, news, political — Mark @ 12:37 pm

President Bush’s signature had barely dried on the FISA Amendments Act, which the Senate approved Wednesday, when the American Civil Liberties Union announced that it would mount a constitutional challenge to the new law, claiming that it violates the First and Fourth Amendments. The group also filed a motion with the secretive Foreign Intelligence Surveillance Court, requesting that proceedings and rulings on the constitutionality of the FAA be made public.

On a conference call with reporters Thursday afternoon, ACLU lawyers said they had filed suit in the US District Court for the Southern District of New York on behalf of an array of plaintiffs. This included a panoply of human rights organizations, prominent defense attorneys, and journalists like Chris Hedges and Naomi Klein of The Nation.

One of the most difficult aspects of challenging secret surveillance law is proving standing to sue, as the National Security Agency does not make a habit of notifying targets that they are being wiretapped. The ACLU therefore hopes to demonstrate that its plaintiffs are harmed, and their First Amendment activities chilled, by the very existence of a law whose “effect and… main purpose,” in the words of attorney Jameel Jaffer, “is to give the government unfettered access to the international communications of US citizens and residents.”

Read more: ACLU, others greet Bush FISA bill signing with new lawsuit

July 11, 2008

Clinton: Why I Voted No On FISA

Filed under: computers and technology, interesting, news, political — Mark @ 12:06 pm

The Senate passed a revamped version of FISA legislation on Wednesday. But that conclusion was never in doubt. The real intrigue surrounded which Democrats would buck the compromise, which included immunity for telecommunications companies, and what side Sen. Hillary Clinton would come down on.

Late this afternoon, Clinton voted against the bill, putting her at odds with the party’s presumptive nominee, Barack Obama. In a statement put out by her Internet guru, Peter Daou, the New York Democrat struck a similar chord as her Illinois counterpart, describing the compromise as legislation that will “strengthen oversight of the administration’s surveillance activities over previous drafts.” She also, like Obama, pinpointed shortcomings in oversight, immunity, and other aspects of the compromise. But, in the end, she, unlike Obama, was persuaded to vote no.

Read more: Clinton: Why I Voted No On FISA - Politics on The Huffington Post

New Radiohead Video is Shot with Lasers, Not Cameras.

Filed under: computers and technology, darpa uc 2007, geek, interesting, news, personal — Mark @ 11:35 am

I’m sure y’all remember the expensive ice cream buckets on top of several DARPA Urban Challenge vehicles…

Radiohead, never ones to shy away from trying new things, has shot its new video for “House of Cards” without using cameras at all. Whaa? Yes, they’ve used two fancy new technologies called Geometric Informatics and Velodyne Lidar.

Read more: New Radiohead Video is Shot with Lasers, Not Cameras.

Weird sound problem on Macbook running Linux

If you’re running linux on a macbook and you have fuzzy or static like sound especially out of the left channel, whether on speakers or headphones, then this tip from the Ubuntu forums will most likely help. The following was done on my Ubuntu machine, but mostly can be applied with little effort on another distribution like Fedora:

$ sudo emacs /etc/modprobe.d/options

Add the following line to the end of the file:

options snd-hda-intel model=[MODEL_BELOW] position_fix=2 probe_mask=1

Where [MODEL_BELOW] is one of the following:

intel-mac-v1   : Intel Mac Type 1
intel-mac-v2   : Intel Mac Type 2
intel-mac-v3   : Intel Mac Type 3
intel-mac-v4   : Intel Mac Type 4
intel-mac-v5   : Intel Mac Type 5
macmini        : Intel Mac Mini (equivalent with type 3)
macbook        : Intel Mac Book (eq. type 5)
macbook-pro-v1 : Intel Mac Book Pro 1st generation (eq. type 3)
macbook-pro    : Intel Mac Book Pro 2nd generation (eq. type 3)
imac-intel     : Intel iMac (eq. type 2)
imac-intel-20  : Intel iMac (newer version) (eq. type 3)

You’ll also need to update your initramfs:

$ sudo update-initramfs -u

Reboot and see if the sound works. Typically the sound will stop working altogether or work perfectly. If it doesn’t work, try changing the model. I have a 2nd or 3rd generation macbook (I can’t remember which), but I needed to use the model=intel-mac-v3 for it to work. Check out the help article for more information.

July 10, 2008

ACLU, EFF will challenge FISA update in court

Filed under: computers and technology, news, political — Mark @ 7:08 am

As the Senate voted to endorse a Bush-administration backed plan to expand its surveillance authority and grant retroactive legal immunity to telecommunications companies that facilitated warrantless wiretapping, the American Civil Liberties Union unveiled plans to challenge the new law in court.

“This fight is not over. We intend to challenge this bill as soon as President Bush signs it into law,” said Jameel Jaffer, Director of the ACLU National Security Project, in a statement provided to RAW STORY as the Senate was voting. “The bill allows the warrantless and dragnet surveillance of Americans’ international telephone and email communications. It plainly violates the Fourth Amendment.”

Read more: The Raw Story | ACLU, EFF will challenge FISA update in court

July 9, 2008

Protocol Buffers: Google’s Data Interchange Format

Google’s open source’s “Protocol Buffers”. Here’s some examples:

You write a .proto file like this:

message Person {
  required int32 id = 1;
  required string name = 2;
  optional string email = 3;
}

Then you compile it with protoc, the protocol buffer compiler, to produce code in C++, Java, or Python.

Then, if you are using C++, you use that code like this:

Person person;
person.set_id(123);
person.set_name(”Bob”);
person.set_email(”bob@example.com”);

fstream out(”person.pb”, ios::out | ios::binary | ios::trunc);
person.SerializeToOstream(&out);
out.close();

Or like this:

Person person;
fstream in(”person.pb”, ios::in | ios::binary);
if (!person.ParseFromIstream(&in)) {
  cerr << “Failed to parse person.pb.” << endl;
  exit(1);
}

cout << “ID: ” << person.id() << endl;
cout << “name: ” << person.name() << endl;
if (person.has_email()) {
  cout << “e-mail: ” << person.email() << endl;
}

Read more about them: Google Open Source Blog: Protocol Buffers: Google’s Data Interchange Format

July 8, 2008

Best Buy is selling Ubuntu Linux

So it seems that Best Buy is selling Ubuntu for $20. I guess that’s for the people who want the extra support rather than downloading it for free on the Ubuntu website. From the synopsis:

You’re right in the middle of an important procedure when your computer freezes and crashes, erasing your data and costing you hours of extra work. For the thousandth time, you wish you had an easy-to-use alternative to your current operating system. Look no further than Ubuntu Linux, a community-developed, Linux-based operating system designed to give new life to your old PC or Mac.

Ubuntu Linux offers all the power of Linux in a package that’s simple to use and easy to learn, even for users who’ve never used Linux before. The OpenOffice complete office productivity suite includes word processing, spreadsheet and presentation software to provide you with all the key desktop applications you need for success, while still allowing you to open, edit and share files with users of Microsoft Office, WordPerfect, KOffice or StarOffice. Surf the Web with ease using Mozilla FireFox, which features tabbed browsing, pop-up blocking and more. Easily instant message people on your AIM, MSN, Napster and Yahoo buddy lists from a single window with Gaim instant messaging. Manage e-mail, photos, music and more easily, and keep your computer safe with powerful firewall and antivirus programs. With Ubuntu Linux, your computer operates smoothly and efficiently, saving you time and preserving your peace of mind.

Features

  • OpenOffice productivity suite provides easy-to-use word processing, spreadsheet and presentation applications
  • Open, edit and share files originating in Microsoft Office, WordPerfect, KOffice or StarOffice
  • Streamline multiple instant messaging programs into a single window incorporating icons, translations and emoticons
  • Manage your time and contacts with Evolution’s integrated e-mail and calendar
  • Upload and edit photos from your hard drive, camera or MP3 player in 16 different file types, including JPEG, GIF, TIFF and RAW
  • Store, search and browse your music library and listen to Internet radio with Rhythmbox media player
  • Browse the Internet safely and conveniently using Mozilla FireFox
  • Update the program easily, from quick security fixes to complete upgrades, with just a few clicks
  • Compatible with Intel®-based Macs and PCs

I guess people are finally catching on that Linux is awesome and Windows sucks.

The State of the Web

Filed under: computers and technology, funny — Mark @ 3:57 pm

A funny illustration of the state of the web today: The State of the Web - Summer 2008

Damned makefiles.

“The makefile keeps recompiling itself…when it finishes, it just recompiles itself again.”

John Harry Nancy

July 3, 2008

Master Your Digital Media with VLC

Cross-platform media player VLC is often referred to as the “Swiss Army knife of media applications” for good reason: Not only does VLC play nearly any file you throw at it (you even voted it the best desktop media player), but it can do so much more. From ripping DVDs to converting files to iPod-friendly formats, let’s take a look at the four coolest things you can do with VLC and start you on your way to becoming a VLC ninja.

Read more: Vlc: Master Your Digital Media with VLC

Barack Obama: My Position On FISA

Filed under: computers and technology, news, political — Mark @ 11:17 pm

This was not an easy call for me. I know that the FISA bill that passed the House is far from perfect. I wouldn’t have drafted the legislation like this, and it does not resolve all of the concerns that we have about President Bush’s abuse of executive power. It grants retroactive immunity to telecommunications companies that may have violated the law by cooperating with the Bush administration’s program of warrantless wiretapping. This potentially weakens the deterrent effect of the law and removes an important tool for the American people to demand accountability for past abuses. That’s why I support striking Title II from the bill, and will work with Chris Dodd, Jeff Bingaman and others in an effort to remove this provision in the Senate.

But I also believe that the compromise bill is far better than the Protect America Act that I voted against last year. The exclusivity provision makes it clear to any president or telecommunications company that no law supersedes the authority of the FISA court. In a dangerous world, government must have the authority to collect the intelligence we need to protect the American people. But in a free society, that authority cannot be unlimited. As I’ve said many times, an independent monitor must watch the watchers to prevent abuses and to protect the civil liberties of the American people. This compromise law assures that the FISA court has that responsibility.

The Inspectors General report also provides a real mechanism for accountability and should not be discounted. It will allow a close look at past misconduct without hurdles that would exist in federal court because of classification issues.

Read more: Barack Obama: My Position On FISA - Politics on The Huffington Post

Judge Orders YouTube to Give All User Histories to Viacom

Filed under: computers and technology, news — Mark @ 8:45 am

Google will have to turn over every record of every video watched by YouTube users, including users’ names and IP addresses, to Viacom, which is suing Google for allowing clips of its copyright videos to appear on YouTube, a judge ruled Wednesday.

Viacom wants the data to prove that infringing material is more popular than user-created videos, which could be used to increase Google’s liability if it is found guilty of contributory infringement.

Viacom filed suit against Google in March 2007, seeking more than $1 billion in damages for allowing users to upload clips of Viacom’s copyright material. Google argues that the law provides a safe harbor for online services so long as they comply with copyright takedown requests.

Although Google argued that turning over the data would invade its users’ privacy, the judge’s ruling (.pdf) described that argument as “speculative” and ordered Google to turn over the logs on a set of four tera-byte hard drives.

Read more: Judge Orders YouTube to Give All User Histories to Viacom | Threat Level from Wired.com

Study claims Windows usage market share could fall below 90% soon

According to the research firm, the data is collected from a base of “approximately 160 million visitors per month.” The survey lists Apple’s Mac OS X operating system market share in June with a record 7.94%, which is a 0.11 point increase over the previous month. This figure makes OS X the best-selling UNIX variant ever with the largest overall share of the market. Linux currently stands at 0.80% market share in this survey, a slight improvement over the 0.68% recorded last month. Windows machines still dominate the market and came in at 90.89%, down from 91.13 percent in the month ago. Although the lead of Windows remains unquestioned, its share has been dropping slowly but steadily over the past two years.

Source: TG Daily - Study claims Windows usage market share could fall below 90% soon

July 2, 2008

Texas PC Repair Now Requires PI License

Filed under: computers and technology, interesting, news — Mark @ 8:02 am

From its Texas Rangers to its enthusiastic take on the death penalty, the Lone Star State has long been known for its aggressive stance on law enforcement. Thanks to a strange new law, it’s a sting that may soon be felt by a number of the state’s computer-repair people.

A recently passed law requires that Texas computer-repair technicians have a private-investigator license, according to a story posted by a Dallas-Fort Worth CW affiliate.

Read more: Texas PC Repair Now Requires PI License - News and Analysis by PC Magazine

June 21, 2008

Dems Agree to Expand Domestic Spying, Grant Telecoms Amnesty

Filed under: computers and technology, news, political — Mark @ 8:14 am

Breaking months of acrimonious deadlock, House and Senate leaders from both parties have agreed to a bill that gives the nation’s spy agencies the power to turn a wide swath of domestic communication companies into intelligence-gathering operations, and that puts an end to court challenges to telecoms such as AT&T that aided the government’s secret, five-year warrantless wiretapping program.

Civil liberties proponents quickly blasted the deal.

“The proposed FISA deal is not a compromise; it is a capitulation,” said Wisconsin Democratic Senator Russ Feingold, the only senator who voted against the Patriot Act in 2001. “The House and Senate should not be taking up this bill, which effectively guarantees immunity for telecom companies alleged to have participated in the President’s illegal program, and which fails to protect the privacy of law-abiding Americans at home.”

The deal marks a huge, though belated, victory for a lame-duck White House, which fought a pitched, hyperbolic battle to expand its legal wiretapping powers after being busted targeting Americans without warrants.

Read more: Dems Agree to Expand Domestic Spying, Grant Telecoms Amnesty | Threat Level from Wired.com

June 19, 2008

How a forgotten Intel invention could revolutionize the CPU

Filed under: computers and technology, interesting, news — Mark @ 8:06 am

One of the most important goals when designing a new chip is to keep the available processing units as busy as possible. One way to achieve this goal is to feed enough data into the cores as quickly as possible through improved inter-core communication. The progress from one processor generation to another is obvious: For example, while the 65 nm Kentsfield quad-core provided a bandwidth of about 8 to 9 GB/s, the 45 nm Harpertown chip offers 18-20 GB/s.

At last week’s Research@Intel Day event, we spotted a technology that holds the potential to multiply the available bandwidth within a processor. In our opinion, this technology is actually the most impressive research we saw on that day. The reason why you may not have heard about this technology is because Intel did not specifically promote it and did not even mention it on its “Demo Cheat-Sheets” given out to journalists and analysts.

A small research team inside Intel succeeded in reducing the size of DRAM cells to only two transistors and completely removing the capacitors. Conceivably, these two achievements could change the way how we will use DRAM in the future: For example, expensive and complex SRAM (static RAM) cells could be entirely removed from a CPU and replaced with DRAM.

Read more: TG Daily - How a forgotten Intel invention could revolutionize the CPU

June 16, 2008

Help break a download record, download Firefox 3!

Tomorrow, Firefox 3.0 will be released, and everyone is encouraged to download it to help break a download record for one day. So tomorrow, don’t forget to download the new Firefox!

GetFirefox.com

June 15, 2008

Scientists find bugs that eat waste and excrete petrol

Filed under: computers and technology, interesting, news, science — Mark @ 9:16 am

“Ten years ago I could never have imagined I’d be doing this,” says Greg Pal, 33, a former software executive, as he squints into the late afternoon Californian sun. “I mean, this is essentially agriculture, right? But the people I talk to – especially the ones coming out of business school – this is the one hot area everyone wants to get into.”

He means bugs. To be more precise: the genetic alteration of bugs – very, very small ones – so that when they feed on agricultural waste such as woodchips or wheat straw, they do something extraordinary. They excrete crude oil.

Unbelievably, this is not science fiction. Mr Pal holds up a small beaker of bug excretion that could, theoretically, be poured into the tank of the giant Lexus SUV next to us. Not that Mr Pal is willing to risk it just yet. He gives it a month before the first vehicle is filled up on what he calls “renewable petroleum”. After that, he grins, “it’s a brave new world”.

Mr Pal is a senior director of LS9, one of several companies in or near Silicon Valley that have spurned traditional high-tech activities such as software and networking and embarked instead on an extraordinary race to make $140-a-barrel oil (£70) from Saudi Arabia obsolete. “All of us here – everyone in this company and in this industry, are aware of the urgency,” Mr Pal says.

What is most remarkable about what they are doing is that instead of trying to reengineer the global economy – as is required, for example, for the use of hydrogen fuel – they are trying to make a product that is interchangeable with oil. The company claims that this “Oil 2.0” will not only be renewable but also carbon negative – meaning that the carbon it emits will be less than that sucked from the atmosphere by the raw materials from which it is made.

Read more: Scientists find bugs that eat waste and excrete petrol - Times Online

Does Google hate America?

Filed under: computers and technology, conservative crap, random — Mark @ 8:27 am

Even when Google commemorates Independence Day, Lopez has looked for hints of a clandestine liberal sensibility. Last year, she printed a comment from a reader who claimed that the American eagle on Google’s logo was clutching olive branches—but not arrows, the symbol of America’s military might: “I think they’ve gone with a remodeled ‘peace is patriotic’ bumper sticker. They just couldn’t bring themselves to do something ‘American’ without making some kind of signal about current policy.”

All this vitriol leaves Hwang mystified. All they’re trying to do, he says, is bring a little humor and quirkiness to their search engine. “This is just something that grew organically, a culture that developed over the years,” Hwang says. “It made Google feel like it wasn’t just a cold machine, not just an algorithm.” It’s not an issue of Google—like, say, American Airlines or America Online—trying to mask its national origin from foreign eyes. Still, almost from the beginning, the company caught hell for corrupting Americans with evil doodles. “We got e-mails complaining that we celebrated Earth Day,” Hwang laughs. “I was just surprised. We all live on this planet, and celebrating that just seemed like a harmless thing to do.”

Perhaps the most extreme condemnations come from the editors of the populist WorldNetDaily.com, who have all but accused Google of advancing the cause of godless communism. “Google consistently ignores patriotic American holidays such as Memorial Day and Veterans Day,” WorldNetDaily’s editors wrote last October, “but today it acknowledged an accomplishment of the communist Soviet Union, which launched the Sputnik satellite fifty years ago.” The news site, which has also complained that Google’s search rankings keep its stories in the basement, even ominously reported that the company misspelled its logo when commemorating Valentine’s Day last year. “Previous Valentine’s Day logos for Google, obtained by WND, have no such possible confusion for spelling,” the site noted. Could Google even have it in for love?

“If you’re going to choose to commemorate some really quite bizarre occasions, and never, never in their history, never once commemorating Memorial Day, which is a very significant holiday in the United States, I think that says something about who Google is,” says WorldNetDaily editor Joseph Farah. “By the way,” he adds, “I like Google’s product. I wish there were another company out there that didn’t make me sick to my stomach.”

Read more: Does Google hate America? - By Chris Thompson - Slate Magazine

June 12, 2008

Prompt for password witout echoing chars in bash

Filed under: geek, linux, unix, and open source, personal, programming — Mark @ 3:36 pm

echo -n “username: ”
read username
echo -n “Password: ”
stty -echo
read password
stty echo

source: Mind Download: prompt for password w/o echoing chars in bash

BASH: Check if a string contains only digits

Filed under: linux, unix, and open source, personal, programming — Tags: — Mark @ 3:35 pm

if [ -n "`echo \"$1\" | grep \"^[0-9]*$\”`” ] ; then

echo “It is a number”

else

echo “It is not a number”

fi

June 7, 2008

Overview of Firefox 3

Filed under: computers and technology, interesting, news — Mark @ 6:57 pm

overview-of-firefox3.swf (application/x-shockwave-flash Object)

June 3, 2008

Godless devil-worshiping evil computers

The following is a true story.

Last week I walked into a local “home style cookin’ restaurant/watering hole” to pick up a take out order. I spoke briefly to the waitress behind the counter, who told me my order would be done in a few minutes.

So, while I was busy gazing at the farm implements hanging on the walls, I was approached by two, uh, um… well, let’s call them “natives.” These guys might just be the original Texas rednecks–complete with ten-gallon hats, snakeskin boots and the pervasive odor of cheap beer and whiskey.

“Pardon us, ma’am. Mind of we ask you a question?”

Well, people keep telling me that Texans are real friendly, so I nodded.

“Are you a Satanist?”

Well, at least they didn’t ask me if I liked to party.

“Uh, no, I can’t say that I am.”

“Gee ma’am. Are you sure about that?” they asked.

I put on my biggest, brightest Dallas Cowboys cheerleader smile and said, “No, I’m positive. The closest I’ve ever come to Satanism is watching Geraldo.”

“Hmm. Interesting. See, we was just wondering why it is you have the lord of darkness on your chest there.”

I was this close to slapping one of them and causing a scene–then I stopped and noticed the T-shirt I happened to be wearing that day. Sure enough, it had a picture of a small, devilish looking creature that has for quite some time now been associated with a certain operating system. In this particular representation, the creature was wearing sneakers.

They continued: “See, ma’am, we don’t exactly appreciate it when people show off pictures of the devil. Especially when he’s lookin’ so friendly.”

These idiots sounded terrifyingly serious.

Me: “Oh, well, see, this isn’t really the devil, it’s just, well, it’s sort of a mascot.”

Native: “And what kind of football team has the devil as a mascot?”

Me: “Oh, it’s not a team. It’s an operating– uh, a kind of computer.”

I figured that an ATM machine was about as much technology as these guys could handle, and I knew that if I so much as uttered the word “unix” I would only make things worse.

Native: “Where does this satanical computer come from?”

Me: “California. And there’s nothing satanical about it really.”

Somewhere along the line here, the waitress has noticed my predicament–but these guys probably outweighed her by 600 pounds, so all she did was look at me sympathetically and run off into the kitchen.

Native: “Ma’am, I think you’re lying. And we’d appreciate it if you’d leave the premises now.”

Fortunately, the waitress returned that very instant with my order, and they agreed that it would be okay for me to actually pay for my food before I left. While I was at the cash register, they amused themselves by talking to each other.

Native #1: “Do you think the police know about these devil computers?”

Native #2: “If they come from California, then the FBI oughta know about ‘em.”

They escorted me to the door. I tried one last time: “You’re really blowing this all out of proportion. A lot of people use this `kind of computers.’ Universities, researchers, businesses. They’re actually very useful.”

Big, big, BIG mistake. I should have guessed at what came next.

Native: “Does the government use these devil computers?”

Me: “Yes.”

Another BIG boo-boo.

Native: “And does the government pay for ‘em? With our tax dollars?”

I decided that it was time to jump ship.

Me: “No. Nope. Not at all. You’re tax dollars never entered the picture at all. I promise. No sir, not a penny. Our good Christian congressmen would never let something like that happen. Nope. Never. Bye.”

Texas. What a country.

Source: Godless devil-worshiping evil computers [rec.humor.funny]

May 29, 2008

GNOME file manager gets tabbed file browsing

Although Nautilus—the GNOME file manager—includes many useful features and offers an excellent implementation of the spatial paradigm, its browser mode is less impressive and is missing some must-have functionality. The Nautilus developers are about to deliver a big improvement, however, with the addition of full support for tabbed browsing.

A tabbed user interface is among the most frequently requested features for Nautilus. The original request in the GNOME bug tracker was opened in 2001 and has 10 duplicates. Despite significant demand, the developers long resisted implementing the feature because it required significant changes to the file manager’s underlying architecture. Some GNOME users have switched to the lightweight PCMan file manager just for the tab support.

Read more: GNOME file manager gets tabbed file browsing

May 26, 2008

Managing Services in Ubuntu, Part II: Managing Runlevels

In my last post, sendmail was one of the services on my box that was starting when I enter runlevel 2. Maybe I don’t want sendmail to start, or rather, if it is already started, when I enter runlevel 2, I want to kill it. In other words, I don’t want it running for runlevel 2. How can I make this change?

Well, first, I could just delete the soft link from the runlevel directory /etc/rc2.d/:

aaron@kratos:~ 1355 % sudo rm /etc/rc2.d/S21sendmail
Password:

That would definitely keep it from starting when I enter runlevel 2, but what if I wanted to kill it if it was already started from a previous runlevel? Just deleting the soft link won’t do it. I need to turn it into a K-script. Further, deleting and creating soft links in my /etc/rc[0-6].d/ directories by hand is a bit of a pain. This is where the update-rc.d command comes in:

aaron@kratos:~ 1356 % sudo update-rc.d -f sendmail remove
Password:
Removing any system startup links for /etc/init.d/sendmail …
/etc/rc0.d/K19sendmail
/etc/rc1.d/K19sendmail
/etc/rc2.d/S21sendmail
/etc/rc3.d/S21sendmail
/etc/rc4.d/S21sendmail
/etc/rc5.d/S21sendmail
/etc/rc6.d/K19sendmail
aaron@kratos:~ 1357 % sudo update-rc.d sendmail stop 20 0 1 2 3 4 5 6 .
Adding system startup for /etc/init.d/sendmail …
/etc/rc0.d/K20sendmail -> ../init.d/sendmail
/etc/rc1.d/K20sendmail -> ../init.d/sendmail
/etc/rc2.d/K20sendmail -> ../init.d/sendmail
/etc/rc3.d/K20sendmail -> ../init.d/sendmail
/etc/rc4.d/K20sendmail -> ../init.d/sendmail
/etc/rc5.d/K20sendmail -> ../init.d/sendmail
/etc/rc6.d/K20sendmail -> ../init.d/sendmail

We’ll get into the syntax a bit later, but these commands, as observed, removed any existing soft links that previously existed, and created new K-scripts for all of my runlevels.

First off, why two separate commands? Well, by Debian policy, no package upgrade will ever overwrite a previous configuration. This includes updating soft links in the runlevel directories. This also ensures persistent changes and allows the system administrator to prevent daemons from launching. So, if soft links already exist, they first need to be removed, then new links created.

Source: Aaron Toponce : Managing Services in Ubuntu, Part II: Managing Runlevels

May 25, 2008

Proposed Treaty Turns Internet Into a Virtual Police State

Filed under: computers and technology, interesting, news — Mark @ 7:57 pm

Leaked documents are one of the banes of modern western politics. They reveal exercises and actions being proposed that are generally objectionable to the public. Such a leak occurred with the Anti-Counterfeiting Trade Agreement (ACTA) which seeks to turn the internet into a virtual police state.

Again, it’s one of the few bastions of anti-corruption, Wikileaks, that has spilled the beans on this unsavory topic. Yesterday the site revealed a document proposing a treaty that will significantly limit the privacy and rights of Internet users, to the benefit of multimillion dollar companies.

“ACTA” is basically an attempt to criminalize the Internet, thus allowing a virtual police state to occur by the selective prosecuting of crimes. In short, it’s an international treaty, or hopes to be, that will greatly increase already draconian copyright measures, in a poor attempt to appease the copyright and patent industries.

Read more: Proposed Treaty Turns Internet Into a Virtual Police State | TorrentFreak

May 22, 2008

Breaking: iPhone 3G Launch Date Confirmed

Filed under: computers and technology, geek, news — Mark @ 7:53 am

We all suspected it, but now it is confirmed: someone very, very close to the 3G iPhone launch has told me that Apple will announce their new model at the WWDC Keynote on June 9th. The second-generation iPhone will be available worldwide right after the launch, and not at year’s end, as previously thought. The new model will also herald new sales policies in some countries.

In Spain, for example, the 3G iPhone will be available for sale at the June 18th grand opening of Telefonica’s megastore—an Apple Store-like shop located in the company’s historical building in Madrid’s Gran Vía— with nationwide availability the next day or after a few hours. The other European countries with iPhone availability will have similar launch schedules.

According to another source involved in the launch, the 3G iPhone will no longer be available at a fixed price point—at least in some countries, and its launch will also bring new sales policies, although these have not been completely specified yet.

The move is a logical step, since the iPhone has clearly solidified its position as the cellphone to beat during the last 12 months, and companies in the cutthroat European cellphone market need to use it as an incentive to capture clients aggressively.

This most probably means the new 3G iPhone will be integrated in the usual marketing systems of carriers, with point-based trade-ups, discounts for carrier switchers and other service-based subvention packages.

Source: Breaking: iPhone 3G Launch Date Confirmed

May 19, 2008

Coders Tell Why They’re Avoiding Vista

Filed under: computers and technology, interesting, news, programming — Mark @ 11:39 pm

Windows developers are confirming the results of a survey released yesterday that found fewer than 1 in 12 programmers currently writing applications targeting Windows Vista.

“None of our customers are saying, ‘G******it, we need those WPF controls now!’” said Julian Bucknall, CTO for Windows programming tools maker Developer Express Inc. , referring to one of Vista’s most highly-touted features, its new graphical subsystem, Windows Presentation Foundation . Rather, “we find most are still sticking with ASP.Net and Windows Forms applications.”

True to Microsoft ’s form, ASP.Net and Windows Forms and most of Windows XP ’s other legacy technologies still work fine in Vista. (The converse is also true: many Vista features can be installed as add-ons to XP.)

But as in every upgrade cycle, Microsoft runs the risk that developers may bypass the latest technologies — in Vista’s case, WPF, the XPS printing format that Microsoft is touting as a rival to Adobe ’s Portable Document Format (PDF); Windows Sidebar ‘gadgets,’ and others — in favor of those further down the road, such as those expected in Vista’s successor, Windows ‘7′.

“Microsoft tends to dump ten new technologies on us, but only 2 or 3 really stick,” said Michael Krasowski, vice-president of PDSA Inc., a Microsoft-focused 20-developer firm in Tustin Calif., citing the Windows DNA Architecture as an example.

Microsoft Corp. undoubtedly wanted to avoid its current predicament. It has been publicly talking up features in Vista since 2003 — half a decade.

Read more: PC World - Business Center: Coders Tell Why They’re Avoiding Vista

Newer Posts »

Powered by WordPress