Search found 1680 matches

by Ended
Tue Jul 16, 2013 7:12 pm UTC
Forum: Language/Linguistics
Topic: Is there a word for this?
Replies: 10
Views: 5691

Re: Is there a word for this?

Is there a more formal way of saying 'from scratch'? As in:

"I wrote this piece of software from scratch."
by Ended
Wed Mar 20, 2013 3:22 pm UTC
Forum: Logic Puzzles
Topic: Cipher Help
Replies: 1
Views: 2171

Re: Cipher Help

Hint:
Spoiler:
It is a Vignere cipher. I think you might have made some errors in transcription though.
by Ended
Wed Mar 20, 2013 3:08 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1188: "Bonding"
Replies: 108
Views: 18913

Re: 1188: "Bonding"

Kit. wrote:I'm not getting the part about Eclipse. Does it crash while trying to parse this code or what?

It's a pun on the phrase "build character": to make oneself (or someone else) a better person, or to compile a coding project called "character".
by Ended
Sat Sep 08, 2012 10:56 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9676
Views: 1428323

Re: Coding: Fleeting Thoughts

Pretty cool, but how is it different from just

Code: Select all

for(x = xbegin ; x != xend ; ++x)

?
by Ended
Wed Aug 15, 2012 12:15 pm UTC
Forum: Mathematics
Topic: A frame of a vector space that isn't a tight frame?
Replies: 2
Views: 1198

Re: A frame of a vector space that isn't a tight frame?

A and B must be chosen such that the condition holds for all f in V. Your method makes the condition hold for a specific f, but not necessarily any other f.
by Ended
Fri Aug 10, 2012 11:40 am UTC
Forum: Religious Wars
Topic: Does anyone use the Vim HJKL cursor keys?
Replies: 77
Views: 90172

Re: Does anyone use the Vim HJKL cursor keys?

I use hjkl, but only for small movements. For movements of more than a few characters it is almost always faster to use a larger movement (t,f,w,e,b,},),/, etc). Of course, arrow keys are less efficient that hjkl. But in my opinion if you find that using the arrow keys slows you down *significantly...
by Ended
Thu Aug 09, 2012 11:44 am UTC
Forum: Religious Wars
Topic: Does anyone use the Vim HJKL cursor keys?
Replies: 77
Views: 90172

Re: Does anyone use the Vim HJKL cursor keys?

I use hjkl, but only for small movements. For movements of more than a few characters it is almost always faster to use a larger movement (t,f,w,e,b,},),/, etc). Of course, arrow keys are less efficient that hjkl. But in my opinion if you find that using the arrow keys slows you down *significantly*...
by Ended
Fri Jul 27, 2012 1:43 pm UTC
Forum: Movies and TV Shows
Topic: Game of Thrones: The TV Show (novelisation coming soon)
Replies: 1953
Views: 234352

Re: Game of Throngs

Felstaff wrote:The actual fuck? I'm jealous and concerned in equal measure. Can you download this? (and the texture pack, I presume, that is needed)

For your enjoyment: http://mc.westeroscraft.com/
by Ended
Fri Jul 27, 2012 1:23 pm UTC
Forum: Movies and TV Shows
Topic: Life of Pi
Replies: 4
Views: 5081

Re: Life of Pi

I'm also pleased with the choice of Ang Lee, and the trailer is promising! That said, I'm trying not to get too excited in case it turns out to be mediocre and all my hopes are cruelly dashed.
by Ended
Tue May 29, 2012 3:29 pm UTC
Forum: Movies and TV Shows
Topic: Game of Thrones: The TV Show (novelisation coming soon)
Replies: 1953
Views: 234352

Re: Game of Throngs

[Kinda book spoilers] In the book, Loras (or one of his men, at least) was wearing Renly's armor, which I was surprised that they didn't go through with, since Renly did have really distinctive armor and I think that would have worked nicely. Tyrion saw somebody who had some little h...
by Ended
Mon Apr 30, 2012 9:00 pm UTC
Forum: Movies and TV Shows
Topic: Game of Thrones: The TV Show (novelisation coming soon)
Replies: 1953
Views: 234352

Re: Game of Throngs

(book 2-3 spoilers)... Also, it's a bit of a shame that the Tickler dies in this way, instead of the really dramatic way he dies in A Storm of Swords. Totally agree. I felt like that was a pivotal moment for Arya in the books as well as one of the most memorable death scenes of a minor characte...
by Ended
Sat Mar 10, 2012 12:02 am UTC
Forum: Logic Puzzles
Topic: The solution is a two-digit number, part two
Replies: 4
Views: 2359

Re: The solution is a two-digit number, part two

Great!

Spoiler:
The first six lines are from Shakespeare's sonnets numbers 3, 60, 5, 5, 5, 12. The last three lines hint at what to do next:
36055512 -> 3.6055512 -> square -> 12.99999945582144 -> round -> 13
by Ended
Fri Mar 09, 2012 11:52 pm UTC
Forum: Logic Puzzles
Topic: The solution is a two-digit number, part two
Replies: 4
Views: 2359

Re: The solution is a two-digit number, part two

Spoiler:
Is the answer 13?
by Ended
Mon Feb 06, 2012 1:59 pm UTC
Forum: Movies and TV Shows
Topic: Game of Thrones: The TV Show (novelisation coming soon)
Replies: 1953
Views: 234352

Re: A Song of Lice and Ire

If you haven't seen them already, there are a couple of teasers out for season 2:

'Cold Winds'
'Shadow'
by Ended
Wed Jan 25, 2012 9:12 pm UTC
Forum: Mathematics
Topic: Phase independence of trigonometric integrals
Replies: 3
Views: 949

Re: Phase independence of trigonometric integrals

The quantity [\int_{\Re} \ g(x) \sin(2 \pi f x + \phi) \ dx]^2 can be written as \int_{\Re} \ g(x) \sin(2 \pi f x + \phi) \ dx \times \int_{\Re} \ g(y) \sin(2 \pi f y + \phi) \ dy and assuming everything is well-behaved, this is \int_{\Re} \int_{\Re} \...
by Ended
Sun Jan 15, 2012 5:20 pm UTC
Forum: Books
Topic: eReader Owners Thread (Kindle, Nook, Kobo etc)
Replies: 51
Views: 13112

Re: eReader Owners Thread (Kindle, Nook, Kobo etc)

One thing I am a bit disappointed about is the UI for the Kindle 3G and how you can't really organize your eBooks and/or pdfs on it. It makes it harder for me to keep multiple series on it to switch between at my liking, since the most recently opened files will rise to the top and everything becom...
by Ended
Thu Jan 12, 2012 8:36 pm UTC
Forum: Mathematics
Topic: Your favorite "tricky" integrals?
Replies: 46
Views: 11287

Re: Your favorite "tricky" integrals?

Yes, quite cute! Use the substitution u = e -x , and expand log(1-u) as a Taylor series. This reminded me of a similar idea (but in reverse) used in proof 1 here [pdf]: http://secamlocal.ex.ac.uk/people/staff/rjchapma/etc/zeta2.pdf. The series for zeta(2) is converted into a rather tricky ar...
by Ended
Wed Jan 04, 2012 11:04 pm UTC
Forum: Movies and TV Shows
Topic: Things you remember watching but can't remember the name of
Replies: 731
Views: 199691

Re: Things you remember watching but can't remember the name

Hi, I'm also after a show a saw many years ago, about a group of soldiers or hunters going back in time to hunt dinosuars and I think someone in the show stepped on a butterfly or some sort of bug and when they returned everyone was speaking a different language. I think it was a Twilight episode o...
by Ended
Fri Dec 30, 2011 4:50 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9676
Views: 1428323

Re: Coding: Fleeting Thoughts

Facepalm moment of the day: I suddenly found that when I tried to build my program from scratch, it would fail with multiple screenfulls of cryptic error messages. Eventually tried gradually reverting back to the (known good) repository head. Nope, still fails to build! In retrospect, some of the er...
by Ended
Mon Dec 05, 2011 8:49 pm UTC
Forum: Mathematics
Topic: x(x+1) =/= y(y+2)?
Replies: 13
Views: 2134

Re: x(x+1) =/= y(y+2)?

Different approach to the OP's question: Suppose x(x+1) = y(y+2). If x<=y, then x(x+1) <= y(y+1) < y(y+2). So x>y. Similarly if x>=y+1, then x(x+1) >= (y+1)(y+2) > y(y+2). So x<y+1. Therefore we must have y<x<y+1. But this is no...
by Ended
Sat Nov 19, 2011 2:56 pm UTC
Forum: Coding
Topic: Procedurally generated audio
Replies: 8
Views: 1781

Re: Procedurally generated audio

Here is some interesting work on simulating sound from solid body collisions (in both cases scroll down for video link): http://graphics.berkeley.edu/papers/Obrien-SSF-2001-08/index.html (2001) http://graphics.berkeley.edu/papers/Obrien-SSR-2002-07/index.html (2002) Are acoustics really so complicat...
by Ended
Fri Nov 18, 2011 12:01 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9676
Views: 1428323

Re: Coding: Fleeting Thoughts

Code: Select all

state = [st for s in state for st in states[(s,letter)]]

from http://swizec.com/blog/strangest-line-o ... wizec/3012

Makes my brain hurt a bit.
by Ended
Wed Oct 19, 2011 9:36 am UTC
Forum: Coding
Topic: interesting question about FORTRAN
Replies: 11
Views: 2114

Re: interesting question about FORTRAN

I get a slowdown, but not so drastic: $ time gfortran fortran.f real 0m11.111s user 0m10.220s sys 0m0.720s $ time gfortran fortran2.f real 0m1.973s user 0m1.680s sys 0m0.150s It might be a memory issue. The large array is over 2GB and it seems that it is all loaded into memory during compilation (ch...
by Ended
Fri Sep 09, 2011 4:15 pm UTC
Forum: Logic Puzzles
Topic: Chess problem I just invented; can't solve
Replies: 11
Views: 3092

Re: Chess problem I just invented; can't solve

A related question is, how could you set up the back rank to allow such a switch?

Spoiler:
Putting NNR together somewhere on the rank will work, because after both knights are out, the rook can move two squares which preserves its parity.
by Ended
Fri Sep 09, 2011 11:01 am UTC
Forum: Logic Puzzles
Topic: Chess problem I just invented; can't solve
Replies: 11
Views: 3092

Re: Chess problem I just invented; can't solve

I don't think it's possible. Knights change the colour of their square each move. So for one player to get a knight out from its position and back again takes an even number of moves. Similarly if the knights swap position, then each knight takes an odd number of moves, so in total the play...
by Ended
Wed Aug 24, 2011 11:03 am UTC
Forum: Science
Topic: Math/Science Movies
Replies: 11
Views: 1399

Re: Math/Science Movies

And A Beautiful Mind, which is about John Nash.
by Ended
Tue Aug 02, 2011 12:23 pm UTC
Forum: Computer Science
Topic: Emulators of future consoles that use Raytracing
Replies: 8
Views: 2663

Re: Emulators of future consoles that use Raytracing

Real-time ray tracing is just about possible on current GPUs. E.g. check out the NVIDIA OptiX toolkit (demo here). I'd like to hope that this kind of technology will become mainstream long before we are old and senile :)
by Ended
Mon Aug 01, 2011 11:13 pm UTC
Forum: Books
Topic: Recommend me a good short story author...
Replies: 48
Views: 54414

Re: Recommend me a good short story author...

Have you read Roald Dahl's short stories? I'd definitely recommend his collected short stories, he's a superb writer and a master of macabre twists. One of his more famous stories, The Landlady, can be found online here . I can also recommend Fancies And Goodnights by John Collier (as it happens, th...
by Ended
Fri Jul 22, 2011 4:05 pm UTC
Forum: The Help Desk
Topic: 24 GB of RAM
Replies: 9
Views: 1913

Re: 24 GB of RAM

I have such a machine at work (but with an i7-920, not 960), and am currently using it to post to the xkcd forums :). But it's more gainfully employed with computational physics research, basically doing a lot of number-crunching and visualisation. As yewbie says, doing multiple things is where it s...
by Ended
Thu Jul 14, 2011 1:56 pm UTC
Forum: The Help Desk
Topic: xkcd rss feed and thunderbird - some issues
Replies: 3
Views: 4329

Re: xkcd rss feed and thunderbird - some issues

4) can i subscribe to sites that do not offer rss? like http://www.abstrusegoose.com? i heard rumors that one kinda can subscribe to virtually anything.... Try http://abstrusegoose.com/feed . Also, yes there are some sites like http://page2rss.com/ which say they will make RSS feeds out of any page...
by Ended
Tue Jul 12, 2011 11:11 pm UTC
Forum: Coding
Topic: Command line challenges
Replies: 37
Views: 4051

Re: Command line challenges

edit2: so after deciding to check my code this time by comparing it to other peoples...it turns out that almost all the answers to this are wrong. maafy6's output matches mine (which seems to be right from a few random checks). Yeah, I noticed this as well. I think it could be due to differing outp...
by Ended
Fri Jul 01, 2011 11:36 am UTC
Forum: Mathematics
Topic: Curvature of f(x) as x->infinity
Replies: 4
Views: 1771

Re: Curvature of f(x) as x->infinity

A geometrical argument: For any curve r(t), the curvature is given by K = || T'(s) ||, where s is arclength and T is the unit tangent vector to the curve, T = dr/ds = dr/dt . dt/ds Now consider a single-variable function f, which defines a curve r(t) = (t, f(t)...
by Ended
Thu Jun 23, 2011 9:19 pm UTC
Forum: Books
Topic: Books you never finished
Replies: 280
Views: 156410

Re: Books you never finished

Same with At Swim-Two-Birds, I found the kind of basic story amusing, but all that piss-taking of irish nationalists went straight over my head. I mean, I was just wondering why Finn MacCool kept popping up, an uncle had to explain it was a parody of nationalist short stories. I just didn't get it ...
by Ended
Thu Jun 23, 2011 9:01 pm UTC
Forum: Books
Topic: I'd like to know the name of this book/short story/comic
Replies: 623
Views: 197367

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

@quantumcat - I think that's Shelter, which was an extra on the I Am Legend DVD, along with a few more shorts like it.
by Ended
Tue Jun 21, 2011 9:21 pm UTC
Forum: Coding
Topic: Command line challenges
Replies: 37
Views: 4051

Re: Command line challenges

My solution for #1 (somewhat similar to the others using cal):
Spoiler:

Code: Select all

for y in `seq 2000 3000`; do cal 7 $y | x=`grep -E ^\ {13}1` && echo $y; done
by Ended
Tue Jun 21, 2011 8:03 pm UTC
Forum: Coding
Topic: Command line challenges
Replies: 37
Views: 4051

Re: Command line challenges

Here's my attempt at #2. It doesn't use bc or sed but has a ton of command substitutions. for n in `seq 2000 3000`; do count=$(expr $count + $(expr $(echo $n | factor | wc -w) = 2 \& $(expr $(echo $n | cut -c 1,2,3,4 --output-delimiter=" + ") | factor | wc -...
by Ended
Sun Jun 12, 2011 12:27 pm UTC
Forum: Mathematics
Topic: PhD in hand
Replies: 43
Views: 4171

Re: PhD in hand

Congratulations skeptical!
by Ended
Thu Jun 09, 2011 10:37 pm UTC
Forum: Movies and TV Shows
Topic: Mis-Marketed Movies
Replies: 35
Views: 4946

Re: Mis-Marketed Movies

I believe Pan's Labyrinth was marketed deceptively in some places as a kind of Narnia-esque high fantasy tale. I mean, after seeing that trailer I would have no idea that: (1) the film is very violent, (2) about 75% of it is non-fantasy and about the Spanish civil war, and indeed (3) that the film i...
by Ended
Fri May 20, 2011 6:34 pm UTC
Forum: Food
Topic: Dishwashing Hacks?
Replies: 36
Views: 3138

Re: Dishwashing Hacks?

As PAstrychef said, use the slack time while cooking to wash dishes as you go. Even if it's just 30 seconds waiting for a pan to heat up, that's enough to wash a chopping board and put it on the drying rack. This also keeps surface/sink space clear, which in turn makes your cooking more organised. I...
by Ended
Tue Apr 12, 2011 8:44 pm UTC
Forum: Coding
Topic: Procedurally Generated Content
Replies: 7
Views: 1446

Re: Procedurally Generated Content

Hmm, what happens if you force the boundary values to agree? E.g. when generating a tile to the right of one which already exists, initialise the left-most column of values with the data from the right-most column of the pre-existing tile, and don't modify these boundary values during the algorithm.

Go to advanced search