Search found 184 matches

Wed Mar 03, 2010 10:39 am UTC
Topic: 0709: "I Am"
Replies: 152
Views: 46459

Re: "I Am" Discussion

R2D2, along with other droids from SWs, are rare example of movies' artificial intelligence not determined to destroy humankind.
Tue Mar 02, 2010 9:58 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Re: need alg. sugg.: gradient-fill the polygon - how?

Aaeriele wrote:I wonder if there's a way that would work for the latter problem by essentially combining the results of two breadth-first fills: one that starts at the white point, and the other which starts from the edges and fills in a reverse direction.
ha, inverse flood-fill that may be feasible.
Tue Mar 02, 2010 9:25 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Re: need alg. sugg.: gradient-fill the polygon - how?

my version at the moment is this: 1 for each pixel, find path and then distance to white point (d1), 2 find distance to closest perimeter point (d2), 3 assuming 0 black and 1 white, assign color d2 / (d1 + d2). this is still not garanteed to be smooth, but at least does not seem to have the edge pro...
Tue Mar 02, 2010 9:21 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Re: need alg. sugg.: gradient-fill the polygon - how?

you'll have each pixel numbered with a value from 0 to the maximum distance, then just rescale these values to the range of your color space (fairly trivial, especially for greyscale) and you're done. Again, you are second one to miss the condition that edges must be black. Your way, only one the m...
Tue Mar 02, 2010 6:48 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Re: need alg. sugg.: gradient-fill the polygon - how?

besides, ieven if you do have totalDist value, imagine an edge on the same line with white point. an edge itself has to be black, but line segment infinitely close to it would have significant distance gradient - how do you maintan smooth color mapping in this case?
Tue Mar 02, 2010 6:02 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Re: need alg. sugg.: gradient-fill the polygon - how?

not so obvious, because we don't know totalDist. there's whole perimeter of black pixels, which one do we take to calculate totalDist?
Tue Mar 02, 2010 5:08 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Re: need alg. sugg.: gradient-fill the polygon - how?

Now your problem is reduced to painting a single triangle with one corner white, and the opposite edge black, in "a smooth gradient". Can you imagine how to do this reasonably quickly? Well yeah, I originally thought of casting a ray from selected point through every pixel and color accor...
Mon Mar 01, 2010 10:56 pm UTC
Forum: Computer Science
Replies: 40
Views: 9402

more nice words on subject: spatial colors distribution. the wast majority of such images would be random noise, and I'm sure math guys could easily come up with some statistics/frequency analysis to filter out ~99.999999% of images below certain threshold. the rest would at least qualify for comput...
Mon Mar 01, 2010 10:43 pm UTC
Forum: Computer Science
Topic: Need algorithm suggestions: gradient-fill the polygon - how?
Replies: 30
Views: 7390

Need algorithm suggestions: gradient-fill the polygon - how?

I have specified point inside polygon, and - well - polygon. I want to paint the point white, and polygon perimiter black, and then smooth gradient inbeween. I can see how to do this easily (although not really quickly) for convex polygons, but I was thinking maybe someone on the internet knows how ...
Sat Feb 27, 2010 9:21 pm UTC
Topic: 0707: "Joshing"
Replies: 63
Views: 18874

Re: "Joshing" Discussion

Boss: Hey Bob, when will you be done with that paperwork?
Bob: Oh, you know, if I tell you...
Boss: That's not funny for ~7 bn times, Bob
Bob: I mean... kill you even sooner.
Thu Feb 25, 2010 10:57 am UTC
Topic: 0706: "Freedom"
Replies: 122
Views: 27724

Re: "Freedom" Discussion

haloshade wrote:why not try something that you normally won't at least once before you die? I like it.
Where can I buy long range sniper rifle?
Thu Feb 25, 2010 1:14 am UTC
Topic: 0706: "Freedom"
Replies: 122
Views: 27724

Re: "Freedom" Discussion

Wed Feb 24, 2010 11:12 pm UTC
Topic: 0706: "Freedom"
Replies: 122
Views: 27724

Re: "Freedom" Discussion

take it a bit outside of context, and you will see that as long as you make logical decisions in order to follow some goal (or goals), you are no more free than a computer program created to follow its goals. it is only when you are doing something completely illogical and unreasonable, you are trul...
Wed Feb 17, 2010 6:56 pm UTC
Topic: 0703: "Honor Societies"
Replies: 234
Views: 59352

Re: Honor Societies

moreover,

Code: Select all

`a           b         if a then b     not a or btrue    true             true            truetrue    false            false           falsefalse   true             true            truefalse   false            true            true`
if a = b = p you get the above.
Wed Feb 17, 2010 6:53 pm UTC
Topic: 0703: "Honor Societies"
Replies: 234
Views: 59352

Re: Honor Societies

DVC wrote:can you show me how "If p then p" is equivalent to "Not p or p"?

Code: Select all

`p                if p then p              not p or ptrue                 true                    truefalse                true                    true`
Wed Feb 17, 2010 11:05 am UTC
Topic: 0703: "Honor Societies"
Replies: 234
Views: 59352

Re: Honor Societies

p.s. this IE thing has nothing to with title tag That IE thing also has nothing to do with the page not displaying in IE. You can tell, because the site has worked in IE before, and only stopped with this latest comic... but that CSS file hasn't changed since 2007. you are right (but what I said is...
Wed Feb 17, 2010 10:40 am UTC
Topic: 0703: "Honor Societies"
Replies: 234
Views: 59352

Re: Honor Societies

just because the author did it in the comic, it does not mean you should all post stupid repetitive remarks in this thread... it just doesn't.

p.s. this IE thing has nothing to with title tag
Sun Feb 14, 2010 2:07 am UTC
Topic: 0543: "Sierpinski Valentine"
Replies: 138
Views: 40424

Re: "Sierpinski Valentine" Discussion

it is that time of the year again I am writing a program to fit hearts into free space using sort of GA (a fancy name for random search, basically). Not perfect yet (see arrows) but I am getting close.....
Sat Feb 06, 2010 12:23 am UTC
Topic: 0688: "Self-Description"
Replies: 200
Views: 102467

Re: "Self-Description" Discussion

Moonfish wrote:It reminds me of this comic:
Pacman image mentioned as late as at page 4 of this thread by user with 1 post I guess this describes xkcd forum community really well. I hope I will not become like one of you guys.
Thu Dec 10, 2009 2:04 pm UTC
Topic: 0392: "Making Rules"
Replies: 157
Views: 26840

Re: Making Rules

<offtopc>this ...Aggh" (that's the sound of getting a flurry to the solar plexus, which is what would happen if some random dude punched me)... is the only mention of solar plexus I can find around. aint that comic got its own thread yet? http://imgs.xkcd.com/comics/solar_plexus.jpg any way, ju...
Wed Nov 25, 2009 1:43 pm UTC
Topic: 0667: "SkiFree"
Replies: 160
Views: 47621

Re: "SkiFree" Discussion

Yesterday I decided to live forever. So far it goes well...
Tue Nov 24, 2009 12:04 am UTC
Forum: Religious Wars
Topic: Can a machine be conscious?
Replies: 162
Views: 29908

Re: Can a machine be conscious?

Is a machine concious of its surrondings? Some cars turn on their windshield wipers when it begins to rain, so it is reacting to external stimuli. Does it know why it turns on its wipers, or is it simply a controlled response? It is almost like if you're asking, could a car make free choice and not...
Mon Nov 23, 2009 7:54 pm UTC
Forum: Computer Science
Replies: 60
Views: 11866

judging from the movies, thinking robots will absolutely kill us all. so don't make them.
Mon Nov 23, 2009 7:38 pm UTC
Topic: 0666: "Silent Hammer"
Replies: 113
Views: 26230

Re: "Silent Hammer" Discussion

Sat Nov 21, 2009 10:28 pm UTC
Forum: Science
Topic: Dial 328-427
Replies: 8
Views: 1644

Re: Dial 328-427

bingo
Sat Nov 21, 2009 8:35 pm UTC
Forum: Science
Topic: Dial 328-427
Replies: 8
Views: 1644

Re: Dial 328-427

Felstaff wrote:what does the title have to do with your question?
That's easy to figure out if you think about it longer than a second...
kernelpanic wrote:search "Dial 328-427" in google
...and googling is not thinking.
Felstaff wrote:And what does philosophy have to do with science?
Mods feel free to move to "serious business"; but around here we were told that philosophy is science too.
Sat Nov 21, 2009 5:38 pm UTC
Forum: Science
Topic: Going to the future
Replies: 37
Views: 3429

Re: Going to the future

gmalivuk wrote:you'll never receive *anything* sent from earth even one year after you left.
Why? (c) terminator

as long as your own speed is less than c you will receive signals.
Sat Nov 21, 2009 5:24 pm UTC
Forum: Science
Topic: Dial 328-427
Replies: 8
Views: 1644

Dial 328-427

did anything happen in dialectics (especially its epistemology application) after Marx? seems like it was entirely dropped in the west and conservated in the east.
Wed Nov 18, 2009 9:07 pm UTC
Topic: Personal Art links: DeviantArt, flickr, etc.
Replies: 254
Views: 167293

Re: Personal Art links: DeviantArt, flickr, etc.

I thought to post my own da url here, but then i thought that I didn't really click any of da links above, so why bother I guess I will post it one day when it will be on topic, or maybe simply put it into signature, like spammers do.
Tue Nov 17, 2009 11:59 am UTC
Topic: 0663: "Sagan-Man"
Replies: 107
Views: 23770

Re: "Sagan-Man" Discussion

skine wrote:"If you wish to make an apple pie from scratch, you must first invent the Universe."

this one is funnier
Fri Nov 13, 2009 6:23 pm UTC
Forum: Movies and TV Shows
Topic: 9 [one-character-titles are dumb ~4d.]
Replies: 71
Views: 10070

Re: 9 [one-character-titles are dumb ~4d.]

Never build a machine with one giant red eye. Yeah, one would think they will learn after 2010 . because the gas killed all life (in the area? yeah, not sure about that), I see no reason why the bodies that we see (the professor, and the mother and child in the car) couldn't be ...
Wed Nov 11, 2009 3:57 pm UTC
Forum: Computer Science
Topic: Turing machines
Replies: 15
Views: 4341

Re: Turing machines

perhaps one could write meaningful program generator that generates programs creating real art? using, for example, turtle graphics and random set of rules... on the other hand, that would be no different from generating the end result in postscript format. p.s. again, we need a turing test here: ha...
Wed Nov 11, 2009 10:40 am UTC
Forum: Computer Science
Topic: Turing machines
Replies: 15
Views: 4341

Re: Turing machines

There are general guidelines that don't necessarily dictate that a sentence makes sense, but are helpful/necessary to be able to do things efficiently. Similarly,... similarly you can "generate" a program following syntax rules that does compile yet doesnt work. Easiest example I can thin...
Tue Nov 10, 2009 10:19 pm UTC
Forum: Computer Science
Topic: Turing machines
Replies: 15
Views: 4341

Re: Turing machines

^^what he said.

no really, you asked "how exactly do people design turing machines to carry out specific computations" not "how turing machines work".
Mon Nov 09, 2009 12:59 pm UTC
Forum: Science
Topic: Cloning
Replies: 46
Views: 4358

Re: Cloning

plenty of other threads for you. surely, if that guy who said he was thinking of soul as something that gives a piece of meat an ability to think, is saying that clones will be able to think just like their genetic prototypes then yes, I have to agree to that in terms of scientific discussion. on th...
Mon Nov 09, 2009 10:41 am UTC
Forum: Science
Topic: Cloning
Replies: 46
Views: 4358

Re: Cloning

Waylah wrote:Prove it.
I believe it. Done
Mon Nov 09, 2009 10:30 am UTC
Forum: Computer Science
Topic: Turing machines
Replies: 15
Views: 4341

Re: Turing machines

Firnagzen wrote:how exactly do people design turing machines to carry out specific computations
if we knew how people program things, we could write a program to do that
Mon Nov 09, 2009 10:11 am UTC
Replies: 97
Views: 9143

You seem to equate statements of "we should do this" with "we should legally enforce this". It's as if morality is simply a list of things we can enforce upon each other. I don't see it that way. if it was equal, this thread would never appear - since they would not act in black...
Mon Nov 09, 2009 10:03 am UTC
Forum: Science
Topic: Cloning
Replies: 46
Views: 4358

Re: Cloning

I'm confused right now because I don't know what angle you're approaching this from. Do you believe in souls outside the context of this thread? I don't, but my common conception of what a soul is supposed to be is what I was talking about in that first quote. Then, you want to discuss whether clon...
Sun Nov 08, 2009 12:39 pm UTC