Custom serializer docs update

The docs on the Wiki for the custom serializer needs a little updating. The current example wouldn't be able to compile
  class SpecialtyObject
    property name : String
    property value : Int32
+  def initialize(@name, @value)
+  end
  end

  def deserialize_specialty_object(raw : String) : SpecialtyObject
-    specialty = SpecialtyObject.new
    parts = raw.split "="
-    specialty.name = parts.first
-    specialty.value = parts.last
+   SpecialtyObject.new(name: parts.first, value: parts.last)
  end

In this case, the method has to return the instance of SpecialtyObject, plus crystal requires the instance variables to be initialized in some initialize method.

Awesome, thank you for checking and editing!


Adding VPA Demo

This PR adds vpa_demo.sh script for VPA Demo.
Image - quay.io/rh-ee-shesaxen/autotune:vpa-0.3
Demo - https://www.loom.com/share/ea33c3234dbb486f995787092cd28334

Script Output
[shesaxen@shesaxen-thinkpadt14sgen2i vpa_demo]$ ./vpa_demo.sh -c openshift -i quay.io/rh-ee-shesaxen/autotune:vpa-0.2

#######################################
# Kruize Demo Setup on openshift
#######################################

🔄 Pulling required repositories... ✅ Done!
🔄 Installing the required benchmarks...✅ Completed!
🔄 Installing VPA...✅ Done!
🔄 Installing kruize! Please wait................✅ Installation of kruize complete!
🔄 Updating cluser-roles for VPA...✅ Done!
🔄 Installing metric profile...✅ Installation of metric profile complete!
🔄 Collecting metadata...✅ Collection of metadata complete!
🔄 Creating experiment: optimize-sysbench ...✅ Created!
	Experiment: optimize-sysbench
	Type: deployment
	Namespace: default
	Container: sysbench
🔄 Generating recommendations for experiment: optimize-sysbench ...✅ Generated!
📌 Access container_vpa_experiment_sysbench_recommendation.json or kruize UI for recommendations.

ℹ  Access kruize UI at http://kruize-ui-nginx-service-openshift-tuning.apps.shekhar.lab.psi.pnq2.redhat.com
🔖 To explore further, access kruize UI to list and create experiments, and to view or generate recommendations!

✅ Experiment has been successfully created in recreate or auto mode. No further action required.
📌 Recommendations will be generated and applied to the workloads automatically.
📌 To view the latest recommendations, run: kubectl describe vpa
📌 To check the workload current requests and limits, run: kubectl describe pods -l app=sysbench
🛠 Kruize installation took 65 seconds
🚀 Kruize experiment creation and recommendations generation took 2 seconds
🕒 Success! Kruize demo setup took 114 seconds

For detailed logs, look in kruize-demo.log

@shekhar316 Please fix the conflict, thanks!


fixup on TestQueryBatcher and TestDataMovementManager

Add missing methods

TestQueryBatcher and TestDataMovementManager should be valid implementations of the modified interfaces now.


python312Packages.nexusformat: init at 1.0.6

Description of changes
Add nexusformat Python library.
https://pypi.org/project/nexusformat/

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Added tests.
Output of nix-shell -p nixpkgs-review --run "nixpkgs-review pr 336081"
2 packages added:
python311Packages.nexusformat (init at 1.0.6) python312Packages.nexusformat (init at 1.0.6)

...

4 packages built:
python311Packages.nexusformat python311Packages.nexusformat.dist python312Packages.nexusformat python312Packages.nexusformat.dist

Result of nixpkgs-review pr 336081 at c9da362b run on aarch64-darwin 1

2 packages built successfully:

python311Packages.nexusformat
python312Packages.nexusformat


im getting this error whentrying to run the migrate command part of install

(venv) root@netbox:/opt/netbox/netbox# python3 manage.py collectstatic --no-input
Traceback (most recent call last):
File "/opt/netbox/netbox/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/init.py", line 446, in execute_from_command_line
utility.execute()
File "/opt/netbox/venv/lib/python3.10/site-packages/django/core/management/init.py", line 386, in execute
settings.INSTALLED_APPS
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 92, in getattr
self._setup(name)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 79, in _setup
self._wrapped = Settings(settings_module)
File "/opt/netbox/venv/lib/python3.10/site-packages/django/conf/init.py", line 190, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/netbox/netbox/netbox/settings.py", line 687, in
plugin = importlib.import_module(plugin_name)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_proxbox/init.py", line 40, in
from . import proxbox_api
File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_proxbox/proxbox_api/init.py", line 1, in
from . import (
File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_proxbox/proxbox_api/update.py", line 2, in
from .plugins_config import (
File "/opt/netbox/venv/lib/python3.10/site-packages/netbox_proxbox/proxbox_api/plugins_config.py", line 73, in
PROXMOX = PROXMOX_SETTING.get("domain", DEFAULT_PROXMOX)
AttributeError: 'list' object has no attribute 'get'

For me the same, but already one step before yours.
(venv) root@netbox:/opt/netbox/netbox# python3 manage.py migrate

It seems like the plugins_config.py is not working with multi-cluster.
In like 73 you can see it want's to load a value rom a list, but it's not defined which object in the list.
So if you don't use multi-cluster you can remove the brackets [ ] from /opt/netbox/netbox/netbox/configuration.py in the PLUGINS_CONFIG section, or the script has to be fixed to be able to read a multi-cluster.

If I have 1 host instead of a cluster, then the integration in this way does not make sense?
Yes you are right. Removing [] solves the problem in python3 manage.py migrate

If I have 1 host instead of a cluster, then the integration in this way does not make sense?`

Right, it's just wrong or insufficient documentation if you can't read and debug source code. But that's how it is with open-source, the code is free, but you have no claims to be taught by the maintainer. The knowledge transfer happens in the community.

Thank you

Can you reopen the issue? It's not solved, you just did a workaround, but the root cause is still there :)


Add WindowExt to the prelude

I just upgraded to 0.2 from 0.1.3 and set_title was no longer found for me calling it on a Window. i therefore had to import WindowExt as part of the upgrade. I was surprised this wasn't included in the prelude. Was this intentional or would it be reasonable to get this included in the prelude as well?

It same as https://github.com/gtk-rs/glib/issues/211, we missed this trait name duplicate.
IMHO this need be GtkWindowExt by same reason.
See https://github.com/gtk-rs/gtk/pull/551 as fix example
cc @GuillaumeGomez

@EPashkin: You mean reexporting it as GtkWindowExt or declaring it as GtkWindowExt?

I meant use trait_name="GtkWindowExt" to gtk's trait to rename it.
Or we can do same in Gdk

As you prefer.

Ok, I will do it on Gtk this evening and update lgpl-docs too.

Thanks! :)


iOS add2app podfile work-around conflicts with comment - device_info plugin for example.

We are trying to do a add2app helloworld+ example demonstrating basic skeleton for

swift hello world with a button to trigger FlutterViewController
Existing very simple plugin from dartpub (device_info or whatever)
very simple string platform call.

So it is a mash-up of add2app and platform calls to prove out more real-world scenarios.
One situation we had that seemed like a possible bug occurred in swift project; the podfile says the below - yet running it ' \as is' complains about not being able to find I believe it was device_info.h or similar; the problem was resolved by commenting out use_frameworks!  below
 # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

I found two things disturbing about this

The comment makes it seem like the opposite - that you should not do this
a colleague ran into this with cocoapods version: 1.6.1 ; MacOS: Mojave, 10.14.3 (18D109)l Xcode verison: Version 10.1 (10B61) - but I did not run into this issue with Xcode 9.1, Mac OS high Sierra 10.13.6, cocoapods

Not sure if this is supposed to get updated? it says 0.01...
https://github.com/flutter/plugins/blob/master/packages/device_info/ios/device_info.podspec
but i would guess thats unrelated...

My colleague  was able to get the main issue resolved with flutter clean an pod reinstall or something like that, so i'll close this issue.
thanks


TdAutoCompleteComponent incompatibility with Angular Material Beta 2

Angular has updated Material lib to 2.0.0-beta.2. Now it includes its own autocomplete control, This cause Covalent exception during compilation.
To repro:
just update your Material to beta.2 and run the project. I got this result on completely empty project I generated using Angular CLI. Rolling back to 2.0.0-beta.1 solves the issue.
Angular ver: 2.4.7
Angular CLI ver: 1.0.0-beta.32.3
Angular compiler CLI ver: 2.4.7
Material ver: 2.0.0-beta.2
Covalent Core ver: 1.0.0-beta.1-1
Here is console output:
Unhandled Promise rejection: Template parse errors:
Can't bind to 'placeholder' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'placeholder' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
  <md-input flex="100"
            [(ngModel)]="value"
            [ERROR ->][placeholder]="placeholder"
            [autofocus]="autoFocus"
            [list]="listName"
"): TdAutoCompleteComponent@3:12
Can't bind to 'autofocus' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'autofocus' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [(ngModel)]="value"
            [placeholder]="placeholder"
            [ERROR ->][autofocus]="autoFocus"
            [list]="listName"
            [max]="max"
"): TdAutoCompleteComponent@4:12
Can't bind to 'list' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'list' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [placeholder]="placeholder"
            [autofocus]="autoFocus"
            [ERROR ->][list]="listName"
            [max]="max"
            [maxlength]="maxLength"
"): TdAutoCompleteComponent@5:12
Can't bind to 'max' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'max' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [autofocus]="autoFocus"
            [list]="listName"
            [ERROR ->][max]="max"
            [maxlength]="maxLength"
            [min]="min"
"): TdAutoCompleteComponent@6:12
Can't bind to 'min' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'min' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [max]="max"
            [maxlength]="maxLength"
            [ERROR ->][min]="min"
            [minlength]="minLength"
            [readonly]="readOnly"
"): TdAutoCompleteComponent@8:12
Can't bind to 'readOnly' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'readOnly' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [min]="min"
            [minlength]="minLength"
            [ERROR ->][readonly]="readOnly"
            [disabled]="disabled"
            [required]="required"
"): TdAutoCompleteComponent@10:12
'md-input' is not a known element:
1. If 'md-input' is an Angular component, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message. ("<div flex>
  [ERROR ->]<md-input flex="100"
            [(ngModel)]="value"
            [placeholder]="placeholder"
"): TdAutoCompleteComponent@1:2 ; Zone: <root> ; Task: Promise.then ; Value: SyntaxError {__zone_symbol__error: Error: Template parse errors:
Can't bind to 'placeholder' since it isn't a known property of 'md-inp…, _nativeError: ZoneAwareError, __zone_symbol__stack: "Error: Template parse errors:↵Can't bind to 'place…ttp://localhost:4200/polyfills.bundle.js:3125:35)", __zone_symbol__message: "Template parse errors:↵Can't bind to 'placeholder'…er]="placeholder"↵"): TdAutoCompleteComponent@1:2"} Error: Template parse errors:
Can't bind to 'placeholder' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'placeholder' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
  <md-input flex="100"
            [(ngModel)]="value"
            [ERROR ->][placeholder]="placeholder"
            [autofocus]="autoFocus"
            [list]="listName"
"): TdAutoCompleteComponent@3:12
Can't bind to 'autofocus' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'autofocus' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [(ngModel)]="value"
            [placeholder]="placeholder"
            [ERROR ->][autofocus]="autoFocus"
            [list]="listName"
            [max]="max"
"): TdAutoCompleteComponent@4:12
Can't bind to 'list' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'list' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [placeholder]="placeholder"
            [autofocus]="autoFocus"
            [ERROR ->][list]="listName"
            [max]="max"
            [maxlength]="maxLength"
"): TdAutoCompleteComponent@5:12
Can't bind to 'max' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'max' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [autofocus]="autoFocus"
            [list]="listName"
            [ERROR ->][max]="max"
            [maxlength]="maxLength"
            [min]="min"
"): TdAutoCompleteComponent@6:12
Can't bind to 'min' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'min' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [max]="max"
            [maxlength]="maxLength"
            [ERROR ->][min]="min"
            [minlength]="minLength"
            [readonly]="readOnly"
"): TdAutoCompleteComponent@8:12
Can't bind to 'readOnly' since it isn't a known property of 'md-input'.
1. If 'md-input' is an Angular component and it has 'readOnly' input, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message.
 ("
            [min]="min"
            [minlength]="minLength"
            [ERROR ->][readonly]="readOnly"
            [disabled]="disabled"
            [required]="required"
"): TdAutoCompleteComponent@10:12
'md-input' is not a known element:
1. If 'md-input' is an Angular component, then verify that it is part of this module.
2. If 'md-input' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message. ("<div flex>
  [ERROR ->]<md-input flex="100"
            [(ngModel)]="value"
            [placeholder]="placeholder"
"): TdAutoCompleteComponent@1:2
    at SyntaxError.ZoneAwareError (http://localhost:4200/polyfills.bundle.js:3554:33)
    at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:87366:16)
    at new SyntaxError (http://localhost:4200/vendor.bundle.js:6598:16)
    at TemplateParser.parse (http://localhost:4200/vendor.bundle.js:21040:19)
    at JitCompiler._compileTemplate (http://localhost:4200/vendor.bundle.js:59251:68)
    at http://localhost:4200/vendor.bundle.js:59134:62
    at Set.forEach (native)
    at JitCompiler._compileComponents (http://localhost:4200/vendor.bundle.js:59134:19)
    at createResult (http://localhost:4200/vendor.bundle.js:59016:19)
    at ZoneDelegate.webpackJsonp.925.ZoneDelegate.invoke (http://localhost:4200/polyfills.bundle.js:2926:26)
    at Zone.webpackJsonp.925.Zone.run (http://localhost:4200/polyfills.bundle.js:2722:43)
    at http://localhost:4200/polyfills.bundle.js:3275:57
    at ZoneDelegate.webpackJsonp.925.ZoneDelegate.invokeTask (http://localhost:4200/polyfills.bundle.js:2959:31)
    at Zone.webpackJsonp.925.Zone.runTask (http://localhost:4200/polyfills.bundle.js:2762:47)
    at drainMicroTaskQueue (http://localhost:4200/polyfills.bundle.js:3125:35)
consoleError @ zone.js:516
_loop_1 @ zone.js:545
drainMicroTaskQueue @ zone.js:549

Material2 implemented some breaking changes and Covalent is not supporting the latest version of Material2 yet.
See https://github.com/Teradata/covalent/pull/305

Yes, breaking changes from material also affect covalent, so we are fixing those compatibility issues for our beta.2 release coming out next week.


libosmocore: 1.2.0 -> 1.6.0

Description of changes
https://github.com/osmocom/libosmocore/tags
As a bonus, this also trades python2 for python3 (#148779).

Things done

Built on platform(s)

[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

1 package failed to build:

libosmocore

error: Function called without required argument "libusb" at /home/rick/.cache/nixpkgs-review/pr-170175/nixpkgs/pkgs/applications/misc/libosmocore/default.nix:6, did you mean "librsb", "libusb1" or "ibus"?
(use '--show-trace' to show detailed location information)

Oh, weird; how does this build for me? Anyways, should be fixed now.

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

1 package built:

libosmocore

Cross-compiles (aarch64) as well, good to go!


Updated Commander Genius port to version 3.50. Updated package to current standard.

New Port for { Commander Genius }
URL: { https://github.com/gerstrong/Commander-Genius }
{ Commander Genius }
Instructions: { Includes all of the officially released free content for Commander Keen: the shareware versions (Episodes 1 and 4), and the demo versions (Episode 6 and Keen Dreams). You can add load your own game file directories into the ports/cgenius/games folder or, if you have an internet connection on-device, you can download directly from the launcher (bottom left link) to access additional community created content. }
Notes: { Commander Genius is an open-source clone of Commander Keen (Episodes 1-6, Dreams) which allows you to play these episodes and some of the mods and additional community content made for them. Developed by Gerstrong and originally ported by Christian Haitian. }
Tested on { ArkOS, JELOS, and AmbElec with the following devices: OGA, RG351V, RG353V/VS, RGB30, and X55. }

Sorry, wasn't sure whether I was supposed to remove the braces surrounding the text so left as is.


Removed typepanel steptype

Removed typepanel->STEP_TYPE->step_type as it was essentially a duplicated of StepType
Also removed a project reference to SearchUtilities.h which could not be located

I am getting tons of errors like this, when I try to compile:

Changes transferred to #228 due to some strange errors.


Feat: not operator added

Pull Request type
Not Operator Feature

Please check the type of change your PR introduces:

[ ] Bugfix
[v] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

I have added the NOT operator implementation. I have also made changes on the helpers.py to be able to generate compatible code for the Bool Tensor Type and carry out the test with nodegen.
Issue Number: 360
What is the new behavior?

Added Not Operator
Modify the helpers.py for nodegen tests
Test passes for the Not operator abiding to the tensor constrait.

Does this introduce a breaking change?

[v] Yes
[ ] No

Other information

@Ephraim-nonso you forgot to implement not in TensorTrait.
Also:

Write docstring and run scarb run docgen to generate the doc.
Don't forget to add trait description here. When you run docgen, it will create links in the doc.
Add operator in compatibility file
Add operator in Summary file

I'll work on this now.


Support for array:some langlib function

Purpose
Related to #35183

@KavinduZoysa it seems like, Semantic API tests are failing. Please check.

@KavinduZoysa it seems like, Semantic API tests are failing. Please check.

Changed

@KavinduZoysa, there seem to be test failures.

Lets format the json files

Can you @nadeeshaan @IMS94 verify the test changes?


IMU message buffer is empty

Note: If you have a general support question and are looking for a quicker response, please checkout our discord channel for answers from the community:
https://bbs.carla.org.cn/ask
In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Ask your question here
当我在Dreamview界面中启动Localization模块时，Localization显示WARN，日志里显示如下：
Log file created at: 2024/03/05 15:43:36
Running on machine: in-dev-docker
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0305 15:43:36.022807 13020 class_loader_utility.h:79] registerclass:RTKLocalizationComponent,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/localization/rtk/librtk_localization_component.so
I0305 15:43:36.043301 13020 rtk_localization_component.cc:47] Rtk localization config: localization_topic: "/apollo/localization/pose"
imu_topic: "/apollo/sensor/gnss/corrected_imu"
gps_topic: "/apollo/sensor/gnss/odometry"
broadcast_tf_frame_id: "world"
broadcast_tf_child_frame_id: "localization"
imu_list_max_size: 20
gps_imu_time_diff_threshold: 0.02
map_offset_x: 0
map_offset_y: 0
map_offset_z: 0
localization_status_topic: "/apollo/localization/msf_status"
gps_status_topic: "/apollo/sensor/gnss/ins_stat"
broadcast_tf_use_system_clock: false
E0305 15:43:37.456712 13026 rtk_localization.cc:60] IMU message buffer is empty.
E0305 15:43:37.510016 13031 rtk_localization.cc:388] Cannot find Matching IMU. IMU messages too old. Newest timestamp[1.70962e+09], GPS timestamp[1.70962e+09]
E0305 15:43:37.573695 13035 rtk_localization.cc:388] Cannot find Matching IMU. IMU messages too old. Newest timestamp[1.70962e+09], GPS timestamp[1.70962e+09]
E0305 15:43:37.637892 13023 rtk_localization.cc:388] Cannot find Matching IMU. IMU messages too old. Newest timestamp[1.70962e+09], GPS timestamp[1.70962e+09]

Seems to be a performance issue. The Localization has a small threshold to match IMU and GPS messages.
You can configure this value to accept larger difference, but a good localization requires good performance and up to date IMU measurement.
double gps_imu_time_diff_threshold_ = 0.02;


Issue deploying from OpenAI Studio

I'm trying to deploy the application through OpenAI Studio, where I've added my own data. All I get is the following error message:

Fix: Resize image before conversation and save history is the commit on which I deployed it last week without any problems.
I'm using a gpt-35-turbo base model.

Same Issue here..

Same issue here

@gallogiulia @JeremyDel @julianoteixeiradorisduke
Error does not appear anymore on my end, give me a thumbs up if it is the same for you so I can close this issue.

@julianoteixeiradorisduke  @gallogiulia @JeremyDel  this workaround from Sarah on another issue might work your issue. I know the errors seems to be different, but give it a try
https://github.com/microsoft/sample-app-aoai-chatGPT/issues/1117#issuecomment-2384264933

I'm hitting sync repeatedly and it still isn't working haha. Anyone find a workaround?


Add mindev ruletype init to kick off a rule type

Summary
This helps folks set up the basic skeleton for ruletype writing.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 55.1%. remained the same
when pulling daa24a2480a76750f9a6e10752d25cb71649a817 on JAORMX:ruletype-scaffold
into 0068f4d7452e8db6d5e4fcea9442cf7e58377e3d on mindersec:main.


Request to publish CUDA builds for v0.3.2 to GitHub Releases

Could you kindly trigger the CUDA build for v0.3.2 and publish them to GitHub Releases? Thank you 🙏!

0.3.4 is here :) https://abetlen.github.io/llama-cpp-python/whl/cu124/llama-cpp-python/

0.3.5 never finished  two days back... :disappointed: only metal built.  https://github.com/abetlen/llama-cpp-python/actions/runs/12246721234


SyzyASAN canaries report most crashes through Kasko

Since SyzyASAN is the last registered UEF, it ends up handling most crashes, but not all. Some crashes are still delegated directly to the BP handler, such as e.g. inside a WrappedWindowProc. It turns out SyzyASAN delegates to Chrome->Kasko always, which is kind of weird, and doesn't improve reliability. There are also cases where this falls over for reasons unknown, and SyzyASAN/Kasko end up crashing and reporting through BreakPad.

This has been addressed here:
https://github.com/google/syzygy/commit/4578f181d22621226285e29fa1f823b05ff13f3c
Specifically at this line:
https://github.com/google/syzygy/commit/4578f181d22621226285e29fa1f823b05ff13f3c#diff-9d2495817d24a8040db267992ca47f0bR1188


Experimental Kotlin Jupyter Kernal %javascript magic support

Hi guys!
kotlin-jupyter-js is a library to support %javascript/%typescript/%jsx magic.
In some cases, we want create interactive charts or 3d charts, which only javascript can do. I create a library to support executing javascript code in kotlin jupyter kernal, so we could using javascript to render our kotlin data.
See more usage read README file.
examples
JS Sample
First declare a variable in cell
// value define in kotlin world
val kNumber = 233

then, add a cell with %js magic
%js
// using `kNumber` in js workd
import { kNumber } from '@jupyter'

getCellRoot().innerHTML = `<h1>${kNumber}</h1>`

React Example
preview cell declare a variable in cell
val foo = "foo from kotlin word";

Export your Components
%jsx

import { foo } from "@jupyter";

export default function App() {
    return <h1>{foo}</h1>
}

Full examples
https://yidafu.github.io/kotlin-jupyter-js/examples/js-magic.html
https://yidafu.github.io/kotlin-jupyter-js/examples/girls-last-tour.html

Wow! It looks really cool! Sorry for the delay in getting back to you, I was a little busy last few days.


Update react-native-vision-camera-face-detector plugin description.

What

Changes
Update react-native-vision-camera-face-detector plugin description.

Tested on

Related issues

@mrousavy can you please merge this PR? 😁
It is updating my plugin description showing that it's up-to-date with vision-camera

Sire!


UnsupportedParforsError

import umap
reducer = umap.UMAP()
embedding = reducer.fit_transform(bar) # bar -- some data
embedding.shape
Gives an answer:
UnsupportedParforsErrorTraceback (most recent call last)
 in ()
2 reducer = umap.UMAP()
3
----> 4 embedding = reducer.fit_transform(bar)
5 embedding.shape
C:\Anaconda\lib\site-packages\umap\umap_.pyc in fit_transform(self, X, y)
1596             Embedding of the training data in low-dimensional space.
1597         """
-> 1598         self.fit(X, y)
1599         return self.embedding_
1600
C:\Anaconda\lib\site-packages\umap\umap_.pyc in fit(self, X, y)
1415                 self.set_op_mix_ratio,
1416                 self.local_connectivity,
-> 1417                 self.verbose,
1418             )
1419         else:
C:\Anaconda\lib\site-packages\umap\umap_.pyc in fuzzy_simplicial_set(X, n_neighbors, random_state, metric, metric_kwds, knn_indices, knn_dists, angular, set_op_mix_ratio, local_connectivity, verbose)
476
477     rows, cols, vals = compute_membership_strengths(
--> 478         knn_indices, knn_dists, sigmas, rhos
479     )
480
C:\Anaconda\lib\site-packages\numba\dispatcher.pyc in _compile_for_args(self, *args, **kws)
368                     e.patch_message(''.join(e.args) + help_msg)
369             # ignore the FULL_TRACEBACKS config, this needs reporting!
--> 370             raise e
371
372     def inspect_llvm(self, signature=None):
UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
The 'parallel' target is not currently supported on Windows operating systems when using Python 2.7, or on 32 bit hardware.
[1] During: lowering "id=3[LoopNest(index_variable = parfor_index.171, range = (0, $0.13, 1))]{362: <ir.Block at C:\Anaconda\lib\site-packages\umap\umap_.py (330)>}Var(parfor_index.171, C:\Anaconda\lib\site-packages\umap\umap_.py (330))" at C:\Anaconda\lib\site-packages\umap\umap_.py (330)
This should not have happened, a problem has occurred in Numba's internals.
Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!

Thanks for the report. It looks like you are trying to use parallel=True on a target that doesn't support it... from the error message:
The 'parallel' target is not currently supported on Windows operating systems when using Python 2.7, or on 32 bit hardware.

is your setup one of those things?

Thanks for your answer!
Python 2.7. But removing parallel=True in the code didn't help.
Probably I should use Python3
Lyudmyla Polyakova, Data/Research Analyst
Intego Group LLC | 43/2 Gagarin Avenue | Kharkov 61001, Ukraine
C: +380971390500| Skype: pomilka1
Lyudmyla.Polyakova<EMAIL_ADDRESS>| www.intego-group.comhttp://www.intego-group.com/

От: stuartarchibald<EMAIL_ADDRESS>Отправлено: 30 декабря 2019 г. 11:38
Кому: numba/numba<EMAIL_ADDRESS>Копия: Lyudmyla Polyakova<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Тема: Re: [numba/numba] UnsupportedParforsError (#5009)
Thanks for the report. It looks like you are trying to use parallel=True on a target that doesn't support it... from the error message:
The 'parallel' target is not currently supported on Windows operating systems when using Python 2.7, or on 32 bit hardware.
is your setup one of those things?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/numba/numba/issues/5009?email_source=notifications&email_token=AKIKPNXNZE33FYC2ZOLA4Z3Q3G6SLA5CNFSM4KAOCXP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZ5DKI#issuecomment-569627049, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKIKPNW423Z4XIICECPB64DQ3G6SLANCNFSM4KAOCXPQ.

This data is for general information only and shall not be used to produce documents of any kind without same being submitted to, reviewed by, and approved by Intego Group LLC in writing. All data is subject to change. User assumes all liability relating to the use of this data and agrees to release, indemnify, and hold harmless Intego Group LLC from any and all claims relating said use. User is responsible to check for any viruses before use.

Thanks for your answer! Python 2.7. But removing parallel=True in the code didn't help. Probably I should use Python3

No problem. I'd definitely use Python 3 as Python 2 support ends literally tomorrow (01/01/2020)!
What is the issue you see if parallel=True is removed (or equally with Python 3)?

Closing this issue as it seems to be resolved. If this is not the case please re-open with a comment about any item that appears to be unresolved. Many thanks.


Importing local editable Python packages

Hi!
My team is considering switching to the composer-dev tool for local development, but there's one thing we have to find a solution for. In our current set-up we run Airflow locally. In some cases our dags need to import code that's neither in the dags folder nor in any PyPi packages. This code is in other folders of our repository and we install them as editable packages, e.g. pip install -e ../../../my-package. This is convenient because any changes we do in those packages are instantly picked-up by Airflow.
Is there any way of handling this case with the composer-dev tool?

Hi, we have the same need, have you managed to solve the issue?


system: pthread_barrierwait can not be preemption

Summary
sched_lock() is not enough for SMP, because another thread may be running on another CPU.
and In SMP barrier_test() may fail.
Impact
none
Testing
ostest

@xiaoxiang781216  please trigger ci!


Body scrolling should be disabled when modal is shown

Consider preventing default for touchmove and wheel for the backdrop element

So, this would only apply to “globally modal” overlays, where there’s a visible backdrop? I mean, “locally modal” overlays/popups, like combo box and date picker, should allow scrolling, no? At least we allow that with the 1.x versions.

Correct. This will only take place when there's backdrop/modality curtain present


Add ImTool support for ImGui.Image elements

ImTool does not currently provide a way for applications to make use of ImGui.Image elements.

Added in a7d59939dd97bda9c7e3ed742510638f7bc09bf7
Look here for an example of how to use it: Demo/DemoTool.cs


Fix to add xAxisRotation to A command

Codecov Report

Merging #42 (50b9d6e) into beta (0eaba24) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              beta       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          588       590    +2
  Branches        80        82    +2
=========================================
+ Hits           588       590    +2

Impacted Files
Coverage Δ

lib/Command/A.ts
100.00% <100.00%> (ø)


Dependency conflicts when installing Nevergrad from source code

Steps to reproduce

Clone the repo
Run pip install --use-deprecated=legacy-resolver -e .[all] as the new resolver takes a long time to download and does not work

Observed Results
Observed some package versioning issues
, nevergrad
  Running setup.py develop for nevergrad
ERROR: pip's legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts.
networkx 2.5.1 requires decorator<5,>=4.3, but you'll have decorator 5.0.9 which is incompatible.
gym 0.18.3 requires Pillow<=8.2.0, but you'll have pillow 8.3.1 which is incompatible.
kuti 0.9.7 requires h5py<3.0.0,>=2.10.0, but you'll have h5py 3.3.0 which is incompatible.
kuti 0.9.7 requires Pillow<8,>=7, but you'll have pillow 8.3.1 which is incompatible.
kuti 0.9.7 requires scikit-image<0.17.0,>=0.16.2, but you'll have scikit-image 0.18.2 which is incompatible.
kuti 0.9.7 requires scikit-learn<0.23.0,>=0.22.1, but you'll have scikit-learn 0.24.2 which is incompatible.
sphinx-rtd-theme 0.5.2 requires docutils<0.17, but you'll have docutils 0.17.1 which is incompatible.
tensorflow 2.5.0 requires grpcio~=1.34.0, but you'll have grpcio 1.38.1 which is incompatible.
tensorflow 2.5.0 requires h5py~=3.1.0, but you'll have h5py 3.3.0 which is incompatible.
tensorflow 2.5.0 requires numpy~=1.19.2, but you'll have numpy 1.21.0 which is incompatible.
tensorflow 2.5.0 requires six~=1.15.0, but you'll have six 1.16.0 which is incompatible.
tensorflow 2.5.0 requires typing-extensions~=3.7.4, but you'll have typing-extensions <IP_ADDRESS> which is incompatible.

Expected Results
No incompatibility issue

Does it create any problem? Can you still run the tests?
The benchmarks contain a whole lot of different test cases, and therefore I do expect that there are incompatibilities in the specifications of the requirements :s but for now everything seems to be running anyway

Sounds like this is solved.


linux version

kivy runs on linux, but initial tests of the device updater didn't succesfully update the device.
It hung after clicking "update firmware to x.y.z" - the device didn't enter listening mode. seems like the device was unresponsive.
I was using a virtualbox VM so this could be an issue with guest OS USB.

I'll get it working on Linux if you walk me through the tool and build process.


No aggregations are available for ES_text and ES_text[]

Related: it is possible to select ae ES_text field...

...but then selecting an aggregation fails with Fielddata is disabled on text fields by default.


fix: set w-fit to container in toolbar

This update implements the following TODOs in the Toolbar component:
Hide the fold button when no edges are present, ensuring the button is not shown unnecessarily in cases where it's not needed.

Fix the issue with w-fit, which was not behaving as expected, making necessary adjustments to ensure proper layout functionality.

Screenshot:

@haecheonlee Can you resolve the conflict and rebase all commits into a single commit?

@haecheonlee Good job, thank you for your ongoing contributions 👍


Auth token expiring frequently

Every few days my Mila auth token expires and I need to follow the 'reconfigure' flow, supplying my password.
Instead of this, assuming refresh tokens are not supported, I would prefer to entrust my password to the plugin, and for it to reauthenticate automatically.

I don't think this is a bug from this integration; I believe it is something on Mila's end since when every time this happened in HomeAssistant I noticed that I have also been logged out from the Mila App on my iPhone and my iPad.

Yes, but if we store username, password like @M0LTE suggested, we can automatically login and get a new access token. It's on my TODO, but not finding much time. I'd welcome any PR of course if you'd like to contribute :)

Another reauth today.

Yes, as Mila's servers were down today again for a few minutes, causing all the authentication tokens to expire. See messages I had with Mila earlier on.

Kristoff Smith (Mila)
Jan 26, 2024, 06:41 PST
Hi Vincent,
Thanks for getting in touch! Please note that a backend outage is currently causing Milas to appear offline in your app and affecting login abilities. Our team is hard at work investigating this and will share an update as soon as we have one.

Livio (Mila)
Jan 26, 2024, 06:55 PST
Hi Vincent,
Thanks for the heads up! All services are operational now. Please try logging into your Mila app and let me know if everything looks good.

Pretty pants.
I’ve made contact with Mila support and they’ve promised to engage their
dev team. I’ve send them a link to this issue. Here’s hoping.
On Fri, 26 Jan 2024 at 21:09, Vincent Saint-Loup @.***>
wrote:

Yes, as Mila's servers were down today again for a few minutes, causing
all the authentication tokens to expire. See messages I had with Mila
earlier on.
Kristoff Smith (Mila)
Jan 26, 2024, 06:41 PST
Hi Vincent,
Thanks for getting in touch! Please note that a backend outage is
currently causing Milas to appear offline in your app and affecting login
abilities. Our team is hard at work investigating this and will share an
update as soon as we have one.
Livio (Mila)
Jan 26, 2024, 06:55 PST
Hi Vincent,
Thanks for the heads up! All services are operational now. Please try
logging into your Mila app and let me know if everything looks good.
—
Reply to this email directly, view it on GitHub
https://github.com/sanghviharshit/ha-mila/issues/35#issuecomment-1912698799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAQNWFCDY6KJJOVNB3LDNLYQQLPHAVCNFSM6AAAAABBFIQSEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGY4TQNZZHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Show warning on AnimationTree for invalid advance expression

This PR makes the engine display a warning in the scene tree editor against AnimationTrees which have a AnimationNodeStateMachineTransition with an invalid expression (i.e. one that can't be parsed):

It also adds some error reporting to set_advance_expression, which shows up in the editor's output (and debugger for running projects):

One downside to adding this error reporting to the setter is that there is no debouncing when editing the expression via the inspector, causing every keystroke to report an error in the output (unless the expression is valid):

I'm happy to remove this error reporting if need be, as it is only really useful when setting advance_expression at runtime, which I can't imagine is done very often.
This PR also adds error reporting to transition execution, catching cases where variables may not exist:

There's a similar downside to this error reporting too - it ends up being output every frame that the expression is invalid (which is usually indefinitely), both in-editor and whilst the project is running. This could be changed to use ERR_PRINT_ONCE, but it seems like that would cause it to only be printed once per engine run, which seems less than ideal.

I've just pushed c396f5e2453b0e0aab83fcf0be749d3ffe720f73 which makes it so that we no longer report an error in the setter whilst running in the editor - this avoids the error being reported repeatedly whilst the user is typing in an expression. We still report an error if the project is running in the editor.

It may be worth detecting the = case in particular and suggesting the use of == in the node configuration warning.

Yeah that sounds good. I've implemented it by checking the error returned by get_error_text - doing it this way seems a bit fragile, but Expression doesn't appear to expose anything else that we could check.
I've also changed the warning to now include the actual error returned by get_error_text, which should hopefully make it easier to understand:

The warning is getting a bit long now though - I'm wondering if it's worth dropping the actual expression from the error seeing as the warning already indicates which transition has the invalid expression.
Also, "maybe '=' should be '=='?" probably needs rewording, although I can't think of anything better off the top of my head.


Use pd.Series.empty for faster check

use pd.Series.empty instead of .equals(pd.Series())

After creating the pull request: in order to pass the changelog_updated check you will need to update the "Future Release" section of docs/source/changelog.rst to include this pull request.

Codecov Report

Merging #823 into master will decrease coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #823      +/-   ##
==========================================
- Coverage   98.12%   98.05%   -0.08%
==========================================
  Files         119      119
  Lines       10875    10874       -1
==========================================
- Hits        10671    10662       -9
- Misses        204      212       +8

Impacted Files
Coverage Δ

featuretools/synthesis/deep_feature_synthesis.py
97% <100%> (-0.01%)
:arrow_down:

...computational_backends/calculate_feature_matrix.py
97.16% <0%> (-1.07%)
:arrow_down:

...utational_backend/test_calculate_feature_matrix.py
98.59% <0%> (-0.79%)
:arrow_down:

Continue to review full report at Codecov.

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


Excluding unnecessary finally blocks and close operations

Change try-finally block to the Java7's try-with-resources construction. Finally blocks and close operations can be excluded becouse PreparedStatement and ResultSet classes implement AutoCloseable intrface

I fixed all mistakes in previouse commits

Merged
alexVengrovsk<EMAIL_ADDRESS>schrieb am Di., 8. Sep. 2015 um
08:58 Uhr:

I fixed all mistakes in previouse commits
—
Reply to this email directly or view it on GitHub
https://github.com/google/binnavi/pull/41#issuecomment-138455335.


[Bug] Fix BroadCasts UI

Description
Currently, the text in broadcast page overflows and looks bad, as we already have vew detail feature, just show 250 characters or so so that it fits in the card length and also, for the links, the width needs to be adjusted so that it doesn't go cross the card.

@Kajol-Kumari could you please assign me?


swarm cluster provisioned with docker-machine does not seem to distribute workloads

Maybe I'm getting the doc wrong.
I provision a 3 machine cluster according to docker-machine documentation.
docker $(docker-machine config --swarm pat-swarm-master-3) info
Containers: 9
Nodes: 3
 pat-swarm-master-3: pat-swarm-master-3.cloudapp.net:2376
  └ Containers: 7
  └ Reserved CPUs: 0 / 1
  └ Reserved Memory: 0 B / 1.639 GiB
 pat-swarm-node-01: pat-swarm-node-01.cloudapp.net:2376
  └ Containers: 1
  └ Reserved CPUs: 0 / 1
  └ Reserved Memory: 0 B / 1.639 GiB
 pat-swarm-node-00: pat-swarm-node-00.cloudapp.net:2376
  └ Containers: 1
  └ Reserved CPUs: 0 / 1
  └ Reserved Memory: 0 B / 1.639 GiB

If I try to do
docker $(docker-machine config --swarm pat-swarm-master-3) run -d -p 80:80 nginx

it blocks
Talking to the docker daemon on master directly works.
docker $(docker-machine config pat-swarm-master-3) run -d -p 80:80 nginx
620f8c204d80f3ab5bdd7dab0b3bf02938462ef84b46c65710d3a2d6027542a5

But then I get no benefit from swarm, a second invocation, instead of scheduling on another node, barfs on port conflict.
docker $(docker-machine config pat-swarm-master-3) run -d -p 80:80 nginx
eef7e6da4168e94c2843566a57f02517c3acf5c5928345c5f8a2c3cd976bbd48
FATA[0003] Error response from daemon: Cannot start container eef7e6da4168e94c2843566a57f02517c3acf5c5928345c5f8a2c3cd976bbd48: Bind for <IP_ADDRESS>:80 failed: port is already allocated

swarm-master runs 2 containers: swarm-agent on port 2376 and swarm manage on port 3376.
I understand I should be talking to swarm manage.
docker $(docker-machine config pat-swarm-master-3) ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                              NAMES
620f8c204d80        nginx:latest        "nginx -g 'daemon of   2 minutes ago       Up 2 minutes        443/tcp, <IP_ADDRESS>:80->80/tcp        furious_mcclintock
fd85fb5a33ae        swarm:latest        "/swarm join --addr    8 hours ago         Up 8 hours          2375/tcp                           swarm-agent
5f509668bd99        swarm:latest        "/swarm manage --tls   8 hours ago         Up 8 hours          2375/tcp, <IP_ADDRESS>:3376->3376/tcp   swarm-agent-master

The logs are not very helpful:
docker $(docker-machine config pat-swarm-master-3) logs --tail all 5f509668bd99
time="2015-02-26T18:08:26Z" level=info msg="Listening for HTTP" addr="<IP_ADDRESS>:3376" proto=tcp
time="2015-02-26T23:07:51Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:36:51Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:37:04Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T00:37:43Z" level=error msg="Flagging node as dead. Updated state failed: Get https://pat-swarm-node-01.cloudapp.net:2376/v1.15/containers/json?all=1&size=0: dial tcp <IP_ADDRESS>:2376: i/o timeout" id="2HH5:U4L5:L3GB:5DWJ:3PKB:NZQ3:5X3Q:WAEC:4AZV:D33B:A7NW:P4MY" name=pat-swarm-node-01
time="2015-02-27T00:38:14Z" level=info msg="Node came back to life. Hooray!" id="2HH5:U4L5:L3GB:5DWJ:3PKB:NZQ3:5X3Q:WAEC:4AZV:D33B:A7NW:P4MY" name=pat-swarm-node-01
time="2015-02-27T00:40:37Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:43:32Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T00:44:42Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:45:20Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T00:45:34Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T00:45:39Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T00:45:42Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T00:45:51Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:46:04Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:46:23Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:46:42Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:46:59Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:47:09Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:53:36Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:59:20Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T00:59:33Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:04:58Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:26:59Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:27:05Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T01:29:55Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T01:30:09Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:38:22Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:38:51Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:47:02Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T01:55:27Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:55:42Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T01:55:47Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T01:56:27Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T01:56:52Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T02:03:36Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T02:04:36Z" level=info msg="HTTP request received" method=DELETE uri="/v1.17/containers/75a6a8f54ca3"
time="2015-02-27T02:07:24Z" level=info msg="HTTP request received" method=POST uri="/v1.17/containers/create"
time="2015-02-27T02:11:46Z" level=info msg="HTTP request received" method=GET uri="/v1.17/containers/json"
time="2015-02-27T02:11:52Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"
time="2015-02-27T02:12:09Z" level=info msg="HTTP request received" method=GET uri="/v1.17/info"

Are secure swarm clusters based on docker-machine deployment something that is not yet fully implemented?
Or is there something missing in the docs?
Or do I miss something in my config?

@ehazlett can you take a look

Seems to be azure specific, the crate team were successful on gce
https://crate.io/blog/deploying-crate-with-docker-machine-swarm/
Not sure what that container on port 3326 on azure is used for, but that's the port docker-machine env produces.

Cc @jeffmendoza

Caveat. I haven't looked at this yet.
However,

Is there a reason you have deployed each of these nodes into its own cloud service?
pat-swarm-master-3.cloudapp.net:2376
pat-swarm-node-01.cloudapp.net:2376
pat-swarm-node-00.cloudapp.net:2376

Did you create an appropriate port 2376 port-forwarded endpoint on each cloud service?

Ideally, all the nodes could be deployed into a single cloud service so that you would not need to open a public endpoint to talk to them - or even access them over a VNET. if you have to use multiple cloud services then using a VNET would provide visibility among the nodes without the need for a endpoint on the public internet.

@nmackenzie
Yes that's how I would deploy it in production.
But here I'm just trying the out of the box experience with docker-machine (which creates one cloud service per machine) and swarm.

How long did it block for? It's quite possible it's blocking pulling the image.
When you create a container on a Swarm, it pulls the image for that container but doesn't report back pulling status with progress bars like usual – it just hangs. See https://github.com/docker/swarm/pull/349 for a potential fix for this.

I tested this again, with a cluster provisioned with machine 0.2, and it works.
You can close this bug.
docker $(docker-machine config --swarm pat-swarm-master-0505) run -d -p 80:80 nginx
7f0841428f7b787e093d3ea0e3c26c19058603671c7a7015cd8ad4aca157b338
pat-2:~ pat$ docker $(docker-machine config --swarm pat-swarm-master-0505) ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS                                NAMES
7f0841428f7b        nginx:latest        "nginx -g 'daemon of   45 seconds ago      Up 19 seconds       <IP_ADDRESS>:80->80/tcp, 443/tcp   pat-swarm-node-0505-00/backstabbing_wozniak


English tree names

680 tree names from the university of florida: http://hort.ifas.ufl.edu/database/trees/trees_common.shtml

Remove rest of line starting with  (:
[ ]\(.* -> ``
Reverse comma separated names:
^([^,]*), (.*) -> \2 \1

:rocket: 4159e7cd645b9ecf3195e9e466abed7d33168b6d


stream_info: return the appropriate flag for dns resolution failure

/assign-from @envoyproxy/maintainers
/assign @ericorth
Commit Message: Added Missing ProxyStatusError for ResponseFlag::DnsResolutionFailed
Additional Description: fromStreamInfo
Risk Level: Low
Testing: Modified unit test for DnsResolutionFailed Response Flag
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Looks like the presubmit is giving a "format" failure, although I can't figure out how to actually get the error message to say what's wrong.  Can somebody point me to how to find that?
Although just looking at your change, without seeing what the actual check failure is, I wonder if it wants a comma at the end of your added list item in utility_test.cc.

Oh, wait.  If you go into the azure pipeline artifacts list, you can download the "format" artifact using the menu on the far side.  So I revise my question to, can somebody point me to an easier way to find that?
But here's the "format" failure artifact:
diff --git a/test/common/stream_info/utility_test.cc b/test/common/stream_info/utility_test.cc
index ad44f97f24..883e7dbb11 100644
--- a/test/common/stream_info/utility_test.cc
+++ b/test/common/stream_info/utility_test.cc
@@ -316,8 +316,7 @@ TEST(ProxyStatusFromStreamInfo, TestAll) {
            {ResponseFlag::NoFilterConfigFound, ProxyStatusError::ProxyConfigurationError},
            {ResponseFlag::UpstreamProtocolError, ProxyStatusError::HttpProtocolError},
            {ResponseFlag::NoClusterFound, ProxyStatusError::DestinationUnavailable},
-           {ResponseFlag::DnsResolutionFailed, ProxyStatusError::DnsError}
-       }) {
+           {ResponseFlag::DnsResolutionFailed, ProxyStatusError::DnsError}}) {
     NiceMock<MockStreamInfo> stream_info;
     ON_CALL(stream_info, hasResponseFlag(response_flag)).WillByDefault(Return(true));
     EXPECT_THAT(ProxyStatusUtils::fromStreamInfo(stream_info), proxy_status_error);

So yeah, it clearly wants the closing }) on the same line, probably because you didn't end it with a comma.  ;)
But the better answer is probably to run the formatter, which I believe is done through ./ci/run_envoy_docker.sh './ci/do_ci.sh format'

generally you want to run the format command before submitting
./ci/run_envoy_docker.sh './ci/do_ci.sh format'
you'll also need to fix up DCO before review
/wait

Seems like CI is stuck here - can you merge main to restart CI?


lsdsng-import/export shouldn't change versions

We could possibly create a different tool to change version numbers for lsdsng's.
@urbster1 Problem though, what is the format version of the .sav output on import? The individual lsdsng's could have different versions.

Oh wait that's the project version that's stored in lsdsng. Right!

From what I can see lsdsng-export writes the lsdsng's keeping the individual song format versions intact.

...and so does lsdsng-import. So I guess I made this in vain, or perhaps already fixed it in the past!

Yeah I'm not sure what I was thinking, I might have opened this? either
way, it doesn't mess with version
On Fri, Jul 19, 2019 at 4:23 PM Stijn Frishert<EMAIL_ADDRESS>wrote:

...and so does lsdsng-import. So I guess I made this in vain, or perhaps
already fixed it in the past!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stijnfrishert/liblsdj/issues/26?email_source=notifications&email_token=ABLMCWKVAKQBXH57CLTVXDTQAIPDTA5CNFSM4FMNURR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2MVMCY#issuecomment-513365515,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLMCWLLTPVGFZSMI7VCBKLQAIPDTANCNFSM4FMNURRQ
.

Thanks for confirming :)


Train code

Thanks your work.
I want to train the model on my  customed dataset, would you please  publish your training code?
Thanks

Hi,
thanks for your interest. For training recipe please follow our paper, for code please check out the repo of our new large scale study:
https://github.com/peng-lab/HistoBistro


Modify schema with a closure

Problem
From what I see, that is not possible to construct a zod schema conditionally without let, temporary local variables, self-executing function and such.
Let's say I have a schema for a user and their address:
const user_schema = z.object({
  name: z.string(),
  address: z.object({
    city: z.string(),
  }),
})

Now let's imagine I create this schema in a context, and based on the context I may want city to be nullable:
function create_user_schema(ctx: { city_nullable: boolean }) {
  let city_schema = z.string()
  if (ctx.city_nullable) {
    city_schema = city_schema.nullable()
  }

  return z.object({
    name: z.string(),
    address: z.object({
      city: city_schema,
    }),
  })
}

Not only this is ugly and lengthy: with duck typing as above, this leads to type error: Type 'ZodNullable<ZodString>' is missing the following properties from type 'ZodString': _regex, _addCheck, email, url, and 29 more (I realise that the error could be avoided by an additional intermediate schema variable - that's not the point).
As the logic extends into the tree of variants, this type of code becomes hard to maintain.
Proposal
Inspired by Knex modify, I propose to add a new generic method to ZodType, so that the example above could be converted to:
function create_user_schema(ctx: { city_nullable: boolean }) {
  return z.object({
    name: z.string(),
    address: z.object({
      city: z.string().modify(schema => {
        // Executed once upon schema creation - not when parsing
        return ctx.city_nullable ? schema.nullable() : schema
      }),
    }),
  })
}

The code becomes much simpler. The 'modification' is directly attached to the proper position inside the (possibly large) schema tree. The namespace is not polluted needlessly.
If I understand correctly, the actual implementation will be as simple as:
class ZodType {
  // TODO: add proper typings
  modify(fn) {
    return fn(this)
  }
}

Oh...I really hoped I wouldn't need to explain this. No, your answer does not help.
For starters, imagine it's not a z.string() but say z.string().email().refine(...).transform(...). Are you going to copy-paste that near the const foo =?
Then, these manual typings are ugly and don't really make sense. As I told, the nullable flag comes from a context (such as from database or the HTTP request) - it's simply a boolean. It's not known beforehand if that's true or false. That Nullable extends true boilerplate is therefore useless.
All and all, I am proposing a generic enhancement. Making a sub-schema nullable was just a simple example. It's far more than that that is needed in real life. For instance, an object schema could be extended to have more fields or to omit certain fields based on context. Refines could be dynamically added. All sort of modification that currently require local top-level variables could be incapsulated into context-bound functions.

Oh...I really hoped I wouldn't need to explain this. No, your answer does not help.

This is a bit rude. I'm just trying to help. There is no need to be rude.

Fair enough, but I was not asking for help. I was proposing API enhancement to the library - that is an issue directed towards library maintainers.
I am an author of similar data validation library (link) which I created 3 years before zod even appeared. Now since I'm migrating to zod, I'm seeing certain shortcomings when it comes to ease of use.
I expect greater expertise from the maintainers - that's why I told I was hoping I wouldn't need to explain that this issue is not about me struggling to make a schema nullable.

All rudeness aside, I am also looking for a clean way to do something like this! +1

All rudeness aside², you can manually tell the possible types to city_schema, just replace and type inference will work:
let city_schema: ZodString | ZodNullable<ZodString> = z.string();

@ankology Try to extend the use case beyond the minimal example:

city could be nullable or not
if not nullable, it could have a context-based max length (or not!)
then it could be optional...or not!

Now then, what if that's not a scalar but z.object which has to be slightly different on different nesting levels? That would require a number of temporary variables (and possibly types) and hardly readable boilerplate to compose the final schema.
As I elaborated in the op-post: "As the logic extends into the tree of variants, this type of code becomes hard to maintain."
Hope that makes sense.

Whatever, let it stale. I switched to valibot, which is composition-based rather than puts everything in the base class, and makes it extremely easy to add own plugins:
import { type BaseSchema } from "valibot"

export function modify<TSchema extends BaseSchema, TModifiedSchema extends BaseSchema>(
  schema: TSchema,
  modifier: (schema: TSchema) => TModifiedSchema,
) {
  return modifier(schema)
}

and then:
import * as v from "@my/valibot-with-extensions"

function create_user_schema(ctx: { city_nullable: boolean }) {
  return v.object({
    name: v.string(),
    address: v.object({
      city: v.modify(v.string(), (schema) => {
        // Executed once upon schema creation - not when parsing
        return ctx.city_nullable ? v.nullable(schema) : schema
      }),
    }),
  })
}

@IlyaSemenov I bet that in a few months, Zod will evolve and add a few other features that developers are aiming for, or focus on performance.
There's a heck of an ecosystem already using Zod as the fav schema validator over other solutions, and over time this will make other projects such valibot bring something to the table and perhaps make Zod do the same. (Like npm vs yarn drama)
I guess that your suggestion is great, and someone from the community or even yourself could contribute to bring it to Zod.
Cheers.

It's probably too late but I had something similiar
My problem: password is srtring or null but in some DTO I want it to be string
I had to do it manually like this
export class ConfirmSignupDTO extends createZodDto(
  StoreOwnerModel.pick({
    email: true,
    signupCode: true,
  })
    .extend({ password: z.string() })
    .strict()
    .required(),
) {}


Getting Type 'InteractionStatus' is not assignable to type '"startup"' using node-browser and typescript

Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.5.0
Wrapper Library
Not Applicable
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
I was using node-browser 2.5 with javascript/typescript, based on this vue sample project.
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-browser-samples/vue3-sample-app
Then I upgraded to msal v3 and followed their upgrade guide which was simple, and it only had me add in await msalInstance.initialize(); right after making a new instance of PublicClientApplication. However, on this file now
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/samples/msal-browser-samples/vue3-sample-app/src/plugins/msalPlugin.ts
I am getting a typescript error.
image
Which leads me to think there was another breaking change. How can I fix this?
Thanks
Error Message
Type 'InteractionStatus' is not assignable to type '"startup"'.
Type '"login"' is not assignable to type '"startup"'.ts(2322)
Msal Logs
No response
MSAL Configuration
{
auth: {}
}

Relevant Code Snippets
{
auth: {}
}

Reproduction Steps
typescript error, you see it right away
Expected Behavior
no typescript error
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Internet Explorer, None (Server), Other
Regression
No response
Source
External (Customer)

You can change https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/70ab381446cf45f42b70f2ad3c59560783e6a627/samples/msal-browser-samples/vue3-sample-app/src/plugins/msalPlugin.ts#L37-L41
to:
const state = reactive<{
    instance: PublicClientApplication
    inProgress: InteractionStatus
    accounts: AccountInfo[]
  }>({
    instance: msalInstance,
    inProgress: inProgress,
    accounts: accounts
  })

then it would work.

that works

this is still a problem

Yes, this is still a problem!

Hello,
I am also having this issue. Trying to use this library for work and this is a unexpected error.
@tnorling  can this change that @jason8399  presented be merged into the codebase?


Settings that switch backend storage can result in blank dropdowns, which then prevents users from saving their options.

I've enabled the simple pacing indicator as well as goal indicator warning color. Pressing save used to pop up a "saved" overlay prompting to reload YNAB. It's not doing that now and the changes aren't saved on refresh of the settings.

Are you able to see if there's an error in the console on the settings page for me?
You can definitely remove the extension and install it fresh, which will fix the issue, but if you've got a bit of time to get to the bottom of it with me I'd love to know what it actually is so other people don't experience it.

Also, inspector is giving me the error "Cannot read property 'value' of undefined" for this line:
options.js
15: return setKangoSetting(elementId, select.options[select.selectedIndex].value);

Yup, I can help troubleshoot. Should I reinstall? And if so will I need to reconfigure everything?

That's really helpful, thanks!
If we can figure out what's going on before you reinstall that'd be great. (I suspect once you reinstall things will work). Yes, reinstalling will wipe your settings.
Based on what you're saying, it looks like one of the dropdowns might be blank for you. Could you flip through all 3 pages on the settings page and see if any are blank? If there's a blank one, can you set it to one of the values in the list and save again?

Ah, yes. "Budget Rows Progress Bars" was blank. I set it back to the 4th option which I had it set to before (don't know why it switched), and everything is saving again.

Also, after I set it back. That dropdown no longer has a blank option (first option is Default).

That's great info, thanks! What happened at some point is a change to how the setting saves its data.
I'll write some code so that it doesn't happen to anyone else and that worst case scenario a setting reverts to default on an upgrade but doesn't stop the page from working.

You guys are awesome and very responsive. Thanks a ton and keep up the great work! :)

Wish we could be this quick on all bugs, just happened to check in before going to bed right when you reported it.
Thanks for using the Toolkit!


Add certificate reload APIs and details to documentation

Cert Reload is a new feature introduced as part of https://github.com/opendistro-for-elasticsearch/security/pull/238. This feature and the API's related to it need to be added to odfe documentation.

hi any update on this documentation?

also all of the links seem to refer to the old ODFE names so they return 404

@debjanibnrj


fix: Add network error screen

Question
Response

Version?
v1.4.1

Devices tested?
iPhone 7

Bug fix?
yes

New feature?
yes

Includes tests?
no

All Tests pass?
yes

Related ticket?
#646

Screenshots

Before
After

Description

Added a Network Error component
Updated Webview to show errors.

Coverage increased (+0.04%) to 44.811% when pulling b0dc5c0c37096a274fd1d88e2f9d225b682f2790 on issue_646_handle-network-error into ef4756b199ad8dc075e3c1c2ae7411e98f07c4c3 on master.

Coverage increased (+0.04%) to 44.811% when pulling b0dc5c0c37096a274fd1d88e2f9d225b682f2790 on issue_646_handle-network-error into ef4756b199ad8dc075e3c1c2ae7411e98f07c4c3 on master.


Change Message of Stop-Function to include $instance after failure of Connect-DbaInstance or Connect-SqlInstance

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[x] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Having more info for the user, especially when passing more instances to SqlInstance.
Approach
I just used the message that was already used in most commands.
Sometimes also changed the Target to the correct value.
Sometimes added Category.
Sometimes changed dbmailRecord to ErrorRecord because Stop-Function does not have that parameter.

This PR should have been discussed prior to altering our standard message that is used across every command in the module.


"sudo ./chipper/start.sh" command producing error [HELP]

Issue:
Running "cd ~/wire-pod
sudo STT=vosk ./setup.sh"
works for a few lines, then ends on "../../go/pkg/mod/github.com/alphacep/vosk-api/go@v0.3.46/vosk.go:110:2: could not determine kind of name for C.vosk_recognizer_set_grm"
I have followed the steps exactly, had to install brew on the spot, but other than that not sure if i've somehow messed up.
Running on MacOS Sonoma
Macbook Air M2
Setting up a regular bot
Got to step 4 of guide 1

I too am having the same issue.
Running on MacOS Sonoma Version: 14.2 (23C64)
Mac Studio M2 Max

macOS building is broken until someone compiles the latest Vosk code to OSX. For now, I recommend using the .dmg release in https://github.com/kercre123/WirePod/releases/tag/v0.2.0


unable to pass argument to the spider in run_spider

a nice feature would be to be able to pass argument to our spider in run_spider api
this could be done in _run_spider_in_reactor
d = crawler.crawl(some_args)

I haven't had a problems passing arguments to my spiders like so:
scrapydo.setup()
scrapydo.run_spider(MySpider(args=args))

I had also this problem with my script. I tried to pass the arguments in the spider as suggested but it didn't work for me. I solved it with a modification in the api.py file. Basically, just add **kwargs in the _run_spider_in_reactor function, and in the line d = crawler.crawl(). The modified code looks like this
@crochet.run_in_reactor
def _run_spider_in_reactor(spider_cls, capture_items=True, return_crawler=False,
                           settings=None, **kwargs):
    settings = settings or {}
    crawler_settings = get_project_settings().copy()
    crawler_settings.setdict(settings)
    log_scrapy_info(crawler_settings)
    crawler = Crawler(spider_cls, crawler_settings)
    d = crawler.crawl(**kwargs)
    if capture_items:
        crawler.items = _OutputItems()
        crawler.signals.connect(crawler.items.append, signal=signals.item_scraped)
        d.addCallback(lambda _: crawler.items)
    if return_crawler:
        d.addCallback(lambda _: crawler)
    return d

then do
scrapydo.setup()
scrapydo.run_spider(MySpider(a='a', b='b'), a='a', b='b')

yes that's exactly what i suggested :)

Thanks for your input guys. I will retake this as soon as possible.

Feature added in last release as follows:
scrapydo.run_spider(MySpider, arg=value)


Enable Readium to open File objects directly

Readium can now open a File object (Blob) directly.
For example, if you're using the DeviceStorage API, you can read an epub file from the sdcard of a device :
var sdcard = navigator.getDeviceStorage('sdcard');
var request = sdcard.get("9782019111281.epub");
request.onsuccess = function () {
    var file = this.result;
    var readium = new Readium({ jsLibRoot: './libs/' }, { el: '#reader-frame' });
        readium.openPackageDocument(file, function (packageDocument, options) {
            // do whatever you want with your packageDocument...
        });
};

Follow-up on this: as much as I love the idea of being able to open (zipped) EPUB from any data source that can ultimately provide a binary Blob (e.g. drag-n-drop, LocalStorage, SDcard, etc.), there are a number of serious caveats when using non-exploded/expanded EPUBs (regardless of the actual data source).
Documentation:
https://docs.google.com/document/d/1bwv89vSmLbUs4tHOwiqyeV546k5CG3RCJ1S6_-4wvvc/
In a nutshell, list of broken features:

EPUB3 Media Overlays
Any large video/audio HTML5 media
Some SVG
Any dynamically-injected resource (via scripting, i.e. not via static markup declarations)
Dynamic hyperlinks
...basically, anything that can not easily be replaced with BlobURIs at parsing time (statically).

Thus the "low" priority on this issue / PR.

@johanpoirier thank you very much for your PR! I adapted it and merged it to develop:
https://github.com/readium/readium-js/pull/115

:+1:


redmine: 4.2.9 -> 4.2.10

Description of changes
The update contains fixes for security issues.
Changelog: https://www.redmine.org/projects/redmine/wiki/Changelog_4_2#4210-2023-03-05
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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
[x] 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

[x] Fits CONTRIBUTING.md.

It builds fine on aarch64-linux and the changelog only mentions minor changes.
How can I test this?

It builds fine on aarch64-linux and the changelog only mentions minor changes.

From the changelog:
[Security]
* Defect #38063: Avoid double-render error with ApplicationController#find_optional_project
* Defect #38070: Role#permission_tracker? and related does not consider whether the base permission is (still) set
* Defect #38133: Update Nokogiri to fix several security issues
* Defect #38297: Insufficient permission checks when adding attachments to issues

How can I test this?

service.redmine.enable = true and configure database settings. There are also tests which set up a Redmine host and test basic functionality.

Please run the tests next time and tick the relevant box, that makes things easier.

Ah, yes forgot to tick the box. Thanks!


Support PEP comment type hints

https://github.com/Microsoft/PTVS/issues/3917
https://www.python.org/dev/peps/pep-0484/
https://www.python.org/dev/peps/pep-0526/
PEP_526_style: str = "hello world"
captain: str  # Note: no initial value!
PEP_484_style = SOMETHING # type: str

PEP_484_style.
PEP_526_style.upper()
captain.upper()

Type declaration is not recognized as string.

Jedi

Related: https://github.com/Microsoft/PTVS/issues/3674

It doesn't work for python 2.7.

What does not work exactly? Could you give sample of the code?

What does not work exactly? Could you give sample of the code?

Go to vscode settings and disable jedi.
Create new folder and open it
Use python 3.6 interpreter ("Python 3.6.6" from Anaconda). It works

Use python 2.7 interpreter  ("Python 2.7.16" from Anaconda). It does not work, no popup :(
if I do y = 3 then it deduces type to int and I see the popup completion again

I can confirm the absence of type hints in the above example.
Trace output doesn't seem helpful, but included for posterity:
Analysis of main(User) queued Analysis version 9 of 1 entries has started. Analysis of main(User) completed in 0.1192 ms. Analysis version 9 of 1 entries has been completed in 0.1974 ms. Completions in file:///<snip>/main.py at (2, 5) Completions in file:///<snip>/main.py at (2, 6) Analysis of main(User) queued Analysis version 10 of 1 entries has started. Analysis of main(User) completed in 0.1932 ms. Analysis version 10 of 1 entries has been completed in 0.3502 ms.

Since this issue is closed, I opened https://github.com/microsoft/python-language-server/issues/1073 for you.


Using Google Coral to speed things up?

Hello,
Just got Google Coral USB dongle. It detects persons but not individual faces that can be connected with name.
Anyone here tried using face-api.js with Google Coral and have succeeded?
Thank you.
Best regards,
Andrej

Google Coral supports only TensorFlow Lite models that are fully 8-bit quantized and then compiled specifically for the Edge TPU.  AFAIK, there is no support for saved (used by standard TF) or graph/layers models (used by TFJS) - as such, any project (including face-api) that uses TFJS will not work on Google Coral.

Google Coral supports only TensorFlow Lite models that are fully 8-bit quantized and then compiled specifically for the Edge TPU.  AFAIK, there is no support for saved (used by standard TF) or graph/layers models (used by TFJS) - as such, any project (including face-api) that uses TFJS will not work on Google Coral.


[FLINK-7154] [docs] Missing call to build CsvTableSource example

The Java and Scala example code for CsvTableSource create a builder but are missing the final call to build.

Thanks for the fix @greghogan.
I'll merge this.


Godot Mono?

Is there a way to make this work with Godot Mono?

This action does not currently support Godot mono. It's something high in my priorities currently though!

This would be a great feature!

Hey, any update on this?


Add timestamp field to TargetTemperature as observed in fixtures

most likely will break the auxiliary heating logic as targetTemperature is serialized and timestamp is not expected in the request

we should create a new class derived from targetTemperature used by outsideTemperature with additiona timestamp..

Since I was adding outsideTemperature into AirConditioning class, I have created a new PR (#268) where timestamp is implemented as I suggested (new OutsideTemperature class derived from TargetTemperature) , so you dont need to change it here. You can close this PR and we can merge the one from my PR

Sure 👍


doc(help): fix example activate shell commands

fix the activate subcommand ecamples in the help renderer so that they would reflect current usage

@balor This was changed with #85 last night, but not released yet. activate command is changed to accept positional arguments per #71 . Once released, rtx activate zsh will be correct. For backward compatibility, -s / --shell flags will continue working.

Codecov Report
Base: 81.47% // Head: 81.47% // No change to project coverage :thumbsup:

Coverage data is based on head (799f455) compared to base (6798ab1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #90   +/-   ##
=======================================
  Coverage   81.47%   81.47%
=======================================
  Files          78       78
  Lines        2375     2375
=======================================
  Hits         1935     1935
  Misses        440      440

Impacted Files
Coverage Δ

src/cli/render_help.rs
100.00% <ø> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Alles klar, sorry for the hot tempered reaction :)

oh none taken, I've had this exact thing happen to me many times where the README didn't match the latest release


Not compatible with Sketch 49?

Nothing is happen if I import .json file.

Have same issue

Me too. Specifically only seems to import 3 or 4 of the styles and then gives up.

Same here. Its broke :-(

Ah! The update fixed it... Thanks!

I only just updated to Sketch 49, but it looks like everything is working on 49.1. Closing this for now.


When the nightly build fails, the previous nightly build is also gone

When starting a nightly build, it will first delete the existing nightly build.
https://github.com/keycloak-rel/keycloak-rel/blob/7b705b0dc1e0c5a81de36812cf1118d78e4861c4/.github/workflows/x-create-gh-releases.yml#L40-L42
This leads to a situation that there is no nightly build when the nightly build will fail later. Even the previous one is then unavailable (like today).
This makes it difficult consume the nightly build for people who want to try it out, and for processed you want to test the latest nightly build for example in keycloak-benchmark.
So I wonder: could this be changed?
Pinging @jonkoops as you've been involved previously when this has been set up. Thanks!

@kami619 - you might want to watch this issue as it affects the current setup of Minikube in keycloak-benchmark.

Yeah this is a problematic thing, perhaps we can create a draft release for the new nightly and then remove the old one and rename it?

Related to this is #50, which is resulting in a GH notification every time we do a nightly release.

Also related to this is the fact that releases are not "atomic". If a nightly release fails in the middle there may be some artefacts that  are updated, while others are not. That would improve if we don't publish things until the very end, which is a bit tricky with Maven, but something I would like as this is also problematic during a regular release if there is a failure part through. For example during 19.0.2 I ran into https://github.com/keycloak/keycloak-ui/issues/3323, which was a pain to recover from.

I can't think of a better option than using a "scratch" GH release during nightly releases, but not sure if we should rather just make sure nightly releases are stable as a priority?

@stianst - removing the GH release during nightly releases might still be thing to do as it gives it a proper timestamp which make it turn up in the releases view in the right place.
To still have a nightly release available even when the build fails, it might be possible to reorder things:
Old behavior:

delete old release and create a draft at the beginning
each build step builds its artifacts and adds them to the draft release
finally publishing the release

Suggestion for a new behavior:

each build step builds its artifacts and uploads them to the workflow run
at the end, all artifacts are downloaded, the previous release is deleted, a new draft release created, artifacts are uploaded to the release, release is published (Note: the latest version of the download artifact GitHub action allows to download all artifacts at once - I never used that approach, just read the docs: https://github.com/actions/download-artifact)

The new behavior could reduce (a) the time gap while the nightly is running and (b) reduce the possibility that there is no nightly release due to a failed build.

@ahus1 for nightly releases using workflow artifacts would make perfect sense, but it would be problematic for regular releases if they fail midway through the release as we don't currently have a good way to fix/retry the release.
One problem I've had a few times now doing a release is one step has failed. If it's an issue in the code/release-branch then I can fix it there, and retry the failed steps in the workflow. However, if fixing the problem requires updating the workflow itself then I can't do that, and need to do another job, which requires disabling the non-repeatable steps like publishing to NPM or Maven, which then requires those artifacts to be available.

There's a pretty simple solution to this actually. We'll just leave the release if it's already created and instead overwrite files when uploading with '--clobber'.
That'll also help for https://github.com/keycloak-rel/keycloak-rel/issues/50 so we won't get notifications every night.


Add removeSpaces helper

Adds removeSpaces helper to remove spaces in a string
Needed in the handlebars conversion of subsection (trello) as discussed in this PR

Coverage remained the same at 100.0% when pulling 7502ad8b68142b88632d69dbe49aca8b19f47437 on remove-spaces into 6688d53e7dc16a1c2c45ff51a086ac74d3080f09 on master.


Readme: Clarify the different versions

We now have all of the following versions of Anko:
anko-support-v4-0.7
anko-sdk23-0.7
anko-sdk21-0.7
anko-sdk19-0.7
anko-sdk15-0.7
anko-recyclerview-v7-0.7
anko-percent-0.7
anko-gridlayout-v7-0.7
anko-design-0.7
anko-common-0.7
anko-cardview-v7-0.7
anko-appcompat-v7-0.7
Please clarify, how the versions differ and which to use in your project.

I agree. Right now if I want to use Anko for the first time I don't know which modules (or packages) need to be added to my project in order to experiment with the different features outlined in the README file.
As an example, I just added the following dependencies to an Android project:
compile 'org.jetbrains.anko:anko-common:0.7'
compile 'org.jetbrains.anko:anko-appcompat-v7:0.7'

In one of my activities I'm trying to replace Butterknife which uses this syntax:
val artistBio: TextView by bindView(R.id.artistBio)

With Anko's syntax
val artistBio = find<TextView>(R.id.artistBio)

I'm using Intellij 15 with ext.kotlin_version = '0.13.1513'. The IDE does not recognize the "find" keyword and I get the following build error if I attempt to build the project:
Error:(32, 21) Gradle: Unresolved reference: anko
Error:(44, 20) Gradle: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
kotlin.inline public fun <T> kotlin.Array<out android.widget.TextView>.find(predicate: (android.widget.TextView) -> kotlin.Boolean): android.widget.TextView? defined in kotlin
kotlin.inline public fun kotlin.BooleanArray.find(predicate: (kotlin.Boolean) -> kotlin.Boolean): kotlin.Boolean? defined in kotlin
kotlin.inline public fun kotlin.ByteArray.find(predicate: (kotlin.Byte) -> kotlin.Boolean): kotlin.Byte? defined in kotlin
kotlin.inline public fun kotlin.CharArray.find(predicate: (kotlin.Char) -> kotlin.Boolean): kotlin.Char? defined in kotlin
kotlin.inline public fun kotlin.DoubleArray.find(predicate: (kotlin.Double) -> kotlin.Boolean): kotlin.Double? defined in kotlin
kotlin.inline public fun kotlin.FloatArray.find(predicate: (kotlin.Float) -> kotlin.Boolean): kotlin.Float? defined in kotlin
kotlin.inline public fun kotlin.IntArray.find(predicate: (kotlin.Int) -> kotlin.Boolean): kotlin.Int? defined in kotlin
kotlin.inline public fun <T> kotlin.Iterable<android.widget.TextView>.find(predicate: (android.widget.TextView) -> kotlin.Boolean): android.widget.TextView? defined in kotlin
kotlin.inline public fun kotlin.LongArray.find(predicate: (kotlin.Long) -> kotlin.Boolean): kotlin.Long? defined in kotlin
kotlin.inline public fun <T> kotlin.Sequence<android.widget.TextView>.find(predicate: (android.widget.TextView) -> kotlin.Boolean): android.widget.TextView? defined in kotlin
kotlin.inline public fun kotlin.ShortArray.find(predicate: (kotlin.Short) -> kotlin.Boolean): kotlin.Short? defined in kotlin
kotlin.inline public fun kotlin.String.find(predicate: (kotlin.Char) -> kotlin.Boolean): kotlin.Char? defined in kotlin

+1 for improvements documents.
For me know anko looks like an showcase.
I maybe will use in the future, until then, I wait for better docs, API links :)

@cavega you need an anko-sdk lib. I'm not sure which version to choose, you should always compile with the latest and target whichever minimal version you want, so I guess that you need to specify this minimal version here? That's what I do.
Then for each support lib you use, you add the associated anko lib. This is what I have:
buildscript {
    ext.kotlin_version = '0.13.1514'
    repositories {
        jcenter()
    }
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId 'fr.ribesg.android.xxx'
        minSdkVersion 15 // Min SDK version is 15
        targetSdkVersion 23
        versionName '0.0.1'
        versionCode 1
    }

    buildTypes {
        release {
            minifyEnabled false
        }
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    // Note the used support libs
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:design:23.0.1'
    compile 'com.android.support:recyclerview-v7:23.0.1'

    compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    compile 'org.jetbrains.anko:anko-sdk15:0.7' // So here it's 15 too

    // Same Anko libs than support libs
    compile 'org.jetbrains.anko:anko-appcompat-v7:0.7'
    compile 'org.jetbrains.anko:anko-design:0.7'
    compile 'org.jetbrains.anko:anko-recyclerview-v7:0.7'
}

Support libs ARE split into multiple different packages. It seems logical for Anko to follow the same, to get only what matches what you already have.

@Ribesg Thanks for the response. I added the following dependencies to my minSdk15 project:
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    compile 'org.jetbrains.anko:anko-sdk15:0.7'
    compile 'org.jetbrains.anko:anko-common:0.7'
    compile 'org.jetbrains.anko:anko-appcompat-v7:0.7'
    compile 'org.jetbrains.anko:anko-design:0.7'
    compile 'org.jetbrains.anko:anko-recyclerview-v7:0.7'

I still can't use the "find(R.id.viewId)" syntax inside my RecyclerView.ViewHolder() which is the point of the original comment by @cypressious : there is no clear distinction (or summary) of which modules are needed for each Anko feature unless you dig into file in the repository.

There you have a dependencies tree

org.jetbrains.anko:anko-support-v4:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-sdk15:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-recyclerview-v7:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-percent:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-gridlayout-v7:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-design:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-cardview-v7:0.8.1

org.jetbrains.anko:anko-common:0.8.1

org.jetbrains.anko:anko-appcompat-v7:0.8.1

org.jetbrains.anko:anko-common:0.8.1
org.jetbrains.anko:anko-support-v4:0.8.1 (*)

It was useful for me to check.

Also looks like recyclerview is misspelled as "recycleriew"
https://bintray.com/jetbrains/anko/anko/anko-recycleriew-v7-0.8.3/view

Hi folks, the issue was closed, but I still cannot find the difference between anko sdk15, sdk19, sdk21, sdk23, sdk25.
If i have the min target of android 19 in my project I have to add all the anko-sdk libraries?

@amadeu01 nope, you match your minSDK with one of the SDKs. Think of them as they would have + sign e.g. sdk19+
If you would have minSDK=17, sdk19 wouldn't be sufficient and you would need to go lower to sdk15
On a side: I am personally moving away from Anko since it doesn't seem to be developed much any longer. I don't know what is your use case but maybe consider other options like Android KTX.


(ja) Update README.ja.md

This PR updates a url in README.ja.md.

@jason-fox It would be great if you could review this PR. Thanks.


Fixed function data_get() for working with arrays

Before:
$a = [
    'a.b' => true
];

var_dump(data_get($a, 'a.b')); // NULL

After:
$a = [
    'a.b' => true
];

var_dump(data_get($a, 'a.b')); // bool(true)

Keys with dots in them aren't supported and won't be. They conflict directly with the dot notation. You wouldn't know anymore if you wanted to access a.b or b as a sub key for a.

@driesvints But what if you first check for the sub keys for a? And if there is no match return a.b? I'm having this issue when using Laravel for a webhook which sends the parameters with a dot inside it (Location.City). When I use $request->input('Location.City') null is returned, in that case it would be really nice if it would return that value (if there is no ['City']['Location']).