startlement

Saturday, February 7th, 2015 07:20 pm
darkoshi: (Default)
I keep being startled by unexpected beeps/chirps/whistles/whatnot in the house. We've got so many gadgets and devices that make noises nowadays, that it's hard to keep track of them all. Especially when it's a noise I haven't heard before, or when I didn't even realize the gadget made any noises.

Sometimes it's been a cordless phone, beeping that is is starting to charge (odd, as it was plugged in the whole time).

One time, the wireless doorbell chose to play a different tune than usual, when my mom came over. I was wandering around the house wondering "what the heck was that?" when she knocked on the door.

One late night at my computer, I heard a nearby whistled tune, as if someone was in our yard whistling nonchalantly. Creepy. Later I found out it was a notification sound on Qiao's new phone.

.

I upgraded my Notepad++ to the latest version today. I won't give it away, but it does something special after the install. You might want to check it out, if you use the program (unless of course, you already upgraded it a month ago when this version came out).
darkoshi: (Default)
Based on an articles such as these, I've gone ahead and disabled Java in my browsers:

As it turns out, I had a fairly old version of Java on my machine, due to having turned off updates a couple of years ago. So I updated to the Java version with the latest patches (1.7.0_11) and turned updates back on. As I had disabled Java in the browsers, I decided to have Java to check for updates on a weekly rather than daily basis.

The next day after I booting my computer, my ESET firewall notified me that Java Update Scheduler (jusched.exe) was attempting to access the internet. In order to track how often Java was checking for updates, I only gave it temporary permission and did not create a firewall rule for it yet. I also changed the Java settings to check monthly instead of weekly, to see if that would make a difference.

Yet jusched.exe still attempts to access the internet every day! I'm not even clear why jusched.exe is accessing the internet. From what I understand, it is only a scheduler, and jucheck.exe is the program which should check for updates.

In addition, the Java "Automatic Update Advanced Settings" dialog is quite odd. There isn't really a setting to control how often it checks for updates. There is only a setting to control how often you are *notified* of updates.



When you select "Weekly", it says, "Java will check every Sunday at 12:00AM and notify you within 7 days".

When you select "Monthly", it says "Java will check weekly on Sunday and notify you within 30 days".

Regardless if you select weekly or monthly, it claims that it will check weekly. Furthermore, what is the point of checking for updates but then waiting 7 or 30 days to notify you that updates are available? I would expect a program to notify me of available updates right after it has checked and found them. I want to control how often it checks for them, not how long it waits to tell me about them after it finds them.

I believe that this is why I turned off updates 2 years ago - it annoys me the settings dialog claims that it will check weekly when in fact it checks daily, and that I can't control how often it checks for updates.

This page explains how to set up your own task in Windows Task Scheduler to check for updates, rather than using the Java Update Scheduler. But each time this task runs, you'll get at least 1 popup window which you'll have to close, even when no updates are available.

I feel that one shouldn't have to go through that much trouble... I'm feeling rather disappointed by Java, which is a shame as it is currently my preferred programming language.

add-ons

Saturday, August 11th, 2012 01:18 am
darkoshi: (Default)
A nice thing about open source software and add-ons:

Realizing there's a feature missing which would be useful for you,
and then realizing that you could possibly implement that feature yourself,
and then realizing that someone else might have already implemented it,
and then finding that yes indeed, someone else has implemented and made it available,
and all you need to do is install it.

.

Launchy, an add-on for Thunderbird and Firefox, which provides configurable context submenu options for opening links in your choice of browser or other application.
darkoshi: (Default)
With the EAC settings I am using, the MP3 files aren't being saved at a constant 256 kbps after all, but rather with a variable bit rate (which is supposed to be better than a constant bit rate).

My EAC LAME parameters include "V 2 --vbr-new" which (supposedly?) averages around 190 kbps.
"V 5" averages around 130 kbps.
"V 9" averages around 65 kbps.

From what I can tell, files encoded as "V 5" are about 2/3 the size of "V 2" files.
Files encoded as "V 9" are about 1/3 the size of "V 2" files.

I compared a V9-encoded file to a V2-encoded file (using Foobar2000's ABX comparator), and *finally* noticed a tiny difference in sound quality. Some high notes were missing in the V9 version. I didn't notice it on my stereo system speakers; the difference only became apparent to me when I switched over to my laptop's built-in speakers (which filter out many of the low notes).

Foobar2000 also lets you re-encode MP3 files from a higher quality/bit-rate to a lower quality/bit-rate.
I think I will continue ripping my CD's at the higher quality, and then maybe make extra copies re-encoded to smaller sizes for use on my MP3 player. The re-encoding part goes much faster than the ripping.

CD to MP3

Friday, December 30th, 2011 10:59 pm
darkoshi: (Default)
For Christmas, Qiao got me an 8GB MP3 player with a microSDHC slot and a 16GB card. Now, I've embarked on the task of converting/ripping my collection of 300-odd CDs into MP3 files. My old MP3 player was only 2GB, so till now I never bothered ripping more than a few of my favorite CDs.

First I had to decide what quality and bit speed settings to use. Based on several tests*, using various speakers and volume levels and different songs, I can't tell any difference between the quality in tracks at 128 kbps vs 320 kbps. I decided to use 256 kbps.

I am using EAC (Exact Audio Copy) with the LAME MP3 encoder to do the rips. It has a fairly simple interface (once it's been configured, anyway) for retrieving the freedb song/album info and album artwork.

When I think about it, it would be nice to be able to play songs based on certain criteria. I'd like to be able to rate each music track, for example from 0 to 10. And then I'd like to be able to choose to only play songs with a rating of 10 (in a random order). Or to play songs with ratings in a certain range such as from 5 to 10. Or to play all songs from 1 to 10 randomly, but weighted so that the ones with higher ratings are more likely to be played than the ones with lower ratings. And I'd rate a song as zero if I never wanted the song to play unless I manually selected it. Unrated songs could get a default rating of 5.

I still have to finish reading the MP3 player's manual, but I doubt it has that kind of functionality. But maybe some computer-based audio players do? It would be nice if you could store your ratings in some standard format, so that they could be used no matter what player you were using.

* foobar2000 along with the ABX Comparator component lets you switch back and forth between 2 tracks in order to compare them. This video explains how to do it.
darkoshi: (Default)
I have a text editor program on my computer, and every time I opened the program, I was getting a UAC (User Account Control) warning popup, "Do you want to allow the following program from an unknown publisher to make changes to your computer?". Along with a warning noise and darkening of the screen. As I used the program often, getting that each time was quite annoying.

I read that changing the User Account Control settings to "Never Notify" would prevent the warning popup. But I only want to prevent the warning for this program, not *all* programs. So I didn't make that change.

I read that installing the program to somewhere other than the "Program Files" folder might avoid the issue. So I tried that, but it did not prevent the popup.

Another page suggested installing the offending program under the "Users" folder. So I tried that, but it did not prevent the popup.

This page explains how to set up a task in Task Scheduler, in order to run a program with highest privileges, to avoid the warning. This method *does* work to prevent the warning popup.

However, I have an entry in my Windows Explorer context menu (which I added via the registry), which allows me to right-click on files and open them with my text editor. This passes the selected file-name and path as a parameter to the text editor. When setting up my task in the Task Scheduler, I couldn't find any way to pass the parameter to my program.

I finally came up with the following workaround, to be able to open files from Windows Explorer using my text editor, without getting the warning popup.

In Brief:
The context menu command calls Batch File #1.
Batch File #1 saves the filename to a text file and invokes the Task.
The Task is set up to invoke Batch File #2 (with elevated privileges).
Batch File #2 reads the filename from the text file, and invokes the text editor along with the filename parameter.

Rather than writing/reading the filename to a text file, I first tried saving it in an environment variable. But I couldn't get that to work, so I used the text file instead.

The Details:

My Registry has an entry like this:
    HKCR\*\shell\OpenEditor\command
with this string value:
    C:\bat\startEditor.bat "%1"

The "startEditor.bat" batch file contains this:
    echo %1* > C:\bat\startEditor_file.txt
    C:\Windows\System32\schtasks.exe /run /tn "RunEditor"

In Task Scheduler, I have a task named "RunEditor" which performs the following command:
    C:\bat\startEditor2.bat

The "startEditor2.bat" batch file contains this:
    FOR /F "delims=*" %%I IN (C:\bat\startEditor_file.txt) DO SET file2open=%%I
    start "" C:\PROGRA~2\editorFolder\editorProgram.exe %file2open%


The first batch file writes out the filename followed by an asterisk, to the text file.
The "FOR" statement in the 2nd batch file reads the filename from the text file. The default delimiter is a space, which would be a problem if the filename contains spaces. So I overrode the delimiter to be an asterisk instead (which is why the first batch file writes out the asterisk).

Yay! for Microsoft protecting me so exceedingly well from unknown publishers, that I have to go through all this trouble to avoid those pesky warning messages. /sarcasm

(no subject)

Tuesday, September 6th, 2011 09:23 pm
darkoshi: (Default)
Know what I noticed/realized for the first time?

When Firefox installs an update, not only does it re-open all the browser windows you had open before the update, but it actually scrolls them to the same positions you had them at before. That's so beautifully user-friendly.
darkoshi: (Default)
The Excel auto-complete feature sometimes works, and sometimes doesn't. I've figured out some of the reasons why.

Auto-complete can be enabled or disabled in Excel's Options, under Advanced - Editing options. There is a checkbox for "Enable AutoComplete for cell values" which is selected by default.

With Auto-Complete enabled, when you type into a cell characters that match a previous entry in the same column, Excel will auto-complete the rest of the entry so that you can simply tab out without typing it all.

But sometimes, Auto-Complete doesn't work.

At first I thought it was related to there being any blank cells in the column above. If you fill each blank cell with a single period character, then sometimes Auto-complete starts working again, for lower cells. However, sometimes Auto-complete works fine, even when there are blank cells right above the cell you are typing! The explanation is that blank cells on their own don't interrupt Auto-Complete, but that a completely blank *row* does interrupt it.

In another situation, Auto-complete wasn't working, even when what I typed exactly matched the value in the cell right above it. This was due to my having set the column format to "Numeric". I had done that since the first 20 or so columns had numbers in them. Once I set the column formatting back to "General", then auto-complete started working again.

In another situation, Auto-complete stopped working, but after closing Excel and then reopening the spreadsheet, it worked again.
darkoshi: (Default)
Well. I noticed that I wasn't using the best security settings for Thunderbird, so I updated them and tested them out to make sure the email still worked.

Then I tried setting up Thunderbird to access my Yahoo email account via IMAP, and it worked! I don't know why I thought that it would only work with the paid version of Yahoo Mail. Apparently it's the POP3 access for which you're supposed to need Yahoo Mail Plus.

That means that I can set up Thunderbird on Forestfen's computer for her email, and maybe that will avoid some of the browser issues she's been having.

---

2011/08/13 Edited to add:
After setting up my Yahoo mail account in Thunderbird, receiving emails worked ok. But sending emails didn't - there were no error messages, but the emails did not arrive at their destination.

In the Outgoing Server (SMTP) settings, I had the User Name set to my Yahoo ID, without the "@yahoo.com" part. Then I changed it to include the @yahoo.com part, and sending emails started to work.

Possible security issue:
The Thunderbird Error Console (Tools - Error Console) shows these messages:
"smtp.mail.yahoo.com: server does not support RFC 5746, see CVE-2009-3555"
"imap.mail.yahoo.com: server does not support RFC 5746, see CVE-2009-3555"

I wasn't able to find much info on those errors. Apparently it is due to something on Yahoo's side not being set up correctly.
Considering this, it might be better security-wise to access one's Yahoo email via their website rather than via Thunderbird.

---

These are the Thunderbird settings that worked for me, to be able to access my free Yahoo email account via IMAP:

Account Settings:
Server Type: IMAP Mail Server
Server Name: imap.mail.yahoo.com
Port: 993 (default)
Connection Security: SSL/TLS
Authentication Method: Normal Password
User Name: yahoo_user_id (with or without @yahoo.com - it seems to work both ways)

Outgoing Server (SMTP) Settings:
Server name: smtp.mail.yahoo.com
Port: 465
Connection Security: SSL/TLS
Authentication Method: Normal Password
User Name: yahoo_user_id@yahoo.com (@yahoo.com seems to be required here, otherwise emails don't get sent right)

work and not work

Saturday, July 2nd, 2011 01:27 am
darkoshi: (Default)
Yesterday while working, I discovered that part of my DB2 database had been left in a quiesced state the prior day while testing the QUIESCE DATABASE command. I wasn't able to access any of my tables.
I was getting the error: SQL3015N An SQL error "-290" occurred during processing.
SQL -290 is "table space access not allowed".

I had a database backup, but didn't want to do a restore if I didn't have to.

When I tried the UNQUIESCE command, it told me that neither my database nor my instance were quiesced. Then I found out that there is also a QUIESCE TABLESPACE command. The "DB2 LIST TABLESPACES SHOW DETAIL" command showed me which tablespace was quiesced.

I think I tried the QUIESCE TABLESPACE command along with the RESET parameter, but got some error. Luckily, I found this page which explains how to remove a phantom quiesce. You have to first issue the QUIESCE TABLESPACE command for any table (apparently) in that tablespace, to gain control over the phantom quiesce. Then you can repeat the QUIESCE command with the RESET parameter to unquiesce it.

.

Today I tried to get an asp page (which worked on my old computer) to work on my new laptop. It's a relatively simple page which takes the posted XML request file, searches for certain elements in it, and based on which elements it finds, returns one of several hard-coded XML response files.

My laptop's IIS install hadn't included ASP, but it had included ASP.NET. So first I tried to convert my asp page to aspx. I was able to work through several errors, but then was confronted with some that I couldn't figure out.
Like these:
Could not find file 'c:\windows\system32\inetsrv\System.Web.HttpRequest'
and
Access to the path 'c:\windows\system32\inetsrv\System.Web.HttpResponse' is denied.
and
System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 1.
The line numbers listed along with these errors weren't any help. When I commented out the referenced lines, the same error kept occurring, but on some other totally unrelated line.

So I gave in and installed the IIS ASP component, and tried using the original asp version of my page again.

I was calling the asp page from a java application running on Tomcat. But then Tomcat kept getting out of memory errors, even with an increased heap size. I'm not sure if the memory problem is due to a problem with the asp page, or with the java app.

I used to have a utility which let you intercept messages, so that you could check if they were being passed correctly. Instead of sending the message to the normal URL, you'd set up another port number, and send it to that port. Then the utility would capture it and pass it on to the normal URL.
Update: I found the utility I used to use; it was "TCPMon".

.

The laptop still has the problem were it reboots itself without warning, while using VPN over wireless. I've updated the BIOS and the wireless drivers, and tried different versions of the VPN program, but the problem is still there. Several people with the new laptops are having the same problem, but so far, my company's tech support hasn't been able to fix it.

When not using wireless, the VPN can be frustrating too. Sometimes it will crash, and I won't be able to get it to work again until after rebooting. And today my laptop was frustrating me even more by repeatedly clocking with a dark screen when logging on to it, after I had rebooted.

My wireless keyboards must be built pretty well. I've banged them in frustration many times, but they haven't broken.


[2011/07/02 - updated with more details]
darkoshi: (Default)
It took me hours today to realize/figure out the following about why my JDBC connection to SQL Server wasn't working:

If you are trying to configure SQL Server 2008 R2 Express edition to use a specific port, don't make the mistake of thinking that the "Listen All" option in the SQL Server Configuration Manager means to "listen on all ports". It actually means to listen on all of the computer's TCP/IP addresses. If you set it to "No", then you have to specifically enable listening to one or more TCP/IP numbers on the "IP Addresses" tab, and use one of those IP numbers in your JDBC connection string.

When "Listen All" is set to "Yes", then you can specify a port number in the "IPALL" section. Your JDBC connection can contain your computer name instead of the IP number.

If "Listen All" is set to "No" and specific TCP/IP numbers are not enabled, you'll get a "Connection refused" error.

If the JDBC connection is only used between different applications on your computer (not to another computer), then you don't need to configure any Firewall rules for the SQL Server port number, even though the "Connection refused" message implies that you do.
darkoshi: (Default)
WinDirStat is a nice free utility that shows you via graphs which folders and subfolders are taking up the most space on your drives.

.

TeamViewer seems to be a good program, if you ever need to help someone with their computer remotely. It is free for non-commercial use. I only did a small test with it so far, but it worked. The other person only needs to download and run a small program; they don't need to install anything, or search for their IP number, or change any router settings. The program displays an access ID and password, which the other person can read to you over the phone, so that you can then connect to their computer and take control of it.

On your side, you can either install the full version, or you can run the portable version if you don't want to install anything. On Windows 7, the full version starts a process which accesses the internet after you boot your computer, even if you don't have the program set up as a service, and even if you have it set not to start with Windows. Regarding this, the manual says "Note: A TeamViewer service is always running under Windows 7 and Windows Vista. Do not stop this service manually! This service is used to optimize TeamViewer for Windows 7 and Windows Vista." This doesn't make sense to me... if I only need to use the program sporadically, not on a daily basis, and only for connecting to someone else's computer, why would I want a service running on my machine all the time? Why can't it do whatever it needs to do when I start the program, rather than when I start my computer? My first thought was to change the service from automatic to manual startup... although based on the note in the manual, that makes me wonder how it would affect the functionality of the program. Then I discovered that there was a portable version that doesn't even need to be installed and which doesn't start any services, so I think I'll just use that instead of the full version.
darkoshi: (Default)
My laptop computer is running Win7 Home Premium (64 bit).

On 02/22, the Windows Automatic Updates included 2 optional updates - updated drivers for "Microsoft Hardware USB Mouse" and "Microsoft Hardware USB Keyboard". I allowed them to install.

After installing those, each time I booted my computer, I got 2 popup messages from my antivirus program that "Device Driver Software Installation" (system32\newdev.exe) was trying to access the internet. The first several times this happened, I allowed the internet access. But I kept getting the messages. Then I started denying the access, but still kept getting them. I could have created a rule to permanently allow or deny the access, to avoid getting the messages, but I preferred to fix the root problem so that no unnecessary internet access would even be attempted.

The messages persisted even after having installed the Win7 Service Pack 1 update.

Today I determined that if I unplugged my wireless mouse and keyboard cable before rebooting, that prevented the messages. But when I plugged the cable back in, the messages popped up again. So then I knew they were definitely related to the keyboard/mouse drivers. Also, today I started getting new messages in addition to the others (regardless of whether I clicked to Deny or Allow the internet access)... "Driver installation complete. Downloading keyboard configuration software (Microsoft IntelliType Pro)" and another that the installation had completed successfully. However, I then still kept getting the "Device Driver Software Installation" messages.

I was able to correct the problem by rolling back to the previous drivers:

Control Panel - Device Manager - Human Interfacing Devices
- right-clicked** "Microsoft Hardware USB Keyboard", selected Properties, Driver...
The Driver date shown was 12/14/2010 and the version was 8.1.239.0.
Clicked "Roll back driver".
Then it showed Driver date 6/29/2010, version 8.0.219.0.

- did the same for "Microsoft Hardware USB Mouse";
it showed the same driver dates and version numbers.

Now I am no longer getting the messages.


(**) - is there any other term that can be used besides "right-click"? I have my mouse set up as a left-handed mouse, and my "right-click" is actually a left click.
I was thinking "alt-click" might be appropriate, but apparently that means to "left-click" while pressing the ALT button.
darkoshi: (Default)
Since 2006, I've had a DVD that I haven't been able to play. I had tried playing it in several DVD players and on a few computers with DVD drives, but it didn't work in any of them. The DVD was supposed to contain video of a trip my German aunt had been on. A friend in Germany sent it to us after my aunt died. I suspected that the disk had not been finalized, and that was why I was not able to play it back.

Forestfen and I got to watch the video while visiting the aforementioned friend in Germany. But it always disappointed me that I hadn't been able to get that DVD to play so we could watch it again.

Today I came across a note I had written long ago, when I was trying to figure out a way of recovering the DVD. At the time, I didn't have a DVD drive in my computer. But I had made a note to download IsoBuster on a computer which did have a DVD drive, and to see if IsoBuster could recover the video.

So, today I did that. And IsoBuster was able to recover the video!!!! Yeah!

edited to correct date

grrrrrrrr...

Friday, July 23rd, 2010 11:20 pm
darkoshi: (Default)
Rant rant bitch* groan whine rant

(I expect that no one really cares for the specifics.)
(*hmmm, I don't like the use of that word as an insult, but I'm not sure how I feel about it being used as a verb)
darkoshi: (Default)
Now I'm thinking I should read up on how to create equations in Excel - I've managed to hardly ever need them to use so far, except for a few times when someone else had already set up the spreadsheet - and move the financial info I'm looking up and calculating onto an Excel sheet. It would make the calculations easier and more accurate if they were automatic.

I already keep track of all the money I spend; I could start putting entries into a spreadsheet instead of only in my paper notebook. Then I could do neat things like categorizing each entry, and getting an automatic tally of how much I've spent on each category during the year. Oooh. Sweet. How have I managed to get by without doing that for so long?

Or maybe I'll use an open-source spreadsheet program instead of Excel. That's one of the reasons I've never much gotten into using Excel - because it's proprietary and expensive. I happen to have it on my current computer, but there may come a time when I no longer do. My text editor of choice has been Notepad for the same reason. At work I occasionally use UltraEdit because of its column-editing mode and macro functionality. But UltraEdit isn't free - I had to originally request a work order from my supervisor to get a license to download and use it. That was several years ago. Just yesterday I finally looked up the features of free text-editors, and decided to install Notepad++ on my laptop. I might try out CrimsonEditor too since Notepad++'s column-editing mode is non-intuitive for me, unlike what I got used to in UltraEdit.

(no subject)

Sunday, February 22nd, 2009 03:45 pm
darkoshi: (Default)
Bulk Rename Utility is a useful freeware tool for renaming multiple files at once. It has many options for how to rename the files - you can search and replace text, insert prefixes or suffixes, insert incremental numbers, and more. The GUI is somewhat intimidating at first, but it really is rather simple to use, and you can preview the new file names based on your selections to make sure you have them right, before doing the actual renaming.

GoldWave is a NON-freeware audio-editing utility. It has some neat features. The noise-removal option works well for removing hiss. The pop/click removal option does not seem to work very good - at least not when I tried using it to remove all popping noises from some tracks I had transferred from records. I purchased this program back in 2001 when I was doing some audio stuff, and did not think my license was good anymore, but according to their website, it may still be! I submitted a request with my old info, for a new license ID, and will see if I get it or not.
darkoshi: (Default)
I just downloaded all my LJ entries to my computer using LJArchive. It seems to have worked fine, and it was very fast. The GUI is nice, too, for looking at old entries and searching through them.
darkoshi: (Default)
South Carolina's laws regarding whether or not sales & use taxes are charged for software and software renewals seem to be wacky. Well-thought out, perhaps, but wacky nevertheless.

This document explains in detail the sales tax rules for software. It all comes down to whether or not a "tangible" item such as a disk or magnetic tape is used.

If the software is transferred via a tangible item, regardless of whether the seller ships the item to the buyer, or whether the seller brings the tangible item to the seller's site and loads it onto the buyer's computer and then takes the tangible item back with them, then the tax applies.

But if the software is downloaded directly over the internet, then the tax does not apply.
Apparently, diskettes, laptops, and magnetic tapes are tangible, but the cabling making up the internet isn't. Isn't that a wacky kind of logic?


5. If software is sold and delivered by a “load and leave” method whereby the seller personally brings the software to the buyer’s location on a laptop computer, connects the laptop with the buyer’s computer with a cable in order to download the software into computer, and then disconnects the computers and takes the laptop with him when he leaves, is the sales transaction subject to the tax?
Yes. The sale of software delivered by a tangible means, the laptop computer, constitutes the sale of tangible personal property subject to the tax.
..

7. Is “canned” software sold and delivered by electronic means via a modem and telephone line from a remote location subject to the sales and use tax?
Software sold and delivered by electronic means via a modem and telephone from a remote location is not subject to the sales and use tax, provided no part of the software, including back-up diskettes and tapes, is delivered by tangible means.



Furthermore, #24 in the document says that if you originally purchased the software on diskette, then if you purchase a renewal via download, the renewal is taxable. But if you originally purchased the software as a download, then the renewal download is *not* taxable.
*WACKITY WACK* ::sspptt::

I wonder what the rules are regarding downloaded music purchases. Going by the above, I'd infer downloaded music isn't subject to tax either.

June 2025

S M T W T F S
1234567
8910 1112 1314
15161718192021
222324 25 262728
2930     

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Saturday, June 28th, 2025 04:56 am
Powered by Dreamwidth Studios