I've been researching the download process behind 360 cloud disk...I like to ask a question.

Ello, I'm creating this issue because I've been doing research about the downloading
behind 360 cloud disk since it's closure on Nov. 1st and want to you a question as
the dev behind the SDK clouddisk.
To explain, many days before the closure of 360 Cloud Disk, I was rushing to download
the last of my files I haven't backup yet. Dealing with the slow download speeds as everyone
else was, I began a series of research behind the DL process to learn why it's so slow.
I've learned why the files take so long to download and it's because they're fragmented
thus each file fragment is downloaded at a time.
So I almost stopped researching until my curiosity peaked at learning about
how downloads are requested! (Since the closure was so close and I didn't get
the last of my files downloaded before then).
Below is an example "Sync.getDownloadInfo" xml response when requesting a file to download:
<?xml version="1.0" encoding="utf-8"?><response errno="0" errmsg="" count="1" k="" u="" d="MzUw" t="MjAw"><file_info fpath="/Ese-Lolifox v<IP_ADDRESS>a.exe" ver="1" ctime="1433084529" mtime="1433084674" fsize="19068928" fhash="05347706c635dab7aaa09a54c6b0ac9de446c596" dt="79.75df0a0f6a706298a81010c53da5ff30_用户令牌遗漏了" nid="14715458879408627" compress="0" http="tb-dl3.yunpan.360.cn" addr_1="<IP_ADDRESS>,cnc,d"/></response>
I've been studying the attributes within these responses and learned quite a lot besides the obvious.
The "fhash" attribute is not just a mere "sha1" hash calculation but actually an hash calculation of all the bhash (file fragment block hashes) sha1 hashes in a single string, all in order.
Here's a link on where I learned it: (And yes, I tested it myself and can confirm it's true)
http://blog.csdn.net/gnicky/article/details/49247579
Nid and the other attributes, I already know or are obvious in itself...
But there's one, no, 5 attributes that I don't know what they are.
k, u, d, t: These are attributes I have no idea about and if you have any info about them, I would love to hear what they are and what they do.
Okay, here's why I'm making this issue...
The "DT" attribute...is an attribute that starts with a number then an MD5 hash.
This MD5 is unknown as I have looked everywhere and found no info on how it's calculated.
I tested one of my files that's on my cloud disk, hashing it for an MD5 value but found it's not
related. I looked online to see if any similar MD5 hash exists to no avail...
I've made a thread on the official BBS 360 forum but no one has or knows about it:
http://bbs.360.cn/forum.php?mod=viewthread&tid=15235597
So I'm asking you for help on this...
I know that 360 cloud disk (personal) is gone but still, this has been bugging me for a while.
Please, do you know what the "DT" attribute means? Please answer and thanks!
Oh and I emailed you but you haven't replied...
Hope I'm not a bother! ^-^

Translation to Chinese with Google Translate:
注意：这是我上面发布的文章的谷歌翻译。
很抱歉，如果有些部分听起来很奇怪或关闭！

你好，我正在创建这个问题，因为我一直在研究下载
自从11月1日关闭360云盘之后，希望给你一个问题
SDK云端硬盘背后的开发者。
为了解释，在360云端硬盘关闭之前的很多天，我正急着下载
我还没有备份的最后一个文件。处理每个人都慢的下载速度
否则，我开始了DL流程背后的一系列研究，以了解为什么这么慢。
我已经知道为什么这些文件需要很长时间才能下载，这是因为它们是分散的
从而一次下载每个文件片段。
所以我几乎停止了研究，直到我的好奇心达到了顶峰
如何请求下载！ （由于封闭如此密切，我没有得到
我之前下载的最后一个文件）。
下面是请求文件下载时的“Sync.getDownloadInfo”xml响应示例：
<?xml version="1.0" encoding="utf-8"?><response errno="0" errmsg="" count="1" k="" u="" d="MzUw" t="MjAw"><file_info fpath="/Ese-Lolifox v<IP_ADDRESS>a.exe" ver="1" ctime="1433084529" mtime="1433084674" fsize="19068928" fhash="05347706c635dab7aaa09a54c6b0ac9de446c596" dt="79.75df0a0f6a706298a81010c53da5ff30_用户令牌遗漏了" nid="14715458879408627" compress="0" http="tb-dl3.yunpan.360.cn" addr_1="<IP_ADDRESS>,cnc,d"/></response>
我一直在研究这些反应的属性，除了这些显而易见的东西外，还学到了很多东西。
“fhash”属性不仅仅是一个“sha1”散列计算，实际上是所有bhash（文件碎片块散列）sha1散列计算在一个字符串中散列，全部按顺序排列。
这里有一个关于我在哪里学习的链接:(是的，我自己测试，可以确认它是真实的）
[http://blog.csdn.net/gnicky/article/details/49247579](url）
Nid和其他属性，我已经知道或明显的本身...
但是，有一个，不，5个属性，我不知道他们是什么。
k，u，d，t：这些是我不知道的属性，如果你有任何关于它们的信息，我很想听听他们是什么，他们做了什么。
好的，这就是我为什么要这个问题...
“DT”属性...是一个以数字开始，然后是MD5散列的属性。
这个MD5是未知的，因为我到处找，没有发现它是如何计算的信息。
我测试了我的云盘上的一个文件，将其散列为MD5值，但发现它不是
有关。我在网上查找是否有任何相似的MD5哈希存在无济于事...
我已经在官方论坛360论坛上发了一个帖子，但是没有人知道或者知道：
[http://bbs.360.cn/forum.php?mod=viewthread&tid=15235597](url）
所以我要求你帮忙
我知道360云盘（个人）已经不在了，但是这一直在困扰着我。
请问，你知道“DT”属性是什么意思吗？请回答并致谢！
哦，我发了电子邮件给你，但你还没有回复...
希望我不是一个麻烦！ ^-^


Add option to provide DB details config file

At the moment the only way to pass the DB connection details is either explicitly providing in the command line the various parameters or providing a config file which sets up all of the options of gammasim-tools, including the dbDetails.yml file. There's also the option to use ENV variables, but that's not relevant for this issue. It would be good to have the option to also provide something like --db_config_file that sets up just the DB connection details.
Also, in a quick test @VictorBarbosaMartins performed, the normal --config option didn't work, so we should take this opportunity to test and fix that as well.

To separate the points discussed above:

You  want to have something like:

--dbconfig dbconfig.yml

as a flag? That should be trivial to add.

-config: I've just tested it and it works:

db_api_user:
  api
db_api_pw:
  THEPASSWORD
db_api_port:
  THEPORT
db_server:
  THESERVER

and then
python applications/get_file_from_db.py --config config.yml --file_name mirror_CTA-S-LST_v2020-04-07.dat

@VictorBarbosaMartins - could you give me an example which is not working for debugging?

Environmental variables: this is actually not so different to a config file and can be done by having a script to be sources which exports the relevant values. I am starting a gammasim-tools session with source ./set_DB_environ.sh

So should I go ahead and add the `--dbconfig`` flag?

To separate the points discussed above:

You  want to have something like:

--dbconfig dbconfig.yml

as a flag? That should be trivial to add.

Yes, that's exactly what I wish to have (but the argument should be rather --db_config).

-config: I've just tested it and it works:

db_api_user:
  api
db_api_pw:
  THEPASSWORD
db_api_port:
  THEPORT
db_server:
  THESERVER

Should these definitions be in config.yml directly? In that case, this is the issue. We thought we still have to point to a db_details.yml file in config.yml. If these definitions go directly into config.yml, that is better and we should keep it like that.

Environmental variables: this is actually not so different to a config file and can be done by having a script to be sources which exports the relevant values. I am starting a gammasim-tools session with source ./set_DB_environ.sh

Yes, that's also what I do (and now @VictorBarbosaMartins does as well).

So should I go ahead and add the `--dbconfig`` flag?

Yes please!

My test probably didnt work because I havent passed the DB information in the config.yml
If the db information can go in the config.yml, we should not need  the db_details.yml at all, no?

Well, that was essentially my question, whether we can pass the DB info directly in config.yml. I would still vote for adding the option of adding a config file which contains just the DB info with --db_config.

I see. I would prefer to merge both config files and pass only one. there will always be a DB in gammasim-tools, so no need to separate it from the main config, unless we want to move away from MongoDB one day

Yes, you are right, if we can already pass the DB info directly in config.yml, then we don't need the additional option of --db_config. Can you maybe test it? If that works then we can already close this issue without doing anything.

I first unset the environmental variables through:
unset DB_API_PORT unset DB_SERVER unset DB_API_USER unset DB_API_PW unset DB_API_AUTHENTICATION_DATABASE

I included the db information in the config.yml
dataLocation: ./data/ extraCommands: [] modelFilesLocations: . outputLocation: . simtelPath: . useMongoDB: true db_api_port: 27017 # Port on the MongoDB server db_server: 'cta-simpipe-protodb.zeuthen.desy.de' # MongoDB server db_api_user: 'api' # username for MongoDB db_api_pw: PASSWORD HERE # Password for MongoDB db_api_authentication_database: 'admin'

Finally I ran
python applications/get_file_from_db.py --file_name MLTdata-preproduction.ecsv --config config.yml

It did not work. Either I did something wrong above (you can tell me) or passing the DB information through config.yml is not working. Maybe @GernotMaier hasn't unset the environmental variables before passing the config.yml in his test?

I first unset the environmental variables through:

unset DB_API_PORT
unset DB_SERVER
unset DB_API_USER
unset DB_API_PW
unset DB_API_AUTHENTICATION_DATABASE

I included the db information in the config.yml

dataLocation: ./data/
extraCommands: []
modelFilesLocations: .
outputLocation: .
simtelPath: .
useMongoDB: true
db_api_port: 27017 # Port on the MongoDB server
db_server: 'cta-simpipe-protodb.zeuthen.desy.de' # MongoDB server
db_api_user: 'api' # username for MongoDB
db_api_pw: PASSWORD HERE # Password for MongoDB
db_api_authentication_database: 'admin'

This is the wrong syntax. Look at my example above, the keys in the config file should be the same as the command line parameters.

Finally I ran
python applications/get_file_from_db.py --file_name MLTdata-preproduction.ecsv --config config.yml

It did not work. Either I did something wrong above (you can tell me) or passing the DB information through config.yml is not working. Maybe @GernotMaier hasn't unset the environmental variables before passing the config.yml in his test?

Yes, you are right, if we can already pass the DB info directly in config.yml, then we don't need the additional option of --db_config. Can you maybe test it? If that works then we can already close this issue without doing anything.

I want to emphasize here the approach of the new configuration class: any parameter can be set on the command line, through a config file, or through env variables. The names/keys are always those which appear in the help. Env variables can also be in capital letters. All configuration parameters are treated in the same way - this was one of the main motivation for the large changes.

Sorry for the mistake. It worked now for me with the following config file:
db_api_port: 27017 # Port on the MongoDB server
db_server: 'cta-simpipe-protodb.zeuthen.desy.de' # MongoDB server
db_api_user: 'api' # username for MongoDB
db_api_pw: PASSWORD HERE # Password for MongoDB
db_api_authentication_database: 'admin'

OK so in that case we don't need any changes and can close this issue. If anyone objects, please re-open.


Clean up docs; duplicate UUID code

Coverage increased (+0.3%) to 86.462% when pulling b8333bfcd7c53f5031627b9bf21e8d136c7145b5 on cleanups into e75aac8849ad6031896fde18e6f42a739ca897e8 on master.


Require NSG Outbound to Internet

Is this rule required for internal facing app gateway?
NSG outbound to Internet.

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

ID: 166e6517-9190-c9fc-5ad5-757ad64bb3fc
Version Independent ID: 0e67beb9-827a-cafb-b0aa-6d38d32475f4
Content: Azure Application Gateway configuration overview
Content Source: articles/application-gateway/configuration-overview.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: absha

Thanks for the question! We will review and get back to you shortly.

@RonnieQuan Some features of application gateway require outbound connectivity to function, like DNS, health probes, and metrics.
Blocking outbound internet connectivity is not recommended, but might be something you will be able to get working.

@RonnieQuan We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Font Awesome comment not removed

Environment

clean-css version - npm ls clean-css: 4.1.6
node.js version - node -v: v6.11.0
operating system: OS X 10.11.6

Configuration options
cli --skip-rebase
Input CSS
.test {
    display: block;
}
/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* FONT PATH
 * -------------------------- */
.test2 {
  display: block;
}

Actual output CSS
.test{display:block}/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */.test2{display:block}

Expected output CSS
.test{display:block} .test2{display:block}

Font Awesome has a multiline comment which is not detected by clean-css. I wouldn't worry too much about ~200 bytes but recently files generated like the above output broke CloudFlare's minifier and our css bundle stopped working. That was clearly a bug in CloudFlare's side, but still it would be nice to just clean that comment as well.

Comments that start with /*! being preserved is a feature and a standard way to prevent license headers from being removed: https://github.com/jakubpawlowicz/clean-css#how-to-preserve-a-comment-block
You need to set specialComments optimization to 0: https://github.com/jakubpawlowicz/clean-css#level-1-optimizations

I see, thanks! It's strange that only FontAwesome uses that and most other libraries do not, but I get why it is used and how to clean them.

Thanks @ngyikp for helping out. 🍻


ChromeOS tries to rollback to Secure Mode when booting under certain circumstances

Describe the bug
Whenever booting murkmod after shutting down the Chromebook without being signed in, it will trigger the screen that tries to transition to normal mode.
To Reproduce
Steps to reproduce the behavior:

Restart the Chromebook
Boot in normally
Don't sign in
Restart the Chromebook again
The transition screen will appear

Expected behavior
The chromebook would boot back into murkmod normally, the same way it does after resetting while signed in.
Screenshots

System (please complete the following information):

Board [dedede (HP 14 G7)]
Version [v124]
Installation method used [Devmode Installer]

Additional context
This was also a problem that happened on fakemurk on v112, but I don't recall this happening on v105 or v107 but I'm not sure I ever tested it.

This is most likely related to #68, since chromeos_startup makes more checks to clobber stateful if suspicious files exist past v120.

This is most likely related to #68, since chromeos_startup makes more checks to clobber stateful if suspicious files exist past v120.

Since I am using an unsupported version I wouldn't have brought it up if it only happen past v120, but it also did happen when I used fakemurk on v112, so it has to be something with the fakemurk base rather than the murkmod v116+ compatibility

Ah. Either way, fixing #68 should fix this, and progress on it is well underway. Expect an update in a week or two.

I found that this can also happen if you recover a murkmodded Chromebook. This partially deletes Murkmod but keeps you in developer mode. Trying to boot into developer mode will result in this screen.


npm-publish fails with zero arguments

Describe the bug
jfrog rt npmp fails with pre-configured environment variables that work for all other npm-* commands. It complains that the wrong number of arguments were passed, when no arguments should be required (as even stated by the usage output).
To Reproduce
Have a github action using v1 of your setup action;
build and fully test a simple npm library
attempt to publish in a github action or with a local command line
Expected behavior
New version of the package should be published in jFrog NPM registry.
Versions

JFrog CLI version: whatever @v1 provides and 1.33.2 (local)
JFrog CLI operating system: ubuntu and macos mojave
Artifactory Version: latest cloud instance

Additional context
npm publish --help

npm publish [<tarball>|<folder>] [--tag <tag>] [--access <public|restricted>] [--dry-run]

Publishes '.' if no argument supplied

Sets tag `latest` if no --tag specified

jfrog rt npmp

[Warn] You are using a deprecated syntax of the "npmp" command.
        To use the new syntax, the command expects the details of the Artifactory server and repositories to be pre-configured.
        To create this configuration, run the following command from the root directory of the project:
        $ jfrog rt npmc
        This will create the configuration inside the .jfrog directory under the root directory of the project.
        The new command syntax looks very similar to the npm CLI command i.e.:
        $ jfrog rt npmp [npm args and option] --build-name=*BUILD_NAME* --build-number=*BUILD_NUMBER*
[Error] Wrong number of arguments. You can read the documentation at https://www.jfrog.com/confluence/display/CLI/JFrog+CLI

Name:
  jfrog rt npm-publish - Packs and deploys the npm package to the designated npm repository.

Usage:
  jfrog rt npmp [command options]

Options:
  --build-name      [Optional] Providing this option will collect and record build info for this build name.
  --build-number    [Optional] Providing this option will collect and record build info for this build number. If you provide a build name (using the --build-name option) and do not provide a build number, a build number will be automatically generated.
  --module          [Optional] Optional module name for the build-info.
  --url             [Depracated] [Optional] Artifactory URL.
  --user            [Depracated] [Optional] Artifactory username.
  --password        [Depracated] [Optional] Artifactory password.
  --apikey          [Depracated] [Optional] Artifactory API key.
  --access-token    [Depracated] [Optional] Artifactory access token.
  --npm-args        [Depracated] [Optional] A list of npm arguments and options in the form of "--arg1=value1 --arg2=value2"

... snip environment variables usage output ...

[Error] Wrong number of arguments.

And before it's called out that I'm using the "deprecated" method, the non-deprecated method simply does not work with github actions - it complains about an "npm.yaml" missing from the generated configuration path when using the action as-documented.

I believe the real issue is the usage output does not properly handle itself in the "deprecated" flow. It should be calling out WHAT arguments I'm missing, not just saying I'm not passing the right number - especially since the usage output implies zero arguments should work in all cases. I know this is incorrect, as older versions of the CLI needed the repository name passed.

@tsal this is the old npmp syntax:
jfrog rt npmp <path to project directory>

For example: jfrog rt npmp .
You can read a full explanation here: https://github.com/jfrog/jfrog-cli/issues/576
Can you please elaborate about your GitHub actions steps using the new syntax?
Thanks.

The old format I'm referring to above works in GHA and locally - either way, the usage and error outputs are deceptive and incorrect.

To answer the question: I'm using the jfrog rt c export <config-id> then setting the required configuration variable according to the default setup for the action jfrog provides.
It works for everything but publish.

Thanks for your important input about the old syntax usage. We will take it into consideration.
About the new syntax:
I made a working example to describe how to use the new syntax:
https://github.com/yahavi/cli-npm-action/blob/master/.github/workflows/workflow.yml
Here is the build URL:
https://github.com/yahavi/cli-npm-action/runs/623002131

Thanks - that looks close to what I ended up doing, but I'm using the encoded string for my artifactory configuration, instead.  My primary concern with this issue is that it looks like things got in a weird pre-deprecated / deprecated state with the usage output, and it could cause a lot of confusion, especially since it lists all the flags as Optional / Deprecated.


New Trigger - Display Mirroring

Via UserVoice:
It would be great if an Amphetamine trigger could be Display Mirroring

A Displays Trigger option will be available in v3.1. Detecting whether a display is being mirrored doesn't appear to be an attribute for query, however. Instead, the new Displays Trigger will allow the following operations:
Display count = X
Display count > X
Display count < X
Where X is a number the user defines.


Document autocompletion for brew-installed Zsh

Worked for me. I learned about this from poetry's README:
https://github.com/python-poetry/poetry#enable-tab-completion-for-bash-fish-or-zsh
TODO: looks like https://github.com/sdispater/cleo/blob/master/docs/introduction.rst should be aligned with this

@sdispater any chance to review?

@sdispater please? This is a small one...

Hello? So, this also includes a small fix.. would be nice

@sdispater could you check, please? This is very straightforward & simple indeed.

@branchvincent hey, better now than never! Thanks.


Readme modifications 2 (after Andy's advices)

@adamantivm ready, thanks
I changes some text to talk about Android Studio instead of a general IDE. This came out after talking with Gary who is not an Android specialist.
Thanks, again


feat(external): pack node_modules when esbuild-node-externals is configured

Closes https://github.com/floydspace/serverless-esbuild/issues/136

Closing as the file exists check is not working as expected.


Toggling Non-Canvas toggle switch off does not remove the color

Describe the bug
Toggling a non-canvas toggle switch from on to off does not fully toggle the switch, the color remains
To reproduce

Launch UITearSheet Example (non-canvas)
Toggle non-canvas switches on, then off
See switch not change color, acting like its on if the user isn't looking carefully

Expected behavior
When toggled off, the switch will not be empty with no color
Video
https://user-images.githubusercontent.com/110259320/182422454-afece86a-8474-4f3a-8cc3-464764983afe.mp4
Your setup

Device HoloLens2
Unity Version [2020.3.37f1]
Commit Version acdecca31b97720a6fcda057cc35b3815ad56a02

Target platform

HoloLens 2
Quest

This is fixed by #10751!

Fixed.


pre_check_and_set_platforms: pass NO_FALLBACK to get_koji_session

get_koji_session requires two arguments. pre_check_and_set_platforms does
not have fallback information for the koji session, so pass NO_FALLBACK
and let reactor_config raise the error if the session isn't found.
Signed-off-by: Mark Langsdorf<EMAIL_ADDRESS>

Waiting for travis to merge.

Not updating release notes draft because this is bugfix to an unreleased feature.


Extension fails to activate

I'm seeing this error in the console:

[Extension Host] Activating extension 'maddouri.cmake-tools-helper' failed: Cannot read property 'reconfigured' of undefined.

It looks different from #12 despite the similar error: my symptoms are all command failing with for example:

command 'cmake.update_cpptools' not found

It could come from some changes in the way cmake-tools expose their API, but I found nothing recent and obvious, after a very quick look.
Tested with cmaketools version 1.1.1 and cmaketools helper 0.2.1

I am faced with this problem, too.
vs-code: 1.32.2

Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.19.30-1-MANJARO

CMake Tools
id: vector-of-bool.cmake-tools
version : 1.1.3

CMake Tools Helper
id: maddouri.cmake-tools-helper
version: 0.2.1

When I execute the CMake: Update cpptools command, a pop-up message says command 'cmake.update_cpptools' not found

same here.
cmake-tools-helper never generate any c_cpp_properties.json, so I try reinstall this extension.
When try to install cmake-tools-helper, the developer console said:

workbench.main.js:238 [Extension Host] Activating extension maddouri.cmake-tools-helper failed:  Cannot read property 'reconfigured' of undefined

[Extension Host] Here is the error stack:  TypeError: Cannot read property 'reconfigured' of undefined
	at new CMakeToolsHelper (/Users/kevin/.vscode/extensions/maddouri.cmake-tools-helper-0.2.1/out/src/state.js:13:33)
	at activate (/Users/kevin/.vscode/extensions/maddouri.cmake-tools-helper-0.2.1/out/src/extension.js:10:28)
	at Function._callActivateOptional (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:738:936)
	at Function._callActivate (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:738:625)
	at define._doActivateExtension.Promise.all.then.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:737:635)

Env:

OS: macOS Mojave v10.14.5
VSCode: Version 1.35.0(553cfb2c2205db5f15f3ee8395bbd5cf066d357d)
vector-of-bool.cmake-tools: 1.1.3
maddouri.cmake-tools-helper: 0.2.1
cmake version 3.14.5


Provide error output for user if they try to use decimals while allocating in trinary

There is an error happening in the backend when trying to add the allocation


State of the project

What is the state of the project?

Are all API functions implemented as stubs at least?
Are all API functions that are entirely implemented functional?
Do you plan on continue to develop?

In case there are at least stubs of everything I will consider to implement some features too and make a pull request.

Are all API functions implemented as stubs at least?
Most probably not.

Are all API functions that are entirely implemented functional?
Probably not.

Do you plan on continue to develop?

Currently, I'm not using this library actively. But I'd like to improve it and be happy to review and accept pull requests.
Also, documentation should be improved. I'm slowly writing documentation for all my projects, using this documentation generator: https://40ants.com/doc/

I'd prefer to concentrate forces for making one good library instead of a bunch of forks.

Website is barely usable on mobile btw.


feat(module:transfer): use nzOneWay to make Transfer the one way style

fix: #8643
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

Please fix the test :)


unable to resolve class net.ltgt.gradle.errorprone.CheckSeverity

I am getting this error:
An exception occurred applying plugin request [id: 'net.ltgt.errorprone', version: '0.6']
> Failed to apply plugin [id 'net.ltgt.errorprone']
   > Could not create plugin of type 'ErrorPronePlugin'.

My build.gradle:
plugins {
  // we assume you are already using the Java plugin
  id "java"
  id "application"
  id "net.ltgt.errorprone" version "0.6"

}

dependencies {
  annotationProcessor "com.uber.nullaway:nullaway:0.7.10"

  // Optional, some source of nullability annotations.
  // Not required on Android if you use the support
  // library nullability annotations.
  compileOnly "com.google.code.findbugs:jsr305:3.0.2"

  errorprone "com.google.errorprone:error_prone_core:2.4.0"
  errorproneJavac "com.google.errorprone:javac:9+181-r4173-1"
}

import net.ltgt.gradle.errorprone.CheckSeverity

tasks.withType(JavaCompile) {
  // remove the if condition if you want to run NullAway on test code
  if (!name.toLowerCase().contains("test")) {
    options.errorprone {
      check("NullAway", CheckSeverity.ERROR)
      option("NullAway:AnnotatedPackages", "com.uber")
    }
  }
}

mainClassName = 'hello.HelloWorld'

jar {
    baseName = 'gs-gradle'
    version =  '0.1.0'
}

I am not sure what am I doing wrong could you please point it out?

Which version of Gradle are you using? (At least 5.2 is needed for the Error Prone plugin) Also, JDK version? Any custom repositories for maven/gradle?
Also, could you run the build with --debug and see if there is a more specific error?
Note that we do not build or maintain the Error Prone gradle plugin, so, while I'd be happy to try my best to debug the issue (specially since you seem to be following the instructions from our readme and we'd want to update them in case of any gotchas!), another possible place to ask is here. This error is happening before the NullAway specific bits of the build get parsed.

@lazaroclapp It's building now but I can 't get NullAway to check for NPE. I added the example error given in the READMe.md. Here is my new build.gradle:
buildscript {
    ext.kotlin_version = '1.2.21'
    repositories {
        jcenter()
    }
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

plugins {
  // we assume you are already using the Java plugin
  id "java"
  id "application"
  id "net.ltgt.errorprone" version "1.2.1"

}

repositories {
	mavenCentral()
}

dependencies {
  annotationProcessor "com.uber.nullaway:nullaway:0.7.10"

  // Optional, some source of nullability annotations.
  // Not required on Android if you use the support
  // library nullability annotations.
  compileOnly "com.google.code.findbugs:jsr305:3.0.2"

  errorprone "com.google.errorprone:error_prone_core:2.4.0"
  errorproneJavac "com.google.errorprone:javac:9+181-r4173-1"
}

import net.ltgt.gradle.errorprone.CheckSeverity

tasks.withType(JavaCompile) {
  // remove the if condition if you want to run NullAway on test code
  if (!name.toLowerCase().contains("test")) {
    options.errorprone {
      check("NullAway", CheckSeverity.ERROR)
      option("NullAway:AnnotatedPackages", "com.uber")
    }
  }
}

mainClassName = 'hello.HelloWorld'

jar {
    baseName = 'gs-gradle'
    version =  '0.1.0'
    from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}

And my main class file:
package hello;

public class HelloWorld {
  public static void main(String[] args) {
    Greeter greeter = new Greeter();
    System.out.println(greeter.sayHello());
    log(null);
  }
  static void log(Object x) {
    System.out.println(x.toString());
  }
}

Could you please help me out.

option("NullAway:AnnotatedPackages", "com.uber") is telling NullAway to consider only packages inside com.uber.** as annotated for nullability. You might need to do option("NullAway:AnnotatedPackages", "hello") for it to pick up your code. Incidentally, it would be better to use full package names like com.example.hello or whatever your domain is :)

@sudo-panda Was Kotlin stuff being missing or the lack of a repositories { ... } block that was causing the original issue for you?

@lazaroclapp I upgraded the errorprone plugin version added kotlin and the repository,then it started building.

Thanks it works now :)


Language idea: Allow mut on parameters

fn foo(mut bar) {
    bar = 42;
    bar;
}
assert foo("hi") == 42;

Basically just using a pattern-binding in parameter grammar rules instead of a bespoke binding rule.

Closing since shadowing is almost certainly good enough here, and also makes it a bit more explicit what's going on.


Implement type conversion for enumerations

For example in the struct GameInfo the property GameMode is an integer that can be set as an enum.
It would be better if we can have full interoperability between the GbxRemote and C# types as this will make it easier to work with C#.
It requires adding a new type converter in the library for enums. This converter should only support integers for now to avoid overcomplicating things.

Don't think this is really necessary right now as the mentioned struct is the only one with an enumeration and is no obsolete.


[Additional Parameter Request]  publisher OnCheckWarehouseOnBeforeShowDialog Table 37-"Sales Line"

Can you please get the SalesLine parameter in the publisher OnCheckWarehouseOnBeforeShowDialog by reference?
We pass some global variables in our tableextension which we have to retrieve via getter.
[IntegrationEvent(false, false)]
local procedure OnCheckWarehouseOnBeforeShowDialog(>>>var<<< SalesLine: Record "Sales Line"; Location: Record Location; ShowDialog: Option " ",Message,Error; var DialogText: Text[50])
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Better handling of multiple train networks

Is your feature request related to a problem? Please describe.
Trying to use search to filter Depots, Stations, Inventory, etc based on Network ID does not seem to work.  Entering a specific Network ID does not limit the results to only that network.
Describe the solution you'd like
I think it'd be great if there could be a drop-down menu in the UI that has the Network IDs in use.  This drop-down would be in the same spot across all LTN Manager tabs and the chosen ID will be used in the UI globally until changed again showing only items from that Network ID on whatever tab is opened.  An "All" option would be default, then you could choose -1 or -2 (or whatever Network IDs are in use) and then that new chosen network ID is saved and used between UI close/open until changed again, or until an exit/re-load of the game.
Having the Network ID displayed in the UI when listing (or maybe hovering) stations/inventory->stations/history/etc will be very helpful when viewing the All networks option.

The network ID input field is the encoded binary ID, it's not an integer. So, typing 6 won't actually show network 6, it will show networks 4 and 2. This is how LTN itself works as well.
I do plan on adding an LTN combinator-esque network picker at some point, once I improve performance and fix some glaring GUI logic issues.

I think this falls under the same "issue"...even more basic than searching the network ID's I would love to just see them listed somewhere. I see 3 potential primary locations.

Add it to the Depot list so the Depots show the depot stats as well as which network they belong to.
Technically there under Control Signals, but do the same for the Station List so it stands out more.
3, This is the one I'm most interested in: If I have done things correctly, each depot is its own network, so arguably redundant, but it is a different way to view the data....make a Network tab that lists the used networks ideally with the ability to add a descriptive label and optionally view all the stations and depots associated with it (just a list...the station and depot tabs can be used for detail.) Thinking something possibly similar to the Networks tab in Advanced Logistic System Fork

Great work otherwise. Been using LTN for awhile but recently started expanding my use. Started to get harder to keep track of everything across the base and I had seen this and thought I'd check it out. Just started using it, but so far haven't run into any bugs, and it's been nice to be able to get the full system picture. Looking forward to the progression to a "final" mod version.

Considering how much network id matters for larger bases I would move it out of control signals into its own column right next to station status as plain, easily readable number. Optionally showing it hex value would be fancy.
For depots network id could be below the status line.

The network ID used to actually be displayed in its own column, but I removed it because long numbers would get cut off.
I will be considering solutions for this in v0.4, which will involve a complete GUI rewrite to get rid of the mountain of technical debt it has accrued.

So, I am working on the GUI rewrite. Search is now global across all tabs and persists across open/close. Right now, the network ID is still a plain input box, but I plan on making a pop-up GUI that will allow you to select specific networks to show/hide. If I do depot descriptions, I'll put them in that pop-up so you can view them while deciding which networks to show.
For now, I have added the network ID to each depot's button on the depots tab. I will also be adding the network ID to every object I can think of where it would be useful (stations, history, alerts, etc).

The new stations tab has the network ID as a column again. Additionally, the text search will match against whichever column you're currently sorting by. So you can search network IDs by selecting that column's title, then typing in the search box. :D

The new stations tab has the network ID as a column again. Additionally, the text search will match against whichever column you're currently sorting by. So you can search network IDs by selecting that column's title, then typing in the search box. :D
A fun feature from a technical point, but it seems counter intuitive allowing ID search in search field when there's a dedicated ID search field.
Without reading this I certainly would have wondered why search doesn't return "Coal Mine 2" in Network 1 when searching for "2" while having sorted by ID.

Additionally, how would search behave if ID is set to 1 and you search for 2?

A fun feature from a technical point, but it seems counter intuitive allowing ID search in search field when there's a dedicated ID search field.

Dafuq, somehow I managed to forget that that existed... wow.

To me the expected behavior of the search field would be to search in station name, provided/requested and shipments regardless of which column is sorted by.

After talking to you on Discord, you're right. This search implementation is completely borked. Time to do it again! :(

This was done in v0.4.


EPEERINVALID on installation

Bug, feature request, or proposal:
If those are my options it's a bug.
This fails with EPEERINVALID using Node v4.4.7 and that has npm 2.15.8:
install --save @angular2-material/core @angular2-material/button @angular2-material/card
What is the expected behavior?
Clearly, that installation should succeed.
What is the current behavior?
It don't.
What are the steps to reproduce?
See bug description.

Yesterday they updated everything to RC4 and are using latest version of the angular-cli, so maybe if you recreate package.json these errors go away. Otherwise just make sure that your angular installation is updated and simply ignore the version mismatch in the material packages (EPEERINVALID).
During alpha some components will have some outdated dependencies but they will be updated over time as someone is able to test is the changes doesn't break anything.
TL; DR
Its just a matter of time to get the installation without any errors/warnings, but if your angular installation is OK you can just ignore them for now...

You likely can ignore peer dependency errors (they really should be warnings), or install the @next version.


clair: 4.1.1 -> 4.1.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/quay/clair/releases.
meta.description for clair is: "Vulnerability Static Analysis for Containers"
meta.homepage for clair is: "https://github.com/quay/clair"
meta.changelog for clair is: "https://github.com/quay/clair/blob/v4.1.2/CHANGELOG.md"
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2/bin/clair passed the binary check.

/nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2/bin/clairctl passed the binary check.

/nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2/bin/.clair-wrapped passed the binary check.

3 of 3 passed binary check by having a zero exit code.

2 of 3 passed binary check by having the new version present in output.

found 4.1.2 with grep in /nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2

found 4.1.2 in filename of file in /nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2

directory tree listing: https://gist.github.com/226ab83e3dd824ab5bfd11630cab1764

du listing: https://gist.github.com/70f01cbbb70e55c9898e23e4994e7508

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
clair

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A clair https://github.com/r-ryantm/nixpkgs/archive/642dcea50876f687f50bd73788451c3ab7485a11.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2
ls -la /nix/store/c5zkd2r4vkyflk2v4kqns7l670hpcxvj-clair-4.1.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

clair

Maintainer pings
cc @marsam @kalbasit for testing.

Result of nixpkgs-review pr 132971 run on x86_64-linux 1

1 package built:

clair


runtime PORT env var not being respected for typescript

🐛 Bug report
Current Behavior
runtime env var PORT does not work after building the project
Expected behavior
build time var is replacing process.env.PORT as static value and runtime prod env PORT is not respected
Reproducible example
https://github.com/aquadesk/with-typescript
Suggested solution(s)
not sure
Additional context
PORT=3001 yarn build

PORT=3002 yarn start:prod
yarn run v1.22.11
$ NODE_ENV=production node build/server.js
> App started http://localhost:3001

Your environment

Software
Version(s)

Razzle
4.1.0

Razzle Plugins
none

Node
14

Browser
N/A

npm/Yarn
1.22.11

Operating System
macos

TypeScript
4.0.3

React
17.0.1

  "name": "razzle-examples-with-typescript",
  "version": "4.1.0",
  "license": "MIT",
  "scripts": {
    "start:tsc": "tsc -b -w --preserveWatchOutput",
    "start": "concurrently \"yarn start:tsc\" \"razzle start\"",
    "build": "tsc -b && razzle build",
    "test": "razzle test --env=jsdom",
    "start:prod": "NODE_ENV=production node build/server.js"
  },
  "dependencies": {
    "express": "^4.17.1",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-router-dom": "^5.1.4"
  },
  "devDependencies": {
    "@testing-library/dom": "^7.29.4",
    "@testing-library/jest-dom": "^5.5.0",
    "@testing-library/react": "^10.0.3",
    "@testing-library/user-event": "^10.1.0",
    "@types/express": "^4.17.6",
    "@types/jest": "^25.2.1",
    "@types/node": "^13.13.2",
    "@types/react": "^16.9.34",
    "@types/react-dom": "^16.9.6",
    "@types/react-router-dom": "^5.1.4",
    "@types/webpack-env": "^1.15.2",
    "babel-preset-razzle": "4.1.0",
    "concurrently": "^5.3.0",
    "cross-env": "^7.0.3",
    "html-webpack-plugin": "^4.5.2",
    "mini-css-extract-plugin": "^0.9.0",
    "razzle": "^4.1.0",
    "razzle-dev-utils": "^4.1.0",
    "typescript": "^4.0.3",
    "webpack": "^4.44.1",
    "webpack-dev-server": "^3.11.2"
  }

https://razzlejs.org/docs/customization
forceRuntimeEnvVars

@fivethreeo  Hey, thanks for the comment.
I tried it and it does not work.
I've updated the github repo.
"use strict";

module.exports = {
  options: { verbose: true, forceRuntimeEnvVars: ["POST", "HOST"] },
};

POST? ;)

OH NO!! sorry!


gmock and gtest targets are required even with BUILD_TESTING OFF

Does this issue affect the google-cloud-cpp project?
Yes.
What component of google-cloud-cpp is this related to?
The entire project, but I am testing with pubsub.
Describe the bug
When using CMake's FetchContent in order to fetch google-cloud-cpp, it attempts to export gmock and test targets even when building with BUILD_TESTING=OFF.
To Reproduce Steps to reproduce the behavior:
Add the following to your CMake project which has proper install commands already:
FetchContent_Declare(
  google-cloud-sdk
  URL https://github.com/googleapis/google-cloud-cpp/archive/${google_cloud_version}.tar.gz
)

set(BUILD_TESTING OFF)
set(GOOGLE_CLOUD_CPP_ENABLE_EXAMPLES OFF)
set(GOOGLE_CLOUD_CPP_ENABLE "pubsub")

FetchContent_MakeAvailable(google-cloud-sdk)

You will get the following errors:
CMake Error: install(EXPORT "google_cloud_cpp_mocks-targets" ...) includes target "google_cloud_cpp_mocks" which requires target "gmock_main" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_mocks-targets" ...) includes target "google_cloud_cpp_mocks" which requires target "gmock" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_mocks-targets" ...) includes target "google_cloud_cpp_mocks" which requires target "gtest" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_iam_mocks-targets" ...) includes target "google_cloud_cpp_iam_mocks" which requires target "gmock_main" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_iam_mocks-targets" ...) includes target "google_cloud_cpp_iam_mocks" which requires target "gmock" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_iam_mocks-targets" ...) includes target "google_cloud_cpp_iam_mocks" which requires target "gtest" that is not in any export set.
CMake Error: install(EXPORT "pubsub_mocks-targets" ...) includes target "google_cloud_cpp_pubsub_mocks" which requires target "gmock_main" that is not in any export set.
CMake Error: install(EXPORT "pubsub_mocks-targets" ...) includes target "google_cloud_cpp_pubsub_mocks" which requires target "gmock" that is not in any export set.
CMake Error: install(EXPORT "pubsub_mocks-targets" ...) includes target "google_cloud_cpp_pubsub_mocks" which requires target "gtest" that is not in any export set.

Expected behavior
No errors. I expect BUILD_TESTING=OFF to not export any target related to testing.
Operating system:
macOS Sonoma 14.1.2 (23B92)
What compiler and version are you using?
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>.5)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

What version of google-cloud-cpp are you using?
v2.21.0

Hey, thanks for the detailed and concise bug report. I agree with your assessment of the problem. It is weird that we try to install mock libraries which depend on GoogleTest when -DBUILD_TESTING is off. This is discussed some in #13550. I think the fix will look like opting-in to installing the mocks.

Add the following to your CMake project which has proper install commands already:

I want to reproduce the error, so I can know if a fix actually works. But I am struggling. (FetchContent is new to me). Can you help point out where our builds differ? Probably in the CMakeLists.txt or in the cmake build commands...
I tried the following self-contained Dockerfile (that uses debian 12):
# syntax=docker/dockerfile:1.3-labs
# test using
#   docker buildx build --progress plain -t repro - <Dockerfile

FROM debian:bookworm

RUN apt-get update && \
    apt-get --no-install-recommends install -y apt-transport-https apt-utils \
        automake build-essential ca-certificates cmake curl git \
        gcc g++ m4 make ninja-build pkg-config tar wget zlib1g-dev

RUN apt-get update && \
    apt-get --no-install-recommends install -y \
        libabsl-dev \
        libprotobuf-dev protobuf-compiler \
        libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \
        libcurl4-openssl-dev libssl-dev nlohmann-json3-dev

WORKDIR /w
RUN cat >quickstart.cc <<_EOF_
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "google/cloud/pubsub/publisher.h"
#include <iostream>

int main(int argc, char* argv[]) try {
  if (argc != 3) {
    std::cerr << "Usage: " << argv[0] << " <project-id> <topic-id>\n";
    return 1;
  }

  std::string const project_id = argv[1];
  std::string const topic_id = argv[2];

  // Create a namespace alias to make the code easier to read.
  namespace pubsub = ::google::cloud::pubsub;

  auto publisher = pubsub::Publisher(
      pubsub::MakePublisherConnection(pubsub::Topic(project_id, topic_id)));
  auto id =
      publisher
          .Publish(pubsub::MessageBuilder{}.SetData("Hello World!").Build())
          .get();
  if (!id) throw std::move(id).status();
  std::cout << "Hello World published with id=" << *id << "\n";

  return 0;
} catch (google::cloud::Status const& status) {
  std::cerr << "google::cloud::Status thrown: " << status << "\n";
  return 1;
}
_EOF_

RUN cat >CMakeLists.txt <<'_EOF_'
cmake_minimum_required(VERSION 3.10...3.24)
project(google-cloud-cpp-pubsub-quickstart CXX)

include(FetchContent)
set(google_cloud_version "v2.21.0")
FetchContent_Declare(
  google-cloud-sdk
  URL https://github.com/googleapis/google-cloud-cpp/archive/${google_cloud_version}.tar.gz
)

set(BUILD_TESTING OFF)
set(GOOGLE_CLOUD_CPP_ENABLE_EXAMPLES OFF)
set(GOOGLE_CLOUD_CPP_ENABLE "pubsub")

FetchContent_MakeAvailable(google-cloud-sdk)

add_executable(quickstart quickstart.cc)
target_link_libraries(quickstart google-cloud-cpp::pubsub)
_EOF_

RUN cmake -G Ninja -S . -B cmake-out && \
    cmake --build cmake-out --target install

RUN cmake-out/quickstart || true

^ The above is in a file called Dockerfile. Then to test, I run: docker buildx build --progress plain -t repro - <Dockerfile

@dbolduc giving it a shot, let me see

It was a bit of a head scratcher but I think I know. I think abseil is also exporting the targets and that's why it's not erroring per say, but it is installing the gmock's into /usr/local/lib. I'll reproduce.

I think there's something deep in the dependency tree @dbolduc that causes it to not error, yet still show you that the mocks are being installed. I tried playing with this list:
RUN apt-get update && \
    apt-get --no-install-recommends install -y \
        libabsl-dev \
        libprotobuf-dev protobuf-compiler \
        libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \
        libcurl4-openssl-dev libssl-dev nlohmann-json3-dev

by removing abseil and also fetching it:
include(FetchContent)

# fetching abseil
set(abseil_version "20230802.1")
FetchContent_Declare(
  absl
  GIT_REPOSITORY https://github.com/abseil/abseil-cpp
  GIT_TAG ${abseil_version}
  OVERRIDE_FIND_PACKAGE
)

set(ABSL_PROPAGATE_CXX_STD ON)
set(ABSL_BUILD_TESTING OFF)
set(ABSL_ENABLE_INSTALL ON)

FetchContent_MakeAvailable(absl)

# fetching google cloud sdk
set(google_cloud_version "v2.21.0")
FetchContent_Declare(
  google-cloud-sdk
  URL https://github.com/googleapis/google-cloud-cpp/archive/${google_cloud_version}.tar.gz
)

set(BUILD_TESTING OFF)
set(GOOGLE_CLOUD_CPP_ENABLE_EXAMPLES OFF)
set(GOOGLE_CLOUD_CPP_ENABLE "pubsub")

FetchContent_MakeAvailable(google-cloud-sdk)

As well as adding install export statements:
# executable config
add_executable(quickstart quickstart.cc)
target_link_libraries(quickstart google-cloud-cpp::pubsub)

install(TARGETS quickstart EXPORT quickstart-targets)

install(EXPORT quickstart-targets
  DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_LIB_NAME}
  NAMESPACE quickstart::
)

But that is still not showing me gtest/gmock libs being installed on your demo test. Yet the project I am working on (closed source) has the error I noted on the ticket, and you can see it does get installed:
~/git/Backend master ⇣ ❯ sudo cmake --install build | grep -E "gtest|gmock"                                                                                05:55:53 PM
Password:
-- Installing: /usr/local/lib/libgmockd.1.12.1.dylib
-- Installing: /usr/local/lib/libgmock_maind.1.12.1.dylib
-- Installing: /usr/local/lib/libgtestd.1.12.1.dylib
-- Installing: /usr/local/lib/libgtest_maind.1.12.1.dylib

Where they are being installed because I added that code in order to get around this:
CMake Error: install(EXPORT "google_cloud_cpp_mocks-targets" ...) includes target "google_cloud_cpp_mocks" which requires target "gmock_main" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_mocks-targets" ...) includes target "google_cloud_cpp_mocks" which requires target "gmock" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_mocks-targets" ...) includes target "google_cloud_cpp_mocks" which requires target "gtest" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_iam_mocks-targets" ...) includes target "google_cloud_cpp_iam_mocks" which requires target "gmock_main" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_iam_mocks-targets" ...) includes target "google_cloud_cpp_iam_mocks" which requires target "gmock" that is not in any export set.
CMake Error: install(EXPORT "google_cloud_cpp_iam_mocks-targets" ...) includes target "google_cloud_cpp_iam_mocks" which requires target "gtest" that is not in any export set.
CMake Error: install(EXPORT "pubsub_mocks-targets" ...) includes target "google_cloud_cpp_pubsub_mocks" which requires target "gmock_main" that is not in any export set.
CMake Error: install(EXPORT "pubsub_mocks-targets" ...) includes target "google_cloud_cpp_pubsub_mocks" which requires target "gmock" that is not in any export set.
CMake Error: install(EXPORT "pubsub_mocks-targets" ...) includes target "google_cloud_cpp_pubsub_mocks" which requires target "gtest" that is not in any export set.

My guess is that if the example above also adds fetch content for grpc and protobuf, which would match what I currently have, would reproduce it.
With that being said, the example you made does show that the mocks are being installed. By aiming for the goal of removing the mock installation when building with BUILD_TESTING=OFF, it'll achieve the same goal.

My guess is that if the example above also adds fetch content for grpc and protobuf

I tried, and I gave up trying to make google-cloud-cpp build with gRPC using FetchContent().
Aside 1: we recommend package managers like vcpkg over FetchContent() to avoid these sorts of problems. https://github.com/googleapis/google-cloud-cpp/blob/v2.21.0/doc/public-api.md#unsupported-use-cases
Aside 2: we use this CMake module internally. You might find it interesting: https://github.com/googleapis/google-cloud-cpp/blob/main/cmake/FindGMockWithTargets.cmake

Yet the project I am working on (closed source) has the error I noted on the ticket

I am sure, although I could not reproduce the error.

By aiming for the goal of removing the mock installation when building with BUILD_TESTING=OFF, it'll achieve the same goal.

Right. I agree that that would fix your problem. I do not think we can change our defaults, for backwards compatibility reasons.
I am thinking about adding another flag to explicitly turn off installation of the mocks. I opened #13673, but I want to get feedback from other maintainers before making any promises that it will get merged.

Agreed, and sounds fair to me. Thanks!

@anthonyalayo - Thanks again for the report. I think you saw #13673 go through. FYI, we are planning to release v2.22.0 of google-cloud-cpp which will contain the new flag on 2024-03-04.
The team discussed adding a build that uses FetchContent() so we can try to break your use case less in the future :sweat_smile:. I got about this far, before deciding that I must be doing something wrong:
include(FetchContent)
# Abseil
set(abseil_version "20230802.1")
FetchContent_Declare(
  absl
  GIT_REPOSITORY https://github.com/abseil/abseil-cpp
  GIT_TAG ${abseil_version}
  OVERRIDE_FIND_PACKAGE
)

set(ABSL_PROPAGATE_CXX_STD ON)
set(ABSL_BUILD_TESTING OFF)
set(ABSL_ENABLE_INSTALL ON)

FetchContent_MakeAvailable(absl)

# Protobuf
set(protobuf_version "v25.3")
FetchContent_Declare(
  protobuf
  GIT_REPOSITORY https://github.com/protocolbuffers/protobuf
  GIT_TAG ${protobuf_version}
  OVERRIDE_FIND_PACKAGE
)

set(protobuf_BUILD_TESTS OFF)
set(protobuf_INSTALL ON)
set(protobuf_ABSL_PROVIDER package)

FetchContent_MakeAvailable(protobuf)

# gRPC
set(grpc_version "v1.61.1")
FetchContent_Declare(
  grpc
  GIT_REPOSITORY https://github.com/grpc/grpc
  GIT_TAG ${grpc_version}
  OVERRIDE_FIND_PACKAGE
)

set(BUILD_SHARED_LIBS ON)
set(gRPC_BUILD_TESTS OFF)
set(gRPC_INSTALL ON)
set(gRPC_ABSL_PROVIDER package)
set(gRPC_CARES_PROVIDER package)
set(gRPC_PROTOBUF_PROVIDER package)
set(gRPC_RE2_PROVIDER package)
set(gRPC_SSL_PROVIDER package)
set(gRPC_ZLIB_PROVIDER package)
set(protobuf_BUILD_PROTOBUF_BINARIES OFF)

FetchContent_MakeAvailable(grpc)

add_library(gRPC::grpc++ ALIAS grpc++)
add_library(gRPC::grpc ALIAS grpc)
add_executable(gRPC::grpc_cpp_plugin ALIAS grpc_cpp_plugin)
# I must be doing something wrong...
# I thought these targets would get installed into gRPCTargets:
# https://github.com/grpc/grpc/blob/5174569c4d3352112848f1b86ba259425db939cf/CMakeLists.txt#L3591-L3598
# Maybe gRPC_INSTALL is OFF?
# https://github.com/grpc/grpc/blob/5174569c4d3352112848f1b86ba259425db939cf/CMakeLists.txt#L50-L56
install(TARGETS upb_json_lib upb_textformat_lib zlibstatic gpr ssl crypto address_sorting grpc++ grpc grpc_cpp_plugin EXPORT dbolduc-grpc-targets)
#install(TARGETS grpc++ grpc_cpp_plugin EXPORT dbolduc-grpc-targets)

# Cloud C++
find_package(Threads REQUIRED)
set(google_cloud_version "v2.21.0")
FetchContent_Declare(
  google-cloud-sdk
  URL https://github.com/googleapis/google-cloud-cpp/archive/${google_cloud_version}.tar.gz
)

set(BUILD_TESTING OFF)
set(GOOGLE_CLOUD_CPP_ENABLE_EXAMPLES OFF)
set(GOOGLE_CLOUD_CPP_ENABLE "pubsub")

FetchContent_MakeAvailable(google-cloud-sdk)

@anthonyalayo - I know you said your CMakeLists.txt was closed source, but do you have any pointers on what flags you are setting? or which targets you are defining/exporting? (in order to build google-cloud-cpp, absl, protobuf, grpc). It would help us create a FetchContent() build.

@dbolduc I should be able to get a reproduction, let me try and get back to you on it


Sender configuration for each mailing template

Description
I have cases where different mailers shall be used depending on the mailing template. I can imagine shared configurations that might also be used depending on the connected storefront. Having shared mail configurations also adds better support for more customized mailing setups

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Lost in Guide.md

TL;DR : Can meteoric handles ionic components ?
I want to integrate meteoric in my project but I feel confuse about the framework. The guide show how to create template as well as routing with iron router but do not shows how to create ionics components. Hence I do not understand the purpose of meteoric.
For instance, If I want to display a list do I need  to :

make a reference of ionic in my code  `

 `

write a list, as seen in the the  ionic documentation  in my index.html
create a meteoric template associated with my list
?

Or can I do this inside meteoric ?

From the README:

It aims to be a complete port of Ionic’s Angular directives to Meteor Blaze templates.

Ionic components are Angular directives. Meteoric attempts to replicate Ionic's Angular directives using Blaze templates.
So instead of:
<ion-content>

Your content here

</ion-content>

You would write:
{{#ionContent}}

Your content here

{{/ionContent}}


Support a no-options install in the Debian Installer (fixes #255)

Fixes #255 (Debian Installer throws "undefined method `merge' for nil:NilClass").
The issue appears to have been introduced by 1ec80596afdaefad15f399a1eb29d000055e3e13, so it probably affected both v0.14.0 and v0.14.1. This handling logic already exists over in ubuntu.rb, I'm just applying it to the Debian installer here.

Thanks a lot!

released at v0.14.2

Thank you! And thanks for the point release, too, much appreciated.


add image creation

updated the project to make an image creation request for the animal superhero

I like the idea here! But we want to initially keep the chat example scoped to the text generation API's but will expand over time to the other API's.


.NET SDK problem (0xc000007b)

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Whenever I type dotnet on cmd to make sure everything is installed correctly, this error (0xc000007b) pops up stating the application was unable to start correctly.
Hope you can accommodate me!

Given that it is the first report I see of this type, I would guess corrupted install or machine. Try different machine or VM.

Closing as the thread has gone quiet. Please re-open if there is you are still having trouble and have additional information to provide.


CoreOS writable /opt/bin directory

How do you make the /opt/bin directory writeable on CoreOS stable without having to directly SSH into each machine before running the deploy?

cc @Smana , did you made a special coreos image, if yes is it documented?

Later we may want to use a different directory: #219


Select Radio button when anywhere in row pressed

Hello, I have used RadioForm and RadioButton in my app. In View, I'm showing multiple radio buttons. Radio Button is selecting only when I click on radio button or its Label/Text. But I want to select the radio button also when I click it's complete row view. How can I achieve this ?

@ShaikhKabeer
<RadioForm
labelStyle={{ width: '100%' }}
/>

No, it's not working. Can check my code below.
{this.props.companies && this.props.companies.length>0 ?
<RadioForm labelStyle={{ width: '100%' }} >
{this.props.companies.map((obj, i) => {
var that = this;
var is_selected = this.state.value1Index == i;
return (

<View key={i} style = {{flexDirection: 'row', alignItems:'flex-start',paddingTop : 10,paddingBottom : 10,paddingLeft : 10}}>
                <RadioButton
                  isSelected={is_selected}
                  obj={obj}
                  index={i}
                  buttonColor={'#0E4C8C'}
                  buttonInnerColor={'#e74c3c'}
                  buttonSize={5}
                  buttonOuterSize={15}
                  onPress={(value, index) => {
                    this.setState({value1:value})
                    this.setState({value1Index: index});
                  }}/>
              </View>
              <View style={{ borderBottomColor: 'lightgrey',borderBottomWidth: 1,}}></View>
              </View>
            )
          })}
        </RadioForm>:<View />}

@ShaikhKabeer  in ur case try to add  labelStyle={{ width: '100%' }}  to a <RadioButton .. />

Hey thanks @Antlitz , you solved my problem. Thank you so much man !!


Update .gitignore

test update

@Steven2208 What is that PR for?

@Vitalikl at the moment does not have utility, use it to create a newBranch


Added Lidar Python interface

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
This PR is part of this mete ticket https://github.com/ignitionrobotics/sdformat/issues/931
Require

https://github.com/ignitionrobotics/sdformat/pull/969

Summary
Added Lidar Python interface
Test it
from sdformat import Lidar

Lidar = Lidar()

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Codecov Report

Merging #973 (15bd5b0) into main (a3560f3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #973   +/-   ##
=======================================
  Coverage   66.66%   66.66%
=======================================
  Files           2        2
  Lines          27       27
=======================================
  Hits           18       18
  Misses          9        9

Continue to review full report at Codecov.

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


Add GPU support with CUDA

This PR will add GPU support using CUDA.

Checklist

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

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

All greens, ready for review @traversaro. Thanks!


Need link for Azure OpenAI fine-tuning request form

I think the following link need to be included in the prerequisite section of the document since users need to request for both OpenAI itself and fine-tuning.
Azure OpenAI fine-tuning request form: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/fine-tuning?pivots=programming-language-studio#prerequisites
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f4b0a2d0-5cc3-33ea-2173-f54dc1ad0666
Version Independent ID: 74f6e780-25f6-638d-8e4a-fe6c09662430
Content: How to customize a model with Azure OpenAI - Azure OpenAI
Content Source: articles/cognitive-services/openai/how-to/fine-tuning.md
Service: cognitive-services
Sub-service: openai
GitHub Login: @ChrisHMSFT
Microsoft Alias: chrhoder

@rsk800
Thanks for your feedback! We will investigate and update as appropriate.

@rsk800 the public docs are targeted at the external customer experience. We have internal guidance that provides different instructions for internal users of Azure OpenAI which I believe is what you are referencing. In this case it would cause more confusion to include guidance that is only intended for internal employees in the public docs.
I am going to close this out. Feel free to ping me directly if you have any questions.


River-web and Cluster Elasticsearch

Hello,
I have a ES cluster with 3 nodes.
In the file "riverweb.properties", is it possible to define more than one node ?
H.

Yes.
elasticsearch.hosts=host_a:9300,host_b:9300,host_c:9300


feature: Add ability to specify filetypes (extensions) to scan when using require("lazy").setup("plugins")

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
I like to use an alternative loader in lua to allow the usage of Teal. Teal uses the files extensions .tl. Lazy.nvim can only load plugin specs in .lua files.
Describe the solution you'd like
It would be nice to be able to specify additional filetypes / extensions when using require("lazy").setup("plugins"). Maybe something like require("lazy").setup("plugins", {filetypes = {"lua", "tl", "fnl"}).
Describe alternatives you've considered
I'm trying to find the mechanism lazy is using scan directories for .lua files and overwrite that function to scan for .lua and .tl files. This won't be a very clean solution, but it should work for my needs. Once I figure it out I'm going to try to publish my nvim config so other people can learn from the concept.
Additional context
No response

not interested in this


Rendering error in italian pdf if font is missing (IE9-11)

Link to PDF file (or attach file here):
_Informazioni sulle perfomance del team.pdf
Configuration:

Web browser and its version: IE9-11
Operating system and its version: Windows 10
PDF.js version: 1.4.20
Is an extension: no

Steps to reproduce the problem:

Not sure. Try to open the pdf when you don't have the font. (embeding it didn't help)

What is the expected behavior? Renders correctly.
What went wrong? see screenshot

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Renders correctly for me with Arch Linux, but I have manually installed Arial fonts before. According to Okular the TrueType Arial fonts are not embedded.

Updating the labels, since Arial isn't really a non-standard font ;-)

Operating system and its version: Windows 10

It seems kind of weird that the latest version of Windows wouldn't include standard fonts such as e.g. Arial.

It works on most Windows 10 and Windows 7 machines with all types of IE and Edge.
I'm assuming font problem because of the Italian special characters. And also because changing the font to Times New Roman solved the issue.

Hi Gentle people,
Could you make some investigation on this one?
Please let me know if you need any info about it.

I am using Window 7 + IE11  show the pdf is well

Closing IE11/Edge (non-Chromium-based) issues in response to #11211. Please note that, as outlined in https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support, only bugs which completely prevent the library and/or the default viewer from running will be accepted.


Is it possible to get intelliSense for variables in petite/vue?

Is it technically possible to get intelliSense between javascript variables and functions in the script tag and the variables used in the html?

{{ store.count }}

      <button @click="store.inc">increment</button>

When I hover in my p tag over store is it technically possible to get some feedback when hovering over as we would in an js file or .vue file?

You need config { "include": ["XXX/**/*.html"] } in tsconfig to enable intellisense for petite-vue in .html for now, but it may change, I'm thinking of adding an explicit setting for this.

That config and adding lang="ts" to my script tag solved this thank you for that, one remaining issue is typesccript inside script tags, as crazy as it may sound the way I plan to use petite/vue is the html will run trough a self made compiler which will strip types out of the html file. that way people who like using petite/vue still can take advantage of ts inside tags, I heard of different solutions like type="text/typescript" or type="tsm" but both seem not to work together with Volar's lang="ts"

If it can't working without lang="ts", you may missing "allowJs": true in tsconfig.
I can't say anything about the typescript support in .html, I'm not familiar with it. Technically volar can check type="text/typescript" or type="tsm" instead of lang="ts", but it may not change until the community agrees on the approach.

I guess I will for now create a fork of Volar and explore which changes need to be made for petite/vue & alpine people to have full TS support inside script tags. I would need to change exactly two things,
First: Allow TypeScript inside script tags,
Second: Even with lang="ts" I get completion in my html markup only from petite-vue functions like reactive so

 // intelliSense works fine.
<button @click="store.inc">{{store.count}}</button>
// with function variables not related to petite-vue I have no intelliSense
<button @click="handler">{{store.count}}</button>

Especially the last button example is giving me headages, for now only petite-vue functions have intelliSense inside markup I would really appreciate a quick link to some related repo file where I can then dig myself into the codebase and make the changes. Thanks

First: Allow TypeScript inside script tags,

Do you mean allow use TypeScript without lang="ts"? You can change default script tag langauge by replace ?? 'js' to ?? 'ts' here: https://github.com/johnsoncodehk/volar/blob/d2d3aa2cd53bc3c3ab1010a8f16db7ec153719e0/packages/vue-typescript/src/sourceFile.ts#L676

Second: Even with lang="ts" I get completion in my html markup only from petite-vue functions like reactive but not from functions and variable I create myself or import from some other library.

This is intentional, I just don't know of a way to bypass createApp to access variables, maybe you can add tests for your expected behaviors to https://github.com/johnsoncodehk/volar/tree/master/packages/vue-test-workspace/typeChecks, so I can reference it to fix.

Do you mean allow use TypeScript without lang="ts"? You can change default script tag langauge by replace ?? 'js' to ?? 'ts' here:

No lang="ts" is fine, the problem is it does not allow us to write typescript inside .html script tags.

No, lang="ts" is fine, the problem is it does not allow us to write typescript inside .html script tags.

It sounds like this is not something volar handles, volar only does type-checking, typescript compile needs to do on the petite-vue side.

Right, I don't even need to compile, I have my own version of petite(foked) which includes a custom compiler just made to remove typescript from .html files. All I need is allow Type Checking inside .html with lang="ts"

@ivanjeremic Okay I see you problem now, don't know can't write typescript in script tag with lang="ts" I thought it can. Will try to fix in next version.

Thanks, that would be awesome. If there is any chance autocomplete for functions and variables inside my html for non petite-vue related code would be very helpful too.
I will try to help with this repo as much as I can in the future because it solves my problems too.

Please try v0.38.1 and let me know if something not working to you.

TS error with lang="ts" should be from VSCode built-in vscode.html-language-features plugin and volar can't fix. You may need to consider disable vscode.html-language-features and let volar takeover language support for .html.

vscode.html-language-features

Thanks, I was now googeling around an was able to disable vscode.html-language-features which got rid of the error which is good now, but of course all the native autosuggestions for native attributes is now gone, is there any particular step I can take to bring them back trough Volar, or does it need to be reimplemented inside the Volar codebase?

Thanks, I was now googeling around an was able to disable vscode.html-language-features which got rid of the error which is good now, but of course all the native autosuggestions for native attributes is now gone, is there any particular step I can take to bring them back trough Volar, or does it need to be reimplemented inside the Volar codebase?

It should be supported in 0.38.3, please let me know if anything not working.

Thanks, I was now googeling around an was able to disable vscode.html-language-features which got rid of the error which is good now, but of course all the native autosuggestions for native attributes is now gone, is there any particular step I can take to bring them back trough Volar, or does it need to be reimplemented inside the Volar codebase?

It should be supported in 0.38.3, please let me know if anything not working.

Works now :)

It should be supported in 0.38.3, please let me know if anything not working.

TS is working fine now thanks! :) What I noticed is when I need a function inside my @click the autocomplete does not kick in ```html

<button @click="handler({name:'foo'})">Click

writing `handler(...)` inside `@click` does not suggest me `handler`.

This is a known issue, please track #1284.

I think we should re-open this issue because of this discord Discussion. https://discord.com/channels/793943652350427136/899997357649821716/1017470344090624064

Is the Discord linked above still open?  I tried to access it and couldn't reach the page.  I looking to find some documentation on how to setup VS Code so that I can get intellisense inside my html markup for all v-* directives (if that is even possible).

does not work, even this didn't help
"vue.server.petiteVue.supportHtmlFile": true,


Improvement/test standard geth error return scenarios

[x] Build test wrapper for geth errors using ginkgo

Design Scenarios for the following errors

[x] insufficient funds for transfer
[x] nonce too low
[x] known transaction|already known
[x] invalid sender
[x] tx fee exceeds the configured cap
[x] intrinsic gas too low
[x] exceeds block gas limit

Codecov Report

Merging #192 (6cd70a7) into main (c251619) will increase coverage by 1.76%.
The diff coverage is 31.30%.

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   19.69%   21.45%   +1.76%
==========================================
  Files          12       13       +1
  Lines        1599     1822     +223
==========================================
+ Hits          315      391      +76
- Misses       1253     1399     +146
- Partials       31       32       +1

Impacted Files
Coverage Δ

client/errors.go
31.30% <31.30%> (ø)

client/chainlink_models.go
0.00% <0.00%> (ø)

client/chainlink.go
61.02% <0.00%> (+0.63%)
:arrow_up:

config/config.go
66.97% <0.00%> (+1.25%)
:arrow_up:

Continue to review full report at Codecov.

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


Backstage 1.21.2

Nothing really important happened in this upgrade regarding the plugin. Tested and seems to work as before

The title of the MR + commit is wrong, please change it to 1.20.2 to avoid confusion! :)


Error: ENFILE: file table overflow and Too many open files in system

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/xmlking/spectacular
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.1.2
Describe the Bug
getting ENFILE: file table overflow error when I start my sveltekit service via turbo cli

Expected Behavior
trubo should not open too many files and cause all other apps also crash.
even after I stop the dev server and clone vscode, still see turbo process running

To Reproduce
get clone https://github.com/xmlking/spectacular

turbo run --filter=@spectacular/console dev

command to check top open files
lsof +D `pwd` | grep -w REG | awk '{ print $1,$7,$9 }' | sort -k 2 -r

Additional context
No response

even after I stop the dev server and clone vscode, still see turbo process running

This is the turbo daemon which lives between runs. Could you try disabling this by adding "daemon": false to your turbo.json?
Am I interpreting your lsof output correctly that the turbo process only has 3 files open? It seems a majority of the files opened are from your actual tasks executing. You could try to limit the amount of concurrent task execution with --concurrency=2.

Closing since there hasn't been a response. Please reopen if you're still encountering the issue!


new | pfe-readtime

Component name:

pfe-readtime

This component includes a JavaScript function that calculates the number of words inside the wrapper tag, and based on the average amount of words read per minute of 250, it divides the number of words by 250 and applies a floor function to approximate the number of minutes it would take to read.
Example, an article containing 2803 words divided by 250 is 11.212, and then rounding down using the floor function it should estimate 11 minutes.
Implementation Details

default slot should contain "minute read" which could be translated via google translate
If page builder passes in a custom string, it will be used instead

<pfe-readtime>minute read</pfe-readtime>
<pfe-readtime-wrapper> {{ contents of the article }} </pfe-readtime-wrapper>

should generate:

^ probably without the hyphen though?
Design specification

https://xd.adobe.com/view/7e8cb735-cb1c-44cb-5cdb-c2b98a608a2a-08bd/screen/dddd6403-7c0e-48d9-ab2e-d17fcb6b58df/specs/
This component can use this mixin to call typography styles:
@include pfe-typography(md, $type: "text", $use-local);

Accessibility

not sure that there are any accessibility requirements here? As long as a screen reader can read the text, we should be good

Interaction
No interaction.
Analytics
No Analytics.

@coreyvickery @dcaryll Do we need the hyphen between the number and the words?

@starryeyez024 Yes, we need the hyphen.

@coreyvickery  sorry I should have asked this the first time, is that true of all languages? Or is that just part of the English? So the string would be -minute read and that would get sent through translations (this is ok, just making sure).

@starryeyez024 I would say that we should keep the hyphen for non-Asian languages, but I'm no expert. I wonder who we could ask in the meantime, if it's worth clarifying.

<pfe-readtime-wrapper> {{ contents of the article }} </pfe-readtime-wrapper> <- we shouldn't need this, just need a pointer to where the content lives via API

Suggestion target-id or something like that to point to the readtime content

Completed!  https://patternflyelements.com/elements/pfe-readtime/demo/
We do need to add a docs reference for it to show up on patternflyelements.com though.


Ionic doesn't install from npm

Hi I am a huge fan of ionic and use it all the time for building mobile apps as I don't own a Mac.
Recently I noticed that I couldn't update ionic so that I could use the newer version that utilised webpack instead of rollup. Due to the fact that the app-generator folder is not present in the npm repository.
So I ended up uninstalling it and cleaning my npm cache and trying to reinstall it but again I had the same issue. Which means that I know can't use it.
I have also made sure to update my version of npm and node like I was told to in the issue that was created in the app-scripts repository however that fix did not work and the issue appears to have been closed prematurely despite the fact that other users seem to have a similar issue.
Am I just missing something obvious, or has this issue already been corrected? I just want to know so that I can continue using this awesome tool, thank you :)

Hello, thanks for using ionic! Can you make sure that your package.json looks like ours? Also could you post your apps repo here so that I can give it a test? Thanks!

This part seems to be the most obvious difference
"dependencies": {     "@ionic/storage": "^1.0.3",     "ionic-angular": "^2.0.0-rc.0",     "ionic-native": "^2.0.3",     "ionicons": "^3.0.0"   },
and this
 "scripts": {     "build": "ionic-app-scripts build",     "watch": "ionic-app-scripts watch",     "serve:before": "watch",     "emulate:before": "build",     "deploy:before": "build",     "build:before": "build",     "run:before": "build"   },
also I do not have the private field within the package.json field set like you do
and here is the link to the repository :) https://gitlab.com/Ulfasaar/your-obliged
On a side note this problem does affect my global installation of the CLI as well, so that means that after I uninstalled it I can't install it again meaning that I can't build anything with ionic at the moment outside
of using the creator :(

Hi @Ulfasaar! I'm not super familiar with Gitlab, so I could be missing it, but I'm not able to see any files there. Also, what issue did you report that got closed?

I'm terribly sorry about that I haven't done any open source stuff yet so I've never noticed that before  I'm sure you will be able to clone the repository though or if you prefer I can upload a zip file of it or put it on GitHub as well. The issue I mentioned was opened by another user. Heres the link to it :) https://github.com/driftyco/ionic-cli/issues/1416

@Ulfasaar Hmm I don't see any options to clone that repository. Maybe it is set to private? Thanks for the issue!
Could you run the following commands in your project and paste the output here?
ionic info
npm -v
node -v

Thanks :)

Hey sorry about that Gitlab is very inconsistent between their mobile version and their desktop one. The mobile one says available to clone or something along those lines. If you are still interested in cloning it
just run git clone https://gitlab.com/Ulfasaar/your-obliged.git  in the command line and it should work.
Here's the result of the commands you wanted me to try
C:\Users\Ryan\Source\Repos\your-obliged\project>ionic info
'ionic' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Ryan\Source\Repos\your-obliged\project>npm -v
3.10.9

C:\Users\Ryan\Source\Repos\your-obliged\project>node -v
v4.6.0

As you can see I do not currently have ionic installed and when I tried to install it I get this error message
C:\Users\Ryan\Source\Repos\your-obliged\project>npm install ionic -g
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Ryan\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "ionic" "-g"
npm ERR! node v4.6.0
npm ERR! npm  v3.10.9
npm ERR! code E404

npm ERR! 404 no such package available : @ionic/app-generators
npm ERR! 404
npm ERR! 404  '@ionic/app-generators' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'ionic'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!      I have a caching server running on my laptop called Sinopia, which doesn't support scoped packages.
So to solve my problem all I had to do was run
npm config set @ionic:registry https://registry.npmjs.org/
and then install ionic and it worked like a charm :)

Thank you all very much for your time :D and I hope you have a great day

I'm have the same problem, how can I solve it...
Tried this npm config set @ionic:registry https://registry.npmjs.org/
but no luck

Hey CodePoetPro :) ,
Can you run ' npm get @ionic:registry ' for me and paste the result?
Also here's some other stuff you can try in the meantime
npm login --registry=https://registry.npmjs.org/
--scope=@ionic
According to the docs https://docs.npmjs.com/misc/scope
This should reset the registry of the packages scope to the public npm one after you logout and log back in to the npm client which you can do by running
npm logout
Followed by ' npm adduser '
Checkout https://docs.npmjs.com/cli/logout if you want to read more info about the login system.
Also if you haven't already I would suggest swapping from Sinopia to Yarn because Sinopia is no longer being actively maintained whilst Yarn is being managed by Facebook if your just looking for something to cache your packages so you don't have to redownload them all the time :) like me.
I ran npm get @ionic:registry and the output was https://registry.npmjs.org/
I also tried the other commands but it kept outputting the same error.


My app is getting crashed when I added firebase-ui-firestore dependancy, the logcat says class not found exception. What could be the possible solution?

Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a GitHub issue.
For general technical questions, post a question on StackOverflow tagged appropriately.
For general Firebase discussion, use the firebase-talk google group
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

Android device: _____
Android OS version: _____
Google Play Services version: _____
Firebase/Play Services SDK version: _____
FirebaseUI version: ____

Step 3: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, logcat output, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem

@ChandraKishore6 please follow the issue template when filing issues.  Based on the title it doesn't sound like this is a FirebaseUI issue, so closing it.


Autocomplete for Reference doesn't seem to work

Describe the bug
Autocomplete for entries lies in the bibliography doesn't work perfectly. It seems like @ won't trigger an autocomplete, but only when typing the full name we will have autocomplete.

Seems like the trigger for autocomplete is not correct?

This is because when there is an error in the document, the compiled document of lsp is set to None.
To fix it, I'll make it autocomplete with latest successfully compiled document regardless of errors in documents.

The above PR should fix it. If you would like to use a nightly tinymist, you can download and install the extension attached in https://github.com/Myriad-Dreamin/tinymist/actions/runs/8321293973.

That's really quick! Thanks!

windows defender report https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.B!ml&threatid=2147735503 if download the artifact not in vsix......don't know whether that might be interesting for you?

windows defender report https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.B!ml&threatid=2147735503 if download the non-vsix version of artifact ......don't know whether that might be interesting for you?

It also reports tinymist.vsix as virus on my computer 😿

Oh 😂 how can a lsp server be considered as virus


Typo in available templates section

In the section available templates under Global it lists "ISO 27001:2019" but it should be "ISO 27701:2019"

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

ID: a406f24f-e0c1-9143-9130-ce0459a66235
Version Independent ID: e040197a-12cc-281a-d75d-16395b24c46f
Content: Microsoft Compliance Score (preview) templates - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/compliance-score-templates.md
Service: o365-seccomp
GitHub Login: @chvukosw
Microsoft Alias: chvukosw

Thank you - this will be corrected before the end of today.


Merge rc-2.19 into master

@handavid we had to revert your change in rc219 since it has compile error (https://github.com/hortonworks/cloudbreak/pull/7503)

ok. I'll close this and fix that one.


The WebSocket Sharp version might mistakenly be an old prerelease version

I was trying to develop something using VTS-Sharp and WebSocket Sharp. Initially, I was having problems with WebSocket Sharp classes that couldn't be found and I'd thought that maybe you'd stripped out all the stuff you didn't need from WebSocket Sharp.
So I installed WebSocket Sharp myself, from https://www.nuget.org/packages/WebSocketSharp with the NuGet command line since I didn't really want to install and try and figure out MonoDevelop just to build it from source. Unfortunately, the most recent version on NuGet is pretty old anyway, from back in July 2016, but it seemed to have the classes that I thought were missing (version 1.0.3-rc11 appears to be up to and including this commit https://github.com/sta/websocket-sharp/commit/c044fdc4d057fab99c92e8d5809c088476b1225a).
Installing version 1.0.3-rc11 with NuGet and replacing the existing websocket-sharp.dll in my Unity project with that version gave a bunch of errors with the VTS-Sharp code.
I noticed in particular that WebSocketSharpImpl.cs was trying to use WebSocketState.CONNECTING, but that was changed to PascalCase in March 2014: https://github.com/sta/websocket-sharp/commit/d632fc839fc378af77af3cb9b77318953acb473f leading me to guess that you're using a prerelease version older than that.
It could be that the newer versions have some issues that I don't know about or that you have other reasons for using the chosen version of WebSocket Sharp, but I thought it was a bit odd so thought it was worth pointing out.
The old version isn't stopping me from developing or anything since I can look back at all the old code on github and so far it's mostly just changed class names that I've been running into, so feel free to close this issue.

Guilty as charged; I didn't feel like rebuilding a DLL so I re-used the one I had on hand from an earlier project. I'm interested to know more about: I was having problems with WebSocket Sharp classes that couldn't be found. Classes being referenced in the implementation, or additional classes you were trying to call yourself?
Does this library, as it is in the git right now, compile for you?

I was trying to use classes in my own code that had different names back in older versions of WebSocket Sharp.
This library works great so far (I haven't done much yet, but I'm sure it'll go great). I'm using the current version on the Unity Asset Store without issue now that I roughly know the WebSocket Sharp version.

Cool, cool. The Unity Asset Store and the git repo are currently on parity (though that will change soon as I have new API methods to add this weekend). Sorry for cutting corners!

Updated as of the Event API addition in version 1.7.0.


Composition operator confusion

I was confused momentarily when I tried to use HoleyMonoid with just
import Data.HoleyMonoid

until I realized that I had to also manually add
import Prelude hiding ((.))
import Control.Category ((.))

Perhaps it should be documented that (.) needs to be imported. I was thinking maybe it would even simply be best to use a new operator as an alias to avoid the name clash altogether. (The map name clash also seems unnecessary.)

Hi Franklin,
Thanks for your feedback! As far as I'm aware, the behaviour you describe is very common among Haskell libraries, and the preferred way to do it. To avoid clashes with common functions, such as map, it's customary to import a module in qualified fashion:
import qualified Data.HoleyMonoid as HM
Then you can write HM.map to distinguish it from the map from Prelude. The philosophy is that you should be able to name your functions whatever is appropriate in the module/library, without having to worry about other modules' names.