Hi, I’m a writer. My hobbies include not writing.
mizurou-san
wallacepolsom

No title available
he wasn't even looking at me and he found me

izzy's playlists!
$LAYYYTER
occasionally subtle

Origami Around

Kaledo Art
will byers stan first human second
Keni
Aqua Utopia|海の底で記憶を紡ぐ
taylor price
No title available
cherry valley forever
Sweet Seals For You, Always

Discoholic 🪩
🪼
todays bird
Today's Document
AnasAbdin

seen from India

seen from Malaysia
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
seen from United States

seen from United States
seen from United States
seen from United States
seen from United States
seen from United States
seen from Australia

seen from United States
seen from Poland
seen from United States

seen from United States

seen from United States
seen from United States
@enlightenedpotato
Hi, I’m a writer. My hobbies include not writing.
mizurou-san
THANKS OBAMA.
Celty wouldn’t do LSD.
josh (via mizurou-san)
On that day humanity received WWE Superstar JOHN CENA
folk-and-flannel
I’m coding a Java program that will play sound...
I once turned the windows error sound to “I’m sorry dave, I’m afraid I can’t do that.” let me tell you, that was one hell of a surprise once i forgot about it
Oh my god David.
when the farmer gives you the good hay
This is the program right now. I’ll take the mmm watcha say out of the else statement when it stops being funny.
import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import java.io.File; import java.util.Scanner;
/** * Created by Joshua on 9/16/2015. */ public class Sound { public static void main(String[] args) { Scanner scan = new Scanner(System.in); //Creates scanner System.out.println("Play simple plan or mmm watcha say? "); //Gives user choice String Input = scan.next(); //Gets input of which song File say = new File("WatchaSay.wav"); //Creates file object for Watcha Say File simple = new File("SimplePlan.wav"); //Creates file object for Simple Plan if ("simple".equalsIgnoreCase(Input)) { //Checks input PlaySound(simple); //Plays simple plan } else{ PlaySound(say); //Plays mmm watcha say } } static void PlaySound(File Sound) { //Method to play file; takes song from conditional as argument try { //Basic try catch loop Clip clip = AudioSystem.getClip(); //Creates audio clip clip.open(AudioSystem.getAudioInputStream(Sound)); //Assigns clip to the sound clip.start(); //Plays the sound
Thread.sleep(clip.getMicrosecondLength() / 1000); //Keeps program open for length of clip } catch (Exception e) {
} } }
I’m coding a Java program that will play sound clips I made, and I’m having trouble with my if loop structure. I’ve put a clip of “mm watcha say” in the else statement, so it plays if my code screws up. So far, it’s made humor out of the horrid process of debugging.
matthwcrawley:
#this is why they made you live under the stairs for 10 years.
AU where magic and unicorns and mermaids and dragons exist and people read cool fantasy books about taxes and dishwashers
arthur weasley
A philosophy I very much live my life by.
Yeah, too bad he was a Nazi.
was he? shit
I’m assuming by “he was a Nazi” you meant he played a PARODY of Hitler in a MOVIE and in that same movie he also plays a barber who disguises himself as said Hitler parody and delivers one of the greatest anti-fascist speeches of all time.
It’s okay. It’s an easy mistake to make.
Literally where does someone come up with the idea that a Polish immigrant with heavy leftist leanings is in any way a Nazi
me @ my favorite characters: why the fuck u dying.... why u always dying....HnnNNNOHH MyYyy GOD STOP FUCKING DYING.
Tumblr: providing top keks for years to come :^)
kej