Showing posts with label videos. Show all posts
Showing posts with label videos. Show all posts

Saturday, November 10, 2018

VIDEO: The History of Unix, by Rob Pike

By Vasudev Ram


This is a video about Unix history by Rob Pike, Unix veteran and co-creator of the Go programming language.

The History of Unix, Rob Pike

The video is also embedded below.

There is also a current HN thread about it.

- Enjoy.




- Vasudev Ram - Online Python training and consulting

I conduct online courses on Python programming, Unix / Linux commands and shell scripting and SQL programming and database design, with course material and personal coaching sessions.

Here are the course outlines and some client testimonials.

Contact me for more details, terms and schedule.

Getting a new web site or blog, and want to help preserve the environment at the same time? Check out GreenGeeks.com web hosting.

DPD: Digital Publishing for Ebooks and Downloads.

Learning Linux? Hit the ground running with my vi quickstart tutorial. I wrote it at the request of two Windows system administrator friends who were given additional charge of some Unix systems. They later told me that it helped them to quickly start using vi to edit text files on Unix. Of course, vi/vim is one of the most ubiquitous text editors around, and works on most other common operating systems and on some uncommon ones too, so the knowledge of how to use it will carry over to those systems too.

Check out WP Engine, powerful WordPress hosting.

Sell More Digital Products With SendOwl.

Get a fast web site with A2 Hosting.

Creating or want to create online products for sale? Check out ConvertKit, email marketing for online creators.

Teachable: feature-packed course creation platform, with unlimited video, courses and students.

Posts about: Python * DLang * xtopdf

My ActiveState Code recipes

Follow me on:


Tuesday, May 9, 2017

Meet the world's biggest bovine, the gaur

By Vasudev Ram

I was browsing for information about the Gaur (the Indian bison, my mascot :), when I came across this nice video about them:

Meet the world's biggest bovine, the gaur.

The video is also embedded below.



- Vasudev Ram - Online Python training and consulting

Get updates (via Gumroad) on my forthcoming apps and content.

Jump to posts: Python * DLang * xtopdf

Subscribe to my blog by email

My ActiveState Code recipes

Follow me on: LinkedIn * Twitter

Are you a blogger with some traffic? Get Convertkit:

Email marketing for professional bloggers



Tuesday, February 7, 2017

Video (2010): Python vs. Ruby: A Battle to the Death: Gary Bernhardt

By Vasudev Ram

Came across this video recently via a chain of links:

Video (2010): Python vs. Ruby: A Battle to the Death: Gary Bernhardt

His blog post about it:

Both video and post are from 2010.

Started watching the video, seems interesting.

The video is also embedded below.


Python vs. Ruby: A Battle to The Death from Gary Bernhardt on Vimeo.


Enjoy.

- Vasudev Ram - Online Python training and consulting

Get updates (via Gumroad) on my forthcoming apps and content.

Jump to posts: Python * DLang * xtopdf

Subscribe to my blog by email

My ActiveState Code recipes

Follow me on: LinkedIn * Twitter

Managed WordPress Hosting by FlyWheel



Thursday, January 12, 2017

Python video: Loop like a native - by Ned Batchelder

By Vasudev Ram

I saw this really good Python video a while ago, and remembered it today in the context of some Python work I was doing.

It is by Ned Batchelder at PyCon US 2013, The title of the talk is:

Loop like a native: while, for, iterators, generators

The video is also embedded below.

Basically it is about more idiomatic ways of looping in Python, which can often lead to shorter, clearer, less redundant code.




- Vasudev Ram - Online Python training and consulting

Get updates (via Gumroad) on my forthcoming apps and content.

Jump to posts: Python * DLang * xtopdf

Subscribe to my blog by email

My ActiveState Code recipes

Follow me on: LinkedIn * Twitter

Managed WordPress Hosting by FlyWheel



Monday, December 12, 2016

Video: PyCon US 2016: Alex Martelli: Exception and error handling in Python 2 and Python 3

By Vasudev Ram

I started watching this recent PyCon US 2016 video. I found it informative and interesting:

Alex Martelli: Exception and error handling in Python 2 and Python 3

Alex Martelli is the author or co-author of some well-known Python books like Python in a Nutshell and the Python Cookbook (for at least one of the versions); I've bought and read some of them, and they are pretty good.

[ Interestingly, the Wikipedia article about Alex, linked above, says that he is also noted for coining the phrase duck typing. ]

The video is also embedded below:



- Enjoy.

- Vasudev Ram - Online Python training and consulting

Get updates on my software products / ebooks / courses.

Jump to posts: Python   DLang   xtopdf

Subscribe to my blog by email

My ActiveState recipes

FlyWheel - Managed WordPress Hosting



Sunday, November 27, 2016

Video: Interview: GoingNative 6: Walter Bright and Andrei Alexandrescu - D Programming Language

By Vasudev Ram


I watched this video (from 2013) a few days ago:

GoingNative 6: Walter Bright and Andrei Alexandrescu - D Programming Language

Going Native [1] is a tech event, and I guess 6 refers to the 6th year or edition of it. I first saw this video on Channel 9, one of Microsoft's technology sites. That site has multiple links to the video, including downloadable, in different qualities, so you may want to check out getting it from there. [2]

[1] There seems to be rising interest in "native" (programming) languages these days (before the rise of "scripting" languages, all languages were native, i.e. they ran, after compilation, on the "metal" (i.e. the CPU), not on a language VM or interpreter, and we just called them languages, no fancy-shmancy names, ha ha :). Part of the reason for the rise in interest, as mentioned in the video, is that we are entering (or have entered) a world of multi-core and concurrency, and due to Moore's law ending (?) Anyway, native languages like D, Go and Rust are picking up these days, whatever the reason. I've used native languages like Pascal and C a lot at work earlier, so I welcome this return of greater interest in native languages, though I'm not stopping using languages like Python anytime soon either.

[2] And to download the video at the command line, check out youtube-dl, a YouTube downloader in Python. Yes, downloading a video about native languages with a tool written in a scripting language - go figure :)

The video shows an interviewer talking to both Walter Bright and Andrei Alexandrescu. Walter, who developed the first native C++ compiler, is the original creator of the D programming language and Andrei, who was a C++ expert and book author, joined him some years later to help in developing the language. The interview was somewhat wide-ranging and a bit long, and quite interesting. Many aspects of the language and the plans and in-progress work for it were talked about.

The video is also embedded below.



Happy holidays to my readers.

- Vasudev Ram - Online Python training and consulting

Get updates on my software products / ebooks / courses.

Jump to posts: Python   DLang   xtopdf

Black Flyday at Flywheel Wordpress Managed Hosting - get 3 months free on the annual plan.

Subscribe to my blog by email

My ActiveState recipes



Wednesday, March 9, 2016

Tech Video: Rich Hickey: Hammock-Driven Development

By Vasudev Ram




Hammock image attribution.

I had seen this Rich Hickey video some time ago, and thought it was very good. Came across it again today, so decided to blog about it. The shortest summary of it is that he recommends thinking more (not just blindly jumping into doing stuff - because "we have to ship next week").

But there's a lot more to it than just a hand-waving statement. He talks a lot about the issues involved, his own experiences, and gives specific steps.

Hammock Driven Development - Rich Hickey - YouTube

I haven't embedded it below because embedding of the video is disabled; you have to watch it on YouTube via the link above.

Oh, almost forgot - there's another guy who likes hammocks too :)


Bear image attribution.

- Vasudev Ram - Online Python training and programming

Signup to hear about new products and services I create.

Posts about Python  Posts about xtopdf

My ActiveState recipes

Wednesday, May 13, 2015

Python video: P is better than NP :)

By Vasudev Ram




Another Raymond Hettinger Python video, both entertaining and informative. This one was at the recently concluded PyCon 2015 in Montreal.

Watch this video to find out how P is better than NP, and how to create adapters for code from other languages that has been ported to Python.

The video is also embedded below.



I originally saw the video via a link in this recent HN thread about Peter Norvig's Python IAQ, which I also tweeted about recently:

The Python IAQ: Infrequently Answered Questions (norvig.com)

- Vasudev Ram - Online Python training and programming

Dancing Bison Enterprises

Signup to hear about new products or services that I create.

Posts about Python  Posts about xtopdf

Contact Page


Monday, January 19, 2015

Music video: Dire Straits - Walk of Life

By Vasudev Ram



An old favorite, listened to it again today. The video is good too.

Dire Straits

Dire Straits - Walk of Life:



- Vasudev Ram - Dancing Bison Enterprises

Sunday, July 27, 2014

Video: Vinod Khosla at Startup Grind, Silicon Valley

By Vasudev Ram

I saw this video about Vinod Khosla a while ago. It was pretty interesting and has useful advice for startups and wannabe startuppers. Video is embedded below.




- Vasudev Ram - Dancing Bison Enterprises

Contact Page


Thursday, June 26, 2014

pafy - Python API for YouTube

By Vasudev Ram


PAFY (Python API For YouTube) is a Python library that does what the name says on the tin - it allows you to access YouTube videos programmatically, get information about them, download them, etc.

Full documentation for Pafy is here.

You can install Pafy with the command: pip install pafy

I tried out Pafy a little, and whatever I tried worked the way the docs said it would.

Here is a simple example of using Pafy to get info about a YouTube video and download it to your machine. I used the video 'Concurrency is not Parallelism' - by Rob Pike, co-inventor of the Go language, in the example. The video is also embedded below:



import pafy

# Concurrency is not parallelism - video URL = "https://www.youtube.com/watch?v=cN_DpYBzKso"
cinp_url = "https://www.youtube.com/watch?v=cN_DpYBzKso"

cinp_video = pafy.new(cinp_url)
cv = cinp_video

print "Info for video 'Concurrency is not Parallelism' by Rob Pike, Commander, Google:"
print 'Title:', cv.title
print 'Length:', cv.length
print 'Duration:', cv.duration
print 'Description:', cv.description

"""
This fragment prints info about the streams available in the video.
streams = cv.streams
for s in streams:
    print(s)
"""

# Get the best stream for the video.
best = cv.getbest()

# Download the best stream.
best.download(quiet=False, filepath=best.title + "." + best.extension)

The Pafy download() method not only downloads the video, it also shows the size downloaded so far as a percentage, the download speed, and the ETA for the download, in real time.

Also check out my earlier post on another YouTube tool in Python:

youtube-dl, a YouTube downloader in Python


- Vasudev Ram - Dancing Bison Enterprises - Python consulting and training

Contact Page

Friday, February 14, 2014

PyEmbed, a content embedding library for Python

By Vasudev Ram



Saw PyEmbed today via the Python Weekly email newsletter. PyEmbed is a Python library for embedding content in a web page. Given a URL of some content, it fetches the embed code for it, which you can then embed in an HTML page.

PyEmbed looks good on an initial try. I thought for a while about what video to test PyEmebed with, and finally settled on a YouTube video of the Indian film actress Rekha, in a famous dance scene in the film Umrao Jaan, which won her a National Film Award for Best Actress.

For all my readers who don't know Hindi (the movie is in Hindi), there are English subtitles at the bottom of the video.

PyEmbed is quite simple to use for basic usage, though it does have some advanced features.

Here is a simple Python program using PyEmbed to fetch the embed code for the Rekha dance video from the film Umrao Jaan described above:
from pyembed.core import PyEmbed
html = PyEmbed().embed('http://www.youtube.com/watch?feature=player_detailpage&v=3oFm4MYbb9o')
print html

I ran it with:

python test_pyembed.py

And then pasted the resulting HTML below to embed the video:

Rekha dancing in the movie Umrao Jaan




- Vasudev Ram - Dancing Bison Enterprises

Read other Python posts on my blog.

Contact Page



Wednesday, January 22, 2014

Thursday, December 19, 2013

Wednesday, December 18, 2013

Download YouTube thumbnails with micawber and wget


By Vasudev Ram



I had blogged about micawber earlier, here:

Micawber gets rich content from URLs

Among the data that micawber returns for a URL, is the thumbnail, if it is a video, for example. So I thought of writing a program to download the thumbnail for a given YouTube video using micawber and the wget Python library.

Here's the code for download_youtube_thumbnails.py:

# download_youtube_thumbnails.py
# A program to download YouTube video thumbnail images.
# Author: Vasudev Ram - http://www.dancingbison.com
# Uses the micawber and wget Python libraries.

# micawber: https://github.com/coleifer/micawber
# wget: https://pypi.python.org/pypi/wget

import os
import os.path
import micawber
import wget

def download_youtube_thumbnail(video_url, video_name):

    # load up rules for some default providers, such as youtube and flickr
    providers = micawber.bootstrap_basic()

    ret_val = providers.request(video_url)
    if 'thumbnail_url' in ret_val:
        thumbnail = wget.download(ret_val['thumbnail_url'], bar=None)
        root, ext = os.path.splitext(thumbnail)
        new_name = 'thumb_' + video_name + ext
        os.rename(thumbnail, new_name)
        print "Thumbnail downloaded: ", new_name
    else:
        print "'thumbnail_url' key not found in ret_val dict"

def main():

    try:
        # Download the thumbnail for the video of the album 
        # 'Rarely Heard Ragas' by Vilayat Khan.
        download_youtube_thumbnail(
        "http://www.youtube.com/watch?feature=player_detailpage&v=Qim2av-SRwU",
        'Vilayat_Khan_Rarely_Heard_Ragas')
    except Exception, e:
        print "ERROR: Caught exception: " + repr(e)
        sys.exit(1)

if __name__ == "__main__":
    main()

# EOF



And here is its output - the thumbnail - when given the URL for Vilayat Khan playing Rarely Heard Ragas on the sitar:


- Vasudev Ram - Dancing Bison Enterprises

Contact Page



More Python posts.

Sunday, October 20, 2013

Music video: Sitar - Vilayat khan - Rarely Heard Ragas


By Vasudev Ram

Came across this sitar performance by Ustad Vilayat Khan recently on YouTube via a search:

Vilayat Khan - Rarely Heard Ragas

I had the CD of the performance some time ago. Like it a lot.

It is good music to listen to while working (IMO).

The video is also embedded below.



- Vasudev Ram - Dancing Bison Enterprises

Contact me


Saturday, June 1, 2013

Video: Fireside chat, Go team at Google I/O 2013

Watch "Google I/O 2013 - Fireside Chat with the Go Team" on YouTube

Watched some of it. Audio not very good (on mobile) but can still hear a good amount. Probably better on desktop.

Sunday, April 21, 2013