From Pine View Farm

Geek Stuff category archive

Facebook Frolics 0

Check your privacy settings.

Share

Droning On 0

Mike Kelly’s buddy has bought a quadcopter and wants to take it out joyriding. Mike is not sanguine. Here’s a bit from his column.

Instead, my friend spoke about the latest gadget he had purchased — or, as he described it, “my new toy.”

A drone.

My friend, with laughter interrupting his words, went on to point out how much “fun” he was already having, flying his remote-controlled device up to 1,000 feet above ground and hovering over friends’ houses or cruising down various streets. He said he might even drop into someone’s back yard and snap some candid photographs before buzzing off, leaving everyone to wonder what had just taken place.

“Isn’t that illegal?” I asked.

“Not at all,” he said.

And that’s the problem.

Boys and their toys: a combination that unerringly eventually spells s-t-u-p-i-d.

Share

Regular Expressions Make My Brain Hurt 0

If they also make your brain hurt, here’s a good tutorial.

If you are not sure what Regular Expressions (often called “regex”) are, they are a versatile tool for searching text for specific strings. You can search for strings with various permutations and qualifications.

Here’s an example, illustrating a search of the file /usr/doc/HTML/en/common/gpl-license for the any occurrence of a string including two characters followed by the characters “cept” (the -i means “ignore case”). The working directory was /usr/doc/HTML/en/common/, which is where the GNU Public License resides in Slackware –Current.

The text is choppy because the output of the command displays individual lines from the text file, rather than sentences:

$ grep -i "..cept" gpl-license
License. (Exception: if the Program itself is interactive but
special exception, the source code distributed need not include except as expressly provided under this License. Any attempt
5. You are not required to accept this License, since you have not
prohibited by law if you do not accept this License. Therefore, by
Program), you indicate your acceptance of this License to do so, and
make exceptions for this. Our decision will be guided by the two goals
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN

Here’s some more searches I did during the tutorial:

grep "^[A-Z].*\.$" gpl-license <--Searches for all lines starting with capital letters or ending with periods.

egrep "(public license)" gpl-license <--Searches for all lines including the string "public license."

grep "^[A-Z]" gpl-license <--searches for all lines starting with capital letters.

These are very simple regex searches.

Here’s a complex regular expression string that I grabbed from a website. Note that it is just the search string, not prefaced by a search command:

\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b

When I understand that, I will consider that I have achieved geekdom.

Yes, this is my idea of fun.

Share

Facebook Frolics 0

Courtroom frolics.

Share

Facebook Frolics, No Place To Hide Dept. 0

The Zuckerborg is watching you, even if you’re not watching it. Also, forget about “Don’t be evil.”

And that’s not all.

Follow the link and then reconsider some of your computing choices.

Share

Full Geek 0

I consider the coolest thing I did all day was to print a text file from the command line with the lp command.

See man lp for more.

Addendum:

I printed a file with lp over ssh today, Friday.

Use Linux. It just works.

Share

The Snaring Economy 0

Share

“Don’t Be Evil” 0

Yeah. Right.

Share

Civilization’s End 0

Via The Bob and Chez Show.

Share

No One Could Have Predicted . . . . 0

Stupid app idea rebounds on its creator.

Share

Facebook Frolics 0

No, you cannot frolic in private and all the gobbledygook in the world won’t change that.

Share

iJunker 0

Hear the latest about the Apple car.

Share

Twits on Twitter 0

Humorless twits.

Share

Facebook Frolics 0

The resident curmudgeon of my local rag, whose default operating position is that “other people can’t have nice things,” occasionally gets one right.

Share

Attack of the Fembots 0

This should be interesting. A user of the Ashley Madison electronic adultery emporium and canoodling clearing house has filed suit:

The plaintiff claims that he was lured to spend money on the site based on representations of how many women were active on it, especially after he received messages from women that required him to pay for credits to continue the conversations. Now, he believes those messages didn’t come from women at all – instead, they came from “fembots with fake profiles created by Ashley Madison.” These allegations are fueled by a recent report from a journalist who allegedly discovered that the company created fake female profiles and bots to interact with male customers. The plaintiff argues that the use of the fembots violates Maryland’s Consumer Protection Act, which outlaws unfair or deceptive trade practices.

The piece goes on to point out that precedent may be on the plaintiff’s side.

Share

Geeking Out 0

Compiled a new kernel from Ubuntu 15.04 for Ubuntu 14.04 running in a virtual machine in VirtualBox. Took three tries before I got it right.

Share

“You’ve Got Mail” 0

Brian Greenspun, owner and publisher of the Las Vegas Sun, thinks that, as regards Hilary Clinton’s email, it’s time to move on. A nugget:

There are congressional hearings and investigations galore trying to determine whether there was any wrongdoing, and those will play out on the political schedules of others. (For some reason, I keep thinking Whitewater and other conspiracies that never happened when I think of congressional investigations by Republicans). We may one day know for sure that there is no “there” there when it comes to all the allegations being bandied about. But, until that day comes, shouldn’t we be entitled to hear her vision for America and her plan to help us fulfill the promise that is the United States?

Anyone who has been paying attention knows that this kerfuffle over email is much ado about nothing whatsoever; neither policy nor law was violated. Furthermore, no one who understands how email works, not even the most right-wing geeks I know, thinks that there is any there there.

The answer to Greenspun’s question, though, is simple. Republicans can’t afford to focus on stuff that matters, because the facts lean left. Therefore, they must make stuff up.

Follow the link for the rest of his article.

Share

iJunk 0

Share

“Barney Google, with the Goo-Goo-Googly Brain” 0

Dr. Richard Cytowic argues that smart phones are making us dumb.

More profound is the shift in how students now think. During their entire educational careers they have been bombarded with fact-based questions that can be answered quickly by a Google search. To them, being Google–like is the pinnacle of academic performance. Even top students think in terms of a Google search. Ask a “Why” question and all you get are the “What,” the “Who,” and perhaps the “When”—exactly the kind of details they’d come up with if they typed the query into a search engine.

“Why” questions, or demands for critical analysis and opinion, leave them flummoxed. Most teachers still believe that critical thinking and self-aware imagination rather than rote memorization should be at the heart of learning. Advocates of more technology offer shiny new toys, but they misunderstand how learning occurs. Or perhaps, cynically, they don’t care.

Much more at the link.

Share

Microsoft Looks through Your Windows 0

Share
From Pine View Farm
Privacy Policy

This website does not track you.

It contains no private information. It does not drop persistent cookies, does not collect data other than incoming ip addresses and page views (the internet is a public place), and certainly does not collect and sell your information to others.

Some sites that I link to may try to track you, but that's between you and them, not you and me.

I do collect statistics, but I use a simple stand-alone Wordpress plugin, not third-party services such as Google Analitics over which I have no control.

Finally, this is website is a hobby. It's a hobby in which I am deeply invested, about which I care deeply, and which has enabled me to learn a lot about computers and computing, but it is still ultimately an avocation, not a vocation; it is certainly not a money-making enterprise (unless you click the "Donate" button--go ahead, you can be the first!).

I appreciate your visiting this site, and I desire not to violate your trust.