## Search found 54 matches

Tue Apr 19, 2016 11:19 pm UTC
Forum: Computer Science
Topic: Reverse engineering cyclical function from observed outputs
Replies: 4
Views: 4931

### Re: Reverse engineering cyclical function from observed outputs

Fri Apr 15, 2016 6:59 pm UTC
Forum: Computer Science
Topic: Reverse engineering cyclical function from observed outputs
Replies: 4
Views: 4931

### Re: Reverse engineering cyclical function from observed outputs

Yes, 40-90, thanks. Any ideas on how to get those scalars right? Trial and error is proving tedious... these could be arbitrary rational numbers chosen by an RNG. I guess that means any value I guessed could be off by an arbitrary amount, which would put the rounding errors in an arbitrary place on ...
Fri Apr 15, 2016 5:26 am UTC
Forum: Computer Science
Topic: Reverse engineering cyclical function from observed outputs
Replies: 4
Views: 4931

### Reverse engineering cyclical function from observed outputs

I've been struggling with this problem for a couple of days, and figured maybe some of the fine folks around here might be able to help. I have to admit I'm a bit of a tourist in these forums -- if there's a more appropriate place for this, please let me know. There's a function f(x,y) where x and y...
Sat Apr 09, 2016 7:35 pm UTC
Topic: 1665: "City Talk Pages"
Replies: 75
Views: 14060

### Re: 1665: "City Talk Pages"

This comic is the funniest thing I've seen in a long time. Very well done, Mr. Munroe.
Fri Dec 19, 2014 9:27 am UTC
Forum: What If?
Topic: What-If 0122: "Lava Lamp"
Replies: 34
Views: 14836

### Re: What-If 0122: "Lava Lamp"

Lavarolled so hard.

I kind of wish he had actually linked to Never Gonna Give You Up at the end, though. That would have been the most epic rickroll ever.
Wed Jan 29, 2014 9:56 am UTC
Topic: 1323: "Protocol"
Replies: 37
Views: 12173

### Re: 1323: "Protocol"

well who said that the story doesn't continue with "Alice and Eve make out." That's the most hilarious part, though. In my mind, the story *does* continue that way, and the computer scientist is sitting there trying to figure out what computer-world scenario is being represented by the ma...
Tue Mar 26, 2013 9:34 am UTC
Topic: 1190: "Time"
Replies: 107015
Views: 47467764

### Re: 1190: "Time"

Sorry if this has been discussed, I haven't looked through all 16 pages... Has anyone tried to decipher the javascript on the page? (time07.min.js) Here it is formatted: http://pastebin.com/7hhPmWh7 I'm too tired right now to figure it out, and may not know enough about javascript's idiosyncrasies. ...
Thu Mar 21, 2013 6:01 am UTC
Topic: 1188: "Bonding"
Replies: 108
Views: 25155

### Re: 1188: "Bonding"

Would've been funnier if the metaphor wasn't broken by the content. parent and child aren't aiming and throwing a Ball for each other to catch. Rather, each is throwing and catching a Ball, then handing it to the other (until stack depth is exceeded). A possible fix: class Ball extends Throwable {}...
Wed Mar 13, 2013 9:10 pm UTC
Topic: 1185: "Ineffective Sorts"
Replies: 180
Views: 61453

### Re: 1185: "Ineffective Sorts"

It will work, and it will run in O(N) seconds where N is the maximum number in the list. that's not the way the O notation works. it expresses complexity, not run time. lets just say it will take N seconds. Just because you happen to know exactly how long it will take for a given value of N doesn't...
Wed Mar 13, 2013 6:47 pm UTC
Topic: 1185: "Ineffective Sorts"
Replies: 180
Views: 61453

### Re: 1185: "Ineffective Sorts"

I wonder for what kind of list length Panic Sort would actually return the correct list. It's basically a bogosort, but it "cuts" instead of "shuffles" the deck at each iteration. I imagine that the average case running time would still be n!, so it should handle 7 elements corr...
Wed Mar 13, 2013 6:22 pm UTC
Topic: 1185: "Ineffective Sorts"
Replies: 180
Views: 61453

### Re: 1185: "Ineffective Sorts"

And here I thought bogosort had something to do with coupons.

Max2009 wrote:I laughed out loud and got well-deserved strange looks.

Also, my brain segfaulted on the PanicSort. RM -RF is not valid.

Those aren't actually upper-case letters, they just look like it in that font. Think Copperplate Gothic.
Sat Nov 10, 2012 7:58 pm UTC
Forum: Coding
Topic: Help Request: Triangulation in 3D
Replies: 9
Views: 3137

### Re: Help Request: Triangulation in 3D

Very helpful suggestions. I think I've got enough to go on here. Thanks, everyone! P.S. The lines must intersect because both pairs of measurements are being taken from a single unknown point. Rounding is a big problem however, because the measurements are only accurate to .01 degrees--though they'r...
Wed Nov 07, 2012 5:32 pm UTC
Forum: Coding
Topic: Help Request: Triangulation in 3D
Replies: 9
Views: 3137

### Help Request: Triangulation in 3D

Not sure whether to post this here or in Math... I'll try here, 'cause they're talking about some esoteric stuff over there that I don't understand. I want to write a function that calculates a position in (x,y,z) based on two known points and the heading and azimuth from the unknown position to eac...
Tue Jul 31, 2012 10:04 pm UTC
Topic: 1087: "Cirith Ungol"
Replies: 187
Views: 53866

### Re: 1087: "Cirith Ungol"

One morning, I killed a hobbit wearing my ring of power. How he got my ring of power, I don't know. I don't think this is technically ambiguous. It's not ambiguous if you understand the semantics. At a purely syntactic level, it is ambiguous--there's no rule that describes the relationship betw...
Tue Jul 31, 2012 9:59 pm UTC
Topic: 1087: "Cirith Ungol"
Replies: 187
Views: 53866

### Re: 1087: "Cirith Ungol"

You keep talking about how lazy a person must be to use the forum instead of Google. Yet, you also keep repeating how much easier it is to use Google. Nope, I never said this. I said it is easy to use Google - no comparison to the easiness of using the forum was ever mentioned. Oh, really? Sitting ...
Sun Jul 29, 2012 10:03 am UTC
Topic: 1087: "Cirith Ungol"
Replies: 187
Views: 53866

### Re: 1087: "Cirith Ungol"

... I just cannot relate at all to the mentality that chooses option No. 1. And I don't think it is a mentality that is admirable or to be encouraged. Nobody can know everything, of course, and I'm not criticizing anybody for not knowing something just because I do. I'm criticizing being too lazy o...
Mon May 07, 2012 5:17 pm UTC
Topic: 1052: “Every Major’s Terrible”
Replies: 240
Views: 63410

### Re: 1052: “Every Major’s Terrible”

(Also, CS majors using Lisp for anything but fun? Undergrads virtually never touch it. (Maybe you need a bit of functional programming experience to get a grad degree, but even then not likely for the thesis or dissertation! But I know this is to Randall's chagrin, and I like Lisp too.) Au contrair...
Mon May 07, 2012 5:08 pm UTC
Topic: 1052: “Every Major’s Terrible”
Replies: 240
Views: 63410

### Re: 1052: “Every Major’s Terrible”

This is awesome. I stumbled over "adherents"--the stress isn't natural--but everything else is perfect, so I'll cut some slack. The original does the same thing on "binomial." ... am I the only one who hadn't heard of the Elements song but has seen Pirates of Penzance? Negative. ...
Wed May 25, 2011 6:55 am UTC
Topic: 0903: "Extended Mind"
Replies: 666
Views: 179676

### Re: #903: Extended MInd

Randomizer wrote:The alt text didn't say anything about not using links in boxes - just ones in italics and/or parenthesis.

It says "click on the first link in the article text not in parentheses or italics" (emphasis mine). I take that to exclude boxes and captions.
Mon Feb 21, 2011 9:21 am UTC
Topic: 0863: "Major in the Universe"
Replies: 108
Views: 24056

### Re: 0863: "Major in the Universe"

In a certain fanfic universe I could name, the psychokinetic energy field given off by a sapient brain, disembodied spirit, or sufficiently advanced artificial intelligence is measured in units of "Spengler flux." However, I'm guessing that is not what "igon value" means. Thank ...
Tue Sep 21, 2010 10:50 pm UTC
Topic: 0795: "Conditional Risk"
Replies: 89
Views: 22400

### Re: "Conditional Risk" Discussion (#795)

...doing a high-risk activity (ie being a park ranger - see http://en.wikipedia.org/wiki/Roy_Sullivan )... This is becoming a new pet peeve of mine... I guess I'm getting numb to all the misplaced apostrophes. "I.e." means "in other words." "E.g." means "for examp...
Tue Sep 21, 2010 9:26 pm UTC
Topic: 0795: "Conditional Risk"
Replies: 89
Views: 22400

### Re: "Conditional Risk" Discussion (#795)

If the annual death rate among people with knowledge of that (other) statistic is one in six, shouldn't that knowledge die out eventually? You'd have to know how fast the knowledge spreads to find out, I guess. But still. One in six a year dead sounds like a demographic bound for extinction. Oh? 10...
Fri Jul 30, 2010 8:56 am UTC
Topic: 0773: "University Website"
Replies: 177
Views: 38359

### Re: "University Website" discussion (#773)

It's funny 'cause it's true!

...well, it's true, anyway.
Wed Jun 23, 2010 5:08 pm UTC
Topic: 0757: "Toot"
Replies: 103
Views: 22211

### Re: "Toot" discussion (#757)

After reading this comic, I immediately thought of vuvuzelas. And then I saw the alt-text. GET OUT OF MY HEAD, RANDALL! Randall's not in your f'ing head, he's just been exposed to some of the same memes you have :roll: I had basically the same thought (specifically: "Aw, this could have been a...
Fri Apr 30, 2010 4:51 pm UTC
Topic: 0734: "Outbreak"
Replies: 126
Views: 27516

### Re: "Outbreak" Discussion

Was I the only one whose reaction to this comic was "wait, does this mean the stick figure guy and girl are named Ryan and Laura?!" Or just for the purposes of this comic I guess? Just for this movie. She's normally Megan, and I think the guy is often Rob? Or maybe they are just common ch...
Mon Apr 26, 2010 7:53 pm UTC
Topic: 0731: "Desert Island"
Replies: 119
Views: 28472

### Re: "Desert Island" Discussion

I just realized that the first word of the poem is "telescopes." Seems to contradict the message.
Fri Apr 23, 2010 5:09 pm UTC
Topic: 0731: "Desert Island"
Replies: 119
Views: 28472

### Re: "Desert Island" Discussion

Deep sea creatures are kind of interesting, but verse with perfect meter on the internets... now that's a marvel of nature! Even coming from Randall, it impressed me greatly.

Was I the only one who heard it set to 88 Lines about 44 Women?
Mon Apr 05, 2010 5:38 pm UTC
Topic: 0723: "Seismic Waves"
Replies: 94
Views: 26410

### Re: "Seismic Waves" Discussion

Gee, I can't imagine what was the genesis for this comic *sarcasm*. As a resident of Southern California it was mighty amusing watching people freak out on the intertubes (and calming down my aunt in Georgia). All it did for me was make things sway a bit. Though I am surprised it didn't do more dam...
Wed Mar 24, 2010 9:45 am UTC
Topic: 0718: "The Flake Equation"
Replies: 102
Views: 26516

### Re: "The Flake Equation" Discussion

This blatant misuse of probability could lead to some interesting effects. This word, "interesting." I don't think it means what you think it means. Correcting the equation to account for people who are both crazy and mistaken isn't going to make it any more accurate, or any more meaningf...
Fri Mar 05, 2010 7:40 pm UTC
Topic: 0710: "Collatz Conjecture"
Replies: 278
Views: 68799

### Re: "Collatz Conjecture" Discussion

"Sucess" and "Obsess" both follow the *s*ss pattern. Coincidence? I think not. (Btw, if that's wrong, I don't know regexp very well..) The regular expression would actually be more like /.+s.+ss/, but that's not why it's wrong. It's wrong because "success" does not hav...
Tue Feb 16, 2010 12:30 am UTC
Topic: 0702: "Snow Tracking"
Replies: 135
Views: 37855

### Re: “Snow Tracking” discussion

Hurray for Calvin & Hobbes references! When I was a kid I cut the whole transmogrifier story line out of the newspaper one day at a time (going back from about day 3 when I realized it was going to go on for a while) and taped it to my bedroom wall. I had all the dialogue memorized.
Thu Feb 11, 2010 7:03 pm UTC
Topic: 0700: "Complexion"
Replies: 93
Views: 30960

### Re: "Complexion" Discussion

For a truly random chance, you'd have to make at very least two coin tosses, making pairs of tosses until the tosses came out different. If toss 1 is heads and toss 2 tails, count heads (and vice versa). This will even out any non-random coin tossing in case your coin is biased. Of course, you have...
Wed Jan 20, 2010 6:14 pm UTC
Topic: 0691: "MicroSD"
Replies: 140
Views: 36359

### Re: "MicroSD" Discussion

Am I the only one who doesn't understand what a "refrigerator carton" is?
Fri Jan 08, 2010 8:16 pm UTC
Replies: 104
Views: 33231

flguy1980 wrote:My wife ... [has] given me the following directives for when she dies: ... go to Verizon and see if they'd let me cancel her phone without the "early termination fee".

Ice cold...
Thu Dec 31, 2009 9:51 pm UTC
Topic: 0682: "Force"
Replies: 61
Views: 20853

### Re: "Force" Discussion

This comic made me realize Wikipedia really needs a "WARNING: THIS ARTICLE CONTAINS INFORMATION AND MATERIAL THAT ARE DEADLY. DO NOT TRY THIS SHIT AT HOME." banner for these types of articles. One would hope that the Wikipedia article was written well enough to imply it's inherent danger....
Wed Dec 09, 2009 10:43 am UTC
Topic: 0673: "The Sun"
Replies: 157
Views: 34554

### Re: "The Sun" Discussion

"Never fall back" wouldn't really work either if it were a brit-flick as we call it by it's proper name - Autumn - we don't need to call it fall to remind us the leaves fall off the trees To westrim and I (in southern California), it doesn't even make sense to call it Fall, because nothin...
Wed Nov 25, 2009 7:15 pm UTC
Topic: 0667: "SkiFree"
Replies: 160
Views: 45832

### Re: "SkiFree" Discussion

I don't think it ever occurred to me to try to outrun the thing. I thought it was just an entertaining way of saying "time's up!" On the subject of pre-windows games... has anyone here heard of Willy the Worm? It was a side-view puzzler where you move Willy around the room, bouncing on spr...
Sat Nov 07, 2009 1:25 am UTC
Topic: 0659: "Lego"
Replies: 265
Views: 56934

### Re: "Lego" Discussion

Dad, where is Grandpa right now?

"Most of him is in the Lego box, dear. There are a few fingers under the refrigerator."
Tue Aug 25, 2009 7:26 pm UTC
Topic: 0627: "Tech Support Cheat Sheet"
Replies: 182
Views: 53970

### Re: "Tech Support Cheat Sheet" Discussion

I thought this was brilliant and would solve all my problems, until I saw this: http://notalwaysright.com/closing-arguments/2381. It seems the whole "menu item or button which looks related to what you want to do" thing is beyond some people.
Tue Jun 09, 2009 3:38 pm UTC