Search found 480 matches

by mr-mitch
Sat Jul 05, 2014 3:00 am UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Airbender and Korra - Shyamalan's Masterpiece Animated

How about... Korram/Quorum?
by mr-mitch
Thu Jun 26, 2014 12:29 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1386: "People are Stupid"
Replies: 256
Views: 48058

Re: 1386: "People are Stupid"

I recently watched Men In Black and I'd tend to agree with something they commented on.
People are stupid. Individually, they aren't. Groups of people act in weird ways.But if you have a conversation with a person on normal things most often they seem reasonable.
by mr-mitch
Wed May 14, 2014 1:54 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1368: "One Of The"
Replies: 91
Views: 22175

Re: 1368: "One Of The"

I dunno. I've always thought the most recognisable arch of St. Louis was on his left foot.
by mr-mitch
Sun Jan 19, 2014 1:32 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034960

Re: Coding: Fleeting Thoughts

One irritating situation that occurs with unsigned integers is when you have a for loop with a decreasing index, and you want to have it count all the way down to zero. With signed integers, you would just use the standard for loop: for( int ix=n-1; ix>=0; --ix) { ... } This does not work with an u...
by mr-mitch
Thu Jan 09, 2014 4:25 pm UTC
Forum: Movies and TV Shows
Topic: Aglets of S.H.I.E.L.D.
Replies: 296
Views: 80715

Re: Aglets of S.H.I.E.L.D.

So.... From the previously on, it was Hill, not May who said that he could never know what happened to him. I found it interesting that they could keep him conscious while he was dead? Very weird. Also, what are the thoughts on the brief image of a galaxy or something that he saw when he was lookin...
by mr-mitch
Sat Dec 21, 2013 11:25 am UTC
Forum: Coding
Topic: Combinatorial explosion magnitude?
Replies: 4
Views: 3822

Re: Combinatorial explosion magnitude?

Essentially each new object is a product of the starting objects that have been used? If the order doesn't matter, then it's just the number of subsets, 2 n for n basic items. If the order does matter and there's only ever one result, then it's the number of permutations of each choice, sum_{k=0}^{n...
by mr-mitch
Tue Dec 17, 2013 8:37 am UTC
Forum: Movies and TV Shows
Topic: Once Upon A Time...What?
Replies: 68
Views: 38237

Re: Once Upon A Time...What?

Xeio wrote:
Spoiler:
But... will I still want to watch it without Robert Carlyle? :cry:


Spoiler:
I have it on good authority (i.e. guess) that he'll return. The dark one can't kill himself.
by mr-mitch
Tue Nov 26, 2013 5:12 am UTC
Forum: Mathematics
Topic: I have a drinking problem.
Replies: 4
Views: 2021

Re: I have a drinking problem.

10! is small enough, I just brute-forced all permutations and calculated a score. The score was for each consecutive pair in the ordering (x, y); add the difference if x and y are different letters, and add 2 if they are beer and cider to balance the objective. This got me BCBDADCDCD. So it's not ve...
by mr-mitch
Thu Nov 21, 2013 5:23 pm UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Airbender and Korra - Shyamalan's Masterpiece Animated

Definitely rage. But not so quiet.
by mr-mitch
Sat Nov 16, 2013 4:53 pm UTC
Forum: Gaming
Topic: Pokemon X / Y
Replies: 50
Views: 21574

Re: Pokemon X / Y

I just want to say, I'm trolling hard by giving away Lvl 1 Fletchlings on Wonder Trade... That have at least 2 perfect IVs, Pokerus, and Gale Wings. Most of them are Adamant as well (the later ones are approaching 4 Perfect IVs). I wonder how many n00bs will be pissed off, and how many veterans wil...
by mr-mitch
Sat Nov 16, 2013 2:21 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034960

Re: Coding: Fleeting Thoughts

korona wrote:I don't see anything wrong in defining pi = 4 * atan(1). IMHO that is more beautiful than specifying a numerical constant directly.


Because you can also do acos(-1)? I think it's more beautiful than the multiplication by 4.
by mr-mitch
Sat Nov 16, 2013 12:53 pm UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Avatar: The Last Hairbender & Legend of Korra

What did people think about the final episode of season 1? I'm not too sure what 'actually' happened. Season 1 of what? The Last Airbender or Korra? Korra. The first two books form season 1, next two books (26 episodes) form season 2. Not sure why they describe it like that. I mean the last episode...
by mr-mitch
Sat Nov 16, 2013 12:14 pm UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Avatar: The Last Hairbender & Legend of Korra

What did people think about the final episode of season 1?

I'm not too sure what 'actually' happened.
by mr-mitch
Thu Nov 14, 2013 3:59 pm UTC
Forum: Computer Science
Topic: Fleeting Thoughts (CS Edition)
Replies: 99
Views: 70749

Re: Fleeting Thoughts (CS Edition)

Ah, I understand now.

In that case, it would be just like edit distance, except for each cell in the table you store the edit distance for each (so far valid) offset.
by mr-mitch
Thu Nov 14, 2013 6:28 am UTC
Forum: Computer Science
Topic: Fleeting Thoughts (CS Edition)
Replies: 99
Views: 70749

Re: Fleeting Thoughts (CS Edition)

So, string distance algorithms. I'm trying to implement an extension of Damerau-Levenshtein distance where moving your hand to the wrong position on the keyboard counts as one operation: (dl-distance "test" "rwar") => 4 (bad-hand-position-distance "test" "rwar&quo...
by mr-mitch
Sat Nov 09, 2013 5:52 pm UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Avatar: The Last Hairbender & Legend of Korra

PeteP wrote:
mr-mitch wrote:
Spoiler:
Iroh
!

Spoiler:
First I thought "Does Legend of Korra have a good flashbackscene with Iroh? Do I have to watch it now?" Then I remembered that it just has an Iroh named after the Avatar Iroh.:/


You'll have to watch it. I think you'll be happy.

Although that ending. That ending hurt my heart.
by mr-mitch
Sat Nov 09, 2013 8:57 am UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Avatar: The Last Hairbender & Legend of Korra

Spoiler:
Iroh!
by mr-mitch
Wed Nov 06, 2013 5:23 pm UTC
Forum: The Help Desk
Topic: Fucking Printers
Replies: 25
Views: 12711

Re: Fucking Printers

I recommend you don't, the ink is usually indelible.
by mr-mitch
Sun Nov 03, 2013 1:56 pm UTC
Forum: Computer Science
Topic: Cryptography multiple plaintexts
Replies: 9
Views: 6834

Re: Cryptography multiple plaintexts

The simplest way is to just use XOR.

For each plain text of the same length and a target cipher text, you define keys which are just the xor of each plain text and the target cipher text.

I'm not sure why you'd want to, though.
by mr-mitch
Sun Oct 20, 2013 5:22 pm UTC
Forum: Mathematics
Topic: Optimization Woes with Pizza
Replies: 22
Views: 5500

Re: Optimization Woes with Pizza

But if you cut out the centre of the pizza, you don't get any crust? That seems suboptimal. Similarly with cakes, etc (you miss the frosting on the edge).

Are we allowed to fold the pizza, and does this give us any saving in the total length of cuts?
by mr-mitch
Wed Oct 16, 2013 6:58 am UTC
Forum: Computer Science
Topic: Algorithm to stitch overlapping logs together.
Replies: 15
Views: 8563

Re: Algorithm to stitch overlapping logs together.

SCS is overkill. We have time information here so you can always sort by time (merge sort). The main issue is time synchronisation. I'd think about modeling a current belief on an offset for each timestamp (to a reference time). I'd perform merge sort on the lines by time given the current beliefs a...
by mr-mitch
Fri Oct 04, 2013 8:05 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034960

Re: Coding: Fleeting Thoughts

Is it more or less readable and maintainable? Is there any real difference in the readability and maintainability between template<typename Shape> void func(Shape &shape) { shape.area(); } and void func(Shape *shape) { shape->area(); } ? I suppose the contract is a bit weaker, the template versi...
by mr-mitch
Fri Oct 04, 2013 2:50 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034960

Re: Coding: Fleeting Thoughts

Is it an extreme abuse that instead of using polymorphism in c++ by base classes I'm using templates? For example instead of class Polygon { public: virtual int area() { return 0; } }; class Rectangle : protected Polygon { public: int area() { return x*y; } } void func(Polygon *p) { ... int a = p->a...
by mr-mitch
Sun Sep 08, 2013 10:38 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 572253

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

Awesome, thanks. openvt and chvt are just what I need. I've tried to search but I was obviously using the wrong words. I had to run everything as root (including creation of the screen); otherwise I'd get "there is no matching screen" error. Are screens user-specific? I never knew that. Al...
by mr-mitch
Fri Sep 06, 2013 2:53 pm UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 572253

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

I was wondering how you might get a unix based system (debian) display one of the pts on the main screen? To add a bit of context, I have a raspberry pi without a keyboard with wifi and it's connected via hdmi to my TV. I have a wireless keyboard that is able to connect to a computer in another room...
by mr-mitch
Sat Aug 03, 2013 2:19 pm UTC
Forum: Movies and TV Shows
Topic: Airbender and Korra - Shyamalan's Masterpiece Animated
Replies: 1713
Views: 375227

Re: Avatar: The Last Hairbender & Legend of Korra

Any guess at to who the young guy with the shaggy hair and the chin beard is? He's certainly doing Avatar business, so maybe we get some scenes from the previous water tribe Avatar Whatshisname. Fits with the other scenes depicting previous Avatars. I just wonder if the season will have a new villa...
by mr-mitch
Thu Aug 01, 2013 1:03 pm UTC
Forum: Computer Science
Topic: ICPC problem
Replies: 5
Views: 3998

Re: ICPC problem

It may help to notice a couple of things about the problem. The costs are additive. If you move the weight at X to Y, and then move it from Y to Z, it's the same as moving it from X to Z straight away; W(Y-X) + W(Z-Y) = W(Z-X). From that is the cost is always increasing. It's never cheaper to move a...
by mr-mitch
Fri Jul 19, 2013 8:01 am UTC
Forum: Computer Science
Topic: Avoiding password reuse defeated by accidents
Replies: 19
Views: 10468

Re: Avoiding password reuse defeated by accidents

Or just not submit any prefix of your password until it knows you're not typing it in full. If your computer can decide whether an arbitrary string is a prefix of your password, it knows your password. This is a potential security issue, since if someone steals your computer they will get your pass...
by mr-mitch
Fri Jun 28, 2013 4:49 pm UTC
Forum: Mathematics
Topic: How Does Machine Learning From Unlabeled Data Work?
Replies: 6
Views: 2030

Re: How Does Machine Learning From Unlabeled Data Work?

Okay, I understand how something can come up with clusters of whatever it's looking at. But how does it know cluster 123ABC is the "cat video" cluster? Is that just something that humans do once the clustering has already happened? Let's not forget, you were also told cluster 123ABC is al...
by mr-mitch
Fri Jun 21, 2013 8:05 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034960

Re: Coding: Fleeting Thoughts

What's the best way to cache memory to disk? I'm trying to allocate too much memory for my own good and it's throwing bad_alloc. I've changed this to a simple caching process (separate into blocks, and write the current block/read the next block as needed and also allocating some memory to help in t...
by mr-mitch
Sat May 18, 2013 3:58 pm UTC
Forum: Coding
Topic: grouping lists in a list of lists by item in list
Replies: 2
Views: 6107

Re: grouping lists in a list of lists by item in list

I'm assuming python You could use something like itertools.groupby but it requires python 3. It's also a bit weird working with it, it returns a generator which generates a list of pairs (key, generator) where the inner generator generates the inner lists... Then it's something like itertools.groupb...
by mr-mitch
Wed May 08, 2013 8:07 am UTC
Forum: Mathematics
Topic: 1+1+1+1+1+1+1+1+1+1-1+1+1+1+1+1*0
Replies: 28
Views: 6439

Re: 1+1+1+1+1+1+1+1+1+1-1+1+1+1+1+1*0

I don't think that works. You can't change the order of the numbers in an infinite sum. You're right, and that's why it doesn't equal 0, 1 or even 1/2. I just mean that if it made sense to be able to do those operations, you can show it equals any rational number (which tells you there's a mistake ...
by mr-mitch
Tue May 07, 2013 7:24 am UTC
Forum: Mathematics
Topic: 1+1+1+1+1+1+1+1+1+1-1+1+1+1+1+1*0
Replies: 28
Views: 6439

Re: 1+1+1+1+1+1+1+1+1+1-1+1+1+1+1+1*0

It can actually be derived from one of the 13 set axioms of the real numbers that multiplication takes precedence. (Although you only need 8 axioms really) Ed. actually it will depend on how the axioms are written. The question that actually causes problems is when you have an infinite series: 1-1+...
by mr-mitch
Sun May 05, 2013 11:17 am UTC
Forum: Coding
Topic: SWF to PHP via POST
Replies: 13
Views: 10960

Re: SWF to PHP via POST

What do you get if you use php to show what's in the $_POST variable before you try to access $_POST['exportData']?
by mr-mitch
Sun May 05, 2013 5:50 am UTC
Forum: Coding
Topic: SWF to PHP via POST
Replies: 13
Views: 10960

Re: SWF to PHP via POST

$_POST is an array of post data. When you create a form on your html page whose method is "POST", the name of the input fields on the form are indexes in that array. For example if you submit the form <form method="post" action="my.php"> <input type="text" na...
by mr-mitch
Fri Apr 19, 2013 9:23 am UTC
Forum: Computer Science
Topic: Artificial intelligence (A.I)
Replies: 3
Views: 5799

Re: Artificial intelligence (A.I)

The most highly rated textbook on AI is probably AI: A Modern Approach . You may also be able to access courses from many universities, all of which probably source this textbook, and use it to structure your introductory learning. There are also institutions like Udacity which offer courses for fre...
by mr-mitch
Wed Apr 17, 2013 3:39 am UTC
Forum: Mathematics
Topic: When should I stop sampling?
Replies: 6
Views: 1925

Re: When should I stop sampling?

You could try using something like simulated annealing to search over the large search space.
by mr-mitch
Thu Apr 11, 2013 4:23 am UTC
Forum: Science
Topic: How do you round 1.5 ?
Replies: 35
Views: 10609

Re: How do you round 1.5 ?

Digital multimeters. I have never used one of those that didn't wobble around a value like crazy, in which case one could lean in the direction it sems to wobble more. That might be reflective of the quality of multimeter I've used in the past though. And the stability of whatever it is you're meas...
by mr-mitch
Wed Apr 10, 2013 5:52 am UTC
Forum: Science
Topic: How do you round 1.5 ?
Replies: 35
Views: 10609

Re: How do you round 1.5 ?

Why round? You should represent numbers as Gaussians; a mean and variance. Or maybe mean +- k stdev. Here's a table of common equations, and some more.

Rounding is for children!
by mr-mitch
Thu Apr 04, 2013 4:35 pm UTC
Forum: Mathematics
Topic: Probabilities with Ω={}
Replies: 12
Views: 2636

Re: Probabilities with Ω={}

Wikipedia seems to be a bit deficient across many pages related to this topic. The sample-space should be non-empty. The only page I can find which states this is http://en.wikipedia.org/wiki/Probability_space. Unless I'm missing something. Does it really make sense for there to be an experiment whe...

Go to advanced search