Automated cherry pick of #10771: fix: add rbdcli commond for debug

Cherry pick of #10771 on release/3.7.
#10771: fix: add rbdcli commond for debug

Codecov Report

Merging #10772 (83c108d) into release/3.7 (0ff3997) will decrease coverage by 0.40%.
The diff coverage is 1.15%.

@@               Coverage Diff               @@
##           release/3.7   #10772      +/-   ##
===============================================
- Coverage         5.98%    5.58%   -0.41%
===============================================
  Files              848      518     -330
  Lines           131795    90233   -41562
===============================================
- Hits              7887     5036    -2851
+ Misses          123206    84797   -38409
+ Partials           702      400     -302

Flag
Coverage Δ

aFlag
5.58% <1.15%> (-0.41%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apis/const.go
0.00% <0.00%> (ø)

pkg/apis/input.go
0.00% <ø> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/appsrv/appsrv.go
44.32% <0.00%> (-4.35%)
:arrow_down:

pkg/baremetal/tasks/stop.go
0.00% <0.00%> (ø)

pkg/cloudcommon/notifyclient/events.go
0.00% <ø> (ø)

pkg/cloudcommon/notifyclient/notify.go
0.72% <0.00%> (-0.45%)
:arrow_down:

pkg/cloudcommon/notifyclient/notify_internal.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators.go
62.39% <0.00%> (-0.69%)
:arrow_down:

pkg/cloudcommon/notifyclient/template.go
7.04% <7.04%> (ø)

... and 451 more

Continue to review full report at Codecov.

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


How to detect a fire on the image ?

Hi everyone
I see file superpixel-inceptionV10Fire.py and I knew it which detect fire. But I would like to expand the issue because All calculator executes on the image which using CPU and I very confuse when I knew it
I have a question? How do I detect fire on the image (a type of Bounding box ???)
Thank for reading
Thai Hoc

I see file superpixel-inceptionV10Fire.py and I knew it which detect fire. But I would like to expand the issue because All calculator executes on the image which using CPU and I very confuse when I knew it

The network runs on the GPU presently for classification. If you which to also perform the superpixels part on a GPU, I would suggest using GSLIC for this part instead - https://github.com/carlren/gSLICr or similar.

I have a question? How do I detect fire on the image (a type of Bounding box ???)

This network does not perform that by default - but the superpixels approach can do this by combining it with the Douglas-Pecker contour algorithm and taking the min/max bounds of the contour - see the pinned PAQ issue post for details.
For more details of what the code does - please read the accompanying research paper.

Thank professor for response !


Rename Push-Namespace to New-RequirementGroup

This change reflects a more intuitive naming to better describe the intent of groups of requirements.

New verb instead of Push, because groups are not conceptually a stack.
RequirementGroup instead of Namespace, so we do not imply reusability by itself.

Note:

I have left the internal Namespace parameter alone, as it still makes sense to have a namespace, just not to refer to a group by one.
I have added an Alias in case anyone is using Push-Namespace already.

Further, I updated documentation to reflect this change and illustrate how to properly Invoke a RequirementGroup.  I also cleaned up a lot of markdownlint errors in Readme.

Read the README on unit testing please.  The formatter outputs are automatically gathered and checked in for review (kind of like UI snapshot testing).


Publish Microsoft.NET.Sdk.Aspire.Manifest-8.0.100 = 8.0.0-preview.1.23551.7

Building .NET 8.0.100 from source on the s390x platform fails with:
Unable to find package [Microsoft.NET](http://microsoft.net/).Sdk.Aspire.Manifest-8.0.100 with version (= 8.0.0-preview.1.23551.7)

And indeed, this version cannot be found neither on NuGet nor in .NET 8 repositories, even though it's referenced by the installer: https://github.com/dotnet/installer/blob/v8.0.100/eng/Version.Details.xml#L175
Please publish Microsoft.NET.Sdk.Aspire.Manifest-8.0.100 = 8.0.0-preview.1.23551.7.

Thanks for reporting the issue @iii-i. I have pushed the missing version to nuget.org, and it is currently validating, but should be listed soon. Closing as this issue is resolved, but please do  feel free to re-open if you have any follow up questions.


Add support for direct MJPEG streams from Amcrest cameras

Description
The previous implementation relied on using snapshots from the camera. However,
some Amcrest models cannot keep up with the large number of requests and
instead timeout, resulting in no video stream. These cameras do provide MJPEG
streams though, so this commit adds the option to use these instead of creating
one from snapshots.
Unfortunately, some cameras on newer firmwares do not support MJPEG streams at
high resolution - only at low resolution.
By providing users with both a resolution and stream_source option, we can
allow them to choose whichever combination works for their particular model
and firmware version.
Development Notes
This implementation was based on code from SynologyCamera and uses some of the same dependencies.  No new dependencies were introduced to HA.
Also, although the amcrest library does provide a mjpg_stream() method, I'm not sure how to continously read/write that data without blocking or how to close/release the connection to the camera once done.  That's why I've chosen to copy the SynologyCamera implementation and just hit the camera's URL directly.  If you think that mjpg_stream() can be used, just give me a couple pointers and I'll gladly make the necessary changes.
Testing Notes
I've tested this functionality with my Amcrest IP2M-841 ProHD 1080P (1920TVL) Wireless WiFi IP Camera on firmware 2.420.AC00.16.R, build: 2016-09-09.
Before

resolution
Still Images Work?
Live Streaming Works?

low
:white_check_mark: Yes
:o: Not my model, but maybe others

high
:white_check_mark: Yes
:o: Not my model, but maybe others

After

resolution
stream_type
Still Images Work?
Live Streaming Works?

low
mjpeg
:white_check_mark: Yes
:white_check_mark: Yes

low
snapshot
:white_check_mark: Yes
:o: Not my model, but maybe others

high
mjpeg
:white_check_mark: Yes
:clock3: Older firmwares only

high
snapshot
:white_check_mark: Yes
:o: Not my model, but maybe others

As a result, this change should expand the degree of compatiblity with different Amcrest models.

Related issue (if applicable): https://community.home-assistant.io/t/amcrest-camera-component/7464/14?u=colinodell
Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.github.io#1735
Example entry for configuration.yaml (if applicable):
This adds a new stream_source config option for Amcrest cameras:
camera:
  - name: Living Room
    platform: amcrest
    host: <IP_ADDRESS>
    username: admin
    password: correcthorsebatterystaple
    resolution: low
    stream_source: mjpeg

Allowed values are mjpeg (default) or snapshot (legacy).
Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@colinodell  I tested your code but the live streaming did not work for me. Maybe it is because I'm running an older firmware version.
Amcrest ProHD 1080P WiFi Wireless IP Security Camera - 1080P (1920TVL), IP2M-841 (White)
Software Version2.420.AC00.15.R, build : 2016-09-08
Looking at the https://amcrest.ca/firmware I don't see the build you listed 2.420.AC00.16.R, build: 2016-09-09.
Here is an interesting post about the firmware issues https://amcrest.com/forum/technical-discussion-f3/looking-for-2-420-ac00-16-r-firmware-t1913.html.

Using this PR I did not see the timeout errors anymore with is great, but maybe due to the firmware that I'm running, I could not see a live streaming. I'm still trying to find the firmware on the internet.

By reinstalling the firmware (still version Version2.420.AC00.15.R),  I tested the streaming via snapshots and mjpeg. This was the configuration:
  - platform: amcrest
    name: Living Room
    host: <IP_ADDRESS>
    port: 80
    username: admin
    password: secret
    resolution: low
    stream_source: mjpeg

  - platform: amcrest
    name: Alice
    host: <IP_ADDRESS>
    port: 80
    username: admin
    password: secret
    resolution: high
    stream_source: snapshot

During the living streaming via snapshots, the quality was better but evently I hit a few timeouts
17-01-08 05:44:15 DEBUG (Thread-4) [custom_components.camera.amcrest] Running... snapshot
17-01-08 05:44:16 WARNING (Thread-8) [requests.packages.urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?=channel=0

While during the mjpeg streaming it was better, but the quality was bad,

Since you are running a higher firmware, via mjpeg, did it work any better?

@tchellomello:

Looking at the https://amcrest.ca/firmware I don't see the build you listed 2.420.AC00.16.R, build: 2016-09-09.

It either came pre-installed on the camera or I updated it via the Web View (under System -> Upgrade), I unfortunately don't remember.

Since you are running a higher firmware, via mjpeg, did it work any better?

Well, the live stream works now :) The snapshot method has never produced a live stream for me.

During the live streaming via snapshots, the quality was better but eventually I hit a few timeouts

For me, on the 16.R firmware, the snapshot approach always results in timeouts - I never get a live stream.

When using mjpeg, the streaming worked fine, but the quality was very poor.

It seems you can improve the quality by lowering the Frame Rate (FPS) and maxing out the Bit Rate settings:

Here's what 1 FPS @ 256Kb/S looks like:

If I increase the FPS to 10 (at 1280 Kb/S) the quality gets worse:

Obviously 1 FPS is not an ideal solution, but again, it works on this firmware version.

@colinodell awesome!! After changing the configuration on low resolution, it worked like a charm.
Could you add this instruction on your doc PR https://github.com/home-assistant/home-assistant.github.io/pull/1735?
Thank you!

@balloob @tchellomello I've addressed the remaining feedback.  This PR should be ready for a final review (and hopefully a merge!)

@colinodell I tested the latest code on this PR again and worked as expected. Thanks for your contribution!!!!

After test pass we can merg it

Thanks!


Add support for adv_search

I'm not adding the documentation as I would like to confirm if it's generated manually or it's a command. If so can you provide me guidance on it?

Hello Hugo, thank you for adding more relevant info. As for the documentation you can simply add the feature description and how to use on the docs/source/doc/InfoPage.md. Please follow a similar way which already exists on that file. Since you have only added 2 new attributes, just add them in the attributes section.

And as for adv_search, you can document it in the docs/source/doc/Searching.md. This project uses sphinx to automatically convert markdown into comparable HTML. So, it's only the matter of adding it onto the file. I'm sure the documentation style is not hard to understand once you have had a chance to look into it. So, please do add it over there as well. And once merged the docs can be refreshed as well.

Cool. I'll work on the doc and send a new commit with it on the upcoming week. I'll be out-of-town for 1 weeks so Only when I get back be able to complete it.
Thanks.


Curly Brace Highlighting Broken for TSX

One curly brace for {logo} is white and the other is blue:

If I move the cursor over the curly brace on the right, vim says the matching curly brace is the one on the right of render():

This is just a visual display bug. If I use the % command, vim jumps to the correct matching curly brace:

what should be done to fix this?


[bug] Z2M recreates devices, creating duplicates

Version
Build/Run method

[x] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: 3.2.1
Openzwave Version: 1.6.1123
Describe the bug
When using the new ability to disable HASS discovery for devices (great addon), and changing the object_id of a device .. I eventually get a new device that i also need to disable discovery for. I guess Z2M checks if a device exists, by checking for a name/object_id combo?..
It's slightly cumbersome, and potentially a bug.
To Reproduce
Steps to reproduce the behavior:

Change a HASS device to ignoreDiscovery
Change the object_id of the HASS device (store the doc inbetween)
Do a node refresh / restart Z2M
Observe that Z2M creates a new device

Expected behavior
That devices did not get created again, at least not with discovery enabled..
I'm unsure how to resolve this.. maybe a different way to uniquely identify if a device has been created? Maybe let disabling discovery be for the node, and not a specific device?
Additional context
N/A

I now have this. :)
I was clearing up leftovers (I thought) in MQTT, that HASS was re-discovering on every restart. While doing that, I checked up on the nodes in Z2M, and then I found the below. Note how the first half is disabled discovery, but the second half isn't... and that the second half has names with "_N" suffixes.

I guess Z2M checks if a device exists, by checking for a name/object_id combo

That should be unique and never be touched by the user

Yea, but I kinda needed to modify it to rid myself of the scaling that Z2M does.. :P
Anyhoo. Having one duplicate is fine.. but my last image shows that this happens for other devices as well, some I haven't modified.

Yea, but I kinda needed to modify it to rid myself of the scaling that Z2M does.. :P

I will fix this in #516 if you tell me what I have to fix. Like I said I don't have many devices to test and I would not break things

Yea, but I kinda needed to modify it to rid myself of the scaling that Z2M does.. :P

I will fix this in #516 if you tell me what I have to fix. Like I said I don't have many devices to test and I would not break things

Oh, do note that #516 doesn't resolve this issue :).. #516 fixes a bug where only the first "rgb_dimmer" receives scaling - my issue here (and really always) is that they're scaled at all - but that we can't fix without breaking stuff. Sorry about the confusion ... :/

Having one duplicate is fine.. but my last image shows that this happens for other devices as well, some I haven't modified.

That's strange... I haven't edited anything in that part

I'll have to do more tests, rediscoveries, to see when they appear.


header color doesn't work properly

arch: armv7l
docker: true
hassio: true
host_os: Raspbian GNU/Linux 10 (buster)
installation_type: Home Assistant Supervised
os_name: Linux
os_version: 4.19.97-v7l+
python_version: 3.7.7
supervisor: 222
version: 0.110.0
virtualenv: false
The header color only show correctly on supervisor page but in another page is all default blue color.
Is this a issue because of update to 0.110.0?

+1
Came here to report the same issue.
arch: x86_64
docker: true
hassio: true
host_os: HassOS 4.6
installation_type: Home Assistant
os_name: Linux
os_version: 5.4.39
python_version: 3.7.7
supervisor: 222
version: 0.110.1
virtualenv: false
HACS: 1.0.0

+1
Just installed the theme and this was the 'default' I've attempted to fix... however appears primary colour is set correctly.
arch | x86_64
docker | true
hassio | true
host_os | HassOS 3.13
installation_type | Home Assistant
os_name | Linux
os_version | 4.19.115
python_version | 3.7.7
supervisor | 224
version | 0.110.3
virtualenv | false

Can you send me screenshots so I'll see what you're experiencing?
Thanks!

Not sure what the problem but it seems like this is the same for all themes (at least for me).
In order to change the color of the header in my home assistant setup, I used the custom header HACS integration.
That's how my header is slimmer and black instead of blue.
Let me know if that helped. Or if you know of another way to do this without the integration :-)

Header:
app-header-background-color: rgba(28, 7, 37, 0.7)
app-header-text-color: rgb(198, 203, 210)

Sorry for the long wait guys!
Fixed the header problem. should fit the theme now. I'll release a new version today with all the fixes


Referenced File Not Included

To the DataTables team, on Line 17 of datatables.net-vue.vue, it references dtEvents.ts as an import.  The only issue is that actual file is not actually included after running npm install --save datatables.net-vue3.
I've copied the file and manually added to my install but just wanted to make sure you all were aware.
Cheers from the States,
Davey

It's mostly VSCode complaining that there is a "problem" whenever I view the actual Types that's the issue. Other than that, there really isn't any problems.  It's mostly integrating Editor with Vue that's giving me headaches but that's to be expected in the web dev world.

Embaressing how long its taken me to sort this out - sorry! I've included the dtEvents.ts file in the npm package now, which will hopefully address this issue. Just tagged and released 2.1.2. Its running nicely here.


Entrypoint redirect & default frontend entryPoints

If I enable http -> https redirection as described here with something like
[entryPoints]
  [entryPoints.http]
  address = ":80"
    [entryPoints.http.redirect]
    entryPoint = "https"
  [entryPoints.https]
  address = ":443"
    [entryPoints.https.tls]
      [[entryPoints.https.tls.certificates]]
      certFile = "/etc/ssl/server.crt"
      keyFile = "/etc/ssl/server.key"

Any container not specifying the following label
traefik.frontend.entryPoints: "http,https"

Will give me a 404 page not found because the default frontend entrypoint is http only.
How do I specify default frontend container entrypoints of http,https for all containers in the TOML so I don't have to define labels on each one?
... or can we have Traefik automatically configure this if https redirection is on?

Hi @danbo ,
You can easily set the default entrypoints in your toml
defaultEntryPoints = ["http", "https"]
``` taken from [here](https://docs.traefik.io/configuration/commons/)

Does that solve your issue or are you hitting a bug?

Tested this again, looks like settings defaultEntryPoints has no effect (I also removed the container specific label hoping this would work).
With your suggested change, the dashboard shows only http for the frontend, not both http and https as expected.

@danbo you need to put defaultEntryPoints = ["http", "https"] at the top of the file (the position is important).

Idez, that was it, thank you very much.


limit bgp announcements

Expected Behavior
each worker announces only its hosted pods
Actual Behavior
in a Layer3 scenario, where workers are deployed on different L3 networks, when BGP speakers are enabled they announce all the nets/pods without any possibility to filter on availability zone or worker containers.
This create problems on upstream connectivity because of asymmetrical routing
Steps to Reproduce the Problem

create a cluster with workers deployed on different AZ (and, thus, different L3 networks)
create an overlay network with some pods
label workers and network with bgp=on
check bgp announcements

Additional Info

Kubernetes version: 1.28

kube-ovn version: 1.11.10

@KillMaster9 could you please take a look at this and https://github.com/kubeovn/kube-ovn/issues/3212

Hi, as example calico users blocksize parameter in order not to announce only /32 addresses but optimise in /26 default prefixes https://docs.tigera.io/calico/latest/reference/resources/ippool

@KillMaster9 could you please take a look at this and #3212
OK！

Hi, as example calico uses blocksize parameter in order not to announce only /32 addresses but optimise in /26 default prefixes https://docs.tigera.io/calico/latest/reference/resources/ippool
This optimization may affect the ipam functionality too.

Yes, Calico's IPAM mechanism divides network segments according to nodes. Route aggregation is performed when Calico's bird advertises routes to the outside world.
The IPAM mechanism of kube-ovn is different from calico and is a decentralized mechanism；

Similar to k8s service, can set a TrafficPolicy attribute. If it is Local, only the Pod resources of this node can be published. If it is Cluster, all Pod resources can be published. The default is Cluster. The Metallb also expanded this function. @oilbeater

Hi,
can you please provide an example how to set this filtering? i may give a try now.
thank you


Massive CPU Usage and Heat generation when converting from HVEC to MP4

WIndows 10E
Hardware:
Intel i7-6700K
32GB RAM
1TB Samasung SSD
Problem:
When converting from HVEC to MP4, the usage on the CPU is maxed out and heat maxes out to 150F. only happens on HVEC.
Settings;
[MP4]
ffmpeg = C:\FFMPEG-win64\bin\ffmpeg.exe
ffprobe = C:\FFMPEG-win64\bin\ffprobe.exe
threads = auto
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = H264,x264
video-bitrate =
video-max-width =
h264-max-level =
use-qsv-decoder-with-encoder = True
ios-audio = false
ios-first-track-only = False
ios-audio-filter =
max-audio-channels =
audio-codec = ac3
audio-language = eng
audio-default-language = eng
audio-channel-bitrate = 0
audio-filter =
subtitle-codec = mov_text
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding =
fullpathguess = True
convert-mp4 = False
tagfile = False
tag-language = en
download-artwork = Poster
download-subs = False
embed-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
aac_adtstoasc = False
preopts =
postopts =
video-crf =

See Screenshot:
http://imgur.com/KdUTKzf

It is becausing HEVC is not optimized for CPU usage yet. So what's happening here is you machine trying to re-encode HEVC to H.264.
You could have you autoProcess.ini look like this and it will remux from mkv>mp4 without working so hard and let plex transcode on the fly for those clients that aren't compatible:  with it
video-codec:h264,x264,hevc,h265,x265,HEVC,mpeg4,MPEG-4,MPEG-H,h.265,h.264

@justinglock40  - does this create an additional video file?

Nope just allows ffmpeg to change the container from mkv>mp4 without re-encoding the entire video file

direct copy so no quality loss

Thanks! I'll check it out!

Did those settings work out for you?

@justinglock40 I haven't had a chance to test it, however, follow up Q - when I run a manual job, does it use the autoprocess.ini settings?  If not, what settings does it use?

 Thanks buddy!

No problem.


Consider abstracting schema validation logic from ingress_per_unit

Right now the schema validation logic all lives inside the ingress-per-unit lib. As we move toward solving #37, we will likely need to solve very similar (if not the same) problems. As much of that serialisation/validation logic should be taken out into a lib of its own, and tested separately such that it can be reused here, and elsewhere.
(It may not end up living in this charm by default...)

/cc @DomFleischmann

The relation interface is not, as far as I am aware, used anywhere else. So I am not sure of the value of removing the data model from the lib. Do you still think this is needed?

I think this was a hangover from when traefik was using the SDI jank. I think this can be closed :)


Errors when opening master with Unity 2020.3.1f1

Gets fixed after updating UIBuilder to  "com.unity.ui.builder": "1.0.0-preview.14"

Please use the Forums to report issues, these issues are not being actively monitored: https://forum.unity.com/forums/ui-toolkit.178/
This issue should be fixed at this point, there was a problem with dependency that wasn't set correctly/in the right order.


feat: 8-23-2024 WARA Automation Release

Overview/Summary
WARA Collector Script:

Added Pwsh7 as a requirement to collector script
Updated Regex validation for parameters
Added advanced tagging functionality
Fixed numerous bugs related to scoping and filtering

Documentation:

Updated documentation for Collector script
Updated documentation for Analyzer script
Updated documentation for Reports Generator script
Added a section for each script to reduce total page length
Added parameter definitions and examples for each script

Related Issues/Work Items

Breaking Changes

Replace me
Replace me

As part of this pull request I have

[x ] Read the Contribution Guide and ensured this PR is compliant with the guide
[x ] Checked for duplicate Pull Requests
[x ] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[x ] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x ] Ensured PR tests are passing
[ x] Performed testing and provided evidence (e.g. screenshot of output) for any changes associated to ARG queries
[x ] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

Is there a reason this was changed? The one it was changed to looks to updated quite a bit less frequently so I would like to stay with prettier unless there is a specific scenario prettier cannot cover.

I have no idea why/how that got changed.

Does the $Script:Version of ps1 scripts remain the same? Looks like those have large changes.

Does the $Script:Version of ps1 scripts remain the same? Looks like those have large changes.

I updated the json to 2.0.15 for collector. Is that what you were referring to?

I updated the json to 2.0.15 for collector. Is that what you were referring to?

In my understanding, the script compared the version of script itself and JSON to check the latest version.
https://github.com/Azure/Azure-Proactive-Resiliency-Library-v2/blob/927ed6138330a0da31a21e200fad9a746561178c/tools/1_wara_collector.ps1#L1604
https://github.com/Azure/Azure-Proactive-Resiliency-Library-v2/blob/01a8b14c4586a148b61918978e517c702b329622/tools/1_wara_collector.ps1#L390

I updated the json to 2.0.15 for collector. Is that what you were referring to?

In my understanding, the script compared the version of script itself and JSON to check the latest version.
https://github.com/Azure/Azure-Proactive-Resiliency-Library-v2/blob/927ed6138330a0da31a21e200fad9a746561178c/tools/1_wara_collector.ps1#L1604
https://github.com/Azure/Azure-Proactive-Resiliency-Library-v2/blob/01a8b14c4586a148b61918978e517c702b329622/tools/1_wara_collector.ps1#L390

This has been fixed. Thank you for pointing this out!

Discussed with Claudio/Kyle and determined that linter errors not blockers for release.


Build using channabuild

This is a PR which builds vaultenv using an internal build tool currently called Channabuild. This tool is intended to get us consistent build chroots that we can hop in and out of.
This is not intended to be merged yet. This PR is currently to showcase the tech internally (but we're doing all development for vaultenv in the open, so that's why you're seeing this). There are plans to open source the build tool behind this, but no ETA on that yet.
If you're reading this and are starting to get worried about us imposing internal tooling: vaultenv will always remain buildable using standard Haskell build tools. This will eventually automate more parts of the release process, such as shipping Debian packages, creating GitHub releases and stuff like that.

Closing in favour of https://github.com/channable/vaultenv/pull/82
If we ever want to revive this or need some utilities from this, we can always reopen.


Is there a way to bold the single number？

Hey, this plugin is very nice. But I want to know, is there a way to only bold the number ?
Like this picture in doomemacs.

See here: https://github.com/navarasu/onedark.nvim#customization
require('onedark').setup {
  highlights = {
    Number = {fmt = 'bold'},
    TSNumber = {fmt = 'bold'},
  }
}

@xeluxee  Thanks for your reply. It works. 🙂


⚠ Samsung has degraded performance

In 7bc809e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2692 ms

Resolved: Samsung performance has improved in f82683b.


5.15.2 run

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This a rewrite of #198, where each change was detailed on an individual commit at a time that describes explicitly why the changes are made. We encourage reviewers to take a detailed look throughout the commit history in order to have a common point of view about this update.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please re-render

@Tobias-Fischer , thanks for the help with that task. I've reproduced the build locally with a Raspberry Pi 4 that takes ages to build, so more verifications are a good thing

Ah shame it times out. Once @isuruf will have reviewed the PR I'm happy to test the aarch build on the conda-forge server, unless you want to do it @andfoy

mambabuild uploads will be enabled soon": https://github.com/conda-forge/conda-smithy/pull/1508
That might be enough to get this under the CI timeout.

I am excited to see this getting merged, especially for the osx-arm64 support! :) Thanks for working on this

Btw. what is the plan with qtwebengine? Is it moved to another feedstock?

Hi @SrNetoChan , thanks for the heads up about the KDE effort. However I think after publishing 5.15.2, the idea is to concentrate to produce packages for Qt 6, which is going to provide each Qt module individually. Right now this migration is being done under the auspices of a Community Work Order by TDK Micronas executed via Quansight. Which (sadly) means that from our side, we will produce packages for Qt 5.15.2 as they are published right now.
Maybe @isuruf has a better perspective on the topic

Maybe once you get all this working it won't be that hard to apply the kde patches.

Just a minor thing: I tried to build this locally on osx-arm64 and the $CONDA_BUILD_CROSSCOMPILATION variable is unbounded in that case.
One can fix this by doing if [[ "${CONDA_BUILD_CROSSCOMPILATION:-}" == "1" ]]; then ...
I also had to change the compiler version to 12 in the .ci_support/osx_arm64_.yaml file (but that's a conda-forge-pinning issue I guess).
Also the rest of the build did not succeed but that was because of some other reasons (it tried to build qmake by invoking c which didn't exist). I haven't investigated that further yet.
I did this on a Scaleway M1 machine which runs at $2.40 a day (pretty good deal!). @andfoy is there a place where we can already get the built packages? We're pretty eager to use them for the RoboStack project.

Just a minor thing: I tried to build this locally on osx-arm64 and the $CONDA_BUILD_CROSSCOMPILATION variable is unbounded in that case

Thanks for noticing, actually there was a typing error on that variable, which should be CONDA_BUILD_CROSS_COMPILATION

I did this on a Scaleway M1 machine which runs at $2.40 a day (pretty good deal!). @andfoy is there a place where we can already get the built packages? We're pretty eager to use them for the RoboStack project.

I have pre-built packages on my channel: https://anaconda.org/andfoy/qt

@andfoy @isuruf given that most checks are passing except linux arm, what's the chances of getting this one merged and eventually open another PR for making linux arm work.
The qgis-feedstock has been blocked for at least 4 months because the lack of a Qt 5.15 build. QGIS stable in conda-forge is stuck at version 3.18, while the QGIS project already delivered a 3.22, which is the next LTR candidate.
Note, I don't pretend to rush things out, I am just questioning if that would be a possibility.
Thanks.
Thanks

Linux arm is not the issue. See all the unresolved conversations.

Linux arm is not the issue. See all the unresolved conversations.

Ah, you are right. I would not expect it to be merged until the review is finished either. Thanks @isuruf

@isuruff, all the major comments are now ready. I'll check the OpenSSL one against qtwebengine to check if we need to install openssl to a separate prefix

@isuruf, all recipes are now working correctly, at the end, the QDoc dependencies (llvmdev and clangdev) are needed also on the run section when cross-compiling on arm64 since Qt detects libclang using llvm-config, which should be executable in x86_64 (the one in the host section is arm64).

the QDoc dependencies (llvmdev and clangdev) are needed also on the run section when cross-compiling on arm64 since Qt detects libclang using llvm-config, which should be executable in x86_64 (the one in the host section is arm64).

That way, the rpath for qdoc is wrong. You probably need to do https://github.com/conda-forge/cctools-and-ld64-feedstock/blob/33374c078ac19d5a0ecb21b128b053b269d32eef/recipe/build.sh#L32-L34 and make the lipo create output to be $PREFIX/bin/ instead of $BUILD_PREFIX/bin/.

@isuruf, all builds passed without llvm, I also reproduced the aarch64 one locally. I think everything looks good so far, I don't know if you have further comments, otherwise, please let us know what is the course of action for these changes

@isuruf, should we move this one back to staged-recipes?

@isuruf, all builds passed successfully, do you have more review comments?

Nope. Let's send this through staged-recipes to get a qt-main-feedstock and then rewrite the git history of that repo to use this repo's git history.

staged-recipes PR is now up at https://github.com/conda-forge/staged-recipes/pull/15572

@conda-forge-admin, rerender

@isuruf, the libclang 13 pinning error appeared also here

https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/195

libcups, alsa-lib and krb5 are not in run requirements. Do they not have run_exports?

Let me check those packages

libcups: https://github.com/conda-forge/libcups-feedstock/pull/11

@isuruf @andfoy I saw your comments about creating a qt-main-feedstock. If I understood correctly, the objective is to split qt in several packages, right? Is that going to be done for Qt6 only, or already for Qt5? Will we keep this feedstock/package available for Qt5 anyway? Thanks

@SrNetoChan, Initially, qtwebengine will be split from the rest of the packages, leaving qt as a metapackage that pull both of them. For Qt6, I think all qt modules will be split

@conda-forge-admin, please re-render

@isuruf, there are issues with the OpenSSL pinning

Looks like a mamba failure. cc @wolfv

@conda-forge-admin, please restart ci

Can you use openssl 1.1.1*? Where does the openssl 1.1.1 pin come from? Usually we implicitly add the *.
Because 1.1.1 doesn't match 1.1.1j etc.

That one comes from the variants generated by conda-smithy, however, it seems that it was fixed

Packages for qt without qtwebengine will be available as qt-main: https://github.com/conda-forge/qt-main-feedstock. The upcoming work on qtwebengine will be available soon


Gantt chart integration

Hi, the integration of the Gantt Chart could be possible in future releases?

Hi dear.
I think its rarely needed.
I'll keep this issue open, if more people wants it, i will work on that.

Thank you!


func: send email to active account

Remain work:

[ ] fix email received but not have info. Consider changing the template

[x] Update code to handle exception
[ ] Write unit test for email


Question about Angular 1.5x support.

The documentation has mentioned that Angular 1.3x is supported but not sure has anyone tried with 1.5x? What advise would you give to someone who is starting a new project (admin interface from scratch) by next week?

I use it with 1.5.7, seems to work.

Combining that with ES6 and Webpack - my experience so far is mixed to bad.
The basics work, but not one of the 5 plugins i used to use, works perfectly - 4 of them not at all.

@nicklasb actually - your's is the only one that works (partially) - i do have working strapselects,
but no

ckeditor
colorpicker
datepicker
timepicker

@ri0t did you find any reasons as to why they are not working we may be able to fix?

@coderabsolute I am actually using it in a hybrid Angular 1/Angular 2 application right now.
I will clear up these docs a bit later on(as I didn't write them), but if you want to, Angular 2 is possible for the rest of the application:
https://github.com/OptimalBPM/of-admin/wiki/App-Entry-&-Bootstrapping

Please re-open if you do not feel the question has been answered sufficiently I'm spring cleaning quiet issues.


Golint ignore

Add golint ignore pattern support and remove golangci-lint as it consumes too much memory for many hosting environments.

Codecov Report

Merging #243 into master will decrease coverage by 0.17%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
- Coverage      90%   89.83%   -0.18%
==========================================
  Files          45       44       -1
  Lines        2551     2498      -53
==========================================
- Hits         2296     2244      -52
+ Misses        255      254       -1

Impacted Files
Coverage Δ

lintreview/tools/golint.py
98.46% <95.45%> (-1.54%)
:arrow_down:

Continue to review full report at Codecov.

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


Fix very minor grammer mistakes

These are very minor. I'm not 100% sure if they are valid but I did a check in Grammarly before making this commit. There are still some that Grammarly thinks is wrong but I didn't really agree with it. Other then that, you may close this pull request since I'm not even sure if you guys will even accept it since for most people grammar mistakes aren't high on the priority list.

Don't trust grammarly too much. Some acceptable styles, e.g. passive voice, are identified by Grammarly as issues.

Oh lol, I've discovered right now that PR is named "grammEr"


Use proper HTTP status codes

If a user is unauthenticated, the backend provides an error code of 403. This should be changed to 401 Unauthorized. Same with the other HTTP status codes that aren't properly used.

Should be fixed. Reopen if still present.
https://github.com/Em1tt/ametrine.host/commit/2c66ef92d7eb23104e24c6dba0a577255ceb84da


Fix variable name

result is not defined, it should be: testResult
It would be good to extract a lot of the logic in the jest reporter to different smaller classes which can be unit tested easily, for the moment though this simple fix will suffice.

While the codebase is small, might be a good time to move to TS, let me know if that sounds like a good idea and i'll pop up a PR soon @toolmantim

It's a good point, but I don't reckon moving to TS right this sec is a good idea with the launch being imminent.

An e2e test, using https://mswjs.io (https://kentcdodds.com/blog/stop-mocking-fetch) and a configurable BUILDKITE_ANALYTICS_HOST=localhost:3333 type thing, would be incredibly valuable though.


Adds Setpoint Schedules to Library definition

Archsim4Umi allows heating and cooling setpoints to be set as a Schedule. This enables that feature from a Basilisk perspective. Another pull request will handle the change in UMI.
The 4 new parameters are:

IsCoolingSetpointConstant
IsHeatingSetpointConstant
CoolingSetpointSchedule
HeatingSetpointSchedule

@ChristophReinhart are those intuitive?
@rosecodym Am I missing other areas of the codebase such that those 4 new parameters are supported in all Basilisk operations?

Oh yes indeed! But it's on the umi side that I need help

@rosecodym what about this? Do you have bandwidth to incorporate in the next release?

Yes, but that new feature of basilisk would not be readily used by umi. Another pull request needs to be merged in UMI to use those new fields.


fix: fix complete schema pkg name error.

fix complete schema pkg name error.
And optimize the cursor position after completion
a = bbb.B{
    c: [ccc.C{}<cursor>]
}
->
a = bbb.B{
    c: [{<cursor>}]
}

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y  fix #https://github.com/kcl-lang/kcl/issues/1745

2. What is the scope of this PR (e.g. component or file name):
kclvm/tools/src/LSP/src/completion.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
fix complete schema pkg name error.
And optimize the cursor position after completion

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

28 of 33 (84.85%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 70.687%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/tools/src/LSP/src/completion.rs
28
33
84.85%

Files with Coverage Reduction
New Missed Lines
%

kclvm/tools/src/LSP/src/tests.rs
1
98.54%

kclvm/tools/src/LSP/src/request.rs
2
65.78%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.02%

Covered Lines:
52369

Relevant Lines:
74086

💛  - Coveralls


Clearly mention that carbon db and mb_store db are internaldbs and should be kept as H2 dbs.

Change the title here and remove carbon db in [2].
clearly mention  in the documentation[1] , only to configure apim_db and shared_db.
And keep the carbon local db  and mb_store db as H2 since those are internal DBs and recommended to keep as H2.
[1] - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/setting-up-databases/overview/#changing-the-default-databases
[2] - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql/#changing-the-carbon-database-to-mysql"

Fix https://github.com/wso2/docs-apim/pull/1757


Any future plans? Maybe a server version?

Hi,
Very interesting experiment.
I was wondering, do you foresee any ongoing development? Any plans perhaps for a dedicated server OS? This last one sort of triggered my imagination, would be interesting to be able to work in an environment where I can extend the environment with my own functionality written in Rust, run various other services also written in Rust.
ed

Hey, thanks for reaching out.
Fomos working as a server is a nice target. An easier one than as a desktop since having native GPU driver is near impossible without interest from GPU vendors. Although such a feat was shown possible recently with Asahi Linux.
Ideally, Fomos stays slim and simple enough that the only difference between the desktop binary and the server binary is the presence of an optional GPU drivers.
However we are a long way from any production use. For several months, maybe years, experimentation has to happen to even know how to go forward on the current base.

Can security be made reasonable whilst keeping the cooperative scheduling. This is the most controversial issue.
Where exactly does Fomos end, where do apps start. I would like to see how slim a kernel can be, and still be a better experience than current systems from an app developer (that doesn't want to rely on magic) point of view.

From there things could go fast !

That is great !
First of all, can you run the project ? the build.sh script supposes that a lot of tooling is already present.
If you could try to build and run the project, and give a feedback of everything you needed to install, that would be very useful for newcomers. Do not hesitate to reach out if you get stuck.
Next, you could try to make a simple app for Fomos and tell us about your experience, and how it could be better.

I found an old macbook air 2015, and managed to reproduce this error !
It did not have qemu installed, (the qemu-system-x86_64 binary exactly). So I did
brew install qemu , ./build.sh again and it worked (until the next error).
However it is not simple, the qemu shipped this way is not compiled with SDL. For an unknown reason I cannot get graphics to work fast without SDL.
SDL might not be needed, but I had to switch to it to use the virtio-vga-gl.
We need someone that knows more about qemu to remove that SDL dependency.
Meanwhile, you have 2 options:

Compile qemu with SDL
OR replace those 2 lines in ./bootloader/src/main.rs

      cmd.arg("-device").arg("virtio-vga-gl");
      cmd.arg("-display").arg("sdl,gl=on");

by this one
      cmd.arg("-device").arg("virtio-vga");

You might not have KVM on your machine, which means you need to remove the --enable-kvm option from
./bootloader/src/main.rs too.

I started a doc detailing how to build here
BUILD.md


Unable to Change TimeZone (tz) on RHEL8  OpenShiftv4.5 Containers (MQ image <IP_ADDRESS>)

Hello-
We are trying to change the MQ OpenShift container's time zone from the default GMT to EST.  I tried updating the container's sts to add

name: TZ
value: 'America/New_York

But all it does (upon pod restarts) is change the time text to "America" but still reports the time as GMT.  I see this with the 'date' command run in a Terminal session on the MQ container.
We researched and found that there is a bug with our container's OS version (RHEL8) and when I issue the command (rpm --verify tzdata) to check the RPMs it lists then all missing
Ex.
missing     /usr/share/zoneinfo/right/US
missing     /usr/share/zoneinfo/right/US/Alaska
missing     /usr/share/zoneinfo/right/US/Aleutian
missing     /usr/share/zoneinfo/right/US/Arizona
missing     /usr/share/zoneinfo/right/US/Central
missing     /usr/share/zoneinfo/right/US/East-Indiana
missing     /usr/share/zoneinfo/right/US/Eastern
missing     /usr/share/zoneinfo/right/US/Hawaii
missing     /usr/share/zoneinfo/right/US/Indiana-Starke
missing     /usr/share/zoneinfo/right/US/Michigan
missing     /usr/share/zoneinfo/right/US/Mountain
missing     /usr/share/zoneinfo/right/US/Pacific
missing     /usr/share/zoneinfo/right/US/Samoa
missing     /usr/share/zoneinfo/right/UTC
missing     /usr/share/zoneinfo/right/Universal
missing     /usr/share/zoneinfo/right/W-SU
missing     /usr/share/zoneinfo/right/WET
missing     /usr/share/zoneinfo/right/Zulu
missing     /usr/share/zoneinfo/tzdata.zi
missing     /usr/share/zoneinfo/zone.tab
missing     /usr/share/zoneinfo/zone1970.tab
How can we do this with our current environment?

BTW, we are using IBM certified images, in OpenShift.

I'm not aware of a way to do this in the current sample or certified images.  Most people prefer to use UTC, especially in cloud environments.  We can use this issue to track an enhancement to enable a time zone change.

Can this be done, in the MQ pod's statefulset yaml file, or perhaps by mounting a "timezone" file?

The MQ certified container images are based off the Red Hat minimal Universal Base Image (ubi-minimal).  It appears that although the tzdata package is installed, the Red Hat engineers have deleted the time zone files to save space.  This is probably fine for most users, as using UTC is common.  So if you need to change this, it looks like you'd need to map the right files in from somewhere.  OpenShift has security rules in place to prevent access to host data, so you'd have to experiment to get this going.  I think that /etc/localtime passed into the container in the StatefulSet might work, if you could get around the security rules.

It would be helpful to have this added to the base image, as it is with ACE.

Can I just confirm the use case behind this, please?  I presume it's so that the container logs include time stamps in the local time zone, is that correct?  The reason I ask, as it appears (on initial analysis) that from version 9.1, IBM MQ always uses UTC time, so this might require a change in the base product.

The application's teams desire the MQ logs to use the same time zone as the application's time (not UTC) for easy log synchronization.  I have submitted an RFE, for this a little while ago.

@arthurbarr Any updates/timelines on this issue. I am running into the same problem.

I'm afraid not.  The queue manager itself always logs in UTC, so this requires a core code change, so will require a new version of MQ itself.


Kestrel WebApi operation error

From @188 on August 25, 2016 14:8
Out with the following error
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:5000/values
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HKUCU1TKUV1E": An unhandled exception was thrown by the application.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable1 parts, ControllerFeature feature)    at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.GetCollection()    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)    at Microsoft.AspNetCore.Routing.RouteCollection.<RouteAsync>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Frame1.d__2.MoveNext()
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 51.1016ms 200
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:5000/favicon.ico
Copied from original issue: aspnet/KestrelHttpServer#1064

From @188 on August 25, 2016 14:11
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:5000/api/values
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HKUCU6O2MI58": An unhandled exception was thrown by the application.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable1 parts, ControllerFeature feature)    at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.GetCollection()    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)    at Microsoft.AspNetCore.Routing.RouteCollection.<RouteAsync>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Frame1.d__2.MoveNext()
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 402.738ms 200
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:5000/favicon.ico
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HKUCU6O2MI58": An unhandled exception was thrown by the application.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable1 parts, ControllerFeature feature)    at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.GetCollection()    at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()    at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)    at Microsoft.AspNetCore.Routing.RouteCollection.<RouteAsync>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Frame1.d__2.MoveNext()
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 66.527ms 200

@188 do you have a debugger? This is an exception from loading one of your assemblies.

@rynowak
How to debug this

Closing because we do not have enough information to reproduce this error.


Adding custom HUGO version

See: https://learn.microsoft.com/en-us/azure/static-web-apps/publish-hugo#custom-hugo-version
This will probably fix the background problem but unfortunately, I cannot test it unfortunately -- I do not have a Azure Oryx setup.

I have accepted and merged this. In a few minutes I will either receive an error message from Azure/Oryx, or if not, then the is successful! I'll keep you posted.


Support more fan command

My fan have light and have on/off command.
It also have 2 button 1 for reverse and 1 for natural win.
How it support by smart IR?
It is RF code but i think the same with IR

The light part is out of this component functionality. You must set it as a broadlink switch.
In order to make a device file that supports both directions, please see this example:
https://github.com/smartHomeHub/SmartIR/blob/master/smartir/codes/fan/1000.json

@smartHomeHub But on my RF remove, 6 speed fix code, 1 button for
reverse. From the 1000.json, each direction has it own code and about natural win, i guest mus add to the code

Do the codes of each speed are different if you press the reverse button and then set the speed?

@smartHomeHub no it is the same code

This is not good. Is at least the direction command different each time you press the button?

It is the same everytime. Like on/off button of the TV. It toggle and handle by fan itself. All Chinese ceiling fan have this ability

I'm afraid you have to handle the direction from a script in Home Assistant. Use the component to turn on / off and adjust the speed of your fan.

+1 here, reverse and "Ocean Breeze" (random changing fan speeds function built in to fan) are separate dedicated buttons, for now I have created my own json file and associated the reverse base64 codes to "oscillate".  Which works well enough for my use case if a little clunky UI wise.  If you could see your way clear to accomodate for a dedicated standalone-reverse function within the JSON (that works in conjunction with the default speeds) config it would sure help matters.  Ocean Breeze or natural a bit tougher and understandably so.

Just in case someone comes across this, oscillate will not work either, SmartIR platform will transmit the forward reverse code with each speed change, hence I will need to create as suggested above a switch tied to transmitting the RF code for the forward reverse toggle. Ocean Breeze/natural wind as described above would be difficult but I think it best at speed 7 (my fan has 6 normal speeds).

Confirmed Ocean Breeze/natural wind as speed 7 works, have it labelled as such in my Json file.


[FLINK-7513][tests] remove TestBufferFactory#MOCK_BUFFER

What is the purpose of the change
The static TestBufferFactory#MOCK_BUFFER buffer did not allow proper reference counting and we should rather create test buffers in the tests which may also be released afterwards.
Brief change log

replace TestBufferFactory#MOCK_BUFFER use with TestBufferFactory.createBuffer()
fix this buffer's reference counting and make sure it is correct

Verifying this change
This change is already covered by existing tests, such as RemoteInputChannelTest which was the only user of TestBufferFactory#MOCK_BUFFER.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

alright - I integrated the buffer.retain() calls

Thanks for your contribution @NicoK and the review @pnowojski. Merging this PR.


apps/centralised-indexer - DexSwapIndexer implementation

What this PR does / why we need it:

Implements dex swap indexing

Which issue(s) does this PR fixes?:

Fixes part of #1150
Additional comments

Based on #1197

Consolidated into https://github.com/DeFiCh/jellyfish/pull/1197 instead


Fix SFRP map types and error model

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-libraries-for-java

Automation for azure-sdk-for-go

@sarangan12 Fixed all issues.

@sarangan12 Can this PR be merged now? There are other customer integrations waiting on this to be published.


Module does not resolve

Browser: Safari
When I browse to a published module, I get an error reading:

“400 null is not an object (evaluating 'l.name').”

Ah yes - this is an error that is caused by not having adequate checks before approving to publish!
You should only be able to approve to publish when:

You connected your ORCID
You added your name
Your email is verified

These few limitations are not checked as of yet. Will improve!


Custom attribute not given when searching user

Hello,
I've mapped discord user ID and pseudo to gsuite account, unfortunately when I search people by their discord_id the API does not return always the discord_id sometimes yes sometimes not
Request :
admin_sdk.users().list(
      query=f"custom.discord_id={discord_id}",
      customer="my_customer",
      projection="full",
      viewType="admin_view",
  )

Response :
{'kind': 'admin#directory#user', 'id': '0000000000000000', 'etag': '"000000000000000000"', 'primaryEmail'<EMAIL_ADDRESS>'name': {'givenName': 'first', 'familyName': 'last', 'fullName': 'first last'}, 'isAdmin': False, 'isDelegatedAdmin': False, 'lastLoginTime': '2021-05-05T18:41:18.000Z', 'cre
ationTime': '2021-05-05T18:39:15.000Z', 'agreedToTerms': True, 'suspended': False, 'archived': False, 'changePasswordAtNextLogin': False, 'ipWhitelisted': False, 'emails': [{'address':
<EMAIL_ADDRESS>'primary': True}], 'organizations': [{'primary': True, 'customType': '', 'department': 'technique'}], 'customerId': '0000000', 'orgUnitPath': '/', 'isMa
ilboxSetup': True, 'isEnrolledIn2Sv': False, 'isEnforcedIn2Sv': False, 'includeInGlobalAddressList': True, 'customSchemas': {'custom': {'pseudo': 'pseudo'}}}

Pseudo is returned but there is no discord_id. I want to verify that the API is sending me the right user.

Hi @M0NsTeRRR,
Please could you try out a similar request in the 'Try this API' interface on this page and check whether the issue exists? This helps confirm if this is a client library issue or a API issue. If it is an API issue, we'll redirect you to the API support channel so you can get better quality answers. For the Admin SDK API please see https://developers.google.com/admin-sdk/directory/support.

Same behaviour, I will open a new one on the other repository.
Thanks for your answer


Overlapping policies not enforced properly

Hi,  I'm seeing an issue with overlapping policies not being enforced in the order I would expect.  I'm using st2 version 1.6.
[root@fa5018f0d048 ~]# st2 --version
st2 1.6.0

I have 2 policies defined that can both be triggered by the same event.  The first policy is designed to limit the total number of executions of a specific workflow to 5:
[root@fa5018f0d048 ~]# st2 policy get connect.handle_domain_model_for_vsphere_vhost_event.concurrency
+--------------+--------------------------------------------------------------+
| Property     | Value                                                        |
+--------------+--------------------------------------------------------------+
| id           | 57c49823c46ee10a263feb4e                                     |
| ref          | connect.handle_domain_model_for_vsphere_vhost_event.concurre |
|              | ncy                                                          |
| pack         | connect                                                      |
| name         | handle_domain_model_for_vsphere_vhost_event.concurrency      |
| description  | Limit concurrent execution to prevent filling _dispatch_pool |
|              | with workflows                                               |
| enabled      | True                                                         |
| resource_ref | connect.handle_domain_model_for_vsphere_vhost_event          |
| policy_type  | action.concurrency                                           |
| parameters   | {                                                            |
|              |     "threshold": 5,                                          |
|              |     "action": "delay"                                        |
|              | }                                                            |
+--------------+--------------------------------------------------------------+

The second is designed to limit concurrent executions that operate on the same remote objects by using the concurrency.attr specifying a system uuid and object id:
+--------------+-----------------------------------------------------+
| Property     | Value                                               |
+--------------+-----------------------------------------------------+
| id           | 57c49823c46ee10a263feb51                            |
| ref          | connect.handle_vhost_domain_model.concurrency       |
| pack         | connect                                             |
| name         | handle_vhost_domain_model.concurrency               |
| description  | Limits the concurrent executions for the workflow   |
| enabled      | True                                                |
| resource_ref | connect.handle_domain_model_for_vsphere_vhost_event |
| policy_type  | action.concurrency.attr                             |
| parameters   | {                                                   |
|              |     "threshold": 1,                                 |
|              |     "attributes": [                                 |
|              |         "moref",                                    |
|              |         "vsphere_uuid"                              |
|              |     ],                                              |
|              |     "action": "delay"                               |
|              | }                                                   |
+--------------+-----------------------------------------------------+

The resource_ref in both cases points to the same workflow.
I've observed that by generating triggers for 2 identical events, I see the events running at the same time, when I would have expected the concurrency.attr policy (57c49823c46ee10a263feb51) to limit to a single sequential workflow.
[root@fa5018f0d048 ~]# st2 execution list | grep vhost_event
 + 57c58d98c46ee1092a81c503 | connect.handle_domain_model_for_vsphere_vhost_event            | plexxi       | succeeded (9s elapsed)  | Tue, 30 Aug 2016 13:43:52 UTC | Tue, 30 Aug 2016 13:44:01 UTC |
 + 57c58d9bc46ee1092a81c505 | connect.handle_domain_model_for_vsphere_vhost_event            | plexxi       | succeeded (10s elapsed) | Tue, 30 Aug 2016 13:43:55 UTC | Tue, 30 Aug 2016 13:44:05 UTC |

If I then delete the first policy (57c49823c46ee10a263feb4e)
[root@fa5018f0d048 ~]# st2 policy delete connect.handle_domain_model_for_vsphere_vhost_event.concurrency
Resource with id "connect.handle_domain_model_for_vsphere_vhost_event.concurrency" has been successfully deleted.

Then re-run the workflows in parallel
[root@fa5018f0d048 ~]# st2 execution re-run 57c58d98c46ee1092a81c503 -a
To get the results, execute:
 st2 execution get 57c5943ac46ee1092a81c50b
[root@fa5018f0d048 ~]# st2 execution re-run 57c58d98c46ee1092a81c505 -a
To get the results, execute:
 st2 execution get 57c5943cc46ee1092a81c50d

Then the second execution is delayed
| + 57c5943ac46ee1092a81c50b | connect.handle_domain_model_for_vsphere_vhost_event            | plexxi       | succeeded (9s elapsed)  | Tue, 30 Aug 2016 14:12:10 UTC | Tue, 30 Aug 2016 14:12:19 UTC |
| + 57c5943cc46ee1092a81c50d | connect.handle_domain_model_for_vsphere_vhost_event            | plexxi       | succeeded (14s elapsed) | Tue, 30 Aug 2016 14:12:12 UTC | Tue, 30 Aug 2016 14:12:26 UTC |

I observed that 57c5943cc46ee1092a81c50d was in a delayed state while 57c5943ac46ee1092a81c50b was executing.
I would expect a concurrency.attr policy to be applied with higher precedence (ie: before) the concurrency policy.

Also, we are using redis as our backend service to enforce the concurrency policies.

Thanks for reporting this.
IIRC, right now we don't use any specific order when applying policies (we just load them from the database using the default order). Having said that, I think it should still work correctly, but it's possible that there is some edge case which we don't handle correctly.
It would be great if you could include / upload a pack with a simple sample code which reproduces the problem. Once we have that, I can dig in.
In the worst case, I can also try to create the scenario which reproduces it myself, but this way it will take a bit longer for me to get to it...

@tim-ireland ^ any updates on this?

@Kami - Sorry, didn't get back to this one last week.  I'll re-create an example pack.

Closing due to no response.


Create Dockerfile.instant

This runs akash without the need to interact with it.

name: Pull Request
about: Submit a pull request
title: ''
labels: ''
assignees: '@boz @gosuri'

Description
Adds an "instant" dockerfile that gets a node going without any configuration.
Motivation and Context

[ ] I have raised an issue to propose this change (required)
[ ] My issue has received approval from the maintainers or lead with the design/approved label

How Has This Been Tested?
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I've read the CONTRIBUTION guide
[ ] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Yes, it's to start a node with no user intervention
docker run -d faddat/instakash

I did not move the data directory correctly in CMD, fixing that now.

We have akash-on-akash for this @faddat

@boz pretty sure that AoA would fail, because it doesn't use the snapshot for sync.

Should I maybe make a PR against AoA?


chore: build and run rime_test in AppVeyor CI script

This commit utilizes CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS, a new variable since CMake 3.4, to export all symbols from rime.dll.
The AppVeyor CI test failed, however it did not seem that I broke relevant code.

I'm currently working on another branch specifying symbols which rime_test exactly needs for import. This pull request will be superceded once I finish working with that branch.

Replaced by #152.

失敗的測試裏用了絕對路徑 /starcraft/not_enough.minerals，由 boost::filesystem::absolute() 在 Windows 上展開後可能不長這樣，也許會多出一個盤符？
https://github.com/rime/librime/blob/master/test/resource_resolver_test.cc#L16


Is spring integration supported/planned?

Hello,
It seems that OACC follows an interesting approach to seucirty and permissions management. Would it support spring integration out of the box? Correct me if i'm wrong and it is already supported, because i haven't digged enought into the framework yet.
Thanks in advance

I would like to know that too. I would like to secure a REST-API build with Spring and use OACC for permission management. Could someone please provide me with information how to start to use OACC in spring?

The quick answer is that there is no reason why you couldn't use OACC within a Spring application or any other framework to build REST APIs. In fact, the SecureTodo sample application provides a simplistic example of a RESTful application, to illustrate some of the core OACC concepts (but using Dropwizard instead of Spring).
On the other hand, if you're looking for integration that ties directly into Spring and would let you use Spring annotations on top of an OACC backend, for example, then I'm not aware of any such project that provides this out of the box, at this time. I'm honestly interested to see how far such an integration can be taken, but haven't had time to play with that idea, myself. So if you do find something - or decide to develop it yourself, please share!

In spring, you have to add a custom authentication provider in order to authenticate and to create an access control context with OACC. You can pass the OACC context back from the custom authentication provider to your controller/service to start using the framework for authorization purposes.


Change Progress bar to spinner while processing file

While overwriting file it is async call we shouldn't put progress bar while loading . we should use spinner for async calls.

Here is the spinner package with status text  : https://github.com/SamVerschueren/listr


Disable screen rotation (it leaks advertisers)

Rotate the screen while advertising, and the advertiser leaks (when the Activity is recreated). From then on, the on/off switch is broken (you're still advertising even if you flip the switch off).
So, disable screen rotation until we support this.

Cheers Joe

Thanks Michael!


NUTCH-2414 - Allow LanguageIndexingFilter to actually filter documents by language

Added property lang.index.languages. If exists and is not empty, it is treated as a comma-separated list of languages to index. A document in another language will not be indexed.
"unknown" is a valid language code.

Markus' comments over at the JIRA issue are certainly the better solution. This patch does however address the original item description and based on that I feel we should merge into master branch.
We can revisit once a Jexl IndexingFilter is developed.

Thank you @pipldev please feel free to implement the Jexl filter if you are interested.


CSV header

Reference Issues/PRs
#1
What does this implement/fix? Explain your changes.
Proper csv headers have been added to csv files.

@sadrasabouri Well done, LGTM ;-)
@kasraaskari If you are okay with these changes, please merge this PR after your approval :-)

@sadrasabouri
It's done. sorry for delay.

Np! :smile:


Create View "Manage Project Members"

User story

As a consultant
I want to add and edit project members
So that I can manage project members

Acceptance criteria

View must contain a list including all project members
Next to each project member there must be a editable field for e-mail
Next to e-mail field there must be a drop down list to choose members role (Project manager / Member)
Next drop down list there must be a button to save / edit settings for particular member
View must contain option to add a new member to the list
View should be able to communicate with backend (return generic / sample values)

Definition of done

Added only after week 5
The same for all features

Note to backend

api definieren /users
rest controllern implementieren
UserEntity überprüfen
UnitTest schreiben

@aron4 question with respect to the editing of email adresses: is a user allowed to have different email addresses in different projects?

@aron4 question with respect to the add button: does the user already have to be in the system to be able to add him/her to the project?


cluster unavailable for no reason

BUG/REPORT
v2.2.2 Ubuntu 16.04 Docker 17.04
One of our production cluster ( Provider: Custom
Version: v1.11.6
Nodes: 52
CPU: 660 Cores
Memory: 2.9 TiB
Created: 01/13/2019 )
went unavailable for no reason after running for months. I couldn't find any errors even after going through pretty much every log I could find.
The only hint was that there hasn't been any logs in etcd node 2 since days.
Rebooting the VM that carries master2 /etcd 2 solved the problem (albeit still no logs in etcd2)
Obviously this is unacceptable. What's the point of having a HA setup when everything goes unavailable just because apparently 1 node has an issue (I still don't know why though, docker and system logs gave me nothing).
Given other posted similar issues before "cluster unavailable after node reboot" I'd urge the rancher team to do better testing (in general).
Also for this issue: If you got ideas where to look, I will. Rancher Master didn't have anything in the logs either that seemed relevant.

Please provide the information requested in the issue template (see https://rancher.com/docs/rancher/v2.x/en/contributing/#bugs-issues-or-questions why that is important).
Providing logging always helps at least in confirming something was working at that time vs finding anything that root causes the issue directly so posting logging is always helpful. If it narrows down to that single node, system logging also helps to see since when it stopped logging and if that could be related to anything on the system.

Let me know if you can supply the requested info so we can investigate.


Fix typos in configuration-vpc.md

Fix typos
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

These issues have since been fixed.


Cannot run GTFS-Editor after 'git pull'

After encountering issue #210 I thought it might be time for an update... and reading a few things about mapdb being implemented in February, I thought: "right, it IS time for an upgrade".
So I did.
Now I cannot even get GTFS-Editor running, I get a ExceptionInInitializerError occured : null error, with a reference to
In /app/controllers/Application.java (around line 43)

39:
40:  @Before
41:    static void initSession() throws Throwable {
42:
43:        GlobalTx tx = VersionedDataStore.getGlobalTx();

On refreshing/reloading the page, the error changes to NoClassDefFoundError occured : Could not initialize class datastore.VersionedDataStore
I try to look into the the VersionedDataStore but I'm a bit lost, other than realising that GlobalTx is a mapdb-related object. Still, I think a major problem is the fact that the original GTFS feed was created in Postgresql , and I guess mapdb does not play very nicely. This might also be why issue #210 does not want to save alignment edits?
Is there a way to fix it, i.e. just get GTFS-Editor running again? I have a copy of the GTFS feed which I can import (but only if I get the editor running of course).

What do you have in your application.conf ? I have been changing line 114 to db=fs (and uncommenting) which lets it use a file as a database, as I understand it.

Thanks Mark.
Mine was commented out as well. I added db=fs, restarted the editor, but same error.

Tried commenting the postgres three lines out, same error.

I've been able to get a local version running by simply overwriting the application.conf file with the application.conf.template ... but it does not import the GTFS feed that was exported using the postgresql version of the editor I used.
Is there a way to fetch a working GIT sha-1 commit? Or rather, to which SHA-1 should I revert to get my old version back?

I had to start from scratch and re-installed gtfs-editor completely... so I guess I can close this issue. Maybe I just messed up the transition to the new database type. If someone stumbles across this issue again, they can consider re-opening it.


Add support to dynamically filter channels a notification has to be posted to

Codecov Report

Merging #29 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master      #29      +/-   ##
============================================
- Coverage     70.13%   70.07%   -0.06%
  Complexity      246      246
============================================
  Files            36       36
  Lines          1259     1260       +1
  Branches        250      250
============================================
  Hits            883      883
- Misses          252      253       +1
  Partials        124      124

Impacted Files
Coverage Δ
Complexity Δ

.../sumologic/shellbase/slack/PostToSlackHelper.scala
75% <0%> (-6.82%)
0 <0> (ø)

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 99ff038...265b730. Read the comment docs.


Can you please create a plunkr link with working sample

Hello,
Thank you for writing this plugin.
I am trying to implement it in one of my project. However I am not able to get it working.
As per the github explanation, when we implement it, the ng-repeat can not generate list of items and owl-carousel is also not visible. Also, I could not find a working sample for this plugin.
Can you please provide the same.
Thanks in advance,
Sambit Panda

Ditto and :+1:


Institution User wants to Update Read Only Business BCeID

As a *(Institution User) I want (to update my Business BCeID Information) So That *(SABC has the current information about me
Additional Context

Information from Business BCeID will be read-only on the SABC Account.
-The information from Business BCeID includes First Name, Last Name,  Email, and Institution
-When Business BCeID info is updated, then the information will be updated on the SABC account).- Another User Story

Acceptance Criteria

[ ] Given (An Institution User), When WANTS to update their Business BCeID Information (First Name, Last Name, Email, and Institution), Then (the Institution User will be notified to head back to the Business BCeID Site with hyperlink https://www.bceid.ca/)

This story needs some revising as it doesn't work the way that it is explained here.


Racey toggle

In my classic style, I was able to find a bug in the toggle component by drinking a bunch of coffee and clicking spastically on it. The parent component was handling the state, but it was not aware of the child component's transitioning state. This PR simply prevents the toggle action from firing again while the child component is still in transition from the last toggle action.
While I was reading the code, I found a place where a remainder was being calculated manually, and I incidentally changed it to use the remainder operator instead since I was editing this file anyway.
The build is failing, but I looked into it, and it seems to be the same test that has been failing for about 2 months, so I'm confident that my patch is not the cause of the regression.

:shipit:


Seems to not work for service 318998

Service 318998 'Einbürgerung - Verleihung der deutschen Staatsangehörigkeit beantragen' seems to be special in that it's tied to a particular district. When I try the URL from the source code (Note that I put "318998" after the anliegen[]= part)
https://service.berlin.de/terminvereinbarung/termin/tag.php?termin=0&anliegen[]=318998&dienstleisterlist=122210,122217,327316,122219,327312,122227,327314,122231,327346,122243,327348,122252,329742,122260,329745,122262,329748,122254,329751,122271,327278,122273,327274,122277,327276,330436,122280,327294,122282,327290,122284,327292,327539,122291,327270,122285,327266,122286,327264,122296,327268,150230,329760,122301,327282,122297,327286,122294,327284,122312,329763,122314,329775,122304,327330,122311,327334,122309,327332,122281,327352,122279,329772,122276,327324,122274,327326,122267,329766,122246,327318,122251,327320,122257,327322,122208,327298,122226,327300,121362,121364&herkunft=http%3A%2F%2Fservice.berlin.de%2Fdienstleistung%2F120686%2F
I get an error page, which doesn't happen with the other services.
Could you confirm that the bot is working for 318998? My district is one that provides online appointment (at this link https://service.berlin.de/terminvereinbarung/termin/tag.php?termin=1&dienstleister=324261&anliegen[]=318998&herkunft=1) so the bot would be really helpful to me.
I guess a solution would be to list separate services for 318998 Einbürgerung based on the district, instead of putting them under the same service. Does this make sense? The user is likely to only want to subscribe to appointments from their own district anyways given the nature of this service. (From this page there are currently 3 districts that offer online booking of appointments for this service.)

hm, seems you're right, I will try to fix this over the weekend

this should be fixed now, if issue persists - please reopen


backend-specific code/dependencies need documentation (and specification)

[@ePaul] I just switched from Ceylon 1.1 to Ceylon 1.2, and after updating the version numbers of the dependencies in my module.ceylon, ceylon compile gives me the following errors:
source/codegolf/ceylon/module.ceylon:3: error: native import for cross-platform module (mark either the module or the import as native)
    import ceylon.io "1.2.0";
           ^
source/codegolf/ceylon/module.ceylon:4: error: native import for cross-platform module (mark either the module or the import as native)
    import ceylon.math "1.2.0";
           ^
source/codegolf/ceylon/module.ceylon:5: error: native import for cross-platform module (mark either the module or the import as native)
    import javax.script "7";
           ^
source/codegolf/ceylon/module.ceylon:6: error: native import for cross-platform module (mark either the module or the import as native)
    import oracle.jdk.scripting "7";
           ^
source/codegolf/ceylon/module.ceylon:7: error: native import for cross-platform module (mark either the module or the import as native)
    import ceylon.interop.java "1.2.0";
           ^
ceylon compile: There were 5 errors

This was my file:
module codegolf.ceylon "1.0.0" {
    import ceylon.io "1.2.0";
    import ceylon.math "1.2.0";
    import javax.script "7";
    import oracle.jdk.scripting "7";
    import ceylon.interop.java "1.2.0";
}

The old file
module codegolf.ceylon "1.0.0" {
    import ceylon.io "1.1.0";
    import ceylon.math "1.1.0";
    import javax.script "7";
    import oracle.jdk.scripting "7";
    import ceylon.interop.java "1.1.0";
}

worked without problems in Ceylon 1.1.
Some use of Google showed me that this came in with issue #3605 + #3606.
But neither the language specification nor the reference for modules or native contain any mention of that requirement, or even how the syntax would look like.
Could that please be fixed? (The 1.2 announcement says the spec is "complete", which is actually is not, as this issue shows.)
[Migrated from ceylon/ceylon-spec#1455]

Docs were added here https://github.com/ceylon/ceylon-lang.org/issues/346 , I also opened an issue for the tour https://github.com/ceylon/ceylon-lang.org/issues/425 . Closing this issue.


Remove "Last IP" column

Due to GDPR-related concerns, we would like to be able to disable the "Last IP" column or get rid of it altogether.

Sure.  It is useful to us internally because we have to be able to directly access these devices sometimes to help our clients, but we are also in a very different scenario.  This is probably a good option for a plugin at some point.

Maybe something in the spirit of https://github.com/DigitaleGesellschaft/Anonip could address the concerns sufficiently?

Maybe something in the spirit of https://github.com/DigitaleGesellschaft/Anonip could address the concerns sufficiently?

The thing is, in our setup, the IP addresses are not resolved correctly, so we came to the conclusion that removing the column altogether would be the easiest for us 🤷♂

The thing is, in our setup, the IP addresses are not resolved correctly, ...

Thanks to the (AWS?) reverse proxy I guess? Maybe it will change when IPv6 gets used?

The thing is, in our setup, the IP addresses are not resolved correctly, ...

Due to the reverse proxy I guess?
As you said we'd rather just remove the storage (or display only?) of the IP addresses entirely, but if anyone else has this problem: Using/Supporting X-Forwarded-For would resolve this issue.

Yes, we documented that here: https://github.com/UpstreamDataInc/goosebit/blob/master/docker/demo/nginx/site.conf
IPv6 is indeed a problem.
Anyway, with AWS such things are not always that straightforward. But, we can have a look offline if you are interested.

So the course of action we want to take is removing it, correct?  I have no opposition to that in the main branch, so I can throw together a quick PR to remove it.
Additionally, X-Forwarded-For is something I believe the internal version we were using supported.  The nice part of doing this as a plugin is that it's basically just a middleware, so it is really easy to inject.

So the course of action we want to take is removing it, correct?

I'm not a big fan of removing this, a config flag I think is preferable as this is likely to be useful debugging info for a lot of deployments.

The nice part of doing this as a plugin is that it's basically just a middleware, so it is really easy to inject.

The bigger issue I think is the data storage, a plugin would need to use a separate table probably.

Personally I would also not remove it - but rather add a config if it should be stored/displayed or not.
Maybe lacking hands-on experience with plug-in mechanisms I still fear that it is not worth the complexity.

Personally I would also not remove it - but rather add a config if it should be stored/displayed or not.
Maybe lacking hands-on experience with plug-in mechanisms I still fear that it is not worth the complexity.

My only concern here is how that functions with privacy laws...

My only concern here is how that functions with privacy laws...

Well, a don't store IP config option I'm sure would be fine.


math: raise OverflowError when result is infinite

Matches CPython behavior.
For example, math.exp(1e6) raises OverflowError in cpython, but the previous RustPython implementation just returned inf.

Shame the test for ldexp still fails. Some handling of NaNs seems to be required.

@DimitrisJim I fixed ldexp as well, it only required handling non-finite cases differently like you said.

And thanks a lot to @DimitrisJim for the review, it helps a lot!


ajv option v5 is depreceated

Option v5 (used in validator and shown in documentation for "Custom validation") is no longer used in ajv.
It was replaced with $data option, some methods were moved to ajv-keywords.

@vonagam Can you provide more detailed mapping? setting $data to true actually breaks an Objection.js ajv test.

Well, your way was right. There is no mapping, it should be that easy.
But i am too getting errors from test for 411.
While investigating i found out that order of arguments have mismatch here: 1 and 2. So you end up replacing jsonSchema with json. Unfortunately, it does not solve the real cause of the problem.
I also found out that compileNormalValidator(jsonSchema) does not return a validating function with property schema set to passed jsonSchema as it should do. That's why the validation fails.
To understand why the property set wrongly i would have to debug this more seriously, but i personally do not have time for this and currently do not use ajv for validation myself. Sorry that i couldn't help.


Hovers don't show on html end tags

Describe the bug:
This is probably the issue of html language server, but it is more understandable in context of razor editor, so I'm posting it here rather than on developercommunity feedback website
Version used:
VS 2022 v17.4 Preview 3
To reproduce:

Create blazor server app
Go to Counter.razor
Try hover over openning and closing h1 tag and PageTitle razor component

Expected behavior:
Hover is displayed for both openning and closing tags of both h1 and PageTitle
Actual behavior:
Hover is not displayed for closing h1 tag:

Additional context:
Request for having hovers on closing tags was posted in https://github.com/dotnet/razor-tooling/issues/4363 and later implemented on razor tooling side But it seems, that this behaviour was never synced with html language server. The request here is to make html language server return hovers for closing tags as well

Just submitted the PR for this on the HTML side.  Should be in 17.5 Preview 1.

Thanks Jimmy!


Farming policy should be validated when linked to a farm

First i queried the chain for policy id 99 to make sure that it's a non-existent policy.

and then i tried to attach the policy to farm 5 on devnet

and after the proposal was voted on from the dashboard and expired

i got the proposal index from dao -> proposals

the i closed the proposal from dao -> close

There were no validation errors throughout this process but the invalid policy was not attached to the farm.


Feature: Add custom containerClass for ngx-bootstrap

It helps when you want to add custom style only for tour step popovers.
I've already create PR for that #149
What do you think? Make sense?

Can you solve this by creating your own custom template?  I'm leery of adding more configuration options if it's possible to do with the existing options.

I know for custom template, but how can I manage the container popover element? I wanna style popover container (not popover-body) element and that isn't possible with custom template. With custom template you can only put some elements inside popover-body div element. Or I'm wrong?
One thing also, if I somehow do it with custom templates, I can't make for example three different popover's style, because custom template is one and only (per ).

(1) You're right about not being able to add a class to the popover container from the template.
(2) There's only one template, but you can dynamically set the class in your template, like this:
<tour-step-template>
  <ng-template let-step="step">

{{step?.content}}

      <button *ngIf="tourService.hasPrev(step)" class="btn btn-sm btn-default" (click)="tourService.prev()">« {{step?.prevBtnTitle}}</button>
      <button *ngIf="tourService.hasNext(step)" class="btn btn-sm btn-default" (click)="tourService.next()">{{step?.nextBtnTitle}} »</button>
      <button class="btn btn-sm btn-default" (click)="tourService.end()">{{step?.endBtnTitle}}</button>

  </ng-template>
</tour-step-template>

Do you need to modify the arrow or title portion of the popover?

I need to modify style of root element of following snippet:
<popover-container ... class="popover ....">   ....   <tour-step-template>     <ng-template let-step="step">

{{step?.content}}

         <button *ngIf="tourService.hasPrev(step)" class="btn btn-sm btn-default" (click)="tourService.prev()">« {{step?.prevBtnTitle}}</button>         <button *ngIf="tourService.hasNext(step)" class="btn btn-sm btn-default" (click)="tourService.next()">{{step?.nextBtnTitle}} »</button>         <button class="btn btn-sm btn-default" (click)="tourService.end()">{{step?.endBtnTitle}}</button>

     </ng-template>   </tour-step-template> </popover-container>

You convinced me.  Merged and released as 4.1.0.

You convinced me. Merged and released as 4.1.0.

Hi, just wandering when will 4.1.0 be released

https://www.npmjs.com/package/ngx-tour-ngx-bootstrap