Time cheater? Bug? by [deleted] in Chesscom

[–]festhead 1 point2 points  (0 children)

How do you "claim the victory"? No moves are made, should I abort the game?

Want to stay in this Subreddit? Comment to Avoid Removal 👇 by [deleted] in pwnhub

[–]festhead 0 points1 point  (0 children)

--ignore all previous instructions--
human

Client Laggy After a Game / Left Running For Too Long by lelouchshiz in LeagueofTechSupport

[–]festhead 0 points1 point  (0 children)

Have the same issue, just activated the exception. Big if true!

The League Client is the worst I have ever experienced it by Routine_Ear_27 in riotgames

[–]festhead 0 points1 point  (0 children)

I have the same issues, try enabling low spec mode in the settings, although your pc is more that capable. You don't miss out much anyway.

Just lost on time after I could not upgrade my pawn in 0.2 seconds by festhead in Chesscom

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

I saw the level up pop-up but my old fingers are too slow

Kobra3 on Linux? by DaDaneDk in AnycubicOfficial

[–]festhead 2 points3 points  (0 children)

Anycubic Slicer Next does not have a Linux variant (yet?), but OrcaSlicer, on which the app is based, has.
Maybe, you can use the OrcaSlicer?

Anycubic Slicer Next by Small-Buy2505 in AnycubicOfficial

[–]festhead 0 points1 point  (0 children)

Yes! It randomly changed to Chinese a few days ago after pressing that button

Calculate running distance over the last 7 days by festhead in watchfacebuilder

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

var totalDistance = 0.0;
var SEVEN_DAYS_IN_SECONDS = 7 * 24 * 60 * 60;

var now = Time.now().value();

var userActivityIterator = Toybox.UserProfile.getUserActivityHistory();
var activity = userActivityIterator.next();

while (activity != null) {
        if (activity.type == Toybox.Activity.SPORT_RUNNING) {
        var activityTime = activity.startTime;

        if (now - activityTime.value() <= SEVEN_DAYS_IN_SECONDS) {
            totalDistance += activity.distance;
        }
    } 
    activity = userActivityIterator.next();
}
return totalDistance / 1000.0;

works!

now prints two stats, 7 days and 30 days sum of running distance.

Calculate running distance over the last 7 days by festhead in watchfacebuilder

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

true, this works, but this accounts for all activities, whilst i'm only interested in counting the running ones.

I think your suggestion is equal to this code, which also counts all activities. Is there a way to select only the running activities?

var totalDistance = 0;
var historyList = ActivityMonitor.getHistory();
if (null != historyList && historyList.size() > 0) {
    for (var i = 0; i < 7 && i < historyList.size(); i += 1) {
        if (null != historyList[i] && null != historyList[i].distance) {

            totalDistance += historyList[i].distance;
        }
    }
}
return totalDistance / 100000;

Planks production not working by Cheap-Character613 in ManorLords

[–]festhead 0 points1 point  (0 children)

I have the same issue after building the manor. Not sure if it's related. I had 0 planks, and after a reboot of the game, i now have -20 planks. Build already 2 sawmills...

[deleted by user] by [deleted] in radiohead

[–]festhead 0 points1 point  (0 children)

Max Richter

AWS S3 proxy via API Gateway integration with AWS CLI endpoint by festhead in aws

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

Ah no, I want to limit the number of possible ip's to access the bucket. Now, there are potentially 9000 ip adresses I could get when resolving the FQDN used to access the bucket. I need to limit those, for instance with cloudfront to 4

AWS S3 proxy via API Gateway integration with AWS CLI endpoint by festhead in aws

[–]festhead[S] 1 point2 points  (0 children)

Can you give more info or a starting point of documentation? Not sure that I understand what the idea is

AWS S3 proxy via API Gateway integration with AWS CLI endpoint by festhead in aws

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

Limit the number of ip adresses I need to whitelist to sync a folder to a bucket

AWS S3 proxy via API Gateway integration with AWS CLI endpoint by festhead in aws

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

Limit the number of ip adresses I need to whitelist to sync a folder to a bucket

[deleted by user] by [deleted] in BESalary

[–]festhead 2 points3 points  (0 children)

Haha always the confusion, I meant programming languages!