Brian Wisti
- Website: randomgeekery.org
- About: I'm a geek in Seattle. I write code. I enjoy writing about code, regardless of whether anyone else reads it. I also knit.
Recent Actions
-
Commented on On Codifying Conduct
It seems obvious to me. Then again, I learned in my first week programming that the obvious stuff is what goes horribly wrong in ways that are hard to track. I like this baseline....
-
Commented on Discoverable tests and creating testing standards
I like it. Reminds me of ZenTest for Ruby - specifically, the material in this article. It's been a while since I used ZenTest, though. The resemblance may be coincidental....
-
Commented on Think Python in Perl 6 Chapter 4: Interface Design
What the what? I have *got* to start spending time on IRC. Thanks for sharing....
-
Commented on Think Python in Perl 6 Chapter 4: Interface Design
It may be a while before I pick this specific topic back up. Lots of digging into both Mojolicious and Perl 6 as attention span demands. There's the issue that I'm capable of much more polished and well-researched writing than...
-
Commented on Think Python in Perl 6 Chapter 4: Interface Design
Right you are! I'm not sure where I got confused on the syntax....
-
Posted Think Python in Perl 6 Chapter 4: Interface Design to Brian Wisti
It is time for Chapter 4 of Allen Downey’s Think Python refashioned in Perl 6. I just needed some time to make a simple wrapper for his
-
Commented on Swampy.pm6
Oh I did read the comments. They were very helpful. I'll definitely explore the debugger and perl6-debug. Thanks for the tip!...
-
Commented on Think Python, But Perl 6 - Chapter 3: Functions
If I was writing "Think Perl 6" I would probably change some of the approach. For starters, I would need to talk about objects a lot earlier than in the Python version. I would also probably fiddle with the wording...
-
Commented on Swampy.pm6
Found and fixed. They just got dumped in the Spam bucket and I received no notification for them. I'll have to be more attentive in the future....
-
Commented on Swampy.pm6
Very odd! I see a couple of comments under the Variables chapter, but that's it....
-
Commented on Swampy.pm6
Those were my thoughts, along with something about Perl being a great glue language....
-
Posted Swampy.pm6 to Brian Wisti
Last night I reached chapter 4 of Think Python, which is full of good old fashioned turtle graphics stuff.
It’s just - well - there’s a problem. I don’t think there is a port of the swampy library to Perl 6. I could write one, but that…
-
Commented on Think Python, But Perl 6 - Chapter 3: Functions
When I get far enough along to turn my notes into thoughts, I plan to put those thoughts on my own site. My Perl 6 efforts at this point are too jumbled even for that....
-
Commented on Think Python, But Perl 6 - Chapter 3: Functions
It's a little bit of both, actually. `elems` is a typo on my part. The actual code I wrote used `chars`. Before I go editing that post: would that make it more Unicode-friendly, or would I only muck it up...
-
Commented on Think Python, But Perl 6 - Chapter 3: Functions
Thank you! Yes, I can do that....
-
Commented on Think Perl6-ish Variables, Expressions, and Statements
Thanks for the notes. I figured if I started posting some simple stupid code I'd start getting suggestions about how to make it a little less stupid. Did you mean '$principal'? That is very cool. Looks like I need to...
-
Posted Think Python, But Perl 6 - Chapter 3: Functions to Brian Wisti
On to chapter 3 of Allen B. Downey's Think Python book, as interpreted through Perl 6.
-
Posted Think Perl6-ish Variables, Expressions, and Statements to Brian Wisti
Continuing the Perl 6 adventures with Allen B. Downey's Think Python book.
-
Posted (my $title = "Think Python") ~~ s/Python/Perl 6/ && $title.say; to Brian Wisti
I'm rereading Allen B. Downey's Think Python, but this time with an eye for writing the equivalent code in Perl 6. I am not sure how deep I'll dig into this, as I am limited by spare time and tools from the book like Swampy would have to be made accessible…
-
Commented on Perl 7 - Final Thoughts
All I know is that I still like Perl\s?(?:5|6). Even after all this fuss. Even after subscribing to p5p, which means I need to adjust an earlier hypothesis of mine about only liking Perl if I ignored the community....
-
Commented on Perl 7
Bah. That was supposed to be "2013.month-name" - me and my love of pointy braces....
-
Commented on Perl 7
I like Damien's idea of "Perl 2013.[1,2,3,4]", or maybe "2013.". I mocked Sun for changing their numbering scheme back in the day, but the pattern did end up working well for them. Probably don't want to wait on developing a...
-
Commented on 10 years of programming perl
It goes by surprisingly fast....
-
Posted My Main Perl5 Project Is Also My Main Parrot Project to Brian Wisti
I've been trying to find time to work on parrot-handler, a parrot management tool in the spirit of perlbrew and
-
Posted Oh hey to Brian Wisti
So it's been over a year since I posted anything here. I've been working on Perl code at a big company, and I've mostly been enjoying myself. It's not easy diving into a large legacy application, especially when you have strong opinions about legacy code. But there are plenty of crunchy problems…
-
Commented on Double pressing the on/off button does not do what I expect...
One of the most frequent complaints that I've heard - and saw in the comment thread - is that Perl is inconsistent. I understand why people think this. The rules that Perl follows seem strange to people unaccustomed to ideas...
-
Commented on Quote delimiters
Curly braces `{}` are my preferred quote delimiters....
-
Commented on Testing a blog software
It does indeed work. The more I think about it, the more I like the idea of this site. It's nice to have more resources for finding each other....
-
Posted No Bad Code to Brian Wisti
I am not using Perl at work. I don't know when I will next get a job that gives me the opportunity to use Perl. That's too bad, because I really enjoy working with good Perl code. Notice that I specified good Perl. Unfortunately, a lot of the legacy code that I've seen is bad - painfully…
-
Commented on Because I haven't neglected enough blogs
Heya Aristotle. Gabor, some folks I've worked with think of Perl as antiquated and unreadable. I'm not sure what the issue is, but their perception of the language is different from mine. My suspicion is the only Perl code they've...
Comment Threads
-
Michael G Schwern commented on
Discoverable tests and creating testing standards
I like the naming convention, I try to do that on my projects. Usually I go with one test file per method, especially in untested code methods to too much, so testing
Foo::Bar->thing
would bet/Foo/Bar/thing.t
.I've tried the
can_ok
stubs before, it's whycan_ok
takes a list of methods, and I found it has major drawbacks. It gave the illusion of more test coverage than really existed (caveat, this was beforeDevel::Cover
).For a dev team that isn't sold on the value of testing, it trained the developers to …
-
Michael G Schwern commented on
Discoverable tests and creating testing standards
I add this to my WriteMakefile.
test => { TESTS => 't/*.t t/*/*.t t/*/*/*.t', },
-
mlawren.myopenid.com commented on
Discoverable tests and creating testing standards
After a big search through the (unfortunately not well documented) Module::Install code I found the "tests_recursive" function that does the same thing to the required depth automatically.
-
Ovid commented on
Discoverable tests and creating testing standards
Michael,
Thanks for the thoughtful comments. I'll have to take that into consideration.
-
Aristotle commented on
Perl 7
Yes Jenda, these clearly look like dead projects to me. You’re talking out of your ass. As for your opinion that this supposed failure of the effort entitles you to give the people who are working on it a public “fuck you”, how about a nice big cup of shut-the-hell-up.
Thank you.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.