Search found 835 matches

by Pesto
Sun May 09, 2010 10:48 pm UTC
Forum: Coding
Topic: coworker rants
Replies: 92
Views: 14624

Re: coworker rants

These are ASCII csv files.
by Pesto
Sun May 09, 2010 10:08 pm UTC
Forum: Coding
Topic: coworker rants
Replies: 92
Views: 14624

Re: coworker rants

I got called in today (Sunday :x ) to work on a big bug. I'm working with my team's tech lead (who wrote the bug), and had the following conversations. Her: "Check if the line is longer than 1024 bytes" Me: "Yep, it's over 2000 characters" Her: "I don't understand what that ...
by Pesto
Fri May 07, 2010 10:54 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2036411

Re: Coding: Fleeting Thoughts

For learning bash scripting

http://tldp.org/LDP/abs/html/
by Pesto
Wed May 05, 2010 5:06 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0736: "Cemetery"
Replies: 52
Views: 15047

Re: "Cemetery" discusstion

This comic makes me a little sad. I just got back from a trip for my grandma's funeral. :(

I also got to visit my other grandparents' graves, but it was good to see my extended family. I hadn't seen some of them in 25 years.
by Pesto
Wed Apr 28, 2010 7:58 pm UTC
Forum: General
Topic: I Shouldn't Have To Say This
Replies: 2609
Views: 397382

Re: I Shouldn't Have To Say This

You don't have a right to not be uncomfortable. If that makes me an ass, then that's on me.
by Pesto
Wed Apr 28, 2010 7:43 pm UTC
Forum: General
Topic: I Shouldn't Have To Say This
Replies: 2609
Views: 397382

Re: I Shouldn't Have To Say This

Baldur wrote:Someone's attire does not give you the right to ogle harass somebody.

I'll ogle who I please, thank you.
by Pesto
Mon Apr 26, 2010 2:54 am UTC
Forum: General
Topic: Logical fallacies/douchebaggery in commercials.
Replies: 4973
Views: 762461

Re: Logical fallacies/douchebaggery in commercials.

Oh. Bugger. Is "one" a pronoun though? I don't think I want to get into this. I lean toward "one" being a pronoun, particularly as we have the form "oneself". "One" is a pronoun, except it's been replaced by "you" in everyday speech. "How does ...
by Pesto
Sun Apr 25, 2010 8:08 pm UTC
Forum: General
Topic: Logical fallacies/douchebaggery in commercials.
Replies: 4973
Views: 762461

Re: Logical fallacies/douchebaggery in commercials.

But since they're on private land, it's the owner's business. I don't think you can make a case for a billboard being more of an eyesore than things like skyscrapers. Well, you kinda can. At least along roadsides where they may divert driver attention and cause accidents . You rarely take your eyes...
by Pesto
Sun Apr 25, 2010 3:37 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2036411

Re: Coding: Fleeting Thoughts

In C, why is this bad...

Code: Select all

//foo.h

int double_me(int i)
{
    return i + i;
}

and this better?

Code: Select all

//foo.h

int double_me(int i);

Code: Select all

//foo.c

int double_me(int i)
{
    return i + i;
}


NB: necessary precompiler statements omitted for brevity
by Pesto
Sat Apr 24, 2010 5:24 pm UTC
Forum: Coding
Topic: PHP Ackermann's Implementation
Replies: 10
Views: 3123

Re: PHP Ackermann's Implementation

Thanks for the replies, by "It doesn't work", I mean that it just randomly cancels execution of the program and depending on the browser, displays "This page cannot be displayed." Since you're trying to display the answer in a browser, I'm guessing the browser is simply timing o...
by Pesto
Sat Apr 24, 2010 9:16 am UTC
Forum: Coding
Topic: PHP Ackermann's Implementation
Replies: 10
Views: 3123

Re: PHP Ackermann's Implementation

What exactly do you mean by "doesn't work"? Do you get an error? Does the program just sit there and never complete? Do you get the wrong answer?
by Pesto
Fri Apr 23, 2010 8:31 pm UTC
Forum: General
Topic: High and low point of your day
Replies: 3315
Views: 255470

Re: High and low point of your day

Low point: Almost getting run over on my way to work.
High point: Will be when I get home and the weekend starts.
by Pesto
Thu Apr 22, 2010 5:55 pm UTC
Forum: General
Topic: Conservapedia - Most Accurate Shite On The Web*
Replies: 342
Views: 55189

Re: Conservapedia - Most Accurate Site On The Web*

You should have gone with something like "liberal bias in history text books often make many of the founding fathers out to be liberals".
by Pesto
Thu Apr 22, 2010 7:13 am UTC
Forum: General
Topic: How do you find where you want to live?
Replies: 18
Views: 1369

Re: How do you find where you want to live?

Since you'd be spending a lot of time with your fellow grad students, you'd probably want to look at the department's culture as much as the town's culture. What would you be studying? Computer engineering/science. There are other places I'm looking at, too. Madison is just the town I'm most famili...
by Pesto
Wed Apr 21, 2010 11:59 pm UTC
Forum: General
Topic: Help me come up with a business name
Replies: 22
Views: 2270

Re: Help me come up with a business name

Back Door Sniffer :lol:
by Pesto
Wed Apr 21, 2010 11:48 pm UTC
Forum: General
Topic: How do you find where you want to live?
Replies: 18
Views: 1369

Re: How do you find where you want to live?

I hate to break it to you, but angry, mis-adjusted idiots are in the majority no matter where you go. My advice would be, no matter where you live, get involved in some sort of community/group that espouses these ideals. I know I'm not going to find anyplace devoid of angry, maladjusted idiots, but...
by Pesto
Wed Apr 21, 2010 9:43 pm UTC
Forum: General
Topic: How do you find where you want to live?
Replies: 18
Views: 1369

Re: How do you find where you want to live?

In general, I'm looking for someplace full of happy, well-adjusted and reasonably intelligent people. In short, Xkcdia. I am looking at going to grad school, so that could definitely solve my problem, but that's at least a year away. Reading up on some conference proceedings, it looks like UW Madiso...
by Pesto
Wed Apr 21, 2010 4:48 pm UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 159806

Re: Project Euler

I'd like to tackle a couple PE problems in befunge. I don't know the language at all, so are there any problems that would lend themselves to that language?
by Pesto
Wed Apr 21, 2010 12:32 am UTC
Forum: General
Topic: How do you find where you want to live?
Replies: 18
Views: 1369

Re: How do you find where you want to live?

Make a list of things you don't like about the place you live in. Find a place that doesn't have these qualities. Move there. Right. How do I do that? I've found that vacations don't give you a proper feel for what it would be like to live someplace. Wait, San Francisco is the place you don't like?...
by Pesto
Wed Apr 21, 2010 12:05 am UTC
Forum: General
Topic: How do you find where you want to live?
Replies: 18
Views: 1369

How do you find where you want to live?

I've been living in a certain city for a little over a year, and I've come to decide I don't really care for it. The only problem is, I have no idea where I would want to move to. How would I go about finding someplace I would want to live? To be clear, I'm not looking for specific suggestions (e.g....
by Pesto
Tue Apr 20, 2010 9:48 pm UTC
Forum: General
Topic: I Shouldn't Have To Say This
Replies: 2609
Views: 397382

Re: I Shouldn't Have To Say This

"Lock the door when you're going to the bathroom"
by Pesto
Tue Apr 20, 2010 8:48 pm UTC
Forum: General
Topic: Conservapedia - Most Accurate Shite On The Web*
Replies: 342
Views: 55189

Re: Conservapedia - Most Accurate Site On The Web*

Just got an account. Spiffy.
by Pesto
Tue Apr 20, 2010 4:41 am UTC
Forum: Food
Topic: Need help making candy poop
Replies: 9
Views: 2587

Re: Need help making candy poop

No coffee beans. I want to be able to eat it. Coffee = bleah, whether it's gone through the intestines of a small mammal or not.

Besides, if you look at the picture, the beans are rather light in color, since they haven't been roasted yet.
by Pesto
Tue Apr 20, 2010 1:26 am UTC
Forum: Food
Topic: Need help making candy poop
Replies: 9
Views: 2587

Re: Need help making candy poop

Maybe some type of chocolate caramel glaze. That would be very good.

I definitely want it very brown in color, just not full on opaque chocolate.
by Pesto
Mon Apr 19, 2010 8:29 am UTC
Forum: General
Topic: Have you EVER heard a dog bark like this ???????
Replies: 7
Views: 1108

Re: Have you EVER heard a dog bark like this ???????

I used to know some people who had a beagle whose bark was this horrible, piercing screech. It's probably some type of dysphonia, and apart from the unpleasantness of the sound, is completely harmless.
by Pesto
Mon Apr 19, 2010 7:13 am UTC
Forum: Coding
Topic: What makes a "script"?
Replies: 14
Views: 1565

Re: What makes a "script"?

Yeah, I think for the purpose of the OP something like "small C# utilities" would do the trick.
by Pesto
Mon Apr 19, 2010 6:43 am UTC
Forum: Food
Topic: Need help making candy poop
Replies: 9
Views: 2587

Need help making candy poop

Management decided that each team in our company needed to come up with a name. We didn't really care, and were dragging our feet, so they came down on us about it. We decided to name ourselves Kopi Luwak ( link ) as a kind of passive aggressive protest. We even posted a picture of it in our cubes. ...
by Pesto
Mon Apr 19, 2010 6:05 am UTC
Forum: Coding
Topic: D?
Replies: 10
Views: 1507

Re: D?

I think we should end the tyranny of compiled curly-bracket languages and move on to the more interesting languages, such as fruntional programming and the like. I don't quite get what you're driving at here. Are you arguing against C style syntax, or against imperative languages? The two are quite...
by Pesto
Mon Apr 19, 2010 5:30 am UTC
Forum: Coding
Topic: GIF by hand, or LZW masochism
Replies: 1
Views: 624

Re: GIF by hand, or LZW masochism

Okay, I figured it out by "cheating". My error was in the following line. 10 1 6 0110 8: 101 This should have been 10 1 6 110 8: 101 I thought I was supposed to go to a four bit encoding at this point, but that's wrong. Even though I'm creating dictionary entry 8, this entry still only has...
by Pesto
Mon Apr 19, 2010 3:59 am UTC
Forum: Coding
Topic: GIF by hand, or LZW masochism
Replies: 1
Views: 624

GIF by hand, or LZW masochism

I'm digging into the gif file format, and am trying to construct a simple gif by hand in a hex editor. For those of you unfamiliar, the spec is here. http://www.w3.org/Graphics/GIF/spec-gif89a.txt I'm trying to make a 4x4 pixel square of vertical stripes one pixel wide. The bit stream for this is si...
by Pesto
Sun Apr 18, 2010 9:38 pm UTC
Forum: Serious Business
Topic: What exactly is the effect of not handling your own money?
Replies: 11
Views: 2353

Re: What exactly is the effect of not handling your own mone

I don't think cash vs. credit really affects the way I spend money. I don't deliberately save money, it's just that I don't spend a whole lot, so my bank account tends to grow. At any given point in time, I know I have enough money for rent, food, and whatever other incidental expenses come up. I al...
by Pesto
Sun Apr 18, 2010 6:32 pm UTC
Forum: General
Topic: Ungooglable shoes?
Replies: 59
Views: 5973

Re: Ungooglable shoes?

I can't think of another large animal that has soles made of skin (as opposed to hooves or hardened pads) I suppose you may object on the grounds of "large animal", but cats' paws are skin. I imagine a lot of animals' feet are similar... except they all walk around barefoot and develop ca...
by Pesto
Fri Apr 16, 2010 6:18 pm UTC
Forum: General
Topic: Reduce the amount I have to move!
Replies: 11
Views: 1401

Re: Reduce the amount I have to move!

find some containers that fit snugly inside your car. I had three Rubbermaid containers that fit perfectly in the back seat of my car, so long as I turned the middle one upside down. Once you whittle down your possessions to a manageable size, having specific containers that you can reuse for moving...
by Pesto
Thu Apr 15, 2010 11:16 pm UTC
Forum: Coding
Topic: Spiral frame test
Replies: 29
Views: 4969

Re: Spiral frame test

Nhoj Serob wrote:Highschool html class

Really, that's the problem. It's probably a case of the teacher not knowing any better.
by Pesto
Thu Apr 15, 2010 8:51 am UTC
Forum: General
Topic: Napping strategies?
Replies: 15
Views: 2227

Re: Napping strategies?

I find closing my eyes tends to help.
by Pesto
Thu Apr 15, 2010 8:49 am UTC
Forum: General
Topic: How to: Safe Passwords (for the forgetful)
Replies: 72
Views: 6939

Re: How to: Safe Passwords (for the forgetful)

Not to be rude, but re-read the first sentence of my previous post.
by Pesto
Thu Apr 15, 2010 7:44 am UTC
Forum: General
Topic: How to: Safe Passwords (for the forgetful)
Replies: 72
Views: 6939

Re: How to: Safe Passwords (for the forgetful)

For SQL, the most important characters to escape are quotes. Imagine the following statement. $sql = "select PASSWORD where USERNAME = '$login';"; Now, imagine someone typed this into the login screen. pwned'; DROP DATABASE; -- The resulting query would look like this. select PASSWORD wher...
by Pesto
Wed Apr 14, 2010 10:10 pm UTC
Forum: Logic Puzzles
Topic: Given that you have a brother...
Replies: 41
Views: 7834

Re: Given that you have a brother...

Your chances of being either a male or female are equal. The question is a red herring, as the gender of your siblings have no bearing on your own gender. Edit: A more rigorous solution. People with brothers shown in parentheses | P1 P2| +-------+ | F F | |(F) M | | M (F)| |(M&#...
by Pesto
Wed Apr 14, 2010 9:30 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0727: "Trade Expert"
Replies: 172
Views: 45869

Re: “Trade Expert” discussion

I'm constantly mixing up slash and backslash. If I had a nickel for every time I've written a new line as "/n" I'd be rich.
by Pesto
Wed Apr 14, 2010 6:24 am UTC
Forum: General
Topic: open Internet pages
Replies: 43
Views: 4415

Re: open Internet pages

This and the Kernel Janitors Todo list

Go to advanced search