## Search found 590 matches

Tue Nov 15, 2016 10:14 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

>>> import networkx >>> g = networkx.Graph() >>> my_dict = {"x": 0, "y": 0} >>> g.add_node("node", my_dict, y=1) >>> print(my_dict) {'y': 1, 'x': 0} >>> my_dict["x"] = 1 >>> print(g.node["node"]) {'y': 1, 'x': 1} >>> my_other_dict = {"x": ...
Mon Nov 14, 2016 10:24 am UTC
Forum: Logic Puzzles
Topic: Infinite Balls and Jugs [solution]
Replies: 611
Views: 61744

### Re: Infinite Balls and Jugs [solution]

I'll just leave this here.... Why isn't finitism nonsense? Also, this: Making the statement of "what if the endless task ended" indirectly by declaring your are halving the time each iteration to create an endpoint and making the statement that the action that ended was removing every ball...
Sun Oct 23, 2016 8:17 am UTC
Forum: Logic Puzzles
Topic: Infinite Balls and Jugs [solution]
Replies: 611
Views: 61744

### Re: Infinite Balls and Jugs [solution]

My opinion on this problem has changed since I first posted about it. This experiment can't be performed according to the laws of the physical universe in which we live. (The balls must have mass; infinite mass cannot be placed in a finite space; to move mass any distance in zero time as must occur ...
Tue Oct 04, 2016 1:02 pm UTC
Forum: Computer Science
Replies: 120
Views: 29189

If you care about the result, why do you use a deliberately bad algorithm? :roll: Just to remind you: "Deliberately bad" refers to writing correct algorithms that are extremely, mind-bogglingly inefficient, whether in terms of time or space (or both). But kudos for entertaining imaginativ...
Mon Sep 19, 2016 5:02 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

This is nonsensical. The "leftPad" thing was a problem with NPM's policies. NPM is the primary package repository for Node; it has nothing to do with Node itself. NPM has since updated their unpublishing policies to be saner in the face of malice. No, the problem has to do with a develope...
Thu Jun 30, 2016 5:15 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

David Conrad wrote:It's perfectly safe to write PHP if you're an expert and know how to avoid all the foot guns in the same way it's perfectly safe to walk in a minefield if you know where to put your feet.

I enjoyed this quote.
Tue Jun 07, 2016 5:21 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

But the concept of "what a functor does" is much wider than that. I know there is an (evidently heated) discussion of the niceties of functors in full play here, much of it over my head at present. I was interjecting an actual "Fleeting Thought" into the flow of things. ;) My co...
Tue Jun 07, 2016 4:41 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

This is probably heretical, but here goes my fleeting thought. So, I just read the clearest explanation of monads I've ever encountered, after wading through the second clearest explanation of monads I've encountered. Coming from a shell scripting background (with lots of text processing and extensi...
Fri Jun 03, 2016 7:12 am UTC
Forum: Mathematics
Topic: Math: Fleeting Thoughts
Replies: 377
Views: 94561

### Re: Math: Fleeting Thoughts

Meteoric wrote:Is it valid to say that a set which is not open must be closed? Or is there some third possibility?

Yes, there is a third possibility. (Also see mouse-over text.)
Wed May 25, 2016 10:36 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

Fleeting thought: Closures don't really seem that complicated. No more complicated than the concept of first-class functions, at least. Is it even possible to have a language with first-class functions without support for closures? (It seems like it would be theoretically possible, but very weird.) ...
Sun May 22, 2016 11:03 pm UTC
Topic: 1683: "Digital Data"
Replies: 122
Views: 14372

### Re: 1683: "Digital Data"

Metal Gear Solid 2 made a pretty good case for why data loss is a good thing. I don't know about Metal Gear Solid 2, but have you read Haunted By Data ? Alt text is alternative text to be used if the image itself can't be shown; title text is additional information that's historically rendered as a...
Mon May 09, 2016 7:55 pm UTC
Topic: 1678: "Recent Searches"
Replies: 31
Views: 5116

### Re: 1678: "Recent Searches"

...the Cron updating of Cron puts me in mind of the idea of a Cron job that reset its own timing to wait twice as long until its next occurence, each time it runs. That sounds fun. Seems like it might be easier with "at," though. A self-modifying shell script whose last line calls `at -f ...
Fri May 06, 2016 7:47 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

I've just reinvented navbars in a GitLab documentation project. It has the added bonus that since the link target is just a relative path within your directory tree, you can navigate it easily in Vim with "gf" (in the Markdown source). I should probably do a blog post or something about th...
Sat Apr 30, 2016 7:23 am UTC
Forum: Books
Topic: I'd like to know the name of this book/short story/comic
Replies: 623
Views: 199608

### Re: I'd like to know the name of this book/short story/comic

I believe you're looking for this book: http://www.goodreads.com/book/show/766917.Homer_Price Not easy to google. AHA! Yes, I am indeed! Thank you so much! :D It's downright impossible to Google. Yes, there was something in the ball. :wink: I don't remember if it was a walnut or something else,...
Sat Apr 23, 2016 6:57 am UTC
Forum: Books
Topic: I'd like to know the name of this book/short story/comic
Replies: 623
Views: 199608

### Re: I'd like to know the name of this book/short story/comic

There's an old book I read many years ago; can't find it on my shelf or remember the name and it's driving me crazy. It's not a sci-fi book, just fiction. It's a kid's book from perhaps the 50s (?); it had the 50s feel to it and I had it from an old collection of my mom's from when she was a kid. It...
Tue Apr 19, 2016 8:51 am UTC
Forum: Mathematics
Topic: Math: Fleeting Thoughts
Replies: 377
Views: 94561

### Re: Math: Fleeting Thoughts

http://abstrusegoose.com/394

I laughed so hard....
Sat Apr 16, 2016 3:21 am UTC
Forum: Logic Puzzles
Topic: Tricky geometric proof
Replies: 8
Views: 4839

### Re: Tricky geometric proof

Nice work, RCT Bob. I guess by now you've read the spoilers.... Good you filled in the gaps, although I think it's more straightforward to say: Designate a unit distance such that BA = BD = BC = 1 unit. Define theta as the measure of angle ABD (and likewise the measure of angle DBC). Note th...
Sat Apr 16, 2016 3:05 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

@ucim (Jose?), you are going to have a really fun time programming software that networks between spaceships moving at relativistic speeds and multiple planets. "Time is immutable" indeed. :D Also, more concretely: Wrapping our heads around behaviours that happen in parallel, at multiple l...
Wed Mar 30, 2016 2:27 pm UTC
Forum: School
Topic: Forum Migration
Replies: 403
Views: 412801

### Re: Forum Migration

Ho hum.
Fri Mar 25, 2016 4:36 am UTC
Forum: School
Topic: Forum Migration
Replies: 403
Views: 412801

### Re: Forum Migration

Yay for migration. (Boo for hamburgers.) The screen width is irritating, but the only killer for me is the erratic-ness of the egosearch. When I first opened it up, it showed only one post. (???) When I changed the search scope from "All results" to "1 year" I got a nice big page...
Thu Mar 17, 2016 5:52 am UTC
Forum: School
Topic: Awesome Teacher Quotes
Replies: 1755
Views: 304832

### Re: Awesome Teacher Quotes

there's a rumour in our school that i hv an affair with my biology teacher.. i accept that she is so beautiful and i liked her.. but it didn't mean that she also like me. she treated me just as a special student. coz i was inteligent in my class... but affair was not true... whole shchool's student...
Sun Mar 13, 2016 6:28 am UTC
Forum: Mathematics
Topic: Greatest Mathematician of all time?
Replies: 65
Views: 14431

### Re: Greatest Mathematician of all time?

Wolfkeeper wrote:There's a subtle difference between the greatest mathematician of all time, and the greatest mathematician in history.

There is, but it appears you missed it too....

All time includes more time than just the past.

Wed Mar 09, 2016 2:41 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

Had a weird glitch today, did a Google search to see if anyone else was having it... Found 3 results... all of them were the same guy, back in 2012, asking in a bunch of different places, and in all of them getting told to ask elsewhere instead. Obligatory link . Thank goodness today we have Stack ...
Tue Mar 08, 2016 6:28 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

One of the many, many things I will never forgive Atlassian for is inventing their own crappy markup language to compete with the several markup languages I already have to carry around in my head. Oh, ugh. JIRA "markdown." Amen. Here's a start.... ex -sc '%s,^### ,h3. , | %s,^## ,h2. , |...
Sat Mar 05, 2016 5:28 am UTC
Forum: Logic Puzzles
Topic: My write-up of the "Blue Eyes" solution (SPOILER A
Replies: 1368
Views: 377594

### Re: My write-up of the "Blue Eyes" solution (SPOILER A

PTGFlyer wrote:I think that I need a step-by-step of the 100 case, because it seems that the logic breaks down once you hit 6, because everybody sees 5 and knows that everybody else sees at least 4.

Have you checked through the last 35 pages of step-by-step explanations?
Thu Mar 03, 2016 7:58 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

<a graph-theoretic algorithmic question> You may also want to ask on our sister thread . I don't know the answer offhand (though some have been offered already which sound good) but if I were facing such a problem, I would pull out my copy of "Introduction to Algorithms" and review the gr...
Fri Feb 26, 2016 3:22 am UTC
Topic: 1572: "xkcd Survey"
Replies: 363
Views: 87815

### Re: 1572: "xkcd Survey"

Mikemk wrote:I'm saying, maybe he put the results somewhere secret without telling anyone and is waiting for someone to randomly stumble on the page. It wouldn't be the first time.

Ah, that makes more sense. I doubt it, though.
Thu Feb 25, 2016 8:42 pm UTC
Topic: 1572: "xkcd Survey"
Replies: 363
Views: 87815

### Re: 1572: "xkcd Survey"

Mikemk wrote:Maybe he published the results and none of us noticed?

Maybe we all took the survey and he didn't notice?
Thu Feb 11, 2016 3:47 am UTC
Forum: Movies and TV Shows
Topic: Star Wars: Episode 7: Electric Boogaleven
Replies: 479
Views: 92914

### Re: Star Wars: Episode 7: Electric Boogaleven

KnightExemplar wrote:Tie Fighters were a synth-modified elephant's bellow.

Aha!!!
Wed Feb 10, 2016 5:25 am UTC
Forum: Movies and TV Shows
Topic: Star Wars: Episode 7: Electric Boogaleven
Replies: 479
Views: 92914

### Re: Star Wars: Episode 7: Electric Boogaleven

What was so good about ep4-6? They were imaginative. Setting. They put characters in a world that was interesting. Nobody talks fondly of Tolken's dialog FFS, I think you're missing the point here. Fantasy, futuristic or otherwise, is at it's core about an altered reality. Often times that altered ...
Tue Feb 09, 2016 8:20 am UTC
Forum: Movies and TV Shows
Topic: Star Wars: Episode 7: Electric Boogaleven
Replies: 479
Views: 92914

### Re: Star Wars: Episode 7: Electric Boogaleven

Awakens was as shitty as the first four but nowhere near as shitty as the prequels. That's why it works. Eh, what? Did I miss one? And as a broad announcement, I'm tired of all the Star Wars bashing going on here. If you hate the prequels, fine, I agree with you, but if you really dislike the origi...
Sat Feb 06, 2016 4:39 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

I think the quote from Wildcard, "(A implies B) implies (B implies A)", nicely illustrates what people are confused about when they find the logical meaning of "implies" counterintuitive. The statement would be provable if "implies" meant the bi-implication (A if and o...
Fri Feb 05, 2016 10:20 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

What system does that work on? On my computer (Mac OS X), that sort of thing won't work—#! scripts can't call other #! scripts that way. (Attempting to execute such a script from the shell causes the shell it's executing from to interpret the script; attempting to execute it from a C program gives ...
Fri Feb 05, 2016 5:55 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

Fleeting Thought: This is a crime against the Gods of bash 1 . Application name changed to protect the guilty. \$ head -1 ./js/script.js #!./shebang \$ cat ./shebang #!/bin/sh `which command1 || which command2` \$@ \$ # WTF???? :shock: It reminds me of https://xkcd.com/763/ except that this is productio...
Fri Feb 05, 2016 5:45 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

I think of the boolean "implies" relationship as simply "if A then B". A B if A then B True True True True False False False True N/A (therefore, True) False False N/A (therefore, True) The illogic of using the word "implies" and the distinction from the typical English...
Sat Jan 30, 2016 4:23 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

What is REALLY annoying is crazy bit numbering. In the RFCs describing IP and related protocols bit 0 is the most significant bit. I.e. bit 0 equals 0x8000. Except for 32-bit fields where it is 0x8000'0000. Or 48-bit fields where it is 0x1'0000'0000'0000. Yeah, that totally makes sense. I'm trying ...
Fri Jan 22, 2016 7:50 am UTC
Topic: 1632: "Palindrome"
Replies: 55
Views: 10009

### Re: 1632: "Palindrome"

Are we being wooshed? Yes. "Let me give some examples. A shrimp nervously filters water: Anal Panama. A regression pries Lexus's nexus: Anal Panama. Andrew the foreman's sinuses threaten tartan pumpernickle science: Anal Panama." I don't know what's going on with this paragraph, but it's ...
Thu Jan 21, 2016 7:08 am UTC
Forum: Logic Puzzles
Topic: Defective Circuit Board Puzzle
Replies: 7
Views: 2177

### Re: Defective Circuit Board Puzzle

@Cradarc, your post had me roughly convinced until I read JestingRabbit's post. :) (And by "roughly convinced" I mean, "Huh, I guess he's right...something funny about this but <smart person> says it's impossible....) :P To state JestingRabbit's algorithm more concisely, modeled on Sa...
Mon Jan 18, 2016 10:47 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9708
Views: 1449028

### Re: Coding: Fleeting Thoughts

>>> git log abcdef..fedcba commit fedcba... Author: Person <person@company.ac.uk> Date: Like, 5 seconds ago. Added method to class Fuck you. I see your point about the useless commit message, but...you really shouldn't be using `git pull`. (At all, ever.) You should just do `git fetch` followed by ...
Thu Jan 14, 2016 9:57 am UTC
Forum: Religious Wars
Topic: Do you like or hate Windows 8?
Replies: 125
Views: 81955

### Re: Do you like or hate Windows 8?

Why don't you want to update your Mac? I haven't looked closely into the most recent OS updates (Yosemite, El Capitan) after I was turned off by dumb small things that got broken in Lion, Mountain Lion and Mavericks. Spoiler'd for off topic and length: Back in Snow Leopard (10.6) the addres...