Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment r.e. What did the Romans ever do... (Score 2) 384


A Monty Python reference for those who didn't know.
From Life of Brian; a fun movie.
The quote is from a meeting of the People's Front of Judea where "Reg" the leader rhetorically asked "What did the Romans ever do for us?" Followed by some discussion of all the things the Romans did do...
Reg: All right, but apart from the sanitation, medicine, education, wine, public order, irrigation, roads, the fresh water system and public health, what have the Romans ever done for us?
Attendee: Brought peace?
Reg: Oh, peace - shut up!
Reg: There is not one of us who would not gladly suffer death to rid this country of the Romans once and for all.
Dissenter: Uh, well, one.
Reg: Oh, yeah, yeah, there's one. But otherwise, we're solid.

Comment +1 for "As We May Think" Re:The Atlantic Monthly (Score 1) 285

As We May Think (1945) is Brilliant, by the way - worth the read.

r.e. main topic of "good print resources": I enjoy Scientific American, recreational reading. I don't know if I could have kept up with The Economist before it was "dumbed down" as mentioned in another post, but it is a good travel magazine for me (airport reading fare) - just not a quick read (for me). I subscribed to Wall Street Journal for a while but just didn't have time to read all of it - I found some interesting things there. I am going to try a Guardian subscription based on another recommendation.

Here's an excerpt from As We May Think: fascinating reading, I encourage you to check it out (same link)if you haven't yet.

Let us project this trend ahead to a logical, if not inevitable, outcome. The camera hound of the future wears on his forehead a lump a little larger than a walnut. It takes pictures 3 millimeters square, later to be projected or enlarged, which after all involves only a factor of 10 beyond present practice. The lens is of universal focus, down to any distance accommodated by the unaided eye, simply because it is of short focal length. There is a built-in photocell on the walnut such as we now have on at least one camera, which automatically adjusts exposure for a wide range of illumination.

Also... we're not there yet on "trails".... has a fascinating section on readers researching and building their own trails; the closest I've seen is browser bookmarks. "trails" are a different thing than pre-canned trails stitched together by authors. This captures WikiPedia pretty well (in 1945!):

Wholly new forms of encyclopedias will appear, ready made with a mesh of associative trails running through them, ready to be dropped into the memex and there amplified. The lawyer has at his touch the associated opinions and decisions of his whole experience, and of the experience of friends and authorities. The patent attorney has on call the millions of issued patents, with familiar trails to every point of his client's interest. The physician, puzzled by a patient's reactions, strikes the trail established in studying an earlier similar case, and runs rapidly through analogous case histories, with side references to the classics for the pertinent anatomy and histology. The chemist, struggling with the synthesis of an organic compound, has all the chemical literature before him in his laboratory, with trails following the analogies of compounds, and side trails to their physical and chemical behavior.

Comment Re:First Question (Score 1) 36

r.e. "First Question: who are you".... yeah, they could have done a better introduction.
Reading through the answers did give me a pretty good idea though.
Also: the warcraft + spiff videos are amusing. I haven't looked at machinima for a long time, I was glad for the reference. (take home point: some good things buried in the answers)

r.e. slashdot not continuing this way....
You make some good points about weaknesses in the ask-slashdot format.
(editors, worth your time to consider them - don't just toss the observations into the "rant file").

Comment How about 4 drive slots? Re:Two drives not feas... (Score 1) 353

Actually... I found 4 drive slots in a Sager NP8255-S with 2 x 2.5" (spinning or ssd), and 2 x msata (ssd only).
(And... if one drops the optical drive for a sata caddy then it should handle 5 drives.)
I looked long and hard for laptops that could handle more than 2 drives; they're kind of rare these days.
I'm finding raid-0 (multiple SSD's) to be pretty peppy (yeah, I back up early and often :-) ).
Also, being able to go up to 32gb of ram is kind of nice.
I've been pleased with it thus far (going into month #4 now).
Looks like that exact model isn't in production now, but this will get you close: NP8258.

Anyway, most laptops (and essentially *all* ultrabooks) are single drive machines; which works perfectly fine for probably 95% of laptop users. I realize I'm an edge case (in more ways than one :-) ).

Comment high iops != high IO (not always, anyway) (Score 2) 119

r.e. high IO... iops tend to be bottlenecked by random access (think seek time).

Snapshots, installs, and so on are not so much random access limited as sustained sequential throughput; more streaming than random... SSD's tend to saturate SATA ports so you end up with tricks like raid to get more speed.

*shrug* So... there are different kinds of "high IO". Depends on what your app needs from a storage point of view.
The take home message is that if storage performance matters to your app(s) be sure you understand what kind of storage subsystem options your cloud dealer can give you.

For your research pleasure... (link has performance #'s for an interesting range of devices, worth a look if you're doing data intensive things).

Um, LOTS of stuff requires high IO.

Think of a qa VM. It has to do snapshots, installs, reverts. All of which are high IO. Especially if the build is a large install.

Comment Re:ftfy r.e. idioms... (Score 1) 373

3am? ouch :-)
I will grant you all points, increased clarity (especially in production code) is a win.
I spend most of my time with Java these days, and rather miss the brevity of perl.
Bonus points for croak (and error handling in general vs. "But... but... it always works on my dev image!").
I will also concede the reality of a challenging coworker.
So... have they gotten any better over time?

Comment ftfy r.e. idioms... (Score 1) 373

"...and at the end of the day, is somewhat more readable."
There, fixed that for you :-)
(Unless I missed a use whoosh; here... don't think so because your post seems sincere.)
At the point where you're using Perl idioms to slurp an entire file into memory... is the array reference really the hard bit to understand here? :-)

I'll grant you the point about not needing to be a reference at all because of function locality.
But my $x = [ ]; and my @x; both establish an array.
push is actually suggestive of what it does, unlike the input operator's ability here @x = <$fileHandle>; to return all lines in a file as a list context... That is as obscure as references; if your target audience is expected to know how that aspect of the input operator works I wouldn't be too hard on your coworker for expecting them to understand array references.

Oh so this!

I have had to tell cow-orkers to knock that crap off. They've got the job, and from this point on the only thing that will impress us is code that can be maintained by anyone else on the team, even if they have not set eyes on it in years.

Programmer did:

my $something = []; open my $filehandle, '<', $filename or croak "Can't read file"; push @$something, <$filehandle>; close $filehandle;

How about:

open(my $filehandle, '<', $filename) or croak "Can't read file"; my @something = <$filehandle>; close($filehandle);

Much more succinct, gets rid of a pointless use of an array reference (seriously, it was used as an array in that function only, never passed around or returned), and at the end of the day, is far more readable.

Comment A tour guide w/"Programming Pearls" (not Perl) (Score 2) 373

I'll recommend a tour guide in the form of John Bentley's Programming-Pearls-2nd-Edition.
His Programming Perls book does a nice job of putting interesting algorithms and design forces into context and helps the reader understand the pros & cons thereof. Part of the problem with just wandering around looking at things is you don't see the history and decisions that were made leading up to the result; understanding "what" isn't nearly as important as "why".

Also, the book isn't related the the Perl language; instead it uses Pearl as a metaphor for a small yet beautiful treasure.

Anyway, check out the Amazon reviews to see if it is worthwhile (I have no vested interest here; I just stumbled across this in a real book store some time ago and found it a satisfying read).

Comment +1 Khan academy, mod parent up (Score 1) 370


For math Khan academy is worth checking out; I don't know why parent is modded zero.
Probably good for other stuff too, it was the math that caught my eye.
https://www.khanacademy.org

Some cool video (give the first one five minutes... I think you'll like it):
Salman Khan talk at TED 2011 (from ted.com)
TEDxSanJoseCA - Salman Khan - (Sequel to talk at TED)

Comment interesting analysis Re:News for nerds (Score 1) 394

I liked it. Maybe you're not nerdy enough?
TFA was an interesting analysis, drew upon the author's to airplane safety research, and reached some interesting conclusions. For example, one of the conclusions was (paraphrasing) that Tesla software has a User Interface warning (beeps + message) if driver pushes both brake + accelerator... so why not go one step further and ignore accelerator if brake is pressed at the same time? Author couldn't think of a scenario where that would be a problem. I can't either. Seems like a simple safety feature. I'd love to hear what automotive engineers think about it.

Slashdot Top Deals

Solutions are obvious if one only has the optical power to observe them over the horizon. -- K.A. Arsdall

Working...