Interactive Vim tutorial

Every new Linux user should learn vi… simple/basic editing in vi:
open an existing file
create a new file
save a file
save a file as a different name
undo a change
cancel saving a file.

this isn’t a vi versus Emacs position, it’s common sense.
vi is installed as a default editor in almost every UNIX-variant.

Dr Taylor has one of the best documents to discuss the devils’ text editor:
Unix is a Four Letter Word… and Vi is a Two Letter Abbreviation

Source: Interactive Vim tutorial

Lorem Ipsum

Need some dummy text while roughing out a design?This will general Pulp Fiction/Jules text for you. http://slipsum.com

got os x? open up a terminal and paste this:

curl -s https://baconipsum.com/api/?type=all-meat |say

Or go to the site to generate the text when mocking up your page layout https://baconipsum.com

 

AI might be better at playing Angry Birds then humans in the next 7 years

This academic paper is basically a road map to show our robot overlords (or evil scientists) what is required to eliminate humans. Some milestone tasks are likely quickly achieved, such as learning how to play Angry Birds better then a human, which is a virtual achievement(all in software), where as others are a bit more difficult to achieve, such as beating a human in a bipedal 5k race(software and hardware, balance, stereoscopic vision, image recognition, etc).  Curious that AI researchers have the longest viability in the human job market…

The 2 most interesting section of the paper are in the Supplementary Tables, specifically S5: Description of AI Milestones, and curiously S3: Demographic differences between respondents and non-respondents, show most of the respondents(90+%) were male. Unfortunate for the respondents, AI based sex skills are not listed in the AI milestone list.

When Will AI Exceed Human Performance? Evidence from AI Experts

Zoom and enhance!

We’ve seen this in movies and cop show…

The fuzzy surveillance camera capture a perp in the commission of a crime, and the detective asks the IT guy to zoom in to a certain area and enhance the picture. The result is a sharp image that without a doubt identifies the perp, and off they go to catch the criminal…

Working with digital images, you soon learn that zooming in on an image will eventually show you the actual pixels, and increasing the resolution/pixels doesn’t add any detail, it only increases the number of pixels that were formerly represented by a single pixel. Granted there are image manipulation techniques to blend/soften/sharpen/edge detect to enhance an image, but never to the level of the fiction we’ve been exposed to.

That is, until google brain. This AI algorithm attempts to (intelligently) guess what detail to put into place when increasing the pixels. This is actually a super interesting application of AI, but also scary ass shit.

An immediate application that comes to mind  would be for improving the quality of surveillance photos and videos. But what if the AI gets it wrong? Would the enhanced image be admissible in court? Maybe the enhancement was 90% accurate, but it wasn’t you but your doppelgänger?

I’m sure with with testing and practice, AI enhancement algorithms will get more accurate… but where do we draw the line? Eye witness accuracy is fallible. AI Enhanced photography could have similar failure rates as well.

Slingshots!!!

slingshots are cool.

Not the sling (David used a sling to defeat Goliath), but a truly modern tool: a hybrid of modern materials and primitive technology. It’s more like a catapult, yet it’s design is pretty basic and similar across the various iterations. but check out some of these designs… retro cool, useful, cool idea (but stupid execution), stupid idea (but cool looking). not something that shows up on the radar frequently, but when it does, it’s neat to go down the rabbit hole…

For the record, I think the scout2 from simple-shot.com is a nice slingshot.

Linux File System Hierarchy

it’s alway nice to see an infographic for file systems, like on this site.

YMMV based on distro, FHS foundation specifications found here.

My mind couldn’t simulate a convincing internet experience…

Dreams have the ability to simulate life experiences and mental states, but sometimes it falls flat on its face.

I can’t recall how the dream started… but someone, Bob, that I worked with years ago was involved,  and a conflict resolution event occurred in the form of hailing a taxi, arriving at our destination and exiting the taxi and getting all the luggage took place.

Once we got settled with the taxi, we’re standing on a street corner talking, and Bob comments on a hat that a Japanese woman is wearing. It’s brimmed sun hat of sorts. The woman overhears our conversation and tells us “it’s a Japanese hat gourd hat. It’s a hat made from from the Japanese hat gourd, and is literally shaped like a hat.”

We’re really interested in this, so we start to google for more info. While I’m browsing for results, I can’t get over the weird music and strange search interface. The more I try to make sense of it, the more bizarre it becomes until I wake up.

My brain couldn’t simulate a convincing internet search experience, so its haphazard attempt created a situation that resulted in my brain rejected the scenario.

Use arp to set ip address on APC PDU management interface

on Mac OS, YMMV on linux, but i think syntax is same…

  1. connect directly into the managment port with a straight ethernet cable
  2. find the MAC address for the APC PDU management interface, usually a sticker or paper QC checklist taped to the device.
  3. $ sudo arp -s 192.168.1.X 00:c0:b7:fc:XX:XX
    •this creates a static entry in the arp table telling your machine to identify this IP address to this MAC address
  4. $ ping 192.168.1.X -s 113
    PING 192.168.1.X (192.168.1.X): 113 data bytes
    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    121 bytes from 192.168.1.X: icmp_seq=2 ttl=255 time=418.963 ms
    121 bytes from 192.168.1.X: icmp_seq=3 ttl=255 time=0.958 ms
    •this confirms MAC and IP are linked
  5. telnet or www into the PDU(still directly attached) make changes to the IP config, and perform a reboot on the PDU

Voila!

 

Leet-user snobbery not just with linux desktop…

“I simply have zero interest in the crowd who wants to be different. Leet. ‘Linux is supposed to be hard so it’s exclusive’ is just the dumbest thing that a smart person could say. People being people, there are of course smart people who hold that view.”

Mark Shuttleworth of Canonical is trying to bring linux into the mainstream by commoditization of the OS. Which means taking a benevolent dictator stance when it come to Unity. Plenty of articles regarding this topic, no need to discuss it ad nauseum… Personally i don’t care for Unity, i feel it’s a less-than-polished implementation of Apples’ fullscreen mode. for the time being i’ve reverted back to gnome panel in my ubuntu 12.04 instance. Continue reading