Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Software

How Can I Make Testing Software More Stimulating? 396

An anonymous reader writes "I like writing software. In fact, I revel in it. However, one thing has always kept me back from being able to write the best software I possibly can: testing. I consider testing to be the absolute bane of my existence. It is so boring and un-stimulating that I usually skip it entirely, pass the testing off to someone else, or even worse, if I absolutely have to test, I do a very poor job at it. I know I'm not that lazy, as I can spend hours on end writing software, but there's something about testing that makes my mind constantly want to wander off and think about something else. Does anyone have any tips on how I can make non-automated testing a little bit more stimulating so I can at least begin to form a habit of doing so?"
Data Storage

Preserving Memories of a Loved One? 527

An anonymous reader writes "My wife is dying of metastatic (stage 4) cancer. Statistically she has between one and two years left. I have pre-teen daughters. I'm looking for innovative ideas on how to preserve memories of their mother and my wife so that years down the road we don't forget the things we all tend to forget about a person as time passes. I have copious photos and am taking as much HD video as I can without being a jerk, so images and sounds are taken care of (and backed up securely). I'm keeping a private blog of simple daily events that help me remember the things in between the hospitalizations and treatments. In this digital age what other avenues are there for preserving memories? Non-digital suggestions would be welcome, too."
Classic Games (Games)

How Death Rally Got Ported 89

An anonymous reader writes "Last year, I got the opportunity to port Remedy Entertainment's Death Rally to modern platforms off its original MS-DOS sources. I wrote an article about the porting process for Game Developer magazine, and now I've posted the text of the article for general consumption. 'The source software platform was DOS, Watcom C, and some Dos4GW-style DOS extender. The extender basically meant you could use more than 640k of memory, and would not need any weird code for data larger than 64k. The game displayed in VESA 640x480 and MCGA 320x200 graphics modes, all with 8-bit palettes; there was no true color anywhere. There were also some per-frame palette change tricks that emulators have trouble with. The source code was mostly pure C with a couple dozen inline assembly functions. There were a few missing subsystems, specifically audio and networking, which would have to be replaced completely anyway, as well as one file for which the source code was lost and only a compiled object was available.'"

Comment Re:Kazkek (Score 0, Flamebait) 337

Listen, you Labview fan boy, I am not smoking crack. (Although I will admit it: Labview makes me wish I was a toothless meth addict, hitting rock bottom, giving blowjobs to married, middle-aged closeted gay men in a movie theater for drug money.)

I spent more than 10 minutes learning that crap. More than a few weeks in fact. I got to know some Labview tech support "engineers" by name. The problem, I later realized, was that I knew exactly what I wanted the hardware to do, except I had to jump through all kinds of Labview hoops to get there. In C or C++, I could have had the majority of the hard parts done in a few days, and then polish up the details. Not so in Labview.

Ever try to force yourself to do something the hard way, when you know there is a much easier way to do it? Ever try to pee sitting down when you're a few pints in, and you really have to go? That's what working with Labview is like -- it will block your peehole until you are calmly sitting on the toilet like a good boy. If you are a girl it will make you pee standing up through one of those cardboard funnels.

Let's look at what you'd have to spend to get a hardware and software package that lets you look at signals at 10MHz.

Here is the "Buy Labview" (a.k.a. get raped in the ass with a cactus branch) web page:

http://www.ni.com/labview/buy/

I could go with Labview Base or Labview Full, but since I want to deploy stuff to customers' machines without forcing them to buy Labview, I'm going to go with Labview Professional for US$4299, although I should probably go for NI Developer Suite for US$4699 because it's the "best value."

Next, I want to sample at 10MHz or greater. In 5 minutes of searching, these are the only products that I could find, that will let me do that. Note that these both have a maximum rate of 10MHz; there don't seem to be NI products that can go higher.

  • PXI-6115 for US$4199, or if we go with the "NI recommended" version, US$5249
  • PCI-6115 which is just the PCI bus version of the PXI-6115, for US$3799, or US$4849 for the "NI recommended" version

If you go with the PCI version, you will need a PC with some pretty good horsepower to handle the 10MHz data stream. This may add an extra $1000 or $2000 to your total price.

If you go with the PXI version, then bend over and grab your ankles again, for into your bleeding rectum NI shall happily insert a well-lubricated PXI chassis of your choice, for an additional few thousands of $$$.

Add in all taxes and other costs (shipping, and oh yeah, $600 cables, anybody??) and it's pretty damn near $10k if not well above. Just for the privilege of writing multi-colored spaghetti code in order to make your measurements.

In conclusion, it is better to just get a real 60MHz digital scope for a few grand. Labview treats intelligent humans like dogs.

Comment Re:Kazkek (Score 5, Informative) 337

By all means, buy National Instruments hardware. It is fantastic. I have deployed it on a number of production systems that run for days and days and days without a glitch.

As for Labview, stay the fuck away from that steaming pile of dogshit. It is a great way to waste lots of time and give up your sanity (and possibly your anal virginity) unless you feel like fucking around at your lab bench and drag-n-dropping some blinky lights and text boxes to impress your PHB. Oh yeah, and it's also great if you enjoy having fresh-out-of-college, inexperienced National Instruments tech support fuckwads (i.e. never having done any actual work with data acquisition or signal processing in their lives) repeatedly tell you, "OMG, change the way you think! You're so wrapped up in the text-based language tunnel vision! LOL!" whenever you get frustrated because Labview actually slows you down and doesn't help you get your results.

Oh yeah, I almost forgot, it will also cost you an arm and a leg. A hardware and software (i.e. Labview) package will let you look at signals in the 10MHz range and above will probably run you at least $10-15k.

In my day to day work, I prefer to remain in the "text-based language tunnel vision." That is, I prefer to use a well-designed C or C++ API to write programs that actually work in a predictable and reliable manner. (The NI-DAQmx API is actually very powerful and easy to use.) That way, I don't have to scroll around in a blinding maze of brightly colored connector lines and boxes and stuff, just because some National Instruments fucktard decided that "text-based languages" are just too, like, texty and complicated and not very much fun, yay! Yuck.

Education

Google Engineer Decries Complexity of Java, C++ 878

snydeq writes "Google distinguished engineer Rob Pike ripped the use of Java and C++ during his keynote at OSCON, saying that these 'industrial programming languages' are way too complex and not adequately suited for today's computing environments. 'I think these languages are too hard to use, too subtle, too intricate. They're far too verbose and their subtlety, intricacy and verbosity seem to be increasing over time. They're oversold, and used far too broadly,' Pike said. 'How do we have stuff like this [get to be] the standard way of computing that is taught in schools and is used in industry? [This sort of programming] is very bureaucratic. Every step must be justified to the compiler.' Pike also spoke out against the performance of interpreted languages and dynamic typing."
Graphics

Tattoos For the Math and Science Geek? 1186

An anonymous reader writes "I've been thinking of getting a sleeve of math and science tattoos for quite a while now. With the money saved up, the only question remaining is, what equations/ideas should I get? I know for certain that I'm going to include some of Maxwell's equations, and definitely Ohm's Law. So, if you were going to put a tribute to the great math and science minds on your body forever, which ones would you choose?"
Encryption

How Did Wikileaks Do It? 973

grassy_knoll writes "Related to the Wikileaks video recently released and discussed here, the NY Times reports: 'Somehow — it will not say how — WikiLeaks found the necessary computer time to decrypt a graphic video, released Monday, of a United States Army assault in Baghdad in 2007 that left 12 people dead, including two employees of the news agency Reuters. The video has been viewed more than two million times on YouTube, and has been replayed hundreds of times in television news reports.' The article is light on details; what encryption algorithm was used? Was this a brute force attack? Did someone pass the decryption keys to Wikileaks along with the video? Something else?"
Cellphones

Canadian Android Carrier Forcing Firmware Update 238

Wolfier writes "For wireless carrier Rogers in Canada, it seems that 'Customer Safety' only becomes a concern after months of neglect. Rogers is the only GSM carrier in Canada and so the only choice for Android users. Months ago, a customer called Rogers to report a firmware bug that was preventing users from making 911 calls under certain circumstances, and informed the carrier that Google had fixed the bug (recording of that call). But Rogers is only doing something about it now — namely, cutting data access of paying customers until they accept a mandatory firmware upgrade that not only fixes the 911 problem, but also contains 'extra' features that prevent users from ever gaining root access to their phones — even non-subsidized ones. And some phones are also getting bricked by this 'official' update. The moral: we really need to open up the competition here up North."

Comment Re:Physicists? (Score 1, Insightful) 466

You're not qualified to answer the question. Information technology is not computer science. They are called different things for a good reason.

There is little or no similarity between computer science and IT because they are completely different fields. In IT, you use programs and systems that real computer scientists created, and write scripts and Visual Basic things to glue them together, in order to get something that does what you want. IT is about integrating systems. Computer science is about math, scientific analysis, designing optimal algorithms, and so on. Therefore your lack of need for math in your IT work has no connection to the question being asked.

Comment Re:attack is a primitive response (Score 1) 836

Thank you for your correction. Using "origin" would have indeed made more sense.

Not to be a nit picker, but I did clearly state that I kept reading in spite of the cringe-inducing opening of the article. I'm not sure why you're calling me unwise because of that. But, your trite network communication metaphors are almost as cringe-inducing as Mr. Spiegel's writing.

You're right, the article is in fact "a stream of information not forced onto [my] consciousness." But it appeared on the Slashdot front page, and when there is something on the front page of Slashdot that annoys us, we speak up.

I fail to understand your generalization that "attack is a primitive response to a stream of information not forced onto your consciousness." To clarify, are you saying that when information is not forced on me, and I am primitive, my response is to attack? I beg your pardon. That makes no sense at all. I hope that English is not your first language; if it is, you are probably a sloppy programmer.

Slashdot Top Deals

"Ninety percent of baseball is half mental." -- Yogi Berra

Working...