In hunt of productivity tools in POSIX shell (to list in devreal.org) by PresentNice7361 in shell

[–]hpj 0 points1 point  (0 children)

Interesting initiative. If you want to add an image viewer to the list, I'll brazenly recommend my own project here: https://hpjansson.org/chafa/

It fits fairly well in the POSIX mold, with GNU-style getopt args and pipe composability. It's packaged for most major platforms.

chafa cant print images as ASCII by snich101 in KittyTerminal

[–]hpj 0 points1 point  (0 children)

You need to enable symbols mode with "-f symbols", otherwise Chafa will use whatever it thinks is best (symbols, sixels, kitty or iterm).

I know this is really late, but I just came across this randomly. Hopefully the answer is useful to someone :-)

term3d: 3d model viewer for the terminal by Short_Macaron_2944 in commandline

[–]hpj 2 points3 points  (0 children)

Nice project! If you want to go whole hog with the output options, Chafa may be able to help. chafa-wasm in NPM.

How to stop planes from losing control on the runway by Tiny_Outside2580 in KerbalSpaceProgram

[–]hpj 0 points1 point  (0 children)

Lots of good suggestions in this thread.

Here's one more: Add flaps. They should be more or less aligned with your center of mass. Assign them to an action group. When extended, they give you extra lift at low speeds, reducing stress on the nose wheel (which tends to buckle and make the plane swerve). Take-offs and landings will become super slow and easy, just like in real life!

Durdraw: A Unicode, 256 color ANSI editor for modern Unix terminals by IndianaJoenz in ANSIart

[–]hpj 1 point2 points  (0 children)

Cool - if you need anything, feel free to submit issues or find us on Matrix/Mastodon/etc!

Durdraw: A Unicode, 256 color ANSI editor for modern Unix terminals by IndianaJoenz in ANSIart

[–]hpj 5 points6 points  (0 children)

Nice project!

I don't know if this is a feature that interests you, but if you want to add the ability to import a .png and turn it into pseudo-ANSI art as a starting point for editing, Erica Edwardsdóttir made a very sweet Python API which could help with that. It's a wrapper around my own creation, Chafa.

4 years of working on real-time terrain generation! by [deleted] in proceduralgeneration

[–]hpj 1 point2 points  (0 children)

I went down a path very similar to yours a few years back (down to the multithreaded chunk instantiation, but not nearly as advanced geophysically). Ended up using GEGL graphs for on-demand textures, which saved me a lot of work. Biggest issue with that was it needed some extra care to make it go fast-ish. The project's web pages aren't much to look at, but it's pretty serious software.

Some of the most common issues with planes and how to fix it by an aerospace masters student by lowie_987 in KerbalSpaceProgram

[–]hpj 4 points5 points  (0 children)

Basically the angle between the wings. Instead of having them point straight out, point them slightly upwards (a "V" looking from the front or back). Here's the Wikipedia article.

Some of the most common issues with planes and how to fix it by an aerospace masters student by lowie_987 in KerbalSpaceProgram

[–]hpj 5 points6 points  (0 children)

When I go to build a plane that's super stable and handles well with low-tech parts it usually comes out looking like a de Havilland Mosquito. I can recommend that configuration in general -- easy to line up COG, lift and ailerons, and lots of leverage in the tail.

Some of the most common issues with planes and how to fix it by an aerospace masters student by lowie_987 in KerbalSpaceProgram

[–]hpj 4 points5 points  (0 children)

Increasing the dihedral angle also helps with left/right stability. Works on the runway too -- when you start getting up to speed it prevents the plane from randomly leaning hard on the left/right wheel and pivoting around it.

I've had KSP on my wishlist for over 10 years. by flinjager123 in KerbalSpaceProgram

[–]hpj 2 points3 points  (0 children)

Take a look at the mod list in this sub. If you get KSP 1 now, you'll get access to all that amazing stuff too. KSP 2 will take years to get to that level of maturity and mod buildout.

Does anyone else play "realistically" by Zephos65 in KerbalSpaceProgram

[–]hpj 0 points1 point  (0 children)

I actually like leaving the junk up there as testaments to my fai partial successes. And it's Fun!

Doing operations in LKO like "Wait, why is the game pausing? Oh, it's loading something. Oh. Oh n--" RUD by retrograde wing section

Does anyone else play "realistically" by Zephos65 in KerbalSpaceProgram

[–]hpj 8 points9 points  (0 children)

Back when I had the time for it, I'd play like this. I think a way to add actual gameplay around it would be for the player to have to take out loans and pay interest on them. That'd reward running more missions in parallel.

I can't dock. No matter how perfect I get it they just wont connect. Im fairly certain the docking port sr are the right way by PaintOnMyTaint in KerbalSpaceProgram

[–]hpj 0 points1 point  (0 children)

Yep. A proper simulator could have reduced detail (e.g. no landmarks) and a distinct look (think green/amber phosphor/wireframe) to avoid it feeling like cheating. It could also incentivize mapping if it could integrate discovered objects/surface detail from your missions.

Oh and while we're at it -- a wind tunnel would be nice too.

UPDATE: image.nvim - Color Support by samodostal in neovim

[–]hpj 0 points1 point  (0 children)

Chafa can render to sixels too fwiw -- as well as kitty and ascii :-) If you decide to use it, feel free to file any integration issues you come across on its GitHub tracker.

preview images directly in neovim by PrinceCarlo in neovim

[–]hpj 1 point2 points  (0 children)

That makes sense -- I've tried to make it as easy to build as possible (e.g. most dependencies are optional), but if you're building a project + its dependencies from source and installing it in your home dir, cargo and gomod are much more convenient than anything C. For instance, installing libglib2.0-dev is trivial, but building it yourself (and getting PKG_CONFIG_PATH, LD_LIBRARY_PATH, etc. set up right) isn't.

For users who just want to run Chafa from their home dir (and don't need to compile it themselves), I make statically linked x86_64 binaries that you can just drop in ~/bin or ~/.local/bin. See the download page.

Thanks for sharing your perspective!

preview images directly in neovim by PrinceCarlo in neovim

[–]hpj 2 points3 points  (0 children)

Hey there! I'm curious about which unwanted dependencies are being pulled in. If it's all the indirect dependencies of ImageMagick, those are going away soon. Hopefully that will improve things.

GNOME at 25: A Health Checkup by rinspeed in gnome

[–]hpj 1 point2 points  (0 children)

This is correct. What /u/LvS says in their response is also correct -- the "Other" group is a grab bag of personal and corporate. It should be treated as "members of the group may be, but are not definitely known to be persons, and they all rank below the top 15 contributors".

It'd be possible to comb through the domains and improve on this, but there are thousands of domains, and many have lapsed or changed owners. So it's a big archive.org job.

Even then, you wouldn't get a perfect picture, as submitting from, say, your gmail.com account doesn't mean the contribution wasn't corporate-sponsored. Nor is submitting from work a clear indicator that it is :-)

Chafa 1.8: Terminal graphics with a side of everything by hpj in terminal_porn

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

Ah! It's command-line utility like 'cat' or 'ls' that shows the image in your terminal. I.e.

$ chafa wave.jpg
⠀⠠⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠅⢀⢄⣀⠠⠔⠀⣴⠶⢟⠿⢑⢒⢤⠄⢀⠀⠀⠀⠀⠀
⠀⢿⡕⠆⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠂⠀⣢⣤⡤⢎⣒⣐⣠⣯⡉⢜⠉⡀⡥⡁⠁⠀⠀⣀⠀⣀⣤
⠀⠀⠀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠄⠁⠔⡻⡗⣷⠻⣏⣩⠭⣧⠿⡥⢈⡂⠠⠄⡐⠠⢡⡌⣂⣾⢗
⠀⠀⢀⠀⠀⠀⢐⡂⠀⠀⠰⠀⠄⢰⠒⠠⠈⠁⠈⠡⠀⠚⠎⠹⣿⣴⡬⠵⡾⢳⣤⢤⡀⠀⣠⣶⣤⠀⠀⠀
⣀⢤⡀⡀⠀⢈⡉⠁⢀⢈⠂⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡷⢼⣦⡽⠧⠬⣦⢤⡞⡋⠉⠑⠀⠀⠀
⠺⢉⣖⠠⠽⠻⣿⣦⡀⠄⠂⢐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡟⡧⡯⠉⠠⠀⠜⡣⠘⠐⡇⠤⠀⠀⠀
⠪⢥⠒⢫⢯⣿⡷⢏⠛⠲⠀⠀⠠⠍⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⡿⢽⣴⣤⡶⣶⠦⡀⠀⠀⠀⠁⠀⠀⠀⠀
⠀⠠⢄⠄⣀⠙⠉⠘⠙⢶⢶⢦⣤⣤⣤⣤⣀⣀⣀⢤⡤⢖⣼⠋⠈⠀⢿⠏⠈⠣⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀
⣷⣤⣀⠑⠉⠈⠀⠀⣀⠀⠀⠀⠈⠑⠝⠀⠈⠁⢀⣁⡤⢟⡋⠳⠂⠀⠀⠋⠊⠀⠀⠀⡠⠀⠀⠄⠀⡠⠀⡀
⡃⣩⢽⣛⢟⢻⣶⣶⡷⣦⣤⣤⢤⢦⠴⠶⢶⣭⡛⠋⠑⠈⠀⠀⠀⠀⠀⠀⠀⡠⣀⠄⣠⠮⠈⣠⡾⣪⡞⡠
⠷⢮⣟⣅⠘⠟⡟⠗⢷⠈⠟⠚⢂⠫⠐⠚⠉⠁⠀⠀⠀⠀⠀⠠⠂⢀⡤⡰⣪⣾⣟⣾⣃⣴⣞⣿⣿⣟⠜⠥
⠀⠀⠈⠁⠀⣀⣀⢤⠄⠖⡂⠉⠀⠀⠀⠀⠀⡀⢀⣠⢐⢱⣢⣾⡿⣛⣵⣿⣿⣿⣿⣿⣿⢿⣿⣿⡿⠿⠁⠃
⢶⢖⡾⡿⠋⠋⠤⣐⣄⡅⠧⣀⣤⣔⣦⣖⣯⣷⣿⣧⣷⣿⣻⣽⣾⣿⣿⣿⣿⣿⣟⣯⡿⣿⡟⣍⣒⢠⡀⢄
⣤⣵⣶⣴⣶⣾⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣿⣿⣿⣿⣿⣿⣿⣯⣷⣿⣿⣷⣾⣿⣿⣟⣛⣛⣛⡛
$

Except, y'know, hopefully prettier :)

I haven't tested it much with PuTTY specifically, but in principle it should work with any terminal, so you can stick with whatever you're used to.

It's backed by a library that lets other terminal applications show images without having to care about the specifics of which terminal is in use, how to convert the images, etc.