Based Count head admin.

Some of the tools I’ve created:

I speak: 🇮🇹 🇬🇧 🇫🇷

  • 0 Posts
  • 28 Comments
Joined 1Y ago
cake
Cake day: Jul 17, 2023

help-circle
rss

Axios for requests - easier than working with the Fetch API in some cases

May I ask what cases? I used to use Axios on Node, before they implemented the fetch API over there but I haven’t touched it since. And defintiely never used it on the client. Could you make an example of some case where it’d be easier to work with Axios than with fetch?


Fair enough :)
I was wondering if you were trying to run Lemmy on some place you are totally not supposed to run it on. Like a nintendo64 or a samsung smart fridge lol.



Sorry, despite both being an admin and having recently migrated my pict-rs to an object storage, I don’t have a solution for your issue.

I’m just here to ask a question out of sheer curiosity: why install from scratch? To me it sounds like asking for trouble and shooting yourself in the foot. Is Docker not suitable for your setup?



Interesting idea. I’m currently working on a Lemmy-ui fork for my instance and including a feature of this kind in the frontend would be kinda nice.

I’ll bookmark this and come back if I ever get to it.


Are you good, mate? Is it just my instance or this comment got posted four times within the span of 30 seconds?


Oof. Yeah maybe. I did play Skyrim on release, on a bloody PS3 no less. Pure pain.

Hopefully it doesn’t take them that long.


It might be, although I’ve read of some freezes happening even on the fastest SSD in the world so… idk, I think they might have fucked up somewhere. I also suspect there might be some memory leaks, although this comes solely from my experience, I have no data to show.

Tom’s Hardware article on the freezes


Yes, all very cool, but when are they going to fix the actual issues? Like, I don’t know, the constant freezes?

I’m loving this game so far, I’m playing it every night, but it feels like a constant test of my patience.


You do it if you want to, it’s a game :)

You can make decent money off it, but first and foremost it should be something you enjoy. Personally I think that’s a very chill way of breaking the monotony, after having spent too much time flying around or walking through cities to complete quests. Exploring planets has got the nice plus of not having to deal with loading screens, unless you want to get back to your ship and move to a different biome.


Then I guess this is what you get for talking about something without knowing what it is lol.

As another user pointed out, TypeScript is a different language (.ts extension) that extends JavaScript, meaning JS code is valid TS code, but TS adds various language features for type checking. Your editor is then able to interpret your code according to these type structures and warn you if you are making any stupid type errors like this one:

The problem many people have with TS (such as the “big projects” mentioned by Fireship) is that sometimes you end up having code that works but still have to do some weird type gymnastics to please the TS compiler and have it remove any errors and warnings.

That being said, frameworks that “create really weird undecipherable minified JS” do have their place, as they allow you to seamlessy do things that would be either very inelegant and verbose or significantly more complex in vanilla JS, but I won’t bore you with an excessively long wall of text.

PS: I love your Czech flag website. Had me jump on my chair when the music started blasting through my headphones.


How is that related to TS? Aside from the fact that your comment might have just started a civil war (no, vanilla JS is not “good enough”, they created libraries for a reason) this isn’t about using libraries / frameworks. It’s about needing some system to handle type annotations to avoid falling in the bottomless pit of:

Uncaught TypeError: Cannot read property of undefined


The backend is quite alright. The Rust backend makes it indimidating to approach, but I know it has many advantages.

The frontend could use LOTS of changes. I don’t like Inferno, it’s messy and confusing to work with. Instead, I would have opted for a Svelte+Tailwind stack for the UI.


  1. No
  2. Yes
  3. I would have guessed that, yes. I guess I just learnt a new word lol

Coconout milk would be confusing if they didn’t put a picture of a coconout on the label and made it evident that it what you are buying isn’t actually milk. I simply believe this same reasoning also extends to meat and any other products that may have a plant based alternative.


To be fair I hardly ever buy packaged meat so I’m not sure how their labels would look. Though I would expect the plant industries would try and pass their plant based product as the real thing, to trick omnivorous people on buying it instead, so they would write “plant based” or whatever as small as possible if at all (depending on food regulations in the country they are selling it in, of course).

I guess such an assumption would base itself in vegetarian people being more careful with what they buy, compared to normal people, otherwise they’d be tricking them too.


Eh I hadn’t really considered the flip side but it makes sense, it’s also a problem the other way around for vegetarian folks wanting to be able to spot vegetarian products at a first glance, yeah.


Rare French W.

If you wish buy plant based “meat” you should be free to do that, but calling “steak” what clearly isn’t is just trying to fool the customer into buying something they’re probably not interested in purchasing.


There’s plenty of applications that aren’t critical enough to require precise memory management and where a GC is a worthy tradeoff for the simplicity that Go brings to the table, but sure, if you are interested in going super low level that’s what you are left to work with.

And it’s probably fine. If I had to pick between C++ and Rust I would choose the latter any day of the week but thankfully not every developer has to go that low.


I was under the impression that the Go compiler was written in C/C++, though don’t quote me on this one. My browser however is Firefox, so touché on that one.


Hot take:
Fuck TS, marry Go, kill Rust.


Nah they call it pre-installed because you don’t have to run an installation wizard yourself, which requires administrator permissions. So you could play those games on computers where you don’t have admin access, like a school or work laptop


Smartphone: I’ve just said goodbye to my Honor phone after 5/6 years of service (can’t remember how many precisely). Incredible lifespan for its price.

However repairability could be great. I’ve changed its battery once and screen a couple times, by the end of it the frame was about to break from all the times I had opened it.



Huh… Too bad, I guess. It’s not a thing where I live and as it happens none of my international friends have ever mentioned it.


While I am from a Western country it’s indeed not the US.

No, in my country nothing of that sorts happens. Piracy is still technically illegal but only a misdemeanor for the end user, provided they don’t make any money off the pirated stuff, and no ISP has ever cared to narc about it, to my knowledge.

Of course it’s probably different for crackers and folks who run piracy oriented forums.

Yeah I did mean “jumping ship” to a different provider, assuming they didn’t all behave like this. And of course I just assumed there were more than one to choose from.

Nasty stuff. VPNs really look like a blessing, from this perspective.


Woah really? ISPs coming out and bothering you cause you pirate stuff? Never heard of it. I’d jump ship immediately if I got one such letter.


I know it shifted from a subscription model to a paid DLC one. Do you actually need to buy some DLCs to get an enjoyable experience out of this? Do you only need the endgame stuff once you get there, like buying the latest WoW expansion? How does this model actually work for chill players?