Berkeley CSUA MOTD:Entry 26647
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/26 [General] UID:1000 Activity:popular
5/26    

2002/11/27-28 [Computer/SW/Languages/JavaScript, Computer/SW/Languages/Misc] UID:26647 Activity:moderate
11/26   Can anyone point me toward a javascript that checks for the existence
        of a directory every X seconds and jumps there when it becomes
        available?  I stfw but I don't think my script-describing fu is up to
        snuff.
        \_ checks for the existence of a directory on a web site?  I doubt
           it's possible, since you'd have to be able to differentiate the
           error page that the web server generates from the real page.
           on the other hand, you probably could have a script that reloads a
           page every X seconds, which have the same net effect.
           \_ I thought perhaps that the 404 return code would be visible
              to javascript, but I have no idea how to do it myself.
                \_ Why Javascript?
        \_ You want perl.
                   \_ It's a web app that people upload files to.  They're
                        given an "upload successful" page that should
                        redirect them to where they can d/l the finished
                        product when it's finished.  Is there any other
                        way (besides a time-delayed meta redirect, which
                        I've got) to do this?  That's why javascript
                        sounded good.
                        \_ Does the upload script have to be javascript?  Look
                           at something like PHProjekt for another way of
                           placing files online.  -John
                           \_ The upload is entirely normal HTML plus PHP
                              on the server side.  Javascript is solely
                              for the upload confirmation page, and it
                              should take them to the download page when
                              the download page is created.  ANYTHING that
                              would solve this problem well would be
                              appreciated.
        \_ do it on the app side. i.e. keep the browser happy by sending
           some <!-- crap --> to it; at the same time keep checking your
           url (HttpUrlConnection). you can get a return code from that
           call. once the file is there, redirect the user - gosha
           \_ It's a public server so I'm running the processing function
              infrequently and at low priorites, meaning wait times of
              several minutes.
2025/05/26 [General] UID:1000 Activity:popular
5/26    

You may also be interested in these entries...
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
	...
2009/9/28-10/8 [Computer/SW/Languages/C_Cplusplus] UID:53409 Activity:nil
9/28    http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
        Java is #1!!! Followed by C, PHP, C++, Visual Basic, Perl,
        C#, Python, Javascript, then finally Ruby. The good news is
        Pascal is going waaaay back up!
        \_ C is still more popular than C++?  I feel much better about myself
           now.
	...
2009/8/3-11 [Computer/SW/Languages/Web] UID:53231 Activity:moderate
8/1     Where's the place people go for free webspace these days?  Helping
        my sis's  kid learn how to set up html/php/some minor javascript.
        \_ not geocities:
           http://help.yahoo.com/l/us/yahoo/geocities/close/close-07.html
        \_ why are there 2987394872 places offering free blog space but
           not alot offering free webspace like before.
	...
2009/7/21-24 [Computer/SW/Languages/Java] UID:53168 Activity:moderate
7/20    For those who care btw, it looks like eclipse is now A Standard Tool
        at UCB ugrad cs, probably replaced emacs.  Furthermore, people get
        angry at seeing Makefiles, (since eclispe takes care of that).  I
        guess it's just a sign of the times.
        \_ The more people at my work use eclipse the less the code is
           managable in emacs.  I'm not sure which application's fault
	...
2009/6/30-7/15 [Computer/SW/Languages/JavaScript] UID:53098 Activity:nil
6/30    Javascript, I love you:
        var b = new Boolean(false);
        b;        // false
        !b;       // ALSO false
        !b == b;  // But this is true!
        !!b == !b // Negate both sides and it's false again. FUCK.
	...
2008/9/22-24 [Science/Electric, Computer/Companies/Google, Computer/SW/Editors/Vi] UID:51263 Activity:kinda low
9/22    Gmail's "conversation feature" drives me nuts! Is there a way to
        disable that and make Gmail act like every other e-mail client on the
        planet? WTF thought this was a nice thing to have on by default?
        \_ Umm, why don't you just use another email service then...
           \_ Umm, I do, which is how I have something to compare to. I get
              mail in at least 4 places only one of which is Gmail. I
	...
2008/6/17-20 [Computer/SW/WWW/Browsers] UID:50275 Activity:kinda low 57%like:50273
6/16    Firefox 3 coming out tomorrow.
        http://news.yahoo.com/s/nf/20080612/bs_nf/60269
        Memory usage - Firefox 3 Beta vs. Firefox 2 vs. IE 7:
        http://blog.pavlov.net/2008/03/11/firefox-3-memory-usage
        \_ There's a rule that says NEVER BE THE FIRST TO TRY IT.
           I'm going to let Firefox3 version 1 hammer out bugs first.
	...
2008/3/4-7 [Computer/SW/Virus] UID:49325 Activity:kinda low
3/4     Hi, what's the best free anti-virus software for XP?  What about
        anti-spyware?  Currently I'm using Active Virus Shield and Spybot.
        Thanks.
        \_ I've used: avg, spybot s&d, adaware, trend micro's housecall.
           \_ Does Spybot S&D protect Firefox?  It soulds like the injection
              feature only supports IE.
	...
2008/3/5-7 [Computer/Companies/Google] UID:49346 Activity:kinda low
3/5     How does Google Map widget work? Is it a flash program or a
        pure Javascript program? When you include a Google Map on your
        home page, how does it talk to the <DEAD>maps.google.com<DEAD> server?
        I thought cross domain is not possible.
        \_ Pure JavaScript.  It uses an <iframe> to avoid cross-domain issues.
           \_ You mean the thing that scrolls/moves around is an
	...
2008/2/7-11 [Computer/SW/Languages] UID:49084 Activity:low
2/7     Hi I'd like to learn Flash. I have no UI experience but I just want to
        learn for the sake for curiosity. I just want to create something that
        is interactive and fun, and don't care about scalability/extensibility/
        reliability/efficiency/blah-blah. What language is Flash most similar
        to and how easy/difficult is it to get started (e.g. "hello world")?
        -kchang
	...
2013/4/9-5/18 [Computer/SW/Mail, Academia/Berkeley/CSUA] UID:54647 Activity:nil
4/8     What's a good free e-mail provider? I don't want to use Gmail,
        Yahoo, Outlook, or any of those sites with features I never use that
        track my personal info and keep changing their interface. I want just
        simple e-mail without privacy issues or all the baggage these large,
        for-profit companies are adding. I might even be willing to pay.
        Recommendations?
	...