Search found 93 matches

by wr3cktangle
Wed Jul 14, 2010 4:14 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0766: "Green Flash"
Replies: 82
Views: 24770

Re: "Green Flash" Discussion

As a kid, I used to lay upside down on the slide and stare at the sun.
Today, I wear glasses.
by wr3cktangle
Thu Dec 03, 2009 5:56 pm UTC
Forum: Logic Puzzles
Topic: brain in a vat
Replies: 214
Views: 26632

Re: brain in a vat

My thoughts: Forget quizzing it on knowledge or logic. You need to go for the emotions (and not asking about emotions, but rather inciting them without making that the point). Ask a series questions (either in AA...A BB...B form or AB...C AB...C form or random shuffling, not necessarily ...
by wr3cktangle
Wed Nov 18, 2009 6:48 pm UTC
Forum: Coding
Topic: Which language?
Replies: 36
Views: 4535

Re: Which language?

I'll throw an other vote in for Ruby.
It's beautiful, simple, and force feeds you OO without discomforting you.

Though, I'm gonna say to find a good book/multi-part tutorial and work through that in the language it uses, assuming it's a common language.
by wr3cktangle
Sat Sep 05, 2009 7:12 pm UTC
Forum: Coding
Topic: Coding Club
Replies: 31
Views: 3759

Re: Coding Club

Here at college, I find the hardest thing about keeping a club like this going in apathy. If you're gonna get a club together, even if it's just an informal hang-out fest, you gotta keep everyone (including you) motivated. A team competition in both something like Python Challenge (no python require...
by wr3cktangle
Sat Sep 05, 2009 6:37 pm UTC
Forum: Religious Wars
Topic: Am I the only one on here that can't stand Python?
Replies: 184
Views: 36786

Re: Am I the only one on here that can't stand Python?

I learned a bit of Python, but it wasn't for me. I can't place exactly what I didn't like about it, but I just didn't really like it. I then went on to Ruby and loved it. In some ways, I wish I had fallen in love with Python as it's the trendy language, with it's perfectly groomed hair hanging in fr...
by wr3cktangle
Fri Apr 17, 2009 3:01 pm UTC
Forum: Coding
Topic: Scripting Language Conversion
Replies: 6
Views: 893

Re: Scripting Language Conversion

While there are merits to investigating and possibly learning the other libraries, I would also, not necessarily stray from learning the built in libraries for VS. You may try creating an in memory bitmap, and setting the form background to that, and then calculating which "square" would b...
by wr3cktangle
Wed Dec 17, 2008 10:37 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0518: "Flow Charts"
Replies: 147
Views: 43438

Re: "Flow Charts" Discussion

I don't know what all the hatred for Bob is... I used to play with it for hours on end when I was a kid on our NEC Windows 95 machine. I still have the 1.6gb harddrive with the original installation of '95 on it lying around somewhere.. I had no idea what Bob was there for aside from building rooms....
by wr3cktangle
Mon Dec 08, 2008 1:03 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571773

Re: The "IT DOESN'T WORK!" thread

for (float y = 0; y <= 1; y += xInc) { for (float x = 0; x <= 1; x += yInc) { I don't know what's worse, the fact that I wrote that in the first place or the fact that it took me so long to figure out why it wasn't working... Could be worse... it could have worked and then had no idea why ;)
by wr3cktangle
Fri Dec 05, 2008 1:15 pm UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 145998

Re: Funniest/Most Annoying Code Comments

When did the funny/annoying comments thread become the It doesn't work thread?
by wr3cktangle
Fri Dec 05, 2008 1:37 am UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 145998

Re: Funniest/Most Annoying Code Comments

eek Oracle!
I did some ugly hacks this summer to make MS SQL server queries work in oracle.
And the windows gui frontend was the worse than rubbing sea salt in my eyes.
by wr3cktangle
Tue Nov 18, 2008 4:59 pm UTC
Forum: Coding
Topic: Posting coding projects in my blog
Replies: 9
Views: 1455

Re: Posting coding projects in my blog

If you're not into distributing the compiled project and wanted to show it in use, you could try a screencast of it in use.

I personally am a fan of the pictures and executable method suggested by joeframbach.
by wr3cktangle
Fri Oct 31, 2008 2:16 pm UTC
Forum: Coding
Topic: Tracking Mouse Speed
Replies: 13
Views: 5017

Re: Tracking Mouse Speed

How did this experiment come to be, and is it possible to get a picture of your setup?
by wr3cktangle
Thu Oct 16, 2008 6:17 pm UTC
Forum: Coding
Topic: Java Binary tree implemented using an array
Replies: 21
Views: 5696

Re: Java Binary tree implemented using an array

let me (and possibly a collective us, but i've never really met the other posters, so i can't speak with any authority about their collective or individual desires) know what your teacher was looking for when you find out. I'm curious.
by wr3cktangle
Wed Oct 15, 2008 6:13 pm UTC
Forum: Coding
Topic: Starting out
Replies: 18
Views: 2013

Re: Starting out

OOPMan wrote:In Java, EVERYTHING is more painful... ;-)


Except the documentation.
by wr3cktangle
Wed Oct 15, 2008 4:10 am UTC
Forum: Coding
Topic: Java Binary tree implemented using an array
Replies: 21
Views: 5696

Re: Java Binary tree implemented using an array

I see.
That's what reading when tired get's ya, partial comprehension.
by wr3cktangle
Wed Oct 15, 2008 2:51 am UTC
Forum: Coding
Topic: Java Binary tree implemented using an array
Replies: 21
Views: 5696

Re: Java Binary tree implemented using an array

here's my thoughts If you just append each new node onto the end of the array, its parent node will be tree[Math.floor((i-1) * 0.5)] where i is the current node's index. Every node's children (if existent) will be found at tree[2 * i + 1] and tree[2 * i + 2]. I think this is kinda what jaap is going...
by wr3cktangle
Fri Oct 10, 2008 2:50 pm UTC
Forum: Coding
Topic: Help me choose
Replies: 6
Views: 1096

Re: Help me choose

C# is a rising technology, while Java is old faithful. I personally prefer C# over Java, but that's partially due to multiple bad experiences with it in a high school class (dividing infinity by infinity to name my most memorable experience). On the other hand, the javadoc pages are much easier to u...
by wr3cktangle
Wed Sep 10, 2008 2:38 am UTC
Forum: Religious Wars
Topic: Firefox 3 v.s. Google Chrome?
Replies: 105
Views: 96311

Re: Firefox 3 v.s. Google Chrome?

personally, I'm a little scared of Google.
they know too much, and i'm a little afraid the 'no' in their motto is going to be dropped from it in the future.

i blame Cory Doctorow, because blaming myself isn't fun.
by wr3cktangle
Sat Sep 06, 2008 7:10 pm UTC
Forum: Coding
Topic: Is this a bad formatting habit?
Replies: 22
Views: 2395

Re: Is this a bad formatting habit?

this thread could likely end up in the religious wars, but here's my opinion on it. i say go with the first or the second styles. I would not collapse code if it's more than one statement (a return or an assignment), or one really long statement. Complicated calculations may lend itself to your frie...
by wr3cktangle
Tue Aug 26, 2008 4:14 pm UTC
Forum: Religious Wars
Topic: Ubuntu flavor
Replies: 23
Views: 6061

Re: Ubuntu flavor

I like my linux like I like my women, not bloated with kde.
by wr3cktangle
Mon Aug 25, 2008 9:41 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571773

Re: The "IT DOESN'T WORK!" thread

Works fine for me. Python 2.5.2 on ubuntu. Did you get two simultaneously streaming pages up? I just updated my python, and it's still brokeded. EDIT: ARGH! In the threaded class, I needed to have self.myhole, not just myhole. Bleh. Stupid scope issues. Why the hell don't you know where your own da...
by wr3cktangle
Wed Aug 20, 2008 1:12 am UTC
Forum: Religious Wars
Topic: Your mission, should you chose to Accept it.(Keep vista Y/N)
Replies: 53
Views: 9698

Re: Your mission, should you chose to Accept it.

Vista It's just like a new relationship. She's got some different tastes. Maybe she doesn't like your tongue in her ear like XP did, and maybe she's got some irrational thing about belly buttons, but she's hotter than your old girl was. And more mature too. She's like that hot librarian. You know wh...
by wr3cktangle
Tue Aug 19, 2008 4:15 am UTC
Forum: Religious Wars
Topic: I'm getting a laptop.
Replies: 20
Views: 8237

Re: I'm getting a laptop.

Forget trillian, Pidgin all the way. Trillian is worthless crap unless you pay for it, and if you do, then you just have crap that cost $25 (+6% salestax if you live in CT). And after all this, you'll just have to pay for it again a year or so down the road. Media Player Classic for non-library-base...
by wr3cktangle
Wed Aug 06, 2008 1:47 am UTC
Forum: Coding
Topic: Which language to start with...
Replies: 14
Views: 2089

Re: Which language to start with...

this can of worms has been delved into before, in threads like this one . I don't know if it addresses the best language for game programming, but its worth the read if you haven't looked yet. my advice is to try out a couple of languages of varying types. Find one or two that fit your tastes and ne...
by wr3cktangle
Thu Jul 31, 2008 11:17 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571773

Re: The "IT DOESN'T WORK!" thread

I've been doing a lot of MS SQL Server 2005 to Oracle 9i query conversions (not cross acceptance, but functional equivalence) a common conversion-type is MS-SQL: Select Top 1 pk From a Order By col2 desc Oracle: Select pk From (Select pk from a order by col2 desc) Where Rownum = 1 and it works. I do...
by wr3cktangle
Thu Apr 17, 2008 11:33 pm UTC
Forum: Coding
Topic: Python?
Replies: 13
Views: 4096

Re: Python?

i'm confused about what's all it's supposed to be doing, or why your friend did it that way as far as i can tell, DocMe.uniq(a), which removes duplicate elements from an array and returns that as a new array, does the same as a.uniq DocMe.member?(a, elem), which checks if elem is in the array a, doe...
by wr3cktangle
Thu Apr 17, 2008 7:40 pm UTC
Forum: Coding
Topic: larger_type c++ template metaprogram
Replies: 7
Views: 1876

Re: larger_type c++ template metaprogram

I believe this is the article Konrad referenced: http://www.ddj.com/cpp/184403774
by wr3cktangle
Thu Apr 17, 2008 7:33 pm UTC
Forum: Coding
Topic: Mass Shrinkage
Replies: 8
Views: 1776

Re: Mass Shrinkage

7 days of your life, by my estimations.
by wr3cktangle
Thu Apr 17, 2008 7:31 pm UTC
Forum: Coding
Topic: Is there a language that does a < (b & c & d)?
Replies: 40
Views: 5376

Re: Is there a language that does a < (b & c & d)?

one more code example

ruby:
3 < [4,8,10].min
by wr3cktangle
Thu Apr 03, 2008 12:07 pm UTC
Forum: Coding
Topic: You can turn it on? Give me a new hard drive!
Replies: 22
Views: 4065

Re: You can turn it on? Give me a new hard drive!

it's because of this i've considered telling people i'm a history major. No one comes knocking on my door asking my roommate for help on the Napoleonic Wars.
by wr3cktangle
Sat Mar 15, 2008 3:46 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571773

Re: The "IT DOESN'T WORK!" thread

it sounds like you don't understand the problem and haven't come up with an algorithm for getting the desired output here's what your algorithm is doing (in pseudocode) Actually, that won't work properly either, unless the total number of increases are either n*4 or n*4-1. The algorithm could poten...
by wr3cktangle
Sat Mar 15, 2008 3:28 am UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 22362

Re: worst bugs ever (or your most hated)

This doesn't quite fit the intended topic of the thread, but I'm sitting in bed with my laptop, and there's a ladybug that keeps dive bombing my screen and then landing somewhere in my keys while i'm typing. One of these times he'll get squished by my fingers and then I'll have bug guts on and under...
by wr3cktangle
Sat Mar 15, 2008 12:07 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 571773

Re: The "IT DOESN'T WORK!" thread

it sounds like you don't understand the problem and haven't come up with an algorithm for getting the desired output here's [edit: an equivalent of] what your algorithm is doing (in pseudocode) set the three variables to 0 set state to true do output variables if state is true increment all...
by wr3cktangle
Fri Mar 14, 2008 8:05 pm UTC
Forum: Coding
Topic: Worst (Best?) Hacks
Replies: 50
Views: 7740

Re: Worst (Best?) Hacks

while working with C# and ASP.Net on VS 2005, we wanted to use an AJAX Modal Popup ( example ) with an Imagemap. The only problem was the ModalPopup required a target object that when clicked would cause the popup to show. Setting the target object to the image map control causes the popup to show, ...
by wr3cktangle
Thu Mar 06, 2008 7:41 pm UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 145998

Re: Funniest/Most Annoying Code Comments

This was originally posted on thedailywtf.com <script language="javascript"> <!--// /*This Script allows people to enter by using a form that asks for a UserID and Password*/ function pasuser(form) { if (form.id.value=="buyers") { if (form.pass.value=="gov1996") { locat...
by wr3cktangle
Tue Mar 04, 2008 2:18 am UTC
Forum: The Help Desk
Topic: Removing the company name from Vista
Replies: 1
Views: 1131

Removing the company name from Vista

I have an HP Laptop that came with Vista Home Premium preinstalled. It works fine and all, but by default, the company name is set to Hewlett-Packard, which is annoying. Any product I install that asks for a company upon setup, Hewlett-Packard is there. Any program I make in Visual Studio, Hewlett P...
by wr3cktangle
Mon Mar 03, 2008 12:30 pm UTC
Forum: Religious Wars
Topic: Ethics question
Replies: 57
Views: 10755

Re: Ethics question

What kind of assessment is this; as in, who are you cheating? If it's a practice quiz and you don't know the answers, then you are depriving yourself of education. This is not unethical, but it's also not smart. If it's a real assessment, then it is unethical, but ignoring it also runs the risk of ...
by wr3cktangle
Sat Mar 01, 2008 3:43 am UTC
Forum: Religious Wars
Topic: Ethics question
Replies: 57
Views: 10755

Re: Ethics question

An analogy is in order. Let's assume a professor assigns homework, the answers to which he keeps on his desk in his office. By snooping around, you find that he foolishly doesn't lock his office door. You tell him this, and he continues not to lock his office door. Is it wrong to just walk into his...
by wr3cktangle
Thu Feb 28, 2008 4:56 am UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 145998

Re: Funniest/Most Annoying Code Comments

When I finally finished crawling through 20,000 lines of a library that had previously been outsourced to China for reverse-engineering and rewritten by coders unknown with a dubious grasp of the subject matter, I found the source of a deadlock. Nearby, where one might expect an Exception to be han...

Go to advanced search