Search found 30 matches

by Dinosaur!
Wed Mar 16, 2016 7:46 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

@ysn, what the shit is that monstrosity?!
by Dinosaur!
Tue Nov 24, 2015 8:42 pm UTC
Forum: Mathematics
Topic: Traffic light puzzle
Replies: 8
Views: 1976

Re: Traffic light puzzle

Not too rain on the parade here (i do love optimizing!), but my feeling on this is that I really don't care about minute changes in fuel efficiency. I DO care about changes in safety, though, and it seems to me that waiting until the last moment to begin braking is like optimizing for unsafety. Like...
by Dinosaur!
Mon Nov 16, 2015 6:51 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

Qaanol wrote:

Code: Select all

y =! x;


I am so sorry.
by Dinosaur!
Fri Jul 17, 2015 3:52 am UTC
Forum: Computer Science
Topic: Deliberately bad algorithms
Replies: 120
Views: 29193

Re: Deliberately bad algorithms

You, sir, name? wrote:

Code: Select all

int multiplyByTwo(int i) {
    for (int j=0;;j++) {
        double val = pow(multiplyByTwo(cos(i)*sin(i)),2) + pow(cos(j),2);
        if (abs(val-1) < 0.0000001) {
            return i < 0 ? -j : j;
        }
    }
}


Fixed that for ya :D
by Dinosaur!
Sun Jul 12, 2015 4:58 pm UTC
Forum: General
Topic: How'd you come up with your username(s)?
Replies: 1405
Views: 185702

Re: How'd you come up with your username(s)?

I have a pet Muscovy duck, and his name is Dinosaur. His name comes from his unevolved appearance combined with his reptilian murder-brain.
by Dinosaur!
Sat Jul 11, 2015 8:08 pm UTC
Forum: Food
Topic: Today I Made:
Replies: 4015
Views: 617545

Re: Today I Made:

yesterday I made: yogurt! turns out it's really easy, just mix milk with a live-culture yogurt, and hold at 110 degrees F overnight, bam. today I made: tzatziki with said yogurt. brought it to the weekly BBQ at work, was a hit. booyah. 8-) last week I bottled (and will be sampling tonight): hard str...
by Dinosaur!
Wed Apr 22, 2015 6:23 am UTC
Forum: Mathematics
Topic: how to maximize number of beard states?
Replies: 8
Views: 1884

Re: how to maximize number of beard states?

I think you should definitely experience the half-beard (left or right, your choice). It will probably reduce the total number of styles you can traverse, but it's worth it because it looks hilarious Agreed. Here's an example of myself exhibiting just a fraction of the greatness achievable by the h...
by Dinosaur!
Tue Apr 21, 2015 4:23 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

It seems odd to me to specify a circle by a point and a vector. I mean, there's no reason that its radius cannot be described as a vector, but a scalar seems more natural to me.
by Dinosaur!
Mon Apr 06, 2015 6:43 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: ant farming: Fleeting Thoughtth

@felltir:

Spoiler:

Code: Select all

?????:%%%

gave me a tickle
by Dinosaur!
Wed Mar 18, 2015 6:35 am UTC
Forum: Science
Topic: Maxwell's demon -- consensus on disproofs?
Replies: 20
Views: 3306

Re: Maxwell's demon -- consensus on disproofs?

Problem with that is, you'll have to wait around for a really long time. I don't really have the physics background to discuss that article's validity, or what engineering / thermo problems may arise with your gas/valve system, but it's pretty easy for me to discuss macroscopic objects. Like, imagin...
by Dinosaur!
Fri Mar 13, 2015 8:13 pm UTC
Forum: Mathematics
Topic: Probability/cryptography question
Replies: 6
Views: 1475

Re: Probability/cryptography question

You can ensure that all 26 letters are in different places with 13 swaps. Better yet, you can place each letter in an arbitrary location with 25 swaps. Once you do that, further swaps won't really do much for you: if you come up with a way to make 100 swaps to reach a particular cipher, at some poin...
by Dinosaur!
Thu Jan 08, 2015 8:39 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

phlip wrote:FT:

Code: Select all

enum ಠ_ಠ {°□°╰=1, °Д°╰, ಠ益ಠ╰};
void ┻━┻︵​╰(ಠ_ಠ ⚠) {exit((int)⚠);}

if (error)
    ┻━┻︵​╰(°□°╰);

<_<
by Dinosaur!
Tue Oct 14, 2014 1:46 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

Man, I'm really hating the process of learning C. I've been programming for a few years now, and have learned a bit each C++, Java, and Perl in that order. Writing typedef and struct and calloc/malloc/free and char* and '\0' and blah* and &blah all hurt my soul. I'm sure I'll get over it, but i...
by Dinosaur!
Mon Oct 13, 2014 1:26 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

Man, I'm really hating the process of learning C. I've been programming for a few years now, and have learned a bit each C++, Java, and Perl in that order. Writing typedef and struct and calloc/malloc/free and char* and '\0' and blah* and &blah all hurt my soul. I'm sure I'll get over it, but it...
by Dinosaur!
Sun Jul 20, 2014 5:13 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449233

Re: Coding: Fleeting Thoughts

@Moiraemachy: Man, I can relate to that. My first two 'programming' experiences probably were playing with the StarCraft map editor (which is very similar to RPG Maker) and using Macro Express (not unlike AutoIt) to cheat in MMORPG's by automating crafting. Both of these experiences were around age ...
by Dinosaur!
Mon Jun 02, 2014 6:03 am UTC
Forum: Movies and TV Shows
Topic: Game of Thrones: The TV Show (novelisation coming soon)
Replies: 1966
Views: 237209

Re: Game of Thrones: The TV Show (novelisation coming soon)

Spoilers for recent episode (s04e08). Haven't read the books. Holy crap wow, I literally bet one of my friends four-to-one that Oberyn would totally freaking win. Like, wow. Of course, my confidence in Tyrion/Oberyn was based largely on the fact that they are established characters that still have l...
by Dinosaur!
Wed May 21, 2014 7:29 am UTC
Forum: General
Topic: Lucky Ten Thousand (TIL)
Replies: 13101
Views: 1093052

Re: Today I Learned

TIL: Linear algebra hurts my brain :)
by Dinosaur!
Tue May 20, 2014 9:10 am UTC
Forum: Fictional Science
Topic: Cutting off a finger
Replies: 31
Views: 13711

Re: Cutting off a finger

The number of times that I realized I had cut myself from the pain response first, I could probably count on one hand. I see what you did there... :D I have to concur about the pain response thing. One time I grabbed a pan straight out of the stove. Hearing my skin start to sizzle was what made me ...
by Dinosaur!
Wed May 14, 2014 9:18 am UTC
Forum: Fictional Science
Topic: Cutting off a finger
Replies: 31
Views: 13711

Re: Cutting off a finger

To be clear, I have not been acquainted with having an entire finger removed. But, having worked as a prep cook for some five years, I have had many finger lacerations. I've had stitches on the fingers and thumb of my left hand around a half-dozen times, and have sustained perhaps fifty cuts on my h...
by Dinosaur!
Fri May 09, 2014 7:44 am UTC
Forum: Science
Topic: Evolution question - how does complexity arise?
Replies: 201
Views: 21746

Re: Evolution question - how does complexity arise?

Anyways, all of this is very much unrelated to the original thread topic, but again I just wanted to thank you guys for taking the time to reason with me last year in such a respectful and constructive way. I wish you all the best! I dunno if you get this all the time, but you come off as really ra...
by Dinosaur!
Sat Dec 07, 2013 11:59 pm UTC
Forum: Forum Games
Topic: Correct Horse Battery Staple sentence construction
Replies: 21
Views: 3675

Re: Correct Horse Battery Staple sentence construction

Spoiler:
earnest-offer-grass-ability-2


So the other day I was speaking with my friend Ernie, who owns a dispensary. He was complaining about California regulations, which do not allow him to sell to minors. I replied, "Earnest, offer grassability 2 adults only, not kids!"
by Dinosaur!
Sat Dec 07, 2013 11:22 pm UTC
Forum: Computer Science
Topic: all paths from a single source (undirected & unweighted)
Replies: 4
Views: 3822

all paths from a single source (undirected & unweighted)

Dear xkcd, I have a program that I would like to write for my own exercise. I got the idea from a homework assignment from my Java class. Here's an abbreviated version of the original problem statement: You have a list some of some several thousand five-letter words in a file (from Knuth's website)....
by Dinosaur!
Fri Dec 06, 2013 2:20 am UTC
Forum: Coding
Topic: The Great Programming Language Survey, poll #3: dislike
Replies: 11
Views: 4120

Re: The Great Programming Language Survey, poll #3: dislike

I cannot stand reading and writing assembly language. You may say, "oh, that's just because you do not have sufficient experience in it to see the beauty/simplicity/speed/whatever", to which I would reply, "that may be the case, but the reason I do not have the experience is because g...
by Dinosaur!
Sun Nov 10, 2013 8:19 am UTC
Forum: Computer Science
Topic: SOS-Need help at exercise
Replies: 10
Views: 4293

Re: SOS-Need help at exercise

DFAs are nice because they can store information. If I gave you an arbitrary string of a's and b's, what information would you need to store in order to tell me if it fits the criteria from your original post? How could that information be stored in a DFA? There is a relation between regular express...
by Dinosaur!
Thu Nov 07, 2013 4:04 am UTC
Forum: Science
Topic: What is the smallest object that has gravity?
Replies: 65
Views: 15250

Re: What is the smallest object that has gravity?

I'm not sure if this is a troll post, but I'll go ahead and give you the benefit of the doubt. :) As far as I know (which is not terribly far, I'm a layman here), any object in a gravitational field will be affected by it, regardless of the 'size' of the object. Planets, baseballs, bacteria, photons...
by Dinosaur!
Fri Oct 11, 2013 5:26 am UTC
Forum: Books
Topic: Request - what can I write that you'll want to read?
Replies: 3
Views: 4963

Re: Request - what can I write that you'll want to read?

YttriumOx wrote:A book about the philosophy of computer software design - strictly focusing on design, philosophy and history and not on actual code. The only code that will appear in the book (if any at all) will be tiny snippets of pseudocode to clarify the text.


I would read this :)
by Dinosaur!
Fri Oct 11, 2013 3:46 am UTC
Forum: School
Topic: Awesome Teacher Quotes
Replies: 1755
Views: 304877

Re: Awesome Teacher Quotes

Java programming professor, lecturing on composition / OOP: If you're thinking to yourself, "all this structure and order make perfect sense," then Java is going to be your friend. If, on the other hand, you're thinking to yourself "what is with all this privacy shit, I just want to c...
by Dinosaur!
Mon Sep 09, 2013 12:31 am UTC
Forum: General
Topic: Facebook vs. Google+
Replies: 22
Views: 5305

Re: Facebook vs. Google+

I voted for FB because I actually use it. When G+ first came out, like many people I made an account. I currently have 8 friends on g+, and get some email from them every month or two. At the end of the day, I don't use it because I can't, in turn because nobody else uses it. If g+ had a real userba...
by Dinosaur!
Mon Jul 29, 2013 6:04 am UTC
Forum: General
Topic: Lucky Ten Thousand (TIL)
Replies: 13101
Views: 1093052

Re: Today I Learned

TIL about the brain-breaking, gravity-defying art of tensegrity. :shock:
by Dinosaur!
Thu Jul 11, 2013 6:49 am UTC
Forum: Mathematics
Topic: Rescue Boat to Save Little Child
Replies: 9
Views: 3319

Re: Rescue Boat to Save Little Child

The current effects the boat and the child equally, so you can ignore it. Just solve the problem as if there is no current. (black arrows = "Stromversetzung" - I don't know an english word for that ) Google Translate gives "current dislocation", so maybe current vector? Or curre...

Go to advanced search