I liked the OCaml website
To have an easier time with another language (which the first language’s valid syntax is a superset of) which it papers over the faults of. And usually it’s pretty thin paper.
C and C++?
Needed to write a syntax highlighter for VB.Net but I couldn’t find any weirdly written edge cases online, so I had to make some myself.
I was playing this really simple mobile phone game, where you basically go on these mining trips, then you tap the screen as quickly as possible. So, I thought to myself, I wonder if there’s a way to simulate screen taps, to tap at superhuman speeds.
I found an app for that, this app had its own scripting language. Admittedly, there weren’t many concepts to learn in this language, but wait, there’s more.
Then I thought, maybe I can also automate the menus, between the mining trips.
But this language didn’t have support for multiple files, nor functions, you couldn’t even use labels in your goto statements, meaning my code started to get quite complicated.So, I actually sort of implemented support for goto labels / shitty functions within my program.
Basically, at the start of the file, I had an if-else block, which read the value of a variable and based on that, it would select between different goto statements.
So, if I wanted to “call a function”, I would set the variable to the function/label name and thengoto 0
.If I remember correctly, I did still need to manually update the line numbers in that lookup table at the start, but at least, I didn’t have to do it everywhere in the code anymore.
And yes, I did manage to completely automate grinding that game, using this shitty scripting language.
It was an offline game, and not a good one, I didn’t actually care about making progress in it. But scripting it was significantly more fun than playing it myself.There’s a game called something like “oh no the farmer is gone” which is about programming a little robot to harvest the fields and the programming is built directly into the game
I was trying to rank up in Codewars, and there was a 1kyu (hardest and worth the most points) kata only available in OCaml, so I learned it in order to solve.
To understand memes
I learned lolcode in college because we had to write a sorting algorithm in assembly and “any other programming language.”
Not really a dumb reason, but back in the day I was stuck in the WordPress developer loop and tired of it. I was pretty familiar with a handful of languages, but wasn’t doing much more than setting up themes and building out pages with builders.
One day I heard the CTO talking about a tool he would love to have but couldn’t find anything that worked how he needed it to. The CTO was a big buzzword guy and recently shared an article with my manager at the time about how C++ was “the best language”. So naturally I chimed in and told him I could build that tool easy peasy and I would use C++ obviously because it’s the best language.
It was such a simple tool, basically just matching phrases and categories and spitting out a list of options. It took me months to make, but I learned a lot and it kind of worked for the most part and everyone was happy. I eventually got a de-facto department in the company where I would just build internal tools and handle some legacy codebases that they were previously outsourcing.
I later on got my current job because of that leap.
TLDR: I learned C++ because I was bored and lied that I already knew it.
Arduino and Python to create a sexy machine that syncs up to videos. Oh I also made the sex machine part, like machining metal parts and soldering electronics.
please tell me you created a
dick
object for the project which is exactly the same as adict
object.error: dict not found. Were you looking for dick?
I learned bash instead of python because my 8 year old brain saw all the parentheses and thought “ew no”…
Experienced me sees a language where parentheses are optional and I think “ew no”
Because I wanted to listen to music while doing the dishes.
The Jellyfin Roku client didn’t support audio playback, so I wrote it myself… while learning Roku’s proprietary language 🙄
It occurs to me I’ve literally never tried to play my music library through Roku. I usually just cast to a speaker with my phone. Is it part of the main branch?
Yep. That code was merged and released roughly 2 years ago.
Well I thank you for your contribution regardless. Roku is all I’ve got, so it helps to have people like you annoyed enough, and knowledgable enough to contribute.
🤘 Enjoy
I was going to learn !hare@programming.dev just because it is called “Hare” and I like rabbits, but then I saw that I am not on a supported OS.
God. I didn’t knew that Drew was such a language nazi. If you want to write a Go clone, it must be useful for everyone. Even Emacs is available on Windows officially.
What a harebrained comment.
…Sorry, it felt like such a waste not to say it! The puns!
But, language Nazi? Don’t you think that’s a bit much? And it must be useful for everyone? Why? I also think it hinders growth, but it’s their project. It’s well within their right to choose whether they put in the effort to support a platform or not, regardless of the reasoning and how much effort it’d actually take.
They don’t even seem to be against the idea, they just don’t care enough to be the ones to do it:
According to DeVault, while there’s currently no plan to support non-free platforms like macOS or Windows, a third-party implementation or fork could try to make that work. The Register
Even Emacs is available on windows, you say? I think some context is needed, here. See what GNU has to say about the availability of Emacs on proprietary systems:
However, GNU Emacs includes support for some other systems that volunteers choose to support.
Emphasis mine.
To improve the use of proprietary systems is a misguided goal. Our aim, rather, is to eliminate them. We include support for some proprietary systems in GNU Emacs in the hope that running Emacs on them will give users a taste of freedom and thus lead them to free themselves.
Taken from the official download and install page.
It is their project, but no company will use it if it’s broken on Windows.
Sure, and that matters because…? What negative effects is this choice having on hare that go against hare’s objectives?
You seem to be treating hare as something it doesn’t want, nor care to be.
I like to describe Hare as a simple, conservative, modern update to C, with a FOSS ethos. It doesn’t try to break computer science ground, or promise to solve a million dollar problem.
Guess you could say they’re probably not friends of million-hares. Ha, ha.
And upstream Hare will not support non-libre operating systems. That’s a lot of conviction, but Hare isn’t trying to take over the world. It will coexist with the diversity of languages out there, and thrive in its own niche. In short, the Hare project develops for a libre future and for the deliberate programmer, not the corporate, the ephemeral and the reckless.
From Torres, one of the core contributors.
Their wants and metrics for success aren’t the same as yours.
to prank people using school computers
Ah the olden days of using windows accessibility features to replace “.com” with “.corn”
You were more subtle than my friends. In the computer lab, we would just change “the” to “fuck”
We started there of course. The subtlety has far more to do with needing to get clever than with us being clever. Eventually it got to the point where I had to write a python script to reinstall all our .corn antics back on every school machine because the school took to resetting all accessibility dictionaries every night
deleted by creator
I became a Game Programmer. Job market sucks right now, so I’m cleaning toilets and taking out trash at a grocery store.
But hey, on my days off I sometimes have time to work on games.
I wanted to get into creating video games.
I ended up in software engineering for financial companies. It killed my hobby love of programming but the salary is worth it. Exceptionally lucrative, and I have never struggled for work, with great pay, bonus, benefits, equity
Learned Python to try and hack into a porn site.