Search found 521 matches

by tendays
Thu Sep 04, 2014 2:13 am UTC
Forum: Coding
Topic: Poll! What is the value of this constant?
Replies: 47
Views: 11121

Re: Poll! What is the value of this constant?

In our case the standard behaviour seems to be that if two or more identical String literals appear in in the codebase we're automatically supposed to replace all of them by a reference to a constant. That seems to imply some assumptions: ⋅ All string constants are likely to change in the ...
by tendays
Thu Aug 21, 2014 3:00 am UTC
Forum: Coding
Topic: Poll! What is the value of this constant?
Replies: 47
Views: 11121

Re: Poll! What is the value of this constant?

Thank you for your votes! The correct answer was ".pdf" with a dot. Now for the context as promised. The application we are developing permits users to upload files, but they are only permitted to upload pdf files, or more specifically files whose name ends in ".pdf", so we had s...
by tendays
Wed Aug 20, 2014 5:56 am UTC
Forum: Coding
Topic: Poll! What is the value of this constant?
Replies: 47
Views: 11121

Poll! What is the value of this constant?

I'll explain the context later but I don't want to skew the results. In a (java, but the question is language-independent) project I'm working on we have a String constant called FILE_EXTENSION_PDF (in a file called CommonConstants.java). The question you have to answer is: Is that constant equal to...
by tendays
Thu Apr 10, 2014 12:42 pm UTC
Forum: The Help Desk
Topic: How can I get files out of Lumia 610?
Replies: 8
Views: 6990

Re: How can I get files out of Lumia 610?

Thanks again to everyone for the suggestions! This might work for you: http://forum.xda-developers.com/showthread.php?t=2223401 But MTP works fine on my computer. I just tried hooking my tablet which uses the MTP protocol to it and it was recognised instantly. I ran the mtp-detect program phlip talk...
by tendays
Mon Apr 07, 2014 3:26 pm UTC
Forum: The Help Desk
Topic: How can I get files out of Lumia 610?
Replies: 8
Views: 6990

Re: How can I get files out of Lumia 610?

Sizik wrote:Have you tried hooking it up to a Windows PC?
No... I have only linux at home, and at work we are not allowed to connect usb devices (well, the kind that transfers files) to our workstations... But maybe she can ask a colleague who has a windows computer at home...
by tendays
Mon Apr 07, 2014 2:46 pm UTC
Forum: The Help Desk
Topic: How can I get files out of Lumia 610?
Replies: 8
Views: 6990

Re: How can I get files out of Lumia 610?

Thank you for your replies! Take a look at http://web.airdroid.com/ It's android only... I don't know how the phone connects to the computer over USB, but it's probably MTP... I think it's a proprietary protocol used by their Zune tool. Try installing mtp-tools from apt, plug in the phone over USB, ...
by tendays
Sun Apr 06, 2014 9:08 am UTC
Forum: The Help Desk
Topic: How can I get files out of Lumia 610?
Replies: 8
Views: 6990

How can I get files out of Lumia 610?

Greetings xkcd, My friend has a phone with windows 8 on it (Nokia Lumia 610) and we've been trying to transfer the files (mostly, several hundreds of photos and a few videos) out of it (because the disk is full and she'd like to avoid deleting any data). I have a laptop with ubuntu on it, and a phon...
by tendays
Sun Feb 09, 2014 1:08 am UTC
Forum: Language/Linguistics
Topic: French Syllable Rules
Replies: 3
Views: 4684

Re: French Syllable Rules

Just look at the randomness of possible phonemes . :P I see your smiley, but to be honest that list is long partially because it includes loanwords ("E is sometimes pronounced /i/ in French! See 'design'!") and they include silent letters in the sound. For instance the plural "s"...
by tendays
Tue Jan 28, 2014 2:09 pm UTC
Forum: Mathematics
Topic: Putnam 2013
Replies: 4
Views: 2601

Re: Putnam 2013

I solved B6 for n=3 and n=5 manually, by making a complete graph or permitted moves, and noticed a pattern in the winning strategy: Every winning position when we have less than n-1 stones is symmetric and has a stone in the centre. Therefore the strategy for A is: 1. On first move, place a stone in...
by tendays
Thu Sep 05, 2013 5:38 am UTC
Forum: General
Topic: Quiz night questions that can't be googled on a smart-phone
Replies: 29
Views: 21850

Re: Quiz night questions that can't be googled on a smart-ph

(Just remember that if you take precise questions people suggested in this thread (as opposed to questions inspired by them), googling will bring people to this thread! :) (maybe you should have asked in Faid?))
by tendays
Mon Jul 22, 2013 9:15 pm UTC
Forum: Computer Science
Topic: Two probability questions
Replies: 8
Views: 5158

Re: Two probability questions

I probably misunderstood the question, because my answer would be zero :) So you have four numbers a b c and d. a and b differ by exactly one bit, a and c differ by exactly one bit and b and c differ by exactly one bit (plus pairs involving d)? If two numbers differ by exactly one bit then one of th...
by tendays
Sun Jul 14, 2013 4:27 pm UTC
Forum: Mathematics
Topic: SIMPLEST PROOF OF FERMAT'S LAST THEOREM
Replies: 45
Views: 10392

Re: SIMPLEST PROOF OF FERMAT'S LAST THEOREM

gmalivuk wrote:This is obviously not a real proof, but do other people find it interesting to point out the errors in these things?
I personally find these threads entertaining to read :)
(However, maybe they should be moved in Forum Games or something)
by tendays
Sun Mar 17, 2013 12:56 pm UTC
Forum: The Help Desk
Topic: Firefox won't accept my SSL certificate
Replies: 2
Views: 5613

Re: Firefox won't accept my SSL certificate

Hi, thank you for your reply. If it's connecting OK once you've added the security exception and is just showing "could not verify this certificate for unknown reasons" when you view the certificate details, I think that's perfectly normal. I wouldn't call that normal... It should say some...
by tendays
Sun Mar 17, 2013 11:35 am UTC
Forum: Books
Topic: Have you published any books?
Replies: 10
Views: 13963

Re: Have you published any books?

Oops, sorry this thread had slipped off my mind :) I have 3 published collections of my comic series "Moo & Keo". I know they're graphic novels and not novels as such but a lot of the behind the scenes stuff is essentially the same. My first two books were published by an indie publish...
by tendays
Tue Mar 05, 2013 7:36 am UTC
Forum: What If?
Topic: What-if 0034: "Twitter"
Replies: 74
Views: 34013

Re: What-if 0034: Twitter

Ah, but we are talking about possible tweets, without accounting how probable they are. Interestingly, as he bases his calculations on entropy, his answer really counts probable English sentences! As soon as sentences do not all have the same probability we get a value that is too low. To take an e...
by tendays
Sun Feb 10, 2013 7:44 pm UTC
Forum: Books
Topic: Have you published any books?
Replies: 10
Views: 13963

Have you published any books?

I hope there isn't already a topic like this? I looked at the first two pages. I suppose I should have used the search function :oops: Browsing through the topic it seems most threads are about reading books rather than writing (or do those belong to the your art and links forum maybe? I shall have ...
by tendays
Sun Feb 10, 2013 7:34 pm UTC
Forum: Books
Topic: How do you find new books?
Replies: 22
Views: 18105

Re: How do you find new books?

I didn't know you worked at a library :) I guess it's been too long since I tried to follow what xkcders are doing. Anyway I actually came here to say that I find new books by going to the library, spending a good hour reading the back covers. I usually end up with a dozen books I'd like to read and...
by tendays
Sun Feb 10, 2013 7:20 pm UTC
Forum: The Help Desk
Topic: Weird video / codex problem
Replies: 14
Views: 2661

Re: Weird video / codex problem

Have you had any luck? I'm having an even weirder flash problem. I was wondering why people were blue in videos. I first thought it was a new weird trick to fight racism by using a skin colour that normally no human being has. But then I thought it was funny that even movie trailers would show blue ...
by tendays
Sun Feb 10, 2013 7:08 pm UTC
Forum: The Help Desk
Topic: Getting USB Drives to Work; Xubuntu 10.04 LTS Server
Replies: 6
Views: 7491

Re: Getting USB Drives to Work; Xubuntu 10.04 LTS Server

Is it not working at all? I have that message as well when I plug a usb drive and they work just fine, so I suppose it's at least not preventing it to work. You should have other messages (when you run dmesg for instance) related to the disk. When I plug a usb drive on my laptop (also ubuntu) these ...
by tendays
Sun Feb 10, 2013 6:53 pm UTC
Forum: The Help Desk
Topic: Firefox won't accept my SSL certificate
Replies: 2
Views: 5613

Firefox won't accept my SSL certificate

Hello people! I'm having trouble getting firefox (v17, linux) to accept my SSL certificate signed with my own CA. Can any SSL wizard around here help? It has been working fine in the last few years but last time I renewed my certificate it started complaining that it is untrusted for "unknown r...
by tendays
Sun Feb 10, 2013 6:13 pm UTC
Forum: The Help Desk
Topic: Wireless only works from the console??
Replies: 2
Views: 1171

Re: Wireless only works from the console??

Sorry I had not noticed your answer! The console has as far as I can tell the same resolution as the graphic environment, and both are coming out of the HDMI port. I suppose it is just the generation of the complicated user interface making a difference! I also noticed the TV above the computer was ...
by tendays
Mon Jan 28, 2013 8:12 pm UTC
Forum: The Help Desk
Topic: Wireless only works from the console??
Replies: 2
Views: 1171

Wireless only works from the console??

Okay so I have pretty much given up on getting wireless working on my "zotac" mini pc (I'm having an electrician moving the cable tv/internet socket by the TV (so that I can move the modem close to the tv where the minipc serves as a media centre, and connect them with an ethernet cable). ...
by tendays
Sun Sep 30, 2012 5:32 pm UTC
Forum: General
Topic: Left-over money
Replies: 42
Views: 5830

Re: Left-over money

This poll should have permitted negative values! I know people who spend more than they can afford (and either burn through savings or drown in debts or have generous friends who keep on lending). (I am fortunate enough to not be in that case. I am single, have no children, but share a small-ish fla...
by tendays
Tue Jul 17, 2012 11:02 am UTC
Forum: What If?
Topic: What-If 0003: "Yoda"
Replies: 122
Views: 57282

Re: What-If 0003: Yoda

And I wonder why he did not estimate mass of the water moved along with the ship. As far as I know it might be a few times more than mass of the x-wing alone, thus increasing Yoda's power output considerably. Wouldn't Archimedes' force more than compensate for that? (disclaimer: I have not seen tha...
by tendays
Sun Jan 22, 2012 9:24 pm UTC
Forum: Hardware
Topic: Neat gadget - touchscreen music stands
Replies: 28
Views: 5326

Re: Neat gadget - touchscreen music stands

Two things: 1. I wrote a program once that would listen to my playing, compare it to a pre-recorded version so that it can turn the page at the right time. It's quite rough so far (command line interface on linux only (it interfaces with any scriptable document viewer)) but works for me (And now I g...
by tendays
Wed Jun 22, 2011 10:15 am UTC
Forum: General
Topic: Question your longheld stereotypes...
Replies: 263
Views: 18563

Re: Question your longheld stereotypes...

AngrySquirrel wrote:A language thread on french does not deny the existence of other languages.
Nor does it need to explicitly acknowledge their existence.
by tendays
Wed Jun 22, 2011 6:04 am UTC
Forum: General
Topic: Question your longheld stereotypes...
Replies: 263
Views: 18563

Re: Question your longheld stereotypes...

Off-topic and offensive rant in spoiler. This could have been (might still become) an interesting thread on how cultural and biological phenomena affect large groups of people with some property in common in a similar way, instead it comes back to this, that excluding people is automatically...
by tendays
Sun Jun 05, 2011 2:58 pm UTC
Forum: Language/Linguistics
Topic: Words which nearly all languages use
Replies: 54
Views: 8424

Re: Words which nearly all languages use

Thanks for that mama/papa paper, it was a very nice read.

"Sugar" seems remarkably constant as well. At least it exists in all languages I know: Finnish sokeri, French sucre, German Zucker, Hindi shakkar, Portuguese açúcar, Tamil shakkarei...
by tendays
Sun Jun 05, 2011 1:24 pm UTC
Forum: The Help Desk
Topic: Completely erase a laptop's harddrive
Replies: 15
Views: 3683

Re: Completely erase a laptop's harddrive

I can't believe no one has suggested DBAN yet. That should solve the OP's problem...
by tendays
Sun May 22, 2011 8:38 pm UTC
Forum: Movies and TV Shows
Topic: The Tree of Life
Replies: 20
Views: 3161

Re: The Tree of Life

I watched it the other day and my reaction was mostly "what the hell was that‽". Sure there are nice things to look at but do we want to look at (often abstract, like there are colourful things moving around but we've no idea what we're looking at) nice things for two hours? Also, maybe te...
by tendays
Sat Mar 19, 2011 11:52 am UTC
Forum: The Help Desk
Topic: SGI IRIX Desktop Wallpaper
Replies: 1
Views: 1221

Re: SGI IRIX Desktop Wallpaper

Crop a corner of that screenshot and set it in "repeat" mode? If you look carefully you'll notice the original wallpaper is repeating anyway. Or if you have gimp, make a black image, apply random rgb noise, use the threshold tool to make it black and white, then replace black and white by ...
by tendays
Fri Mar 18, 2011 6:51 am UTC
Forum: Coding
Topic: Modified Wikipedia server
Replies: 5
Views: 1363

Re: Modified Wikipedia server

Any chance you could host the email server on the same box that is doing the wikipedia querying? That way you could have it run your code when receiving the email instead of having to poll a server constantly. I've successfully done that kind of things with qmail (simply put "| yourscriptname&q...
by tendays
Mon Mar 14, 2011 12:07 pm UTC
Forum: General
Topic: Teens Are So Weird -- I mean the numbers.
Replies: 49
Views: 5217

Re: Teens Are So Weird -- I mean the numbers.

Okay could we do this for Hindi? I've already learnt them up to fifty something (and 60 70 80 90 100 but not the ones in the middle although I might guess the meaning when hearing one).
Hindi/Numbers
by tendays
Mon Mar 14, 2011 11:18 am UTC
Forum: General
Topic: Handling distractions on the PC
Replies: 15
Views: 2757

Re: Handling distractions on the PC

nacho_dh wrote:ping -n 10 127.0.0.1>nul
Is there no equivalent to "sleep" on windows?
by tendays
Wed Jan 19, 2011 6:08 pm UTC
Forum: The Help Desk
Topic: ISP block bypassing
Replies: 13
Views: 4132

Re: ISP block bypassing

Well, if you could get together with your desired endpoint you could probably do ping tunneling , but really, just use a proxy (or tor, which is just a whole lot of proxies with some encryption). Icmp tunnels are only really useful when *all* tcp connections are blocked (or only allowed to very few...
by tendays
Sun Jan 02, 2011 11:25 am UTC
Forum: The Help Desk
Topic: Ripping DVD on K3B
Replies: 4
Views: 1234

Re: Ripping DVD on K3B

You might just be missing the libdvdcss library but if k3b really doesn't want dealing with encrypted dvds, try getting vobcopy and then run vobcopy -m to decrypt the dvd. You'll need enough space on your hard disk for that, it will generate that VIDEO_TS directory with the entire, unencrypted, cont...
by tendays
Sun Jan 02, 2011 11:18 am UTC
Forum: The Help Desk
Topic: Migrating from Kubuntu 10.04 LTS to 10.10
Replies: 9
Views: 997

Re: Migrating from Kubuntu 10.04 LTS to 10.10

For what it's worth I tried 10.10 some time ago and it broke so many things I had to go back to 10.04. It's been a while now but a lot of it was due to a new version of the the graphics subsystem X.org, that broke my touch screen and my graphic tablet, but also other things like the volume control o...
by tendays
Sun Dec 12, 2010 8:31 pm UTC
Forum: Coding
Topic: sed/awk question
Replies: 3
Views: 996

Re: sed/awk question

Berengal wrote:

Code: Select all

sed -re 's/^(\S+\s+){3}(.*)(\s+\S+)$/\2/g'
I think you forgot a {2} after the third group — the OP wants to remove the last two fields. (Also you don't need that g-flag!)
by tendays
Mon Nov 29, 2010 7:59 pm UTC
Forum: Language/Linguistics
Topic: Three sentences in as many languages as possible
Replies: 77
Views: 19687

Re: Three sentences in as many languages as possible

I asked the Võro Institute for a translation in the Võro language/dialect. Kost teil halutas? (Where does it hurt for you?) Mis aost täpsähe?/Ku pikält taa joba nii om olnuq? (From what moment forwards?/ How long has it been like that?) Teil sugulaisi om, kiä saksa kiilt kõnõlnuq? (Do you have rela...
by tendays
Sun Nov 28, 2010 7:18 pm UTC
Forum: The Help Desk
Topic: Processing Mandelbrot Renderer
Replies: 4
Views: 814

Re: Processing Mandelbrot Renderer

Maybe everyone figured it out by now but I'll post the answer just in case anybody was wondering, and so that I can safely forget about this thread :) Problem: the "this.re" used in the second line (when computing the new value of this.im) should refer to the value it had before ca...

Go to advanced search