[-] alokir 55 points 6 months ago

It's a good way to get started, and then incrementally type as much as you can, preferably everything.

Later on, or if you start a new project with TypeScript, it's a good idea to turn on noImplicitAny and only allow explicit any in very specific framework level code, unit tests or if you interface with an untyped framework.

The hassle really pays off later.

[-] alokir 54 points 6 months ago

It's also ok to support neither or to say it's too complicated to pick a side.

submitted 7 months ago by alokir to c/[email protected]
submitted 7 months ago by alokir to c/[email protected]
[-] alokir 54 points 7 months ago

Before buying your fitst home:

  • bring someone with more experience than you to have a look at it, maybe even a professional
  • scout out the area (on foot) during the day, evening and night
  • visit local businesses like cafés, restaurants, bakeries etc.
  • look at statistics like crime and air quality
  • have a talk with the neighbors, get a sense of the community if you can, otherwise just observe while taking walks
  • if applicable, call the home owner's representative (or whatever the equivalent is where you live), ask them about the home, neighborhood, community, expenses, plans for the future etc.
  • have a set budget of how much you want to spend on it before you move in, don't overstep that amount
[-] alokir 65 points 7 months ago

That's why in Star Trek the holographic NPCs were programmed to not find this odd. Same when the program took place on Earth in the 20th century, they saw alien species like Klingons as humans.

[-] alokir 53 points 7 months ago

The title makes it seem like it's a wide spread thing in the industry but according to the video it's 3 frameworks.

Yeah, it's additional work but I've found that really convoluted or complex type definitions usually mean you should consider refactoring. Of course this is a bit different when it comes to developing frameworks where you might want to support a bunch of different use cases.

Maybe I'm biased because I've been using TS ever since it first came out.

[-] alokir 69 points 8 months ago

I expected Jessica to be the one who caused the accident that killed Anon's parents, and that's how she became blind.

Good story tho

submitted 8 months ago by alokir to c/[email protected]
John is kill (lemmy.world)
submitted 8 months ago by alokir to c/[email protected]
I've seen some shit (lemmy.world)
submitted 8 months ago by alokir to c/[email protected]
[-] alokir 99 points 8 months ago

I recently found out that the suburbs in the US have NOTHING other than single family homes.

No small grocery store, no hair salon, no post office, no pub, no tiny kebab place around the corner, nothing. There are areas where you have to drive 30 minutes just to buy bread.

Now I understand why 15-minute cities are such a buzz among Americans.

[-] alokir 57 points 8 months ago

Credit scores are a scam to sell credit cards.

You take small loans each month via a credit card that you have to pay back. This increases an imaginary number that lets you take out bigger loans in the furure.

This is all tracked by private companies that you trust with your personal data. That, or you'll not be able to take out a loan if you want to buy a house or start a business.

If you have a good credit score it means that you don't overspend or forget to pay, which you can also achieve with a regular debit card by default. This doesn't serve people, only the banks who expect that a number of people will overspend or not be able to pay their loans back.

Credit cards alone aren't the problem. Forcing them on people with the credit score system is.

submitted 9 months ago* (last edited 9 months ago) by alokir to c/bing

Regular blue Bing gave an accurate answer to my question, GPT-4 had some very believable ideas that were false, and got offended when I pointed it out.

[-] alokir 60 points 9 months ago* (last edited 9 months ago)

Where's "here"?

In some countries they'll fail you if you don't bribe, even if your driving was perfect, in others they'll just overlook small errors that aren't too dangerous.

There are places where if you bribe they'll let you pass even if you can barely drive, in others they'll call the police on you if you bring it up.

Ask around locally, you should definitely not bribe if you'd be a danger to yourself and others.

submitted 9 months ago by alokir to c/hungary

Mit gondoltok erről a sztoriról?

[-] alokir 54 points 9 months ago

I was working on an enterprise web application, there was a legacy system that everyone hated and we replaced it with a more modern one.

We got a ticket from our PO to introduce a 30 sec delay to one of our buttons. It sounded insane, but he explained that L1 support got too many calls and emails where users thought said button was broken.

It wasn't, they were just used to having to wait up to 5 minutes for it to finish doing its thing, so they didn't notice when it did it instantly.

We gradually removed that delay, 10 seconds each month, and our users were very happy.

[-] alokir 50 points 10 months ago

Afaik "community" is the intended Lemmy term.

If we want to mature and be our own thing it's also a good idea to separate ourselves from Reddit, otherwise Lemmy will always be considered a "Reddit clone" (even though it technically started as one and still is).

submitted 10 months ago by alokir to c/2visegrad4you

Old OC I made that got many upvotes on Reddit

submitted 10 months ago by alokir to c/2visegrad4you

It's an older post I made on Reddit that got deleted because nO aNiMe. Literally ~~1984~~ 1848

submitted 10 months ago by alokir to c/[email protected]

I recently dusted off my old Guild Wars 2 account after YouTube recommend some videos of it.

I was a huge fan of Guild Wars 1, I especially loved its skill system. You had hundreds of skills available but you could only equip 8 at a time. This forced you to think carefully and craft builds, which was half the fun. There were some skills that were only available once you defeated some hard elite enemies, which was also a fun challenge.

When GW2 released I bought the game on the first week, but the skill system was very underwhelming for me. A huge part of why I loved GW1 was not there in the sequel, so I quickly stopped playing.

Around 10 years later I logged in again and created a new character. I'm aware that there were tons of changes made to the game but the very early game stayed pretty much the same (as far as I remember). However, the way I experienced it was very different.

It no longer bothered me that you only have a fraction of the skills available. I'm 10 years older than I was when I first played it and I have much less time. This means that I appreciate not having to spend days to craft a character, I can just go out and enjoy the game.

The story is also pretty good, I've heard that GW2 is one of the few MMOs where the early game is also as much fun as the late game, and it seems to be true. I don't feel like I have to rush to max level to have fun.

Have you ever had a similar experience?

[-] alokir 96 points 10 months ago

This must be satire

view more: next ›


joined 10 months ago