• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "programming languages". Back to normal view
    1. Requesting resources for learning Ruby

      Does anyone here have experience with Ruby programming? More specifically mRuby or DragonRuby for game programming? I came across DragonRuby as free for its 7th anniversary and I’m considering...

      Does anyone here have experience with Ruby programming? More specifically mRuby or DragonRuby for game programming?

      I came across DragonRuby as free for its 7th anniversary and I’m considering checking it out, but I have no experience with the Ruby programming language itself.

      Most of my programming experience recently is in C# and Python, but I have some experience with JavaScript/TypeScript.

      Does anyone know of good resources for learning Ruby coming from that background, or thoughts on if it is worth it to try to pick up?

      I’m not really interested in LLM-based Ruby workflows, at least until I have a decent grasp of the language and syntax myself.

      16 votes
    2. What is your go-to project for learning a new language?

      Ive been playing around with learning a lisp language for a while, and I recently decided to go for it and learn fennel (as I already am comfortable with lua) just to see if I like lisps as a...

      Ive been playing around with learning a lisp language for a while, and I recently decided to go for it and learn fennel (as I already am comfortable with lua) just to see if I like lisps as a class. Normally, I try to do the first 5-10 days of a previous advent of code to pick up a lang.

      Setting up my advent of code environment got me wondering: what projects do other people use to learn new languages/tooling? Id love to hear how other people approach learning a new skill.

      33 votes
    3. Anyone here a LISP/schemer?

      LISP and schemes have always, from a distance appeared to be the best way to write code. I even started my own language that has languished for the past couple years, and it's taken on a...

      LISP and schemes have always, from a distance appeared to be the best way to write code. I even started my own language that has languished for the past couple years, and it's taken on a pseudo-likeness to (scheme)-like languages by accident.

      This brings me to my questions -

      1. How did you start?
      2. Does anyone here do systems-level scheme/lisp? what do you program in for that?
      My why on learning lisp/scheme-like languages, and if anyone knows Chez.

      I find the idea of CLI-inspired languages as one of the best possible ways of writing a language, and lisp is very nearly exactly that, it's just how my mind thinks about code, in a procedural/functional/modular way. This is one of the reasons I adore programming in Odin, as it's a modern systems-level procedural language, but it is not a scheme/lisp-like language. I should note, I abhor working with REPLs, but I can learn to live with it.

      Corollary, as I am sure the audience for this is even smaller, ignore if you haven't a clue - but I am incredibly interested in Chez, for the performance metrics, the systems design, and the whole lot - yet there aren't any real resources other than the manual to learn. As I am not a native schemer, it's almost alien, and a bit hard to get right into and make something useful. Does anyone know of any good resources for this?

      13 votes
    4. Does anyone use AppleScript on macOS?

      I heavily utilize ChatGPT to generate .ics files to populate my Apple Calendar with various events, but I have been wanting to upgrade my time management and also use the Reminders app. I recently...

      I heavily utilize ChatGPT to generate .ics files to populate my Apple Calendar with various events, but I have been wanting to upgrade my time management and also use the Reminders app.

      I recently used ChatGPT to help me populate a Trello board with tasks associated with a project I am working on, but I was getting annoyed with having my workflow split across Apple Calendar and Trello. I exported my Trello board as a CSV and was trying to have ChatGPT turn it into a file I could import into Reminders, but as it turns out, this is not easy.

      .ics files do contain syntax for reminders tasks with due dates that populate the Apple Calendar, but generating an .ics file with only reminders tasks and importing into Calendar doesn’t actually work. Calendar recognizes that the .ics contains Reminders tasks and opens Reminders to import the tasks, but Reminders returns an error because it doesn’t support import, it only supports export to Calendar.

      I found that Reminders has a Reminders.scpt dictionary file within the .app package that details .applescript commands that can create new tasks, so I fell into the world of AppleScript. The issue with AppleScript is that it was created in the 80s and hasn’t been updated since 2013. It has no native CSV support and is pretty clunky.

      AppleScript does have text file support, so I was able to have ChatGPT convert my CSV into a .txt that I could parse with AppleScript. This allowed me to automate the creation of tasks in the Reminders app from my Trello CSV, but it was annoying and I still feel like there must be a better way.

      Does anyone here use AppleScript regularly and know its full capabilities?

      Also, are there any good resources out there for learning more about AppleScript? The Apple documentation is very out of date and it seems like more of a legacy language than something Apple regularly maintains.

      14 votes