Add support for onArrowClick

I had to fire an event on arrow click and it wasn't possible, I was able to do what I needed only with beforeChange and it didn't work right because I had a re rendering issue in which upon scrolling vertically and coming up again, the carousel would be shifted to the right.
The workaround was to do a goTo(0) upon scrolling, and had to add a flag in the window scope to prevent the event from firing when doing a goTo(0). It would have been so much easier if I just had a onArrowClick() event.
Thanks a lot!

Unfortunately, this feature is not supported by the JQuery Slick carousel on which React Slick is based upon.


Add support for variable size rect packets

Fixes the rendering issues introduced by the variable size of rect packets introduced in firmware 4.0.0
I use JS very rarely so there are likely better/nicer ways to do this.

Hi! Is this going to be merged? I have been running into issues using the m8 display with my m8 running 4.0.0 so I am hoping this will fix them!


[radiofrance] Add live stations, podcast, profile and program schedule extractors

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Superseeds #6312
This PR adds support for live stations and various playlist types that Radio France has.
Additionally, some fixes were made to FranceCulture extractor to match valid urls that appear on playlists and also avoid url overlapping with the rest of extractors
Fixes #4282
Related: https://github.com/ytdl-org/youtube-dl/issues/31464
Live radio stations
[debug] Command-line config: ['https://www.radiofrance.fr/franceinter/', '--verbose', '-F']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 25782f130
[debug] Python 3.10.7 (CPython x86_64 64bit) - Linux-5.19.0-41-generic-x86_64-with-glibc2.36 (OpenSSL 3.0.5 5 Jul 2022, glibc 2.36)
[debug] exe versions: ffmpeg N-108931-g4dda3b1653-20221104 (setts), ffprobe N-108931-g4dda3b1653-20221104, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Extractor Plugins: ElyseNebulaChannelIE, ElyseNebulaIE, ElyseNebulaSubscriptionsIE, OnlineRadioBoxIE
[debug] Plugin directories: ['/home/amish/.yt-dlp/plugins/elyse0/yt_dlp_plugins']
[debug] Loaded 1816 extractors
[RadioFranceLive] Extracting URL: https://www.radiofrance.fr/franceinter/
[RadioFranceLive] franceinter: Downloading JSON metadata
[RadioFranceLive] franceinter: Downloading m3u8 information
[RadioFranceLive] franceinter: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for franceinter:
ID    EXT RESOLUTION │  TBR PROTO │ VCODEC     ACODEC     ABR
─────────────────────────────────────────────────────────────
78-0  m4a audio only │  78k m3u8  │ audio only mp4a.40.2  78k
78-1  m4a audio only │  78k m3u8  │ audio only mp4a.40.2  78k
160-0 m4a audio only │ 160k m3u8  │ audio only mp4a.40.2 160k
160-1 m4a audio only │ 160k m3u8  │ audio only mp4a.40.2 160k
252-0 m4a audio only │ 252k m3u8  │ audio only mp4a.40.2 252k
252-1 m4a audio only │ 252k m3u8  │ audio only mp4a.40.2 252k
6     aac unknown    │      https │ unknown    unknown    32k
7     mp3 unknown    │      https │ unknown    unknown    32k
8     aac unknown    │      https │ unknown    unknown   128k
9     mp3 unknown    │      https │ unknown    unknown   128k
10    aac unknown    │      https │ unknown    unknown   192k

Program/Podcast playlist
[debug] Command-line config: ['https://www.radiofrance.fr/franceinter/podcasts/le-7-9', '--verbose', '-F', '--playlist-items', '1-5']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 25782f130
[debug] Python 3.10.7 (CPython x86_64 64bit) - Linux-5.19.0-41-generic-x86_64-with-glibc2.36 (OpenSSL 3.0.5 5 Jul 2022, glibc 2.36)
[debug] exe versions: ffmpeg N-108931-g4dda3b1653-20221104 (setts), ffprobe N-108931-g4dda3b1653-20221104, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Extractor Plugins: ElyseNebulaChannelIE, ElyseNebulaIE, ElyseNebulaSubscriptionsIE, OnlineRadioBoxIE
[debug] Plugin directories: ['/home/amish/.yt-dlp/plugins/elyse0/yt_dlp_plugins']
[debug] Loaded 1816 extractors
[RadioFrancePodcast] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/le-7-9
[RadioFrancePodcast] le-7-9: Downloading JSON metadata
[download] Downloading playlist: Le 7/9.30
[RadioFrancePodcast] Playlist Le 7/9.30: Downloading 5 items
[download] Downloading item 1 of 5
[FranceCulture] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/le-7-9-30/le-7-9-30-du-vendredi-05-mai-2023-1690750
[FranceCulture] le-7-9-30-du-vendredi-05-mai-2023: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 1690750:
ID EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
───────────────────────────────────────────
0  mp3 unknown    │ https │ unknown unknown
[download] Downloading item 2 of 5
[FranceCulture] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/le-7-9-30/le-7-9-30-du-jeudi-04-mai-2023-7205289
[FranceCulture] le-7-9-30-du-jeudi-04-mai-2023: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 7205289:
ID EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
───────────────────────────────────────────
0  mp3 unknown    │ https │ unknown unknown
[download] Downloading item 3 of 5
[FranceCulture] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/le-7-9-30/le-7-9-30-du-mercredi-03-mai-2023-1731019
[FranceCulture] le-7-9-30-du-mercredi-03-mai-2023: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 1731019:
ID EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
───────────────────────────────────────────
0  mp3 unknown    │ https │ unknown unknown

Profile playlist
[debug] Command-line config: ['https://www.radiofrance.fr/personnes/lea-salame', '--verbose', '-F', '--playlist-items', '1-5']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 25782f130
[debug] Python 3.10.7 (CPython x86_64 64bit) - Linux-5.19.0-41-generic-x86_64-with-glibc2.36 (OpenSSL 3.0.5 5 Jul 2022, glibc 2.36)
[debug] exe versions: ffmpeg N-108931-g4dda3b1653-20221104 (setts), ffprobe N-108931-g4dda3b1653-20221104, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Extractor Plugins: ElyseNebulaChannelIE, ElyseNebulaIE, ElyseNebulaSubscriptionsIE, OnlineRadioBoxIE
[debug] Plugin directories: ['/home/amish/.yt-dlp/plugins/elyse0/yt_dlp_plugins']
[debug] Loaded 1816 extractors
[RadioFranceProfile] Extracting URL: https://www.radiofrance.fr/personnes/lea-salame
[RadioFranceProfile] lea-salame: Downloading JSON metadata
[download] Downloading playlist: Léa Salamé
[RadioFranceProfile] Playlist Léa Salamé: Downloading 5 items
[download] Downloading item 1 of 5
[FranceCulture] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/l-invite-de-8h20-le-grand-entretien/l-invite-de-8h20-le-grand-entretien-du-vendredi-05-mai-2023-4286608
[FranceCulture] l-invite-de-8h20-le-grand-entretien-du-vendredi-05-mai-2023: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 4286608:
ID EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
───────────────────────────────────────────
0  mp3 unknown    │ https │ unknown unknown
[download] Downloading item 2 of 5
[FranceCulture] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/l-invite-de-8h20-le-grand-entretien/l-invite-de-8h20-le-grand-entretien-du-jeudi-04-mai-2023-1644324
[FranceCulture] l-invite-de-8h20-le-grand-entretien-du-jeudi-04-mai-2023: Downloading webpage
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for 1644324:
ID EXT RESOLUTION │ PROTO │ VCODEC  ACODEC
───────────────────────────────────────────
0  mp3 unknown    │ https │ unknown unknown
[download] Downloading item 3 of 5
[FranceCulture] Extracting URL: https://www.radiofrance.fr/franceinter/podcasts/l-invite-de-7h50/l-invite-de-7h50-du-jeudi-04-mai-2023-9040531
[FranceCulture] l-invite-de-7h50-du-jeudi-04-mai-2023: Downloading webpage

Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

There's a lot of similar/duplicate code shared between RadioFrancePodcastIE and RadioFranceProfileIE. I think a playlist base class could make sense for these
_real_extract wouldn't even need to be redefined in the subclasses, all you'd need to do is something like this:
        return self.playlist_result(
            self._generate_playlist_entries(podcast_id, metadata[self._METADATA_KEY]), podcast_id,
            display_id=display_id, **traverse_obj(metadata, {
                'title': 'title',
                'description': (('standFirst', 'role'), {str}),
                'thumbnail': ('visual', 'src'),
            }, get_all=False))

I agree bashonly, a base class makes sense for real_extract
_generate_playlist_entries have different url patterns, query params and pagination, so... maybe those are better in different methods


Can't resolve core-js in component files

I am trying to setup polydill for  the current project i am working on. I followed the installation steps and getting many errors about not being about to resolve core-js modules. Below is how my mix file looks:

"laravel-mix-polyfill": "^2.0.0",
"laravel-mix": "^4.1.4",
"@babel/polyfill": "^7.10.4",

const mix = require('laravel-mix');
require('laravel-mix-polyfill');
mix.js('resources/js/app.js', 'public/js')
    .polyfill({
        targets: { "ie": 11}
    })

I have not found any solutions online to over come this bug/issue.

Error Example
ERROR in ./resources/js/components/AddPart.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/AddPart.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve 'core-js/modules/es.string.trim' in '/Users/jmurphy/workspace/studyup/resources/js/components'
 @ ./resources/js/components/AddPart.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/components/AddPart.vue?vue&type=script&lang=js&) 6:0-40
 @ ./resources/js/components/AddPart.vue?vue&type=script&lang=js&
 @ ./resources/js/components/AddPart.vue
 @ ./resources/js sync \.vue$/
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js ./resources/sass/app.scss ./resources/sass/login.scss


[Prod] Tool Run project selection is broken

When trying to select proejcts as inputs to a tool run, you can't select any of the projects:

This should have been addressed (at least in bare functionality) in #1833


Slicing, sorting and dropping index/column values

This branch resolves #19, #15 and #18.

Pushing the deadline on this PR back a week to allow for more testing.

Quite a bit of refactoring to do on this so I'm giving it another week.

:+1:

I'll continue adding tests and making improvements in a new branch. For now this is sufficiently functional to warrant a merge to develop. :+1:


iOS flutter_inappwebview/URLRequest.swift:13: Fatal error: Unexpectedly found nil while unwrapping an Optional value

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.10.5

Plugin version
5.4.1+2

Android version

iOS version
11

Xcode version
latest

Device information:
Description
Expected behavior:
Current behavior:
Steps to reproduce

when app started, it cause error on Xcode or viscose' debug console
flutter_inappwebview/URLRequest.swift:13: Fatal error: Unexpectedly found nil while unwrapping an Optional value
2022-05-03 19:02:17.629025+0900 Runner[3860:371793] flutter_inappwebview/URLRequest.swift:13: Fatal error: Unexpectedly found nil while unwrapping an Optional value
(lldb)
iOS > .symlinks> plugins > flutter_inappwebview > iOS > classes > Types > URLRequest.swift. 13 line is the problem .
self.init(url: URL(string: url)!)
How can I solve this?
Images
Stacktrace/Logcat

removing ./pub-cache folder or flutter clean, pod clean not working at all
https://github.com/pichillilorenzo/flutter_inappwebview/issues/932

Fixed with new release 5.4.3+6. Now if you try to make an URL Request using null as URL, it will load about:blank.


Decompressing .rar archives - by adding the apt package unrar perhaps?

I'm not sure, but I think unraring a file using these images isn't possible with the software installed, but the apt package unrar could help accomplish this.
What do you think about adding the unrar package, or other software to decompress .rar archives?

Also a thought about this since I originally asked this question to @consideRatio for our Hub when I had trouble extracting some open glacier data.
RAR is a proprietary format for archiving/compressing files. Similar to the case of the ESRI shapefiles, it has become one of the standard formats for many file archivers (like 7-zip) due to its popularity. For the short term, I think we should add some support to the RAR files. But, in the long run, maybe it's better to initiate a movement that encourages people to stay away from RAR, just like this one for the shapefiles?


Support Laravel 7.x

Did initial work to get this package to run on laravel 7.x, e.g updated dependencies etc.
~This is set as a draft because the package phpunit/phpcov (used in require-dev) depends on symfony/console and there is not yet a released package with "5.x" support yet.~
I have also only bumped the dependencies to laravel 7.x no actual code changes have been done sense i don't believe such changes is needed for this update.
Because of the use of phpunit/phpunit "^9.0" i had to change our docker image to PHP 7.3 instead of 7.2
Edit: Added support for laravel 6.x back in.

I already updated #304 with your dev-master suggestion for phpcov. Thanks, though!


Add new method setThumbNumber()

This method should allow to set the number of available thumbs programmatically.

nice one.  what about its behavior. what happens when:

you set more thumbs than already exist. how shall be the new thumbs positioned? shall we re-position the old thumbs
you set less thumbs than before. Then we just cut out the last ones ? Shall we re-position the others.
what do you think?

Hi, thanks for your quick reply. :-)
Here's a more detailed suggestion ...
/** Sets the number of new thumbs. All exisitng and new thumbs on the slider
 *  will be spaced out evenly between each other if spaceOUtThumbsEvenly is
 *  set to true. Otherwise, positions of exisiting thumbs remain unchanged
 *  and new thumbs are added at the end of the slider.
 */
void setThumbNumber(int numThumbs, boolean spaceOutThumbsEvenly);

/** Sets the number of new thumbs. All existing and new thumbs are (re-)positioned
  * according to the provided positions array which must contain as many values
  * as specified by numThumbs. Otherwise, an IllegalArgumentException will be
  * thrown.
  */
void setThumbNumber(int numThumbs, int[] positions);

/** Adds a new thumb at the specified position on the slider. */
void addThumb(int position);

/** Removes the specified thumb instance from the slider. Any remaining thumbs
  * will be spaced out evenly if spaceOutThumbsEvenly is set to true. Otherise,
  * thumb positions will remain unchanged.
  */
void removeThumb(Thumb thumb, boolean spaceOutThumbsEvenly);

Remarks:

I'm not sure if it's a problem if trying to put a new thumb at a position that is already occupied by another thumb.
Maybe overload the methods setThumbNumber(int, boolean) and removeThumb(Thumb, boolean) with defaulting the booleans to true.

this seems ok for me.
About the default behavior for setThumbNumber seems ok for me however I think the default when adding or removing thumbs by ref or position should not affect the others. meaning that for this case setThumbNumber will default to false. The reason why is that for me "setThumbNumber" is more like init stage where you expect this behavior, while adding/removing will probably be used when additional dimension needs to be included but the others values have to stay the same.
Another thing is that thumbs can stay on top of each other unless stepsThumbsApart>0 but they won't look nice unless drawThumbsApart is true. so this is why i think when adding thumbs and drawThumbsApart is false to place them on the min steps possible apart from each other (of course unless spaceOutThumbsEvenly is true) so they all be visible otherwise it would look like a bug.


Fix typo in compilation instructions for Windows

This fixes spelling on a word ("becase" -> "because").

Thanks!


Palindrome

Palindrome
Algorithm
To check whether the entered string is palindrome or not.
Algorithms=> String_Algorithms => Palindrome.c
KN

[ ]  C++ -
[x]  C -
[ ]  Python -
[x] Java -
[x] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

Please assign me Js and Java

Please Assign me in c++ @ahampriyanshu @Mr-Vaibhav-Shukla

please assign me this c++

please assign me for c# thank you

Can you assign me for python?

Hi @ahampriyanshu Can you assign me for php?

can I work for ruby code?

Hi, @ahampriyanshu I will like to do this in PHP. Can you assign this to me

Can you assign me for Python?

Hello @ahampriyanshu! Could you please assign me for Typescript?

Can you assign me for Swift?

Hi, I would like to do it in php.

I would like to do this for Golang

thanks everyone :v:


Create download page

A page with links to files that are hosted on https://download.redotengine.org
Needs to happen before the 4.3 release on oct 16.
Working URLs that can be used for testing:
https://download.redotengine.org/release/4.4/android-editor.zip
https://download.redotengine.org/release/4.4/android-template-arm32.zip
https://download.redotengine.org/release/4.4/android-template-arm64.zip
https://download.redotengine.org/release/4.4/redot-engine-2024101114.tar.gz
https://download.redotengine.org/release/4.4/redot-engine-2024101114.zip
https://download.redotengine.org/release/4.4/redot-linux-template.zip
https://download.redotengine.org/release/4.4/redot-linuxbsd.zip
https://download.redotengine.org/release/4.4/redot-windows-template.zip
https://download.redotengine.org/release/4.4/redot-windowsx64.zip
https://download.redotengine.org/release/4.4/web-nothreads-template.zip
https://download.redotengine.org/release/4.4/web-template.zip
https://download.redotengine.org/release/4.4/windows-editor-mono.zip

Deadline is creeping closer. I would do it myself but then you'll end up with the ugliest page in the world.


Serialization and Deserialization of Classification Models

Hi!
The Bug
I am playing around with your classifiers and so far I really like it. I started serialization of the trained model to use is later in the prediction. For the SVM it worked out for me, but doing so with Logistic Regression, Gradient Boost or Decision Forest failed to compile. I think I am not able to create the model for the ModelPtr correctly, because the Model is abstract.
Using (training) ResultPtr instead of ModelPtr works and I can get the Model from there, but I would like to avoid the additional overhead. Is there a way to create the ModelPtr correctly for those cases or is it the intended way to use the ResultPtr?
Error Message
invalid new-expression of abstract class type ‘daal::algorithms::logistic_regression::interface1::Model’
     daal::algorithms::logistic_regression::interface1::ModelPtr vModelPtr(new daal::algorithms::logistic_regression::interface1::Model());

To Reproduce
auto vModel = vTrainingResult->get(classifier::training::model);
vModel->serialize(...);

// this compiled and provided the same results compared to the results without serialization
daal::algorithms::multi_class_classifier::interface1::ModelPtr vModelPtr(new daal::algorithms::multi_class_classifier::interface1::Model());

// These three fail to compile
daal::algorithms::logistic_regression::interface1::ModelPtr vModelPtr(new daal::algorithms::logistic_regression::interface1::Model());
daal::algorithms::decision_forest::classification::interface1::ModelPtr vModelPtr(new daal::algorithms::decision_forest::classification::interface1::Model());
daal::algorithms::gbt::classification::interface1::ModelPtr vModelPtr(new daal::algorithms::gbt::classification::interface1::Model());

vModelPtr->deserialize(...);

Environment:

OS: [Ubuntu 18.04]
Compiler: [GCC7.4]
Version: [2019 Update 5]

Hello @Mightrider
Do you need further help on this issue?
Can we close this issue?

Well I managed to implement a workaround using serialize/deserialize of the result instead of using the model directly.
So fixing this issue is no high priority for me but as far as I can tell the problem still exists.
Unless it is not intended to serialize/deserialize models at all...

Actually we are still failing to serialize / deserialize certain models. Could this issue be considered for fixing again?

I wanted to check and see if there was any update on this. We've hit this as well and would love to be able to construct models directly for model types such as decision forest.

@tmostak  @emmenlau
Appreciate if you can share more context here. Are you looking for specific models beyond  decision forest?
Also a question - would you consider moving to oneDAL interfaces if serialization would be implemented there?

@napetrov yes ideally all models would support serialization so we can store on disk (we're adding ML training/inference support to our database).  However if it helps with prioritization we're currently using the linear regression, random forest, GBT and decision tree models for regression and kmeans and dbscan for clustering.
And yes we'd consider moving to oneDAL proper as soon as we can scope the time to do so, although it would be nice if the daal interfaces still supported serialization of all model types.

@tmostak , @emmenlau  - yes oneDAL have working serialization. And we would look on scope to get DAAL serialization fixed.


No libmediainfo0v5_24.06-1_amd64.deb package in Ubuntu Jammy repo

The package is listed in the repo:
https://mediaarea.net/repo/deb/ubuntu/dists/jammy/main/binary-amd64/Packages
But it doesn't exist:
https://mediaarea.net/repo/deb/ubuntu/pool/jammy/main/libm/libmediainfo/

Should be OK now, please retry.

Thanks very much, fixed


Add change billing contact page

Migrated article: Change billing contact
Fixes #1087

Hi @lornajane so @harshini-rangaswamy reported that this

this entire feature is changing at the end of August.

What is the procedure here? Merge the old content and create a ticket to update or wait for the new info about the feature. I do not mind any of the ways just to understand.

Hi @lornajane so @harshini-rangaswamy reported that this

this entire feature is changing at the end of August.

What is the procedure here? Merge the old content and create a ticket to update or wait for the new info about the feature. I do not mind any of the ways just to understand.

I think I will go ahead and add this content as two different topics. Based on a meeting yesterday, I believe there isn't a clear deadline on when the updated Account/Billing will be released. In the meantime, I am waiting for more clarifications from the TPO regarding some questions about the payment card functionality.

Got it! @harshini-rangaswamy I've assigned this to you so we know the ball is in your court, so to speak. You can unassign and re-request my review when you are ready for us to take another look.

Rebased to sort out a conflict in the navigation, just waiting for the build to complete


Failed to write to log, invalid argument

W10
dive version 0.9.1
Hi,
I'm getting the above error when using dive on W10, installed locally + running from docker:
Fetching image... (this can take a while for large images)
Analyzing image...
Failed to write to log, invalid argument
Failed to write to log, invalid argument
Failed to write to log, invalid argument
Failed to write to log, invalid argument
Building cache...
Failed to write to log, invalid argument
cannot build cache tree
Failed to write to log, invalid argument
cannot remove upperNode /var/lib/yum/rpmdb-indexes/conflicts: path does not exist: /var/lib/yum/rpmdb-indexes/conflicts
The image I tested on is big (that's why we want to use dive), it works with a few smaller images.

I have the same issue. it works fine with  v0.8.1

I have the same issue. it works fine with v0.8.1

tx for pointing me to that version, v0.8.1 indeed works. I see the same "failed to write to log" messages however, but at least it's no longer a blocker

Thanks for reporting, I added more aggressive error checking when parsing images around ~v0.9.0, but since v0.9.2 (released today) have compromised on this. A few suggestions:

Try out v0.9.2, let me know if it works or not!
If 0.9.2 doens't work, and you have a public image (or a Dockerfile facsimile), can you let me know the image?

0.9.2 fixed the issue for me.


Added computed_kubectl

Looking for lots of feedback here--especially fitness issues.  (Documentation, code/file arraingement, coding styles.)

This should close #498

This was "inspired by" #498, but has clearly diverged.  This is now the guts of the work of https://github.com/samsung-cnct/k2cli/issues/67

This requires that semver be installed in the quay k2-tools image.  It appears that it is not.

Python semver module is now in the k2-tools image.

the CI failures look legit.  please take a look at their output.

Yes, I missed the fact that I was defining two facts there.  The second was really a debug thing, so I've corrected the issue.

Passed on https://common-jenkins.kubeme.io/job/K2/job/PR-526/17/.  I did a rebase, which kicked off https://common-jenkins.kubeme.io/job/K2/job/PR-526/18

I accept the passed run/rebase comment.  Onwards.


Update mill-scalafix to 0.3.0

About this PR
📦 Updates com.goyeau:mill-scalafix from 0.2.11 to 0.3.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.goyeau", artifactId = "mill-scalafix" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.goyeau", artifactId = "mill-scalafix" }
}]

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

@scala-steward rebase


Add functions for scrolling up / down full page

Not sure why Page Down and Page Up aren't here by default, so adding them in.  I left the indents as tabs in injected.js but made the indent spacing consistent in defaultSettings.json (it was 2 and 4 before, just 2 now).

I second this for scrolling pages more quickly (would like to map c-f and c-b but whatever for the defaults).

Please help merge this PR please


feat(rebuild_history): resource map implementation for rebuild history

We have added rebuild history resource map in the Nodewrapper. This uses list_rebuild_record rpc to periodically update rebuild history of all nexus in the node.
This PR also adds test for rebuild history in control plane.

bors try

bors try

bors try

bors merge


Thread safety fixes

Remove double-checked lock, just use dispatch_once.
The latter does more expected optimization stuff than a simple if check, and also avoids potential race conditions (the instance may be assigned but not finished initializing yet).

Safely access _requests dictionary across threads.
This dictionary (and its mutable values) are mutated from multiple threads; ensure these changes are synchronized.

Why do you need to access _requests across threads?

Rather, _requests is accessed across threads, for example when an image load begins here (background thread) (inserting into _requests) and then completes here (main thread) (removing from _requests)

That appears to be a demo app bug. IIRC (and it has been a while), requests are supposed to be initiated from the main thread.

TBH I'm not very familiar with this library, just trying to track down some crashes in an app that uses it. This comment to me implies that it could be from an arbitrary thread, and it looks like most other things in the library are thread-safe (FICImageTable uses an internal lock, for example).

Also given that the sample code has been calling it from a background thread ever since initial release, I'd estimate there would be a large number of clients that have come to expect this behavior.


in infer_mtist.prepare_data_for_inference unused  n_timepoints in line 88 should be _

This confused me for a second:
    n_timepoints, n_species = X.shape
is actually not loading the time points for one time series, but timepoints * number of time series. Since unused, consider:
_, n_species = X.shape

Fixed in a44a526dc20e27a74ee602b23ad254e7bdf560d6


Update readme

This has the old mockup image, can you do a pull from V0.1 or merge it later?

Updated with latest mockup


Mouse pointer on hovering to be changed

Currently the mouse pointer is shown as a hand when hovered on the board.
Possible to change it into a changed it to a chalk or any better icon

Hey @DhanushNehru, I want to work on this. Please Assign it to me.


Implements variable degrees of freedom in kernel

Description of changes
Fixes #51 and implements variable degrees of freedom in the Cauchy kernel.
@dkobak I finally took a few hours and implemented this. I also spent a bit of time trying to come up with an expression that would use only a single kernel. I was not successful. Did you guys try to do this when you were working on this? The performance impact is minimal, so it doesn't really matter, but I had to change the code up a bit to accommodate this.
I do like the plots with dof<1. I have grown to like the compactness characteristic of UMAP, so I tend to use exaggeration, and this lines up with that as well. Is there a reason to use prefer degrees of freedom over exaggeration?
Includes

[X] Code changes
[X] Tests
[ ] Documentation

Wow, Pavlin, this is very cool! Happy to see it implemented in openTSNE.
By the way -- does openTSNE support embedding into 1D? George has only recently implemented df!=1 support for 1D embeddings in FIt-SNE. This was picked up and used here: https://arxiv.org/abs/2002.05687.

I also spent a bit of time trying to come up with an expression that would use only a single kernel. I was not successful. Did you guys try to do this when you were working on this?

I'm actually not quite sure what you mean. Do you mean that you could not use the same kernel for df=1 and df!=1? Why? If I remember correctly, George did code it as separate functions in FIt-SNE but this was because he thought the code for df!=1 might work slower even if one passes in df=1. Not sure this was actually the case in the end.

I do like the plots with dof<1. I have grown to like the compactness characteristic of UMAP, so I tend to use exaggeration, and this lines up with that as well. Is there a reason to use prefer degrees of freedom over exaggeration?

I think these two things have generally different effects. df<1 tends to yield more clusters ("finer cluster structure" as we call it in our paper), whereas exaggeration>1 tends to shrink clusters. Here I have a figure with MNIST, showing an effect of exaggeration=4 and df=0.5:

The UMAP of MNIST looks just like exaggeration=4. Actually the default similarity kernel in UMAP does have a bit heavier tails than df=1, so I think maybe setting slightly lower df gets one a bit closer to the default UMAP, but the effect of exaggeration is stronger.

By the way -- does openTSNE support embedding into 1D?

Yes. And it's fully integrated into openTSNE so it works with transform and it should be compatible with everything else.

Do you mean that you could not use the same kernel for df=1 and df!=1? Why? If I remember correctly, George did code it as separate functions in FIt-SNE but this was because he thought the code for df!=1 might work slower even if one passes in df=1. Not sure this was actually the case in the end.

No, we couldn't use the same kernels. So your paper doesn't go into detail about the FIt-SNE implementation, and that's fine -- deriving the things I needed was really straightforward. For their paper (https://www.nature.com/articles/s41592-018-0308-4), one possible setting of the phi terms is described, which needs two different kernels (K1 and K2 in eqn. (3)), but this is not what is actually implemented in FIt-SNE. @linqiaozhi came up with an alternative way so that he only needed to use K2.
So the same thing happens here. When I worked out the FIt-SNE approximation, I came up with two kernels, and I couldn't find a way to squish them into a single one. Not that it matters since the performance impact seems small. What might matter is that using a single kernel uses up less memory. I was wondering if you guys had tried to find a way to use a single kernel. Looking at the FIt-SNE implementation, it looks like we came to the same thing though.
The df != 1 is definitely slower because there's a whole lot of extra division and exponentiation operations. There's no way around that. Separating the two is definitely a good idea. I just incorporated it into the existing code using if statements. The CPU branch predictor should have no problems with that.

I think these two things have generally different effects. df<1 tends to yield more clusters ("finer cluster structure" as we call it in our paper), whereas exaggeration>1 tends to shrink clusters.

Yeah, I have yet to try it on larger data sets, I'm really curious to see what I get there.

but this is not what is actually implemented in FIt-SNE. @linqiaozhi came up with an alternative way so that he only needed to use K2.

Oh yes, true. Too bad it's not explicitly written down in the FIt-SNE paper.

So the same thing happens here. When I worked out the FIt-SNE approximation, I came up with two kernels, and I couldn't find a way to squish them into a single one. Not that it matters since the performance impact seems small. What might matter is that using a single kernel uses up less memory. I was wondering if you guys had tried to find a way to use a single kernel. Looking at the FIt-SNE implementation, it looks like we came to the same thing though.

Yes, now I remember how George was explainining this to me. He had exactly the same problem and also decided to use two kernels.

The df != 1 is definitely slower because there's a whole lot of extra division and exponentiation operations. There's no way around that.

My feeling is that the difference might be too small to care about, but I did not do thorough testing.

Glad to see variable dof implemented in openTSNE!
And yes, as Dmitry mentioned, we use two kernels for the implementation that allows variable dof. To be honest, I forget if I spent much time working it out for a single kernel or not...but ultimately I remember that we decided it was likely not worth it from a performance standpoint.


Dependabot failing commitlint

Hello.   We have a repository that has been recently converted to use semantic-release.  After we started using semantic release with commitlint dependabot's PRs fail CI checks.
I saw a few other issues related to this that lead me to believe dependabot should be checking and using semantic release if it detects it.
Is there some way to configure it?
Thanks in advance
semantic-commitlint: local
😞   Errors found with commit
💬   Bump eslint-utils from 1.3.1 to 1.4.2

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>
✖   message may not be empty [subject-empty]
✖   type may not be empty [type-empty]
✖   found 2 problems, 0 warnings
{ SemanticReleaseError: The commit message is not formatted correctly
    at /home/circleci/.npm/_npx/3944/lib/node_modules/semantic-commitlint/dist/lint-commits.plugin.js:100:31
    at step (/home/circleci/.npm/_npx/3944/lib/node_modules/semantic-commitlint/dist/lint-commits.plugin.js:32:23)
    at Object.next (/home/circleci/.npm/_npx/3944/lib/node_modules/semantic-commitlint/dist/lint-commits.plugin.js:13:53)
    at fulfilled (/home/circleci/.npm/_npx/3944/lib/node_modules/semantic-commitlint/dist/lint-commits.plugin.js:4:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)
  name: 'SemanticReleaseError',
  code: 'EINVALIDCOMMIT',
  details: undefined,
  semanticRelease: true }
Exited with code 1```

Yes! You can configure from within a config file - the docs are here.

Awesome. Automated detection only happens when you first start using Dependabot on a repo, so that makes sense (it keeps  the same style from then on for consistency).


Updating to use the Globus SDK.

Looks fine to me.  There are a couple of related changes needed in other files (setup.py, fetch/init.py) but I will take care of those after merging.  One thing I would like to change is to call token "transfer_token" in keeping with the Globus CLI config and to disambiguate it from "auth_token" should we ever need to include that in the keychain mechanism as well.

Sounds good. Agree on the transfer_token change.


Vector version of DGDiffusionIntegrator

I'm implementing a DG discretization for (Navier-)Stokes. The code is working well based on using the ElasticityIntegrator on cells and DGElasticityIntegrator on faces. However, I'd like to use the vector Laplacian as the diffusion term instead of the divergence of the symmetric gradient formulation. On the cells I can use VectorDiffusionIntegrator, but there is no VectorDGDiffusionIntegrator on faces. I was thinking of the following two approaches to address this:

Modify the DGElasticityIntegrator. The DGElasticityIntegrator on the faces implements mu*(grad(u) + grad(u)^T) + lambdadiv(u)I, but I just need mugrad(u). I had a look at the implementation of DGElasticityIntegrator and I was thinking I just need to comment out that part of DGElasticityIntegrator where mugrad(u)^T is added to elmat. If it's indeed just a matter of commenting out a few lines, could someone point me to which lines I would need to comment out?
An alternative is to modify the scalar DGDiffusionIntegrator. The way I was thinking of doing this is DGDiffusionIntegrator gives us elmat for a scalar. It's of size ndof1 + ndof 2. Changing the size of elmat to dim*(ndof1+ndof2), the current implementation of DGDiffusionIntegrator fills the first diagonal (ndof1+ndof2) block. I thought I could just copy this block also to the second and maybe third diagonal blocks, but I think the ordering I'm using is incorrect.

Any help on which approach to use and how to continue is much appreciated.

Hello @rhebergens,
Option 2 sounds like a reasonable thing to try. I'm not sure why it wasn't working for you. It should actually be possible to wrap any scalar integrator in another integrator that "vectorizes" it, i.e. repeats its element matrix as blocks along the diagonal. Note that for the ordering, the vector dimension should be the "slow" dimension, and the DOF index should be the "fast" dimension.

Thanks for the response. Regarding option 2, in the DGDiffusionIntegrator at the end once we have elmat, I added
   for (int k = 0; k < dim; k++)
     {
       velmat.AddMatrix(elmat, ndofs*k, ndofs*k);
     }

where velmat is size dim*ndofs. I then return velmat instead of the scalar elmat. The code compiles, but I get nan as solution. Please let me know if I misunderstood the ordering.

I think the issue you are encountering is that all the degrees of freedom for the "second" element come after all the degrees of freedom for the fist element, they are not interleaved. You can try doing something like this:
for (int d=0; d<dim; ++d)
{
   for (int j=0; j<ndofs; ++j)
   {
      int jj = (j < ndof1) ? j + d*ndof1 : j - ndof1 + d*ndof2 + dim*ndof1;
      for (int i=0; i<ndofs; ++i)
      {
         int ii = (i < ndof1) ? i + d*ndof1 : i - ndof1 + d*ndof2 + dim*ndof1;
         velmat(ii, jj) += elmat(i, j);
      }
   }
}

Perfect, that worked - thank you!

I made a picture to describe the code that fills velmat in the comment above. Suppose dim = 2 and ndof2 < ndof1. Then velmat looks like

where blue and cyan are different dimensions.

I made a picture to describe the code that fills velmat in the comment above. Suppose dim = 2 and ndof2 < ndof1. Then velmat looks like

where blue and cyan are different dimensions.


Feature request: Content indexing

It wouldn't surprise me if there's a technical limitation that would prevent content indexing, but it's worth asking the question.

It would be impossible for most files, because they’re not really stored locally (so can’t access their contents). For the others, it would still create a ginormous cache. Spotlight indexing may be coming back to Google Drive, though it’s still unclear to which extent.


⚠ Bofrost.es has degraded performance

In 06ff3c9, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1368 ms

Resolved: Bofrost.es performance has improved in 0598d28.


ImportError: DLL load failed: The specified module could not be found

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information 64 bit operating system

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 Home Single Language
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):not sure
TensorFlow version:
Python version:3.7.6
Installed using virtualenv? pip? conda?:pip
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
conda create -n tensorflow python=3.7
activate tensorflow
pip install --ignore-installed --upgrade tensorflow
python
import tensorflow as tf
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Traceback (most recent call last):
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_init_.py", line 101, in
from tensorflow_core import *
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core_init_.py", line 40, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_init.py", line 50, in getattr
module = self.load()
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_init.py", line 44, in _load
module = importlib.import_module(self.name)
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\importlib_init.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python_init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\Asus Pc\AppData\Local\conda\conda\envs\tensorflow_cpu\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors

Please try to install the correct VisualC++ Redist. - see https://github.com/tensorflow/tensorflow/issues/35036#issuecomment-565605748

Just to verify did you get chance to follow instructions from TensorFlow website .Please, let us know how it progress.
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Thanks!

Thanks Ravi, you are correct so i setup account on GCP to work on tensorflow
regards
Guru
On Mon, Jan 13, 2020 at 1:50 PM ravikyram<EMAIL_ADDRESS>wrote:

Just to verify did you get chance to follow instructions from TensorFlow
website https://www.tensorflow.org/install/source_windows.Please, let
us know how it progress.
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware
requirements
https://www.tensorflow.org/install/pip?lang=python3#hardware-requirements
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/35773?email_source=notifications&email_token=AOH6V6O5E3WU6JUAAZL7PNLQ5QP3FA5CNFSM4KFRVJG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIX3PQQ#issuecomment-573552578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOH6V6NATUIRMHXQZS3TZS3Q5QP3FANCNFSM4KFRVJGQ
.

@igururaman
Thanks Guru for the prompt response. Can we close this thread if it solves your question. Thanks!

Yes please
Regards.
Guru
On Mon, Jan 13, 2020, 17:10 ravikyram<EMAIL_ADDRESS>wrote:

@igururaman https://github.com/igururaman
Thanks Guru for the prompt response. Can we close this thread if it solves
your question. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/35773?email_source=notifications&email_token=AOH6V6IS7CKLQAKHZBS23PLQ5RHJPA5CNFSM4KFRVJG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIYMY2Q#issuecomment-573623402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOH6V6KW3ZALDNMCL7CDBPLQ5RHJPANCNFSM4KFRVJGQ
.

Closing per request


Fix Dashboard CAN Sender regular expression string

Description
Prevent back slack in regex be parsed as escape sequence

I changed X and Y to accomplish Z.

This PR closes #XXX.
Developer Testing

Here's what I did to test my changes:

Ran A
Ran B
Ran C

Reviewer Testing

Here's what you should do to quickly validate my changes:

Run D and check output

This change is

@patrick-gu @zangjiucheng Have both of you also tested this PR?


bug: ping syntax leaks into messages

@Skrownerve mentioned in https://github.com/chrisrude/oobabot/issues/1

Pings are written in the context as <@#####> and I think this contaminates the context a bit. I started seeing < stuff like this > appearing in responses after a few pings. Would it be possible to replace pings in the context with something like @ User or something configurable?

This is fixed in https://github.com/chrisrude/oobabot/commit/ac226cc5999f7a2f2e0a90734d05168d9a413657
@Skrownerve feel free to test the fix if you feel like / can to build from source, otherwise it will be included in the next release (0.1.8).  Thanks for the suggestion!


Separate phonological from orthographical rules

Three layers:

Basic syllable structure (initial medial coda) for Sinitic languages
Sets of actual initials/medials/codas for a given language, dialect, or accent
Orthography - how the terminals are actually written in a given transcription system

By separating the logic, we can do the following:

Extend parsetc to other Sinitic languages
Add logic to handle mergers (e.g. final stop -t into -k)
Convert between different accents, in addition to converting between transcription systems

Implemented in v0.4.0:

Subpackages for each language
Separate lark rules for grammar from lookup tables for terminals in JSON files
Use %extend directives to modify common grammar for individual romanization schemes
Parser and translator in separate modules within each subpackage

Potential future enhancements:
Intermediate translator to convert each parse tree to a common abstract parse tree structure, to deal with the many-to-many conversion issue.
Ideal:
Input text --> scheme-specific parse tree --> common parse tree --> scheme-specific translator --> output
Could we automatically generate parser and translator code from the parser grammar rules (!!)?
Currently, input text is directly parsed to common parse tree with hacky preprocessing steps.  Translation rules are implicit in the translator code, but would be helpful to have some abstract representation that is more quickly comprehensible and be more easily configured by users.


Modify view lifecycle methods so that view gets disposed

Some references by delegates and event handlers prevented child views of SGTabbedPager
from getting collected by GC due to cyclical references. These
references are removed now when view disappears and set when the view
appears.

Can you please merge master into your branch? I want to see if that has fixed the build issue.

Merge done. Sorry for the late response.


Bump spring version

Bump spring version in response to CVE-2020-5421

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Debug CI

Problem was the implementation was using environment variables which were not present after the app compiled.
A fix was provided in autoclap to use a macro instead of a function.


[FEATURE] lilToonの距離フェード共通化機能もあっていいかも

純粋にほしい

I really want this. It would be great if I could set the Distance Fade property of all materials, especially if it had the option to only be adjusted without generating animation. This will be very useful and save a lot of time!
Considering #185, maybe have separate options for various module, allowing adjustment through the menu or overwriting the original settings without generating the menu, which would be more modular.


TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined

I am trying to create remote agent using DAF7 BETA by using daf-express and daf-agent-setup
I am using JS instead of TS
But unfortunately i am getting this error

TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined

Here is the Screenshot of my daf-agent and daf-express

and here is the complete console.log

/home/ameer/hamza/git/daf7-remote-agent/node_modules/daf-rest/build/client.js:105
finally { if (e_1) throw e_1.error; }
^
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
at __values (/home/ameer/hamza/git/daf7-remote-agent/node_modules/daf-rest/build/client.js:50:72)
at new AgentRestClient (/home/ameer/hamza/git/daf7-remote-agent/node_modules/daf-rest/build/client.js:95:27)
at Object. (/home/ameer/hamza/git/daf7-remote-agent/agent.js:10:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)

Please lemme know what i am doing wrong here and how to fix this,
Thanks

daf remote agent  needs supportedMethods array, that some how not working for me by using
import { AgentRestClient, supportedMethods } from 'daf-rest'
so i figure out this by declaring  supportedMethods array custom
const supportedMethods = [   'identityManagerImportIdentity' ];


Version of sklearn and Question Regarding mlm

❓ Questions & Help
I would like to know your version of sklearn to run regression.py.
Besides, I run the mlm code and don't understand why a '-' to the summation of log-likelihood is added. How do I evaluate the performance based on mlm. Does a larger mlm score indicate better performance?

I would also like to know the version of sklearn, as I am having problems with running regression.py:
ModuleNotFoundError: No module named 'sklearn.linear_model.base'
It seems like the method is deprecated in the newest versions of sklearn.


Authentication

Hello,
Can you please how to authenticate the Wyze bulb without using the Wyze App?I have developed my custom Mobile Application to Control the smart devices.

You can just use this library to authenticate and get a token


Scaleset resize request not applied

Information

Onefuzz version: 2.18
OS: Windows latest

Provide detailed reproduction steps (if any)

Update scaleset size
Observe state change to resizing and new size being applied

For example see scaleset 1339d1c1-5d28-4481-8de0-d25eaec5a188 on prod01 instance.
Expected result
Scaleset to get additional hosts or the update request to fail. Suspect there may be a resource limit being hit as this doesn't always occur, but it's not obvious what. Checked logs and appears to be continually attempting to resize.
Actual result
Scaleset never gets additional hosts

This appears to have been due to hitting a core quota limit. Once that was increased the resize was applied successfully without any additional user interaction.

As we discussed offline, we're hitting an unhandled exception at the python SDK layer, which is why it was hard for you to debug it.
We need to address the exception to make it easier to debug these moving forwards.


[fix #419] display error to user when access to an opds feed

Hello @danielweck and @llemeurfr,
Can you tell me what do you think
When an error has occurred, I print to user a title and an error message into BrowserResult
I will add a fix when the user add a new opds feed url : to check before push in db if the feed is good and works (replaced opds:// by http:// also (attramenta)). This fix disallow in most case the bad content-type error message
fix #419
fix #418

With this branch panac/fix/display-http-opds-error-to-user, I am getting an infinite spinner when trying to access https://www.feedbooks.com/catalog.xml (the correct URL is https://www.feedbooks.com/catalog.atom).

On the plus side, there is a message in the console:
readium-desktop:main#redux/sagas/api Error: HTTP response status code: https://www.feedbooks.com/catalog.xml => 406 => " "
[2]   readium-desktop:main#redux/sagas/api     at Object.<anonymous> (/Volumes/500GB/Code/readium-desktop/dist/main.js:1406:19)
[2]   readium-desktop:main#redux/sagas/api     at Generator.next (<anonymous>)
[2]   readium-desktop:main#redux/sagas/api     at fulfilled (/Volumes/500GB/Code/readium-desktop/node_modules/tslib/tslib.js:107:62)
[2]   readium-desktop:main#redux/sagas/api     at process._tickCallback (internal/process/next_tick.js:68:7) +0ms

By the way, I think this PR will fix both:

https://github.com/readium/readium-desktop/issues/418
https://github.com/readium/readium-desktop/issues/419
Right?

Let me know when this PR is not a WIP anymore, and I will merge. Thanks!

Sorry i haven't surrounded [WIP], so I did not see it

Tested OPDS feed access when offline (https://www.feedbooks.com/catalog.atom):

Tested OPDS feed access when offline (https://www.feedbooks.com/catalog.atom):

it's the expected behaviour
We can handle this error particularly

I am getting an infinite spinner when using a bogus URL like https://www.feedbookzzz.com/catalog.atom

https://www.feedbooks.com/catalogzz.atom =>

https://www.feedbooks.com/catalog.atomzz =>

https://www.feedbookzzz.com/catalog.atom

the timeout is 10 seconds

all of this is expecting behaviour

http://www.feedbooks.com/publicdomain =>

The bogus URL (non-existing domain) took an eternity to "respond" (seems more than 10s), but it finally arrived :)
https://www.feedbookzzz.com/catalog.atom =>

https://www.feedbookzzz.com/catalog.atom

Regarding https://www.feedbookzzz.com/catalog.atom, my internet provider / gateway handles domain names differently, thus the timeout.

Well-spotted! ( https://github.com/readium/readium-desktop/pull/542/commits/e59954bc70b2c508453ec3f880683b79f43e54a1 )
I was confused by this commit:
https://github.com/readium/readium-desktop/pull/639/commits/bbcd212c89016b8ef2c5b8b30a3baaec61a2cc65
...from this PR:
https://github.com/readium/readium-desktop/pull/639/commits
! :)


Serving static assets?

Is there a way i can serve static assets easily maybe like using merry/static. And does this also support choo server side rendering?

I want to make both of these part of bankai, and keep them separate from
merry but completely intereroperable as they're streams based (:
On Sat, Nov 12, 2016 at 4:16 PM pyros2097<EMAIL_ADDRESS>wrote:

Is there a way i can serve static assets easily maybe like using
merry/static. And does this also support choo server side rendering?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/merry/issues/15, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleoOngQOfkPOShpZh6xRhE7_a7BQ1ks5q9WfPgaJpZM4KwWkw
.

closing for now :sparkles:


Add resolver blueprint

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request

Desired functionality

Would like to have a blueprint for resolvers, they are commonly used for getting data when going to a route.
ng g resolver config -> config.resolver.ts
Mention any other details that might be useful.

For more info on the use case, check this out: https://blog.thoughtram.io/angular/2016/10/10/resolving-route-data-in-angular-2.html

Closing every Blueprints related issue and PR.

What's the reason this was closed? Would love to see ng g r

Is ng generate resolver   feature added?

:(

:(

:(

whyyyyy nooottt?

Wow.

:(

#ShamelessBump

:( * 100

Closing every Blueprints related issue and PR.

Oh - thanks.

:(

Why is this issue closed?


gaps form when viewing multivec files

Commit:
Steps to reproduce

zoom in and out of a multivec file. In particular, using a test multivec where each chromosome just has one state and the whole genome is covered.

http://<IP_ADDRESS>:8170/app/?config=N_6g3tnfRUOy_9QzQaDwDw
(note that we might not maintain this server or link indefinitely.)
Observed behavior

some times gaps open up.

Expected behavior

there should be no gaps.

It seems this was an issue with an older version of higlass-server (at least it was not related to clodius or the viewer). I have deployed a new version to the server above and can't see gaps anymore. Please check.


Fix run-on sentence about Options

Coverage remained the same at 100.0% when pulling 67bd9407536b117f05e837ee4a32b35c89574829 on dandv:patch-1 into b2e6cca648bb5da176b6f4ab39dca6a33e992567 on bitinn:master.

Thanks!


Need reset method for metadata realm/global state for testing

It isn't currently possible to easily test this functionality in the JS binding.

Should go in SyncManager::reset_for_testing(). Note that some metadata is already being reset in there (e.g. users). Could you be more explicit about what else you'd like to see reset?

That seems to be what I should be calling but I get a segfault when calling it.

Perhaps you could take a look at the existing usage in the object store tests to find out if you're using it differently?

tests/sync/session.cpp
tests/sync/user.cpp
tests/sync/sync_manager.cpp

I can reproduce a segfault through the JS binding when running many unit tests that start and stop many sessions.
The crash only happens when the stop policy in js_sync.hpp is SyncSessionStopPolicy::AfterChangesUploaded. If I change it to SyncSessionStopPolicy::Immediately, everything goes well (but of course terminates sessions immediately without waiting for pending changes to be uploaded).
It seems that SyncManager::reset_for_testing() must be extended to wait for all threads that are currently blocking on wait_for_upload_complete_or_client_stopped() to return. This way may have to happen in SyncClient::~SyncClient() between calling sync::Client::stop() and deleting the sync::Client object.

One thing that stands out is the sync transaction callback that SyncSession registers doesn't respect the warning found in the documentation for sync::Session::set_sync_transact_callback:

CAUTION: The specified callback function may be called before the call
to bind() returns, and it may be called (or continue to execute) after
the session object is destroyed. The application must pass a handler
that can be safely called, and can safely continue to execute from the
point in time where bind() starts executing, and up until the point in
time where the last invocation of clint.run() returns. Here, client
refers to the associated Client object.

The body of this callback is a frequent crash site when reproducing the crash per @simonask's instructions, with it being called after the SyncSession has been deallocated.

AFAICT the current implementation of SyncManager::reset_for_testing() only clears the Map holding the users... Is it possible to delete the metadata Realm created to store the users as well?
I started the migration of the SyncUser for Java using the OS Users & this is blocking my tests

Yes, that's what this issue tracks.

Does this still need to be done? @alazier

dont think so?

@austinzheng we still need this feature (deleting the metadata table) in Java (for unit test the SecureUserStore)


Schema update

Changes introduced with this PR
The output schema has been updated to be more locked in versus the current broad AnyType. The total output has also been flattened down to PCP's @interval list output.

By contributing to this repository, I agree to the contribution guidelines.

The current CI failure is that it just took too long. Once my PR is merged in carpenter, it should not fail unless it takes more than 10 minutes to build.


Workflow on polyfill

Hi @mehulparsana ,
Apologies as this was likely discussed during previous PARAKEET call, but I couldn't attend, so I wanted to clarify what is the expected behavior for ongoing test with polyfill.
Is the polyfill workflow already including the parakeet service, or is the polyfill js script emulating the parakeet service client and making direct call to the ad-network?
Looking at the code in Parakeet.Polyfill.ts
It seems the createAdRequest  makes a direct call form the page to "https://edge.microsoft.com/.well-known/ad-bundles" url. According to the parakeet spec, it seems that the ".well-known/ad-bundles" endpoint is the ad-network endpoint that parakeet service would call. So my understanding is that in the polyfill test phase, there is no actual parakeet service needed, this is all emulated by the polyfill.
Correct?
Does it also means that any SSP that would like to test should update his own version of parakeet.polyfill.ts to use his own endpoint (rather than microsoft's one) ?
Thank you for your help clarifying above points.

@jdelhommeau  the edge.microsoft.com endpoint is the evaluation version of the PARAKEET service and should remain intact. The SSP endpoint should be specified as the proxiedAnonymizingOrigin in the adRequestConfig. The service will ensure the SSP's .well-known/ad-bundles endpoint is in turn called as appropriate.

Thank you @Brandr0id , that makes sense. The confusion I had came from the fact that the edge.microsoft.com endpoint was using the same url schema (/.well-known/ad-bundles) as the one SSPs should implement to be called by parakeet service.
To make sure I now have this right: Microsoft is hosting his own version of an initial parakeet server, which will be called by the polyfill script with provided adConfig. AdConfig will contain the final SSP to be called by microsoft hosted parakeet server.
Correct?
Does it mean Microsoft will proxy 100% of the ad call during that test phase? Or will others be able to build their own version of a parakeet server and have polyfill use it?

@jdelhommeau: Yes, Microsoft is hosting the PARAKEET server for this test phase. The ad config you pass will contain the endpoint for the PARAKEET server to relay requests to.
Longer term, we're still evaluating if there are reasonable options to have someone other than the browser vendor run a PARAKEET-like service. We are investing significant engineering resources into the service we're standing up, the functionality and proposals will continue to evolve, and there are many outstanding governance questions. So, for the foreseeable future you should assume Microsoft will be providing the proxying service (for the polyfill implementation and when the functionality is natively available in Microsoft Edge).

thank you @erik-anderson , that makes perfect sense.


_isolve tacitly checks for symmetric linear operator wrongly

Description
Instead of taking an explicit symmetric argument, which could be passed from user, or some auxillary information to determine the dtype of linear operator the RHS's dtype is used as a proxy for the dtype of the linear operator when check_symmetric=True. However, it is entirely possible that implicit up-casting is expected by user, such that linear operator is real, but RHS is complex, or that linear operator is symmetric but complex, in both cases matvec == vecmat for positive definite linear operators. This could be a problem for some users of  jsp.solve_cg.
# real-valued positive-definite linear operators are symmetric
  def real_valued(x):
    return not issubclass(x.dtype.type, np.complexfloating)
  symmetric = all(map(real_valued, tree_leaves(b))) \
    if check_symmetric else False
  x = lax.custom_linear_solve(
      A, b, solve=isolve_solve, transpose_solve=isolve_solve,
      symmetric=symmetric)

System info (python version, jaxlib version, accelerator, etc.)
jax==0.4.31
jaxlib==0.4.31

Thanks for the report! So the tricky thing here is that jax.scipy.sparse.linalg.cg implements the API of scipy.sparse.linalg.cg, which has no explicit symmetric flag. We could probably add an optional symmetric argument to JAX's version that lets the user override the default. What do you think?

That sounds like a good solution.

It this a change you're interested in contributing?

@jakevdp I submitted #23486


Fix the github actions failure.

ruby 2.7 -> 3.3 in pages-deploy.yml

Seems like jekyll-theme-chirpy.scss is not being processed with the template engine


Inconsistent Planet Icon

Factorio & Maraxsis version number
Factorio v2.0.23, Maraxsis v1.22.0
Describe the bug
Maraxsis.png in /graphics/planet does not match maraxsis-hd.png or maraxsis-starmap-icon.png
The discrepancy is also noticeable in-game.
To Reproduce
Steps to reproduce the behavior:

Look at the planet icon in the Factoripedia
Compare it to the starmap planet icon
The hd icon might not even be in use?

Expected behavior
The planet icons should probably be consistent with each other?
Screenshots

Also, the HD planet is active when the HD planets mod is installed.

I never noticed that... now I just have more questions than answers... Has nobody else noticed this? I know it's such a minor issue, but I can't imagine why they would be different, like how does this even happen...


Update deployment job simple abstract

Update the simple example of the deployment job task with some important informations.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: HappyTobi sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Deployment job documentation is being addressed in another PR by one of our documentation writers. Closing this PR as a result.
The changes in this PR related to PublishCodeCoverageResults are unrelated to this PR. Would suggest opening a separate PR for the same and assigning the test task documentation owners as PR reviewers


Custom mutation is not generating models on iOS

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v15.5.1
Amplify CLI Version
6.3.0
What operating system are you using?
Mac
Amplify Categories
auth, api
Amplify Commands
codegen
Describe the bug
When adding a custom mutation the amplify cli for iOS does not generate models for them.
Expected behavior
I was expecting that models for all operations would be created automatically. The folder only contains models for model.
Reproduction steps

Add a custom mutation
Apply the resolvers
Update the CustomResources.json
Push

GraphQL schema(s)

type Mutation {
   batchCreateEvents(events: [CreateEventInput]): [Event]
}

type Event
  @model
  @auth(rules: [{ allow: owner, ownerField: "owner" }]) {
  id: ID!
  owner: String
}

Log output

# Put your logs below this line

Additional information
No response

What is the workaround for this?


release binary does not work on debian buster

i get the following error:

./neovide
./neovide: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./neovide)

could you try installing glibc using the package manager?

According to this: https://packages.debian.org/source/buster/glibc, debian buster uses glibc (2.28-10) which is older I guess.

I think this has been fixed in main. Please reopen if you continue to see this issue.


request opts

this aims to make it possible to add modifiers to requests like context.Context, X-Audit-Log-Reason and possible other stuff in the future
Additionally usecases:

Checks
Request delay

this should be ready to review @Skye-31
just ignore missing docs ty :D

Left some questions


Where was the implementation of tuning_mode?

In train.py the argument
parser.add_argument('--tuning-mode', default=None, type=str,
                    help='Method of fine-tuning (default: None')

is later passed to create_model method
model = create_model(
        args.model,
        pretrained=args.pretrained,
        num_classes=args.num_classes,
        drop_rate=args.drop,
        drop_connect_rate=args.drop_connect,  # DEPRECATED, use drop_path
        drop_path_rate=args.drop_path,
        drop_block_rate=args.drop_block,
        global_pool=args.gp,
        bn_momentum=args.bn_momentum,
        bn_eps=args.bn_eps,
        scriptable=args.torchscript,
        checkpoint_path=args.initial_checkpoint,
        tuning_mode=args.tuning_mode)

and else where I cannot see the usage of this variable args.tuning_mode.
However, create_model is from timm
from timm.models import create_model, safe_model_name, resume_checkpoint, load_checkpoint,\
    convert_splitbn_model, model_parameters

Did you implement SSF's logics in timm lib?

Now I got some idea, SSF's logics are in model folder, and timm will pass additional args into the model init method. But I am still confused why timm would call the manually written model code instead of the timm's model code.

I had the same question. I believe that it is because
@register_model decorator in models/vision_transformer.py. Refer to https://blog.csdn.net/weixin_47994925/article/details/129745845.


Fix this quick start as it currently reports deployment error due to latest updates in SolaceProducts/solace-kubernetes-quickstart project

The issues were in the 'solace-kubernetes-quickstart' project. It has been fixed by PR https://github.com/SolaceProducts/solace-kubernetes-quickstart/pull/25
This can be closed now.


chore: replacing console with diag

no-console": "error" to our eslint config

https://github.com/open-telemetry/opentelemetry-js/issues/2007


Set-BcContainerFeatureKeys is not working

Describe the issue
Set-BcContainerFeatureKeys is not enabling feature keys because it tries to update record in Tenant Feature Key table but record is missing initially and only created when you enable feature manually via UI.
Scripts used to create container and cause the issue
Option one. Using featureKeys parameter
New-BcContainer -accept_eula -artifactUrl (Get-BCArtifactUrl -type OnPrem -country w1 -version 24.3) -memoryLimit 16G -includeAL -containerName KZW1 -auth Windows -includeTestToolkit -includeTestLibrariesOnly -shortcuts None `
-featureKeys @{"ExtensibleExchangeRateAdjustment" = "All Users"; "ExtensibleInvoicePostingEngine" = "All Users"}

Option two. Using Set-BcContainerFeatureKeys cmdlet
New-BcContainer -accept_eula -artifactUrl (Get-BCArtifactUrl -type OnPrem -country w1 -version 24.3) -memoryLimit 16G -includeAL -containerName KZW1 -auth Windows -includeTestToolkit -includeTestLibrariesOnly -shortcuts None
Set-BcContainerFeatureKeys -containerName KZW1 -featureKeys @{"ExtensibleInvoicePostingEngine"="1"}

Full output of scripts
Setting feature keys on database: CRONUS
Setting feature key ExtensibleInvoicePostingEngine to 1 -  Failure
WARNING: Unable to set feature key ExtensibleInvoicePostingEngine

Screenshots

Here is the Feature Management list. Feature (1) I've just enabled, feature (2) is not enabled but present in the list.

Here is the content of Tenant Feature Key table in the database. Feature (1) is present and enabled. Feature (2) is not present.

Additional context
BCContainerHelper version 6.0.19

So, you are saying that if you run the Set-BcContainerFeatureKeys after you went into the UI - then the key is there and it works?

No. Set-BcContainerFeatureKeys won't work at all. It tries to update record in the table, but record is not present there initially. It will be created only when you toggle feature through UI.

In case someone is looking for workaround. For now I'm just enabling required features through the installer codeunit of my test app.
codeunit 50000 Installer
{
    Subtype = Install;

    trigger OnInstallAppPerDatabase();
    begin
        EnableFeatureKeys();
    end;

    local procedure EnableFeatureKeys()
    var
        ExtensibleExchangeRateAdjustmentLbl: Label 'ExtensibleExchangeRateAdjustment', Locked = true;
        ExtensibleInvoicePostingEngineLbl: Label 'ExtensibleInvoicePostingEngine', Locked = true;
    begin
        EnableFeatureKey(ExtensibleExchangeRateAdjustmentLbl);
        EnableFeatureKey(ExtensibleInvoicePostingEngineLbl);
    end;

    local procedure EnableFeatureKey(FeatureKeyName: Text)
    var
        FeatureKey: Record "Feature Key";
        FeatureManagementFacade: Codeunit "Feature Management Facade";
    begin
        if FeatureKey.Get(FeatureKeyName) then
            if FeatureKey.Enabled = FeatureKey.Enabled::None then begin
                FeatureKey.Enabled := FeatureKey.Enabled::"All Users";
                FeatureKey.Modify();
                FeatureManagementFacade.AfterValidateEnabled(FeatureKey);
            end;
    end;

}

Hi, missing record creation is solved (https://github.com/microsoft/navcontainerhelper/pull/3658).
The problem is that content of "virtual" table behind page "Feature Management" is updated dynamically from two tables during page opening:

"Tenant Feature Key" - general enablement of feature
"Feature Data Update Status$63ca2fa4-4f03-4f2b-a480-172fef340d3f" - enabling for particular Company
So, each feature (and related AL code) is activated in particular company just solely in case that both records are set properly.

(second table will be updated after https://github.com/microsoft/navcontainerhelper/pull/3696 is confirmed)

@KM-JAD added a few comments to your PR - will review again once fixed


python/its-vehicle: new client

Changes:

its-vehicle: new client

How to test:

Pre-requisites:

configure a local MQTT broker for local connections, listening both on a TCP port (e.g. 1883) and on a UNIX socket (e.g. /run/mosquitto/mqtt.socket):per_listener_settings true
listener 0 /run/mosquitto/mqtt.socket
allow_anonymous true
listener 1883 <IP_ADDRESS>
allow_anonymous true

Be sure the socket is accessible (R/W) by your user (e.g. with the MQTT client, below)
start a MQTT client to dump messages from the local and remote MQTT brokers (each in their own terminal):$ mosquitto_sub --unix /run/mosquitto/mqtt.socket -t '#' -F '%t: %p'
$ mosquitto_sub -h HOST -p PORT -u USER -P PASS -t 'PROJECT/+/SUFFIX/#' -F '%t: %p'

install a tweaked version of paho-socket$ git clone https://github.com/mgetka/paho-socket
$ cd paho-socket
$ patch -p1 <<-_EOF_
diff --git a/requirements.txt b/requirements.txt
index ebd4492..8579e8b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-paho-mqtt==1.5.1
+paho-mqtt
_EOF_
$ pip3 install paho-mqtt==1.6.1 .

start gpsd using fake data; use the sample available on wikipedia, or generate a path e.g. with an online tool$ gpsfake -q -P 2948 -u -n -c 0.1 NMEA-sample.log

Build and install its-quadkeys and its-vehicle:$ pip3 install python/its-{quadkeys,vehicle}

Note the installation path (e.g. /home/login/.local/bin).
Create a simple configuration file its-vehicle.cfg (set the proper
project and suffix):[general]
instance-id = test-me
type = CAM
report-freq = 0.5
topic-pub-prefix = PROJECT/inQueue/SUFFIX/
topic-sub-prefix = PROJECT/outQueue/SUFFIX/
depth = 22
messages = cam cpm denm
depth-sub-cam = 18
depth-sub-cpm = 18
depth-sub-denm = 15
# aproximately: 30km/h 70km/h 100km/h
speed-thresholds = 8.33 19.44 27.78

[broker.main]
socket-path = /run/mosquitto/mqtt.socket

[tracking]
id-length = 16

[gpsd]
port = 2948
persistence = 10.0

Start its-vehicle:$ /home/login/.local/bin/its-vehicle -c its-vehicle.cfg -d

Check robustness of connection to gpsd:

stop the fake gpsd (pres Ctrl-C)
wait for up to gpsd.persistence
restart the fake gpsd

Check robustness of MQTT connection:

stop the MQTT broker
wait a bit
restart the MQTT broker (check the MQTT unix socket is still accessible by your user!)

Stop its-vehicle, by pressing Ctrl-C
Update the configuration file to connect to a remote broker (with a running IQM) and mirror to the local one (set host, port, credentials, project, and suffix):[general]
instance-id = test-me
type = CAM
report-freq = 1.0
mirror-self = False
topic-pub-prefix = PROJECT/inQueue/SUFFIX/
topic-sub-prefix = PROJECT/outQueue/SUFFIX/
depth = 22
messages = cam cpm denm
depth-sub-cam = 18
depth-sub-cpm = 18
depth-sub-denm = 15
# aproximately: 30km/h 70km/h 100km/h
speed-thresholds = 8.33 19.44 27.78

[broker.main]
host = HOST
port = PORT
username = USER
password = PASS

[broker.mirror]
socket-path = /run/mosquitto/mqtt.socket

[tracking]
id-length = 16

[gpsd]
port = 2948
persistence = 10.0

Start its-vehicle:$ /home/login/.local/bin/its-vehicle -c its-vehicle.cfg -d

check the messages reported by the local MQTT clients
send a message to the remote broker on a topic compatible with the current subscriptions of its-vehicle:$ mosquitto_pub -h HOST -p PORT -u USER -P PASS \
    -t 'PROJECT/outQueue/SUFFIX/x/x/x/x/x' \
    -m '{"source_uuid": "something", "where": "here and there"}'

stop its-vehicle, update the configuration for self mirroring, and restart its-vehicle (below, the fields to update in the existing configration file):

no self-mirroring, remote broker unreachable:[general]
mirror-self = False
[broker.main]
port = WRONG_PORT

self-mirroring, remote broker reachable:[general]
mirror-self = True
[broker.main]
port = GOOD_PORT

self-mirroring, remote broker unreachable:[general]
mirror-self = True
[broker.main]
port = WRONG_PORT

Terminate its-vehicle with the TERM signal$ killall -TERM its-vehicle

Expected results:

Pre-requisites are installed:

the MQTT broker is running and listens on TCP and UNIX socket;
the MQTT client is running;
the patched paho-socket, and paho-mqtt, are isntalled;
the fake gpsd is running.

its-quadkeys and its-vehicle are installed
Configuration file has been created
its-vehicle is running:

the MQTT client to the remote broker reports nothing;
the MQTT client to the local broker is reporting CAM messages at 0.5Hz, on inQueue;
the CAM messages are valid: check the spec, check the values, esp. generation_delta_time:{
  "type": "cam",
  "origin": "self",
  "version": "1.1.3",
  "source_uuid": "test-me",
  "timestamp":<PHONE_NUMBER>393,
  "message": {
    "protocol_version": 1,
    "station_id": 7603010,
    "generation_delta_time": 56031,
    "basic_container": {
      "station_type": 5,
      "reference_position": {
        "latitude": 436259333,
        "longitude": 14851333,
        "altitude": 0
      },
      "confidence": {
        "position_confidence_ellipse": {
          "semi_major_confidence": 10,
          "semi_minor_confidence": 50,
          "semi_major_orientation": 1
        },
        "altitude": 1
      }
    },
    "high_frequency_container": {
      "heading": 2289,
      "speed": 998,
      "longitudinal_acceleration": 161,
      "drive_direction": 0,
      "vehicle_length": 40,
      "vehicle_width": 20,
      "confidence": {
        "heading": 2,
        "speed": 3,
        "vehicle_length": 0
      }
    }
  }
}

the MQTT subscriptions change based on the location (as seen in the debug logs):2024-04-16 11:10:01,144 gpsd: gpsd GNSS client data available: GNSSReport(timestamp=1713258601.1440184, time=1713251006.229, longitude=1.489266667, latitude=43.626433333, altitude=0.0, speed=9.98, acceleration=None, track=317.2, major=None, minor=None, orient=None, true_heading=None, magnetic_heading=None)
2024-04-16 11:10:01,161 mqtt: unsubscribing MQTT client /run/mosquitto/mqtt.socket from {'5GCroCo/outQueue/v2x/cpm/+/1/2/0/2/2/2/0/3/0/2/2/2/1/3/1/3/0/#', '5GCroCo/outQueue/v2x/cam/+/1/2/0/2/2/2/0/3/0/2/2/2/1/3/1/2/1/#', '5GCroCo/outQueue/v2x/cpm/+/1/2/0/2/2/2/0/3/0/2/2/2/1/3/1/2/1/#', '5GCroCo/outQueue/v2x/cpm/+/1/2/0/2/2/2/0/3/0/2/2/2/1/3/1/3/1/#', '5GCroCo/outQueue/v2x/cam/+/1/2/0/2/2/2/0/3/0/2/2/2/1/3/1/3/0/#', '5GCroCo/outQueue/v2x/cam/+/1/2/0/2/2/2/0/3/0/2/2/2/1/3/1/3/1/#'}
2024-04-16 11:10:01,161 mqtt: subscribing MQTT client /run/mosquitto/mqtt.socket to {'5GCroCo/outQueue/v2x/cpm/+/1/2/0/2/2/2/0/3/0/2/2/2/1/1/3/3/3/#', '5GCroCo/outQueue/v2x/cpm/+/1/2/0/2/2/2/0/3/0/2/2/2/1/1/3/2/3/#', '5GCroCo/outQueue/v2x/cam/+/1/2/0/2/2/2/0/3/0/2/2/2/1/1/3/2/3/#', '5GCroCo/outQueue/v2x/cam/+/1/2/0/2/2/2/0/3/0/2/2/2/1/1/3/3/2/#', '5GCroCo/outQueue/v2x/cam/+/1/2/0/2/2/2/0/3/0/2/2/2/1/1/3/3/3/#', '5GCroCo/outQueue/v2x/cpm/+/1/2/0/2/2/2/0/3/0/2/2/2/1/1/3/3/2/#'}

Note: subscriptions change based omn the location, so be sure to use an NMEA sample that "travels" fast enough...

its-vehicle is resilient to a disapearing gpsd:

its-vehicle does not crash, but reports connection issues:2024-04-17 10:28:05,818 gpsd: gpsd is talking
2024-04-17 10:28:05,818 gpsd: connection error: ConnectionResetError('short read')
2024-04-17 10:28:05,818 gpsd: disconnecting
2024-04-17 10:28:05,818 gpsd: closing sock_fd
2024-04-17 10:28:05,818 gpsd: closing sock
2024-04-17 10:28:05,818 gpsd: disconnected
2024-04-17 10:28:05,818 gpsd: connecting to <IP_ADDRESS>:2948
2024-04-17 10:28:05,818 gpsd: starting WATCH mode
2024-04-17 10:28:05,818 gpsd: connected and listening
2024-04-17 10:28:05,818 gpsd: gpsd is talking
2024-04-17 10:28:05,818 gpsd: connection error: ConnectionResetError(104, 'Connection reset by peer')
2024-04-17 10:28:05,818 gpsd: disconnecting
2024-04-17 10:28:05,818 gpsd: closing sock_fd
2024-04-17 10:28:05,818 gpsd: closing sock
2024-04-17 10:28:05,818 gpsd: disconnected
2024-04-17 10:28:05,818 gpsd: connecting to <IP_ADDRESS>:2948
2024-04-17 10:28:05,819 gpsd: connection failed: ConnectionRefusedError(111, 'Connection refused')
2024-04-17 10:28:05,819 gpsd: disconnecting
2024-04-17 10:28:05,819 gpsd: closing sock
2024-04-17 10:28:05,819 gpsd: disconnected

Notice that its-vehicle then retires connections every second-or-so:2024-04-17 10:28:06,820 gpsd: connecting to <IP_ADDRESS>:2948
2024-04-17 10:28:06,820 gpsd: connection failed: ConnectionRefusedError(111, 'Connection refused')
2024-04-17 10:28:06,820 gpsd: disconnecting
2024-04-17 10:28:06,820 gpsd: closing sock
2024-04-17 10:28:06,820 gpsd: disconnected
2024-04-17 10:28:07,821 gpsd: connecting to <IP_ADDRESS>:2948
2024-04-17 10:28:07,822 gpsd: connection failed: ConnectionRefusedError(111, 'Connection refused')
2024-04-17 10:28:07,822 gpsd: disconnecting
2024-04-17 10:28:07,822 gpsd: closing sock
2024-04-17 10:28:07,822 gpsd: disconnected

the CAM messages are still sent during the gpsd.persistence duration, and are no longer emitted afterwards;
its-vehicle reconnects successfully to gpsd, and starts emitting CAM messages again.

its-vehicle is resilient to a disapearing MQTT broker:

its-vehicle does not crash, and reports being disconnected from the MQTT broker:2024-04-17 10:35:39,377 mqtt: disconnected (socket) from /run/mosquitto/mqtt.socket
2024-04-17 10:35:39,377 mqtt: disconnected from /run/mosquitto/mqtt.socket

its-vehicle reports not sending message to disconnecte broker:2024-04-17 10:35:40,562 mqtt: not sending MQTT message to not connected client /run/mosquitto/mqtt.socket on ......

its-vehicle reconnects to the MQTT broker, re-establishes the list of subscriptions, and starts sending CAM messages again:2024-04-17 10:38:15,802 mqtt: connected to MQTT client /run/mosquitto/mqtt.socket
2024-04-17 10:38:15,802 mqtt: subscribing MQTT client /run/mosquitto/mqtt.socket to {......}
2024-04-17 10:38:17,474 mqtt: sending MQTT message to client /run/mosquitto/mqtt.socket on ......

its-vehicle stops cleanly:^C2024-04-17 11:10:01,606 main: Will stop...
2024-04-17 11:10:01,607 client: stopping ITS client
2024-04-17 11:10:01,607 client: stopped ITS client
2024-04-17 11:10:01,607 mqtt: stopping MQTT client /run/mosquitto/mqtt.socket
2024-04-17 11:10:01,607 mqtt: disconnected from /run/mosquitto/mqtt.socket
2024-04-17 11:10:01,607 mqtt: disconnected (socket) from /run/mosquitto/mqtt.socket
2024-04-17 11:10:01,607 gpsd: stopping gpsd GNSS client
2024-04-17 11:10:01,607 gpsd: event, maybe we need to stop?
2024-04-17 11:10:01,607 gpsd: disconnecting
2024-04-17 11:10:01,607 gpsd: closing sock_fd
2024-04-17 11:10:01,607 gpsd: closing sock
2024-04-17 11:10:01,607 gpsd: disconnected
2024-04-17 11:10:01,607 gpsd: stopped gpsd GNSS client

Configuration file has been updated
its-vehicle is running:

the MQTT client to the remote broker is reporting CAM messages at 0.5Hz, on all three queues (inQueue, outQueue, and interQueue); the MQTT client to the local broker is reporting CAM messages at 0.5Hz, on outQueue;
the message appears on both clients

Mirroring works as expected:

messages are still received on the client to the local broker
messages are received on both clients
messages are not received at all

Ok, test passed with succes with a relevant gps log (with old version and new version to check that the its-client no longer fails)

@tigroo I've (re)added you as a reviewer so that you can approve the PR if you
believe the live tests we did yesterday were satisfying for you. Thanks! :-)


Link to RTD docs from PyPI (and vice-versa)

I just noticed that there's no obvious link from the PyPI description to flit.rtfd.io (or vice-versa).
I'm happy to submit a PR to fix this if you care to tell me how you would like see this solved (text links? Badges?).

Thanks - how does that change look?

Only thing I would do is drop the /en/latest in the link in case someone is very motivated to translate the docs some day. 😄  Otherwise LGTM!

Heh, makes sense, though I'm not holding my breath.

😄 neither am I.


[1.4.0-M1] Runtime reference to undefined setting: bspInternalDependencyConfigurations

steps
Trying 1.4.0-M1 in my project yields the following error when starting sbt:
[error] Runtime reference to undefined setting:
[error]
[error]   coreControllers / It,test / bspInternalDependencyConfigurations from plannerservices / IntegrationTest / bspInternalDependencyConfigurations ((sbt.internal.server.BuildServerProtocol.configSettings) BuildServerProtocol.scala:139)
[error]
[error] Use 'last' for the full log.
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)

problem
I think the problem is because plannerservices dependsOn(coreControllers % "compile->compile;test->test;it->it,test")
expectation
sbt should start without errors as in 1.3.x
notes
If this error is not enough I might work and submit a smaller reproducer project

Thank you @jtjeferreira for reporting this issue. I'll have a look at it.

Hi @adpi2! I checked out e323f1f713251968b3d4ecda8a7f0ed52593713a, published locally and set my project to use 1.4.0-SNAPSHOT, and this error still happens... :thinking:

Thank you for trying @jtjeferreira!
I tried to reproduce with this sbt project but it works fine...  :thinking:
ThisBuild / scalaVersion     := "2.13.2"
ThisBuild / version          := "0.1.0-SNAPSHOT"
ThisBuild / organization     := "com.example"
ThisBuild / organizationName := "example"

lazy val core = (project in file("core"))
  .configs(IntegrationTest)
  .settings(
    Defaults.itSettings,
    name := "hello-core"
  )

lazy val root = (project in file("."))
  .configs(IntegrationTest)
  .settings(
    Defaults.itSettings,
    name := "hello"
  )
  .dependsOn(core % "compile->compile;test->test;it->it,test")

Maybe you have to remove the 1.4.0-SNAPSHOT that is cached by boot and then reboot your sbt shell to fetch the newer 1.4.0-SNAPSHOT from your local ivy:
rm -Rf ~/.sbt/boot/scala-2.12.11/org.scala-sbt/sbt/1.4.0-SNAPSHOT

If it does not solve the issue then can you provide a minimal sbt project that reproduce the error?
Thank you for your help!!

Hi @adpi2! I finally found the issue. The error that I was having after your fix was similar but a bit different:
inventoryNgCore / It  / bspInternalDependencyConfigurations from inventoryImporters / At / bspInternalDependencyConfigurations ((sbt.internal.server.BuildServerProtocol.configSettings) BuildServerProtocol.scala:123)

And it was happening because I have:
inventoryNgCore % "compile->compile;test->test;it->test,it ",

(notice the extra space before the closing quote)
As soon as I removed that space, it works. However since this was working with sbt 1.3.x I am not sure if it should be "fixed", WDYT?

This should be fixed by a simple ".trim" at the right place. So yeah sure we should fix it.


added i.ibb.co

i.ibb.co is the image domain for imgbb and ended up as a false positive on the threat domain list.

Thanks a lot.
Sorry for the delay in the answer, not a good period ^_^'''
Regards


Update mdbook version in CI

https://github.com/FuelLabs/sway/blob/c84790e126f24a3dc34ea11c924da0caef073899/.github/workflows/ci.yml#L134
https://github.com/FuelLabs/sway/blob/c84790e126f24a3dc34ea11c924da0caef073899/.github/workflows/gh-pages.yml#L42

current version is 0.4.25

current version is 0.4.25

Opening a PR for this today


Failing test

Here's a test that's currently failing:
    def test_get_all_tagged_releases():
        """Test that all tagged releases are returned."""
        url = "git+https://github.com/aiidalab/aiidalab-qe.git@*:v23.04.0^.."
        base_url, release_line = _split_release_line(url)

        with fetch_from_url(base_url) as repo_path:
            repo = GitRepo(os.fspath(repo_path))
            releases = [tag for tag, _ in _get_release_commits(repo, release_line)]

        print(len(releases), releases)
>       assert "v23.04.2" in releases
E       AssertionError: assert 'v23.04.2' in ['v23.04.0', 'v23.04.1', 'v23.10.0a0', 'v23.10.0a1', 'v23.10.0a2', 'v23.10.0b0', ...]

tests/test_registry.py:17: AssertionError

It is very strange since I can see the v23.04.2 on Github here: https://github.com/aiidalab/aiidalab-qe/releases/tag/v23.04.2
@unkcpz do you know what happened to this release?
The one thing I noticed that the commit corresponding to it is not on any branch on Github (which is perhaps why the test is failing). Was the original branch deleted by accident? https://github.com/aiidalab/aiidalab-qe/commit/f45af14167e561822cb3e39802bb2b478d3f45d2

No idea.. I need to take a close look. If I remember correctly, from v23.4.2 the releases are supposed to coming from support branch. And there was an issue in aiidalab/aiidalab that the version not able to picked from branch other than default branch, but that was fixed.
At that time, the steps on how to make the support release was not clear enough. The release management is now summarised in https://github.com/aiidalab/aiidalab-qe/wiki/Releases-management

I guess I delete the support branch by accident when prepared the support/23.10.x. I add the support/23.04.x back from v23.04.6, and the test should pass now (test test is failed for py38 but with another reason, I'll investigate in separately). So close this issue.

By the way, a good chance to pinning @AndresOrtegaGuerrero @mikibonacci @superstar54 to go to aiidalab-qe to check the branches with ongoing or staled PRs. And in the future, please try to open PR from your forked repo. I open a conversation on discourse https://aiida.discourse.group/t/clean-branches-of-qe-app/236, let's discuss there.


Fix the exec

TODO: more info
(created by lyxal here)

https://github.com/Vyxal/Vyxal/issues/358

https://github.com/Vyxal/Vyxal/blob/main/vyxal/main.py#L146


I have provided an initial effort estimate

Do you have any examples of what you're after please? Screenshots are great

But do remember that the UI side of a scheduler should be kept separate from the scheduling part.  Then if you want to change to a different UI ( eg D1 to D2 or to uibuilder) then you only have to re-do the UI part and not the scheduler part.

Do you have any examples of what you're after please? Screenshots are great

Thanks, linking to https://flows.nodered.org/node/node-red-contrib-ui-time-scheduler/in/590bc13ff3a5f005c7d2189bbb563976 as well so we have a reference for it.
It's very unlikely we'd add this as a core node, so would be looking for a community contribution (third party node) as it was with Dashboard 1.0