Pika

joined 1 year ago
[–] Pika 1 points 1 year ago

so.. it's not a public post then? lol

[–] Pika 33 points 1 year ago (10 children)

despite 3 different links, not one of them worked on connect, sadness lol

[–] Pika 14 points 1 year ago (2 children)

they are moving be cause they are worried about the instance being forced to shutdown due to Mali government since the ml tld is being misused at the moment by description atm lol

[–] Pika 9 points 1 year ago

or sometime they do hash the password but they are just ignorant of how it works so they keep the limit regardless

[–] Pika 1 points 1 year ago (3 children)

some sites like Walmart are removing the password requirement completly in favor of OTP, mcdonalds does the same, you type your email/phone number it sends you a link and you click the link to gain access. I wouldn't recommend that for a bank site but, a low risk site? why not.

[–] Pika 2 points 1 year ago* (last edited 1 year ago)

honestly as one of those people, lemmy is a damn good alternative to reddit. It has most of the features and a lot of content, sure its missing its nitche content but it works for what I used reddit for

[–] Pika 3 points 1 year ago

I'm having that feeling on Lemmy at the moment with Reddit topics, like holy cow I know it's a dumpster fire, let's find a new event horizon shall we lol

[–] Pika 6 points 1 year ago

Someone who hasn't used Facebook for over 6 years, I'm still trying to convince my grandfather that I don't actually know anything about the platform and that he probably knows more about Facebook than I do. cause honestly I don't recognize it anymore

[–] Pika 2 points 1 year ago

you gotta be careful with the afterlife though, only heros make it past judgement iirc most get turned away for aimless wander or whatever it was

[–] Pika 3 points 1 year ago* (last edited 1 year ago)

Agree with the many others here, you have a secured income source and a secured place of residence at the very least a temporary source of residence. You want to be where you can still be earning money and the worst case scenario is if it ends up changing later on down the road you can probably go back to your hometown again cuz I expect that it the offer will stay on the table, that being said it sounds like you also have your friends in that area so in my mind that's a no-brainer and I likely wouldn't have wasted money moving. But I'm also not super family-oriented so I can definitely understand wanting to live near family

Ultimately I am the same way, I want to be able to stay in my hometown but I know realistically that I'm not going to be able to progress my career here, it's too much of a tech dead zone, make sure to go where you're able to get money, money can't always flow everywhere

[–] Pika 1 points 1 year ago

Yeah I fully agree typescript does help in terms of knowing what type of types you should be supplying to functions, and for the most part I do use it for non-library purpose/anything that doesn't rely on a third party, I just feel like typescript isn't worth it when you have data that's returned at run time that's controlled by a third party service. You end up coding more in class definition files then you would just using normal tests

[–] Pika 1 points 1 year ago* (last edited 1 year ago)

So the biggest issue is the project relies extremely heavily on a third party API service, and since the data is received over said service, typescript is unable to infer what the objects the API is sending is because it sends during runtime, to get around this I have to define everything that I expect that the library is going to have to handle that would be Recieved, since any object that the API is going to return is just going to have a type of any if it's not defined, this on top of the fact that the API has stated that the data being sent should not be relied on for being accurate and types may change randomly(usually it does not but it has happend, it sucks but out of my control) means that I generally also have to have a function level test the data when it's received to make sure that the value is being supplied are the correct type and are formatted in a way that the library can still understand it. Which means that it's able to catch any inconsistency of typing before it would be processed anyway, and would either warn or throw depending on how important the function is to actual operation.

The reason why I would call it standard is because it seems like basically anywhere you look if you are using node, you're using typescript they go hand in hand it seems as of the last two or three years, but honestly I've never really understood the benefit of, I've always thought it was a fairly standard to have at the beginning of a function the documentation of what each perimeter should be unless it is easily verified by looking at it.

As for my setup, it's not very advanced it's just Sublime Text with linter hooked to it, which does tell me on save if there's a typescript error or if I formatted something wrong, but again even if one did happen to slip through that it would fail during the testing phase due to the fact that it would throw at the function level.

My opinion of my experience with typescript has been that it's great if everything is operated in house, but the second you start having to deal with stuff that comes from an external source any advantage of the check just seems not worth the extra effort to make sure typescript works right.

view more: ‹ prev next ›