Domain: perlmonks.org
Stories and comments across the archive that link to perlmonks.org.
Comments · 240
-
XUL
-
Re:Query?
Yes, I wrote a perl app to convert my ISBN's to biblographic database entries ala BibTeX. It handles CDs as well. Try: http://www.perlmonks.org/index.pl?node_id=261033
-
Re:Obligatory crap regexp joke
Blaspheme! You, sir, need to read brother Ovid's dissertation: Death to Dot Star! to find out why you shouldn't use
.* and what to use in its place.
:) -
Another idea...
Is to use some scheme to encode the IP address. Slashcode won't let me post the code here, but look at Perlmonks for an example.
-
p3rl 0-day warez!!!
... and before it's even expired, the Perl monks have an implementation out. That's the power of open source, man.
-
Similar situation
There was an interesting PerlMonks discussion about a very similar question not too long ago that you might be interested in reading.
-
Re:Reactionary languages - Perl
You appear to have misspelt "warnings" as "Safe". There's no point using Safe unless you're doing stuff that needs it.
These days, you should be using 'our' rather than 'use vars'. Plus, you say to avoid globals, but you 'use vars'?
You should learn Perl rather than rely on English.
You should not use Java like variable and function names, except where it matches with perlstyle.
As with most languages, the best way to understand code written in the language is to learn the language. Make use of its features and its strengths. Get involved in the community. Read books, read articles and more articles. Contribute to code repositories. etc. -
Re:Encryption
Dogs are great for deterring casual intruders, but they would not deter serious intruders (like the FBI or organized criminals)-- dogs can be mitigated easily with things like heavy blankets or bags, non-lethal nooses, and tranquilizers. Nor can the dog communicate meaningfully about intrusions once they've occurred, so you might know someone had been in, but not what they did.
Best bet is small hidden cameras or other intrusion detection systems. That way you have a much higher likelihood of getting an accurate record of what happened during the intrusion. This is important during the recovery phase, because otherwise you have no idea what was compromised. Did they bug the keyboard? Did they install software? Did they simply plant a small wireless camera facing your keyboard or monitor? If you can pinpoint what they did, then you can counter that threat directly rather than having to take the most extreme measures available (i.e. complete destruction of all incriminating evidence and/or keys).
On deterring casual intruders: I like to leave my mp3 server running a little digital DJ I wrote, that uses voice synthesis to announce songs and times between songs. Very hard to tell if I'm home or not with that on. Lower tech solution would be to just leave the radio or tv running. -
computer code as art..
I guess anything, including code can be artistic if it blends something technical with an art in a subtle way.
That's the whole idea behind poetry, at least. And computer code can be poetic. -
Free Alternatives
Even as a professional web developer I cannot help but feel that books like these are, useful as they may be, totally redundant and devourers of perfectly good shelf space. The intricacies of setting up, maintaining, and administering a Linux webserver are numerous enough to warrant their own book and I suspect that one would be better suited buying a text on that particular topic and sticking to online resources for the others.
The Internet is teeming with websites full of introductory material such as this. I'm almost positive that to establish a respected computing site you are required to have an Apache and/or mod_perl tutorial; these are so unnervingly common that one would think the entire world is stuck in a cycle of endlessly installing Apache. It's a great credit to the creators that it is so easy to install and administrate that the entire process of setting up a production-ready server can be covered in a few poorly-written online tutorials. Why buy a book if your needs can be satisfied by a quick Google search?
I'll admit that the subjects of Apache and Linux administration may be too complex without a handy book, but PHP and perl? PHP's online manual is absolutely superb. No matter the size of the project or its complexity, if I have a question it will most assuredly be answered by a quick rifle through the documentation. And perl? PerlMonks is all you need. The monastery blows my mind.
I'll be the first to recommend books on operating system design, theory, and microprocessor internals, and in fact my shelves are lined with them. It is, however, the unfortunate truth that introductory material is everywhere on the Internet but getting any deeper will require a speciality textbook; that is, of course, and not very ironically, unless you're a web developer. For the shallow depths that this book plumbs, I'd recommend saving the money for a guide to webserver administration and taking a visit to http://www.php.net and http://www.perlmonks.org. -
Re:hardly a plug, but...
Or, even better, buy Learning Perl, Elements of Programming with Perl, Perl for Web Site Management, or any of the numerous decent perl books that have been published in the past year or two. It's scary how many people will try to learn from old books that haven't been updated.
And, most importantly, don't just get a "X and Perl" or "Perl and X" book. Learn the language, then learn some of the niches. "Computer Science & Perl Programming" and "Web, Graphics & Perl/Tk" are two recent O'reilly titles that show a variety of interesting things one can do with Perl. Don't just limit yourself to one little corner.
The best thing to do, no matter what else, is to get involved in the perl community. Contribute to CPAN; hang out on #perls on irc; play with perlmonks.org; browse comp.lang.perl.* on usenet; join mailing lists. etc. The language is just a focal point to help get to know more people.
-
Perl and Java...
I'm a Perlie and since it opened I've found Perlmonks totally invaluable -- their Q/A section actually has questions that I would ask if wasn't so beyond asking for help.
On that thread, My java-esque friends tell me Java Junkies is equally good if you're of the Bean persuation.
Both sites are, in case you didn't guess, based on the Everything Content Engine which is why they look so much alike. -
perl poets
There is a thriving perl poetry community.
-
Re:The Superiority of PHP over Perl
Why is it that whenever someone mentions Perl, everyone has to mention how superior insert favourite language is. Does everyone feel that threatened by Perl? Do that many people hate Perl that much?
I use Perl because it lets me get the job done with little or no hassle. I like the TMTOWTDI nature of Perl, and Perl had one of the best support communities out there. There is a huge public codebase that you can draw from. And if you are building websites, there is a plethora of application frameworks and templating languages to choose from (HTML::Mason, Apache::ASP, OpenInteract, CGI::Application, AxKit, Embperl, Apache::PageKit, Template Toolkit, HTML::Template just to name a few).
What really annoys me is most of the time the complaints made against Perl are completely unfounded (like the claims made by the parent post). If someone wants me to refute the complaints made about Perl in the parent post I can, but for now I'll just end my rant here...
If you haven't used Perl before, try it, it's good!
-
My own additions...
Most of the obvious sites have already been posted, but I'd like to add two more to the list:
- Advogato.org - The diaries and rare new stories.
- Perl Monks - I've learned a lot from this site.
-
my reality
-
Re:Tradeoffs
Perl Poetry anyone?
-
Thread at Perlmonks
Go Here for discussion last summer over at Perlmonks.
-
How to hack your example.
That is not a good solution. This (partial) thread is a good example on how easily that may be exploited as well. Unique session IDs that time out is the key, and send only those to the browser.
-
Domain Name
Anyone can find my address from my domain name registration, therefore I'm not going to be extra-paranoid about giving the latitude and longitude (which I've already given out for the Perl Monks Monk Map).
-
Re:It's not going to fail...
Your obstinate praise for Microsoft and rejection of any other conceivable opinion amounts to FUD.
Wrong. If I were to say, for example, that you should avoid free software because the Tilly incident demonstrates that one well-placed claim from a current or former employer could yank a piece of so-called "free" software right out of the market leaving you with no easy alternatives and no support whatsoever, that would be FUD. Saying that Microsoft does some good work and deserves credit for it, and that anybody who wants to beat Microsoft at their game has to be at least as good, is not FUD. See the difference?
When the entire point of all of your posts is to say that the only viable office suite is MS Office, the main effect is to create fear, uncertainty, and doubt in other Slashdotters
Have you not been reading? The point of this thread is that "open source" competitors to Office are not currently good enough. The point is that there are no viable alternatives to Office yet. There is no sensible context in which this could possibly be construed as FUD. If anything, it should be a fucking rallying cry for people, such as yourself, you want to bring Microsoft Office's dominance of the market to an end. How to do that? Be better. But instead, people such as yourself get defensive, shout from the rooftops that Office sucks and that anybody who disagrees must be an idiot, a Mac user, or a Microsoft employee. Way to change the world, guys.
In my experience, MS Office is mediocre, at best, compared to Gobe Productive.
Your opinion is different from mine, and from most people's. That's not to say that you're wrong, but I do think it's worth wondering why, on such a relatively straightforward question, your opinion is so different from the commonly held one. Obviously your experiences have been different, but is that all there is to it?
Actually, your opinion of Microsoft reminds me of my opinion of California
You have not been listening, or perhaps I have not been communicating effectively. I have "lived" with other tools than Office. I started out, as I wrote before, using Microsoft Word 4.0 for the sole reason that it was the best word processor available. When Word 5.0 and 6.0 happened-- which were terrible-- I tried every alternative I could find. I wrote volumes of user documentation in LaTeX, for crying out loud. I've used practically every document tool, from Word to SimpleText to FrameMaker to QuarkXPress to Lyx to (shudder) Open Office. None of them is as good as Word 4.0 was then, or as Word 2000 or Word 10 are today. So the idea that I've never "lived anywhere else" is kinda off the mark. -
An example of Perl PoetryFound here
#!/usr/bin/perl
Some other stuff here and here
sub lime_thought{
study, each %day;
if(you($seek)){$knowledge;}
while(study){$ practice;}
if(you($tie)){($many)=times;
GOTO PERLMONKS,tell YOURPROBLEM;
wait; $then; return $to.TheSite;
read ($the,$monks,$answer);write THANKS;
bless THEM; next $say,GoodBye;}} -
An example of Perl PoetryFound here
#!/usr/bin/perl
Some other stuff here and here
sub lime_thought{
study, each %day;
if(you($seek)){$knowledge;}
while(study){$ practice;}
if(you($tie)){($many)=times;
GOTO PERLMONKS,tell YOURPROBLEM;
wait; $then; return $to.TheSite;
read ($the,$monks,$answer);write THANKS;
bless THEM; next $say,GoodBye;}} -
An example of Perl PoetryFound here
#!/usr/bin/perl
Some other stuff here and here
sub lime_thought{
study, each %day;
if(you($seek)){$knowledge;}
while(study){$ practice;}
if(you($tie)){($many)=times;
GOTO PERLMONKS,tell YOURPROBLEM;
wait; $then; return $to.TheSite;
read ($the,$monks,$answer);write THANKS;
bless THEM; next $say,GoodBye;}} -
Forgot a link...
It pulls together several thoughts gathered from observing sites like Slashdot, Everything2, and Perl Monks."
Here's the link to Slashdot for anyone that needs it...
-
Perl Monks!
Who needs Perl Journal when there's Perl Monks? Great resource!
-
Test!
If you don't know where to start, the best thing is to test and debug existing modules! It's the fastest way to get started on your way to Perl stardom.
See chromatic's How You (Yes You!) Can Get Involved. -
P2P Internet Radio and Streaming MP3s
There are at least two peer to peer Internet radio networks: Streamer
and PeerCast.
You could also serve hot streaming mp3s with this very cool perl script
Or you could just bliss out to some great trance music ... as long as they can afford to keep going.
Eponymous Mallard
"If it quacks like a duck, it's the Eponymous Mallard" -
many open source test frameworks availableMy experience with commercial load-testing apps is that they are outrageously expensive, a pain to program, don't really scale all that well, and mostly have to run on Windows with someone sitting at the mouse. There are some that work better than others, but the free stuff in this areas is quite good.
I recommend httperf and http_load for banging on lists of URLs really hard. At one place I worked, one of our developers rigged up some shell scripts that would play back log files through httperf and that worked pretty well.
If you want to record browser sessions for testing specific paths through the site, look at http-recorder or roboweb. There's also webchatpp, HTTP::WebTest, and HTTP::MonkeyWrench on CPAN. More info on this can be found on the mod_perl mailing list or on PerlMonks.
-
Re:Good point on PHPSeems to me that currently 38.59% of Apache servers run mod_php and 36.83% run mod_perl. Not only that, but the number of mod_perl server is growing (quickly!) and the number of mod_php is shrinking.
That does no take into account which ones are web hotels and which ones are servers dedicated to one site or at least only one organisation.
Trends and stats aren't worth the paper they are printed on, but it does help to have something to back you up when you say it
1) I have looked long and hard for web hosting providers providing mod_perl, and that have reasonable latency and bandwidth to Sweden. For many of my customers I will let my company develop more and more solutions in PHP instead.
2) A discussion on perlmonks showed pretty much who has mod_perl and what strings are attached to that. I't was something along the lines of this one, but longer and with more listings,; can't find it right now. An interesting way of getting to use mod_perl in a hosted environment is to have it in a chrooted jail, so everyone gets their own server. I believe you need to throttle the resources usage anyway, and such facilities are on the way as far as I know on FreeBSD. And before you question my "I believe", I'll point out that I am running Zope and Apache in a chrooted jail at imeme, so I do have some experience with it:-)
3. I didn't back up the statement that hosting providers don't offer mod_perl because it's basically common knowledge.
cheers,
/jeorgen -
Perlmonks is powered by Everything2If anyone wishes to see a modified E2 install in place, go on over to PerlMonks and poke around. Look at the layout, the structure, the search engine and see if it fits your needs.
Seeing it in action there, and having used it there for almost a year, it has convinced me personally, that E2 is the way to go for this type of content management system, but YMMV.
-
Re:How do these compare to Squishdot?Zope is great, I'm using it for e.g. euliberals.net, but Squishdot is very simple and does not have that many features at all. It's more of a one-trick pony and does not play in the same league as Everything. Even though I prefer Zope I've never found a place for Squishdot; it's still too primitive: Last time I cehcked you were supposed to enter your name for making a comment and there is no moderation, just to name two things. Take a look at perlmonks to see what a site based on Everything can do.
cheers,
/jeorgen -
Re:Perl Beginners
use strict ;
use warnings;
why o why are these not implicit? don't you agree that having to turn them off explicitly would be a better practice for the perl comunity ? How many replies to questions at The Monastary are use strict.. enamble warnings.. ...
-
Improving Perl's documentationHaving high quality documentation seems crucial for a programming language's acceptance in many environments. While the content of Perl's documentation is great, its structure, organisation and general layout could be vastly improved.
The basic POD format used for Perl's documentation is too simplistic, providing no support for tables.
It is not possible to obtain high quality print documentation either--sure, a man page can be converted to PostScript, but the result still doesn't look very professional. This node on PerlMonks also discusses these issues for anyone who is interested.
So, do you consider Perl's documentation to be a limitation to its more widespread acceptance? Could you use your considerable influence in the Perl world to start a new drive towards improving documentation?
-
Re:You don't need hardware to try this at home...
This program is sort of a hack, as I wrote it quickly. It's not neat OO code, but it does seem to work.
Crap. I can't even post it on Slashdot due to the lame lameness filter which the trolls seem to have no problem circumventing.
I couldn't post it on Slashdot, so I posted it in the Monastery.
-
IRC to web site 'bot
Like many a 'bot writer, I wrote a 'bot that seems to do everything their patent describes, *if* IRC is considered an IM.
This was written over 2 years ago (although I didn't post it's existence until Dec of 2001). The demo is not currently running, but a "production" version is. I do have IRC logs that go back to the original inception, plus access to the logs of about a dozen users.
Can this be used in a prior-art refutement of their patent?
--jcwren
-
Might be fun to give the lowest cnet rating ever
Similar to the Perlmonks Vote for Paco campaign, this might be a chance to give a spy/adware product the lowest cnet rating ever!!!
-
Some I like...Here are some links I like to keep handy -
People
Richard Stallman -
Eric S. Raymond -
Larry WallLinux Programming
Linux Programming Resources -
Kernel TrafficUnix
Unix Review -
Sys Admin -
Art of Unix ProgrammingProgramming Methodologies
Extreme ProgrammingC Programming
Programming in C -
Standard C -
C Library Reference -
GNU C LibraryC++ Programming
David Beech's Introduction to C++ -
C++ for C ProgrammersPerl Programming
Perl Doc -
Perl Monks -
Perl.com -
VMS Perl -
Use PerlNetwork Programming
Beej's Guide to Network ProgrammingOpen Source
Open Projects -
Sourceforge -
Slashcode -
The Cathedral and the Bazaar -
Visit the Monastery
Perlmonks is by far the best Perl resource. And in my opinion, it's one of the best of any programming site. For a similar site aimed at Java, try out JavaJunkies.
-
Perlmonks
Let me plug my favorite developer site: Perlmonks: the online community of Perl developers. Don't come expecting your hand to be held, but a little effort will be repaid several times over. Very many nice, knowledgeable people.
-
PERL MONKS
Quite possibly the best website for perl programers.
perlmonks.org -
Re:This is akin to Perl Harbor
I don't think the Japanease were dropping things like this on Hawaii, but hey I could be wrong
:)
-
Re:This is never what software libre stood forConsumers (obviously) WANT a service like this
Some non-mainstream outfits provide this kind of service. TV Azteca allows people to watch streaming versions of their telenovelas and other content they generate for a nominal fee, for example.
It's all in Spanish, mind you. Edgar David Villanueva Núñez may enjoy this content, however.
- Sam
-
Re:Perl's had it's day - It's become like COBOLI totally disagree, and I think your statement shows a lack of knowledge of Perl and the Perl community.
I've looked into Python and Ruby, and they're both excellent languages, but whatever you can do in those languages you can do in Perl *and* you have the entirety of the CPAN at your disposal. Gadzooks! Can anything beat "perl -MCPAN -e 'install Template'"? Perl is a language I come back to over and over again because it is the best language for the job.
I think Python and Ruby tried to take ideas from Perl and improve upon them. This would make changing languages a good forward-looking strategy if Perl were a static language.
But, as Larry is showing with the Perl 6 Apocalypses, it is an incredibly dynamic language with a dynamic community (check out PerlMonks) and the community leadership is not afraid to make changes (some of them radical) that learn from past critiques and produce a new and exciting environment.
While it's not as new (and hence doesn't have the hipness factor -- don't fall for the hype) of the other languages, as opposed to sinking into the category of an also-ran to Python and Ruby, I think Perl will continue to lead the charge that these languages will follow.
I hope all three languages continue to thrive. By competing in similar mindspace, they will only improve each other and lead to a better environment for each of their respective communitites.
And I believe that for years to come, I will continue to come back to Perl because the leadership is seasoned and smart, it is continuing to improve and expand, and because it will simply continue to be the best language for the job.
-
perlmonks
-
* To the EditorsThe link to the Perlmonks article includes two cgi parameters. You do not need the lastnode_id parameter, it will just use up more cpu and take longer for people to see the page.
It works fine if you just use the latter node_id parameter, as here
It would be nice to see more links to PerlMonks, and Perl articles in general. As far as I know CPAN is probably the biggest group of modules built by a single programming community which actively mixes and matches them. While there isn't one brain to it, PM is the best place I think to talk about them. Thanx
mattr
-
Re:What web services were meant to be?
Or an in-browser app that automatically Google-linked everything in a page? Like M$'s proposed auto-linking, but populist. True hypertext.
Good luck! Don't count on feeling lucky d;-) -
/.ed
Wow, you guys managed to get Perl Monks slashdotted. It's completely gone already, just a few minutes after the story was posted. It's scary what a big thing Slashdot has become. Maybe it's time to move on to a better place.
-
This hurts like... H-E-double-hockey-stick...
Most of the people on PerlMonks know me as Necos. Personally, I think that most would agree that this sucks for all of us that do open source development. tilly has helped out a lot of us at Perlmonks with suggestions and code snippets (where applicable). To lose tilly's insight is not only a loss for Perlmonks users, but for Perl coders and OSS developers everywhere. My best goes out to tilly. I hope that he can somehow get out of this bind.
-
Most of Matt Wright's scripts are unsafe
They are easy to install and convenient. Therefore people think they are good. But they are not, they are badly written.
For details you can ask for details on PerlMonks.