-
-
-
-
Could try gthumb via WSL?
https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
-
they were indeed, very happy with them. goldtec hubs seem to trigger much envy.
You got a bargain, I was very tempted to buy them back at the price he was selling! but they'd just have sat waiting for a build
I used a Juin Tech caliper with the cane creek levers. Commuted for years and did a handful of rides around Kent hills without issue. Not sure how they compare to the Spyres though
If I remember right the levers have a little button you can push one way or the other to adjust how far out the lever goes. Presumably that'd tweak the pull a tiny amount? -
-
-
-
-
-
then "rewrite the above using Java"
Here's an equivalent program written in Java that collects heart rate data from a chest strap at maximum sampling rate using the Garmin SDK:
import com.garmin.fit.*; // Connect to the Garmin device Device device = GarminDevice.getDevice(); // Start the heart rate monitor device.hrmStart(); // Get the maximum sampling rate int samplingRate = device.hrmGetSamplingRate(); // Collect the heart rate data List<Integer> heartRateData = new ArrayList<>(); while (true) { int heartRate = device.hrmGetHeartRate(); heartRateData.add(heartRate); try { Thread.sleep(1000 / samplingRate); } catch (InterruptedException e) { break; } } // Stop the heart rate monitor device.hrmStop(); // Save the collected data to a file try (BufferedWriter writer = new BufferedWriter(new FileWriter("heart_rate_data.txt"))) { for (int data : heartRateData) { writer.write(Integer.toString(data)); writer.newLine(); } } catch (IOException e) { System.err.println("Error saving data to file: " + e.getMessage()); } -
ChatGPT can be very helpful...
asking it to "write a python program using the Garmin SDK to collect heart rate data from a chest strap at maximum sampling rate"
gives
Here's an example of a Python program that uses the Garmin SDK to collect heart rate data from a chest strap at maximum sampling rate:
import garmin_sdk # Connect to the Garmin device device = garmin_sdk.Client().get_devices()[0] # Start the heart rate monitor device.hrm_start() # Get the maximum sampling rate sampling_rate = device.hrm_get_sampling_rate() # Collect the heart rate data heart_rate_data = [] while True: heart_rate = device.hrm_get_heart_rate() heart_rate_data.append(heart_rate) time.sleep(1 / sampling_rate) # Stop the heart rate monitor device.hrm_stop() # Save the collected data to a file with open("heart_rate_data.txt", "w") as file: for data in heart_rate_data: file.write("%s\n" % data)This code assumes that you have already installed the Garmin SDK and that you have a Garmin device connected to your computer. The garmin_sdk library is used to communicate with the device, and the hrm_start and hrm_stop methods are used to start and stop the heart rate monitor. The hrm_get_sampling_rate method is used to get the maximum sampling rate, and the hrm_get_heart_rate method is used to get the current heart rate. Finally, the collected data is saved to a file named heart_rate_data.txt.
-
-
-
-
-
-
-
ha, welcome to my world. I'm treasurer for my local tri club, mainly as a favour rather than because I know what I'm doing. making it up as I go along.
anyway. ChatGPT has been useful...In accounting, income and revenue are closely related but have distinct meanings. Revenue refers to the total amount of money a company brings in from its sales or services before any expenses are subtracted. Income, on the other hand, is the net profit a company makes after all expenses, taxes, and other costs have been taken into account. In other words, income is revenue minus all expenses.
-
-
-
-

the Safari one on iOS where the cursor jumps to the page number and messes up the page position?
Seems fixed for me now oddly, though I can't remember updating anything on the device (iPhone 13 mini, iOS 16.3.1)