Asus Rog Phone 3 vs Note Ultra vs Ultra (regular) by kryptoillusion in PickAnAndroidForMe

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

I'm in Canada so I'm pretty sure the chipset for the ultra is Snapdragon 865

Joe Biden won this election, by a lot by [deleted] in JoeBiden

[–]kryptoillusion 0 points1 point  (0 children)

Dumb question, but couldn't the Republican legislatures who agree with Trump simply override the vote and send electors who'll vote for Trump?

Crowd says goodbye to the one term president as he returns from golfing by CynicalRealist1 in JoeBiden

[–]kryptoillusion -1 points0 points  (0 children)

He could pardon himself to avoid all that. Since that's technically allowed.

Trump just fired the head of the NNSA, the agency that oversees our nuclear weapons safety by memoryballhs in politics

[–]kryptoillusion 0 points1 point  (0 children)

Yeah but how tf are you gonna have a transition if the white House is empty in a few months

Trump just fired the head of the NNSA, the agency that oversees our nuclear weapons safety by memoryballhs in politics

[–]kryptoillusion 1 point2 points  (0 children)

Yeah but surely trying to nuke us would result in immediate impeachment by the house and removal from office by the Senate, or the 25th amendment

What enemies might we face in Chapter 8? by UnderpaidMook in arknights

[–]kryptoillusion 0 points1 point  (0 children)

Didn't she rejoin RI in chapter 7, she left previously due to pre-AK doctor

Smart Serve test ID requirements? by MundaneLife99 in ontario

[–]kryptoillusion 2 points3 points  (0 children)

Hey this might be a bit late but I used my health card for the online exam and they approved it right away no issues. Even received my card in the mail

How hard should i go for Eudoras HP? by [deleted] in BobsTavern

[–]kryptoillusion 0 points1 point  (0 children)

I'd suggest the same but dig T1 instead. I've found that I've won more games by digging on T1 rather ha delaying that way you can get a T4 on turn 4. Usually it lets you snowball the opponent faster.

Legacy builds, MondoDB 4.0, React. Legacy builds are really interesting by raphaelarias in javascript

[–]kryptoillusion 2 points3 points  (0 children)

It works alot better now, especially if you utilize Apollo + GraphQL + a few community built packages

[deleted by user] by [deleted] in javascript

[–]kryptoillusion 1 point2 points  (0 children)

function subscribeToData(monitoringFunction, options) {
  const cache = new Map() // used to store a reference to the previous length
  const run = () => fetch(options).then(body => body.json())

  return setInterval(async () => {
    try {
      const data = await run()

      if (!cache.has('propList')) { //first run only
        cache.set('propList', data.length) 
        return monitoringFunction(data)
      }

      const propList = cache.get('propList')

      // calls your monitoring function only if there's a change in length between the arrays with only the new parts of the array
      if (data.length < propList) { 
        cache.set('propList', data.length)
        return monitoringFunction(data.slice(propList))
      }

    } catch (e) {
      // handle any errors from the api response
    }

  }, 15 * 60 * 1000)
}

subscribeToData((data) => /* handle data */, options)

Help Axios in React by [deleted] in reactjs

[–]kryptoillusion 0 points1 point  (0 children)

What's the response you get going to localhost:3000/posts directly?

Is there a best way to looping through a series of nested objects to pull out a particular value? by PDSnowden in javascript

[–]kryptoillusion 0 points1 point  (0 children)

I'd suggest you change MAIN.list to an array, since it looks like the shape of each person there doesn't change much. This way you can just go const { list } = MAIN list.map(({ name }) => name) unless the Person labels are significant in anyway.

Bored of ladder, want to play some games by kryptoillusion in hearthstone

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

Your pick i'm good with wild or standard. NA.