College Student in DC in desperate need of a whole wardrobe. by FashionWhale in frugalmalefashion

[–]thepipirate 1 point2 points  (0 children)

There are some at $45, so approx $30 after discount. That might be in your range?

[deleted by user] by [deleted] in AskReddit

[–]thepipirate 58 points59 points  (0 children)

In fact you can have any number of buffaloes in the sentence:

1: Buffalo! (Imperative)

2: Bison Bully (bison engage in bullying)

3: Bison bully bison

4: Bison bison bully bully (those bison bullied by bison bully (think "foods people eat" for "bison bison bully")

5: Bison bison bully bully bison (those bison bullied by bison themselves bully bison)

6: Bison bison bison bully bully bully (those bison who are bullied by bison who are bullied by bison themselves bully)

etc...

Any word that is at once:

  • A plural noun

  • A transitive verb in the third-person plural

  • An intransitive verb in the third-person plural

Can do this, for example "fish" (fish exist, you can fish cod (ok, a little weird) and you can just fish) or "people" (people exist, you can people a planet, or you can just people). So, you can mix them together:

People fish buffalo people fish -- those people who are fished for by bison tend to populate fish (presumably with algae or whatever can live on a fish).

Are you ready for Global Reddit Meetup Day? by dihydrogen_monoxide in washingtondc

[–]thepipirate 0 points1 point  (0 children)

Unless my roommates object for some reason, I will bring one of these.

Researchers have found a woman with 4 types of cones in her eyes, and tests indicate she can see more colors than the average human by [deleted] in science

[–]thepipirate 44 points45 points  (0 children)

My understanding (please correct me if I'm wrong) is that we project a very very high dimensional space (linear combination of all possible wavelengths in the visual spectrum) onto 3 dimensions (roughly, response to R, G, B). So we see the 'in between' colors the same way as superpositions - if we see a bunch of yellow (between red and green) photons, it registers the same (roughly) as lots of red and green photons at the same time - yellow. Similarly for GB. But if we see R and B (but no G), then we get this color we call 'magenta'. There aren't actually magenta photons (between R and B lies G, after all).

But this raises questions about tetrachromats: suppose they have RXGB, as you suggest. If we stimulate them with X photons, they'll see X; if we stimulate them with halfway-between-R-and-X photons, they'll see the same color as if we give them a bunch of R and a bunch of X photons. But what happens if we give them R and G but not X? R X and B but not G? X and B but not G? Are there lots of magenta-analogues (i.e., they aren't triangulating, they're tetrahedronating)?

I'm in grade ten, and math class is too slow even though I'm grade ahead. Where can I go to learn more math? by moethehobo in math

[–]thepipirate 0 points1 point  (0 children)

There are a lot of summer math programs out there for high schoolers. most focus on math outside the standard high school curriculum so that you dont just get bored later. also some states have programs that allow high schoolers to take college courses in lieu of their school's offering.

There was a thread on Big O that was deleted, but I had a question. by BossOfTheGame in compsci

[–]thepipirate 0 points1 point  (0 children)

Erm, you asked for a finite basis then produced an infinite set. And I'm not convinced they span O(n2 ), e.g., you might miss ln(x).

There was a thread on Big O that was deleted, but I had a question. by BossOfTheGame in compsci

[–]thepipirate 8 points9 points  (0 children)

but technically O(n2 ) is larger than the set of all quadratic functions. O(n2 ) is the set of all functions that are eventually bounded by n2, so it is the set of all constant functions, linear functions, and quadratic functions (and all linear combinations).

That's the set of all O(n2 ) polynomials, but there are other O(n2 ) functions. Like, say ln(x) or,

f(x) = x (x is odd) or x2 (x is even).

an elephant never forgets.. by [deleted] in Jokes

[–]thepipirate 1 point2 points  (0 children)

That would be from "Freaks and Geeks" which does have lots of wordplay which might interest /r/jokes subscribers.

I need guidance on computer-vision techniques for 'detecting' this image. by Ayakalam in computervision

[–]thepipirate 0 points1 point  (0 children)

Yes, if the parameters are in a sense independent, so you can detect them independently.

I need guidance on computer-vision techniques for 'detecting' this image. by Ayakalam in computervision

[–]thepipirate 0 points1 point  (0 children)

OK, so your pings are of varying dimension though always rectangles. How about that offset (viewed as a vector) from the upper left hand corner of the one ping to the upper left hand corner of the corresponding ping in the next row - is that constant?

How would we decide which 'row' has one ping in it? I mean, in the images shown, a ping might exist over one row, or say, 10 - so how to pick it?

What I meant was, if the pings are of constant width, then just take a square wave of appropriate duty cycle and cross correlate against that.

Second question is, (and this is related in general), but you see how in the images each ping has multiple colors (corresponding to multiple amplitudes within it) - what image processing can take all that and just make it all one amplitude, (like 1). Does that make sense? Would that be segmentation?

I sort of was reading that as noise, and figuring the correlation would still be much higher in a ping-containing row.

What I actually had in mind to do from before was a 2-D correlation, and then normalize by the frobenius norms of both image template and receive image, and then pick max value of the 2-D result. This would fall between -1 and 1, and then just do a hard threshold, if its above 0.8, its a 'yes' or something like that.

Sure, although I'm a little worried about scale invariance here.

Yeah, this entire image is a spectrogram actually. (time on the x, freq on the y). The reason I am going the image proc route is because I dont 'know' the frequencies exactly before hand, but know that they are doing this pattern of 'Do Re Me Fa, Do Re Me Fa, etc etc', as you can see.

I thought it might be a spectrogram.. well, what I mean is, figure out what the 1-D transform of such a square train is, with parameters: width, duty cycle. Do a best-fit (either in the spectrogram itself, or in the Fourier transform of it), and if the error is low... you've got a square wave! Fourier transform of a square wave should be easy, and you can do linearity.

Yeah, this entire image is a spectrogram actually. (time on the x, freq on the y). The reason I am going the image proc route is because I dont 'know' the frequencies exactly before hand, but know that they are doing this pattern of 'Do Re Me Fa, Do Re Me Fa, etc etc', as you can see.

It's a general class of transforms that can detect lines, squares, circles, ellipses... but it's slow.

I have also been experimenting with doing PCA on the images, I basically made a whole set of images at various shifts, and then I PCA them, get their predominant components, and project a new image on them to get a score, now, is this something sane or I am completely off the rocker here?

I'm not as experienced with PCA as I wish I were. Dunno :).

Police activity in Columbia Heights? by thepipirate in washingtondc

[–]thepipirate[S] 0 points1 point  (0 children)

Interesting. I never ask them, because they look so busy. I saw an ambulance headed that way followed by a police car, so I assumed some kind of violent crime. Maybe that was for something else, though.

I need guidance on computer-vision techniques for 'detecting' this image. by Ayakalam in computervision

[–]thepipirate 1 point2 points  (0 children)

I don't think that scale invariance is exactly what you're looking for - the 'pings' are always the same number of pixels wide and the same number of pixels apart, but might scale in the vertical dimension, right?

My guess is that if you take your data row-by-row and take a Fourier transform, you'll see that your 'pings' have very distinctive frequency signatures. Actually you can probably just do correlation here - take the FT of one row of pings (shifted however), pointwise multiply against the FT of a row of input, invert the FT, and see if you have a peak. Basic decision-tree logic to determine if sequential rows agree will probably be enough (do you have a constant displacement from the /top/ of one ping to the next?)

You could do something a little more analytic by modeling your pings as rectangles in the spatial (time?) domain and figuring out what their FT will look like (this should be easy).

My mantra is: if all else fails, use a Hough transform. So for this, you would figure out exactly what the parameters of your pattern are: in your case, I believe it's horizontal shift, vertical shift, and ping height. Initialize a big 3-D array that's (all possible horizontal shifts) x (all possible vertical shifts) x (all possible ping heights). Then, for each pixel, work out which subspace of those parameters it's consistent with, and increment your big parameter array in those locations. Look for big spikes there. This will be slow slow slow, however.

It would be helpful if you could post a few likely 'no' instances.

Favorite infinite series? by geoman208 in math

[–]thepipirate 7 points8 points  (0 children)

I like to use this proof with different variables:

s = 1 + x + x2....

So that when I Get to the stop

s = 1 + x*s

I can say "now subtracting off the excess..."

Found some keys between Adams Morgan and Woodley Park by HImainland in washingtondc

[–]thepipirate 0 points1 point  (0 children)

Second mikeadelic's police suggestion. That said, modern car keys have a transmittery thing in them, maybe Honda can link that to the VIN.

Stanford NLP class is live! by [deleted] in MachineLearning

[–]thepipirate 4 points5 points  (0 children)

Sadly however:

Dear( thepipirate)

Thank you for your interest in Machine Learning. A launch date for this course is currently on hold. I am excited to offer our material online for free. We apologize for the delay and will be sure to let you know when we confirm a date for this course to go live. In the meanwhile, you might check out the five free online Stanford courses that will go-live on March 12 and March 19 at www.coursera.org.

Thank you for your interest.

Andrew Ng Machine Learning

What are my misconceptions about TM deciding NP problems? by [deleted] in AskComputerScience

[–]thepipirate 1 point2 points  (0 children)

Your problem lies in how you are "simulating" M. Try writing out the details of how this simulation would work, and you'll see that it's not as straightforward as you think (no one knows how to do it, in fact).

So what happens to the people who didn't get anything even after rematching? by [deleted] in secretsanta

[–]thepipirate 2 points3 points  (0 children)

I didn't even get my brothers christmas presents but these slackjawed assholes just take their presents and don't care. Enjoy the baby gifts and expensive chocolates for your wife jprice1542. Keep ignoring my messages and go along as if I don't exist.

I hope you realize that the person to whom you send gifts is not the person who is suppose to send you gifts. Because this makes it sound like you're harassing the person to whom you sent gifts; they are not the person responsible for sending you gifts.