Berkeley CSUA MOTD:Entry 32208
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2004/7/10-12 [Computer/SW/Languages/Java, Computer/SW/Languages/Python] UID:32208 Activity:high
7/10    anyone figure out the google challenge?
        \_ what's that?
           \_ {first 10-digit prime found in consecutive digits e}.com
        \_ I got 7427466391 for phase 2. Did anyone else get this?
           Err, sorry, nevermind. I figured it out though.
        \_ http://tinyurl.com/2mxgn
        \_ it's kinda lame, actually.
        \_ Yes.  They call that a challenge?
2025/04/04 [General] UID:1000 Activity:popular
4/4     

You may also be interested in these entries...
2013/4/29-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:54665 Activity:nil
4/29    Why were C and Java designed to require "break;" statements for a
        "case" section to terminate rather than falling-through to the next
        section?  99% of the time poeple want a "case" section to terminate.
        In fact some compilers issue warning if there is no "break;" statement
        in a "case" section.  Why not just design the languages to have
        termination as the default behavior, and provide a "fallthru;"
	...
2013/5/1-18 [Computer/SW/Languages/Java, Computer/Theory] UID:54669 Activity:nil
5/1     What's the difference between CS and Computer Engineering?
        http://holykaw.alltop.com/top-ten-paying-degrees-for-college-graduates
        \_ One is science and the other is engineering.
        \_ From http://en.wikiquote.org/wiki/Computer_science
           'A folkloric quotation ... states that "computer science is no more
           about computers than astronomy is about telescopes."  The design
	...
2013/3/5-26 [Computer/SW/Languages/Java] UID:54618 Activity:nil
3/5     Three emergency Java updates in a month. Why do I have a feeling
        that the third one won't be the last one?
        \_ Bingo!
	...
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        http://techcrunch.com/2012/12/18/print-happy-25th-birthday-perl
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
	...
2012/12/4-18 [Computer/SW/Languages/Java] UID:54544 Activity:nil
12/4    Holy cow, everyone around me in Silicon Valley is way beyond
        middle class according to Chinni's definition:
        http://en.wikipedia.org/wiki/American_middle_class
        \_ Let's set our goals higher:
           http://en.wikipedia.org/wiki/Upper_middle_class_in_the_United_States
           \_ How about this one?
	...
2012/10/29-12/4 [Science/Disaster, Computer/SW/Languages/Java, Politics/Domestic/President/Bush] UID:54516 Activity:nil
10/29   Go Away Sandy.
        \_ Sorry, Coursera is performing preventive maintenance for this
           class site ahead of Hurricane Sandy. Please check back in 15 minutes.
           class site ahead of Hurricane Sandy. Please check back in 15
           minutes.
        \_ Bitch.
	...
2013/4/9-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Apps, Computer/SW/Languages/Perl] UID:54650 Activity:nil
4/04    Is there a good way to diff 2 files that consist of columns of
        floating point numbers, such that it only tells me if there's a
        difference if the numbers on a given line differ by at least a given
        ratio?  Say, 1%?
        \_ Use Excel.
           1. Open foo.txt in Excel.  It should convert all numbers to cells in
	...
2011/12/23-2012/2/6 [Computer/SW/Languages/Python] UID:54272 Activity:nil
12/23   In Python, why is it that '好'=='\xe5\xa5\xbd' but
        u'好'!='\xe5\xa5\xbd' ? I'm really baffled. What
        is the encoding of '\xe5\xa5\xbd'?
        \_ '好' means '\xe5\xa5\xbd', which is just a string of bytes; it has
           length 3.  Python doesn't know what encoding it's in.  u'好' means
           u'\u597d', which is a string of Unicode characters; it has length 1,
	...
2011/4/16-7/13 [Computer/SW/Languages/Python] UID:54086 Activity:nil
4/16    Whoa, I just heard that MIT discontinued 6.001 (classic scheme)
        to 6.01. In fact, 6.00, 6.01 and 6.02 all use Python. What the
        hell? What has the world become? It's a sad sad day. SICP forever!
        \_ old story, they've ditched that shitty book and lang for a while.
        \_ I used to think scheme was cool, then I saw Ka Ping Yee's
           "Beautiful Code" class aka 61a in python, and converted.
	...
2011/2/24-4/20 [Computer/SW/Languages/Java] UID:54048 Activity:nil
2/24    Go Programming Language.  Anyone here use it?  It kind of
        reminds me of java-meets python, and well, that is fitting given it's
        a GOOG product.  What is so special about it?
        \_ as I understand it, it's a suitable OOP-y systems language with more
           structure than C, less complexity than C++, and less overhead than
           Java/Python.
	...
2011/3/31-4/20 [Computer/SW/Languages/Python] UID:54070 Activity:nil
3/20    Has anyone here had success in using python 3.0?  Any gotchas
        to worry about? I've got an entire set of apps in python 2.x
        and am wondering if it's worth it to upgrade?
	...
2010/8/8-9/7 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Web] UID:53914 Activity:nil
8/8     Trying to make a list of interesting features languages have
        touted as this whole PL field comes around, trying to see if they
        have basis in the culture of the time: feel free to add some/dispute
        1970 C, "portability"
        1980 C++, classes, oop, iterators, streams, functors, templates
             expert systems
	...
2010/8/12-9/7 [Computer/SW/Languages/Perl] UID:53922 Activity:nil
8/12    Ruby coders, do you mostly DIY your stuff or use the ruby libs out
        there?   How is their quality compared to other libs you have used
        for other langs?  Thx.
        \_ I use Ruby for hobby stuff, etc.  I use libraries for system stuff
           (web access, process, etc.) but that's about it.  Perl libraries are
           much better/more complete.  I assume because of the maturity and
	...
Cache (8192 bytes)
tinyurl.com/2mxgn -> discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=160966&ixReplies=23
f is the number we just found, and f, f, f are all 10 consecutive digits of e Their indexes are 1, 5, 23, 99 within e, or maybe 0, 4, 22, 98 depending on how you count. com/njas/sequences/ There is an entry with 401 as the next number, but it is quite obscure. Not something you would come up with unless you knew about this site (which most people probably don't). Simon Lucy Friday, July 09, 2004 Billboards are cheaper than you think. I'd read about companies doing this as a recruiting technique. You should follow through, maybe you can get a good job at a good company. Oh well, it ended after step 2 That pretty much gives it away (the 49 thing) -- it was indeed a hiring plot, but not for Linux, interestingly. As I thought, the purpose was to find good programmers or problem solvers. Python is a wonderful little tool (along with Google to find the digits of e). As a side note, anyone who is a programmer who is curious about this and finds it a total chore to do in your favorite programming language (eg C, C++, Java) really needs to have something like Python under their belt. Jan Derk Friday, July 09, 2004 That is a pretty cool tactic by google. For anyone who hasn't cheated like I did (ie used the information in this post to find out the *secret*), basically the last page is just Google asking you to submit you resume to them. Their idea (SPOILER I GUESS) being that if you were curious and smart enough to get that far then they would like to see your resume. At least for a while the resumes that flow through to that email address will be generally of a higher calibre (hopefully), as they put it, they are hoping to increase the signal to noise ratio. It reminds me of the movie starring Woopi Goldberg as a NY nicks fan, she used to leave a question on her answering machine that had to be correctly answered before she would listen to the message. btt Friday, July 09, 2004 "Python is a wonderful little tool (along with Google to find the digits of e). As a side note, anyone who is a programmer who is curious about this and finds it a total chore to do in your favorite programming language (eg C, C++, Java) really needs to have something like Python under their belt. The great thing about Perl/Python/Ruby is that they allow you to quickly write your algorithm in very few lines of code without having to wrap it up in a lot of boilerplate. I highly recommend learning one of these three languages if you haven't already. sir_flexalot Friday, July 09, 2004 Their email address doesn't seem to be working. I guess too many people have sent them messages, unless my ISP has gone bad again. Steve Jones (UK) Friday, July 09, 2004 JavaScript's quite nice for the purpose thanks to its anonymous functions. I've done a lot of JavaScript and hence tend to fall back on it, though I plan to learn Python at some point. Friday, July 09, 2004 Excuse me for being ignorant, but how does one know what 'e' is? I assume it's some constant or theoretical number of some sort, but I haven't the mathematical background to be sure. Steve Barbour Friday, July 09, 2004 Soon that ZDnet article will be linked on Slashdot. Has JoS been Slashdot-ed before, when some of Joel's articles that may appeared there? Michael Friday, July 09, 2004 >>>Excuse me for being ignorant, but how does one know what 'e' is? It is the base of natural logarithms, almost as significant as pi in terms of how useful it is. Usually taught in a first, high school level, calculus course. If you're really interested, go to Amazon and search for the book "e: The Story of a Number". But anything involving natural logarithms and roadside advertising is too good to pass up. org ) Friday, July 09, 2004 Ruperts not here, it was me. I occasionally tip him off to stuff that hasn't hit the mainstream. Sometimes its fun to watch an idea be spread around the world. I usually get the odd drink for my troubles (We live around a mile or so apart, so he'll sometimes stop off for a drink on his way home) Note as a journalist he's usually fairly hot on the technology as he was programming 386 networking OSs when I first met him twenty odd years ago (he even found an obscure bug IIRC "pop ax" affected the high bits of the eax register). Peter Ibbotson Friday, July 09, 2004 And to throw in a useful link: Wolfram/Mathematica maintains a web site with brief descriptions of various mathematical concepts. net Friday, July 09, 2004 In related news, here's a fun way to remember e It's all about Andrew Jackson, who served two terms as President of the United States. He served two terms: 2 He was the seventh president: 7 He was elected in 1828 (and served two terms) 18281828 Finally, if we had a square picture of Andrew Jackson and drew a diagonal line from corner to corner, we'd have a 45-90-45 triangle: 459045 Then, e to sixteen digits is 2718281828459045 Friday, July 09, 2004 ==> I was in some seriously advanced honors level physics and chemistry courses in HS and never once heard of 'e'. Then you were hoodwinked and I suspect that your classes were not as "seriously advanced" as you were lead to believe. I first ran into 'e' in first year HS algebra (with a very superficial treatment). Later (senior year) in Calculus had a very thorough treatment of the subject, and again (senior year) in Physics class practical application of the concept was clearly demonstrated. I took no "honors classes" in mathematics or physics -- my exposure to 'e' was through the normal curriculum. Sausage Friday, July 09, 2004 >>> I was in some seriously advanced honors level physics and chemistry courses in HS and never once heard of 'e'. Once you get to integrals in calculus you can't avoid it. mackinac Friday, July 09, 2004 There was calculus, but no 'e'. It's been many, many, MANY years, and my memory isn't so good, so perhaps I'm wrong. Or maybe 'e' was just something rolled up into the formulae and never explained on its own. Say, I figured out it was Google and a major news source caught on. Through them, the final page in the easter egg hunt was posted for the world to see. So while I didn't solve the problem, my ingenuity did lead to the final page. I can't calculate the e of anything, but it could be worth a job. Of course, my answer would probably be: "We hate you, you spoiled our little game for us way ahead of time. Miguel Friday, July 09, 2004 Man I admit I was a little lazy in posting the first step for Brian to figure out, but you guys don't have to TOTALLY spoil it (even though I sort of spoiled it). The answer was already there -- you didn't have to post the direct link for everyone to see. Man I can't believe ZDNet picked up on that already and even quoted me! The point is not that you can write that Java code in a short time/few lines. The point is that there is no way that is the ONLY code you would write to figure out the problem. Of course any language is fine if you already KNOW what you're going to write. But languages like Python and others are better when you just need to try stuff out, when the objective isn't known... you don't have to bog yourself down in any overhead, you just write what you mean and you don't have to think about it. Obviously I'm not saying Python is better than Java or whatever, it is just something to have under your toolbelt. BTW, the billboard is on the Ralston Ave exit going south coming from San Francisco. Trying to recruit some Redwood Shores people -- EA and Oracle? Michael Eisenberg Friday, July 09, 2004 > Finally, if we had a square picture of Andrew Jackson and drew a diagonal line from corner to corner, we'd have a 45-90-45 triangle: I have a square picture of Britney Spears, will that do? This thread is only a few hours old and already the mainstream media is writing actual news articles about this thread? I guess we do see a lot of fresh news first here though. Dennis Atkins Friday, July 09, 2004 > I was in some seriously advanced honors level physics and chemistry courses in HS and never once heard of 'e'. Unforunate further proof that education in this country has gone all to hell. Dennis Atkins Friday, July 09, 2004 Is there a number theorist in the house? f add up to something vaguely ...