Nice! Would you release your implementation of the loss function?

I'm working on a relative article that use your great work, and would like to use your loss function.
Thanks in advance!

Hi!
Please see: https://gist.github.com/dvdhfnr/732c26b61a0e63a0abc8a5d769dbebd0

@dvdhfnr I implemented the loss by myself. I found that the range of prediction is unstable. It can be -3~8, -10~30, -200~1000, in differernt training attempts. I wonder if your met the problem when you trained the network. Thank you very much.

No, I did not met this problem. Did you scale/shift the target depths to [0, 10], as described in the paper?

@dvdhfnr I train my model on NYUDepthV2, and scale/shift the depth value by
mask  = target > 0
target[mask] = (target[mask] - target[mask].min()) / (target[mask].max() - target[mask].min()) * 9 + 1
target[mask] = 10. / target[mask]
target[~mask] = 0.

How did you scale/shift the depth map?
I have tried to use your loss code (image size = 224*288, and batch_size = 4), but got the following error:
*** RuntimeError: index 287 is out of bounds for dimension 0 with size 4

This error happens at the 22th line in midas_loss.py.
I use Python 3.7 and PyTorch 1.0.1.

@dvdhfnr I train my model on NYUDepthV2, and scale/shift the depth value by
mask  = target > 0
target[mask] = (target[mask] - target[mask].min()) / (target[mask].max() - target[mask].min()) * 9 + 1
target[mask] = 10. / target[mask]
target[~mask] = 0.

How did you scale/shift the depth map?
I have tried to use your loss code (image size = 224*288, and batch_size = 4), but got the following error:
THCudaCheck FAIL file=/pytorch/aten/src/THC/generated/../THCReduceAll.cuh line=317 error=59 : device-side assert triggered
*** RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THC/generated/../THCReduceAll.cuh:317

This error happens at the 22th line in midas_loss.py.
I use Python 3.7.1 and PyTorch 1.0.1.
PS: If I use Python 3.6, I get "*** RuntimeError: index 287 is out of bounds for dimension 0 with size 4"
So is there any problem with the code?

To be more precise:
"For all datasets, we shift and scale the ground-truth inverse depth to the range [0, 10]."

I test the provided midas_loss. It also leads to unstable output range. The output range is influenced by the initial weights.
I trained the network with different initial weights, and got the following results, in which the three numbers are the min, mean and max of prediction:

The predictions resemble the target inverse depths up to a scale and shift.

As @dvdhfnr mentioned: This is by construction, as the value of the loss is independent of the output scale. Thus the ranges are dependent on the initialization. If you need a fixed scale range, you could try to add a (scaled) sigmoid to the output activations. However,  this might change training behavior and you likely need a sensible initialization.

Hi! Please see: https://gist.github.com/dvdhfnr/732c26b61a0e63a0abc8a5d769dbebd0

Hi this link is failed, could you share a new one
Thanks.

To be more precise: "For all datasets, we shift and scale the ground-truth inverse depth to the range [0, 10]."

Hi, I found the  normalization range is [0, 1] in original paper, so which range is correct?

thx

For the latest version of the paper we used the range [0, 1] (https://arxiv.org/pdf/1907.01341v3.pdf, Page 7).
https://github.com/isl-org/MiDaS/issues/2#issuecomment-512181615 was referring to an earlier version.

@dvdhfnr Hi, did you use this loss function for MiDaS v3.0 as well?

@dvdhfnr @ranftlr Hi,
I want to know how did you rescale the ground truths depth to range [0,1].
As my understanding, the following steps are done:

Get the ground truth inverse depth
Normalize like this inverse_depth_normalization = (inverse_depth- inverse_depth.min()) / (inverse_depth.max() - inverse_depth.min())

Does my understanding right? if not, could you please tell us how do you do "For all datasets, we shift and scale the ground-truth inverse depth to the range [0, 1]."?
Thx.

@Twilight89
Same problem


Performance concern

https://github.com/esm7/obsidian-vimrc-support/blob/8ab389c73e98d5ff82d850656d4150a1ba4fb63c/main.ts#L79
Here you are reading and re-parsing the vimrc file whenever the user opens a file, or switches pane. Maybe there's a better way so it doesn't get loaded as often?

Hmm the plugin also doesn't gracefully unload and remove all the hooks that it has attached when the user disables the plugin.

Regarding the performance concern:

It's easy to have the vimrc file read only once, and build a parsed list of actions that get done on every new CM instance from that point onward. I didn't originally go down that road because it seemed to me like users' vimrc files are going to very short anyway, so I chose simplicity over an optimization that felt unneeded in practice. What do you think?
The fact this happens when switching a pane is completely redundant and I'll take care of it.

Re the unload, will fix ASAP.

Fair enough. I think that's fine then. You could add a small check for whether the file contents has changed since last parse, or stat the file and check for mtime change, but if they're short anyway then it's probably fine.


Feature Request (Maybe??) : Overwatch

Probably it's a SDK thing, so idk if you are going to be able to do it. But my request would be for the lights turn "off" or dimm it to a certain point if you get stunned by earthshatter or slept by Ana.

The overwatch effects are controller by the game and we have no way to get the information needed to do that, sorry!


Determine what e2e or testing frameworks to use for future improvements

As part of the refactor work: investigate and determine an end-to-end framework to use.

Thoughts collected here:
https://github.com/stellar/laboratory/discussions/582


[Snyk] Security upgrade django from 3.2.15 to 3.2.19

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.txt

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

551/1000  Why? Recently disclosed, Has a fix available, CVSS 5.3
Arbitrary File Upload SNYK-PYTHON-DJANGO-5496950
django:  3.2.15 -> 3.2.19
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

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

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

Codecov Report

Merging #347 (361c519) into develop (a626f55) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #347   +/-   ##
========================================
  Coverage    93.38%   93.38%
========================================
  Files          133      133
  Lines         4940     4940
  Branches       450      450
========================================
  Hits          4613     4613
  Misses         240      240
  Partials        87       87

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remove Documenter from Dependencies

Hi @kellino
not something the JOSS review depends upon, but I noticed that DiscreteEntropy installs Documenter when you do
] add DiscreteEntropy

because of
https://github.com/kellino/DiscreteEntropy.jl/blob/6963a95cf9ba19ad8fc5e8405bef402e07dde25b/Project.toml#L10
and
https://github.com/kellino/DiscreteEntropy.jl/blob/6963a95cf9ba19ad8fc5e8405bef402e07dde25b/Project.toml#L27
But Documenter should only be required for the project that builds the docs, so for the project defined by  docs/Project.toml/Manifest.toml.
I see that you used it also in the tests (doctests?), but then it should be sufficient to add it to the extras/targest section in Project.toml:
[extras]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Documenter"]

Also, your Docs say that Julia 1.11 is currently not supported, but Project.toml includes it:
https://github.com/kellino/DiscreteEntropy.jl/blob/6963a95cf9ba19ad8fc5e8405bef402e07dde25b/Project.toml#L36
Nothing terribly important, but for polishing ...

Fixed in 8811b18d0324ee310e368df9ad428c1ceedc726d


Allow multiple OR filters

Add support for multiple OR filters
This now supports full filters - and populates full list of filters with the filters passed in query,
ie. ?filters=a=b OR c=b&filters=b=x OR a=g will result in
 filters: [ {"or": { "a=b", "c=b"}},{"or": {"b=x", "a=g"}} ]
AB#9044

what does a litteral url look like with the query ? And does it need "\ " escapes to deal with the spacing ?

Yes spaces have to be URL'd so you end up with something like: /archivist/v1/events?filters=attributes.foo=bar%20OR%20trails=bad&filters=trails=XX%20OR%20attributes.xxx=XX


Wrong time zone for Karlsruhe, Germany

Location:  49.0068901 ; 8.4036527
Current time zone: America/Chicago
Correct time zone: Europe/Paris

I believe this should be Europe/Berlin, as it's in Germany.

Yes, sorry. I meant Europe/Berlin.
The original issue post should be:
Location: 49.0068901 ; 8.4036527
Current time zone: Europe/Paris
Correct time zone: Europe/Berlin


Cursor next record struct - refactor consideration

Currently, cursor->next expects a record struct to be passed in, which it populates with a record retrieved from the dictionary. This is cumbersome to the user, as they are expected to manually malloc the members of the struct. This also requires knowledge of how to retrieve the key and value size from within the dictionary.
Example:
        ion_record_t record;
        record.key      = (ion_key_t) malloc(dict.instance->record.key_size);
        record.value    = (ion_value_t) malloc(dict.instance->record.value_size);

        while(cursor->next(cursor, &record) != cs_end_of_results);

Proposal: Possible remove the need for the record struct, or develop a helper method to build the record for the user, or any other idea that might be a better option.

Issue moved to internal task tracker.


Clarify documentation

From the docs to the .Codes module, I see:

If module System.Console.ANSI is also imported, this module is intended to be imported qualified, to avoid name clashes with functions which return "" when Windows ANSI terminal support is emulated. e.g.

Which functions return "" when Windows is emulated? Is it suggesting the functions in Code? Or in the root module? I read this as implying that the code functions are impure and do terminal detection, which doesn't seem to be the case and would be horrid anyway.

It's referring to the root module, whose documentation says

On versions of Windows where the terminal in use is not ANSI-enabled, these codes will always be the empty string, so it is possible to use them portably for e.g. coloring console output on the understanding that you will only see colors if you are running on an operating system that is Unix-like or is a version of Windows where the terminal in use is ANSI- enabled.

Could you suggest a better wording? (or even submit a pr)

I'm still confused by what it even means... I thought on Windows, even without ANSI-enabled, you just poked at the console API. What function might return "" - I can't find one? I'll happily submit a PR once I clarify what it means.

On Windows systems without ANSI support, the Code functions defined in the top module return the empty string.
See e.g. the cursorUpCode definition in System.Console.ANSI.Windows and System.Console.ANSI.Windows.Emulator.Codes.

OK, I understand it now, thanks for the clarification. I'll write a PR for some docs, probably this weekend.

The changes made in #33 were intended to resolve this issue.


Devices dissapeared after v1.1.9 update.

Devices dissapeared after v1.1.9 update on HA. Unable to reinstall or find comfort cloud via the Home Assistant integration.
Core
2024.8.1
Supervisor
2024.08.0
Operating System
12.4
Frontend
20240809.0

@Filhgd are there any error logs?

2024-08-12 14:32:51.450 ERROR (SyncWorker_0) [homeassistant.loader] Error parsing manifest.json file at /config/custom_components/panasonic_cc/manifest.json: Input is a zero-length, empty document: line 1 column 1 (char 0)

Looks like your files are corrupted, redownload the integration using hacs or manually download the release package from here

@sockless-coding thank you. I had to do it manually. Automatic download via HA did not work. Now everything back connected 👍


Dynamically use ADO username in branch name

The current options are to use your github login (default) or override with -username param.
This would be to tell it to use whatever login/username you have in ADO.
Might not work because we use a PAT token... 🤷

Going to close as using the PAT token means that the username would be the PAT token holder's username


Guide Question about update

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
LLaMA-Factory 联手 Unsloth.AI，大幅提升长序列微调效率。对于 LLaMA2 7B 模型，4090 24G 单卡可微调长度从 18k 提高至 56k，80G 单卡可微调 200k 长文本，同时训练速度提升至 117%。通过 use_unsloth 指令或 Web 微调界面开启加速。
Can you give me a detail guideline to change the model from 18k to 56k?
Expected behavior
No response
System Info
No response
Others
No response

train model with --use_unsloth


[tool] Update description of where to install platforms in XCode

Fixes https://github.com/flutter/flutter/issues/156431

Victoria is OOO but this is minor enough that I'll approve.
test-exempt: Docs.


HTTP ERROR 500

http://goplay.az/skins/skins/
I choose a weapon for example five-seven , when choosing a skin (clicking on the skin) it gives an error
HTTP ERROR 500

root@zaur-Z10PA-D8-Series:~# sudo tail -f /var/log/apache2/error.log
[Tue Dec 03 00:03:34.929692 2024] [php:warn] [pid 382548] [client <IP_ADDRESS>:10157] PHP Warning:  Attempt to read property "image" on bool in /var/www/html/skins/skins/index.php on line 694, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:34.929732 2024] [php:warn] [pid 382548] [client <IP_ADDRESS>:10157] PHP Warning:  Attempt to read property "weapon_name" on bool in /var/www/html/skins/skins/index.php on line 694, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:34.929747 2024] [php:warn] [pid 382548] [client <IP_ADDRESS>:10157] PHP Warning:  Attempt to read property "agent_name" on bool in /var/www/html/skins/skins/index.php on line 700, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:42.814740 2024] [php:warn] [pid 382549] [client <IP_ADDRESS>:62218] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:46.402743 2024] [php:warn] [pid 382897] [client <IP_ADDRESS>:62245] PHP Warning:  Undefined property: stdClass::$weapon_name in /var/www/html/skins/skins/index.php on line 694, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:49.057120 2024] [php:error] [pid 382897] [client <IP_ADDRESS>:62245] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:50.331917 2024] [php:warn] [pid 382545] [client <IP_ADDRESS>:62246] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:03:59.201385 2024] [php:warn] [pid 382546] [client <IP_ADDRESS>:10175] PHP Warning:  Undefined property: stdClass::$weapon_name in /var/www/html/skins/skins/index.php on line 694, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:04:05.976653 2024] [php:error] [pid 382547] [client <IP_ADDRESS>:62256] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:04:08.516900 2024] [php:warn] [pid 382549] [client <IP_ADDRESS>:10181] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:07:42.906857 2024] [php:warn] [pid 382547] [client <IP_ADDRESS>:10297] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:07:45.261770 2024] [php:warn] [pid 382547] [client <IP_ADDRESS>:10297] PHP Warning:  Undefined property: stdClass::$weapon_name in /var/www/html/skins/skins/index.php on line 694, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:07:46.510803 2024] [php:error] [pid 384131] [client <IP_ADDRESS>:62370] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:07:48.664787 2024] [php:error] [pid 385455] [client <IP_ADDRESS>:10303] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:07:50.068580 2024] [php:error] [pid 382548] [client <IP_ADDRESS>:10307] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:07:54.804448 2024] [php:error] [pid 382897] [client <IP_ADDRESS>:10309] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:08:01.114695 2024] [php:warn] [pid 382546] [client <IP_ADDRESS>:10311] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:09:58.023782 2024] [php:warn] [pid 387014] [client <IP_ADDRESS>:62436] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:10:01.341877 2024] [php:warn] [pid 387014] [client <IP_ADDRESS>:62436] PHP Warning:  Undefined property: stdClass::$weapon_name in /var/www/html/skins/skins/index.php on line 694, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:10:02.595495 2024] [php:error] [pid 387014] [client <IP_ADDRESS>:62436] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:10:03.593765 2024] [php:warn] [pid 387022] [client <IP_ADDRESS>:10371] PHP Warning:  Undefined property: stdClass::$mvp in /var/www/html/skins/skins/index.php on line 373, referer: http://goplay.az/skins/skins/
[Tue Dec 03 00:20:02.603715 2024] [php:error] [pid 387030] [client <IP_ADDRESS>:53248] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000]: General error: 1364 Field 'weapon_team' doesn't have a default value in /var/www/html/skins/skins/index.php:146\nStack trace:\n#0 /var/www/html/skins/skins/index.php(146): PDOStatement->execute()\n#1 {main}\n  thrown in /var/www/html/skins/skins/index.php on line 146, referer: http://goplay.az/skins/skins/

solved with install old plugin version
https://github.com/Nereziel/cs2-WeaponPaints/releases/tag/build-297

you can find the fix here: https://github.com/haqoff/CS2-WeaponPaints-Website


Implemented paste action

Issue #36

Also, I don't think this code matches vscode's paste behaviour wrt trimming. But maybe let's file that as a follow-up issue. When we add tests for this action we can test that it matches VSCode on various edge cases

What about the trimming is not correct?


update pilot mesh config default

to sync with what is shipped in the /etc/istio/config/mesh file.  fixes:  https://github.com/istio/istio/issues/11909

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@linsun: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram fyi, this is our default /etc/istio/config/mesh file mounted to pilot pod.  I'm not proposing any changes, just to make them sync.
# Set the following variable to true to disable policy checks by the Mixer.
# Note that metrics will still be reported to the Mixer.
disablePolicyChecks: true

# Set enableTracing to false to disable request tracing.
enableTracing: true

# Set accessLogFile to empty string to disable access log.
accessLogFile: "/dev/stdout"

# If accessLogEncoding is TEXT, value will be used directly as the log format
# example: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%\n"
# If AccessLogEncoding is JSON, value will be parsed as map[string]string
# example: '{"start_time": "%START_TIME%", "req_method": "%REQ(:METHOD)%"}'
# Leave empty to use default log format
accessLogFormat: ""

# Set accessLogEncoding to JSON or TEXT to configure sidecar access log
accessLogEncoding: 'TEXT'
#
# Deprecated: mixer is using EDS
# Let Pilot give ingresses the public IP of the Istio ingressgateway
ingressService: istio-ingressgateway

# Unix Domain Socket through which envoy communicates with NodeAgent SDS to get
# key/cert for mTLS. Use secret-mount files instead of SDS if set to empty.
sdsUdsPath:

# This flag is used by secret discovery service(SDS).
# If set to true(prerequisite: https://kubernetes.io/docs/concepts/storage/volumes/#projected), Istio will inject volumes mount
# for k8s service account JWT, so that K8s API server mounts k8s service account JWT to envoy container, which
# will be used to generate key/cert eventually. This isn't supported for non-k8s case.
enableSdsTokenMount: false

# This flag is used by secret discovery service(SDS).
# If set to true, envoy will fetch normal k8s service account JWT from '/var/run/secrets/kubernetes.io/serviceaccount/token'
# (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod)
# and pass to sds server, which will be used to request key/cert eventually.
# this flag is ignored if enableSdsTokenMount is set.
# This isn't supported for non-k8s case.
sdsUseK8sSaJwt: false

# The trust domain corresponds to the trust root of a system.
# Refer to https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE-ID.md#21-trust-domain
trustDomain:

# Set the default behavior of the sidecar for handling outbound traffic from the application:
# REGISTRY_ONLY - restrict outbound traffic to services defined in the service registry as well
#   as those defined through ServiceEntries
# ALLOW_ANY - outbound traffic to unknown destinations will be allowed, in case there are no
#   services or ServiceEntries for the destination port
outboundTrafficPolicy:
  mode: REGISTRY_ONLY
defaultServiceExportTo:
  - "*"
defaultVirtualServiceExportTo:
  - "*"
defaultDestinationRuleExportTo:
  - "*"

defaultConfig:
  #
  # TCP connection timeout between Envoy & the application, and between Envoys.
  connectTimeout: 10s
  #
  ### ADVANCED SETTINGS #############
  # Where should envoy's configuration be stored in the istio-proxy container
  configPath: "/etc/istio/proxy"
  binaryPath: "/usr/local/bin/envoy"
  # The pseudo service name used for Envoy.
  serviceCluster: istio-proxy
  # These settings that determine how long an old Envoy
  # process should be kept alive after an occasional reload.
  drainDuration: 45s
  parentShutdownDuration: 1m0s
  #
  # The mode used to redirect inbound connections to Envoy. This setting
  # has no effect on outbound traffic: iptables REDIRECT is always used for
  # outbound connections.
  # If "REDIRECT", use iptables REDIRECT to NAT and redirect to Envoy.
  # The "REDIRECT" mode loses source addresses during redirection.
  # If "TPROXY", use iptables TPROXY to redirect to Envoy.
  # The "TPROXY" mode preserves both the source and destination IP
  # addresses and ports, so that they can be used for advanced filtering
  # and manipulation.
  # The "TPROXY" mode also configures the sidecar to run with the
  # CAP_NET_ADMIN capability, which is required to use TPROXY.
  #interceptionMode: REDIRECT
  #
  # Port where Envoy listens (on local host) for admin commands
  # You can exec into the istio-proxy container in a pod and
  # curl the admin port (curl http://localhost:15000/) to obtain
  # diagnostic information from Envoy. See
  # https://lyft.github.io/envoy/docs/operations/admin.html
  # for more details
  proxyAdminPort: 15000
  #
  # Set concurrency to a specific number to control the number of Proxy worker threads.
  # If set to 0 (default), then start worker thread for each CPU thread/core.
  concurrency: 0
  #
  tracing:
    zipkin:
      # Address of the Zipkin collector
      address: zipkin.istio-system:9411
  #
  # Mutual TLS authentication between sidecars and istio control plane.
  controlPlaneAuthPolicy: NONE
  #
  # Address where istio Pilot service is running
  discoveryAddress: istio-pilot.istio-system:15010```

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS [linsun]
pilot/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e_pilotv2_auth_sds.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
70a3ff956a2eeb8a1554c386914d829da3fa059a
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-unit-tests

prow/e2e-simpleTests-cni.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e_pilotv2_auth_sds.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
0cb84a8607d126beea679a79d6a84d196463f43d
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
d87f85be27bab479b0924c9af1cfc487d22a0f12
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wenchenglu can this be merged in 1.1?


Fix issue 14

Fix the bug with service not found. [Issue 14] (https://github.com/moberwasserlechner/capacitor-sms/issues/14).
Ref to https://stackoverflow.com/questions/62535856/intent-resolveactivity-returns-null-in-api-30

Thx I will release a new version later today


Fix a set of serialization and API issues for ArcsInstant

Fixes:

Add missing imports for ArcsInstant and ArcsDuration to code generation for Particles and Plans
Fix early parse failure in refinement and paxel numeric value in type annotation and unit (e.g. 12days would be parsed as 12d)
Improve conformance of non-jvm ArcsInstant and ArcsDuration APIs to jvm base
Fix up conversion of ArcsInstant to ReferencablePrimitive (add missing parameter)
Implement missing case for fromLiteral for DiscretePrimitiveNode
Improve error for refinement failure in StorageAdapter (Provide Schema information in error)

No description provided.

Would be good to list in the PR description was the issues were that you're fixing

The breakage seen here should be fixed by https://github.com/PolymerLabs/arcs/pull/6183

Pushing again after rebase (hoping to see tests pass internally this time)


feat: Allow parallel deploy

Just tested the demo and the test app and they both worked, even when sending transactions through Metamask and we didn't get nonce errors after redeploying.


Found an unknown transformation name cjs

I am trying to use ember ghost. I follow the instructions in the README.md and run the below command
npm install -g ember-cli

ember new super-blog
cd super-blog
ember install ember-ghost ember-ghost-casper-template

Now when I run npm start, I am getting the following error message.

Could not start watchman
Visit https://ember-cli.com/user-guide/#watchman for more info.
while import node_modules/downsize-cjs/index.js: found an unknown transformation name cjs. Available transformNames are: amd

@ishu3101 there seems to be a slight issue installing some dependencies just after the install of this addon
To fix this run:
ember install<EMAIL_ADDRESS>ember-cli-cjs-transform ember-cli-fastboot ember-moment

You should have seen at the bottom of the original install:
install addons<EMAIL_ADDRESS>ember-cli-cjs-transform, ember-cli-fastboot, ember-moment

but for some reason, this task didn't complete 🤔

@mansona The message did not show up at the bottom of the original install.
Now when I run npm start, I am getting this error message.

Error: You are using Ember Data with no host defined in your adapter. This will attempt to use the host of the FastBoot request, which is not configured for the current host of this request. Please set the hostWhitelist property for in your environment.js. FastBoot Error: The host header did not match a hostWhitelist entry.

@ishu3101 can you tell me what version of ember-ghost is in your package.json please. I should have already fixed that issue 🤔

@ishu3101 what are you using to view this app when it's running? are you going to https://localhost:4200?

I'm using Chrome. By default it is going to port 8080 ie: http://localhost:8080

I managed to get it working by adding
fastboot: {
      hostWhitelist: [process.env.C9_HOSTNAME]
},

to the ENV variable.
So it looks like this.
let ENV = {
...
 fastboot: {
      hostWhitelist: [process.env.C9_HOSTNAME]
 },
...
}

@ishu3101 thank you for answering all my questions. It's interesting that you're using Cloud9 and it's not working. I have a feeling that they are using some hostname internally (as you suggest with process.env.C9_HOSTNAME) that isn't covered by the automatic configuration rules.
I hope you don't mind but I'm going to close this issue because you're sorted now. I would love to know if there is a quickstart guide for me to try and recreate your setup so I can check if we can make this more straightforward for people in the future. Is there a quickstart guide that you were using for this AWS cloud9? (I used to use cloud9 a long time ago)

When you create a new workspace in Cloud9, you can select from a list of available work spaces which includes nodejs, python, rails, wordpress among others. So I just selected a node js workspace from the list after which Cloud9 sets up a node environment. After that I just followed the instructions in the Quick start guide in the README.md for this project and the issues I encountered along the way were mentioned above.


[Feature]: Further tuning and testing of VelocityController's PID

Description

newly tune PID around 14 m/s (~50km/h) with aim to hit target_velocity as closely as possible (overshooting is allowed to some degree)
Test different constant target velocities (5, 10, 20, 35 m/s)
Test switching between constant target velocities (5 -> 20, 20 -> 10 -> 5 etc.)
Test linearly changing target velocities

Definition of Done

PID is well tuned around 50km/h (14 m/s)
PID works for all testcases with max 1.5m/s error

PID is now tuned around workingpoint of 50km/h (14m/s) without overshooting (yippie) and nearly perfect driving at target velocity. Maximum error (after reaching 14m/s) is 0.05 m/s which are 0.18 km/h.

Tested new PID on different target velocities and got following results. Since the PID controller is linearised around 50km/h while the vehicle's velocity obviously is not linear, the results will always be imperfect the further you are from the working point.
In this case the newly tuned PID controller seems more than good enough for all velocities we may drive:

overshooting a little if target velocity is higher than 50km/h (maximum constant error /offset is 0.8 m/s = 2.88km/h at 100km/h)
undershooting if target velocity is lower than 50km/h (maximum constant error/offset is 0.5m/s = 1.8km/h at 10 km/h)

With braking controller now implemented, this issue will be finished soon aswell. Testing the whole of velocity control (throttle+braking) now on alternating velocities, and linearly changing ones.


Trying to compile with hidden visibility

We have exported many of ngraph API using NGRAPH_API macro. Let's try to compile with hidden visibility and see what else we need.
CC @ilyachur @slyalin

Who can merge this? :)


Firebase Hosting to Vercel

Due to #49
https://stackoverflow.com/questions/70992583/nextjs-api-routes-not-working-with-firebase-hosting

gonna solve with cloud functions


Install: Increased number of threads for make

Ok to test

ok to test

ok to test

ok to test

ok to test

ok to test

ok to test

ok to test

Final time (hopefully). Everything should pass now except for util tests (which are broken and have been disabled for future pull requests).
ok to test


Fix a minor spelling mistake in the README.md

This commit fixes a minor spelling mistakes on the Related Links section. It replaced teamblueprint/tempalates to teamblueprint/templates.

oh wow completely missed that

gib padow credits!!!!


Port over improvements from NonlinearSolve

[x] Fix all algorithms
[x] Pull out the @bb macro into a separate package so that we can use it in NonlinearSolve.jl https://github.com/JuliaRegistries/General/pull/95933
[x] Fix testing

Good to go for me. The batched solvers which were dropped from here, are working perfectly in the private BatchedArrays repo, so we need to wait for sometime to get a tutorial on that.

I'm calling this 1.0


Use voluptuous for Heatmiser

Description:
Migration of the configuration check to voluptuous.
Related issue (if applicable): fixes 127528299
Example entry for configuration.yaml (if applicable):
climate:
  - platform: heatmiser
    ipaddress: <IP_ADDRESS>
    port: 123
    tstats:
      1:
        id: 1xxx
        name: thermo1
      3:
        id: 2xxx
        name: thermo2

The docs were not clear how the tstats: should look like. This PR uses the same style for multiple entries as others do.
It would be preferred if somebody with Heatmiser hardware could test this change.

tstats used to be a list.


Add if-then-else sugar for match expressions

Adds if-then-else surface syntax that is elaborated to a match expression over Bool:
if c then t else f
==>
match c {
    true => t,
    false => f,
}

match expressions over Bool are also distilled to if-then-else expressions:
match c {
    true => t,
    false => f,
}
==>
if c then t else f

I wasn't sure what priority if-then-else should be parsed/printed with, so I gave it the same priority as let expressions for now, but it can be changed.

This looks good to me but I'll leave it to Brendan to do final review when he's back from public holiday tomorrow.

Looks good! Just a minor thing on the pretty printing.

Thanks!


fix(guide): changed awkward/broken sentence in Rust article

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

I changed some wording in the Rust guide article to be clearer, and I elaborated slightly on what was written.

Thanks for contributing to the freeCodeCamp repository. Congratulations on your first PR! 🎊
Look forward to more contributions from you! ✈


update dockerfile, add flag for high quality rendering

The dockerfile now installs manim directly into the container, so there is no need to bind mount the library when running it. That said, you will still have to bind mount the places to read the source and write the video.
1080p rendering is now possible by passing the --high_quality flag, and I changed the 1080p frame rate from 30fps to 60fps.

I will update the installation documentation when this is merged. So the usage becomes docker-compose run manim example_scenes.py SquareToCircle -l then?

I documented the exact dependency based on the tex_template file
texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra tipa
Those are the ubuntu packages, should work on debian too.
I am not sure if this actually saves any space, or if tex_template would change in the future.

So the usage becomes docker-compose run manim example_scenes.py SquareToCircle -l then?

Yes, as long as the INPUT_DIR and OUTPUT_DIR environment variables are set. I just updated docker-compose.yml to notify the user if they aren't.

I documented the exact dependency based on the tex_template file
texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra tipa
Those are the ubuntu packages, should work on debian too.

Those packages are included with texlive-full, as you can verify here.

I was trying to say using those packages results in smaller download size while satisfies all manim's dependencies. Which might be beneficial to end users.
apt install texlive-full
0 upgraded, 470 newly installed, 0 to remove and 48 not upgraded. Need to get 2359 MB of archives. After this operation, 4511 MB of additional disk space will be used.
apt install texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra tipa
0 upgraded, 169 newly installed, 0 to remove and 48 not upgraded. Need to get 1407 MB of archives. After this operation, 2486 MB of additional disk space will be used.
Tested on a debian 9 container.

Ah I see, and I do think 2GB is a significant enough difference to warrant the switch.

75996a618c73dfb30b8ca7f69c7266f1dd92571e


Provide tutorial requirement information

The demonstrations page should have a section at the bottom, providing the Python environment details used to build the tutorials.
For example, something like the following:
.. rubric:: Running the tutorials

    All tutorials are built using the following requirements.

We could either include directly the text within requirements.txt (will probably look ugly), or just link to the file on GitHub.

Addendum: this is not entirely accurate.
While all executed demos (those with filenames beginning tutorial_) will share the same requirements as the top level requirements.txt file), non-executed demos have requirements known only by the demo author.

Addendum: this is not entirely accurate.
While all executed demos (those with filenames beginning tutorial_) will share the same requirements as the top level requirements.txt file), non-executed demos have requirements known only by the demo author.


Fix typo in executor.h

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.


logs of interactions with language server

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   3.1.404
 Commit:    470f6754b3

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19042
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.404\

Host (useful for support):
  Version: 3.1.10
  Commit:  1721e39439

.NET Core SDKs installed:
  3.1.404 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

VS Code version: 1.54.3
C# Extension version: 1.23.9
OmniSharp log
Accessing the log for the information I'd like is the purpose of this "issue"
Steps to reproduce
N/A
Expected  behavior
N/A
Actual behavior
N/A

Hello I opened another issue recently (https://github.com/OmniSharp/omnisharp-vscode/issues/4449) about how code is formatted using the extension. I learned that it is done via the language server and not via some executable. However, I am unable to find the logs of the extensions interactions with the language server. Are these visible somewhere so I can actually see what is going on?
P.S. Is there someone I should be reaching out to for support questions instead of creating issues (which I feel quite guilty about)?

you can set "omnisharp.loggingLevel":"debug" in the VS Code settings and then the logs (including all requests/responses) are captured in the View > Output > OmniSharp panel.


Thank you for this package Neek!

Thank you for this package Neek, it is the only Monaco + Textmate solution I was able to properly get up and running.
I'm using it to build the VS Code Theme Editor (post about it here), and this is extremely helpful!
One thing I wanted to let you know is that the current package does not work with the latest version of monaco-editor. I had to revert monaco-editor to version 0.19.x in order to get it properly working. The Monaco API has changed a little since you first released this.
Additionally, after using your monaco-vscode-textmate-theme-converter plugin, the syntax appeared like this:

In order to get it looking like the actual theme, I had to add two rules to the generated Monaco theme file which define the editor's background color, and the default text color:

After making these tweaks, here is the final result of how the syntax looks:

I might suggest adding info to the readmes about these two issues.
Thanks again Neek!

You're welcome mate! You just made my day. I'm really busy with other things at the moment, would you be willing to send in a PR that updates it to the newer API? (it's ok if you don't have time either)
@CompuIves is codesandbox still based on monaco-textmate? If so how are you guys dealing with this problem of version incompatibility?

You're welcome mate! You just made my day. I'm really busy with other things at the moment, would you be willing to send in a PR that updates it to the newer API? (it's ok if you don't have time either)
@CompuIves is codesandbox still based on monaco-textmate? If so how are you guys dealing with this problem of version incompatibility?

PR Submitted: #16
https://github.com/NeekSandhu/monaco-editor-textmate/pull/16

PR Submitted: #16
https://github.com/NeekSandhu/monaco-editor-textmate/pull/16


Cant add custom latex template Invalid API key

Hello,
i try to add custom latex template to generate pdf and im getting error
 Got Status 401 Unauthorized, message: {"message":"Invalid API key"}
link in grafana
http://<IP_ADDRESS>:8686/api/v5/report/yNbFTsHZk?apitoken=api key=?template=landscapeTemplate
without the ?template=landscapeTemplate it works fine and downloads the pdf. i have it in /usr/bin/templates/landscapeTemplate.text

You are using URL query parameters incorrectly. To when using more than one parameter, they should be separated by & not by adding more ?. This is the way standard URLs in the browser also work .

oh ok there was no & at https://github.com/IzakMarais/reporter/issues/50 is the /usr/bin/templates correct?

nevermind got it working with https://github.com/IzakMarais/reporter/issues/132


Fix parameter handling of open function in alluxio fuse

What changes are proposed in this pull request?
To avoid alluxio fuse delete user file unepectedly in open function, we delete the file only if user specify O_TRUNC flag
Why are the changes needed?
Only specify O_WRONLY or O_RDWR，delete exist file in alluxio open function is not a posix implement
Does this PR introduce any user facing changes?
the alluxio fuse open callback function

@maobaolong PTAL the jnifuse part, thanks

@liuyongqing can you help merge the latest master and regenerate the jnifuse files cuz they have an update recently and causing the merge conflicts?
In addition, can you help solve the build error: "PR-EMAIL — Email not linked to a valid Github account"

sign a contribution license agreement

Automated checks report:

Commits associated with Github account: FAIL

It looks like your commits can't be linked to a valid Github account.
Your commits are made with the email<EMAIL_ADDRESS>which does not allow your contribution to be tracked by Github.
See this link for possible reasons this might be happening.
To change the author email address that your most recent commit was made under, you can run:
git -c user.name="Name" -c user.email="Email" commit --amend --reset-author

See this answer for more details about how to change commit email addresses.
Once the author email address has been updated, update the pull request by running:
git push --force https://github.com/liuyongqing/alluxio.git master

PR title follows the conventions: PASS

Some checks failed. Please fix the reported issues and reply 'alluxio-bot, check this please' to re-run checks.

@liuyongqing can you help address the above issues which prevent we from merging your code cahnges


tf.GradientTape not working properly.

Recently I made new network & trained it with tf.Gradient.
But losses didn't decrease.
So I tested in different examples in tensorflow tutorial
When I tested, I used tensorflow turorial code except training part.
Please let me know if there is any wrong usage.
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution: Linux Ubuntu 20.04
TensorFlow installed from (source or binary): pip install
TensorFlow version (use command below): 2.4.0 / 2.6.0
Python version: Python 3.8
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: CUDA 11.4
GPU model and memory: GeForce 1080 Ti * 2

v2.6.0-rc2-32-g919f693420e 2.6.0
Describe the current behavior

Describe the expected behavior

Thanks for the quick response :)
from tensorflow.keras import datasets, layers, models

(train_images, train_labels), (test_images, test_labels) = datasets.cifar10.load_data()
train_images, test_images = train_images / 255.0, test_images / 255.0

class_names = ['airplane', 'automobile', 'bird', 'cat', 'deer',
               'dog', 'frog', 'horse', 'ship', 'truck']

seq_model = models.Sequential()
seq_model.add(layers.Conv2D(32, (3, 3), activation='relu', input_shape=(32, 32, 3)))
seq_model.add(layers.MaxPooling2D((2, 2)))
seq_model.add(layers.Conv2D(64, (3, 3), activation='relu'))
seq_model.add(layers.MaxPooling2D((2, 2)))
seq_model.add(layers.Conv2D(64, (3, 3), activation='relu'))
seq_model.add(layers.Flatten())
seq_model.add(layers.Dense(64, activation='relu'))
seq_model.add(layers.Dense(10))

train_loss_results = []
train_accuracy_results = []

num_epochs = 10
total_size = len(train_images)
batch_size = 128
n_steps = int(total_size / batch_size)

for epoch in range(num_epochs):
    epoch_loss_avg = tf.keras.metrics.Mean()
    epoch_accuracy = tf.keras.metrics.SparseCategoricalAccuracy()

    np.random.seed(i)
    np.random.shuffle(train_images)
    np.random.seed(i)
    np.random.shuffle(train_labels)

    for i in range(n_steps):
        upper = min((i+1) * batch_size, total_size)
        x = train_images[i*batch_size:upper]
        y = train_labels[i*batch_size:upper]

        with tf.GradientTape() as tape:
            preds = seq_model(x, training=True)
            loss = loss_object(y, preds)

        grads = tape.gradient(loss, seq_model.trainable_variables)
        optimizer.apply_gradients(zip(grads, seq_model.trainable_variables))

        epoch_loss_avg(loss)
        epoch_accuracy(y,seq_model(x))

    train_loss_results.append(epoch_loss_avg.result())
    train_accuracy_results.append(epoch_accuracy.result())

    print("Epoch {:03d}: Loss: {:.3f}, Accuracy: {:.3%}".format(epoch+1,
                                                            epoch_loss_avg.result(),
                                                            epoch_accuracy.result()))

@uoyssim Thank you for the response!
Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!

@uoyssim Could you please close this ticket if you have posted the issue in Keras repo ?Thank you!

Keras Issues is closed.
It is my mistake.
When I use tf.keras.losses.SparseCategoricalCrossentropy,I missed 'from_logits=True'
Thank you for your helps!


Adjusted Authentication Instructions

Old authentication method defined within this readme is no longer available or offered by Google
Adjusted notes regarding logging in VIA an Application Password. Included step by step instructions.
Adjusted notes about Google Keep API > When this script was written, the Google Keep API was not available.
Noted that Google Keep API is unavailable to individuals only workspace users.

Thanks for the new pull to develop!!

Happy to help, even it's just a few steps to the readme. :)
Your tool saved me a fair bit of time exporting hundreds of notes.


Pulling ollama model llama2: Error: accepts 1 arg(s), received 10

While trying to get GenAI stack up (docker compost up --build) I am getting the error:
genai-stack-pull-model-1  | pulling ollama model llama2 #or any Ollama model tag, gpt-4, gpt-3.5, or claudev2 using http://host.docker.internal:11434
genai-stack-pull-model-1  | Error: accepts 1 arg(s), received 10
genai-stack-pull-model-1 exited with code 1
My .env file is basically (everything else is commented out):
LLM=llama2 #or any Ollama model tag, gpt-4, gpt-3.5, or claudev2
EMBEDDING_MODEL=sentence_transformer #or openai, ollama, or aws
OPENAI_API_KEY= ##MY-API-KEY>##
Getting the same error for gpt-4 (LLM=gpt-4 and EMBEDDING_MODEL=openai):
genai-stack-pull-model-1  | pulling ollama model gpt-4 #or any Ollama model tag, gpt-4, gpt-3.5, or claudev2 using http://host.docker.internal:11434
genai-stack-pull-model-1  | Error: accepts 1 arg(s), received 10
genai-stack-pull-model-1 exited with code 1
Im running docker in Windows 11.
Any thoughts?
Thank you in advance!

I have the same issue. Did you fix it yet?

Can you remove the comment from the LLM environment definition line. So that it's just the following.  It looks like the environment variable is holding on to the comment for you.
LLM=llama2

It looks to me like

This issue still persists. Even after removing the comment as @slimslenderslacks  from the LLM environment variable, the genai-stack-pull-model container still fails.
genai-stack-pull-model-1  | pulling ollama model gpt-4 #or any Ollama model tag, gpt-4, gpt-3.5, or claudev2, llama2 using http://host.docker.internal:11434 genai-stack-pull-model-1  | Error: one of '--license', '--modelfile', '--parameters', '--system', or '--template' must be specified genai-stack-pull-model-1 exited with code 1

ok so I just started playing with this.
the problem is this line in chains.py which hard codes model to llama2  :
https://github.com/docker/genai-stack/blob/91917399c413a127fe048b5894a343018a50f98f/chains.py#L32
and this line which takes it from the .env file:
https://github.com/docker/genai-stack/blob/91917399c413a127fe048b5894a343018a50f98f/chains.py#L78
as a quick and dirty test I set in the .env
LLM=llama3
and change and changed the hardcoded llama2 to llama3 in chains.py and it worked.


Internal Server Error - Image resizing Using S3

Hi, I followed your tutorial but I'm getting an error:
{"message": "Internal server error"}
I can access to my picture with this URL: myBucket.s3-website-ap-xxx.amazonaws.com/test.jpg
but if I try: myBucket.s3-website-ap-xxx.amazonaws.com/300×300/test.jpg the URL change to
https://yyyyy.execute-api.ap-xxx.amazonaws.com/prod/resize?key=300x300/test.jpg and I'm getting the following error.
I used this link: https://github.com/awslabs/serverless-image-resizing/raw/master/dist/function.zip for the function. I tried Node.js 4.3 and 6.10 but same results. Did I miss a step?
Also I am getting  - The deployment package of your Lambda function "resizeForArtwork" is too large to enable inline code editing. However, you can still invoke your function right now.
Also, I had to add "s3:List*" in my bucket policy otherwise I've got access denied.

Use CloudWatch logging to find out what exception your code is generating.

TypeError: Cannot read property '2' of null
at exports.handler (/var/task/index.js:27:31)

Was having this issue as well -- there's an issue with the url in the article which was causing the regex match to fail:
http://YOUR_BUCKET_WEBSITE_HOSTNAME_HERE/300×300/blue_marble.jpg
it should be '300x300' instead of 300×300 (different x character)

@shrutisrivastava86 I have solved what I believe was my issue. When configuring your IAM role for this, make sure that the policy has the correct json configuration. I followed the guide correctly and completely, including including the json for the policy... up until the part where you needed to put the name of your bucket in the "Resource" key :p
e.g what I had "Resource": "arn:aws:s3:::com.mywebsite.images/"
what it should have been "Resource": "arn:aws:s3:::the-name-of-my-bucket/"
Fixing this fixed the issue I had posted previously.


stage1-fly: with --interactive, terminal is not fully functional

With the default stage1, I can rkt-run --interactive and have a functional terminal.  Not so with stage1-fly.

Demonstrate all OK with default stage1:
inscrutable# /usr/bin/rkt --insecure-options=image run --interactive --set-env HOME=/home/guestsi --net=host --volume home,kind=host,source=/home/guestsi docker://julia --mount volume=home,target=/home/guestsi --user=511 --group=511 --seccomp mode=retain,@docker/default-whitelist,mbind --exec /usr/local/julia/bin/julia               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.1 (2017-03-05 13:25 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia>

But not with stage1-fly:
inscrutable# /usr/bin/rkt --insecure-options=image run --interactive --set-env HOME=guestsi --stage1-name=coreos.com/rkt/stage1-fly:1.25.0 --net=host --volume home,kind=host,source=/home/guestsi docker://julia --mount volume=home,target=/home/guestsi --user=511 --group=511 --seccomp mode=retain,@docker/default-whitelist,mbind --exec /usr/local/julia/bin/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.1 (2017-03-05 13:25 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

WARNING: Terminal not fully functional
julia>

What did you expect to see?
No warning about non-functional terminal.  Readline support working.
What did you see instead?
WARNING: Terminal not fully functional, and no readline support.

This is because the entrypoint is running with a clean/minimal environment and doesn't like running with missing/legacy $TERM and $COLORTERM settings. I tried with --set-env COLORTERM=truecolor --set-env TERM=xterm-256color and it seems fine, but please double-check the details of your terminal and your application.

Ah, sorry, that's obvious now.  Yes it works nicely.  I was confused with the different behaviour from the default stage1.  Thanks.


Adding Dockerfile

Hello
I just adding Dockerfile to make people more easy to run this REST-API maybe in future the owner want host an official image of this api

Hello, can you update the PR into the latest version?

Sure I can, but unfortunately, my branch has a conflict because I modified it to match my needs how if I past Dockerfile and docker-compose  here?

Maybe create a new PR? Of course a bare bone Docker config is enough. I've never used Docker before, so i couldn't done this myself

You can make Dockerfile please add this code  :
FROM node:18.12-slim

WORKDIR /app

COPY package.json package-lock*.json ./

RUN npm install && npm cache clean --force

COPY . .

CMD [ "npm", "start" ]

and the docker-compose.yml :
version: "3"

services:
  api:
    image: ilzam/baileys-api:1.0.0
    container_name: "api"
    env_file:
      - .env
    ports:
      - 3000:3000

Alright then, thanks for your help. Closing this

not everyone likes and use a docker. for example me. so it's not very useful.


ImportError: cannot import name 'Article' from 'newspaper'

Installed using pip install newspaper3k command
It says requirement already satisfied.
(venv) C:\Users\x.y\Projects\Prod2>pip3 install newspaper3k
Requirement already satisfied: newspaper3k in c:\users\x.y\projects\prod2\venv\lib\site-packages (0.2.8)
Requirement already satisfied: nltk>=3.2.1 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (3.4.5)
Requirement already satisfied: python-dateutil>=2.5.3 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (2.8.0)
Requirement already satisfied: requests>=2.10.0 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (2.22.0)
Requirement already satisfied: beautifulsoup4>=4.4.1 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (4.8.2)
Requirement already satisfied: Pillow>=3.3.0 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (7.0.0)
Requirement already satisfied: lxml>=3.6.0 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (4.5.0)
Requirement already satisfied: feedfinder2>=0.0.4 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (0.0.4)
Requirement already satisfied: tinysegmenter==0.3 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (0.3)
Requirement already satisfied: feedparser>=5.2.1 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (5.2.1)
Requirement already satisfied: cssselect>=0.9.2 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (1.1.0)
Requirement already satisfied: PyYAML>=3.11 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (5.3)
Requirement already satisfied: jieba3k>=0.35.1 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (0.35.1)
Requirement already satisfied: tldextract>=2.0.1 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from newspaper3k) (2.2.2)
Requirement already satisfied: six in c:\users\x.y\projects\prod2\venv\lib\site-packages (from nltk>=3.2.1->newspaper3k) (1.12.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from requests>=2.10.0->newspaper3k) (2019.11.28)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from requests>=2.10.0->newspaper3k) (1.25.7)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from requests>=2.10.0->newspaper3k) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from requests>=2.10.0->newspaper3k) (2.8)
Requirement already satisfied: soupsieve>=1.2 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from beautifulsoup4>=4.4.1->newspaper3k) (1.9.5)
Requirement already satisfied: setuptools in c:\users\x.y\projects\prod2\venv\lib\site-packages\setuptools-40.8.0-py3.7.egg (from tldextract>=2.0.1->newspaper3k) (40.8.0)
Requirement already satisfied: requests-file>=1.4 in c:\users\x.y\projects\prod2\venv\lib\site-packages (from tldextract>=2.0.1->newspaper3k) (1.4.3)
(venv) C:\Users\X.Y\Projects\Prod2>python
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

from newspaper import Article
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\X.Y\Projects\Prod2\newspaper.py", line 1, in
from newspaper import Article
ImportError: cannot import name 'Article' from 'newspaper' (C:\Users\X.Y\Projects\Prod2\newspaper.py)
exit()

What should I do ?

looks like you have a newspaper.py file in your project directory that interferes with the import of newspaper.

Thanks @iwpnd


Fix introductory clause comma, hyphen in compound adjective

These popped up during a quick reading.

But especially the second one is needed, drawing a distinction between "rich text it MUST support" and "rich text" in general.
"it must support" is not part of "rich text" noun phrase, i.e.
; This syntax tree is invalid
; https://www.link.cs.cmu.edu/link/submit-sentence-4.html
(S Where OpenAPI
   (S (NP tooling)
      (VP renders
          (NP rich text it MUST support ,       ; <-- Uh?
              (PP at
                  (NP (NP a minimum)
                      ,
                      (NP (NP markdown syntax)
                          as
                          (VP described
                              (PP by
                                  (NP CommonMark)))))
                  .)))))

What, arguably, interrupts the sentence flow is the nonrestrictive adverbial embedded clause "at a minimum". But it's correct to delimit that as well.


question about how to use nncf

Hi, thank you for your job. I have a question about the use of NNCF. When using NNCF as standalone, you mention the following step:

After you create an instance of your model and load pretrained weights, create a compression algorithm and wrap your model by making the following call:
compression_algo = create_compression_algorithm(model, config)
model = compression_algo.model

What should I do if I do not have a pre-trained model and can’t load pretrained weights?
Looking forward to your answer.

@AlexKoff88 @vshampor @ljaljushkin

Greetings, dandanli814!
You can either supply a config JSON file without "compression" entries and then the model will perform in exactly the same way as the original (see examples/semantic_segmentation/configs/unet_camvid.json), or train the model without using the NNCF altogether. Either way will allow you to obtain a .pth model checkpoint, which you can then use as starting weights for compression fine-tuning (via --weights option in the examples, for instance).
Of course, you can train the model from scratch with compression algorithms (INT8, sparsity, ...) in place as well, but it seems unlikely that such approach will yield good results.

Thank you for your advice.
Are there any requirements for the .pth model checkpoint you mentioned to use as starting weights for compression fine-tuning?  For example, the model obtained at the beginning of training or the model obtained at the end of training.

@dandanli814, you usually want to obtain a compressed model with the best metric possible, so you should start with an FP32 model with the best possible metric as well, since compression usually degrades accuracy.
In the most deep learning neural network training cases the best metric on a given model is achieved at the end of the chosen training regimen.

Thank you for your advice.
I have another question, for compression fine-tuning, how much do I need to set my
parameters such as learning rate, epoch or iterations, is it the same as before when without using the NNCF?

@dandanli814, this is something that depends on the model, dataset and the compression algorithm and should be found out experimentally.
That said, NNCF is more of a finetuning tool, and the algorithms presented do not necessarily require that the bulk of the starting FP32 model weights be changed that much to obtain compression while keeping quality at an acceptable level. Therefore, it is advisable to set the learning rate during compression fine-tuning to a lower value than when training the model from scratch. See examples\*\configs to get a rough idea of what hyperparameters and LR schedules to set for each compression algorithm.

Thank you very much. I will experiment according to your advice. ^_^

@vshampor Hi, I want to test the final .pth model I got when I finish training using my training pipeline with using NNCF as standalone. I make the following call when testing:
.............
compression_algo, model = create_compressed_model(model, config)
model = resume_from_checkpoint(opt.saved_model, model)
model.eval()
...............
where opt.saved_model is the final .pth model. But I got the error as following:
Traceback (most recent call last):
File "demo.py", line 83, in
model = resume_from_checkpoint(opt.saved_model, model)
File "demo.py", line 41, in resume_from_checkpoint
load_state(model, checkpoint, is_resume=True)
File "openvino_training_extensions/pytorch_toolkit/nncf/nncf/helpers/model_loader.py", line 30, in load_state
process_problematic_keys(is_resume, problematic_keys, num_loaded_layers == num_saved_layers)
File "openvino_training_extensions/pytorch_toolkit/nncf/nncf/helpers/model_loader.py", line 52, in process_problematic_keys
raise RuntimeError(error_msg)
RuntimeError: Error(s) when loading model parameters:
Unexpected key(s):
"module.nncf_module.FeatureExtraction.first_conv.0.pre_ops.1.op.signed_tensor",
"module.nncf_module.FeatureExtraction.first_conv.0.pre_ops.1.op.scale",
"module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/AdaptiveAvgPool2d[avgpool]/adaptive_avg_pool2d_0.signed_tensor",               "module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/AdaptiveAvgPool2d[avgpool]/adaptive_avg_pool2d_0.scale",             "module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/SELayer[LastSE]/Sequential[SE_opr]/AdaptiveAvgPool2d[0]/adaptive_avg_pool2d_0.signed_tensor",           "module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/SELayer[LastSE]/Sequential[SE_opr]/AdaptiveAvgPool2d[0]/adaptive_avg_pool2d_0.scale",                "module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/SELayer[LastSE]/Sequential[SE_opr]/NNCFConv2d[4]/conv2d_0.signed_tensor",             "module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/SELayer[LastSE]/Sequential[SE_opr]/NNCFConv2d[4]/conv2d_0.scale",              "module.activation_quantizers.Model/ShuffleNetV2_Plus[FeatureExtraction]/SELayer[LastSE]/Sequential[SE_opr]/ReLU[3]/RELU_0.signed_tensor",
................
I don't know where the problem is, I hope you can give me some suggestions.
Thank you very much.

@vshampor Hi, when I run your classification sample in examples/classification as following you advice:
python main.py -m train --config configs/quantization/mobilenetv2_imagenet_int8.json --data ./datasets/imagenet/ --log-dir=./results/quantization/mobilenetv2_int8/ --multiprocessing-distributed --world-size 2 --dist-url tcp://******** --rank 0
Then I got the final model named "mobilenetv2_imagenet_int8_best.pth". Then I validate this model checkpoint using the following:
python main.py -m test --config configs/quantization/mobilenetv2_imagenet_int8.json --resume ./mobilenetv2_imagenet_int8_best.pth --data ./datasets/imagenet/
The result is as following:
Test: [0/196] Time: 50.829 (50.829) Loss: 4.5672 (4.5672) Acc@1: 7.422 (7.422) Acc@5: 44.922 (44.922)
...................
Test: [180/196] Time: 1.159 (1.461) Loss: 5.6219 (5.8357) Acc@1: 3.125 (2.989) Acc@5: 8.594 (10.178)
Test: [190/196] Time: 1.134 (1.447) Loss: 4.4965 (5.8044) Acc@1: 17.969 (3.260) Acc@5: 44.141 (10.925)

Acc@1 3.484 Acc@5 11.202

I can't get the accuracy you present "MobileNet V2 | INT8 | ImageNet | 71.33". And when it is training, the log doesn't seem right either as following:
...........
0:: Epoch: [3][2490/2503] Lr: 1e-05 Time: 4.124 (4.037) Data: 3.455 (3.467) CE_loss: 6.2188 (6.1365) CR_loss: 0.0000 (0.0000) Loss: 6.2188 (6.1365) Acc@1: 3.125 (1.815) Acc@5: 3.125 (6.769)
0:: Epoch: [3][2500/2503] Lr: 1e-05 Time: 3.992 (4.037) Data: 3.453 (3.467) CE_loss: 6.0290 (6.1365) CR_loss: 0.0000 (0.0000) Loss: 6.0290 (6.1365) Acc@1: 3.125 (1.816) Acc@5: 9.375 (6.775)
0:Test: [0/1563] Time: 3.587 (3.587) Loss: 6.5205 (6.5205) Acc@1: 0.000 (0.000) Acc@5: 0.000 (0.000)
0:Test: [10/1563] Time: 3.546 (3.573) Loss: 4.4578 (4.7999) Acc@1: 6.250 (5.682) Acc@5: 25.000 (36.080)
...........
I hope you can give me some advice. Thank you.

Greetings, @dandanli814 !
Looks like we do not load the pretrained MobileNet from torchvision, even though the corresponding option is set in the INT8 config. You can override this by passing an exact FP32 MobileNetV2 starting checkpoint to the training script using the --weights command line.
Download the MobileNetV2 checkpoint from https://github.com/tonylins/pytorch-mobilenet-v2 and then add the --weights mobilenet_v2.pth.tar to your "train" command line. Note that even though the file has a .tar extension, it is not, in fact, a tape archive, but instead a raw PyTorch checkpoint.

OK, thank you, I will try this.


Xena: generate all release notes

Fix release train 02-2023 renos
release notes: Remove default_branch config option
Use yoga upper constraints for releasenotes tox env

How would you feel about using zed upper constraints? This would fix an issue issue with building lxml on macOS, at least with Apple Silicon. On the other hand we would lose support for Python 3.6…

Works for me, but can it be a separate change?

How would you feel about using zed upper constraints? This would fix an issue issue with building lxml on macOS, at least with Apple Silicon. On the other hand we would lose support for Python 3.6…

Works for me, but can it be a separate change?

Sure, let's merge!


L5 and the Generators -- my thoughts

This is 100% speculation and MY OWN personal thoughts.
I have been thinking about this for the past fews day after working with L5.
This package -- as is -- is no longer needed. Within php artisan you already have a majority of way-generators. The parts that are missing are what I miss most -- the RAD code that was laid out fro you by scaffolding. This saved me so much time! If you watch Laracast videos yoiu notice that Jeffery has PHPStorm setup so that he can auto-generate lots of what his generators used to do.
Is this package going to be updated?
I have no idea. I am not in the loop. However, I have a feeling that the php artisan command is just gonna get better rather than this package.
What are our alternatives?
I've seen that bridge package pop up. Great but but! is this really a long term solution or just a bandage for what is still in L4 and possibly will stay that way? I've seen lots of good L3 bundles never move on, I have a feeling that many of the early days great L4 packages are going to start to age and never regenerate into L5 packages. That is awesomeness of github. Anybody can fork the code and go from there. Am I saying to fork this package? No! That is not why I've written this book!
What should we do? What can we do?
My idea is that we start getting gists and templates together that are/were essentially the scaffolding brains. Another possibility would be is help the way-generators evolve to just an extension on the php artisan make commands which essentially be adding a scaffold ability and a way to take those gists/templates to create the RAD stuff that a lot of us use.
What are your thoughts?

some commands, like generate:seed are not present in artisan (as far as i know), which means that yes, this generator can be useful.
my thoughts?
update this to L5 leaving the generators OR
remove the duplicated generators and leave the scaffold, and other utilities OR
make snippet gists, or a repo full of snippets gists, however, that would mean adapting each snippet to a particular editor

Taylor has been adding to the functionality of artisan so definitely removing duplicated functionality and supplementing artisan seems to be the way to go.

I'd really like to see a new version for scaffolding and maybe some other extras.

L5 generators.
https://github.com/laracasts/Laravel-5-Generators-Extended


encoding/xml: Marshal fails to handle conflicting tags

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
tip and 1.7.4
(this is not a regression)
What operating system and processor architecture are you using (go env)?
linux/amd64
What did you do?
https://play.golang.org/p/w6DV-tXCwT
What did you expect to see?
<name2></name2>
What did you see instead?
xml: name "name1" in tag of main.A.B conflicts with name "name2" in main.B.XMLName
https://golang.org/pkg/encoding/xml/#Marshal lists the order of preference for the name of an element.
The example works if you remove the tag name1 or name2. This means the order of preferences (name1,name3) and (name2,name3) are working, but (name1,name2) is not.

This appears to be working as intended. The comment around the code that implements the error says:

If the field type has an XMLName field, the names must match so that the behavior of both marshaling and unmarshaling is straightforward and unambiguous.

Having conflicting name tags in the code is incorrect and this error is designed to point that out.

Hm then maybe this is just a documentation issue?
The documentation i linked gave me the impression that there are 5 different ways to name an element and it would be able to handle conflicts by the order of preference.
I would argue that it is a little bit confusing that some conflicts can be handled, but others can't.

I've added a paragraph to the xml.Marshal function docs that mirror the comment in structFieldInfo to bring the knowledge into godocs. CL 76321


Cannot find NICE when configuring gst-plugins-bad

Hello,
I am trying to build gstreamer 1.14.4 in a raspbian-stretch based Docker container.
However, when I get to installing gst-plugins-bad the configuration script does not seem to find libnice.  Is 0.1.14 required for the WebRTC plugin?
Any help greatly appreciated!

Is 0.1.14 required for the WebRTC plugin?

Yes, libnice >= 0.1.14 is required.

Ok thanks, that at least explains the issue.
Any idea how libnice 0.1.14 can be installed on raspbian stretch? The apt-get repository only contains version 0.1.13.

You can install it into /usr/local or a custom prefix and then make configure find it by setting PKG_CONFIG_PATH and at runtime LD_LIBRARY_PATH (or add the dir to /etc/ld.so.conf*).
You could also not install libnice from package and instead just install from source into /usr ?

Actually I apparently was already installing the source to /usr with this:
RUN git clone https://github.com/libnice/libnice.git \
    && cd libnice \
    && ./autogen.sh --prefix=/usr --with-gstreamer --enable-static --enable-static-plugins --enable-shared --without-gstreamer-0.10 --disable-gtk-doc --enable-compile-warnings=no \
    && make install

But the configure script was default using the apt-get installed version. Removing it resolved the issue, thanks!


MD-2919: Modified plan baseline

@Agirish
Baseline changes due to DRILL-5845

+1
@rhou1 , can you also take a look?

Closing this PR, made a wrong PR


Add initial progress on catamorphisms

cc @paf31

Looks great so far! Thanks for working on this.

Thanks for the feedback!
So you think the general approach is OK? I was heading towards using a fold but would love to know if you have any other ideas.

I think a fold should work just fine. I can't think of any cases where your generated code would depend on any larger context.

OK. Let me know if you have any other feedback, even if it feels like nitpicking.

I noticed a difference between our indentation and line spacing when using where.
Is your way the convention?

I don't think there's a convention really. I tend to use that way for Haskell and PureScript to try to make the scope of things clearer (IMO).


main ===> prod-beta

main --> prod-beta :boom:
Why do we need this change? :thought_balloon:
To push the color fix issue https://issues.redhat.com/browse/RHIROS-909 from main to prod-beta branch
Please include the context of this change here.
Documentation requires update? :memo:

[ ] Yes
[x] No

Security Checklist :lock:
Upon raising this PR please go through RedHatInsights/secure-coding-checklist
:guardsman: Checklist :dart:

[ ] Bugfix
[ ] New Feature
[ ] Refactor
[ ] Unittests Added
[ ] DRY code
[ ] Dependency Added

Additional :mega:
Feel free to add any other relevant details such as links, notes, screenshots, here.

Codecov Report
Base: 23.22% // Head: 23.22% // No change to project coverage :thumbsup:

Coverage data is based on head (d6178f5) compared to base (a59cfbb).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           prod-beta     #168   +/-   ##
==========================================
  Coverage      23.22%   23.22%
==========================================
  Files             48       48
  Lines            900      900
  Branches         164      164
==========================================
  Hits             209      209
  Misses           647      647
  Partials          44       44

Impacted Files
Coverage Δ

...rc/Components/Reports/Common/ExecutiveFirstPage.js
0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add book detail view

When selecting an item from the table view, it should show a new view with book details.

Addressed in 3c148518f159cbd701173574988fa995db2948d0


CSV reports

Implementation of structures for all reports.
Implementation of data picking for registered users CSV export.

@jaleszek other stuff looks good, but need to check Trade Form note above ^

@RuslanHamidullin nice, thanks, fixed.

@jaleszek cool, waiting for travis

to fix


Inquisitor not supported

Max hit shows fine, soon as inquisitor piece gets equipped it hides - only been able to test with the plateskirt but assume it will be with all pieces due to the % dmg boost?

noticed when hovering over the inquis plateskirt theres no equipment stats tooltip like with other equipment - could be part of the issue

Tbh I’m not sure why that happens, I didn’t include inquisitor as an item set because I can’t afford it so I can’t test it, same with nightmare staff. Does it happen regardless of what else is equipped? Even if you have arrows or something?


bump openshift-client to 1.0.1

@openshift/sig-developer-experience fyi to pick up some of @coreydaley 's recent fixes to the openshift client plugin deemed desirable for 3.7

[merge]

Plugin list:
ace-editor:1.0.1
authentication-tokens:1.1
blueocean-autofavorite:1.0.0
blueocean-commons:1.1.6
blueocean-config:1.1.6
blueocean-dashboard:1.1.6
blueocean-display-url:2.0
blueocean-events:1.1.6
blueocean-github-pipeline:1.1.6
blueocean-git-pipeline:1.1.6
blueocean-i18n:1.1.6
blueocean:1.1.6
blueocean-jwt:1.1.6
blueocean-personalization:1.1.6
blueocean-pipeline-api-impl:1.1.6
blueocean-pipeline-editor:0.2.0
blueocean-pipeline-scm-api:1.1.6
blueocean-rest-impl:1.1.6
blueocean-rest:1.1.6
blueocean-web:1.1.6
branch-api:2.0.9
cloudbees-folder:6.0.4
conditional-buildstep:1.3.1
config-file-provider:2.16.2
credentials-binding:1.12
credentials:2.1.13
display-url-api:2.0
docker-commons:1.8
docker-workflow:1.9
durable-task:1.13
favorite:2.3.0
git-client:2.4.4
github-api:1.85.1
github-branch-source:2.0.8
github:1.26.0
github-organization-folder:1.6
git:3.3.2
git-server:1.5
handlebars:1.1
icon-shim:2.0.3
jackson2-api:2.7.3
job-dsl:1.60
jquery-detached:1.2.1
junit:1.20
kubernetes:1.0
mailer:1.20
mapdb-api:<IP_ADDRESS>
matrix-auth:1.5
matrix-project:1.7.1
mercurial:1.54
metrics:<IP_ADDRESS>
momentjs:1.1
multiple-scms:0.6
openshift-client:1.0.1
openshift-login:0.12
openshift-pipeline:1.0.52
openshift-sync:0.1.32
parameterized-trigger:2.35.1
pipeline-build-step:2.5.1
pipeline-github-lib:1.0
pipeline-graph-analysis:1.3
pipeline-input-step:2.8
pipeline-milestone-step:1.3
pipeline-model-api:1.1.4
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.1.4
pipeline-model-extensions:1.1.4
pipeline-rest-api:2.9
pipeline-stage-step:2.2
pipeline-stage-tags-metadata:1.1.4
pipeline-stage-view:2.4
pipeline-utility-steps:1.1.5
plain-credentials:1.3
pubsub-light:1.8
run-condition:0.10
scm-api:2.1.1
script-security:1.31
sse-gateway:1.15
ssh-credentials:1.13
structs:1.7
subversion:2.9
token-macro:2.0
variant:1.1
workflow-aggregator:2.5
workflow-api:2.18
workflow-basic-steps:2.3
workflow-cps-global-lib:2.7
workflow-cps:2.39
workflow-durable-task-step:2.11
workflow-job:2.10
workflow-multibranch:2.14
workflow-remote-loader:1.2
workflow-scm-step:2.4
workflow-step-api:2.10
workflow-support:2.14

rhel image update:  https://buildvm.openshift.eng.bos.redhat.com:8443/job/devex/job/devex%252Fjenkins-plugins/8/console


the explanation of Failed Requests

I would say a more specific expression would be good regarding Failed Requests. Because the  description of only "failed requests" appear to be a little ambiguous.
For example, I suppose "count of the request that Application Gateway has served 5xx error due to Application Gateway itself or backend ."

・Failed Requests
Count of failed requests that Application Gateway has served. The request count can be further filtered to show count per each/specific backend pool-http setting combination.

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

ID: 91ef7d8f-a88e-dc27-d6a5-b0996eb2d442
Version Independent ID: f7f1342b-5b11-9672-5196-d050e925bb29
Content: Azure Monitor metrics for Application Gateway
Content Source: articles/application-gateway/application-gateway-metrics.md
Service: application-gateway
GitHub Login: @abshamsft
Microsoft Alias: absha

@KosukeHosoda, thank you for reaching out. We are looking into this and would get back to you soon on this thread.

@KosukeHosoda Failed requests is  number of requests that Application Gateway has served with 5xx server error codes. This includes the 5xx codes that are generated from the Application Gateway as well as the 5xx codes that are generated from the backend. The request count can be further filtered to show count per each/specific backend pool-http setting combination.

@KosukeHosoda , We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Folder Open Record Cannot Be Completely Cleared

Issue Type: Bug
See the GIF directly.

Even if I cleaned up the folder history, it seems some operation history is still recorded.
I have the following settings.
    "files.hotExit": "off",    "window.restoreWindows": "none"
VS Code version: Code - Exploration 1.32.0-exploration (9a424426327a0662529fd8c5d7e0d476f67f6aab, 2019-02-08T07:31:22.415Z)
OS version: Windows_NT x64 10.0.18334

@byyxx128 what is the actual issue here?

@bpasero
As shown above. If I open a folder, then open a file, next time when I open the folder with VS Code again, everything will restore. This is normal. However, even if I clear recent history, and make sure there is nothing in the recent list, then I open the folder again, everything will still restore. That is what I confused.

@byyxx128 I see, that command is not for clearing the opened editors.

@bpasero That's it. So it can be a feature request. However, I don't there needs an additional command to achieve this. Just improve the current one.


Importing styles for POSTCSS

Hi, I've been facing a issue with styling the date picker with POSTCSS. As most of you would know, styles in POSTCSS would be imported as JavaScript object and would be used.
If I just import the styles as depicted in the examples, the date picker wouldn't work. How do I acheive this for POSTCSS is my question.

@rafeememon the styles, while using POSTCSS are imported as JavaScript objects and the class names are in react components are added something like className={styles['class-name']}. I noticed that the styles in date picker is used like className="class-name".
Any help would be appreciated.

I don't think it's possible to do what you're trying to do -- our styles are shipped with a CSS file referencing class names that appear in react components


rancher-compose upgrade and build do not work

I am using rancher-v0.44.0, rancher-agent-v0.8.2 and rancher-compose-v0.5.1
When rancher-compose uploads the build directory to S3, it does not correctly set up the Content-Type for the stored object, subsequently assigning "binary/octet-stream" to it.
This content-type is then not accepted during the build process:
500 Server Error: Internal Server Error ("Error detecting content type for remote https://internal-a3fa37d473a6.s3.amazonaws.com/tool-qe-mine-worker-4a08f513daf0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIVHLKDQC7T5I22BA%2F20151113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20151113T163805Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=6c081ec56b61f2709aaded6fd5d8a7da792ce5d6a83064eca401c230be383c34: unsupported Content-Type "binary/octet-stream"

Can you share your docker-compose.yml and your DockerFile so that I can test it out? I haven't had issues with building with rancher-compose.

I'm having the same issue
Starting container displays following info message:
Message : 4af2be27-438c-4b7b-8139-63c9bcedd7fe : 500 Server Error: Internal Server Error ("Error detecting content type for remote https://ranchertest-<redacted>.s3.amazonaws.com/web-<redacted>: unsupported Content-Type "binary/octet-stream"")
I'm using the example flask application http://docs.rancher.com/rancher/rancher-compose/build/
with small changes:
docker-compose.yml:
web:
  build: .
  ports:
    - "8000:5000"
  links:
    - redis

redis:
  image: redis

rancher-compose.yml:
web:
  scale: 1

The first deploy by running rancher-compose --verbose up works fine.
But it fails when I'm upgrading the service:

Do some small changes to the python application app.py
Save the file
Run rancher-compose --verbose up --upgrade.

+1 also having this problem

It looks like something is wrong with upgrade and build.

I had a quick look at this - and I was able to get upgrade and build working together by explicitly specifying a Content-type in the S3 putFile call
Will you accept a PR?

Yes, we love PRs. :)

@deniseschannon I've submitted a PR. Works for me on 1.0.1

Thanks @adrianfalleiro I've tested with a patched version and will test when we cut our first RC.

Verified with v0.8.0-rc3.