glad_cat's recent activity
-
Comment on What programming/technical projects have you been working on? in ~comp
-
Comment on Solarus, a lightweight, multiplatform, free and open-source 2D game engine in ~comp
glad_cat I discovered this game framework today through a Mastodon link. It seems to be a serious game programming framework written in C++ and Lua to make 2D games, it has a graphical editor and it's...I discovered this game framework today through a Mastodon link. It seems to be a serious game programming framework written in C++ and Lua to make 2D games, it has a graphical editor and it's open-source.
I'm confused because I have never heard about it before yet it is at least 7 years old. The web site contains a lot of Zelda clones, and may have been used to create the game Ocean's Heart.
Has anyone tried it yet?
-
Solarus, a lightweight, multiplatform, free and open-source 2D game engine
19 votes -
Comment on Best, favorite, and/or interestingly-different resources to learn (or re-learn) Git? in ~comp
glad_cat There is no need to use it again for you I guess because it is indeed very basic and that's why I love it, but for your usage it wouldn't be interesting.I explored Sublime Merge a while back, but I remember it feeling pretty basic
There is no need to use it again for you I guess because it is indeed very basic and that's why I love it, but for your usage it wouldn't be interesting.
-
Comment on Free and/or open-source software alternatives for churches in ~tech
glad_cat Could you give some examples about the available software for churches? Even software that is closed-source, it could interesting to see what it's all about. You are basically describing software...Could you give some examples about the available software for churches? Even software that is closed-source, it could interesting to see what it's all about. You are basically describing software that could be used to handle any non-profit organization.
Off-topic: I don't have any idea about your need but it seems to be an interesting project especially for the open-source community.
-
Comment on Best, favorite, and/or interestingly-different resources to learn (or re-learn) Git? in ~comp
glad_cat I also confirm using a GUI is a great way to learn git. You can visualize the branches, the "pointers" (aka branches or stashes), etc., you can rebase and move stuff and see the results visually....I also confirm using a GUI is a great way to learn git. You can visualize the branches, the "pointers" (aka branches or stashes), etc., you can rebase and move stuff and see the results visually. It's also, IMHO, way faster than reading a tutorial about the command-line version.
As for the clients, I don't recommend GitKraken as it's loosely based on Visual Studio Code and it's buggy as hell. The only interesting feature is the integration with GitHub or GitLab but I never used it. Sometimes it cannot commit, sometimes it freezes and you have to kill it.
I prefer Sublime Merge or SmartGit which are more simple and more stable.
-
Comment on <deleted topic> in ~comp
glad_cat I strongly disagree with using web sites for tools that can be installed on your own computer. And in a professional environment, you should not send your source code to anyone, and you should be...I strongly disagree with using web sites for tools that can be installed on your own computer. And in a professional environment, you should not send your source code to anyone, and you should be capable of working without an internet connection. It's even more obvious with CIs (not sending code, and packaging builds without being connected).
For example:
- Replace DevDocs with Zeal on Windows, or Dash on macOS. Those tools saved my ass a few times when I had a bad internet connection. It's always up-to-date and you can select what you want to have locally.
- Replace Code Beautify by a command-line tool or library that can automatically format your code. There is always one that is good or official for every language (pep8, Black, rust-fmt, clang-format, etc.) Its usage should be transparent and invisible, and the configuration can be set in stone only once for all the developers of your team. It can be called automatically when your save a file, commit (as a hook), or to allow the CI to check that your code is formatted properly.
My rule for writing code like a pro is to automate everything you can, and be independent. It's obvious for command-line tools like formatters or linters, but it's also very important for third-party dependencies that can be cached or saved on a local server like JFrog. This way, you will never be taken hostage by a site that stops being free, that is down, or that you can't access due to a network issue. Last but not least, it's a great way to start thinking about the automation of your build, and maybe later move on to creating reproducible builds.
(sorry for the rant)
-
Comment on Lemmy v0.18 release in ~tech
glad_cat As a casual reader of Tildes, your post is in the proper place (~tech) and you even added tags. IMHO it's great.As a casual reader of Tildes, your post is in the proper place (~tech) and you even added tags. IMHO it's great.
-
Comment on Rick Astley on his Glastonbury debut and those Foo Fighters rumours in ~music
glad_cat It's really nice to see compared to all the drama surrounding some mega-stars. His performance with a band at the Isle of Wight is very good and everyone seems to have fun, I'm happy for him. And...It's really nice to see compared to all the drama surrounding some mega-stars. His performance with a band at the Isle of Wight is very good and everyone seems to have fun, I'm happy for him. And if you add Dave Grohl, it's even better.
-
Comment on <deleted topic> in ~tech
glad_cat It's always worth it to try Notes and Reminders, even for advanced usage. I used OmniFocus for 2 years but it was buggy and expensive. I switched back to Reminders and I was happy to discover that...It's always worth it to try Notes and Reminders, even for advanced usage. I used OmniFocus for 2 years but it was buggy and expensive. I switched back to Reminders and I was happy to discover that it had almost all the features of OmniFocus for free.
Reminders have multiple views, deadlines, templates, syncing, etc. I don't think I miss any feature from OmniFocus so far.
-
Comment on <deleted topic> in ~tech
glad_cat For medium to big projects at work, I put all my files and notes with the Johnny Decimal system and Sublime Text as a text editor, it's simple but very powerful for me. For long tasks, notes or...For medium to big projects at work, I put all my files and notes with the Johnny Decimal system and Sublime Text as a text editor, it's simple but very powerful for me.
For long tasks, notes or bugs, I use org-mode because I can quickly view huge files that sometimes span a few years. My biggest file had more than 100,000 lines and contained everything I did, and important notes from meetings for 3 years, and it saved my ass a few times.
I also like Taskwarrior for very short daily tasks.
-
Comment on US Navy 'knew about Titanic sub implosion days ago' in ~transport
glad_cat Off-topic but I guess it's done all the time. I don't remember all the details but the NSA is known for living in the future when it comes to mathematics and encryption. Supposedly (because I...Is it odd that the US military knew but didn't pass it on?
Off-topic but I guess it's done all the time. I don't remember all the details but the NSA is known for living in the future when it comes to mathematics and encryption. Supposedly (because I trust cryptographers more than me), the DES algorithm was improved by the NSA in 1976 and people wondered for a long time if they weakened it or strengthened it. It was shown way after that date that they improved the algorithm but couldn't say why for security reasons.
-
Comment on Terrible, terrible movies? in ~movies
glad_cat It's not a movie that everyone hates because it's relatively unknown, but I love Getting any? by Takeshi Kitano. He is, IMHO, one of the best film maker out there, and he did this very bad movie...It's not a movie that everyone hates because it's relatively unknown, but I love Getting any? by Takeshi Kitano. He is, IMHO, one of the best film maker out there, and he did this very bad movie on purpose. It's also one of my favorite bad movie which I've seen once on the big screen. It's the story of a man "obsessed with the idea of owning his first car so he can have sex in it" and you should watch it right now.
Here is the trailer, you will love it too: https://www.youtube.com/watch?v=Q7nCJdwf0ww
-
Comment on Favorite ambient / instrumental music? in ~music
glad_cat You already have a lot of recommendations, but I will add the SomaFM web radio which is amazing for this and has different kind of music: https://somafm.com/You already have a lot of recommendations, but I will add the SomaFM web radio which is amazing for this and has different kind of music: https://somafm.com/
-
Comment on Do C programmers usually create and curate a personal library for their own use? in ~comp
glad_cat I'm curious to know why you're not using C++ instead. I've been helping a team switch a firmware from C to C++ and it was relatively easy (but it's off-topic, you don't need to answer this). For...I'm curious to know why you're not using C++ instead. I've been helping a team switch a firmware from C to C++ and it was relatively easy (but it's off-topic, you don't need to answer this).
For your question, yes, sometimes people do create their own "library" from reusable functions. But most of the time, they try to use generic functions first, and use their own library if the task is too specific.
For example, you can use GLib, the STL, Conan, the Microsoft GSL, but if have a specific need like streaming logs to a weird server, your own code can be the solution. And this code can be cleaned, refactored, and reused in other projects as a library.
You described "string manipulation, debug output, buffer operations, implementations of data types not in C," and I'm sure there are libraries that already exist for this. The difficult task would be to find a good package manager for C to use those dependencies.
-
Comment on I kind of feel bad for spez.. what would you do if you were in that position? in ~tech
glad_cat I don't have ADHD but I installed LeechBlock NG yesterday. It's not the perfect solution but it's a tool that could help some people.I don't have ADHD but I installed LeechBlock NG yesterday. It's not the perfect solution but it's a tool that could help some people.
-
Comment on Reddit CEO tells employees that subreddit blackout ‘will pass’ in ~tech
glad_cat I have a naive analysis but: a lot of the powermods do moderate a lot of subreddits at the same time for free. I don't know if it's really effective but I'm sure they'll find replacements. Those...I have a naive analysis but: a lot of the powermods do moderate a lot of subreddits at the same time for free. I don't know if it's really effective but I'm sure they'll find replacements. Those mods are ban-happy, but it didn't seem to bother redditors before.
My opinion is that the blackout won't be effective unless people really leave reddit. I still think Spez is focused on the IPO and it shows in his recent letter:
- We do anticipate many of them will come back by Wednesday (true one way or another)
- We have not seen any significant revenue impact (impossible to verify)
- Some folks are really upset, and we don't want you to be the object of their frustrations (FUD)
-
Comment on Microsoft Flight Simulator 2024 | Announce trailer in ~games
glad_cat It looks good but I cringed a bit at the "VIP charter service" which is, well, "controversial" nowadays.It looks good but I cringed a bit at the "VIP charter service" which is, well, "controversial" nowadays.
-
Comment on A "low-risk" AMA thread for everyone in ~talk
glad_cat It reminds me of a friend who did uptime contests with other people. We were young and stupid, and Linux was getting popular. He had a network of 5 computers in his own bedroom (with hardware...It reminds me of a friend who did uptime contests with other people. We were young and stupid, and Linux was getting popular. He had a network of 5 computers in his own bedroom (with hardware switches, and ISDN connection IIRC, and a lot of great stuff), and one Debian machine had an uptime of 2 or 3 years when I met him.
-
Comment on A "low-risk" AMA thread for everyone in ~talk
glad_cat Not OP but I'll try to reply anyway. I've been working for 10 different companies in 20 years and they all started doing "agile stuff" when it became a trend. When I try to find another job, I...Not OP but I'll try to reply anyway. I've been working for 10 different companies in 20 years and they all started doing "agile stuff" when it became a trend. When I try to find another job, I actually expect the company to use Scrum.
AFAIK they still do agile and most of them use their own broken definition of Scrum. I say broken because the managers are often micro-managing which is not really agile. But, yes, agile is still a thing, especially Scrum because it's the modern version of waterfall management. Some teams use Kanban which is a lighter agile process where you have a bunch of tasks on a board and you do those tasks one after the other.
As for the verification and validation, it's mostly a bunch of unit-tests and manual tests, which is still better than no tests at all. Some companies have to take it more seriously though, for legal reasons, like the healthcare software, some embedded systems, or banks and money stuff. Those specific fields have to define a lot of different tests that must be done, validated, signed etc. In that case, you have unit-tests, manual tests, automated tests, ... a lot of tests but this time, it's official.
Instead of using a PostgreSQL database, can't you start with a simpler database like SQLite? I'm not good at making web sites, but PostgreSQL requires installation and administration which may slow you down when developing your web app.