breaking changes in HA Core 2024.1

hey!
Running beta 2024.1.b0 and looks like there's quite a few changes that have afffected the Dyson integraion. All my fans are not wokring. Here's my logs there are several. :
Please let me know if you need more information.
Logger: homeassistant.components.fan
Source: helpers/entity_platform.py:507
Integration: Fan (documentation, issues)
First occurred: 3:26:16 PM (5 occurrences)
Last logged: 3:26:17 PM

Error adding entities for domain fan with platform dyson_local
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 406, in capability_attributes
    FanEntityFeature.SET_SPEED in supported_features
TypeError: argument of type 'int' is not iterable

Logger: homeassistant.components.fan
Source: helpers/entity_platform.py:368
Integration: Fan (documentation, issues)
First occurred: 3:26:16 PM (5 occurrences)
Last logged: 3:26:17 PM

Error while setting up dyson_local platform for fan
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 406, in capability_attributes
    FanEntityFeature.SET_SPEED in supported_features
TypeError: argument of type 'int' is not iterable

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:507
Integration: Climate (documentation, issues)
First occurred: 3:26:16 PM (3 occurrences)
Last logged: 3:26:17 PM

Error adding entities for domain climate with platform dyson_local
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 333, in capability_attributes
    if ClimateEntityFeature.TARGET_HUMIDITY in supported_features:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:368
Integration: Climate (documentation, issues)
First occurred: 3:26:16 PM (3 occurrences)
Last logged: 3:26:17 PM

Error while setting up dyson_local platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 333, in capability_attributes
    if ClimateEntityFeature.TARGET_HUMIDITY in supported_features:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'int' is not iterable

Logger: homeassistant.components.fan
Source: helpers/deprecation.py:204
Integration: Fan (documentation, issues)
First occurred: 3:26:08 PM (8 occurrences)
Last logged: 3:26:08 PM

SUPPORT_DIRECTION was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
SUPPORT_OSCILLATE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
SUPPORT_PRESET_MODE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
SUPPORT_SET_SPEED was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues

Logger: homeassistant.components.climate.const
Source: helpers/deprecation.py:204
Integration: Climate (documentation, issues)
First occurred: 3:26:11 PM (9 occurrences)
Last logged: 3:26:11 PM

HVAC_MODE_COOL was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
HVAC_MODE_HEAT was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
HVAC_MODE_OFF was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
SUPPORT_FAN_MODE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
SUPPORT_TARGET_TEMPERATURE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues

Logger: homeassistant.const
Source: helpers/deprecation.py:204
First occurred: 3:25:56 PM (4 occurrences)
Last logged: 3:26:11 PM

TEMP_CELSIUS was used from nest_protect, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/imicknl/ha-nest-protect/issues
TEMP_CELSIUS was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
TIME_HOURS was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues

Ahh thanks for the warning! I guess I now what I'll be doing this weekend :sweat_smile:

I also get this one about changing:
custom_components.dyson_local.fan.DysonPureCoolEntity
to
FanEntityFeature.SET_SPEED|OSCILLATE|DIRECTION|PRESET_MODE: 15
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1520
First occurred: 10:42:54 (2 occurrences)
Last logged: 10:42:54

Entity None (<class 'custom_components.dyson_local.fan.DysonPureCoolEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <FanEntityFeature.SET_SPEED|OSCILLATE|DIRECTION|PRESET_MODE: 15>, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Yep, I'm also getting a nice batch of warnings about future deprecations.
My device is a Dyson Pure Hot+Cool Link HP03
2024-01-08 18:31:36.746 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.751 WARNING (MainThread) [homeassistant.const] TIME_HOURS was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.761 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_BATTERY_CHARGING was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.BATTERY_CHARGING instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.765 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_BATTERY_CHARGING was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.BATTERY_CHARGING instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.880 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.884 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.889 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.895 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.900 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.905 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.911 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.916 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.956 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.COOLING instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.961 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.967 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.972 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.978 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.982 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.986 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.991 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:36.996 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2024-01-08 18:31:37.000 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues

Fixed by #111

Please feel free to update to v1.3.7 which should resolve this.

thanks for the update!! 1.3.7 fixed like 95% of the error logs. Now, there are only 2:
Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:507
Integration: Climate (documentation, issues)
First occurred: 9:29:13 PM (1 occurrences)
Last logged: 9:29:13 PM

Error adding entities for domain climate with platform dyson_local
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1278, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 941, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1062, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1001, in __async_calculate_state
    attr.update(self.state_attributes or {})
                ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 384, in state_attributes
    if hvac_action := self.hvac_action:
                      ^^^^^^^^^^^^^^^^
  File "/config/custom_components/dyson_local/climate.py", line 72, in hvac_action
    return HVACAction.COOL
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 784, in __getattr__
    raise AttributeError(name) from None
AttributeError: COOL

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:368
Integration: Climate (documentation, issues)
First occurred: 9:29:13 PM (1 occurrences)
Last logged: 9:29:13 PM

Error while setting up dyson_local platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 752, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1278, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 941, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1062, in _async_write_ha_state
    state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1001, in __async_calculate_state
    attr.update(self.state_attributes or {})
                ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 384, in state_attributes
    if hvac_action := self.hvac_action:
                      ^^^^^^^^^^^^^^^^
  File "/config/custom_components/dyson_local/climate.py", line 72, in hvac_action
    return HVACAction.COOL
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 784, in __getattr__
    raise AttributeError(name) from None
AttributeError: COOL

also, does not look like the fans care compatible with the thermostat cards anymore. I think the sensor has to be climate.something versus fan.something

oh wait, the climate entity is missing for the hot+cool fans.

Still there for me.

@Anto79-ops Aha, your log errors and the climate entity being missing are both the same thing. I'd done a lazy sed find-and-replace since all the other new const enums were simple "replace a prefix with another prefix" operations. Turns out the climate entity states also changed from "COOL" to "COOLING" etc.
Fix incoming.

thank you, again! 1.3.9 has solved all issues :)


Gray and DarkGray are swapped

System Details

posh-git version/path: 1.0.0 beta3 C:\Program Files\PowerShell\Modules\posh-git\1.0.0
PowerShell version: 6.1.3
Git version: 2.21.0.windows.1
OS: Microsoft Windows NT 10.0.17763.0

Issue Description
Get-VirtualTerminalSequence returns the following for:
Gray:
DarkGray:

Expected output:
Gray:
DarkGray:

Preferably, ConsoleColor would be checked before HTMLColor.

We went back and forth on which to support first. We decided to support HtmlColor names first because supplying a ConsoleColor is easy - just set the color to ([ConsoleColor]::Gray).  Also, when you use a ConsoleColor you're going to get the color as defined by the index of your console host color tab:
PS> &(gmo posh-git) { EscapeAnsiString (Get-VirtualTerminalSequence ([ConsoleColor]::Gray)) }
`e[37m

PS> &(gmo posh-git) { EscapeAnsiString (Get-VirtualTerminalSequence ([ConsoleColor]::DarkGray)) }
`e[90m

Regarding the HtmlColor definitions of Gray and DarkGray, we  are just using what the System.Drawing.ColorTranslator.FromHtml() method is returning. If you think those values are wrong, you should submit an issue to the CoreFx repo.

It never occurred to me that HTML/CSS/SVG Gray would be darker than DarkGray, but here we are:

https://en.wikipedia.org/wiki/Web_colors


[Feature]: terminate sweep agents when sweep is done

Description
Hi
Can we add an option to terminate the sweep agent when the sweep is done?
Currently the behavior is, wait on queue for new sweep config indefinitely.
Use case:
We have a job scheduling system that allocate resources (CPU and GPU) and runs training script in the job queue. The currently behavior is problematic since it will wait on a queue indefinitely and won't release the resource when the sweep is done.
Suggested Solution
add option --terminate-on-finish
Alternatives
No response
Additional Context
No response

Hi @xiongyi-cui-TRI ,
Thank-you for writing in with this request. We have this feature on our radar and will be revisited in the future. I can add you to the ticket associated with this and ping you when more information is available.

Sounds good. Thanks!


Single click on icon will open yaml in editor

Provided Icon on every tkn resource, clicking on Icon will open the yaml on the editor.
Fix: #224

Looks good. Could we change the icon to something that says "open"? Since some of those objects are not editable for example PipelineRun. User can't re-apply those objects

@siamaksade can you check the icon in image look goog to you?

Codecov Report

Merging #241 into master will increase coverage by 0.09%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #241      +/-   ##
==========================================
+ Coverage   71.09%   71.18%   +0.09%
==========================================
  Files          37       37
  Lines        2363     2367       +4
  Branches      396      395       -1
==========================================
+ Hits         1680     1685       +5
+ Misses        683      682       -1

Impacted Files
Coverage Δ

src/tkn.ts
79.44% <69.23%> (+0.30%)
:arrow_up:

src/extension.ts
89.62% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


Fixes TypeScript select version inserts full path to tsserver.js

To fix it, I just used the dirname of tsServerPath
This PR fixes #105202

Thanks!


golangci-lint 1.22.2

as title

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f43a7c2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #9711   +/-   ##
=========================================
  Coverage          ?   42.16%
=========================================
  Files             ?      592
  Lines             ?    78155
  Branches          ?        0
=========================================
  Hits              ?    32953
  Misses            ?    41155
  Partials          ?     4047

Impacted Files
Coverage Δ

modules/queue/queue_wrapped.go
8.94% <ø> (ø)

modules/queue/queue_disk_channel.go
73.22% <ø> (ø)

Continue to review full report at Codecov.

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


Highly multi-dimensional gaussian_kde giving -inf logpdf

My issue is about the fact that a highly multidimensional gaussian_kde object (like >1500 dimensions) will regularly return -inf regardless of the input for logpdf().
Reproducing code example:

import numpy as np
from scipy.stats import gaussian_kde
n = 2000
data = np.array([np.random.randn(5000) + (n*1) for n in range(0, n)])
gkde = gaussian_kde(data)
print(gkde.logpdf(np.arange(0, n)))

Error message:

[-inf]

Scipy/Numpy/Python version information:
1.5.0 1.18.5 sys.version_info(major=3, minor=8, micro=3, releaselevel='final', serial=0)

Have opened the above PR to deal with this instability which seems to come from an overflow in the determinant determination.


add split mode to write a separate file for each input file

This PR adds a new command line flag -split to write each input file to a separate output file.
This makes reading the git changelog for the generated files much nicer, because diffs are contained to a single file.

I don't think this is a good feature. Naming files by number isn't useful and will cause huge diffs when files are added or removed. It is possible that naming them by the file they encode is good, but that is difficult also since files can be in subdirectories, so it's hard to guarantee uniqueness. Overall I don't think this feature is going to get merged.


*_anaconda command line programs not working on windows...

Oddly, they do work on OS X, but Windows gives a 'not recognized as an internal or external command...' error.

They aren't getting labeled as .exe files on Windows, but they are put in the scripts directory, i.e.:
# fails (generated by scripts in setup file)
c:\users\lori\appdata\local\continuum\anaconda3\scripts\new
# works (generated by entry_points in setup file)
c:\users\lori\appdata\local\continuum\anaconda3\scripts\angle.exe

Never mind -- pmag_gui_anaconda is only required for OS X.  I will update the Cookbook accordingly.


PR for #44 ticket

https://blog.golang.org/go-fonts
I didn't find any way to run tests, so please check it carefully.

closed through #43


Update iframe.js

Added postmessage api

use my iframe extension, its better in like every way over the default one lol
https://github.com/Mistium/Origin-OS/blob/main/Extensions/iframeplus.js


When using service-worker preset, process.env and import.meta.env should be inlined

Environment
Nuxt 3.0.0-rc.13 with Nitro 0.6.1, Node 16.18.1.
Reproduction
N/A
Describe the bug
When using the service-worker preset, I see the sw.js imports server.mjs directly. Process.env is preserved, but obviously, there is no process.env in the browser.
Additional context
No response
Logs
No response

This is to allow shimming. virtual process.env in browser is empty.


removed reference to eve::detail::map from the unit tests

Removed reference to eve::detail::map from the unit tests.
This is in preparation for a larger PR that will sunset the current eve::detail::map function in favour of a new non-api-compatible implementation that reduces the number of template instantiations.
The new tts::map replacement should be easier for the compiler to type-check and is drop-in for the most part.
This new function return type is based on its first parameter which greatly simplify the return type computation, at the cost of having to pass wide parameters first. This only breaks one test, unit.polynomial.abel.exe, that was fixed by reordering some parameters inside a call to map.

I meant - would it be nice to replace this one as well? Or is there some functionality new map can't do


balena-engine client hangs on first try if the balena-engine daemon is socket activated

Description

Steps to reproduce the issue:

Make the balena engine daemon socket activated. e.g. https://github.com/balena-os/meta-balena/pull/1408
Try to run a command e.g. DOCKER_HOST="unix:///var/run/balena-host.sock" balena-engine ps

Describe the results you received:
The first time balena-engine ps command won't run.
Press ctrl-c, run DOCKER_HOST="unix:///var/run/balena-host.sock" balena-engine ps again and it'll work. The balena-engine service has started. But the first command doesn't seem to respond
Describe the results you expected:
DOCKER_HOST="unix:///var/run/balena-host.sock" balena-engine ps to just work
Additional information you deem important (e.g. issue happens only occasionally):
Output of balena-engine version:
root@balena:~# balena-engine version
Client:
 Version:       17.12.0-dev
 API version:   1.35
 Go version:    go1.9.7
 Git commit:    a010e2e2bcd935046d6bcf20aa69e1c93de1c8fc
 Built: Mon Feb 25 12:54:08 2019
 OS/Arch:       linux/amd64
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:      17.12.0-dev
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.9.7
  Git commit:   a010e2e2bcd935046d6bcf20aa69e1c93de1c8fc
  Built:        Mon Feb 25 12:54:08 2019
  OS/Arch:      linux/amd64
  Experimental: true
root@balena:~#

Output of balena-engine info:
root@balena:~# balena-engine info
Containers: 2
 Running: 1
 Paused: 0
 Stopped: 1
Images: 3
Server Version: 17.12.0-dev
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 12
 Dirperm1 Supported: true
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan null
 Log: journald json-file
Swarm:
 NodeID:
 Is Manager: false
 Node Address:
Runtimes: bare runc
Default Runtime: runc
Init Binary: balena-engine-init
containerd version:
runc version: 13e66eedaddfbfeda2a73d23701000e4e63b5471
init version: 949e6fa-dirty (expected: 949e6facb7738)
Kernel Version: 4.18.14-yocto-standard
Operating System: balenaOS 2.29.2+rev5
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 989.2MiB
Name: balena
ID: L5O3:74C2:JDAB:EKFU:HUIQ:325T:QBNZ:B4YQ:XTAZ:XXOM:6UQQ:HKRG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 31
 Goroutines: 52
 System Time: 2019-02-25T13:28:56.373033894Z
 EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
 <IP_ADDRESS>:5000
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):
balena-engine running inside balenaOS v2.29.2 on an Intel NUC in a VM https://github.com/balena-os/meta-balena/pull/1408

@ZubairLK
Looks like you're setting the API host to -H unix:///var/run/balena-host.sock on the socket activated balena-host.service
It works as expected for me after replacing it with -H fd://

Thanks
user-error..


Stop restarting a process for service recreation

DebugOverlayService should live along with an app process and never be restarted again automatically after its death, causing unnecessary process restart 😭

:eyes:

LGTM 💯


column "x" is of type jsonb but expression is of type character varying

Describe the bug
I have a table
create table model1
(
    id  serial primary key,
    doc  jsonb   default '{"flag": false}'::jsonb not null
);

and I want to insert data

    const con = new Connection({
        host: 'localhost',
        user: 'postgres',
        database: 'postgres',
    });
    await con.connect();
    await con.query('INSERT INTO model1 (doc) VALUES ($1)', {params: [JSON.stringify({ flag: true })]});

I get the following error:
Error: column "doc" is of type jsonb but expression is of type character varying

    at /Users/marc/bude/deepkit-framework/packages/postgres/node_modules/postgresql-client/cjs/protocol/pg-socket.js:229:44
    at Backend.parse (/Users/marc/bude/deepkit-framework/packages/postgres/node_modules/postgresql-client/cjs/protocol/backend.js:51:13)
    at PgSocket._handleData (/Users/marc/bude/deepkit-framework/packages/postgres/node_modules/postgresql-client/cjs/protocol/pg-socket.js:222:23)
    at Socket.<anonymous> (/Users/marc/bude/deepkit-framework/packages/postgres/node_modules/postgresql-client/cjs/protocol/pg-socket.js:201:42)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Socket.Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

(btw, the error stack is wrong. My original call con.query is not in the stack trace)
Expected behavior
Goes through without warning like the pg package, which works like that.
I do not expect to pass for each parameter an explicit type, as I have often many parameters and this would destroy UX.
Desktop (please complete the following information):

OS: macOS

Hi,
Do not stringify the object. Just pass the object in the params.
const doc = { flag: true };
await con.query('INSERT INTO model1 (doc) VALUES ($1)', {params: [doc]});

Or you can define bind parameter explicitly.
const doc = { flag: true };
await con.query('INSERT INTO model1 (doc) VALUES ($1)', {
    params: [new BindParam(DataTypeOIDs.jsonb, doc)]
});

thanks! I do use literal values for jsonb too, so string, number, etc. This works fine with pg so would be lovely if this library could support it as well without having to specify each param manually

pg uses text format for data transfer which is very slow and cumbersome. postgresql-client uses binary format which is fast and performant. This is why we created this library.
In text format everything is converted to the text than sent to the server; dates, numbers, binary data etc. This is why you can use any value to send as literal. text format is easy to implement and easy to use.
If there is no intense data flow in your application, you can use other libraries which uses text format. If your application needs performance you should use a library which uses binary format.

How is text format slower? Last time I benchmarked, V8 was notoriously slow converting utf-8 text to binary and vice versa. Do you have any benchmarks showing that binary is actually faster for Postgres? From my experience writing very fast binary encoder in JS, it gets slower and slower compared to JSON.parse for example the longer strings are in there. if your message primarily consists of numbers and small strings (<12 characters), binary is faster though.

You can find some benchmark result in the internet. Here is some links that i found.
<EMAIL_ADDRESS>In the text protocol, data is first converted to string on the client side, sent to the server, and parsed by the server again. This workflow couses so much cpu time for both client and server side. And also the data size to be transered over the network gets larger.
Text transfer format:
[Client] raw data -> stringify -> transfer -> [Server] - parse -> execute -> stringify -> transfer -> [Client] parse
Binary transfer format:
[Client] raw data -> transfer -> [Server] - execute -> transfer -> [Client]

Thank you! I'll play around with your client in binary mode and compare it with our pg implementation in our benchmark suite. Would be awesome if your client is much faster, then we could switch our orm postgres adapter to yours.

Thank you! I'll play around with your client in binary mode and compare it with our pg implementation in our benchmark suite. Would be awesome if your client is much faster, then we could switch our orm postgres adapter to yours.

Hi marcj. I'm curious if you were able to create a bechmark result.

I wrote my own postgres client and had the same performance characteristics that I had with mongo client driver. for fixed size data like numbers, boolean, etc the binary is faster. but as soon as you have strings in your app the game changes. you become substantially slower for medium sized strings since you have big beefy loops of utf8 decoders, or use native calls which has call overhead. this always kills performance for anything binary + utf8 related in Nodejs. this will be resolved with wasm stringref proposal but it will take several years

This is interesting. Can i see the source?


Add explicit "auto" quotePreference

Fixes #29762
Today, VS passes "" for UserPreferences.quotePreference to imply "infer from existing imports". This was causing an exception to be thrown from createCompletionEntry/quote when wrapping some properties in quotes.
This PR accomplishes two things

For older editors, handle "" more gracefully so the exception is avoided
Allow newer editors to be able to pass in an explicit auto option for this preference.

@jessetrinity wrote this.
FYI @mjbvz for VS Code
@RyanCavanaugh we'd like to take this into 3.3.2 as a fix for that exception.

Merged a bit prematurely, still testing, please feel free to keep reviewing

I would have guessed that this feature had reasonably good test coverage, so it should be straightforward to copy/modify one to cover auto.

Is VS going to start sending auto?  I guess there's no reason to continue sending empty string (i.e. to old servers) if it caused exceptions.

@amcasey yes there will be a VS side change incoming to send auto, but probably a little bit later.


⚠ GitLab Server has degraded performance

In a956cd5, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 15924 ms

Resolved: GitLab Server performance has improved in 798effa.


Deploy Minio instance at Jena.

Description of the feature
Deploy an instance of Minio at Jena @https://minio.nmrxiv.org
Implementation steps or Task

[x] VM Provisioning
[x] Cluster creation in Rancher
[x] Expand the storage to 16TB provided by the URZ.(Right now its 70GB)
[x] Deploy Minio via Helm Chart.
[x] Hook up the storage file system
[x] Expose the API or URL
[x] Integration testing with Laravel

As discussed with URZ the plan is to move to Ceph Storage at some point when its ready.


Not showing flattened text with a warning: Error during font loading: Font "F0" is not available.

Attach (recommended) or Link to PDF file here:
inputFields-Flattened-Output.pdf
Configuration:

Web browser and its version:
Chrome or Edge latest version
Operating system and its version:
Windows 11
PDF.js version:
Latest version (V3.6.172)
Is a browser extension:
No
Steps to reproduce the problem:

open file in https://mozilla.github.io/pdf.js/web/viewer.html
warning that error during font loading

What is the expected behavior? (add screenshot)
Why is not falling back to default font if the font needed (Helvetica) is not available
What went wrong? (add screenshot)
I would expect the missing text to visible, I could see if I add Helvetica font as embeded font

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

I would expect the missing text to visible, I could see if I add Helvetica font as embeded font

Unfortunately your PDF document is simply corrupt, since it tries to access a font (here named F0) that it doesn't actually contain; hence it's not entirely reasonable to assume that this should work unfortunately.
Given how uncommon this situation is, and that the fault is clearly with the PDF document itself (or possibly with the software creating that file), it's not immediately clear to me that trying to hack-around this in the PDF.js library makes sense.

That said we don't have the widths, but we could use something like:
https://github.com/mozilla/pdf.js/blob/5ae353cf4da5e7fb6e01c166aa5f4f02f12e083a/src/display/canvas.js#L2171-L2184
and then compute the width in using measureText.
I'm very likely overlooking some details...


Update modern-desktop-deployment-and-management-lab.md

Learn Build status updates of commit 2a616ae:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/enterprise/modern-desktop-deployment-and-management-lab.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit f96ec7e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/enterprise/modern-desktop-deployment-and-management-lab.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Wrong directory when compiling javascript and extracting vendor libraries combined with a custom webpack output

Laravel Mix Version: 4.0.14
Node Version (node -v): v11.7.0
NPM Version (npm -v): 6.5.0
OS: macOS Mojave

Description:
When running yarn run development or yarn run production with  a custom webpack output and extract() the compiled js file and vendor is in the wrong directory.
Result
// Actual
"/js//js/vendor.js": "/js//js/vendor.js?id=2634320e6a395cad66fa",
"/js//js/main.js": "/js//js/main.js?id=9290e4a2c71e4335353d",
"/js/manifest.js": "/js/manifest.js?id=cf5b735f0847479e5b7f",

// Expected
"/js/vendor.js": "/js/vendor.js?id=2634320e6a395cad66fa",
"/js/main.js": "/js/main.js?id=9290e4a2c71e4335353d",
"/js/manifest.js": "/js/manifest.js?id=cf5b735f0847479e5b7f",

Steps To Reproduce:

Add the code below to your webpack.mix.js
Run yarn run development or yarn run production

mix
.js('resources/app/js/main.js', 'public/js')

.version()

.extract()

.webpackConfig({
  output: {
    publicPath: '/',

    chunkFilename: 'js/[name].js'
  },
});

I'm getting the same issue. Hard to believe this is still out in the open. Are there just not that many developers using Vue on top of Laravel and extracting vendors?


[glad:x64-windows] build failure

Host Environment

OS: [Windows 10]
Compiler: VS2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install glad[core]
Failure logs

Cut and past the appropriate build messages from the console output.

Starting package 127/258: glad:x64-windows
Building package glad[core,loader]:x64-windows...
-- Note: glad only supports static library linkage. Building static library.
-- Downloading https://github.com/Dav1dde/glad/archive/7ece538856bf124d798ab323c8e1e64ebb83cb50.tar.gz -> Dav1dde-glad-7ece538856bf124d798ab323c8e1e64ebb83cb50.tar.gz...
-- Extracting source D:/vcpkgMgr/2019/prod/downloads/Dav1dde-glad-7ece538856bf124d798ab323c8e1e64ebb83cb50.tar.gz
-- Applying patch encoding.patch
-- Applying patch find_python.patch
-- Using source at D:/vcpkgMgr/2019/prod/buildtrees/glad/src/4ebb83cb50-009ec283eb.clean
-- This version of glad uses the compatibility profile. To use the core profile instead, create an overlay port of this with GLAD_PROFILE set to 'core' or set GLAD_PROFILE to 'core' in a custom triplet.
-- This recipe is at D:/vcpkgMgr/2019/prod/ports/glad
-- See the overlay ports documentation at https://github.com/microsoft/vcpkg/blob/master/docs/specifications/ports-overlay.md
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:146 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j8
Working Directory: D:/vcpkgMgr/2019/prod/buildtrees/glad/x64-windows-dbg
See logs for more information:
D:\vcpkgMgr\2019\prod\buildtrees\glad\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
ports/glad/portfile.cmake:138 (vcpkg_cmake_install)
scripts/ports.cmake:142 (include)

Error: Building package glad:x64-windows failed with: BUILD_FAILED
Elapsed time for package glad:x64-windows: 2.823 s

Please attach any additional failure logs mentioned in the console output.
install-x64-windows-dbg-out.log

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
Not sure what is needed to build core functionality for this port?
Installing a vcpkg port with core functionality should be a simple, no user configuration OOBE.

Can I ask why your leave vcpkg?

Duplicated to https://github.com/microsoft/vcpkg/issues/15481.

@StarGate-One, we’re apologize for the delay in responding, and not being of much help. In contrast, you provided help to vcpkg community in past years, our team really appreciate your contribution! We want you know that your assistance is so important for us and users.
Thanks again for your effort!

@JackBoosY - this is NOT a duplicate of #15481, the last commit to glad 7 or 8 days ago drastically changed the port where you need to build an triplet overlay just to get core features - have you tried building port glad with just the core feature?

-- This version of glad uses the compatibility profile. To use the core profile instead, create an overlay port of this with GLAD_PROFILE set to 'core' or set GLAD_PROFILE to 'core' in a custom triplet.
-- This recipe is at D:/vcpkgMgr/2019/prod/ports/glad
-- See the overlay ports documentation at https://github.com/microsoft/vcpkg/blob/master/docs/specifications/ports-overlay.md

@JackBoosY @PhoebeHui @NancyLi1013 /cc @ras0219 @BillyONeal @dan-shaw @strega-nil @vicroms

Thank you all, it has been fun working on this project with you.
You all do hard and good work.
I learned a lot, on what to do correctly but also what not to do.
The leaving of project has been building for some time, as I had stopped using vcpkg for OpenSUSE, Manjaro (Arch Based) linux for some time.
What started as a package manager for Windows to mimic the packages for MacOS/Linux which are substantially more mature, reliable and robust has morphed into a one size fits all including unsupported, is problematic at best.
Delays/low priority of implementing fixes to correct issues cause instability

vcpkg upgrade being unrecoverable when failing except a long draw out manual process.
changes to port features not included on ports in CI testing, a suggestion would be when a CI sees normally tested port but a feature not normally tested is changed, the CI should recognize and alter its test process to include the port feature for testing thus adding stability and robustness.

Keeping up with utilities, especially MSYS. There needs to be a dedication (person or process, the latter could bot scrape the websites of the vendors) of checking these each day and starting a new PR to test/implement the a new version before the older version is removed from the vendor site/mirrors, adding stability.
Expediting new functionality over correcting old issues contributing to instability. Yes I know fixing old issues is not glorifying and/or interesting. In my career, I made them a challenge or puzzles to solve, which made them interesting, figuring the how/why and what to do to make it right can be rewarding.
Of my 40+ years of IT experience, most on *IX (AIX, HP-UX, Solaris, some Linux) and mainframe (IBM, Bull, Honeywell, Burroughs, Sperry Rand/UNIVAC/UNISYS, DEC, VAX) with financial applications. Yes the users had windows machines, used Internet Explorer, Word and Excel to access and/or provide/update data to these systems.
I was hoping to learn Windows development in my retirement, and will still attempt this feat, but I need to figure out what to use to manage the windows packages. Maybe powershell-core.
Please do not take this as bashing or hating on MS or its people, because I do not mean it this way, I really thought I could learn and contribute, but I guess the *IX mentality in me is different than that in the *DOZE world - LOL. Not to say this is bad, as it is probably a good thing.
You never know, I may be back in a few months, take care all, I cherish the time spent with you.

@StarGate-One Thank you for your suggestion, and thank you again for your contribution!


Create DB Views for calls to speed up SQL lookup on Max aggregrations for Inventory

v_active_inventory_cluster_configs adds a view to select all currently
active cluster configurations
v_active_inventory_cluster_config_status_history adds a view to select
all status changes for currently active cluster configurations
v_active_inventory_cluster_latest_status adds a view to select the
latest status from the cluster configs and the status history

/lgtm

/test pre-main-reconciler-integration-k3d


Internationalization issue is not fixed

After previous fix. I had new issue.
How to reproduce:

Update plugin.
Add new language in  settings > Internationalization
Log out, login
Add new navigation menu.
Prev menu got lost one language and get new All menu items just destroys :( . New menu will get first and last language. Each next menu got strange language relations

As i see the issue is in menu language relations table. Also removed EN language, but on DB i still see deleted locale:

Hi @oliynykroman
Did you restart strapi server after adding new language version to the Strapi? On server bootstrap these kind of issues should be resolved. If these issues persist after server restart we will need to look deeper into the issue.
We're sorry for your inconvenience.

Hi @CodeVoyager
Yes, i did. Also made build. I made short video with issue:
How to reproduce:

Had some menu with two languages versions (for ex. Header)
Added new language.
Logged out, Restarted server, made build.
Logged in admin. See bugs like in video.

Also remove some internationlization doesn't affect locales in DB
https://github.com/VirtusLab-Open-Source/strapi-plugin-navigation/assets/29798653/043f5ca5-8ffa-4596-93b2-79d875ffa90c

Hi @oliynykroman,
Hopefully this will be the last of i18n issues. There's a PR to cover issues mentioned by you.
FYI: Navigations are not deleted from DB when locale version is disabled in admin panel, by design. We debated that decision and decided that locale version change is easy to made by hard to revert. If anyone needs those items removed it can be easily done by SQL query. We are open for discussion though.

Released as part of 2.4.0.


Tauri bundle for desktop apps

Hey, did you consider using tauri for desktop apps instead of electron? According to internet, it will reduce binary size just to several megabytes due to using system webview instead of chromium bundle. More info: https://www.smashingmagazine.com/2020/07/tiny-desktop-apps-tauri-vuejs/

Hey, very interesting suggestion, I didn't know this project!
It would be really nice to be able to reduce the binary size on desktops, but it seems that Tauri doesn't have as much features as Electron, probably because the project is still in alpha version. For example it's not possible to open a folder in the system file explorer.
So for now this is not a perfect replacement, but it's definitely promising and I will follow the evolution of this project. Thank you for letting me know about it.

After some research, I've come to the conclusion that Tauri will not be suitable for bundling an app built with Ionic, because of the incompatibility between Ionic and Tauri's WebView. It can be solved by installing Microsoft's WebView2, but we end up with the same problem of binary size.
So I'm closing the issue for now, but i'll reopen it if there's anything new.


Remove all references to externalNullifier

Everything should be now called action_id here.

This was done on docs release for all occurrences except the Semaphore interface.


Some Wayland games unable to capture mouse clicks

System Info and Version
 System/Version info
Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

System Information:
System name: Linux
Node name: Kappa
Release: 6.9.2-zen1-1.1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Sun, 26 May 2024 20:42:15 +0000

GPU information:
07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070] [10de:2484] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Regression
Description
I've tested 3 games, mainly Minecraft: Java Edition, osu!lazer, and Cemu Emulator. When running all 3 under a native backend, Minecraft and Cemu do not respond to mouse clicks, and even to hovering over buttons it doesn't highlight them. With osu!lazer, my mouse just doesn't move at all.
This is a regression between hyprland 0.40.0 and -git.
How to reproduce
Minecraft:

https://github.com/BoyOrigin/glfw-wayland use this and run 1.19+ with it

osu!lazer:

run with envvar SDL_VIDEODRIVER=Wayland

Cemu:

run with envvar GDK_BACKEND=wayland

Observe in all 3 games that you are unable to click any buttons or interact at all with the window with your mouse, and for osu!lazer your mouse may even be stuck in place.
Crash reports, logs, images, videos
No response

can ya bbbbisectt

can ya bbbbisectt

Yup, here's the info I got:
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
0cfdde3d1acbfbf698af17f6986fbc4d644214da
121d3a72137d4780602cf245704615f63357ea22
fc72df8e58bc127442a245f2f29a3246acf77cce
We cannot bisect more!

was unable to test these 3 commits due to simply being unable to open any programs or do anything within Hyprland. Let me know if you need any more info!

likely seat then, ping me after #6268 is merged please, I'll test this when I am back on my pc

@vaxerski 👋🏾

I'll add this to my 0.41 blockers list to be looked at after the aforementioned mr is done

can you test latest git

fixed, thank you!!


Update s3, sdk-core, sqs to 2.17.130

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.17.121 to 2.17.130.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #427.


Nick: Watch +27840980932

Nick requests the watch of the watch_number +27840980932. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by cocomac in Charcoal HQ


Use AWS SDK v2 if available for AWS credential fetching

To fetch AWS credentials from the environment:

Use AWS SDK v2 if available on the classpath
Otherwise, use the existing driver implementation

JAVA-4718

I added two more features:

Support for AWS SDK v1 (requested by a user of Amazon Glue, where only v1 is provided)
Support for testing all configurations in ECS (required a different way of specifying the three configurations

Boy, there are a ton of tasks now.  We should consider a different way of doing this in Evergreen.


Fix grammar per JOSS feedback, fix code example margin, remove reviews

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[x] Documentation Update

Description (Screenshots, files, etc)
Improve paper.md based on reviewer's feedback.
Checklist

[x] Are the tests passing?
[ ] If it's a new feature, have tests been written?
[ ] Have you added the .rst news file?

Added to documentation?

[ ] README.md
[ ] Official documentation
[ ] Google Codelab
[x] No documentation needed

Closing - git added files not needed.


Fix Sequel warnings

@solnic this requires a thorough look. We definitely have a leaking abstraction regarding qualified SQL names

Do I understand correctly that this will make where(foo__bar: 'baz') stop working?

@solnic it works, just issues a warning. I think I'll just set split_symbols = true for some specs so that we can ensure it works.

@flash-gordon yeah it'd be good, we'll get rid of this in 2.0 anyway

sure, will do, I forgot to add it's WIP 😆

@solnic works on my app, do we need anything else?

I'm merging this in master since I released v1.3.1


Nicky's First pull request

Resolved manually - some weird newline issue?  not entirely clear what the issue was, but I have incorporated these commits.


Added docker compose file to use artifact registry and new deployment

We'll probably want to make the URI for AR an environment variable later. But just leave it be for now.


Upgrade project to be multiplatform

This is mostly in order to be up to date with Visual Studio format and to make it easier to upgrade to net6+
Steps taken:

dotnet tool install --global Project2015To2017.Migrate2019.Tool see https://github.com/hvanbakel/CsprojToVs2017
dotnet migrate-2019 wizard ./src/WorkItemMigrator/WorkItemMigrator.sln
In jira-export.csproj bump NewtonSoft.Json in order to get around warning
Upgrade of all csproj to net7
Upgrade of all packages except RestSharp and Atlassian SDK

Ping @Alexander-Hjelm 😉

Noted! Haven't had time to work in this one yet


How to show snackbar after Get.off

Something like this does not work.  No snackbar shows up.
if (clickedDelete == true) {
      await Get.off(
        () => const AppContainerScreen(
          activeScreen: AppScreen.history,
        ),
      );
      Get.snackbar(
        'Event Deleted',
        'The event for ${DateFormat.yMMMMd().format(_event.date)} was deleted.',
        snackPosition: SnackPosition.TOP,
        dismissDirection: SnackDismissDirection.HORIZONTAL,
        barBlur: 15,
      );
    }

Fixed on lastest version


Non-ASCII character(s) in example params.ini

Oh well, why things that work out of the box for anyone else never work for me.. I am struggling to get the new ppafm code running, so expect a series of issues I stumble over in the process. The first is gonna be an easy one: When running examples from ProbeParticleModel/examples, the code crashes while reading the provided params.ini, complaining about a non-ASCII character. The offending character is the angstrom sign, so the solution is simply to remove it or replace by the string angstrom or something similar. Has anyone else encountered this? If the problem is just some idiosyncrasy of the particular environment on my machine, I can just change the params.ini files locally for myself, but if there is a danger this is going to affect more users, I should push the modified examples to the repo.

@mondracek Can you post the exact error traceback that you get. Python should be using utf-8 encoding by default, so it should work with non-ascii characters.

The error message is in the attached err.txt file here.
err.txt
But I have just found out that the occurrence of the error depends on the node on which I am running the calculation, so maybe you can ignore it and I will try to solve it with the administrators of our computer grid. Shall we close the issue then?

A quick search suggest that you could have some locale issue on some of the nodes: https://stackoverflow.com/a/51027262. So yes, you could try to figure it out with your admins, and you can reopen the issue if there is something we need to fix.


Chage generation leaving behind .model.pt files

I am generate charges using espaloma via the OpenFF toolkitwrapper interface in the following manner: https://github.com/IAlibay/partial_charge_experiments/blob/main/scripts/run-espaloma.py
Calling this seems to leave behind .model.pt files which are somewhat unexplained.
Should these be present? If so is there a way to define the filename so that they can be a bit more descriptive?

I am thinking we can either use pooch or what I had setup for espaloma


Bug: FireCrawlLoader - Got exception due to failed crawl job but it was indeed a success

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
from langchain_community.document_loaders import FireCrawlLoader
loader = FireCrawlLoader(
  url="https://firecrawl.dev",
  mode="crawl",
)
docs = loader.load()
docs[0]

I have set environment variable for FIRECRAWL_API_KEY
Error Message and Stack Trace (if applicable)
Traceback (most recent call last):
File "/home/thoa/Documents/dev/demos/firecrawl/chat-with-website.py", line 23, in
for doc in docs_lazy:
File "/home/thoa/.local/lib/python3.10/site-packages/langchain_community/document_loaders/firecrawl.py", line 112, in lazy_load
firecrawl_docs = self.firecrawl.crawl_url(self.url, params=self.params)
File "/home/thoa/.local/lib/python3.10/site-packages/firecrawl/firecrawl.py", line 133, in crawl_url
return self._monitor_job_status(id, headers, poll_interval)
File "/home/thoa/.local/lib/python3.10/site-packages/firecrawl/firecrawl.py", line 360, in _monitor_job_status
raise Exception(f'Crawl job failed or was stopped. Status: {status_data["status"]}')
Exception: Crawl job failed or was stopped. Status: failed
Description
I'm trying to use FireCrawlLoader to crawl a website. I should get a printed out put like:

Document(metadata={'ogUrl': 'https://www.firecrawl.dev/', 'title': 'Home - Firecrawl', 'robots': 'follow, index', 'ogImage': 'https://www.firecrawl.dev/og.png?123', 'ogTitle': 'Firecrawl', 'sitemap': {'lastmod': '2024-08-12T00:28:16.681Z', 'changefreq': 'weekly'}, 'keywords': 'Firecrawl,Markdown,Data,Mendable,Langchain', 'sourceURL': 'https://www.firecrawl.dev/', 'ogSiteName': 'Firecrawl', 'description': 'Firecrawl crawls and converts any website into clean markdown.' ...)

Instead, I got an error that the crawl job failed or was stopped but I checked the Activity Logs in FireCrawl and the craw was a success.
The error can be traced to the function monitor_job_status in FireCrawl's Python SDK. I'm not sure if there is bug in FireCrawl integration in Langchain, or FireCrawl's Python SDK.
System Info
System Information

OS:  Linux
OS Version:  #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022
Python Version:  3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]

Package Information

langchain_core: 0.3.6
langchain: 0.3.1
langchain_community: 0.3.1
langsmith: 0.1.129
langchain_text_splitters: 0.3.0

Optional packages not installed

langgraph
langserve

Other Dependencies

aiohttp: 3.10.6
async-timeout: 4.0.3
dataclasses-json: 0.6.7
httpx: 0.27.2
jsonpatch: 1.33
numpy: 1.26.4
orjson: 3.10.7
packaging: 24.1
pydantic: 2.9.2
pydantic-settings: 2.5.2
PyYAML: 5.4.1
requests: 2.25.1
SQLAlchemy: 2.0.35
tenacity: 8.5.0
typing-extensions: 4.12.2

@bytrangle I believe this issue is due to https://github.com/mendableai/firecrawl/issues/720. You should be able to resolve it by using the workaround provided in the discussion or updating to include the associated PR fix. The former works in my case.

Closed by https://github.com/langchain-ai/langchain/pull/26548


cmake error

Hello. Thanks for your great work.
I wonder whether you have the plan to release the training code?

Hi, @CheungBH ! Thank you for your attention to my work. As the code is based on the implementation of Libtorch, it is difficult to replicate the training process in C++, so there is no relevant plan in the short term. :disappointed:

Thank you for your reply.
I want to evaluate your edncnn model, but a problem occurs that:
ImportError: cannot import name 'event_denoise_convolution_network' from 'modules.python' (unknown location)
Are there any suggestions for solving it?

I think you need try:
# create folder
mkdir build && cd build

# compile with samples
CC=gcc-10 CXX=g++-10 cmake .. -DEMLB_ENABLE_PYTHON=ON -DTORCH_DIR=<path/to/libtorch>/share/cmake/Torch/

# generate library
cmake --build . --config Release

And you will see .cpython-38-x86_64-linux-gnu.so file in /modules/python.

Check if event_denoise_convolution_network.cpython-38-x86_64-linux-gnu.so and multi_layer_perceptron_filter.cpython-38-x86_64-linux-gnu.so exist, then run the code.


Render SplatScenes separate

To start: Great job.
My Issue:
When loading multiple split scenes I have the problem that the splats from the different split scenes overlap. Loading multiple scenes also results in lower performance.
`      // Load multiple splatscenes
  viewer.addSplatScenes([
      {
          'path': Path0,
          'rotation': [0, 0, 0, 1],
          'scale': [0.8, 0.8, -1],
          'position': [4.28, 1.43, 6.03],
          'streamView': true,
      },
      {
          'path': Path1,
          'rotation': [0, 0, 0, 1],
          'scale': [-1, 1, -1],
          'position': [23, 1.4, 0.6],
          'streamView': true,
      },
      {
          'path': Path2,
          'rotation': [0, 0, 0, 1],
          'scale': [1, 1, 1],
          'position': [9.5, 1.6, -12.4],
          'streamView': true,
      }
  ])`

Is there a way to dynamically load the splatscenes individually? I had already tried filtering the nodes by Center or ID to only render certain parts of the splatscene. However, as I understand it, the splats of all splatscenes are assigned to the nodes together, without distinguishing from which splatscene they originally come.
The rendered splats are determined in the this function based on the nodes:
 gatherSceneNodesForSort = function()
i added a simple filter, to let nodes pass, based on their id's. but this doesnt work, becaused the ids have no reference to their splatscene origin.
`
if (node.id <= 8000) {
                        splatRenderCount += node.data.indexes.length;
                        nodeRenderList[nodeRenderCount] = node;
                        node.data.distanceToNode = distanceToNode;
                        nodeRenderCount++;

}
`
This problem could be fixed by assigning the nodes (node.id) based on the their splatscene origin. But this would also cause nodes with overlapping splats if the spatscenes are to close together. Is there a way to implement this?

Sorry for the late reply! Unfortunately the nodes referenced in gatherSceneNodesForSort() have no direct correlation with splat scenes. They are sections of the octree used to partition the scene for efficient raycasting and splat culling, and can contain splats from multiple scenes, so you can't filter them to hide splats from only one splat scene.
Is your goal to hide/show individual splat scenes dynamically?  There's not a great way to toggle the visibility of a splat scene at runtime (maybe I should implement something like that). However you can unload a splat scene at runtime using Viewer.removeSplatScene() It's a little slow, so you probably don't want to use it frequently. At some point in a future release I will try to add functionality to hide or show splat scenes dynamically!

I've made some updates in this branch that should help with dynamically toggling scene visibility: https://github.com/mkkellogg/GaussianSplats3D/tree/general_updates
You have to pass the parameter enableOptionalEffects with a value of true to the Viewer constructor and then at run time you can do:
viewer.getSplatScene(<scene index>).visible = false;

Just curious if this problem is solved for you? The main branch has these updates now, so you can dynamically toggle a scene's visibility using the above syntax.

Sorry for the late Response. I tested the updated code and this has solved the problem very well. Thank you!

Awesome, glad to hear it!


Option to fuzzy-find across projects/windows

I like to have multiple related projects open in separate windows. It would be great to be able to open the fuzzy finder in one window/project and still be able to search all open windows/projects.
One reason I prefer to use separate windows per project instead of one combined window is that each project has it's own git repository and I would like all of the fancy git highlighting/colors in my editor.
I'm not sure if the atom API provides a way to look at all workspaces, but I think this would be handy.

In the latest Atom release, you can open multiple projects in one window and still get the fancy git highlighting. Right click in the tree view and select 'Add Root Folder' or 'Remove Root Folder'. The fuzzy finder will search all root folders. Does this do what you want?

Yup, this overall change is an even better solution! Just need to see if I can figure out how to get project-manager to work with the new multi-root feature.


Update progressive-downloader to 2.7

Checklist

[x] The commit message includes the cask’s name and version.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

@vitorgalvao got it, already read the docs


Align scrapes to the middle of the millisecond

Align scrapes to the middle of the second to reduce scrape timestamp
variation.
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

This is a POC.

/prombench master

/prombench cancel

prombench not good


reduceop children chasing can be simpler

This diff simplifies can_chase to a single question: is the realized child already paired with another reduceop?
Deletes:

reduce_for_op[tr] != r, this is an unreachable path. reduce_for_op updates once and doesn't revisit the same reduceop (r)
can_chase in multi output, It is always true in this code path

status: will be complete after I add a few more fuse tests

@geohot process replay tests (openpilot, resnet, hlb_cifar) confirm this diff has no behavior change.
What was the intention behind and reduce_for_op[tr] != r? I think it was a part of the lazy rewrite https://github.com/tinygrad/tinygrad/pull/2878/files#diff-566a7254fa321896c55ed04f6d3eb9cf38ac84ee952b4e44a107c006cf886b16R260

merging this, pretty confident about the change.


Experiencing troubles with includeAspectsFromJar

Looks like this cleanup commit broke proper plugin execution
https://github.com/Archinamon/GradleAspectJ-Android/commit/55bbece0468ce7ec4b8e628a0804948ead4ff627
I have performed debugging around def isFilterMatched(String str, List filters, FilterPolicy filterPolicy) execution. Appears it returns false even if within
for (String s : filters) {               if (isContained(str, s)) {                  true;               }           }
isContained returns true. Possibly because of enclosing for loop. Here is a discussion on the same problem.

Wow. That's new. I'll re-upload 2.2.0 artifacts and will fix it separately on 2.2.1 to handle existing users.

Try with new artifacts or re-upload 2.2.0 please.


Didn't find code about processing masks generated by Geometry Decoder for Topological Decoder

As you mentioned in the 3rd paragraph of section 3.3, I quote

After acquiring the masks, the graph vertices are extracted from them. This process converts the dense mask images into a set of sparse vertices, with roughly the same interval dv in between. It's implemented with simple nonmaximum suppression: we first drop the pixels under a probability threshold t, then traverse them by a descending order of their probability.

In my understantding, the whole process of generating vertices from masks that you mentioned, algorithm 1 in your paper, should take place online during model training and inference.
However, in the model.py#L405-L448 code you provide, the vertices (in the variable 'graph_points') are passed by the predefined dataset into the module about the topology, not by algorithm 1.
If your code is not found because of my oversight, please correct me!
Sincerely,
Ruizhe

Hi Ruizhe, the logic you mentioned is in the inference.py. model.py contains mainly training code. As mentioned in the paper, during training, the model uses "teacher forcing", which adds noise to ground-truth to emulate the predicted vertices.


gfx: Allow to resize game window

The game window looks tiny on HiDPI screens, so it would be nice to have ability to resize the window.

Thanks for the PR, really appreciate it! Sorry about the delay, I'm a bit short on time right now. Two thoughts though:

You can aleady set the resolution through a command line flag (e.g. target/release/rs_doom -r1920x1080). Agreed, this is not ideal, but just making sure you knew about this.
Doesn't your solution mess up the aspect ratio when you resize the window? It would be nice if we had an event handler for the resize events that updated the aspect ratio in the projection matrix.

That said, once I give this a try, I'll be happy to merge as is and work from there. Thanks again!

No problem!
Oh, I didn't know it was possible to set resolution from command line.
Aspect ratio is managed by SDL and it scale window properly.

Apologies for the inexcusable delay. I'll merge and deal with aspect ratio in a separate PR (the projection matrix needs to be updated on resize, that's what I meant).

Thanks a lot for the contribution! I promise that any future PRs will get merged much more swiftly; I just went through christmas holidays and a job change.

No problem! :smile_cat:


Add awschaos

What problem does this PR solve?

What is changed and how does it work?
Checklist

Tests

[ ] Unit test
[ ] E2E test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Breaking backward compatibility

Related changes

[ ] Need to update the documentation

Does this PR introduce a user-facing change?

NONE

It looks very good, but there may be more conflicts with the PR 1330, which may need to be modified at that time.

It looks very good, but there may be more conflicts with the PR 1330, which may need to be modified at that time.

@liubog2008
PR 1330 has been merged into the master branch of chaso-mesh. Should this PR be modified and merged into the master of chaos-mesh?

@liubog2008
PR 1330 has been merged into the master branch of chaso-mesh. Should this PR be modified and merged into the master of chaos-mesh?

@fewdan Sorry for late reply. This pr is not tested properly. Just ignore it.

@fewdan Sorry for late reply. This pr is not tested properly. Just ignore it.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

phone number: 647 -830- 1694
email<EMAIL_ADDRESS>linkedin: https://www.linkedin.com/in/sofia-abdulenko/

added a section to the resume


update on logo, background style change,  brand, darkmode init, copyright changes

Fixes # .
Changes proposed in this PR:
update on logo, background style change,  brand, darkmode init, copyright changes

I think you meant to fork the market I make these changes on your own marketplace. There is a walk through guide on how to fork and setup your own data marketplace here.  If you need additional support, please reach out on discord


Bug: Uncaught RangeError: Chance: Min cannot be greater than Max.

Getting Uncaught RangeError with Chance using gremlins.js in Cypress. Solution seems simple to implement.

gremlins.js version:  2.0.1
node version: 12.9.0
npm (or yarn) version: 6.10.2
browser version: electron 80 or Firefox

Steps To Reproduce

Run gremlins.js with Cypress.

The current behavior
RangeError
Chance: Min cannot be greater than Max.
View stack trace
RangeError: Chance: Min cannot be greater than Max.
testRange@http://localhost:3000/__cypress/tests?p=cypress/integration/netherplane.js-019:2218:20
[5]</</</chance_1</</Chance.prototype.integer@http://localhost:3000/__cypress/tests?p=cypress/integration/netherplane.js-019:2401:19
[5]</</</chance_1</</Chance.prototype.natural@http://localhost:3000/__cypress/tests?p=cypress/integration/netherplane.js-019:2443:22
defaultPositionSelector@http://localhost:3000/__cypress/tests?p=cypress/integration/netherplane.js-019:9892:25
clicker/</<@http://localhost:3000/__cypress/tests?p=cypress/integration/netherplane.js-019:9955:32
executeInSeries/</<@http://localhost:3000/__cypress/tests?p=cypress/integration/netherplane.js-019:10735:61

The expected behavior
No error.
Suggested solution:
Probably quite similar to #27  and #47 .
Culprit is here:
const defaultPositionSelector = () => {
	        return [
	            randomizer.natural({
	                max: document.documentElement.clientWidth - 1,
	            }),
	            randomizer.natural({
	                max: document.documentElement.clientHeight - 1,
	            }),
	        ];
	    };

Solution: Use || or Math.max(document.documentElement.clientWidth - 1, 0)

Changes I made to fix this issue:

Thanks for the report.
I agree with you fix, can you open a pull request ?

Done in https://github.com/marmelab/gremlins.js/pull/160.
Thanks

Deploy on npm, https://github.com/marmelab/gremlins.js/blob/master/CHANGELOG.md#210-2020-04-22


JSON File Import of Training Data?

What is wrong?
I'm trying to load a json file to use for the training data.  That's not working and I think it is because the JSON format may not correspond with what the train() function expects?
Where does it happen?
I'm currently working with the LSTM()
How do we replicate the issue?
This is the code I am using:

Neural Network - Brain.js - Web Method Test

Example Text

Here is the JSON file data:
[
{
"input": "test has failed",
"output": "software"
},
{
"input": "test has succeeded",
"output": "software"
},
{
"input": "I got an error",
"output": "software"
},
{
"input": "There is a bug",
"output": "software"
},
{
"input": "the power supply is faulty",
"output": "hardware"
},
{
"input": "I need more RAM",
"output": "hardware"
},
{
"input": "I ran out of disk space",
"output": "hardware"
},
{
"input": "unit testing is completed",
"output": "software"
},
{
"input": "the power supply is working correctly",
"output": "hardware"
},
{
"input": "memory is running low",
"output": "hardware"
},
{
"input": "code",
"output": "software"
},
{
"input": "bug",
"output": "software"
},
{
"input": "fault",
"output": "hardware"
},
{
"input": "crash",
"output": "software"
},
{
"input": "broke",
"output": "hardware"
}
]
The error I am seeing in the console.log for the training details is:
iterations: 18970, training error: Infinity
I am assuming that the JSON format of my file is incorrect.  Any thoughts on how I can do this would be much appreciated!  Thanks!!   Brain.js is awesome.
How important is this (1-5)?
I'm just trying to learn so a 1 is fine.
Expected behavior (i.e. solution)
I was hoping to see the train() process work without errors.
Other Comments

Ok... my fundamentals were not so good, and I was making several mistakes which didn't have to do with the train() function.  I got past those and am happily working on the next leg.  No need to respond to this.  For those who might be interested or find it useful the method that wound up working in a pure browser based javascript environment (not using node.js) is this...
`
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BrainJS_HardwareSoftware.aspx.vb" Inherits="BrainJS.BrainJS_HardwareSoftware" %>

Neural Network - Brain.js - Web Method Test

        What is your computer issue?

Example Text

`

Looking at this now.

Reproduced a working version here: https://jsfiddle.net/robertleeplummerjr/w1f4nmyz/6/
There was an issue in alpha 4 (I think) that was making learning terribly impossible, which has been fixed.  Now the net learns seemingly immediate, my CPU doesn't even rise.  I believe that to be the issue here because of this: iterations: 18970, training error: Infinity, which is essentially "vanishing and exploding gradient".  Any time your network gives you that high of a training error, either you are using a vanilla RNN, it is a configuration issue, or the net is simply not implemented correctly.
Anyway, ty for experimenting and seeing it through, and please let me know if a later verison (alpha 6, just released a few minutes ago) fixes your problem.  Closing as I believe we have identified the issue, and a solid fix.


Airflow log cleanup not possible when using persistency

Hi,
we're currently evaluating Open-Metadata and found some interesting gap (or perhaps a feature 🙂) in the openmetadata-dependencies chart: Whenever you have persistency for the Airflow logs enabled, you can't enable the log cleanup (scheduler.logCleanup.enabled). You get a printout by helm when trying to do so:
$ helm upgrade openmetadata-dependencies open-metadata/openmetadata-dependencies -n open-metadata -f helm_values_openemedata-dependencies_new.yaml
Error: UPGRADE FAILED: execution error at (openmetadata-dependencies/charts/airflow/templates/_helpers/validate-values.tpl:77:5): If `logs.persistence.enabled=true`, then `scheduler.logCleanup.enabled` must be `false`!

Is there a specific reason why it's implemented like this? From my point of view it might make sense to add an option to set the retention period for the logs before they are deleted automatically. For sure we could also simply disable the log persistency at all, but then all logs are lost whenever the pod is being restarted or killed (for whatever reason).
Cheers,
@cberge908

Hello @cberge908 . I believe this might be a good issue candidate for the community airflow helm charts we are packaging as dependency!
Perhaps this document might be the right answer for your above scenario!
Let us know if this helps! Cheers.

Thanks for the link @akash-jain-10!
That perfectly explains why the combination is not possible. Will keep an eye on this - issue can be closed from my point of view.


Playnite Window Stretches Into Second Monitor

The playnite window stretches into the second display while using this extension. If I manually switch primary display in windows settings before launching playnite in full screen this does not happen. I've circled the area where it's easiest to see what I mean as its less visible in the screenshot.

I honestly have no idea how to fix that, playnite simply doesn't handle display switch well. If you manually switch primary display after playnite is launched, it also will extend to the left monitor. And playnite doesn't expose its functionality that is used for setting up the application window to the plugins so i could manually retrigger it.

Ahhh okay makes sense I’ll just try not to focus on it being there haha. Thank you for your reply and for creating extension!


Space required between document and to

Fixed typo
Issue #, if available:
The words document and to were concatenated
Description of changes:
Fixed the concatenation
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing this issue or pull request in advance of archiving this repo. For more information about the decision to archive this repo (and others in the 'awsdocs' org), see the announcement on the AWS News Blog.


"_" in secrets don't work in Spring environment

It is probably because I use an underscore in MY_TOKEN, I think Spring will resolve this to MY.TOKEN...

See https://camunda.slack.com/archives/C02JLRNQQ05/p1669060091198719

It actually works, the problem was that the secrets have to be exposed to the runtime of SpringZeebe application, not to the Connectors docker image, e.g. by adding secrets to application.properties. It also works with underscore.
MY_TOKEN=palim
MYTOKEN=palam


API documentation page of the Popover component doesn't work on development server

Bug type
Docs (mudblazor.com)
Component name
Popover
What happened?

Page isn't displayed.
"An error has occurred. This application may no longer respond until reloaded. Reload" is displayed at the bottom of the page instead

Expected behavior
No error
Reproduction link
https://dev.mudblazor.com/api/popover
Reproduction steps
Go to https://dev.mudblazor.com/api/popover
Relevant log output
System.ArgumentNullException: 'Value cannot be null. (Parameter 'fragment')'

Version (bug)
from https://github.com/MudBlazor/MudBlazor/pull/2833
Version (working)
before https://github.com/MudBlazor/MudBlazor/pull/2833
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@JonBunator i think its done, isnt it?


TrackerNano implementation

I have added bindings for using OpenCV's TrackerNano single object tracker, which is superior to any of the other available trackers (CSRT, MOSSE, TLD, etc.).
The changes allow a new TrackNano instance to be created by specifying the path of the backbone and neckhead model files in the "new cv.TrackerNano(backboneModelPath: String, neckheadModelPath)" constructor. All other methods, such as init and update, follow the convention and usage of the rest of the trackers.

clean cleanup your CV_VERSION_GREATER_EQUAL macro usage.
add a test unit.

clean cleanup your CV_VERSION_GREATER_EQUAL macro usage.
add a test unit.

Done.

ho nooooo !!!!

ho nooooo !!!! Some checks were not successful

Oh no! There was an issue with loading the model in the unit test. I have fixed it now.

@UrielCh, it looks like the test "Use openCV from Brew / build (4, 22) (pull_request)" failed due to an unrelated system fault. Could you please run it again?

all Tests pass, but the I still need to test mutiple openCV version.

I still get some Stack trace whene I use TrackerNano.

I still get some Stack trace whene I use TrackerNano.

Did you try it using the official TrackerNano model files here?
https://github.com/HonglinChu/SiamTrackers/tree/master/NanoTrack/models/nanotrackv2

I did some cleaning in the source tree moving all legacy tracker in a single file.

you commit the 2 models:
fdf592d3f946aa84775eecd1e388ab9f  nanotrackv2/nanotrack_backbone_sim.onnx
7eb4bfeda369ece80218ef4070b9bef6  nanotrackv2/nanotrack_head_sim.onnx
is there something wrong with the V3 ?

you commit the 2 models:
fdf592d3f946aa84775eecd1e388ab9f  nanotrackv2/nanotrack_backbone_sim.onnx
7eb4bfeda369ece80218ef4070b9bef6  nanotrackv2/nanotrack_head_sim.onnx
is there something wrong with the V3 ?

I haven't tried the V3 models, but they should work just as well. I only included the V2 models so the tests run could run.

could you please add an smple code in the "examples" folder ?
by the way the ackbone.onnx and neckhead.onnx file should be moved to the data folder
Use the branch named 7.2.0 to make changes


HX711 source

Would you consider leaving your version of hx711.h and hx711.cpp in the source?
Also I'm assuming you have connected DOUT to GPIO 12 and SCK to GPIO14?

Hi,
I've a problem with your source.
 I havent a display.... Sorry


Tracker for Numba usability improvements Q4 2019.

This is an open ticket for capturing usability issues/improvements and discussing their relative priority. #2888 did the same about a year ago and it would be good to do a refresh especially with regards to https://github.com/pandas-dev/pandas/issues/28987.

The one major thing I see that didn't land in gh-2888 is ahead-of-time compilation support. For larger projects that seems like a must-have, and while there's some capability in Numba it seems neglected.

Well, I guess Q4 2019 is long gone, so I'll close this one up!


Question about curveTo

I'm testing rune.js in this codepen http://codepen.io/mskogly/pen/ggMWMv, and I'm wondering how to remove the purple control-points/lines? Possible?

Ah, debug was set to true. Never mind.

Glad you figured it out! Let me know if you have other questions.


Add clear icon on Notification

This PR add a clear action into notification, so it's easy to delete all the content and dismiss the notification itself.
It helps to debug apps, so developer can clean the stack without leaving app.

Nice. Thanks!

Thanks you for this awesome lib!


Create geocoder & reverse geocoder micros-service

Create a dedicated stand-alone geocoder/reverse geocoder micro-service with the nasumilu/geocoder-bundle
Requirements

The service MUST not allow outside actors from geocoding or reverse geocoding.

Since the bundle contains a flex recipe setting up this service is easy.


Make getNotes return NEW_NULLIFIERS_LENGTH number of notes

Currently, the oracle call to get notes owned by a user from the database returns TWO notes (hard-coded 😭). This is probably because we used to have TWO input notes in Aztec connect. For aztec, we plan to allow the number of input notes to be spent equal to: NEW_NULLIFIERS_LENGTH = 4. This value could be increased in the near future.
So, we should allow a user to fetch at least NEW_NULLIFIERS_LENGTH number of notes. Note that the maximum number of notes a user can spend in one transaction right now is: NEW_NULLIFIERS_LENGTH * PRIVATE_CALLS_STACK_LEN.

@suyash67 did this get resolved during the offsite?


Added Radix sort algorithm

I added radix sort algorithm in a folder named sorting algorithm , Please review it.  Thank YOu

@all-contributors please add @jatinjain001  for his code


Convert pkg/api to Typescript

Migrates pkg/api/src/* and pkg/api/scripts/remote-dev.js to Typescript.
Set pkg/api/dist as build target for server/api
Add npm config set unsafe-perm true to Dockerfile to avoid mkdir issue during image build phase, i.e:
12/9/2021, 9:04:28 AM error TS5033: Could not write file '/opt/app-root/src/pkg/api/dist/scripts/remote-dev.js': EACCES: permission denied, mkdir '/opt/app-root/src/pkg/api/dist'

The dockerfile workaround is also implying https://github.com/konveyor/forklift-ui/issues/857 as when building locally the unsafe-perm true is not required.
fixes https://github.com/konveyor/forklift-ui/issues/760

@mturley, @seanforyou23, I believe this is ready.
@fabiendupont comment regarding issue#857 is reassuring as the user used during second build matters so we're good to go.


Consider swapping out symposion.cms for pinax-wiki

PyConJP actually uses restcms rather than symposion.cms and working fine.
When swapping out symposion.cms, it is also necessary to update https://github.com/pinax/pinax-project-symposion settings.py  removing sympoison.cms and adding pinax-wiki from INSTALLED_APPS.

pinax-pages is something that might be better than pinax-wiki, but pinax-pages home page can not be found.
I can find https://pypi.python.org/pypi/pinax-pages/0.2.0 but linked page http://pinax-pages.rtfd.org/ does not exist.
TODO:

update pypi and point correct place to see project home.
further discussion and test with pinax-pages


Enhancement: Add a Type Map attribute for Microsoft SqLite.

Describe the enhancement
For us to be able to set the SqLiteParameter.SqliteType property (like with any other RDBMS providers), we need to introduce an attribute that is capable of setting such property.
The propose name would be SqliteParameterDbTypeAttribute as the new standard of the others.
public class EntityClass
{
      [SqliteParameterDbTypeAttribute(SqliteType.Text)]
      public string Name { get; set; }

      [SqliteParameterDbTypeAttribute(SqliteType.Blob)]
      public byte[] Image { get; set; }
}

Will be available on the next version of the library > RepoDb.SqLite v1.1.3.


Yolo-v8 Mac M1 Error: Metal max_pool2d not implemented

Yolo-v8 example compiled with
cargo build --example yolo-v8 -r --features metal
Unless run on CPU you get Error: Metal max_pool2d not implemented

Adding @ivarflakstad explicitely, would be great to add the missing metal kernels (also noticed that conv-transpose1d is missing).

The missing metal kernel has been added by @tomsanbear in #1863 so hopefully should work well now.


ValueError: could not broadcast input array from shape (256,256,3) into shape (256,256)

import matplotlib.pyplot as plt
import matplotlib.image as im
import os, os.path
from os import walk
from matplotlib import image
import numpy as np
def read_nameDir(mypath,nameList):
for (dirpath, dirnames, filenames) in walk(mypath):
nameList.extend(dirnames)
#nameList.extend(filenames)
def count_File(path,NameDir):
path, dirs, files = next(os.walk(path+NameDir))
file_count = len(files)
return(file_count)
def read_img(path, ListNameImg, Listdata,target):
for i in range(len(ListNameImg)) :
num_target=str(i)
len_file=count_File(path,ListNameImg[i])
for j in range(len_file):
num_pic=str(j+1)
image_train = image.imread(str(path)+ListNameImg[i]+"/"+num_target+" ("+num_pic+").jpg")
Listdata.append(image_train)
target.extend([list([eval(num_target)])])
pathDir_train = 'Bra/Bra/Bra'
nameDir_train = []
x_train = []
read_nameDir(pathDir_train, nameDir_train)
y_train=[]
read_img(pathDir_train,nameDir_train,x_train ,y_train)
x_train=np.asarray(x_train)
y_train=np.asarray(y_train)

line48  : x_train=np.asarray(x_train)

I had a similar problem and solved it . reference:
[(https://stackoverflow.com/questions/62418108/could-not-broadcast-input-array-from-shape-27839-1-into-shape-27839/62584604#62584604)]

@JirasakRomsai Please check with the above comment and let us know if this is still an issue .Thanks!

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Update of BaseModel.php to fix INSERT issue

Applied the fix that enables the INSERT to work correctly when inserting a row that already contains data.
Each pull request should address a single issue and have a meaningful title.
Description
Applied the fix suggested by @arbitmcdonald in Bug: onlyChanged is currently true for INSERT codeigniter4#4247
Checklist:
[x]  Securely signed commits
[x]  Component(s) with PHPdocs
[x]  Unit testing, with >80% coverage
[x]  User guide updated
[x]  Conforms to style guide

We would need tests to verify that the fix is actually working.

You can take at a look at tests/system/Models/ dir to check the tests for the Model.

OK, so it looks like the error is a coding standards error of == rather than ===.
Does his mean I need to start the process from the beginning to make this change?

No need to open new PR. You can do the edit directly here.

Replaced by #4980


Any size limit or Restrictions in Ontology folder

I am QA, and have saved a list of turtle files including ontology and individuals. One file content is not available to search in the UI.
Expected Behavior
All the turtle file content should be searchable in the UI
Current Behavior
One turtle file content is not available to search in the UI
Context (Environment)

make sure the turtle file content can be searchable in the UI

Detailed Description

But if I only leave that particular file in the ontology folder and restart the docker, then i can see  the file content is available for search in the UI.
Possible Implementation

I am not sure, if there is any known size limit or restrictions in ontology folder.
Or the server is taking too long to build the large turtle file content  (70+MB)

@JasonPad19 thanks for you input.
Up to this point we have not experienced any performance problems of this type. But we are happy to assist you - could you send us some more details of this run, e.g., logs?


speedscope is 100% inaccessible for blind engineers like me.

Hello.
I'm working on a project, and I've detected some CPU based performance issues. I finally landed on your application, but unfortunately I can't read anything at all using a screen reader, because you are rendering the data only as an image or similar.
It would be great to have some kind of HTML alternative like a table or something.
Also, the app does not use real HTML controls like buttons, links, so the screen reader can't detect them either.
Could you take a look at it please? Right now it's totally impossible for me to use the tool, and that's a real shame.
Thanks in advance!

Neither a dev of this project, nor a user of a screen reader, but I believe this kind of problem is commonly solved by having a layer of html elements that a screen reader can interact with, but that is hidden for regular users, right? I think aria-hidden="false" can be used to make display: none; elements visible for screen readers, but I am not sure. ARIA attributes can be used to help guide screen readers on how to interpret the elements. https://w3c.github.io/using-aria/ may be useful I think. Just throwing this information out to help anyone who wants to implement this. (Speedscope renders to a canvas using webgl by the way. I believe this is for performance reasons, so maybe the accessibility html elements should only be created when a user enables it using an html button.)

Hello!
Exactly, what we could do is to create an alternative with HTML elements. I don't think it would be necessary to hide it, but let the user choose the most appropriate representation.
I'd be surprised if painting an image is less expensive than rendering HTML, but anyway, we could add a couple of tabs, and let the user select the most appropriate one.
There are other reasons why an HTML table would be convenient; for example, to copy a certain value and not have to paste the whole image.
Thanks for replying!
Kind regards,
Juanjo.

Hi @kastwey, thanks for the report! I'm not actively working on speedscope at the moment, but should have some time to invest into it in the coming months.
I'm curious to understand a little bit more about what kinds of information you'd like to be able to extract from speedscope, since that would help guide the approach taken here.
For example, flamegraphs are predominately useful in that they visually represent relative weights of things using widths. I'm curious if and how flamegraphs could be useful in a screen reading environment. Does the Chrome developer tools performance tab work well for you, for instance?
There is already a tabular view available in the "sandwich" view which contains some of the information which may be relevant to you. You can access this view by hitting "3" on your keyboard. I'm not sure offhand if the screen-reading experience of that is reasonable (it may currently be quite poor), but I'd be curious to know.

I'd be surprised if painting an image is less expensive than rendering HTML, but anyway, we could add a couple of tabs, and let the user select the most appropriate one.
In this case, it's specifically rendering the flamegraph that is expensive. In cases of large profiles, this can sometimes result in needing to drawing tens or hundreds of thousands of rectangles, which is much too slow to do via HTML elements, but is made quite efficient using WebGL.

The issues you pointed around regarding links & buttons should certainly be easier to resolve.
Thanks for taking the time to surface the issue!


Using with Blowfish ?

Can anyone point me how to use this wonderful theme with Blowfish?
I am in the process of trying to move from WordPress and have settled on Blowfish as my base theme.  Being a photography portfolio site, I also want to use Photoswipe for displaying my images; so all help and pointers appreciated
Thanks

I'm sorry, I cannot provide an integration with other themes. This theme is not really modular, since its goal is to stay very simple.
You could however ditch into the JavaScript in lightbox.js and try to adapt it for other themes like Blowfish, but since it is very much tailored to this theme, this would require quite some HTML/CSS/JS knowledge.