Search found 3712 matches

by Suzaku
Sat Sep 15, 2012 2:26 am UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 149307

Re: Project Euler

Yeah, I was using def fac(n): if n == 0: return 1 else: return n * fac(n - 1) I replaced it with my original iterative function using xrange: def fac2(n): if n == 0: return 1 else: f = n for x in xrange(1,n): f *= x return f This actually worsened the times (very slightly) Replaced that with a sligh...
by Suzaku
Sat Sep 15, 2012 1:52 am UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

45095
by Suzaku
Fri Sep 14, 2012 11:59 pm UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 149307

Re: Project Euler

There is a very efficient brute force method. Hint: Ignore the order of the digits. Got it. I can't say that the code is elegant, but it works and it's fast. 1.6 seconds vs ~5min for the baseline unoptimised brute force. Spoilered for the solution: from eulerfns import fac # Recursive factorial fun...
by Suzaku
Fri Sep 14, 2012 11:45 pm UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

45093
by Suzaku
Fri Sep 14, 2012 11:34 pm UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

45091

GOOD MOOOORRRRNING!!!

Bartimaeus wrote:I just noticed...

SUZAKU!

AS IN SPINZAKU?!

Or is that your real name?

Suzaku as in the Chinese/Japanese mythological creature (see my avatar).

What's a Spinzaku when it's at home?
by Suzaku
Fri Sep 14, 2012 2:07 pm UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

45058
by Suzaku
Fri Sep 14, 2012 1:47 pm UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

45056
by Suzaku
Fri Sep 14, 2012 11:49 am UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

45052

I'm right :P
by Suzaku
Fri Sep 14, 2012 8:34 am UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 84226
Views: 5704584

Re: Count to a Million

4 x 10^4 + 5 x 10^3 + 5 x 10^1

I'm bored :)
by Suzaku
Fri Sep 14, 2012 1:17 am UTC
Forum: Gaming
Topic: Games you can't remember the title of.
Replies: 1895
Views: 467860

Re: Games you can't remember the title of.

I'm looking for a game name, but not (strictly) a computer game. I know the game as 'Napoleon's Patience', but I cannot find any online references to it under that name, and I suspect it might have a different, better-known name in the US. It's a single-deck patience (solitaire if you prefer), set u...
by Suzaku
Wed Sep 12, 2012 6:54 am UTC
Forum: Mafia
Topic: Gender pronouns for our players!
Replies: 300
Views: 138261

Re: Gender pronouns for our players!

Suzaku aka Alex

he/him/his > they/them/their >> it/it/its
by Suzaku
Wed Sep 12, 2012 6:52 am UTC
Forum: Mafia
Topic: Sign-ups (for PLAYERS)
Replies: 7352
Views: 695212

Re: Sign-ups (for PLAYERS)

Lights Out! Who's afraid of the dark? Mods: Misnomer & Rhyme Game Info: 'Lights Out' mechanic is in place - town is able to lynch multiple players each day phase. Setup: Closed, Non-Bastard. Non-standard roles may be present. Game Size: 12+ - the more the merrier. Players: 1. cjquines (I'm afrai...
by Suzaku
Tue Sep 11, 2012 1:13 pm UTC
Forum: XKCD Meetups
Topic: [Japan] Tokyo!
Replies: 11
Views: 35386

Re: Tokyo meetup - any interest?

I'm going to necro this old thread and see if there's any current interest.

So, I live and work in Tokyo. Is there anyone who would be interested in some form of meet up in or around?
If there is, I would be more than happy to coordinate.
by Suzaku
Tue Sep 11, 2012 12:43 pm UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 149307

Re: The 'Project Euler' thread

How did I miss that thread? Actually quite easy, searched on 'First post in thread' but assumed the order of responses would reflect the most recent post, not the original post. Dumb assumption - mea culpa. Thanks for the hint. Spoilered for thinking out loud and further hints: So any collection of ...
by Suzaku
Tue Sep 11, 2012 10:46 am UTC
Forum: Coding
Topic: Project Euler
Replies: 411
Views: 149307

The 'Project Euler' thread

I was searching for a thread relating to Project Euler, and I noticed that although there are a number related to individual questions, there's no one central thread. So I thought I'd start one. Feel free to post questions, hints, problems, brags, code, whatever. I only ask that you spoiler-tag the ...
by Suzaku
Mon Sep 03, 2012 2:09 pm UTC
Forum: General
Topic: Best comedy pieces
Replies: 45
Views: 7134

Re: stand-up comedy

The BBC Radio Scotland podcast 'Scotland's Funny Bits' recently did a series of episodes originally recorded live at the Edinburgh Fringe, and each featuring interviews/routines with/by a variety of comics (of various nationalities). I think that these episodes should still be available from the BBC...
by Suzaku
Fri Aug 24, 2012 2:21 am UTC
Forum: Coding
Topic: give me a small project!
Replies: 16
Views: 5147

Re: give me a small project!

How about: A program to encrypt/decrypt text using classical ciphers? Some suggestions for ciphers would be: ⋅  Atbash ⋅  Caesar Cipher (very easy) ⋅  Playfair Cipher (interesting work with string arrays) ⋅  Trifid Cipher ('cause it has a cool name) ⋅&nbs...
by Suzaku
Tue Aug 21, 2012 8:42 am UTC
Forum: Science
Topic: Worst thing you've seen in a lab
Replies: 256
Views: 227518

Re: Worst thing you've seen in a lab

I used to be a member of a couple of choirs while I was at high school, so I had very good lung capacity and breath control. One of our breath control excercises was to take a good, deep breath and exhale slowly through very slightly parted lips. I could keep this up for well over a minute without b...
by Suzaku
Fri Jun 15, 2012 1:42 am UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

Let me see if I have something straight here. ので vs から You really don't go for the easy ones, do you? This is one of those where you could ask three native speakers and get three slightly different answers. Simplest answer: ので is more polite. Slightly more complex answer: から is more subjective, and...
by Suzaku
Mon Jun 11, 2012 3:26 pm UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

良くない日本語ので諦めてもいいですか? This sentence, which I have just created, is incorrect. Somewhere. I just know it. Can anyone fix my mistake? You are correct, it is incorrect somewhere. Where depends on what you were trying to say. I suspect that what you were thinking was 「良くない日本語 な ので諦めてもいいですか?」 - You need t...
by Suzaku
Fri Jun 08, 2012 2:11 pm UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

I`ve just recently found two Kanji that are seemingly rare. The first, 𥼣, has nothing. No meaning, no readings, and when I enter it into IRC, I get the ? in the diamonds. The second, 蟱, has four readings, but no Kanji meaning. Both do not have words attached to them, and the first won`t appear in J...
by Suzaku
Wed Jun 06, 2012 3:21 pm UTC
Forum: General
Topic: Blistering blue barnacles
Replies: 28396
Views: 2939675

Re: Pant Thread (because we need more panting)

SecondTalon wrote:Interestingly, the middle of a crowded commuter train in front of your friend is the scientifically proven most optimal place to "have a wank".
[Citation Needed]
by Suzaku
Wed Jun 06, 2012 3:19 pm UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

Pretty spot on. I would go with 'some day' instead of 'sometime', but that's more of a statement about my preferences in English than about the translation. 祈る is literally ' to pray', so 'I pray' is technically more correct than 'I wish' (which could be rendered as 願う<ねがう> or 望む<のぞむ>), but again th...
by Suzaku
Wed Jun 06, 2012 1:10 pm UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

For a long time, I've seen many things say that "want" is an adjective, not a verb in Japanese. 欲しい. But then I came across 欲する, I like to go with 欲為る、 It's a verb, it means want. I mean, technically it's a noun that you just attach 為る to to make it a verb, but a verb nonetheless. Does an...
by Suzaku
Wed Jun 06, 2012 10:00 am UTC
Forum: General
Topic: Blistering blue barnacles
Replies: 28396
Views: 2939675

Re: Pant Thread (because we need more panting)

Dear Guy-standing-next-to-me, The shake-it-up-and-down-fast-and-pop-the-top-off coke bottle simulator on your Android may be really cool. I submit, however, that the middle of a crowded commuter train where there's barely room to stand is not the best place to demonstrate this fact to your mate. Als...
by Suzaku
Wed Jun 06, 2012 7:48 am UTC
Forum: General
Topic: Questions For The World
Replies: 2216
Views: 397942

Re: Questions For The World

Question! Payment methods, especially for things online. In the UK, the two standards for online payment are credit card and debit card payments. Normally both are accepted, and almost everyone in the UK has at least one of each. In Korea, one of the most common methods appears to be direct bank tr...
by Suzaku
Sun Jun 03, 2012 4:59 am UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

What is the difference between しかし、でも、けど. 「しかし」 is used at the beginning of sentences; not to join two clauses. The overtones are similar to English 'However'. The full form is 「しかしながら」. 打ち上げは成功しました。しかし、衛星<えいせい>は正しく機能しませんでした。 The launch was successful. However, the satelite did not function correct...
by Suzaku
Sat Jun 02, 2012 1:46 pm UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

中is used for an ongoing state or action, and you're correct in the reading ちゅう. Its use is somewhat idiomatic, and as such doesn't conform to rules well, but generally it's used with Chinese-reading (on-yomi) compound verbs. You will commonly see the following (among others): 取り込み中(とりこみちゅう): Busy (T...
by Suzaku
Sat Jun 02, 2012 8:08 am UTC
Forum: Language/Linguistics
Topic: 日本語 (Japanese Practice)
Replies: 552
Views: 187542

Re: 日本語 (Japanese Practice)

はじめまして、アレックスです。
東京に住んでいるオーストラリア人で、36歳です。
日本語を12歳の時から勉強しています。
日本語の質問などありましたらどうぞきいてください。

よろしくお願い致します。
Alex. (朱雀)
by Suzaku
Sat Jun 02, 2012 7:37 am UTC
Forum: Language/Linguistics
Topic: Other Languages You've Studied
Replies: 488
Views: 88903

Re: Other Languages You've Studied

I've studied 3 languages (defining study as more than picking up a few phrases for travel). French: Studied from 8 y.o. to about 12 y.o., can hardly remember any. Spanish: Studied for 1 year at Uni, can hardly remember any. Japanese: Studied since 12 y.o. now live in Japan and speak it all day every...
by Suzaku
Sat Jun 02, 2012 5:29 am UTC
Forum: General
Topic: Getting a Dog - things to do/remember
Replies: 10
Views: 2429

Re: Getting a Dog - things to do/remember

Should be obvious, but make sure to confirm all regulations regarding registration, vacination, etc. etc. in your area. Also might be worth checking that you're not allergic to dogs, if you aren't already sure. Size of house/apartment - Some dogs need more space than others. More than you could give...
by Suzaku
Thu May 31, 2012 10:54 am UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10908
Views: 2096361

Re: INTRO THREAD THE THIRD

Hi all, Alex, aka Suzaku, here. I'm a 36-year-old Aussie male, married with three kids and living in Tokyo, Japan. I work in IT, mainly planning and running infrastructure projects, and spend a lot of my free time (which isn't much, see number of kids) playing with/on PCs. I love music, especially B...

Go to advanced search