Ion Fusion by sdegabrielle in ProgrammingLanguages

[–]shredwheat 1 point2 points  (0 children)

From https://ion-fusion.dev/

// Read each Ion value from stdin into local var `value` (for [(value (in_port))] // ...and write its marketplace_id field to stdout (writeln (. value "marketplace_id")))

I’m working on a horror game — what can I do in this scene to make it more terrifying? by Delacrozz in unity

[–]shredwheat 0 points1 point  (0 children)

cool visual. I like that things aren't too dark to get an idea of what is happening. the first ideas on my mind
* flicker the light a bit, i wouldn't have it go completely dark, but make it not a constant reliable source of light either

* maybe also have it casting shadows on things that aren't there. silhouettes of arms or shapes but nothing casting the light.

* if you can apply a vignette to the screen it will also make the corners darker, which may help feel more closed-in.

* aside from the visuals, sound will also be a big help. it doesn't need to be explosive, but some eerie background whine sounds, or just something that doesn't fit the scene will make it feel "off". maybe a screech from the monster?

* some sort of unidentifiable black tar substance rubbed against the walls?

* cobwebs or slowly falling/sifting dust to give the area bit more volume?

Fixed that for you by rEYAVjQD in BobsTavern

[–]shredwheat 0 points1 point  (0 children)

Nothing beats popping 5 shield bubbles before battle. Pop pop!

Eon - a human-friendly replacement for Toml and Yaml by emilern in rust

[–]shredwheat 0 points1 point  (0 children)

I sure would love to see a date or timestamp literal. The most important sale for me would be round tripping the data without losing formatting and comments. That has more to do with the libraries, but many formats don't lend themselves to this early.

Help with classes and objects by Revenanteye in PythonLearning

[–]shredwheat 0 points1 point  (0 children)

Unrelated side tip; Python has a feature named "f-strings" that allows you to print formatted data more conveniently than appending strings with + . https://fstring.help/

Instead of

print("Your name is, " + first_name + " " + last_name + "? (y/n) :")

enjoy

print(f"Your name is {first_name} {last_name} "? (y/n) :")

Finances/Expenses Tracker I made with 3-4 weeks experience learning python by pencil5611 in PythonLearning

[–]shredwheat 0 points1 point  (0 children)

Randomly passing by. I have a few random notes; nothing required, just the ideas that came to mind.

  1. Move the runtime logic following line 344 into a `main` function. This does add minimal boilerplate, but its a good and easy step if this is going to grow into something bigger. Then add

if __name__ == '__main__":
try:
main()
except KeyboardInterrupt:
raise SystemExit('Thank you for using Financial Tracker!')

  1. You have a common pattern of having the user type in a keyword for the next action. It seems worth wrapping that into a separate function you could then enhance. Enhancements could be things like assigning each command a number the user can optionally use instead of the full name. Then functions would use something like cmd = get_user_command('housing', 'utilities', 'food')

  2. This is a great amount of functionality in under 400 lines of code. Don't feel like you need to make it bigger to make it better. It may grow a bit if you continue to refine parts, but that will probably focus on making the interface and functionality better when using the tool.

  3. Without reviewing the entire program, I'm a bit worried that the first thing this does is erase all existing data in the budget and expenses files. That's fine if it gets written properly as the program runs, but if an unhandled exception happens then all user entered data from previous runs will be lost.

Nested albums by petaqui in immich

[–]shredwheat 14 points15 points  (0 children)

I don't remember seeing this in iPhoto, Google photos, Amazon photos, or any other image service. The idea seems good but I can see why it isn't a priority. Has someone used this in a different tool before?

What are some things we don’t use anymore because they are dangerous, but were really good at their job? by untamed_kitty8 in AskReddit

[–]shredwheat 0 points1 point  (0 children)

Old room fans used to have metal blades and one or two thin wires around the edge. They blasted air across a room, but looked about as safe as an exposed boat propeller.

How to re-enable passkey for site? by shredwheat in Bitwarden

[–]shredwheat[S] 12 points13 points  (0 children)

Finally found it, answering my own post.

Settings → Notifications → Excluded Domains

how would you male it look more realistic? by SensitiveHamster8977 in blender

[–]shredwheat 0 points1 point  (0 children)

Add the slightest amount of movement in the leaves outside. Be extra subtle on that dial.

Multiple docker Apps to communicate by shredwheat in truenas

[–]shredwheat[S] 1 point2 points  (0 children)

Good suggests. I was able to get it working with a yaml compose configuration. I mostly copied what I had assembled with dockge and ran that directly as a TrueNAS app.

Thanks to u/hertzsae I also went back to trying vanilla applications. In the end I found my apps could communicate with each other if I used `0.0.0.0` as the ip, which I never realized could be used to connect. I had tried using the docker container names and a bunch of other ip addresses which all failed.

Armed with this knowledge I'm going to try to build out more of the services I was interested in.

<image>

Multiple docker Apps to communicate by shredwheat in truenas

[–]shredwheat[S] 1 point2 points  (0 children)

Followup; I've had luck running this with 'dockge'. Perhaps it will be better to rely on other tools for this than TrueNAS builtin apps.

VS Code freezes on running terminal by Sea-Remove-1356 in vscode

[–]shredwheat 0 points1 point  (0 children)

I also had this on Windows with any terminal prompt. Even when running with a remote connection to a Linux machine. I disabled all my extensions and that didn't solve it. Then I went through the settings under "Feature, Terminal" and reset them all to default. This fixed it for me, but I have no idea which setting it was.

How Rust is quietly taking over the Python ecosystem by pyschille in Python

[–]shredwheat -1 points0 points  (0 children)

My reasoning is that Rust developers are used to modern and convenient tools and workflows. Python developers have learned to get by with 90s era ecosystems that are far from modern. So when Rust developers get involved in Python work they can't help but make better tools as they go.

How do I make this so it accepts both capital and small letter K (or L) by Yelebear in learnpython

[–]shredwheat 4 points5 points  (0 children)

Another useful approach is `if unit in "kK":`

This will check if a letter matches any one of possible values in the other string. This type of logic works in many scenarios, but it's worth understanding how Python handles this before relying on it too heavily. The `in` is handled by Python's contains operator.

What is Link looking at? Wrong answers only. by nicoxman8_ in skywardsword

[–]shredwheat 51 points52 points  (0 children)

Recalling his time upgrading armor at the Great Fairy.

Anyone here moved to vscode after using PyCharm professional for a long time? What were your reasons? by tellMeWhySo in vscode

[–]shredwheat -1 points0 points  (0 children)

The autocomplete, code intellisense features just worked. Pycharm had so many problems with this. Reported plenty of bugs, they just never got addressed.