Tingle's Technology Notes

Month

June 2013

12 posts

Containers—Not Virtual Machines—Are the Future Cloud | Linux Journal → linuxjournal.com

/via https://news.ycombinator.com/item?id=5898840

Jun 18, 2013
twoscoops/django-admin2 · GitHub → github.com
Jun 16, 2013
“Teapot is a compact spreadsheet software… feature[ing] a (n)curses-based text terminal interface…Another interesting feature is its modern approach to spread sheet theory: It sports true three-dimensional tables and iterative expressions. And since it breaks compatibility with the usual notions of big spreadsheet packages, it can also throw old syntactic cruft over board which many spreadsheets still inherit from the days of VisiCalc on ancient CP/M systems.” —Syntax-K – Know-How für Ihr Projekt - Table Editor And Planner, Or: Teapot! math/teapot in pkgsrc.
Jun 15, 20131 note
philipwalton/html-inspector · GitHub → github.com

JavaScript tool that validates your HTML and warns you in the web console /via https://news.ycombinator.com/item?id=5885971

Jun 15, 2013
perl-5.16.0 perldelta Removed Modules and Pragmata → search.cpan.org

Several old perl4-style libraries which have been deprecated with 5.14 are now removed: abbrev.pl assert.pl bigfloat.pl bigint.pl bigrat.pl cacheout.pl complete.pl ctime.pl dotsh.pl exceptions.pl fastcwd.pl flush.pl getcwd.pl getopt.pl getopts.pl hostname.pl importenv.pl lib/find{,depth}.pl look.pl newgetopt.pl open2.pl open3.pl pwd.pl shellwords.pl stat.pl tainted.pl termcap.pl timelocal.pl

They can be found on CPAN as Perl4::CoreLibs

Jun 15, 2013
The Julipedia: Keeping pkgsrc packages up to date → julipedia.meroh.net
Jun 14, 2013
how to upgrade packages → wiki.netbsd.org

in pkgsrc “[t]here are various techniques for upgrading packages”

Jun 14, 2013
Fork Yeah! The Rise and Development of illumos - YouTube → youtube.com

zone based io throttling … I want ZFS and zones…

Jun 13, 2013
appstrap: utilities to bootstrap your app stack → github.com

I live a sad, sad world—I don’t get root. I’m responsible for the development and 24/7 operations of web applications, but I don’t have root. I don’t get to pick my distribution and the packages I can get installed, while vender certified, are usually not up-to-date with regard to the latest versions of development tools such as ruby, python, git etc. Plus, they still want to maintain a common set of installed packages that contain all the junk that is needed by all the applications inside of all the groups at CDL—not just the junk specific to the current application I’m working on. Any changes I need to make have to go through two layers of red tape through two different groups of system administrators reporting to different vice presidents.

As it was on solaris, so it is on the VMs. I had hope that moving from Solaris to SUSE 11 VMs would mean things would be more like AWS where I would start with a lean install and have a comprehensive list of up-to-date modern packages to choose from to customize for my application. Such, a sick, sad world—nope, no dice. Life on the VMs is just as shitty as life running everyones applications on big shared solaris boxes, only we don’t have VCS to help us keep applications up during OS upgrades. And now we don’t have as much peak memory and there are mysterious cronic i/o problems.

But I have found the good news for package management for the unprivileged user. No longer will I need to resort to the evils of monolithic bash build scripts to replay hand configuration of all my packages and tools. The NetBSD project has brought salvation in the form of pkgsrc.

On OS X, I’ve been using homebrew. It is nice, because you can just type, say, brew install ruby and … wait … and all the dependencies are fetch and compiled and then ruby is fetched and compiles. You don’t have to manually download and configure all the dependencies. Usually things like this are specific to an OS distribution. Homebrew won’t work on SUSE or any other Linux, it is specific to OS X.

pkgsrc is what NetBSD uses to compile their packages for distribution with the OS, but I’m not going to be able to get a NetBSD box for my application development, so why do I care? pkgsrc has support for hella platforms, and it supports “Linux” generically across distributions.

I’ve only tested on SUSE 11 (with the “cdlcommon” packages installed) and Amazon Linux so far—but is works like magic. Now, I have a list of thousands of up-to-date packages available at my fingertips. A new stable version of all the packages comes out every quarter like clockwork.

One thing I missed compared to Homebrew on OS X was the ability to do a one command install of a package; so I wrote a little wrapper ./appstrap/pmake sysutils/tree is a trivial example that will install the system utility “tree”. Here are all the packages. Not all of these are available on Linux, but so far openoffice is the only one I’ve tried that didn’t work on Linux.

Because the install of shibboleth-sp is set up for the root user (sigh) I had to resort back to the sin of bash wrapper that will install it, but compare git clone git://github.com/tingletech/appstrap.git && ./appstrap/shib_it to Building the Native SP from Source on Linux and I think you will see the light.

There is a mechanism to check your packages against a security database, I have not looked into that yet. Also, it can create binary packages, so I want to look into if it is worth it to set up a local repository of binary packages I can share across multiple apps / -dev,-stg and production.

Jun 9, 2013
File based vs work based

http://www.youtube.com/watch?v=-zRN7XLCRhc&feature=player_detailpage#t=1424s

watching a talk on youtube “Fork Yeah!” about solaris and open sourcing it…. Bryan M. Cantrill from Joyent around this time in the video (1,424 seconds into the video) is discussing license choice and says one of the reasons sun created a new license is that they wanted a file based copy-left license. He likes the file based nature of BSD b/c you can mix and match proprietary code. This file based nature of BSD must be why it is supposed to go on every pages. GPL is a work based copy left — that is why you can’t mix and match with it.

Jun 9, 2013
Brendan's blog » Linux Performance Analysis and Tools → dtrace.org

/via https://news.ycombinator.com/item?id=5848584 — includes video of talk and the slides from Southern California Linux Expo earlier this year (SCaLE 11x) given by Brendan Gregg

Jun 9, 2013
Best Practices for Designing a Pragmatic RESTful API | Vinay Sahni → vinaysahni.com

/via https://news.ycombinator.com/item?id=5819231

Jun 4, 2013

May 2013

19 posts

Play
May 31, 2013
“pkgsrc is a framework for building third-party software on NetBSD and other UNIX-like systems, currently containing over 12000 packages.” —pkgsrc
May 30, 2013
Linux: Building RPMs without root access → techonthenet.com
May 30, 2013
(8) Is there a package manager for Linux that is similar to Homebrew for Mac? - Quora → quora.com
May 30, 2013
beautiful websites using Emacs's org mode - Stack Overflow → stackoverflow.com
May 25, 2013
How I use Emacs and Org-mode to implement GTD → members.optusnet.com.au

by Charles Cave; also Using dates and times in Emacs org-mode

May 25, 2013
The Future of Human Data Interaction | tomasz by Tomasz Tunguz → tomtunguz.com

/via https://news.ycombinator.com/item?id=5763314

May 24, 2013
Package(Plugin) Management for Vim - Stack Overflow → stackoverflow.com
May 23, 2013
Next page →
2012 2013
  • January 34
  • February 43
  • March 45
  • April 26
  • May 19
  • June 12
  • July
  • August
  • September
  • October
  • November
  • December
2011 2012 2013
  • January 79
  • February 87
  • March 107
  • April 40
  • May 37
  • June 23
  • July 41
  • August 58
  • September 53
  • October 74
  • November 33
  • December 35
2010 2011 2012
  • January 25
  • February 73
  • March 30
  • April 43
  • May 64
  • June 86
  • July 100
  • August 77
  • September 53
  • October 67
  • November 63
  • December 55
2009 2010 2011
  • January 41
  • February 127
  • March 142
  • April 148
  • May 97
  • June 56
  • July 37
  • August 106
  • September 60
  • October 44
  • November 76
  • December 31
2009 2010
  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October 6
  • November 91
  • December 37