Misc Postings - Page 1
|Earliest: July 28, 2003||Latest: October 3, 2021||Total: 119|
Unix Find Tips
Quick UNIX tip that I recently learned:
If your a UNIX power user, chances are you done search using the find command. The search may look like this:find / -name python - print
The problem is that you may run into a lot of noise. In particular, you search may end up with a lot of these types of entries:
find: /usr/sbin/authserver: Permission denied find: /Library/Application Support/Apple/ParentalControls/Users: Permission denied find: /Library/Application Support/Apple/AssetCache/Data: Permission denied find: /Library/Application Support/ApplePushService: Permission denied find: /Library/Application Support/com.apple.TCC: Operation not permitted find: /Library/OSAnalytics/Preferences/Library: Permission denied find: /Library/Caches/com.apple.iconservices.store: Permission denied find: /Library/Caches/com.apple.aned: Operation not permitted find: /System/Library/DirectoryServices/DefaultLocalDB/Default: Permission denied find: /System/Library/Templates/Data/private/var/audit: Permission denied find: /System/Library/Templates/Data/private/var/root: Permission denied find: /System/Library/Templates/Data/private/var/lib/postfix: Permission denied find: /System/Library/Templates/Data/private/var/db/appinstalld: Permission denied find: /System/Library/Templates/Data/private/var/db/diskimagesiod: Permission denied find: /System/Library/Templates/Data/private/var/db/locationd: Permission denied find: /System/Library/Templates/Data/private/var/db/analyticsd: Permission denied find: /System/Library/Templates/Data/private/var/db/rmd: Permission denied find: /System/Library/Templates/Data/private/var/db/knowledgegraphd: Permission denied find: /System/Library/Templates/Data/private/var/db/nsurlsessiond: Permission denied find: /System/Library/Templates/Data/private/var/db/fpsd: Permission denied
The problem is that you may lose matches in all the permission issues.
## Easy fix
There's actually an easy fix. Simply redirect the error messages. Here's all you need:find / -name boston -print 2>/dev/null
Now when you search for something you only see the matches:
$> find / -name python -print 2>/dev/null /usr/bin/python /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Aliases/python /usr/local/Cellar/ffmpeg/4.3.1_9/share/ffmpeg/python /usr/local/Cellarfirstname.lastname@example.org/3.8.7/libexec/bin/python /usr/local/Cellaremail@example.com/3.9.1_6/libexec/bin/python /usr/share/file/magic/python /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Right now in Massachusetts, several ponds are closed to swimming. This is due to the Cyanobacteria bloom. This prevented people from swimming at an event that I was at today.
I thought it would be good to learn more about Cyanobacteria bloom.
Six Things I Learned
- Algae and cyanobacteria can rapidly grow out of control, or ?bloom,? when water is warm, slow-moving, and full of nutrients.
- People and animals can get sick by having contact with water that has Cyanobacterial bloom. You can also get sick by eating fish caught in infested waters.
- Symptoms of exposure can include stomach pain, vomiting, or diarrhea, headache, and skin, eye, nose, or throat irritation.
- Animals are usually the first to get impacted by Cyanobacterial Bloom. If a dog gets sick shortly after going into a pond it could be cyanobacterial bloom. Contact a vet immediately as they can die swallowing toxins.
- Chlorophyll (phytoplankton, and cyanobacteria). When Chl levels reach 40 µg/L it can become a bloom.
- Once detected the Cyanobacterial bloom can last several weeks. This depends on the amount of sunlight and water temperature.
In 1999, I was at the Moscone Center attending the MacWorld Conference. This conference had a lot of attention around the newly announced Power Macintosh G3 (Blue and White).
They had displays of the computer all over the exhibit floor so that people could see the new design and styles.
I took a picture of one of the computers in the Apple Booth:
Strange Stare Effect
If you look carefully in the picture - there's a guy on the right looking at the computer.
When you look/stare at the computer the guy appears to be staring at you!
Look at the guy, and you can see that he is clearly looking at the computer. Now look at the computer and in your puerperal vision you'll see the guy looking at you.
I tried touching up the photo so the guy is a bit easier to see, but the effect goes away.
Happy Birthday Song Drying Hands
Washing your hands after cleaning them is important, but for how long under a hand dryer?
The Center for Disease Control suggest the best way is to sing the "Happy Birthday Song" twice while drying your hands under the dryer.
So the next time your drying your hands, Remember to sing Happy Birthday twice.
Lyrics to the Song
Happy Birthday to You,
Happy Birthday to You,
Happy Birthday to DRYER,
Happy Birthday to You.
Oh in case you haven't heard it's legal now to sing the song. In 2016 the United States Court in the Central District of California ruled that the song is now in the public domain.
Notion is quietly gaining popularity as an alternative solution to a personal productive tool.
One of the cool things about Notion is the ability to have icons with your pages. Here are some recent icons that I created that better help identify the page content in the navigation panel.
These are all in the 280 x 280 is the recommended size.
Streaming Hallmark Channel
If you just switched to Hulu, one of the channels that you'll notice that is not available is the Hallmark Channel. Normally this isn't a big deal, but at Christmas people like to watch their holiday shows.
Unfortunately you can't watch Hallmark unless you have a subscription via a cable network.
We wanted something cheap since Hulu meets all of our TV viewing needs. We also didn't want a long-term commitment since we'll likely unsubscribe after the new year.
What about the Hallmark Now Service?
The Hallmark Movies Now subscription service, which is available for $5.99 a month or $59.99 annually, is not a good option for us. They don't show this Christmas seasons movies.
If you want on demand from last year it would be fine - but chances are people you know will be talking about this season shows.
These are the cost that you would need to get the full Hallmark Experience. (On Playstation Vue you can just get the basic Hallmark Channel for $44.99/month.)
|Philo||43 Channels||$16/mo||7-day free trial|
|fuboTV||85+ Channels||$39.99/Month||7-day free trial|
|Sling||43 Channels||$30/Month||7-day free trial|
|Playstation Vue||85 Channels||$59.99||7-day free trial|
|DirectTV Now||65+ LIVE Channels||$40/MONTH||7-day free trial|
After exploring all the options we went with Philo. For $16 a month you get 43 channels including Hallmark Channel, Hallmark Drama and Hallmark Movies & Mysteries.
There is a lot of overlap of channels with Hulu, but this was the cheapest option to watch Hallmark via OnDemand.
Maybe in 2019 there will be more options to watch Hallmark Channel - including YouTube TV.
I was cleaning up the attic this weekend and found the Netscape DEVCON guidebook.
DEVCON 97 was the annual technology conference for Netscape Developers. The conference was held in San Jose California on June 11th to the 13th. The Conference Guide had the quadrant numbers as 37° 22.10' N and 121° 53.44' W which is the San Jose McEnery Convention Center.
The conference highlighted many new technologies to be coming soon to the Netscape platform. You can purchase conference keynotes from VWTapes for $30 each.
Digital Equipment Partner
One of the major partners to Devcon 1997 was Digital Equipment Corporation. This would be significant because it would be the last technical conference before Digital was sold to Compaq.
This is the description that Digital Equipment put in the program:
DIGITAL's leadership in delivering Internet Business Solutions on both Intel and Alpha platforms, with industry-leading scalability, enables our customers to develop, deploy and grow their Internet applications with the headroom to accommodate future needs. Digital Equipment Corporation will demonstrate innovative Internet technologies that showcase its leadership in delivering high-performance Internet Business Solutions. DIGITAL has a long history of Internet innovation and unparalleled expertise in enterprise systems, networking, and service. Past DIGITAL DevCon demonstrations include our breakthrough Millicent "pay-per-click" electronic micro-commerce system, the award-winning AltaVista Search with Live Topics, IPV6 and JAVA support, and top-performing StrongARM reference platform for the Internet network computers.
Summer Safety Tips For Parents With Teens
The summertime is filled with so many fun activities, and families can easily become extremely busy. Between soccer games, family gatherings, to outdoor concerts and amusement park visits, summertime is when we can step back and relax. It's a time to enjoy life and spend time outdoors with our families and friends. However, for parents, it can be a time that can easily become stressful when you have children or teens in your home.
Consider taking the necessary steps to ensure you can enjoy the rest of your summer with ease, and make it a safe time spent with family and friends. As a parent, there are always things you can do to ensure safety is instilled within your homes environment.
Summer is one of the most desirable seasons simply because the weather allows for so many outdoor activities. During the cooler fall and winter months, sporting activities and events are often limited because of the seasonally cooler air which can make those who spend time outdoors become sick. Parents can expect their teens to want to participate in outdoor activities and sports. As expected, there are several things you can do to ensure they are able to participate in these activities, but they also keep themselves safeguarded at the same time.
If your teenager is participating in contact sports like football or baseball, make sure they are wearing protective gear at all times. It might seem like a silly reminder, but sometimes teenagers can have the rebellious mindset where rules do not apply to them. They can sometimes have the mindset that their bodies are invincible, and it's not "cool" to wear protective gear like helmets and padding.
Since your teen will probably participate in these types of activities outside of your home, ensure a coach or parent is nearby to supervise the situation. It probably seems excessive, but making sure an adult is nearby can make a huge difference and help to keep your teen safe.
Time away from the home
During the late middle school years, and throughout high school, many teens will begin to start hanging outside of the house during their free time. Most of the time, they will venture to friends houses or public facilities where your supervision may be extremely limited as a parent, or not exist at all. Instilling trust in your child while they are away from the home is key to being a great parent, but it's also important to ensure that you have set boundaries and guidelines they must follow. Without rules and instilled values, it can be difficult to gauge whether you can trust your teen to make the best decisions.
The number one thing many parents begin to worry about is a teenagers interaction with alcohol when they are around other teens. Parents can overcome this issue by monitoring the types of peers your teen associates themselves with. Can you learn more about their level of decision making based upon their friends? You want to ensure you can trust your teens to avoid interactions with alcohol if they happen to get caught up in an environment where this could potentially be present. If the situation does arise, you should leverage a certain level of trust where you feel confident that your teen would alert you if they need a ride home to avoid the situation.
Enjoying the summer months
What do you have planned for the rest of the summer? Family barbeques? Concert series? Or, is your teen hosting a birthday party? Whatever the occasion may be, it's important to always have fun and enjoy time with those whom you surround yourself with. Make sure you are remembering how to keep everyone safe this summer and instill these values in your children and teens for a safe, and successful summer!
Expired Inspection Sticker
Make sure to get your car inspected on time. This is critical in Massachusetts as no only could you be severely fined $100 for a simple mistake. Did you know that you could be charge points for having an expired sticker?
Quotes About Expired Tickets
"If you're caught driving without an inspection sticker, or one that's expired, you will be cited by the police for driving an unsafe vehicle, which could also result in insurance surcharges and you could be forced to pay a fine." - Massachusetts DMV
"In Massachusetts, a ticket for an expired vehicle inspection sticker is the equivalent, in auto insurance citation points, of a moving violation. According to the MA Department of Insurance, surcharge points are incurred if you: cause an at-fault accident. are convicted of or pay a fine for a traffic law violation" - Massachusetts Auto Insurance
Massachusetts Rules on Inspection Stickers
This is the official rule if you get caught with an expired inspection sticker:
Any person who operates and any person who owns or permits to be operated a motor vehicle or trailer that fails to meet the safety standards established by the registrar pursuant to section 7A shall be punished by a fine of $25. Any person who owns and fails to have inspected a motor vehicle owned by him, as required pursuant to section 7A or 7V of this chapter or sections 142J and 142M of chapter 111 or any person who operates or permits a motor vehicle owned by him to be operated without a certificate of inspection or a certificate of rejection displayed in accordance with the provisions of said section 7A or 7V or said sections 142J or 142M and the rules and regulations promulgated thereunder shall be punished by a fine of $50. Any motor vehicle which is required to be inspected pursuant to the provisions of said section 7A and said section 142J or 142M and fails to meet the requirements of such inspection and has not been issued a certificate of waiver under the provisions of clause (b) of the first paragraph of said section 7V or said section 142M shall be subject to suspension or revocation of the certificate of registration as may be prescribed by the registrar under section 22.
New Bill Being Proposed
There is currently a bill, proposed by Bradley H. Jones, Jr., to remove an expired inspection sticker as a surchargeable incident.
SECTION 1. Section 113B of chapter 175 of the General Laws, as appearing in the 2014 Official Edition, is hereby amended by inserting, in line 227, after the word "incident" the following sentence:-
Driving a motor vehicle which has an expired inspection sticker shall not be considered a surchargeable incident.
Back in 1997, the Massachusetts DMV used to mail out reminder cards to let people know about the inspection sticker was about to expire. This ended during the budget cuts of the 2000s.
Don't take chances, check your car inspection sticker, don't let it lapse.
Happy Independence Day
Happy Independence Day America!
In New England, some people are heading to the beaches to enjoy the warm weather, others are heading around the Charles River to mark their spot for the Boston Pops Fireworks Spectacular.
This is a nice poem/article that was written 42 years ago to celebrate the bicentennial celebration of the country.
I am The Nation
OTTO Whittaker "I Am the Nation," as published on the front cover of the Norfolk and Western Railway Company Magazine on January 15, 1976.
I was born on July 4, 1776, and the Declaration of Independence is my birth certificate. The bloodlines of the world run in my veins, because I offered freedom to the oppressed. Too many things, and many people. I am the nation.
I am 213 million living souls-and the ghost of millions who have lived and died for me.
I am Nathan Hale and Paul Revere. I stood at Lexington and fired the shot heard around the world. I am Washington, Jefferson and Patrick Henry I am John Paul Jones, the Green Mountain Boys and Davy Crockett. I am Lee and Grant and Abe Lincoln.
I remember the Alamo, the Maine and Pearl Harbor. When freedom called I answered and stayed until it was over, over there. I left my heroic dead in Flanders Fields, on the rock of Corregidor, on the bleak slopes of Korea, in the steaming jungle of Vietnam, on the sands of Iraq and the hills of Afghanistan.
I am the Brooklyn Bridge, the wheat lands of Kansas and the granite hills of Vermont. I am the coalfields of the Virginias and Pennsylvania, the fertile lands of the West, the Golden Gate and the Grand Canyon. I am Independence Hall, the Monitor and the Merrimack.
I am big. I sprawl from the Atlantic to the Pacific - my arms reach out to embrace Alaska and Hawaii - 3 million square miles throbbing with industry. I am more than 5 million farms. I am forest, field, mountain, and desert. I am quiet villages-and cities that never sleep.
You can look at me and see Ben Franklin walking down the streets of Philadelphia with his bread loaf under his arm. You can see Betsy Ross with her needle. You can see the lights of Christmas, and hear the strains of "Auld Lang Syne" as the calendar turns.
I am Babe Ruth and the World Series. I am 110,000 schools and colleges, and 330,000 churches where my people worship God as they think best. I am a ballot dropped in a box, the roar of a crowd in a stadium and the voice of a choir in a cathedral. I am an editorial in a newspaper and a letter to a Congressman.
I am Eli Whitney and Stephen Foster. I am Tom Edison, Albert Einstein, and Billy Graham. I am Horace Greeley, Will Rogers, and the Wright brothers. I am George Washington Carver, Jonas Salk, and Martin Luther King.
I am Longfellow, Harriet Beecher Stowe, Walt Whitman and Thomas Paine.
Yes, I am the nation, and these are the things that I am. I was conceived in freedom and, God willing, in freedom, I will spend the rest of my days. May I possess always the integrity, the courage, and the strength to keep myself unshackled, to remain a citadel of freedom and a beacon of hope to the world.
This is my wish, my goal, my prayer in this year of 1976-two hundred years after I was born.