[-] alokir@lemmy.world 54 points 8 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@lemmy.world 53 points 8 months ago

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

1
submitted 9 months ago by alokir@lemmy.world to c/fosttalicska@sopuli.xyz
[-] alokir@lemmy.world 54 points 9 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@lemmy.world 65 points 9 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@lemmy.world 50 points 9 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@lemmy.world 67 points 10 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

14
submitted 10 months ago by alokir@lemmy.world to c/greentext@lemmy.ml
77
John is kill (lemmy.world)
submitted 10 months ago by alokir@lemmy.world to c/greentext@lemmy.ml
163
I've seen some shit (lemmy.world)
submitted 10 months ago by alokir@lemmy.world to c/greentext@lemmy.ml
[-] alokir@lemmy.world 55 points 10 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.

[-] alokir@lemmy.world 45 points 11 months ago

I drink carbonated water almost exclusively, it's the same water, just with some carbon dioxide to make it sparkle.

It has no downsides afaik, it's a bit more acidy but not as much as sodas, and it might make you burp, but that's it.

[-] alokir@lemmy.world 58 points 11 months ago

Could be someone who's genuinely trying to understand someone's viewpoint, but it reveals inconsistencies in the other person's logic, so they get irritated.

1
submitted 11 months ago* (last edited 11 months ago) by alokir@lemmy.world to c/bing@lemmy.world

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@lemmy.world 40 points 11 months ago* (last edited 11 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.

[-] alokir@lemmy.world 45 points 11 months ago

You misspelled pacman

[-] alokir@lemmy.world 54 points 11 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.

11

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?

view more: next ›

alokir

joined 1 year ago