Search found 73 matches

by diabolo
Fri Aug 02, 2013 8:51 am UTC
Forum: Language/Linguistics
Topic: Parlons Français ! [French practice]
Replies: 616
Views: 168456

Re: Parlons Français ! [French practice]

"dès" does mean "since"/"from" but I'd add it has an additional "as soon as" meaning as well. Your sentence would still work without it, and I feel like it would only make a minimal difference, or at least I'm not sure how to translate it to make it show : &qu...
by diabolo
Mon May 06, 2013 4:03 am UTC
Forum: Language/Linguistics
Topic: Parlons Français ! [French practice]
Replies: 616
Views: 168456

Re: Parlons Français ! [French practice]

On rentre chez soi, ou dans un abri (mais je ne suis pas d'accord pour dire que c'est définitif). Ce n'est peut-être pas définitif mais il y a quand même une idée de durée. Par exemple je suis chez toi et je dois: a. "rentrer chez moi" (pour dormir, à demain!) ou b. "retourner chez m...
by diabolo
Sun Jan 13, 2013 7:34 pm UTC
Forum: Fit Club
Topic: Barefoot running
Replies: 5
Views: 10158

Re: Barefoot running

Is barefoot running a fad, or something genuinely cool? Barefoot running might (possibly, maybe, in the right light, conditions may apply) be better for your spirit as you'll feel more connected to the ground and whatnot, and for your body as it encourages better form. I'm not sure about the spirit...
by diabolo
Thu May 10, 2012 2:35 pm UTC
Forum: Coding
Topic: Regular expressions, HTML and turning breaks into paragraphs
Replies: 4
Views: 3216

Re: Regular expressions, HTML and turning breaks into paragr

Now, this actually works pretty well on all the test and real world cases I've tried. The only issue, as you can probably see, is that this obilterates all <br> tags, even the ones I want to use as scene dividers. Have you tried handling the scene dividers in a first pass (converting multiple <br>s...
by diabolo
Mon Apr 30, 2012 12:54 pm UTC
Forum: Fit Club
Topic: Run 10,000 miles
Replies: 1340
Views: 253720

Re: Run 10,000 miles

sfwc wrote:Thanks for the extra data, and the more refined graph, diabolo. Can you provide it in a format other than tsv?

You're welcome, which other format(s) would you be interested in (and are we talking only about the file format or also about the structure of the data)?
by diabolo
Sun Apr 29, 2012 3:04 pm UTC
Forum: Fit Club
Topic: Run 10,000 miles
Replies: 1340
Views: 253720

Re: Run 10,000 miles

gaurwraith wrote:Would like some graphs and things.. guess it could be done :P

I didn't really look into graphs and things (yet?), but I got data if anyone wants to play with it...
by diabolo
Thu Mar 29, 2012 7:34 am UTC
Forum: Computer Science
Topic: Recursive definition of a String
Replies: 12
Views: 4419

Re: Recursive definition of a String

Make that "a sequence of zero characters is a string". And then the recursive part. Wouldn't the definition of "sequence" already cover the recursive part (eg. "the empty sequence or a concatenation of a sequence and an element")? If you're going to use this term to de...
by diabolo
Wed Mar 28, 2012 11:27 am UTC
Forum: Computer Science
Topic: Recursive definition of a String
Replies: 12
Views: 4419

Re: Recursive definition of a String

I'd say you need to be able to have an empty string so you can concatenate the first character.
by diabolo
Thu Mar 15, 2012 3:43 am UTC
Forum: Fit Club
Topic: Run 10,000 miles
Replies: 1340
Views: 253720

Re: Run 10,000 miles

I wish real life had ghost runners, like in Mario Kart, so you know exactly where you need to be to at least beat your last run, even if your pace wasn't consistent throughout the length of the run. I mean, I'm using my fancy new watch to mark splits at the major intersections on my route, but the ...
by diabolo
Wed Nov 09, 2011 7:23 am UTC
Forum: Language/Linguistics
Topic: Parlons Français ! [French practice]
Replies: 616
Views: 168456

Re: Parlons Français ! [French practice]

I don't know exactly how it works but I'd say it's more about adverbs than negative forms.
For example if you had won everything instead of nothing you would say "j'avais tout gagné".
by diabolo
Thu Aug 04, 2011 12:01 pm UTC
Forum: Language/Linguistics
Topic: Clever-sounding but almost certainly not Chinese proverbs
Replies: 13
Views: 7421

Re: Chinese Proverbs

SlyReaper wrote:If you light a man a fire, he'll be warm for a day.
If you light a man on fire, he'll be warm for the rest of his life.

Would it be correct English to write it using "set a man a fire / set a man afire" ?
by diabolo
Tue Jul 05, 2011 5:55 pm UTC
Forum: Language/Linguistics
Topic: Little editing/grammar mistakes that drive you up the wall
Replies: 784
Views: 89373

Re: Little editing/grammar mistakes that drive you up the wa

I think it's much more interesting that both phrases have the same meaning, even tho one is negated and the other is not. What does that say about how language works? That's it's too confusing for me! I guess that also makes it way more interesting for the rest of you who know what you're talking a...
by diabolo
Tue Jul 05, 2011 5:11 pm UTC
Forum: Language/Linguistics
Topic: Little editing/grammar mistakes that drive you up the wall
Replies: 784
Views: 89373

Re: Little editing/grammar mistakes that drive you up the wa

Omitting the negation doesn't add anything to the idiom while it somehow shows that you don't know/understand/care about logic or the language itself (at least that's how I see it), that should be enough to piss people off. Well, logic is irrelevant. Language is not logic and there's no reason we s...
by diabolo
Tue Jul 05, 2011 3:46 pm UTC
Forum: Language/Linguistics
Topic: Little editing/grammar mistakes that drive you up the wall
Replies: 784
Views: 89373

Re: Little editing/grammar mistakes that drive you up the wa

At least they don't mean the opposite of their literal meaning. Why is having the opposite meaning so important? Anyway, there are lots of words which contain two meanings that are opposite to each other: cleave, dust, trim, sanction, ravel etc. As gmalivuk says, what is intended is what is meant. ...
by diabolo
Tue Jul 05, 2011 7:24 am UTC
Forum: Language/Linguistics
Topic: Little editing/grammar mistakes that drive you up the wall
Replies: 784
Views: 89373

Re: Little editing/grammar mistakes that drive you up the wa

Iulus Cofield wrote:I like "I could care less" as a form of understatement similar to "I'm not a huge fan" meaning "I don't like that at all."

So "I could care less" meaning "I couldn't care more"?
by diabolo
Tue Jun 21, 2011 7:27 am UTC
Forum: Language/Linguistics
Topic: Quotes and punctuation
Replies: 7
Views: 2331

Re: Quotes and punctuation

I wanted to check outside for words and both for speech because there was no option "always outside and inside if needed". So I checked outside for both because it just seems wrong any other way. I mean, what if you were to substitute your quotation with something else? She said "blah...
by diabolo
Sun Jun 19, 2011 7:04 am UTC
Forum: Language/Linguistics
Topic: Parlons Français ! [French practice]
Replies: 616
Views: 168456

Re: Parlons Français ! [French practice]

(Je sais que la grammaire n'est pas parfait e . S'il vous plaît, corrigez-moi.) Il me semble qu'il n'y a pas grand chose à corriger. J'ai hâte, mais je crains que ma compréhension orale n'est ne soit pas assez bon ne pour communiquer effectivement, d'ailleurs pour réussir à mes cours. Le "...
by diabolo
Thu Jun 09, 2011 5:21 pm UTC
Forum: Coding
Topic: Interact with a Java applet on a website
Replies: 6
Views: 1281

Re: Interact with a Java applet on a website

The applet gets its data from some place. You could try to reverse engineer the protocol it uses to get the data and implement it yourself. I'd suggest looking this way first too. The applet runs on your machine and gets data from a server somewhere. It would be better to make a program pretending ...
by diabolo
Mon Jun 06, 2011 8:06 pm UTC
Forum: Coding
Topic: Lynx Links List (SOLVED)
Replies: 11
Views: 1499

Re: Lynx Links List

Is there any reason you can't just use <img>'s in the <li>'s with alt attributes, instead of the background and hacky extra hidden text? I guess it would work, but while adding backgrounds and hiding text may look hackish isn't it actually better? (real question, I'm not a professional web-designer...
by diabolo
Mon Jun 06, 2011 4:48 pm UTC
Forum: Coding
Topic: Lynx Links List (SOLVED)
Replies: 11
Views: 1499

Re: Lynx Links List

I guess you could detect lynx and change formatting based on that. Or just do the CSS stuff in a way that works on correct markup once and for all? document type does not allow element "li" here <a href="monkey"><li>monkey</li></a> edit: I'm no CSS expert but wouldn't putting th...
by diabolo
Sat Jun 04, 2011 4:28 pm UTC
Forum: Language/Linguistics
Topic: Tips and Resources for Learning Any Language
Replies: 8
Views: 2850

Re: Tips and Resources for Learning Any Language

yep, finding a forum you like in your desired target language is great for practicing. See, I'm doing it right now with English :D. No, but seriusly, I've been writing, and most important, reading, in a music forum (the now deceased stonerrock.com) for almost 10 years now, and it has been a great s...
by diabolo
Mon May 30, 2011 2:50 pm UTC
Forum: The Help Desk
Topic: Strange Image at Boot Up
Replies: 2
Views: 544

Re: Strange Image at Boot Up

Microsoft Security Essentials?
Spoiler:
Image
by diabolo
Mon May 30, 2011 1:11 pm UTC
Forum: The Help Desk
Topic: [SOLVED] Java applet issue
Replies: 2
Views: 545

Re: Java applet issue

Henrik wrote:I don't know if this is relevant, but I run the latest ubuntu and firefox release.

I've seen some applets that failed to work with the IcedTea Java plugin but worked fine with the sun-java stuff (no idea why, though). Does your Eclipse run with a sun-java JDK and your Firefox with an OpenJDK?
by diabolo
Sun May 29, 2011 10:21 am UTC
Forum: The Help Desk
Topic: PDF editing software?
Replies: 2
Views: 683

Re: PDF editing software?

Are we talking about the table of contents that appear in the bookmarks pane in pdf viewers? You want to insert entries by hand not build a TOC automatically from the book? Assuming both answers are yes, I suggest using latex to recompile a pdf. Insert the original pdf using the 'pdfpages' package a...
by diabolo
Tue May 24, 2011 10:10 am UTC
Forum: General
Topic: Wikipedia, first link loops
Replies: 57
Views: 28981

Re: Wikipedia, first link loops

I believe the Sri Lanka article is creating an unresolved tension. Sri Lanka (officially, The Democratic Socialist Republic of Sri Lanka) ( /ʃriː ˈlɑːŋkə/ ) , /sriːˈlɑːŋkə/, or /sriːˈlæŋkə/; Sinhala: ශ්‍රී ලංකාව, Tamil: இலங்கை ) is a country off the southern coast of the Indian subcontinent. broken ...
by diabolo
Fri May 13, 2011 8:58 pm UTC
Forum: Coding
Topic: Regex Help
Replies: 8
Views: 1086

Re: Regex Help

I imagine it could have been done prettier but it works so I'm not gonna pull my hair out. You can get all the matches in an array using =~ /.../g $txt = 'City/State/Country: Somewhere; a state, City/State/Country: Somewhere else; another state, ...stuff... City/State/Country: Yet another place, .....
by diabolo
Wed May 11, 2011 8:27 pm UTC
Forum: Coding
Topic: Regex Help
Replies: 8
Views: 1086

Re: Regex Help

DarkKnight045 wrote:Data which could be any character except a ,

If I'm not mistaken that would be [^,]+ so replacing your (.*) by ([^,]+) might work.
Maybe posting a few lines of your input would help people verify their suggestions.
by diabolo
Wed May 11, 2011 8:01 pm UTC
Forum: Coding
Topic: Looking for a nice graphics package for Python
Replies: 11
Views: 1508

Re: Lookign for a nice graphics package for Python

Thanks for the encouragement, guys! It's done. Used pySVG; it took time (mostly because the tutorial is no longer right), but I did it. Nice. About the outdated tutorial (the pdf one, first result on google?), this one works, a bit late now but you'll know for your next project. I can't get the arc...
by diabolo
Wed May 11, 2011 7:59 am UTC
Forum: Coding
Topic: Looking for a nice graphics package for Python
Replies: 11
Views: 1508

Re: Lookign for a nice graphics package for Python

True. So I'm taking a combined approach: The reflector I already rewired by hand in Inkscape, and to change the rotors I'll try today to edit the SVG code. A nice text-processing problem it will be! Editing SVG as a text-processing problem? as in parsing-xml-using-regex? Is there any reason not to ...
by diabolo
Tue May 10, 2011 11:15 am UTC
Forum: Coding
Topic: Looking for a nice graphics package for Python
Replies: 11
Views: 1508

Re: Lookign for a nice graphics package for Python

But I've got a problem installing Cairo... is it the only graphics package for Python? I'm not an expert in python so I can't suggest any other package right now but I know one approach that would work in any language would be to output SVG data. SVG is XML code so you don't need anything special t...
by diabolo
Mon May 09, 2011 9:58 pm UTC
Forum: Books
Topic: I'd like to know the name of this book/short story/comic
Replies: 636
Views: 209193

Re: Insanity Inducing Inability (to find a XKCD Strip)

Just trying to remember another strip, not 100% sure if it was an XKCD comic or just a joke I heard somewhere though. It's a science one where a student substitutes Potassium in place of 'Ok' or K. I found it quite funny and I googled it but couldn't find it...bet it's there, I'm just too tired to ...
by diabolo
Mon May 09, 2011 9:47 pm UTC
Forum: Coding
Topic: Looking for a nice graphics package for Python
Replies: 11
Views: 1508

Re: Lookign for a nice graphics package for Python

I think you're good with Cairo only, and it can do vector output (svg/pdf) so it's pretty interesting for something you're going to print.
by diabolo
Thu May 05, 2011 9:06 pm UTC
Forum: Books
Topic: I'd like to know the name of this book/short story/comic
Replies: 636
Views: 209193

Re: Insanity Inducing Inability (to find a XKCD Strip)

Snowfox wrote:Thank you for your help!

You're welcome.
Spoiler:
Image
from here
by diabolo
Thu May 05, 2011 7:48 pm UTC
Forum: Computer Science
Topic: Ray Tracer Project
Replies: 18
Views: 2594

Re: Ray Tracer Project

I'd say yes because it will depend on how complex you want (/are expected) to make it. It shouldn't take long to make a simple version that works only with primary rays on spheres (for each pixel cast a ray and draw the pixel with the color of the first sphere the ray hits). You'd already be "t...
by diabolo
Thu May 05, 2011 3:43 pm UTC
Forum: General
Topic: Post your boat race.
Replies: 20862
Views: 2161215

Re: Postify your facerity

I'm almost starting to feel bad lurking in this thread without ever contributing anything so here's a picture of me juggling
Spoiler:
DSC04047b.jpg
yay, clubs!

and a webcam shot of my facerity
Spoiler:
webcam.jpg
how bad do I fail at this hats and animals thing?
by diabolo
Sun May 01, 2011 9:12 am UTC
Forum: Coding
Topic: Need help with creating a script
Replies: 11
Views: 1386

Re: Need help with creating a script

First, I hope the website is in XHTML Strict. If it's not xhtml strict but not too messed up either it might be possible to use something like HTML Tidy or Tagsoup to fix it and hopefully get some valid xhtml to work with. And this will be for a webpage with just html, some css, and javascript. But...
by diabolo
Sat Apr 23, 2011 7:19 am UTC
Forum: The Help Desk
Topic: Image Scale Help
Replies: 8
Views: 736

Re: Image Scale Help

Basically knowledge is the only thing stopping me there, I was hoping someone had a handy little script I could run to do exactly this, I will look up imagemagick and see what I can do. ImageMagick has convert to resize and stuff from the command line. So to scale image.png by 1.6 you can do conver...
by diabolo
Wed Apr 20, 2011 10:24 pm UTC
Forum: General
Topic: Show the world your desktop! [Mommy, what's 56K?]
Replies: 2356
Views: 361806

Re: Show the world your desktop! [Mommy, what's 56K?]

Mine
by diabolo
Tue Apr 19, 2011 2:06 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9728
Views: 1523642

Re: Coding: Fleeting Thoughts

I'm sure a greasemonkey script could do it, if you have the patience to write such a thing. Have it "refresh" the page with AJAX, then search for http://forums.xkcd.com/styles/prosilver/imageset/icon_post_target_unread.gif this image. If it exists on the page, there are new posts, and you...
by diabolo
Tue Apr 19, 2011 10:36 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9728
Views: 1523642

Re: Coding: Fleeting Thoughts

FT: Why don't forums and comment thread implement auto-refreshing like every 5 mins? Don't even need to fully refresh anyway, just have the server pass a hash on what thread/comment IDs are already available and pass any new ones. AJAX, people. WHY MUST I KEEP HITTING REFRESH WHYYYY IT KILLS MY SAN...

Go to advanced search