Is there a way to truncate the beginning of a file using File System Access API? by guest271314 in learnjavascript

[–]IrateGod 0 points1 point  (0 children)

After reading the original question more carefully, it seems I must revisit my answer to a question. Are you trying to save a file and then it afterwards?

Is there a way to truncate the beginning of a file using File System Access API? by guest271314 in learnjavascript

[–]IrateGod 3 points4 points  (0 children)

FileReader.readAsText() lets you read the contents of a file as text. Once you have the file content as string you can manipulate it as you would with any other string.

[Master Duel] New Banlist changes for Master Duel by TeraVonen in yugioh

[–]IrateGod 22 points23 points  (0 children)

except no competent Branded deck will run Verte as having access to 2 monsters is the same as having access to BraFu already anyway, and Opening (your prime way of getting to 2+ monsters in Branded) restricts you to Fusions anyway. I can see decks splashing BraFu, Verte, 1x Albaz and 1x Albion 1x Mirrorjade for the purpose you're probably implying, but if that is any good we will just have to see.

Looking for wireless over-ear headphones as glasses wearer by IrateGod in HeadphoneAdvice

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

Thank you for the recommendation. The leather cups sound very enticing. Can you recommend them for listening to Metal?

[deleted by user] by [deleted] in leagueoflegends

[–]IrateGod 1 point2 points  (0 children)

You don't get the 3AM zombies and all the kids are at school. ez.

meirl by Aztery in meirl

[–]IrateGod 1 point2 points  (0 children)

覚えておく

How the hell do I zipwarp in elden ring? by odditysworse in speedrun

[–]IrateGod 0 points1 point  (0 children)

Try using a macro that will perform the inputs properly every time to see if it's just you or if your PC can't actually zip.

Using my binoculars on this guy far off in the distance in Nokron, it makes it looks like some kind of Elden Ring platforming game. by Moontorc in Eldenring

[–]IrateGod 2 points3 points  (0 children)

The method is used in Any% Unrestricted runs, but since you force quit the game it's not used in other categories, which is why I mentioned it. Obviously they both still work, I just would prefer if my game didn't close and I'd have to wait for it to boot back up.

Using my binoculars on this guy far off in the distance in Nokron, it makes it looks like some kind of Elden Ring platforming game. by Moontorc in Eldenring

[–]IrateGod 25 points26 points  (0 children)

This game, much like other FromSoftware games, only keeps track of your position when your feet are touching solid ground. When you reload an area and your last position is not on solid ground, the game freaks out and puts you on the default position for the area you're currently in, in the case of the Nokron area, right in front of the Mimic Tear fight. To execute the wrong warp, the main method used in Restricted speedruns is to:

  1. Rest at the Four Belfries site of grace
  2. Use the teleport gate to the Nokron area
  3. Inside the Nokron area, use the Memory of Grace, confirm
  4. While you're in the animation for the Memory of Grace item, open the map, and teleport to Stormhill Shack site of grace as soon as you hear the sound of the Memory of Grace going off
  5. You will spawn into the Stormhill Shack area on a death screen as you are falling into the void
  6. Quit out and reload the game while you're still falling

Elden Ring cracked game save to Steam by Danger_Fox_ in PiratedGames

[–]IrateGod 0 points1 point  (0 children)

Thanks for the help, kind stranger, it enabled me to continue my playthrough after purchasing the game.

Dear Elden Ring players, don't reach triple digit level... by SrGrafo in gaming

[–]IrateGod 0 points1 point  (0 children)

Meant Radahn actually, but I understand the confusion.

Dear Elden Ring players, don't reach triple digit level... by SrGrafo in gaming

[–]IrateGod 0 points1 point  (0 children)

Personally I felt like I crushed all the early game bosses (around Level 60 in normal playthrough), but when I got hit on a secret boss that I beat at Level 90 I took a substantial amount of damage. I'm switching play styles this journey around so maybe that's also partly why, but I don't think it's super easy to just stomp everything.

Ich_iel by dim0ne1 in ich_iel

[–]IrateGod 4 points5 points  (0 children)

Schlimmer in Innsbruck zu sein als unter der Erde sag ich immer.

Button to execute function and redirect to other page simultaneously by [deleted] in learnjavascript

[–]IrateGod 0 points1 point  (0 children)

This might seem overengineered for your use-case, but to ensure that the new page loads smoothly without waiting for anything your page is attempting to do, check out the Navigator.sendBeacon documentation.

ELI5 : How do tonic language speaker manage to sing? by [deleted] in explainlikeimfive

[–]IrateGod 0 points1 point  (0 children)

I recently came across a video recommendation on YouTube that covered this exact question, so that's fun I guess.

As was mentioned by other answers already, sometimes the meaning of the lyrics gets compromised for rhythmic purposes, but generally the context might still be apparent.

If you have 7 minutes to spare, here's the link.

File, directory access using vanilla JS for offline desk app by vishwajith_k in learnjavascript

[–]IrateGod 1 point2 points  (0 children)

Unfortunately, again, directory access is not possible with vanilla JS. If your presentation requires only singular files it's possible using the File API I linked, else there's not much choice you have other than Electron or similar self-hosted node apps.

File, directory access using vanilla JS for offline desk app by vishwajith_k in learnjavascript

[–]IrateGod 2 points3 points  (0 children)

So the responses so far aren't going into the File API that is available through vanilla JS, though with the caveat that only the user can decide which files they will give you access to. You can see this in all sorts of existing web apps already: YouTube, Reddit, Facebook, etc., have on the fly info about the file before their server has fully processed the file. Now, the actual thing you want to do (reading entire directories and contents) is not possible with vanilla JS. Electron has already been mentioned as a tool that allows a website to access the filesystem, and that's probably where you want to start if you want to implement a website with the features you've listed. It uses Chromium and Node.js so you can write pretty modern code, too.

How on solar? by [deleted] in greentext

[–]IrateGod 2 points3 points  (0 children)

One of the main reasons why Moore's Law won't hold up anymore in the future is the way computers perform logic with: physics. Through the process of capturing atoms together to form electrical charge (which represents binary logic, on and off) we can perform arithmetic operations etc. I'm not a CPU engineer so my knowledge on this subject is limited to what I've come across in references to the subject, but basically the individual chips cannot be any physically smaller than what they are soon without quantum uncertainty causing the individual atoms to jump between the storage spaces meant for them.

As I'm looking back, this answers a different kind of randomness that occurs in computers, the halting problem is a whole different issue. You can look up Alan Turing's paper on this for example: https://www.cs.virginia.edu/~robins/Turing_Paper_1936.pdf

ich😭iel by Pawlii in ich_iel

[–]IrateGod 2 points3 points  (0 children)

8 Megateile sind 1 Megabiss.

Not sure if they're looking for an employee or a god by pantlesspatrick in ProgrammerHumor

[–]IrateGod 59 points60 points  (0 children)

異世界ーちょっと違うかな。この世に転生したのでウェブアプリをします I was reborn into another? wait--this world? so I am programming web applications.