[TRACKER] Wayland issues

Tested versions

Reproducible in: 4.3.dev3 and later

System information
Linux/BSD - Wayland backend
Issue description
A new, experimental and opt-in Wayland backend got merged in 4.3.dev3.
While it got tested plenty, there are still quite a bunch of missing features and lots of things to improve, which are tracked in this issue.
- [ ] https://github.com/godotengine/godot/issues/87747
- [ ] https://github.com/godotengine/godot/issues/87749
- [ ] https://github.com/godotengine/godot/issues/87963
- [ ] https://github.com/godotengine/godot/issues/88113
- [ ] https://github.com/godotengine/godot/issues/88151
- [ ] https://github.com/godotengine/godot/issues/88246
- [ ] https://github.com/godotengine/godot/issues/88248
- [ ] https://github.com/godotengine/godot/issues/88333
- [ ] https://github.com/godotengine/godot/issues/88364

Steps to reproduce
From the CLI: start the engine with the --display-driver wayland flag.
Alternatively, for the editor, set the run/platforms/linuxbsd/prefer_wayland editor setting to true or, for running projects, set the display/display_server/driver.linuxbsd project setting to wayland.
Minimal reproduction project (MRP)
N/A

cannot open edit with weston, cmdline out is:
`Godot Engine v4.3.dev4.official.df78c0636 - https://godotengine.org
WARNING: Can't obtain the XDG decoration manager. Libdecor will be used for drawing CSDs, if available.
at: init (platform/linuxbsd/wayland/wayland_thread.cpp:3493)
WARNING: Can't obtain the XDG activation global. Attention requesting won't work!
at: init (platform/linuxbsd/wayland/wayland_thread.cpp:3500)
wl_registry@2: error 0: invalid version for global xdg_wm_base (22): have 1, wanted 2
ERROR: Wayland protocol error 0 on interface wl_registry@2.
at: _poll_events_thread (platform/linuxbsd/wayland/wayland_thread.cpp:2540)
================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.3.dev4.official (df78c0636d79c9545a283e0e2a926d623998cc27)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f3a4fa42520] (??:0)
[2] godot4_3() [0x47e587] (??:0)
[3] godot4_3() [0x3c9fbe5] (??:0)
[4] godot4_3() [0x48e4963] (??:0)
[5] /lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7f3a4fa94ac3] (??:0)
[6] /lib/x86_64-linux-gnu/libc.so.6(+0x126850) [0x7f3a4fb26850] (??:0)
-- END OF BACKTRACE --
================================================================`

Hello, is there an issue for tracking Wayland fractional scaling support?

https://github.com/godotengine/godot/issues/89257

Has anyone ran into a really strange issue where trying to resize a windowed instance of Godot under Wayland/KDE causes it to move way up off the top left edge of the screen at a massive scale? It does not replicate under X11, but it is such a strange thing I don't really have enough to file a useful report.
I am using a laptop display at 2256x1504 and a desktop monitor at 2569x1440 so this is likely involved.
This was all found using the git build of Godot as-of 4/8/24, it is not present in stable.

@Roogephy thanks for the report! Could you open a new ticket? I'd like to discuss this further (I am already aware of this issue and a solution), but I would not like to fill the tracker itself.

sorry for so late:
https://github.com/godotengine/godot/issues/90612

#90917

#92014

#92014

#92014

#92014

Sorry, but does anyone else "feel" a difference between regular and "Prefer Wayland" setting? I don't know how to see the framerate of the editor, but I have a 120hz display and it feels like 20-30 when I enable Wayland (but other apps are fine and mouse gestures are super smooth too). This is using "single window mode" as well, btw.

Please add #94445 to the tracker


How can I get the same look your screenshots show?

I don't understand how can I get such borderless windows using kwm. Could you please help me with that?

Found the relevant discussion, sorry.

And what is the revelant discussion ?

Check out #2 @giann.


org settings: Make it easy to see the custom emojis you've added personally.

On this page: http://localhost:9991/#organization/emoji-settings
Will likely need a bit of thinking about the right design; feel free to propose something in #frontend on chat.zulip.org.

I think the right solution here is to use the same sort-table stuff we have for "user uploads", and sort the current user to one end of the alphabetical list.

That, or just automatically sorting the ones you personally uploaded to the top of the list by default.

@zulipbot claim


Make template generation more reliable

Fixes #13
I didn't reproduced the issue from #13, but as we changed the design, the issue should be solved anyway

Closing due to #24

I wanted close another PR


PingService: ping cluster or default client's URLs

Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[x] elastic.v3 (for Elasticsearch 2.x)
Please describe the expected behavior
PingService should be able to pick up client's URL when invoked with elastic.NewPingService(client).Do(). Ideally, the PingService would try to ping at least one node in the cluster.
Please describe the actual behavior
PingService tries to ping "localhost:9200" when no URL was given. See below example:
Any steps to reproduce the behavior?
client, err := elastic.NewClient(elastic.SetURL("http://node1.example.com:9200", "http://node1.example.com:9200"))
if err != nil {
		return err
}

elastic.NewPingService(client).Do() // pings localhost:9200 instead of above example.com URLs

The above example has very unexpected behavior.
Cluster ping would be awesome -- any plans to implement it?

Closing. I discovered ClusterHealthService.

Yeah. Ping is special to some extent. I tried to describe in the Wiki.

@olivere this would be super useful in the godoc too.
It was quite difficult to find out how to run basic health check on my cluster. I discovered it accidentally while reading the code (client.go, connection.go and ping.go) itself. :)


Intergration error

Home Assistant 2023.5.3
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.3 - latest
VM hosted on Ubuntu 23.04
current version of Virtualbox
Removed the previous ha-local and ha-cloud repos and the current ones
Attepted to install intergrations
Received following error message
Config flow could not be loaded: {"message":"Invalid handler specified"}
Enabled logging
Log snippet
ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration dyson_local: Exception importing custom_components.dyson.config_flow
...
ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration dyson_cloud: cannot import name 'DysonPureHumidifyCool' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/init.py)
ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.dyson.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/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 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
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 879, in exec_module
File "", line 1017, in get_code
File "", line 947, in source_to_code
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/dyson/init.py", line 31
core/init.py at dev · home-assistant/core
^
SyntaxError: invalid character '·' (U+00B7)
2023-05-23 21:52:02.637 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration dyson_local: Exception importing custom_components.dyson.config_flow

That error looks like it didn't install the updated libdyson release - did you restart your Home Assistant server to make sure it (re)installs the component dependencies?

did you restart your Home Assistant server to make sure it (re)installs the component dependencies:  Yeap
Also logged out of the android app.
Removed local and cloud intergrations (both versions)
Restarted HA
Added intergrations again (both versons)
Rebooted HA
This time I can set up cloud version but not local version

How odd, sorry that's happening to you. Can you check the version of libdyson-neon that's installed in Home Assistant's venv?

I cloned libdyson-neon and ran the requirements file
If I run get_devices.py I get the following trace
Please choose your account region
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: ie
Email: redacted
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/libdyson-neon/get_devices.py", line 22, in
verify = account.login_email_otp(email, region)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/libdyson-neon/libdyson/cloud/account.py", line 161, in login_email_otp
jsonRes = response.json()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Then tried EU
libdyson-neon $ python3 get_devices.py
Please choose your account region
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: eu
Email: redacted
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/libdyson-neon/get_devices.py", line 22, in
verify = account.login_email_otp(email, region)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/libdyson-neon/libdyson/cloud/account.py", line 161, in login_email_otp
jsonRes = response.json()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Note I get the same results if I'm logged in on the dyson app or if I log out.
The dyson app is up to date.

Thanks for following up. The get-devices script is very particular about inputs. The errors you're getting there are specifically because you used lowercase region codes - it requires you to input the region code in uppercase. One of the projects I'm working on is a full-fledged CLI to replace the get-devices script, but for now it's what we've inherited from shenxn.
Can you check the version of libdyson-neon that's installed in your home-assistant venv?

Hi,
Taken from setup.cfg
version = 1.0.2
Was not the region code should be upper case
It ran successfully.
IThe device type is 527
I have the credentials.
Tried dyson local and the error appeared again

Was not the region code should be upper case

Oh cool, what was it?

correction  Was not aware that the region code should be upper case.  It was IE

Aha, gotcha. Yeah I ran into that stumbling block myself, I'm aware of how un-ergonomic it's on the list of things I want to make better.
For your original issue, I've taken a closer look at your logs (thanks again for pasting) and am really confused how you're getting that. There are a few things in the log entry you pasted that don't make sense to me:

cannot import name 'DysonPureHumidifyCool' from 'libdyson'

This should  literally never happen because there is nothing called DysonPureHumidifyCool  in the current version of this integration, the cloud integration, or the Dyson integration.

It references a path /custom_components/dyson/ which (to my knowledge) should not exist when using HACS to install this integration. The path this integration will normally install to is custom_components/dyson-local/

Are you installing the integration through some method other than HACS?

It references a file init.py (/custom_components/dyson/init.py) which does not exist in this integration.

Is there some customization happening?

So my new questions for you:

Which releases of the ha-dyson and ha-dyson-cloud repositories are you using?
Which version of the ha-dyson and ha-dyson-cloud are you using? (Are you using a mix of shenxn's and libdyson-wg's?)
What installation method are you using?

Hi,
Which releases of the ha-dyson and ha-dyson-cloud repositories are you using?
  libdyson-wg
Which version of the ha-dyson and ha-dyson-cloud are you using? (Are you using a mix of shenxn's and libdyson-wg's?)
 Dyson-local - v0.19.1
 Dyson-cloud - v0.18.1
What installation method are you using?
  HACS

I had both repos installed and got the error.
I removed shenxn's repo  after running the update repos rebooted ha and tried to add the dyson local only for the error to appear.
I removed all repos and only installed libdyson-wg then after another reboot tried to add the local intergration again only for the error to appear yet again.

Hi,
I'm no longer getting the error.
I am getting ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration dyson_local: Exception importing custom_components.dyson.config_flow.
This coresponds wit the dialog message
Config flow could not be loaded: {"message":"Invalid handler specified"}
log levels set to debug
libdyson: debug
custom_components.dyson_local: debug
custom_components.dyson_cloud: debug

Hi @linkwellfook, sorry for the long delay here. I've published a new release of this integration, as well as the cloud integration, which vendors the libdyson dependency. I'm hoping this solves your problem, but let me know if you have continued issues after updating!
https://github.com/libdyson-wg/ha-dyson/releases/tag/v0.20.0
https://github.com/libdyson-wg/ha-dyson-cloud/releases/tag/v0.19.0

Okay part of that is my fault - libdyson has some self-referencing imports that are causing the DysonAPIProvisionFailure import failure. https://github.com/libdyson-wg/ha-dyson-cloud/releases/tag/v0.19.1 should fix it.
But the other part, where It references /config/custom_components/dyson/init.py still, is very weird. This integration is custom_components/dyson_local. So I have no idea why you have a custom_components/dyson path at all.

Hi,
So I did the following
I remain logged out of the Android Dyuson app
Disabled both intergrations
Removed both interdrations
Remove the HACS install
Deleted all references to dyson from the custom_component directory
rebooted HA
Installed the intergrations from HACS
rebooted HA
Successfully configured Dyson Cloud
Dyson Cloud shows 'no device or entiries'
Tried to configure Dyson Local
Again, I got
Config flow could not be loaded: {"message":"Invalid handler specified"
The logs
2023-06-08 21:17:18.991 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration dyson_local: cannot import name 'DysonAPIProvisionFailure' from 'libdyson.exceptions' (/usr/local/lib/python3.11/site-packages/libdyson/exceptions.py)
2023-06-08 21:17:18.994 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2029, in _load_integration
integration.get_platform("config_flow")
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/dyson_local/config_flow.py", line 8, in
from .vendor.libdyson.cloud import DysonDeviceInfo
File "/config/custom_components/dyson_local/vendor/libdyson/cloud/init.py", line 3, in
from .account import DysonAccount, DysonAccountCN  # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/vendor/libdyson/cloud/account.py", line 9, in
from libdyson.exceptions import (
ImportError: cannot import name 'DysonAPIProvisionFailure' from 'libdyson.exceptions' (/usr/local/lib/python3.11/site-packages/libdyson/exceptions.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 845, in async_init
flow, result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 863, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 962, in async_create_flow
await _load_integration(self.hass, handler_key, self._hass_config)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2036, in _load_integration
raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler
dyson_local manifest
{
"domain": "dyson_local",
"name": "Dyson Local",
"config_flow": true,
"documentation": "https://github.com/libdyson-wg/ha-dyson",
"issue_tracker": "https://github.com/libdyson-wg/ha-dyson/issues",
"dependencies": ["zeroconf"],
"codeowners": ["@libdyson-wg"],
"requirements": ["libdyson-neon==1.0.2"],
"version": "0.20.0",
"iot_class": "local_polling"
}
Dyson cloud manifest
{
"domain": "dyson_cloud",
"name": "Dyson Cloud",
"config_flow": true,
"documentation": "https://github.com/libdyson-wg/ha-dyson-cloud",
"issue_tracker": "https://github.com/libdyson-wg/ha-dyson-cloud/issues",
"dependencies": [],
"codeowners": ["@libdyson-wg"],
"requirements": [],
"version": "0.19.0"
}
The version in hacs show 0.19.1
Best Regards

Thanks for all your work on those logs, and I wish you'd been having a better experience so far. I wish this was something I was able to reproduce in my testing, that way it wouldn't have impacted you.
I'm happy to see that the mysterious custom_components/dyson/ path isn't in your logs anymore. I still have no idea why it was there, but it's gone now and I was able to make sense of the rest. It looks like the cloud integration 0.19.1 resolved some of your previous logs, but you're seeing the same behavior on the local integration now. So I've cut a new release that has the same fix: https://github.com/libdyson-wg/ha-dyson/releases/tag/v0.20.1
I'll be sure to ramp up my integration testing moving forward so this kind of thing doesn't happen again. I need to be a better steward for the project :sweat_smile:.

Hi,
It looks like the last update to dyson local did the trick.
The intergration found the Dyson device and created the following entities
fan.kitchen
sensor.kitchen_humidity
sensor.kitchen_temperature
sensor.kitchen_volatile_organic_compounds_index
sensor.kitchen_pm_2_5
sensor.kitchen_pm_10
sensor.kitchen_nitrogen_dioxide_index
sensor.kitchen_carbon_filter_life
sensor.kitchen_hepa_filter_life
switch.kitchen_night_mode
switch.kitchen_continuous_monitoring
climate.kitchen
Checking the entities in the Developer tab I can see that they are active and displaying their attributes.
Best Regards


Incorrect HTTP method when executing Indices.PutTemplate

Hi, I was trying to create an index template, and got the following error:
can not create template, {"error":"Incorrect HTTP method for uri [/_template/] and method [PUT], allowed: [GET]","status":405}

here's the code I use:
cl, err := elasticsearch.NewClient(elasticsearch.Config{
	Addresses: []string{cred.Host},
	Username:  cred.Username,
	Password:  cred.Password,
})

if err != nil {
      return nil, err
}
...

res, err := cl.Indices.PutTemplate(cred.Index, strings.NewReader(fmt.Sprintf(`
{
   "index_patterns" : [ "%s-*" ],
   "version" : 1,
   "settings" : {
      "number_of_replicas": 0,
      "number_of_shards": 1,
      "index.refresh_interval" : "1s"
   },
  "aliases" : {
      "%s" : {}
   },
   "mappings": {
      "properties": {
         "timestamp": {"type": "date" },
	 "value": {"type": "keyword"}
       }
   }
}`, cred.Index, cred.Index)))

if err != nil {
	return nil, err
}

defer res.Body.Close()
b, err := io.ReadAll(res.Body)
if err != nil {
	return nil, err
}

if res.IsError() {
	return nil, fmt.Errorf("can not create template, %s", string(b))
}

tried to run the code on Elasticsearch 7.14.0, but still get the same error, am I missing something?
Thank you
Ubuntu 20.04.3 LTS
Go 1.17.1
Elasticsearch 7.4.0
github.com/elastic/go-elasticsearch/v7 v7.14.0

I can recreate your problem if the name parameter you are trying to address is empty "".
This would result in trying to send a PUT request to the endpoint /_template/ without a name and results in a wrong routing in Elasticsearch.
In your example, cred.Index is probably an empty string.


Lost profiles for Python after restart

OS X 10.11
Lost profiles for Python after restart.

Oh, I see.
Because I removed all the project folders...


Fix typo and incorrect links

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Fix incorrect link: https://github.com/liadbiz/opensource-contribute-guide-chinise/blob/master/github-open-source-guide-02.md => ../starting-a-project/#writing-a-readme
Fix typo:

正式你这样的人们使得 => 正是你这样的人们使得
对初次光临社区对人们表示欢迎 => 对初次光临社区的人们表示欢迎
社区对流程是啥样的 => 社区的流程是什么样的

Cancel the translation of file names, I think the file name should remain the same, no translation required

@jaredtl4587 Maybe you can use Google Translate to translate the modified text and compare the original English text. If they mean almost the same, it is correct.

@lc-soft  Is this still a problem? If so, could you resolve the conflicts. Sorry for the delay!

@MikeMcQuaid OK, I will fix it.

Thanks for another contribution, @lc-soft, you rock!


metasploit: 6.0.28 -> 6.0.29

Motivation for this change
Update to latest upstream release 6.0.29
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112294 at 0d0aeb8e run on aarch64-linux 1

1 package built:

metasploit

1 warning produced:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/security/metasploit/default.nix:24:3:
   |
24 |   installPhase = ''
   |   ^

Result of nixpkgs-review pr 112294 at 0d0aeb8e run on x86_64-linux 1

1 package built:

metasploit

1 warning produced:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/security/metasploit/default.nix:24:3:
   |
24 |   installPhase = ''
   |   ^

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

1 package built:

msf (metasploit)


improved exception wording for COPY FROM without DIRECTORY url

@mfussenegger please

There is a test failure due to the changed error message

Current coverage is 81.17% (diff: 100%)

No coverage report found for master at 4f4c9d8.

Powered by Codecov. Last update 4f4c9d8...9d02072


fix: valid jestBinPath is js file

when repo use pnpm, 'node_modules/.bin/jest' is not js file, pnpm will auto generate bash file instead of original js file, so add valid for 'node_modules/.bin/jest' file，if not valid use 'node_modules/jest/bin/jest.js' instead
fix #119

thx, i will test an merge !

Did you solve this problem?
How do I test with the fix commit `10a95c7P ?


[Hotfix] Correct login redirect

Purpose
Catch redirects for home
Changes
Use reverse for home rather than resolve
Side effects
None
Ticket
None

This hotfix is branched off of develop. @Ghalko Can you create a new branch and PR off of master?


Deprecate "problems" key in config.json

For the past three years, the ordering of exercises has been done based on gut feelings and wild guesses. Over time this has proven to work OK-ish, but it's not great. In order to have the ability to support a more structured and systematic approach to ordering problems, we're going to deprecate the simple array of problem slugs in the config.json file of each track, and start using a new format, under the key "exercises", documented below:
"exercises": [
      {
        "slug": "hello-world" ,
        "difficulty": 1,
        "topics": [
            "control-flow (if-statements)",
            "optional values",
            "text formatting"
        ]
      },
      {
        "difficulty": 3,
        "slug": "anagram",
        "topics": [
            "strings",
            "filtering"
        ]
      },
      {
        "difficulty": 1,
        "slug": "binary",
        "topics": [
            "parsing",
            "transforming"
        ]
      }
    ]

We need to update the x-api so that it can use either format, with a preference for "exercises".
That is to say that where we read the "config.json" file to determine which problems are in a track, and in which order, we should use the order as defined in "exercises". If, however, "exercises" is missing from a config.json, the code should not break. We should fall back to using the "problems" key.
The config.json file is read in lib/xapi/track.rb.
See https://github.com/exercism/discussions/issues/60 for the full discussion.

@kytrinyx Looking into this.

Addressed in https://github.com/exercism/x-api/pull/137


Logger behavior

Whenever an error is recorded to output, use a logger to log them as well.
provide a CLI argument to mute or set the log level for the logger, so that the program can run in silent mode or only log info+warning+error, or warning+error, or error only

I'm not sure I understand this proposal. If there are messages going to the console, they need to get there via a logger object. Is that the idea? IMO, we should not have any output sent directly to std::cout, or std::cerr.
Or is this message saying, any messages which are sent to the console (via the logger) should also be sent to a log file? This seems fine, provided the user specifies a log file destination and the path to that logfile is valid.
Related to Issue#67

We will keep it like this for the main round of 2024 but aim for a unified logging interface subsequently.

fix in commit 1989f7bc213143c4a01ba7f7974654acf9c3ce70


Only Download Audio

when i share any video link its download only audio.
$youtube = new YouTubeDownloader();

$download = $youtube->getDownloadLinks("https://www.youtube.com/watch?v=DGWpipnb9eY&t=1s");

if ($download->getAllFormats()) {
        return redirect($download->getFirstCombinedFormat()->url);
 }

Same Problem

Did you find any substitute?

not yet

use this at getPlayerApiResponse() in YoutubeDownloader.php
"clientName" => "WEB_EMBEDDED_PLAYER",
"clientVersion" => "1.20220731.00.00",


Unit test in_or_out

What is the feature being requested?
Implement unit test for in_or_out in draw/utility. Need assistance from most recent modifier @marcolincs  for use cases for code
What are use cases for this feature?
unit test

Old code, no testing required at this time.


Correct update message URL

The update message lists a repo URL that results in an error when using it to upgrade:
Collecting git+https://github.com/neilpquinn/wmfdata/wmfdata.git@release
  Cloning https://github.com/neilpquinn/wmfdata/wmfdata.git (to revision release) to /tmp/pip-req-build-8vc82m69
  Running command git clone -q https://github.com/neilpquinn/wmfdata/wmfdata.git /tmp/pip-req-build-8vc82m69
  remote: Not Found
  fatal: repository<EMAIL_ADDRESS>not found

This pull request updates update_message so the URL it outputs matches the one in the README file, which works.

Thank you, @nettrom! 😁


Enabling both http and https for a container

After adding a certificate for container in HOME/.dinghy/certs, regular port 80 serves only a redirect to https. I would like to enable both http and https.
I've noticed that proxy hardcodes reditect in nginx.tmpl: https://github.com/codekitchen/dinghy-http-proxy/blob/master/nginx.tmpl#L67-L72 . Maybe env variable like VIRTUAL_NO_HTTPS_REDIRECT could be added that would prevent this and would insert same config for http as when certificate does not exists?

Looks like this feature was added to nginx-proxy today: https://github.com/jwilder/nginx-proxy/pull/298

Cool, that sounds reasonable to me. https://github.com/codekitchen/dinghy-http-proxy is a fork now, because of the more invasive changes we had to make for it to work seamlessly with docker-compose v2 files for local dev. If somebody wants to rebase that upstream PR against it I'd be happy to merge it.


exit application when no network is ready

Is your feature request related to a problem? Please describe.
Please check if you reach the internet (for example ping google.com or something) when starting the app. If no network is up ->  exit application
Currently i have the problem with the app raspotify and systemd with the OS raspbian buster ( Debian ) . The desktop environment LXDE doesnt support network discovery ( network.target or network-online.target)
I made a workaround with waiting 15 seconds but that sucks because of various reasons. Easier would it be if you could just terminate the app when no internet connection is there, than i could tell systemd to restart the librespot-java until internet is up
What do you think ?

Have a look at #46, which is about the same issue. Have you tried https://github.com/librespot-org/librespot-java/issues/46#issuecomment-473178121?

up thats a duplicate , sorry about that


Better logging

Problem:
logging for the project is inconsistent. There needs to be a consistent strategy/crate for logging
Ideas:
https://docs.rs/log/latest/log/
exists, and the crate currently has it, but it currently isn't disable-able. Maybe there should also be a debug Resource that enables/disables it for testing?

superseded by
https://github.com/rydb/bevy_serialization_extras/issues/6


Thanks

Thanks man,
Your examples really helped me to understand the concepts of dynamic forms !
Regards,
Patrick

Your welcome @bresnjev


False multiple define of irq with IRQ_CONNECT

Describe the bug
The bug prevents me from setting up an interrupt with a certain interrupt number.
I am testing the irq on the STM32F4-Discovery. My first setup would be connecting an interrupt line to the switch on the board, turning on/off the led, to test the possibilities of the interrupt options provided by Zephyr.
When using the expected interrupt line 6, according to the Reference Manual page 374, I get the error, but I am able to compile using channel 11 though, but this does not seem to turn on the led anyways.
Generating ISR table .pio/build/disco_f407vg/zephyr/isr_tables.c
gen_isr_tables.py: multiple registrations at table_index 6 for irq 6 (0x6)
Has IRQ_CONNECT or IRQ_DIRECT_CONNECT accidentally been invoked on the same irq multiple times?
Traceback (most recent call last):
  File "/home/XXX/.platformio/packages/framework-zephyr/arch/common/gen_isr_tables.py", line 315, in <module>
    main()
  File "/home/XXX/.platformio/packages/framework-zephyr/arch/common/gen_isr_tables.py", line 307, in main
    + "\nHas IRQ_CONNECT or IRQ_DIRECT_CONNECT accidentally been invoked on the same irq multiple times?"
  File "/home/XXX/.platformio/packages/framework-zephyr/arch/common/gen_isr_tables.py", line 36, in error
    raise Exception()
Exception
*** [.pio/build/disco_f407vg/zephyr/isr_tables.c] Error 1

To Reproduce
Using the following code
#include <zephyr.h>

void led_isr ( void * arg ) {
    return;
}

int main(void)
{
    IRQ_CONNECT(6, 13, led_isr, NULL, 0);

    while (1)
    {
    k_sleep(1000);
    }
    return 0;
};

Steps to reproduce the behavior:

Create empty project
Build with platformio

Expected behavior
This builds, and I am able to add stuff to the led_isr routine at a later time.
Impact
Showstopper. I wil be running tight regulation which would at best be hardware interrupts, but I am unable to play with the options at the moment, and therefore unable to benchmark interrupt reaction speeds.
Environment (please complete the following information):

OS: Fedora 31, Linux 5.6.15
Toolchain Zephyr SDK
Version 2.2 provided by platformio

@lsangild could it be that you have a driver enabled that already uses that interrupt line?

Could that be caused by the usage of gpios = <&gpioa 0 GPIO_INT_ACTIVE_LOW>; in the .dts file?(I cannot test this until tomorrow).
I am building my own board with the STM32F407 and has used the Zephyr v2.1 version of the dts file as template.
If this is indeed the issue, is there another way of attaching to an interrupt created in the device tree?

So indeed,  interrupt line 6 is used for Ext IRQ PX0 lines which is matching button configuration (PA0).
Unfortunately we don't have an API yet to do what you want.
What you can try is removing the button from board configuration.

I have created a new project based of off Zephyr v2.2, which uses the original board file for the stm32f4_disco and has gpios = <&gpioa 0 GPIO_ACTIVE_LOW>; for the button.
Removing the gpio-key and the alias does NOT resolve the issue. On the other hand I have found that I am allowed to build when using IRQ_DIRECT_CONNECT, which seems odd to me.

@Isangild sorry for quick and bad answer yesterday.
Removing gpio button definition alone can't solve the issue.
Reason is current implementation of external interrupt controller is hardcoded and configure all lines  at compile time. This is at this step that isr_table is build and the double definition is generating the issue you can see when using IRQ_CONNECT.
I guess you don't see this issue with IRQ_DIRECT_CONNECT because it doesn't rely on compile time defined isr_table. But it won't work because of the conflicting configuration.
So, in order to proceed with your benchmark, you'll need to hack deep in drivers/interrupt_controller/intc_exti_stm32.c and comment code related to EXTI0_IRQn handling.

The reason I am doing this, is that I am searching for a more transparent way of connecting to hardware interrupts for e.g. pins, I2C, UART, DMA a.o.
Is the right step to use the CMSIS implementations of setting interrupt handlers?

IIRC, this means that you don't want to use current drivers in the way they are implemented.
Do you mean you intend only zephyr kernel and re-implement your own set of drivers ?
This is of course possible, but since zephyr idea is to provide a full framework, there is no specific guideline on how to achieve this.

I believe it might be my understanding of the framework which is wrong.
Looking at the API (again), I see that the functionality I want is indeed already available. The reason for my confusion is probably due to me feeling the abstraction from the hardware Zephyr offers is too far from the hardware, which gives cause to confusion on my part when going through the reference manual and attempting to find Zephyr implementations of the functionality I want to use.
I do believe that the error message given, should also attempt to explain why the interrupt is not available (who took it before me?). How should anyone know that Zephyr makes claims on the interrupts, even though they are not configured anywhere in my code (no usage of e.g. gpio_init_callback)


The client application (cmd/wl2k) is about to be removed from this repository

wl2k-go should be a pure framework project. The client application has already been moved to https://github.com/la5nta/pat (no release yet).
After the first release of Pat (v0.1), all files under cmd/wl2k should be deleted and the wiki should be moved to the new project.
A proper website and user community list is under construction.

Consider copying the old tags (and releases) to the new repository.

The new website for Pat has been launched at http://getpat.io


Fix: todo widget indentation.

Fixed the indentation in /todo widgets for the issue #20523
Screenshots:

The screenshots look great!  I posted a couple comments on the implementation.

I updated the PR. Have a look.

@zulipbot abandon


Cluster provisioning fails using RHEL 7.7 nodes with selinux on/off and upstream docker - 19.03

Version: v2.3.6-rc6
OS version: RHEL 7.7 , Selinux OFF
Docker: Upstream docker 19.03
Steps:

Create a cluster with K8s v1.17.4.-rancher1-1  using RHEL 7.7 nodes with Selinux off and upstream docker
Cluster config: 1 etcd, 1 control plane, 1 worker
Cluster provisioning is stuck with the below error:

This cluster is currently Provisioning; areas that interact directly with it will not be available until the API is ready.

Failed to get job complete status for job rke-network-plugin-deploy-job in namespace kube-system

Kubelet logs below:
E0318 02:46:56.253342   15861 kubelet.go:2173] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
W0318 02:47:00.329654   15861 cni.go:213] Unable to update cni config: No networks found in /etc/cni/net.d
E0318 02:47:01.264050   15861 kubelet.go:2173] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
W0318 02:47:01.338923   15861 eviction_manager.go:333] eviction manager: attempting to reclaim ephemeral-storage

The same issue was observed with K8s v1.15.11-rancher1-1 .
Note: Cluster provisioning works for RHEL 7.7 with native docker Selinux ON  and SELINUX OFF

Same issue is also seen with upstream docker and Selinux on.
OS version: RHEL 7.7 , Selinux ON
Docker: Upstream docker 19.03

kubelet logs:
I0318 04:20:33.852201    5541 eviction_manager.go:341] eviction manager: must evict pod(s) to reclaim ephemeral-storage
E0318 04:20:33.852226    5541 eviction_manager.go:352] eviction manager: eviction thresholds have been met, but no pods are active to evict
E0318 04:20:37.084943    5541 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
W0318 04:20:38.614981    5541 cni.go:237] Unable to update cni config: no networks found in /etc/cni/net.d
E0318 04:20:42.096253    5541 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
W0318 04:20:43.615218    5541 cni.go:237] Unable to update cni config: no networks found in /etc/cni/net.d
W0318 04:20:43.862450    5541 eviction_manager.go:330] eviction manager: attempting to reclaim ephemeral-storage
I0318 04:20:43.862492    5541 container_gc.go:85] attempting to delete unused containers
I0318 04:20:43.864761    5541 image_gc_manager.go:317] attempting to delete unused images
I0318 04:20:43.868854    5541 image_gc_manager.go:371] [imageGCManager]: Removing image "sha256:a0b920cf970d5a81ed13f7eb6107b73fc976ecf07706a42e6eb5afa49b8f7290" to free 83575396 bytes
E0318 04:20:43.870289    5541 remote_image.go:135] RemoveImage "sha256:a0b920cf970d5a81ed13f7eb6107b73fc976ecf07706a42e6eb5afa49b8f7290" from image service failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/coreos-etcd:v3.4.3-rancher1" (must force) - container 4a82b9876453 is using its referenced image a0b920cf970d
E0318 04:20:43.870329    5541 kuberuntime_image.go:120] Remove image "sha256:a0b920cf970d5a81ed13f7eb6107b73fc976ecf07706a42e6eb5afa49b8f7290" failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/coreos-etcd:v3.4.3-rancher1" (must force) - container 4a82b9876453 is using its referenced image a0b920cf970d
I0318 04:20:43.870343    5541 image_gc_manager.go:371] [imageGCManager]: Removing image "sha256:52f8e1d1ff1bfdfd9abdf7e06f6ea6936a5e110a637a82692fc8c1b5d36c224b" to free 282369658 bytes
E0318 04:20:43.872185    5541 remote_image.go:135] RemoveImage "sha256:52f8e1d1ff1bfdfd9abdf7e06f6ea6936a5e110a637a82692fc8c1b5d36c224b" from image service failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/rancher-agent:v2.3.6-rc6" (must force) - container 7f022a72c6e8 is using its referenced image 52f8e1d1ff1b
E0318 04:20:43.872215    5541 kuberuntime_image.go:120] Remove image "sha256:52f8e1d1ff1bfdfd9abdf7e06f6ea6936a5e110a637a82692fc8c1b5d36c224b" failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/rancher-agent:v2.3.6-rc6" (must force) - container 7f022a72c6e8 is using its referenced image 52f8e1d1ff1b
I0318 04:20:43.872230    5541 image_gc_manager.go:371] [imageGCManager]: Removing image "sha256:01abddb46913e4817f9cf37a082cdcb1c79a7b23cfecd207d2e4e067395f897c" to free<PHONE_NUMBER> bytes
E0318 04:20:43.873752    5541 remote_image.go:135] RemoveImage "sha256:01abddb46913e4817f9cf37a082cdcb1c79a7b23cfecd207d2e4e067395f897c" from image service failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/hyperkube:v1.17.4-rancher1" (must force) - container 468186a357fb is using its referenced image 01abddb46913
E0318 04:20:43.873795    5541 kuberuntime_image.go:120] Remove image "sha256:01abddb46913e4817f9cf37a082cdcb1c79a7b23cfecd207d2e4e067395f897c" failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/hyperkube:v1.17.4-rancher1" (must force) - container 468186a357fb is using its referenced image 01abddb46913
I0318 04:20:43.873818    5541 image_gc_manager.go:371] [imageGCManager]: Removing image "sha256:6e421b8753a296ca189ad2e69de3a9043e803f9dd0ab32f8046317ff51380857" to free 131657775 bytes
E0318 04:20:43.875878    5541 remote_image.go:135] RemoveImage "sha256:6e421b8753a296ca189ad2e69de3a9043e803f9dd0ab32f8046317ff51380857" from image service failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/rke-tools:v0.1.52" (must force) - container 135e9160dbfb is using its referenced image 6e421b8753a2
E0318 04:20:43.875907    5541 kuberuntime_image.go:120] Remove image "sha256:6e421b8753a296ca189ad2e69de3a9043e803f9dd0ab32f8046317ff51380857" failed: rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/rke-tools:v0.1.52" (must force) - container 135e9160dbfb is using its referenced image 6e421b8753a2
W0318 04:20:43.875938    5541 eviction_manager.go:417] eviction manager: unexpected error when attempting to reduce ephemeral-storage pressure: wanted to free<PHONE_NUMBER>854775807 bytes, but freed 0 bytes space with errors in image deletion: [rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/coreos-etcd:v3.4.3-rancher1" (must force) - container 4a82b9876453 is using its referenced image a0b920cf970d, rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/rancher-agent:v2.3.6-rc6" (must force) - container 7f022a72c6e8 is using its referenced image 52f8e1d1ff1b, rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/hyperkube:v1.17.4-rancher1" (must force) - container 468186a357fb is using its referenced image 01abddb46913, rpc error: code = Unknown desc = Error response from daemon: conflict: unable to remove repository reference "rancher/rke-tools:v0.1.52" (must force) - container 135e9160dbfb is using its referenced image 6e421b8753a2]
I0318 04:20:43.882385    5541 eviction_manager.go:341] eviction manager: must evict pod(s) to reclaim ephemeral-storage
E0318 04:20:43.882409    5541 eviction_manager.go:352] eviction manager: eviction thresholds have been met, but no pods are active to evict
E0318 04:20:47.107600    5541 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

W0318 04:20:48.615474    5541 cni.go:237] Unable to update cni config: no networks found in /etc/cni/net.d
E0318 04:20:52.119086    5541 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

This issue was seen because of having low disk space.


Problem with enums which have simple syntax

Each time we run the linter, the linter breaks it down even more.The problem only occurs with enums
Before lint:
enum Operator: string
{
    case equal = "{$eq}";
}

or

enum Operator: string
{
    case equal = "$eq";
}

After lint:

enum Operator: string
{
        case equal = "{

    public $eq}";
}

or

enum Operator: string
{
    case equal = "

    public $eq";
}

And next lint:

enum Operator: string
{
    case equal = "{

    public

    public $eq}";
}

Why do you even have variables in your enum cases? It's forbidden, because enum case value must be a contant.

@krzysztofrewak This is a test case that I came across by the way

You cannot fix style of invalid PHP code. Of course you can try to raise this topic in the original PHP CS Fixer repository, but I think it's a wrong example of using this tool.
Btw. original PHP CS Fixer fails here too, as checked here https://www.phptools.online/php-checker/result/2cb95dbe-c453-43ee-b5c3-55a63d94a328:
<?php

enum Operator: string {
    case Equal = "$eq";
}

transformed into:
<?php

enum Operator: string
{
    case Equal = "public $eq";
}


ARM docker hub images ?

Hello,
At the link https://hub.docker.com/r/mkaczanowski/pastebin/tags?page=1&ordering=last_updated  there aren't ARM arch images, even where the overview says:
ARM images:
docker pull mkaczanowski/pastebin:armv7
docker pull mkaczanowski/pastebin:armv8
Is it a mistake ? , Can you check OS/ARCH build ?
I want to try it on a raspberry pi, but first say -Thanks for all, great work with this project -

the image is not marked with proper arch, though the binary within the image (armv7, armv8) is compiled for arm


name="fromEmail" wrong

Hi Brad
First of all I like your plugin really and use it in every Craft installation.
In the latest Craft version 2.6.2779 and current version of ContactForm (1.7.0) – I guess – I found a bug. I set the recipient address to the address of my customer and the form field for the {{ message.fromEmail }} is in my template like in your code example.
Well, every time when I send a new mail, the {{ message.fromEmail }} is not the e-mail address in the completed field, it's the system e-mail address. In my case the same like the recipient address.
Maybe you guys have some time to check this as well. I tested it in four installation and everywhere I get the same issue.
Cheers from Switzerland,
Selim

Sorry guys I found the other issue #22, it's clear now!
It was a long day, haha …
Have a nice weekend!
Selim


add bulk_create to QuerySet for batched inserts

When you have an array of objects to put in the db, insert all of them at once in a single query:
entries = [
    Entry(headline='This is a test'),
    Entry(headline='This is only a test'),
]

# no return value; primary keys on object instances are not populated
Entry.objects.bulk_create(entries)

Inspired by Django's bulk_create. The batch_size and ignore_conflicts arguments are not implemented.

Resolves #55


Added fingerprint + code for Ikea RODRET Dimmer Button

Recently purchased this button from Ikea and was not able to find a driver. I have created the fingerprint, and added the additional logic this button needs for using zigbee cluster for Identify. Without this additional step the button will not send OnOff or Level (Long push) zigbee msgs.

Hello @MatthewJParker . Thank you for your interest.
At this time, we do not add fingerprints in our Edge Drivers Public repository, unless the device is pursuing WWST Certification. Please feel free to share the driver that you have created with the SmartThings community, https://community.smartthings.com/ or through your own preferred methods.
I will be closing this PR.


Changed possessive Its to the contraction form.

Just a quick typo fix - very common mistake!

@ramseyjacob, Thank you so much for this change. I wanna evolve this project to addresses various problems faced by first time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you share how you felt about the tutorial, your experiences with open source community etc?


Update for sequence libraries in relational databases

Hello,
I updated the makefiles to build with the current PostgreSQL and MariaDB client libraries and added a documentation with some build instructions in Debian 10 and an example library file for the library formats 16 and 17.
Best regards,
Frank

Thanks a lot!


[Peek] Spacebar peek in File Explorer's homepage Favorites tab doesn't work

Microsoft PowerToys version
WIP Peek build
Installation method
Other (please specify in "Steps to Reproduce")
Running as admin
None
Area(s) with issue?
Peek
Steps to reproduce
Activate spacebar peek with a file selected in the Favorites section of File Explorer homepage

✔ Expected Behavior
Peek opens and previews file.
❌ Actual Behavior
We hit a FileNotFoundException in Peek.Common.dll crashing app.
Other Software
No response

Update: seems like it's an issue with some files - might not be a Favorites-specific issue, as I'm able to add new files to favorites, and open them properly


Ensure no Hash to G2 code has broken

In #140 we make breaking changes about hashing to g2 because it was not used anywhere. Is that the case?

Yes - we only hash to G1 for the signatures. In G2 we only have public keys, which are derived from scalars, so no problem there.

@kobigurk should this be closed?

Yep


Add Dockstore (TRS) support to cwldep

Feature Request
Desired behaviour
After 1.5.0, look into hooking up Dockstore into the https://github.com/common-workflow-language/cwldep as a source for CWL tools and workflows.

Add dockstore as a source to https://github.com/common-workflow-language/cwldep#adding-file-dependencies. For example cwldep add myfile.cwl https://dockstore.org/containers/quay.io/cancercollaboratory/dockstore-tool-samtools-sort:1.0?tab=info copy and paste from URL for tool or a TRS ID cwldep add myfile.cwl https://staging.dockstore.org:443/api/api/ga4gh/v2/tools/quay.io%2Fcancercollaboratory%2Fdockstore-tool-samtools-view

Use Dockstore zip as an archive for https://github.com/common-workflow-language/cwldep#using-archives

Create tutorial walking through use of cwldep and Dockstore


Calling a function to return css within the jss macro?

What I'm trying to do
I'm trying to dynamically insert a bunch of color values into a jss macro
like this:
 let css_shell = jss!{
        "body":{
            // function called here
        }
    };

my colors are all going to be css custom property strings that look like this:
--custom-color1:#ffdade

the basic idea of what I'm trying at the moment with my function is this:
 let all_colors = vec![]
    for color in colors.iter() {
        let css = format!("--custom-color, {}", color.to_string())
        all_colors.push(css)
     }
    all_colors

I'm just not sure how to inject something like the array of values into the jss macro
Is this something that could be done better in vanilla Rust?

Unfortunately, this is not a use-case I had in mind with this project. Jss aimed to be a simple manipulation of css styles. I might stumbled a case for this in the future, but for now, I'm not going to change the core code to accommodate this use-case.

@ivanceras no problem! I'll go ahead and figure out an alternative solution for my issue. Thanks the response.


Amplify multi region app

Amplify CLI Version
12.12.1
Question
I need help to deploy the app in multiple regions. I created an Amplify app in ca-central-1 and now I would like to deploy it to ap-northeast-1 (both app sharing the same table).
I created a replica of the table to ap-northeast-1. After that, I created an appsync api using the global table as the data source with CDK and deployed it to ap-northeast-1. How can I create an Amplify app with an existing appsync api?
I don't know if I'm on the right track. What is the proper way to deploy the app in multiple regions?

Hey @stam0912, thank you for reaching out. I would suggest posting this in our Amplify discord community as the community of developers using Amplify may suggest alternatives and their implementation on your use case.
But you can you can utilize the Amplify.configure to pass in your existing API and config to reuse your existing or if you have an existing amplify_configuration.json you could utilize this to deploy in a new region.

Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue


Added the ability to show shadows on either drawer side independently.

I needed to show a shadow on one drawer side, but not on the other. I'm modifying the shadow rect based on a mask which indicates on which side you would like shadows. If showShadows is NO, no shadows are drawn.

I'm questioning whether this is worth pulling in. From a UX perspective, if one side had a shadow and the other did not, would that be strange? Seems so to me.


Fix: Convert Tile class to a simple struct datatype

Removes some unneeded member functions.
Wraps some functions into the anonymous namespace of translation unit.
Cleans up some #include definitions.

The PR will be closed via a regular "Merge". :incoming_envelope: :inbox_tray:
(Will be automatically merged in <24hrs from this message if no objections)

As there are no objections, will merge.


language setting not changing anything for me

what exactly is or should the language setting do? it defaults to english. my sensors are still german. even manually setting language: en is not chaning that behaviour.

ah, I was in default mode and language is ignored for api but used for web. after enabling mode: both I have at least sensors in english and some in german (the once coming from api).

Translation is currently disabled. There is a problem with using Friendly names inside integrations, as the id of the entity is set to be the same as the name. With multiple similarly named entities inside API there is a problem differentiating between them inside Homeassistant.
I will try to find a solution, but decided to leave it out for now.

I guess the web entities are still translated. Still a valid issue, which I will try to address.


OConcurrentModificationException while  creating relations between verticies

I created one instance of class Car with name "Mercedes" and want to create a relation between this car and two instances of class Person. Test throws an exception: OConcurrentModificationException. How can I avoid it and create as many edges as I want from many Persons to the same vertex Car?
Thanks, Vlad
    @Test
    public void testInsertFromDifferentThreads() throws InterruptedException {

    int threadsCount = 2;
    ExecutorService service = Executors.newFixedThreadPool(threadsCount);

    OrientGraph t1 = factory.graph();
    t1.begin();
    t1.getVerticesOfClass("Person").forEach(t1::removeVertex);
    t1.commit();

    t1.begin();
    OrientVertex mercedes = t1.addVertex("class:Car");
    mercedes.setProperty("name", "Mercedes");
    t1.commit();

    final CountDownLatch threadLatch = new CountDownLatch(threadsCount);
    final CountDownLatch mainLatch = new CountDownLatch(threadsCount);

    for (int i = 0; i < threadsCount; i++) {
        service.execute(() -> {
            ODatabaseDocumentTx tx = factory.openDatabase();
            ODatabaseRecordThreadLocal.INSTANCE.set(tx);

            OrientGraph t2 = factory.graph();
            t2.begin();

            OrientVertex luca = t2.addVertex("class:Person");
            luca.setProperty("name", "Luca");

            Vertex mercedes1 = t2.getVertices("Car.name", "Mercedes").iterator().next();
            luca.addEdge("Owns", mercedes1);

            threadLatch.countDown();
            try {
                threadLatch.await();
                t2.commit();
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            } finally {
                mainLatch.countDown();
            }
        });
    }
    mainLatch.await();

    assertEquals(threadsCount, t1.countVertices("Person"));
}

Stacktrace:
Exception in thread "pool-3-thread-1" com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #32:2 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v62 your=v61)
at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:55)
at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:42)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2020)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:1657)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:2105)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:917)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:483)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2376)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2346)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.commit(ONetworkProtocolBinary.java:1087)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:389)
at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:220)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)

Is there any updates with this issue?

@profic This seems the classic case where you should manage the exception and retry. Isn't it?

@lvca I have done it as you suggested. Now my test looks like:
@Test
public void testInsertFromDifferentThreads() throws InterruptedException {

    int threadsCount = 10;
    ExecutorService service = Executors.newFixedThreadPool(threadsCount);

    for (int x = 0; x < 100; x++) {

        OrientGraph t1 = factory.graph();
        t1.begin();
        t1.getVerticesOfClass("Person").forEach(t1::removeVertex);
        t1.getVerticesOfClass("Car").forEach(t1::removeVertex);
        t1.commit();

        t1.begin();
        OrientVertex mercedes = t1.addVertex("class:Car");
        mercedes.setProperty("name", "Mercedes");
        t1.commit();

        final CountDownLatch threadLatch = new CountDownLatch(threadsCount);
        final CountDownLatch mainLatch = new CountDownLatch(threadsCount);

        for (int i = 0; i < threadsCount; i++) {
            service.execute(() -> {
                ODatabaseDocumentTx tx = factory.openDatabase();
                ODatabaseRecordThreadLocal.INSTANCE.set(tx);

                OrientGraph t2 = factory.graph();
                Vertex mercedes1 = null;
                Iterator<Vertex> iter = t2.getVertices("Car.name", "Mercedes").iterator();
                boolean hasNext = iter.hasNext();
                try {
                    mercedes1 = iter.next();
                } catch (Exception e) {
                    System.out.println("no such element, but: " + hasNext);
                }
                while (true) {
                    try {
                        t2.begin();
                        OrientVertex luca = t2.addVertex("class:Person");
                        luca.setProperty("name", "Luca");

                        luca.addEdge("Owns", mercedes1);

                        awaitAndCountDown(threadLatch);
                        t2.commit();
                        System.out.println("commit successful");
                        mainLatch.countDown();
                        break;
                    } catch (OConcurrentModificationException e) {
                        System.out.println("try to commit again");
                        t2.rollback();
                    } catch (Exception ex) {
                        ex.printStackTrace();
                        mainLatch.countDown();
                        break;
                    }
                }
                t2.shutdown();
            });
        }

        mainLatch.await();

        assertEquals(threadsCount, t1.countVertices("Person"));
    }
}

Now I'm getting another exception when I'm trying to rollback ( t2.rollback ):
Exception in thread "pool-3-thread-8" com.orientechnologies.orient.core.exception.ODatabaseException: Database instance has been released to the pool. Get another database instance from the pool with the right username and password
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTxPooled.checkOpeness(ODatabaseDocumentTxPooled.java:138)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.rollback(ODatabaseDocumentTx.java:2425)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.rollback(ODatabaseDocumentTx.java:2420)
at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.rollback(OrientTransactionalGraph.java:176)
at com.edifecs.platform.df.dao.orientdb.OrientDBTest.lambda$testInsertFromDifferentThreads$0(OrientDBTest.java:147)
at com.edifecs.platform.df.dao.orientdb.OrientDBTest$$Lambda$16/876945112.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Ok, now I catch an eception and retry again. When O run test for 1000 records, I get about 200 concurrent modification exception, but when I run test second time and try to add more edges and vertices, there are no exceptions at all and the version of single vertex to which I create edges does'n increment.

@profic this is due to the use of the (ridbag)[http://www.orientechnologies.com/docs/last/RidBag.html] if you set  RID_BAG_EMBEDDED_TO_SBTREEBONSAI_THRESHOLD to 0 this should never happen but be aware that is a database settings and you may don't want this behaviour in other classes, just read the documentation for more info ;)


Make Sundials.jl API compatible with ODE.jl

This package has seen little updates since it was first created, long long ago, before keyword arguments was part of Julia.
The recent API discussions in ODE.jl, has resulted in an API draft, that should (probably) be followed in Sundials.jl aswell. The first PR in this direction has already been merged.

Is this still desirable? My guess is yes. What about the output format, specifically making yout a vector of vectors of type y0? That's a little contentious (see here), and I suspect changing Sundials output will be equally contentious, if not moreso. What are everyone's thoughts?

I think in an ideal world one should be able to switch between solvers from ODE.jl and the basic solvers provided by Sundials.jl without too much hassle. This implies that the output format should be the same, but as you observed there is still some debate about the best format.
The situation should become better if we switch to an iterator-like interface in ODE.jl (JuliaLang/ODE.jl#49). This should be easy to do for Sundials.jl as well. Collecting and storing the solutions in some container (Vector{Vector{Float64}}, Matrix{Float64}, custom type or whatever) could then be done independently and coherently for all solvers using the iterator interface.

This has been achieved with the common interface in common.jl. You can read the whole thing if you want here:
https://github.com/JuliaDiffEq/Roadmap/issues/5#issuecomment-260297928
A PR just merged which implements the common interface code (which used to be in DifferentialEquations.jl, then in OrdinaryDiffEq.jl, but now in Sundials.jl) for a type-based interface:
solve(prob,alg;kwargs...)

where if alg is one of the Sundials algorithms, CVODE_BDF and CVODE_Adams it will automatically be using Sundials. The other packages that use this same interface are OrdinaryDiffEq.jl (used to be in DifferentialEquations.jl) and ODEInterface.jl (through OrdinaryDiffEq.jl). ODE.jl / ODEPR49 will join the group soon (the code already exists in OrdinaryDiffEq.jl, but it's for JuliaODE/ODE.jl, which will move and stuff soon).
With these changes DifferentialEquations.jl has become a metapackage for the common interface, with Sundials.jl being one of the constituent packages (along with OrdinaryDiffEq.jl and ODE.jl). DifferentialEquations.jl's docs have become the docs for the common interface, and you can see here the algorithms which are currently included:
https://juliadiffeq.github.io/DiffEqDocs.jl/latest/solvers/ode_solve.html
Sundials is not compatible with the full common interface yet (this is the specification of the full interface:
https://juliadiffeq.github.io/DiffEqDocs.jl/latest/basics/common_solver_opts.html
) but hopefully it will be soon.
For an example for using the common interface, see the tutorials: https://juliadiffeq.github.io/DiffEqDocs.jl/latest/tutorials/ode_example.html

Closing since now both CVode and IDA are on the common interface, matching OrdinaryDiffEq.jl, ODEInterface.jl, and ODE.jl


After Login it show only Exception : Httperror, and dont show anything.

Bug report
Your Environment

Netflix add-on version: 1.2.0 , 1.10 Kodi 18.6
Operating system version/name: Android TV 5.1 Api level 22 kernel linux 3.10.61+
Device model:  MIBOX3 PRO MDZ-18-AA

Used Operating system:

[ v] Android
[ ] iOS
[ ] Linux
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

Describe the bug
after login with email and password it show
Exception : Httperror,
it said there is in log but i check on option system log there is no log..
Expected behavior
in version 0.13.26 it can login, but video cannot play.

it is a know issue,
you can update with the daily build


Add crescendo network

closes: https://github.com/onflow/docs/issues/487
This PR is branched off rework references PR
https://github.com/onflow/docs/pull/485
Needs to be merged up first

@bshahid331 can you review and merge to your branch.


optimal way to omit alpha channel in output, SVG to PNG

What are you trying to achieve?

I want to convert SVG to PNG without an alpha channel in the result, as well as get an optimized rendering of the text.
I am successfully converting SVG to PNG files with code shown below. The problem is the result contains 4 channels, RGBA, rather than what I expect, which is 3 channels RGB.
The SVG will always be 2 tones, white text on black background.
What is the best way to omit the alpha channel in the output?
Can I describe the SVG input in a way that avoids the transparency?
Is .resize() the best way to render desired sizes? What is the impact on the text aliasing?

Have you searched for similar questions?

Yes, it seems I can use operations like .removeAlpha() to prevent the output. Can this be optimized more?
Why is alpha added? Is the text causing the transparency?
Could I create a blank canvas of desired size and channels, and then composite the SVG onto it?

Are you able to provide a minimal, standalone code sample that demonstrates this question?

const fs = require('fs')
const sharp = require('sharp')

const metadata = {
  format: 'png',
  width: 1920,
  height: 1080,
}

const source = "<svg id=\"preview\" version=\"1.1\" baseProfile=\"full\" viewBox=\"0 0 1920 1080\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"> <style type=\"text/css\"> text { font-family: \"Roboto\", sans-serif } </style> <rect width=\"100%\" height=\"100%\" fill=\"black\" /> <text x=\"930\" y=\"370\" font-size=\"20\" text-anchor=\"end\" fill=\"white\">HELLO</text> <text x=\"990\" y=\"370\" font-size=\"20\" text-anchor=\"start\" fill=\"white\">WORLD</text> </svg>"

const bufferPromise = sharp(Buffer.from(source))
    //.removeAlpha()
  .resize(metadata.width, metadata.height)
  .toFormat(metadata.format)
  .toBuffer()

bufferPromise.then(buffer => {
    fs.writeFileSync(`./out.${metadata.format}`, buffer)
})

Are you able to provide a sample image that helps explain the question?

See attached.
I check the channels using magick identify -verbose out.png

SVG rendering is via librsvg, is always 4-channel RGBA and you are correct to use removeAlpha to reduce this to RGB output.
(32bpp RGBA is usually considered more optimal than 24bpp RGB for image processing as it can allow for the use of memory-aligned SIMD instructions.)
In terms of the use of resize vs density / viewBox, it depends on the image so you'll probably need to experiment for a given set of inputs.

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


CocoaPods support

Please add CocoaPods support. Thank you.

I can create a PR for this @yankodimitrov. Check here


fix(deps): update terraform-module

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-cbr
module
patch
v1.22.1 -> v1.22.2

terraform-ibm-modules/cbr/ibm (source)
module
patch
1.22.1 -> 1.22.2

terraform-ibm-modules/resource-group/ibm (source)
module
patch
1.1.5 -> 1.1.6

Release Notes

terraform-ibm-modules/terraform-ibm-cbr (github.com/terraform-ibm-modules/terraform-ibm-cbr)
v1.22.2
Compare Source
Bug Fixes

remove upper limit for required terraform version (#458) (f388f0c)

terraform-ibm-modules/terraform-ibm-resource-group (terraform-ibm-modules/resource-group/ibm)
v1.1.6
Compare Source
Bug Fixes

remove upper limit for required terraform version (#624) (0c4a55a)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.10.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix e2e

Changes

Update SIGSTORE_SCAFFOLDING_RELEASE_VERSION to v0.7.2
Update k8s matrix version for e2e

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/hold

/hold cancel


settings of multi-frame and number of classes (20)

Hi @timmeinhardt , thanks for your great work!
After checking the code, I found that (1) the number of clases is set to 20 even only the person is tracked; (2) multi-frame attention is performed, but no discussion is provided in the paper or this repo.. Here come the questions: why you set the number of classes to 20? Does the multi-frame attention contributs to the perfomance gain a lot?
Thanks.

Hi @timmeinhardt ,
Thanks for your great works!
I found that the number of classes is added by 1 during the definition of classifier.
https://github.com/timmeinhardt/trackformer/blob/d62d81023dbffb4a1820db39ce527b66df6d7b61/src/trackformer/models/detr.py#L37
At the post process, the last appended class is only removed at this line. But the computation of loss does not remove this appended class.
https://github.com/timmeinhardt/trackformer/blob/d62d81023dbffb4a1820db39ce527b66df6d7b61/src/trackformer/models/detr.py#L476
I am curious why you do such settings. Does this have a influence on the tracking performance.

The additional class is added for background prediction in the original DETR formulation. This means also including the class in the loss. However, when running with focal loss, i.e., in the deformable DETR formulation, we do not add the additional class. See this line where we subtract from the number of classes for focal loss
https://github.com/timmeinhardt/trackformer/blob/d62d81023dbffb4a1820db39ce527b66df6d7b61/src/trackformer/models/__init__.py#L34
Your second question is also related to the difference between DETR and Deformable DETR. When running the latter with focal loss we do not apply a softmax in the post processing. See this module:
https://github.com/timmeinhardt/trackformer/blob/d62d81023dbffb4a1820db39ce527b66df6d7b61/src/trackformer/models/deformable_detr.py#L286


add t and W

Thanks for the patch. I have been running with the broken encoding for quite a while, so we will have to find a way to make this backwards compatible


Tab titles set in application.coffee missing in build, present in scanner

As the title suggests, our app works perfectly in the scanner. However, when running an ad-hoc build, the tab titles are missing.
Scanner:

Build:

Any ideas?
App ID is 25870, running on runtime/scanner 4.0.2 (iOS 8.1). Problem is also present in 4.0.3-edge3.

Closing this as the problem turned out to be unrelated to Steroids.


ASP.NET Core integration test project template

I am trying to follow https://docs.microsoft.com/en-us/aspnet/core/test/integration-tests
It will be useful if VS contains project template for integration testing that correctly references everything. It could be non-buildable by default (you have to add SUT project reference), but other than that, it could be just:

Create from template
Reference SUT
Some namespace fixing

and yes, you have "hello world test app". May be it could even have 1 test that tests "/healthcheck"

Thanks for contacting us.
We haven't heard enough feedback from the community regarding this.
However, it's possible for community members to publish project templates as NuGet packages on their own and this will be a perfect fit for that: https://docs.microsoft.com/en-us/dotnet/core/tools/custom-templates


chore: Add minor improvements

Changes

add missing asserts;
add clarification import to README.md;
rm reduntant top-level fields;

fix https://github.com/surfstudio/flutter-surf-widget-test-composer/issues/4

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

Project coverage is 100.00%.  Consider uploading reports for the commit a4ef644 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            1         1
=========================================
  Hits             1         1

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


Editorial; "only" placement

"where the link register is only stored on the shadow stack" should be "where the link register is stored only on the shadow stack".

Updates in https://github.com/riscv/riscv-cfi/pull/72/commits


Template to add a new service

A just command that takes the service name as an argument and creates nix/<service-name>.nix and nix/<service-name>_test.nix with a hello-world service example.

Maybe also add the files in the respective lists of nix/default.nix and test/flake.nix?

Update README to add the service

Comments specifying to take inspiration from either the nixos module or devenv module if either of them already implement the service.

One idea: you could add a nix/dummy.nix (etc) and a just command that does a cp -r of it to ${name} along with some sd replacements


Respawn getting reset to world spawn after death when using Terralith

When setting respawn point using bed it resets to world spawn after death if both Origins and Terralith mod installed

This exact problem also happens to me too but I only have origins installed.

This will be fixed in 1.13.0-alpha.6 👍


0.0 in content behaves weirdly

$ echo 0.0 >foo.typ
$ typst foo.typ
error: must be positive
  ┌─ foo.typ:1:0
  │
1 │ 0.0
  │ ^^

Seems like 0. is treated as an enumeration.
If you write 1.0, then this would be formatted as:
1. 0 (note the space between the point and the zero)

Yeah typst seems to think decimal numbers in prose are sentence ending? $3.141$ and 3\.141 both behave more reasonably.

This is just buggy.

I believe this issue is fixed and can be closed: see #353 and
https://github.com/typst/typst/commit/a5c88c19b300c64fafd6a19e3f5f2fe6422a7b67


make spid ext. capability

https://github.com/nanoPayinc/NANOPAY/pull/10610

serviceProviderDAO is authorized with "serviceprovider" as permission prefix - https://github.com/foam-framework/foam2/blob/70455e1aae5d2c43e90a308c39ab8a261b960987/src/services#L592.
@kgrgreer @jlhughes do we want to instead use "capability" as the permission prefix for all filtered DAOs?

@noodlemoodle last request - if you could move all the Spid capabilities - rules, capabilities to the nanos/auth folder, then all MSP stuff is together.

serviceProviderDAO is authorized with "serviceprovider" as permission prefix -
https://github.com/foam-framework/foam2/blob/70455e1aae5d2c43e90a308c39ab8a261b960987/src/services#L592
.
@kgrgreer @jlhughes do we want to instead use "capability" as the permission prefix for all filtered DAOs?

All existing spid permissions use 'spid' as prefix.
Affects:
nanopay/src:

net/nanopay/auth/UserCreateServiceProviderURLRuleAction.js
net/nanopay/auth/groupPermissionJunctions.jrl
net/nanopay/msp/MspInfo.js
permissions
scripts

foam/src:

scripts
foam/nanos/auth/test/UserAndGroupPermissionTest.js
foam/nanos/auth/User.js
foam/nanos/auth/ServiceProviderAwareDAO.js
foam/nanos/auth/ServiceProviderAwareSupport.js
foam/nanos/ruler/Rule.js

So bit of work, but I'm good with moving to
capability.read.spid.
question, how does one get something like spid.read.* or that is simply not possible - not that we really need it.

@lchanmann @noodlemoodle Please re-review. I made the permission prefix changes. All tests pass on nanopy.


Compatibility with<EMAIL_ADDRESS>

Thanks! it makes perfect sense to me to cover new version of the ember-qunit.
Unfortunately, seems like currently CI is broken for some reason. I'll take a look and try to fix it this week.

just retargeted it to the v2-beta, but Travis seems to be weird last months, and I can't see aby builds re-triggered here https://travis-ci.org/github/san650/ember-cli-page-object/pull_requests. I'd be glad to test it locally, but first I have some questions..

just retargeted it to the v2-beta, but Travis seems to be weird last months, and I can't see aby builds re-triggered here https://travis-ci.org/github/san650/ember-cli-page-object/pull_requests. I'd be glad to test it locally, but first I have some questions..

@ro0gr I'm guessing the reason Travis isn't running is because of the branch: master filter here. Do you think it'd be okay to include v2-beta to that list?
I'll look into the bower stuff - iirc I just copied what was in a configuration above, it's possible that some of it is dated.

@ro0gr I'm guessing the reason Travis isn't running is because of the branch: master filter here. Do you think it'd be okay to include v2-beta to that list?
I'll look into the bower stuff - iirc I just copied what was in a configuration above, it's possible that some of it is dated.

ah... you a right. I've just retargeted it via GH interface, but seems your branch is still build on top of master. In v2-beta we have the travis config configured properly https://github.com/san650/ember-cli-page-object/blob/v2-beta/.travis.yml#L21-L22
Can you please rebase your branch on top of beta-v2

ah... you a right. I've just retargeted it via GH interface, but seems your branch is still build on top of master. In v2-beta we have the travis config configured properly https://github.com/san650/ember-cli-page-object/blob/v2-beta/.travis.yml#L21-L22
Can you please rebase your branch on top of beta-v2

#530 has been merged. Thanks!

#530 has been merged. Thanks!


Is it possible to get item info with the id using this module?

I am trying to get item prices with the item id.

Steam items do not have ids to my knowledge. It supports only market_hash_name as an input.


Fix incorrect depth ordering

Saves 4 B and makes both the test and the demo pass :+1:

Coverage remained the same at 100.0% when pulling d029a16ca19dbef88df15b9d6fbb99d7327668bc on state_test into 8e9f9bf8428e13c0fc2bc120ffbb03f5b3c7ef15 on fix/hooksDiff.


Clamp to point cloud not working properly

I drew a line on point cloud and it works fine. I attached a screenshot.
As you can see at the screenshot clamping to point cloud is not working correctly. I used clampToGround property to draw line above point cloud.
To get all points of the polyline (blue line on screenshot), I calculated the length of line and divided line per 1 meter, so I could get all points between the start point and endpoint of the line.
And to calculate the height of each point, I used clampToHeight() function.
But there are holes(gaps) on the point cloud, so clamping to hole is clamping to CesiumGlobe.
But I want to draw a graph on chartView with same shape to line on point cloud.
Are there any features in Cesium to do it?
Or is there any way to get all points of line with height property?
Browser: Chrome
OS: Mac OS Catalina
Best

For general questions like this, please use the Cesium forum. I believe this clamping is a render process, so you will want to use clampToHeightMostDetailed like in this code example to make sure the highest level of detail is loaded, and you might also need to set the point attenuation to fill in any gaps.

In addition to using clampToHeightMostDetailed I recommend setting the width to create a larger sampling area. The default width is 0.1 meters, a larger value like 1.0 will make it less likely to go through a gap in the point cloud.

Thanks for your help @lilleyse and @OmarShehata


Add kubernetes v1.25 supported version as v1.24

https://github.com/kubernetes/kubernetes/releases/v1.25.0
There seems to be no containerd related change
CRI changes are like below(v1.25 with v1.24):

in-place resource update https://github.com/kubernetes/kubernetes/pull/111645
evented PLEG https://github.com/kubernetes/kubernetes/pull/111642
user namespace https://github.com/kubernetes/kubernetes/pull/110535
checkpoint support https://github.com/kubernetes/kubernetes/pull/104907

containerd v1.6.8 is using cri-api v0.23.1 that is same as containerd v1.6.4

/ok-to-test

If updates are needed in the Pr; could you fix the typo in the commit message (kuberentes -> kubernetes)? In case we need to find back the commit, makes it easier 😁

If updates are needed in the Pr; could you fix the typo in the commit message (kuberentes -> kubernetes)? In case we need to find back the commit, makes it easier 😁

Updated. Sorry for the typo.

No worries at all; thank you!
(It was a really minor issue, but experience taught me that a silly typo can make you spend some time scratching your head "where was that commit?")
Oh! Could you also edit the title on GitHub (looks like I don't have permissions  to do so 😓)

title was uodated now. Thanks.


Add rbac rules for network-resources-injector to access configmaps

Signed-off-by: Zenghui Shi<EMAIL_ADDRESS>

note: required for openshift 4.8


Can't export or record video

this is a very silly problem to have. why on earth would you have a visualizer that cannot export video?

Closing this as the feature has been implemented in the desktop version.

lol i made brought up that issue a year ago
On Mon, Apr 30, 2018 at 4:17 PM, nasso<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/nasso/urmusic/issues/4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nasso/urmusic/issues/4#event-1602614979, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AbVjHhm5vEDQIsGgjOX2asWJzM1UNljNks5tt5uOgaJpZM4NZ7gb
.


[Android ]File size of 0 with Camera!

Hallo,
i don't anderstend. Your picker (^0.20.0) worked well on VW (Genomotion), but when i start app on Device (OnePlus One, CM13, Andriod 6.0.1) i can't to upload pictures from Camera. I found only one difference:
on vm: fileSize:6249
on device: fileSize:0
i think this is the problem or not??
my options:
const options = {           storageOptions: {               skipBackup: true,               path: 'images'           },           allowsEditing: false       };
response on device:
fileName: "image-81d70921-110b-44f6-8f46-056e2adbd5b4.jpg",  fileSize: 0,  path: "/storage/emulated/0/Pictures/image-81d70921-110b-44f6-8f46-056e2adbd5b4.jpg",  type: "image/jpeg",  uri: "file:///storage/emulated/0/Pictures/image-81d70921-110b-44f6-8f46-056e2adbd5b4.jpg"

I updated picker to the v0.20.1., but on device still not working. Please, any ideas?

It means that the image is empty.
Make sure you have the correct read/write access to device storage.

In my AndroidManifest.xml:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
and in response i see image height and weigh.

Try to add noData: false in your options.
And look if you have anything in the data response

ok thanks. i'll try it tomorrow.

Hallo yfuks
I tried your solution, and this is result:
with noData = true
fileName:"image-b12440ca-28fb-465e-bfc0-972d37e3192a.jpg"
fileSize:0
height:3120
isVertical:true
path:"/storage/emulated/0/Pictures/image-b12440ca-28fb-465e-bfc0-972d37e3192a.jpg"
timestamp:"2016-07-08T07:04:34Z"
type:"image/jpeg"
uri:"file:///storage/emulated/0/Pictures/image-b12440ca-28fb-465e-bfc0-972d37e3192a.jpg"
width:4160
with noData = false
data:"many symbols"
fileName:"image-f2303ab0-a82c-4754-a93a-6899e6253951.jpg"
fileSize:0
height:4160
isVertical:true
path:"/storage/emulated/0/Pictures/image-f2303ab0-a82c-4754-a93a-6899e6253951.jpg"
timestamp:"2016-07-08T06:44:40Z"
type:"image/jpeg"
uri:"file:///storage/emulated/0/Pictures/image-f2303ab0-a82c-4754-a93a-6899e6253951.jpg"
width:3120
this result only if i use Camera.
When i use image library it's all right and file uploading is done:
fileName:"IMG_20160708_081310.jpg"
fileSize:1209867
height:4160
isVertical:true
path:"/storage/emulated/0/DCIM/Camera/IMG_20160708_081310.jpg"
timestamp:"2016-07-08T06:13:10Z"
type:"image/jpeg"
uri:"content://media/external/images/media/20084"
width:3120
I don't understand why this is possible only when run it on device. Do you have an idia?

I tested all day and i have only one idea for that: my device had an empty file size response, because file is not write on card. I checked it on device in file properties and saw that file was created 2016-07-08 14:35:23 but in response from picker timestamp is 2016-07-08T14:35:22. And when i use Genymotion the timestamp is equal. May be this is a trouble, how do you think?

Hi guys, I am facing same issue here.
@zvat  have you figure it out?
By the way, I am using  Andriod 6.0.0 on MI 5

Hi @karkb, no this not worked for me on my OnePlus One, CM13, Andriod 6.0.1.

@zvat  I have test it on Nexus 6P - 6.0.1 and its working fine, but it still does not work on MI Android  6.0.0.
Any idea ?

@karkb, I don't have any other devices to test it.

Yesterday, i tested my app on :

Android 5, it's working fine.
Android 6 still does not work :(
I think, this trouble only on Marshmallow. I'll continue to find solution.

I don't have any idea why this picker don't want working with launchCamera. I think that the problem is: the launchCamera response is faster than file is created on device. One time had response with not NULL fileSize value, but that was only one time.
PLEASE, can anybody help me with this??? Maybe Developers have a solution???

Hi @zvat, I have tested on Nexus 6P - 6.0.1 and its working fine.
For MI Android 6.0.0. its working also when I turn off allowEditing option.

@zvat Try to play around with your phone permission settings to access camera folder.

Hi @karkb, i cheked all permissions on device and in my apk - it's all right. allowEditing option is off.
That's my launchCamera options:

const options = {
          storageOptions: {
              skipBackup: true
          },
          allowsEditing: false,
          noData: true
      };

we having the same problem with camera and read/write access to device storage.
attached android version info

Hi,
I too have the same issue It's not working in android 6.0.0
Please help me..

Experiencing this too. running on a OnePlus Two.
Android: 6.0.1
OxygenOS 3.0.2

    "react": "^15.3.0",
    "react-native": "^0.33.0",
    "react-native-image-picker": "^0.22.7",

I don't know how to fix this or move forward with it...would love a pull request.

I've experienced the same issue with a OnePlus 3, and running some experiments with react-native-fs indicates that it takes around *8 seconds for the reported file size to go from 0 to the correct value, and trying to use the image in the interim (like posting it to a service via fetch) will fail.
Whilst the delay seems very long (post-processing?), it could be mitigated with an effective waitUntilSaved, but I can't get this option to work for me, so I just have to add an arbitrary delay or keep checking every second or so.
@marcshilling I think this is the root of the problem, but I'm afraid I don't have the Java skills to provide a PR which updates waitUntilSaved to delay the callback until the file has a size > 0.  I hope this is helpful though.

@richsilv waitUntilSaved is  only supported on iOS at the moment, so that explains why it's not working for you. I think you're probably on to something there though.

@richsilv same problem I was seeing. The uri returned in the response does not actually contain anything for somewhere between 500ms and 10s.
I'm not sure how to fix but I did find a (very hacky) workaround that may work for some people. Sadly it's all in JS:
something like...
class ImagePickerComponent extends React.Component {
  constructor(props) {
    super(props);
    this.imageCheckInterval = null;
    this.state = {imagePath: null};
  }

  componentWillUnmount() {
    if (!_.isUndefined(this.imageCheckInterval)) {
      clearInterval(this.imageCheckInterval);
    }
  }

  openImagePicker() {
    ImagePicker.showImagePicker(options, (response) => {

      const CHECK_IMAGE_URI_INTERVAL_MS = 1000;

      if (Platform.OS === 'ios') {
        this.setState({imagePath: response.uri});
      } else {
        this.imageCheckInterval = setInterval( () => {
          // Use getSize as a proxy for when the image exists
          Image.getSize(
            response.uri,
            () => {
              clearInterval(this.imageCheckInterval);
              this.setState({imagePath: response.uri});
            }
          );
        }, CHECK_IMAGE_URI_INTERVAL_MS);
      }
    });
  }

  render() {
    if (this.state.imagePath) {
      return <Image source={{uri: this.state.imagePath}} />
    } else {
      return <View style={styles.placeholder} />
    }
  }

}

@marcshilling I have added support for waitUntilSaved for Android in PR https://github.com/marcshilling/react-native-image-picker/pull/474

Can someone confirm if this is still happening in the latest version on npm? There was a big Android rewrite recently.

@marcshilling I am unable to reproduce this error with the newest version 0.26.2 and RN 0.42. I tried on a LG G4 with Android 6, and a Samsung Galaxy S4 on Android 5

@marcshilling it's still has a problem with the filesize 0

I have same problem with  LG D855 G3. (Android 6.0)


fix: auto height container computations

Description

[ ] Fixes issue where fixed container doesn't scroll when content exceeds the scrollview
[ ] Fixes issue where containers don't always collapse, no consistency
[ ] Fixes issue where redo doesn't cause auto height computations
[ ] Fixes issue where MainContainer has unnecessary scroll
[ ] Fixes issue where Tabs Widget has unnecessary scroll

Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

Yes, we're adding all the tests we will be adding to this doc.
https://www.notion.so/appsmith/Cypress-Test-scenarios-50557ff33f2745498396a4215b9a77ed

/ok-to-test sha=4f8adef