I thought that myself too and that was one of the reasons I held out to SD over HD content w/ DirecTV for so long. I bit the bullet in October and got the DirecTV HD DVR. There's only 2 things I've found that it can't do that the DirecTivo could do. Suggestions (which is something I think is patented by Tivo - and I didn't actually use) and undeleting shows from your recorded list you've deleted. There might be more, but they'd be things which I don't miss and the DirectTV DVR does quite a few more things that the aging stock Tivo one didn't.
I was expecting to miss the Tivo, but I don't at all.
This is EXACTLY what the protocol allows and the reference implementation does. At some point about 2/3rds of the way through the video when they're talking about federating wave servers together they show a wave that they've sent between 3 different organizations. They specifically show that members from one organization (in the example, Milton and Peter from Innitech) can branch a portion of the wave and speak specifically to one another and the Innitech branch is never broadcast outside of Innitech's own server. If Milton had not been a member of the original wave he'd also only see the wave branch that Peter specifically added him to.
Check out QT Jambi. It's basically a port of QT4 to Java (done by Trolltech) using the QT libraries as the native backend to the Java classes. Combined with Java Web Start you've got pretty much what you're asking about. Licensing for QT 4 and Jambi is free for Open Source apps.
I had nearly an identical experience with a 3 yr. old Dell Dimension desktop over Christmas. My mother-in-law's hard drive crashed, which meant the recovery partition was inaccessible so the recovery disk they provided was worthless. Once I got through to support, the guy that answered sent me out a whole set of software and an XP install CD AND gave me his direct phone extension to call back should I not get the discs in a couple of days. I got the discs a day later. This was in stark contrast to several previous support calls I've made in the past. Either I got one great CSR or Dell has actually re-thought their support lines and improved them drastically.
Hi, this is Super Annoying Incorporated. We sell V14gr/\! Press 1 to buy (forwards to waiting agent), or visit our website at superannoying.com!
While your response is definitely funny, several co-workers and I just got a call a few days ago exactly like this from Comcast in Philadelphia. I consisted of a 2-3 minute recorded message letting us know how Comcastic they were and allowing us to press 1 to hear their new cable offers, or press 2 to hear about their new overpriced VoIP phone service...etc. Sad.
In law school a few students would use IM during class. Sure, sometimes they were gossiping, but often they were helping each other with the material that was being discussed. Another neat idea would be to have a chat room for the class, going on at the same time as the lecture.
That's actually a pretty good idea. What would probably also be pretty cool would be for the prof/teacher to have an IM client open and viewable only to her/him so students could feel more open to asking questions during the lecture without embarassing themselves. I never had an issue with this, but my wife always felt very nervous about raising her hand during class because she thought she was asking a dumb question. She found out that many times lots of other people in the class had the same dumb question. The prof could use the responses/questions they'd get IM'ed to them to gauge what they needed to delve deeper into in the lecture.
Our profs sold printouts of their powerpoint slides in the bookstore or would give the.ppt file to you for free. This way, if you wanted to use a laptop you could, or you could buy the slides from the bookstore (or just print the files out yourselves) and take notes on them, or just not use the slides at. Personally, I found computers in the classroom (laptop or not) to be much more of a hinderance than a help and I'm a CS grad.
What you're describing is not a fault of the Swing API or implementation, it's the fault of the programmer of your admin tool. Swing event threads are not supposed to run for extended periods of time. If your event handler kicks into a long running process you have to invoke another thread to handle this process because your current event thread is blocking the event pump from popping the next event from the queue (see utilities like Foxtrot or Sun's SwingWorker class). This is pretty widely documented across Sun's Swing tutorials, but it's something that is sadly almost never discussed in most other sources of Swing information (books/other tutorials).
Then, without a server fetch, I could change my displayed comment threshold just by changing my CSS. Think about how much savings the/. servers could see from that.
I certainly like your suggestions, but I'm not sure how this would cut down on bandwidth. I read at a comment threshold of 3, which seems to drop 4/5 of the comments/trolls. If slashdot implemented this moderation level css classes AND sent every single comment per article, letting the user's CSS sort out the viewing threshold, I think this would actually result in a much higher bandwidth usage.
I still think the class idea is great though. You could pretty easily construct visual cues about the funniness of a post or the moderation level by using your own stylesheet. I'd probably use something like a color shade that gets progressively more saturated as the moderation level got higher, or I'd set up a sheet that just showed me +5 funny posts.
Does the VoIP kill your latency? For me, anything that makes me have greater than (say 70ms) to my favorite Q3 servers is a no go.
I've had Vonage (w/ Comcast cable as ISP) for about 3 months now and you will usually notice pretty sharp ping dropoffs to game servers during phone calls but whilst the phone is on the hook I haven't noticed any delays whatsoever. Another must is to get some sort of traffic shaping going on at your gateway. The Linksys router that Vonage gives you prioritizes VoIP over everything else so this will work if you've got that router as your gateway, but if you've got a Linux box or another router/NAT box as your gateway you'll want to figure out some other way to prioritize your IP traffic to favor phone calls (unless you don't mind hearing the wife or parents complain that the phone is cutting out because you're in the middle of a large download).
Re:Don't think that's exactly correct
on
Defining Google
·
· Score: 1
A Vector can access elements in O(1) time - a list can not.
This is completely wrong. List accesses in both cases are constant time -- via an array index lookup. Check the get(int) methods for both..they're identical. I think you're refering to Collections, which are not guarenteed to be ordered.
However, inserting into a list is O(1) time, inserting into a vector is not.
Actually, you're still wrong. Because the backing stores in both cases (ArrayList and Vector) are arrays, any additions to the list cause a linear array copy (NOT O(1) time). If you don't believe me, open the add(int, Object) code. It's virtually identitcal in both cases, calling a System.arraycopy(). The only hard difference between the two classes (aside from Vector having more accessor type methods) is that, as your parent stated, Vector uses synchronized access while ArrayList does not. Further, Adding an element at the end of the list is a constant time operation in both cases as well.
These ideas are *fundamental* and are very important, regardless of the language being used.
Agreed. Maybe you should haved reviewed them before posting erroneous information. A List is simply a numerically ordered collection, and as such provides indexed access to its underlying collection -- it also does not guarantee run times. For instance, a LinkedList does provide constant time insertions while, as shown above, Vector and ArrayList do not.
Re:Cool! Just like form AutoComplete
on
Google Suggest
·
· Score: 1
I'd mod the parent insightful because, even if he/she doesn't know what Big-Oh notation is, the question is still relevant. With a dataset the size of google, even running a constant time, O(1), algorithm could possibly bring servers to their knees especially having to search per keystroke. Merely stating that Google's 'Did You Mean' search algorithm is linear, O(n), best case doesn't really mean much in terms of measured performance. Of course, if you're trying to decide between two search algorithms using the same dataset and one algorithm is O(n log n) and the other is O(n^2) then the Big-Oh comparison actually means something.
I get both phone and Internet over the cable TV
network, but no TV! (they look at me like I have
two heads or something)
It's cheaper this way.
This is modded funny (ironic would probably be a better mod if available), but I do the exact same thing. I have a DirectTV w/ Tivo setup and VOIP / internet w/ Comcast. To get the same TV coverage and service w/ Comcast for TV I'd be paying about $15 more per month AND would have to use one of Comcast's horrendous DVRs. I get better service (and picture) for about $180 less per year.
- TiVo owners are still happy because they are still getting through commercials at the same rate as they did before TiVo added this feature.
I'm guessing you don't own a Tivo because the 3x FastForward function moves at such a rate (60x ?) that I can skip through a commercial in about a second. Half the time I don't even know what commercials are even playing. My concern is that in order to have billboards display and be grokked by the veiwer during fast forwarding they're going to have to slow down the fast forward rate so that at the very fastest rate each commercial is going to take a few seconds to get through instead of it only taking a few seconds to get through the whole commercial break. If this happened I'd be extremely pissed.
I don't really know what you mean by "MAKE YOUR WEB SERVERS STATELESS". I mean, they have to know if a request just came in, where the data is, what time it is etc, and that stuff gives it state. I am assuming you mean something else by stateless but I cannot figure it out.
Basically, a stateful web application is able to store information about the user/application across multiple seperate page loads. Usually, this is refered to as a web session (at least in the java webapp world). The is generally done by using a uniquely identified cookie, by appending a session id parameter to the URL (a GET parameter -- you'll sometimes see something like SESSIONID=somerandomnumeric in the site URL after logging in or something), or embedding hidden fields into forms to identify the session. By tagging all requests that come from a browser with an id you can then on your server side semi-reliably build up and store information about the user's progress through your webapp.
Avoiding stateful web transactions benefits you in a distributed environment because the web sessions generally have to be stored in memory on the current server handling a request or persisted to a data store each time information is updated to the session. Option one isn't desired in a distributed environment because you generally can't guarantee that the next request returns to the same machine the session was initiated on if you have a load balanced architecture and option two can require a fair share of processing overhead if your app depends on having to read and write the user's session often.
Since installing PR1 I've used the updater to update all my extensions, themes and also to load some plugins. It's actually worked quite well and is a nice time saver. The only problem I had with it wasn't actually a problem with the updater but a problem with update.mozilla.org not having the newest version of an extension available even though the newest version was listed on the site.
BTW, Hey Jeff.
RCN tried to start offering cable TV, internet and phone service in Philadelphia a few years ago, and Comcast used their influence to throw up so many roadblocks, that RCN gave up and went away.
That's entirely not true. Both my mother-in-law and my wife and I have RCN cable, internet, and phone in Philly. Granted, their service is not available anywhere more than a few miles outside of the city, but to say that RCN "gave up and went away" is a complete fallacy. This is a shame because RCN's internet service is 100x better than Comcast's and the speeds I've been getting just with their base plan are absolutely phenomenal. If you live near the city (I'm near 69th Street station) check them a out...they were cheaper than Comcast last I looked too.
But the reason it is uncool is because, outside of stuff written just for Java monkeys, there is no Free software to speak of written in it. Free software is written in C (65%), C++ (25%), and Python and Perl (all but the last 1%). Free Software coders have avoided Java for lots of reasons, including its not-really-portability, its bad performance, its hasty and stupid language and library design, its corporate 0wnedness, and their own resistance to hype and idiotic jargon.
Are you flipping crazy (or trolling)?! Go to freshmeat.net, browse to the projects by programming language, and look at the number of projects writting in java (currently 3257, about what C++ is at). Are you telling me and everyone else that every one of those projects are both non-free and solely written for "Java monkeys"? What a total load (as are your "statisics").
If I do X with Java and I similarly do X with Perl/CGI or Python/Zope - and the result is faster using the 4GLs - then it seems clear to me that the best approach is to not use Java.
A process is a process - regardless of whether it runs on the server or the client. What differentiates them, then, must be performance.
Actually, your parent poster was precisely correct. You're trying to compare completely seperate entities. Applets were meant to be a way to deploy thick client applications to end-users as opposed to your perl scripts which are completely server/thin client based deployments.
If you truly want a closer apples to apples comparison you really should check into using jsps. On any decent application server a jsp deployment will outperform cgi based perl script (I can't speak for a mod_perl based deployment). I'm not trying to bash perl here, I love it. I'm just pointing out your error in comparison of applets (which are all but dead -- replaced with java webstart [.jnlp files]) to server side perl scripting.
10000 Patents in 43 years, That is a lot lower than the amount of patents issued nowadays. Perhaps the patent officers should take a cue from the old (dead) guys and be waaaaaaaay more stingy with patents that are granted.
Or perhaps there were a whole lot less patents applied for and granted because society was largely agrian (farmers). Also, considering the total population of the states in 1830 was figured at around 13 million (including slaves) there were a whole lot less people available to file patents. Compare that to the current estimated US population of 293,957,807.
Why is it that the ongoing systemic outages on GMail are not reported here?
I'm not sure exactly what you're talking about. I have my gmail account open all day at work (M-F 9-5) and nearly every second my home machine is on as well and I have yet to not be able to access my gmail account or send/receive mail. I've had significant slowdowns occur, but that's to be expected from a beta app. Overall, I'd rate gmail's availability as the best of any webmail account I've had so far (I've had fastmail, hotmail, yahoo, and a few school accounts).
It doesn't have all of the bells and whistles of the likes of KDE or GNOME, so it probably isn't a good default for the mainstream, but my point is that the option is there. The same can't be said about the MS Windows environment!
Actually, it can be said about Windows. There are options available to you other than running the default windows shell. I know BlackBox (which I run) is available in win32 and there's another nice shell called LiteStep. I'm pretty sure there are a few other ones floating around out there as well. You can also theme Windows much like KDE or Gnome. Sure, most of the software for it isn't FOSS, but that doesn't mean you can't do it.
I recall reading that gmail doesnt give you 1Gb or 1Tb of disk space, but compresses your data so it feels like you have that much disk space, and because text compresses rather well, you can stick 1Gb of text into a relitively tiny space.
I'm not sure where you read this, but I just mailed my gmail account a ~10 Mb zip file. I had under 1 Mb of mail currently up there and after receiving the zipped file the amount of used disk space reported to me was 11 Mb (or 1% of the 1000 Mb). Now, if you theory was correct my usage should have been reported as much higher (probably something on the order of %15-%25 percent). It wasn't.
I am a Christian and my hackles get raised evertime I hear someone substantiate their beliefs based on the Old Testament.
The orthodoxy of the Holy Catholic (meaning universal...not Roman Catholic) has and always will uphold that the Jewish Scriptures (aka Old Testament) are authoritative AND inspired. You are wading into the waters of early church heretic, Marcion (~AD 138), who argued the same beliefs you do. He insisted that the OT is inferior to the NT canon he had assembled (this in addition to his polytheistic beliefs). His heretical teachings were actually a strong force in the early church's assembly of their own canon (read: the New Testament). For a rebuttal of all things Marcion read Tertullian's Against Marcion.
I thought that myself too and that was one of the reasons I held out to SD over HD content w/ DirecTV for so long. I bit the bullet in October and got the DirecTV HD DVR. There's only 2 things I've found that it can't do that the DirecTivo could do. Suggestions (which is something I think is patented by Tivo - and I didn't actually use) and undeleting shows from your recorded list you've deleted. There might be more, but they'd be things which I don't miss and the DirectTV DVR does quite a few more things that the aging stock Tivo one didn't.
I was expecting to miss the Tivo, but I don't at all.
This is EXACTLY what the protocol allows and the reference implementation does. At some point about 2/3rds of the way through the video when they're talking about federating wave servers together they show a wave that they've sent between 3 different organizations. They specifically show that members from one organization (in the example, Milton and Peter from Innitech) can branch a portion of the wave and speak specifically to one another and the Innitech branch is never broadcast outside of Innitech's own server. If Milton had not been a member of the original wave he'd also only see the wave branch that Peter specifically added him to.
Check out QT Jambi. It's basically a port of QT4 to Java (done by Trolltech) using the QT libraries as the native backend to the Java classes. Combined with Java Web Start you've got pretty much what you're asking about. Licensing for QT 4 and Jambi is free for Open Source apps.
I had nearly an identical experience with a 3 yr. old Dell Dimension desktop over Christmas. My mother-in-law's hard drive crashed, which meant the recovery partition was inaccessible so the recovery disk they provided was worthless. Once I got through to support, the guy that answered sent me out a whole set of software and an XP install CD AND gave me his direct phone extension to call back should I not get the discs in a couple of days. I got the discs a day later. This was in stark contrast to several previous support calls I've made in the past. Either I got one great CSR or Dell has actually re-thought their support lines and improved them drastically.
While your response is definitely funny, several co-workers and I just got a call a few days ago exactly like this from Comcast in Philadelphia. I consisted of a 2-3 minute recorded message letting us know how Comcastic they were and allowing us to press 1 to hear their new cable offers, or press 2 to hear about their new overpriced VoIP phone service...etc. Sad.
That's actually a pretty good idea. What would probably also be pretty cool would be for the prof/teacher to have an IM client open and viewable only to her/him so students could feel more open to asking questions during the lecture without embarassing themselves. I never had an issue with this, but my wife always felt very nervous about raising her hand during class because she thought she was asking a dumb question. She found out that many times lots of other people in the class had the same dumb question. The prof could use the responses/questions they'd get IM'ed to them to gauge what they needed to delve deeper into in the lecture.
Our profs sold printouts of their powerpoint slides in the bookstore or would give the .ppt file to you for free. This way, if you wanted to use a laptop you could, or you could buy the slides from the bookstore (or just print the files out yourselves) and take notes on them, or just not use the slides at. Personally, I found computers in the classroom (laptop or not) to be much more of a hinderance than a help and I'm a CS grad.
What you're describing is not a fault of the Swing API or implementation, it's the fault of the programmer of your admin tool. Swing event threads are not supposed to run for extended periods of time. If your event handler kicks into a long running process you have to invoke another thread to handle this process because your current event thread is blocking the event pump from popping the next event from the queue (see utilities like Foxtrot or Sun's SwingWorker class). This is pretty widely documented across Sun's Swing tutorials, but it's something that is sadly almost never discussed in most other sources of Swing information (books/other tutorials).
I certainly like your suggestions, but I'm not sure how this would cut down on bandwidth. I read at a comment threshold of 3, which seems to drop 4/5 of the comments/trolls. If slashdot implemented this moderation level css classes AND sent every single comment per article, letting the user's CSS sort out the viewing threshold, I think this would actually result in a much higher bandwidth usage.
I still think the class idea is great though. You could pretty easily construct visual cues about the funniness of a post or the moderation level by using your own stylesheet. I'd probably use something like a color shade that gets progressively more saturated as the moderation level got higher, or I'd set up a sheet that just showed me +5 funny posts.
I've had Vonage (w/ Comcast cable as ISP) for about 3 months now and you will usually notice pretty sharp ping dropoffs to game servers during phone calls but whilst the phone is on the hook I haven't noticed any delays whatsoever. Another must is to get some sort of traffic shaping going on at your gateway. The Linksys router that Vonage gives you prioritizes VoIP over everything else so this will work if you've got that router as your gateway, but if you've got a Linux box or another router/NAT box as your gateway you'll want to figure out some other way to prioritize your IP traffic to favor phone calls (unless you don't mind hearing the wife or parents complain that the phone is cutting out because you're in the middle of a large download).
This is completely wrong. List accesses in both cases are constant time -- via an array index lookup. Check the get(int) methods for both..they're identical. I think you're refering to Collections, which are not guarenteed to be ordered.
Actually, you're still wrong. Because the backing stores in both cases (ArrayList and Vector) are arrays, any additions to the list cause a linear array copy (NOT O(1) time). If you don't believe me, open the add(int, Object) code. It's virtually identitcal in both cases, calling a System.arraycopy(). The only hard difference between the two classes (aside from Vector having more accessor type methods) is that, as your parent stated, Vector uses synchronized access while ArrayList does not. Further, Adding an element at the end of the list is a constant time operation in both cases as well.
Agreed. Maybe you should haved reviewed them before posting erroneous information. A List is simply a numerically ordered collection, and as such provides indexed access to its underlying collection -- it also does not guarantee run times. For instance, a LinkedList does provide constant time insertions while, as shown above, Vector and ArrayList do not.
I'd mod the parent insightful because, even if he/she doesn't know what Big-Oh notation is, the question is still relevant. With a dataset the size of google, even running a constant time, O(1), algorithm could possibly bring servers to their knees especially having to search per keystroke. Merely stating that Google's 'Did You Mean' search algorithm is linear, O(n), best case doesn't really mean much in terms of measured performance. Of course, if you're trying to decide between two search algorithms using the same dataset and one algorithm is O(n log n) and the other is O(n^2) then the Big-Oh comparison actually means something.
This is modded funny (ironic would probably be a better mod if available), but I do the exact same thing. I have a DirectTV w/ Tivo setup and VOIP / internet w/ Comcast. To get the same TV coverage and service w/ Comcast for TV I'd be paying about $15 more per month AND would have to use one of Comcast's horrendous DVRs. I get better service (and picture) for about $180 less per year.
I'm guessing you don't own a Tivo because the 3x FastForward function moves at such a rate (60x ?) that I can skip through a commercial in about a second. Half the time I don't even know what commercials are even playing. My concern is that in order to have billboards display and be grokked by the veiwer during fast forwarding they're going to have to slow down the fast forward rate so that at the very fastest rate each commercial is going to take a few seconds to get through instead of it only taking a few seconds to get through the whole commercial break. If this happened I'd be extremely pissed.
Basically, a stateful web application is able to store information about the user/application across multiple seperate page loads. Usually, this is refered to as a web session (at least in the java webapp world). The is generally done by using a uniquely identified cookie, by appending a session id parameter to the URL (a GET parameter -- you'll sometimes see something like SESSIONID=somerandomnumeric in the site URL after logging in or something), or embedding hidden fields into forms to identify the session. By tagging all requests that come from a browser with an id you can then on your server side semi-reliably build up and store information about the user's progress through your webapp.
Avoiding stateful web transactions benefits you in a distributed environment because the web sessions generally have to be stored in memory on the current server handling a request or persisted to a data store each time information is updated to the session. Option one isn't desired in a distributed environment because you generally can't guarantee that the next request returns to the same machine the session was initiated on if you have a load balanced architecture and option two can require a fair share of processing overhead if your app depends on having to read and write the user's session often.
Since installing PR1 I've used the updater to update all my extensions, themes and also to load some plugins. It's actually worked quite well and is a nice time saver. The only problem I had with it wasn't actually a problem with the updater but a problem with update.mozilla.org not having the newest version of an extension available even though the newest version was listed on the site. BTW, Hey Jeff.
That's entirely not true. Both my mother-in-law and my wife and I have RCN cable, internet, and phone in Philly. Granted, their service is not available anywhere more than a few miles outside of the city, but to say that RCN "gave up and went away" is a complete fallacy. This is a shame because RCN's internet service is 100x better than Comcast's and the speeds I've been getting just with their base plan are absolutely phenomenal. If you live near the city (I'm near 69th Street station) check them a out...they were cheaper than Comcast last I looked too.
Are you flipping crazy (or trolling)?! Go to freshmeat.net, browse to the projects by programming language, and look at the number of projects writting in java (currently 3257, about what C++ is at). Are you telling me and everyone else that every one of those projects are both non-free and solely written for "Java monkeys"? What a total load (as are your "statisics").
Actually, your parent poster was precisely correct. You're trying to compare completely seperate entities. Applets were meant to be a way to deploy thick client applications to end-users as opposed to your perl scripts which are completely server/thin client based deployments.
If you truly want a closer apples to apples comparison you really should check into using jsps. On any decent application server a jsp deployment will outperform cgi based perl script (I can't speak for a mod_perl based deployment). I'm not trying to bash perl here, I love it. I'm just pointing out your error in comparison of applets (which are all but dead -- replaced with java webstart [.jnlp files]) to server side perl scripting.
Or perhaps there were a whole lot less patents applied for and granted because society was largely agrian (farmers). Also, considering the total population of the states in 1830 was figured at around 13 million (including slaves) there were a whole lot less people available to file patents. Compare that to the current estimated US population of 293,957,807.
Actually, it can be said about Windows. There are options available to you other than running the default windows shell. I know BlackBox (which I run) is available in win32 and there's another nice shell called LiteStep. I'm pretty sure there are a few other ones floating around out there as well. You can also theme Windows much like KDE or Gnome. Sure, most of the software for it isn't FOSS, but that doesn't mean you can't do it.
I recall reading that gmail doesnt give you 1Gb or 1Tb of disk space, but compresses your data so it feels like you have that much disk space, and because text compresses rather well, you can stick 1Gb of text into a relitively tiny space.
I'm not sure where you read this, but I just mailed my gmail account a ~10 Mb zip file. I had under 1 Mb of mail currently up there and after receiving the zipped file the amount of used disk space reported to me was 11 Mb (or 1% of the 1000 Mb). Now, if you theory was correct my usage should have been reported as much higher (probably something on the order of %15-%25 percent). It wasn't.
The orthodoxy of the Holy Catholic (meaning universal...not Roman Catholic) has and always will uphold that the Jewish Scriptures (aka Old Testament) are authoritative AND inspired. You are wading into the waters of early church heretic, Marcion (~AD 138), who argued the same beliefs you do. He insisted that the OT is inferior to the NT canon he had assembled (this in addition to his polytheistic beliefs). His heretical teachings were actually a strong force in the early church's assembly of their own canon (read: the New Testament). For a rebuttal of all things Marcion read Tertullian's Against Marcion.