Startup Error

Hello,
I am using Homekit <> openHab <> KNX as many of you probably, the Debian it all runs down is in a VM on my PC with its own IP and so on...
Installed the Demo content on openHab(renamed the sitemap to homekit.sitemap),
configured KNX and Homekit,
copied the package.json here to my home folder (username ist lx).
When I start the openHab server in a Terminal and try to start the Homekit Bridge with

npm start -- --name "myOpenHAB-Bridge" --server localhost:8080 --sitemap homekit

I receive loads of errors:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs',
1 verbose cli   '/usr/bin/npm',
1 verbose cli   'start',
1 verbose cli   '--',
1 verbose cli   '--name',
1 verbose cli   'myOpenHAB-Bridge',
1 verbose cli   '--server',
1 verbose cli   'localhost:8080',
1 verbose cli   '--sitemap',
1 verbose cli   'homekit' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart<EMAIL_ADDRESS>6 info start<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec start script
9 verbose stack Error<EMAIL_ADDRESS>start: node index.js start "--name" "myOpenHAB-Bridge" "--server" "localhost:8080" "--sitemap" "homekit"
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:827:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid<EMAIL_ADDRESS>11 verbose cwd /home/lx
12 error Linux 3.16.0-4-amd64
13 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "--" "--name" "myOpenHAB-Bridge" "--server" "localhost:8080" "--sitemap" "homekit"
14 error node v4.4.5
15 error npm  v2.15.5
16 error code ELIFECYCLE
17 error<EMAIL_ADDRESS>start: node index.js start "--name" "myOpenHAB-Bridge" "--server" "localhost:8080" "--sitemap" "homekit"
17 error Exit status 1
18 error Failed at the<EMAIL_ADDRESS>start script 'node index.js start "--name" "myOpenHAB-Bridge" "--server" "localhost:8080" "--sitemap" "homekit"'.
18 error This is most likely a problem with the openHAB-HomeKit-Bridge package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node index.js start "--name" "myOpenHAB-Bridge" "--server" "localhost:8080" "--sitemap" "homekit"
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs openHAB-HomeKit-Bridge
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls openHAB-HomeKit-Bridge
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

hope you can help me, and please be patient with me since debian is not my main OS,
curry

Did you do npm install or npm update from a previous install? Is there any other output after you commit the npm start command?
Copying the package.json is not sufficient. You have to clone the complete repo and do npm install in the root directory of the project.

Ok, what I did now is: Download the repo, extract it.
cd / to the repo
run npm install
and I'm starting with:
npm start -- --name "PH Bridge" --server <IP_ADDRESS>:8080 --sitemap homekit
This gets me the following error:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs',
1 verbose cli   '/usr/bin/npm',
1 verbose cli   'start',
1 verbose cli   '--',
1 verbose cli   '--name',
1 verbose cli   'PH Bridge',
1 verbose cli   '--server',
1 verbose cli   '<IP_ADDRESS>:8080',
1 verbose cli   '--sitemap',
1 verbose cli   'homekit' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart<EMAIL_ADDRESS>6 info start<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec start script
9 verbose stack Error<EMAIL_ADDRESS>start: node index.js start "--name" "PH Bridge" "--server" "<IP_ADDRESS>:8080" "--sitemap" "homekit"
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:827:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid<EMAIL_ADDRESS>11 verbose cwd /home/lx/OpenHAB-HomeKit-Bridge-master
12 error Linux 3.16.0-4-amd64
13 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "--" "--name" "PH Bridge" "--server" "<IP_ADDRESS>:8080" "--sitemap" "homekit"
14 error node v4.4.5
15 error npm  v2.15.5
16 error code ELIFECYCLE
17 error<EMAIL_ADDRESS>start: node index.js start "--name" "PH Bridge" "--server" "<IP_ADDRESS>:8080" "--sitemap" "homekit"
17 error Exit status 1
18 error Failed at the<EMAIL_ADDRESS>start script 'node index.js start "--name" "PH Bridge" "--server" "<IP_ADDRESS>:8080" "--sitemap" "homekit"'.
18 error This is most likely a problem with the openHAB-HomeKit-Bridge package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node index.js start "--name" "PH Bridge" "--server" "<IP_ADDRESS>:8080" "--sitemap" "homekit"
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs openHAB-HomeKit-Bridge
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls openHAB-HomeKit-Bridge
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Does npm install run w/o errors? Is there any other output in-between the start command and the npm information? Please paste the full contents of your terminal. You may even start with DEBUG=*,-babel npm start -- --name "PH Bridge" --server <IP_ADDRESS>:8080 --sitemap homekit to see some more debug information.

sorry for the late reply,
npm install runs errorless in the terminal, npm-debug.log says:

error install Couldn't read dependencies
verbose stack Error: Fialed to parse json
verbose stack No data, empty input at 1:1

this is what the debug log says by running the debug aswell.
My machine is quite straight-forward:
User lx password: root
and root password is root, aswell.
everything I run is runned by root.

Just to be clear: You did git clone https://github.com/htreu/..... then cd OpenHAB-HomeKit-Bridge then npm install?
The message seems to indicate that npm does not see the package.json in the root of the project directory.
Pls have a look at this thread for some more ideas: http://stackoverflow.com/questions/18401934/couldnt-read-dependencies-error-with-npm

Yes, everything you said.
There seemed to be a problem with this though, and after I re-installed the package it gets me a different error (yay):
TypeError: Cannot read property 'homepage' of undefined
Exit Status 1

Please do a curl -v http://<IP_ADDRESS>:8080/rest/sitemaps/homekit and post the output.

`root@debian:/OpenHAB-HomeKit-Bridge# curl -v http://<IP_ADDRESS>:8080/rest/sitemaps/homekit

Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8080 (#0)

GET /rest/sitemaps/homekit HTTP/1.1
User-Agent: curl/7.38.0
Host: <IP_ADDRESS>:8080
Accept: /

< HTTP/1.1 200 OK
< Date: Tue, 31 May 2016 23:09:07 GMT
< X-Atmosphere-first-request: true
< X-Atmosphere-tracking-id: e7f4bea2-7dd9-49fd-bfbf-2ac116d6d47b
< Expires: -1
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< Content-Type: application/xml
< Content-Length: 319

Server Jetty(8.1.3.v20120522) is not blacklisted
< Server: Jetty(8.1.3.v20120522)
<
Connection #0 to host <IP_ADDRESS> left intact

homekitHomeKithttp://<IP_ADDRESS>:8080/rest/sitemaps/homekitdemoHomeKithttp://<IP_ADDRESS>:8080/rest/sitemaps/homekit/demofalseroot@debian:/OpenHAB-HomeKit-Bridge# curl -v http:/root@debian:/OpenHAB-HomeKit-Bridge#
`

It seems all the xml tags are missing. Please try again with curl -v http://<IP_ADDRESS>:8080/rest/sitemaps/homekit?type=json. We are getting there :-)

root@debian:/OpenHAB-HomeKit-Bridge# curl -v http://<IP_ADDRESS>:8080/rest/sitemaps/homekit?type=json

Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8080 (#0)

GET /rest/sitemaps/homekit?type=json HTTP/1.1
User-Agent: curl/7.38.0
Host: <IP_ADDRESS>:8080
Accept: /

< HTTP/1.1 200 OK
< Date: Tue, 31 May 2016 23:15:56 GMT
< X-Atmosphere-first-request: true
< X-Atmosphere-tracking-id: b736644f-9b1f-451d-aaa6-ad410d39e2ab
< Expires: -1
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< Content-Type: application/json
< Transfer-Encoding: chunked

Server Jetty(8.1.3.v20120522) is not blacklisted
< Server: Jetty(8.1.3.v20120522)
<
Connection #0 to host <IP_ADDRESS> left intact
{"name":"homekit","label":"HomeKit","link":"http://<IP_ADDRESS>:8080/rest/sitemaps/homekit","homepage":{"id":"demo","title":"HomeKit","link":"http://<IP_ADDRESS>:8080/rest/sitemaps/homekit/demo","leaf":"false"}}root@debian:/OpenHAB-HomeKit-Bridge#

So this is the other output I get. Really big thanks for your support, I really appreciate this!

Im sorry to remid you of my problem, you may accidently skipped it?

The output of the curl command indicates your homekit.sitemap is empty. I did a test with an empty sitemap and got the same result. If your sitemap happens not to be empty please post it here for further analysation.

Good Evening//Guten Abend!
As a result of your answer I tried to use the "demo" sitemap and it worked!
But after I expanded the .items and .sitemap file it wont boot up again.
First there was an unknown error and now i've got the error code 1 from NPM,
but since then the terminal crashes as soon as I run the NPM command

EDIT: (rather update)
As it turns out my VM running Debian just totally crashed and won't boot.
Sh**.
I dont think I'll survive a reinstall of the system.
Thats really really bad because I just converted my whole KXN setup in the OpenHAB config.
Any way I can restore these configuration files?
I tried to map the VMDK file to my host but there was a file format error.

This really depends on the error which occurs. There should be at least some kind of output from the VM. I will close this issue for now and wish you good luck for the recovery.

Okay well thanks for the great support!
As I have to make a new VM in any case I just wanted to ask which linux distribution you would recommend. (It should be small and very fast to install and stable to run), like windows server for linux ;)

I would recommend to use a ready-to-run image with ubuntu or debian. But this highly depends on your taste on linux distros. You can download preinstalled images here: https://virtualboxes.org/images/

I tried everything I can but its not working. Different errors every time...
I know you have a lot to work on, but is it possible for you to create a preinstalled VM with the HK bridge?
This would be unbelievable!

I´m sorry, but this is completely out of scope.

Okay I can understand that. I just hoped you already had something like this (like a developing VM),
but I'll give it another try.
So please tell me whether I missed something:

Download and install the VM and boot it up obviously
comment out the install CD in the sources.list
run apt-update and apt-upgrade
apt-get install sudo and -curl
curl -sL ... setup_4 sudo -E bash -
sudo apt-get install nodejs
sudo apt-get install build-essential
(checkpont: node -v and npm -v have output)
install libavahi and npm update
sudo apt-get install git
git clone github...
cd to OpenHab...
npm install
NPM install does work, but gives out these:
Warning: to-iso-string has been deprecated Warning: jade has been renamd to pug Warning: Please update to minimatch 3.0.2 Warning: lodash is no longer maintained Warning: Please update to minimatch 3.0.2 Warning: optional dep failed [...] Error: Tried to download: ..bignum-v0.12.5...tar.gz Error: Pre built binaries not found for bignum

Okay. Then I start using:
npm start -- --name "PH28 Bridge" --server <IP_ADDRESS>:8080 --sitemap demo
I get 6 warnings:
The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi
Please fix your application to use the native API of Avahi
For more informartion see ...
The program 'nodejs' called ... which is not supported in the .. layer of Avahi
Please fix your application to use the native API of Avahi
For more information see...
But anyway it says 'Starting the bridge PH28 Bridge...'
Sadly I'm not able to find the Bridge in the HomeKit app...
Why is this so difficult? :D
Thanks for your great support!!!!!

What you did please? Thanx!


Support Python 3.11

Python 3.11 beta is out on Friday with full release in October:

3.11.0 beta 1: Friday, 2022-05-06
3.11.0 final: Monday, 2022-10-03

https://peps.python.org/pep-0664/
Changes proposed in this pull request:

Test 3.11-dev on GitHub Actions
Add py311 to tox.ini
Add Trove classifier
Update some config

Codecov Report

Merging #13 (4faef03) into main (52b0aab) will decrease coverage by 1.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
- Coverage   99.68%   98.42%   -1.26%
==========================================
  Files           9        9
  Lines         635      635
==========================================
- Hits          633      625       -8
- Misses          2       10       +8

Flag
Coverage Δ

GHA_Ubuntu
?

GHA_Windows
?

GHA_macOS
?

ubuntu-latest
98.42% <ø> (?)

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

Impacted Files
Coverage Δ

tests/test_i18n.py
88.88% <0.00%> (-11.12%)
: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 52b0aab...4faef03. Read the comment docs.


Have the default callback URL protocol be https

Description
In an effort to increase default security, the default callback URL protocol should be changed to https. This change can be undone by specifying options.protocol="http".
Addresses https://github.com/node-saml/passport-saml/issues/677#issuecomment-1175041079

Furthermore it seems that after passport-saml --> core node-saml split one problematic codepath was already removed because callbackUrl generation does not use values from req anymore

I agree. So doing nothing here is also a reasonable option.
As I understand, "localhost SSL certs" can be a pain and don't do much security. Using plain http for local development is a nice and reasonable feature. So https://localhost feels more like security theater here.
So I'd be in favor if either doing nothing or to taking @srd90's suggestion to simplify the code with a breaking change to  how callbackUrl is defined to remove the else clause there.

LGTM.

@srd90 , thanks for pointing this out. Change made.


Board local REPL workflow

Currently, npm run dev in seeds/breadboard-web provides a pretty decent developer experience: the board runs in a browser with a simple UI, which gets reloaded on save (thanks Vite!)
Imagine that this was part of breadboard CLI? The flow would be:

Set up a blank repo for a board
Install Breadboard CLI: npm i @google-labs/breadboard-cli
Run it in REPL mode npx breadboard dev
A link is printed for a local server
Local server shows a simple UI like above
Any edits to the board in the repo cause the board to be built and UI restarted

I'm pretty enamoured with this, but then I was thinking of some challenges that we have to get over:

If you are adding this into an existing project, you already probably have your own HMR like vite, so you just get this sweet flow (and it will likely be in the UI of your app)
We're assuming that the file that the breadboard is standalone and not part of some other logic. I've never really built an app that is just the breadboard, it's normally as part of a page, or some component etc...

Would this be better as a starter-kit? so say you could do npm init @google-labs/create-breadboard and it built out all of the things you need to get to this repl experience?

Or maybe even as a Vite plugin?

plus a create-breadboard starter?

Or maybe even as a Vite plugin?

I think the only time you need a plugin is if you are dealing with graph json files.  https://github.com/google/labs-prototypes/blob/main/seeds/web-demo/build/graph.ts has some of the early work that I was doing to detect dynamically imported kits - the issue I had was emitFile only works in production. But you can get around it with the configureServer method because it can intercept the request for the graph file and then and dynamically fetch the kits defined in any graph json file.
I don't mind taking a swing at this (create-breadboard), a lot of the code is kinda already there

Yeah, I did this by combining two other plugins:

vite-plugin-watch-and-run to run a command to generate graphs (this creates .json and .md files)
vite-plugin-full-reload to react to changes to .json files.

See https://github.com/google/labs-prototypes/blob/main/seeds/breadboard-web/vite.config.ts#L32

vite-plugin-watch-and-run to run a command to generate graphs (this creates .json and .md files)

Reading the logic ... you just did the "We're assuming that the file that the breadboard is standalone " :) heh. I was looking at the logic and it's very neat that you try and load the file as a breadboard and then just json it and mermaid it.... very cool.

https://github.com/google/labs-prototypes/commit/939d709972cf87f98f23df95d308dcfd1d8d8940 conatins the npm init @google-labs/breadboard your-new-project.

Let's see if we can build this for M3 (by mid-next week)?
@paullewis

build -> refine and turn into a beautiful thing

Let's see if we can figure out what else is needed to make this go:

[ ] Publish palm-kit
[ ] Publish json-kit
[ ] Push a new release of llm-starter (since palm-kit got extracted out of it)

What else?


Composer guides user on how to enable Teams as a connection

Is your feature request related to a problem? Please describe.
Teams should be easy to enable as a connection for a user's bot project.  Composer should guide the user on how to enable this in Composer and in Teams.
Describe the solution you'd like
There should be a connection enable experience that allows a user to be able to turn on Teams connection and it should generate a manifest file with instructions on how to enable this in App Studio.  The Teams channel in ABS should be enable and configured.  ABS bot registration should also be verified.
Additional context
Creation Functional Requirement 4.0

Currently blocked due to need for agreement on R13 interface for Channel / Adapter / Connection

@Dewain27 is anything else needed here for Teams?


Make a package for Synology NAS devices

Hi :)
it would be great to make fritzctl available to some "always on" devices such as NAS Systems.
In my Setup i use an additional raspi for my fritzctl stuff. This additional hardware wouldnt be neccessary if fritzctl would be available for my Synology NAS.
Third party package sources are possible on synology devices.
If you think this is a good idea at all, i would try to help you out with things like how the packages have to be placed on a webserver and testing stuff.
greetings
seppel

Hi @seppeel,
in my opinion this is a reasonable proposal and I hope it can be done.
To manage expectations, I would like to comment on some stuff.

I'm no expert on Synology NAS, I don't have one ;)
Just cross-compiling to the target system and copy the binary to the NAS would be be a low hanging fruit, but that is probably not enough. Providing an spk somehow is the way to go.
How good is the toolchain support? People are mostly using spksrc. Apparently they got syncthing to work, which makes me confident that it could work here, too.
Which CPU architectures? There seem to be a lot, depending on the model. Not all of them are known to work with go, see https://github.com/SynoCommunity/spksrc/issues/3456 and https://github.com/golang/go/issues/22885. So if your model is PPC32, this is bad news.
Testing the spk on real devices would be great, I can also ask some friends for help.
Package hosting: Preferably, I would go for an existing community repo. I don't see hosting the stuff myself. My usual go-to hosting, bintray, doesn't support spk.

Apart from that, I can spare very little time working on this project atm :(. I am hoping to do coherent work on fritzctl before Christmas holidays.
Greets

Hi!
To be honest i didnt even know about the synocommunity repo, all my custom packages had own repos. But i agree, using the existing community repo would be the best way.
I found a nice list of CPUs used in the official Synology documentation:
https://www.synology.com/en-us/knowledgebase/DSM/tutorial/General/What_kind_of_CPU_does_my_NAS_have
The SynoCommunity made a nice (and very long, ouch) list of architectures currently used:
https://github.com/SynoCommunity/spksrc/wiki/Architecture-per-Synology-model
For me it looks like PPC archtitectures are no longer supported anyways, so good news for this.
To provide an example for a repo i used (with some architectures):
http://syno.dierkse.nl/
I personally use a small DS115j with Marvell Armada 370 88F6707 cpu (armada370).
-> I can test a spk on this device for you.
No hurry, i just bought a house and won't be able to big things on my home network before january ;-)
Let me know whenever i can provide some support for you.
Greetings

yeah, i will keep an eye on it and give you feedback as soon as its available :)

I have some preview packages; rename .gz to .spk (github doesn't let me upload spk).
fritzctl_x64-6.1_1.4.23-1.gz
fritzctl_rtd1296-6.1_1.4.23-1.gz
fritzctl_northstarplus-1.1_1.4.23-1.gz
fritzctl_monaco-6.1_1.4.23-1.gz
fritzctl_kvmx64-6.1_1.4.23-1.gz
fritzctl_ipq806x-1.1_1.4.23-1.gz
fritzctl_hi3535-6.1_1.4.23-1.gz
fritzctl_evansport-6.1_1.4.23-1.gz
fritzctl_dockerx64-6.1_1.4.23-1.gz
fritzctl_denverton-6.1_1.4.23-1.gz
fritzctl_comcerto2k-6.1_1.4.23-1.gz
fritzctl_armadaxp-6.1_1.4.23-1.gz
fritzctl_armada375-6.1_1.4.23-1.gz
fritzctl_armada370-6.1_1.4.23-1.gz
fritzctl_armada38x-6.1_1.4.23-1.gz
fritzctl_armada37xx-6.2_1.4.23-1.gz
fritzctl_alpine-6.1_1.4.23-1.gz
fritzctl_aarch64-6.1_1.4.23-1.gz
fritzctl_88f6281-6.1_1.4.23-1.gz

No worries. Best of luck with your new house :)


Doc Error/Incomplete in Section: Debug your add-in

These steps are incomplete/incorrect:
To open the property pages of a project
1.In Solution Explorer, choose the project name.
2.On the menu bar, choose View, Properties Window.
Step 1 above is confusing because in-fact the properties in the subsequent list are in the different projects of the solution.  The expectation is that only one of the project "names" is selected and the properties are there when the user must select the name of each project to locate the specific property from the list.
Suggest that you add as you did for Outlook specific properties, parenthetical hits to where the property might be located as in the "Web" project or the "Add-in" project.
Small issue but still confusing.

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

ID: ad34b5e8-8b67-5dfd-db60-60a9ac3ffc24
Version Independent ID: b8b446ec-bb85-04f5-d6bf-198ba0288e04
Content: Create and debug Office Add-ins in Visual Studio
Content Source: docs/develop/create-and-debug-office-add-ins-in-visual-studio.md
Product: office
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for bringing this to our attention. I have clarified the instructions. The intention was to open only the basic add-in project, not the web project.

Thanks. We'll look into this.
https://office.visualstudio.com/OC/_workitems/edit/2508285


sync_rando view and user feedback

We should show if a sync is pending (not only in progress). It seems possible to inspect task queue:
http://stackoverflow.com/questions/5544629/retrieve-list-of-tasks-in-a-queue-in-celery


Shell package cleanup

Description
The shell package is going to be used outside the job executor, so it should be moved up one level and also tidied up substantially.
Changes
There's a lot happening here so it's in several commits.
Each one is fairly focused on a particular aspect, so shouldn't be too maddening to review.
One thing that's worth calling out: this changes how RunAndCapture (now called RunAndCaptureStdout, on a different type) handles stderr. Previously, stderr of the process being run was dropped with no way to override it. I think that's not very useful, so I changed the default behaviour to show stderr (with an override via functional options).
Testing

[x] Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
[x] Code is formatted (with go fmt ./...)

I'm going to merge this now rather than later:

The amount of change overall could make it "fun" to rebase
Since we want to run it for a bit longer (good point @wolfeidau)


Extension issue, unresponsive

Issue Type: Bug
Extension Name: tabnine-vscode
Extension Version: 3.4.12
OS Version: Windows_NT x64 10.0.18363
VS Code version: 1.57.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:
gz#2884

Can you share your Tabnine's logs?
Open the extension settings and enter a path on ‘Tabnine: Log File Path’
Then restart IDE and wait for the problem to happen.
And your devtool output?
Click Help->Toggle Developer Tools->Console


Remote Repository Future Enhancements

This is a list of issues to track for when we work on supporting Remote Repositories to ensure that we covered issues that have been brought up.
List of issues:

[ ] https://github.com/github/vscode-github-actions/issues/48
[ ] https://github.com/github/vscode-github-actions/issues/74
[ ] https://github.com/github/vscode-github-actions/issues/78

Looks like it depends on protocol: Works with HTTPS, does not work with SSH


[Snyk] Security upgrade @backstage/errors from 0.0.0-use.local to 0.1.1

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

packages/catalog-client/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-8187303
  170

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)


Messy layout when displaying line numbers

I assume that this is due to the fact that writeroom-mode places the fringe outside the margins. Try setting writeroom-fringes-outside-margins to nil.

Sorted, thank you!

Note that if you prefer to have the fringes outside the margins in writeroom-mode, you could also customize linum-format to include a space after the line number.


Consider native consumption support for IteratorAssert

In some cases it is invalid to collect the contents of an iterator - the returned value must be consumed during iteration. This is a common pattern when dealing with ByteBuffer iterators returned from file or database operations (useful for avoiding excessive allocation).
As such, it would be nice if IteratorAssert was able to deal with these semantics by consuming and checking the iterator values during iteration: assertThat(it).containsExactlyElementsOf(iterable).
The workaround for now is pretty simple:
private static <T> void containsExactlyElementsOf(Iterator<T> it, Iterable<T> expected) {
    final Iterator<T> eit = expected.iterator();
    while (it.hasNext() && eit.hasNext()) {
        assertThat(it.next()).isEqualTo(eit.next());
    }
    assertThat(it).isExhausted();
    assertThat(eit).isExhausted();
}

I'm assuming you are using using a version older than 3.12.0,  as in that version IteratorAssert has been changed to only reflect pure Iterator assertions (before that it was exposing Iterable assertions by converting the iterator under test to a list.
See https://assertj.github.io/doc/#assertj-core-3.12.0-breaking-changes
You can not face this in newer versions as you would have to explicitly convert your iterator to an iterable to call containsExactlyElementsOf.
I'm not sure that would solve your underlying problem though.

I'm on the latest  - I'm hoping that new methods can be added to IteratorAssert so that my workaround becomes unnecessary. (I agree that IteratorAssert should not extend IterableAssert 👍.)

We have moved away from iterable style assertions for iterators because some users were confused about the iterator being consumed, at the moment I'm not convinced to get back to that road again.

In some cases it is invalid to collect the contents of an iterator

Your workaround is consuming the iterator (partially but still), I'm not sure to understand your point.

Closing this issue but happy to reopen if convinced by further discussions.


Conda package via conda-forge

It would be awesome if there were conda packages for SimpleElastix, so that anyone could just use it without needing to compile it. If done via conda-forge, you'd only need to create (and maintain) a recipe, and the building would all be automated.

Hi almarklein, yes that would be very helpful for a lot of users. I do not have much experience with conda-forge, would you be interested in contributing such a recipe?

I don't have a lot of time on my hands, but I do believe the Python community needs a tool like this to be easily available. What if I did the initial setup, and then ping you to sort out the details of the build.sh and build.bat?

That would be great! Awesome! Got your ping, will take a look this afternoon.

I gave you push-rights to the repo, in case you feel like fixing things :)  I have no idea where to start with the Windows .bat file.
Links for reference:

repo containing recipe (simpleelastix branch): https://github.com/almarklein/staged-recipes/tree/simpleelastix
conda-forge PR: https://github.com/conda-forge/staged-recipes/pull/324

BTW: what versions of Python does SimpleElastix' wrapper support?

For sure Python 2.7 and 3.4. Haven't tested with 3.5 but would be surprised if it didnt work

I think we might have a problem with the build time. I don't experience with Circle CI or AppVeyor, but Travis CI limits build time to 50 minutes which is barely enough time to build ITK and elastix, let alone SimpleElastix. Don't know what to do about that

Thanks for push-rights btw, I will handle the Windows build :)

I wonder if SimpleElastix can be installed by anaconda?
I added conda-forge as a new channel but can't find SimpleElastix.
Here is my code:
conda config --add channels conda-forge
conda install SimpleElastix
I got the following error message:
PackageNotFoundError: Package not found: '' Package missing in current osx-64 channels:

simpleelastix

Is it because my mac OSX version (10.9.5)?
Any help is appreciated. Thanks!

@chvlyl The package is not yet available. It turned out to be a lot of work to create the recipe, with problems that include that the build takes longer than the maxium allowed time for a CI job.
@kaspermarstal I know you've already put a lot of effort in. What is the latest status, more or less? There seem to be plenty of ppl interested in this, maybe we can do a call-out for help, e.g. in the scikit-image community.

I met with @blowekamp at a conference yesterday who suggested to strip out the SimpleITK filters to reduce compilation time. I am working on this atm and it looks like this does indeed bring the compilation time down to under an hour. Hope to commit the changes in the next couple of days!

Hi,
It was nice meeting you. I am still at the conference, if you want to meet up to discuss this issue further.
Here is our condo-forge pull request, with some ideas on how we are going to move forward:
https://github.com/conda-forge/staged-recipes/pull/1045
Away to help choose the components too keep to is to take advantage of ITK modularity. Has Elastix its self taken advantage of the ITK modularity? Does it build ITK with all the default modules on? A list of modules that Elastix need could be generated. And then the build of ITK could only specify the required modules.
A feature that is coming to SimpleITK, is that in each JSON file is going to specify the ITKModule it is located in. Then when building against ITK, the JSON will automatically be disabled if the ITKModule is not enabled.
Yes another way to reduce the size is to disable some pixel types, perhaps std::complex or LabelMap are not needed.

Hi Bradley, yes nice to meet you too! I left this morning unfortunately, would have liked to talk again. But thanks for the suggestions. Build time is dropping slowly but steady.

Hi @almarklein. I never got it working because it takes too long to build. Closing because it has taken too long to get it to work for me. Feel free to reopen if you want to have another go at it.

@kaspermarstal could independant itk and libitk conda packages be of interest to speed up the build?

@PertuyF that is the approach that pyfftw takes where pyftw depends on fftw (https://github.com/conda-forge/pyfftw-feedstock/blob/master/recipe/meta.yaml#L27) so that the build is broken up.

This is really exciting! as I'm having alot of trouble installing things on Fedora 28.
Is it possible to reopen this issue in light of recent enthusiasm?

Yes! I am planning to fix this build as soon as I get the SimpleITK v1.1.0 branch merged.
If anyone wants to take an initial stab at the conda build you are very welcome!


upload mot1.1 annotation file, the visibility and ignored information fail to be loaded。

When I upload mot1.1 annotation file, the visibility and ignored information fail to be loaded。

In fact, project label default values are used for both visibility and ignored  all images.
Meanwhile, the bounding box is successfully loaded.

I'm facing the same problem, any update ?


Support of index for array element and document number in breadcrumbs

Source yaml
---
my_root:
-    key: value
-    key: value
---
my_root:
-    key: value

Actual bread crumbs

_
my_root
my_root / key
my_root / key
_
my_root
my_root / key

Posible

0
0 / my_root
0 / my_root / 0 / key
0 / my_root / 1 / key
1
1 / my_root
1 / my_root / 0 / key

Dunno. Don't you think it will be extra clutter in breadcrumb line?
What is your suggested use case?

By my opinion, breadcrumbs need for fast navigation in content.
In my experience it's very important orientate in data location, for example - big (10k lines) file with configuration information about system. Unfortunately, not for all data format developed specialized viewers.
Seems that this is ideal:

Show full path of current line
Ability to copy this path
Comboboxes on each path item for navigation by siblings.

Display of index may be separate parameter in settings.


ReviewClarifaiResources

Sure, it sounds like you want to define a task that involves reviewing the resources_pb2.pyi file from the Clarifai gRPC API as an input task into your meta model. This task would then be used to generate example code. Let's break down the steps to achieve this:

Define the Task: Create a task called "ReviewClarifaiResources" that involves reviewing the resources_pb2.pyi file. This task will serve as an input to your meta model.

Generate Example Code: Once you have the review task defined, you can use your meta model to generate example code based on the input from the review task. This code can showcase how to work with the Clarifai gRPC API using the resources_pb2.pyi file.

Execution and Output: Execute your meta model with the review task as input. It will process the input and generate example code as output, demonstrating how to interact with the Clarifai API using the provided protocol buffer definitions.

Keep in mind that the exact implementation details would depend on how you've set up your meta model and task execution pipeline. If you need further assistance with any specific part of this process or have questions about the implementation, feel free to ask!

The the nodeJS version of the new API contains the original protobuffs which we're going to want to read


deep model in SLAM

Hey, are you try to use calc model to detect loops in SLAM system? How can we combine the deep model and whole slam system?

Yes. You can get an idea of how to integrate CALC into a SLAM system from the online demo, where ground truth replaces the trajectory estimation. CALC essentially gives you what DBoW2 gives you (in terms of implementation). You can perform k-nearest neighbor searches for key frames, and find loop closure candidates using some thresholding of the similarity scores.


[ConstraintSolver] Track number of conformances when picking bindings

Since conformances of the potential binding types are not verified by
the getPotentialBindings code but instead are determined by the solver
itself requires that bindings with conformance constraints are ranked
lower than other potential bindings.
Resolves: rdar://problem/22898292

@swift-ci please smoke test

Ok, it looks like the solution here would be not to track conformances but rather delay binding something to parameter type if we have other bindings, because such pure parameter type bindings don't give us a clear picture.


Add test keys to CI related workflows

Description
Add test keys to CI related workflows.
(Remove dco.yml as it is not needed anymore due to dco app integration on all repositories)
Issues Resolved
Pre-requisite to https://github.com/opensearch-project/ml-commons/pull/1073
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The failure of the CI checks on credentials is expected as you need to merge the code into default branch before it can take effect.
Will merge then test with @ryanbogan @ylwu-amzn on this.
Thanks.

Offline talk with @ylwu-amzn and he is ok with the merge in this state, as it is expected to have the code merge 1st before the test can retrieve credentials.
Thanks.


go_router version bump needs to be reflected in codelab content

In the firebase get to know flutter codelab
Line 71 of main.dart in step_05 (and subsequent steps) should be updated from
final arguments = state.queryParameters;
to
final arguments = state.uri.queryParameters;
to reflect the update in go_router version.
Apologies if there's a better place to report this issue, this is the destination provided for reporting errors via the "report a mistake" link in the lower left of the codelab

I checked with codelabs official repository for the mentioned changes. They have updated the code, but the website is yet to be re-deployed with new changes.
See also: latest code  and Pull request
Expect soon. Feel free to close this issue...

Hi @Nursen. Thanks for filing this. Also, thanks for your input @opxdelwin. Per this PR https://github.com/flutter/codelabs/pull/1791, I see this has been fixed and should be released soon. Thank you!

Thank you @opxdelwin and @dam-ease. If I run into anything else I'll know where to file it for more specificity.


Hide-markdown-diff not hiding all changed

Description
The hide-markdown-diff is not hiding all changes in the final result preview, and effectively shows an inaccurate result.
My changes
Before
> _💁♀ Protip: Use the minify plugin in-place of the loader to transpile your JS_
>
> The `target` option tells _esbuild_ that it can use newer JS syntax to perform better minification. If you're not using TypeScript or any syntax unsupported by Webpack, you can also leverage this as a transpilation step. It will be faster because there's less files to work on and will produce a smaller output because the polyfills will only be bundled once for the entire build instead of per file.

After
#### _💁♀ Protip: Use the minify plugin in-place of the loader to transpile your JS_
The `target` option tells _esbuild_ that it can use newer JS syntax to perform better minification. If you're not using TypeScript or any syntax unsupported by Webpack, you can also leverage this as a transpilation step. It will be faster because there's less files to work on and will produce a smaller output because the polyfills will only be bundled once for the entire build instead of per file.

Screenshots
Github default preview

With "View final result" toggled

Problems

The "Protip: ..." is duplicated
Spacing on the first "Protip: ..." is off
"target" is highlighted

If GitHub’s diff doesn’t make this easy, we have 2 options:

drop the feature
add a notice about its possible looseness

If we can detect a situation when this happens (e.g. if there’s a yellow diff?) we can display the message only in that case.

The spacing and highlighting is easy enough to get rid of, but I don't understand why the second "Protip: […]" line isn't wrapped in a <del> element. This might be a bug in GitHub's diff algorithm?

Yeah that’s what I meant, the diff isn’t reliable enough and thus we need a notice. It’s not our fault

"target" is highlighted

We can fix this + add a notice (that should appear on next to the buttons probably)


Guide, grid view forbidden

Hi, tiny problem here:
What steps will reproduce the problem?

Class GridView documentation
What do you get instead?
403 Forbidden

Failed to reproduce. Could be a temporary issue

The same situation for http://www.yiiframework.com/doc-2.0/guide-db-migrations.html right now.


Hotah's Axe - triggering twice when duped

Hotah's Axe is unique and therefore a duplicate when 2x is attached to a character.
Attached character gets +6 in strength as the duplicate falsely triggeres the +3 strengt twice.

Unfortunately it's not quite that simple, as I can't reproduce that simple case.  Is there anything else you can add about the board state that might have had an impact?

Sorry, I was just watching a game, popped in halfthrough and noticed that Nymeria had +10 strength with 2 x Axes attached, asked the players and they hadn't noticed. Perhaps the Martell player did something manually when marshalling/ambushing the attachement that caused it. I did notice that both Axes faceside up though, so that it seemed to be treated as to separate attachments. Hope it helps, will report with more details if I see it happen again :) Lovely work on your site btw, keep it up!

I think @DukeTax has a reproduction now :)
And it is as you say, it seems to be getting attached twice, rather than being duped!
I'm sure a fix will be forthcoming


Sleep/Halt functionality in Activity level

I have been trying to find out someway some way to provide some sleep to the activities.
let's say there are three activities, Activity A,B and C. When A is executed successfully, then I want to provide a halt of 30 minutes. Then start the process for B and after completion of B, C will start executing and in between the Activity of C, I want to provide some sleep functionality in C. And lastly C will be completed.
In short, I want to provide sleep/halt functionality in Activity level.
Is it possible anyway? Please suggest something.

Activity is pure go code / POJO, which means you can use the normal time.sleep or timer in it without restriction from Cadence.
On workflow level, please use cadence.Sleep/Timer for deterministic control.

yeah put workflow.Sleep between your activity invocations.


Doc update to include type evolution rules

Type evolution rules added to C++ and C# manuals. Duplication will be addressed when https://github.com/Microsoft/bond/issues/115 is addressed.

I added a protocols section to the C# manual. This material was largely missing on the C# side.

CI test failures not related to change.
Please "Rebase and merge" (don't squash).


Implement FMDatabaseQueue in Database.m

As per the title. This is in progress on https://github.com/josh64x2/vienna-rss/tree/fmdb-queue
Also will look at using https://github.com/layerhq/FMDBMigrationManager so we can reduce the amount of code we have in our own Database class.

If we decide not to use FMDBMigrationManager then we should use the SQLite PRAGMA user_version.
This is accessible through FMDB with userVersion and setUserVersion (see: http://ccgus.github.io/fmdb/html/Categories/FMDatabase+FMDatabaseAdditions.html).
Stackoverflow has some interesting discussion on db migrations.

Tasks to do:

[ ] check inTransactions
[ ] check SQLite error handling
[ ] start unit tests

Closing this so discussion can continue on PR #435


Importing @tailwindcss/utilities in CSS file causes ENOBUFS error

Describe the bug
Hello, me again.
The CSS transformer errors out with ENOBUFS with the following CSS file contents:
@import 'tailwindcss/utilities';

We use tailwindcss 1.9.6 if that helps, my suspicion is that it's just a large CSS file or something.
The full error:
  ● Test suite failed to run                                                                                [110/1363]

    spawnSync node ENOBUFS

      at processPostCss (node_modules/jest-preview/transforms/css.js:254:34)
      at processCss (node_modules/jest-preview/transforms/css.js:114:16)
      at Object.process$1 [as process] (node_modules/jest-preview/transforms/css.js:371:12)
      at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:464:35)
      at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:569:40)
      at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:607:25)

Corresponds to https://github.com/nvh95/jest-preview/blob/main/src/transform.ts#L356
I changed the erroring line to
const result = child_process.spawnSync('node', [tempFileName], {maxBuffer: 10 * 1024 * 1024});, which works. The maxBuffer default is 1MB or something, and not sure what you want the actual value to be.
Expected behavior
No error to occur

Hi @davidhao3300
Thanks for reporting this. Can you help to prepare a reproduction? It's hard for me to fix this without properly reproducing this. Thanks.

I'm not a frontend expert, so this is my guess to a repro:

Have<EMAIL_ADDRESS>installed
Have a single css file with @import 'tailwindcss/utilities'; as the contents
include the CSS file and have it transformed by the jest-preview CSS transformer

hi, I am now getting this issue on my less local files, which are big
any chance to get a new version with the buffer fix?


Basic Usecase - No Directive annotation found on ToasterContainerComponent

I tried using angular2-toaster with the most simplest example. Tried exactly the way mentioned in Readme. and got the following:
I downloaded angular2-toaster from npm which gave me 0.1.0-beta.3
Tried making a very basic use on my app.ts (my root component) as mentioned in examples on Readme.md
Getting the following:
EXCEPTION: No Directive annotation found on ToasterContainerComponent
BaseException {message: "No Directive annotation found on ToasterContainerComponent", stack: "Error: No Directive annotation found on ToasterCon…/polyfills.bundle.js:1152:2), :274:21)"}
`
Error: Uncaught (in promise): No Directive annotation found on ToasterContainerComponent
zone.ts?949c:855 Unhandled Promise rejection: No Directive annotation found on ToasterContainerComponent ; Zone: angular ; Task: Promise.then ; Value:

How are you including angular2-toaster in your component?

In addition, what versions of angular and typescript are you using?

Angular 2 : 2.0.0-beta.11
TypeScript : 1.8.9
In my component:
import {ToasterContainerComponent, ToasterService, ToasterConfig} from 'angular2-toaster/angular2-toaster'; @Component({   selector: 'app',   providers: [ ...FORM_PROVIDERS,EventConfigServ],   directives: [ ...ROUTER_DIRECTIVES, Dashboard, MainHeader,Navigation, SubHeader, Breadboard, CompHealth, AdminSetting ],   pipes: [],   styles:[],   template:

  <sub-header></sub-header>

  <div id="content">
     <main>
        <router-outlet></router-outlet>
    </main>

  </div>

</div>

`
})
export class App {
private toasterService: ToasterService;
constructor(toasterService: ToasterService) {
    this.toasterService = toasterService;
    this.toasterService.pop('success', 'Args Title', 'Args Body');
}

}
`

I have excluded a lot of import statements which are related to my app internally, just to make this concise.

Thanks for providing the additional information.
Using angular2-toaster-0.1.0-beta.3 and the Angular2 and Typescript versions you mentioned, I was unable to reproduce your issue.  I've created a quick gist with the main files used to attempt to recreate the issue.  Please note the tsconfig compilation options.
https://gist.github.com/Stabzs/6d002d2da4d2f7c6081805fb813ee2dd

Sure yeah i think I made a mistake copying my code over here. My toaster call was in a method and not in constructor because you are write, no DOMs until you fire ngOnInit or ngAfteViewInit .... I will defnitely check and try your gist and will get back. Thanks for your response, i appreciate it. 👍

@afirdousi happy to help.  if you need additional clarification, don't hesitate to ask :)

@Stabzs Have you tried using it with webpack ? The example you have given uses System JS but when I try to compile it down with webpack it doesn't work and shows me the exact same error.
Stacktrace
`
EXCEPTION: No Directive annotation found on ToasterContainerComponent
?d41d:73 Error: Uncaught (in promise): No Directive annotation found on ToasterContainerComponent
at resolvePromise (eval at  (polyfills.bundle.js:1153), :383:31)
at eval (eval at  (polyfills.bundle.js:1153), :419:17)
at ZoneDelegate.invokeTask (eval at  (polyfills.bundle.js:1153), :204:37)
at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (eval at  (vendor.bundle.js:1336), :35:41)
at ZoneDelegate.invokeTask (eval at  (polyfills.bundle.js:1153), :203:42)
at Zone.runTask (eval at  (polyfills.bundle.js:1153), :103:47)
at drainMicroTaskQueue (eval at  (polyfills.bundle.js:1153), :322:35)
at HTMLDocument.ZoneTask.invoke (eval at  (polyfills.bundle.js:1153), :274:21)
zone.ts Unhandled Promise rejection: No Directive annotation found on ToasterContainerComponent ; Zone: angular ; Task: Promise.then ; Value:
`

My tsconfig.json
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true
  },
  "exclude": [
    "node_modules",
    "typings/main.d.ts",
    "typings/main"
  ],
  "filesGlob": [
    "./src/**/*.ts",
    "./test/**/*.ts",
    "!./node_modules/**/*.ts",
    "src/custom-typings.d.ts",
    "typings/browser.d.ts"
  ],
  "awesomeTypescriptLoaderOptions": {
    "resolveGlobs": true,
    "forkChecker": true
  },
  "compileOnSave": false,
  "buildOnSave": false,
  "atom": { "rewriteTsconfig": false }
}

So this time I tried using it on my most simplest component,
import {ToasterContainerComponent, ToasterService, ToasterConfig} from 'angular2-toaster/angular2-toaster';
import {Component} from 'angular2/core';
import {FORM_DIRECTIVES} from 'angular2/common';
import {bootstrap} from 'angular2/platform/browser'

@Component({

  selector: 'main-header',  // <home></home>
  providers: [ToasterService
  ],
  directives: [
    ...FORM_DIRECTIVES,ToasterContainerComponent
  ],
  pipes: [ ],
  styles: [`
  `
  ],
  template: require('./header.html')
})
export class MainHeader {
  // Set our default values
  data = { value: '' };
  logo = "assets/img/logo.png";

  userPic = "assets/img/avatars/sunny.png";

  // TypeScript public modifiers
  constructor(public toasterService: ToasterService) {

  }

  ngAfterViewInit() {
    this.toasterService.pop('success', 'Args Title', 'Args Body');
  }

}

Please let me know if you can spot or suggest anything.

@Stabzs Have you tried using it with webpack ? The example you have given uses System JS but when I try to compile it down with webpack it doesn't work and shows me the exact same error.
Stacktrace
EXCEPTION: No Directive annotation found on ToasterContainerComponent
?d41d:73 Error: Uncaught (in promise): No Directive annotation found on ToasterContainerComponent
    at resolvePromise (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:383:31)
    at eval (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:419:17)
    at ZoneDelegate.invokeTask (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:204:37)
    at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (eval at <anonymous> (vendor.bundle.js:1336), <anonymous>:35:41)
    at ZoneDelegate.invokeTask (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:203:42)
    at Zone.runTask (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:103:47)
    at drainMicroTaskQueue (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:322:35)
    at HTMLDocument.ZoneTask.invoke (eval at <anonymous> (polyfills.bundle.js:1153), <anonymous>:274:21)
zone.ts Unhandled Promise rejection: No Directive annotation found on ToasterContainerComponent ; Zone: angular ; Task: Promise.then ; Value:

My tsconfig.json
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true
  },
  "exclude": [
    "node_modules",
    "typings/main.d.ts",
    "typings/main"
  ],
  "filesGlob": [
    "./src/**/*.ts",
    "./test/**/*.ts",
    "!./node_modules/**/*.ts",
    "src/custom-typings.d.ts",
    "typings/browser.d.ts"
  ],
  "awesomeTypescriptLoaderOptions": {
    "resolveGlobs": true,
    "forkChecker": true
  },
  "compileOnSave": false,
  "buildOnSave": false,
  "atom": { "rewriteTsconfig": false }
}

So this time I tried using it on my most simplest component,
import {ToasterContainerComponent, ToasterService, ToasterConfig} from 'angular2-toaster/angular2-toaster';
import {Component} from 'angular2/core';
import {FORM_DIRECTIVES} from 'angular2/common';
import {bootstrap} from 'angular2/platform/browser'

@Component({

  selector: 'main-header',  // <home></home>
  providers: [ToasterService
  ],
  directives: [
    ...FORM_DIRECTIVES,ToasterContainerComponent
  ],
  pipes: [ ],
  styles: [`
  `
  ],
  template: require('./header.html')
})
export class MainHeader {
  // Set our default values
  data = { value: '' };
  logo = "assets/img/logo.png";

  userPic = "assets/img/avatars/sunny.png";

  // TypeScript public modifiers
  constructor(public toasterService: ToasterService) {

  }

  ngAfterViewInit() {
    this.toasterService.pop('success', 'Args Title', 'Args Body');
  }

}

Please let me know if you can spot or suggest anything. I am looking into what webpack is generating but there is something there.

I haven't built a webpack sample yet and there very well could be an issue that is webpack related.  I will try to work on a webpack sample and see if I can't get something working for you.

I've added a webpack example.  Turned out there are a few issues/tricks with the current angular build that make things tricky.
In your root, make CERTAIN that you include import 'angular2/bundles/angular2-polyfills';.  If you do NOT, decorators will not be usable and you'll receive an error as such.
This doesn't expressly solve your particular error, but I wasn't able to reproduce it.  Please look at the sample I've added.  I hope it'll help give some clarity.
As a footnote, I didn't bother adding in a new package to auto-include CSS as well.  That would be a downstream effort after CSS is either inlined to components or build via scss/sass.


Google Login fails from messenger on mobile

When trying to log in on mobile following a messenger link we get a disallowed_useragent error

Seems Facebook login also fails ... we really need to put up some "sorry Raha.io does not work in WebView, open in browser please!" message otherwise this makes for a very bad first experience

Also does not work if people are using the Google app instead of Safari/Chrome on mobile

We moved to SMS login, so issue is not relevant anymore


Some Projects that are Available for Future Work

Some topics that are available to be worked on
Code Library

[ ] Improve DiscreteDP code by porting State-Action Pair Formulation of Python code to Julia
[ ] Improve DiscreteDP code by porting Sparse Matrix Support from Python to Julia
[ ] CompEcon merge (see https://github.com/QuantEcon/QuantEcon.jl/issues/45)

Notebooks

[x] Fix up errors in 2 x DiscreteDP Julia notebooks
[ ] Port python notebooks to julia equivalents in QuantEcon.notebooks()

Infrastructure

[ ] Improve testing infrastructure by running Julia notebooks and checking for any runtime errors. QuantEcon.applications contains some starting code which is used to run python notebooks using the runipy project

I should've fixed the issue in ddp_theory_jl.ipynb. The only other Julia notebook is ddp_ex_job_search_jl.ipynb but I don't see errors there. Are there other notebooks with errors?

thanks @albep for the update. I will review and merge your PR today. There are some python notebooks that also need to be ported to Julia. For example:
https://github.com/QuantEcon/QuantEcon.applications/blob/master/discrete_dp/discrete_dp_solutions_py.ipynb
needs to be ported to julia so that we can post a DiscreteDP lecture for the Julia side of the website.

@mmcky That sounds good, I'll start working on porting the notebooks

Thanks @albep .  If you step through the Julia lectures you might find others that are missing solution notebooks.
@mmcky Thanks for organizing.

I've implemented the State-Action Pair Formulation in ddp.jl. I've also tested it a bit and, for instance, it matches the results in this notebook: https://github.com/QuantEcon/QuantEcon.applications/blob/master/discrete_dp/discrete_dp_solutions_py.ipynb
I'm sure someone more proficient than me with Julia can polish it, but it could be a starting point. Before I start implementing Sparse Matrix Support, would anyone like to take a look at it? Shall I proceed with a PR?

Good work!
Let's open up a pull request and I'll look at it. Thanks
// Spencer
On Jan 23, 2016 5:31 PM, "albep"<EMAIL_ADDRESS>wrote:

I've implemented the State-Action Pair Formulation in ddp.jl. I've also
tested it a bit and, for instance, it matches the results in this notebook:
https://github.com/QuantEcon/QuantEcon.applications/blob/master/discrete_dp/discrete_dp_solutions_py.ipynb
I'm sure someone more proficient than me with Julia can polish it, but it
could be a starting point. Before I start implementing Sparse Matrix
Support, would anyone like to take a look at it? Shall I proceed with a PR?
—
Reply to this email directly or view it on GitHub
https://github.com/QuantEcon/QuantEcon.jl/issues/83#issuecomment-174227429
.

I would like to help with code porting from Python to Julia.
So, if they aren't already being worked upon, I'd be up for it!

Glad you want to help out! right now I don't think there are any open issues for things that need to be ported from Python to Julia.
@QuantEcon/lead-developers  can anyone else think of one that I'm missing?
That being said there's plenty of work to be done if you are interested in helping out.

cyclic_classes is missing for MarkovChain. The task will be to port the cyclic_classes method of DiGraph to Julia (and perhaps include it in LightGraphs.jl) and call it from mc_tools.jl. See also #32 and #56.

Dear Spencer,   what about the lectures on optimal taxes with incomplete
markets?  Tom
On Mar 8, 2016 23:06, "Spencer Lyon"<EMAIL_ADDRESS>wrote:

Glad you want to help out! right now I don't think there are any open
issues for things that need to be ported from Python to Julia.
@QuantEcon/lead-developers
https://github.com/orgs/QuantEcon/teams/lead-developers can anyone else
think of one that I'm missing?
That being said there's plenty of work to be done if you are interested in
helping out.
—
Reply to this email directly or view it on GitHub
https://github.com/QuantEcon/QuantEcon.jl/issues/83#issuecomment-194115087
.

Dear Tom,
Yes this is a great idea! I had forgotten about the lecture material.
I quickly compared the table of contents on the Python side to the Julia side and saw that we are missing the following lectures on the Julia side:

The lake model (python code here)
"Adding bling" to the growth model (python code here)
Markov perfect equilibria: I believe we have the julia core algorithm code for this (nnash function in QuantEcon.jl), but maybe not for all the examples. Python code here
The Aiyagari Model. This relies on the DDP code, which we are almost finished with. If you are interested in working on this please let me know as that will provide motivation to finish the ddp codes sooner. Python code here
Dynamic Stackelberg Problems. Python code here
Optimal Taxation with State-Contingent Debt. Python code here
Optimal Taxation without State-Contingent Debt. Python code here

Feel free to tackle any of these!

@spencerlyon2 Thanks, this is a helpful list.
@Dawny33 Pease do feel free to tackle any of these. Note that the relevant repo for development and PRs is for the most part QuantEcon.applications rather than this one.

@spencerlyon2 Wow thank you, that's a long list!  Would love to work on some of them!
@jstac Noted. Thanks for the heads-up!

@jstac @mmcky I'd be happy to bite off whatever I can chew. You guys have some familiarity with what I can do, so let me know where (if anywhere) I might be helpful.

Help is definitely appreciated.
I suggest that you take more time to read through the library first, trying different parts, experimenting, looking at everyone's code.   Try to pick up their style of coding.  Maybe have a look at the tests and see if you can improve them.  Improving tests and documentation is a good place to start.

@jstac Sounds good. I'll start getting myself acquainted with the code.


Add ErrorResponse to "AddIntent" post

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

Automation for azure-sdk-for-js

The last commit fixed the failing ModelValidation Job.

If you haven't taken a look at our new onboarding experience at OpenAPIHub, it's a convenient way to create your PR when you're copying from an existing API version or when you're editing your existing specs. If you have any feedback or questions, feel free to use the feedback button on top of the site for help. Thanks!

@kpajdzik @tiwalter there is an issue with this change. "Regular Expression Entity Extractor" is the same as "Regex Entity Extractor", both should not coexist. What is the reasoning behind adding "Regex Entity Extractor"?

@AmirGeorge you are right.
I added this enum, because the ModelValidation Job (validate Examples) failed, because the "Regular Expression Entity Extractor" is used in the JSON.

@AmirGeorge i think, we should remove the "Regular Expression Entity Extractor" from the enum list. If you want, i can do it for you.

Refactoring see: https://github.com/Azure/azure-rest-api-specs/pull/5747


First issue.

Congratulations on Your Open Source Release!
I'm excited to see your work on "SLAM: structure-aware lysine β-hydroxybutyrylation prediction with protein language model" available as an open-source repository. This is a fantastic contribution to the field of computational biology, and your approach combining structure-awareness with protein language models could provide valuable insights into post-translational modifications like lysine β-hydroxybutyrylation.
It's clear that a lot of effort went into both the development of this model and its thorough documentation, making it accessible for others to build upon. I look forward to seeing how the community will use and expand on this tool!
Best of luck with future developments and continued success in your research.

Thanks, merno! Looking forward to see your paper published.


Added support for different Ubuntu architectures.

I'm a total Rust newbie, so I hope I've used the proper idioms.
I've tested it with UbuntuRelease (with and without the "arch" option) and with plain "Ubuntu", and it seems to work as expected.
I haven't found how to build the docs, though, but I guess it'll be OK.

The pull request is okay, but please add a test. One test would be good enough. Tests are in test/ubuntu.bats and tests/ubuntu/vagga.yaml, to run just ubuntu tests use vagga test tests/ubuntu.bats

I haven't found how to build the docs, though, but I guess it'll be OK.

Your changes are okay. But you don't have to remember how to do it, that's the whole point of vagga :)
Just try:
$ vagga
 Available commands:
...
    doc                 Build vagga documentation
$ vagga doc
...
Documentation is built under docs/_build/html/index.html

Thanks for the doc tip! I was trying vagga make doc or something :)

Squashed and merged in 08dc3d6


Python stack overflow in submission.py

Describe the bug
So I wanted to get a random post on r/cats (as r/memes and r/ProgrammerHumor worked well) and I got a None value instead of a Submission object. I then used the debugger on PyCharm to trace why I got this, and ran into a python stack overflow (see error message below). I also tried in the python console and ran into the same issue.
To Reproduce
Steps to reproduce the behavior:

Create a reddit object
reddit.subreddit("cats").random() and put a breakpoint at this line
Follow random() then _submission_class() line 720 (subreddit.py)
Follow super().__init__(reddit, _data=_data) line 531 in __init__ (submission.py)
It crash at self._fetched = False line 53 in __init__ (reddit/base.py)

Expected behavior
Handle the redirect and return a random post
Code/Logs
Error message : https://pastebin.com/75rmpYsx
import praw
reddit = praw.Reddit(
    client_id=client_ID,
    client_secret=client_secret,
    user_agent=user_agent
)
post = reddit.subreddit('cats').random() # <-- post is None

System Info

OS: Manjaro Linux x86_64
Kernel: 5.9.11-3-MANJARO
Python: 3.8.6
PRAW Version: 7.1.0
prawcore Version: 1.5.0
PyCharm Version: 2020.2.4 (Professionnal)

Per the docs here it says:

Returns None on subreddits that do not support the random feature. One example, at the time of writing, is r/wallpapers.

It seems that the r/cats subreddit is not supported either.
That being said this recursion error was fixed with #1583

I think instead of returning None, an exception should be raised. Right now, InvalidURL exceptions are handled to return None. I think maybe a pseudo-APIException can be raised in this instance since it all depends on the server, not the client.

I think instead of returning None, an exception should be raised. Right now, InvalidURL exceptions are handled to return None. I think maybe a pseudo-APIException can be raised in this instance since it all depends on the server, not the client.

I think returning None when the subreddit doesn't support /random is appropriate.
This isn't an issue with the server or the client. The issue here is, when stepping through code with PyCharm, PyCharm calls str() on all the local variables for display in the variables box. When you land here (the next line that is executed after step 5 above), PyCharm calls str() on self and since the attribute that self.STR_FIELD refers to (display_name in this case) hasn't been set yet, it causes a recursion error when __str__() is called. With the changes in #1583, this was fixed.
@P0SlX You can resolve the stack overflow issue by installing the latest development version by doing:
pip install --upgrade https://github.com/praw-dev/praw/archive/master.zip

Since this is something that is already fixed with #1583, I'm going to close this issue.


URLSession:(NSURLSession *)session didReceiveChallenge to trust self signed cert broke in 0.72.x

Description
After upgrading expo to SDK 49, our development usage of rn-fetch-blob and react-native-ssl-pinning to skip self signed cert has been broken.
I deduce it to be RN as I've tested using RN cli to create a new project and it also failed albeit with different message.

Error: An SSL error has occurred and a secure connection to the server cannot be made.

I've tested with react-native-ssl-pinning and rn-fetch-blob, both will received error as below on the Bare expo.

The certificate for this server is invalid. You might be connecting to a server that is pretending to be “X.X.X.X” which could put your confidential information at risk.

This doesn't happen when I'm on 0.71.8, which is the version i'm upgrading from.
React Native Version
0.72.3
Output of npx react-native info
System:
OS: macOS 14.0
CPU: (8) arm64 Apple M1
Memory: 167.77 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.12.0
path: ~/.nvm/versions/node/v18.12.0/bin/node
Yarn:
version: 1.22.19
path: ~/.yarn/bin/yarn
npm:
version: 8.19.2
path: ~/.nvm/versions/node/v18.12.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /Users/idraki/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- visionOS 1.0
- watchOS 10.0
Android SDK:
Android NDK: 22.1.7171670
IDEs:
Android Studio: Giraffe 2022.3.1 Giraffe 2022.3.1
Xcode:
version: 15.0/15A5195k
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.15
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/idraki/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.3
wanted: 0.72.3
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
https://github.com/idrakimuhamad/repro-expo-ssl-self-sign
The repo have a simple reproduction. Just need to include either rn-fetch-blob or rn-ssl-pinning, and use their configuration to skip self signed cert. For rn-fetch-blob is to add trusty during config.
or you can just run the example in repo above.
Snack, screenshot, or link to a repository
https://github.com/idrakimuhamad/repro-expo-ssl-self-sign

After upgrading expo to SDK 49, our development usage of rn-fetch-blob and react-native-ssl-pinning to skip self signed cert has been broken.

Have you opened this issue against rn-fetch-blob and react-native-ssl-pinning as well? If not please do and link it here

I have not, judging by the libraries not being updated for years, I assumed no changes from the library related to this. However, I will report this too to the libraries and link it back 👍

I've further deduce that it is not React-Native nor Expo core itself, but one of the expo packages, which i'm further drilling to find that causing this.

I've further deduce that it is not React-Native nor Expo core itself, but one of the expo packages, which i'm further drilling to find that causing this.

Closing this for now then. Feel free to reopen if you find more evidence that this is a React Native issue

@idrakimuhamad - currently looking at the same issue - did you have any luck with this?

@idrakimuhamad - currently looking at the same issue - did you have any luck with this?

Unfortunately no. It got something to do with the expo-dev-client or expo-upgrade. The issues are still open so I just wait for now.
https://github.com/expo/expo/issues/24096


Clang format

I guess the tube SO change was in a PR parallel to the style change, thus was missed by the new style. The other changes might be due to difference in versions 8.0.0 and 8.0.1 (which I have).

@hjmjohnson Can this script be used to format remote modules? I ran into this when I tried:
Dzenan@Ryzenator MINGW64 /c/Dev/ITK-git/Modules/Remote/PhaseSymmetry (master)
$ ../../../Utilities/Maintenance/clang-format.bash --clang-format /c/Dev/ITK-2019/ClangFormat-prefix/src/ClangFormat/clang-format.exe --tracked
error: cannot use -i when reading from stdin.

@hjmjohnson Can this script be used to format remote modules? I ran into this when I tried:
Dzenan@Ryzenator MINGW64 /c/Dev/ITK-git/Modules/Remote/PhaseSymmetry (master)
$ ../../../Utilities/Maintenance/clang-format.bash --clang-format /c/Dev/ITK-2019/ClangFormat-prefix/src/ClangFormat/clang-format.exe --tracked
error: cannot use -i when reading from stdin.

@dzenanz I'm not 100% sure.  Seems like we may need to add a directory change so that git uses the correct information for determining which files have changed.


upgrade tf-provider alicloud

How to categorize this PR?

/area open-source
/kind enhancement
/priority normal
What this PR does / why we need it:
This PR is to upgrade terraform provider version to 1.121.2.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Terraform provider of Alicloud is upgraded to 1.121.2.

/invite @jia-jerry


Flavors file doesn't get updated with environment variables

Hello,
I am trying to run the flutter pub run flutter_flavorizr command, when having this in the pubspec.yaml
flavorizr:
  app:
    android:
      flavorDimensions: "flavor-type"
    ios:

  flavors:
    dev:
      app:
        name: "App Name"

      android:
        applicationId: "com.app.name"
        resValues:
          places_api_key:
            type: "string"
            value: "some string"

It seems as though the flavors.dart doesn't get updated, but I might be setting up something wrong
Can anyone assist?

Hello @dorsamet , what are you trying to achieve? Since you are defining a custom set of resValues under the android definition, these strings will be placed in the build.gradle file in the flavor definition area.
Those variables are needed in the Android native area, what do you expect in the flavors.dart file?

You have to define them by yourself in the flavors.dart file after the flavorization process

Hi, I want to know how you guys get resValue. in Dart code Same for iOS
    flavorDimensions "flavor-type"

    productFlavors {
        reqres {
            dimension "flavor-type"
            applicationId "com.example.reqres_app.android"
            resValue "string", "app_name", "ReqRes"
            resValue "string", "variable_one", "example variable one"
            resValue "string", "variable_two", "example variable two"
        }
        reqres_dev {
            dimension "flavor-type"
            applicationId "com.example.reqres_app.android.dev"
            resValue "string", "app_name", "ReqRes DEV"
            resValue "string", "variable_one", "example variable one"
            resValue "string", "variable_two", "example variable two"
        }
        reqres_qa {
            dimension "flavor-type"
            applicationId "com.example.reqres_app.android.qa"
            resValue "string", "app_name", "ReqRes QA"
            resValue "string", "variable_one", "example variable one"
            resValue "string", "variable_two", "example variable two"
        }
    }

    // ----- END flavorDimensions (autogenerated by flutter_flavorizr) -----

        reqres_dev:
      app:
        name: "ReqRes DEV"

      android:
        applicationId: "com.example.reqres_app.android.dev"
        resValues:
          variable_one:
            type: "string"
            value: "example variable one"
          variable_two:
            type: "string"
            value: "example variable two"
      ios:
        bundleId: "com.example.reqres_app.ios.dev"
        variables:
          VARIABLE_ONE:
            value: "variable1"
          VARIABLE_TWO:
            value: "variable2"

@girish54321 you can't, those variables are intended to work on the native side.
You have to define your customizations manually by defining them in the flavors.dart file, under the F class.

Oh, understood thanks @AngeloAvv for quick reply ♥

You have to define your customizations manually by defining them in the flavors.dart file, under the F class.

But flavors.dart is regenerated every time add a new flavor and all my changes would be lost. How and where should I put flavor related constants to access them later in dart code?


Allow array of ignores

Also added some additional tests to support it

Looks good!
Thanks for the work on this

Now published as v0.2.0

Cheers, working great in my project.
Have you considered adding this to the postcss repo? They have a list of plugins for now, but at some point there will be a plugins site

Good to hear!
Yeah, I've thought about adding it. Looks like I'd just need to adhere to a couple plugin guidelines before I can open a PR. I'll get on that

Cool. I think just roughly matching the plugin boilerplate would be enough, adding stuff like travis etc.
https://github.com/postcss/postcss-plugin-boilerplate


The SELinux recording tests are too basic

What happened:
Only one pod recording is included as an e2e test for the SELinux recording feature
What you expected to happen:
We need better tests. As a minimum, we should include a multi-container and a deployment test, to have the same coverage as the seccomp recording tests
How to reproduce it (as minimally and precisely as possible):
run the e2e tests
Anything else we need to know?:
N/A
Environment:
N/A

/assign jhrozek

This was fixed in 139be10df3552a534945328e36f27b28adf522ab and 33e01bfa7ce4ef567df9b42ae9600572a0f404fd


seq:reduce memory allocation during prefix search

Hello,
I noticed that the code in the numberparse module tries to work without extra memory allocations. However, one place with to_lowercase breaks the general approach.
So, I slightly updated that part to match the common pattern.
Please feel free just to close the PR if this change seems unimportant or a preliminary optimization.
Thank you

Thanks!


feat: add golang in tab for integration

Add snnipet, for show how use langflow with golang

Hey @devalexandre
Thanks for this PR.
Sorry for the slow response. We are working on our next patch. We will review this ASAP.