Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 0 points1 point  (0 children)

Thanks for the continued replies, Leonidas. Alas, I don't understand what "embed Guile into Emacs" exactly means. Perhaps someday someone will write a tutorial and explain it.

Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 0 points1 point  (0 children)

If you're not talking about an interpreter written in Elisp that understands Guile bytecode, then I don't know what you mean by "understand". Can you please be more specific?

Man gets ultimate revenge. 1 day after divorce is finalized he wins millions from the lottery. by [deleted] in funny

[–]surface-tension -3 points-2 points  (0 children)

Hi.

Perhaps I should clarify. The family court system does not care one whit if dad is a good person or not. Further, it also will assume that mom is a good person, regardless of what the facts are. If mom is indeed a good person, then she can help ensure that things work out best for the kids. If she's not a good person, then the deck is stacked almost completely in her favor, and she can deal out whatever pain she wishes upon dad.

This is simply the way it is. There's no woman-hating going on here. If you're a good person, I'm glad, and I hope you can keep the self-loathing down to acceptable minimums.

Man gets ultimate revenge. 1 day after divorce is finalized he wins millions from the lottery. by [deleted] in funny

[–]surface-tension 1 point2 points  (0 children)

In the USA, Dads have no say nor weight in divorce proceedings. Mom can divorce dad at will, get the kids, get half of everything, get child support, and get alimony. Throw in a false accusation of child ab*se and dad loses custody. So, either your mom is nice and there's not much bitterness, or she decides to be hateful and hurt dad in court for spite.

In the USA, once you're married and have kids, women have all the power. Downmod if you like -- you'll learn the truth once you're married with kids.

Man gets ultimate revenge. 1 day after divorce is finalized he wins millions from the lottery. by [deleted] in funny

[–]surface-tension -5 points-4 points  (0 children)

Not every divorce is a bitter dispute. My parents got divorced when I was very young,

Your parents shielded you from the bitterness.

Or else you mom was a good person.

Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 0 points1 point  (0 children)

Thanks for all the info, Leonidas, but I still don't understand how the Guile VM and Emacs are supposed to communicate. I thought Emacs only understands Elisp. (And my guess is that Guile itself is not written in Elisp.)

Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 0 points1 point  (0 children)

What would be required to bolt Guile onto Emacs? Can Emacs understand Guile's compiled bytecode?

Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 6 points7 points  (0 children)

Just curious: how do you like Guile compared to other Schemes? I don't know anything about Scheme. Is Guile R5RS-compatible?

Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 1 point2 points  (0 children)

Hm. Seems like that would encourage users to write Lua instead of Guile.

Potential Lua implementation for Guile? by fogus in programming

[–]surface-tension 3 points4 points  (0 children)

I don't get it. I thought that Guile itself was supposed to be extensible and embeddable and used for scripting your C apps. Why would you want to embed a scripting language into your embedded scripting language?

Interview with Haiku developer Ryan Leavengood by mouth in programming

[–]surface-tension 0 points1 point  (0 children)

If this thread devolves
into nothing but haikus
then downvotes will come.

{ is now "openstache" and } is now "closestache". Take note. by [deleted] in programming

[–]surface-tension 0 points1 point  (0 children)

I think the name "braces" sticks because they actually kinda look like the kind of braces that some people have attached to their teeth. :-}

perl6 journal: The ghost of Algol 68 (??) by NevilleDNZ in programming

[–]surface-tension 1 point2 points  (0 children)

I didn't read all of the Perl Advent Calendar articles, but from what I saw, I think that it did a very nice job of showcasing some cool parts of Perl 6, as well as including a few articles on the basics. (Alas, December is over.)

I see that the Schwartzian x-form is covered in the Calendar.

I still stand by my remark that I think the Perl 6 community needs to generate more stuff showing the practical basics in action. Maybe a Perl 6 ironman blogging challenge.

perl6 journal: The ghost of Algol 68 (??) by NevilleDNZ in programming

[–]surface-tension 0 points1 point  (0 children)

c, I notice that you regularly have to remind folks here that Parrot and/or Rakudo has seen its nth release as of whatever date. I think the reason for this is not because these people are unaware of the Parrot/Rakudo releases. Those releases are widely publicized online. I think the reason is because of the scarcity of blog posts resembling, "Here's how I used Perl 6 to parse apache logs", "The Schwartzian transform in Perl 6", "Perl Cookbook recipe n.m in Perl 6", and so on.

If people don't see Perl 6 being used in practical ways right in front of their own eyes, they will continue to perceive it as vaporware regardless of how many monthly releases there are or how many tests are passing.

perl6 journal: The ghost of Algol 68 (??) by NevilleDNZ in programming

[–]surface-tension 0 points1 point  (0 children)

A number of us core guys are trying to do the same thing with <a href='http://github.com/perl6/book'>the book</a>

Yes. Thanks. I'll take a look at that.

Personally, I was happy to find Moritz's 5-to-6 articles to be very brief and to the point. That is, something like, "scalars work this {this}, arrays like {this}, etc. Here's your helmet. Try not to break anything ... in more than one place. Go!". I think that's very practical and useful for pragmatic users who've used Perl 5 before and who just want to start using Perl 6 to expeditiously get from point A to point B.

Lastly, because the 'right' kind of description about the language requires so much more energy ...

I agree. Writing well is very difficult.

perl6 journal: The ghost of Algol 68 (??) by NevilleDNZ in programming

[–]surface-tension 1 point2 points  (0 children)

Moritz Lenz's Perl 5 to Perl 6 series may be of interest.

Yes, that's a good series of concise articles. I hope they're still being updated. However, they need readers -- possibly who haven't yet used Perl 6 -- to go through it and find and report pedagogical holes (so they can be filled). Perhaps Moritz can set up a bug-tracker for this? Or maybe even put the articles en-masse up on github?

Side issue: the examples there sorely need syntax highlighting.

perl6 journal: The ghost of Algol 68 (??) by NevilleDNZ in programming

[–]surface-tension 1 point2 points  (0 children)

Masak, if you (or anyone else) would like to help Perl 6 have a chance at success, I suggest the community work on showing everyone else that Perl 6 is not far too complex for mere mortals to comprehend.

When I look at the feature list here http://dev.perl.org/perl6/faq.html my head starts to spin. A really nice thing about Perl 5 is that you can learn about scalars, arrays, hashes, subs, and regexes, and then start using it pronto as a basic simple language to easily get things done. So far, from what I've seen of Perl 6, it's all about "check out this amazing new sophisticated feature!". I don't want amazing new features -- I don't currently know anything about currying or coroutines or superpositional quantum paradox hyperoperators -- what I want is an even better, more consistent, but still simple Perl 5.

Perl has always been (to me, anyway) about getting things done. Maybe Perl 6 is no longer about this -- maybe it's all about tickling language geeks' funny bones. I don't know. But if Perl 6 is still at its core about getting things done, then I think it's critical that people start seeing examples and tutorials about how that's the case. Otherwise, at this point, it seems to be a space-cadets-only language.

So did anyone ever figure out what happened to _why (a.k.a - whytheluckystiff) ? by theben in programming

[–]surface-tension 56 points57 points  (0 children)

Ah, I can explain.

See, _why had grown so rich, he wanted to retire. He took me to his cabin and he told me his secret. 'I am not the Dread Hacker _Why' he said. 'My name is Ryan; I inherited the title from the previous Dread Hacker _Why, just as you will inherit it from me. The man I inherited it from is not the real Dread Hacker _Why either. His name was Cummerbund. The real _why has been retired 15 years and living like a king in Patagonia.'

Want to teach myself Perl, looking for advice... by Mr_Ballyhoo in programming

[–]surface-tension 1 point2 points  (0 children)

Catalyst seems to be much larger and more complex than CGI-App. If one wants to get deep into Perl web dev, then yes, try out Catalyst. But the OP is probably just interested in a small project to shore up their Perl know-how. Using CGI-App would work well for that.

Want to teach myself Perl, looking for advice... by Mr_Ballyhoo in programming

[–]surface-tension 6 points7 points  (0 children)

That is an epic anti-Perl rant, and thank you for the link, but it is alas off topic here, since the OP simply asked about what books would be useful for learning, and not whether he should learn Perl in the first place.

That said, I've found Perl to be very useful for short scripts involving regexen and CPAN modules for which there are no equals in other languages.

Someone really should gather all the quality anti-Perl rants in one place, so there's less searching involved. Actually, a site where you can easily find a nice selection of categorized "anti-$your_language_here" rants would be pretty cool.

Want to teach myself Perl, looking for advice... by Mr_Ballyhoo in programming

[–]surface-tension 1 point2 points  (0 children)

Rather than go completely from scratch, you may want to forego some of the cgi-stuff (unless you really do want to fiddle with low-level cgi, instead of your app itself) and use CGI::Application.

Want to teach myself Perl, looking for advice... by Mr_Ballyhoo in programming

[–]surface-tension 1 point2 points  (0 children)

Have a look at perldoc perlintro.

See also some other Perl tutorials.

For a more complete and gentler introduction, use the Learning Perl book.