AstroLightz

joined 2 years ago
[–] AstroLightz@lemmy.world 1 points 6 hours ago (2 children)

Math can help solve this:

m = 0.5 # human
h = 0.5 # horse

C = m + h # Centaur

So Centaur is 50% human, 50% horse. Half human, half Centaur would be:

# Expand
C / 2 + m
m + h / 2 + m

# Combine
(m + h / 2) + (2m / 2)
3m + h / 2

# Solve
3(0.5)[m] + 0.5[h] / 2
1.5[m] + 0.5[h] / 2
0.75[m] + 0.25[h]

Which is 0.75 human, 0.25 horse

Therefore, this hybrid is 75% human, 25% horse

To answer your question: This would probably be a human with a horse tail, and 2 horse legs.

[–] AstroLightz@lemmy.world 4 points 2 days ago* (last edited 2 days ago)

It's better to start over from scratch than it is to try to reorganize a huge code base.

Therefore, Internet 2.0, where it's only IRC channels for support, forums as "social media", and simple file sharing sites for your video and image content. You don't need anything else.

Apply the Linux mentality to the Internet 2.0 and it won't be so bloated with slop.

EDIT: Oh, and no JavaScript! That can stay quarantined with the Internet 1.0

[–] AstroLightz@lemmy.world 1 points 2 days ago

Subbed for sure.

The only anime I've ever watched dubbed was Cyberpunk Edgerunners due to my playthrough of the game being in English.

[–] AstroLightz@lemmy.world 0 points 2 days ago (1 children)

Python. I updated my post with some more info.

 

Let's says you want to make a program that takes user input and follows the CRUD structure for some data. This program would be executed from the terminal and wouldn't be used in any other projects.

If this program was made in a language that supports creating packages for other programs (e.g. Python, Rust, NodeJS), should this program be a 'package', or should it be a standalone program that has a simple "setup" script?

Assume this is a CLI/TUI app that runs in a Linux terminal.

EDIT: I'll provide some more details since it seems I was too vague:

This program would allow the user to create 'Script' objects that would be saved to a file on their system. These objects would contain metadata such as a name, the command to run, and a description.

These Script objects would only be used by this program, and by the user. (i.e not a system program)

[–] AstroLightz@lemmy.world 5 points 3 days ago

No Claude? No problem! Just ask one of the many other LLMs for the answer. Easiest million ever!

/s

[–] AstroLightz@lemmy.world 3 points 6 days ago

I want to code, but I don't know what to make that I would actually use.

[–] AstroLightz@lemmy.world 24 points 1 week ago (2 children)

I have a joke about piping to /dev/null, but you wouldn't get it.

[–] AstroLightz@lemmy.world 2 points 1 week ago* (last edited 1 week ago) (1 children)

To me, dubs make the characters feel out of place.

If I'm watching an English show, I assume the characters speak English. Same reasoning can be applied with Anime.

It's just distracting to me when there's a language mismatch. I would rather read subtitles on a screen, but have the 'correct' audio, than having characters speak a language they shouldn't.

[–] AstroLightz@lemmy.world 2 points 1 week ago (1 children)

Do you think ~~that these CBS employees should unionize and go on strike~~?

Yes

[–] AstroLightz@lemmy.world 86 points 1 week ago

How OP probably felt:

[–] AstroLightz@lemmy.world 1 points 1 week ago

A shell script to create shell scripts.

Basically, it takes a file name, then creates a .sh file, and puts the shebang #!/use/bin/env bash into it.

Very simple, yet it saves me from having to manually do it every time.

[–] AstroLightz@lemmy.world 3 points 1 week ago

I've had it for as long as I can remember, so I'm pretty used to it. However, sometimes it gets really bad for a bit and it's annoying.

I'm not too bummed about not experiencing true silence as I listen to music most of the time anyway.

 

cross-posted from: https://lemmy.world/post/46764460

Question for People Familiar with Sphinx Documentation

So, I'm making documentation for my project using Sphinx with hatch/hatchling. I'm currently using the sphinx-rtd-theme as my theme. I already make a quickstart page for my project, but the src directory page is included in the sidebar. I would like to rename it to "Source Files", but when changing the header in my modules.rst file, it gets reset each time I build.

The main extensions I'm using for Sphinx are 'sphinx.ext.todo', 'sphinx.ext.viewcode', and 'sphinx.ext.autodoc'.

For context, my project structure looks something like this:

my_project/
| ---- requirements.txt
| ---- README.md
| ---- src/
| -------- my_project_module/
| -------------- __init__.py
| -------------- foo.py
| -------------- bar.py
| -------- docs/
| -------------- requirements.txt
| -------------- requirements.in
| -------------- conf.py
| -------------- modules.rst
| -------------- index.rst
| -------------- quickstart.rst
| -------------- my_project_module.rst
| -------------- _static/
| ------------------ some_img.png

Is there a way to change the display name of my src directory without renaming the actual directory in my project?

Also, is there a way to reorder the list so my quickstart guide shows up above the source page?

 

So, I'm making documentation for my project using Sphinx with hatch/hatchling. I'm currently using the sphinx-rtd-theme as my theme. I already make a quickstart page for my project, but the src directory page is included in the sidebar. I would like to rename it to "Source Files", but when changing the header in my modules.rst file, it gets reset each time I build.

The main extensions I'm using for Sphinx are 'sphinx.ext.todo', 'sphinx.ext.viewcode', and 'sphinx.ext.autodoc'.

For context, my project structure looks something like this:

my_project/
| ---- requirements.txt
| ---- README.md
| ---- src/
| -------- my_project_module/
| -------------- __init__.py
| -------------- foo.py
| -------------- bar.py
| -------- docs/
| -------------- requirements.txt
| -------------- requirements.in
| -------------- conf.py
| -------------- modules.rst
| -------------- index.rst
| -------------- quickstart.rst
| -------------- my_project_module.rst
| -------------- _static/
| ------------------ some_img.png

Is there a way to change the display name of my src directory without renaming the actual directory in my project?

Also, is there a way to reorder the list so my quickstart guide shows up above the source page?

 
  1. Plant the 15 parsnip seeds you get.
  2. Sell the seeds for 8 cauliflower seeds
  3. Do something else.

I'm #2. It takes longer, but I get more money out of it. While they grow, I fish, then mine on max luck days.

 

For example:

  1. Is there an alternative to GitHub Desktop that works for Codeberg or do I just have to use the CLI for it?

  2. If I have to use the CLI, is using git for Codeberg any different than using it for GitHub?

 

Recently, I can't access any GitHub repositories without having to sign in. This is becoming frustrating.

I'm looking for an alternative to switch to that has good git push/pull speeds (I've visited one which speeds are slow for me).

Any good options? Would one of the following be good?

  • Codeberg
  • Gitlab
 

Been playing the Re-Console modpack for Minecraft to get that nostalgic feel. Since Iris was installed, I downloaded the "Super Duper Vanilla" shaderpack to see what Minecraft could have been like back in TU1 if the cancelled Super Duper Graphics pack was around then.

The old crafting menu is very nostalgic too. I still think it's better than the recipe book in vanilla Java.

 

It's sad to see such a great project come to a close. I've been using ArcoLinux for years and have come to love it.

I wish the ArcoLinux Team and the Beta testers all the best.

 

I've got political words, certain names, and "Daily Screenshot" because I'm tired of seeing those posts. Tempted to add AI to it.

 

From fast4x in the RiMusic Telegram channel:

Hi all, i can only say that i am very sorry and that unfortunately the project cannot continue to be a music streaming app based on YouTube.

It is unfortunate this happened to such a good FOSS music streaming app. Hopefully, someone can continue it.

To all the people who contributed to RiMusic all this time, thank you for making a great music streaming app!

As well, thank you fast4x for working hard each week to get RiMusic to where it is.

 

So, I've recently binged a YouTube channel called Linux Creative Project, which documents someone's transition from macOS to Linux for creative work. They go over their hardware, software, and their experiences/problems during the transition.

Any of you know any other YouTube channels that do something similar (Documenting their transition to Linux)?

 
view more: next ›