Search found 1497 matches

by joeframbach
Sun Jan 04, 2009 10:22 pm UTC
Forum: Coding
Topic: Zune leap year bug
Replies: 20
Views: 3273

Re: Zune leap year bug

If memory serves me right, the MS epoch is Jan 1 1980. There's something like 10593 days from then to Dec 31 2008. If you step through, you'll end up on the 366th day of a leap year, which will cause, you know, an EPOCH FAIL.
by joeframbach
Sun Jan 04, 2009 5:07 pm UTC
Forum: Science
Topic: Two Way Mirror and an LCD Screen
Replies: 14
Views: 5553

Re: Two Way Mirror and an LCD Screen

Could you keep us updated on the progress of this project? I'd like to see how it turns out.
by joeframbach
Sun Jan 04, 2009 2:11 am UTC
Forum: General
Topic: XKCD project i need help with
Replies: 21
Views: 2392

Re: XKCD project i need help with

Mikesername wrote:That's going to be HUGE.

You should sell 'em :P

And you would get away with it too, if it weren't for those meddling CC Non-Commercial Licenses.
by joeframbach
Sat Jan 03, 2009 6:19 pm UTC
Forum: Coding
Topic: "For one such as me, who would like to be..a Programmer...!"
Replies: 9
Views: 1457

Re: "For one such as me, who would like to be..a Programmer...!"

"Computer Programming" is a major in college? I must've missed that one. Programming is usually a first-year course, and even then it's recommended that you know this stuff before going in. No professor is going to teach you how to program. In fact, a few of my professors have strict "...
by joeframbach
Fri Jan 02, 2009 4:23 pm UTC
Forum: Logic Puzzles
Topic: Odd code
Replies: 17
Views: 2070

Re: Odd code

ok I came up with my own encoded string, following all of your rules. Ready? Here goes:

abcdefghijklmnopqrstuvwxyz
by joeframbach
Thu Jan 01, 2009 8:44 pm UTC
Forum: Coding
Topic: Regular Expressions (for Rainmeter)
Replies: 3
Views: 2223

Re: Regular Expressions (for Rainmeter)

Try using this site instead: http://api.hostip.info/get_html.php
by joeframbach
Thu Jan 01, 2009 2:27 am UTC
Forum: Logic Puzzles
Topic: Odd code
Replies: 17
Views: 2070

Re: Odd code

Given such a small text to decode, it could be made to mean anything. Your "Hello World!" could just as easily be "Jello Voila!" without beaking any rules. A larger text (e.g., a book) would make a unique solution more obvious. For encoding small strings like passwords, yeah this...
by joeframbach
Wed Dec 31, 2008 8:05 pm UTC
Forum: Logic Puzzles
Topic: Odd code
Replies: 17
Views: 2070

Re: Odd code

BIG SPOILER, the decoding sheet: ( the answer if you will) a 001 b 010 c 1100 d 110 e 1000 f 110 g 1110 h 0110 i 000 j 0101 k 111 l 0010 m 010 n 0001 o 01 p 10 q 0011 r 1100 s 00 t 0111 u 1101 v 0100 w 11 x 1111 y 1001 z 0 _ 1011 (space) a 1 b 0 c 0 d 1 e 0 f 1 g 1 h 0 i break j 1 k 1 l 1 m...
by joeframbach
Wed Dec 31, 2008 4:01 am UTC
Forum: Logic Puzzles
Topic: Odd code
Replies: 17
Views: 2070

Re: Odd code

each set of 1's and 0's is separated by one of three "break" characters, indicating that a new character has started, there is a minimum of 2 1/0's per character and a max of 4. Some sequences of 1's and 0's are spaces. You say the max word-length is 4. Are you absolutely certain 'u&#...
by joeframbach
Thu Dec 18, 2008 9:40 pm UTC
Forum: Coding
Topic: A question on my Midterm
Replies: 21
Views: 1829

Re: A question on my Midterm

Why Two Kay wrote:if(character NOT in letters)
I was going to say that you could do much better than O(n) here, but hell, this method is provided in Java. Nevermind.
by joeframbach
Thu Dec 18, 2008 4:05 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0035: "Sheep"
Replies: 27
Views: 6727

Re: "Sheep" discussion

Bulbapedia wrote:Mareep's wool stores electricity, and increases in volume when it builds up with static electricity. Touching the wool when the wool is charged will result in a nasty static shock. The bulb at the end of Mareep's tail glows brighter the more electricity it has.


Obviously.
by joeframbach
Wed Dec 17, 2008 3:14 am UTC
Forum: Religious Wars
Topic: Firefox 3 v.s. Google Chrome?
Replies: 105
Views: 95181

Re: Firefox 3 v.s. Google Chrome?

I use the keyboard for nav. The Thinkpad T61 has pageleft and pageright buttons above the arrow keys, and they work with back/forward on FF. Home is Alt+Home. New Tab is Ctrl+T. Close Tab is Ctrl+F4. Stop is Esc. It's all much faster than messing with the mouse. Do yourself a favor, google Nightly ...
by joeframbach
Sat Dec 13, 2008 8:33 pm UTC
Forum: Coding
Topic: C++ between expression: x < y < z
Replies: 23
Views: 7141

Re: C++ between expression: x < y < z

If you're wondering why 0<0<10 returned true, the order of execution goes like this:
(0<0)<10 // (0<0) is false, but is treated as an integer 0.
0<10 // == true.
by joeframbach
Sat Dec 13, 2008 8:28 pm UTC
Forum: Religious Wars
Topic: Firefox 3 v.s. Google Chrome?
Replies: 105
Views: 95181

Re: Firefox 3 v.s. Google Chrome?

I like the customizability of FF. Here's what mine looks like on Intrepid, with Topper, TinyMenu, and Download Statusbar. My home page is goosh.org, so opening FF is like opening a Terminal (sweet!) I use the keyboard for nav. The Thinkpad T61 has pageleft and pageright buttons above the arrow keys,...
by joeframbach
Sat Dec 13, 2008 6:06 pm UTC
Forum: Food
Topic: Odd dining experiences.
Replies: 39
Views: 6635

Re: Odd dining experiences.

Brazilian steakhouse. Amazing service of an army of servers keeping a constant eye on when you want more meat from a shishkabob (or however the heel it is spelled) plus a kick-ass salad bar (although it is not really a salad bar, it has some meats like salmon and pork). The one I went to also had U...
by joeframbach
Thu Dec 11, 2008 2:34 am UTC
Forum: Food
Topic: Odd dining experiences.
Replies: 39
Views: 6635

Re: Odd dining experiences.

Oh man I went to this really weird Chinese restaurant last week. When you sit down at the table, your plate is right in front of you, there's a chopstick to the left of your plate, and a chopstick to the right of your plate. Of course, to eat you have to pick up both chopsticks, but that really piss...
by joeframbach
Tue Dec 09, 2008 9:59 pm UTC
Forum: Your art and links
Topic: How computer viruses first began
Replies: 2
Views: 1181

Re: How computer viruses first began

Shouldn't this be in FaiD?
by joeframbach
Tue Dec 09, 2008 3:19 pm UTC
Forum: Computer Science
Topic: People on irc are more ignorant than I thought
Replies: 18
Views: 2499

Re: People on irc are more ignorant than I thought

HNSZ wrote:[math]\sum_{k=1}^{\infty}\frac{1}{2^{k}} = 1[/math]So an infinitely big floating point variable without exponent bits can represent 1.
--
I know, I just wanted to try some latex.

Infinite precision? Sign me up!
by joeframbach
Mon Dec 08, 2008 8:47 pm UTC
Forum: Computer Science
Topic: People on irc are more ignorant than I thought
Replies: 18
Views: 2499

Re: People on irc are more ignorant than I thought

Would I be wrong in proposing that for all n,m | n<m, all finite-length strings in base n have finite-length m-base representations? Edit: D'oh! Yeah. 0.1 3 = 0.333... 10 You already figured it out, but you need n to be a divisor of some power of m (requiring that n divide m is too strong of a cond...
by joeframbach
Mon Dec 08, 2008 8:01 pm UTC
Forum: General
Topic: Ever had a weird roommate?
Replies: 43
Views: 5298

Re: Ever had a weird roommate?

genkav wrote:i could just leave a surprise in his shampoo bottle...

What, like Pantene Pro V in his Head'n'Shoulders?
by joeframbach
Mon Dec 08, 2008 7:58 pm UTC
Forum: Computer Science
Topic: People on irc are more ignorant than I thought
Replies: 18
Views: 2499

Re: People on irc are more ignorant than I thought

Would I be wrong in proposing that for all n,m | n<m, all finite-length strings in base n have finite-length m-base representations?

Edit: D'oh! Yeah. 0.13 = 0.333...10
by joeframbach
Mon Dec 08, 2008 3:22 am UTC
Forum: General
Topic: Facts you won't accept
Replies: 85
Views: 7950

Re: Facts you won't accept

Dexter-spoiler:
Spoiler:
That Miguel Prado killed LaGrerta

Wait..... that didn't happen! Oh shit!
by joeframbach
Sun Dec 07, 2008 1:51 am UTC
Forum: General
Topic: Secret Santa Gift Ideas <$10
Replies: 29
Views: 8672

Re: Secret Santa Gift Ideas <$10

$10 is always a great gift. Always.

Birthday? $10.
Wedding? $10.
Christmas? $10.
Funeral? $10.
by joeframbach
Sat Dec 06, 2008 10:42 pm UTC
Forum: School
Topic: Is a B.S. in CompSci easier than one in biology?
Replies: 17
Views: 2329

Re: Is a B.S. in CompSci hard? (take 2)

Personally, I've found that CS takes a lot of time rather than effort, or at least it takes more time than effort. For most "hard" problems I've come across, I would study the problem for a few minutes, move on, and come back to it in a few hours and try something else for a while. Theory ...
by joeframbach
Fri Dec 05, 2008 9:52 pm UTC
Forum: Hardware
Topic: Advice needed for building a PC.
Replies: 12
Views: 1795

Re: Advice needed for building a PC.

Motherboard doesn't have PCI Express 2.0. I see. Does that mean they are not compatible, or just that the motherboard will not utilize the full power of the GPU? What is the best alternative? switching a mobo or a GPU? It just doesn't unleash the full power of the GPU. ...because there's no physica...
by joeframbach
Fri Dec 05, 2008 7:04 pm UTC
Forum: Mathematics
Topic: Popularity of famous mathematicians by Facebook fans
Replies: 18
Views: 2383

Re: Popularity of famous mathematicians by Facebook fans

For a while I had a picture of Erdos as my facebook pic. Nobody recognized it, and I was sad.
by joeframbach
Sat Nov 29, 2008 11:00 pm UTC
Forum: General
Topic: Buying a new pack
Replies: 5
Views: 743

Re: Buying a new pack

Yeah, the Lookout is a weekend/day pack, but I pack light. 5-6 days with the sleeping bag inside a bivy in a really tight compression sack, very few amenities, and all the rest is food.
by joeframbach
Sat Nov 29, 2008 5:27 pm UTC
Forum: Fit Club
Topic: Personal Records
Replies: 159
Views: 71249

Re: Personal Records

I'm running a 5k race on Saturday, so hopefully that one will change. Well, I did 18:25... so I set a PR (which almost never happens in a summer road race for me), but I started out way too fast, and I really think I should be under 18 soon. I should also be focusing on weight training or something...
by joeframbach
Sat Nov 29, 2008 4:48 pm UTC
Forum: Mathematics
Topic: Graphic Calculator Brand
Replies: 29
Views: 3231

Re: Graphic Calculator Brand

I used a TI-83+ in high school, but I never used a calculator throughout college. I own a HP 49g+ but it's rarely used.
Usually I fire up octave in a terminal.
by joeframbach
Sat Nov 29, 2008 2:51 pm UTC
Forum: General
Topic: Buying a new pack
Replies: 5
Views: 743

Re: Buying a new pack

That's a big pack! This summer on the AT I went 5-6 days at a time with a 2700 (44L) REI Lookout 2006, and even then I think it was too big. A 3700 just seems ginormous to me.
by joeframbach
Thu Nov 27, 2008 3:47 am UTC
Forum: Coding
Topic: help with code
Replies: 28
Views: 4197

Re: help with code

This page shows how to use JOptionPane: http://leepoint.net/notes-java/GUI/containers/20dialogs/10joptionpane.html Perhaps it would help if we removed all the unnecessary crap and cleaned up the code a bit. Then it would be easier to navigate. And for the love of God please keep your indentations un...
by joeframbach
Wed Nov 26, 2008 7:14 pm UTC
Forum: News & Articles
Topic: wikipedia
Replies: 7
Views: 1479

Re: wikipedia

1) Welcome to xkcd, runner_g33k. May I recommend you take the time out to shove a post here in the Intro Thread - http://forums.xkcd.com/viewtopic.php?f=2&t=10495 - to ensure your head does not get bitten off by Belial. This is no longer in the rules. It's a good idea to do it, but not necessary.
by joeframbach
Wed Nov 26, 2008 6:48 pm UTC
Forum: News & Articles
Topic: wikipedia
Replies: 7
Views: 1479

Re: wikipedia

There was already a thread on this... I'm sure someone with more superior forum-searching skills than a monkey will post a link to it soon... Ah. Here are some weird things people find on wikipedia. http://forums.xkcd.com/search.php?keywords=wikipedia&terms=all&author=&sc=1&sf=title...
by joeframbach
Wed Nov 26, 2008 3:29 pm UTC
Forum: Mathematics
Topic: Frustrating Math Challenge
Replies: 10
Views: 3110

Re: Frustrating Math Challenge

You could be a smartass and graph something like y=4-x^2, 0<x<2 , hand it back to your friend, and say "gee you didn't say whose dick I was supposed to graph," or some other statement implying that he is floppy or whatever.
by joeframbach
Wed Nov 26, 2008 3:14 am UTC
Forum: Coding
Topic: help with code
Replies: 28
Views: 4197

Re: help with code

import java.util.Scanner; // Use a do..while loop to accumulate a sum of integers // entered by the user public class Example15 { public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); int x; int sum = 0; do { System.out.print("Enter integer (or 0 to quit): ")...
by joeframbach
Wed Nov 26, 2008 1:03 am UTC
Forum: Coding
Topic: help with code
Replies: 28
Views: 4197

Re: help with code

Wow. The problem description is pretty much pseudocode, as-is. first create an array of 10 strings. String[] s = new String[10]; fill it with 3-letter strings. for i=0 to 9: s[i] = cons() + vow() + cons(); Print the array. for i=0 to 9: print s[i]; Create another array of 10 strings. String[] ranked...
by joeframbach
Wed Nov 26, 2008 12:41 am UTC
Forum: Coding
Topic: help with code
Replies: 28
Views: 4197

Re: help with code

Could you please post what the application is supposed to do, fully? From what I gather, you give the user a string, and the user ranks it. Then you give the user another, and the user ranks it. Repeat 10x. Then you print the full ordered list? Here's pseudocode for that. Initialize your array. Stri...
by joeframbach
Wed Nov 26, 2008 12:33 am UTC
Forum: General
Topic: I want to programme!
Replies: 17
Views: 1519

Re: I want to programme!

I first learned with Javascript. But most people start with C, Java, or Visual Basic. The downside to learning with Java and VB is that the language provides so many things that you just won't need to know about until you've been programming for a few months. So you start out with public class Foo {...
by joeframbach
Wed Nov 26, 2008 12:24 am UTC
Forum: Coding
Topic: help with code
Replies: 28
Views: 4197

Re: help with code

Which part of it? Think of an array as an indexed list, like tv channels. TV channel 1 has this station. Channel 2 has that station. Array s element 1 has this String. Element 2 has that String. (but arrays are zero-indexed, the first element is s[0]). So we loop i=0 to 9. Perhaps it would help to u...
by joeframbach
Wed Nov 26, 2008 12:04 am UTC
Forum: Coding
Topic: help with code
Replies: 28
Views: 4197

Re: help with code

1. Class names are usually uppercase. It's become an unsaid rule in oop. 2. CONSTS are usually global. This keeps the machine from having to re-initialize them every time you use them. 3. Keep your tabs uniform kthx. 4. A google search for "Java Arrays" gives this page: http://java.sun.com...

Go to advanced search