This is so cute!

I almost feel like crying also when I watch her reaction. Kids are so amazing!

I think a lot of people feel this way about our amazing President!

114 hours 🎶 ♪

I have a music playlist that is 1030 hours’ worth of music. If it takes me 20 seconds to review a 3 minute track, that means I could review all the tracks in only 114 hours.

Of course 20 seconds for 3 minutes is just an estimate. I actually can cut the time down considerably. Sometimes I just give songs a minimal “pass” rating if they’re not really bad and then at some later time I could review them again and give them a higher rating.

To do that I could have certain times when I reevaluate all the low-rated tracks.

Also some tracks are really long and the percentage of time necessary to rate them is less than for a 3 minute track.

I’m noticing some other issues too:
1) I am thinking now about different types of playlists. 1030 hours’ worth of music includes a pretty wide spread of sub-genres. Instead of just giving a star rating to each track it would be nice to somehow flag them as possible or strong candidates for certain sub-genre playlists. Right now I’m just taking notes in a text file.
2) There are some tracks when I scan continuous mixes which I like even though I don’t like other songs in the mix. Again, how to I flag this? Right now can only do it in a text file and am also trying to use certain star rating levels (for example 2.5 stars) to indicate that some tracks are good.

My goal next is to learn how to actually start mixing tracks. A huge part of this is collating and reviewing everything. Another part will be figuring out how to mix and edit it.

A third thing is that I also am teaching myself how to play some things. Even though my focus is on early classical music I’m really drawn to funk bass and finding it a fun challenge to play funk bass riffs on my synthesizer. I realize that almost every really outstanding track that makes you really feel exhilirated has intense stuff going on in the bass. I would like to teach myself to become a bass track expert, to be able to design and create amazing bass tracks.

So I decided that I’m amending my Music Path to include early classical music and funk bass. I’ve already found that they are complementary. For example a couple days ago I was learning this amazing bass riff and then afterwards started practicing a Telemann harpsichord piece. They actually fit very well. Good classical music is also really big on intense bass lines 🙂

Years ago I was on the dance floor at this music event. I think it was early morning at an after-party after having been up all night. Listening to the music I suddenly imagined this piece by Bach in rhythm with the music being played. The piece is very airy and ethereal. I realize that it is the bass of pieces like this which to a large extent creates that energy. It sets the ground energy off which everything else is based. Maybe that’s why it’s called “bass” 🙂

Firefox 57

Firefox 57 has been officially released. If you followed the instructions in my previous post about getting ready for Firefox 57 you might not even notice much of a change at all except for a few things.

Multi-row tab bar is possible!
There is a way to introduce a multi-row tab bar into Firefox 57: See this post on Reddit’s FirefoxCSS forum. The code needs to go into the userChrome.css file which you can easily create.

Open all tabs after the current tab
There is also a useful addon called Open Tabs Next to Current which does exactly what it says.

Annoying spaces to the left and right of the URL bar (in the navigation bar)
Firefox added large spaces to the left and the right of the URL bar which is the address field inside the navigation bar. These can easily be removed via customize and then dragging the spacers away from the navigation bar.

Live Bookmark (RSS feed) icons in the Bookmarks Bar

Firefox also has introduced icons next to Live Bookmarks in the Bookmarks Bar. This used to be the case with the Linux version but now also is the case with the Windows version as well. They can be removed by placing this code inside your userChrome.css:

Make the RSS (Live Bookmark) feed font larger
Is the font for Live Bookmark feeds too small? You can increase it:

Get Speed Dial [FVD]!
Speed Dial [FVD] is great. It’s the best speed dial addon I’ve seen and best of all there is a version for Chrome/Vivaldi as well. After creating all your dials and dial groups you can conveniently export them to a backup file and then import the backup file in another browser to recreate all your dials.

There are a number of competing speed dial addons many of which try to upsell you stuff. Speed Dial [FVD] only offers a non-free optional cloud backup solution but otherwise is pretty cool. I find the default settings a little bit gaudy so I remove the background image and disable the panning feature, among other things. But it’s great that you can customize it so much including colors for the background, titles, and URLs.

Feature wishes
One thing that I will be hoping/watching out for in Firefox is tab stacking similar to Vivaldi.

Final thoughts
With the release of Firefox 57 Firefox now is clearly the best browser. This comes after what was a rather long, painful period for many users of significantly reduced performance. I hope Firefox will continue to remain at the top and also that they will consider developing an Open Source desktop operating system replacement for Microsoft Windows.

Python script to recursively change directory permissions

This is similar to using the Unix find command to recursively set directory permissions. Often you want to do this to make sure that permissions on all directories under a given path are set to a specific value.

find /var/www/html -type d -exec chmod 750 {} \;

Today I decided I wanted to do it in Python. I created the following interactive script which takes two arguments: the path and the permission mode. For example it can be run like:

chmoddirs /var/www/html 750

If the user enters invalid data it will print a message and quit. If the data is valid then it asks for a confirmation before executing.

White people of Silicon Valley you have a responsibility

White people of Silicon Valley, you have a responsibility to society, to your people, to your ancestors, and to your progeny. Stop empowering people who are your enemies by giving them your money.

You live in the midst of an evil culture which betrays your people. While you may feel proud of your career success in life and be happy to make money, you should feel ashamed that by living and working in Silicon Valley you are betraying your people. You are empowering enemies who are actively working to replace your people and undermine everything that you and your ancestors have striven for.

You should follow the voice of this woman. Listen to her. She is like the voice of Earth itself: Angry and pissed because this betrayal is also a betrayal of life itself. It is a betrayal of evolution and a betrayal of the manifestation of highest divine love on Planet Earth.

Listen to her angry voice and follow her advice: Keep your money out of the hands of our enemies.

Replace Mexicans/Chinese/Indians for Muslims in the video and that is the situation you have. Imagine if all white people in Silicon Valley protested by staging a mass sick-out in Silicon Valley, what a message that would send.

I feel sad for everyone who let their time be stolen

It has now been four days since the enforced time disruption/theft which I and the people of the State of Arizona do not accept. And it has been a really wonderful, magical time.

All my clocks remained the same. I cannot tell you what a feeling of security, relief, and well-being it brings to not have disruption of your time forced upon you. It feels great.

It’s also so convenient. I did not have to worry about changing any watches, clocks, timers, etc. I only had to change the time zone on my mobile devices and my computers.

At first it seemed like it might be an issue having to readjust the times that others use to my time, but it’s turning out to be a very minor thing. Someone sets an appointment for 2 p.m. on their time, I know it’s for 3 p.m. on my time. It’s almost become innate now for me to do the translations.

There’s a spiritual side to this too. This time of year when the light changes and the seasons change is a magical, special time. The forced time disruption destroys this magic, but I have kept it. I feel like I’m in a special time realm and I feel sad for everyone who accepted the disruption. I have no question from the deepest level of my intuition that my time is the right time for Earth, for being a human under the sky.

So I have a message to you: If you made the terrible error to allow the disruption of your time to be forced upon you, you have already lost something magical and beautiful. But it’s not too late to repent, to ask forgiveness from the Mother Earth, Father sky, and the magical energy of the Cosmos and to take your time back.

Go to a sacred spot – create a sacred space somewhere outdoors and close to nature – and ask for forgiveness and tell Earth and Sky that you love them and that you will honor true time, which is your time, and that you will never let anyone take it from you.

Change the time zone on your computers and mobile devices down one hour and stay healthy

Change the time zone on your computers and mobile devices to undo the automatic end of Daylight Savings Time which just occurred last night.

Go into the date and time settings on your device and look to see what your time zone is set to. Notice the number in the setting name. For example it might say -8 or -5. Select the next-lowest time zone (for example -7 or -4). So if you are in California -8 you can select Arizona -7. If you are in Eastern Time -5 you can select Atlantic Time -4.

Now your clock will be fixed. Just remember that every time set by other people will be an hour later than what they say. So if you have an appointment or meeting set for 2 p.m., it will actually be at 3 p.m. If you are supposed to start work at 9 a.m. you will actually have to start work at 10 a.m. If you get off work at 6 p.m. you will actually get off work at 7 p.m. If you are going to a concert scheduled for 8 p.m. it will actually be at 9 p.m.

Because of that you might want to ask your employer to allow you to adjust your schedule to start work one hour earlier in order to keep your clock correct.

If your employer is unwilling to accommodate you, consider switching jobs to a company which doesn’t force you to work until the evening hours and disrupt your natural, healthy rhythms.

Here’s a little mantra of affirmation that you can say:

I refuse to let societal stupidity fuck up my natural, healthy daily cyclic rhythms which I am adjusted to. I will keep my clock set to the same time that I always use because that is my basic right as a human being. I will adapt to the next several months by compensating for the hour difference in clock settings caused by mass stupidity. When people say the time is 3 p.m. I will know it is actually 4 p.m. and will not let their skewed times affect my life adversely.

I was sexually harassed and subject to humiliating and degrading treatment

In the city I live in, by employees of the city. I then reported the harassment to a non-profit agency which claims to represent transgender people and they claimed they would get back to me. I waited and waited and they never got back to me and subsequent attempts to communicate with them were ignored.

I reported the harassment to an supposed oversight agency and was subject to even more harassment. After I filed the report they never got back to me. When I followed up with them later they denied that anything wrong had happened (surprise).

I tried to find a civil rights attorney to handle the case and was forced to repeat the humiliating, degrading story of my abuse multiple and each time was denied assistance.

The idea that people can be held accountable for violation and abuse is an illusion. It’s something that people may think from watching tv but it is not how the world works.

The idea that there are organizations which will help you and stand up for you if you’ve been victimized is also an illusion.

Messing with PHP and SQLite

Started working on a project in PHP. PHP was one of the first CS courses I took and at the time I was still learning how to learn languages so my notes weren’t good. Actually the project I was working on was a system to dynamically display my notes online from a source directory and using syntax highlighting.

This project is giving me an opportunity to create the PHP notes I need and also to refresh myself with the language. It’s such a cool language especially now at v.7.

So I kind of got sidetracked on my project and ended up spending a whole day figuring out how to use PHP with SQLite3. Here is some code. This page creates a sample SQLite3 database and then does a basic query.

For this to run you need both sqlite3 and the php-sqlite3 extension installed.

I deliberately left in some commented-out lines after I implemented other/better ways to accomplish the same thing.

You can see the script in action here.

Credit to the excellent official PHP documentation for SQLite3 and the many informative comments.

Also major credit to the extremely great book Learning PHP, MySQL, & JavaScript by Robin Nixon.

Special thanks to the totally kickass WordPress plugin Crayon Syntax Highlighter!

Page 2 of 10812345...102030...Last »