Upgrade from kubebuilder v2 -> v3

This involves lots of changes, unfortunately there's no other way.
This upgrade is required because only kubebuilder v3 can handle multiple
versions of the same custom resource to be defined at the same time.
We need that to change the current ClusterAdmissionPolicy from v1alpha1
to v1alpha2.

Thanks for having spotted the issues. I've changed the "high level" files and then I ran make generate && make manifests.
To my surprise, not a lot changed. You can see that by looking at the second commit I just pushed.
Obviously, I'll squash everything into a single commit before merging the code

To my surprise, not a lot changed.

Yes, just tried it, only the deepcopy generated file. Seems we will have to update manually then? Thought there was an automated way to rewrite that with kubebuilder/controller-gen, besides the sed obvious one...

@ereslibre : please let me know if the latest fix addresses your concerns. If that's the case, I'll squash and merge this PR


feat: allow passing arguments as title

Fixes #183

is there anyway we can validate that argument?


Android: Auto rotate always enables on debug start

Connect Android phone by USB
Start a debug session
Auto-rotate is enabled on the phone

This also happened previously when using the .NET Comet extension, but I have no idea what exactly causes it. I'm sure it's not something our app does by itself, because it only happens when I debug.
It's not a big issue, but it's a small annoyance very often.

Fixed in 4.5.6

Thanks a lot!


Blink

Reference Issues/PRs
#9
What does this implement/fix? Explain your changes.

Blink mode added

Any other comments?

@sadrasabouri please review this PR 💯


[work in progress] Improve CPU efficiency when writing tables

**** Prototyping some CPU efficiency improvements when writing Hive tables ****

No longer relevant


BUG: Telescope showing invalid distance and elevation

I have just noticed that the distance & elevation shown in the telescope crosshair is invalid (see attached image). It is working fine on www.peakfinder,org.

I cannot reproduce this issue on my side.
Can you please give me more details about this error:

Location of the viewpoint
Prespective (Projection or Cylindical)

Your javascript code if possible.
Thanks a lot.


python310Packages.mailchecker: 5.0.7 -> 5.0.8

Changelog: https://github.com/FGRibreau/mailchecker/blob/v5.0.8/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 223140 run on x86_64-linux 1

2 packages marked as broken and skipped:

dvc
dvc-with-remotes

4 packages built:

python310Packages.mailchecker
python310Packages.python-benedict
python311Packages.mailchecker
python311Packages.python-benedict


Distinguish workload type before requeue

Signed-off-by: Alex Wang<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
https://github.com/kubernetes-sigs/kueue/pull/135#discussion_r840729523
We have a case where we requeue because the workload didn't fit. But we also have a case where we requeue because we admitted workloads in another CQ that had higher priority, even though they might still fit in the next scheduling cycle. I don't think we should punish those workloads. They should skip the inadmissible stage.
Which issue(s) this PR fixes:

Special notes for your reviewer:

/lgtm
leaving the approve to Aldo

I sent https://github.com/kubernetes-sigs/kueue/pull/185 so we are consistent with using the term inadmissible

squashed

/lgtm
/hold cancel

/approve


Compile Warning

The library works great, but seems to have some issue with Webpack.
When I include I get a warning

<EMAIL_ADDRESS>Critical dependency: require function is used in a way in which dependencies cannot be statically extracted```

I am not sure what is causing this but I am just using the default webpack build into create-react-app.

Thanks for the heads up! I'll release a new version to fix this warning shortly.


test: fix calls to Python in pch-loading-error to fix Windows build

@swift-ci Please smoke test

@swift-ci Please test Windows platform

@compnerd Sorry for the dup but I fixed one more line here and I'll try to merge it quickly!


make scope a stable API

It seems clear that there is a need for scope() to be a stable API. For example, it is in use by servo, and it's the only way to have a parallel section that take O(1) stack space no matter how many parallel tasks are created. I think the main blockers to doing this is:

[x] writing tests for panic handling (#109)
[x] having at least one realistic benchmark (just have to land #139)

Just wanted to open an issue to check in and let me people give their thoughts.

Did this in PR https://github.com/nikomatsakis/rayon/pull/194


Feature Request - Show configured connections in "Connect" dialog

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
OS Version: Windows_NT x64 10.0.17025

The Connect dialog shows "Recent History" connections for a simple "click to connect" experience.
It would be nice just have the configured connections available whether I have recently used them or not, so please replace "Recent History" with "Configured Connections".
Steps to Reproduce:

Write a query e.g. SELECT 'Hello World';
Disconnect by clicking Disconnect
Click connect - it only shows recent history

We now show Saved Connections in the Connection Dialog.  Thanks for the suggestion!


fix: typos in configuration parameters

I'm pretty sure the logsLimit fix is fine, because this only seems to be a typo in the readme.
I'm not so sure about the second one though, as I can not find either the new or old spelling used somewhere else in the repo. Is it possible that this was replaced completely by alertingRuleTenantLabelKey? I fail to see how that option is then passed to the frontend though, as the struct definition in the backend is missing that attribute (not only that one though, so I might be missing the point completely).
PTAL @jgbernalp

/retest
/lgtm


[FormHelperText] No asterisk when required

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
<FormHelperText required>Required</FormHelperText> shows no asterisk. Only Mui-required class is added.
Expected behavior 🤔
<FormHelperText required>Required</FormHelperText> shows the 'required' asterisk after the text.
Steps to reproduce 🕹
https://codesandbox.io/s/gallant-khayyam-j88n2e?file=/demo.js
Context 🔦
No response
Your environment 🌎
No response

Yes, required prop on FormHelperText is only to apply required classes key as indicated in the docs.
Asterik (*) is usually on form control's label when the field is required from accessibility's point of view. It doesn't make sense to show it on helper text. If you want to show it on helper text you can simply include it in the helper text content. Take a look at the updated CodeSandbox for the same.


optimizer: restore previous ABI.

The change in
commit 4ac8e5e541ea992dc6f44a4d4eb065a8fe0888ec
Author: Greg Fischer<EMAIL_ADDRESS>Date:   Wed Sep 15 12:38:34 2021 -0600
Add preserve_interface mode to aggressive_dead_code_elim (#4520)

Broke the C++ ABI for spirv-tools shared libraries on Linux, for not a great reason.
Restore the previous ABI.

@greg-lunarg Do you have any problems with this?


fixes #11142 missing array length check on release

@aep Please add some unittest for this case.

@aep ping


Merge pull request #1 from yzhang921/branch-0.4

Branch 0.4
What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
Todos

[ ] - Task

What is the Github issue?

Open an issue on Github https://github.com/yzhang921/CBoard/issues
Put link here, and add [- #ISSUE_NUMBER] in PR title
eg. [ES] Auto adjust time interval bucket when override of date column is null #114

How should this be tested?
Outline the steps to test the PR here.
Screenshots (if appropriate)
Questions:

Is there breaking changes for older versions?
Does this needs documentation?

你这个是什么操作


build: Re-enable TPCDS q72 for broadcast and hash join configs

Which issue does this PR close?

Closes #.
Rationale for this change

I did memory profiling yesterday again locally, and didn't see the memory issue last time. Trying to re-enable q72.
In Github Action runner, it still cannot run q72 with sort merge join config. I only enabled q72 for other type join configs.
What changes are included in this PR?

How are these changes tested?

Thanks @andygrove


Earth bucket

Add in Bucket model in place of slab earth
This should merge in after https://github.com/CliMA/ClimaCoupler.jl/pull/50 as it builds off of that.

Currently setting the mask= 1 everywhere to check conservation in a simpler model, but the ocean and sea ice models are still running (without error).
There may be some issues with roundoff.

Things to do:

clean up conservation plot code, add water to it (note - \rho q in atmos is clipped at zero so we may not see conservation)
get precipitation from atmos (change coupler driver code and atmos)
pass albedo to radiation code (change to LSM code, radiation code, what coupler driver does)
get realistic d_soil parameter
figure out where FT and other parsed args are actually set, kind of confusing


How can I load pretrained weights from checkpoint to go on pretraining?

Hello! Thx for your great work!
For some reasons, I couldn't run the whole training loop in your pretraining scripts. But I got some checkpoints like "model_epoch_25.pth". The question is, how can I load this checkpoint and go on finishining my pretraining?
Looking forward to your reply!

Hi! I haven't provided an interface for passing checkpoints for pretraining. But you can make a small change on the script to achieve this.
When runing downstream tasks, we provide the interface to pass the solver checkpoint or model checkpoint. By setting the model_checkpoint, you can pass the pretrained model checkpoint. By setting the checkpoint, you can pass both the models, mlps and optimizer into the solver.
https://github.com/DeepGraphLearning/GearNet/blob/932e7e3ac56c733f31231e1e0cdd03c158c7ab96/util.py#L128-L136
For your case, if you want to continue pretraining with some checkpoints. You need to first change the save function in pretrain.py, since the current one only saves the model and discards the mlp and optimizer. Then, you need to add the interface checkpoint in build_pretrain_solver  for passing the solver checkpoint, which should be similar to the build_downstream_solver shown above. Finally, you need to change the config files to add the checkpoint argument and provide the path to your checkpoint.
Nevertheless, I believe that even only pretraining the model for 25 epochs, you can still get a very strong model.

OK! Thank you for so detailed answer! I'd try it later!


Set the "clear" button color to orange (= warning)

According to https://github.com/bnjbvr/kresus/issues/142

Thank you!


Merge 2.12 into master

Codecov Report

Merging #304 (3834e0b) into master (d87faa2) will decrease coverage by 2.15%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #304      +/-   ##
============================================
- Coverage     95.74%   93.59%   -2.16%
  Complexity      419      419
============================================
  Files            55       55
  Lines          1387     1155     -232
============================================
- Hits           1328     1081     -247
- Misses           59       74      +15

Impacted Files
Coverage Δ

src/Resources/config/flexible_ssl_legacy.php
0.00% <0.00%> (-100.00%)
:arrow_down:

src/ContentSecurityPolicy/NonceGenerator.php
50.00% <0.00%> (-10.00%)
:arrow_down:

...rc/ContentSecurityPolicy/Violation/ReportEvent.php
50.00% <0.00%> (-10.00%)
:arrow_down:

src/Twig/CSPRuntime.php
66.66% <0.00%> (-4.77%)
:arrow_down:

src/EventListener/FlexibleSslListener.php
90.74% <0.00%> (-3.55%)
:arrow_down:

src/EventListener/ReferrerPolicyListener.php
85.71% <0.00%> (-3.18%)
:arrow_down:

...endencyInjection/Compiler/UAParserCompilerPass.php
83.33% <0.00%> (-2.39%)
:arrow_down:

src/Twig/Node/CSPNode.php
92.85% <0.00%> (-1.88%)
:arrow_down:

src/EventListener/ContentTypeListener.php
90.90% <0.00%> (-1.40%)
:arrow_down:

...stener/AbstractContentTypeRestrictableListener.php
88.88% <0.00%> (-1.12%)
:arrow_down:

... and 41 more

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 d87faa2...3834e0b. Read the comment docs.


Wrong evaluation order during object creation

Issue description
As usual, a simple non-working example is always better than a long speech. :)
Steps to reproduce
(module my-mod G
  @doc "A simple module that manages a counter"
  (defcap G() true)

  (defschema counter-schema
    cnt:integer)

  (deftable counter-table:{counter-schema})

  (defun init:string ()
    @doc "Initialize the counter"
    (insert counter-table "SINGLETON" {'cnt:0})
  )

  (defun increment:integer ()
    @doc "Increment the counter and return the old value"
    (with-read counter-table "SINGLETON" {'cnt:=old-value}
      (update counter-table "SINGLETON" {'cnt:(+ 1 old-value)})
      old-value)
  )

)
; Init the counter
(create-table counter-table)
(my-mod.init)

; Create an object with 3 values of the counter
{'a:(my-mod.increment), 'b:(my-mod.increment), 'c:(my-mod.increment)}

Pact 4 has the expected behavior:
{"a": 0,"b": 1,"c": 2}

But Pact 5.0 (recent commit c948d933b2c0ddff15c8809ab69e32f91f1cb20e) gives a different result:
{"a": 2,"b": 1,"c": 0}

We will fix this only because this is a particularly simple fix (reversing element order in our parser), but I do think that it's certainly wrong to rely on object field evaluation order when it comes to side effects. In most other languages this would be undefined behavior.


Improve type mismatch error message by providing hints when the solution might be guessable by the compiler

As a concrete example, when someone mutates a field inside a fun, the error message doesn't suggest that the solution might be to convert it into a ref fun to accommodate the mutation. Instead you often see errors that complain about x is not a subtype of y or that it was looking for this->x and it saw x. These are technically valid error messages, but if the compiler can detect that it's actually just a simple mutability issue, it could provide a hint.

I want to work on it ^_^


TypeError: can only concatenate str (not "NoneType") to str

   _____                 _      ____  _
  / ____|               | |    / __ \| |
 | |  __ _ __ __ _ _ __ | |__ | |  | | |     _ __ ___   __ _ _ __
 | | |_ | '__/ _` | '_ \| '_ \| |  | | |    | '_ ` _ \ / _` | '_ \
 | |__| | | | (_| | |_) | | | | |__| | |____| | | | | | (_| | |_) |
  \_____|_|  \__,_| .__/|_| |_|\___\_\______|_| |_| |_|\__,_| .__/
                  | |                                       | |
                  |_|                                       |_|
                              Author: @pentest_swissky Version: 1.0
GraphQLmap > dump_via_fragment
============= [SCHEMA] ===============
e.g: name[Type]: arg (Type!)

00: Query
	getProperty[Property]: entity (String!), entity_id (String!), prop_keys (None!), Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/graphqlmap", line 4, in <module>
    __import__('pkg_resources').run_script('graphqlmap==0.0.1', 'graphqlmap')
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 651, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1455, in run_script
    exec(script_code, namespace, namespace)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/graphqlmap-0.0.1-py3.9.egg/EGG-INFO/scripts/graphqlmap", line 81, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/graphqlmap-0.0.1-py3.9.egg/EGG-INFO/scripts/graphqlmap", line 59, in __init__
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/graphqlmap-0.0.1-py3.9.egg/graphqlmap/attacks.py", line 74, in dump_schema
TypeError: can only concatenate str (not "NoneType") to str

I got this whilst playing with the tool today. Quick dirty hack:
Edit line 74 in attacks.py so that it looks like this:
                        # generate mutation query
                        if not args_name and not args_ttype:
                            mutation_args += args_name + ":" + args_ttype + ","


CPU not mounted onto VM

Since this commit we have failing bosh-lite deployments of CFCR with error
failed to run Kubelet: mountpoint for cpu not found
We have different instances where one instance has the cpu mount
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,relatime,rdma)

And another without
overlay on /home type overlay (rw,nodev,relatime,lowerdir=l/kSsjcqTiR11886,upperdir=/var/vcap/data/grootfs/store/privileged/images/e78a26f9-59b7-411d-7083-6e73302f3741/diff,workdir=/var/vcap/data/grootfs/store/privileged/images/e78a26f9-59b7-411d-7083-6e73302f3741/workdir)
cgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,relatime,rdma)
/dev/sdc1 on /var/vcap/data/docker/docker type ext4 (rw,relatime,data=ordered)
/dev/sdc1 on /var/vcap/data/docker/docker/plugins type ext4 (rw,relatime,data=ordered)

Steps to reproduce can be found in our tracker story

Hi @henderjm,
Stemcells don't guarantee that certain cgroups have been mounted. It is the responsibility of the release which depends on the cgroups to set them up correctly.
It seems like you're also missing the net_cls,net_prio entry, so maybe your mounting script has issues with the ,?
We believe the issues is somewhere in this script. We tested this with bpm-release and saw the cpu,cpuacct and net_cls,net_prio subsystems mounted properly. You can reference the mounting logic here.
Let us know if that helps,
@pivotal-mp && @jfmyers9, CF BOSH

As it seems when running xenial on a non-bosh-lite system, then there is systemd running, which make sure that the cgroups are mounted properly. In that case the above script does alter anything.
Our questions is why in a bosh-lite xenial vm we do not have the systemd?

Hi @karampok,
A "VM" on bosh-lite is not a VM, but a container. At the risk of over-explaining myself here, a container differs for a VM or a physical machine in many ways, one of which is that they don't run their own operating systems, they merely rely on the existing kernel on their host and then provide a layer of filesystem to their users.
Part of the role of the operating system (which isn't present in containers) is starting certain processes and services upon boot, one of these services is systemd. And again, since there is no operating system running specifically for the container (and honestly, not even a clear concept of what "boot" is) systemd is never started.
Moreover, running systemd in containers is no trivial matter. We chose to not try to solve that problem given that it isn't necessary for the containers to work as VMs for BOSH.
Now, back to the problem at hand: systemd is an implementation detail of the (non-container based) stemcells and we'd prefer if release authors didn't rely on specific behaviors of it, hence @pivotal-mp's comment about release authors being responsible for setting up such cgroups. If there are certain aspects of the stemcell that are part of the defined surface area we will try and make sure that those are implemented in some way for all of the provided stemcell types, but as of right now, the mounting of cgroups isn't one of those features.
Thanks!
@luan, CF BOSH

Thx for the answer!
I see that making the xenial-stemcell in a bosh-lite container look exactly a real vm with xenial ubuntu is too much work without benefit.  In CFCR we should add the following part
+mkdir /sys/fs/cgroup/systemd || true
+mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd || true

because it is required by the docker daemon and it is development-only code just for the bosh-lite case.
Thanks!
Konstantinos

Thanks for the input. I am happy to close this.

hei guys, so I am facing this issue as well ... is it possible to include a fix somehow, so that we don't have to go to all workers in order to add the commands manually.
Thanks
Cheers
Noah


cast to smaller integer type 'unsigned int' from 'Reachability *' [-Wpointer-to-int-cast] NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]];

I'm getting this error when compiling a flutter app for ios, with the latest version of macos/ios/flutter
/Users/insinfo/Desktop/MyProjectsFlutter/appsescverao/appsescverao/ios/Pods/Reachability/Reachability.m:465:63: warning: cast to smaller integer
    type 'unsigned int' from 'Reachability *' [-Wpointer-to-int-cast]
                                 NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]];

Any updates?

Has this problem been solved？

Same issue here in<EMAIL_ADDRESS>

This was fixed a while ago.


Embed the project and target source files from a build.

As the build is happening the BuildEventArgs will contain paths to the source files on disk encountered during the build: .proj files, .targets files, imported projects as well as potentially some source files.
It is valuable to capture these exact files and embed them into the binary log such that the log analysis has the actual sources using during the build at its disposal.
There are three options: don't capture sources, capture to a standalone .buildsources.zip archive and embed the zip archive directly into the binary log. The last option (embed) is the default. Logger parameters to change the default will be provided in a separate commit.
This commit adds the facility to write and read blobs to the log file, a SourceFileCollector that adds files to a .zip archive in the background and the integration pieces.

I've responded to the code review feedback, please take another look?

Thanks for the great feedback so far! Keep it coming :)

This PR has now been superceded by https://github.com/Microsoft/msbuild/pull/2154


Request information about X8000 (connect to Google Sheets)

Hi,
my name is Luca and I write for request informations. I have two chronotermostat in my home (https://faidate.bticino.it/it/soluzioni-da-vivere/smart-home/smarther-termostato-connesso/) and I want to collect data (temperature, humidity and on/off - if possible). I have another sensor (Sonoff TH16) and I have find a solution to collect data and write them in Google Sheets (https://community.smartthings.com/t/release-simple-event-logger/69879). After this I'm able to create chart with Google Data Studio.
I want to find a solution for my chronotermostats but I'm only able to connect them with Google Home. I have find another solution but require Raspberry (https://hassiohelp.eu/2020/05/01/bticino-smarther-x8000/). Maybe there is a solution with Google Script or with free Python Server Online (https://www.pythonanywhere.com) but I'm not a programmer...
Can you help me? I have open a topic on Legrand Forum but I don't have any response (https://developer.legrand.com/forums/topic/request-help-to-connect-smarther-sx8000-with-other-app/).
Sorry for the request
and
best regards,
Luca

Hi Luca and thanks for writing.
If I understand correctly you need to collect data from your
chronotermostats and save it down to a Google docs.
I guess you would like to pick the data every 5 minutes or so in order to
keep track of what happened.
This can be easily achieved using my repository since it is something I am
also doing, however you need one of this:

a PC ( may be an old PC or a raspberry) that remains on and collects and
store data.
a Google Cloud compute engine that is almost free (
https://cloud.google.com/free/docs/gcp-free-tier/#compute)

If you think you can allocate one of the above two options, I am happy to
provide further details on how to get everything up and running
Best regards,
Matteo
On Thu, 6 Jan 2022, 18:18 Luca1984, @.***> wrote:

Hi,
my name is Luca and I write for request information. I have two
chronotermostat in my home (
https://faidate.bticino.it/it/soluzioni-da-vivere/smart-home/smarther-termostato-connesso/)
and I want to collect data (temperature, humidity and on/off - if
possible). I have another sensor (Sonoff TH16) and I have find a solution
to collect data and write them in Google Sheets (
https://community.smartthings.com/t/release-simple-event-logger/69879).
I want to find a solution for my chronotermostats but I'm only able to
connect them with Google Home. I have find another solution but require
Raspberry (https://hassiohelp.eu/2020/05/01/bticino-smarther-x8000/).
Maybe there is a solution with Google Script but I'm not a programmer...
Can you help me? I have open a topic on Legrand Forum but I don't have any
response (
https://developer.legrand.com/forums/topic/request-help-to-connect-smarther-sx8000-with-other-app/
).
Sorry for the request
and
best regards,
Luca
—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4JYH45OHPHHXW6MRRCQL3UUXFGLANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi Matteo,
thank you for your help. Yes, you understand correctly: I need to collect
data from two chronotermostats in my home and save in Google Sheets and
every X minutes (15 is ok). At the moment I store my data in Google Sheets
(FR9M Son9ff TH16) and visualize in Google Data Studio.
I have activate free version of Google Cloud because I don't have old PC /
Raspberry. Thank you a lot :)
Ciao
Luca
Il Sab 8 Gen 2022, 10:06 Matteo Bregonzio @.***> ha
scritto:

Hi Luca and thanks for writing.
If I understand correctly you need to collect data from your
chronotermostats and save it down to a Google docs.
I guess you would like to pick the data every 5 minutes or so in order to
keep track of what happened.
This can be easily achieved using my repository since it is something I am
also doing, however you need one of this:

a PC ( may be an old PC or a raspberry) that remains on and collects and
store data.
a Google Cloud compute engine that is almost free (
https://cloud.google.com/free/docs/gcp-free-tier/#compute)

If you think you can allocate one of the above two options, I am happy to
provide further details on how to get everything up and running
Best regards,
Matteo
On Thu, 6 Jan 2022, 18:18 Luca1984, @.***> wrote:

Hi,
my name is Luca and I write for request information. I have two
chronotermostat in my home (

https://faidate.bticino.it/it/soluzioni-da-vivere/smart-home/smarther-termostato-connesso/
)

and I want to collect data (temperature, humidity and on/off - if
possible). I have another sensor (Sonoff TH16) and I have find a solution
to collect data and write them in Google Sheets (
https://community.smartthings.com/t/release-simple-event-logger/69879).
I want to find a solution for my chronotermostats but I'm only able to
connect them with Google Home. I have find another solution but require
Raspberry (https://hassiohelp.eu/2020/05/01/bticino-smarther-x8000/).
Maybe there is a solution with Google Script but I'm not a programmer...
Can you help me? I have open a topic on Legrand Forum but I don't have
any
response (

https://developer.legrand.com/forums/topic/request-help-to-connect-smarther-sx8000-with-other-app/

).
Sorry for the request
and
best regards,
Luca
—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AA4JYH45OHPHHXW6MRRCQL3UUXFGLANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1#issuecomment-1007919700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXE7OSQBEDVCB7DR2ZQELF3UU747VANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Cool, I think you have all you needed.
As far as I understand you are not familiar with python and programming
languages, correct?
If so the fastest way is to scheduled a 30 mins hangout call to set up the
environment. Once it si done you will see data feeding your Google sheet.
If you share your Gmail address I will book a call
Regards
Matteo
On Sat, 8 Jan 2022, 12:08 Luca1984, @.***> wrote:

Hi Matteo,
thank you for your help. Yes, you understand correctly: I need to collect
data from two chronotermostats in my home and save in Google Sheets and
every X minutes (15 is ok). At the moment I store my data in Google Sheets
(FR9M Son9ff TH16) and visualize in Google Data Studio.
I have activate free version of Google Cloud because I don't have old PC /
Raspberry. Thank you a lot :)
Ciao
Luca
Il Sab 8 Gen 2022, 10:06 Matteo Bregonzio @.***> ha
scritto:

Hi Luca and thanks for writing.
If I understand correctly you need to collect data from your
chronotermostats and save it down to a Google docs.
I guess you would like to pick the data every 5 minutes or so in order to
keep track of what happened.
This can be easily achieved using my repository since it is something I
am
also doing, however you need one of this:

a PC ( may be an old PC or a raspberry) that remains on and collects
and
store data.
a Google Cloud compute engine that is almost free (
https://cloud.google.com/free/docs/gcp-free-tier/#compute)

If you think you can allocate one of the above two options, I am happy to
provide further details on how to get everything up and running
Best regards,
Matteo
On Thu, 6 Jan 2022, 18:18 Luca1984, @.***> wrote:

Hi,
my name is Luca and I write for request information. I have two
chronotermostat in my home (

https://faidate.bticino.it/it/soluzioni-da-vivere/smart-home/smarther-termostato-connesso/

)

and I want to collect data (temperature, humidity and on/off - if
possible). I have another sensor (Sonoff TH16) and I have find a
solution
to collect data and write them in Google Sheets (
https://community.smartthings.com/t/release-simple-event-logger/69879
).
I want to find a solution for my chronotermostats but I'm only able to
connect them with Google Home. I have find another solution but require
Raspberry (https://hassiohelp.eu/2020/05/01/bticino-smarther-x8000/).
Maybe there is a solution with Google Script but I'm not a
programmer...
Can you help me? I have open a topic on Legrand Forum but I don't have
any
response (

https://developer.legrand.com/forums/topic/request-help-to-connect-smarther-sx8000-with-other-app/

).
Sorry for the request
and
best regards,
Luca
—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1, or
unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AA4JYH45OHPHHXW6MRRCQL3UUXFGLANCNFSM5LMZS7YA

.
Triage notifications on the go with GitHub Mobile for iOS
<

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android
<

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1#issuecomment-1007919700
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AXE7OSQBEDVCB7DR2ZQELF3UU747VANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1#issuecomment-1007957440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4JYH67JMNEW3GQ4RLFI4LUVALMHANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Hi,
yes, I'm not familiar with Python and programming (I write little macro
with VBA, for Excel, but very simple).
Thank you one more time: here my address
luca.cretier AT gmail DOT com
Bye
Luca
Il Dom 9 Gen 2022, 09:42 Matteo Bregonzio @.***> ha
scritto:

Cool, I think you have all you needed.
As far as I understand you are not familiar with python and programming
languages, correct?
If so the fastest way is to scheduled a 30 mins hangout call to set up the
environment. Once it si done you will see data feeding your Google sheet.
If you share your Gmail address I will book a call
Regards
Matteo
On Sat, 8 Jan 2022, 12:08 Luca1984, @.***> wrote:

Hi Matteo,
thank you for your help. Yes, you understand correctly: I need to collect
data from two chronotermostats in my home and save in Google Sheets and
every X minutes (15 is ok). At the moment I store my data in Google
Sheets
(FR9M Son9ff TH16) and visualize in Google Data Studio.
I have activate free version of Google Cloud because I don't have old PC
/
Raspberry. Thank you a lot :)
Ciao
Luca
Il Sab 8 Gen 2022, 10:06 Matteo Bregonzio @.***> ha
scritto:

Hi Luca and thanks for writing.
If I understand correctly you need to collect data from your
chronotermostats and save it down to a Google docs.
I guess you would like to pick the data every 5 minutes or so in order
to
keep track of what happened.
This can be easily achieved using my repository since it is something I
am
also doing, however you need one of this:

a PC ( may be an old PC or a raspberry) that remains on and collects
and
store data.
a Google Cloud compute engine that is almost free (
https://cloud.google.com/free/docs/gcp-free-tier/#compute)

If you think you can allocate one of the above two options, I am happy
to
provide further details on how to get everything up and running
Best regards,
Matteo
On Thu, 6 Jan 2022, 18:18 Luca1984, @.***> wrote:

Hi,
my name is Luca and I write for request information. I have two
chronotermostat in my home (

https://faidate.bticino.it/it/soluzioni-da-vivere/smart-home/smarther-termostato-connesso/

)

and I want to collect data (temperature, humidity and on/off - if
possible). I have another sensor (Sonoff TH16) and I have find a
solution
to collect data and write them in Google Sheets (

https://community.smartthings.com/t/release-simple-event-logger/69879

).

I want to find a solution for my chronotermostats but I'm only able
to
connect them with Google Home. I have find another solution but
require
Raspberry (https://hassiohelp.eu/2020/05/01/bticino-smarther-x8000/
).
Maybe there is a solution with Google Script but I'm not a
programmer...
Can you help me? I have open a topic on Legrand Forum but I don't
have
any
response (

https://developer.legrand.com/forums/topic/request-help-to-connect-smarther-sx8000-with-other-app/

).
Sorry for the request
and
best regards,
Luca
—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1, or
unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AA4JYH45OHPHHXW6MRRCQL3UUXFGLANCNFSM5LMZS7YA

.
Triage notifications on the go with GitHub Mobile for iOS
<

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android
<

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<

https://github.com/brego81/Legrand-Bticino-Python-API/issues/1#issuecomment-1007919700

,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AXE7OSQBEDVCB7DR2ZQELF3UU747VANCNFSM5LMZS7YA

.
Triage notifications on the go with GitHub Mobile for iOS
<

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android
<

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1#issuecomment-1007957440
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AA4JYH67JMNEW3GQ4RLFI4LUVALMHANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/brego81/Legrand-Bticino-Python-API/issues/1#issuecomment-1008254715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXE7OSUNLAIML4CNR2IOGGTUVFC7LANCNFSM5LMZS7YA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

closing issue.


adding a PR to bump version and use new workflow

not sure if this is the best spot for this but pre releases generally are of the format semantic-version–prerelease.number
ie 1.0.1-beta.1 or 0.1.5-alpha.2
I notice these prerelease versions are missing the finally "dot number"


fix(select): update initial value properly when using multi-mode and …

…options are added with for-loop
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our
guidelines: https://github.com/goetzrobin/spartan/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] accordion
[ ] alert
[ ] alert-dialog
[ ] aspect-ratio
[ ] avatar
[ ] badge
[ ] button
[ ] calendar
[ ] card
[ ] checkbox
[ ] collapsible
[ ] combobox
[ ] command
[ ] context-menu
[ ] data-table
[ ] date-picker
[ ] dialog
[ ] dropdown-menu
[ ] hover-card
[ ] icon
[ ] input
[ ] label
[ ] menubar
[ ] navigation-menu
[ ] pagination
[ ] popover
[ ] progress
[ ] radio-group
[ ] scroll-area
[x] select
[ ] separator
[ ] sheet
[ ] skeleton
[ ] slider
[ ] sonner
[ ] spinner
[ ] switch
[ ] table
[ ] tabs
[ ] textarea
[ ] toast
[ ] toggle
[ ] tooltip
[ ] typography

What is the current behavior?

Currently, in the select component, if you use multi-mode, provide an initial value, and dynamically add options in the template (e.g., using a for-loop), the initial value is not applied correctly. Although it initially appears to be set correctly, selecting an option reveals that no initial value was actually applied. Additionally, the component displays as if both the initial value and the selected option are active, even showing duplicates.
Closes #
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Hi there! First time contributor here so sorry if I messed anything up.
I see that I have some issues with "ci / prettier" and "UI Tests". Those seem to be failing on main as well so I'm not sure if I need to do something to fix those on my end.
Also not sure if I need to do anything to pass the Vercel check.

Hi there! First time contributor here so sorry if I messed anything up. I see that I have some issues with "ci / prettier" and "UI Tests". Those seem to be failing on main as well so I'm not sure if I need to do something to fix those on my end. Also not sure if I need to do anything to pass the Vercel check.

Hi @guillermoecharri like you mentioned seems these are some existing issues in main and not related to the select component so I wouldn't worry about it. At first glance I think this LGTM to me and seems all select tests are still passing. Really liking the change actually but want to give a chance for maybe @elite-benni to take a quick look in case I'm not considering something here
Thanks for taking the time to contribute!

First of all, thanks for controbuting.
To me this looks like another tricky scenario that initially the possibleOptionsChanged function in the brain service tried to solve.
I am not sure why this does not work, because this was also introduced to solve an issue with options added in a for loop.
I would like to check why the old solution does not work in that case, but unfortunately i only have access to my phone right now.
The change looks good to me tough.

Yeah it's a very tricky timing issue. If you want to debug the specific scenario when you have time you can comment-out lines 322-327 and check out the new story that I added. When setInitialSelectedOptions gets called inside writeValue, it won't be able to access the options yet since they are registered just a bit after.

Yeah it's a very tricky timing issue. If you want to debug the specific scenario when you have time you can comment-out lines 322-327 and check out the new story that I added. When setInitialSelectedOptions gets called inside writeValue, it won't be able to access the options yet since they are registered just a bit after.

Ok i see. So the problem is, that the initialvalue is not set correctly.
PossibleOptionsChanged is called, when the Value is really available. In the past there has been problems with setting the possibleOptions when it was registered, because the input value was not set at this time, thats when possibleOptionsChanged was introduced.
Your solution also seems to work without this problem, so the content children don't have this timing issue.
We now have to options:

use your solution with the options observable and remove the possibleOptionsChanged, because it is not needed anymore.
also save the initial value (string) in the brain service and also set the intialOptions on possibleOptionsChanged and drop the options$ in the component.public setInitialSelectedOptions(value: unknown) {
	this.selectOptionByValue(value);
	this.state.update((state) => ({
		...state,
		value: value as string | string[],
		initialValue: value as string | string[],
		initialSelectedOptions: this.selectedOptions(),
	}));
}
....
public possibleOptionsChanged() {
	this.selectOptionByValue(this.value());
	this.setInitialSelectedOptions(this.initialValue());
}

What I can think of a problem with your solution is, that when the value is written and the options are added afterwards without writing the value again, the select box would again react weirdly.

I hope I was able to explain it good enough. ;)

...
We now have to options:

use your solution with the options observable and remove the possibleOptionsChanged, because it is not needed anymore.
also save the initial value (string) in the brain service and also set the intialOptions on possibleOptionsChanged and drop the options$ in the component.
...
What I can think of a problem with your solution is, that when the value is written and the options are added afterwards without writing the value again, the select box would again react weirdly.

I hope I was able to explain it good enough. ;)

I updated the "ReactiveFormControlWithForAndInitialValueAndMultiple" story to play around with dynamically changing the available options and it seems to react appropriately for the most part.
The one case that is a bit strange is if an option you've selected gets removed. Maybe this is what you meant by "without writing the value again" since selecting another value would cause that to get cleared out.
It's a strange case but if the expected behavior is that the selected option gets de-selected then maybe this could be handled in the brain service when deregisterOption is called.
Maybe something like:
public deregisterOption(option: CdkOption | null) {
	this._possibleOptions.update((options) => options.filter((o) => o !== option));
	// update value if it was just removed
	if (this.multiple()) {
		const values = this.value() as string[];
		const filteredValues = values.filter((v) => v !== option?.value);
		// only update if there was an actual change
		if (values.length !== filteredValues.length) {
			console.log('old values', values, 'new values', filteredValues);
			this.state.update((state) => ({
				...state,
				value: filteredValues,
			}));
		}
	} else {
		const value = this.value() as string;
		if (value === option?.value) {
			this.state.update((state) => ({
				...state,
				value: '',
			}));
		}
	}
}

From some testing it looks like this still isn't quite fixing the issue. Any thoughts on this approach?

Yeah it seema like a little mess with value selected options and initialvalue.
I am not quite sure why this was needed.
Maybe @thatsamsonkid has more insight to this.

I update the PR. The main changes are:

Now possibleOptionsChanged is no longer needed. I created an effect in the brn-select component that syncs the possibleOptions in the service when the options contentChildren query updates.
I was also able to get rid of initalSelectedOptions in favor of just using selectedOptions throughout.
I implemented the things that @elite-benni  brought up about updating the selectedOptions if the possibleOptions are changed

I ran into the headache that @thatsamsonkid mentioned with the pristine/dirty state, but I was able to account for it by doing a 1-time markAsPristine when setting the initial value.
The only other thing of note was that I ran into some trouble getting brn-select-value to render the initial value properly. It seemed like using the signal it was taking an extra frame to render. The only work around I found for that was manually running change detection :( which is always a bummer.

@guillermoecharri - nice work!, sorry I feel like I haven't been able to give this the attention it deserves. Been busy with personal matters. I will make sure to carve out some time to look at the latest changes later today. Honestly i'd be ok with the manual change detection check. I had run into a similar issue earlier in the development of select so honestly not the worst thing ever

Cleaned up according to the feedback :)

Updated to fix the minor comments


Error C2-12828-1 after replacing system.dat with 2.0 version

Exactly what it says on the tin.

Yeah you failed to follow the steps then.


simplify auth flow

As of now we use sessions (stored in postgres) in the auth server and then continuously fetch jwt from the auth server to autheticate against the other servers.
What we want: Simpler auth flow.
Perhaps the following: sessions with "cookiestore". I.e. encrypted session data stored in cookie. then the other servers should be able to just decrypt using shared key for authenciation. Similar/same as jwt, but stored in cookie instead of in browser js memory.

I just realized this might not work well as we continuously need to renew the jwt token


Configuration parser returns empty list

The config:
{
	output eDP-1 scale 1.0
}

Printed here:
https://github.com/emersion/kanshi/blob/ed21acce0c52f7893c903f46b09b4a3b55e2c198/src/main.rs#L161
The output:
Connected outputs:
output eDP-1 ...
output DP-4 ...
output DP-3 ...
Saved configurations: []
...

Tested on both master and the last commit of 2017. Latest everything.
I've gone through store.rs a couple of times, but was unable to find any gaping holes. I assume you're using this util yourself, and it's working fine for you? Configured through KanshiStore?

@emersion What a coincidence that fractional scaling wasn't supported... :smile: But this wasn't the issue I was reporting, this was just a random small repro config.
I've done some extra testing, and, for some reason, now I'm not able to get kanshi to run without panicking at all, whatever config I use ("now" = time-wise, not last commit's fault). The error it panics with is Incomplete(Size(1)), on any config, even on the one from the post above (wouldn't panic on it yesterday). I've done some googling, and, it appears, it could be related to nom 3 vs. nom 4, as mentioned in this issue. So I have changed its version back to 3.2.1, and now everything is working fine.
About the panics, since nom 4 changes the behavior around partial parsing, and it could be that the buffer is processed in chunks for some reason (maybe even somehow related to the environment... having a hard time imagining how), it just receives an incomplete file and fails.
Now, the original issue was just several coincidences, it appears:

nom 4 crashed on the config from the readme, making me think it's outdated or some such.
I didn't try the config from the readme when testing a build from 2017.
Fractional scaling wasn't supported, so the block with fractional scaling involved was ignored.
I was using new sway-output notation, e.g. pos 0 0 instead of position 0,0, ignored too.

With that out of the way, the config gets parsed fine now. Please, adjust the parsing code according to this migration guide or downgrade to version 3. Also, a comma needs to be replaced with a space here:
https://github.com/emersion/kanshi/blob/1d3f30124358283287bd77dda46bac9d36e8a74f/src/frontend.rs#L40
Some sort of indication of config blocks getting ignored would help with troubleshooting a lot too. Who knows, maybe that's what's happening in #9.
Either way, thanks for the util! Wish Sway wouldn't crash so much on MST...

I've done some extra testing, and, for some reason, now I'm not able to get kanshi to run without panicking at all

Hmm, I'm not able to reproduce with the current code. I've tried using CompleteByteSlice and then it always fails with your error.
I spent a few hours trying to upgrade to nom 4, but I'm just getting weird macro errors. I should never have used nom, it sucks, this is not the first time I can't debug a parser issue. Downgraded to nom 3.

Also, a comma needs to be replaced with a space here

Oh, right, thanks! I don't think I have those setup in my config. Now fixed.

Some sort of indication of config blocks getting ignored would help with troubleshooting a lot too.

Tried to do so, but I don't understand how this works with nom. We should just migrate to a less brain-dead library.


Replace Measurement and UnscaledMeasurement with explicit Acceleration and MagneticField structs.

Simplify the API by having only one method each for measuring, with the conversion (unscaled/mg/nT) being done by the explicit types.
Also included the changes from https://github.com/eldruin/lsm303agr-rs/pull/11.

Added tests for the raw methods and a changelog entry.


Fix run command race

Use exec.CommandContext to simplify timeout handling, and fixing the data races which can be identified by the added tests when -race enabled.
Related to #1453

I'm afraid that the stdin is redirected to /dev/null within drone :(
I would have to think about other approach.

It's not about reward but entry barrier.
Developers are a scarce resource, and even many of
the documented maintainers are being increasily inactive.
For these reasons I think we should lower the barrier as much
as possible. From low dependencies to documented procedures and
codebase, to easy to use testing frameworks...

We could drop Go v1.6 support on Gitea v1.3, so I moved this to v1.3

Go v1.6 is already drop in git module so dropped in gitea. https://github.com/go-gitea/git/blob/master/command.go#L9

So that we only need to add an implicated declare on some README or other document.

@bkcsoft need your approval

LGTM except @bkcsoft 's second comment I agree with.

LGTM

Codecov Report

Merging #1470 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1470      +/-   ##
==========================================
+ Coverage   27.05%   27.24%   +0.19%
==========================================
  Files          89       89
  Lines       17650    17640      -10
==========================================
+ Hits         4775     4806      +31
+ Misses      12189    12146      -43
- Partials      686      688       +2

Impacted Files
Coverage Δ

modules/process/manager.go
69.56% <100%> (+48.04%)
:arrow_up:

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 134958f...0f2a90c. Read the comment docs.

The following error doesn't seem to be caused by the pull request.
fatal: unable to access 'https://go.googlesource.com/tools/': Failed to connect to go.googlesource.com port 443: Operation timed out
128s

Yes it's just random drone failure

@lafriks that's a network error not caused by this PR. I will test it twice again then I will move it to v1.3.0 and merge it.


Update rbx testing env for travis

Travis CI has updated their rbx env. This PR is to upgrade RM to that env.
http://docs.travis-ci.com/user/languages/ruby/#Rubinius
http://www.benjaminfleischer.com/2013/12/05/testing-rubinius-on-travis-ci/

No longer necessary.


Implement linking of info in sync release PRs

Link the upstream tag and commit (do
not use GitProject from ogr API here as in pull from upstream this might not be initialised).
If GitProject is initialised, also include link to the release.
Fixes #2152
The issue proposed linking the new version in Anitya backend (e.g. PyPI), but I was not able to find an easy way how to obtain this (it was not possible to get this e.g. using anityia API). But I am open to suggestions.
RELEASE NOTES BEGIN
Packit now links the information related to upstream in PRs opened when syncing a release.
RELEASE NOTES END

recheck

The issue proposed linking the new version in Anitya backend (e.g. PyPI), but I was not able to find an easy way how to obtain this (it was not possible to get this e.g. using anityia API). But I am open to suggestions.

It's far from perfect, but mabye we could at least link to the release-monitoring.org project that triggered the event:
https://release-monitoring.org/project/38377/

It's far from perfect, but mabye we could at least link to the release-monitoring.org project that triggered the event

that sounds good to me

Actually, homepage can be retrieved via API so we could link also there. Still not very useful though.

yes, I had a look into that but I don't consider it really useful as e.g.  for packit it is set to packit.dev

Actually, homepage can be retrieved via API so we could link also there. Still not very useful though.

backend can be retrieved as well, so we could implement constructing a link for a number of selected backends, or we could ask Anitya to do that and provide it via API.

backend can be retrieved as well, so we could implement constructing a link for a number of selected backends, or we could ask Anitya to do that and provide it via API.

I would probably try to avoid implementing this on our side, but I will think about it more and contact the maintainer of Anitya. Thanks for the suggestions!

I also added another commit  for fixing #2151 as it is related, PTAL :pray:


Improve installation output for better progress overview

Describe the bug
During the default installation process (as described in quickstart) there is minimal output, making it difficult to determine whether the process is still running or has stopped somehow.
This is my output:
C:\>k2s install
🤖 Installing K2s 'k2s' v1.0.0+4f83aa8 in 'C:\k2s' on Microsoft Windows 10 [...] using PowerShell 5
⏳ [16:04:51] Setting up Windows worker node
⏳ [16:10:16] Setting up KubeMaster VM
⏳ [16:23:17] Configuring network for Windows node
⏳ [16:23:29] Configuring KubeMaster VM
⏳ [16:23:56] Performing time synchronization between nodes
⏳ [16:23:57] Ensuring service log directories exists
⏳ [16:23:57] Starting Kubernetes services on the Windows node
⏳ [16:24:58]    Update PATH environment variable for proper usage:
⏳ [16:24:58]    Powershell: 'C:\k2s\smallsetup\helpers\RefreshEnv.ps1'
⏳ [16:24:58]    Command Prompt: 'C:\k2s\smallsetup\helpers\RefreshEnv.cmd'
⏳ [16:24:58]    Or open new shell
 SUCCESS  'k2s installation' completed in 20m16s
Please see 'C:\var\log\k2s.log' for more information

It is clearly visible that the steps Setting up Windows worker node and Setting up KubeMaster VM take some time.
To Reproduce
Steps to reproduce the behavior:

Start the installation process.
Observe the output.

Expected behavior
It would be beneficial to provide more detailed output during the installation process, particularly indicating when certain steps may take a significant amount of time. This would let the user know the process is still working, even if it takes longer than they thought.
Desktop

OS: Windows 10 20H2

What to improve
It would be nice if this output could be improved:

From
To

Setting up Windows worker node
Setting up Windows worker node  (This step can take several minutes)

Setting up KubeMaster VM
Setting up KubeMaster VM  (This step can take several minutes)

@richardfuchs Thanks for the feedback !
If you invoke the install command with the flag -o you get more detailed logs of the activities performed during the various stage in installation. Without the -o flag, we only write the important logs in the output, depicting only the stage where the installation has reached.
But in such a case, the log output can be improved especially in stages that take quite some time to complete.

Hi Abhitosh,
I actually canceled the installation on my first attempt because I thought the script was stuck. A newcomer could run into the same issue since the "Quickstart" only states:
Install K2s with [...]:
<installation folder>\k2s.exe install

link

Flag -o is accepted by many people, default contains only a few steps because of the need to not have many details.
If something does not work at the end the log file also contains the root cause.


removal of graalvm dependency causes build to fail

The removal of this line https://github.com/nextjournal/markdown/commit/75f4200961485d1db8fa36eaf6cb85fb67cfc51c#diff-551f87f7577a57c2f4f74b35056d5c7985331f7a38976810fd2bbc213bfe7bb5L4
cause my build to fail
Execution error (ExceptionInfo) at optimus.js/make-engine (js.clj:96).
No preferred JS engines found named ["graal.js" "rhino" "nashorn"] among available engines [com.oracle.truffle.js.scriptengine.GraalJSEngineFactory@7be3abaa]

I resolved it by adding that dep in my own deps.edn
not sure if this is something that should be fixed here, but I wanted to mention it in case someone got the same error and is looking for an answer after updating to the latest version

The point of the commit you're pointing to was exactly to get rid of GraalJS.
Now, your exception message seems to point at this line https://github.com/magnars/optimus/blob/9629c793d554ba7b287eb43634a6b9b82258e947/src/optimus/js.clj#L96 and optimus (whatever that is) is definitely not a dependency of ours. Please check your (lein?) build and ensure it's fetching all your dependencies.


Add possibility to search bookings with passange.externalRef as a search parameter

In POST /bookings-search we want to have passenger.externalRef in the request body to make it possible to search for bookings coupled to the externalRef.
Customers with CRM systems can then set passenger.externalRef to a CRM-customerId to make it is possible to find "MyBookings"  by the search operation.
{
  "origin": {
    "objectType": "string"
  },
  "destination": {
    "objectType": "string"
  },
  "passenger": {
    "externalRef": "string",                   <== New search parameter
    "firstName": "string",
    "lastName": "string",
    "dateOfBirth": "2024-10-18",
    "phoneNumber": "string",
    "email": "string"
  },
  "purchaser": {
    "companyName": "string",
    "companyRef": "string",
    "firstName": "string",
    "lastName": "string",
    "dateOfBirth": "2024-10-18",
    "phoneNumber": "string",
    "email": "string"
  },
  "bookingId": "string",
  "bookingCode": "string",
  "externalRef": "string",
  "fulfillmentId": "string",
  "fulfillmentControlNumber": "string",
  "travelDateRange": {
    "startTime": "2024-10-18T06:38:21.568Z",
    "endDate": "2024-10-18T06:38:21.568Z"
  },
  "purchaseDateRange": {
    "startTime": "2024-10-18T06:38:21.568Z",
    "endDate": "2024-10-18T06:38:21.568Z"
  },
  "parameters": {
    "numberOfResults": 10,
    "status": [
      "PREBOOKED"
    ]
  }
}```

@Linus-Turnit this is quite late for 3.4.0 :) you are lucky @schlpbch have not packaged the release yet. I can make the PR.

CRM-customerId is personal data, so you are not allowed to use the CRM-customerId  as externalRef.

If it is a CRM-customerId or another reference in the CRM-system is up to the client in my opinion.

It is not up to the client. The provider is legally not allowed to store these data.


Is it possible to have a single instance?

I'm noticing this spawns a new Chrome window for each spec. Is it possible to configure the number of processes used for a test. In particular, is it possible to have a single instance and run each test serially?

@mlynch WebdriverIO is designed to run every spec file in a separated session and therefor in in a new browser instance. If you set maxInstances to 1 all test will run sequentially.

@christian-bromann thanks, with that I'm able to get them to run sequentially but a new Chrome instance is created for each spec. Is it possible to stay in a single instance? Trying to replicate the experience of running in a simulator with Appium where there is only a single app instance running through each spec

Is it possible to stay in a single instance?

Yes you can group your specs, see https://webdriver.io/docs/organizingsuites#grouping-test-specs-to-run-sequentially
I will close this as it is not really related to the Chromedriver service, happy to continue to help though!

Ah yes! That was the difference and why it wasn’t working in my new test app. Thanks for the help


Make AutocompleteProvider able to register custom autocorrections

The AutocompleteProvider protocol should accept a custom, localized list of additional autocorrect suggestions. For instance, it should be possible to inject that ill and Ill should autocorrect to I'll.
It should also be possible to inject custom autocorrect ignores.
This approach must support multiple locales.

This has been implemented in KeyboardKit 8.7.


Plugin breaks after updating to {N} 6

Hello guys and thkans for the great plugin. Every things was working for {N} 5.4. But when i migrated to {N} 6.0, i receive this error during build
Exception in thread "main" java.lang.RuntimeException: Class not found android.support.v4.view.ViewPager.OnPageChangeListener at org.nativescript.staticbindinggenerator.Generator.getClass(Generator.java:549) at org.nativescript.staticbindinggenerator.Generator.getInterfacesFromCache(Generator.java:532) at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:283) at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:171) at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:234) at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:121) at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:97) at org.nativescript.staticbindinggenerator.Main.main(Main.java:50)
is there a solution for that?

Hey @hermandinho , the fix for this is available in the new version of the plugin available in the ProPlugins NPM registry.
All future work of this plugin will be available exclusively as part of ProPlugins initiative. So if you want to get the latest updates/fixes/features make sure you subscribe to the service. You get all my plugins plus many of the most used and high quality plugins for a small monthly subscription fee.

@PeterStaev I am trying to install this plugin but it's downloading for me?

@adilsaeed31 , have you subscribed to the service and logged in to the custom npm registry?

@PeterStaev I have logged in but didn't go for the subscription I want to test this plugin as per my requirement.

@adilsaeed31 you cannot access the plugin w/o an active subscription. You can use the current version of the plugin with NS 5.x if you want to try it out w/o subscribing.

@adilsaeed31 I can't use this I've already updated my NS to 6.

Well then there is no other option - the NS 6 support for this plugin is available only under the ProPlugins subscription. So the only options are you either pull the code and make the required changes yourself, or subscribe to the program.

@PeterStaev Give me some idea how I can do it I'm totally new with nativescript and nativescript plugin development


Narrative empty?

At the moment we use "generated" narratives (see #32 and #45) . There has been a remark that the generated narrative should be able to be verified against the FHIR structure.
This lead to a discussion that resulted in a proposal  for "empty" narratives:
the main arguments were:
avoid inconsistence between generated narrative, FHIR structure and PDF.
avoid usage of the generated narrative by the GP software
the main source of debugging information should be the visualisation tool
If we need fallback information we should include the included PDF

This currently gives errors in the verificator:


Feature/gh 439 choose data spec

closes #439
Added a new step process to allow Data Specifications to be attached to requests. This is then injected into sde-resources so that it can be utilised within Request dialogs. Also updated the submission button in the Data Specification page so that a Wizard is now displayed that allows the user to pick and choose what type of request they want to attach the Data Specification to.

Issue:
From "My Data Specification" I want to add a Finalised data to a "Project Change Request".
If the request already exist:

I can do all steps for adding
the UI respond consistently
at the final confirmation, it seems to save, BUT it actually didn't.
=> my data specification is still "Finalised" and not "Assigned to a request"
=> the request I was using, doesn't have the data saved (attachments  is empty and the audit table in DB record the action but with MauroDataSpecification = null) -> it's indeed not showing the message that it is creating the PDF at all

If the request is created at the moment:

I can follow all the steps until the Request Dialog
I can fill all the data required
When I'm going to Save, the user portal crash with API communication problem and this further message:

Note: this steps have been done with 'just created' data specifications.

I have fixed the loading dialog issue.
I'm not convinced the project change one is a real issue. The error in the screenshot relates to mdm-core and this is to do with something going wrong with the dataSpecification itself. I think this is outside the scope of attaching.

I have fixed the loading dialog issue.
I'm not convinced the project change one is a real issue. The error in the screenshot relates to mdm-core and this is to do with something going wrong with the dataSpecification itself. I think this is outside the scope of attaching.

it's indeed something belonging to mdm-core.
Further message I could get from mdm-core console while I was re-attempt the steps described above:
Caused by: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; statement executed: update openidconnect.discovery_document set version=?, date_created=?, last_updated=?, path=?, token_endpoint=?, end_session_endpoint=?, userinfo_endpoint=?, created_by=?, authorization_endpoint=?, jwks_uri=?, issuer=? where id=? and version=?
and
Caused by: uk.ac.ox.softeng.maurodatamapper.api.exception.ApiInternalException: Cannot store an unlocked GroupBasedUserSecurityPolicyManager


Connection between interface and 8P8C port

Environment

Python version: 3.6.7
NetBox version: 2.5.0

Steps to Reproduce
Add a device with a 8P8C front port and a SC rear port (a media converter in real world)
Add a device with 1Gb interfaces
Connect a interface from this device to the 8P8c port of the other device

Expected Behavior
See the cable and the termination endpoint when using the dcim/devices/ID/ template

Observed Behavior
Cable shows, but there is no termination. Example image is attached

Please upgrade to NetBox v2.5.1 and see if this issue has been addressed.

Thanks a lot for the fast reply Jeremy!
I just updated and the behavior is the same, screenshot is attached

The cable looks allright

This is intended behavior. There is no end-to-end connection: The cable is connected to a pass-through device with no connection on the far end. You'll need to complete the cable to show a completed connection.

Great, I got it now
Thanks a lot for your time!


Cant close case with no products

https://regulatorydelivery.atlassian.net/jira/software/projects/PST1/boards/53?selectedIssue=PST1-329
Description
This changes do not allow users to close a case without any products, instead the user can delete the case.

Checklist:

[ ] Have you documented your changes in the pull request description?
[ ] Does the change present any security considerations?
[ ] Is any gem functionality overloaded? Eg: Devise controller methods being overloaded.
[ ] Has acceptance criteria been tested by a peer?
[ ] Has the CHANGELOG been updated? (If change is worth telling users about.)

General testing (author)

[ ] Test without JavaScript
[ ] Test on small screen

Accessibility testing (author)

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable CSS - does content make sense and appear in a logical order?

We should also add specs which cover the business logic pertaining to deleted cases, e.g:

Are they surfaced in search results
Are they shown in the totals in the logs used for the Kibana dashboard (LogDbMetricsJob)
Are they shown in the Cases tab on the product page

Added tests to ensure they're not surfaced in search results, or filtered results. We can't delete cases with products so they won't be shown on the cases tab of the product page and we don't have any tests for the LogDbMetricsJob and I am not sure if we want to show deleted cases, or create a new deleted cases metric? I think that can be tackled separately


Details for configuration the schema.json

Hello everyone, i have some problems to configure the schema. i get a message from intelij that the schema could not be downloaded due to a 403 error. Besides that i am not sure how to import the schema.json to the Threagile schema in the Youtube video. Is there a detailed description?
Many thanks in advance

Thx for the ticket.
Here are some details/guides (esp. for IntelliJ):

Download the JSON Schema file and save it locally somewhere
Open a threagile YAML file you want to a associate the schema with
Click in IntelliJ in the lower right edge where "No JSON schema" is given as default.

When this is the first time "registering" the Threagile schema:

Click the top-most popup-entry "+ New Schema Mapping..." and choose the downloaded schema file (this is only required one time initially for your IDE to "learn" about the Threagile schema).

On all occasions when editing another/new/not-yet-edited Threagile YAML file:

Click in IntelliJ in the lower right edge where "No JSON schema" is given as default and choose the "Threagile schema" form the popup menu (registered above initially) to associate that very YAML file with the schema.

Closed the ticket... But of course, in case of any questions, feel free to ask here...  ;)

BTW: Also try out the live-editing templates from https://run.threagile.io/live-templates.txt with intros about how to add them to your IDEs in it. ;)

@cschneider4711 Sorry to ask, how do you add the templates to GoLand/IntelliJ?
And you mentioned that for Visual Studio Code to be able to use the schema there was something to me changed in the file to be able to use it. Would be cool to find that documented here too.

@cschneider4711 Sorry to ask, how do you add the templates to GoLand/IntelliJ?
And you mentioned that for Visual Studio Code to be able to use the schema there was something to me changed in the file to be able to use it. Would be cool to find that documented here too.


Release releasetool 2018.10.23

This pull request was generated using releasetool.

Release is at https://github.com/googleapis/releasetool/releases/tag/releasetool-2018.10.23


Update to 1.19.4

What is there to say - we must stay on Dwayne 'The Bleeding Edge' Johnson. This PR contains no functional changes or a version bump, only the what is required to build and run on 1.19.4

Incredible, thank you for the work you've done 🙏


Clippy Lints

Warning!  Many breaking changes here from clippy suggestions about best practices.

Hi, @cholcombe973, would you be interested in working on this again?

Yeah I could try a rebase and clippy again to see what happens.
On Tue, Sep 3, 2024 at 7:23 AM Xuanwo @.***> wrote:

Hi, @cholcombe973 https://github.com/cholcombe973, would you be
interested in working on this again?
—
Reply to this email directly, view it on GitHub
https://github.com/ceph/ceph-rust/pull/37#issuecomment-2326662187, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXKUE23AB4IUCB7HTSCEWLZUXA73AVCNFSM6AAAAABNSILQTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWGY3DEMJYG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yeah I could try a rebase and clippy again to see what happens.
…
On Tue, Sep 3, 2024 at 7:23 AM Xuanwo @.> wrote: Hi, @cholcombe973 https://github.com/cholcombe973, would you be interested in working on this again? — Reply to this email directly, view it on GitHub <#37 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKUE23AB4IUCB7HTSCEWLZUXA73AVCNFSM6AAAAABNSILQTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWGY3DEMJYG4 . You are receiving this because you were mentioned.Message ID: @.>

Perfect, thank you so much! I'm so happy you're still here, in this community.


[dunfell][gatesgarth][hardknott][master] {foxy} build improvements for rviz

https://github.com/ros/meta-ros/pull/813 cannot be tested in our builds, because it fails long before reaching slam-toolbox.
Our ROS DISTRO builds include x11 in DISTRO_FEATURES, but don't include meta-qt5.
Our webOS OSE builds on the other hand include meta-qt5, but without x11 in DISTRO_FEATURES.
So to at least start building slam-toolbox I had to add meta-qt5 in ROS builds, add opengl to DISTRO_FEATURES and then all rviz-* recipes slam-toolbox depends on are failing. This PR should fix at least some of them, but I wonder how https://github.com/ros/meta-ros/pull/813 was tested without these fixes (maybe they already exist elsewhere and just weren't ever submitted to us). @LewisLiuPub ?

Also in other branches:
0b6da4829..41debe302  dunfell -> dunfell-next
d4b3fad4a..3546376bc  gatesgarth -> gatesgarth
d4b3fad4a..3546376bc  gatesgarth -> gatesgarth-next
783087e01..a5035dbe6  hardknott -> hardknott
783087e01..a5035dbe6  hardknott -> hardknott-next
783087e01..a5035dbe6  master -> master
783087e01..a5035dbe6  master -> master-next

@shr-project , thank you very much for your quick fix. These changes are really required for rviz compiling, and which I missed to upload.


FIXXX YOUR APP PLEASE!!

why wont it work it is just white screening..

Refer to #235 . Everyone is having the same problem


Issue with ExpandableListView

Hi,
I am using an ExpandableListView instead of the normal ListView. When wrapping my BaseExpandableListAdapter inside SwipeActionAdapter, its giving an error.
Is there a way to make it work?
Thanks in advance

This library is meant to be compatible with standard ListViews
It might or might not be compatible with extensions of that class, but I don't have time to go out and test them all.
At the bare minimum you should post the error and stacktrace.


This extension can support Tensorflow 1.15?

TensorFlow 1.x releases are not supported at this time.

TensorFlow 1.x releases are not supported at this time.

Have any roadmap or never supported it? 🤔

Currently we are focused on further improving kernel performance and have not considered extending support to TF 1.x. You are welcome to contribute a TF 1.x PR if you would like.


Ubuntu 16.04 FAQ reference may be outdated

The vcpkg FAQ states that continuous testing targets Ubuntu 16.04. It is possible that this statement is out of date considering that standard support for Ubuntu 16.04 (and 18.04 for that matter) has expired.
It would be good to know what the current support target is.

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

ID: 9bdc4f66-0014-e830-24d0-1b462e44b7c3
Version Independent ID: 9bdc4f66-0014-e830-24d0-1b462e44b7c3
Content: Frequently Asked Questions
Content Source: vcpkg/about/faq.md
Product: vcpkg
GitHub Login: @vicroms
Microsoft Alias: viromer

Thanks for reporting this issue! I have made a number of FAQ changes and I fixed this as well in a PR. The current tested target is Ubuntu 22.04. I'll try to close out the PR as soon as possible.


Add figure for architecture

Description:
Resolves #

Codecov Report

Merging #46 (3634880) into master (2ba5d8c) will decrease coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   83.01%   82.75%   -0.27%
==========================================
  Files          12       12
  Lines        1148     1148
==========================================
- Hits          953      950       -3
- Misses        145      147       +2
- Partials       50       51       +1

Impacted Files
Coverage Δ

pkg/controllers/machinenodepool_controller.go
80.66% <0.00%> (-1.00%)
:arrow_down:

pkg/controllers/machine_controller.go
76.16% <0.00%> (ø)

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 2ba5d8c...3634880. Read the comment docs.


[BUG] Concurrent updates to ms-graph-sdk internals cause errors

Rancher Server Setup

Rancher version: 2.9.x
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version:
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

If the azure ms-graph-sdk client is enabled.
User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:
Doesn't require a logged-in user.

Describe the bug

When starting up with lots of users to refresh, we can trigger a bug that's fixed in the upstream libraries.
https://github.com/microsoftgraph/msgraph-sdk-go/issues/54
This has been fixed, so we should bump the graph client version to address the issue.
To Reproduce

This will be tricky to reproduce, you will need the Azure client enabled, and a number of users that need to be refreshed.
During startup, this will fail.
Result
Expected Result

No failures during startup.
Screenshots

Additional context

Validation Template
What was fixed, or what change has occurred
We bumped the version of the upstream ms-graph-sdk which pulled in a fix that was causing a concurrent-map access error when fetching data.
Areas or cases that should be tested

Authentication with Azure

Authenticate with a fairly large number of users, and allow their refresh_tokens to expire.
Allow the refresh_token to expire, and then restart, if there are sufficient users and all tokens are expired, then it might refresh.
To be clear, the refresh mechanism doesn't work, so this is really about preventing the crash in the logs.
What areas could experience regressions

None

Are the repro steps accurate/minimal?

Validated on v2.10 head id 11060a5. No errors or crashes observed in logs.


update category and normalize enums

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Thanks, @ayushthe1


Include Implementation-Build in OrientDB version [moved]

This is Issue 970 moved from a Google Code project.
Added by 2012-07-24T08:49:49.000Z by<EMAIL_ADDRESS>Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium, Release
Original description
OrientDB release? 1.1.0-SNAPSHOT

<b>What steps will reproduce the problem?</b>
1. Start OrientDB with INFO level debugging
2. Version banner shows only version information, not build

When using development releases of OrientDB, it'd be useful to have the Implementation-Build printed as part of the version information.

Already done in v2.1


scrollToIndex doesn't go to specified index.

Describe the bug
scrollIndex fails to go to specific index, instead stops somewhere before.
To Reproduce

Go to https://inokawa.github.io/virtua/?path=/story/comparisons--one-million
Keep the default settings (comparison with react-virtualized)
Set the index input to 500000
Press scroll
react-virtualized goes to 500,000, virtua goes to 328,960 (See screenshot)

Expected behavior
scrollIndex should always scroll to the specified index.
Platform:

OS: MacOS
Browser: Chrome
Version of this package: 0.34.2
Version of framework: react

Additional context
Am I missing anything ?

It's current expected behavior.
Virtualization libraries except react-virtualized can't render 1 million rows, which is mentioned in the comparison section of README as "Display exceeding browser's max element size limit".
https://github.com/inokawa/virtua?tab=readme-ov-file#comparison
The issue will be addressed in #32 .


bumpversion must be installed to run tests

Some of the tests in tests.py require bumpversion to be installed (e.g. test_usage_string_fork()). Is possibile to avoid this? main() is already imported and some tests make use of it (e.g. test_usage_string()).
It is not totally wrong, but creates a strange circular reference in the package.

I think tox already takes care of that the bumpversion command that is called is in fact the one that is in the directory, not a globally installed one.
I'll have to reproduce this with a clean vagrant box.

Hey so, yes, I introduced these tests after releasing a broken bumpversion where everything (and all the tests) worked, except __main__.  So these tests also exist to make sure setup.py works as expected.
When hacking on bumpversion, a simple bin/pip install -e . inside a virtualenv should do the trick.
Please re-open if you disagree.


[BUG] iOS albums issue

Hi, I am facing the issue in the iOS regarding the albums.
In th Android when I used this line "List albums = await PhotoManager.getAssetPathList(onlyAll: false);" then it will return all the albums of the device, but in the iOS it only return 1-2 albums like favorite ony. I need to display all the albums in my app and then on click of the albums I need to display the images of the album. So please let me know the issue I am facing in the iOS. I am testing in the iOS14.
Please help ASAP.

Check that you have selected permission "All Photos" rather than "Selected Photos"?

Same here, any updates?

Should be fixed by #601 .


Wish to add Few More LLM APIs to the list

I'd like to add contribute to the project.

Send a PR

I would like to contribute to the project....


Create 1592 patch 4

Create 1592 patch 4
Summary
Publish new patch for 1592 release that addresses latest high and critical severity security findings. The patch should include latest published kernel patch. The number should be included in the release note, together with a summary of the vulnerabilities addressed.
Changed packages
List GitHub Issues, Pull Requests or other references to important changes for the consumers.

todo

Fixes

todo

Tasks

[x] Identify packages that must be patched, including the vulnerabilities

[ ] linux 6.6.62 → 6.6.64

[ ] CVE-2024-23307
[ ] CVE-2024-50106
[ ] CVE-2024-42162
[ ] CVE-2023-6932
[ ] CVE-2024-50304

[ ] coreutils 9.4-3.1→ 9.5-1

[ ] CVE-2024-0684

[ ] curl 8.8.0-4gardenlinux0 → 8.11.0-1

[ ] CVE-2024-8096
[ ] CVE-2024-7264
[ ] CVE-2024-9681
[ ] CVE-2024-6197
[ ] CVE-2024-6874

[ ] containerd 1.7.22 or higher
[ ] libssh2 1.11.0-7 →  1.11.1-1

[ ] CVE-2023-48795

[ ] wget 1.24.5 → 1.25.0

[ ] CVE-2024-10524

[ ] python-certifi 2024.06.02 → 2024.8.30+dfsg-1

[ ] CVE-2024-39689

[ ] google-guest-agent  20211116.00-6.2 -> 20241122.02

[ ] CVE-2024-24790
[ ] CVE-2023-45283
[ ] CVE-2023-45288
[ ] CVE-2024-24784
[ ] CVE-2023-45290
[ ] CVE-2024-24788
[ ]  CVE-2024-24783

[x] Complete the build (stage 1)

[x] Complete the publishing (stage 2)

[x] Publish the release note

[x] Inform Gardener team the patch is ready.

all done.


Question: Do you have to match plugin to OpenSearch version? Compatibility Matrix

Hi,
With regards to your Compatibility Matrix; do you have to match exactly the plugin version to the OpenSearch version? Or is it the minimum plugin version intended?
E.g. does the below mean Plugin <IP_ADDRESS> will support all version up to 2.8.0 and I can also use it for 2.7.0?

OpenSearch
Plugin
Release date

2.8.0
<IP_ADDRESS>
Jun 13, 2023

2.7.0
<IP_ADDRESS>
May 10, 2023

Or do we need to update the plugin every time AWS releases an update? (i.e. keep them strictly in sync)

OpenSearch
Plugin
Release date

1.3.11
<IP_ADDRESS>
Jul 06, 2023

1.3.10
<IP_ADDRESS>
May 23, 2023

1.3.9
<IP_ADDRESS>
Mar 20, 2023

Although I would read the current  Compatibility Matrix as indicating keep strictly in sync, it would be helpful to clarify this by adding a remark to the [README.md]((https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/blob/main/README.md)
Cheers, Jeroen

@jeroenhabets Exact match is required. That is a design decision made for the OpenSearch.
If you try to install plugin <IP_ADDRESS> into OpenSearch 2.7.0 you get the following error:
java.lang.IllegalArgumentException: Plugin [prometheus-exporter] was built for OpenSearch version 2.8.0 but version 2.7.0 is running
Complete example:
% ./bin/opensearch-plugin install https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/<IP_ADDRESS>/prometheus-exporter-<IP_ADDRESS>.zip
-> Installing https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/<IP_ADDRESS>/prometheus-exporter-<IP_ADDRESS>.zip
-> Downloading https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/<IP_ADDRESS>/prometheus-exporter-<IP_ADDRESS>.zip
[=================================================] 100%
-> Failed installing https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/<IP_ADDRESS>/prometheus-exporter-<IP_ADDRESS>.zip
-> Rolling back https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/<IP_ADDRESS>/prometheus-exporter-<IP_ADDRESS>.zip
-> Rolled back https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/<IP_ADDRESS>/prometheus-exporter-<IP_ADDRESS>.zip
Exception in thread "main" java.lang.IllegalArgumentException: Plugin [prometheus-exporter] was built for OpenSearch version 2.8.0 but version 2.7.0 is running
	at org.opensearch.plugins.PluginsService.verifyCompatibility(PluginsService.java:395)
	at org.opensearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:820)
	at org.opensearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:875)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:275)
	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:249)
	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
	at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)
	at org.opensearch.cli.Command.main(Command.java:101)
	at org.opensearch.plugins.PluginCli.main(PluginCli.java:60)

Hope this answers your question.

Thanks, all clear @lukas-vlcek !
P.S. my suggestion to add a remark seems to be only needed for admins like me not very familiar with OpenSearch plugins, as OpenSearch PluginsService.java only supports an exact match.

@jeroenhabets Do you want to draft a documentation update PR?

@lukas-vlcek as you wish: https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/pull/198
A NOTE like I added to the README.md there would have preemptively answered my question, though as previously admitted I have 0 experience with OpenSearch plugins... So if you feel it's overkill feel free to reject it.

Resolved by PR https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/pull/204


Issue with closeModalWithEvents()

I have this code in a modal
class EditAuthorizedUser extends ModalComponent {
    public function submit() {
        $this->closeModalWithEvents(['authorizedUsersUpdated']);
    }
}

and
class AuthorizedUsers extends Component {
    protected $listeners = ['authorizedUsersUpdated' => '$refresh'];
    public function render() {
        return view('view.file');
    }
}

When I close the modal I only see these events. What am I missing to make this method work?

I'm having the same issue. When I close the modal the event doesn't seem to fire. Did you get any solution?

Disable the destruction of the component.
It is destroying it before the event queue (internal to the component) has had a chance to run.


Use a point object instead of x, y arguments

Since the _local_to_world() and _world_to_local() return tuples, what do you think about having a class that implements points instead of passing x, y arguments?  They could also carry a flag for world or local coordinates, allowing the functions to take either pre-translated or untranslated coords.

Hmm- I'd prefer not to introduce an extra layer to interact with the interface, though an absolute point would be convenient would be convenient for this.

For my Track class (#3) I added an optional argument world=false so that coordinates can be specified in default local or optionally world frame.  Adding such an option to each method of painter is doable, but might be as invasive as a point class.

How about a container that explicitly stores a fixed position: https://github.com/Blinkinlabs/circuitpainter/compare/main...fixedpoint

Could also add a convenience function to CircuitPainter, that returns a point, something like:
class CircuitPointer:
    ...
    def get_fixed_point(self, x, y):
        return FixedPoint(self, x, y)