Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

+ - Disney backs off plan to have its IT staff train their H1B replacements->

helixcode123 writes: Apparently in response to backlash, Disney has reversed their plan to replace U.S. workers with foreign replacements. According to one employee “We were told our jobs were continuing and we should consider it as if nothing had happened until further notice.”
Link to Original Source

Comment: A poor workman... (Score 5, Insightful) 281 281

... blames his tools. Crap code an be written in any language. Good code can be written in PHP. While not my first choice of languages, I have found myself on PHP projects and been fairly comfortable using it although during moments of frustration put in comments such as "These following 10 lines could be written in the following one line of Perl...".

Comment: Re:Yes & the sheer amount of existing code/fra (Score 1) 414 414

I strongly agree with the parent. My favorite language implements this in a similar way to the parent's favorite:

my @items = (1, 15, 27, 3, 54);
my @result = grep { $_ > 10 } @items;

I appreciate coding in a language that allows me to quickly and understandably (yes, Perl can be understandable... or not :-) get my thoughts into code. I used to enjoy coding in Lisp for the same reason (still would, if I could use Lisp at work these days). I enjoy coding in Java also, but the difference is noticeable.

+ - Make the case for Perl CGI.pm Deprecation->

helixcode123 writes: I (and likely many other Slashdot Perl coders) have been happily using CGI.pm to make our lives, or at least the part of our lives that spend writing server-side web apps, simple and trouble free. Easy to programmatically generate HTML, web forms, and so on. So I happened to be coding remotely today, and bring up the CPAN CGI.pm page only to find that it is now being deprecated in favor of other packages, mainly templating systems and frameworks.

Now, obviously templating systems and frameworks have their place, but I've always enjoyed the flexibility provided by the CGI.pm API. I'll often set HTML element classes according to data values, and likewise set content-releated elements according to the nature of the data. The trouble with templates is... they are templates. If content is highly conditional on the data, then I'm not sure how a template system would be better suited than the API provided by CGI.pm.

So can any of my fellow Perl programmers give some advice to those of us that see no deficiencies in CGI.pm? Are we just being old fogies unwilling to embrace the new and better, or are we wisely wary of the "it's better because it's new" bandwagon?

Link to Original Source

Comment: Re:How to totally screw up my ability to code: (Score 1) 181 181

Musician and programmer here (see shameless plug below). I completely agree. One of my colleagues always has music playing in one of our coding labs. It's nice music, often Mozart, but it just yanks my concentration. When I code I like to be able to immerse myself in it. Music keeps me buoyed up at the surface.

Comment: Re:If it's cloud based like Office 365 (Score 1) 191 191

Yes. My kids do all of their school writing assignments on Google Drive (Docs); my daughter, now in college, did all of her work on the Google cloud during High School, and the kids love the real time collaboration features. My youngest, in 4th grade, uses a "private" Google service that their school set up. My point here is that I'm sure many people are using these Google services and Microsoft saw the writing on the wall. That is likely what helped the App group divorce themselves from the OS group in this matter.

Note that the separation is not that strong. For example, I wanted to import a spreadsheet as a table into a Sharepoint wiki page (cloud based), and it required ActiveX. However, both Firefox and Chrome seem to be smart enough that if you do a CTRL-C from Libreoffice on the cells you want to import as a table, and then do a CTRL-V on the wiki page, it does the table conversion. That was a very pleasant surpise.

Comment: If it's cloud based like Office 365 (Score 1) 191 191

it could be a decent service for folks on Linux. My company has gone with Office 365, and while the actual Office apps are currently a bit weak, Outlook works pretty well. Since I prefer Linux, and run it on my development machine, I have to boot up my VPN to do Windows based tasks. Running their apps on the browser would be more convenient for me.

However, my current take is that their cloud application suite (Word, PPT, Sharepoint) isn't nearly as functional as the Google Drive analogs.

Comment: Could dovetail with current electric vehicles (Score 2) 216 216

The nice thing about fuel cell technology working it's way into to the automotive arena is that it can dovetail quite nicely with the ongoing developments being made with electric vehicles, since there is significant overlap between the two.

Comment: Spoiler: Don't read if you haven't seen "Her" (Score 1) 189 189

The OP's point is similar to the last conversation Theodore has with Samantha where she tells him that her relationship with him is like a book, but that the time between the words keeps getting longer and longer for her, and she is becoming what is "in between the words".

Comment: Emacs "Org Mode" file (Score 2) 170 170

I use Emacs with "Org Mode". It lets me collapse each day's information to single line, but all of the information can be searched like a normal Emacs buffer and expanded as needed. You even get the handy table formatting. If you need to output sections they can be rendered to PDF, HTML, etc.

Comment: Re:emacs (Score 1) 531 531

Emacs is a necessity for me.
For editing local and remote (via tramp) files.
Run simple shells, compile, grep, diff, clean directories. All within emacs.

Long time Emacs user here. Can you expand on "clean directories" please? Parent posters have mentioned Tramp, the ability to (nearly) seamlessly edit files on remote system. This is a wonderful feature, along with ediff, for merging updates on my development system (i.e. my laptop) with my deployed code on my remote VPS.

A memorandum is written not to inform the reader, but to protect the writer. -- Dean Acheson

Working...