Requests are not cached

ng-inline-svg: "8.0.0"
angular: "6.0.6"
I haven't noticed with which version it happened, but SVG file is requested from the server multiple times in ngFor loop and I expect only 1 http request. Has anyone noticed that?

Confirmed, I have noticed that SVG files are not being cached and always fetched from server, i have a component with 52 SVG files, taking around 6-12 seconds to load every time that component is initialized

@arkon we need you help with this breaking change. Do you have any idea what happened?

Probably something related to this commit, but I haven't spent time looking into it.

I have created a reproduction of the bug: https://stackblitz.com/edit/angular-yrms1a

Should be fixed in v8.0.1.

Notice the header's, on reload, they are never cached and fetched, although the images, as you can notice, are saved inside the project assets folder.
Problem: taking too much load time (6-10 seconds) on every loadup of my  component
Idea's?

You have a checkbox "Disable cache" checked in dev tools.

This check-box is automatic, how can I uncheck / deselect it from my user's browser automatically through my staging system?
Also if you notice, even when i remove the disable cache checkbox, the svg image's are taking too much time to load, and they are still re-fetched with a GET method

Have you considered adding your 0...N.svg into a single svg file and reference them as symbols? In any case, 100 requests to a server is not the best thing. You browser will throttle your requests, as well as the server may do the same.

@zygimantas Not really, could you elaborate / explain more on your proposed idea?
Your totally right regarding the requests and the browser throttle that might occur, and this is my main problem i'm trying to find a solution for.

@zygimantas Not really, could you elaborate / explain more on your proposed idea?
Your totally right regarding the requests and the browser throttle that might occur, and this is my main problem i'm trying to find a solution for.

Well, you can do that manually in Illustrator before exporting svg files, or you can search for something like "bundle svg files as symbols", I checked I there are few tools to do that. Once you will have a single svg file with all your current illustrations inside, you can include a specific illustration (symbol) like this: [inlineSVG]="'#symbol-id'"

@zygimantas thank you for the valuable information, never thought i could do that.
I'll be looking further into this and do some research. Then i'll attempt to implement it for sure, see if it solves my issue :)

Note that the "cache" in this directive is just to prevent multiple requests to the same URL. It has nothing to do with HTTP caching.

With last release 8.0.1 I have problem with rxjs,
ERROR TypeError: rxjs_1.of is not a function
at SVGCacheService.webpackJsonp../node_modules/ng-inline-svg/lib/svg-cache.service.js.SVGCacheService.getSVG (svg-cache.service.js:29)
rxjs version is 5.5.11

@ibagaric You can switch to rxjs-compat or even better - just upgrade to rxjs 6.
Imports are different in rxjs 6.

@zygimantas @arkon
I wanted to ask you guys and be sure about something, hope you could share your expertise in this.
If i bundle my 52 images into one svg image, symbolizing each image with a unique identifier.
If a user clicks on that whole image, can i still detect on which subImage the user clicked? and still do certain action upon each one?
Also if there is an existing example if a bundled symbol svg image with click functionalities you could share, would be awesome!
Thanks!

@cyphercodes96 this is not related to the issue. Create a new one please.


Create Django project

Change the regional settings: time and language.
Add a path for static files.
Fix ALLOWED_HOSTS for pythonanywhere settings.

@webknjaz we can merge this Django PR in master?


1.hello-world example BODY orderId property not correctly set in document

In 1.hello-world example, after execution of the following POST request:
http://localhost:3500/v1.0/invoke/mynode/method/neworder
Expected Behavior
== Got a new order! Order ID: 42
Actual Behavior
== Got a new order! Order ID: undefined
Steps to Reproduce the Problem
Run the example in 1.hello-world and use same BODY raw value in the following POST request
http://localhost:3500/v1.0/invoke/mynode/method/neworder
How to solve the problem
Use "orderId" instead of "orderID" when preparing the POST request

This should be fixed by #74. The problem seems to have been the Postman screenshot using the wrong casing for the orderId. Please reopen if the issue persists!


Slicknav pushing page down instead of over page

On the slicknav page the menu opens over top of the page.  On mine when the menu is opened it pushes the page down.  I've used the default prepend to "body", not sure what to change to have it open over the page.  Thanks.

hi. just add the following css code into your stylesheet, it should do the job.
.slicknav_nav {     position: absolute;     z-index: 100;     width: 100%;   top: 21px /*height of the slicknav btn*/;
Also, you might to check if the parent div has an 'overflow:auto' in it.


Question about training

Thanks! This is very very cool.
Are there any resources on how the model was trained? Particularly detailing the differences between the previous architecture used for DOOM and the benefits in speed that came from them?
Again, thanks.

Yeah I'm with you on this like how would hard it be to train just a digital world
Lets say you make it unreal record collect data then make into this diffusion magic for endless generations

Hey @alhojel, thanks for the kind words!
GameNGen (DOOM) was not by us, you can compare their paper with ours to get differences.
As for our training, we describe in the README the data we used, and the provided code is the code we used to train, with this exact configuration. You can run it with python src/main.py, provided that you have the data downloaded on your machine.


Adding option for x64 linux to find libjpeg-turbo

There is probably a cleaner way to do this, but I need to learn more about C languages.
Essentially, the previous code when looking for libturbojpeg.a would look in the directory lib
when it need to be looking at lib64
for 64 bit linux

@ev-mp
Fedora 33 (Gnome) / gcc version 10.3.1
Here is the last build I documented :

https://www.reddit.com/r/realsense/comments/nm1n3a/fedora_realsense_sdk_build_from_source_may_2021/

I think it's -DBUILD_NETWORK_DEVICE=ON that triggers the issue.
make[2]: *** No rule to make target 'libjpeg-turbo/lib/libturbojpeg.a', needed by 'src/ethernet/librealsense2-net.so.2.48.0'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 70%] Building CXX object src/ethernet/CMakeFiles/realsense2-net.dir/__/__/third-party/easyloggingpp/src/easylogging++.cc.o
make[1]: *** [CMakeFiles/Makefile2:2426: src/ethernet/CMakeFiles/realsense2-net.dir/all] Error 2
make: *** [Makefile:149: all] Error 2


Looking for a new owner for Sherlock

I can't really manage this repo anymore. So if there is anyone who wants to get the ownership of this repo please let me know.

@nareddyt @shijuleon @cblument @cclauss @anto-christo @MagicFab @svisser boardens @ronaldseoh @aggiebill rajdeepbharati

Hi @sdushantha, I personally feel not quite eligible to maintain this repo. I'm mainly a JavaScript developer and have very less experience with Python. I'm still a beginner at it.
I'd not prefer taking ownership for the good of the project but I'll be glad to co-maintain if someone more experienced with Python and OSS is ready to lead. Thank you.

Congrats @TheYahya 🥇
Feel free to @mention me or message me if you need any help reviewing PRs or finding fixes for issues!

Thanks @nareddyt, Sure, I would like to use your help.


fmt: check formatting only in dry-run

Let's have a try for the 2nd part of #851. Instead of adding a --check flag, I reused --dry-run here as a PoC. However, dry-run conflicts with -q flag, thus the "well-formed" output always appear.
$ cargo -q run -- --unstable --dry-run --fmt
error: Justfile `B:\code\just\justfile` is not well-formatted.
$ echo $?
1

$ cargo -q run -- --unstable --fmt
Wrote justfile to `B:\code\just\justfile`
 $ cargo -q run -- --unstable --dry-run --fmt
Justfile `B:\code\just\justfile` is well-formatted.

For the next step, I don't have a good direction to do pretty diffing of the AST & file content yet.
Hope this helps. Please label "hacktoberfest"+"hacktoberfest-accepted" if you don't mind, thanks!

Ah sorry to bother again, but please add label "hacktoberfest-accepted" on PRs. The rules for this year distinguish "hacktoberfest" topic on projects, vs "hacktoberfest-accepted" I think.

Done! Sorry, I must have been looking at outdated documentation.

We appreciate your patience about this.

No problem at all!

I have incorporated your comments.
I also replaced prettydiff with similar, because it has 0-dep, and battle-tested in pijul. Plain output is also easier to copy into test macro. Though I still don't understand the double \n\n in expected stdout

I have made the shell completions. However I don't have help2man working, please regen it after merg, thanks

Nice! The man page isn't checked in, so no need to generate it. Thanks for sticking with this!


Environment Variable dremioLogDirKeyBackup := DREMIO_LOG_DIR never used as Backup

If the primary dremioLogDirKey is not found (function extractValue returns error and empty string), the function is exited and the backup key is not checked afterwards:
https://github.com/dremio/dremio-diagnostic-collector/blob/bf5c495c160330e46be4da373c4772d5b4e5b4c2/cmd/local/conf/conf.go#L518C1-L527C3

Thanks you are correct and this is an easy fix we will just log instead

The issue is not closed with #179 because change was made at the wrong place, simplelog.Warningf must be 5(at 519) lines later

@FrederikJobbst yep I got this - oversight on my part. Apologies

@FrederikJobbst - opened https://github.com/dremio/dremio-diagnostic-collector/pull/182 - this should resolve the issue, We've not had bandwidth to write tests around the ENV vars yet properly but thats our intention.
Lmk if you have questions


Deadlock when using SecureCache on Windows 10 UWP

When using the SQLiteEncryptedBlobCache aka SecureCache in our Windows 10 UWP app I'm facing an issue where the app keeps locking up. This is the stack trace:

I don't know why, but if I replace the code
public IObservable<byte[]> DecryptBlock(byte[] block)
{
    // Do not include a protectionDescriptor
    // http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.dataprotection.dataprotectionprovider.unprotectasync.aspx
    var dpapi = new DataProtectionProvider();
    return dpapi.UnprotectAsync(block.AsBuffer()).ToObservable().Select(b => b.ToArray());
}

with
public IObservable<byte[]> DecryptBlock(byte[] block)
{
    // Do not include a protectionDescriptor
    // http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.dataprotection.dataprotectionprovider.unprotectasync.aspx
    var dpapi = new DataProtectionProvider();
    return dpapi.UnprotectAsync(block.AsBuffer()).AsTask().ToObservable().Select(b => b.ToArray());
}

(first convert the AsyncOperation to a Task with AsTask() and then use ToObservable on the Task) the deadlock seems to disappear...
The app is cross platform and I'm using the same code on Android and iOS, it works perfectly there. Also when using the unencrypted cache the app runs fine on windows.
Any ideas? ;)

Looks just like https://github.com/akavache/Akavache/issues/205

the solution proposed in #216 worked for me. Make a dummy call to the secure blob cache in the App.xaml.cs like await BlobCache.Secure.InsertObject("dummy", "dummy"); and this properly initializes Akavache.


Missing chunks when using react-loadable

Hello folks.
I'm trying to setup my existing razzle project with react-loadable and I'm having an issue.
The main idea is first to split the codebase by pages. I'm following the with-react-loadable example and I arrived to a point where I do not understand what it's trying to do:

As we can see in the server.js file, it's including the assets.js file (which is not splitted) and each chunk js file, so it's having the chunks code duplicated (because they are included in the bundle.js file).

If I remove the line which includes the bundle.js file, which in my opinion it's how it should work (since I'm including the chunks files), I just get the 0.chunk.js file requested and my app js do not work anymore:

I hope someone could explain me what it's happening or if I am misunderstanding how code-splitting should work.
Thanks!

React loadable is not the reccomended way to do code splitting.

See: https://github.com/fivethreeo/razzle/tree/loadable-component/examples/with-loadable-component

Hi @fivethreeo,
I've tried your example and it's not starting unfortunately:
See error below:
> 949 | throw new Error("Module parse failed: Unexpected token (6:9)\nFile was processed with these loaders:\n * ./node_modules/babel-loader/lib/index.js\nYou may need an additional loader to handle the result of these loaders.\n| import loadable from 'loadable-components';\n| var Header = loadable(function () {\n>   return import(\n|   /* webpackChunkName: \"header\" */\n|   './Header');");

Use @loadable/component not loadable-components :)


arc: refactor the soc folder for em_starterkit

PART1: refactor the soc folder
The original em7d, em9d and em11d are different configurations of
em_starterkit. They have the same peripherals, e.g. uart, spi, gpio
, ddr. The differences of them are in arc core configurations, interrupt
number assignment.
So em7d, em9d and em11d can be viewed in the same SoC family or SoC
series.
Referring other arch's implementation, this commit merges em7d, em9d
and em11d into the same SoC, named snps_emsk. This will eliminate
unnecessary duplication and make it easier for future maintainment.
PART2: optimize the dts definitions

Codecov Report

Merging #7238 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7238      +/-   ##
==========================================
- Coverage   55.03%   55.03%   -0.01%
==========================================
  Files         477      477
  Lines       51743    51743
  Branches     9948     9948
==========================================
- Hits        28476    28475       -1
- Misses      19304    19305       +1
  Partials     3963     3963

Impacted Files
Coverage Δ

lib/posix/pthread.c
69.34% <0%> (-0.51%)
: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 034a11b...918859c. Read the comment docs.

Note: this PR addessses issue #6621.


Login Error, Username/Password wrong

Hi!
I dont get connect me, here say that username/password is wrong,
Can you fix it?
Thank you!

Me too

download the udeler 1.5.2 old version that works fine

Me too

Hi There,
We have identified the issue with the current login system, We are working on an update which will be out soon.
In the meantime, you can try installing version 1.5.2 which is working for a few users though we haven't confirmed it yet.
A quick FAQ regarding the issue:
Q: Why aren't we able to log in?
A: The API that we are consuming in our current application is not working anymore, We are trying to make the necessary changes to bring it up to the working state and we will push the update as soon as we fix the issue.
Q:  Is there any alternative way where I can download videos in the meantime?
A: You can try Download 1.5.2, It works for a few users.
Q: What if you guys didn't intercept the new API system of Udemy, is the project gonna die?
A: NO! certainly not,  We can assure you the project will continue to work the way it used to, though we may have to include some extra steps in the login process like a browser login etc, you may even have to download a chrome extension.
If you have any more questions, please feel free to ask.
P.S I am working with Faisal on all upcoming versions of udler.
Kudos and sorry for inconvenience.

I have released a new version v1.6.3 which includes a workaround for the login problem. The new version brings Udeler Authenticator (A chrome extension for easily authenticating a Udemy account with Udeler).
How to use Udeler Authenticator?

Install the extension from here

After installing/enabling the extension, open udeler desktop app, you will see a new anonymous icon on the login page. Click the icon and it will start to listen for any login requests from your chrome web browser.

Open Udemy webiste on your chrome web browser and simply login to your account. Udeler app will detect the login and will let you in. If you are already logged in to Udemy, you can simply vist the website and it will still detect your account.

Use this method to download courses from Udeler for now. Meanwhile I will work on a proper fix for login.

I have released a new version v1.7.0 which should allow you to login easily using the Udemy website itself.
The new version will support all kind of accounts, be it business, google or facebook. Download, test and provide feedback.


feat : specific user fetching using their ID

just pass the id of creator in /users/:id and us get request

LGTM


Merge Cadence go-client up to 795bed8115966cf10ddbe1f69931514a07f3e377

Merge selected commits after last merge:
https://github.com/uber-go/cadence-client/commit/08d2a5e549ee5e34e2321259440997a0e81066ca
https://github.com/uber-go/cadence-client/commit/27dd0194e9eb0d7b733c36fa02e338e8e26c2912
https://github.com/uber-go/cadence-client/commit/04ccee6a9f787b60e30943120c0563187f0c2ebe
https://github.com/uber-go/cadence-client/commit/1efbbb39ef1db8c4dd01d6d606184f2f54df44b5
https://github.com/uber-go/cadence-client/commit/56bd862d5b902122d7582ac9fe8803b319c29b77
https://github.com/uber-go/cadence-client/commit/ecb64cf088fe4813bf6bd940da6c8a82a0f446b9
https://github.com/uber-go/cadence-client/commit/6f8baa149ee751092c82bf34354835be9eaa7d82
https://github.com/uber-go/cadence-client/commit/b4d05121c9c4427c30e9a6245a9e54d261662f9c
https://github.com/uber-go/cadence-client/commit/774d475dc92a304b04069b94d7430f7af1faaf0c
https://github.com/uber-go/cadence-client/commit/b7078301cd9413600c66b352e5aebe898801fadf
https://github.com/uber-go/cadence-client/commit/5cc879bc3a9b2258ca569b5cb971231d9de0ff9b
https://github.com/uber-go/cadence-client/commit/434217e1b0ed78d6d8955a589f3fcba0a4b90829
https://github.com/uber-go/cadence-client/commit/ccea6a6fb6d5f219e0c1abf5b5573bbc3cce4072
https://github.com/uber-go/cadence-client/commit/795bed8115966cf10ddbe1f69931514a07f3e377

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 7 committers have signed the CLA.:white_check_mark: alexshtin:x: vancexu:x: yycptt:x: seriousben:x: quessliu:x: meiliang86:x: assafschYou have signed the CLA already but the status is still pending? Let us recheck it.


issue with uart devpath in tag 2.0.0

I ma trying to add uart to my custom am335x based board . I have issues with devpath in uart initialization
mraa_result_t mraa_cosmic_uart_init_pre(int index) {     char devpath[MAX_SIZE];     snprintf(devpath,MAX_SIZE,"/dev/ttyO%u",index);     if (!mraa_file_exist(devpath)) {         syslog(LOG_ERR, "uart: Device not initialized");     }else {         plat->uart_dev[index].device_path = devpath;         return MRAA_SUCCESS;      }     return MRAA_ERROR_INVALID_PARAMETER; }
In above I have printed devpath values

else {
printf("path=%s",devpath);
plat->uart_dev[index].device_path = devpath;
printf("devpathaftre=%s",plat->uart_dev[index].device_path);
return MRAA_SUCCESS;
}
output:
path=/dev/ttyO1
Failed to initialize UART
devpathafter=/dev/ttyO1

if I add like below then UART is working  fine
'plat->uart_dev[index].device_path = "/dev/ttyO1";'
Why devpath  is not working even the string is correct. Kindly guide me to resolve the issue. I have taken phyboard-wega reference. same code for wega board is working.

Maybe check formatting/string termination on your written devpath? Just like you pointed out, this works with a constant literal so I doubt it's a mraa issue.

@vsivanagulu, please post syslog contents around the time of you program run. The error message you post is not from the code you posted, but from UART example code, right? Posting full code you've changed may be helpful as well, but we can start with syslog.

@vsivanagulu, is this still actual?

@alext-mkrs ,i have stoped this currently for some other important work. i will do it soon.


Feature idva5 630/unincorporated] update design for 'what is the business name'

-update h1, hint and added comment to screen

CI: No security warnings found

CI: No security warnings found


Regression: types flag not parsed in the builder template version

@gzigzigzeo,
types option stopped working correctly after the merge. If I put comma-separated list of types, as in the readme (I believe that's a legacy readme that I've written before), it errors out like this, and no schema is generated:
nate-mbp:~/g/s/g/g/t/terraform protoc --proto_path=. \                                                                                (base)
                                 --proto_path=/Users/xnutsive/go/src/github.com/gravitational/teleport/vendor/github.com/gogo/protobuf \
                                 --proto_path=/Users/xnutsive/go/src/github.com/gravitational/teleport/api/types \
                                 --proto_path=/Users/xnutsive/go/src \
                                 types.proto \
                                 --tfschema_out=./tfschema/ \
                                 --go_out=./tfschema/ \
                                 --tfschema_opt="types=UserV2,RoleV3"
INFO[0000] Reading CodeGeneratorRequest from stdin.
INFO[0000] Command-line arguments: types=UserV2,RoleV3
FATA[0000] no such flag -RoleV3
--tfschema_out: protoc-gen-tfschema: Plugin failed with status code 1.
nate-mbp:~/g/s/g/g/t/terraform

If I list types separated by a space (this way it worked before), it ignores provided types and schema file is generated, but it doesn't contain any schemas, just the package name and imports:
nate-mbp:~/g/s/g/g/t/terraform protoc --proto_path=. \                                                                                (base)
                                 --proto_path=/Users/xnutsive/go/src/github.com/gravitational/teleport/vendor/github.com/gogo/protobuf \
                                 --proto_path=/Users/xnutsive/go/src/github.com/gravitational/teleport/api/types \
                                 --proto_path=/Users/xnutsive/go/src \
                                 types.proto \
                                 --tfschema_out=./tfschema/ \
                                 --go_out=./tfschema/ \
                                 --tfschema_opt="types=UserV2 RoleV3"
INFO[0000] Reading CodeGeneratorRequest from stdin.
INFO[0000] Command-line arguments: types=UserV2 RoleV3
2021/02/02 10:06:28 WARNING: Missing 'go_package' option in "github.com/gravitational/teleport/api/types/wrappers/wrappers.proto", please specify:
	option go_package = "github.com/gravitational/teleport/api/types/wrappers";
A future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

2021/02/02 10:06:28 WARNING: Missing 'go_package' option in "types.proto",
please specify it with the full Go package path as
a future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

INFO[0000] Package name: tfschema
INFO[0000] Types to export: [UserV2 RoleV3]
INFO[0000] Protoc version: v3.14.0
INFO[0000] Generating schema files...
INFO[0000] types.tfschema.go prepared
INFO[0000] 1 files generated
2021/02/02 10:06:28 WARNING: Missing 'go_package' option in "github.com/gravitational/teleport/api/types/wrappers/wrappers.proto", please specify:
	option go_package = "github.com/gravitational/teleport/api/types/wrappers";
A future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

2021/02/02 10:06:28 WARNING: Missing 'go_package' option in "types.proto",
please specify it with the full Go package path as
a future release of protoc-gen-go will require this be specified.
See https://developers.google.com/protocol-buffers/docs/reference/go-generated#package for more information.

schema:
// DO NOT EDIT.
// Code is generated by protoc-gen-tfschema 0.0.2
// Using protoc v3.14.0

package tfschema

import (
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)

And if I set no types flag at all — all types are generated. I'm fine with that for now ;)
I think the problem is that protoc plugin flags are not parsed as regular CLI flags, and the parser code from my version is required to do that correctly. It's a bummer and it looks like crap, but it works.

@nategadzhi Check example.mk, please. The required format is ':'-separated list of types with comma-separated list of flags. This format and the way of parsing command line args is recommended by protobuf docs.
--tfschema_opt="pkgname=tfschema,types=UserSpecV2:Metadata:UserV2"

INFO[0000] Command-line arguments: pkgname=tfschema,types=UserSpecV2:Metadata:UserV2
INFO[0000] Package name: tfschema
INFO[0000] Types to export: [UserSpecV2 Metadata UserV2]

I believe, this could be closed.


[Crash

Describe the bug
A clear and concise description of what the bug is.
crashes when joining !
To Reproduce
Steps to reproduce the behavior:
Explain here how to reproduce the bug in bullet points.
add plugin!
Expected behavior
A clear and concise description of what you expected to happen
plugin to work
.
Screenshots or Crash Dump
If applicable, add screenshots, crash.pmmp.io or crash dumps to help explain your problem.
"Trying to access array offset on value of type null" (EXCEPTION) in "plugins/AdvanceDeaths_dev-117.phar/src/ErikPDev/AdvanceDeaths/ADMain" at line 79
**
]

PMMP Version: [e.g. 4.2.1]
PHP Version: [e.g. PHP 8.1]

Additional context
Add any other context about the problem here.
"Trying to access array offset on value of type null" (EXCEPTION) in "plugins/AdvanceDeaths_dev-117.phar/src/ErikPDev/AdvanceDeaths/ADMain" at line 79

It appears your configuration is outdated. I’ll add a check for the configuration today.
Delete or rename your configuration to get the new ones.

It appears your configuration is outdated, delete or rename your old one to fix it.
Your database can stay the same.
Fixed in the latest build.


Client Crashing when connecting to server

Client crashes when connecting to server. Quilt: 1.19.2 Loader Version: 17.11
crash-2023-02-23_04.28.55-client.txt

bump, also affect 1.20 release


Support N-Level judgements (instead of 3)

Currently, RRE only supports a three-level judgement scale. But docs here mention that this will likely be generalized in future versions: https://github.com/SeaseLtd/rated-ranking-evaluator/wiki/What We Need To Provide
My personal need is to use RRE with a judgement scale of 4 or 5, but I can see how others may want it to support any level up to 10. It would be nice if the RRE user could easily configure which N-level judgement scale to use, up to a reasonable (10?) value.

Thanks for entering this @anthonygroves. I completely agree with your need and with the generalisation of the judgement scale.

I wanted to mention that I am looking for a 4 point scale versus three as well.   I think I can contribute some development effort if you can maybe give me some pointers?

Hi @epugh, judgments are gathered in
io.sease.rre.Func::gainOrRatingNode

and looking at its usage I see

As you can see callers are basically metrics and Query class.
The only doubts I have are:

is it better to configure the scale somewhere (e.g. pom.xml) or to have a preliminary scan of the judgments in order to automatically determine the scale? Or both (e.g. if the configuration is not found then it does the automatic thing)
the current code assigns 2 (the average) in case the rating is not present. Does the average make always sense?

Hi @agazzarini,
@epugh asked me to take a look at this. My thoughts would be:

set constant default values of maxgrade=3, default=2 where the judgement is missing (matching current behaviour);
add the max grade as an optional construction parameter for NDCG, RR (and make it optional for ERR);
add the default grade (average) as an optional construction parameter for ERR, NDCG, RR (ERR currently calculates it as maxgrade/2, rounded to the nearest int).

This allows overriding all defaults using the ParameterizedMetric mechanism, and works for all the metrics. It doesn't work for the Query class though.
A further step, and this might be better as a separate issue/PR, might be to:

allow setting the max and default grades in the top-level pom.xml configuration;
allow overrides via the ParameterizedMetric mechanism, so users can set both "pessimistic" and "optimistic" defaults;
handle metric naming when both pessimistic and optimistic defaults are set for the same metric (currently I think you'd get two ERR@10 metrics, though I haven't checked).

How does this sound? I'm happy to put together PRs for these if they seem like sensible suggestions.

(I thought I had left a comment earlier but it seems lost - sorry for re-posting if my old comment re-appears.)
I was wondering if we could use this rework of grades to allow for decimal numbers and grades between 0 and 1 as well. This is often what we end up with when we derive judgments/grades from tracking. Mapping them to integers/buckets would add a second, somehow arbitrary model.

This should be possible - most of the calculations use BigDecimal (floating point) objects already, although both the DCG and ReciprocalRank calculations convert the grade to an integer before using it. Would it be useful to specify the scale value as well? I can see both 2 and 8 being used, depending on the metric, though I don't know why those choices were made.

This should be possible - most of the calculations use BigDecimal (floating point) objects already, although both the DCG and ReciprocalRank calculations convert the grade to an integer before using it. Would it be useful to specify the scale value as well? I can see both 2 and 8 being used, depending on the metric, though I don't know why those choices were made.

I think scale wouldn't harm as an optional parameter. It's probably a difficult choice to find the right value - I guess hardly anyone has an opinion about what would be right - but at least you provide the flexibility.
Yet another thought on floats: depending on the implementation of the metrics we should be careful with judgment values between 0 and 1. If we take the logarithm of this we might end up with negative values but I guess none of the metrics would do that?!

@renekrie I've skipped making scale configurable for now - the PR was getting big, and it feels like something that could be put in a separate issue if it becomes a requirement.

Is this cloasable @agazzarini with the merge?

Yep Eric, sure. Sorry for the confusion, crazy days :)
On Wed, 25 Mar 2020 at 14:26, Eric Pugh<EMAIL_ADDRESS>wrote:

Is this cloasable @agazzarini https://github.com/agazzarini with the
merge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SeaseLtd/rated-ranking-evaluator/issues/109#issuecomment-603837731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZYBYGOL46TH4AXAOTPF5DRJIA6PANCNFSM4KT6VROA
.

--
Andrea Gazzarini
Search Consultant, R&D Software Engineer
www.sease.io
email<EMAIL_ADDRESS>cell: +39 349 513 86 25


fix(detect-workflow-js): workflow ref may contain @

We recently encountered several failures when publishing Vite core packages via GitHub Actions.
https://github.com/vitejs/vite/actions/runs/6406860658/job/17392698897
https://github.com/vitejs/vite-plugin-vue/actions/runs/6381049226/job/17317262102
The error log from the first link:
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=40473220
npm ERR! code E422
npm ERR! 422 Unprocessable Entity - PUT https://registry.npmjs.org/create-vite - Error verifying sigstore provenance bundle: Invalid GitHub Actions SLSA v1 provenance predicate:
npm ERR! buildDefinition.externalParameters.workflow.ref: refs/tags/create-vite does not match expected value for SourceRepositoryRef<EMAIL_ADDRESS>
This is because we use tag names like<EMAIL_ADDRESS>for releases, so the resulting job_workflow_ref contains multiple @[^1]. Somehow GitHub throws away the content after the second @.
I don't yet understand how exactly NPM provenance via GitHub Actions works, but after some code search, I think the .split("@", 2) in this repository might be one source of the bug, so it might be worth fixing.
[^1]: in this example, it's vitejs/vite/.github/workflows/publish.yml<EMAIL_ADDRESS>

Sure thing!
But I saw a test case for the detectWorkflowFromOIDC function already exists. So I just added another test case with slightly different inputs, would that be okay?

Sure thing! But I saw a test case for the detectWorkflowFromOIDC function already exists. So I just added another test case with slightly different inputs, would that be okay?

You're right that should work too!

Could you run make dist  in the detect-workflow-js directory and commit the updated files?

Done. Thanks for the guidance!

@ianlewis
is this project supporting npm provenance for github actions? if so, is this released? i'm getting the same error, but the only "documentation" i've come across is this repo / pr, so i'm unsure. if not, sorry for the noise 😅

Ah, we have not release after the fix. @ianlewis are we ready for a new release?

I think we may want to revert https://github.com/slsa-framework/slsa-github-generator/pull/2918 before making a release.  But other than that I think it's ok.


Why is there never a router to router connection?

Hello,
maybe this is zigbee protocol related in general , but i wasnt able to find anything about it.
i noticed on the map,  that all router devices (lamps, power plugs) are always directly connected to the coordinator. i never see a connection between two routers, even that would make the link quality 100% better.
A small snippet from my network map (green line is the way it should go to have a much better connection).

Can anyone tell me something about that? Is that zigbee-standard related?

I think this can be closed, the latest iobroker network map shows sibling-links now.

@allofmex
closing this cause of your expirience with that..


Update Template

Update the template to align with changes to the scientific extension json schema

see https://github.com/stac-extensions/scientific/pull/2

We also need to adapt the Schema to allow summaries in Catalogs.


Provide more details when test cannot load a page due to corporate network security rules

Are you requesting a feature or reporting a bug?
Bug/Feature(??)
What is the current behavior?
After creating and running a super simple test (which just jumps to the google main page and expects the body to be visible) browser is being open, test cafe logo is displayed but google page is not reached -  I'm getting an error 'Failed to find a DNS-record for the resource at "https://google.com" '
Tests are being executed on a machine in corporate network, I'm guessing that the security rules are somehow blocking the execution.
Is there a way to get more detailed logs so that I can adjust the security policy?
Without it I'm just stabbing in the dark
What is the expected behavior?
Get more detailed dev logs for the error
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
import { Selector } from 'testcafe';
fixture Start Test codeing Here
.page("https://www.google.com/")
test('Views Home page', async actions => {
console.log("AAA");
const body = Selector("#gsr");
await actions.
expect(body.visible);
return actions;
});
Specify your

operating system: WIndows 7
testcafe version: 0.22.0
node.js version: 8.11.3

It's a duplicate of #3492 and #1606.


AttributeError: 'NoneType' object has no attribute 'encoding'

Hi
I trust you can help me.  I am successfully extracting MT940 from a text file, on Mac and Windows.  When I then use PyInstaller to create an exe (on Windows), I get the following error (but not in my IDE) and traceback:
File "modules\gui.py", line 550, in __on_timer
  File "modules\playbot.py", line 284, in run
  File "modules\playbot.py", line 1984, in _run_process
  File "modules\playbot.py", line 2035, in __call_function
  File "modules\playbot.py", line 1037, in _extract_mt940
  File "modules\files.py", line 454, in file_open_mt940
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
  File "mt940\__init__.py", line 3, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
  File "mt940\json.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
  File "mt940\models.py", line 13, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 391, in exec_module
  File "mt940\_compat.py", line 117, in <module>
AttributeError: 'NoneType' object has no attribute 'encoding'

As I've mentioned, this works when my app is not an executable, but fails when it is.
In case it helps, here is my code where I catch this exception:
    try:
        transactions = mt940.parse(path)

        return loads(dumps(transactions, cls=mt940.JSONEncoder))
    except Exception as err:
        return err

I look forward to hearing from you.
Kind regards
Cedric

The library currently expects sys.stdout to be available in some form or another. In your cases it appears to be None. You could monkeypatch it from your code like this:
import io
import sys

if sys.stdout is None:
    sys.stdout = io.StringIO()

if sys.stderr is None:
    sys.stderr = io.StringIO()


firefox on android 9 startup almost impossible.

Describe the bug

failed to run egui.rs on firefox.
To Reproduce
Steps to reproduce the behavior:

 open https://egui.rs/ by firefox

Expected behavior

should reach demo.
Screenshots

Smartphone (please complete the following information):

Device:  Xperia XZ1 compact
OS:  Android 9
Browser  Firefox
Version  99 and 101 Nightly

Additional context

sometimes we can reach demo but chrome works well.

there are some problem in gl.bind_frame_buffer()

I'm pretty sure this is the problem causing all the subsequent problems. Does other WebGL sites work well for you? e.g. https://webglsamples.org/aquarium/aquarium.html

works very well.

Now run very well it seems to be fixed.


Interactive learning: filter out static predicates

Filters out static predicates so they aren't considered during glib sampling.

sorry I meant to mention this on our call, but I got so distracted with the crazy bug...
instead of manually specifying the static predicates, can we detect them automatically? see utils.get_static_preds_atoms


updated broken links and fixed formatting

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @yukunny, thank you for the PR! However, I will have to close it because it does not significantly improve the article, and most importantly, it adds an affiliate link, which we do not accept.
Feel free to open a new one though. Happy coding!


Support for multi-line labels (improved)

This is an improved version of https://github.com/openlayers/ol3/pull/3797, which was in turn a cleanup of https://github.com/openlayers/ol3/pull/3538. Improvements are as follows:

Use context.measureText instead of parseFloat to estimate text height
Skip text height estimation if there are no newlines in the text
Reset context transform after drawing the text (not sure if this is necessary, but maintains consistency with other canvas instructions)

Using measureText solves several of the issues with https://github.com/openlayers/ol3/pull/3797:

Font sizes no longer have to be in px to function correctly
Padding between lines is a fraction of the line height instead of an arbitrary 5px
Bold font definitions work. This was the reason for the examples breaking in the previous PR; parseFloat can't get the font size value from "bold 12px Arial".

This looks great, thanks for cleaning up the old PR! The trick by using the width of the character "M" seems to work pretty well.
Here is a screenshot of the current vector label example:

We would have to update the description of the example, but I can take care of that once the PR is merged.
Before we can merge this, could you please:

rebase your branch to get the latest changes from master.
squash the three commits into a single one.
submit a CLA.

OK, rebases/squashed, and I sent the CCLA to the email as directed. Thanks!

Nice, thanks a lot!
@openlayers/ol3 I am +1 for merging, anyone else wants to do review?

feel free to merge @tsauerwein

Thanks, Bart!
@pclifton Can I ask you to update the branch again? Things are moving fast. :)

@tsauerwein why is another update on the branch necessary? It seems up to date with master?

@bartvde  I am seeing "This branch is out-of-date with the base branch" and the "Merge pull request" button is greyed out. Not for you?

No not for me.

I've just merged, weird that it did not show up for you @tsauerwein

Thanks for merging! That's really weird, I am seeing "This branch is out-of-date with the base branch" for all PRs in the ol3 repo.

did they break something at github ;-) what browser are you using?

Firefox but it's the same on Chrome.

very strange

Same here @tsauerwein.

Linux OS :-) ?

I can still merge from my mobile, so I don't care 😊


Image-Super-Resolution demo file in missing

I'm looking into the demo folder and I found out the image_super_resolution_demo.py task is missing.
Is it possible to have one?
It can be useful for others :)
Thanks in advance :)

Maybe, if I understand correctly, is the restoration_demo.py file?
Thanks.


Under Construction GIF

This site is currently under construction.  Therefore it's important we have an under construction gif, just like geocities in the 1990s.

Needs an update.


APPS-1121 Expose OpenAPI specification endpoint

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

Comparison is base (068fb20) 27.98% compared to head (6f13400) 27.98%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #125   +/-   ##
=======================================
  Coverage   27.98%   27.98%
=======================================
  Files          34       34
  Lines        1490     1490
=======================================
  Hits          417      417
  Misses       1020     1020
  Partials       53       53

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


Replace deprecated library with new API call

Replacing library call to https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts/signJwt with call to https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/signJwt


Various fixes and upgrades

Made some fixes and enhancements:

add Prettier transform to format generated code
use skipServer and skipServer from config to generate front end only if not skipping client and back end only if not skipping server
use jhiPrefix from config everywhere instead of using constant prefix jhi in some places
removed some extra spaces from jhipster-needle-add-admin-route code so that in regeneration no double code any more
fix #142 which occurred when i18n was not enabled
fix #140 (icon cleaning in the admin menu is performed by jhipster/generator-jhipster#11210)
remove CUSTOM_ELEMENTS_SCHEMA because no custom schema is used
upgrade yeoman-generator dependency to version 4.5.0 to keep it in sync with generator-jhipster
load user choices from config and don't ask again already answered questions
save also auditPage variable to config
registering also post app hook so that after app upgrade is entity audit support generated automatically

In generator-jhipster opened PR-s to better support this module:

jhipster/generator-jhipster#11210 - if this is merged then icon appears in the admin menu for entity audit
jhipster/generator-jhipster#11205 - if regenerating in Windows then don't add double code

Thanks a lot for the review and for merging @murdos !
Sorry about not splitting PR to smaller commits, next time I try to keep that in mind.


Use OracleResponses in more places, to clarify record-replay distinction.

This is a minor readability refactoring that doesn't affect functionality. It more clearly distinguishes in the code whether we are currently recording oracle values (like when we execute a proposed block for the first time) or replaying them (when executing a confirmed block).
Motivation
Passing oracle records into and out of lots of functions is error-prone: We need to make sure we never consult oracles when replaying, and we never attempt to read oracle responses from the record while recording.
Proposal
Use the OracleResponses enum in more places in linera-execution.
Test Plan
No logic has changed, so existing tests should catch any regressions.
Links

reviewer checklist

Superseded by #2232.


Adjusting the record-landing-page fails

Package version (if known):
invenio-cli, version 0.22.0
Describe the bug / Steps to Reproduce
Following the instructions here:
https://inveniordm.docs.cern.ch/customize/styling/#change-the-record-landing-page
doesn't change the record-landing-page.
Expected behavior
The record landing page is adjusted.
Additional context
For me the issue is in the folder-path:
To override the record landing page, add the following folders and file in your templates/ folder: invenio_app_rdm/records/detail.html.

It works if I add the semantic-ui directory:
icli-0-23-0-dev/templates$ tree -a
.
├── .gitkeep
└── semantic-ui
    └── invenio_app_rdm
        └── records
            └── detail.html

I'm not sure whether this is an error in the documentation or the implementation. Since https://inveniordm.docs.cern.ch/customize/styling/#change-other-pages says explicitely to 'exclude' the semantic-ui-folder: Copy the filepath relative to templates/semantic-ui/ in invenio-app-rdm into your instance's templates/ folder.

That was an error in the documentation. A recent PR by @florianfranz rectifies this (and I will also fix the reference in #change-other-pages. Thanks for reporting!


Countdown to the end of Judging.

For the next LD we should make the sidebar clock count down to the end of judging.

This would be great as it would be the data I need for my suggestion for better handling of danger list on #971

I've been hardcoding the schedule instead of finishing the schedule page. I really want this working properly internally

This was implemented


Compx 8551 - Default configs for parallel renames and rename resiliency

This commit adds below configs as default for DE, DE-HA and Spark3 templates for 7.2.14, 7.2.15 and 7.2.16.
hadoop.mapreduce.fileoutputcommitter.algorithm.version.v1.experimental.parallel.rename.recovery=true
hadoop.mapreduce.fileoutputcommitter.algorithm.version.v1.experimental.parallel.task.commit=true
hadoop.mapreduce.fileoutputcommitter.algorithm.version.v1.experimental.mv.threads=16

@bgsanthosh Sanity check: Are these config properties already supported by those runtimes (7.2.14-7.2.16)?

@bgsanthosh Sanity check: Are these config properties already supported by those runtimes (7.2.14-7.2.16)?

Yes, the changes were introduced with this PR and 7.2.14 /7.2.15 and cdpd-master ( which should be 7.2.16 ?) has this change.
7.2.15
7.2.14


[cow] option to verify SVR tor possible tags with tornado reports

requesting tweet

Something like only search for a severe with a tor tag and verify it with a tor report.

This came up again, but instead of doing verification, lets just include summary stats about this combination.


Downloading without blocking the reactor

The current implementation of em-ftpd sends out the whole out-of-band data (e.g. file downloads) in one big loop. This blocks the reactor for the whole time - not nice when you want to be able to download files in the gigabytes.
This commit adds the class IOStreamer that handles sending out-of-band data to the client. It does not block the reactor by sending big files in smaller chunks.

thanks!


Fix CI

Docs are only pushed on the master branch, so we'll see if that works.  I think it stopped working when we moved the repo as the encrypted GH_TOKEN was tied to the specific slug used in Travis, so I had to create a new secret.
CC @nastevens @varzac

Changes Unknown when pulling 98ccf1ebfcabdf49b1c3d7e92278c64908141a58 on fix-ci into ** on master**.

Changes Unknown when pulling 98ccf1ebfcabdf49b1c3d7e92278c64908141a58 on fix-ci into ** on master**.

👍

@rust-embedded-bot r+


Consider adding ipywidgets as a dependency.

When I install datasets in a fresh virtualenv with jupyterlab I always see this error.
ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html

It's a bit of a nuisance, because I need to run shut down the jupyterlab server in order to install the required dependency. Might it be an option to just include it as a dependency here?

Hi! We use tqdm to display progress bars, so I suggest you open this issue in their repo.

It depends on how you use tqdm, no?
Doesn't this library import via;
from tqdm.notebook import tqdm

Hi! Sorry for the late reply. We import tqdm as from tqdm.auto import tqdm, which should be equal to from tqdm.notebook import tqdm in Jupyter/Colab.

Any objection if I make a PR that checks if the widgets library is installed beforehand?


Running the program again

Hello!
I'm new to github so it will sound as a really dumb question.
I have managed to run the program and it works perfectly ( I have opened two githube consoles.).
I understand that if I shut down my PC there will be no scraping, and data will be missing. But if I accidentally do. How can I run the program again? Do I have to do every step from the beginning?

No, you just run npm run scrape again.

@canvural thanks for helping out.
Remember: you must execute the commands from inside the fb-sleep-stats folder.


Create web application

Similar to (and maybe based on) https://github.com/AngryLoki/wikidata-graph-builder
likely requires #6

Partly done at http://coli-conc.gbv.de/publications/kostypes/


Empty target in profiles.yml results in an unhelpful error message

Steps to reproduce

Create a profile like so (note empty learn: key)

$ cat ~/.dbt/profiles.yml
jaffle_shop:
  target: learn

  outputs:
    learn:

Run dbt debug --profile jaffle_shop

Expected behavior
A useful error message
Actual behavior
$ dbt debug --profile jaffle_shop
Running with dbt=0.18.0-b1
dbt version: 0.18.0-b1
python version: 3.7.5
python path: /Users/claire/.pyenv/versions/3.7.5/envs/dbt-dev-v2/bin/python
os info: Darwin-19.4.0-x86_64-i386-64bit
Using profiles.yml file at /Users/claire/.dbt/profiles.yml
Using dbt_project.yml file at /Users/claire/clrcrl/jaffle_shop/dbt_project.yml

Encountered an error:
'NoneType' object has no attribute 'pop'

The output of dbt --version:
$ dbt --version
installed version: 0.18.0-b1
   latest version: 0.17.0

Your version of dbt is ahead of the latest release!

Plugins:
  - bigquery: 0.18.0b1
  - snowflake: 0.18.0b1
  - redshift: 0.18.0b1
  - postgres: 0.18.0b1

Additional context
This came up because someone had their profile indented incorrectly:
jaffle_shop:
  target: learn

  outputs:
    learn:
    type: snowflake
    threads: 1
    account: ***
    ...

just an fyi, im working on this now


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.15 to before v5.15.5",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6098475d4cb48d821bdf453c61118c56e26294f0",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=37330f37f6666c7739a44b2b6b95b047ccdbed2d"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "6098475d4cb48d821bdf453c61118c56e26294f0",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "37330f37f6666c7739a44b2b6b95b047ccdbed2d",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "spi: fix use-after-free of the add_lock mutex\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.5 by commit 37330f37f6666c7739a44b2b6b95b047ccdbed2d, it was introduced in version v5.15 by commit 6098475d4cb48d821bdf453c61118c56e26294f0. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002308


[CHAOS-2220]: Add service name env in docker service kill experiment

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

@uditgaurav I've fixed some links in this, and previous PRs. Note our link format is this:
/docs/chaos-engineering/technical-reference/chaos-faults/kubernetes/node/common-tunables-for-node-faults/#target-nodes-with-labels
That is, leave out the _https://developer.harness.io/_ so that users don't navigate to a different tab.
Also this prevents some broken link formats I've seen in the chaos PRs (for example, the ones that end in <filename>.md often don't work the way they're used in chaos docs, so I've been fixing a lot of those in chaos PRs.
Highly recommend doing a local build to make sure links work. Here's the doc page on how to do it.
cc: @neelanjan00


Compilation error with latest Visual Studio 2022 (17.7.3)

What version of OR-Tools and what language are you using?
Version: 9.7
Language: C++
Which solver are you using GLOP
What operating system (Linux, Windows, ...) and version?
Windows 11
What did you do?
Steps to reproduce the behavior:
  cd examples/simple_glop_program
  cmake -S . -B build -DCMAKE_PREFIX_PATH=../..
  cmake --build build -v

What did you expect to see
Build successful
What did you see instead?
(Link target) ->
  ortools.lib(parameters.pb.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\or-tools_x64
_VisualStudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]
  ortools.lib(parameters.pb.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio2022_cp
p_v9.7.2996\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]
  ortools.lib(stats.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\or-tools_x64_VisualS
tudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]
  ortools.lib(stats.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio2022_cpp_v9.7.2
996\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]
  ortools.lib(basis_representation.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\or-to
ols_x64_VisualStudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]
  ortools.lib(basis_representation.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio
2022_cpp_v9.7.2996\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]
  ortools.lib(lp_data.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in simple_glop_program.obj [I:\or-tools_x64_VisualStudio2022_cpp_v9.7.2996\or-tools_x64_Visua
lStudio2022_cpp_v9.7.2996\examples\simple_glop_program\build\simple_glop_program.vcxproj]

Make sure you include information that can help us debug (full error message, model Proto).
Anything else we should know about your project / environment

You are mixing debug and non debug libraries.

You are mixing debug and non debug libraries.

Ok, just wanted to execute an example from readme. I this this could be closed, the main problem  I will describe in a new issue, we I landed to try this example....

OR-Tools is compiled in /MD (no debug).
You need to select the release mode for your project.
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le mar. 12 sept. 2023 à 16:15, Pavel @.***> a écrit :

You are mixing debug and non debug libraries.
Ok, just wanted to execute an example from readme. I this this could be
closed, the main problem I will describe in a new issue, we I landed to try
this example....
—
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/3918#issuecomment-1715812187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3LMKVZAQWQDHHRO6IDX2BU7FANCNFSM6AAAAAA4U4JFVU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

https://github.com/or-tools/cmake_or-tools did you try this CMake template project ?
or-tools will be integrated using CMake FetchContent

I just always used binaries. Manually entered in the project libs for linker and includes for compiler.
But it has arisen more as a result that I can no longer compile in the new vs 17.7.3
see here: https://github.com/google/or-tools/issues/3919

Indeed. The latest version of visual studio is worse
Le mar. 12 sept. 2023, 19:19, Pavel @.***> a écrit :

I just always used binaries. Manually entered in the project libs for
linker and includes for compiler.
But it has arisen more as a result that I can no longer compile in the new
vs 17.7.3
see here: #3919 https://github.com/google/or-tools/issues/3919
—
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/3918#issuecomment-1716132222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3IWVR6IPNNNJNTUNSDX2CKQHANCNFSM6AAAAAA4U4JFVU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


PushButton integration partly broken

graphite-pager was able to fire off a NODATA alert for me, but then died.
   File "/usr/local/lib/python2.7/dist-packages/graphitepager/notifiers/base.py", line 33, in notify
     nominal=False
   File "/usr/local/lib/python2.7/dist-packages/graphitepager/notifiers/pushbullet_notifier.py", line 36, in _notify
     str(description)
   File "/usr/local/lib/python2.7/dist-packages/graphitepager/notifiers/pushbullet_notifier.py", line 47, in _notify_clients_with_args
     for contact in self._client.contacts:
AttributeError: 'Pushbullet' object has no attribute 'contacts'

PushBullet's API docs say this:
 September 11, 2015
• New style for docs.
• Removed Contacts calls as the official apps no longer user Contacts. These have been replaced with the Chat objects.

Perhaps that's what broke?
Thank you!

Seems like it! We don't use graphite-pager internally anymore so I can't dedicate much time to this, but would you be willing to update the requirements, change the code, and submit a pull request?

Probably not, sadly but it's possible down the road. We may end up using PagerDuty instead. I'd never used PushBullet before and wanted to give it a try.
Mainly wanted to document the bug for future reference.
...Now if both are broken, you'll probably see a patch from me :-).


postpone obsoletion of ATR-X related syndrome (MONDO:0016980) and KAT6B-realted multiple congenital anomalies syndrome (MONDO:0036042)

From Ineke Cordova
Erin and I saw that MONDO is going to eliminate the disease entity terms “ATR-X related syndrome” (MONDO:0016980) and “KAT6B-realted multiple congenital anomalies syndrome (MONDO:0036042). In the linked spreadsheets, there were also no suggested disease entities to use instead. Are there any official alternatives from your end? Or, do we need to bring this back to our group?

We don't have terms we'd recommend, we can keep these terms if they are being used by ClinGen.

Action item for @sabrinatoro or me:

[ ] remove from the obsoletion list and add the new tag that Sabrina will create

@ErinRiggs 👀

note ATR-X-related syndrome is obsolete in Orphanet

dependent on
https://github.com/monarch-initiative/mondo/issues/6547

Hi Nicole,
For ATR-X-related syndrome we're going to go ahead and take your suggestions of replacing it with 'alpha thalassemia-X-linked intellectual disability syndrome'. As for KAT6B-realted multiple congenital anomalies syndrome (MONDO:0036042), we would like to continue to use this term. Please remove it from the obsoletion list. Thank you for your help on this!
@ErinRiggs

Hi Nicole,
I just got a notification that the KAT6B term was obsoleted. Per the conversation above, I thought that we had taken this term off of the list. Should I submit another ticket to get it added again?
@ErinRiggs

Dear @icordovaG, thank you for reporting this.
We lost track of this request to remove these terms from the obsoletion list. We deeply apologize.
I have reversed the obsoletion of these terms, and you should be able to see them again (with their original ID), during our next release, early January 2024.
Thank you for your patience and understanding.
Sabrina


fix(icons): remove extra spaces

Not sure if the extra spaces are intentional. Since some of them have spaces and some don't, I would assume this is a typo?

could be that it's intentional
since sometimes icons become really small when there is no space after them

That's indeed itentional. Multi byte icons


MWPW-157100: Merch card headers as p tags for Accessibility

This PR changes the heading tags inside merch card to follow the following approach:

First heading as H3
All other headings as <p> tags.
This is a sev1 accessibility concern.

Resolves: MWPW-157100
Test URLs:

Before: https://main--milo--adobecom.hlx.live/docs/library/kitchen-sink/merch-card?martech=off
After: https://MWPW-157100--milo--adobecom.hlx.live/docs/library/kitchen-sink/merch-card?martech=off

@Axelcureno looks like you need to update h > p in unit tests as well

Nala tests need to be fixed as well it seems

Thanks @Axelcureno  On the issues reported today
#1 is fixed - pricing below changed to 'p'
#2 per discussion will be fixable by Authors - to use correct price slot

in a similar direction as Mariia's: can we group common styles like
    margin: 0;
    color: var(--spectrum-gray-800, var(--merch-color-grey-80));
    font-weight: 700;

Comment has been addressed @npeltier @3ch023.

@Axelcureno there are conflicts in files , plz check and resolve them thanks

@Axelcureno there are conflicts in files , plz check and resolve them thanks

conflicts resolve (one again 😅) @Roycethan


dont new up layerGroup in live sample

:haircut_man: (because i have nothing better to do on a friday night)

Lol, good work! 😄


Invalid License Key - Student License

Hi all, I'm currently trying out the example within the Unity Platform.
I have a Student License and followed accordingly to the steps listed but was unable to test out before integrating to my own project.
The error I'm facing is code - 32002.
Please assist.

Hi all, resolved after changing virtual to actual headset.


Resume Information

1- Transfer the information I have on microsoft word to complete my page

merging to main


[Snapshot] Clean on first build

A new option, clean_on_first_build, that allows you to clean the build only on the first run.
A project could be configured where some build artifacts remain from prior builds but want to keep your current artifactswith the first build for screenshotting.

I signed it!

From: googlebot<EMAIL_ADDRESS>Sent: Thursday, March 30, 2017 10:07:56 AM
To: fastlane/fastlane
Cc: Andy Vanosdale; Author
Subject: Re: [fastlane/fastlane] [Snapshot] Clean on first build (#8708)
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA datahttps://cla.developers.google.com/clas and verify that your email is set on your git commitshttps://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the company's name.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/fastlane/fastlane/pull/8708#issuecomment-290477001, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACOpuOI0cHuYEYNwTVTWoOeLsBl_xfVBks5rq-FsgaJpZM4MupqG.

Could you clarify on the exact use case on when you don't want to use :clean, when to use :clean and when to use :clean_on_first_build. It feels pretty confusing, and ideally snapshot would just to the right thing for the user 👍

Great question! What I found when using :clean is it applies to the each build. For the subsequent builds, they don't necessarily need to be cleaned before the build, unless they are changing their binary due to other inputs. You still may want to clean the first build if you had previous builds. :clean_on_first_build will only clean the first build and allow subsequent builds to use most of the already built binaries. This could be resolved if there was an option to just clean instead of clean and build.

I agree with @KrauseFx here that this does seem a bit confusing. Is there a way that you could work around this by having an environment variable that you evaluate in your Fastfile to set or unset the :clean option. While I understand conceptually why an option to clean on first builds only would be wanted, I think this option introduces some complexity that can be avoided by moving this type of logic higher up in the tool.
I am going to close this PR for now, but feel free to continue discussion if you have any more thoughts! 🐙 🚀

Forked discussion to https://github.com/fastlane/fastlane/issues/8770


Support for topics

Message topics shall be supported:

Topic of input messages address command to perform or low level API to call
Topic of filter output messages shall be configurable

Examples
Input messages:
msg.topic = "getPowerStatus" -> perform command getPowerStatus
msg.topic = "system/getPowerStatus/1.1" -> call low level method getPowerStatus in version 1.1 from system service
Output messages:
Topic: "${service}/${method}/${version}" -> msg.topic = "system/getPowerStatus/1.1"
Topic: "${command}" -> msg.topic = "getPowerStatus"

Will only implement first point, second point does not have so much benefit.

Done


Fix remote write receiver endpoint for exemplars

Signed-off-by: Serge Catudal<EMAIL_ADDRESS>Previous support for exemplars on the remote write receiver endpoint was triggering the following error:
"unknown series ref. when trying to add exemplar: 0"

This PR aims to fix the problem.
Tested locally using a modified version of the opentelemetry-collector-contrib prometheusremotewriteexporter to send metrics with exemplars.
Here is a screenshot of exemplars received by the remote write receiver endpoint:

@csmarchbanks and @cstyan this PR is ready for review. Thank you in advance.

@csmarchbanks, @cstyan and @codesome friendly reminder: this PR is ready for review. Thank you in advance! :smiley:


Carton 0.12.0 with SwiftWasm 5.5.0 fails with linker command

Hello, I have been running Carton 0.12.0 with SwiftWasm and my build fails with the linker command in https://github.com/swiftwasm/swift/issues/3891.
I have checked the PR on https://github.com/swiftwasm/carton/pull/263 indicating you had added the required linker flags in carton; but looking at the code in
https://github.com/swiftwasm/carton/blob/04de1c22296efe925cc002b3245613faacd26162/Sources/SwiftToolchain/Toolchain.swift#L258
and
https://github.com/swiftwasm/carton/blob/04de1c22296efe925cc002b3245613faacd26162/Sources/SwiftToolchain/Toolchain.swift#L307
I believe you have only added them for carton test and not carton build command? Would that be correct?
Is there a way to manually input those flags via command line?
Thanks!

Thanks! As a temporary workaround you could check the swift build command carton dev --verbose emits in console output.
What kind of error message are you seeing by the way? This will help me investigate the issue and fix it properly.

Sure!
The command. I see is
swift build -c debug --product BrowserApp --triple wasm32-unknown-wasi -Xlinker /Users/<username>/.carton/static/so_sanitizer.wasm -Xlinker --stack-first
and the error is the same as I mentioned earlier, the same as https://github.com/swiftwasm/swift/issues/3891.
<goes like this>
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_trans_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_close_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_openU_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_openU_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_openU_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_openU_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_close_64
wasm-ld: error: /Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a(CFStringTransform.c.obj): undefined symbol: utrans_close_64
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)

I have noticed also the command output by carton when doing carton bundle is
/Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/bin/swift build -c release --product BrowserApp --triple wasm32-unknown-wasi
while in carton test is
/Library/Developer/Toolchains/swift-wasm-5.5.0-RELEASE.xctoolchain/usr/bin/swift build -c debug --product CrossplatformPackageTests --triple wasm32-unknown-wasi -Xswiftc -color-diagnostics -Xlinker -licuuc -Xlinker -licui18n
which would match what I saw browsing the source code in https://github.com/swiftwasm/carton/blob/04de1c22296efe925cc002b3245613faacd26162/Sources/SwiftToolchain/Toolchain.swift
However, if I manually execute the command carton bundle generates
swift build -c release --product BrowserApp --triple wasm32-unknown-wasi --build-path "$buildPath" -Xlinker -licuuc -Xlinker -licui18n
the compilation finishes correctly, which leads me to believe you are just missing the flags when generating the bundle and dev commands.

Thanks for the clarification, I'm waiting for CI to finish on a PR that fixes it, will tag a patch release with that shortly.

Thanks!


Installation fails if ~/.config/ranger/plugins does not exist

When following README and attempting to install, if ~/.config/ranger/plugins folder is missing, the install fails with the following error:
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File<EMAIL_ADDRESS>line 87, in _run_code
    exec(code, run_globals)
  File "/opt/homebrew/lib/python3.9/site-packages/ranger_tmux/__main__.py", line 192, in <module>
    main()
  File "/opt/homebrew/lib/python3.9/site-packages/ranger_tmux/__main__.py", line 188, in main
    args.func(args)
  File "/opt/homebrew/lib/python3.9/site-packages/ranger_tmux/__main__.py", line 105, in install
    args.ranger_plugin_path.symlink_to(args.plugin_script_path)
  File<EMAIL_ADDRESS>line 1403, in symlink_to
    self._accessor.symlink(target, self, target_is_directory)
  File<EMAIL_ADDRESS>line 456, in symlink
    return os.symlink(a, b)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/homebrew/lib/python3.9/site-packages/ranger_tmux/plugin.py' -> '/Users/sashka/.config/ranger/plugins/ranger_tmux.py'

The README does mention to clone into ranger plugin folder, but I think it may be better to allow for global pip module location install.

Thank you for reporting.
I've fixed this and made a new release. I'll also update the installation instructions, as I've uploaded this to PyPI, so you can now install it with pip install ranger-tmux.
I've also submitted a PR to ranger which would allow ranger to detect plugins installed with pip automatically, so hopefully soon there won't be a need for a manual installation step.


[Bug]: 404 error when clicked on log in button from feedback page .

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
404 error when clicked on log in button from feedback page .
Expected behavior
Proper log in page must open on click of log in button .
Add ScreenShots
https://github.com/user-attachments/assets/2030d184-5db3-41ac-9f42-844fe934d687
On which device are you experiencing this bug?
Chrome, Windows
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

@apu52 please assign me this now .


{Network} Re-generate network related codes within vm/servicefabric

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


Removes PIXI global object in ES and CJS bundles to enable tree-shaking

Overview
Partially addresses #5397.
This change removes PIXI from window object when defined in es and cjs  bundle builds. It's now only enabled for the browser build. This will help with tree-shaking using bundlers like Webpack and Rollup since everything doesn't hang off a single global object.
Changes

Changes browser build from umd format to iife format
Removes PIXI global being defined in es or cjs formats for bundles
Fixes tests that were still relying on PIXI
Implements an new API to use deprecations for es and cjs builds

Pre-Merge Checklist

[x] Tests and/or benchmarks are included
[x] Documentation is changed or added
[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

The PIXI global is set via Rollups “output.name” field.

Thanks @bigtimebuddy, I think this is good to go.


Grafana 6.4.3 + Crate 4.0.7: Cannot use relation "t" in this context.

CrateDB version: 4.0.7
Environment description:

JVM version: java -version

openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

Kernel: uname -a

Linux de1.l7dev.co.cc 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Distribution: cat /etc/os-release

NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

Number of nodes; 1 dev node

Problem description:
I am following your blog post to get Grafana 6.4.3 use Crate.io as Data Backend (in Postgre ). When I proceed to Add Query Grafana send SQL as below:
SELECTquote_ident(table_name) as table_name,
( SELECT
    quote_ident(column_name) as column_name
  FROM information_schema.columns c
    WHERE
      c.table_schema = t.table_schema AND
      c.table_name = t.table_name AND
      udt_name IN ('timestamptz','timestamp')
    ORDER BY ordinal_position LIMIT 1
  ) AS time_column,
  ( SELECT
      quote_ident(column_name) AS column_name
    FROM information_schema.columns c
    WHERE
      c.table_schema = t.table_schema AND
      c.table_name = t.table_name AND
      udt_name='float8'
    ORDER BY ordinal_position LIMIT 1
  ) AS value_column
FROM information_schema.tables t
WHERE
table_schema IN (
  SELECT
    CASE WHEN trim(s[i]) = '"$user"' THEN user ELSE trim(s[i]) END
  FROM
    generate_series(
      array_lower(string_to_array(current_setting('search_path'),','),1),
      array_upper(string_to_array(current_setting('search_path'),','),1)
    ) as i,
    string_to_array(current_setting('search_path'),',') s
) AND
  EXISTS
  ( SELECT 1
    FROM information_schema.columns c
    WHERE
      c.table_schema = t.table_schema AND
      c.table_name = t.table_name AND
      udt_name IN ('timestamptz','timestamp')
  ) AND
  EXISTS
  ( SELECT 1
    FROM information_schema.columns c
    WHERE
      c.table_schema = t.table_schema AND
      c.table_name = t.table_name AND
      udt_name='float8'
  )
LIMIT 1

which results in Crate.io throwing an error:
ERROR. Cannot use relation "t" in this context. It is only accessible in the parent context..C0A000.FFullQualifiedNameFieldProvider.java.L141.RraiseUnsupportedFeatureIfInParentScope

Steps to reproduce:
Follow steps in this blog post using Grafana 6.4.3 and Crate 4.0.7
Regards,
Chris

Do you see this error also popping up in the Grafana dashboard?
We're aware that we lack support for correlated subqueries, which are used for auto-completion within Grafana, but as far as we could tell it doesn't break any other functionality.

It throws no error in Grafana UI. Other than not populating table/column selection combo boxes and forcing the user to type all table/column names manually it seems to work well so far.

This probably could also be relevant for queries like https://github.com/crate/crate/issues/10528
SELECT device, speed
FROM data a,
     (
         SELECT max(ts) AS ts, device
         FROM data
         GROUP BY device
     ) b
WHERE (a.ts = b.ts)
  AND (a.device = b.device)

Another sample query produced by TypeORM with correlated sub-query:
SELECT
    columns.*,
    pg_catalog.col_description(
        (
            '"' || table_catalog || '"."' || table_schema || '"."' || table_name || '"'
        ) :: regclass :: oid,
        ordinal_position
    ) AS description,
    (
        '"' || "udt_schema" || '"."' || "udt_name" || '"'
    ) :: "regtype" AS "regtype",
    pg_catalog.format_type("col_attr"."atttypid", "col_attr"."atttypmod") AS "format_type"
FROM
    "information_schema"."columns"
    LEFT JOIN "pg_catalog"."pg_attribute" AS "col_attr" ON "col_attr"."attname" = "columns"."column_name"
    AND "col_attr"."attrelid" = (
        SELECT
            "cls"."oid"
        FROM
            "pg_catalog"."pg_class" AS "cls"
            LEFT JOIN "pg_catalog"."pg_namespace" AS "ns" ON "ns"."oid" = "cls"."relnamespace"
        WHERE
            "cls"."relname" = "columns"."table_name"
            AND "ns"."nspname" = "columns"."table_schema"
    )
WHERE
    (
        "table_schema" = 'doc'
        AND "table_name" = 'user'
    )

Error message: QueryFailedError: missing FROM-clause entry for relation '[doc.columns]'
I supect issue is that inner SELECT is not aware of parent context and tries to query doc.columns table which doesn't exist.

Correlated subquery & EXISTS support was merged and the query works now:

https://github.com/crate/crate/pull/12900
https://github.com/crate/crate/pull/12851
https://github.com/crate/crate/pull/12907
https://github.com/crate/crate/pull/12897
https://github.com/crate/crate/pull/13053

(The TypeORM query still misses other functionality, but the correlated join use would work)


NIFI-12970: Generate documentation for Python processors

Summary
NIFI-12970
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thanks @exceptionfactory for the review. I've adjusted the PR based on your comments.


v2.9 Checklist

Intro
We're shooting for a v2.9 beta release early next week - August 26th or 27th, preferably. This release cycle, we emphasized working on performance improvements, union serialization fixes, documentation, JSON schema fixes, and a variety of new features.
Pre-beta TODOs

[x] https://github.com/pydantic/pydantic/issues/8208 via https://github.com/pydantic/pydantic/pull/10094
[x] https://github.com/pydantic/pydantic/issues/10173
[x] https://github.com/pydantic/pydantic/issues/8693
[x] https://github.com/pydantic/pydantic/issues/9394
[x] Clean up v2.9.0 milestone to reflect things that have been pushed to v2.10
[x] v1 patch release + bundle into v2 pre v2.9.0b1 -- will do by the end of the week (August 23rd)

Needing review:

[x] https://github.com/pydantic/pydantic-core/pull/1415

Optional, or pushed to v2.10

[ ] https://github.com/pydantic/pydantic/issues/9670
[ ] https://github.com/pydantic/pydantic/issues/6885
[ ] https://github.com/pydantic/pydantic/issues/9871
[ ] Finish up https://github.com/pydantic/pydantic/pull/10100 - will require new tests, docs updates, issue triaging
[ ] https://github.com/pydantic/pydantic/issues/8142
[ ] Make a decision on https://github.com/pydantic/pydantic/pull/10005
[ ] https://github.com/pydantic/pydantic/issues/7353 and related url / constraint issues
[ ] https://github.com/pydantic/pydantic/issues/7252

Post-beta TODOs

[ ] v2.9 blog post to socialize changes + improvements - need to collect some performance stats from users
[ ] Major update to docs examples page -- add 10 more or so
[ ] pydantic-core docs update via https://github.com/pydantic/pydantic-core/issues/1389
[ ] v2.10 planning issue

We can continue to update this list as things come up, but generally this should serve as a solid guideline for our high priority work in the next few days!

@Viicos,
Feel free to add the issues you'd like to complete that I may have missed to the checklist above

We've released v2.9.0b1, so I'll be pivoting to the above docs updates re pre beta todos!

Update for folks following here - planning on the v2.9 release tomorrow! cc @Viicos :)


simulating tmux and screen functionality

Thanks for this library. I am trying to simulate tmux/screen/ssh style functionality.
I have a slightly modified version of the README example:
     func main() {
             c := exec.Command("/bin/bash")
             f, err := pty.Start(c)
             if err != nil {
                     panic(err)
             }
             go io.Copy(f, os.Stdin)
             //go io.Copy(os.Stderr, f)
             io.Copy(os.Stdout, f)
             log.Println("this test!")
     }

This seems to work except for when I use the arrow keys, or when I try to open vim.
When I use the arrow keys I see ^[[A , etc.
Is there something I am doing wrong?

You need to change your line discipline/termcaps. You probably just want to use the raw mode.
You can use something like this:

https://github.com/creack/termios/blob/master/raw/raw.go#L49
https://godoc.org/golang.org/x/crypto/ssh/terminal
https://github.com/docker/docker/blob/master/pkg/term/term.go#L114

Thank you! I will look in to these.

Thanks again. With your help, I was able to get what I wanted like this:
    package main

    import (
            "github.com/kr/pty"
            "io"
            "log"
            "os"
            "os/exec"
    )

    import "golang.org/x/crypto/ssh/terminal"

    func main() {

            oldState, err := terminal.MakeRaw(0)
            if err != nil {
                    panic(err)
            }
            defer terminal.Restore(0, oldState)

            c := exec.Command("/bin/bash")
            f, err := pty.Start(c)
            if err != nil {
                    panic(err)
            }

            //go io.Copy(os.Stderr, f)
            go io.Copy(os.Stdout, f)
            go io.Copy(f, os.Stdin)

            c.Wait()
            log.Println("Exiting...")
    }


Examples

Hi,
I've  found this crate and would like to use it. However there is almost no doc and no examples, but you published it on crates.io.
Are you using it yourself somewhere? Does it work?
Thank you

Hi hoodle,
this crate is a direct foreign function interface over the original libstrophe C library. That means that all functions have the same name as the C library and behave the same way. You can look at the examples from the original library (https://github.com/strophe/libstrophe/tree/master/examples) to get an idea of how it's being used.
I'll adjust and add those examples to this library later today.
That being said, I've been wanting to write a new version that uses a proper safe high level wrapper but havn't gotten around to it yet. Maybe I'll do so in the next weeks but when I do I'll be sure to include examples of the changes ;)

Hi, thanks, that sounds awesome. I found the direct mapping to the c-lib and considered just pull-requesting in some examples, but then, I haven't done anything with strophe yet at all and thought, maybe you already use it somewhere internally anyway.
Cheers

I'd love to see some examples too!

this should probably be called libstrophe-sys on crates.io.

+1

I've added three examples from the official documentation showing the basic usage of libstrophe. Another example for a simple bot will follow tomorrow after which I'll publish a new crate under the name libstrophe-sys.
Please tell me if you have any more advices or find mistakes in my example code. Thanks a lot for your help !
Note: I'm now linking against a newer version of libstrophe which means that you might have to compile the c library from source if the version in your package manager is too old.

Thank you very much :D

Just added the last examples and re-published the crate as libstrophe-sys (https://crates.io/crates/libstrophe-sys/)


Add type: 'attributes' slot, refactor link colors

Various changes bundled:

New type: 'attributes' slot, analogous to type: 'html', which passes in an Attributes-form object made/cloned from the provided slot value.
Refactoring for attributes validation; the specialized behavior used to check the last argument of an html.tag() call is inlined there, and otherwise attributes are always validated with isAttributesAdditionSingletValue.
isAttributeValue now accepts a (recursive) array of attribute values (ex. class: ['a', ['b', 'c']]), which gets flattened when setting or adding attributes.
Inline color behavior is moved from linkTemplate to linkThing, which newly takes a colorContext attribute, analogous to generateColorStyleAttribute.

Samples loading /changelog/ 10 times from fresh live-dev-server:
(First: 3.52s), 2.89, 2.95, 2.80, 2.47, 2.07, 2.08, 2.11, 2.10, 2.11, 2.19
(Average except first: 2.38s)
Samples loading /tracks/crystalanthemums/ 10 times form fresh live-dev-server:
(First: 2.75s), 0.30, 0.17, 0.17, 0.18, 0.18, 0.18, 0.18, 0.23, 0.19, 0.19
(Average except first: 0.20s)

First half of PR only, not including linkThing and linkTemplate changes.
Samples loading /changelog/ 10 times from fresh live-dev-server:
(First: 2.67s), 1.86, 1.88, 1.92, 2.02, 2.02, 2.05, 2.04, 2.06, 2.06, 2.13
(Average except first: 2.00s)
Samples loading /tracks/crystalanthemums/ 10 times form fresh live-dev-server:
(First: 2.69s), 0.16, 0.16, 0.16, 0.18, 0.17, 0.17, 0.17, 0.17, 0.18, 0.18
(Average except first: 0.17s)
Sampled on commit: 77037e72fad20c6af8a35cf232430fd5e0d7d73f

Discrepancy in first few changelog loads on https://github.com/hsmusic/hsmusic-wiki/pull/353#issuecomment-1873499501 is strange, so tested again.
Samples loading /changelog/ 10 times from fresh live-dev-server:
(First: 3.09s), 1.91, 1.92, 1.98, 1.97, 2.11, 2.10, 2.12, 2.12, 2.13, 2.24
(Average except first: 2.06s)
Samples loading further 10 times from non-fresh live-dev-server:
2.25, 2.25, 2.18, 2.19, 2.19, 2.19, 2.19, 2.20, 2.21, 2.23
(Average of these 10 only: 2.21s)
(Average of all 20: 2.14s)
Sampled on commit: 7ac274eac2f9181b06724ca4f786656e501c3f01

Should be fine, these actually make no impact on performance compared against https://github.com/hsmusic/hsmusic-wiki/pull/355#issuecomment-1873500990.


Allow changing the path/subfolder of the application

Issue: This refers to example [1] specified below. When the application is available with an appended path, the path needs to be configured somehow.

Usually, the full request path is handed to the application, in [1] this would be e.g. soundworks/controller but the application itself is only handling paths without the leading (subfolder) path such as controller. There is a workaround by removing the prefixes via the nginx config. This leads to a working application (without working websockets). However, this is also not specifiable (if this is a word) in the configuration: If I don't set a specific path for the sockets (default is socket) in the configuration of soundworks, then the request for the socket will be send on wss://example.com/socket, which is obviously not available. If I add the full path soundworks/socket, the request will be handled and upgrade by the webserver (http->ws), but in the scope of the scenario in 1), this request will also be stripped: This is due to the fact, that the websockets requests are forwarded correctly by the webserver e.g. wss://example.com/soundworks/socket, the corresponding request in the application will be /socket. This is not matching the expected schema and opened sockets which are running on /soundworks/socket.

Without dropping the prefixes, the requests like example.com/soundworks/controller will be internally forwarded by ngnix to <IP_ADDRESS>:8000 with the path soundworks/controller, which return obviously a 404 because only /player and /controller are specified by default.

Workaround for 1): I solved this by modifying the soundworks/core code. What I did is hardcoding the socket  path instead of using the full path from the configuration (which would be /soundworks/socket). To modification are made here: https://github.com/collective-soundworks/soundworks/blob/master/src/server/Sockets.js#L37
What would be useful: It would be useful to specify a subfolder/request path of the application manually in the configuration. This would help to overcome the modifications and configuration issues named above. The application handling/routing internally could then work without that overhead.
[1] Example:

Main domain (nginx): example.com
Server path where the application is available  example.com/soundworks
The soundworks application is running at <IP_ADDRESS>:8000
in ngix: The request paths /soundsworks are configured to be internally redirected to <IP_ADDRESS>:8000

As mentionned in #32 there is cleaner workaround that does not imply to change the core, by adding another the nginx location configuration.
Let's keep that open, but it implies two important aspects:

handle the problem properly without making a breaking change
make sure it works with apache too

Hi,
The issue has been fixed in https://github.com/collective-soundworks/soundworks/commit/e9312e987eb303b4535214aaf68e38efa14f9262, and released in @soundworks/core#3.0.3
So, there is a new config option subpath that replaces both assetsDomain and websockets.path options.
We thus have a more simple configuration file and a more consistent behavior regarding to rewriting rules.
With a soundworks config file (e.g. config/env/whatever.json) such as:
{
  type: 'production',
  port: 8001,
  subpath: 'my-app',
  useHttps: false,
}

We can thus have an nginx config such as:
map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

location /my-app {
    rewrite ^/my-app/?(.*)$ /$1 break;
    proxy_pass http://<IP_ADDRESS>:8001;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
}

Existing applications and nginx config should still work as expected without modifications.
I also updated the template to get rid of all references to assetsDomain, you can have a look to the changes here: https://github.com/collective-soundworks/soundworks-template/commit/fffa4a23e74a280a6ee82ba0428791863af5f033, but  again this is not mandatory as everything has been aliased to keep the backward compatibility.
Cheers,

Also added a documentation page there https://collective-soundworks.github.io/misc/online-deployment.html


backstage-create-app fails when running from a local clone of backstage

Hello Backstage folks, I keep getting this error when trying to run backstage-create-app from my local backstage clone.
I am absolutely new to both TS and backstage so not sure how to debug this in order to write a better description. So I apologies but I am dumping the whole error output below-
$/backstage/node_modules/.bin/backstage-create-app
? Enter a name for the app [required] testapp1
? Select database for the backend [required] SQLite

Creating the app...

 Cleanup:
  remove        temporary directory ✔

🔥  Failed to create app!

error Command failed with exit code 1.```

The underlying cause is that #6955 did not include a changeset for catalog-backend, so the addition of the static fromConfig function didn't get released as planned.
To work around this for now, you can change the generated search.ts file:
-collator: DefaultCatalogCollator.fromConfig(config, { discovery })
+collator: new DefaultCatalogCollator({ discovery })

To fix running node_modules/.bin/backstage-create-app entirely, the same would need to be done in packages/create-app/templates/default-app/packages/backend/src/plugins/search.ts. Just a note too that if you're testing changes to create-app you can also just run yarn start in the packages/create-app folder.