HNHacker News
TopNewBestAskShowJobs

zoffix222

363 karma · joined October 5, 2015

submissionscomments
zoffix222··on Ask HN: Why hasn't Perl 6 taken off yet?
You can use Perl 5 modules via Inline::Perl5.

And "tens of thousands" doesn't sound like a lot to begin with TBH...

zoffix222··on How to get people who installed a leaked build to stop using that build?
The article mentions none of the evidence this strategy actually worked at all. Is it all just conjecture or are there more articles/evidence supporting this technique?
zoffix222··on Mojolicious 7.0 released: Perl real-time web framework
<3
zoffix222··on Wow, Perl 6 [video]
Yes, I guess that makes sense. But I think in a 1.5hour talk, many of those questions will be forgotten by the end, so I rather they get asked right away. Especially in a small gathering of 20 or so hackers, most of which know each other.
zoffix222··on Wow, Perl 6 [video]
Only to my slides: https://github.com/zoffixznet/TPM-2016
zoffix222··on Wow, Perl 6 [video]
You read a piece of code many more times than you write it, so even if an extra keystroke is needed to make the code more readable, it's worth it, IMO.

But, I find it very easy to type all that fancy stuff with XCompose sequences. My keyboard also has a bunch of media keys I never use, so it's probably possible to map those into the unicode ops.

zoffix222··on Wow, Perl 6 [video]
No, I just took it from another presenter and changed the content of the slides. I believe it's actually a themeable slideshow thingie someone else developed.
zoffix222··on Wow, Perl 6 [video]
If you watch the presentation, you can see those few slides were just used to add humour to a dry technical presenation. There's a huge number of mathematical symbols and physics notations (not to mention other fields) that could use their native symbols in programs.

https://www.youtube.com/watch?v=paa3niF72Nw

zoffix222··on Wow, Perl 6 [video]
I personally use XCompose and I'm eyeing the media keys on my keyboard as potential single-key operators. But you don't have to use fancy Unicode and can just use Texas variants.
zoffix222··on Wow, Perl 6 [video]
If you watch the actual presentation, that slide was there to make people chuckle. It worked: https://www.youtube.com/watch?v=paa3niF72Nw
zoffix222··on Wow, Perl 6 [video]
Author here.

Never would've thought my slides I used for a presentation to 20-something people would make it to front page of HN...

You can watch the actual presentation here: https://www.youtube.com/watch?v=paa3niF72Nw I also wrote down the answers for questions that came up during the presentation here: http://blogs.perl.org/users/zoffix_znet/2016/03/wow-perl-6-t... (I now updated to include these in the slides too)

And to respond to some commenters, yes, some features (like the shrug operator) were presented in a humorous fashion. No one's advocating you actually make your code look like an orgy of emoticons. I didn't use PPT for the slides, because I like the freedom of needing only a browser to display the slides. They weren't really meant for public consumption, thus the UI is not entirely obvious.

I'm unsure why the person who posted this on HN posted only the slides and not the recording or the blog post. But I have no control over that.

And if anyone has any more questions, you can join us on IRC at irc://irc.freenode.net/#perl6

Cheers.

zoffix222··on Wow, Perl 6 [video]
Interesting observation. In practice, I found coding in Perl 6 is much faster than in Perl 5, for example. One of the programs I converted was half as short. On the contrary, it's expressiveness let's me focus on the problem instead of trying to figure out whether my large loop of code is in order.

English is an expressive language as well, but I don't become paralyzed writing this comment.

zoffix222··on Get an unbiased opinion on if you should get out of bed
That's what the balcony is for.
zoffix222··on Get an unbiased opinion on if you should get out of bed
Ehhh... so it's a weather website? What's that got to do with whether I should get up >_<
zoffix222··on Meet Brain, the AI Engine That Wants to Replace Search
Their logo and "sample user profile" pic really bother my programmer's brain. Unmatched parentheses everywhere!

The idea is a bit scary, though. Giving up to some app not only your current and past information, but all your goals and ambitions—essentially all of who you are—and then relying on the app to essentially do a lot of thinking for you.

If this thing works, it would be a gold mine for the advertisers to plug in their products as something you really want. "[...] it could devise an ideal workout regimen for the marathon..." Ideal according to whom? Some gym that paid for advertisement?

This is a very interesting issue how this sort of AI is literally akin to giving up a part of your mind to third parties. And if someone's thinking FOR you, the biggest question stands: what protection from malice do you retain?

zoffix222··on Ask HN: Is Python dying?
Yes. Join the club.

Sincerely, Perl Programmers :)

zoffix222··on iPhones 'disabled' if Apple detects third-party repairs
I think I can infer an answer to my own question from this article: http://www.theguardian.com/money/2016/feb/05/error-53-apple-...

Apple's response was this is due to security stuff with the touch ID sensor and since my iPad doesn't have one, it shouldn't be affected.

zoffix222··on iPhones 'disabled' if Apple detects third-party repairs
That's deeply troubling. Does this issue affect iPads too? I have one I got at work I had the screen repaired on at the mall. It's bugging me to update the OS and now I'm worried it'll lock up just the same :S
zoffix222··on How to fix JavaScript… maybe
> "Developers create new libraries because they hate other developers style choices."

Haha, that is so me :)

I think you're onto something here: I see the same proliferation of libraries that do almost the same thing in both Perl languages and Perl does chant the mantra of 'there's more then one way to do it', which does result in vastly different coding styles.

zoffix222··on Ask HN: What did you achieve in January 2016?
Quit drinking. After several years of battling alcoholism.
zoffix222··on Ask HN: How happy are you working as a programmer?
I think it's a job like any other. There are days when you hate it; there are days when you love it. One thing I do notice is I actually do programming on my own time, coding my own projects. And on bad days at work, I wish I could instead work on my own projects (so it's not programming per-say I dislike). I guess the same idea works for a carpenter or an electrical engineer; it's a lot more about where and for whom you do the work than work itself.

Programming, however, is definitely a field where you can learn the profession and get a job making good money without getting formal education. I notice a lot of recruiters are more interested in your passing a sample test or viewing your past projects than necessarily with your University diplomas and certificates.

zoffix222··on Perl 6 Released
I think you've missed the point: you can program in your native tongue. I think the expectation is a Russian company would not care whether you can type their variable names :P
zoffix222··on Perl 6 Released
Thank you!
zoffix222··on Perl 6 Released
No idea :) In my 16-year programming career I never used a REPL of any sort. Just pop up a temp file and edit it with $editor-of-choice? XD
zoffix222··on Perl 6 Released
I don't think Perl 7 will be a thing in anyone's planned future. There are now two languages in the Perl family: Perl 5 and Perl 6. Perl 5 is still developed, has yearly releases and feature additions. Perl 6 is a brand new language that just had its first release. There is some history involved in why it took 15 years and why it's named "Perl" and not something else, but it's an entirely new language.
zoffix222··on Perl 6 Released
Something I see no one mentioned, dashes (and apostrophes) aren't the only neat thing you can use in term names. You can use other languages too. $контрольная-работа is a valid variable name.
zoffix222··on Perl 6 Released
Use the space, Luke ;)
zoffix222··on Perl 6 Released
I think you may want to install the module called Linenoise. If you have panda (Perl 6 module installer), just type panda install Linenoise and you should be all set. https://github.com/hoelzro/p6-linenoise
zoffix222··on Perl 6 Released
The 20-year-old Ruby and Python were brand new at some point in time too. It's a bit silly to declare the current crop of languages to be with us forever. I can already notice where being a brand new language makes Perl 6 address new inventions in the past 20 years much better: superb Unicode support and getting concurrency by simply using .hyper/.race methods, not to mention grammars and autothreaded junctions. This looks pretty revolutionary to me.
zoffix222··on Perl 6 Released
I found dashes are by far easier to type than underscores and I'd certainly have whitespace between operators in my code, so I'd never run into the problem you describe. It is possible to have variables without sigils and in that case, your first example would be a parse error about undeclared users-churn-rate. Also, apostrophes are valid in variable names as well.
← PreviousPage 2 of 3Next →