Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Session KeepAlive (Score 1) 118

I once administered an application that ran on a group of Windows servers. I needed to maintain RDP sessions to multiple systems for extended periods of time. The site policy was to force a logout after 10 minutes of inactivity. It was highly annoying to work on one system for a while, only to go back to find the others logged out. I wrote a keepalive script using the estimable AutoIt tool to scan the processes on my workstation every 5 minutes to find the RDP processes. The script would activate each process, send a 0-pixel cursor movement command to it, then move on to the next one. This kept the sessions alive. The effect was a brief flicker to the session I was using. Since I was mostly working from home, this was no security issue. When I was in the office, I would lock the workstation screen when I left my desk.

P.S. The security people never caught me, although they surely would have objected if they had known what I was doing.

Comment Take a look at it (Score 1) 100

If you are not familiar with Perl6/Raku, you should take a look at it. It is really a very powerful language. The fact that it took 15 years to develop--with volunteer labor--and a few diversions along the way has hurt it in mind share among developers, but that doesn't mean that the final result is without merit. There are a lot of good Perl 6 references on the web, but most suffer from trying to do too much with the language too fast. Like many languages, you don't have to learn it all to find it very useful. This reference is an easy intro to anyone who already knows Perl 5 and many who do not.
https://deeptext.media/i/using-raku/UsingRaku.pdf

Comment Re:For me Perl is alive and well. (Score 4, Interesting) 187

I agree completely. As a UNIX sysadmin I frequently write scripts. For short and simple things, shell is preferred. But if I anticipate any complexity, I reach for Perl. I've had the experience of getting deeply into a shell script and thinking "I should have used Perl". Perl has never let me down, although I confess at times the programs have that write-only, line-noise appearance. But that's just because I've learned to use the idioms, and I comment on the complex stuff for the benefit of those who follow me--which could include myself six months later.

I'd write Ruby if I could. The syntax is cleaner, and objects are built-in, not bolted on. But Ruby is just not available where I need it. Does anybody know of an AIX LPP package for Ruby?

Also, I've been deeply disappointed at the progress of Perl 6--but Perl 5 does everything I need, so I really don't miss it. Of all sad words of tongue or pen, the saddest are these--it might have been.

Comment Crockford on JavaScript (Score 2) 305

I don't see where anyone has yet mentioned Doug Crockford's excellent videos on JavaScript. These are all on YUI theater. http://developer.yahoo.com/yui/theater/ All the criticisms mentioned here are discussed in depth. Crockford deals with the good and bad parts of JavaScript from the perspective of years of detailed research on it. And like it or no, JS is available in a useful, common subset on all modern browsers. The whole HTML, CSS, DOM, JavaScript ball of wax is a kludge that happened by the chaos of historic accident. But we are stuck with them, and Crockford's notions of how to do JS right are worth your time in viewing the videos.

Comment Other medical applications (Score 2) 110

I know this is /., but seriously now....Real-time collection and reporting of blood pressure, heart rate (or not!), glucose, cholesterol, liver enzymes, O2 and PSA levels, all relayed via your cellphone/base station to your trusted medical service. These are right around the corner, awaiting only the right transducers. I, for one, welcome our new medical capabilities.

Media

1928 Time Traveler Caught On Film? 685

Many of you have submitted a story about Irish filmmaker George Clarke, who claims to have found a person using a cellphone in the "unused footage" section of the DVD The Circus, a Charlie Chaplin movie filmed in 1928. To me the bigger mystery is how someone who appears to be the offspring of Ram-Man and The Penguin got into a movie in the first place, especially if they were talking to a little metal box on set. Watch the video and decide for yourself.
Graphics

The First Photograph of a Human 138

wiredog writes "The Atlantic has a brief piece on what is likely to be the first photograph (a daguerreotype) showing a human. From the article: 'In September, Krulwich posted a set of daguerreotypes taken by Charles Fontayne and William Porter in Cincinnati 162 years ago, on September 24, 1848. Krulwich was celebrating the work of the George Eastman House in association with the Public Library of Cincinnati and Hamilton County. Using visible-light microscopy, the George Eastman House scanned several plates depicting the Cincinnati Waterfront so that scholars could zoom in and study the never-before-seen details.'"

Slashdot Top Deals

If graphics hackers are so smart, why can't they get the bugs out of fresh paint?

Working...