❗ esbuild v0.22.0 omits external packages from node bundles

With the release of esbuild v0.22.0, external node packages are by default NOT included in bundles anymore. This likely breaks most usage of esbuild with this package.
Update: v0.23.0 has been released to revert the change. We don't have a better solution for this yet, but in the meantime the recommendation is to not use v0.22.0.

Omit packages from bundles by default when targeting node (https://github.com/evanw/esbuild/issues/1874, https://github.com/evanw/esbuild/issues/2830, https://github.com/evanw/esbuild/issues/2846, https://github.com/evanw/esbuild/issues/2915, https://github.com/evanw/esbuild/issues/3145, https://github.com/evanw/esbuild/issues/3294, https://github.com/evanw/esbuild/issues/3323, https://github.com/evanw/esbuild/issues/3582, https://github.com/evanw/esbuild/issues/3809, https://github.com/evanw/esbuild/issues/3815)
This breaking change is an experiment. People are commonly confused when using esbuild to bundle code for node (i.e. for --platform=node) because some packages may not be intended for bundlers, and may use node-specific features that don't work with a bundler. Even though esbuild's "getting started" instructions say to use --packages=external to work around this problem, many people don't read the documentation and don't do this, and are then confused when it doesn't work. So arguably this is a bad default behavior for esbuild to have if people keep tripping over this.
With this release, esbuild will now omit packages from the bundle by default when the platform is node (i.e. the previous behavior of --packages=external is now the default in this case). Note that your dependencies must now be present on the file system when your bundle is run. If you don't want this behavior, you can do --packages=bundle to allow packages to be included in the bundle (i.e. the previous default behavior). Note that --packages=bundle doesn't mean all packages are bundled, just that packages are allowed to be bundled. You can still exclude individual packages from the bundle using --external: even when --packages=bundle is present.
The --packages= setting considers all import paths that "look like" package imports in the original source code to be package imports. Specifically import paths that don't start with a path segment of / or . or .. are considered to be package imports. The only two exceptions to this rule are subpath imports (which start with a # character) and TypeScript path remappings via paths and/or baseUrl in tsconfig.json (which are applied first).

Closing. If this changes again we will set the default to bundling in this package.


Fix visibility noncurrentmdl

Fixes issue #1487
Brief summary of changes
When object is selected from navigator, trace it back to owner model to affect visibility change rather than use the current model
Testing I've completed
tested scenario in issue and it was fixed.
CHANGELOG.md (choose one)
Will update after testing the artifact before merging

updated...

@AlbertoCasasOrtiz for your review or @carmichaelong to review/test.

Thanks @AlbertoCasasOrtiz 👍


Vickel: Watch bicyclebooth.com

Vickel requests the watch of the watch_keyword bicyclebooth\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

bicyclebooth\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


enhancement add debug conf and set broker.name.ttl = 0

Proposed changes
Add debug conf to analyze problem.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.57 seconds
stream load tsv:          542 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>8 Bytes


Add dawnlabs-alchemy 0.2.0

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

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

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Additionally, if adding a new cask:

[X] Named the cask according to the token reference.
[X] brew cask install {{cask_file}} worked successfully.
[X] brew cask uninstall {{cask_file}} worked successfully.
[X] Checked there are no open pull requests for the same cask.
[X] Checked the cask was not already refused in closed issues.
[X] Checked the cask is submitted to the correct repo.

I think this may need an uninstall quit:, the menubar app doesn't seem to have a quit.

You're right @commitay
Have added a TERM as a normal quit threw errors


Need more real examples with hooks side by side with class formed components [except: useState, useEffect, useReducer]

Good practical examples exists at hoo's F.A.Q.


Translations

Hello!
It would be great to add translations to other languages.
If you want (and if it's possible), I can help with Russian translation.
Thanks!

Hello,
i offer my help with italian language
thanks for your efforts

Thanks, we can definitely plan this for the initial Microsoft Store release.

Hey, I'd like to help with Spanish translation. So feel free to count with me :)

Wow, I will put it on my list to create a list of strings to be translated. I’ll keep you guys posted.

I'll help with Dutch translations once the translations list is available :)

@PoorPocketsMcNewHold We'll collaborate to the french translation 😉

The title of the issue is misspelled: Transaltions

@Margen67 Thanks

I can help setting up the Globalization and localization if needed and I can translate in french

@themoiFR Thank you for the offer, we are definitely planning on having this done before the launch of Files UWP. I am not sure we are ready for translations at the moment since a lot of strings are going to be changing as we get the app ready for production. I would say that we will be ready for this closer to March.

If anything, then I can help with the translation into Russian and Ukrainian.

I can help with the polish one

We are going to be starting work on this much-requested option in the next few days 🚀
Adding the strings should take about a week or two and after that, we will be ready for everyone to translate to whatever languages they want.
I will let everyone know when the strings are ready and I will provide steps so you can get started. I would appreciate if everyone who is still interested can let me know. I am looking forward to everyone's contributions 😊

I am still interested in translating from English to French and I am still waiting for the next release which is supposed to close so much issues and feature requests. xD

I can provide help with the German translation.

We are going to be starting work on this much-requested option in the next few days 🚀
Adding the strings should take about a week or two and after that, we will be ready for everyone to translate to whatever languages they want.
I will let everyone know when the strings are ready and I will provide steps so you can get started. I would appreciate if everyone who is still interested in helping out can let me know. I am looking forward to everyone's contributions 😊

I can help with translation on Ukranian and Russian

Many strings are in the develop branch and ready to be localized! The ribbon control will get strings to translate later on. There are a few other areas that are missing strings and we will get to them in the near future.
I would recommend checking out these two guides to get started. If you have any questions make sure to let me know.

https://github.com/duke7553/files-uwp/blob/develop/Translator.md
https://github.com/duke7553/files-uwp/blob/develop/contributing.md

I won't clone the entire project on my PC and load Visual Studio Code just to perform translations, sorry.
Isn't it just possible to edit the related language file directly ?

@KaKi87 Of course! Let me know the exact French region such as fr-FR and I will upload a file.

Yes, that's it

Files.fr-FR.xlf.zip

Can you upload files for es-ES? I can translate them :)

@yaichenbaum I meant on the repository

@yaichenbaum I have followed the instructions you've provided, but the .xlf file for the German localisation is not created. It simply fails silently. Any ideas?

@KaKi87 @Jviix you can find the xlf files here.
@R3voA3 I can add a file for German localization but I need to know the correct dialect that you want.

What is Acrylic sidebar ?

@yaichenbaum German (de-DE)

@KaKi87 @Jviix you can find the xlf files here.
@R3voA3 I can add a file for German localization but I need to know the correct dialect that you want.

Pull request created. Happy to help :)

https://1drv.ms/u/s!AvgETyKiA6bQkecIXPvPKphOc2A3YA?e=SHnO3O
German localisation file

@KaKi87 Unfortunately even if text and Content sometimes get the same translation you still need to have it translated. In this case, one is for an item in the navigation view and one is for a header on the page.

What is Acrylic sidebar (SettingsAppearanceAcrylicSidebar.Text) ?

Acrylic Sidebar is the option to turn on acrylic on the left navigation menu

There's a typo on english source SettingsPreferencesMusicLocation.PlaceholderText : Set custom mcusic location

Thank you for reporting this typo!

OneDrive (SettingsPreferencesOneDrive.Text) isn't supposed to be translated.

I can remove that string, for now you can just ignore it.

Does Terminal Applications (SettingsPreferencesTerminalApplications.Text) mean CLI ?

Terminal Applications will let you choose the default CLI to open from Files.

Unfortunately even if text and Content sometimes get the same translation you still need to have it translated. In this case, one is for an item in the navigation view and one is for a header on the page.

What's the technical problem here ?

Acrylic Sidebar is the option to turn on acrylic on the left navigation menu

What does the acrylic term mean exactly ?

The problem is that different controls have different properties for displaying text, sometimes is content, sometimes its text and sometimes it can be something like tooltip. The main issue is that each string is hooked up to different properties so we need a string for each property.
Acrylic is the blur effect in Windows 10

@yaichenbaum Can you pin this issue? Also, did you see my translation file?

https://1drv.ms/u/s!AvgETyKiA6bQkecIXPvPKphOc2A3YA?e=SHnO3O

@R3voA3 I did, thank you so much!

Submitted a PR (#411) which contains the Dutch translations

I started adding strings for the ribbon in the develop branch, feel free to get to it on your own schedule.

I'll remove the milestone to reflect this being an ongoing effort

I started adding strings for the sidebar. Make sure to update all your translations so you can get the best experience when we roll out the next update 🙂

I added the strings for the brand new Extract Files dialog. The actual feature is still a work in progress but it's working really nicely so far!

I am very sorry, I can not help with the translation of the application. Use Google translator to translate into my languages

@sladkOy Unfortunately that won't work since many strings depend on the context of where it is being used and require's a human to translate accordingly.

The v0.7.3 release is almost ready, there are multiple new strings that need to be translated. The majority of the basic application now has strings. I am aware that some dialog's are still missing strings, if you notice something that is missing strings, please mention it in this issue.

Are you sure my last translations were merged into the developement branch? I think I am translating some of them for the second time now. @yaichenbaum

It was caused by the replacement of the ribbon control.

I have put in "pull requests" the Spanish translation

I am sending translations for Turkish: https://github.com/duke7553/files-uwp/pull/541

#541

Multiple new strings have been added to the develop branch.

Hi! I am sending translations for Italian.
Files it-IT.zip

Should <target>'s state attribute be changed from new to translated when translating ?
If yes, are there other possible values ?
Thanks

Should <target>'s state attribute be changed from new to translated when translating ?
If yes, are there other possible values ?
Thanks

Hi,
thank you I corrected: now I set all translated strings with "final" tag .
Files it-IT.zip

@SimoneRaspagni Thank you.

strings need to be added for this:

Date modified: "X seconds ago", "X minutes ago", etc. , still displayed only in English

Can I help translate for Arabic langauage?

@Senko-Dev Absolutely! Let us know if you have any questions.

What does this mean @yaichenbaum

I also can't translate because I don't see the option. @yaichenbaum

Oh, I didn't restart VS, no worries

@Senko-Dev Make sure to check out the documentation on translating Files and what tools you need to do that.

@yaichenbaum What am I supposed to do with the XLF file?

I want to give a big thanks to everyone who has worked on translations, we are getting close to launching the first official preview #676 and I wanted to mention a couple things to keep in mind.

Missing strings, we have been adding strings for different parts of the app as we work on refining the app. Even with all the strings we added, we have definitely missed some, so make sure to let us know if you find an area of the app that is missing strings.
Out of date translations, the app has seen a lot of improvements over the past few months and while the app has already been localized for many languages, a lot of those translations are out of date. If you notice a language that is out of date and you know the language, feel free to open a pull request that updates the translations.
Adding translations, Files UWP welcomes contributions, localizing Files UWP is easy and we put together a guide to help you do it over here https://github.com/files-community/files-uwp/blob/master/Translator.md.

@yaichenbaum Which branch contains the latest translation files? Translations branch seems to be gone.

@R3voA3 The master branch contains the latest code, the documentation is a little out of date right now.

I want to thank everyone who has participated in translating Files UWP, being that most of the app is now localized, I am going to be closing this pull request. If there are any issues with localization, feel free to open an issue or just continue using this issue even in it's closed state.


audio: rare crash during playing a game on Windows

Ebitengine Version
v2.5.0-alpha.11
Operating System

[X] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
go 1.19?
What steps will reproduce the problem?
Not sure. This was reported from an actual Steam game. From the log, this crash happened during playing a game.
What is the expected result?
No crash
What happens instead?
oto: IAudioRenderClient::GetBuffer failed: AUDCLNT_ERR(2290679814)

Anything else you feel useful to add?
This was reported from @wasedaigo's game

AUDCLNT_E_BUFFER_TOO_LARGE?


Is there a way to disable build number tag like latest?

looking at the code
tags=("${BUILDKITE_BUILD_NUMBER}") (line 123)

can be initialised to empty?


Prettier 1.4.x breaks linting

I'm not really sure how the plugin works, but if I upgrade to the new prettier, linting fails.
I'm not sure what I need to do to make it work. :/
Basically, it complains that some newlines should not be there anymore:
error  Delete ⏎···  prettier/prettier
Even if I run the new version of prettier on my code however, nothing changes, and linting still fails.
This is the report I got from greenkeeper: https://github.com/ZeeCoder/container-query/issues/39#issuecomment-305984494
Cheers

This is not a plugin, it is a config. The message you posted seem to come from eslint-plugin-prettier.

Ah sorry!


Installation Failure

Description
Following the glide installation instructions I am seeing errors. I've attempted the following:

remove vendor
remove ~/.glide
remove glide.lock

I've also tried installing via Dep overrides but it looks like we have the same issue there.
Help appreciated!
Details
$ glide -v
glide version 0.13.1

$ cat glide.yaml
package: github.com/blah/blah
import:
- package: k8s.io/client-go
  version: v7.0.0

$ glide up -v
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching k8s.io/client-go
[INFO]  --> Setting version for k8s.io/client-go to v7.0.0.
[INFO]  Resolving imports
[INFO]  --> Fetching github.com/cloud66/cxlogger
[INFO]  Found Godeps.json file in /Users/lvg/.glide/cache/src/https-k8s.io-client-go
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching github.com/golang/glog
[INFO]  --> Setting version for github.com/golang/glog to 44145f04b68cf362d9c4df2182967c2275eaefed.
[INFO]  --> Fetching golang.org/x/net
[INFO]  --> Setting version for golang.org/x/net to 1c05540f6879653db88113bc4a2b70aec4bd491f.
[INFO]  --> Fetching k8s.io/api
[INFO]  --> Setting version for k8s.io/api to 73d903622b7391f3312dcbac6483fed484e185f8.
[INFO]  --> Fetching k8s.io/apimachinery
[INFO]  --> Setting version for k8s.io/apimachinery to 302974c03f7e50f16561ba237db776ab93594ef6.
[INFO]  --> Fetching github.com/howeyc/gopass
[INFO]  --> Setting version for github.com/howeyc/gopass to bf9dde6d0d2c004a008c27aaee91170c786f6db8.
[INFO]  --> Fetching github.com/imdario/mergo
[INFO]  --> Setting version for github.com/imdario/mergo to<PHONE_NUMBER>c1639d9d78127b7d47c622b5d7b6dc.
[INFO]  --> Fetching github.com/spf13/pflag
[INFO]  --> Setting version for github.com/spf13/pflag to 4c012f6dcd9546820e378d0bdda4d8fc772cdfea.
[INFO]  Found Godeps.json file in /Users/lvg/.glide/cache/src/https-k8s.io-apimachinery
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching github.com/gogo/protobuf
[INFO]  --> Setting version for github.com/gogo/protobuf to c0656edd0d9eab7c66d1eb0c568f9039345796f7.
[INFO]  --> Fetching github.com/google/gofuzz
[INFO]  --> Setting version for github.com/google/gofuzz to 44d81051d367757e1c7c6a5a86423ece9afcf63c.
[INFO]  --> Fetching updates for github.com/inconshreveable/log15
[ERROR] Error scanning k8s.io/client-go/pkg/api/v1: cannot find package "." in:
  /Users/lvg/.glide/cache/src/https-k8s.io-client-go/pkg/api/v1
[ERROR] Error scanning k8s.io/client-go/pkg/apis/batch/v1: cannot find package "." in:
  /Users/lvg/.glide/cache/src/https-k8s.io-client-go/pkg/apis/batch/v1
[ERROR] Error scanning k8s.io/client-go/pkg/apis/extensions/v1beta1: cannot find package "." in:
  /Users/lvg/.glide/cache/src/https-k8s.io-client-go/pkg/apis/extensions/v1beta1
[INFO]  --> Fetching github.com/golang/protobuf
[INFO]  --> Setting version for github.com/golang/protobuf to 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9.
[INFO]  --> Fetching github.com/googleapis/gnostic
[INFO]  --> Setting version for github.com/googleapis/gnostic to 0c5108395e2debce0d731cf0287ddf7242066aba.
[INFO]  --> Fetching golang.org/x/time
[INFO]  --> Setting version for golang.org/x/time to f51c12702a4d776e4c1fa9b0fabab841babae631.
[INFO]  Found Godeps.json file in /Users/lvg/.glide/cache/src/https-k8s.io-api
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching golang.org/x/crypto
[INFO]  --> Setting version for golang.org/x/crypto to 81e90905daefcd6fd217b62423c0908922eadb30.
[INFO]  --> Fetching github.com/hashicorp/golang-lru
[INFO]  --> Setting version for github.com/hashicorp/golang-lru to a0d98a5f288019575c6d1f4bb1573fef2d1fcdc4.
[INFO]  --> Fetching github.com/davecgh/go-spew
[INFO]  --> Setting version for github.com/davecgh/go-spew to 782f4967f2dc4564575ca782fe2d04090b5faca8.
[INFO]  --> Fetching golang.org/x/sys
[INFO]  --> Setting version for golang.org/x/sys to 95c6576299259db960f6c5b9b69ea52422860fce.
[INFO]  --> Fetching gopkg.in/inf.v0
[INFO]  --> Setting version for gopkg.in/inf.v0 to 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4.
[INFO]  --> Fetching github.com/go-stack/stack
[INFO]  --> Fetching github.com/mattn/go-colorable
[INFO]  --> Fetching github.com/mattn/go-isatty
[INFO]  --> Fetching gopkg.in/yaml.v2
[INFO]  --> Setting version for gopkg.in/yaml.v2 to 670d4cfef0544295bc27a114dbac37980d83185a.
[INFO]  --> Fetching golang.org/x/text
[INFO]  --> Setting version for golang.org/x/text to b19bf474d317b857955b12035d2c5acb57ce8b01.
[INFO]  --> Fetching github.com/ghodss/yaml
[INFO]  --> Setting version for github.com/ghodss/yaml to 73d445a93680fa1a78ae23a5839bad48f32ba1ee.
[INFO]  --> Fetching github.com/json-iterator/go
[INFO]  --> Setting version for github.com/json-iterator/go to 13f86432b882000a51c6e610c620974462691a97.
[ERROR] Failed to retrieve a list of dependencies: Error resolving imports

Apendix
$ dep ensure
Solving failure: No versions of k8s.io/client-go met constraints:
v7.0.0: Could not introduce<EMAIL_ADDRESS>due to multiple problematic subpackages:
Subpackage k8s.io/client-go/pkg/api/v1 is missing. (Package is required by (root).)
Subpackage k8s.io/client-go/pkg/apis/batch/v1 is missing. (Package is required by (root).)
Subpackage k8s.io/client-go/pkg/apis/extensions/v1beta1 is missing. (Package is required by (root).)
v6.0.0: Could not introduce<EMAIL_ADDRESS>as it is not allowed by constraint ^7.0.0 from project ...
...

The APIs moved from k8s.io/client-go/pkg/apis/... to their final home in k8s.io/api/... in that release. You'll need to update the referring code before glide can complete.

@liggitt  How to fix this issue, I am also getting the same error
my glide.yaml as below
# cat glide.yaml
package: github.com/xyz/xyz
import:
......
- package: k8s.io/client-go
  version: 7d04d0e2a0a1a4d4a1cd6baa432a2301492e4e65
  subpackages:
  - kubernetes
  - tools/clientcmd
  - util/retry
......

I am getting following error:
# glide update
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching updates for github.com/pkg/errors.
[INFO]  --> Fetching updates for github.com/vishvananda/netlink.
[INFO]  --> Fetching updates for github.com/containernetworking/cni.
[INFO]  --> Fetching updates for github.com/vishvananda/netns.
[INFO]  --> Fetching updates for github.com/onsi/gomega.
[INFO]  --> Fetching updates for github.com/golang/glog.
[INFO]  --> Fetching updates for github.com/onsi/ginkgo.
[INFO]  --> Fetching updates for github.com/containernetworking/plugins.
[INFO]  --> Fetching updates for k8s.io/client-go.
 .......
INFO]  --> Setting version for golang.org/x/time to f51c12702a4d776e4c1fa9b0fabab841babae631.
[ERROR] Error scanning k8s.io/client-go/pkg/api/v1: open /root/.glide/cache/src/https-k8s.io-client-go/pkg/api/v1: no such file or directory
[ERROR] This error means the referenced package was not found.
[ERROR] Missing file or directory errors usually occur when multiple packages
[ERROR] share a common dependency and the first reference encountered by the scanner
[ERROR] sets the version to one that does not contain a subpackage needed required
[ERROR] by another package that uses the shared dependency. Try setting a
[ERROR] version in your glide.yaml that works for all packages that share this
[ERROR] dependency.
[INFO]  --> Fetching updates for gopkg.in/yaml.v2.
[INFO]  --> Setting version for gopkg.in/yaml.v2 to 670d4cfef0544295bc27a114dbac37980d83185a.
[INFO]  --> Fetching updates for github.com/google/btree.
[INFO]  --> Setting version for github.com/google/btree to 7d79101e329e5a3adf994758c578dab82b90c017.
[INFO]  Found Godeps.json file in /root/.glide/cache/src/https-k8s.io-api
[INFO]  --> Parsing Godeps metadata...
[INFO]  --> Fetching updates for github.com/ghodss/yaml.
[INFO]  --> Setting version for github.com/ghodss/yaml to 73d445a93680fa1a78ae23a5839bad48f32ba1ee.
[INFO]  --> Fetching updates for github.com/json-iterator/go.
[INFO]  --> Setting version for github.com/json-iterator/go to f2b4162afba35581b6d4a50d3b8f34e33c144682.
[INFO]  --> Fetching updates for golang.org/x/text.
[INFO]  --> Setting version for golang.org/x/text to b19bf474d317b857955b12035d2c5acb57ce8b01.
[INFO]  --> Fetching updates for github.com/modern-go/concurrent.
[INFO]  --> Setting version for github.com/modern-go/concurrent to bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94.
[INFO]  --> Fetching updates for github.com/modern-go/reflect2.
[INFO]  --> Setting version for github.com/modern-go/reflect2 to 05fbef0ca5da472bbf96c9322b84a53edc03c9fd.
[ERROR] Failed to retrieve a list of dependencies: Error resolving imports


[installation] error in git clone (Linux)

Description
I have followed the installation guide to install LGBM but I have failed on the first step..
Reproducible example
`(base) [zigong@node5 code]$ git clone --recursive https://github.com/microsoft/LightGBM
Cloning into 'LightGBM'...
remote: Enumerating objects: 22143, done.
remote: Counting objects: 100% (689/689), done.
remote: Compressing objects: 100% (428/428), done.
remote: Total 22143 (delta 410), reused 434 (delta 249), pack-reused 21454
Receiving objects: 100% (22143/22143), 17.55 MiB | 276.00 KiB/s, done.
Resolving deltas: 100% (16120/16120), done.
error: Unable to open /data/nethome/zigong/code/LightGBM/.git/HEAD.lock for writing
Checking out files: 100% (470/470), done.
Submodule 'include/boost/compute' (https://github.com/boostorg/compute) registered for path 'external_libs/compute'
Submodule 'eigen' (https://gitlab.com/libeigen/eigen.git) registered for path 'external_libs/eigen'
Submodule 'external_libs/fast_double_parser' (https://github.com/lemire/fast_double_parser.git) registered for path 'external_libs/fast_double_parser'
Submodule 'external_libs/fmt' (https://github.com/fmtlib/fmt.git) registered for path 'external_libs/fmt'
Cloning into 'external_libs/compute'...
error: could not lock config file /data/nethome/zigong/code/LightGBM/.git/modules/include/boost/compute/config: File exists
error: could not lock config file /data/nethome/zigong/code/LightGBM/.git/modules/include/boost/compute/config: File exists
error: could not lock config file /data/nethome/zigong/code/LightGBM/.git/modules/include/boost/compute/config: File exists
error: could not lock config file /data/nethome/zigong/code/LightGBM/.git/modules/include/boost/compute/config: File exists
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'https://github.com/boostorg/compute' into submodule path 'external_libs/compute' failed
`
Environment info
Linux
LightGBM version or commit hash:
latest version

Thanks for using LightGBM! Could you please rm -rf ./LightGBM and try again?

thank you for your reply,  I have downloaded all external_libs manually and the  problem is solved.


Wal-set script, change dunst color settings

It seems like your wal-set script, linked in customization wiki page, change openbox color settings, and not dunst or lemonbar as written.

I don't use lemonbar, but to change dunst colors all you need to do is create a User Template File for dunstrc, then use -o to run a script that restarts dunst on color scheme change. Here's how I do it.


kde5/konsole colorschemes

Hi @cskeeters I realize that you're focusing on KDE4, but I just wanted to let KDE5 users to know that if they follow these steps in the README.md, these colorshemes won't show up on konsole settings:
git clone https://github.com/cskeeters/base16-konsole
cd base16-konsole/kde4-konsole-vim
cp *.colorspace  ~/.kde4/apps/konsole/

Turns out KDE5, stores this on ~/.local/share/konsole (at least on Ubuntu 16.04). Plus, apparently, KDE5 needs these color extensions suffix to be .colorscheme instead of .colorspace. So, for KDE5 users, to install your color extensions they have to:
git clone https://github.com/cskeeters/base16-konsole
cd kde4-konsole && rename s/.colorspace/.colorscheme/ *
mv *.colorscheme ~/.local/share/konsole/

Finally, I had to logout in order to had them available on my konsole settings.
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

~/.local/share/konsole
❯ konsole --version
QCoreApplication::arguments: Please instantiate the QApplication object first
Qt: 5.5.1
KDE Frameworks: 5.18.0
Konsole: 15.12.3

@cskeeters massive thank you for supporting these color extensions. Totally appreciate that!

It was a mistake to give the files a colorspace extension for KDE4.  I've renamed the files, the folder names and installation instructions to match.  Let me know if you see any other issues.


[Feature Request] Enable working with Azure-OpenAI API (openai.AzureOpenAI())

Sglang looks great to me, but at my work, we use the Azure-OpenAI API. I don't see how to access this with sglang.
It would need two inputs in addition to the API-key, because at minimum I need to create the client like this:
client = openai.AzureOpenAI(
    api_key="<your-api-key>",
    base_url="https://<your-project-name>.openai.azure.com/openai",
    api_version="<your-api-version>",  # for example "2023-05-15"
)

Also, for some reason the models are called "gpt-35-turbo" instead of "gpt-3.5-turbo" (missing dot); and I believe that you can call your models whatever you want. This should be supported, too.
If this already works somehow, I would appreciate an explicit mention in the README.md.

It should be very easy to support this. However, I do not have an azure account to test this.
Could you try to modify this part and see if you can contribute a PR to make it work?
https://github.com/sgl-project/sglang/blob/585eababa1ffbd68ad364681aff4ca1b7b2b1824/python/sglang/backend/openai.py#L51-L58

I will try it tomorrow, thank you :)

I'm a little confused by the openai_completion-function:
https://github.com/sgl-project/sglang/blob/585eababa1ffbd68ad364681aff4ca1b7b2b1824/python/sglang/backend/openai.py#L205-L222
It looks to me like the client is simply given a prompt directly—messages is handed a str. I don't know if this is possible with OpenAI's own API, but for Azure, it throws an error. There, the messages has to be of the following shape:
client.chat.completions.create(
    messages=[
        {"role": "system", "content": "..."},  # optional
        {"role": "user", "content": prompt},  # not optional
        {"role": "assistant", "content": "..."},  # optional
        ...
    ],
    ...
)

At least I cannot get it to work otherwise. How do you support multi-turn conversations? How do you support system prompts? And why does simply giving a str as the messages parameter work?
Adding the AzureOpenAI class and supporting the additional arguments is easy, as is testing it, but if the fundamental communication as implemented by sglang doesn't work, then I unfortunately won't be able to successfully create this pull request. I simply don't have the time or knowledge of the codebase for it.
Is there something that I'm overlooking that makes this easier? Maybe you are setting some options in the background and I just have to set them for AzureOpenAI too?

The openai backend will choose to use chat completion or completion based on the model name.
Could you add the name of your model to this list?
https://github.com/sgl-project/sglang/blob/9076386d904171c7cc88ace681ca3ebbec2c71ea/python/sglang/backend/openai.py#L33-L48
Then self.is_chat_model will be True
https://github.com/sgl-project/sglang/blob/9076386d904171c7cc88ace681ca3ebbec2c71ea/python/sglang/backend/openai.py#L64
Then we will use the correct multi-turn conversation input format to call
https://github.com/sgl-project/sglang/blob/9076386d904171c7cc88ace681ca3ebbec2c71ea/python/sglang/backend/openai.py#L220

I will look at it in more detail, but it may take a few more days until I have the time. Thanks for the response though :)

@snimu
I added some examples for you.
Please try the latest main branch with these examples
https://github.com/sgl-project/sglang/blob/main/examples/quick_start/azure_openai_example_chat.py


Steps "None" are displayed (Jupyter)

After a fresh install (new machine; Ubuntu 18 LTS), I had some issues (a & b I mentioned in case they are related to Steps "None", though b shouldn't affect it)
Using Python 3.7.5 as base, conda environment.
a) aiohttp 3.6.3 requires yarl<1.6.0,>=1.0, but you have yarl 1.6.2 which is incompatible.
b) despite GPU & no errors in TF install, there is a dlerror missing missing libcudnn.so.8 . and some follow-up libraries. Python switches to CPU based TF.  Not fun, but acceptable for now.
The app from within Jupyter seems to work, though I don't see any steps after the analysis is finished. Using your example smiles, starting materials are displayed, but no reactions schemes.
"None" is displayed.
From previous versions, I don't expect this to be correct behavior?

Thanks for use the tool.
For the "minor" point:
a) This comes from the fact that conda or pip couldn't resolve dependencies correctly. You can try to do python -m pip install "yarl<1.6.0". But maybe there is another package that wants yarl 1.6.2. If the program runs, it runs. I wouldn't worry too much about this.
b) Depending on the OS, you might have to install additional libraries to have TF work with the GPU. There is most likely Stack overflow threads about this. However, if you are not intending to train any new models, the CPU version of TF will work very well.
For the bigger issue, I assume you pressed the "Show reactions" button in the Jupyter notebook and instead of showing the routes it just displayed None. The "None" message is of course not very informative - but it comes from a very specific failure in the code: the generation of the images using the graphviz library.
So the first thing I want you to check is if the dot command is in your path.
Open up a terminal and type which dot.
If the dot command isn't found you need to make sure that graphviz was installed correctly.
(I will make sure to make this "error message" clear in a future release)

Thanks.
I got yarl 1.6.0 now installed, didn't think of downgrade possibility. (used conda, I prefer that whenever I can over pip).
I suspected graphviz, but since I see starting materials I didn't connect that really.
which dot gives
/home/alex/anaconda3/envs/aiz/bin/dot
(aiz is the conda ve for this)
I also added
export PATH=$PATH:/home/alex/anaconda3/envs/aiz/lib/graphviz
but that doesn't make a difference, which still points to the above.
Maybe one could put a hardlink to the bin folder?

Thanks for checking that dot/graphviz was installed properly.
I realized that the setup.py didn't properly packaged some non-python files that are necessary to generate the route images.
I have now pushed a bugfix release. So try to re-install aizynthfinder
python -m pip uninstall aizynthfinder
python -m pip install https://github.com/MolecularAI/aizynthfinder/archive/v2.2.1.tar.gz

and let me know if that solves your problem.

So there is definitely a difference between Windows and Linux.
A new Win10 Conda env with your instructions worked. I tested with Py3.6 (just in case).
The same on Linux (both seem to have used your 2.2.1 version unknowingly), and it doesn't work. It complains about Rdkit - which ended up as 2018 version(!). Seemed to get downgraded to a conda forge version. I ran a manual upgrade again, and it used rkdkit channel to V2020.
But there are more complaints about other compatibilities (e.g. TF), that it won't work (python command line check). Something breaks and the aizyntfinder stuff isn't found. (I tried the uninstall and reinstall, no difference).
Checked the above mentioned py3.8 install using the unistall and reinstall, but it's the same issue.
Rdkit becomes downgraded? Ensured Rkdit upgrade, but the again something else breaks.
Again, ok on Windows, not on Linux.

So if I understand you correctly, you have managed to obtain pictures of routes on both Linux and Windows - right?
Getting all the dependencies to work together is also something I struggle with sometimes, for me it usually is best to remove the virtual environment and start over.
With that said, it is slightly out of my responsibility to support installation of dependencies and all possible platforms - for that you probably find a better answer on Stack Overflow.
So if images of routes can be displayed on your machine, I will close this issue.
And lastly a big thank you for using this tool and thereby exposing a sever bug!

Yes, now it works on both systems. But the Linux one isn't that obvious.
And all attempts were done with new environments.
So, yes, we can close this. Cheers.


search and card

Description
Contributor search bar not search search letter start all contributors and also need to reduce card margin.
Steps to reproduce

I would like to write logic to search all cards
Reduce the card margin.

Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
Contributor search bar not search search letter start all contributors and also need to reduce card margin.
Steps to reproduce

I would like to write logic to search all cards
Reduce the card margin.

Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

Sure, go ahead!


Correction for raw affiliation Ecole Nationale Supérieure de Chimie de Rennes, University of Rennes, CNRS, ISCR—UMR6226, 35000 Rennes, France

Correction needed for raw affiliation Ecole Nationale Supérieure de Chimie de Rennes, University of Rennes, CNRS, ISCR—UMR6226, 35000 Rennes, France
raw_affiliation_name: Ecole Nationale Supérieure de Chimie de Rennes, University of Rennes, CNRS, ISCR—UMR6226, 35000 Rennes, France
new_rors: 01h0ffh48;015m7wh34;02feahw73;00adwkx90
previous_rors: 01h0ffh48;015m7wh34;02feahw73
works_examples: W4318203846
contact: 1fbd51f47fc340b400c7ed70afa1d264:7a110d5adebe8aa5f154a1ef1ef40b13 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Create setup.py for easy pip install

Hello, @marcoslhc. Even though others are finding it useful, I've been having a hard time keeping up with this project. I've given you commit access, if you'd like to work on it. If you don't, then no sweat!

No worries man. Happy to help! Thanks
On Wed, Jan 13, 2016 at 6:59 PM Jonathan Paugh<EMAIL_ADDRESS>wrote:

Hello, @marcoslhc https://github.com/marcoslhc. Even though others are
finding it useful, I've been having a hard time keeping up with this
project. I've given you commit access, if you'd like to work on it. If you
don't, then no sweat!
—
Reply to this email directly or view it on GitHub
https://github.com/jpaugh/agithub/pull/19#issuecomment-171476518.


gateway not starting

Hi,
it is more a question than a bug...  I installed the latest Debian package and it is running as root:daemon from systemd.
saic-mqtt-gateway fails to start with this error:

2023-09-25T13:31:05.260211+02:00 openhab java[59253]: java.lang.NullPointerException: Cannot invoke "net.heberling.ismart.asn1.v1_1.entity.MP_UserLoggingInResp.getToken()" because the return value of "net.heberling.ismart.asn1.v1_1.Message.getApplicationData()" is null
2023-09-25T13:31:05.260323+02:00 openhab java[59253]: #011at net.heberling.ismart.mqtt.SaicMqttGateway.call(SaicMqttGateway.java:273)
2023-09-25T13:31:05.260353+02:00 openhab java[59253]: #011at net.heberling.ismart.mqtt.SaicMqttGateway.call(SaicMqttGateway.java:67)
2023-09-25T13:31:05.260376+02:00 openhab java[59253]: #011at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
2023-09-25T13:31:05.260399+02:00 openhab java[59253]: #011at picocli.CommandLine.access$1500(CommandLine.java:148)
2023-09-25T13:31:05.260427+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
2023-09-25T13:31:05.260466+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
2023-09-25T13:31:05.260502+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
2023-09-25T13:31:05.260525+02:00 openhab java[59253]: #011at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
2023-09-25T13:31:05.260547+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
2023-09-25T13:31:05.260568+02:00 openhab java[59253]: #011at picocli.CommandLine.execute(CommandLine.java:2170)
2023-09-25T13:31:05.260590+02:00 openhab java[59253]: #011at net.heberling.ismart.mqtt.SaicMqttGateway.main(SaicMqttGateway.java:395)
2023-09-25T13:31:05.278151+02:00 openhab systemd[1]: saic-mqtt-gateway.service: Main process exited, code=exited, status=1/FAILURE

my /etc/saic-mqtt-gateway.toml:

[mqtt]
uri = "tcp://localhost:1883"
username = ""
password = ""

[saic]
uri = "https://tap-eu.soimt.com"
username =<EMAIL_ADDRESS>password = "my-passwd"

The local mqtt needs no user and password.
Do you see any errors in my configuration ?
Am I missing maybe some dependency ?
Thanks for your help !

Your password might contain special characters. The official app just filters them out. Try to only use letters and numbers. Am 25.09.2023 um 14:07 schrieb Markus Welters @.***>:
Hi,
it is more a question than a bug...  I installed the latest Debian package and it is running as root:daemon from systemd.
saic-mqtt-gateway fails to start with this error:
2023-09-25T13:31:05.260211+02:00 openhab java[59253]: java.lang.NullPointerException: Cannot invoke "net.heberling.ismart.asn1.v1_1.entity.MP_UserLoggingInResp.getToken()" because the return value of "net.heberling.ismart.asn1.v1_1.Message.getApplicationData()" is null
2023-09-25T13:31:05.260323+02:00 openhab java[59253]: #011at net.heberling.ismart.mqtt.SaicMqttGateway.call(SaicMqttGateway.java:273)
2023-09-25T13:31:05.260353+02:00 openhab java[59253]: #011at net.heberling.ismart.mqtt.SaicMqttGateway.call(SaicMqttGateway.java:67)
2023-09-25T13:31:05.260376+02:00 openhab java[59253]: #011at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
2023-09-25T13:31:05.260399+02:00 openhab java[59253]: #011at picocli.CommandLine.access$1500(CommandLine.java:148)
2023-09-25T13:31:05.260427+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
2023-09-25T13:31:05.260466+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
2023-09-25T13:31:05.260502+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
2023-09-25T13:31:05.260525+02:00 openhab java[59253]: #011at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
2023-09-25T13:31:05.260547+02:00 openhab java[59253]: #011at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
2023-09-25T13:31:05.260568+02:00 openhab java[59253]: #011at picocli.CommandLine.execute(CommandLine.java:2170)
2023-09-25T13:31:05.260590+02:00 openhab java[59253]: #011at net.heberling.ismart.mqtt.SaicMqttGateway.main(SaicMqttGateway.java:395)
2023-09-25T13:31:05.278151+02:00 openhab systemd[1]: saic-mqtt-gateway.service: Main process exited, code=exited, status=1/FAILURE
my /etc/saic-mqtt-gateway.toml:
[mqtt]
uri = "tcp://localhost:1883"
username = ""
password = ""
[saic]
uri = "https://tap-eu.soimt.com"
username = @.***"
password = "my-passwd"
The local mqtt needes no user and password.
Do you see any errors in my configuration ?
Am I missing maybe some dependency ?
Thanks for your help !
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi,
thank you for your help !
I played around with the app, registered also my mobile number, re-registered my Email address and all of the sudden it is working with:

[saic]
uri = "https://tap-eu.soimt.com"
username =<EMAIL_ADDRESS>password = "password"

Password registered was "Pass_Word" and working is now "PassWord" -- you were right.
The Saic Portal is complaining about
Refreshing Vehicle State from SAIC API failed with message: Die Fernanweisung ist fehlgeschlagen, bitte versuchen Sie es später erneut.
but this is not related to your code...

Thank you for your help and your Software !


[Need information] Support horreum as a native container on s390x architecture

quay.io/hyperfoil/horreum container throws error when executed in ibm z system
[root@XXXXX ~]# podman logs horreum_container_id
standard_init_linux.go:228: exec user process caused: exec format error
standard_init_linux.go:228: exec user process caused: exec format error
this is usually observed when there is different in architecture of docker image and underlying architecture.
I need to execute the quarkus app as a native container in s390x system.
attaching logs for native build for the project quay.io/hyperfoil/horreum
Please help me with the required information

quarkus build --native -Dquarkus.native.container-build=true
[INFO] Scanning for projects...

[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ horreum ---
[INFO] Installing /root/Horreum/pom.xml to /root/.m2/repository/io/hyperfoil/tools/horreum/0.5.1/horreum-0.5.1.pom
[INFO]
[INFO] ------------------< io.hyperfoil.tools:horreum-model >------------------
[INFO] Building Horreum Model 0.5.1                                       [2/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-versions) @ horreum-model ---
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ horreum-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ horreum-model ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- smallrye-open-api-maven-plugin:2.1.22:generate-schema (default) @ horreum-model ---
Dec 12, 2022 1:32:20 PM io.smallrye.openapi.runtime.scanner.OpenApiDataObjectScanner process
WARN: SROAP04005: Could not find schema class in index: java.lang.Void
[INFO] Wrote the schema files to /root/Horreum/horreum-model/target/generated
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ horreum-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /root/Horreum/horreum-model/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ horreum-model ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ horreum-model ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ horreum-model ---
[INFO]
[INFO] --- openapi-generator-maven-plugin:6.0.0:generate (default) @ horreum-model ---
[WARNING] There were issues with the specification, but validation has been explicitly disabled.
Errors:
	-attribute paths.'/api/run/{id}'(get).responses.default.description is missing
	-attribute components.schemas.RunExtended.items is missing
	-attribute components.schemas.TableReportData.items is missing
	-attribute paths.'/api/schema/validate'(post).requestBody.content.'application/json'.schema.items is missing
	-attribute components.schemas.LabelValue.items is missing
	-attribute components.schemas.ViewComponent.items is missing
	-attribute components.schemas.LabelPreview.items is missing
	-attribute components.schemas.Dataset.items is missing
	-attribute components.schemas.DatasetSummary.items is missing
	-attribute components.schemas.Run.items is missing
	-attribute components.schemas.RunSummary.items is missing
	-attribute components.schemas.Variable.items is missing
	-attribute paths.'/api/run/data'(post).requestBody.content.'application/json'.schema.items is missing
	-attribute components.schemas.ReportComponent.items is missing
	-attribute components.schemas.Schema.items is missing
	-attribute components.schemas.ChangeDetection.items is missing
	-attribute components.schemas.MissingDataRule.items is missing
	-attribute components.schemas.TableReportConfig.items is missing

[INFO] Generating with dryRun=false
[INFO] OpenAPI Generator: typescript-fetch (client)
[INFO] Generator 'typescript-fetch' is considered stable.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as Change_variable. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as LabelValue_schema. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as Query_range. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Inline schema created as Test_defaultView. To have complete control of the model name, set the `title` field or use the inlineSchemaNameMapping option (--inline-schema-name-mapping in CLI).
[WARNING] allOf schema `null` containing multiple types (not model) is not supported at the moment.
[INFO] Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
[INFO] Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Schema 'null' is any type, which includes the 'null' value. 'nullable' cannot be set to 'false'
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[WARNING] Schema 'null' is any type, which includes the 'null' value. 'nullable' cannot be set to 'false'
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] [deprecated] inheritance without use of 'discriminator.propertyName' has been deprecated in the 5.x release. Composed schema name: null. Title: null
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Access.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AllTableReports.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AllowedHookPrefix.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AnnotationDefinition.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AnnotationQuery.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/AnnotationsQuery.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Banner.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Change.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeDetection.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeDetectionComponent.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeDetectionModelConfig.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ChangeVariable.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ComponentType.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DashboardInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatapointLastTimestamp.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatapointRecalculationStatus.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Dataset.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetList.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetLog.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/DatasetSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Extractor.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/FingerprintUpdate.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Hook.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/JsonpathValidation.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/KeycloakConfig.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Label.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInFingerprint.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInReport.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInRule.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInVariable.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInView.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelLocation.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelPreview.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelValue.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LabelValueSchema.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/LastDatapointsParams.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/MissingDataRule.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/NewUser.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/NotificationSettings.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/PanelInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Query.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/QueryRange.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/QueryResult.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Range.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RecalculationStatus.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ReportComment.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ReportComponent.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ReportLog.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Run.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunCount.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunExpectation.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunExtended.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/RunsSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Schema.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/SchemaDescriptor.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/SortDirection.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReport.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportConfig.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportData.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TableReportSummaryItem.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Target.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Test.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestDefaultView.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestListing.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestSummary.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TestToken.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TimeseriesTarget.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TransformationLog.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Transformer.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/TransformerInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/UserData.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Variable.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/VersionInfo.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/View.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/ViewComponent.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/Watch.ts
[WARNING] Array (model name matches existing language type) cannot be used as a model name. Renamed to ModelArray
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Unknown type found in the schema: array
[WARNING] Array (model name matches existing language type) cannot be used as a model name. Renamed to ModelArray
[WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/json)
[WARNING] Multiple MediaTypes found, using only the first one
[WARNING] Multiple schemas found in the OAS 'content' section, returning only the first one (application/json)
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/apis/DefaultApi.ts
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/index.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/runtime.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/apis/index.ts
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/models/index.ts
[INFO] Skipped /root/Horreum/horreum-model/../webapp/src/generated/.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/.openapi-generator/VERSION
[INFO] writing file /root/Horreum/horreum-model/../webapp/src/generated/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator.                                          #
# Please consider donation to help us maintain this project ?                 #
# https://opencollective.com/openapi_generator/donate                          #
################################################################################
[INFO]
[INFO] --- animal-sniffer-maven-plugin:1.21:check (animal-sniffer) @ horreum-model ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ horreum-model ---
[INFO] Installing /root/Horreum/horreum-model/target/horreum-model-0.5.1.jar to /root/.m2/repository/io/hyperfoil/tools/horreum-model/0.5.1/horreum-model-0.5.1.jar
[INFO] Installing /root/Horreum/horreum-model/pom.xml to /root/.m2/repository/io/hyperfoil/tools/horreum-model/0.5.1/horreum-model-0.5.1.pom
[INFO]
[INFO] -----------------< io.hyperfoil.tools:horreum-backend >-----------------
[INFO] Building Horreum Backend 0.5.1                                     [3/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Horreum 0.5.1:
[INFO]
[INFO] Horreum ............................................ SUCCESS [  0.466 s]
[INFO] Horreum Model ...................................... SUCCESS [  8.164 s]
[INFO] Horreum Backend .................................... FAILURE [  0.016 s]
[INFO] Horreum API Generator .............................. SKIPPED
[INFO] Horreum REST API ................................... SKIPPED
[INFO] Horreum Client ..................................... SKIPPED
[INFO] Horreum Integration Tests .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.801 s
[INFO] Finished at: 2022-12-12T13:32:24+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find goal 'native-image' in plugin io.quarkus:quarkus-maven-plugin:2.9.2.Final among available goals add-extension, add-extensions, analyze-call-tree, build, create, create-extension, create-jbang, dependency-tree, dev, generate-code, generate-code-tests, go-offline, help, info, list-categories, list-extensions, list-platforms, prepare, prepare-tests, remote-dev, remove-extension, remove-extensions, test, update -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException

I am not certain that Horreum has been tested compiled as a native binary.  If you are intent on compiling Horreum as a native binary, there are Multi-Arch build containers provided by Quarkus, which i believe support s390x:  https://github.com/quarkusio/quarkus-images
As Jesper mentioned, since Horreum is a general Java application, a base image that contains Java for s390x should work without modification
I would also suggest building the latest stable Tag 0.6

I have never tried to use the native binary. There's no explicit Dockerfile, Horreum is built on top of image created https://github.com/Hyperfoil/Horreum/blob/29ca20723616b537d903955424dd06645ce9fa8f/horreum-backend/src/main/docker/Dockerfile.jvm.base using Quarkus built-in image building support:
https://github.com/Hyperfoil/Horreum/blob/29ca20723616b537d903955424dd06645ce9fa8f/horreum-backend/src/main/resources/application.properties#L73-L79


Only addPathHelper to require.main.paths if require.main exists

require.main isn't always guaranteed to exist. This fixes an error that comes up in that case.

I've never run into that issue, but seems reasonable. New version published<EMAIL_ADDRESS>Thanks for the PR!


ValueError: Couldn't deep-copy config: maximum recursion depth exceeded while calling a Python object

Hi,
I am trying to reproduce your example on my data and using python 3.8.13 and spacy 3.4.1
This is my code:
import spacy
import classy_classification

nlp = spacy.load("en_core_web_sm")
nlp.add_pipe(
    "text_categorizer",
    config={
        "data": data,
        "model": "spacy"
    }
)

prompt="""
Either the well was very deep, or she fell very slowly, for she had
plenty of time as she went down to look about her and to wonder what
was going to happen next. First, she tried to look down and make out
what she was coming to, but it was too dark to see anything; then she
looked at the sides of the well, and noticed that they were filled with
cupboards and book-shelves; here and there she saw maps and pictures
hung upon pegs. She took down a jar from one of the shelves as she
passed; it was labelled “ORANGE MARMALADE”, but to her great
disappointment it was empty: she did not like to drop the jar for fear
of killing somebody underneath, so managed to put it into one of the
cupboards as she fell past it.

“Well!” thought Alice to herself, “after such a fall as this, I shall
think nothing of tumbling down stairs! How brave they’ll all think me
at home! Why, I wouldn’t say anything about it, even if I fell off the
top of the house!” (Which was very likely true.)"""

print(nlp(prompt)._.cats)

but I get this error

ValueError: Couldn't deep-copy config: maximum recursion depth exceeded while calling a Python object

This is the full error output
ValueError                                Traceback (most recent call last)
Input In [2], in <cell line: 7>()
      2 import classy_classification
      6 nlp = spacy.load("en_core_web_sm")
----> 7 nlp.add_pipe(
      8     "text_categorizer",
      9     config={
     10         "data": data,
     11         "model": "spacy"
     12     }
     13 )
     15 prompt="""
     16 Either the well was very deep, or she fell very slowly, for she had
     17 plenty of time as she went down to look about her and to wonder what
   (...)
     30 at home! Why, I wouldn’t say anything about it, even if I fell off the
     31 top of the house!” (Which was very likely true.)"""
     33 print(nlp(prompt)._.cats)

File ~/miniforge3/envs/sklearn38/lib/python3.8/site-packages/spacy/language.py:795, in Language.add_pipe(self, factory_name, name, before, after, first, last, source, config, raw_config, validate)
    787     if not self.has_factory(factory_name):
    788         err = Errors.E002.format(
    789             name=factory_name,
    790             opts=", ".join(self.factory_names),
   (...)
    793             lang_code=self.lang,
    794         )
--> 795     pipe_component = self.create_pipe(
    796         factory_name,
    797         name=name,
    798         config=config,
    799         raw_config=raw_config,
    800         validate=validate,
    801     )
    802 pipe_index = self._get_pipe_index(before, after, first, last)
    803 self._pipe_meta[name] = self.get_factory_meta(factory_name)

File ~/miniforge3/envs/sklearn38/lib/python3.8/site-packages/spacy/language.py:660, in Language.create_pipe(self, factory_name, name, config, raw_config, validate)
    657 # This is unideal, but the alternative would mean you always need to
    658 # specify the full config settings, which is not really viable.
    659 if pipe_meta.default_config:
--> 660     config = Config(pipe_meta.default_config).merge(config)
    661 internal_name = self.get_factory_name(factory_name)
    662 # If the language-specific factory doesn't exist, try again with the
    663 # not-specific name

File ~/miniforge3/envs/sklearn38/lib/python3.8/site-packages/thinc/config.py:327, in Config.merge(self, updates, remove_extra)
    325 """Deep merge the config with updates, using current as defaults."""
    326 defaults = self.copy()
--> 327 updates = Config(updates).copy()
    328 merged = deep_merge_configs(updates, defaults, remove_extra=remove_extra)
    329 return Config(
    330     merged,
    331     is_interpolated=defaults.is_interpolated and updates.is_interpolated,
    332     section_order=defaults.section_order,
    333 )

File ~/miniforge3/envs/sklearn38/lib/python3.8/site-packages/thinc/config.py:315, in Config.copy(self)
    313     config = copy.deepcopy(self)
    314 except Exception as e:
--> 315     raise ValueError(f"Couldn't deep-copy config: {e}") from e
    316 return Config(
    317     config,
    318     is_interpolated=self.is_interpolated,
    319     section_order=self.section_order,
    320 )

ValueError: Couldn't deep-copy config: maximum recursion depth exceeded while calling a Python object

Can you please help me solve this problem?
Thanks
David

@dpicca I think this might be a ´thinc´ or local issue. I can´t seem to reproduce it. Have you been able to make it work?

It actually seems that the problem comes from the thinc library. I was able to solve it


put marker filter into panel header

Instead of having a toggle button that reveal the filter widget we should just move into the panel header. That would make it not take extra space and still be easily discoverable.

@stevencl fyi

duplicates #7147


Easy table definition with C++17/20

I know this is sqlpp11. However one can use it within a C++17/20 context and exploits some of the features of these languages to further simplify the usage of sqlpp11.
@rbock does not like macros more than I do and the use of a separate preprocessor is not always adequate.
I have noted in the wishlist the desire for support for CREATE as well as the ideas of converting between SQL and C++ structs.
I decided to create table descriptions by hand, using a few helpers.
First, one can make use of fixed_string:
/// \brief A string class that can be used as template non-type argument.
template<std::size_t N>
struct fixed_string {
	constexpr fixed_string(const char (&str)[N]) {
		std::copy_n(str, N, data);
	}

	char data[N];
};

With the current implementation, one needs to be able to still obtain a character sequence from a fixed_string:
template <tools::fixed_string name, typename T>
struct make_char_sequence_impl;

template <tools::fixed_string s, std::size_t... i>
struct make_char_sequence_impl<s, sqlpp::detail::index_sequence<i...>>
{
	using type = sqlpp::char_sequence<s.data[i]...>;
};

template <tools::fixed_string name>
struct fs_char_sequence {
	using idx = sqlpp::detail::make_index_sequence<sizeof(name.data) - 1>;
	using type = typename make_char_sequence_impl<name, idx>::type;
};

To make a DRY version of column and table, a little utility that is used to define _alias_t. Here I am using structured binding to be able to obtain the data from a passed parent class template containing a single member:
template <tools::fixed_string name, template <typename> typename M>
struct alias_type {
	static constexpr const char *_literal = name.data;
	using _name_t = typename fs_char_sequence<name>::type;
	template<typename T>
	struct _member_t : M<T> {
		T &operator()() {
			auto &[r] = *this;
			return r;
		}
		const T &operator()() const {
			const auto &[r] = *this;
			return r;
		}
	};
};

And finally one can define column-declaration and table-declaration types:
template <tools::fixed_string name, template <typename T> typename Data, typename DataType, typename ... tags>
struct coldef {
	using _alias_t = alias_type<name, Data>;
	using _traits = sqlpp::make_traits<DataType, tags...>;
};

template <tools::fixed_string name, template <typename T> typename NamedTable, typename ... columns>
struct tabledef : sqlpp::table_t<tabledef<name,NamedTable, columns...>, columns...> {
	using _alias_t = alias_type<name,NamedTable>;
};

With these in place, providing columns and table definitions becomes simple with little boiler plate. First create templated structures that give a name to variables and use those to define both columns and tables:
template <typename T>
struct AlphaNamed {
	T alpha;
};
template <typename T>
struct DeltaNamed {
	T delta;
};
using AlphaColumn = coldef<"alpha", AlphaNamed, sqlpp::integral, sqlpp::tag::can_be_null>;
using DeltaColumn = coldef<"delta", DeltaNamed, sqlpp::varchar>;

template<typename T>
struct AlphaDeltaNamed {
	T alphaDelta;
};

using AlphaDeltaTable = tabledef<"alphaDelta", AlphaDeltaNamed, AlphaColumn, DeltaColumn>;

Now if only I could write:
   AlphaDeltaTable table{};
   db( create( table ).if_not_exist() );

Could this make it into sqlpp17/20? Nothing seems to have changed in a long while there and sqlpp11 is still touted as the stable version to use. Could make such tool make it into a future directory for users of more recent C++ version? (C++17 is now default on most compilers and the fixed_string only needs two more lines or so to work under C++17)

Thanks for documenting your ideas in detail. I like the style you are proposing.
TBH, I am still hoping to get reflection and generation in C++ at some point. That would make sqlpp much easier to write, I think.

Thanks for documenting your ideas in detail. I like the style you are proposing.

Thanks

TBH, I am still hoping to get reflection and generation in C++ at some point. That would make sqlpp much easier to write, I think.

TBH I would love it as well, it would indeed make things incredibly easier and allow to express one's intention with barely more than a structure definition representing a table. Alas, even with a lot of optimism, we will have to wait quite a long time still before it happens, I think.

Yeah, reflection and generation will take several years for sure.
As you may have seen, there is a version of sqlpp17, which is not too far from being usable, I believe. @Leon0402 is working on that in irregular intervals.
I also started sqlpp20 some time ago but gave up back in the day as the support for modules and concepts was very much incomplete back then.
That said: I won't invest a lot of time into a C++17/20 version myself, but I would applaud efforts in this direction :-)

Very irregular intervals :/  As always so much other stuff to do. But I would love to find more time for sqlpp17. The only advantage is that by the time I brought sqlpp17 in shape, support for modules and that stuff will be available and we can port it to C++20 ;)

I will start contributing to sqlpp17. @Leon0402: I have many other things to do and my needs of SQL are not quite of the most complex order, so my contributions might be limited to the sort I proposed earlier. As I noted, for what I propose to work under C++17, I think it should only need deduction guides for the fixed_string. Given that it is very little difference and does not impede anything C++20, it might be useful for C++17 already.
Would you start a C++20 branch? I feel that the concepts could already be used with positive benefits. For example, having concepts for type that can be cast to SQL types might already be useful. Concept support is very broad already with all the compilers I work with supporting it, but support for modules is still lagging.

@FunMiles Actually another nice improvement in C++20 is that it supports std::local_time and std::zoned_time which allows one to express more clearly the time zone of the written/read timestamps.


Test issue please ignore

I'm testing the webhook I just set up.

Okay, so what about now?

Confirmed working.


size mismatch error

Hello, your model has been very helpful to me and has proven to be highly effective. However, I encountered a size mismatch issue during fine-tuning. For example, size mismatch for model.param_proj.proj.0.weight: copying a param with shape torch.Size([1, 256]) from checkpoint, the shape in current model is torch.Size([1, 144]). I tried to solve it myself but without success. I was wondering if you have encountered this issue before? Do you have any ideas on how to resolve it? I am very grateful for your model and your sharing.

@lsf123-ai thanks, so can you kindly paste the sizes of the inputs you are feeding the model with in order to debug?


revive installation instructions for docker and make

docker instructions greatly shortened to only point to official instructions rather than replicating the steps found there.
both make and docker instructions put under Optional section

see https://github.com/coderefinery/reproducible-research/issues/146 for background discussion


GitHub Pages site

for the clout :^)
(I'll even create the website)

created organization and its website


⚠ ClamAV has degraded performance

In 6f1f167, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 244 ms

Resolved: ClamAV performance has improved in 84819e9 after 19 minutes.


mongodb permissions

the documentation simply says to provide an admin and a user account.
however, mongo doesnt simply have admin or user accounts.
it has roles. even a user with access to admin db can have multiple roles.
can you specify which exact roles are needed by this plugin for the admin and user accounts?

I never found right combo of permissions, so I copped out and have a single 'service' account in admin db that I use to monitor all DB's with.  Also, if you look at pull requests, I added functionality to the plugin where you can use a single account sourced in admindb to authenticate to any other databases.  Just create the admin account in admindb first:
	use admin
	db.addUser( { user: "nrmon",
	          pwd: "<password>",
	          roles: [ "root",
			  "userAdminAnyDatabase",
			  "dbOwner",
			  "dbAdminAnyDatabase",
			  "readWriteAnyDatabase"
	] } )

Hi,
I set the following parameters:
mongodb:  # Use when authentication is required
name: SND_MONGODB
host: snd.pyx.erp
port: 27017
admin_username: root
admin_password: test
ssl: False
The user root as root role in mongodb and can do any operation on Mongodb, you can get all info about any database if you try with mongo shell.
But I never see info from other database in my Mongodb in NEwrelic dashboard in plugin.
I see only the admin.
As end-users/could add new database it should be discover automatically by the plugin that could list all db:
show databases;
admin   0.078GB
config  0.031GB
test1   1.500GB
local   4.029GB
test2     0.203GB
Regards,

@pdeva for me this worked:
on admin db:
root user with roles

readWriteAnyDatabase
userAdminAnyDatabase
dbAdminAnyDatabase
clusterAdmin

@ericfranckx however, you will need a user on any db to be monitored, and you are also missing the declarations of those:
"monitor" user with role  'read'
I initially set this user into admin db, and gave it otherDBroles, but that did not work.

Same problem as @whysthatso


I can't use this plugin

slimefun: https://github.com/StarWishsama/Slimefun4/releases
I don't know whit should I do

I dont support forks of slimefun. Please use the original version. https://github.com/slimefun/slimefun4/


pertpy_scCODA for scATAC-dataset?

Description of feature
hey,thanks your all do for this beautiful package!
i am a beginner,i have some scATAC-dataset from difference groups,
i want to try to do celltype Compositional analysis use scCODA;
1.I want to know if pertpy_scCODA can use for  scATAC-dataset;
2.and how Translating from ArchR proj to Anndata,it is better if you can give a sample;
thanks all

Hi,

If you have labeled clusters - yes. I don't see why not.
This is the concern of ArchR people. Please ask your question there.

Cheers

Yes, scCODA is suitable for all kinds of high-throuput sequencing data. I don't see a reason why you shouldn't use it for scATAC data, as long as you have some clustering labels.
scATAC also has limited library size, so the data characteristics we addressed with scCODA should remain.


TypeScript Language Server and editor aren't synced correctly

Hi there,
my colleagues (cc @otbe) and I have some problems with the TypeScript Language Server. The problem appeared maybe around one or two months ago. We experienced the same issue occasionally independent from each other and thought it was our setup, before we actually noticed that multiple developers here had the same issue. We thought it would be fixed in one of the next VS Code (Insiders) appears, because we thought it must was introduced by an earlier update. But after some weeks and updates the error is still here. So I began looking for problems like ours in the issue tracker, but besides several "TypeScript Language Server is slow" issues I haven't found something which matched our problem.
So without further ado, here is the problem:
We experience what looks like that VS Code and the TypeScript Language Server become out-of-sync. This doesn't happen every time, but once an hour or so. The errors than look like this and we need to restart the TS server to fix them. We write something like abcde in VS Code, but the Language Server only sees abc.

Sadly we can't provide more information as we don't know why this happens 😔

VSCode Version: 1.27.0-insider (7b9afc4196bda60b0facdf62cfc02815509b23d6)
OS Version: macOS 10.13.6

Steps to Reproduce:

Nothing deterministic. Sorry :(

Does this issue occur when all extensions are disabled?: Yes

Sounds like https://github.com/Microsoft/TypeScript/issues/25630
Are you using any typescript server plugins in your workspace?

Yes and no.
The picture is taken from a project wihtout any typescript server plugins but in other projects we use the typescript-styled-plugin.

How are you using the plugins? Through the VS Code extension or installed with npm?

Both I guess. It's added to our tsconfig.json, but some also use the VS Code extension for syntax highlighting 🤔

Can you please try using vscode with this plugin fully disabled and check if you still see the issue?

I experience the same problem. I was thinking that's due to the big and complex project but then it started to happen also in my other projects:

I've checked and disabled the plugin and extension, even in VSCode insider - still the same lag 😕
Can I enable some verbose log or profiler to dump some info for you to debug?

Is your problem a (more or less) constant lag, but which resolves after some delay? Because our out-of-sync problems stay no matter how long we wait. It doesn't recover from itself, only be restarting the service or when we start typing more it eventually gets in-sync again.

@donaldpipowitch Yes, it's bigger or smaller but it's a constant lag. Sometimes it hangs for too long so I have to do CTRL + A, CTRL + X and CTRL + V combination to force checking whole file again and then the red errors comes away.
I also have launched npx tsc --noEmit --watch parallel in terminal and it's working super fast, only VSCode presenting is laggy.

I am also having lag problems similarly described. TS Version 3.0.3, VSCode 1.27.1 (just updated to .2, can test again soon)
I noticed the problem is mitigated when I disable vscode-styled-components plugin, but I have a feeling that only alleviates a more general problem. Happy to provide more info if needed.

Same with my coworkers, too. We don't have a huge codebase but we have a decent amount of files and types.

Here's a recorded instance of this happening. As you can see, the storedChannelsKey is being used, but TS doesn't think it is. The thisthis errors reported aren't present in my code, but they were before I deleted a period or two.
Everything goes back to normal if I "wake it up" by typing and deleting a space, saving the file, formatting the document, etc.

Looks like it's resolved on TS side:
https://github.com/Microsoft/typescript-template-language-service-decorator/commit/387cd5cee6a9c086dc6c887b81c6034781f8fc76
Can't wait for a patch release... using VSCode with TS became a nightmare recently in bigger projects.

I updated the TS plugin today and everything looked good ♥

For verification:

Install the styled and lit-html vs code extensions.
Then follow steps in https://github.com/Microsoft/TypeScript/issues/25630


cavern survival ladder page crashes IE11

navigating to http://codecombat.com/play/ladder/cavern-survival sometimes crashes IE11 with an access violation.  This happens 100% of the time when running against a local server.

Is it giving you an error code, like "Forbidden 403"?  Or are you getting the loading bar that says you don't have permission to access this?

Its a hard crash. see:
http://i.imgur.com/dgnXcc1.png

Is this still a problem?
Which OS version?
In a private browsing window?
I don't get a crash on IE11 Win7, using a local server or against production.

Please reopen if you still see this.


Request - Support for SMPTE-TT subtitles

Hi,
I have worked on some systems that transcode legacy linear broadcast steams to OTT.  In multilingual regions typically the live streams contain multiple DVB formatted subtitles.  DASH-IOP allows this format to be tunnelled via TTML (SMPTE-TT).   The reason is to avoid latency related to OCR conversion to text.
Is support for this format an enhancement that you guys would consider for Shaka Player ?
Thanks,

If you can provide samples and point us to a spec, we could evaluate the format and make a decision based on that.  Thanks!

Thanks Joey,
The spec(s) are available from here : https://www.smpte.org/standards
Is there any way I can send you a content link privately?

Thanks @kidmiracleman, we'll take a look! As for the content, you can find Joey's (and the rest of the team's) emails in the CONTRIBUTORS file. Feel free to shoot the link to any of us! :)

Please send private links to<EMAIL_ADDRESS>so the whole team gets them.  Thanks!

email sent.

I think it was resolved in v2.5.0.
This issue can be closed.

Thanks, @avelad.  We will close this on your recommendation.  If we have done this in error, the original poster can include @shaka-bot reopen in a comment to reopen the issue.


Start Button Added

Button is added. First it used to take only one query. Now it can take as many queries(without closing benji and reopening it).

And also, new query is displayed each time.

the latest version is different to the version you are working on, i think
that part you edited for 'who are you' has been worked on. it now searches for keywords in the input from specific arrays. hence 'who are you' is similar to 'what is your name'

@abhimanyuthakre , please update your repo and then push the PR. :smile: .

@abhimanyuthakre , can you please explain the necessity of this button? :smile:
When I input a command and B.E.N.J.I. obeys it, it also clears the space for another command. Why do we need a start button then?

I hadn't synced my repository when @BrianMwangi21 had made changes. Sorry for that. And at that time, I came up with the idea of adding a button. Thanks @BrianMwangi21

You're always welcome @abhimanyuthakre

@abhimanyuthakre Your PR is having conflicts. You have duplicated the code. Please take the error out and then send the PR

Closing this PR


Use a single apt command to install dependencies

@paulgear : Thanks for your contribution! The author(s) have been notified to review your proposed change.

approved.
#sign-off

@markingmyname: I'm sorry - only the author of this article, @yualan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


App crashes again on low storage within SQLite

We have crash reports coming in in our app on Sentry/Crashlytics when there is no storage left on the device.
The stack trace is from Karte.
Expected Behavior
The app does not crash. For this library, probably should just silently fail.
Current Behavior
The app crashes.
Detailed Description
Stack trace:
SQLiteFullException
database or disk is full (code 13 SQLITE_FULL)

android.database.sqlite.SQLiteConnection in nativeExecuteForChangedRowCount
android.database.sqlite.SQLiteConnection in executeForChangedRowCount at line 832
android.database.sqlite.SQLiteSession in executeForChangedRowCount at line 756
android.database.sqlite.SQLiteStatement in executeUpdateDelete at line 66
android.database.sqlite.SQLiteDatabase in updateWithOnConflict at line 1722
android.database.sqlite.SQLiteDatabase in update at line 1668
io.karte.android.utilities.datastore.DataStore$Companion in update at line 85
io.karte.android.tracking.queue.Dispatcher in queueRetry at line 59
io.karte.android.tracking.queue.Dispatcher in request at line 376
io.karte.android.tracking.queue.Dispatcher in dequeue at line 340
io.karte.android.tracking.queue.Dispatcher in access$dequeue
io.karte.android.tracking.queue.Dispatcher$push$2 in invoke at line 4
io.karte.android.tracking.queue.Dispatcher$push$2 in invoke
io.karte.android.tracking.queue.DispatcherKt$sam$java_lang_Runnable$0 in run at line 2
android.os.Handler in handleCallback at line 883
android.os.Handler in dispatchMessage at line 100
android.os.Looper in loop at line 214
android.os.HandlerThread in run at line 67

@Moncader
Sorry for the delay in replying.
Could you fill in the following information for investigating the problem?
And if you are using a bridge SDK (such as Unity or React Native), please provide the details as well.
SDK Version

core x.x.x
inappmessaging x.x.x
notifications x.x.x
variables x.x.x
visualtracking x.x.x
Karte Gradle Plugin x.x.x

Android Version
Please indicate the Android version that reproduces the problem, such as Android 5.0 or higher
Build Environment

Android Studio Version x.x.x
Gradle Version x.x.x
Android Gradle Plugin Version x.x.x

@Moncader
If you are using an older SDK, please update to the latest version and see if this fixes the problem.
Here is the release note.
https://developers.karte.io/docs/release-notes-android-sdk-v2


ReceivedPaymentSubscriptionClient is not terminating when client disconnects from RPC stream

It looks like I need to use the grpc callback on the server to detect when the client disconnects from the streaming RPC connection:
https://chromium.googlesource.com/external/github.com/grpc/grpc/+/HEAD/examples/python/cancellation/#responding-to-cancellations-from-a-servicer-thread
context.add_callback(on_rpc_done)

https://github.com/yzernik/squeaknode/pull/847


Bug in minified version

Hi, I'm getting an error when I try to use the minified version of animejs from npm or bower:
vue.runtime.esm.js:1713 TypeError: Cannot read property 'arr' of undefined
at anime.min.js:18
at anime.min.js:21
at b (anime.min.js:24)
It does not happen at all on the unminified one. Not a major issue but worth knowing maybe?

+1
I get the following when importing:
app.js:formatted:3486 Uncaught TypeError: Cannot use 'in' operator to search for 'Array' in undefined
    at Object.$jscomp.polyfill (app.js:formatted:3486)
    at app.js:formatted:3500
    at createCommonjsModule (app.js:formatted:3374)
    at app.js:formatted:3378
    at app.js:formatted:4433