"I've compiled a list of websites that you may want to spend more time on than slashdot:......*dons flaimsuit*"
Wait, I'm having a vision. There's fish, a barrel and a shotgun involved. Oops, sorry, it's gone.
Re:My short experience with perl...
on
What is Perl 6?
·
· Score: 1
Apologies - maybe I shouldn't have dereferenced the lists within a string interpolation to try and keep the output similar to your python example, and shown you a simple example instead. I won't repeat my other reply here, but how complicated is $a[0][1] for the second item in the first list (from my first example)?
Re:My short experience with perl...
on
What is Perl 6?
·
· Score: 4, Informative
Oh please.
"Especially when every perl doc I see around tells me to use curved parentheses for lists, and @ prefixes for variables that refer to them..."
How hard did you look, really? If you go to Google and type in perl list of lists, the FIRST link takes you here.
And within 1/2 a page, you see this:
# assign to our array a list of list references @LoL = ( [ "fred", "barney" ], [ "george", "jane", "elroy" ], [ "homer", "marge", "bart" ], );
print $LoL[2][2]; bart
Damn anti-Perl trolls:-)
Re:My short experience with perl...
on
What is Perl 6?
·
· Score: 1, Informative
Yes, indeed. So you change the arrayref of arrayrefs in your first post to an array of lists in the parent code and wonder why it doesn't work?
Let's assume you actually do want a list of lists and we'll brace the 5 and make it an array of arrayrefs.
I always find it ironic that Americans ridule the military prowess of the country that basically served up us Brits on a plate to you. Battle of Yorktown anyone?
"Logging of communications" also means you have no privacy. And if you think your boss isn't tracking you by your IM status you're kidding yourself.
Man, you must love where you work:) I organized our Jabber implementation, and only myself and the developer that set it up have access to it - and no, I'm not a boss. If a VP wants a conversation to settle a dispute, I'll go grab it, but otherwise I stay the hell away.
We installed it as a tool for communication, not for 'Big Brother' reasons. When we started using Jabber, I made it absolutely clear that the logs would ONLY be examined if legally needed.
I've been using DVD Region+CSS Free for years and have never had to touch my hardware - yes this is a recommendation, no I'm not affilliated.
I originally got it for the region free bit (being a Brit with a lot of UK stuff - yea Spaced:), but where it really shines is the user restriction removal. I can stick in a DVD and it starts on the menu - no credits, adverts or FBI warnings. I've got so used to it that I actually thought our standalone DVD player was broken when I stuck in a disc the first time and HAD to watch a couple of minutes of logos and FBI warnings.
More hybrid and bio diesel technology from the big Automakers
This is a scary one. The UK can produce enough biodiesel in an environmentally friendly manner (waste cooking oil) to supply 1/380 of its road transport fuel. After that, the most common form of biodiesel supply is oil palms. And this supply is an environmental disaster in itself - huge forests felled and burned to create space for the trees, peat bogs dried out.
God knows what kind of destruction will take place if this "environmentally friendly" fuel supply takes off in the US.
These fuckers are just as bad. I boguht a SOny camcorder at a good price and received a similar experience. Long story short, they added $40 to my order and there was fuck all I could do about it short of suing the bastards.
Re:iPower dies from a slashdotting...
on
Atari 800 XE Laptop
·
· Score: 4, Informative
Be fair dude - this is $7.95 a month web hosting in a shared environment, with set limits (and very generous they are too for the price). If you bought a car would you be surprized that it doesn't go as fast as an airplane?
I called Ben up and said he had two options - suspension for going over bandwidth, or quick hack to keep the pictures up until we can work out a better solution.
So, we hacked him on to an empty machine, and will work out a dedicated server for him soon so that this can't happen again.
Last time he got slashdotted, he used over 130Gb of transfer in 24hrs (actually, for the first 3hrs we had a suspended page, so it would have been even more if we'd done this before (we left him on the host last time and watched the load *very* closely).
No warning this time either, hence quick hack. By the time he next gets slashdotted, we'll have a solution in place so that we don't need to do this again.
*good* Perl programming is just as good a start as anywhere else. Send 'em to Perlmonks and leave'em to it.
Ticketmaster basically wrote Template Toolkit. And of course, their web site sucks ass. Obvious really. Whenever i hear the Perl trolls, I just remember Paul Graham's quote about Viaweb (Yahoo! shops):
"During the years we worked on Viaweb I read a lot of job descriptions. A new competitor seemed to emerge out of the woodwork every month or so. The first thing I would do, after checking to see if they had a live online demo, was look at their job listings. After a couple years of this I could tell which companies to worry about and which not to. The more of an IT flavor the job descriptions had, the less dangerous the company was. The safest kind were the ones that wanted Oracle experience. You never had to worry about those. You were also safe if they said they wanted C++ or Java developers. If they wanted Perl or Python programmers, that would be a bit frightening-- that's starting to sound like a company where the technical side, at least, is run by real hackers. If I had ever seen a job posting looking for Lisp hackers, I would have been really worried."
Learning LISP is on my list. It's weird. But LISP is the latin of programming. Learn that and everything will fall into place.
...indicating cell phone usage in various parts of the city. Using call origin and destination data, they are able to not only reverse-engineer a topographic map of the geography and landscape, but one of phone usage as well
Really? Who'd have thunk it? Outstanding deduction there.
cLive;-)
They were given away to OSCON attendees...
on
Perl Best Practices
·
· Score: 3, Insightful
...and the poor guy didn't get a cent from that - so go out and buy this for all your devs, and buy Peopleware by Tom Demarco for all your managers while you're at it.
I get a copy for every new dev now. I'm not going to force them to use all of it, but it definitely makes them think when they start working on larger projects.
I'd also recommend MJD's Higher Order Perl if you want to go even deeper.
I always think it's funny when people argue heavily about hating to work to a "best practices" style. And then start agruments about how crap Perl is because it's unreadable. Anyway - I digress.
Are you kidding me? Those are halfway reasonable. (Though not at that pay scale.)
Take another look. You appear to be good at using bold and italics for emphasis, yet appear to have a problem seeing that in others' posts.Your point?
"I've compiled a list of websites that you may want to spend more time on than slashdot:... ...*dons flaimsuit*"
Wait, I'm having a vision. There's fish, a barrel and a shotgun involved. Oops, sorry, it's gone.
Apologies - maybe I shouldn't have dereferenced the lists within a string interpolation to try and keep the output similar to your python example, and shown you a simple example instead. I won't repeat my other reply here, but how complicated is $a[0][1] for the second item in the first list (from my first example)?
Oh please.
"Especially when every perl doc I see around tells me to use curved parentheses for lists, and @ prefixes for variables that refer to them..."
How hard did you look, really? If you go to Google and type in perl list of lists, the FIRST link takes you here.
And within 1/2 a page, you see this:
Damn anti-Perl trolls :-)
Yes, indeed. So you change the arrayref of arrayrefs in your first post to an array of lists in the parent code and wonder why it doesn't work?
Let's assume you actually do want a list of lists and we'll brace the 5 and make it an array of arrayrefs.
Or, sticking to your original arrayref of arrayref notation:
cLive ;-)
What. You mean sonething like this?
I always find it ironic that Americans ridule the military prowess of the country that basically served up us Brits on a plate to you. Battle of Yorktown anyone?
"Logging of communications" also means you have no privacy. And if you think your boss isn't tracking you by your IM status you're kidding yourself.
Man, you must love where you work :) I organized our Jabber implementation, and only myself and the developer that set it up have access to it - and no, I'm not a boss. If a VP wants a conversation to settle a dispute, I'll go grab it, but otherwise I stay the hell away.
We installed it as a tool for communication, not for 'Big Brother' reasons. When we started using Jabber, I made it absolutely clear that the logs would ONLY be examined if legally needed.
Perhaps it's time to dust off your resume? ;-)
cLive ;-)
I've been using DVD Region+CSS Free for years and have never had to touch my hardware - yes this is a recommendation, no I'm not affilliated.
I originally got it for the region free bit (being a Brit with a lot of UK stuff - yea Spaced :), but where it really shines is the user restriction removal. I can stick in a DVD and it starts on the menu - no credits, adverts or FBI warnings. I've got so used to it that I actually thought our standalone DVD player was broken when I stuck in a disc the first time and HAD to watch a couple of minutes of logos and FBI warnings.
cLive ;-)
Reckon I'd be a shoo-in :)
More hybrid and bio diesel technology from the big Automakers
This is a scary one. The UK can produce enough biodiesel in an environmentally friendly manner (waste cooking oil) to supply 1/380 of its road transport fuel. After that, the most common form of biodiesel supply is oil palms. And this supply is an environmental disaster in itself - huge forests felled and burned to create space for the trees, peat bogs dried out.
God knows what kind of destruction will take place if this "environmentally friendly" fuel supply takes off in the US.
cLive ;-)
That's OK, it's only "Friendly fire" :)
Oh please. A crass advert wrapped up in sentimental twallop. What the hell has this got to do with "bringing our troops home"?
These fuckers are just as bad. I boguht a SOny camcorder at a good price and received a similar experience. Long story short, they added $40 to my order and there was fuck all I could do about it short of suing the bastards.
cLive ;-)
... when you consider this guy :)
Be fair dude - this is $7.95 a month web hosting in a shared environment, with set limits (and very generous they are too for the price). If you bought a car would you be surprized that it doesn't go as fast as an airplane?
;-)
I called Ben up and said he had two options - suspension for going over bandwidth, or quick hack to keep the pictures up until we can work out a better solution.
So, we hacked him on to an empty machine, and will work out a dedicated server for him soon so that this can't happen again.
Last time he got slashdotted, he used over 130Gb of transfer in 24hrs (actually, for the first 3hrs we had a suspended page, so it would have been even more if we'd done this before (we left him on the host last time and watched the load *very* closely).
No warning this time either, hence quick hack. By the time he next gets slashdotted, we'll have a solution in place so that we don't need to do this again.
cLive
ps - still damn funny point though.
Goddammit he needs to give us warning ;-)
;-)
Bastard - I used to like Wednesdays...
I'll work something out so he'll be ready next time.
cLive
I find you username strangely appropriate. Quit now and do something you want to do rather than being a waste of space and loan cash.
idiology
Freudian slip, if ever I saw one!
Can I just chip in with a flamebait, asshole?
*good* Perl programming is just as good a start as anywhere else. Send 'em to Perlmonks and leave'em to it.
Ticketmaster basically wrote Template Toolkit. And of course, their web site sucks ass. Obvious really. Whenever i hear the Perl trolls, I just remember Paul Graham's quote about Viaweb (Yahoo! shops):
"During the years we worked on Viaweb I read a lot of job descriptions. A new competitor seemed to emerge out of the woodwork every month or so. The first thing I would do, after checking to see if they had a live online demo, was look at their job listings. After a couple years of this I could tell which companies to worry about and which not to. The more of an IT flavor the job descriptions had, the less dangerous the company was. The safest kind were the ones that wanted Oracle experience. You never had to worry about those. You were also safe if they said they wanted C++ or Java developers. If they wanted Perl or Python programmers, that would be a bit frightening-- that's starting to sound like a company where the technical side, at least, is run by real hackers. If I had ever seen a job posting looking for Lisp hackers, I would have been really worried."
Learning LISP is on my list. It's weird. But LISP is the latin of programming. Learn that and everything will fall into place.
Fucking Perl trolls.
How about someone translates that for those of us who don't tend to mess around with DVORAK layouts? Including me, that is.
Translation:
"How about someone translates that for those of us who don't tend to mess around with Google? Including me, that is."
Lazy ass.
Really? Who'd have thunk it? Outstanding deduction there.
cLive ;-)
...and the poor guy didn't get a cent from that - so go out and buy this for all your devs, and buy Peopleware by Tom Demarco for all your managers while you're at it.
;-)
I get a copy for every new dev now. I'm not going to force them to use all of it, but it definitely makes them think when they start working on larger projects.
I'd also recommend MJD's Higher Order Perl if you want to go even deeper.
I always think it's funny when people argue heavily about hating to work to a "best practices" style. And then start agruments about how crap Perl is because it's unreadable. Anyway - I digress.
cLive