captsneeze

joined 2 years ago
[–] [email protected] 2 points 2 years ago

Thanks, I’ll check this out tonight!

[–] [email protected] 38 points 2 years ago

God damn. Hoisted by my own petard!

[–] [email protected] 36 points 2 years ago (5 children)

Anyone know a Lemmy equivalent of r/woosh?

[–] [email protected] 2 points 2 years ago

Thanks! I had already worked out the first bit and the last bit, but I hadn’t thought to look at that middle part. I appreciate your time and insight.

[–] [email protected] 3 points 2 years ago

I don’t mind. I’m locked into this one because it functions well, handling all of the idiosyncrasies that can be involved in tennis scoring (3 vs 5 game sets, tie breaks, etc.).

It started as “I could use this for table tennis scoring at our cabin, it can’t be the at hard…” (we use tennis scoring instead of ping pong scoring because we’re all tennis players), but now I just feel like it’s a challenge I want to figure out.

[–] [email protected] 2 points 2 years ago

It’s called “ranked-choice voting”, and I agree.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Update: I’ve been banging my head against this for another day and have made a bit of progress. I think part of my original problem has to do with CORS issues. I’ve gotten around this by running a local server and navigating to the local html file via http (http://local host:8080/tennis.html) instead of file (file:///drive/path/tennis.html).

After this, I was running into an error with https. I believed something in the js was forcing redirection to https protocol. I “fixed” this by changing the value of _0x15ea[1] from “https:” to “http:” in the tennis.js file.

Now, I am able to get the locally saved page to load in a browser, but none of the actions that normally update the score on the scoreboard are working. For example, when loaded from the original website (scorching.com), clicking on the game score (white boxes on right) will increase that player’s score by 1. Likewise, the “z” and “x” keyboard keys will increase the player 1 and 2 scores, respectively. (In case anyone isn’t familiar with tennis scoring, the game score numbers advance through 15, 30, 40…, so don’t be surprised that they aren’t going 1, 2, 3…

The other things on the page all seem to be working. Just the scoring isn’t working,~~or the inputs to activate scoring changes aren’t being recognized.~~ (In the browser’s console I can see “scores 1” or “scores 2” being logged, which is the first instruction in the “scores” function, so I know the inputs are being recognized.) Appreciate any thoughts that might help me.

[–] [email protected] 1 points 2 years ago

Looks like “offline mode” allows a page to keep working after its already been loaded, and then the computer is made offline. If this is correct, it won’t work for my situation.

I’m hoping to use this on a small machine that’s always offline, so it won’t have the chance to load the webpage from an online server.

[–] [email protected] 1 points 2 years ago

Looks like “offline mode” allows a page to keep working after its already been loaded, and then the computer is made offline. If this is correct, it won’t work for my situation.

I’m hoping to use this on a small machine that’s always offline, so it won’t have the chance to load the webpage from an online server.

[–] [email protected] 1 points 2 years ago (1 children)

I’ve never heard of that. I’ll look into it and report back.

[–] [email protected] 2 points 2 years ago

Nice build. I really thought about using Alumimtone pickups on my current build, but ultimately went with something else. I really wish I could give them a shot IRL instead of relying on YouTube videos.I love the way they look.

[–] [email protected] 5 points 2 years ago

Bingo. For me, it’s been “5 years away” for 33 years.

view more: ‹ prev next ›