## Search found 30 matches

Wed Mar 16, 2016 7:46 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### Re: Coding: Fleeting Thoughts

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

### 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...
Mon Nov 16, 2015 6:51 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### Re: Coding: Fleeting Thoughts

Qaanol wrote:

Code: Select all

`y =! x;`

I am so sorry.
Fri Jul 17, 2015 3:52 am UTC
Forum: Computer Science
Replies: 120
Views: 65662

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
Sun Jul 12, 2015 4:58 pm UTC
Forum: General
Replies: 1405
Views: 246388

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

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...
Wed Apr 22, 2015 6:23 am UTC
Forum: Mathematics
Topic: how to maximize number of beard states?
Replies: 8
Views: 2628

### 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...
Tue Apr 21, 2015 4:23 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### 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.
Mon Apr 06, 2015 6:43 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### Re: ant farming: Fleeting Thoughtth

@felltir:

Spoiler:

Code: Select all

`?????:%%%`

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

### 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...
Fri Mar 13, 2015 8:13 pm UTC
Forum: Mathematics
Topic: Probability/cryptography question
Replies: 6
Views: 2168

### 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...
Thu Jan 08, 2015 8:39 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### Re: Coding: Fleeting Thoughts

phlip wrote:FT:

Code: Select all

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

<_<
Tue Oct 14, 2014 1:46 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### 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...
Mon Oct 13, 2014 1:26 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### 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...
Sun Jul 20, 2014 5:13 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034673

### 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 ...
Mon Jun 02, 2014 6:03 am UTC
Forum: Movies and TV Shows
Topic: Game of Thrones: The TV Show (novelisation coming soon)
Replies: 2124
Views: 373055

### 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...
Wed May 21, 2014 7:29 am UTC
Forum: General
Topic: Lucky Ten Thousand (TIL)
Replies: 13424
Views: 1771984

### Re: Today I Learned

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

### 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 ...
Wed May 14, 2014 9:18 am UTC
Forum: Fictional Science
Topic: Cutting off a finger
Replies: 31
Views: 19748

### 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...
Fri May 09, 2014 7:44 am UTC
Forum: Science
Topic: Evolution question - how does complexity arise?
Replies: 201
Views: 29199

### 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...
Sat Dec 07, 2013 11:59 pm UTC
Forum: Forum Games
Topic: Correct Horse Battery Staple sentence construction
Replies: 21
Views: 4730

### 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!"
Sat Dec 07, 2013 11:22 pm UTC
Forum: Computer Science
Topic: all paths from a single source (undirected & unweighted)
Replies: 4
Views: 4539

### 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)....
Fri Dec 06, 2013 2:20 am UTC
Forum: Coding
Topic: The Great Programming Language Survey, poll #3: dislike
Replies: 11
Views: 4975

### 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...
Sun Nov 10, 2013 8:19 am UTC
Forum: Computer Science
Topic: SOS-Need help at exercise
Replies: 10
Views: 5248

### 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...
Thu Nov 07, 2013 4:04 am UTC
Forum: Science
Topic: What is the smallest object that has gravity?
Replies: 65
Views: 19591

### 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...
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: 5668

### 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.

Fri Oct 11, 2013 3:46 am UTC
Forum: School
Topic: Awesome Teacher Quotes
Replies: 1764
Views: 404625

### 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...
Mon Sep 09, 2013 12:31 am UTC
Forum: General
Replies: 22
Views: 6503

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...
Mon Jul 29, 2013 6:04 am UTC
Forum: General
Topic: Lucky Ten Thousand (TIL)
Replies: 13424
Views: 1771984

### Re: Today I Learned

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

### 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...