Slashdot Mirror


User: hunteke

hunteke's activity in the archive.

Stories
0
Comments
21
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 21

  1. Go slow, let them own it. on Advice On Teaching Linux To CS Freshmen? · · Score: 1

    We *nix nuts often think that *nix is the best, but we also often forget that we didn't come to this conclusion of someone else's volition. We came to it because we learned it for ourselves. In general, the first psychological reaction of "do this because I said so" is "screw you." You won't "get them to connect the dots" if that's what you're blatantly trying to do. They will do it of their own volition, however, if you just be your enthusiastic self, and talk about why you like this feature or that. When they can apply the skills you teach them to their own projects, they will be hooked, but the key is that they have to do it.

    If they're fresh to the *nix terminal, or *nix in general, start slow, and, for the students' sake, consider doing just rote labs at first. The major ins and outs of the terminal are many and varied, so covering them all will be difficult and overwhelming. Instead you might introduce them to the shell by way of a simple set of exercises (programming or otherwise) that build on each other week-by-week. As commands are needed, introduce them, but no sooner; any sooner and you risk overwhelming them. The first CS course has historically provided an incredible learning curve, not due to the conceptual bits you want students to learn, but to the outside learning that we take for granted once we know it. Small things, like the directory structure (i.e. strange/new/arcane compared to Windows), all the command line flags, and the excess of information that comes way too fast.

    Skilled teachers introduce their subjects like a conversation: they don't blow their wad in the first 2 sentences. They start slow, introduce a concept, munge it, then build from there. Introducing the maze of power and concepts that is the shell really can't be done in one single class. Getting "them to connect the dots" is not within your control. Just as you can lead a horse to water, but you can't make him drink, so too is it with your students. Have a project into which they can sink their teeth, like building C/C++ program with a few different files, or writing a shell script to collect data from 5 of their classmates computers via ssh. When they can take ownership, they'll connect the dots on their own.

    Finally, remember that this is an introductory course, so they likely will not know what you may think they should. They are not stupid, just uneducated on this subject; remember that they're there to change that.

  2. Re:Wat on Keep SSH Sessions Active, Or Reconnect? · · Score: 5, Informative

    What gives you the impression that the key-exchange in SSH is vulnerable?

    Answer: The key-exchange is not vulnerable. However, there is an issue the first time you connect to one host from the other. That initial message that most people ignore is a possible MITM (Man in the Middle) avenue a cracker could harness.

    Example message:

    The authenticity of host 'ssh.example.com (123.234.123.234)' can't be established.
    RSA key fingerprint is 96:21:c3:32:3d:cc:18:d5:53:6a:d4:0d:0d:73:c6:1a.
    Are you sure you want to continue connecting (yes/no)?

    While giving the password to the remote server for authentication may be secure, unless you've verified that fingerprint, you don't know to whom you're talking. That is, when you connect the first time, and you blindly accept that fingerprint, if it's a cracker, you are literally typing your password to the rogue machine (that would then turn around and log in "as you" to the real machine).

    Ideally, you would to verify that fingerprint with a version you get through alternate, presumably secure, means. E.g. an over-the-phone conversation with an administrator, or physically accessing the work system and writing it down, or (temporarily) connecting directly to the server with a cross-over cable.

  3. Haduh! on SFLC Finds One New GPL Violation Per Day · · Score: 2, Interesting

    In U.S. culture at least, we have little notion of how to let the "other side" save face. Saving face, or not 100% embarrassing folks when they've obviously messed up, is critically important in many negotiations, both exactly political, and locally among friends. The old adage "it's not what you say, it's how you say it," still rings true. People aren't stupid, and most would rather not be insinuated as such. People do, however, make mistakes, either semi-intentionally, unknowingly. (Analogous to driving, right? That's why they call crashes "accidents".)

    Ridiculing folks gets folks nowhere. In the long run, most would agree that having businesses around and prospering is a good thing. (Let's not get into a debate about size of businesses for now.) A healthy business affords jobs to the local community, a service to those who need it, and acts as a community partner. A dead business does no such thing. A friendly reminder is often more than enough to get someone to clean up there act. I know it sure is for me.

  4. Re:HTML is dead... Didn't you notice? on Questioning Mozilla's Plans For HTML5 Video · · Score: 1

    Uhm, no. Javascript makes HTML more alive, but without HTML, Javascript couldn't communicate with the user. It is through HTML that Javascript lives. Put differently, a web page can exist without Javascript. It can't without HTML.

  5. Re:I Call Shenanigans on Opera Unite Web Server Benchmarked · · Score: 1

    That's disappointing because it's a good idea whose time has been very long in coming.

    Erm ... hasn't Firefox had a browser-based webserver for at least a couple of years?

    Perhaps the difference is the already-built-in-nature as compared to the-user-must-install-it? There is definitely something to be said for teaching the general public and making standard useful tools.

  6. Re:In Soviet Russia, web sites visit you on Sniffing Browser History Without Javascript · · Score: 1

    Umm, I run separate browser instances all the time. I do it mainly to keep different projects separated, but there's no special script necessary. It's a commandline option to Firefox, which I've updated in my launch icon:

    $ firefox -ProfileManager -no-remote

    This tells the new instance of firefox to not use an already existing firefox instance (-no-remote), and allows you to select or create a different profile. The histories are completely separate.

  7. Re:um, does this make sense? on Military Enlists Open Source Community · · Score: 1

    As with most things open source, it's not what the program is per se, but rather what one does with it that's important. Think data. The programs themselves can be Free; what they produce does not have to be and likely isn't.

    For example, the ability to

    • run your hardware can be done as effectively with Linux as it can with Windows. What one does with each usually independent of OS one runs.
    • create basic documents can be done as effectively with OpenOffice as with MS Word. The content created is independent of which office suite running.
    • surf the web can done as effectively with FireFox as with Internet Explorer. The content viewed is independent of the browser in question.
    • read PDFs can be done as effectively with Evince or Okular as it can with Adobe Reader. What a human interprets is independent of the program used to display the file content.

    But, to allay your fears, I doubt the military is going entirely open source

  8. The military has been slashdotted! on Military Enlists Open Source Community · · Score: 1

    Seriously?! It's been slashdotted?! The military?

  9. About time. on Obama Proposes High-Speed Rail System For the US · · Score: 2, Insightful

    Would you travel on the new high speed lines?"

    Absolutely, yes.

    If I had to travel to anywhere it serviced, or had friends nearby the service areas, totally. It is so much more efficient for my time to sit on a train and read a book, type on my computer, or sleep than it is to be forced to pay attention to the road. Or, for air travel, I have a lot of stop and go action, driving to the airport, waiting in the security line, getting on and off the plane, inability to use electronic devices for large swaths of travel, etc. (Plus, no power.)

    To make it analogous to computers, think of the brain as a processor. It's hella wasteful for it to be sitting idle. Public transportation lets it be more productively active. Parallel work flows.

    Can rail work in the land where the car is king?

    Yes, but it's much harder for the "older generation" to see it. (You can define older generation for yourself.) As a 25 year-old, I grew up with congested roads, idiot drivers (you don't even know who you are!), and 30-minutes or more as a standard driving time. Hello suburbia and rural areas. Conversely, my father grew up when gas was 23 cents a gallon, and folks bought cars every other year because they were so cheap. Sunday drives "just because" were common, and, at the risk of getting flamed, with a slightly richer average socio-economic status associated with cars then, also came a slightly more educated and conscientious crowd -- i.e. less idiots on road in general.

    I won't claim that I'm the norm, but I do claim that I'm on some part of a trend that will eventually be the norm.

    Public transportation will happen, whether it's the rails this year, maglev in 20 years, or something else. Like a lot of other socially stagnant issues, the timeline is associated with the old ones digging their heels in. Change is hard, but when they die, it gets easier. Kind of like racist attitudes. (With exceptions, racist people generally don't change their minds. They die.)

  10. Re:Backwards Compatible? on Ubuntu 9.04 Daily Build Boots In 21.4 Seconds · · Score: 1

    Is EXT4 backwards compatible with EXT2 and EXT3?

    It's partially backwards compatible. You can mount it as an ext3 filesystem up to the point you use extents.

    Ext4 Features: Compatibility

  11. Re:Great news on Qt Becomes LGPL · · Score: 1

    What graphic card and driver are you using? I've read that KDE4 has issues with nvidia binary driver versions earlier than 177.80 due to bugs in the driver.

    That's exactly the point. KDE4 "has problems" that Gnome doesn't. Thus, for what I (and I'd guess many others as well) do, KDE4 is almost unusable. Or put simply, Gnome works, KDE4 doesn't.

    I'll give you that sometimes you have to fix hardware issues. (At least one does in the Windows world.) On the other hand, I've experienced similar slow differentials on similar hardware with and without binary drivers from nVidia, with integrated graphics systems, and with ATI cards.

    The slow issue is one of a few problems, that for me, are show-stoppers.

  12. Re:Great news on Qt Becomes LGPL · · Score: 1

    [KDE and Gnome both good for different reasons]

    While I would hate to see Gnome consigned to the dustbin I think it's about time they gave up and admitted that KDE has won (flame away). I admit that KDE isn't perfect, far from it, but KDE4+ is streets ahead of Gnome now and the big hurdle to widespread use by companies has now vanished.

    I will give you that KDE4 has a ton more features than Gnome, as well as a couple of programs that are better. However, as an outside observer (read: end-user), Gnome and affiliated programs fit my bill because they are generally more stable, and have smaller memory-footprints to boot.

    Anecdotally, let me give some examples:

    • At work, I have two identical machines, circa 1 year ago hardware-wise. I'm running Kubuntu 8.10 and Ubuntu 8.10 on them. The KDE one regularly "loses" the mouse or keyboard. They just plain stop responding. I used to have to CTRL-ALT-F1, and restart kdm to get back responsiveness. The Gnome version has yet to show me this behavior.
    • The KDE desktop will entirely freeze from time to time. I'm not running much, just doing something simple, like switching between desktops, or alt-tabbing through windows. And bam. I have to resort to CTRL-ALT-F1. Sometimes that won't even work, and I have to hard-reboot. Doing similar in Gnome has yet to show me similar behavior. (I use them both in similar ways, for the same things - it's a test environment.)
    • Programs will randomly quit. An example is KMail. If I get a new IMAP mail, it sometimes decides to quit. Evolution does this too, but much less frequently.
    • Off the top of my head, some KDE programs with different, but annoying problems: Kate, KOffice, Konqueror, Kopete, Konversation, Kirc. In contrast, I find that their GTK counterparts "just work," are faster, and use less memory to boot. Gedit/jEdit? OpenOffice? Firefox? Pidgin? Yeah, very successful on the Gnome desktop.

    On that note, I find that KDE and QT apps are just ... slower than Gnome and GTK apps. Clicking on a menu shouldn't take 4 or 5 seconds to pop up. It should be pert-near instantaneous. Switching desktops should take milliseconds, not seconds, nor should it matter to which virtual desktop I'm switching.

    I'm not dissing KDE, but rather pointing out that it's not as complete as folks say it is. I'll concede KDE's successes. I have only small gripes against Amarok, and indeed use it as my default music client. I believe Konsole to be superior to Gnome's terminal in terms of usability. Okular is a decent program although I prefer Evince for it's simplicity.

    But for the majority of my KDE4 experience ... Crashing randomly, even if it's only in my particular use case, is hardly successful, especially when the counterpart doesn't crash for my use case. Using excess memory is another no-no. I have 4 Gigs on both of these machines, and the KDE one consistently has problems, starting to swap, etc. Unacceptable.

    I believe that Gnome is far from dead, and as long as KDE has these problems, it is not nearly as far ahead of Gnome as one might think. In fact, in my mind, stability and resource usage are far more important.

    But what do I know? I'm just an end-user.

  13. Re:Well, for one thing.. on Why Buy a PC Preloaded With Linux? · · Score: 1

    Yes there was a Linux version as well. I just opted for the almost-same hardware but with Windows for the $300 difference. All of my hardware (64-bitness, webcam, wireless, bluetooth, media buttons, all of it) has worked flawlessly from the get-go. Just struggled with Flash, but that's not for this discussion.

  14. Re:Well, for one thing.. on Why Buy a PC Preloaded With Linux? · · Score: 1

    So far so good, you were up $350 for your choice, which is a nice sum of money. Now, we need to look at the cost side of the choice. Let's value your time at $50 per hour and any distro would require a minimum of one hour's worth of time for the reformat, install and setup. So, up $300, which supports your point. As long as any problems took less that 6 hours, it was a net plus.

    Money isn't the metric I care about. The $50 refund is absolutely token. The metric I care about is the Open Source community at large. It's not a question of money, but of choice. The route I took was a win-win for me and the OS community:

    • I got the hardware I wanted.
    • I got the price I wanted.
    • I further informed Dell that I wasn't paying for a product I would not use, and I did it via the channel that business understands: profit.

    The last win is the one I really cared about. The second win is just a fortunate circumstance.

    But, you'd probably still like a monetary metric: My time is worth exactly $50/hour. I spent two hours on the phone, about an hour preparing for the phone call, another 30 minutes of emailing, and about 30 minutes to install Ubuntu on my own. That's roughly 4 hours in total. Still a win.

    Did the installation and setup go flawlessly?

    Yes.

    But to be fair, I did the research before hand. The hardware I got was almost the same as what I would have got had I bought the pre-installed Ubuntu.

  15. Re:Well, for one thing.. on Why Buy a PC Preloaded With Linux? · · Score: 5, Interesting

    So what you propose definitely does not send the most specific message.

    Eh? And what message am I trying to send? To be clear, I'm not trying to say "I want Linux." I want choice. The message I want to send is "I want the hardware for the standard price, and I don't want other gobblety-gook rammed down my throat for it."

    I am honest: I do not want to pay for something I will not use. I will use the hardware. I will not use the forced-to-buy software. Getting a refund for what I'm not using seems to send exactly the message I want to send. And, it helps the wallet.

  16. Re:Well, for one thing.. on Why Buy a PC Preloaded With Linux? · · Score: 1

    I can see your point but for the average person to use Linux they are going to want it pre-installed.

    No argument here; I agree that the average person needs/wants a pre-install. On the other hand, I'm not average. What really stuck in my craw, however, was the $300 difference, with the cheaper version (i.e. Windows) having better hardware.

    Windows costs money. There isn't any getting around that fact. But honestly, I don't want to pay for a piece of software that I will not use. But, I do want the better hardware for cheaper price.

    Your tactic looks like Anti-Microsoft tactic.

    No, it's not at all anti-Microsoft. It is anti-force-it-down-my-throat. I respect Microsoft, both as a company, and, with competition, an innovator. But for my needs, the MS paradigm just doesn't cut it. With that in mind, my tactic is merely good business/free market sense: get better hardware for less money. The additional refund is token, but sends a message that I don't want the software, just the hardware.

    But it really isn't since so few people will ever do it to make any difference.

    Perhaps, but I prefer to remain hopeful, and generally think of this style of thought process as short-sighted. People often think "Oh, just me won't matter", or "One isolated event doesn't influence the grand scheme of things." I tend to disagree, and long-term is what I'm thinking.

    Buying a Dell with Linux is a much better Pro-Linux move.

    To be clear, I'm not "pro-Linux". I am pro-choice. Big difference.

  17. Re:Well, for one thing.. on Why Buy a PC Preloaded With Linux? · · Score: 5, Interesting

    I tried to get the "Windows Tax Refund" from HP after buying a machine pre-installed with Windows from them, and they were very rude and in the end would not refund my money.

    I don't think it really matters that you were with HP. I think a couple of things were in my favor when I got my refund from Dell:

    • I got lucky - I got a nice representative
    • I realized that I had to get him on my side: I called late in the day, and finally got through after "closing time." When he finally understood that I wanted a refund, and said "No, I can't do that" I responded "Hmm. Well, this problem isn't going to go away, why don't we tackle this in the morning, let you get off work at a reasonable time, etc." Honey 'n vinegar, and all that.

    Be persistent, be firm, and be nice -- realize that the customer representative is just a regular Joe/Jane, like you.

    Also, for those who don't read the previously posted article, remember that the point is not to get your money back; the point is to respectfully decline the MS Tax, and let them know your doing it.

    N.B. It took me about a total of two hours on the phone.

  18. Re:Well, for one thing.. on Why Buy a PC Preloaded With Linux? · · Score: 5, Insightful

    In capitalism, buying decisions are the primary means of sending messages to the producers. Agreed, but I'd think being specific as a consumer where possible would be good. That's why when I recently bought my Dell, I bought it with Windows instead of Linux. (It was a good $300 cheaper for better hardware!) Then, when the computer arrived, I rejected the on-first-boot MS Eula and got a refund for a little over $50 dollars. This way, I still got what I wanted, and I was able to send the most accurate message as well. The article that gave me the idea: How to Get a Windows Tax Refund
  19. Re:Downside of OSS on Firefox Vietnamese Language Pack Infected With Trojan · · Score: 1

    two of the big downsides of open source software to me are the lack of documentation

    Proof, please. Documentation is highly dependent on a number of things, not the least of which is the projects you use. This is true in any paradigm, OpenSource, proprietary, something-you-bought-at-Walmart, or any other project. For instance, from my point of view (as all things are, eh?) the Postgres has absolutely excellent documentation. Not only does it describe options, tools, and how to setup and use Postgres, but it gives you context, like when one should consider a certain setup or action, what the known bugs/caveats exist, and even the core concepts of lots of problems. It is so good, in fact, that even when I use other database products, I quite often will find myself using the Postgres documentation to help me understand how to better to solve my problem with the other database.

    Now juxtapose Postgres' documentation with, say, that of OpenOffice. The OpenOffice documentation has the advantage of context sensitive help. Whenever I click a help button, it doesn't just point me to "the docs", but it opens up the exact page and scroll position of where I should start reading. However, it's documentation is not quite as thorough as Postgres. I will often have to do some experimentation before I understand exactly what I've messed up or need to do.

    And finally, for a third example, take a look at Mozilla Thunderbird. It doesn't even include help (at least my copy of it through Gutsy), but points me back to the website (via the Help menu). Perusing the website, the best documentation I see is a series of Howto's for different specific tasks. Not very thorough.

    Saying that OpenSource documention "sucks" [paraphrased] is inaccurate and way too general. It also attempts an untrue quality distinction from proprietary software. Have you ever had to deal with Microsoft errors? For example, the Windows Update Tool (via Internet Explorer) will sometimes fail, and yields merely a diagnostic code. So, you put the code in the search, and the documentation is a sparse help page saying that the update may have failed for one of a few reasons. The usual suggestion is to reboot and try again. You do so, and get the same error message. I'm not saying anything about the quality of the product, but of the unhelpful documentation from a proprietary company. (I have plenty of other proprietary-documentation-sucks examples if you'd really like.)

    And, just like with OpenSource, there is good documentation with different proprietary products as well: Oracle provides some good documentation with their database. The best documentation from them is not free, but the Oracle administration handbook (read: frickin' monstrous club) is very helpful and well-written.

    and the lack of quality control.

    This is the real issue this time around, and also is hard to nail down exactly what it means. What is quality? Security? Lack of crashes? Useful-to-users? Once again, this is also highly project and problem dependent. Since I've already fanboied the Postgres project, I'll use it again: extremely high quality product for the problem the project attempts to address. You want an ACID database? Look no further. Postgres makes you work really hard if you want to corrupt your data. It even has transactional DDL statements. (Oracle doesn't even have that.) You want security? The entire Postgres project, from the product, to the documentation, and even to the community, practice and preach doing things "the right way."

    On the other hand, then there are examples like the OP, that let this trojan creep in. Where's the quality control, you ask? Well, for my purposes, Firefox is still an incredibly high-quality product. From a historical perspective, the community is obviously creative as Firefox had tabbed browsing way before, at least IE. From an Engl

  20. Re:geeks want to do it right on IBM Invests In MySQL/Oracle Competitor · · Score: 1

    Or, the rest of us lazy folks just say Postgres (POST-grez)

  21. Re:More than a trend, it's a necessity on More Interest In Parallel Programming Outside the US? · · Score: 1

    Right now, parallel development techniques, education, and tools are all lagging behind the hardware reality. Relatively few applications currently make even remotely efficient use of multiple cores, and that includes embarrassingly parallel code that would require only minor code changes to run in parallel and no changes to the base algorithm at all.

    Sort of off-topic, but I'll point out the fact that education is a HARD thing for which to get funding. Research is easy, education is hard. We've had numerous NSF grants get turned down because we included wording of education, not research. And historically, our group is surprisingly good at getting NSF grants.

    That said, if anyone on this thread is an educator or student interested in learning and/or teaching High Performance Computing (and hence concepts of parallelism and all their associated headaches), registration is now open for SC Education workshops.