Categotry Archives: Skill Level: Easy

1

Comcast live chat fails Turing Test

by

A Turing Test is used to distinguish whether or not I am you are talking to a machine or a human. If the responses would be generally considered that of what a real life person would give, then it is said, to have passed the Turing Test.

One of the first machine based artificial intelligence programmes was Eliza. It was primitive by today’s standards, but none-the-less was the first machine based AI programme I encountered in college.

This recent chat with Comcast would seem to indicate a Turing Test failure. To wit:

analyst Arthur has entered room

Arthur: Hello Wayno, Thank you for contacting Comcast Live Chat Support. My name is Arthur. Please give me one moment to review your information.

Wayno: My Issue: Life Line service

Arthur: I am here to provide you with excellent customer service today. Please be assured I will do my best to help you with your concern.

Arthur: Can you please elaborate your issue?

Wayno: hi arthur. I have a question about life line services.

Wayno: qualifications, cost mostly.

Arthur: I understand your concern is about life line services, am I correct?

Wayno: correct

Arthur: May I have 2 minutes to check on that?

Wayno: absolutely

Arthur: Thank you.

Arthur: Thank you for waiting, Wayno.

Arthur: XFINITY Voice service is compatible with personal emergency alert response systems provided by Philips Lifeline and Linear LLC. XFINITY Voice service doesn’t guarantee compatibility with other systems. To check compatibility, contact the agency that provided you with the personal emergency alert response system.

Wayno: no that does not answer my question. what are the qualifications and cost of life line service?

Arthur: Contact your alarm company before your XFINTITY Voice installation. Provide the date and time of your installation so the alarm company can check the status of your alarm on installation day. If your alarm system needs to be reactivated after XFINITY Voice is installed, you will not be compensated for the cost of reactivation.

Wayno: okay I am not talking to a human being.

Arthur: I am a live agent, Wayno.

Arthur: I just gave you the information about Life Line service. It is for free.

Arthur: You just need to have a Comcast phone service.

Wayno: how does contacting my alarm company have any thing to remotely do with lifeline?

Arthur: I can see here that you don’t have Comcast phone service.

Wayno: okay you failed the Turing Test.

=========

Actually I was able to find the information on-line for lifeline phone eligibility.

Wayno

0

How to change the language on an HP PSC Printer

by

Oh brother! (No! NOT the printer)

Talk about obscure information.

It’s easy. Once you know how. On the printer do the following:

1. Hit the setup key.

2. Enter “5″ for maintenance.

3. Enter “5″ again to set “Country/Language/Region”

4. Enter “11″ for English.

5. Enter “1″ for yes.

6. Enter “10″ for USA

7. Enter “1″ for yes.

Done!

Who knew?

Wayno

0

Getting gtalk to work in Pidgin

by

Sometime ago, gtalk quit working in Pidgin.

This assumes you have Pidgin and the facebook chat module installed:


sudo apt-get install pidgin

If you add an account. It just never connects. At least not for me. This was the work around I found.

This is an OLD SCHOOL fix. This was straightforward for me, but it may not be for you

Here’s the word explanation:

1. Hit the advanced tab.

2. Change the port to 443.

3. Change the connect server to talk.google.com

4. Hit save.

And what it should look like when you are done!

Old School Gtalk Configuration for Pidgin

0

How to: Easily block access to a website in Windows

by

There is an old Linux trick, that works superbly in Windows as well.

1. It is necessary to run notepad or your Windows editor of choice as the Administrator. Right click on notepad in the start menu, and choose: Run as Administrator.

Once you do that, navigate to the Windows host file. Don’t know where that is? I will tell you!


c:\windows\system32\drivers\etc\hosts

2, Once you have that open, click on file, and then save as hosts.org. That makes a copy of the intact original file.

Your file needs to look like:


# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

# define local host GU 09/26/2012

127.0.0.1 localhost
::1 localhost

# add sites to be blocked GU 09/26/2012

127.0.0.1 facebook.com
127.0.0.1 twitter.com
127.0.0.1 youtube.com
127.0.0.1 pandora.com

Notice the the definition for 127.0.0.1 (localhost) was UNCOMMENTED. Very important. Also ::1.

Now you just tell it what sites you want to block, (as seen here, facebook, twitter, youtube, pandora) — whatever you want blocked.

3. Now hit file, and SAVE AS as hosts. Overwrite the file. I rebooted Windows and guess what? No more access to those sites!

4. To check:


ping youtube.com

PING youtube.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.027 ms

You can do the same thing in Linux, by editing /etc/hosts.

Wayno

0

How to easily remove comments from a file (or why does squid.conf look like War and Peace?)

by

Oh brother. I am trying to configure the squid proxy server on my Linux box. At over 4,900 lines of code, it reads more like Tolstoy’s epic novel: War and Peace.

While I appreciate that every blessed thing I would ever need to know about squid is contained in this configuration file, it makes it hard to read the code through the comments. I had some fancy way of doing it, but Joe came up with a simpler method:


grep -v '^#' squid.conf

and I improved on that:


grep -v '^#' squid.conf | uniq | sort >squid.nocomment

so let’s break that down.

grep looks for a regular expression.

the -v option tells it to look for lines which DO NOT match to pattern. In this case we are looking for lines that do NOT match a comment: # in the first character of the line. So we just took the “War and Peace” sized squid.conf, to a handful of lines.

uniq – filters out adjacent lines, so if we have multiple blank lines, it eliminates them.

and sort? Well it sorts the output, and writes the file.

Notice the | ? It is piping. What’s that? It means the input to the next programme (following the pipe) is the output of the previous programme.

So what the command does is, looks for lines that do NOT start with a comment, eliminates any adjacent duplicate lines, then sorts the output.

So our 4,900 configuration file, is now, 50 lines! About 2% of the total. Who knew? Thanks Joe for getting me started with the grep trick. Here is the squid.conf file, with the comment lines removed:

access_log /var/log/squid/access.log squid
acl all src all
acl apache rep_header Server ^Apache
acl CONNECT method CONNECT
acl localhost src 127.0.0.1/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl manager proto cache_object
acl purge method PURGE
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 210 # wais
acl Safe_ports port 21 # ftp
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 443 # https
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 631 # cups
acl Safe_ports port 70 # gopher
acl Safe_ports port 777 # multiling http
acl Safe_ports port 80 # http
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
broken_vary_encoding allow apache
coredump_dir /var/spool/squid
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hierarchy_stoplist cgi-bin ?
hosts_file /etc/hosts
http_access allow localhost
http_access allow manager localhost
http_access allow purge localhost
http_access deny all
http_access deny CONNECT !SSL_ports
http_access deny manager
http_access deny purge
http_access deny !Safe_ports
http_port 3128
icp_access allow localnet
icp_access deny all
refresh_pattern . 0 20% 4320
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
upgrade_http0.9 deny shoutcast

Wayno

0

How to fix audio cd in Linux (unable to open mrl)

by

When I tried to play an audio cd I recently got from the library in vlc, I got the error:

VLC is unable to open the MRL

And it told me to see the logs. So I tried dmesg, and niente. Nothing. Yeah that helps!

So I went into vlc tools/preferences/Audio and changed the output module to pulse audio output. So it looks like:

VLC Audio Output Options

Who knew?

Wayno

0

what is the userid and password needed to install Linux Mint?

by

Talk about a show stopper. This is a dandy one.

I downloaded the latest Linux Mint 32 Bit (cinnamon)

Burned the DVD image, and rebooted my computer, so I could test the DVD before I mailed it off to a friend. Everything went swell, but then it asked me for a username. Huh? What Linux distribution requires a username to do a fresh install? Well Linux Mint does. What the (multiple expletives deleted. And more multiple expletives deleted!) So, I had to boot back into Linux, schlepp around, to find out the

username for a Linux Mint install is: mint

 

The password? Just return through it. Who knew?

This certainly did NOT make any point with me today. Hope this helps someone else.

This pretty much expresses how I feel:

Fanta Sea

0

Changing Background in Xfce

by

Hey. I just figured out how to do this, and it’s a bit more complicated than it needs to be, so I thought I’d make a write-up for it.

 

Download your background.

The first step (if you haven’t done this already) is to download your background. This article assumes that /home/<username>/Downloads/ is your download directory.

 

Copy Background to the Xfce backgrounds directory.

The next step is to copy your background to the directory in which Xfce backgrounds are stored. This can be done with two commands. :)

    Change Directories (CD) to your download directory.

cd /home/Downloads

 

    Copy your wallpaper to the backgrounds directory.

sudo cp your_background_here /usr/share/xfce4/backdrops/

 

     Select your Wallpaper.

 

Finally, click Applications Menu>Settings>Preferences>Settings Manager>Desktop>Background Tab

Then, simply click your image.

 

And viola! That’s all there is to it.

Enjoy,

Jack :)

1 2 3 4 5 6 10 11