Ephera

joined 4 years ago
[–] [email protected] 20 points 1 day ago

I mean, if we're talking about all those problems, the no-type-annotations issue is rather specific for Python, JS/TS and Ruby.

But in general, I feel like there's somewhat of an old world vs. new world divide, which happened when package registries started accepting libraries from everyone and their cat.

In C, for example, most libraries you'll use will be quite well-documented, but you'll also never hear of the library that Greg's cat started writing for the niche thing that you're trying to do.

Unfortunately, Greg's cat got distracted by a ball of yarn rolling by and then that was more fun than writing documentation.
That's the tradeoff, you get access to more libraries, but you just can't expect all of them to be extremely high-quality...

[–] [email protected] 4 points 1 day ago (1 children)

Honestly also annoying as a not-so-new folk. I just thought about this yesterday, I reasonably expect to clone a random project from the internet written Java, Rust et al, and to be able to open it in my IDE and look at it.

Meanwhile, a Python project from two years ago that I helped to build, I do not expect to be able to reasonably view in an IDE at all. I remember, we gave up trying to fix all the supposedly missing dependencies at some point...

[–] [email protected] 5 points 1 day ago

I'm guessing, they meant to write "that the language has no default way".

[–] [email protected] 9 points 1 day ago

I don't know, man, far too many people seem to think that "easy to learn" means they'll know all they need to know in relatively short time.

Like, you talk to our data scientists and they'll tell you doing anything in Python, no problem. But you talk to our seasoned software engineers and you see the war flashbacks in their eyes, because it racks up in complexity so fucking quickly, it's insane.

[–] [email protected] 7 points 5 days ago

Breath of the Wild took a somewhat novel approach to open-world in that it filled the game world with lots of interesting landmarks, then gave you lots of movement options and just let you explore on your own.

In particular, because Nintendo took a risk and introduced this novel concept into an established series, it had a big audience and enough budget to really show off that this concept works.

That's why lots of gamedevs took inspiration and steered their open-world games into similar directions.

[–] [email protected] 5 points 5 days ago

While I'm not aware of any titles that I would refer to as "clones", the question isn't far-fetched:

Multiple games have since cited Breath of the Wild as an influence. These include Genshin Impact, Ghost of Tsushima, Immortals Fenyx Rising, Halo Infinite, Elden Ring, Pokémon Legends: Arceus, and Horizon Forbidden West.

https://en.wikipedia.org/wiki/The_Legend_of_Zelda:_Breath_of_the_Wild#Legacy

Some indie titles I'd throw in, that clearly took inspiration:

  • A Short Hike
  • Lil Gator Game
  • Tchia
[–] [email protected] 11 points 1 week ago

Just because a company has created a product, doesn't mean that anyone has made a moral judgement. Even if some vegetarians decide to eat this, it still doesn't mean that all vegetarians agree.

[–] [email protected] 2 points 1 week ago (1 children)

I had my mum try some fried tofu recently and she said, it tastes like spam. ¯\_(ツ)_/¯

[–] [email protected] 3 points 1 week ago

I have actually seen it in an XML file in the wild. Never quite understood why they did it. Anything they encoded into there, they could have just added a node for.
But it was an XML format that was widely used in a big company, so presumably somewhere someone wrote a shitty XML parser that can't deal with additional nodes. Or they were just scared of touching the existing structure, I don't know.

[–] [email protected] 49 points 1 week ago (1 children)

The thing is, it was never really intended as a storage format for plain data. It's a markup language, so you're supposed to use it for describing complex documents, like it's used in HTML for example. It was just readily available as a library in many programming languages when not much else was, so it got abused for data storage a lot.

[–] [email protected] 2 points 1 week ago (2 children)

Hmm, I think, you can download one of the .tar.gz files from here: https://github.com/rust-lang/mdBook/releases
Unpack it and then just run the executable that's inside.

And yes, images are absolutely possible.
You can just place the image file in the file structure and then in your Markdown file, you can use this syntax:

![Optional description for sight-impaired users](relative/path/to/image.png)

I usually create an "images" sub-folder next to the Markdown file, then it's just:

![](images/something.png)
[–] [email protected] 2 points 1 week ago (4 children)

That Lemmy guide uses mdBook: https://rust-lang.github.io/mdBook/

It originates from the Rust ecosystem, but it's basically language agnostic.
You basically provide it Markdown files in a certain file structure and then it does the rest. Really easy to use.

 
 

Real screenshot from (crappy) personal project...

 
 
 
 
 

Hi, the default Roboto font is boring me out of my mind and I'd like to change it.

In the past, I've done so by just replacing the font file in the OS, which worked well, but meant that it would reset after every OS update.
I'm considering scripting that with ADB to make it less of a pain, but figured I should ask, if there's a better way.

I'm on LineageOS which has a font styling system, but it only applies to the OS, not the user-installed apps...

 
 
view more: next ›