1. java.util.Calendar ~ what day of the week is it?

    java.util.Calendar ~ what day of the week is it?

    I’m new to Java and i had a bit of a problem trying to work out what day of the week it is/was. i’d been using java.util.Date to no avail. Then I discovered (well, it was new to me) java.util.Calendar. It was just what i needed. Here’s a bit of code i used to check it worked:

    package miniCalendarExperiment;

    import java.util.Calendar;
    import java.util.Date;

    /**
    *
    * @author Seamus @ bearsbreeches.com
    */

    p…

    View On WordPress

    2 days ago  /  0 notes

  2. radetzky-marsch:

    It’s official: I hate my life.

    Chin up.

    6 days ago  /  1 note  /  Source: radetzky-marsch

  3. Java Moire Pattern

    I’ve never used any of the Java graphics APIs before. What better way to get started than to create a very simple program that creates a moire pattern and writes that moire pattern to a file ( a PNG file).

    Here’s the code:

    package com.bearsbreeches;
    import javax.imageio.ImageIO;
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;

    public class…

    View On WordPress

    1 week ago  /  0 notes

  4. heavyfilthybass:

    ibetyouthisworks:

    Awesome demo of whats going to be an awesome with added awesome sauce tune.

    Really, awesome stuff right there ibetyouthisworks!

    Featured link:
    Cidinho e Doca - Eu só quero ser feliz (Electrosaga remix)

    1 week ago  /  2 notes  /  Source: SoundCloud / streakyshad

  5. If you like a bit of mindless trance then this is for you.

    1 week ago  /  0 notes  /  Source: SoundCloud / streakyshad

  6. Awesome demo of whats going to be an awesome with added awesome sauce tune.

    1 week ago  /  2 notes  /  Source: SoundCloud / streakyshad

  7. On our flight out to Thailand for our honeymoon, [my husband] got stopped at Heathrow security as he was deemed to be causing offence to other passengers. His crime? Wearing at T-shirt with a picture of a Lego Han Solo and the words “Don’t get Cocky!”

    Ten airport horror stories that will make you never want to fly again

    One reader submitted the entire plot of Die Hard II. 

    (via guardian)

    (via guardian)

    3 weeks ago  /  158 notes  /  Source: theguardian.com

  8. guardian:

A painted face at a traditional wedding ceremony for Bosnian women from Zhupa at the Ethnological Museum in Pristina. Traditionally, older ladies prepare young brides, painting their faces in many layers of colours. (Armend Nimani/AFP/Getty Images)
• See more of today’s photo highlights 

    guardian:

    A painted face at a traditional wedding ceremony for Bosnian women from Zhupa at the Ethnological Museum in Pristina. Traditionally, older ladies prepare young brides, painting their faces in many layers of colours. (Armend Nimani/AFP/Getty Images)

    See more of today’s photo highlights 

    3 weeks ago  /  365 notes  /  Source: theguardian.com

  9. guardian:

by Tom Gauld 

    guardian:

    by Tom Gauld 

    1 month ago  /  3,063 notes  /  Source: guardian

  10. guardian:

Earth may have underground ‘ocean’ three times that on surface
After decades of searching scientists have discovered that a vast reservoir of water, enough to fill the Earth’s oceans three times over, may be trapped hundreds of miles beneath the surface, potentially transforming our understanding of how the planet was formed. Full story here
Photo: Blue Line Pictures/Getty Images

    guardian:

    Earth may have underground ‘ocean’ three times that on surface

    After decades of searching scientists have discovered that a vast reservoir of water, enough to fill the Earth’s oceans three times over, may be trapped hundreds of miles beneath the surface, potentially transforming our understanding of how the planet was formed. Full story here

    Photo: Blue Line Pictures/Getty Images

    1 month ago  /  7,018 notes  /  Source: theguardian.com