Index :: FAQ :: Contact

Featured Media: Basenet Radio

The show has been dormant for some time (years) but its back.

Latest HackerMedia:

May 23, 2013

Hacker Public Radio
HPR1255: A life in a software project
A friend of mine wrote a blog post the day of his 40th birthday. The title was "Version 4.0 is out!". I found it very interesting, as he told the history of his life as if it was a software project with a major x.0 release every 10th birthday.

May 22, 2013

Hacker Public Radio
HPR1254: X2go Remote Linux server/client
With x2go you can access your desktop using another computer -- that means both LAN and internet connections. The transmission is done using the ssh protocol, so it is encrypted. By using the free nx libraries from NoMachine, a very acceptable performance in both speed and responsiveness is achieved. Even an ISDN connection runs smoothly. This makes it is possible to connect your laptop to any computer with the environment, applications, and performance of the remote desktop. It is also possible to have a bunch of computers connected to a single server (terminal-server, thin-client). Clients are available for Linux (Qt4), Windows, and Mac. The latter two can be downloaded directly as binary from the x2go homepage. https://wiki.archlinux.org/index.php/X2go http://wiki.x2go.org/doku.php/start http://wiki.x2go.org/doku.php/wiki:repositories:start https://launchpad.net/~x2go/+archive/stable

The Linux Link Tech Show
The Linux Link Tech Show Episode 506
Bedrock linux, nuff said

May 21, 2013

Hacker Public Radio
HPR1253: Linux in the Shell Ep 30 - vmstat
Episode 30 of Linux in the Shell talks about the use of the vmstat command. Learn about Linux Virtual Memory managment and the files in /proc where vmstat gathers information.

May 20, 2013

Hacker Public Radio
HPR1252: The Long Road To Linux
Over about 30 years Beeza has been a software developer and tester, a system designer and technical author. In that time he's worked with a wide range of software, hardware and technologies. From DOS and the early days of Windows and the Mac, through to his conversion to Linux, he's seen great changes in the way we develop software and use computers. Not all the changes have necessarily been for the better, though. For anyone who's been around the IT world for a while, this may be a short trip down memory lane. For relative newcomers, it may come as a surprise to discover just how much was achieved years ago with so few resources.

Paul Dot Com
Tim Conway, Drunken Security News - Episode 332 - May 16, 2013
Tim Conway is the Technical Director of the Industrial Control Systems and SCADA programs at SANS, where he is responsible for developing, reviewing, and implementing technical components of the ICS and SCADA product offerings. Tim was formerly the Director of Compliance and Operations Technology at the Northern Indiana Public Service Company (NIPSCO).

Paul Dot Com
Interview with Brian Snow - Episode 332 - May 16, 2013
Brian Snow spent his first 20 years at NSA doing and directing research that developed cryptographic components and secure systems. Many cryptographic systems serving the U.S. government and military use his algorithms; they provide capabilities not previously available and span a range from nuclear command and control to tactical radios for the battlefield. He created and managed NSA's Secure Systems Design division in the 1980s. He has many patents, awards, and honors attesting to his creativity.

May 19, 2013

Hacker Public Radio
HPR1251: TGTM Newscast for 2013-05-19 DeepGeek
Here is a news review: A New Era for Worker Ownership, 5 Years in the Making New York City May Let Non-Citizens Vote in Local Elections China's State-Run TV Uses Daily Show Clip To Demonize US, Viewers Point Out The Irony "Part of the Transition to Socialism": Venezuela's Labour Law Comes into Effect New York City Council Passes Sick-Pay Bill Megaupload Asks Court to Dump The “Baseless” Criminal Case Syrian Internet Goes Dark, Leaving Questions and Uncertainty Update to Email Privacy Law Must Go Further Why Private Torrent Sites Have Strict Copyright Enforcement Rules Blogger Issues DMCA Notice To Take Down Posts Infringing His 'How To Infringe' Post Other Headlines: The Death of Truth The New York Times on Venezuela and Honduras: A Case of Journalistic Misconduct Reinventing the Wheel - The REAL Green Jobs Story When Will the Works of Octavio Paz be Published in Cuba? U.S. Govt. Attack on Megaupload Bears Hallmarks of ‘Digital Gitmo’ Staffed and produced by the TGTM news team, Editorial Selection by DeepGeek, views of the story authors reflect their own opinions and not necessarily those of TGTM news. News from "techdirt.com," "inthesetimes.com," and "allgov.com" used under arranged permission. News from "torrentfreak.com" and "eff.org" used under permission of the Creative Commons by-attribution license. News from "venezuelanalysis.com," and "democracynow.org," used under permission of the Creative Commons by-attribution non-commercial no-derivatives license. News Sources retain their respective copyrights. Links http://inthesetimes.com/article/14972/at_last_occupiers_turned_owners_celebrate_factory_opening/ http://www.allgov.com/news/controversies/new-york-city-may-let-non-citizens-vote-in-local-elections-130511?news=849990 http://www.techdirt.com/articles/20130509/10194223020/chinas-state-run-tv-uses-daily-show-clip-to-demonize-us-viewers-point-out-irony.shtml https://venezuelanalysis.com/news/9202 http://www.democracynow.org/2013/5/10/headlines#51012 http://torrentfreak.com/megaupload-asks-court-to-dump-the-baseless-criminal-case-130509/ https://www.eff.org/deeplinks/2013/05/syrian-internet-goes-dark-leaving-questions-and-uncertainty-0 https://www.eff.org/deeplinks/2013/05/update-email-privacy-law-must-go-further http://torrentfreak.com/why-private-torrent-sites-have-strict-copyright-enforcement-rules-130511/ http://www.techdirt.com/articles/20130507/18512622997/blogger-issues-dmca-notice-to-take-down-posts-infringing-his-how-to-infringe-post.shtml http://sacsis.org.za/site/article/1652 https://venezuelanalysis.com/analysis/9201 http://www.iww.org/en/content/reinventing-wheel-real-green-jobs-story http://www.havanatimes.org/?p=92865 http://torrentfreak.com/u-s-govt-attack-on-megaupload-bears-hallmarks-of-digital-gitmo-130507/

May 16, 2013

Hacker Public Radio
HPR1250: Interview With YTCracker
This is an interview with YTCracker, one of my favorite NerdCore rappers. You can find links to his music on his website http://www.ytcracker.com/ If you like Nerdcore Rap, a good website to check out is http://nerdcorenow.com. They have a few "various artists" compilation albums available for download. Thanks to my guest, YTCracker for coming on Hacker Public Radio, and thank you for listening.

May 15, 2013

Hacker Public Radio
HPR1249: Software Patents: Who's Behind the Curtain?
Deb Nicholson works at the intersection of technology and social justice. She is the Community Outreach Director at the Open Invention Network http://www.openinventionnetwork.com and the Community Manager at GNU MediaGoblin http://www.openinventionnetwork.com. She also serves on the board at Open Hatch https://openhatch.org/, a non-profit dedicated to matching prospective free software contributors with communities, tools and education. She lives in the United States in Cambridge, Massachusetts.

The Linux Link Tech Show
The Linux Link Tech Show Episode 505
Linux system and monitoring tools, monitoring tools, google play music, new android devices, linux runs what

May 14, 2013

Hacker Public Radio
HPR1248: Frank Bell Achieves Enlightenment Adventures with E17 Pt One
There was great rejoicing in the Linux community when the Enlightenment Desktop, v. 0.17 (AKA E17), was released recently. It was the first major upgrade in well over a decade to a desktop environment that many remembered fondly for its commitment to a visually pleasing computing experience. Frank Bell describes how he started using Enlightenment and what he has encountered so far. In this, the first of two parts, he addresses installing Enlightenment, Enlightenment's "first-run" dialog, the structure of the desktop, the menu, and the management applications and windows on the desktop. Part Two will focus on the nitty-gritty of configuring the appearance and behavior of Enlightenment. Links: E17 Screenshot: http://pineviewfarm.net/misc/e17_2.jpg Enlightenment website: http://www.enlightenment.org/ Enlightenment wiki: http://trac.enlightenment.org/e/wiki Themes and eye candy: http://e17-stuff.org/ Enlightenment article at the Arch wiki: https://wiki.archlinux.org/index.php/Enlightenment Bodhi Linux Guide to Enlightenment (Enlightenment is Bodhi's default desktop): http://www.bodhilinux.com/e17guide/e17guideEN/index.html Frank's Enlightenment handout for his LUG: http://www.pineviewfarm.net/misc/TWUUG_E17.pdf Enlightenment Slackbuild: http://slackbuilds.org/repository/14.0/desktop/enlightenment SlackE17 binary: http://sourceforge.net/projects/slacke17 Kernel Panic Oggcast Interview with Rasterman (Carsten Haitzler), Enlightenment maintainer: http://kernelpanicoggcast.net/Oggcasts/KernelPanic_71.ogg

May 13, 2013

Hacker Public Radio
HPR1247: Recording Terrestrial Radio with bash scipts and cron jobs
In this episode I talk about my solution for capturing terrestrial radio so that I can listen to it at my own convenience. I use a bash script, cron jobs, and the streamripper package. here are some links to things I mentioned in the podcast. Jezra's command-line audio player sap (simple audio player): http://www.jezra.net/projects/sap Streamripper: http://streamripper.sourceforge.net/ Radio station KRVS 88.7 FM, Lafayette, Louisiana, USA http://krvs.org/ And you can see the whole radio-recording script here: http://jonathankulp.org/archives/647

Paul Dot Com
Kurt Baumgartner, Drunken Security News - Episode 331 - May 9, 2013

Kurt Baumgartner of Kaspersky Labs joins us to talk about Red October, a research paper that he co-authored, along with the other areas that he works on at Kaspersky.

It's time for another Drunken Security News. Much of the gang was on the road this week so Patrick Laverty sat in with Paul and Engineer Steve for the show, plus Jack's epic beard called in via Skype from lovely Maryland.

First, Paul admitted it was a stretch to bring this into a security context but he wanted to talk about an article that he found in The Economist (via Bruce Schneier) about one theory that if the US would simply be nicer to terrorists, release them from Guantanamo Bay, Cuba and stop hunting them down around the world, that they would in turn be nicer to us. Also, fewer would pop up around the world. The thinking is that jailing and killing them turns others into terrorists. So here's the leap. Can the same be said for black hat hackers? If law enforcement agencies stop prosecuting the hackers, will they be nicer and will there be fewer of them? I think we all came to the same conclusion. "Nah."

Paul also found an Adam Shostack article about how attention to the tiniest details can be important to the largest degree. The example given was the vulnerability to the Death Star in the original Star Wars movie was so small and the chances of it being exploited were so remote that the Empire overlooked it, Grand Moff Tarkin even showing his arrogance shortly before his own demise. The same can be said for our systems. It might be a tiny hole and maybe you think that no one would look for it and even if they do, what are the chances they both find it and exploit it? In some cases, it can have quite dire consequences. The Empire overlooked a small vulnerability that they shouldn't have. Are you doing the same with your systems?

Did we happen to mention that Security BSides Boston is May 18 at Microsoft NERD in Cambridge, MA and Security BSides Rhode Island is June 14th and 15th in Providence, RI. Good seats and good conference swag are still available. We all hope to see you there!

The Onion's Twitter account was breached by the Syrian Electronic Army and they handled it a way that only The Onion can, making light of both themselves and the SEA. Additionally, possibly for the first time ever, The Onion published a non-parody post about exactly how the breach occurred.

Additionally, the National Republican Congressional Committee (NRCC) web site got spam hacked/defaced with Viagra ads. The only thing we were wondering is, are we sure it was hacked and not just a convenient online pharmacy for their members?

A new whitepaper was released from MIT talking about "Honeywords". The problem being solved here is creating a way for server admins to know sooner when a passwords file has been breached on a server. In addition to the correct password, this new system would add a bunch of fake passwords as well. When the attacker starts trying usernames and passwords, if they use one of the fake passwords, the server admin would be notified that someone is doing that and it is very likely that the passwords file has been breached. It's an interesting concept to ponder.

Jack had an article from Dennis Fisher at Threatpost, asking the question about what's the point of blaming various people for cyberespionage if we don't have a plan to do something about it.

The NSA also has its own 643 page document telling its members how to use Google to find things like Excel documents in Russian that contain the word "login". Wait, I feel like I've heard of this somewhere before. Oh yeah, that's right. Johnny Long was talking about Google Hacking at least as far back as 2007. It's just interesting some times to see things that the media gets wind of and without the slightest bit of checking, thinks something is "new".



Paul Dot Com
Interview with Rob Cheyne - Episode 331 - May 9, 2013

Rob Cheyne is a highly regarded technologist, trainer, security expert and serial entrepreneur.

He was the co-founder and CEO of Safelight Security, a leading provider of information security education programs. He has taught information security training classes to tens of thousands of developers, architects, and managers for industry-leading organizations. He has over 20 years of experience in the information technology field and has been working in information security since 1998.

Rob regularly speaks at security and training conferences, and frequently presents to the local chapters of various security organizations.



May 12, 2013

Hacker Public Radio
HPR1246: David Whitman On Location at LinuxFest Northwest
LFNW Garage Sale Booth - old computer stuff sold to support the fest http://linuxfestnorthwest.org Bill Wright at the LFNW World Famous Raffle http://linuxfestnorthwest.org EFF / TOR Table -https://www.eff.org https://www.torproject.org/ DW does a cheesy Lightening Talk about HPR. Martin Obando http://www.obandocomputing.com Mozilla http://mozilla.com/ Larry the Crunchbang guy http://www.crunchbang.org/ OrangeFS Amy Cannon http://orangefs.org/ Dice.com Nathan James www.Dice.com Linux Automation - Beer! http://www.linuxautomation.org/ Fedora Project http://fedoraproject.org/ iSEC Partners https://www.isecpartners.com/ Acquia https://www.acquia.com/ Linode http://www.linode.com/ OpenBSD http://www.openbsd.org/ Free Software Foundation www.fsf.org Linux Professional Institute www.lpi.org GSLUG http://gslug.org/ Ubuntu Washington http://loco.ubuntu.com/teams/ubuntu-washington/ KDE www.kde.org

May 09, 2013

Hacker Public Radio
HPR1245: TGTM Newscast for 2013-06-05 for by Dann Washko and DeepGeek
Here is a news review: GOP senators push bill to kill NLRB Pirate Party Enters Iceland’s National Parliament After Historic Election Win Obama Renews Guantánamo Closure Vow, Defends Force-Feeding Challenge Lean Socialist Pirate Bay Founder on Trial Next Month Facing Societal Damage Claims MPAA Executive Tampered With IFPI Evidence in Internet Piracy Case EFF to Federal Judge: Don’t Let the DMCA be a Tool for Censorship What Is TPP? Biggest Global Threat to the Internet Since ACTA Hiawatha 9.1 has been released Other Headlines: Brooklyn Anarchist Refusing to Play Along With the System Green Party Accuses Cuomo of Unconstitutional Attacks on Political Parties Why We Need to Understand the Apocalyptic Worldview of a Small Group of Radical Muslims Reflections on Iceland’s Election of Pirate MPs Cuba: Viable Socialism & Chavez at May Day Parades Staffed and produced by the TGTM news team, Editorial Selection by DeepGeek, views of the story authors reflect their own opinions and not necessarily those of TGTM news. News from "maggiemcneill.wordpress.com,"  "inthesetimes.com," and "hiawatha-webserver.org" used under arranged permission. News from "torrentfreak.com," and "eff.org" used under permission of the Creative Commons by-attribution license. News from "democracynow.org," and "peoplesworld.org" used under permission of the Creative Commons by-attribution non-commercial no-derivatives license. News Sources retain their respective copyrights. Links http://peoplesworld.org/gop-senators-push-bill-to-kill-nlrb/ http://torrentfreak.com/pirate-party-enters-icelands-national-parliament-after-historic-election-win-130428/ http://www.democracynow.org/2013/5/1/headlines#511 http://maggiemcneill.wordpress.com/2013/05/02/challenge/ http://inthesetimes.com/article/14873/lean_socialist/ http://torrentfreak.com/pirate-bay-founder-on-trial-next-month-facing-societal-damage-claims-130429/ http://torrentfreak.com/mpaa-executive-tampered-with-ifpi-evidence-in-internet-piracy-case-130427/ https://www.eff.org/deeplinks/2013/05/eff-federal-judge-dont-let-dmca-be-tool-censorship https://www.eff.org/deeplinks/2013/04/tpp-biggest-global-threat-internet-acta http://www.hiawatha-webserver.org/weblog/55 http://nymag.com/daily/intelligencer/2013/04/brooklyn-anarchist-refuses-to-testify-in-bombing.html http://www.web.gpnys.com/?p=12452 http://sacsis.org.za/site/article/1635 http://torrentfreak.com/reflections-on-icelands-election-of-pirate-mps-130428/ http://www.havanatimes.org/?p=92316

May 08, 2013

Off the Hook
Off The Hook show for May 8, 2013


Hacker Public Radio
HPR1244: LiTS 029: ab - apache benchmark.
This episode of LITS talks about using Apache Benchmark utility to test websites. Learn how to use and interpret the results of Apache Benchmark.

The Linux Link Tech Show
The Linux Link Tech Show Episode 504
Rich mess up job interview, litecoin, google glasses, debian

May 07, 2013

Hacker Public Radio
HPR1243: Wargames Anniversary
Wargames is 30 years old, this is my tribute to one of my favourite films. Some text taken from Wikipedia page for the film CC-BY-SA Modem sound from Freesound user joedeshon CC-BY

May 06, 2013

Paul Dot Com
Andrew Righter, Banasidhe on BSidesLV, Drunken Security News - Episode 330 - May 2, 2012
After 5 years of diving into the Security world head first, Andrew has finally come up bruised, beaten and a little less stupid. Like most hackers, he has ripped apart, modified and rewritten every electron and every bit possible - and under proper supervision has even gotten to play with a few really expensive toys. He now spends his time bootstrapping his DARPA CFT project (Netoko), hacking automotive networks (GoodThopter), or playing with academics as a Visiting Scholar at the University of Pennsylvania.

Hacker Public Radio
HPR1242: What's Wrong With Free, Anyway?
In looking at the distinction between free of charge and free as in freedom, some interesting issues emerge. I argue that free of charge is often not what we should be lookiing for if we want good software options. But because I like going the long way around behind the barn to get anywhere, I start off in the Music business. Links to things I mentioned The Lefsetz Letter Amanda Palmer's TED Talk My web site is at http://www.zwilnik.com/. Remember to support free software!

May 05, 2013

Hacker Public Radio
HPR1241: Community News for April 2013
A monthly look at what has been going on in the HPR community. This is a regular show scheduled for the first Monday of the month. New hosts Welcome to our new host: Russ Wenner, Jezra, and Helvetin. Show Review id title host 1219 The Care and Feeding of the Flintlock Muzzleloading Rifle Russ Wenner 1220 Cinnarch 64 bit, Installation Review FiftyOneFifty 1221 TGTM Newscast 93 for 2013-04-02 DeepGeek and Dann Washko Tgtm News Team 1222 LiTS 027: mathematical commands Dann 1223 How I got into linux Jezra 1224 Podio Book Report on Jake Bible's "Dead Mech" FiftyOneFifty 1225 Modern Survivalism Part 2 Tracy Holz_Holzster 1226 TGTM Newscast for 2013-04-09 DeepGeek & Pokey Tgtm News Team 1227 Not-A-Con interview mordancy 1228 Utilizing Maximum Space on a Cloned BTRFS Partition FiftyOneFifty 1229 Chromebook Acer C7 Review Helvetin 1230 Google How Could You Neodragon 1231 TGTM Newscast for 2013-04-16 Bobobex Tgtm News Team 1232 LiTS 028: extended attributes Dann 1233 Playing Ingress Epicanis 1234 fightcodegame.com Mike Hingley 1235 Talk Cyberpunk To Me sigflup I would like to suggest the following amendments to the scheduling rules detailed below in ALL CAPS bellow: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ http://hackerpublicradio.org/calendar.php#normal_priority We now release shows based on when the hosts last had a show aired. This brings new hosts and returning hosts to the top of the queue to encourage their efforts, and it also spreads out shows submitted in batches and gives a wider variety of hosts. Once a host is determined, the first show uploaded by that host is released. If you wish your shows to be released in a particular order then make sure you make that obvious in the title and by emailing admin@hackerpublicradio.org. You can swap the order of the shows but it involves additional effort and is frowned upon :). WHERE POSSIBLE WE WILL NOT RELEASE SHOWS FROM THE SAME HOST IN ANY ONE WEEK. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ http://hackerpublicradio.org/calendar.php#synicated_shows Syndicated Shows We will continue to promote new podcasts and other creative commons material but due to a lack of slots, we are only releasing material created exclusively for HPR. If there is a piece of creative commons content that you would like to promote, then feel free to record a regular show where you introduce the content and explain why it is important and providing links to where we can get more information. THESE SHOWS CAN BE RELEASED EITHER UNDER YOUR OWN NAME OR UNDER THE GENERIC HOST CALLED "VARIOUS CREATIVE COMMONS WORKS" (HOSTID 158) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The amendment "WHERE POSSIBLE WE WILL NOT RELEASE SHOWS FROM THE SAME HOST IN ANY ONE WEEK." had been included prior to the changes in January, but I would like to put it back. The amendment "THESE SHOWS WILL CAN BE RELEASED EITHER UNDER YOUR OWN NAME OR UNDER THE GENERIC HOST CALLED "VARIOUS CREATIVE COMMONS WORKS" was discussed in the mail list under the title of "Various Creative Commons Works" but the discussions got derailed. Please keep discussion to these two points only. As always Silence, or no comment is assumed to be approval. Ken. Also the addition of the following text to the Scheduling Rules: Please be aware that we cannot predict when your show will be out, but sooner of later it will be released. Sometimes a new host will jump to the top of the queue, while other hosts seem to be waiting a long time. This is because all the shows at HPR are scheduled according to the Scheduling Guidelines, which apply to everyone without exception. On the List Transfertags complete http://gitorious.org/hpr-scheduling-system/hpr-scheduling-system/blobs/master/transcoding/transfer_tags Shownote cleanup continues Direction idea for HPR website - XSLT Catalog of HPR Swag from 123stickers.com https://drive.google.com/folderview?id=0B0VQmm3RmAmeMENUWUl6SmhSdjg&usp=sharing How do the postings work? Android App HPR topic requests http://hackerpublicradio.org/contribute.php#requested_topics Andriod Application http://corenominal.org/demo/hpr Reports of issues with the FTP server Aaron Swartz In Memoriam Removing the dev mail list Show upload form/ATOM feed/Opus questions... http://blinky.dogphilosophy.net/atomtest.xml Multiple host uploads Adding a list of "promised shows" Various Creative Commons Works/ Is there a backlog or not To hide the actual number of shows, Not the hacker ethic Should there be regular backup and a end of the line Think about how we should rotate the HPR lead role Todo List New Show Flow Rate/Average wait times Android App Crediting multiple hosts Processing Securing the website Upload Form Fixing broken links Fixing broken HTML/Converting to HTML5/CSS3 thelinuxlink.pl Done DB support for summary and tags Move FTP Server internally, add new links to readme and sample show notes http://hackerpublicradio.org/contribute.php http://hackerpublicradio.org/sample_shownotes.html http://hackerpublicradio.org/README.txt Search options Introduction of show Tags Automatic tagging of media files To Do Automate the presentation Introduction to HPR video Add ATOM Feed Opus Support Events Page Twitter/Identi.CA Feed Upload to Archive.org Automating media upload, identification and transcoding Events sigflup: Notacon April 18-21, 2013, Hilton Garden Inn in Downtown Cleveland http://www.notacon.org/event-information-2/ OCPLive May 27 Memorial Day Weekend Philadelphia http://ocplive.com/ We would like more backup shows There are 32 shows in the queue from 13 hosts. Consider contributing a show. http://hackerpublicradio.org/calendar.php

May 02, 2013

Hacker Public Radio
HPR1240: Doomsday Rule
HPR Episode: Doomsday Perpetual Calendar Method What is it? http://en.wikipedia.org/wiki/Doomsday_rule (due to John H. Conway, a mathematician born in Liverpool) * He's done other research that hackers might like to check out. * Look up the "Game of Life" and "cellular automata". * There may be episodes on these topics, but those should come with visualization software. John H. Conway http://en.wikipedia.org/wiki/John_Horton_Conway Game of Life http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life Doomsday Rule lets you find the day of the week for any date * Dates in history, in immediate past or in future are all good. * Works for both the Gregorian and Julian calendar. - I'll only be looking at Gregorian dates for now. - Method should work well for dates from 1800 onward. - If dates for non-Gregorian calendars are converted to their (extrapolated) Gregorian equivalents, this method works. Wikipedia entry (includes recent optimization): http://en.wikipedia.org/wiki/Doomsday_algorithm Why do this? It came up in Episode Zero of my "N Days" show on calendar counting, where I used it without explanation. http://hackerpublicradio.org/eps.php?id=1143 Demos: Check these answers at www.day-calculator.com * Some listeners may now adjourn to the latest Linux Outlaws episode. Method: Get Century Anchor Day, calculate offset for the year to find Doomsday's reference location for current year, find closest reference date to target date, and count off to the answer. a) Isaac Newton's date of birth: - 25 December 1642 - 1600's Tuesday. Year 42 = 3*12 + 6 and (6/4) = 1. Hence 3 + 6 + 1 = 10 for an offset of 3. Tuesday + 3 = Friday. 12/12 is Friday, so 12/26 is Friday Newton was born 12/25, so that was a Thursday b) My grandfather's date of birth: - 20 January 1898 - 1800's anchor is Friday. Year 98 = 8*12 + 2, (2/4) = 0. So 8 + 2 + 0 = 10 gives an offset of 3. - 1898 wasn't a leap year, so 10 January was Monday - That means 17 January was a Monday, too. - So 20 January 1898 was a Thursday. c) A wedding anniversary that I like to remember: 15 May 2000 - 2000 has anchor day on Tuesday, and no offset. - Rule: "I work 9 to 5 at 7-11", so 9 May (16 May) are on Tuesday. - 15 May 2000 was a Monday. True. 'Twas the day after Mother's Day. d) My parent's wedding day: 19 May 1957 - 1900 has anchor day Wednesday. 57 = 4*12 + 9 and (9/4) = 2. - So 4 + 9 + 2 = 15 or an offset of 1. - 9 May is Thursday, as is 16 May. The 19th is 3 days later. - So 19 May 1957 was a Sunday. Plan: I'm going to reveal the magic behind this, and introduce some mental shortcuts to help you learn to do this in your head. If you can master the 12's row in your times tables up to 8 times 12, and the 4's row up the 20s or 30s, and you can tell time on a 12-hour clock, you should be able to do this. We're not in school, so paper and pencil to track the numbers, and finger-counting offsets to days of the week are all allowed. Explanation: 1. Certain memorable dates fall on the same day of the week as "Doomsday" = last day of February, whatever that is. 2. Dates recycle every 400 years, and Doomsday Anchor dates by Century are 1600: Tuesday, 1700: Sunday, 1800: Friday, 1900: Wednesday. 3. That's enough, but to simplify mental math notice 12-year cycles. - Every completed 12 years pushes the days of the week ahead by +1 - Each year within the current incomplete cycle adds +1 - Each leap year in current cycle adds +1 (including current year) 4. Doomsday dates are: a. January 10 and Doomsday (last day of February) b. Odd months: Add +4 through July, then subtract 4. 7 March, 9 May, 11 July 5 September, 7 November c. Even months are reflexive: 4/4, 6/6, 8/8, 10/10, 12/12 See the attached spreadsheets for examples and annotated calculations. - LibreOffice Calc: 229-Charles-in-NJ-Doomsday-Rule-v1.ods - Excel 5/95 'xls' for LibreOffice or Gnumeric: 229-Charles-in-NJ-Doomsday-Rule.xls - Gnumeric: 229-Charles-in-NJ-Doomsday-Rule-v1.gnumeric Bonus Content: - Excel VBA module: 229-Charles-in-NJ-Doomsday-Rule.vbaxl.bas * Import the .bas module * Input is an Excel "Date" object * Very proprietary formats and code, but some people use it. - Python: doomsday.py * Contains two functions: Each returns a string value for the day of the week, e.g., "Sunday" dayOfWeek(year, month, day): Doomsday is last day of February, and the (month, day) are converted to relative ordinal dates. For leap years, we have to push both Doomsday and any target date after 28 February up by one for the leap day. dayOfWeek2(year, month, day): Doomsday date anchors are computed for each month, so leap years require adjustments to the anchors for January and February to account for the shift in the February ending date. Later months are fine. - Script for GNU 'bc': doomsday.bc is a bc 'port' of the Python code * Differences: Return value is a number from 0-6 that represents the day of the week by its relative position. 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday * In a shell, run 'bc' with the filename as an argument: catintp@Derringer:~$ bc doomsday.bc - This loads the two functions in the file. You can invoke them within 'bc' like any other function: dayofweek(1981, 5, 15) dayofweek2(1642, 12, 25) dayofweek(2013, 11, 22) dayofweek2(2059, 5, 19) - Alternate Script for GNU 'bc': doomsday2.bc * Return value is still a number from 0-6 that represents the day of the week by its relative position. * Uses a side effect to print a human-friendly answer. * English only, but localisation should be easy. Links http://hackerpublicradio.org/eps/1240/20130401T171122Z_229_Charles_in_NJ_Doomsday_Rule.zip http://en.wikipedia.org/wiki/Doomsday_rule http://en.wikipedia.org/wiki/John_Horton_Conway http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life http://en.wikipedia.org/wiki/Doomsday_algorithm http://hackerpublicradio.org/eps.php?id=1143 http://www.day-calculator.com http://hackerpublicradio.org/eps/1240/229-Charles-in-NJ-Doomsday-Rule-v1.ods http://hackerpublicradio.org/eps/1240/229-Charles-in-NJ-Doomsday-Rule.xls http://hackerpublicradio.org/eps/1240/229-Charles-in-NJ-Doomsday-Rule-v1.gnumeric http://hackerpublicradio.org/eps/1240/229-Charles-in-NJ-Doomsday-Rule.vbaxl.bas http://hackerpublicradio.org/eps/1240/doomsday.py http://hackerpublicradio.org/eps/1240/doomsday.bc http://hackerpublicradio.org/eps/1240/doomsday.bc http://hackerpublicradio.org/eps/1240/doomsday2.bc


[more]
Link to us!

Hackermedia.org is provided by:
Binary Revolution | Infonomicon Computer Club