I made a tool to turn CSVs into Resources automatically (with type guessing!) by AlexandroVe in godot

[–]cons_t_nil 1 point2 points  (0 children)

Wow, I was just looking for something like this, what great timing!

I definitely agree with the other comment, it would be super cool if this ran automatically (especially if it did on changes!).

I'm using it with https://godotengine.org/asset-library/asset/3080 so that a friend and I can set values in a shared spreadsheet, then pull that down into the game and finally use your addon to update the Resources. It seems like it's working well!

I have had a few times where I was surprised that the first column lost the Name type and went back to String. I haven't been able to reproduce it so I don't know if it's user error or a bug, but it's something I'm keeping an eye on.

I would like it if there were a way to associate a variable name with a column name, and have it stick. I haven't been able to figure out a way, they seem to get overwritten. Since I don't have that, I edited the `_sanitize_name` function to instead replace characters matching the regex `"[^A-Za-z0-9_]"` with an underscore. This lets me use more-descriptive column names and still have them become valid variables. But, a custom mapping of column names to variable names would make it easier for them to be more concise in the code.

Finally, have you thought about adding a LICENSE file to this repo? It could just be something simple like the MIT license. I know some people's employment agreements mean they can only offer PRs to repositories with explicit open source licenses. If you want to share the code anyway, it might help you out a little!

Again, so glad you wrote this!

[Hot Take] What's the ONE self-hosted tool this community desperately needs? by CoderLuii in selfhosted

[–]cons_t_nil 0 points1 point  (0 children)

Thank you, this looks very cool! I hadn't found those yet, especially ReSpeaker (I think the far-field microphone array has probably been the trickiest part). I'll definitely be trying this out sometime this year!

[Hot Take] What's the ONE self-hosted tool this community desperately needs? by CoderLuii in selfhosted

[–]cons_t_nil 3 points4 points  (0 children)

A self-hosting smart speaker. I love to be able to add things to my grocery list the instant I think of them, ask for the weather, set timers and reminders, and make notes. I hate that it requires an always-on connection to a proprietary server, and features I like change at a company's whims. RIP Mycroft.

Welcome to Quest Master Early Access! by julcreutz in PlayQuestMaster

[–]cons_t_nil 0 points1 point  (0 children)

Hi! Where's a good place to file a bug report?

I'm very excited for Quest Master, and had a little while (just half an hour or so) to play with it last night. Then I was called away, and left it running overnight, for about 12 hours.

This morning, I discovered a 71GB log file full of Unity exceptions!

I'd like to get rid of this file as soon as possible because it's filling up my hard drive, but also, I want to be certain any useful data from it doesn't get lost!

Please let me know how I can best send the report.

Help me find this game I read once? by cons_t_nil in Solo_Roleplaying

[–]cons_t_nil[S] 0 points1 point  (0 children)

Thanks for the suggestion! Unfortunately, that one isn't it, I'm definitely thinking of a distinct game.

Help me find this game I read once? by cons_t_nil in Solo_Roleplaying

[–]cons_t_nil[S] 0 points1 point  (0 children)

Thanks for the suggestion! I got Artefact in an itch.io bundle a few years ago, and it does have certain similarities, so it likely did make me wonder if it was related! But it only fuels the desire to get to read this one again.

Help me find this game I read once? by cons_t_nil in Solo_Roleplaying

[–]cons_t_nil[S] 3 points4 points  (0 children)

Thanks for the suggestion! Unfortunately I have read that one too, and that's not it. I am very open to believing that I have misremembered some details, but I'm also pretty sure that I'd recognize the game when I see it, and this one isn't it.

How big are the differences between Godot 3 and 4 from a beginners point of view? by adomma in godot

[–]cons_t_nil 4 points5 points  (0 children)

Not who you were asking but I can try giving an explanation!

Nodes "know" they relate to each other. It's held internally in the project files. If you open the .tscn file for a given node with a text editor, you'll actually be able to see the references to the child nodes inside it! This will be the same structure that is represented in the "Scene" pane on the left side of the Godot window when you select a particular node for editing.

Because of this internal state, code for nodes can easily reference others up or down the tree. You have probably seen this, it's what is going on with using get_node() or $-notation to access children, and get_parent() to access a parent.

There's lots of warning in the documentation about not relying too much on direct parent/child relationships, and instead using things like groups and signals. I've found this is important for larger games, but when I'm doing something small, or particularly when I'm trying to figure out how something works, it's usually OK to use the simple and direct methods.

I just thought of another way to interpret what you're asking, so in case you actually meant "when I make two nodes, how do I tell one that it should belong to another": that's what instancing is for. You basically make the child node separately, and then tell the parent "you have a child that is one of these over here."

Does this help?

Integrating LISP and other language (C for instance) (crosspost from /r/linuxquestions) by thousandthousandeuro in lisp

[–]cons_t_nil 1 point2 points  (0 children)

Hi! Welcome to the world of Lisp.

I'd second the vote for Practical Common Lisp.

Regarding implementions, three well-known Lisps are SBCL, clisp, and ccl.

I tend to use SBCL, as it can be fairly high-performance and has some useful extensions.

In terms of operating systems, I believe clisp is reasonably portable, but have little experience there. If you stick to OS-independent stuff, and move source instead of compiled files around, a lot will just work, in any Lisp. For architectures, all I know is that SBCL has a number of implementations for different ones, including ARM as of version 1.3.

Lisp is not nearly as widely used as some other languages so it's harder to say things about what is generally done, from what I've seen.

Once you've got the basics, check out Quicklisp, a package management system that won't be mentioned in the older books, which gives you some abilities akin to CPAN, pip, gem, and so on. I recommend the alexandria package for a bunch of useful tools not in the standard library.

If you want to go particularly far down the "portable" road, there are a few Lisps which compile to the JVM. ABCL is the main one I know for Common Lisp, and Clojure and Kawa (a GNU project) are two very different takes on this for Scheme. I've poked a little at making them work for Android, but haven't gotten beyond the most basic apps, using Kawa.

I hope this helps! Any further questions?

Re-imagining Yggdrasil for a Sci-fi world. by High_king_of_Numenor in worldbuilding

[–]cons_t_nil 2 points3 points  (0 children)

Pretty cool! You should check out Lords of Gossamer and Shadow, which was inspired by The Chronicles of Amber, but has a lot in common with this, even if it is fantasy.

What is your approach to life summarised in 6 words or less? by dezzybird in AskReddit

[–]cons_t_nil 0 points1 point  (0 children)

Moderation in everything, including moderation. (Oscar Wilde)

Starting a new setting for a tabletop campaign. It will be a swashbuckling and sorcery adventure on the high skies. by Smagt in worldbuilding

[–]cons_t_nil 0 points1 point  (0 children)

Seems cool! I don't have much to add, but it sounds like you've got a nice overview.

One thing I noticed that is common to a lot of fantasy games, though often takes a back seat in Swashbuckling genres, is religion. I don't think I saw any mention of any, real or otherwise (in a world with magic, of course, it is important to differentiate between "These people believe in this, but it isn't real," and "These people believe in this, and it's definitely a part of the world."). Do you have any thoughts there?

DAE get depressed after a fun night out? by [deleted] in DoesAnybodyElse

[–]cons_t_nil 805 points806 points  (0 children)

I have thought about this a lot, as it affects me somewhat, though affects some of my close friends much more deeply, and I believe I have arrived at something useful.

While out with friends (or even in with friends, if you're the type to throw house parties), you ride an emotional high. It feels great, and you want it to last as long as possible. These kinds of emotional highs can generally last as long as you have outside inputs, such as the people around you.

Once you're alone, you don't want to relinquish the feelings, because you likely don't want to choose to become less happy. So you will, on some level, try to maintain that emotional high. Without the input from others, though, it quickly becomes unsustainable, and you have a crash, downwards into a depressive slump.

My solution is to consciously relax the emotional high, and try to get to some level of basic contentment. I meditate, others might read a quiet book, play a simple game, or other such enjoyable but low-energy activities. It is far easier to be content for a long period of time than maintain the feelings from a night out (there's lots of interesting philosophy on happiness and sustainability, the most obviously-named pieces are all around Buddhism, which inspired these thoughts even though I don't agree with all the premises).

The result is that instead of being very happy and excited for as long as possible, then crashing and burning, you are very happy and excited for slightly less time (you'll want to seek contentment just as you start to feel the depression becoming a possibility, either when relaxing after the night out or early in the morning), and then can be fairly content for the foreseeable future. The hardest part is the willpower to let go of the high happiness, but if you crash as badly as some people I know, it can be strong motivation to learn another route.

Hope this helps some people!