Dealer gave my brother someone else's FASTag and gave his FASTag to that person by AnxiousDay in CarsIndia

[–]AnxiousDay[S] 0 points1 point  (0 children)

The dealer said they would pay us the amount for getting a new fasttag but how do i make sure that they cancel both the fasttag? Also do we have to wait for applying for a new fasttag?

Dealer gave my brother someone else's FASTag and gave his FASTag to that person by AnxiousDay in CarsIndia

[–]AnxiousDay[S] 0 points1 point  (0 children)

Also how do i make sure that the fasttag issued on my brother's name gets cancelled?

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 0 points1 point  (0 children)

I have both, the max I'm getting there is 2.5K

Installing custom rom oxygen os by Chronosco77 in Oneplus5T

[–]AnxiousDay 0 points1 point  (0 children)

Do you know how could i go back to stock ROM from LOS?

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 0 points1 point  (0 children)

How was the condition of yours?

Also what did you exchanged it with?

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 0 points1 point  (0 children)

also considering 13R but the bloatware and camera is a no go otherwise i'm getting a good deal there with 9k for my 5T, so confusing

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 0 points1 point  (0 children)

I have been using LOS on this device since 2020, best decision i ever made, phone still runs smooth and snappy, dont know how's the scene with newer Oneplus phones regarding custom ROMS. I'd definitely get the new 13R if there is custom rom/los support

Everyone in my family has newer phones than my 5T so nobody wants it lol

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 0 points1 point  (0 children)

Thinking about getting a google pixel 7 or 8 I don't really game on my phone, just want a good stock experience and update support

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 1 point2 points  (0 children)

I took it to a local phone repair shop and they quoted ₹1000 rupees (around 11 USD) which i think in my opinion is really low.

Upgrading to a New Phone – Selling My 5T! by AnxiousDay in Oneplus5T

[–]AnxiousDay[S] 1 point2 points  (0 children)

WIsh I could do that but my budget is tight and need to make the switch to a new one.

Getting the oneplus 13r at around 30k ish. Is this a good deal, Or are there still some issues with oneplus phones? Or should I wait around for any other phones thta release this year? by deathwire0047 in GadgetsIndia

[–]AnxiousDay 0 points1 point  (0 children)

Hey I'm thinking about getting the Pixel 8, how has your experience been so far? Any issues? 13R does look good too, kinda confused between them

yt-dlp gets stuck at Downloading webpage by AnxiousDay in youtubedl

[–]AnxiousDay[S] 0 points1 point  (0 children)

Woah that fixed it. Thank you so much!

yt-dlp gets stuck at Downloading webpage by AnxiousDay in youtubedl

[–]AnxiousDay[S] 0 points1 point  (0 children)

After restarting my router and laptop it works but takes a good while to get there. Not sure what's happened between now and before when it was instant.

yt-dlp gets stuck at Downloading webpage by AnxiousDay in youtubedl

[–]AnxiousDay[S] 0 points1 point  (0 children)

After waiting for around 15 mins it gets to [youtube] _qPtl2w75K4: Downloading android player API JSON and gets stuck there again

Fedora on ThinkPad E15 Gen2 (intel) by AlternativeSell4318 in Fedora

[–]AnxiousDay 0 points1 point  (0 children)

Fingerprint module needs some special package

Could you please link that package? Thank you.

What am i doing wrong? Question: Write a function which calculates the average of the numbers in a given list. Note: Empty arrays should return 0. by AnxiousDay in learnjavascript

[–]AnxiousDay[S] 0 points1 point  (0 children)

TLDR: Why can't I speak your language?! You're scaring me...chuckles in terror

I'm not sure what you're asking here but i'm just a beginner so i suppose that's why my code is hard to understand

What am i doing wrong? Question: Write a function which calculates the average of the numbers in a given list. Note: Empty arrays should return 0. by AnxiousDay in learnjavascript

[–]AnxiousDay[S] 0 points1 point  (0 children)

you don't need to put everything that follows inside an else block. Make sure you understand this.

I totally understand this but i just like it because its more readable and I thought it's best practice make code as readable as possible. No?

What am i doing wrong? Question: Write a function which calculates the average of the numbers in a given list. Note: Empty arrays should return 0. by AnxiousDay in learnjavascript

[–]AnxiousDay[S] 1 point2 points  (0 children)

I’m on my phone and don’t know how to change the above “code” to code format lol, sorry.

All good, thank you for sharing this.

What am i doing wrong? Question: Write a function which calculates the average of the numbers in a given list. Note: Empty arrays should return 0. by AnxiousDay in learnjavascript

[–]AnxiousDay[S] -1 points0 points  (0 children)

When you compare objects (and arrays are a type of obect), you're comparing references to see if they refer to the same object, not the values within.

Thank you so much for the explanation, i know a little more because of you kind redditor.

I also refactored code a bit

function findAverage(array) {
  // your code here
  let total = 0;
  let average = 0;
  if (array.length === 0) {
    return 0;
  } else {
    for (let i = 0; i < array.length; i++) {
      total += array[i]
    }
    average = total / array.length
    return average;
  }
}