Use POST /listRecords instead of GET when the URL gets too long

This attempts to resolve the same issue as #222 but without as much refactoring. It was hard for me to wrap my head around everything going on in that branch, so I started by writing a unit test and an integration test and then wrote only what I needed to get them to pass. I'm open to feedback or suggestions, especially if anything else in that branch is a must-have.

Codecov Report

Merging #245 (f50c02d) into main (2f6ecd6) will increase coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
+ Coverage   87.34%   87.50%   +0.15%
==========================================
  Files          14       14
  Lines         640      648       +8
==========================================
+ Hits          559      567       +8
  Misses         81       81

Impacted Files
Coverage Δ

pyairtable/api/abstract.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gtalarico following our discussion, I'm going to merge bugfixes and features after about a week of being up for review if there's no open feedback. Thanks again for your support!

I reverted the merge; this branch does not appropriately handle all query parameters, which is something I missed porting over from the other PRs that have tried to tackle this. I'll take another pass at it after writing some more comprehensive tests.


BlockData Implementation

implemented Manipulators:

AttachedData
ConnectedDirectionData
DirectionalData
DisarmedData
DropData
ExtendedData
GrowthData
OpenData
PoweredData
RedstonePoweredData
SeamlessData
SnowedData
SuspendedData
OccupiedData
InWallData
LayeredData
DecayableData
AxisData
DelayableData
ColoredData(i noticed some BlockMixins for coloredData are missing)

implementation checklist:

[x] DataProcessors implemented
[x] ValueProcessors implemented
[x] Keys and processors Registered
[x] BlockMixins implemented
[x] BlockMixins registered
[ ] Tested

TEST
https://github.com/lucdon/SpongeTest/blob/master/src/main/java/test/tests/BlockTestv2.java
Test Process

DataManipulators
Implementation State
Test State

AttachedData
DONE
SUCCES

ConnectedDirectionData
DONE
SUCCES

DirectionalData
DONE
SUCCES

DisarmedData
DONE
SUCCES

DropData
DONE
SUCCES

ExtendedData
DONE
SUCCES

GrowthData
DONE
SUCCES

OpenData
DONE
SUCCES

PoweredData
DONE
SUCCES

RedstonePoweredData
DONE
SUCCES

SeamlessData
DONE
SUCCES

SnowedData
DONE
SUCCES

SuspendedData
DONE
SUCCES

OccupiedData
DONE
SUCCES

InWallData
DONE
SUCCES

LayeredData
DONE
SUCCES

DecayableData
DONE
SUCCES

axisData
DONE
SUCCES

delayableData
DONE
SUCCES

coloredData
DONE
SUCCES

Test Result
https://gist.github.com/lucdon/c8e54746257cec34aa74

@gabizou its finished. if something is missing tell me
o and take a good look at MixinLever(and DirectionResolver) and MixinWorld changes


problem with qt6ct

see https://github.com/lxqt/lxqt/discussions/2221

Can you please make a better title


Xrm.Navigation.navigateTo sample with relationship parameter

Hi Guys,
My goal is open some form of record using Xrm.Navigation.navigateTo method and show an associated view of the Documents entity (Sharepoint locations) at the same time. The form does not have the Documents subgrid but the form has Documents in Related tab (Navigation items). So, I tried to call navigateTo method passing a relationship object in pageInput parameter but it had no effect to display an associated view for Documents.
My parameters:
var pageInput = {
    pageType: "entityrecord",
    entityName: "vs360_job",
    entityId: "cb03f692-686a-e811-814e-480fcff4b171",
    relationship: { attributeName: 'regardingobjectid', name: 'vs360_job_SharePointDocumentLocations', navigationPropertyName: 'regardingobjectid_vs360_job', relationshipType: 0, roleType: 1 }
};
var navigationOptions = {
    target: 2,
    height: {value: 80, unit:"%"},
    width: {value: 70, unit:"%"},
    position: 1
};
Xrm.Navigation.navigateTo(pageInput, navigationOptions)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0c917fb9-84c8-2676-9c6a-f33f03ba5da7
Version Independent ID: 057dd7ac-8383-1650-ceb5-cbea3995180c
Content: navigateTo (Client API reference) in model-driven apps - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/navigateTo.md
Service: powerapps
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

XRM.Navigation.navigateTo doesn't offer an option to determine which section or part of a form is loaded. The relationship parameter is for when you are creating a new record and you wish to pre-populate the form with the linked values from the originating relationship...

It seems nobody was interested (sad).

Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Update dependencies and workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (df992d7) 100.00% compared to head (b759b92) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #104   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          179       179
  Branches        32        32
=========================================
  Hits           179       179

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


laravel5.5 “withCount” not updated

Issue
$posts->withCount('comments');
The total number of comments after new comments is not updated
Environment
Laravel Version:5.5
Laravel Model Caching Package Version: 0.60

@tanwencn Thanks for this! I will get check this out ASAP.

@tanwencn I have create a testcase for this (https://github.com/GeneaLabs/laravel-model-caching/blob/master/tests/Integration/CachedBuilder/WithCountTest.php) and have not been able to confirm the issue. The test case behaves as expected.
Are both your Posts and Comments models cachable?
Please provide some additional information I could use for further testing, but it seems that this looks like an issue elsewhere.

posts model:
public function comments()
{
return $this->morphMany(Comment::class, 'commentable');
}
Whether the comment model is cached or not.   As long as the article model is cached, That's what happens.
The first execution of the generated sql:
select contents., (select count() from comments where contents.id = comments.commentable_id and comments.commentable_type = 'posts' order by id desc) as comments_count from contents

Aha! I bet it's the morphmany relationship. I will take a look over the next few days.

I have been able to reproduce this problem, and it is related to the morphMany relationship. For now, add ...->disableCaching()->... to your eloquent query until this issue is resolved.

While I have been able to recreate the issue, after some more research, I am not convinced this is a bug. The issue occurs if I create the polymorphic model without using the relationship. However, if I use the relationship to create the record, everything works as expected.
    public function testWithCountOnMorphManyRelationshipUpdatesAfterRecordIsAdded()
    {
        $book1 = (new Book)
            ->withCount("comments")
            ->first();
        $comment = factory(Comment::class, 1)
            ->create()
            ->first();

        $book1->comments()->save($comment);

        $book2 = (new Book)
            ->withCount("comments")
            ->where("id", $book1->id)
            ->first();

        $this->assertNotEquals($book1->comments_count, $book2->comments_count);
        $this->assertEquals($book1->comments_count + 1, $book2->comments_count);
    }

Can you provide the eloquent query you use to create the morphMany record?

Is it because of paging? No matter how you create it, it will not reach your expectations.
public function testExample()
    {
        $model = Posts::withCount('comments')->simplePaginate();
        $posts = $model->first();

        $posts->comments()->save(new Comment(['message' => 'test', 'is_release' => 1]));

        $comment = Comment::where('commentable_id', $posts->id)->count();

        $this->assertNotEquals($posts->comments_count, $comment);
    }

   <env name="CACHE_DRIVER" value="array"/>

    public function testExample()
    {
        $posts = Posts::withCount('comments')->first();

        $posts->comments()->save(new Comment(['message' => 'test', 'is_release' => 1]));

        $comment = Comment::where('commentable_id', $posts->id)->count();

        $this->assertEquals($posts->comments_count+1, $comment);
    }

everything is normal.
but, This will not work.
        <env name="CACHE_DRIVER" value="redis"/>

I will test that, thanks for the update.


unable to debug

Hi
I have a proble with cheap RC522 that don't send any reading
i would like to debug, but, after flashing debug firmware, i didn't see anything on arduino ide
any suggestion?
I'm opening serial monitor and setting to 9600 baud....what else?

Just make sure it's working with the MFRC522 Library Examples.

ok....also with test nothing

16:47:44.722 ->
16:47:44.722 -> SDK:3.0.0-dev(c0f7b44)/Core:2.5.0=20500000/lwIP:STABLE-2_1_2_RELEASE/glue:1.1/BearSSL:6778687
16:47:44.824 -> Scan PICC to see UID and type...


Search environments in custom environments paths

Hi,
conda allows changing the location of the environments directory via the CONDA_ENVS_DIRS or CONDA_ENVS_PATH environment variables. While only the latter option seems to be documented, the former option exists as well (I think because envs_dirs and envs_path are defined as alias somewhere).
This PR changes the behaviour of the autocompletion to respect these environment variables (but not the corresponding config file settings).
Let me know if you have any feedback.
Best, Thomas

Thanks! I had it without quotes because word-splitting works differently in zsh, but I didn't consider or know that there is an option setopt shwordsplit that enables compatible behaviour with bash, so it's probably better to do it with quotes to be safe.

@jezdez is there anything else that needs to be done before it can be merged?


PR 2: Made EmojiPicker a Singleton Component

Details

This is the second PR for the same tagged issue, which makes the EmojiPicker a singleton component by keeping a common ref. Refer the comment https://github.com/Expensify/App/issues/3245#issuecomment-1025441734

One change is that earlier we used to set props like updatePreferredSkinTone, etc to the Popover child component. Because we're setting reference for the Popover, I've had to move these props to EmojiPickerMenu separately to index.js and index.native.js

Additionally, changed the Popover with PopoverWithMeasuredContent for EmojiPicker

Fixed Issues

$ https://github.com/Expensify/App/issues/3245
Tests

Tested that Emojis work fine as before
Tested the skintone selection for Compose
Tested the frequently used emojis for Compose

[x] Verify that no errors appear in the JS console

QA Steps

Go to any chat
Click on EmojiPicker
Select the Emoji and enter
You can change the Skintone and ensure that it works fine as before.

[x] Verify that no errors appear in the JS console

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

Waiting for First PR to merge....

@parasharrajat  @puneetlath PR ready for your review.

@parasharrajat @puneetlath  PR updated.

Was a bit unwell, will push an update tonight.

@parasharrajat I've got one issue ReportActionCompose has an import import VirtualKeyboard from '../../../libs/VirtualKeyboard'; but in the lib, it is virtualKeyboard, when I run the app due to case-sensitivity it says module not found.

PR updated. @parasharrajat @puneetlath

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @puneetlath in version: 1.1.40-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @yuwenmemon in version: 1.1.40-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

Issue 1 -
Title- [High]: Chrome + Jaws : Keyboard : 'Change skin tone' control is not accessible using keyboard.
Actual - Focus does not land on the 'Change skin tone' control using keyboard, focus stuck on the 1st smiley.
Expected -'Change skin tone' control should accessible using keyboard.
WCAG failure - 2.1.1
Reproducible in staging?: - Yes
Version Number: - v1.1.40-2
Platforms - Web (Chrome + Jaws), iOS, Desktop (MAC)
Note - Due to installation of build not able to check on Android
https://user-images.githubusercontent.com/97600950/157379094-b69a2471-9ecd-4031-9e1b-c37e0f00383c.mp4
Issue 2 -
Title- [Medium]: Chrome + Jaws : Screen Reader: Name & Role is not defined for the 'Emoji' control.
Actual - Name & Role is not defined for the 'Emoji' control. Screen reader is reading "type and test etc." when focus lands on the Emoji control.
Expected -Name - 'Emoji' and Role - 'Button' should define for the 'Emoji' control.
WCAG failure - 4.1.2
Reproducible in staging?: - Yes
Version Number: - v1.1.40-2
Platforms - Web (Chrome + Jaws), iOS, Desktop (MAC)
Note - Due to installation of build not able to check on Android
https://user-images.githubusercontent.com/97600950/157379606-3f0797e1-737a-4b38-a35a-aca4024d2104.mp4
Issue 3 -
Title- [Medium]: Chrome + Jaws : Keyboard: 'Emoji' control is not accessible using screen reader.
Actual - 'Emoji' control is not accessible using screen reader. While press Enter on the control, control is not activated.
Expected -'Emoji' control should activated using screen reader.
WCAG failure - 2.1.1
Reproducible in staging?: - Yes
Version Number: - v1.1.40-2
Platforms - Web (Chrome + Jaws),  Mobile -web(iOS)
Note - Due to installation of build not able to check on Android
https://user-images.githubusercontent.com/97600950/157379924-056d597c-dc99-4c77-916a-87948f0fde17.mp4


No meter bar activity...

After some effort, I got this control/component to build as part of my application (though I still get warnings).
Everything looks good, and I did my best to follow the code example below, however... I do NOT get any activity on the meters.
Is there something that needs to be initialized, other than what is shown in the code example below?
Is there some example application that uses this that I can download/build?

Having the same issue using the Outline class, it seems to only update once (on first frame) and then never updates again... running JUCE 6.0.4 on Linux

Indeed, the OutlineBuffer is just a drawing class. It is the responsibility of the Component using the OutlineBuffer to implement a timerCallback() to redraw according to the needs of the use case.
Closing this now.


add ROCBLAS_PATH to Makefiles

README files have line
If rocBLAS is not installed you can set the environment variable ROCBLAS_PATH to point to the location of your rocblas build.
The additions to Makefile provide for this functionality.

The following three cases work as expected:

no rocblas installed, custom rocblas and set ROCBLAS_PATH: uses custom rocblas in ROCBLAS_PATH
rocblas installed, custom rocblas and set ROCBLAS_PATH: uses custom rocblas in ROCBLAS_PATH
rocblas installed, ROCBLAS_PATH not set: uses installed rocblas


Add SetDefaults for pipelineSpec in reconciler

Changes
Cherry-picked from #5176
This commit adds SetDefaults for pipelineSpec in reconciler
after they are fetched. This is to avoid failing the resources that
are not mutated to add default values.
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Fix an issue with parameters without types specified in pre-existing `Pipeline`s and `Task`s.

/assign @lbernick
cc @tektoncd/core-maintainers

/retest

/retest

/lgtm

/retest

/retest

/test pull-tekton-pipeline-alpha-integration-tests


Improve 'workspace switching' user experience on tab selection

I thought cd might be enough to switch workspaces (right now the command client looks in it's directory, and parent directory to resolve tabs).
But there is one case that isn't handled well.  If I'm in my home directory, and I want to open a named tab.  This should resolve to the metadata from my workspace, instead of launching an anonymous tab.

There is progress on this in 0.4.0 with #193.  It's a lot easier to move between workspaces now.


badge: allows multiple results per commit id

This is a bug. If a commit is already present, just update the record instead of creating a new record.

Closed through
https://github.com/popperized/popper-badge-server/commit/9b3a8f64775b38f449d9d865910967406ee3d3e0


Agent CreateContainerConfigError

Environmental Info:
K3s Version:
k3s version v1.31.3+k3s1 (6e6af988)
go version go1.22.8
Node(s) CPU architecture, OS, and Version:
Linux scanner-dxwcsd6i9xnqz1s66jpzmn 5.15.0-124-generic #134~20.04.1-Ubuntu SMP Tue Oct 1 15:27:33 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 server
3 agents
Describe the bug:
Pods fail with CreateContainerConfigError.
Steps To Reproduce:

curl -sfL https://get.k3s.io | sh -s - agent \
    --server=$k3s_url \
    --token=$k3s_token \
    --node-external-ip=$tailscale_ip

Expected behavior:

I expect the containers to start. Even a simple daemonset manifest with busybox:latest does not start.
Actual behavior:
It is able to pull any image but when I describe the pod it says this:

Additional context / logs:
Run sudo systemctl status k3s-agent.service
Dec 12 15:26:25 scope-k3s-agent k3s[7711]: W1212 15:26:25.844789    7711 reflector.go:561] k8s.io/client-go@v1.31.3-k3s1/tools/cache/reflector.go:243: failed to list *v1.Service: "spec.clusterIP" is not a known field selector: only "metadata.name", "metadata.namespace"
Dec 12 15:26:25 scope-k3s-agent k3s[7711]: E1212 15:26:25.844823    7711 reflector.go:158] "Unhandled Error" err="k8s.io/client-go@v1.31.3-k3s1/tools/cache/reflector.go:243: Failed to watch *v1.Service: failed to list *v1.Service: \"spec.clusterIP\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\""
Dec 12 15:26:34 scope-k3s-agent k3s[7711]: E1212 15:26:34.184965    7711 kuberuntime_manager.go:1274] "Unhandled Error" err="container &Container{Name:fluent-bit,Image:busybox:latest,Command:[sh -c while true; do sleep 30; done],Args:[],WorkingDir:,Ports:[]ContainerPort{},Env:[]EnvVar{EnvVar{Name:AWS_REGION,Value:us-east-1,ValueFrom:nil,},EnvVar{Name:AWS_ACCES>
Dec 12 15:26:34 scope-k3s-agent k3s[7711]: E1212 15:26:34.186129    7711 pod_workers.go:1301] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"fluent-bit\" with CreateContainerConfigError: \"services have not yet been read at least once, cannot construct envvars\"" pod="logging/fluent-bit-jnlw8" podUID="6ae45623-a5ec-4efe-8b68-f3c571c4b72f"
Dec 12 15:26:39 scope-k3s-agent k3s[7711]: W1212 15:26:39.904729    7711 reflector.go:561] k8s.io/client-go@v1.31.3-k3s1/tools/cache/reflector.go:243: failed to list *v1.Service: "spec.clusterIP" is not a known field selector: only "metadata.name", "metadata.namespace"
Dec 12 15:26:39 scope-k3s-agent k3s[7711]: E1212 15:26:39.904770    7711 reflector.go:158] "Unhandled Error" err="k8s.io/client-go@v1.31.3-k3s1/tools/cache/reflector.go:243: Failed to watch *v1.Service: failed to list *v1.Service: \"spec.clusterIP\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\""
Dec 12 15:26:45 scope-k3s-agent k3s[7711]: E1212 15:26:45.172330    7711 kuberuntime_manager.go:1274] "Unhandled Error" err="container &Container{Name:fluent-bit,Image:busybox:latest,Command:[sh -c while true; do sleep 30; done],Args:[],WorkingDir:,Ports:[]ContainerPort{},Env:[]EnvVar{EnvVar{Name:AWS_REGION,Value:us-east-1,ValueFrom:nil,},EnvVar{Name:AWS_ACCES>
Dec 12 15:26:45 scope-k3s-agent k3s[7711]: E1212 15:26:45.173503    7711 pod_workers.go:1301] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"fluent-bit\" with CreateContainerConfigError: \"services have not yet been read at least once, cannot construct envvars\"" pod="logging/fluent-bit-jnlw8" podUID="6ae45623-a5ec-4efe-8b68-f3c571c4b72f"
Dec 12 15:27:00 scope-k3s-agent k3s[7711]: E1212 15:27:00.206926    7711 kuberuntime_manager.go:1274] "Unhandled Error" err="container &Container{Name:fluent-bit,Image:busybox:latest,Command:[sh -c while true; do sleep 30; done],Args:[],WorkingDir:,Ports:[]ContainerPort{},Env:[]EnvVar{EnvVar{Name:AWS_REGION,Value:us-east-1,ValueFrom:nil,},EnvVar{Name:AWS_ACCES>
Dec 12 15:27:00 scope-k3s-agent k3s[7711]: E1212 15:27:00.208129    7711 pod_workers.go:1301] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"fluent-bit\" with CreateContainerConfigError: \"services have not yet been read at least once, cannot construct envvars\"" pod="logging/fluent-bit-jnlw8" podUID="6ae45623-a5ec-4efe-8b68-f3c571c4b72f"

Dec 12 15:26:25 scope-k3s-agent k3s[7711]: W1212 15:26:25.844789    7711 reflector.go:561] k8s.io/client-go@v1.31.3-k3s1/tools/cache/reflector.go:243: failed to list *v1.Service: "spec.clusterIP" is not a known field selector: only "metadata.name", "metadata.namespace"
Dec 12 15:26:25 scope-k3s-agent k3s[7711]: E1212 15:26:25.844823    7711 reflector.go:158] "Unhandled Error" err="k8s.io/client-go@v1.31.3-k3s1/tools/cache/reflector.go:243: Failed to watch *v1.Service: failed to list *v1.Service: \"spec.clusterIP\" is not a known field selector: only \"metadata.name\", \"metadata.namespace\""
Dec 12 15:26:34 scope-k3s-agent k3s[7711]: E1212 15:26:34.184965    7711 kuberuntime_manager.go:1274] "Unhandled Error" err="container &Container{Name:fluent-bit,Image:busybox:latest,Command:[sh -c while true; do sleep 30; done],Args:[],WorkingDir:,Ports:[]ContainerPort{},Env:[]EnvVar{EnvVar{Name:AWS_REGION,Value:us-east-1,ValueFrom:nil,},EnvVar{Name:AWS_ACCES>
Dec 12 15:26:34 scope-k3s-agent k3s[7711]: E1212 15:26:34.186129    7711 pod_workers.go:1301] "Error syncing pod, skipping" err="failed to \"StartContainer\" for \"fluent-bit\" with CreateContainerConfigError: \"services have not yet been read at least once, cannot construct envvars\""

I'm not really sure what's going on here, but it looks to me like you are perhaps running a 1.31 agent against an potentially much older server? What is the output of kubectl get node -o wide?

This is the version running on the server: v1.30.6+k3s1
This puts the agent version well within the requirements for compatibility. I went ahead and downgraded the agent versions to what I mentioned above and the pods spin up fine now. Still, being one minor version behind or ahead, I wouldn't have expected this to happen.


Add support for android-versionCode & ios-CFBundleVersion

https://stackoverflow.com/a/24116774/2371810

cordova-config has these options


The meaning of model_old is confusing. In task 1, the number of heads of model_old is sometimes 1 and sometimes 2 during def eval.

Dear author,
Thanks for your work.
Question 1:
I am quite confused about your definition of the model_old. I thought model_old should be the model from the last tasks, therefore, the number of heads of the model_old in tasks 1 should be always 1. However, "the number of heads of the model_old in tasks 1" is sometimes 1 (expected value) and sometimes 2 (unexpected value) during def eval.
I think it's because of your arrangement of the def train which includes train_loop and post_train_process,
When you call .train and .eval sequentially, the post_train_process will make the number of heads of the model_old in tasks 1 be 2 in the .eval function.
For example. In def search_tradeoff  (gridsearch.py), you call .train and .eval.
and in incremental_learning.py, you call .train and .eval.
By setting num_epochs=1, the following results can make my confusion clear.
Can I confirm my understanding from you:

when def eval is called after post_train_process. model_old = model
when def eval is called before post_train_process. model_old is from last task, and model is for current task,

Can you help me to understand this point? What's the specific explanation of your model_old in different cases?
Question 2:
The following values are from Task-Aware incremental performance. Surprisingly, as the number of tasks increases, the performance on the first task increases instead (as shown by the bolded numbers), can you kindly explain the reason?
Task Incremental Acc
81.5%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0% Avg.: 81.5%
81.3%  48.5%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0% Avg.: 64.9%
81.6%  52.9%  75.1%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0% Avg.: 69.9%
83.0%  54.6%  76.5%  68.4%   0.0%   0.0%   0.0%   0.0%   0.0%   0.0% Avg.: 70.6%
83.5%  55.9%  77.9%  68.3%  72.4%   0.0%   0.0%   0.0%   0.0%   0.0% Avg.: 71.6%
84.2%  58.3%  78.4%  70.2%  73.7%  66.2%   0.0%   0.0%   0.0%   0.0% Avg.: 71.8%
84.0%  59.9%  79.3%  70.4%  77.1%  66.4%  71.5%   0.0%   0.0%   0.0% Avg.: 72.7%
83.8%  60.1%  79.8%  70.6%  77.1%  66.3%  69.5%  69.7%   0.0%   0.0% Avg.: 72.1%
83.9%  60.0%  80.1%  70.8%  78.1%  67.1%  70.0%  69.0%  66.0%   0.0% Avg.: 71.7%
83.9%  59.6%  80.3%  71.2%  78.1%  68.3%  71.1%  70.5%  64.6%  64.2% Avg.: 71.2%

Thanks.
Mengya Xu

Task  1

LR GridSearch
| Epoch   1, time=  1.8s | Train: skip eval | Valid: time=  0.4s loss=1.969, TAw acc= 29.6% | *
Current best LR: 0.05
| Epoch   1, time=  1.9s | Train: skip eval | Valid: time=  0.4s loss=2.072, TAw acc= 25.6% | *
Current best LR: 0.05
| Epoch   1, time=  1.8s | Train: skip eval | Valid: time=  0.4s loss=2.115, TAw acc= 23.4% | *
Current best LR: 0.05
Current best acc:  29.6
Trade-off GridSearch
inside def train_epoch
num_model_old_heads 1
num_model_heads 2
| Epoch   1, time=  2.8s | Train: skip eval |
inside def eval
num_model_old_heads 1
num_model_heads 2
(this def eval is called after def train_epoch, specifically, this def eval is called before post_train_process.)
Valid: time=  0.4s loss=22.879, TAw acc= 19.2% | *
| Selected 2000 train exemplars, time= 11.8s
inside def eval
num_model_old_heads 2
num_model_heads 2
(this def eval is called after def train, specifically, this def eval is called after post_train_process.)
Current acc: 0.214 for lamb=4
inside def train_epoch
num_model_old_heads 1
num_model_heads 2
| Epoch   1, time=  2.9s | Train: skip eval |
inside def eval
num_model_old_heads 1
num_model_heads 2
Valid: time=  0.4s loss=12.227, TAw acc= 22.4% | *
| Selected 2000 train exemplars, time= 11.7s
inside def eval
num_model_old_heads 2
num_model_heads 2
Current acc: 0.236 for lamb=2.0
inside def train_epoch
num_model_old_heads 1
num_model_heads 2
| Epoch   1, time=  2.8s | Train: skip eval |
inside def eval
num_model_old_heads 1
num_model_heads 2
Valid: time=  0.4s loss=7.281, TAw acc= 23.8% | *
| Selected 2000 train exemplars, time= 11.7s
inside def eval
num_model_old_heads 2
num_model_heads 2
Current acc: 0.274 for lamb=1.0
Train
inside def train_epoch
num_model_old_heads 1
num_model_heads 2
| Epoch   1, time=  2.9s | Train: skip eval |
inside def eval
num_model_old_heads 1
num_model_heads 2
Valid: time=  0.4s loss=7.291, TAw acc= 25.0% | *

Selected 2000 train exemplars, time= 11.7s

Test on task  0 : loss=3.747 | TAw acc= 31.0%, forg= -5.6%| TAg acc= 22.5%, forg=  2.9% <<<
inside def eval
num_model_old_heads 2
num_model_heads 2

Test on task  1 : loss=7.030 | TAw acc= 25.8%, forg=  0.0%| TAg acc= 14.1%, forg=  0.0% <<<
Save at results_test/cifar100_icarl_icarl_fixd_5

Task  2

Hi Mengya,
Q1: I'm not sure if I totally understood your question. The model_old should always have 1 less head than the current model, since it has no information about the current task at hand. By design, each task will add a new head, which will be concatenated during execution if the scenario is class-IL (task agnostic), and kept separate if it is task-IL (task aware). Also, in evaluation, it is true what you mention about the model being the new one after post_processing. However, at that point in the training session, it does not have any effect on the metrics anymore (there will be no backpropagation during eval, and the loss is not involved in the performance metrics), so that's why we do not do an exception there.
Q2: What you observe in this example is a rare case of forward transfer. It is a desirable property of continual learning systems to be able to improve performance on previous tasks when learning a new one that is similar. However, in real-world applications it happens very rarely.


Remove friend from trip

Steps to reproduce

Go to navigation drawer. Select My Trips
Go to any trip
There is a list of friends
There is no way to remove a friend from the trip

Expected behaviour

Add an option on the list item to remove the friend from trip

Endpoint to use
Everything is mentioned in https://github.com/project-travel-mate/server/issues/16

I would like to work on this


Updating hipchat env variables

Updates the HUBOT_HIPCHAT_XMPP_DOMAIN variable after some troubleshooting on #stackstorm-community.

https://github.com/StackStorm/st2workroom/pull/320
https://github.com/StackStorm/st2installer/pull/99


Projections not selecting child entities

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I will point out that I'm using EFC6 with Npgsql.EntityFrameworkCore.PostgreSQL but I don't think that is the issue. If you review the logs it seems like the projection is never capturing child entities.
Steps to reproduce

Create a simple parent/child application dbcontext
Setup services

builder.Services.AddGraphQLServer()
        .ModifyRequestOptions(opt => opt.IncludeExceptionDetails = true)
        .AddProjections()
        .AddQueryType<Query>()
        .AddMutationType<Mutation>();

Use a simple query as follows with

        [UseProjection]
        public IQueryable<User> Users([Service] ApplicationDbContext context) => context.Users;

Run the following

query{
  users{
    email
    refreshTokens{
      createdOn
    }
  }
}

Relevant log output
Building...
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: https://localhost:7044
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://localhost:5292
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Users\cphillips83\Documents\Work\prototypes\apigen\dbtest\
warn: 11/15/2021 23:07:34.061 CoreEventId.SensitiveDataLoggingEnabledWarning[10400] (Microsoft.EntityFrameworkCore.Infrastructure)
      Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
info: 11/15/2021 23:07:34.236 CoreEventId.ContextInitialized[10403] (Microsoft.EntityFrameworkCore.Infrastructure)
      Entity Framework Core 6.0.0 initialized 'ApplicationDbContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL:6.0.0+025fc55189ae41e3f2b98bcbe4eb44c505653700' with options: SensitiveDataLoggingEnabled DetailedErrorsEnabled
dbug: 11/15/2021 23:07:34.267 CoreEventId.QueryCompilationStarting[10111] (Microsoft.EntityFrameworkCore.Query)
      Compiling query expression:
      'DbSet<User>()
          .Select(_s1 => new User{ Email = _s1.Email }
          )'
dbug: 11/15/2021 23:07:34.391 CoreEventId.QueryExecutionPlanned[10107] (Microsoft.EntityFrameworkCore.Query)
      Generated query execution expression:
      'queryContext => new SingleQueryingEnumerable<User>(
          (RelationalQueryContext)queryContext,
          RelationalCommandCache.SelectExpression(
              Projection Mapping:
                  Email -> 0
              SELECT u.Email
              FROM Users AS u),
          Func<QueryContext, DbDataReader, ResultContext, SingleQueryResultCoordinator, User>,
          dbtest.ApplicationDbContext,
          False,
          True,
          True
      )'
dbug: 11/15/2021 23:07:34.429 RelationalEventId.CommandCreating[20103] (Microsoft.EntityFrameworkCore.Database.Command)
      Creating DbCommand for 'ExecuteReader'.
dbug: 11/15/2021 23:07:34.432 RelationalEventId.CommandCreated[20104] (Microsoft.EntityFrameworkCore.Database.Command)
      Created DbCommand for 'ExecuteReader' (19ms).
dbug: 11/15/2021 23:07:34.435 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
      Opening connection to database 'apigentest' on server ''.
dbug: 11/15/2021 23:07:34.543 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
      Opened connection to database 'apigentest' on server 'tcp://localhost:5432'.
dbug: 11/15/2021 23:07:34.546 RelationalEventId.CommandExecuting[20100] (Microsoft.EntityFrameworkCore.Database.Command)
      Executing DbCommand [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT u."Email"
      FROM "Users" AS u
info: 11/15/2021 23:07:34.596 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
      Executed DbCommand (50ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT u."Email"
      FROM "Users" AS u
dbug: 11/15/2021 23:07:34.607 RelationalEventId.DataReaderDisposing[20300] (Microsoft.EntityFrameworkCore.Database.Command)
      A data reader was disposed.
dbug: 11/15/2021 23:07:34.610 RelationalEventId.ConnectionClosing[20002] (Microsoft.EntityFrameworkCore.Database.Connection)
      Closing connection to database 'apigentest' on server 'tcp://localhost:5432'.
dbug: 11/15/2021 23:07:34.614 RelationalEventId.ConnectionClosed[20003] (Microsoft.EntityFrameworkCore.Database.Connection)
      Closed connection to database 'apigentest' on server ''.
dbug: 11/15/2021 23:07:34.632 CoreEventId.ContextDisposed[10407] (Microsoft.EntityFrameworkCore.Infrastructure)
      'ApplicationDbContext' disposed.
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
watch : Shutdown requested. Press Ctrl+C again to force exit.

watch : Exited

Additional Context?
csproj file
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="HotChocolate.AspNetCore" Version="12.2.1" />
    <PackageReference Include="HotChocolate.Data" Version="12.2.1" />
    <PackageReference Include="MediatR" Version="9.0.0" />
    <PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
    <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.0">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
  </ItemGroup>
</Project>

Product
Hot Chocolate
Version
12.2.1

Related to the public setter.


command not found

The installation was completed successfully, but when I run /root/client.ovpn it says:
/root/client.ovpn: line 1: client: command not found
/root/client.ovpn: line 2: dev: command not found
/root/client.ovpn: line 3: proto: command not found
/root/client.ovpn: line 4: sndbuf: command not found
/root/client.ovpn: line 5: rcvbuf: command not found
/root/client.ovpn: line 6: remote: command not found
/root/client.ovpn: line 7: resolv-retry: command not found
/root/client.ovpn: line 8: nobind: command not found
/root/client.ovpn: line 9: persist-key: command not found
/root/client.ovpn: line 10: persist-tun: command not found
/root/client.ovpn: line 11: remote-cert-tls: command not found
/root/client.ovpn: line 12: auth: command not found
/root/client.ovpn: line 13: cipher: command not found
/root/client.ovpn: line 14: comp-lzo: command not found
/root/client.ovpn: line 15: setenv: command not found
/root/client.ovpn: line 16: key-direction: command not found
/root/client.ovpn: line 17: verb: command not found
/root/client.ovpn: line 18: syntax error near unexpected token `newline'
/root/client.ovpn: line 18: `<ca>'

I guess that's not what it is supposed to do...
Btw I'm using Ubuntu Server 17.04 - but, I'm not sure if that's relevant.

That's not what you're supposed to do because .ovpn files aren't executable files.
Try for example: openvpn client.ovpn

No, don't run it from a shell. Download openvpn on your device (mobile
phone, laptop, etc) and copy the .ovpn file there. Tell openvpn to use that
configuration file and connect. Check the documentation for your os to know
exactly how.
On Jul 2, 2017 10:46 AM, "JacobValdemar"<EMAIL_ADDRESS>wrote:

The installation was completed successfully, but when I run
/root/client.ovpn it says:
/root/client.ovpn: line 1: client: command not found
/root/client.ovpn: line 2: dev: command not found
/root/client.ovpn: line 3: proto: command not found
/root/client.ovpn: line 4: sndbuf: command not found
/root/client.ovpn: line 5: rcvbuf: command not found
/root/client.ovpn: line 6: remote: command not found
/root/client.ovpn: line 7: resolv-retry: command not found
/root/client.ovpn: line 8: nobind: command not found
/root/client.ovpn: line 9: persist-key: command not found
/root/client.ovpn: line 10: persist-tun: command not found
/root/client.ovpn: line 11: remote-cert-tls: command not found
/root/client.ovpn: line 12: auth: command not found
/root/client.ovpn: line 13: cipher: command not found
/root/client.ovpn: line 14: comp-lzo: command not found
/root/client.ovpn: line 15: setenv: command not found
/root/client.ovpn: line 16: key-direction: command not found
/root/client.ovpn: line 17: verb: command not found
/root/client.ovpn: line 18: syntax error near unexpected token newline' /root/client.ovpn: line 18: '
I guess that's not what it is supposed to do...
Btw I'm using Ubuntu Server 17.04 - but, I'm not sure if that's relevant.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Nyr/openvpn-install/issues/330, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGcIFpCwWWGM59mkLaeGcvmvP9o-Gphyks5sJ9d_gaJpZM4OLpRa
.

Yes, I don't think that I was clear enough.
You need to copy the configuration file to your client first (using SCP for example), then load it into whatever client software you want to use.


YouTube link added

Closes #209

@naveenkala Youtube link doesn't need to be m.youtube.com right

@naveenkala Youtube link doesn't need to be m.youtube.com right

Link changed :)


Create IconsAndText slice

Description
We want a new Prismic slice that is only available within Visual Story content type. That may change later as it could be added to Pages as well, but for now we want to be able to delete and modify it as we need, so it cannot be used by the Content type and should stay separate.
This is about the data only. Style will be treated in #9955

Text might be repeat?
Icons are repeat - do we limit it visually to a certain amount?
Icons are added through a dropdown with the name of all our available icons. This is to limit it to our approved SVGs and facilitate aligned styling.

DoD

Everything in the list above is available and we've confirmed the ones with question marks.
Icons will be visually available for reference in Cardigan.
There will be a GitBook page for Editors to consult that renders out the Cardigan page, GitBook being their preferred tool.

Based on various conversations these last weeks I've removed some things from the description and DoD, we've simplified this to be repeatable images that will be styled differently in the codebase. I still don't know if we limit the amount of displayed images though, @DominiqueMarshall @davidpmccormick ?

This could also be marked as done as the slice is available on Prismic, I'd just want to confirm that we don't want to limit the amount of icons on the UI (hiding over a certain amount). David and I talked and we thought we'd leave that in editors' hands, whilst documenting in https://github.com/wellcomecollection/wellcomecollection.org/issues/10016 that we don't recommend anything over 5.

Yeah I'd say 5-6 would be the max number

That's now done and in prod


purls: Extract 'toPurl' function's content

This allows to customize the creation of purls in plugins i.e. create
[Package] instances with a special purl.
The extracted function offers also the possible to pass additional
query parameters to the purls that the previous implementation didn't.
Signed-off-by: Nicolas Nobelis<EMAIL_ADDRESS>

It's seems the CI checks failure are flakiness: when I run BabelFunTest locally, it passes.
@sschuberth could you please check and if this the case, merge this PR ?

Merging despite the unrelated test failures.


Remove default OP

Before, the spigot_init.sh script would automatically add AshDevFr as a server operator. Additionally, there is no easy way for the user of this Docker image to remove this default operator, as it keeps getting added back each time the container is restarted.
This represents a security risk for the server, so this pull request simply removes it so the user can manage their own operators as they see fit.

Hey @AshDevFr could I get a review on this pull request? Thanks!

Sooo... you don't want me on your server ? ;)
Looks good to me


media:group

Commafeed doesn't seem to show any of the media:group section as described in http://www.rssboard.org/media-rss.
Is there any way to get it to display it?
An example rss feed: https://www.youtube.com/feeds/videos.xml?channel_id=UCy1Ms_5qBTawC-k7PVjHXKQ

For the record, here is how a youtube feed is displayed:

when these tags are available:
  <media:group>
   <media:title>Can You Observe a Typical Universe?</media:title>
   <media:content url="https://www.youtube.com/v/q-6oU3jXAho?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
   <media:thumbnail url="https://i2.ytimg.com/vi/q-6oU3jXAho/hqdefault.jpg" width="480" height="360"/>
   <media:description>Sign Up on Patreon to get access to the Space Time Discord!
https://www.patreon.com/pbsspacetime

Check out the Space Time Merch Store
https://pbsspacetime.com/

The moment you started observing reality, you hopelessly polluted any conclusions you might make about it. The anthropic principle guarantees that you are NOT seeing the universe in most typical state. But used correctly, this highly controversial idea can be extremely powerful. So, how do you correctly use the anthropic principle?

Hosted by Matt O'Dowd
Written by Matt O'Dowd
Graphics by Leonardo Scholzer & Adriano Leal
Directed by: Andrew Kornhaber
Executive Producers: Eric Brown & Andrew Kornhaber

Special Thanks to Dr. Flournoy!!! Check out his lectures Below:
Particle Physics: https://www.youtube.com/playlist?list=PLDlWMHnDwylijo0yfs3xUN9ad6-YZjPLT
General Relativity: https://www.youtube.com/playlist?list=PLDlWMHnDwyliMevB36wgRbjXhJkoN_RUQ

...</media:description>
   <media:community>
    <media:starRating count="7174" average="4.92" min="1" max="5"/>
    <media:statistics views="164545"/>
   </media:community>
  </media:group>

Please stale bot, let it live.

Please stale bot, let it live.

What content would you expect?
Should CommaFeed use the media:thumbnail and media:description tags? Only if the content of the entry is empty?

What content would you expect?
Should CommaFeed use the media:thumbnail and media:description tags? Only if the content of the entry is empty?

Yes, I would expect both to be displayed, even if there is a content in the entry.

Yes, I would expect both to be displayed, even if there is a content in the entry.

I read the spec at https://www.rssboard.org/media-rss and it's rather complex, basically all elements are optional. The main element seems to be media:content but it's also optional.
Feeds mentioned in https://github.com/Athou/commafeed/issues/893 https://github.com/Athou/commafeed/issues/820 https://github.com/Athou/commafeed/issues/867 and https://github.com/Athou/commafeed/issues/716 all behave differently.
Some use media:content, some don't. Some use media:thumbnail, some don't. Youtube feeds are even stranger since they use a content type application/x-shockwave-flash which is now unsupported by all browsers and would require a specific handling to translate to an iframe pointing to the embedded version of the video (or something like that).
All in all, supporting the media  extension looks like a lot of effort right now :(

I think the most common usage is videos sharing, and as you pointed media:thumbnail and media:description support would be just good enough so we can use commafeed instead of youtube/peertube subscriptions.

Actually that seems to be a nice compromise. I'll see what I can do.

I added support for media:thumbnail and media:description, but they will be displayed only if the main content is empty, because some feeds (like https://www.reddit.com/r/HighQualityGifs/.rss mentioned in https://github.com/Athou/commafeed/issues/867) have the image both in the content and as a media extension, resulting in the image displayed twice.
If anyone has a better idea let me know :)


Convert-from-nuget should not add nuget feeds that are disabled in nuget.config

see #1085
/cc @vchekan @theimowski

I'll try to have a look

cool thx. there is a sample at https://github.com/fsprojects/Paket/issues/1085#issuecomment-144577339


Zero-Downtime Upgrade process moving to drain next node without waiting for current node to be upgraded

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):
Perform zero-downtime rolling upgrade of K8s cluster (preferably with max unavailable node count of 1)
Result:
Observe that the process will drain and move onto draining the next node without seeing the "current" node as upgraded to the latest version of K8s
Other details that may be helpful:
This is bad and causes downtime, as it's possible that the workloads that are drained off the new node are going to be drained onto the old ("upgraded") node because it is the most empty in the cluster, then when the kubelet restarts it will restart all of the pods on that node which is bad.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.4.0
Installation option (single install/HA): HA

Upgraded from 1.15.6 -> 1.17.4

Didn't see anything in @Oats87's setup that'd help me root cause the problem...
I'm unable to reproduce this, will continue looking into the issue but if anyone else sees something similar, logs would be helpful!

Saw this issue on an upgrade from 2.3.4 to 2.4.0
Steps:

Bring up a cluster with k8s 1.15.11-rancher1-1 in rancher:v2.3.4
Cluster spec: 1 etcd, 1 control and 3 worker nodes
Upgrade rancher to v2.4.0
Upgrade k8s version to 1.17.4-rancher1-3 (drain is disabled)
The control and etcd nodes get upgraded
The worker nodes are picked one by one for upgrade.
After finishing upgrade, the k8s version for them do not change (on the UI)
The change is slowly seen for the worker nodes, after all the nodes are upgraded, and the cluster comes to Active - one by one the k8s version upgrade to 1.17.4

@kinarashah Reopened. Awaiting fix in master.

Validated on an upgrade from 2.3.5 to 2.4-head - commit id: 04159d027

Deploy a cluster - 1 etcd, 1 control and 3 worker nodes - 1.15 k8s version
Upgrade to 2.4-head.
unmanaged agent was seen on docker ps | grep agent  on a worker node. This container has been started with --only-write-certs (seen on doing docker inspect and "cmd")
set debug on the k8s_agent_cattle-node-agent
upgrade k8s version to 1.17.3
From the k8s agent logs and the server logs (as below), the node was marked upgraded only when the kubelet images has been changed.

Agent logs:
time="2020-04-04T17:53:49Z" level=info msg="{\"status\":\"Pull complete\",\"progressDetail\":{},\"id\":\"3559fd7e327a\"}"
time="2020-04-04T17:53:49Z" level=info msg="{\"status\":\"Digest: sha256:70487c2f23337c5fa1c0e4bba06600cae3ce2bfc998adc2e17100862fad4e6c3\"}"
time="2020-04-04T17:53:49Z" level=info msg="{\"status\":\"Status: Downloaded newer image for rancher/hyperkube:v1.17.4-rancher1\"}"
time="2020-04-04T17:53:50Z" level=info msg="For process kubelet, Image has changed from rancher/hyperkube:v1.15.11-rancher1 to rancher/hyperkube:v1.17.4-rancher1"

Server logs: - node: m-l2bhf
2020/04/04 17:53:47 [INFO] cluster [c-ztsq4] worker-upgrade: sending node-version for node [sowmya-test1-wrk-2] version 2
2020/04/04 17:53:52 [INFO] cluster [c-ztsq4] worker-upgrade: updating node [m-l2bhf] with node-version 2
2020/04/04 17:53:52 [INFO] cluster [c-ztsq4] worker-upgrade: call upgrade to reconcile for node [m-l2bhf]
2020/04/04 17:53:52 [INFO] cluster [c-ztsq4] worker-upgrade: sending node-version for node [sowmya-test1-wrk-2] version 2
2020/04/04 17:53:52 [INFO] cluster [c-ztsq4] worker-upgrade: updated node [m-l2bhf] to uncordon

A slight delay in upgraded k8s version can be seen on the node, while the second worker nodes get picked for upgrade.

Verified on an upgrade from 2.3.5 to  master-head - commit id: e3d66b9e7

Deploy a cluster - 1 etcd, 1 control and 3 worker nodes - 1.15 k8s version
Upgrade to master-head.
unmanaged agent was seen on docker ps | grep agent  on a worker node.
set debug on the k8s_agent_cattle-node-agent
upgrade k8s version to 1.17.3
From the k8s agent logs and the server logs (as below), the node was marked upgraded only when the kubelet images has been changed.

Agent logs:
time="2020-04-04T18:40:48Z" level=info msg="{\"status\":\"Pull complete\",\"progressDetail\":{},\"id\":\"3559fd7e327a\"}"
time="2020-04-04T18:40:48Z" level=info msg="{\"status\":\"Digest: sha256:70487c2f23337c5fa1c0e4bba06600cae3ce2bfc998adc2e17100862fad4e6c3\"}"
time="2020-04-04T18:40:48Z" level=info msg="{\"status\":\"Status: Downloaded newer image for rancher/hyperkube:v1.17.4-rancher1\"}"
time="2020-04-04T18:40:48Z" level=debug msg="Wrote ping"
time="2020-04-04T18:40:48Z" level=info msg="For process kube-proxy, Image has changed from rancher/hyperkube:v1.15.11-rancher1 to rancher/hyperkube:v1.17.4-rancher1"

Server logs: (node: m-dtm9m)
2020/04/04 18:40:26 [INFO] cluster [c-qm259] worker-upgrade: sending node-version for node [sowmya-test3-wrk-1] version 2
2020/04/04 18:40:28 [INFO] cluster [c-qm259] worker-upgrade: sending node-version for node [sowmya-test3-wrk-1] version 2
2020/04/04 18:40:32 [INFO] cluster [c-qm259] worker-upgrade: updating [sowmya-test3-wrk-3] with agent-interval [35]
2020/04/04 18:40:32 [INFO] cluster [c-qm259] worker-upgrade: call upgrade to reconcile for node [m-j5zc2]
2020/04/04 18:40:38 [INFO] cluster [c-qm259] worker-upgrade: call upgrade to reconcile for node [m-vqkkh]
2020/04/04 18:40:38 [INFO] cluster [c-qm259] worker-upgrade: updating [sowmya-test3-wrk-2] with agent-interval [35]
2020/04/04 18:40:49 [INFO] cluster [c-qm259] worker-upgrade: updating node [m-dtm9m] with node-version 2
2020/04/04 18:40:49 [INFO] cluster [c-qm259] worker-upgrade: call upgrade to reconcile for node [m-dtm9m]
2020/04/04 18:40:49 [INFO] cluster [c-qm259] worker-upgrade: sending node-version for node [sowmya-test3-wrk-1] version 2
2020/04/04 18:40:49 [INFO] cluster [c-qm259] worker-upgrade: updated node [m-dtm9m] to uncordon


[ci] Remove gcc-9 from packages in CI

This was used to build Verilator which we now download from a bucket.
We're getting this old GCC from a separate repository which is currently having network issues. Removing this dependency saves time and makes CI less fragile.

@jwnrt I assume we're using LLVM to build the ROM so that wouldn't be affected by this?

We're not using host side GCC to build device code anyway

@jwnrt I assume we're using LLVM to build the ROM so that wouldn't be affected by this?

Yep, the whole toolchain used for device software is handled separately within bazel.


Update Meta “authors”

Automatically generated by Netlify CMS

👷 Deploy Preview for elated-clarke-d35b4a processing.
🔨 Explore the source changes: 56c3f5b974fef6dd2209d01a4c4538d4456092cc
🔍 Inspect the deploy log: https://app.netlify.com/sites/elated-clarke-d35b4a/deploys/614e763b3bc40d0008932530


Ensure all assets are included

This PR ensures that all required assets are included in the outputted build.
While I'm not certain this is the correct fix, prior to this change, assets found in an applications public directory and assets included by other add-ons were not included in the outputted build.

Thanks for this @mike183. This PR has made me realise I was missing some documentation and test coverage around the destDirconfig option. I've taken your change and expanded on it in https://github.com/robwebdev/ember-cli-staticboot/pull/12. Please take a look at that and let me know if it solves your issue.
Closing in favour of https://github.com/robwebdev/ember-cli-staticboot/pull/12


New navigation for Profile view

Present Profile on new view on top of the dashboard
Screenshot references: all screenshots are descriptive. Final designs needs to be taken from Figma

All animations in this new presentation view should use a fede in / fade out animation
Base branch: test-flight
Note: ask for Figma access to get design details

@SAif


Enabling the multithreading capability at usage of a custom build static library

Hardware description:
RTOS: FreeRTOS
Installation type: static library
Version or commit hash: ROS2 humble

Steps to reproduce the issue
I want to enable the multithreading capability of micro-ROS with FreeRTOS when I use a custom build static library.
I added in the colcon.meta file from https://micro.ros.org/docs/tutorials/advanced/create_custom_static_library/ the following lines at "microxrcedds_client":
"-DUCLIENT_PROFILE_MULTITHREAD=ON",
"-DUCLIENT_PROFILE_SHARED_MEMORY=ON",
"-DUCLIENT_PLATFORM_FREERTOS_PLUS_TCP=ON"
Expected behavior
The compilation process finishes without errors and the multithreading capability is enabled.
Actual behavior
Without "-DUCLIENT_PLATFORM_FREERTOS_PLUS_TCP=ON" I get the error: #error XRCE multithreading not supported for this platform. If I include the option I get the error: fatal error: FreeRTOS.h: No such file or directory
Additional information
Do you have any suggestions how the example files "my_custom_toolchain.cmake" and "my_custom_colcon.meta" from https://micro.ros.org/docs/tutorials/... should be extended to solve that issue? Should I include FreeRTOS into the build process? Thank you very much for your help!

Hi @dr-mh,
When using UCLIENT_PLATFORM_FREERTOS_PLUS_TCP and UCLIENT_PROFILE_MULTITHREAD, micro-ROS will use FreeRTOS Semaphores to handle multi threading: detail.
So, Yes! You will need to include FreeRTOS on your build process.

Thank you for comment. I included FreeRTOS into the build process and now it works.

Thank you for answer. I included FreeRTOS into the build process and now it works.

Hi
Sorry to ask but how had you included FreeRTOS into the build process please ?
(I'm in the same case than you but don't find how to add FreeRTOS source in the build...)

Hi,
I used the FreeRTOS files from my application (alternatively you can download them) and included them in the .cmake-file with the following lines:
include_directories(<path to FreeRTOS>/FreeRTOS/FreeRTOS-Kernel/include)
include_directories(<path to FreeRTOS>/FreeRTOS/FreeRTOS-Kernel/portable/GCC/ARM_CM4F)
Replace  with the path of FreeRTOS in your setup. The path portable/GCC/ARM_CM4F depends on your target-CPU and could be different (in my case it is a Cortex-M4F-core).
You must also include the same FreeRTOSConfig.h header file in the build process for the static library as for your target application with FreeRTOS. If the config file would be a different one, it could come to errors.
I hope that helped.

Thanks it helped a lot !
Now no complain about FreeRTOS anymore but microxrcedds_client fails with "XRCE multithreading not supported for this platform".
I added set(PLATFORM_NAME_FREERTOS ON) in toolchain.cmake and "-DPLATFORM_NAME_FREERTOS=ON" in colcon.meta but no luck so far...

Wow I finally got it but this PLATFORM_NAME_FREERTOS is definitely tricky to maintain all along the toolchain...
I worked around adding it in extract_flags.py and I got rid of the "not supported" error.
Thanks a lot again @markushehn you anyway saved me a lot of time and I may submit an issue to the team with details about my specifics if any use.

I am glad that it works!
For the sake of completeness, here are the other things I added in the build files compared to the static-library example from https://micro.ros.org/docs/tutorials/advanced/create_custom_static_library/
In the .cmake-file I added the include_directories as described above and the FREERTOS-flag in the line (and a few other things like FPU usage):
set(FLAGS "-O3 -DPLATFORM_NAME_FREERTOS -ffunction-sections -fdata-sections -fno-exceptions -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 --param max-inline-insns-single=500 -D'RCUTILS_LOG_MIN_SEVERITY=RCUTILS_LOG_MIN_SEVERITY_NONE'" CACHE STRING "" FORCE)
The only changes I made in the colcon.meta file compared to the static library example is in the microxrcedds_client section:
"microxrcedds_client": {
            "cmake-args": [
                "-DUCLIENT_PIC=OFF",
                "-DUCLIENT_PROFILE_UDP=OFF",
                "-DUCLIENT_PROFILE_TCP=OFF",
                "-DUCLIENT_PROFILE_DISCOVERY=OFF",
                "-DUCLIENT_PROFILE_SERIAL=OFF",
                "-DUCLIENT_PROFILE_STREAM_FRAMING=ON",
                "-DUCLIENT_PROFILE_CUSTOM_TRANSPORT=ON",
                "-DUCLIENT_PROFILE_MULTITHREAD=ON",
                "-DUCLIENT_PROFILE_SHARED_MEMORY=ON"
            ]
        },

Hello everyone, can you advice me what to do with makefile for CubeIDE. I'v got such standard includes:
# C includes
C_INCLUDES =  \
-ICore/Inc \
-IDrivers/STM32G4xx_HAL_Driver/Inc \
-IDrivers/STM32G4xx_HAL_Driver/Inc/Legacy \
-IMiddlewares/Third_Party/FreeRTOS/Source/include \
-IMiddlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 \
-IMiddlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F \

But while static lib is compiling multithread.h gives same error:  fatal error: FreeRTOS.h: No such file or directory
Where to add the path to get rid of this?


SSH command should be arguments, not an option

I should be able to do something like machine ssh name df -h. If we want to make the name optional, perhaps we could make a -n (name) or -m (machine) option for the name.
Also see confusion in #247.

I think if we are going to do this then we should force the name to be present.  I personally don't like how we have the inconsistency in the commands where some work on the "active" machine as well as specified and then we have this where it gets more tangled.
I would say we keep it simple and just make the command machine ssh <name> <command> like you said first.

@bfirsh the reason we use the -c is the cli package validates the flags.  For example, machine ssh test-machine free works but machine ssh test-machine free -m fails with Incorrect usage.  I'm digging into the cli package to see what we can do.

There isn't much if I recall. We can't tell if the first arg is a machine name or a command or perhaps both (machine named ls for example).
A potential solution is:
If arg[0] is a machine name, run arg[1:] on arg[0], if arg[0] isn't a machine, run all args on the active machine.

I am +1 on args over -c- I think support for the flag parsing terminator (--) got merged into codegangsta/cli lately, so another solution available is that we might be able to bump the version and use that.  Then commands would look like machine ssh dev -- df -h.

Oooh nice!
On Thu, Jan 29, 2015 at 5:06 PM, Nathan LeClaire<EMAIL_ADDRESS>wrote:

I am +1 on args over -c- I think support for the flag parsing terminator (
--) got merged into codegangsta/cli lately, so another solution available
is that we might be able to bump the version and use that. Then commands
would look like machine ssh dev -- df -h.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/machine/issues/434#issuecomment-72114060.

@nathanleclaire @ehazlett This doesn't really help... in @codegangsta/cli, all the -- option does is stop anything after -- being picked up and parsed as a flag :/

Closing as #446 is merged.


Move open_model to inside run method to avoid issues if you rename stuff between init and run

close with #44 and similar pulls in rail_som and rail_sklearn


BPSO 121038- Afkak tests with murmurhash2

Pyhash changes with murmurhash 2 against kafka version 1.1.1 and 2.3.0

Hi @wddimple6 I think this looks good mostly -- the 2.3.0 test seems to be failing due to kafka not starting. You may need to add a 2.3.0 subdirectory under https://github.com/ciena/afkak/tree/master/servers


cmd/mev-boost: add urfave as cli framework

📝 Summary
This PR adds urfave/cli as a cli framework and reworks some of the logic in the main package.
It also gets rid of the weird redirections into the cli package
⛱ Motivation and Context
Cleanup, adds a cli framework which makes adding flags easier in the future

closes https://github.com/flashbots/mev-boost/issues/640

Cool, thanks! A few quick notes

The "weird indirection" was to allow go install github.com/flashbots/mev-boost (it won't work without a root main.go file i think)
I like urfave a lot, and the cli flags have grown significantly and unpleasantly in mev-boost. But is the switch to urfave backwards-compatible, or would it break? This seems to be a major concern, if the upgrade would force all proposers to update their cli flags.

@MariusVanDerWijden can you please add the root main.go file back, so go install github.com/flashbots/mev-boost works?


Move health bar to the top of tokens

I find the health bar usually overlaps the name plate at the bottom and was wondering if you would consider moving the health bar and labels to the top of the tokens.

I'm currently thinking about adding general options as suggested here: https://github.com/kamejosh/owlbear-hp-tracker/issues/9
Choosing the position of the HP bar would be one of the settings that'd go there

fixed with https://github.com/kamejosh/owlbear-hp-tracker/pull/13
you can now change the Y Position of the HP bar in the Global Settings via the offset


Application usage stops working when horizon is ignored

Pulse Version
v1.0.0-beta9
Laravel Version
10.41.0
PHP Version
8.2.13
Livewire Version
3.2
Database Driver & Version
MariaDB 10.5.13
Description
When I add to pulse's config UserRequests to ignore #^/horizon it never will log any site activity again.
Cache and Queue driver use Redis
Steps To Reproduce

Have Pulse and Horizon installed
Add horizon to the ignored list in UserRequests#^/horizon
It will not longer log any site activity

@AiAe I've just tested and I can safely ignore the /horizon route and things continue to work.
I believe you might have a malformed regex. Make the following change:
'ignore' => [
-     '#^/horizon',
+     '#^/horizon#',
],

This was likely throwing an exception. Pulse swallows all exceptions to ensure that it does not interfere with your application.
You may want to setup exception reporting for any exceptions Pulse encounters.
use Laravel\Pulse\Facades\Pulse;
use Illuminate\Support\Facades\Log;

Pulse::handleExceptionsUsing(function ($e) {
    Log::debug('An exception happened in Pulse', [
        'message' => $e->getMessage(),
        'stack' => $e->getTraceAsString(),
    ]);
});

See: https://laravel.com/docs/10.x/pulse#pulse-exceptions

@timacdonald thanks, this resolved the issue.
I just noticed that the other examples also end with #.


feat: add moving average plot

Closes #XYZ
Summary of Changes

added moving average plot

Should there also be an moving average function for a Column, which calculates the moving average and returns it as a column.
The same goes for windows.

:tada: This PR is included in version 0.27.0 :tada:
The release is available on:

v0.27.0
GitHub release

Your semantic-release bot :package::rocket:


Feature/#3 adapters base

This closes #3 as it is good enough for a first cut. Will see how things play out when implementing the adapter and come back to this later to enhance.

resolves #3


IPFS Desktop installs itself at arbitrary location

OS: Windows
Version of IPFS Desktop [e.g. 0.11.1] : 0.14.0

Describe the bug
When IPFS Desktop updates, it installs itself at an arbitrary location then adds itself to start-up programs. This causes problems with package managers and users' setup. For example, while I do want the IPFS Desktop entry in the Task Manager, if another one is added at a different location, then there's unexpected behaviours. Two different versions can launch at the same time.
To Reproduce

Steps to reproduce the behavior:

Update IPFS Desktop

Expected behavior
IPFS Desktop should do an in-place update instead of installing itself at an arbitrary location.
Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

IIUC this is a duplicate of  https://github.com/ipfs/ipfs-desktop/issues/1656, so let's continue there.
Feel free to reopen if you believe this is a separate issue (but please elaborate why).


Exception when launching demo

I have cloned repository using --recursive . Opened solution and built it in Visual Studio.
When launching and compiling Demo project I get such exception:

SixLabors.ImageSharp.ImageProcessingException
  HResult=0x80131500
  Message=An error occurred when processing the image using DrawTextProcessor`1. See the inner exception for more detail.
  Source=SixLabors.ImageSharp
  StackTrace:
   at SixLabors.ImageSharp.Processing.Processors.ImageProcessor`1.SixLabors.ImageSharp.Processing.Processors.IImageProcessor<TPixel>.Execute()
   at SixLabors.ImageSharp.Processing.DefaultImageProcessorContext`1.ApplyProcessor(IImageProcessor processor, Rectangle rectangle)
   at SixLabors.ImageSharp.Processing.DefaultImageProcessorContext`1.ApplyProcessor(IImageProcessor processor)
   at SixLabors.ImageSharp.Drawing.Processing.DrawTextExtensions.DrawText(IImageProcessingContext source, TextGraphicsOptions options, String text, Font font, IBrush brush, IPen pen, PointF location)
   at SixLabors.ImageSharp.Drawing.Processing.DrawTextExtensions.DrawText(IImageProcessingContext source, TextGraphicsOptions options, String text, Font font, Color color, PointF location)
   at SixLabors.ImageSharp.Drawing.Processing.DrawTextExtensions.DrawText(IImageProcessingContext source, String text, Font font, Color color, PointF location)
   at Aximo.Engine.Components.Geometry.StatsComponent.<>c__DisplayClass4_0.<UpdateFrame>b__1(IImageProcessingContext ctx) in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Components\Geometry\StatsComponent.cs:line 42
   at SixLabors.ImageSharp.Processing.ProcessingExtensions.Mutate[TPixel](Image`1 source, Configuration configuration, Action`1 operation)
   at SixLabors.ImageSharp.Processing.ProcessingExtensions.Mutate[TPixel](Image`1 source, Action`1 operation)
   at Aximo.Engine.Components.Geometry.StatsComponent.UpdateFrame() in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Components\Geometry\StatsComponent.cs:line 42
   at Aximo.Engine.ActorComponent.UpdateFrameInternal() in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Components\ActorComponent.cs:line 48
   at Aximo.Engine.SceneComponent.UpdateFrameInternal() in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Components\SceneComponent.cs:line 303
   at Aximo.Engine.Actor.UpdateFrameInternal() in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Actors\Actor.cs:line 128
   at Aximo.Engine.SceneContext.OnUpdateFrame() in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\SceneContext.cs:line 133
   at Aximo.Engine.Application.OnUpdateFrameInternal(FrameEventArgs e) in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Application.cs:line 379
   at Aximo.Engine.Application.<RegisterWindowEvents>b__46_1(FrameEventArgs e) in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Application.cs:line 144
   at Aximo.Engine.Windows.WindowContext.OnUpdateFrameInternal(FrameEventArgs e) in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Windows\WindowContext.cs:line 79
   at OpenToolkit.Windowing.Desktop.GameWindow.OnUpdateFrame(FrameEventArgs args)
   at Aximo.Engine.Windows.RenderWindow.OnUpdateFrame(FrameEventArgs e) in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Windows\RenderWindow.cs:line 81
   at OpenToolkit.Windowing.Desktop.GameWindow.DispatchUpdateFrame()
   at OpenToolkit.Windowing.Desktop.GameWindow.Run()
   at Aximo.Engine.Windows.WindowContext.UIThread() in C:\SOFTWARE_LIBRARIES\AxEngineSource\AxEngine\Engine\Windows\WindowContext.cs:line 202
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

  This exception was originally thrown at this call stack:
	SixLabors.ThrowHelper.ThrowArgumentOutOfRangeException(string, string)
	SixLabors.ThrowHelper.ThrowArgumentOutOfRangeExceptionForMustBeGreaterThanOrEqualTo<T>(T, T, string)
	SixLabors.ImageSharp.Memory.MemoryGroup<T>.Allocate(SixLabors.ImageSharp.Memory.MemoryAllocator, long, int, SixLabors.ImageSharp.Memory.AllocationOptions)
	SixLabors.ImageSharp.Memory.MemoryAllocatorExtensions.AllocateGroup<T>(SixLabors.ImageSharp.Memory.MemoryAllocator, long, int, SixLabors.ImageSharp.Memory.AllocationOptions)
	SixLabors.ImageSharp.Memory.MemoryAllocatorExtensions.Allocate2D<T>(SixLabors.ImageSharp.Memory.MemoryAllocator, int, int, SixLabors.ImageSharp.Memory.AllocationOptions)
	SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor<TPixel>.CachingGlyphRenderer.Render(SixLabors.ImageSharp.Drawing.IPath)
	SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor<TPixel>.CachingGlyphRenderer.EndGlyph()
	SixLabors.Fonts.GlyphInstance.RenderTo(SixLabors.Fonts.IGlyphRenderer, float, System.Numerics.Vector2, System.Numerics.Vector2, float)
	SixLabors.Fonts.TextRenderer.RenderText(System.ReadOnlySpan<char>, SixLabors.Fonts.RendererOptions)
	SixLabors.Fonts.TextRenderer.RenderText(string, SixLabors.Fonts.RendererOptions)
    ...
    [Call Stack Truncated]
Inner Exception 1:
ArgumentOutOfRangeException: Parameter "bufferAlignment" (System.Int32) must be greater than or equal to 0, was -2147483643 (Parameter 'bufferAlignment')

How did you checked out the git repository? It seems the Asset ( https://github.com/AximoGames/AxEngine/blob/master/Assets/Textures/woodenbox.png ) is not downloaded. You can download them manually if you do not have git LFS ( https://git-lfs.github.com/ )
In the next days, I will completely remove the LFS-Objects / not using git LFS anymore, because of exactly that situation.

Hm, but if I look closer at your stack trace, it seems it may have another reason. It seems the "Image"-Object is not initialized correctly. I will try to reproduce this today.  I never saw this before. Maybe you can uncomment the line https://github.com/AximoGames/AxEngine/blob/master/Demo/DemoApplication.cs#L178 just for testing.

I was not able to reproduce this issue. Any hints or further debugging would be great. In the meantime, I opened an issue here: https://github.com/SixLabors/ImageSharp/issues/1218

@uzername Is this issue replicable every time you start the demo application?
If so can you please tell me the dimensions of the Image property when the error is thrown?

I have an exception too, but I'm not sure is the reason the same or not.
After the checkout I run git-lfs pull and it downloaded png's.
Console log:
[14:29:39.163 VRB] <Startup`1> 64 Bit System detected. (Pointer Size: 8 Bytes)
[14:29:39.204 VRB] <Startup`1> OS: Microsoft Windows NT 6.2.9200.0
[14:29:39.207 VRB] <Startup`1> Configure for console session
[14:29:39.237 INF] <DebugHelper> Thread #6 Update Thread
[14:29:39.265 INF] <Application> Init Glfw
[14:29:39.361 INF] <Application> GLFW Version: 3.3.0 Win32 WGL EGL OSMesa VisualC DLL
[14:29:39.363 INF] <Application> Create Window
[14:29:39.556 VRB] <RenderWindow> Created window
[14:29:39.575 VRB] <Application> Init OpenGL Bindings
[14:29:39.577 VRB] <Application> Grab Context
[14:29:39.580 VRB] <Application> Load OpenGL Bindings
[14:29:39.582 INF] <Application> Vendor: Intel, version: 3.3.0 - Build <IP_ADDRESS>59, shadinglangVersion: 3.30 - Build <IP_ADDRESS>59, renderer: Intel(R) HD Graphics 4000
[14:29:39.659 INF] <Texture> Loading: Textures/woodenbox.png
[14:29:39.847 INF] <Texture> Loading: Textures/woodenbox_specular.png
[14:29:39.866 INF] <Texture> Loading: Textures/wood.png
[14:29:40.835 VRB] <Application> Update Frame #0
[14:29:40.841 VRB] <RendererTexture> Alloc Texture #1 Color/White
[14:29:40.852 VRB] <RendererTexture> Alloc Texture #2 Color/Black
[14:29:40.854 VRB] <RendererTexture> Alloc Texture #3 Color/Gray
[14:29:40.856 VRB] <RendererTexture> Alloc Texture #4 Color/Red
[14:29:40.857 VRB] <RendererTexture> Alloc Texture #5 Color/Green
[14:29:40.859 VRB] <RendererTexture> Alloc Texture #6 Color/Blue
[14:29:40.866 VRB] <RendererTexture> Alloc Texture #7 Forward
[14:29:40.871 VRB] <RendererTexture> Alloc Texture #8 ShadowMapArray
[14:29:40.876 VRB] <RendererTexture> Alloc Texture #9 CubeShadowMapArray
[14:29:40.878 ERR] <OpenGL> GL error GL_INVALID_OPERATION

Debugger screenshot:

@LevYas this is a new issue. I moved it #4.

Which is interesting, I've just run on Nvidia GT740M and received the same exception:
[10:15:46.848 VRB] <Startup`1> 64 Bit System detected.  Remaining elements: 31
[10:15:50.091 VRB] <Renderer> LightBinding: 32
[10:15:50.260 VRB] <RendererShader> Compiled shader screen.vert

SixLabors.ImageSharp.ImageProcessingException: 'An error occurred when processing the image using DrawTextProcessor`1.
See the inner exception for more detail.'
Inner Exception: ArgumentOutOfRangeException: Parameter "bufferAlignment" (System.Int32) must be greater than
or equal to 0, was -2147483643 (Parameter 'bufferAlignment')

@LevYas could you please checkout the branch test/imagesharp-rc3 https://github.com/AximoGames/AxEngine/tree/test/imagesharp-rc3 ? It's just a try with the latest version.
If this still occurs, it would be amazing to track it a little bit more down. Some useful informations:
as I see, "Entry point" of the problem occurs here:
var txt = "FPS: " + Math.Round(Application.Current.RenderCounter.EventsPerSecond).ToString();
txt += "\nUPS: " + Math.Round(Application.Current.UpdateCounter.EventsPerSecond).ToString();
Image.Mutate(ctx => ctx.DrawText(txt, DefaultFont, Color.White, new PointF(5, 5)));

Could you provide me please the size of Image (width, height), exact txt value, and all properties of DefaultFont (Name, Family, Size).
https://github.com/SixLabors/ImageSharp.Drawing/issues/54 guesses, that the size of the image may zero (but that should be impossible because i give a fixed size of Vector2i(200, 100)). The other constructor is not referenced.

SixLabors/ImageSharp.Drawing#54 guesses, that the size of the image may zero

That's not correct. I don't "guess" anything. I've followed the stack trace and I've determined that there are two issues that can cause the exception:

That a pen can have a zero width stroke (not relevant in your case).
That the outliner calculation can, in some cases return, an empty array which is then causes the Complex polygon to create an invalid rectangle which the memory allocation parameters are based upon.

Those issues both need to be fixed so feel free (anyone in this thread) to do so.

I've just tried the test/imagesharp-rc3 branch. Error is still there.
txt == "FPS: 0\nUPS: 0"

I've just tried the test/imagesharp-rc3 branch. Error is still there.

I literally just told you why that would be the case above.

@JimBobSquarePants
Ok. We have a valid size (200x100), and a valid font size (12). The Text itself is nothing special and would fit into the image. Maybe it's because of the Font "AcadEref", which seems to be a symbolic font.
If the AcadEref causes the issue, I see the problem. I just take SystemFonts.Families.First() as Font. I never realized that can result in ugly (and useless) font. On my machine, I do not have any additional fonts installed and got always a good font.
So, i've updated the contructor to SystemFonts.Families.Find("Arial").
What is the preferred way to get a default System Font, Operating system independent, like in CSS serif ?
@LevYas : Could you please try the latest test/imagesharp-rc3 branch? Just git pull.

Yeaah, it has started successfully :)

There are some glitches with shadows though

Congratulations, I'm glad to see that this is fixed now. I will merge the patch soonly.
Regarding the shadows: I've opend a new issue at #5


Scrolling jumps to either end irrespective of items length - iOS 16 Simulator with M1

The issue mentioned here - ListView/ScrollView - Scrolling jumps to the bottom regardless of items on M1 iOS Simulator #79641 still persists in iOS 16 which has no option to run with Rosetta.
I also searched it on StackOverFlow and found a similar question - iOS Simulator scrolls too fast on Apple M1 but the solution were either to Run with Rosetta which is not available in iOS 16 or to run the app targeting arm-64 which, as also pointed out in the answer itself, I can't as my project uses some dependencies not supporting it and it will cause errors.
Hence, my question is, Is targeting arm-64 the only solution you guys have come up with?
Simulator Version - 14.0
XCode version - 14.0
iOS - 16
Android Studio - Android Studio Dolphin | 2021.3.1

Logs

Analyzing projectName...

   info • Prefer using null aware operators • lib/models/get_restuarants_model.dart:35:18 • prefer_null_aware_operators
   info • Prefer using null aware operators • lib/models/get_restuarants_model.dart:36:16 • prefer_null_aware_operators
   info • Prefer using null aware operators • lib/models/get_restuarants_model.dart:37:17 • prefer_null_aware_operators

3 issues found. (ran in 8.1s)

[✓] Flutter (Channel stable, 3.0.0, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.0.0 at /Users/userName/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (5 months ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/userName/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_341-b10)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      � https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • iPhone 11 Pro Max (mobile)                     • F77C9B6D-F445-4405-8C1C-B2C832ABD56C • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • iPad Pro (12.9-inch) (5th generation) (mobile) • 494616AE-0BCC-4350-A82F-B65C5FD2E914 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)                                • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)                                   • chrome                               • web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hello @Fauzdar1. I cannot reproduce this with the current stable 3.3.2. Please upgrade Flutter and confirm.

I'm having the same issue still not sure why however
The problem could be a plugin as seen here in the comments of this stack overflow answer:
The iOS 16 emulator has no "Rosetta" option any more.
But today I found out that the problem was caused by a single plugin that had "'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'" in its podspec file.
Replacing it with "s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }" as in a new empty Flutter Plugin fixed the scrolling problem.

I'm having the same issue still not sure why however The problem could be a plugin as seen here in the comments of this stack overflow answer:
The iOS 16 emulator has no "Rosetta" option any more.
But today I found out that the problem was caused by a single plugin that had "'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'" in its podspec file.
Replacing it with "s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }" as in a new empty Flutter Plugin fixed the scrolling problem.

I've already found this, the problem is I can't enforce the plugins to use arm-64 as I said above, not every plugin support arm-64 and I'm using at least 1 (that I know of) that doesn't work with arm-64, so enforcing it seems like a workaround than a fix.

Unfortunately, since this is an issue with the plugins not supporting arm64, this is out of scope for the Flutter team. I suggest you raise the issue on the repo of the plugin in question. I am closing this issue as this is not a bug in Flutter itself. If you disagree, please comment and I can reopen it. Thank you.


[5.6] Add argon helper

As of version 5.6, Laravel supports Argon hash algorithm. It will be nice to have helper as in the case of Bcrypt.

Please not more global helper functions, thx.

@mfn Then maybe consider deprecating the bcrypt() global helper? There's an inconsistency here where there's a global for one but not the other.

No plans on adding more.

@taylorotwell if you don't plan to add more maybe consider editing of existing one? Hash method for multiple algorithms instead of for a single.
function hash($value, $driver = 'bcrypt', $options = [])
{
    return app('hash')->driver($driver)->make($value, $options);
}

I think this will do the trick, it'll open the possibility of implementation of new algorithms in the future - just add algorithm's driver.
What do you think about that?


Decouple doc components

Contrib and the omero docs should be moved to separate repositories. This repository should likely become a README explaining the locations of doc resources.

We now have

https://ome-contributing.readthedocs.io/en/latest/ ->https://github.com/ome/ome-contributing
https://omero-insight.readthedocs.io/en/latest/ -> https://github.com/ome/omero-insight

Should this be closed?

I think so. I forgot about that.
The question is if we want to do more. Web is the most problematic when I was looking at extracting it


UI overflow when tons of tags

I just committed a change for this, let me know if it solves it. I also have a suggestion for the note divs themselves.

The UI Has been redone, would love some feedback. I think the "card" model was not as good as the current model.


Problem with interpretation of SP-LIME

I am using LIME (especially SP-LIME) methodologies to interpret machine learning.
As far as I know, SP-LIME extracts only representative samples, enabling a global interpretation of the model.
I wonder how i can do a global interpretation, even if you only take representative samples, each sample has different results.
The 'W' in your code is the result of only representative samples as shown in the figure below. However, it can be seen that each sample has different values.

Can I interpret the average value of each variable as a global interpretation value?
I would appreciate your reply ! Thank you

SP-LIME explicitly tries to select different samples that are diverse (not repetitive), so you can get a sense of different behaviors of the model. I don't think it makes sense to average the values coming from SP-lime. You can average the values of all explanations, being careful to take np.abs so that negative and positive weights don't cancel out.


Classification and prioritisation of outstanding issues

In order to start dealing with the backlog of issues, I have listed all the open issues into the following Trello board and made an attempt to classify each one based on the type of issue and, in the case of feature requests, whether we already have data available for it. I have added a brief summary and some comments to each card.
https://trello.com/b/Neq7E9Qk/koroonakaart-github-issues
Each list is in approximate order of priority, with those which in my opinion are a higher priority listed at the top. All the issues which were found to be duplicates have now been closed. I am proposing to close a few other issues which I don't think are viable or within the scope of the project.
If anyone has any comments about how specific issues have been categorised, or has any thoughts about what they would like to see us tackle next, feel free to share them here.
If anyone wishes to get involved with the coding, please let us know so that we can discuss who does what.

Hello!
I can help with the coding. I can do #124, for example.

@sarnane Thanks, that would be great. That chart would be definitely be good to add as then it should be a lot easier to see what is happening in the individual counties.
If it's OK with you, please leave a comment on the issue itself and then I can assign it to you so others know that someone is working on it.


feature(autocomplete): add @Input() disabled property

Bug, feature request, or proposal:
The autocomplete should have a disabled input. Sometimes you want to mark the associated input as readonly (you do not want the disabled styles applied to the input) and do not want the autocomplete to fire up when you click on the component (in the cases you have some minimal default options)
What is the expected behavior?
To have an @Input() disabled in autocomplete. As the Datepicker has a disabled property, to keep the consistency, the autocomplete should have one too.
What is the current behavior?
Without the @Input() disabled you have to clear up the array, what is a not so difficult task, but it would be more consistent if it had a disabled property, like Datepicker.

I'm not sure that adding another input is the way to solve it. What about not opening the autocomplete for readonly inputs in the first place?

Yep. Differently from the Datepicker, not opening the autocomplete makes sense for the autocomplete.

Sorry, guys, but the latest change breaks all my forms in my application. I use a readonly input when ever the user should choose form a list of values instead of typing a new value. There are some rare situations in my application when the user can type a new value into the same input. While I can use a md-select for readonly and an autocomplete for edits, this solution results in more code and more complicated HTML.
Please, add an "readonly/disabled" flag to the autocomplete element instead of disabling the autocomplete when the input is readonly.

@Upimage, I think this can help you: #3334
Specifically, I'd take a look at @willshowell's solution: https://github.com/angular/material2/issues/3334#issuecomment-319191915

Using readonly="{{disabled}}" kinda works. But it doesn't have the goodies that the regular disabled does, such as visual and cursor effects. Kinda whack to have to implement those css manually.


Plugin modal window height

The height of the plugins modal window is not calculated correctly into the cms.modal.js.
I need to replace this line
var screenHeight = $(window).height();

with this
var screenHeight = window.innerHeight;

https://github.com/divio/django-cms/blob/develop/cms/static/cms/js/modules/cms.modal.js#L131

I added  to my template and it worked for a moment but then it didn't.
@m05quit0 setting html css height and width to 100% has done the trick


New python client for SSDB on Cython

Hello, please add link on my python client for SSDB.
https://github.com/deslum/cssdbpy
Thank you.

Added to http://ssdb.io/docs/clients.html#python

Thank you

And the end. Your blog has the ability to publish articles from any users? http://www.ideawu.com/blog/post/category/python

I have heard several people said you send them emails to advertise you project, that brought confusion to them, and they were really annoyed. So I decided to remove link of you project from ssdb api clients list.

Sorry.I did not want anything bad. I thought that my client will be useful for your observers. Sorry

I have many letters of thanks from users. I think that my project is useful for you.


Changes required for upcoming CoffeeScript upgrade

Hi! Thanks for maintaining the scroll-searcher package!
In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:

Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.

We think your package may be affected by this upgrade, in the following places:

The margin variable here

These findings are based on linting packages with coffeescope. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!

Thanks for notifying. I've made the required changes and updated the package.


Serenity: Fix font sizing for skills tooltip

Changes / Comments

Fix font sizing for skills tooltip

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


reversed order of past meetings and classes in dj-admin and external …

…admin

:+1:  looks good, thanks!


Unify logic type icon sizes

This is one of PRs for https://github.com/kiegroup/kie-issues/issues/87
Before this PR, the icons and selected logic type indicator text had different vertical alignments for particular logic types. This PR should unify the used sizes of icons and thus the text will be centered vertically in the same way for all icons.

@tiagobento please review when you have a moment

@jomarko From the screenshots you provided, I still see the "Context", "Function" and "FEEL" icons having a different alignment than the rest..

That's translated to the expression header bar as well..

ok, will probably close as won't do


Update akka-discovery-kubernetes-api to 1.0.6

Updates com.lightbend.akka.discovery:akka-discovery-kubernetes-api from 1.0.5 to 1.0.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lightbend.akka.discovery", artifactId = "akka-discovery-kubernetes-api" } ]

labels: library-update, semver-patch

Codecov Report

Merging #461 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #461      +/-   ##
==========================================
- Coverage   79.83%   79.77%   -0.06%
==========================================
  Files         107      107
  Lines        3342     3342
  Branches       71       71
==========================================
- Hits         2668     2666       -2
- Misses        674      676       +2

Impacted Files
Coverage Δ

...e/akka/actor/process_index/ProcessIndexProto.scala
97.01% <0.00%> (-1.00%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5748ad3...7129f83. Read the comment docs.


Boolean comparison not implemented

Could we allow for inequality operations from the python side?
>>> K(2) >  1
True

>>> K(2) > K(1)
True

This works:
>>> q('>',q.til(5),1)
k('00111b')

But:
>>> q.til(5) >  1
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/conda/envs/dev/lib/python3.6/site-packages/pyq/__init__.py", line 612, in dunder
    raise NotImplementedError
NotImplementedError

There are two "natural" choices: map python < and > to q < and > or map them to lexicographical compare so that K([a, ...]) > K([b, ...) is the same as [a, ...] > [b, ...].   So far we have followed the Zen of Python: "In the face of ambiguity, refuse the temptation to guess."
Given that == is mapped to ~ rather than = by a deliberate decision, mapping < and > to vector operation would make pyq equally confusing to python and to q programmers.
How useful is lexicographical comparison?

What's the reason you chose to do it this way, rather than following the same semantic as both q and numpy? Python lists are terribly difficult to work with, and without the basic vector comparison operators, manipulating K vectors in python is very painful. If the goal was to give python the full power of q, i think it’s crucial to supporting vector comparison.
Also, vector arithmetic seems to work just fine, when they’re also not supported by python lists. i.e.
>>> K([True,False,True]) | K([False,True,False])
k('111b’)
>>> [True,False,True] | [False,True,False]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for |: 'list' and ‘list'

>>> q.til(3)+q.til(3)
k('0 2 4’)
>>> [0,1,2]+[0,1,2]
[0, 1, 2, 0, 1, 2]

Not that’ i’m complaining (please don’t break it). It seems very inconsistent to support arithmetic operators, but but not the comparison operators.


As a developer I would like an example of using Houdini

Type of Change

[x] New Feature Request
[ ] Documentation
[ ] Future Spec
[ ] Improvement / Suggestion
[ ] Bug
[ ] Other (please clarify below)

Summary
Houdini is an up and coming browser API for exposing parts of the CSS API to userland.
It would be neat to see what the current possibilities are.
Use Case
This is more technical exploration but opens up for creativity in the process.
Code Sample
TBD
Pros / Cons
Since the API is new, the task is pretty open ended, but in a case like this, that's part of the fun.

https://twitter.com/dassurma/status/1032657003372523520?s=11