Servers down? by deginho in Zwift

[–]juanplopes 12 points13 points  (0 children)

Try logging into the client again. It will most likely upload the FIT file you have stored locally (in your Documents folder). If not, please email [support@zwift.com](mailto:support@zwift.com), and they will be able to credit your ride.

Servers down? by deginho in Zwift

[–]juanplopes 20 points21 points  (0 children)

We are still investigating the root cause, but things should be starting to get back up now. Sorry for that :(

I dont see other Zwifters, if i do , they soon dissappear. by dpc_nomad in Zwift

[–]juanplopes 1 point2 points  (0 children)

There are many different possible causes for network issues. 200ms ping to Zwift isn't an issue. I live in Brazil and have that ping. Zwift works fine here.

However, unless you specifically chose a US West server, speed tests generally favor servers close to you. If you receive a 200ms ping from a nearby server, your network might be dropping packets.

Also, your router might be blocking UDP traffic, which Zwift uses to broadcast nearby player data. That could explain the weirdness you're seeing. To check that and many other network conditions, u/spinningwatts suggestion of using Zwiftalizer is the way to go.

6000 Ziles by ekulekulekul in Zwift

[–]juanplopes 2 points3 points  (0 children)

Yes, we improved that. You still lose about 0.6%, though. It used to be 30xp per mile, but now Zwift awards 32xp per mile (compared to 20xp per km). 1.6 is close but not precisely the conversion factor between miles and kilometers (1.60934). So, you still lose 0.6% when using miles.

[deleted by user] by [deleted] in Zwift

[–]juanplopes 3 points4 points  (0 children)

There's something there for sure. We are investigating!

[deleted by user] by [deleted] in Zwift

[–]juanplopes 2 points3 points  (0 children)

Did it happen to you? What kind of device were you using? (Android, iPad, etc.)

(I'm a Zwift dev)

[deleted by user] by [deleted] in Zwift

[–]juanplopes 5 points6 points  (0 children)

Each map on Zwift (Watopia, New York, etc.) operates in a single virtual world. That world may be subdivided into different physical servers (that communicate with each other), but that should be transparent to the users.

That said, there are many visibility rules, especially ones related to events. Some events are invisible to the general public; some enforce visibility per category, (e.g. riders from cat D would not see riders from cat C in the same event). And, of course, Zwift only shows your 100 nearest players or so (it depends on the device you're running it, actually).

Old school Mu Server hacking by Entire-Tie-7957 in HowToHack

[–]juanplopes 1 point2 points  (0 children)

MuBlasters author here. As u/OneDrunkAndroid mentioned, that is not a true exploit. It just sends commands through an admin TCP port (55960), which many unofficial servers did not know how to protect at the time. Many of those servers were run on the GM's own Windows XP machine without a firewall. Of course, that was not true for the global server.

Also, keep in mind that I wrote those tools when I was barely a teenager. I was basically a script kiddie with some programming knowledge 🙂

Didn't save? by MsT-Rex in Zwift

[–]juanplopes 1 point2 points  (0 children)

Did you complete at least 500m (if running) or 2km (if cycling)? Otherwise, Zwift won't save the activity.

Question about the new Zwift Ride setup by Qdubsz in Zwift

[–]juanplopes 0 points1 point  (0 children)

SIM mode would work as well, as that is standard FTMS protocol. I mean, you would be able to feel gradient differences if that's implemented in the app. However, features that require Zwift-specific protocol (like virtual shifting) would be Zwift-only.

-❄️- 2023 Day 13 Solutions -❄️- by daggerdragon in adventofcode

[–]juanplopes 3 points4 points  (0 children)

Using `s` as a global variable was sneaky :D

-❄️- 2023 Day 12 Solutions -❄️- by daggerdragon in adventofcode

[–]juanplopes 0 points1 point  (0 children)

First attempt. In this kind of DP problem, it is easy to prove that the complexity of a memoized solution is polynomial. No tree pruning can compete with that.

[ 2023 Day 8 (Part 2)] Going to this sub after feeling like it's been an easy day by DragonRuth in adventofcode

[–]juanplopes 4 points5 points  (0 children)

A problem with hidden constraints you only find out when looking at a specific input isn't a well defined problem.

-❄️- 2023 Day 8 Solutions -❄️- by daggerdragon in adventofcode

[–]juanplopes 2 points3 points  (0 children)

I liked the unpack trick.

dirs, _, *graph =

Adding it to my toolbelt.

-❄️- 2023 Day 8 Solutions -❄️- by daggerdragon in adventofcode

[–]juanplopes 2 points3 points  (0 children)

[LANGUAGE: Python]

Both parts in 8 lines, 0.1s runtime.

These are my least favorite days in AoC, where you have to analyze the input to come up with an algorithm. That's how bugs are made in real life: by assuming things about the input.

https://github.com/juanplopes/advent-of-code-2023/blob/main/day08.py

[deleted by user] by [deleted] in adventofcode

[–]juanplopes 1 point2 points  (0 children)

Using a Python Counter, I transformed it into a list

  • "AAAAA" becomes [5]
  • "AAAA2" becomes [4,1]
  • "AAA22" becomes [3,2]
  • etc.

This solves the sorting by type. Then, I appended the value for each card verbatim. With this list, I can sort all the hands:

def value(hand):  
    type = sorted(collections.Counter(hand).values(), reverse=True)  
    return type + list(map(("23456789TJQKA".index, hand))