Solemarc

joined 2 years ago
[–] Solemarc 2 points 1 day ago (1 children)

My brother in Christ, this isn't a crate, it's a programming language written in rust.

[–] Solemarc 4 points 2 days ago

The best way to learn is to just do it! When I'm starting out with something I generally have a few ideas of basic things I could do with it, generally that's making simple CRUD apps (when I started using Axum I made a simple API that returns json from a file directory as long as the directory is formatted as: /type/name. Then I went and made a website using vanilla js/html/CSS and made everything run using the backend).

This second project is great because there's always something else I could do like auth, like not doing a post and redirect to the same page for updates, like creating dynamic client & employee pages, like using an actual db instead of a script to make CSV files as a db. IMO, THIS is where you learn things.

[–] Solemarc 1 points 1 week ago* (last edited 1 week ago)

I hope they can do it, I've always adored monster hunter but I remember playing DD2 on release and the game struggled at 30fps, default settings. The game has gotten better by some amount since then, I haven't been back to that game though.

I assume RE engine was mandated from on high but if DD2 and MH6 struggle with performance, I'm assuming that the next open world game from Capcom will probably run on UE5 like the rest of the industry.

[–] Solemarc 24 points 1 week ago* (last edited 1 week ago) (2 children)

Sony owns Bloodborne, Miyazaki can only be as involved as Sony allows. No way an exec doesn't know this lol.

[–] Solemarc 1 points 2 weeks ago

Maybe, I've never used go templates before.

[–] Solemarc 13 points 2 weeks ago (2 children)

My comment was supposed to be a bit of a joke...

Generally speaking, you cannot read a file from disk using JS in the browser because the sandbox doesn't allow the code access to your disk. If you googled something like "read a file JS" it probably made an assumption that you're using Server side like nodejs or deno. The only exception for in-browser that I know of is to upload files using an input tag.

[–] Solemarc 21 points 2 weeks ago (5 children)

Are you trying to use the Lord's JS to read files from your PC?

[–] Solemarc 12 points 1 month ago* (last edited 1 month ago)

I didn't see it mentioned but you could remove all trailing & leading whitespace with:

input = input.trim();

Instead of using replace.

[–] Solemarc 1 points 1 month ago

If it wasn't for the game awards section at the top of the page I would've dismissed this as "they bought the domain from someone else" wtf it looks like some kinda cat fashion webstore.

Maybe that was a website template? IDK how to explain this lol.

[–] Solemarc 2 points 1 month ago (3 children)

Currently the game doesn't have any AI disclosures on its steam page. I don't know if you need to do Crypto disclosure. It doesn't look like there is any info about this game other than a pair of CG/"in engine" trailers

[–] Solemarc 88 points 2 months ago (3 children)

My favourite is always;

Lemme quickly write this test, it passes great, if I make this little change it'll fail. It's still passing, damn.

[–] Solemarc 5 points 2 months ago (1 children)

You're not wrong but I think when you're teaching someone just having 1 parent and 1 child class makes for a bad example I generally prefer to use something with a lot of different children.

My go-to is exporters. We have the exporter interface, the generic exporter, the accounting exporter and the payroll exporter, to explain it.

At school, the only time I used inheritance was 1 parent (booking) and 1 child (luxury) this is a terrible example imo.

view more: next ›