Better HN
topnewbestaskshowjobs
Log inSign up

mbue

93 karma · joined Jul 21, 2013 (13y ago) · 22 submissions

Submissions

comment 6y ago · link · parent

Appreciate the compliment. :)

comment 6y ago · link · parent

Yeah, that was the idea. Just a language for fun and specifically for code golf (solving programming problems in as small a program as possible). In the case of Retina, it turned out the language is actually pretty useful for throwaway scripts for string manipulation, so I actually am using the language while working occasionally, but that was definitely not a design goal. :D

comment 6y ago · link · parent

Yeah, it really is surprisingly similar to sed. "Surprisingly", because when I first designed the language I knew nothing about sed, and I still know very little (but I've seen people convert programs between both languages in a fairly straightforward manner).

comment 6y ago · link · parent

FWIW, they're usually called esoteric programming languages/esolangs, but I'm not a fan of that term. That's why I've been using "recretional" instead. :)

comment 6y ago · link · parent

Hi, author here! Thanks for the feedback. I'm not in charge of Try It Online, so I can't do anything about filling it with code by default, but as someone else noted, there is a Hello World button, which fills in a (very trivial) snippet.

There also a bunch of examples with tutorial-like explanation in the Examples folder.

I'll think about adding one example to the main README though, just to really put people off of looking further into the language. ;)

While I'm here, in case anyone does actually use the language and find it to be useful, I also wrote a VS Code extension that lets you use it as a powerful search-and-replace alternative: https://github.com/m-ender/vscode-retinate

6.

Why is 1-1/(1-1/(1-…)) not real?(math.stackexchange.com ↗)

2 points · by mbue · 10y ago · discuss

7.

The Programming Language Quiz(codegolf.stackexchange.com ↗)

2 points · by mbue · 11y ago · discuss

comment 11y ago · link · parent

(I am not affiliated with Dinosaur Games in any way. Just a fan of the game.)

> (Incidentally, branding aside, this article piqued my interest in the game. Is it worth a play?)

I've been playing the game on and off for a month or so (since their A Pixel Artist Renounces Pixel Art post went viral). I think it's really nice. From what I've read they wanted to create a game with simple rules and lots of emergent complexity, and they definitely succeeded with that. Even without a story mode, it's quite engaging, and self-balancing (the difficulty level rises the more you win but goes down again if you start losing too much). There are still a few flaws, but nothing jarring, and I think the developers are aware and are still actively improving the game. I'd really like to see their ongoing Kickstarter to succeed (which would add an actual story mode and some other things), but unfortunately it's not looking promising so far. With or without the story mode, definitely worth a shot!

9.

Indie Artist Struggles with Branding So You Don’t Have To(dinofarmgames.com ↗)

37 points · by mbue · 11y ago · 14 comments

10.

Indie Artist Struggles with Branding So You Don’t Have To(dinofarmgames.com ↗)

2 points · by mbue · 11y ago · discuss

11.

Approximating images with Voronoi diagrams(codegolf.stackexchange.com ↗)

58 points · by mbue · 11y ago · 11 comments

12.

Programming Languages through the Years(codegolf.stackexchange.com ↗)

1 points · by mbue · 11y ago · discuss

13.

Lab Rat Race: an exercise in genetic algorithms(codegolf.stackexchange.com ↗)

14 points · by mbue · 11y ago · discuss

14.

DJ Glove Prototype(youtube.com ↗)

2 points · by mbue · 12y ago · discuss

15.

Phonopath(phonopath.com ↗)

1 points · by mbue · 12y ago · discuss

16.

Cops and Robbers: Regex Golf(codegolf.stackexchange.com ↗)

2 points · by mbue · 12y ago · discuss

17.

Killer Whales Learn to Communicate Like Dolphins(acousticstoday.org ↗)

2 points · by mbue · 12y ago · discuss

18.

Mathematical art that fits in 3 tweets(codegolf.stackexchange.com ↗)

2 points · by mbue · 12y ago · discuss

comment 13y ago · link · parent

The problem is, regex flavors differ, and RegexPal uses JavaScript - whose regex flavor is really limited compared to most others (including Python). You should always try to find a tool that uses the regex flavor you are targeting.

comment 13y ago · link · parent

Yes, this is explicitly a tool that uses PCRE via PHP. So I'd expect the behaviour to exactly reflect that of the `preg` suite in PHP... which does not use `u` by default.

comment 13y ago · link · parent

In the quiz, for competitive motivation it would be nice to see if you actually broke the current record on a quiz. Right now, there's no way to tell, whether you just caught up with the current record holder, or whether you've set a new one. ;) Otherwise, great update!