[HN Gopher] Rockstar: a language for programs that are also hair...
___________________________________________________________________
 
Rockstar: a language for programs that are also hair metal power
ballads
 
Author : skanderbm
Score  : 145 points
Date   : 2021-12-07 18:46 UTC (4 hours ago)
 
web link (codewithrockstar.com)
w3m dump (codewithrockstar.com)
 
| krylon wrote:
| I was excited initially, but Hair Metal is an obvious no-go for
| me.
| 
| Although it could be fun to do "reverse Perl poetry", and find
| Hard Rock / Hair Metal songs whose lyrics are valid Rockstar
| code. That way, we could finally find out what that one special
| song really _means_.                   \m/ (> <) \m/
 
  | kergonath wrote:
  | One band absolutely needs to do that.
 
| hu3 wrote:
| This is how Advent of Code day 7 solution looks like in Rockstar
| [1]:                   My plaything is your mind         Cast my
| plaything into the void              Listen to my heart
| Shatter my heart with the void              Natsuki is frightened
| Yuri is gentleness         Poems are invaluable         Rock
| reality         While my heart isn't mysterious         Roll my
| heart into the world         Burn the world into my hope
| If my hope is less than Natsuki             Let Natsuki be my
| hope              If my hope is greater than Yuri             Let
| Yuri be my hope              Let Sayori be reality at my hope
| If Sayori is mysterious             Sayori is hereabouts
| Build Sayori up         Let reality at my hope be Sayori
| Build poems up              My end is justifying         My
| thoughts are knowledgable         Let the volume be poems over my
| thoughts         My hope is accessible         Turn down the
| volume         Build Yuri up         While my hope is less than
| Yuri         Let my target be reality at my hope         If my
| target is not mysterious             Let the volume be the volume
| without my target              If my end is nothing
| If the volume is less than my end                 Let my end be
| my hope                   Build my hope up              My hope
| is accessible         My passion is literature         My heart
| is courageous         Knock my heart down         While my hope
| is less than Yuri         Let my poem be reality at my hope
| If my poem is not mysterious             Let my fear be my end
| without my hope             If my fear is as weak as my heart
| Let my fear be my fear of my heart                  Let my fear
| be my fear of my poem             Let my passion be my passion
| with my fear              Build my hope up
| Shout my passion
| 
| [1]
| https://old.reddit.com/r/adventofcode/comments/rar7ty/2021_d...
 
  | dane-pgp wrote:
  | That's good, but I was expecting it to contain a wheel rotating
  | in six dimensions, forty gears and a ticking clock.
 
| spikepuppet wrote:
| Hair Metal in the title had me interested, and this didn't
| disappoint. Thanks OP.
 
| pohl wrote:
| Check out this conference talk from December 2019 - "The Art of
| Code" - which culminates in a live performance of Fizzbuzz in
| Rockstar
| 
| https://www.youtube.com/watch?v=gdSlcxxYAA8
 
  | cs702 wrote:
  | Anyway, so I'm watching this hugely entertaining video, only to
  | find that a comment I made on HN about the Rockstar spec a long
  | while ago is on the video: https://youtu.be/gdSlcxxYAA8?t=3226
  | -- totally unexpected. Brought a smile to my face. Thank you
  | for sharing!
 
  | montebicyclelo wrote:
  | (this (very enjoyable) talk is by the author of the linked web
  | site)
 
  | evanchisholm wrote:
  | The art of code is such a good talk. I've watched it a few
  | times and enjoy it every single time.
 
| jamespwilliams wrote:
| > Tommy used to work on the docs.
| 
| Nice
 
| syvon wrote:
| This reminds me of https://shakespearelang.com/
 
| gordaco wrote:
| Nice to see people rediscovering this language from time to time.
| I wrote an interpreter for an early version several years ago,
| just for fun. Possibly my favourite esoteric language. I
| particularly love the philosophy of "if you write even a single
| line of Rockstar, then you can consider yourself a full-fledged
| Rockstar programmer" (I'm paraphrasing, but I remember something
| like that in some official documentation).
 
| ChrisArchitect wrote:
| (2019)
 
  | [deleted]
 
| pluc wrote:
| > The keywords it, he, she, him, her, they, them, ze, hir, zie,
| zir, xe, xem, ve, and ver refer to the last named variable
| determined by parsing order.
| 
| that was funny. let's have more social constructs in programming
| languages!
 
| naltun wrote:
| The author of Rockstar gave a _fantastic_ presentation called The
| Art of Code, where he eventually introduces the language. I
| cannot praise the talk enough. It is available on YouTube.
 
| amildie wrote:
| Thanks, OP, I can finally become that 'Rockstar Developer' that
| companies are always looking for.
 
  | ethbr0 wrote:
  | https://codewithrockstar.com/swag
  | 
  | Also, Def Leppard is still releasing albums? _impressed_
  | https://en.wikipedia.org/wiki/Def_Leppard_(album) (also, cool
  | to have your 11th studio album be your eponymous one)
 
    | saghm wrote:
    | Dream Theater did the same thing for their twelfth album:
    | https://en.wikipedia.org/wiki/Dream_Theater_(album)
    | 
    | Maybe naming things is also one of the hardest problems in
    | rock 'n roll?
 
| leodriesch wrote:
| While it is probably not a very good idea to use this to code, it
| reminds me of something DHH once said about Ruby.
| 
| I don't have the quote, but he said that he just loves the
| language because it is so fun to write for him, despite it not
| being the optimal language. And this alone makes him get into
| flow much more easily and therefore be more productive.
| 
| This alone has made me gain interest in learning Ruby. It might
| be slower than lots of languages out there, but backend computing
| power is often not the main bottleneck in your stack. Developer
| velocity is probably much more important when it comes to
| producing great software and moving fast.
 
  | setpatchaddress wrote:
  | Kind of a tangent, but Ruby-is-slow was always contextual. Ruby
  | was always hugely faster than complex bash scripts for the same
  | task. If you value launch time, Python (at least through 2.x)
  | was always slower from a cold launch compared with Ruby.
 
  | bcrosby95 wrote:
  | This is how I look at vim. I don't think typing speed really
  | matters for development. But I just find it so fun to see how
  | much I can target exactly the chunk of code I want to change.
  | It turns coding itself into a game.
 
  | exdsq wrote:
  | There are cool tools to be more efficient using factory workers
  | such as https://github.com/contribsys/faktory_worker_ruby
  | 
  | I'm keen to pick up ruby too!
 
| Taywee wrote:
| How long before Take-Two Interactive sues for trademark?
| 
| https://ttabvue.uspto.gov/ttabvue/v?pnam=Take-Two%20Interact...
 
  | gbraad wrote:
  | Immediately had the same thought.
 
  | kube-system wrote:
  | The only registered marks for the mark "ROCKSTAR" I see in TESS
  | for Take-Two are in the clothing and apparel industry. So if
  | anything, it's the T Shirts that are the problem.
 
  | seanw444 wrote:
  | Holy cow...
 
| obesacantavit wrote:
| Lol
 
  | qart wrote:
  | That would be here: https://en.wikipedia.org/wiki/LOLCODE
 
| gfalcao wrote:
| I have not laughed to genuinely hard in a LONG LONG time,
| everything about this programming language rocks! (yes I did it)
 
| 0x4d464d48 wrote:
| Hehe, nice.
| 
| \m/
 
___________________________________________________________________
(page generated 2021-12-07 23:00 UTC)