Better HN
topnewbestaskshowjobs
Log inSign up

kanatohodets

48 karma · joined Nov 6, 2012 (14y ago) · 16 submissions

Submissions

comment 10y ago · link · parent

I landed my current job after being contacted from my "Who wants to be hired?" post. I'm not exactly a rockstar ninja, but I was pinged by multiple people: a pleasant surprise and a welcome change from the online job application robo-filter/recruiter dance. Absent a concrete lead, I plan to post there again next time I'm looking for work.

comment 10y ago · link · parent

Perl has distinct operators for string concatenation and numeric addition (as well as string comparison/numeric comparison):

  $ perl -E 'say "plus: ", 1 + "1"'
  plus: 2
  $ perl -E 'say "concat: ", 1 . "1"'
  concat: 11
There is some type funkiness: a Perl variable can have both string and numeric components. However, which one is in use is only a problem in serializers (JSON, etc.) -- in normal usage you can rely on choosing the right operator for the type at hand.

comment 11y ago · link · parent

If a bit of self promotion is allowed, check out https://github.com/spring1944/spring1944. It's an RTS, so a little more action oriented than the (typically) more detailed turn based wargames, and a bit larger scale than something like company of heroes, but hopefully fun.

Players tend to be around in the evening GMT. Contributions weclome, either in player-hours or pull requests -- hacking in Lua, primarily, with some supporting tools/infra in perl and python.

comment 12y ago · link · parent

Gogs uses a mix of GoGits, a partially Go implementation of git, and the traditional git binary via os/exec. A quick scan shows that it relies on the binary for perhaps the majority of tasks.

Another project I'm aware of that aims to re-implement git in go is https://github.com/kourge/ggit, which looks promising but has been slowing down, activity-wise.

comment 12y ago · link · parent

Location: Midwestern US, targeting Europe.

Remote: Potentially, but I'd probably just move to you if you're in a neat place.

Willing to relocate: If it involves crossing an ocean, yes, absolutely. Native English speaker, professional level Russian, delighted to have a reason to learn others.

Technologies: Perl, PHP, node/browser js, Go, Lua, rusty Python | MySQL, Nginx, Redis, Chef, Nagios, mild AWS, mild ElasticSearch

Resume: happy to send on request. work: https://github.com/kanatohodets

Email: benjamin.tyler+hn@gmail.com

I'm closing in on two years as a full-stack (emphasis backend) web developer/junior devops type, and I'm looking to mix it up a little bit: something in the direction of systems programming, tool development/more serious DevOps, or programmatic data crunching would be very exciting. That said, I'm open to all sorts of experiences, and look forward to hearing from you -- especially if you can land me overseas.

Some of my recent personal projects include:

  * a special-purpose sshd for serving git traffic using go and the crypto/ssh package (no crypto code from my hands, honest)

  * failure mode, a tool for burn-testing web apps against external conditions (latency, packet loss, etc. -- similar to the Simian Army at NetFlix)

  * year seven as one of the lead developers of Spring: 1944, an open source RTS game.

  * documentation for Perl 6
I can get into detail about $work projects if we end up chatting. Thanks!

6.

Reactive Programming in Perl 6 (slides)(jnthn.net ↗)

2 points · by kanatohodets · 12y ago · discuss

comment 12y ago · link · parent

Check out http://mojolicio.us/ for a more modern take on web dev in Perl -- the most common deployment is a nginx reverse proxy in front of the built-in (non-blocking and preforking) web server -- just like suggested setups in node/python/ruby/etc.

One cool bonus that mojo provides is hot deployments, so there's no need to restart the server process to get new code.

comment 12y ago · link · parent

It's even crazier/cooler than that: https://metacpan.org/pod/release/BOOK/perlsecret-1.005/lib/p... -- lots of (mostly harmless/golf-oriented) fun with combining perl operators.

9.

Perl 6 on the JVM(perl6advent.wordpress.com ↗)

4 points · by kanatohodets · 12y ago · discuss

comment 13y ago · link · parent

Interesting to think about the sorts of cultural markers that other languages have. Maybe this is just another way of saying 'code smell', but there must be similar elements for JS/Ruby/Python (for example) where it the code isn't strictly 'wrong' (or even debatably wrong), but is still clearly indicative of a particular cultural approach towards coding in that language.

Like overriding Array.prototype.push in JS - it might be just fine, but I tend to pause and re-evaluate my attitude towards the code when I see that going on, because it's a very different approach to coding in JS than I personally use.

comment 13y ago · link · parent

Great article! Wish I'd found it a few months ago when I was reading HOP and trying to wrap my head around subroutine installation using globs.

One of my favorite design elements of perl is the ability to lexically declare "Ok, now for some magic!" (aka "no strict 'refs';") while keeping strict checking in effect throughout the rest of the code.

comment 13y ago · link · parent

Well, the goal is to make sure that the plentiful modules on the CPAN (all in Perl 5) are usable for everybody involved. You're right, directly mixing Perl 5 and Perl 6 isn't likely to be a common usage - at least, doesn't seem that way to me.

comment 13y ago · link · parent

Judging by the ample supply of version number rimshots, some clarification might be helpful: this isn't a Perl release, nor is it a new Perl version. It's the name of a general project in the Perl community to try to decouple Perl 5 the language from perl the runtime, and hopefully achieve interoperability between Perl 5 and Perl 6 code in the process. Perl 5 and 6 are distinct languages in the same family, much like (for example) Common Lisp vs Racket Scheme, which is why interop is an interesting and worthwhile goal.

There are some really cool things happening in the specific projects on the linked page, if you're into compilers and VMs.

comment 13y ago · link · parent

It's a list of projects all loosely oriented around untying Perl 5 the language from perl the runtime. Perl 6 has already done this, with several (Parrot, JVM, Mono/.NET) VMs currently working fairly successfully, if a tad slowly still.

Personally I'm most excited about perlito (which features perl 5 compiled to javascript, among other things) and p2, which promises to be a super-speedy rendition of Perl 5 based on why the lucky stiff's last public project, the Potion language/VM.

The idea, as I understand it, is that if both Perl 5 and Perl 6 are running on the same VM, they can share library code on the level of that VM's bytecode.

All of that said, perl the runtime remains actively maintained and improved. End Perl users are just going to have some choices, much as Ruby users have had for a while (JRuby vs MRI, for example).

comment 13y ago · link · parent

For the folks who struggle with Lua's language design: try thinking of it like Crockford's Good Parts of Javascript with a slightly different syntax (and arrays/objects rolled into one, the table). Generally speaking, once you've moved past the default indexing from 1, that analogy works out pretty well -- even down to how to set up more object oriented designs (js prototypes and Lua metatables/metamethods are rather closely related ideas).

LÖVE is a very fun engine, much easier than PyGame to get going - in both setup and development terms.