• About

Bespoke Blog

~ Science! Culture! Computational Engines!

Bespoke Blog

Tag Archives: coding

Backup Your Google Life: gback

27 Wednesday Jul 2011

Posted by bwkeller in computer science, programming, projects

≈ Leave a comment

Tags

backup, cloud, coding, computers, gback, google

You should all be watching Steins;Gate There was a rant that bounced up and down the tubes of the internet this week, talking about how one poor fellow migrated all of his important data into google services, only to have google pull the digital rug out from under him by deleting his account after it was algorithmically flagged.  This sucks, but one thing I have always been pestered about is the importance of regular backups.  Just because google is “the cloud” doesn’t mean your data is in a deadly limbo state of potential destruction if you don’t back it up.  The problem is, backing up a machine you control is damn easy, while backing up your cloudified data is not. Continue reading →

Programming Mathematical Functions with Taylor Polynomials

14 Thursday Jul 2011

Posted by bwkeller in astrophysics, computer science, programming, research

≈ 5 Comments

Tags

arduino, astronomy, coding, math, programming, taylor series

Taylor Approximation of Sine

Taylor Series Approximation of Sine

I’ve been thinking of writing an astronomical toolkit for Arduino, to help users build their own go-to telescope mounts, satellite trackers, heliostats, and other cool amateur astronomy equipment.  As anyone who has ever worked with astronomical coordinate systems know, since astronomers treat the sky as a 2 dimensional spherical surface, most calculations involving positions on this surface involve a good deal of trigonometry.  While the Arduino library includes built-in functions for sine and cosine, it lacked the inverse trigonometric functions arcsine and arccosine.  These are necessary if you ever need to convert a length ratio into an angle.  It is impossible to convert between different sky coordinate systems (like Horizontal and Equatorial, the two most common) without access to these functions.  In today’s post, I’ll show you how I wrote my own arcsin() and arccos() functions using Taylor polynomials.

Continue reading →

Proprietary Probiotic Culture Generator!

16 Monday Mar 2009

Posted by nfitzgerald in advertising, programming

≈ 5 Comments

Tags

advertising, biology, coding, humor, humour, marketing

Yoghurt advertisements are the funniest thing on TV. First, they are marketed almost exclusively to women – apparently those of us with a Y chromosome are not deemed by the marketing gurus to delight in fermented milk and fruit chunks with quite the same enthusiasm as the fairer sex. Second is the sheer creativity and variety that they manage to apply to marketing what is a fairly standard product.

But my favourite yoghurt marketing technique of all is the super-pseudo-scientific Patented Proprietary Probiotic Cultures – the glorious amalgamations of biological jargon and pseudo-Latin, such as Activia’s “Bifidus Actiregularis” or “L. casei Defensis”. These names, carefully crafted in the bowels of some advertising agency, are calculated to suggest that what you’re getting is the latest in Yoghurt Technology – when in actuality it is merely a proprietary strain of the same bacteria you will find in any yoghurt.

But why should big food companies be having all the fun? Why can’t you and I have our own patented organisms, too? I think we can. And in order to facilitate this, I have created the Proprietary Probiotic Culture Generator. Click the button below to get your own name – perfect for over-hyping any bacteria-based food products you may wish to market in the future!

probioticgenerator_button

(Warning: due to Microsoft’s terrible support for open web standards, the above link may not render properly in Internet Explorer)

Though I doubt this will be of any use to anyone, as a matter of principle the source-code for this generator is available here, under the terms of the GNU-GPL v3.

Storing and Retrieving java Bitset in MySQL database

25 Friday Jul 2008

Posted by nfitzgerald in java, programming

≈ 2 Comments

Tags

coding, java, mysql, programming

I had one of those frustrating days where you spend hours and hours searching around for what should be a simple coding solution, to no avail. Finally I was able to patch together enough disparate knowledge to achieve my goal: namely, storing and retrieving a java BitSet on a MySQL database. Below is the solution, which I hope might help any other unfortunate souls looking for this answer.

Continue reading →

May 2022
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
« Mar    

Ben’s Tweets

  • RT @Alex_T_Young: Fetterman will be such an asset as we transition into the “brawling on the senate floor” phase of democratic decline 1 day ago
  • RT @narsi1ion: TES 6 Vaermina quest leaked theguardian.com/world/2022/may… 2 days ago
  • RT @jerseyphysicist: yeah s*x is cool but have you ever had a long ass expression and every other term cancels except one 2 days ago
  • RT @girlandkat: No rest for construction workers in Yokohama today 🐶 ⛑! https://t.co/fucmj7UiI1 5 days ago
  • @frogs4girls MUDA MUDA MUDA 5 days ago

Nicholas’ Tweet’s

  • RT @michielsdj: Now accepted to @iclr_conf! 🎆 3 months ago
  • @mjskay Yeah, I feel a major point people were missing is that an endless spiral into the drain is actually the perfect visual metaphor. 4 months ago
  • RT @_theopompus: A project I'm extremely excited about! An alternative way to incorporate information from the entire Wikipedia (or any oth… 7 months ago
  • RT @MsdJ29: Happy to share a project I've been working on for a while now (with @_theopompus @nfitz @feishaAI @professorwcohen, at Google R… 7 months ago
  • New paper with @MsdJ29 @_theopompus @feishaAI @professorwcohen at Google Research: Mention Memory… twitter.com/i/web/status/1… 7 months ago

Top Posts

  • Basic Data Plotting with Matplotlib Part 3: Histograms
  • Sunset Time Series
  • Filesystem Organization for Physicists Part 1: The Problem
  • Pedal-Powered Lightshow
  • Science is Aesceticism
  • Accidental Pilish: Unintentionally Constrained Writing in English Literature
  • 400 Word Essay 1: Public Libraries in the Digital Age
  • Proceedings of the Association of Pilish-English Research (PAPER)

Tags

100daychallenge advertising astronomy bash biology blogs BMC books browsers Bulshytt calligraphy canada coding cognitive computers computer science css EEE elvish ereaders ethics evolution experiments facebook google government html humor humour ICP I hate this class iliad internet explorer irex java javascript lego letter libraries marketing materialism matplotlib maze mindstorms mods morality mysql networking neuroscience pens philosophy philsophy php Pilish prime minister programming psychology reading review robots science SENG servers sociology steampunk stupid technology time ubc UNIX url vim web web design writing

Blogs We Read

  • Bad Astronomy
  • Boing Boing
  • Rationally Speaking
  • Terry Project (UBC)

RSS Nicholas’ Terry Posts

  • An error has occurred; the feed is probably down. Try again later.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 163 other followers

Create a free website or blog at WordPress.com.

  • Follow Following
    • Bespoke Blog
    • Join 163 other followers
    • Already have a WordPress.com account? Log in now.
    • Bespoke Blog
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...