[R] Remove parameters and attributes related to ntree and rebase iterationrange

ref https://github.com/dmlc/xgboost/issues/9810
After the introduction of newer tree modalities such as multi-quantile regression, the code for determining the number of trees in a model is no longer correct, and other sections that rely on it might produce incorrect results. I see that parameters referring to number of trees have been deprecated in favor of parameters referring to number of iterations, so I'm making the switch here.
This PR:

Removes the deprecated argument ntree_limit in predict.
Removes the 'ntree' attribute and internal accessor which are no longer needed.
Fixes incorrect usage of num_class to determine prediction shapes, as now there are more ways in which predict can output multi-dimensional results.
Changes the format of iterationrange to match with R's sequences/ranges.

I've based it off from the current last commit of previous PR https://github.com/dmlc/xgboost/pull/9924 which is a requisite for the changes introduced here.
I'm not sure how to make the PR show the diff w.r.t to that other PR, as it's not a branch of this repository, and I cannot open a PR here to merge to a branch on my own repository, so this PR will need to be rebased later on in order to make it mergable (I think the kind of commits that github generates will also mess up git merge later on so a rebase will anyway be needed).

I'm not sure how to make the PR show the diff w.r.t to that other PR, as it's not a branch of this repository, and I cannot open a PR here to merge to a branch on my own repository, so this PR will need to be rebased later on in order to make it mergable

It's fine. It's common for us to open pull requests that include the commits from another pull request. Let's try to merge https://github.com/dmlc/xgboost/pull/9924 soon.

@trivialfis Would be ideal if you could review this PR next.

I'm looking into #9948 as well, would be great if there's a common reindexing function either in C or in R that handles all the translation and can be tested independently.
I find it difficult to reason that all places that need indexing are performing the translation consistently.

Do you have a list of places where such reindexing should be applied?
As I see it, currently there is:

best_iteration - but this one follows base-0 in the C attribute and base-1 in the R attribute, so handling would be quite different from the others.
iterationrange - not too hard to do the conversion, since it always amounts to just subtracting from the initial index.
Booster slicing - but this one requires a very different approach that the others do not share; and if it were to be re-implemented by taking an integer array instead of start/end/step, the handling would also be completely different if we want it to follow R's idioms.
Class index in the linear coefficients callback (currently base-0) - but I think this one would make more sense to match with the numbers in label which are base-0.

Thank you for sharing, it might be difficult to gather everything into one place. An additional concern is the categorical data.
It's not just 0-based indexing v.s. 1-based indexing, exclusive and inclusive on the end of a range is also problematic, would be great if we could at least find a place to document all the difference so that we can lookup in the future.

Thank you for sharing, it might be difficult to gather everything into one place. An additional concern is the categorical data.
It's not just 0-based indexing v.s. 1-based indexing, exclusive and inclusive on the end of a range is also problematic, would be great if we could at least find a place to document all the differences so that we can lookup in the future.

You mean in one of those .rst files from the readthedocs page for developers?

You mean in one of those .rst files from the readthedocs page for developers?

sounds good!


Update wavesurfer.minimap.js

renders the minimap without the need to resize the window. #954 #942 #951
Preview:
http://codepen.io/entonbiba/pen/ggeGyG
Changed
    this.wavesurfer.on('ready', this.render.bind(this));

to
    this.wavesurfer.on('ready', my.render.bind(this));

@katspaugh what about adding a check to see if a parameter called "miniRenderOnLoad" is set to true? It would make the rending on load optional instead of default. This way this.wavesurfer.on('ready', this.render.bind(this))): remains as default.
Something like this ok to add?

@entonbiba I don't really get why it's needed. How can it render the minimap (which is just a small copy of the waveform) before the main waveform is ready?

@katspaugh It will render after the initMinimap is called and if the parameter miniRenderOnLoad is set to true. Which will be inside the wavesurfer ready event. Therefore it will render after the main waveform is rendered, fixing the onload issue with the minimap.

Let's just render it right away unconditionally, maybe?

@katspaugh ok updated. I'll update the example and add it to the plugins section.
Once the debounce function is added to master, I'll update the resizing event for minimap. debounce pull request #964

Merged, thank you!


[YUNIKORN-538] Scheduler is unable to recovery from a restart.

This test uses 3 different ways to test for a nil error value:

assert.Assert(t, err == nil)
assert.Equal(t, err, nil)
assert.NilError(t, err,...)

Should be using assert.NilError() consistently in the test.

Thanks, fixed in the latest commit.


Jumpy surrounding elements when opening/closing Expandable Cards

Describe the bug
The closing animation of an expandable card is jumpy.
It almost appears to reset or disregard to Y-offset of the page’s scroll position, in addition to possibly not reserving the card’s original dimensions before being expanded.
Note that this does not affect the first card; only the second and after.
To Reproduce
Steps to reproduce the behavior:

Create a few expandable cards, one after another
Scroll down and expand a card
See the surrounding cards jump out of place

Expected behavior
iOS expandable cards do a pretty good job at leaving their surrounding elements unaffected by their zoom animations. It’s a rather impressive set of calculations and mockery. I think the expectation is that these work as well as those, which IMO is a pretty high standard.
Actual Behavior
Animation is very close, but the surrounding elements shifting around ruin the rest of the experience.
Screen Recording (converted to GIF)

Can anyone else see this? For some reason i can't replicate it on my iPhone X iOS 12.1.4

expandable card not jumpy on Galaxy s9 note on ios and android theme, but they flicker sometimes
https://drive.google.com/file/d/1GGXmMmDWkCVBBFMrKOEqVcgj5TjDpkgD/view?usp=sharing

@nolimits4web Was able to repro this in Safari under 12.2.0 see video here:
https://www.youtube.com/watch?v=j2HMKVl1_6g&feature=youtu.be
Would love to implement this feature into some of my apps!

Confirmed this is an issue introduced in iOS 12.2.0. Things working fine on iOS 12.1.x

Issue persists in iOS 12.3 betas.


make knn compatible with sci-kit learn below 0.23

Fixes #289
Reference Issues/PRs

What does this implement/fix? Explain your changes.

Added a workaround for check_array that is not wrapped with a decorator.
Change the _check_array_ts to accept any other not used arguments and keyword arguments.
Does your contribution introduce a new dependency? If yes, which one?

Nope
PR checklist for new estimators

Any other comments?

No test added but it passes all test before. Have tried on examples/02_classification_univariate.ipynb with sci-kit learn 0.22.1 and passes the knn fit.

This should fix the bug in #289! Thanks for the PR!
It still uses this hack where we overwrite the check_array, would you be interested in looking into this a bit further and refactor KNN? This will require a bit more work though ...

This should fix the bug in #289! Thanks for the PR!
It still uses this hack where we overwrite the check_array, would you be interested in looking into this a bit further and refactor KNN? This will require a bit more work though ...

By refactoring do you mean rewriting the classifier? Or I can make a PR to scikit-learn to propose a change to check_array... I am not sure rewriting the classifier will be an easy task, there are heavy dependencies on sci-kit learn... I hope you don't mean by rewriting all the dependencies of sci-kit learn...
By the way, no idea what the CI checks failed...

Thanks @Cheukting!


VirtualMachineView not responding to keyboard input after VM restart

The VirtualMachineView stops responding to keyboard input after the first reboot. While it shouldn't be an issue, as interactions should not be required outside of editor mode, it would be nice to fix it.

@Marcocanc this just happened to me as I was installing from fresh. Only way I found to fix it was to press keys and click on the VM window as it is booting. Otherwise I wouldn't be able to pass the User Creation screen

Had the exact same problem as @markbattistella

I've had this problem on and off as well.

I can also confirm this is an issue on 2.1.0. Host is macOS 13.5.2, m2 Mac Mini.

@Marcocanc any update on this? I am seeing this too.

Closing this issue, as Cilicon should not be used to interact with the VM (outside of the automated SSH session).


fix: publishing of plugins to GitHub packages

:tada: This PR is included in version 1.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove links property assignment that unused and overwritten

@bjornharrtell I think this is obsolete with #149?

The old ResourceSerializer is still there so might still be relevant, if you are not intending to remove it in short term?

It is not there anymore, we removed it. The new one is so much better! :smile:

Great to hear it and I look forward to try it out! :) Closing.


pick the latest in order for dev-latest

Fixes #179
Semantic ordering is
[]string{
  "1.22rc1",
  "1.22rc2",
  "1.22.0",
}

I wonder if it ever worked actually. It had been there since the beginning.

I wonder if it ever worked actually. It had been there since the beginning.

I was aware of this problem, but I've never used specifying a dev version myself. I explicitly specify the version that is required.

Can you describe in words the algorithm for creating and using dev versions?


add flags to specify slot, PIN, and touch policies for security keys

This permits flexibility to use different PIN and touch policies
for container signing. Key generation will use the default PIN
and touch policies for the specified slot unless additional flags
are set to attempt to override the default. The security key is
not guaranteed to honor a particular PIN and touch policy for the
specified slot.
Signed-off-by: Dino A. Dai Zovi<EMAIL_ADDRESS>

Nice! Just pulled your branch and ran the yubikey tests that don't work in CI:
$ go test ./test -tags=resetyubikey,e2e,pivkey -count=1
ok      github.com/sigstore/cosign/test 19.086s

Thank you for the quick response and merge!


Upgrade dependencies to fix build breakages

We've had some lint-related build failures lately. Unfortunately, these masked test failures introduced by 35d8d384f. When we fixed the lint (1eeb36cba8), the test failures showed up.
This commit fixes that by upgrading our deps:

Replace "react-addons-test-utils", which access a path that doesn't  exist in current "react-dom", with "react-test-renderer".

This required some API updates in the tests, but also some changes to use ref-based DOM node access rather than ReactDOM.findDOMNode, which doesn't work in "react-test-renderer".
See:

https://github.com/facebook/react/issues/7371
https://github.com/facebook/react/issues/8324

Yea sorry, refs can work but findDOMNode() can't (we tried).

Test plan: updated a small app I have to use this build (with yarn link graphiql), hit http://localhost:3000/graphql and clicked around, ran some queries.


Added in the cors middleware

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[ ] Complete, tested, ready to review and merge
[x] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

Please make sure to add a detailed description of the work intended in this PR. Also, remove any of the template items that don't apply to the PR.


Refactor EvolveAll and InitialTransfer workers

Moving more things into the worker so that the initial tick is clearer and flatter.

@SteffanLong how is your work towards the ReleaseWorker?

Before merging this, we should merge this one: https://github.com/PokemonGoF/PokemonGo-Bot/pull/1023

LGTM!


How does formatting works?

How can the formatting feature be triggered? It seems not working in my case. Linting and error indication are working. Thank you!

I had the same question and discovered 2 ways to run the formatter:
On demand: Go to View -> Command Palette. Type Format to limit results. Click Format Document:

Automatically on save: Go to the global settings for VS Code and search for Format. Enable Editor: Format On Save:

@leejones  Wow, thank you!


/snap/code/114/usr/share/code/bin/code-tunnel: /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /snap/code/114/usr/share/code/bin/code-tunnel)

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

VS Code Version: 1.74.0
5235c6bb189b60b01b1f49062f4ffa42384f8c91
x64
OS Version: Ubuntu 22.04

Steps to Reproduce:

Use Snap to install the latest VS Code
Run "code tunnel"

Error reported
/snap/code/114/usr/share/code/bin/code-tunnel: /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.25' not found (required by /snap/code/114/usr/share/code/bin/code-tunnel) /snap/code/114/usr/share/code/bin/code-tunnel: /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.27' not found (required by /snap/code/114/usr/share/code/bin/code-tunnel)

This is expected since VSCode snap is based on Ubuntu 16 and code-tunnel executable inside the snap will try to use glibc from the snap which does not support GLIBC_2.27. Please use the tunnel cli standalone installer from https://code.visualstudio.com/#alt-downloads as alternative.
This will get addressed once we update our snap base https://github.com/microsoft/vscode/pull/127320

same problem here !

Same here on Manjaro


Created containerfile

Created a containerfile based on linuxserver base alpine. It builds from pip package.
Only tested with podman, not docker. But should work.
Podman how to:
podman build --format=docker --tag pasjonsfrukt:latest
podman run -d -v <mount point directory>:/app:Z -p 8000:8000 --name pasjonsfrukt  -e PUID=0 -e PGID=0 -e TZ=Europe/Oslo localhost/pasjonsfrukt:latest

Interesting :nerd_face:
Have you checked out the existing Dockerfile in the pasjonsfrukt-docker repository? I know it's kind of hidden and I plan on moving it to this repository. You can pull the image from here. Let me know if it can be improved somehow!

Woops. I was not aware of the pasjonsfrukt-docker repo.
I think you already have the better container setup.  It is a hassle to run cron inside alpine, so in my setup, you have to run a systemd timer script (or cron) on the host, or run a container that executes harvest on a interval.


DevTools: Daily DevTips

Two DevTips imported from Umar's DevTips into /web/updates.

I confirm I authored these commits. (for what it's worth, I think I finally figured out how to fix that CLA message...next pull request should be fine).

@petele could you take a quick look. These are just two new DevTips.


Add panic if create client fails

Driveby PR as this cost me a few minutes due to improperly formatted VAULT_ADDR

Hi, if you want to handle this error in a non-panic way I'm willing to write a better PR. This was just written quickly as I was introduced to the tool today and needed it for a task. Ping this thread with some of, if any, requirements you have.


Project status?

Almost a year since any development on stretch it seems? Is the project still going to see active development?

I'm curious about this too – stretch seems to be exactly what I needed for my use case (especially the JS / wasm binding), but some of the open issues give me pause. It would be really helpful to know if stretch is still being maintained (or if maybe y'all are looking for new maintainers?), particularly since it's a pretty foundational library for anyone who needs to build on a native implementation of Flexbox. If it's not going to be maintained going forward, eh, it happens, but an update from the maintainers would help folks looking for a native implementation of Flexbox make a more informed decision.
Either way, all your work on this so far is much appreciated!!

It looks like the founders of visly (the creator of stretch) have joined Figma. There is an active fork at https://github.com/elbaro/stretch2 (@elbaro) but it looks like issues are disabled.

It looks like the founders of visly (the creator of stretch) have joined Figma. There is an active fork at https://github.com/elbaro/stretch2 (@elbaro) but it looks like issues are disabled.

It's a temporary fork only with known fixes. I will not actively maintain it.
For a long term please start a new fork.

It's a temporary fork only with known fixes. I will not actively maintain it.
For a long term please start a new fork.

The Bevy org is helping to maintain that fork now; I would expect active development and fixes there going forward.

The Bevy org is helping to maintain that fork now; I would expect active development and fixes there going forward.

ty @alice-i-cecile for your work.
note about this fork : js binding removed for now.

Taffy 0.1 is out; this contains full docs and several bug fixes for this library.
The initial migration should be painless; future development work is ongoing :)


Facing Type Error in @Salt/lab 1.0.0-alpha.49 - Generic type 'ElementType' requires between 0 and 1 type arguments

Package name(s)
Lab (@salt-ds/lab)
Package version(s)
@Salt/lab 1.0.0-alpha.49
Description
[build:*types] > build:types
[build:*types] > tsc
[build:*types]
[build:*types] C:/JPMC/DEV/TMP/MSPayments/dsp-merchant-dashboard-mfe/node_modules/@internationalized/date/dist/types.d.ts(152,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
[build:*types] C:/JPMC/DEV/TMP/MSPayments/dsp-merchant-dashboard-mfe/node_modules/@internationalized/date/dist/types.d.ts(193,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
[build:*types] C:/JPMC/DEV/TMP/MSPayments/dsp-merchant-dashboard-mfe/node_modules/@internationalized/date/dist/types.d.ts(223,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
[build:*types] C:/JPMC/DEV/TMP/MSPayments/dsp-merchant-dashboard-mfe/node_modules/@internationalized/date/dist/types.d.ts(272,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
[build:*types] C:/JPMC/DEV/TMP/MSPayments/dsp-merchant-dashboard-mfe/node_modules/@salt-ds/lab/dist-types/form-field-legacy/FormHelperText.d.ts(7,49): error TS2707: Generic type 'ElementType' requires between 0 and 1 type arguments.
[build:*types] npm run build:types exited with code 2
Steps to reproduce
Execute tsc command.
Using below versions:
npm 10.5.2
node js - 20.13.1
"@salt-ds/core": "^1.32.0",
"@salt-ds/icons": "^1.12.1",
"@salt-ds/lab": "^1.0.0-alpha.49",
"@salt-ds/theme": "^1.20.0",
Expected behavior
Expected to run build without errors.
Operating system

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

Browser

[X] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

Thanks for raising an issue, just curious have you tried changing your code to use the FormField from core? If you are using form controls from core it would be required.

Yes, FormField component, we are using from core.
I am using DatePicker from lab.

The error suggests you're lab form field? Which TypeScript version are you on?

@salt-ds/lab/dist-types/form-field-legacy/FormHelperText.d.ts(7,49):

"target": "ES2016"
Using as configured in tsconfig.json


Do you have a trained model (checkpoint) for this?

hi ! this is an amazing work !
I just wanna use this project to do some researches but my PC too slow.
Can you support a trained model for this ?
thanks.

Do you mean search or retrain?

yes, I am so appriciate if you can support

But No the result is not very good. if you want, maybe I can offer a baiduyun drive

Never mind, thanks :-)

I am so interesting about this paper and your work implement to Pytorch.
But as the figure that you provide implementation result see, it's curve is almost match the paper result.
Why you said the search result is not very good ?

miou is lower than paper reports

Oh,too strange,
do you figure out this issue should be?
do you finally search the cell architecture as same as the paper?

No, now we dont solve this issue.
The architect after search is different from paper reports obviously, If run darts, I  dont get the same result as paper too...

what a pity!
If you don't mind, please tell me the reason when you figure out.
By the way,what GPU you use to train, P100?

in search V100 *1
in retrain 2080ti * 8

Hey, boy, we have know get a better result for search, it has 0.34miou
baiduyun drive：https://pan.baidu.com/s/1ASRyzK_0m9CvhfN3yHZZ5Q
passwd：px6y

thanks :-)

in search V100 *1
in retrain 2080ti * 8

hi ! thanks for doing such amazing work !
If it is convenient, can you tell me how long do you need to finish retrain with 2080ti * 8?
and how high performance can be achieved with the derived model in the paper  ?

I trained for about 1M iters on autodeeplab-M I remembered, not used SDP, and got 79.8miou without MS

total train time is about 20 days

thanks for your quick reply！
1.SDP means the Scheduled Drop Path method？MS means using multi_scale in train？79.8 miou is evaluated under multi-scale or not？
2.what kind of training do you use：python train.py or CUDA_VISIBLE_DEVICES=0,1,2,···,n python -m torch.distributed.launch --nproc_per_node=n train_distributed.py ？
3.20 days for retrain is a bit too long, it Is caused by the training code or the model itself? can you share the direction of optimization?
4.I have tried to retrain，but the retrain default args and train_distributed.py are not properly set. Although I've tuned the code, I don't know if the parameters are set correctly. can you give me some advice?
look like to your reply, sincerely.

yes, not under ms I remember, I adapt the retrain code from chenxi's deeplab v3 reproduce, he didnot use MS
if you mean retrain, you should use CUDA_VISIBLE_DEVICES=0,1,2,···,n python -m torch.distributed.launch --nproc_per_node=n train_distributed.py to use distributed training
It is just because too much iterations(more than 1M in paper) and only 30K in deeplab v3plus, you can not get a good result if train only several thousands iters without imageNet pretrain, the retrain configurations are same as deeplab v3/v3+
I retrained it with another code(adapted from chenxi's code), I should have fixed the bugs in our project, but these days I am busy in some other things, but maybe I can pay some attention on it after March...
Thanks, good luck!

thank you very much！
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年1月11日(星期六) 晚上11:48
收件人<EMAIL_ADDRESS>抄送: "0.0"<1639998780<EMAIL_ADDRESS>主题: Re: [NoamRosenberg/AutoML] Do you have a trained model (checkpoint) for this? (#62)
yes, not under ms I remember, I adapt the retrain code from chenxi's deeplab v3 reproduce, he didnot use MS
if you mean retrain, you should use CUDA_VISIBLE_DEVICES=0,1,2,···,n python -m torch.distributed.launch --nproc_per_node=n train_distributed.py to use distributed training
It is just because too much iterations(more than 1M in paper) and only 30K in deeplab v3plus, you can not get a good result if train only several thousands iters without imageNet pretrain, the retrain configurations are same as deeplab v3/v3+
I retrained it with another code(adapted from chenxi's code), I should have fixed the bugs in our project, but these days I am busy in some other things, but maybe I can pay some attention on it after March...
Thanks, good luck!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


README.md: Fix sql-runner version for unzip command

Please take a look @BenFradet

Coverage remained the same at 22.819% when pulling eb38577aff729aa76cbfe45f82a486b76ff3e6ab on palash25:readme-fix into af192d910d1c53c52c934fc16787fe4538922b34 on snowplow:develop.

Coverage remained the same at 22.819% when pulling eb38577aff729aa76cbfe45f82a486b76ff3e6ab on palash25:readme-fix into af192d910d1c53c52c934fc16787fe4538922b34 on snowplow:develop.

Closing - this has been fixed!


Add support for originals in message

The intention of this task is to ease development for plugin writers regarding spooling support and adds more consistency to the way messages are modulated and forwarded.
By removing the support for message modification from the routers we can define an "original" to be generated by the consumer and can be sure no additional modification has been made before the message reaches a producer. By dropping only original messages we avoid double-formatting of messages e.g. sent to a spooling producer.

The message generated from by a consumer AFTER applying modulators is seen as "original"
A function "CloneOriginal" has to be implemented in the Message struct
Remove formatter support from routers (see #80)
When dropping a message a clone of the original is ALWAYS dropped (with streams set correctly)
Modulating of messages has to move out of the concrete producer implementation unless SimpleProducer is used as a base struct (i.e. as of the current state BufferedProducer calls Modulate)
Storing / generating originals has to be removed from all producers doing such a thing

@msiebeneicher from our discussion:
´´´go
type Message struct {
data			MessageData
orig			MessageData
prevStreamID	MessageStreamID // history
source			MessageSource   // back channel	  <- optional
timestamp		time.Time		// time of creation
sequence		uint64			// weak ordering     <- raus?
}
type MessageData struct {
key			[]byte			// later
payload     []byte
streamID    MessageStreamID
}


[BUG] Black screen and when it happen, reload and reset controller can't help

Hi team,
I face a problem that sometimes the controller never appears ready, no matter how i wait (only black screen and infinite loading). And when it happens, reload and reset controller don't work. The controller's value hasError return false.
This error only occurs sometimes (inconsistently).
Can you give me advise or solution to handle it?

Device: iOS iPhone 6 and 6S Plus
OS: 12-13
Version: youtube_player_flutter 7.0.0+7

@pratamarama did you find a solution to this? If not can you help sharing the logs.


Broken Web link

Describe the bug
Broken Web link
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes#16.6.0
Click on 'Known Issues'
Goes to https://developercommunity.visualstudio.com/topics/Visual+Studio+2019+Version+16.7.html?
See Page not found

Expected behavior
Something besides Page not found
Desktop (please complete the following information):
Chrome browser

@jawiddis please take a look - there's a broken link on an important release notes page.

It is fixed.
From: Jason H<EMAIL_ADDRESS>Sent: Wednesday, May 20, 2020 8:34 PM
To: MicrosoftDocs/feedback<EMAIL_ADDRESS>Cc: Jacqueline Widdis<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/feedback] Broken Web link (#2765)
@JacquelineWiddishttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJacquelineWiddis&data=02|01|Jacqueline.Widdis%40microsoft.com|ebdfdcef7e3c496aee2708d7fd37dae4|72f988bf86f141af91ab2d7cd011db47|1|0|637256288648545651&sdata=wdFHZEhAWv2hgXiuHEWPIu0nwMxTPqRuyeMrFUNG9aE%3D&reserved=0 please take a look - there's a broken link on an important release notes page.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Ffeedback%2Fissues%2F2765%23issuecomment-631858696&data=02|01|Jacqueline.Widdis%40microsoft.com|ebdfdcef7e3c496aee2708d7fd37dae4|72f988bf86f141af91ab2d7cd011db47|1|0|637256288648555646&sdata=QhQxL9lYkbwiIN1B9w2jmFkgruLlgSG%2FcIQ296muLFE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALYJ4XBW6N4NTSZUIHDARY3RSSOL5ANCNFSM4NGFA2LA&data=02|01|Jacqueline.Widdis%40microsoft.com|ebdfdcef7e3c496aee2708d7fd37dae4|72f988bf86f141af91ab2d7cd011db47|1|0|637256288648565645&sdata=wJxL5y1i4qAkpHRFVx39Ub3N%2FYxWDsid8PpFU4jVpv4%3D&reserved=0.

Thanks! #please-close


Instance of 'HookRunException' when creating new project fix:

Description
I'm trying to use very_good create myproject and it generates an unhandled exception.
Steps To Reproduce

type very_good create myproject

Expected Behavior
It creates the project
Screenshots
Added screenshot

Additional Context
I just started using mason, probably incorrectly, and it looks like I may have broke the vgv stuff. Any ideas? I tried to deactivate/reactivate and still no luck.

Hi @wednesdei 👋
Thanks for opening an issue!
I'm unable to reproduce on MacOS but will check on Windows first thing in the morning. In the meantime I recommend trying to deactivate mason_cli and very_good_cli and reactivate very_good_cli:
dart pub global deactivate mason_cli
dart pub global deactivate very_good_cli

dart pub global activate mason_cli
dart pub global activate very_good_cli

Let me know if that helps and sorry for the inconvenience!

All good, no problem. I did try to deactivate, and reactivate, unfortunately it didn't fix it. I also tried a dart pub cache clean, flutter clean, and then try again with no success. I'm just trying to remember what I was doing before the issue started. I think I deleted a project folder, and did a pub cache clean/flutter clean. I'm not sure if that might have cause the issue, nothing else really stands out.

I am also experiencing this issue.
very_good create totel --desc "Totel Cross-platform app" --org "com.totel.app"         otel>
⠴ Bootstrapping... (1.3s)Unhandled exception:
Unable to execute hook: pre_gen.dart.
Error: 'HookContext' isn't a type.
void run(HookContext context) {
^^^^^^^^^^^
#0      GeneratorHooks._runHook (package:mason/src/hooks.dart:320:7)

#1      CreateCommand.run (package:very_good_cli/src/commands/create/create.dart:166:5)

#2      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#3      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:141:18)

#4      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:88:14)

#5      main (file:///C:/Users/Lazarus/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/very_good_cli-0.7.13/bin/very_good.dart:5:24)

⠋ Bootstrapping... (1.0s)Unhandled exception:
Unable to execute hook: pre_gen.dart.
Error: 'HookContext' isn't a type.
void run(HookContext context) {
^^^^^^^^^^^
#0      GeneratorHooks._runHook (package:mason/src/hooks.dart:320:7)

#1      CreateCommand.run (package:very_good_cli/src/commands/create/create.dart:166:5)

#2      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#3      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:141:18)

#4      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:88:14)

#5      main (file:///C:/Users/Lazarus/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/very_good_cli-0.7.13/bin/very_good.dart:5:24)

Any solution yet @felangel ? I really need to get a project started

@lazicah can you provide the output of flutter doctor -v?

I haven't tried to use the very_good cli until today, and it is now working. I had to recently re-install VS Code, and I also re-installed the very_good cli. Looks like it all works now, I can close this out if that works for you, my issue disappeared.

I'd recommend closing this for now if we don't have reproduction steps. I'm happy to reopen this if others are able to provide reproduction steps 👍

Sorry @felangel for the late reply
[√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.19041.928], locale en-US)
• Flutter version 3.0.4 at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 85684f9300 (10 weeks ago), 2022-06-30 13:22:47 -0700
• Engine revision 6ba2af10bb
• Dart version 2.17.5
• DevTools version 2.12.2
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc3)
• Android SDK at C:\Users\Lazarus\AppData\Local\Android\Sdk
• Platform android-33, build-tools 31.0.0-rc3
• ANDROID_SDK_ROOT = C:\Users\Lazarus\AppData\Local\Android\sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.9.31205.134
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio1
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] Android Studio (version 4.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[√] VS Code (version 1.71.0)
• VS Code at C:\Users\Lazarus\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.48.0
[√] Connected device (4 available)
• SM A135F (mobile) • <IP_ADDRESS>:42355 • android-arm    • Android 12 (API 31)
• Windows (desktop) • windows             • windows-x64    • Microsoft Windows [Version 10.0.19041.928]
• Chrome (web)      • chrome              • web-javascript • Google Chrome 105.0.5195.102
• Edge (web)        • edge                • web-javascript • Microsoft Edge 104.0.1293.63
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

When i try to create
very_good create toe
⠇ Bootstrapping... (1.6s)Unhandled exception:
Unable to execute hook: pre_gen.dart.
Error: 'HookContext' isn't a type.
void run(HookContext context) {
^^^^^^^^^^^
#0      GeneratorHooks._runHook (package:mason/src/hooks.dart:320:7)

#1      CreateCommand.run (package:very_good_cli/src/commands/create/create.dart:166:5)

#2      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#3      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:141:18)

#4      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:88:14)

#5      main (file:///C:/Users/Lazarus/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/very_good_cli-0.7.13/bin/very_good.dart:5:24)

⠹ Bootstrapping... (1.1s)Unhandled exception:
Unable to execute hook: pre_gen.dart.
Error: 'HookContext' isn't a type.
void run(HookContext context) {
^^^^^^^^^^^
#0      GeneratorHooks._runHook (package:mason/src/hooks.dart:320:7)

#1      CreateCommand.run (package:very_good_cli/src/commands/create/create.dart:166:5)

#2      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#3      VeryGoodCommandRunner.runCommand (package:very_good_cli/src/command_runner.dart:141:18)

#4      VeryGoodCommandRunner.run (package:very_good_cli/src/command_runner.dart:88:14)

#5      main (file:///C:/Users/Lazarus/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/very_good_cli-0.7.13/bin/very_good.dart:5:24)


Typing errors on 3.13.0 release

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
The last release (3.13.0) seems to have broken some type definitions.
In a .ts file compiled with tsc
import * as Raven from 'raven-js';
Raven.config(/*..*);

In a get ->
error TS2339: Property 'config' does not exist on type 'typeof ".../node_modules/raven-js/typescri...'

I see the same error in Visual Code.
What is the expected behavior?
This was working fine in 3.12.
I saw in the release page, that many changes occurred during the last release on ts files so I might not using it correctly anymore.
Thanks for your time, and do not hesitate if you need more information.

The typescript declaration file has changed.
The new way to import is: import Raven from "raven-js";

It's working, thanks !

Actually, I still have an issue:
import Raven from "raven-js"
// when compiled
raven_js_1.default.config(constants_1.SENTRY_URL, {
                 ^
TypeError: Cannot read property 'config' of undefined

I have the same issue. The code appears to be doing module.exports = Raven but the typescript is using export default so they seem to be incompatible unless I am missing something? Perhaps there is a setting in typescript that allows for this? The raven typescript tests appear to use import ... from ... so perhaps it is possible to make it work?

Same. Pinned raven-js in my package.json to "raven-js": "~3.12.2" for now.

So, obviously this was caused by raven-js#827. Can anything from tsconfig.json be used in your local config?
Folks, I need a hand. I don't write TypeScript, and I rely on the community to get these definitions right.
@LucaVazz @graingert @connor4312

I'm guessing it's related to this:
"compilerOptions": {
  "module": "commonjs"
  ...
}

If I don't have a resolution by EOD I'll back out #827 entirely and publish 3.13.1.

the reason is your .d.ts describes an ESM, but your source code is a CJS Module

the reason is your .d.ts describes an ES module, but your source code is a CJS module

Yep, I understand. So the solution is to tell the compiler to treat your entire project as CJS (module:  "commonjs")? Which I presume people can't do for perfectly good reasons.
So is the only solution to go back to the old definitions? Can we amend the existing ones quickly to use the previous export statements?

you should be able to say that Raven is a CJS module, or switch to ESM completely.

declare module "raven-js" {
    export = Raven
}

It's definitely going to stay as CommonJS.
Can anyone try 3.13.0 with the changes Ben suggested above?

Thomas, sorry :)

@benvinegar I'd recommend the ESM + module.exports = Object.assign trick.

I'm going to revert for now, publish 3.13.1, then look into getting this done for the future.

3.13.1 is published. Keeping this open because I want to solve this TypeScript problem properly – and hopefully for the last time.

Ouch, I'm really sorry to have caused this trouble.
@graingert could you please open a PR with the CJS-Variant you suggested to get it fixed?

While Typescript support is being looked at, I'd like to reflag my PR #736 from last year. Right now we're stuck on<EMAIL_ADDRESS>because of this issue. After that version there was a regression and RavenOptions changed from exported to private.
Even in that old version, we have to import it in a very hacky way:
import { RavenOptions, RavenStatic } from 'raven-js';  // this is messy because we're waiting on a raven-js bugfix
const Raven: RavenStatic = require('raven-js');  // tslint:disable-line

Ideally with proper typings, we'd be able to do something like this:
import Raven, { RavenOptions } from 'raven-js';

export function captureMessage(msg: string, options?: RavenOptions) {
    Raven.captureMessage(msg, options);
}

My PR #736 demonstrates how this can be done.


MSC2526: Add ability to delete key backups

Rendered
Hopefully this is uncontroversial.  I'd like to get this approved soon, since I'm preparing a spec PR for key backups (#2387), and would prefer to merge it all in one go, rather than making a separate PR to add this later.

@mscbot fcp merge

@richvdh the bot doesn't understand review comments.
per https://github.com/matrix-org/matrix-doc/pull/2526#discussion_r425811722 :
@mscbot concern please doc error cases

A commit has been made, so leaving it to @richvdh to raise another concern if it's a problem:
@mscbot resolve please doc error cases

Presuming the spec PR for this is https://github.com/matrix-org/matrix-doc/pull/2387

Merged! :tada:


refactor the Lists variant list selection

The target is to show only one variant "Lists demo" with a link to a new page with a customization bottom sheet to allow:

"list item size" - step counter from 1 to 2 (defaulted to 2)
"Leading" - choice chips

"none"
"icon"
"circle" (default)
"square"
"wide"

"trailing"

"none"
"checkmark"
"switch"
"icon"

Example of list:

item 1: Title / Subtitle
item 2: "carrot" / "root vegetables - 41 cal/100g"
item 3: "apricot" / "stone fruits - 48 cal/100g"
item 4: "butternut" /  "squash fruits - 40 cal/100g"
item 5: "mango" /  "tropical fruit - 60 cal/100g"
item 6: "nectarine" /  "fruit - 44 cal/100g"
item 7: "pumpkin" / "squash fruits - 26 cal/100g"
item 8: "orange" / "citrus fruits - 63 cal/100g"

@mccart77 @B3nz01d
In this screen zpl.io/RMv7A6v it is not possible to have miltuple selection in Trailing Chips because

None can not be selected with other chips,
switch can not be selected with other chips
Regarding the shape of the leading image, do we consider :
the image is provided in the right format (circle, square or wide) so the component has just to display it as it is
the image is provided in a format and the item need to adjust it to fil the space (crop, fit, fill, apply a circle shape ...)

based on the design review:

the size of the image should not scale up and stay at its current height
the list of variants should be updated to

"Selector list"

"trailing"

"checkmark"
"switch"

"standard list"

"trailing"

"none"
"text"
"icon"

For standard List: is it possible to have this kind of item (zpl.io/RMv7A6v) (text and icon: i button) ?
If yes, not possible to have :

"trailing"

"none"
"text"
"icon"

Q2: the size in fixed to what you see in zepplin, if the user raizes the font size, it will stay a the same initial size

Q1: Yes it is possible to have text and icon at the same time.
2 options are possible:

keep the chips but without the choice exclusion mechanism. To be more precise:

if one of the text or icon chip is already selected - then if you select none all the others will deactivate
if the user has the text chip selected and taps on the icon chip, then both chip get selected - and vise versa
if both text and icon chips are selected and the user taps on the icon chip the chip get deselected

propose 2 separate lines with the a toggle switch on text and one on icon

I'd rather use the first option on my side. what do you propose @mccart77

@mccart77 @B3nz01d
on zeplin i can't find :
spacings between "i" button on "Details" text
spacing between title or subtitle and "Details" text
spacing above title
spacing below subtitle or title is no subtitle
spacing above and below the leading image
For dynamic type fonts, Should title or/ and subtitle should be truncated or we accepte all items don't have the same height ?

bug accessibility ticket : https://github.com/Orange-OpenSource/ods-ios/issues/298


Lcam 927 maat rollback

What
Link to story
Describe what you did and why.
Checklist
Before you ask people to review this PR:

[x] Tests should be passing: ./gradlew test
[x] Github should not be reporting conflicts; you should have recently run git rebase main.
[x] Avoid mixing whitespace changes with code changes in the same commit. These make diffs harder to read and conflicts more likely.
[x] You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

Could you please address the code smells?

done


The project MUST identify the specific coding style guides for the primary languages

The project MUST identify the specific coding style guides for the primary languages it uses, and require that contributions generally comply with it. (URL required)
In most cases this is done by referring to some existing style guide(s), possibly listing differences. These style guides can include ways to improve readability and ways to reduce the likelihood of defects (including vulnerabilities). Many programming languages have one or more widely-used style guides. Examples of style guides include Google's style guides and SEI CERT Coding Standards.

Flutter/flutter style guide:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo

flutter/engine code style guides are documented in https://github.com/flutter/engine/blob/main/CONTRIBUTING.md

flutter/packages code style is documented in https://github.com/flutter/packages/blob/main/CONTRIBUTING.md

Updated openssf best practices.


OpenShift Serverless 1.5.0 will stop using Service Mesh

This is a heads-up that the next planned release of OpenShift Serverless - 1.5.0 - will stop depending on or using Service Mesh out of the box. This is the last big change we plan to make around ingress/istio/service mesh integration before our GA release. This means two things for Kabanero.
First, it means unless you explicitly need Service Mesh for other reasons, once you update to OpenShift Serverless 1.5.0 you will no longer need Service Mesh and its dependencies as a prerequisite.
Secondly, it means that Knative Services will no longer be part of or integrated with any Service Mesh by default. If you rely on this to enable specific user scenarios, we should discuss what those are and how or if those use cases can continue to be satisfied.

@bbrowning Thanks for the heads up!
@stephenkinder @ralanlittle You have both mentioned previously that Service Mesh / Istio will be required for application use.  It would be good to discuss those with @bbrowning to be sure that everything is copacetic.

Discovery to-do

is there an upgrade path for the operator itself, from 1.4.0 to 1.5.0?  Maybe just observe what happens, starting with a system that has 1.4.0 installed, then moving to 1.5.0.  Does the service mesh stuff get cleaned up automatically, and replaced with Kourier stuff?

If someone has Knative Services created from 1.4.0, and we update to 1.5.0, what happens to them?  do they continue to work on 1.5.0?

If our install script continues to deploy service mesh, even though serverless is not using it, does the service mesh get in the way of anything?  can a customer continue to use it for their own purposes?  I don't think we need to go overboard testing this, but if you see anything that seems like it would cause a problem right off the bat, it would be good to know.

For 3. above, you can continue to use Service Mesh in the cluster with our OpenShift Serverless 1.5.0 release without any inherent conflicts. We do not intend to support changing the ingress class from Kourier to Istio and we no longer ship the Knative networking-istio plugin so changing to the Istio ingress class would not work out of the box.
With that said, I have successfully tested creating my own ServiceMeshControlPlane, enrolling specific namespaces containing Knative Services into that SMCP (but NOT the knative-serving or knative-serving-ingress namespaces), and enabling mesh sidecars for those Knative Services using the sidecar.istio.io/inject: true annotation on the container template. The only extra thing required is creating a NetworkPolicy in any namespace using Knative Services to allow ingress/egress traffic from the knative-serving and knative-serving-ingress namespaces since Service Mesh locks down all network traffic outside the mesh with NetworkPolicy by default. We don't yet have documentation outlining how to do this, but it's something we'll work on.
The summary is with our switch to Kourier you can integrate with Service Mesh / Istio just like you'd do for any other application running under Service Mesh or Istio that needs to speak with services outside the mesh. Theoretically, it should be possible to put all of the Knative control and data planes inside the mesh as well using standard Istio methods but I haven't tested that.

I am closing this issue, as we've migrated to Serverless 1.5.0 in Kabanero 0.8.0.


share user profile in DM

Hey,
First thank you for this really useful API !!
I wanted to know if the feature of sharing a profile in DM existed in the api.
Right now I'm sending a normal message using Client.Thread.configureText and sending @username.
But I have a problem when there is a dot in the username (for example when I send<EMAIL_ADDRESS>the message sent start acting like a normal url so when you click on it you are redirected on web browser.
Thank you for your help !

Any Update on this ?? @Nerixyz @dilame


Fix Build and Releaser stable workflow

This change:

Specifies to be triggered only at creating tags v*
Uses checkout Github Action with v2
Fix indentation of steps in jobs

Signed-off-by: Rodolfo Martínez Vega<EMAIL_ADDRESS>Description
This PR fixes #2804
Notes for Reviewers
Signed commits

[X] Yes, I signed my commits.

@leecalcote I found that I have the indentation wrong for the steps. Hoping this finally solves the problem.

Whitespace! argh

Drumroll....


Gateway MQTT payload not valid

Hi,
I am getting this error message on gateway event up.
*** PAYLOAD IS NOT VALID JSON DATA ***

Illegal character ((CTRL-CHAR, code 23)): only regular white space (\r, \n, \t) is allowed between tokens
 at [Source: java.io.StringReader@345fdb0d; line: 2, column: 2]

the topic for this is eu868/gateway/REDACTED/event/up
The gateway itself is a Laird Sentrius (outdoor) connected over port 1700 (Semtech packet forwarder)
The device event is however showing the correct JSON
(application/REDACTED/device/REDACTED/event/up)
My chirpstack-gateway-bridge.toml looks like this:
# See https://www.chirpstack.io/gateway-bridge/install/config/ for a full
# configuration example and documentation.

[integration.mqtt.auth.generic]
servers=["tcp://mosquitto:1883"]
username=""
password=""

[integration.mqtt]
event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
state_topic_template="eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#"

[integration]
# Payload marshaler.
#
# This defines how the MQTT payloads are encoded. Valid options are:
# * protobuf:  Protobuf encoding
# * json:      JSON encoding (easier for debugging, but less compact than 'protobuf')
marshaler="protobuf"

Any help appreciated.

at [Source: java.io.StringReader@345fdb0d; line: 2, column: 2]

This is not an error coming from ChirpStack, it comes from a Java application.


split BYTES into concrete and symbolic implementation

With this change, we are able to kompile IELE for the Haskell backend.

Oh wow, looks like not only I deleted those rules, but also the endmodule.
Clearly this happened while I was trying to figure out why git wouldn't allow me to push, ending up copying/pasting my changes several times on different repos etc. Should be fine now.

a general question. how do you ensure that the hooked implementation agrees with the k rules? is it a trust base?

I mean, we have tests, but yeah, it's not formally guaranteed by anything.

@dwightguth Are you happy with the fix? Can I merge it?

Yes I tried running IELE tests (make vm-test) and it looks fine.

Jenkins: test this please

Not sure what's going on here but it seems to be stuck on Jenkins tests ("default Expected — Waiting for status to be reported")
Also, it says "This pull request can be automatically merged by project collaborators
Only those with write access to this repository can merge pull requests." so I'm not sure I have the required permissions...

The build is in the queue right now, be patient.

Looks like those checks are still pending...

Jenkins: test this please

Cool, it did work this time!


Improve error messages

[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] This pull request is on the dev branch.
[x] I used gofmt for formatting the code before submitting the pull request.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+4.9%) to 62.116%

Totals

Change from base Build<PHONE_NUMBER>:
4.9%

Covered Lines:
182

Relevant Lines:
293

💛  - Coveralls


Record the freeform answers when people choose 'OTHER'

Some checkbox and radio questions have an 'OTHER' response that accepts a short freeform answer. Previously the freeform response was not being recorded. This adds the freeform response.
The 'OTHER' response will be recorded as a separate question, prefixed by "[OTHER]". It will always be present in the response, either with 'NOANSWER' or the value.
Fixes #222

Example: This one has an 'OTHER' option but the user did not choose it.
{
"question":"Who was the page (shown above) from?",
"answer":"2-Chromemybrowser-Whowasthepageshownabovefrom"
},
{
"question":"[OTHER] Who was the page (shown above) from?",
"answer":"NOANSWER"
},
Example: This one has an 'OTHER' option, which the user chose.
{
"question":"What led you to the page (shown above)?",
"answer":"6-Other-Whatledyoutothepageshownabove"
},
{
"question":"[OTHER] What led you to the page (shown above)?",
"answer":"22222"
}

@meacer please review.
@moduloprime FYI.

LGTM. :non-potable_water:


Typo fix

Does the datasets_next impact performance? If I understand correctly, datsets_next is created only once.

Closed in favor of #390


Upgrade focus trap to v8.0.0

Summary
Upgrade focus trap to v8.0.0

Closes #3388
Deployment Link

https://terra-core-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Thank you for contributing to Terra.
@cerner/terra

Do we know if bumping focus-trap-react from v6 to v8 on terra-dropdown-button and terra-overlay have any negative impact on consumers of these two components? In looking at the focus-trap-react v7 and v8 changelogs, it's hard to know what those breaking changes really impact.

It looks like the focus behavior has changed in the terra-dropdown-button from the screenshots. What is going on there. Is that desired?


Allow extravolumes / extramounts

Hi guys, I would like to thank you for this really cool exporter.
One of my application uses a cert stored in a K8S secret and I was guessing if it could be possible to mount this secret and add a watchfile to this one ? Could be really cool to monitor K8S cert as my app cert with the same exporter.
Regards,
Seb.

Hi Seb
Glad you like the project, and thanks for the kind words! :smiley:
Providing options for extraVolumes and extraMounts is a great idea, and together with an extraArgs would offer fantastic flexibility for exotic use-cases.
So I'll work on adding this to our Chart, the more knobs the better :robot:
Did you notice you could already tweak this default value? secretTypes specifies which type of Secret is watched, and what key to look for in onbect data.
secretsExporter:
  secretTypes:
  - type: kubernetes.io/tls
    key: tls.crt

For example if you had a generic "Opaque" Secret with a certificate in key mycert, then this set of value would have the exporter find your certificate:
secretsExporter:
  secretTypes:
  - type: kubernetes.io/tls
    key: tls.crt
  - type: Opaque
    key: mycert

Obviously that won't target specific Secrets by name and so lacks precision. But it has the advantage to find all such Secrets dynamically. It may be the best option when having a lot of such objects in your cluster. Much less if that was a few isolated cases.
I'll get back to you regarding Chart improvements.
Cheers

Hi Thibault,
Thank you for the trick !
I was not planning to monitor all my certs, but at the end,  I found it really helpful to get a complete overview.
Thank you so much for  help !


x-webkit-speech

x-webkit-speech

Is this what you are looking for?
http://caniuse.com/#feat=speech-recognition


Lint and sanity errors

With the release to Automation Hub, we see a number of (primarily formatting) errors from the ansible-lint test and sanity tests pep8, pylint, and shebang. See import log here.
Can we fix the offending code and also add these tests to our CI workflows?

Regarding the ansible-lint errors, we do run these checks. But, for some reason it seems that these tests disregard our yamllint configuration of indent-sequences: false defined here. What's strange here is that it does seem to pick the space indent configuration of 2

Regarding the shebang issues, please see https://github.com/ansible/ansible/issues/78346

Regarding pylint, we also run it in our CI. Not sure why their run complains on something our doesn't

We can add pep8 test to our CI

PyCodeStyle (pep8) is added to the CI #56

I'm calling this resolved.


Deleting an address endpoint causes not to be able to load routes anymore

Describe the bug
I deleted an address endpoint. After deleting the address endpoint i cannot access the route tab anymore.
It is only in this specific mailserver. All other route setting of other servers are working,
To Reproduce

Go to "Routing"
Click on Address endpoints
delete one ( i had only one)

Screenshots

Environment details

OS: Ubuntu 20
Version 3.3.2

You will need to rummage through postal logs web in order to find the exception message and full stack trace so someone can help you further.

same here:

stacktrace:
ERROR  GET /org/dso/servers/dev-solus/routes (500) event=request transaction=6781af57e59fa2b6ab0c controller=RoutesController action=index format=html method=GET path=/org/dso/servers/dev-solus/routes request_id=937b3635-78ea-4ad6-83b9-e50555ef75e6 ip_address=<IP_ADDRESS> status=500 db_runtime=6.428897857666016 exception_class=ActionView::Template::Error exception_message=undefined method description' for nil:NilClass exception_backtrace=/opt/postal/app/app/views/routes/index.html.haml:43:in block (2 levels) in _app_views_routes_index_html_haml__1911547863970772885_58660'\n/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/helpers/capture_helper.rb:45:in block in capture'\n/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/helpers/capture_helper.rb:209:in with_output_buffer'\n/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/helpers/capture_helper.rb:45:in `capture'
<IP_ADDRESS> - - [24/Aug/2024:23:13:06 +0000] "GET /500 HTTP/1.1" 500 1477 0.0350

same here:

stacktrace:
ERROR  GET /org/dso/servers/dev-solus/routes (500) event=request transaction=6781af57e59fa2b6ab0c controller=RoutesController action=index format=html method=GET path=/org/dso/servers/dev-solus/routes request_id=937b3635-78ea-4ad6-83b9-e50555ef75e6 ip_address=<IP_ADDRESS> status=500 db_runtime=6.428897857666016 exception_class=ActionView::Template::Error exception_message=undefined method description' for nil:NilClass exception_backtrace=/opt/postal/app/app/views/routes/index.html.haml:43:in block (2 levels) in _app_views_routes_index_html_haml__1911547863970772885_58660'\n/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/helpers/capture_helper.rb:45:in block in capture'\n/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/helpers/capture_helper.rb:209:in with_output_buffer'\n/usr/local/bundle/gems/actionview-<IP_ADDRESS>/lib/action_view/helpers/capture_helper.rb:45:in `capture'
<IP_ADDRESS> - - [24/Aug/2024:23:13:06 +0000] "GET /500 HTTP/1.1" 500 1477 0.0350

Logs provided by someone else in #3101


Chat - Chat disappears in chat switcher after click on IOU for same user

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open Expensify desktop app
Create a new chat with a different user B
Navigate to created chat with user B
Click on "+"
Click on "Request money"
Insert amount
Click "Next"
Click "Request"
Press CMD+K
Click on IOU created at step 8 (User B owes...)
Press CMD+K

Expected Result:
Chat created at step 2 is displayed in chat switcher
Actual Result:
Chat created at step 2 disappears from chat switcher, only IOU is displayed in the list. After restarting the app chat doesn't reappear
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://platform.applause.com/services/links/v1/external/7889599d3166b9fb83ba0200f7a349c81a6fe6cb6ee94eb53506901e6b34481b
https://platform.applause.com/services/links/v1/external/4eb721d1e86e8de346a500ddddf6d3a5061054352898350cad76321e209cf4bd
Expensify/Expensify Issue URL:
Issue reported by: Applause - internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

This is done.


AddAlternativeFormatImportPart produces malformed documents if both parent and child contain shape-lines or similar objects

Description
Document is malformed if I use AddAlternativeFormatImportPart on a document with a shape-line (or similar objects) in the root and the attached documents.
Information

.NET Target: .NET Framework 4.6.2
DocumentFormat.OpenXml Version: 2.12.3

Repro
Create 2 word documents "Template.docx" and "ExampleAttachment.docx".  Insert a single shape-line in both.
Note this was originally discovered using a shape-line and an attached image, but it can work with a shape-line.
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ReproAddAlternativeFormatImportPartCorruption
{
    class Program
    {
        static void Main(string[] args)
        {
            var iterations = 1;
            var outputPath = $"test_{DateTime.Now.ToString("yyyyMMdd-hhmmss")}.docx";
            var attachmentPath = "ExampleAttachment.docx";
            File.Copy("Template.docx", outputPath);

            var attachmentBytes = File.ReadAllBytes(attachmentPath);
            using (var doc = WordprocessingDocument.Open(outputPath, true))
            {
                var firstPar = doc.MainDocumentPart.Document.Body.FirstChild;

                for (int i = 0; i < iterations; i++)
                {
                    var attachmentHeading = $"{attachmentPath} {i}";
                    var xmlFileId = attachmentHeading
                        .Replace(".", "_")
                        .Replace(" ", "_");

                    var compositeElements = AddDocumentAttachment(attachmentBytes, attachmentHeading, xmlFileId, doc.MainDocumentPart, AlternativeFormatImportPartType.WordprocessingML);
                    foreach (var element in compositeElements)
                    {
                        firstPar.InsertBeforeSelf(element);
                    }
                }
                doc.Save();
            }

        }

        private static IEnumerable<OpenXmlCompositeElement> AddDocumentAttachment(
            byte[] fileData,
            string attachmentHeading,
            string xmlFileId,
            MainDocumentPart mainPart,
            AlternativeFormatImportPartType? alternativeFormatImportPartType)
        {

            // Document is automatically saved and closed onDispose.
            var chunk = mainPart.AddAlternativeFormatImportPart(alternativeFormatImportPartType.Value, xmlFileId);
            using (var chunkStream = chunk.GetStream(FileMode.Create, FileAccess.Write))
            using (var w = new BinaryWriter(chunkStream))
            {
                w.Write(fileData);
                w.Flush();
            }

            var altChunk = new AltChunk
            {
                Id = xmlFileId
            };

            mainPart.Document.Save();

            return new OpenXmlCompositeElement[]{
                altChunk
            };

        }
    }
}

Observed
Open the file in Word (Office 2019, version 1808, build 10372.20060), get the following error:

We're sorry.  We can't open .docx because we found a problem with its contents [OK] [Details]

Details:

HRESULT 0x800004005

Location: Part: /word/document.xml, Line: 0, Column: 0

Expected
Create a document that does not cause errors.
Additional notes
Initially I discovered this issue happening inconsistently - like, I would attach 4 documents and it would be okay, but 5 was too much.  And the only attached objects within the document were images.
Now, I can raise it consistently with the method described above, using documents created from scratch.  If needed, I can send the docx files that will reproduce this issue.
If I use the same process without a shapes-line drawn into one or both of the files, the error does not occur.

@Pxtl thanks for reporting the issue. Did this happen in previous builds of the SDK? Did you try it with other versions of Office?

@tomjebo
I have not tried on other versions of either Word or Open-XML-SDK.  I was implementing a new feature in our software that leverages the library... sadly we didn't find out about this problem until we were user-acceptance-testing.  The bug in more complex documents is so inconsistent that it slipped by all of our tests, it worked fine until we added a few more attachments that it exceeded some invisible limit.

@Pxtl Thanks, I'll take a look.

@Pxtl sorry for taking so long to investigate this. The problem Word is having is with the wp:docPr element in the attached document. When you pull in that attached document, Word treats is like part of the attaching package. Running through this scenario, as you prescribed, the "template" and "attachment" documents end up with the same straight line wp:docPr element which also has the same id=1 attribute. This is considered non-conformant per ISO 29500-1 <IP_ADDRESS> docPr (Drawing Object Non-Visual Properties) which says:
id (UniqueIdentifier)
...

**If multiple objects within the same document share the same id attribute value, then the document shall be considered non-conformant.**[Example: Consider a DrawingML object defined as follows:<… id="10" … >

The SDK's  DocumentFormat.OpenXml.Packaging.AddAlternativeFormatImportPart function doesn't inspect attachments in any way and I don't think it would be very feasible at all to do this. If you can create your template so that the wp:docPr id attribute is unlikely to collide with those of any attachments, then that would probably be the best approach. Alternatively, you could write a utility function that scans would be attachment documents and compares the id's with the attaching document to make sure there are no collisions.
Let me know if this is clear or you have more questions.

@Pxtl I've added the feature request tag. If you would like to submit a PR with a solution we'd be happy to review and consider it.

Before a PR, it would be great to continue the discussion as to how this should even work. Potentially, anything that adds another part could go through and explore it to see if there are collisions


Add Magdeburg to the events

@complexbrains  OK was about to push changes on that PR but just saw your 2 other PRs
Will merge them all now.
Thanks @complexbrains


iosevka-comfy: 2.0.0 -> 2.1.0

https://github.com/protesilaos/iosevka-comfy/releases/tag/2.1.0
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 350202

x86_64-linux

:white_check_mark: 12 packages built:

iosevka-comfy.comfy
iosevka-comfy.comfy-duo
iosevka-comfy.comfy-fixed
iosevka-comfy.comfy-motion
iosevka-comfy.comfy-motion-duo
iosevka-comfy.comfy-motion-fixed
iosevka-comfy.comfy-wide
iosevka-comfy.comfy-wide-duo
iosevka-comfy.comfy-wide-fixed
iosevka-comfy.comfy-wide-motion
iosevka-comfy.comfy-wide-motion-duo
iosevka-comfy.comfy-wide-motion-fixed


BgRemoval for android

Hi everyone. Do you know? have alternative of BackgroundRemoval for android? if anyone has example can share with us?

I think you can ask the U2NET repo admin or search in the read me for android projects. I had a plan to make one before but currently I am very busy sorry.


UnmarshalJSON is limited to the default Tree

Problem
When we deserialize the EDS we hardcode the default tree. This is problematic because computed Row and Col roots of the deserialized eds will be utterly different if another custom tree is used.
Solutions

Have a global tree constructor var/registry that UnmarshalJSON would use instead

Users would then register their trees by name

The name would be serialized in the json and deserialization would then get the proper tree by the name

This is exactly what happens with the codec.

UnmarshalEDS func that accepts the tree.

This works in theory, but https://github.com/filecoin-project/go-jsonrpc/blob/17a35772b24f59ceee25cc8d8177a2b255a659ac/client.go#L614 blocks it
If we contribute an option that custom Unmarshall, then we would be able to inject the one for EDS

The first solution is bulletproof and requires minimum work outside of rsmt2d, as well the same approach is used for Codec, so we should go with it, imo


"You can't train a model that has been loaded with device_map='auto' in any distributed mode" error when running on multi-GPU VM

System Info
- `Accelerate` version: 0.27.2
- Platform: Linux-5.15.0-1054-azure-x86_64-with-glibc2.35
- Python version: 3.10.12
- Numpy version: 1.21.5
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- PyTorch XPU available: False
- PyTorch NPU available: False
- System RAM: 429.87 GB
- GPU type: Tesla V100-PCIE-16GB
- `Accelerate` default config:
	Not found

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
I'm trying to perform fine-tuning over Mixtral using peft on a Databricks single node with 4 GPUs.
The model doesn't fit on a single GPU so I would like to use Naive PP like explained in PR https://github.com/huggingface/accelerate/pull/1523.
Below an example:
from transformers import MixtralForSequenceClassification, TrainingArguments, Trainer
from peft import LoraConfig, TaskType, get_peft_model, prepare_model_for_kbit_training
from accelerate import Accelerator, DistributedType

model = MixtralForSequenceClassification.from_pretrained("/my_model_path", num_labels=1, device_map='auto')
peft_config = LoraConfig(
    lora_alpha=16,
    lora_dropout=0.1,
    r=64,
    bias="none",
    task_type=TaskType.SEQ_CLS,
)
lora_model = prepare_model_for_kbit_training(model)
lora_model = get_peft_model(lora_model, peft_config)
accelerator = Accelerator()
lora_model = accelerator.prepare(lora_model)
lora_model.print_trainable_parameters()

And the error:
ValueError: You can't train a model that has been loaded with `device_map='auto'` in any distributed mode. Please rerun your script specifying `--num_processes=1` or by launching with `python {{myscript.py}}`

Expected behavior
The problem is that I don't understand how to force Naive PP. There must be a way to force DistributedType to NO in accelerate configuration via python code but I couldn't find it.

Launch the code using python as it mentions, not accelerate launch

Since I'm running the code from a databricks notebook (similar to a Jupiter or colab notebook), I'm not actively doing either. I also doubt databricks is calling accelerate launch, although I'm not sure.
Is there a way to configure the Accelerator from inside the script? For example specifying num_processes or any other needed configuration. Or maybe pointing to a custom accelerate config file.


cmake error with lib-clblast-mali-overlay

Dear @psyhtest and @gfursin, thank you for your great work.
I have a problem when installing ck-caffe on odroid xu4 with this command:
$ ck install package:lib-caffe-bvlc-opencl-clblast-universal --env.DISABLE_DEVICE_HOST_UNIFIED_MEMORY=ON --env.CK_HOST_CPU_NUMBER_OF_PROCESSORS=2 --env.CAFFE_BUILD_PYTHON=ON
and I want to use optimized clblast for mali GPU so I chose as below:

and then:

finally, cmake reports the following error:
`Cloning package from https://github.com/BVLC/caffe/ ...
Cloning into 'src'...
remote: Counting objects: 49142, done.
remote: Compressing objects: 100% (10/10), done.
Receiving objects: 100% (49142/49142), 60.29 MiB | 152.00 KiB/s, done.
remote: Total 49142 (delta 3), reused 0 (delta 0), pack-reused 49132
Resolving deltas: 100% (33114/33114), done.
Checking connectivity... done.
Checking out branch opencl ...
Branch opencl set up to track remote branch opencl from origin.
Switched to a new branch 'opencl'
Cleaning ...
Executing extra script ...

Preparing vars for Caffe ...
You are compiling Caffe with Python support!
To use it you need to set up CK env as following (after installation):
ck xset env tags=lib,caffe ; . ./tmp-ck-env.bat ; ipython2
Press enter to continue
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
cmake/Dependencies.cmake:8 (find_package)
CMakeLists.txt:127 (include)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
cmake/Dependencies.cmake:8 (find_package)
CMakeLists.txt:127 (include)
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106400
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
cmake/Dependencies.cmake:8 (find_package)
CMakeLists.txt:127 (include)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
-- Found GFlags: /usr/include
-- Found gflags  (include: /usr/include, library: /usr/lib/arm-linux-gnueabihf/libgflags.so)
-- Found Glog: /usr/include
-- Found glog    (include: /usr/include, library: /usr/lib/arm-linux-gnueabihf/libglog.so)
-- Found PROTOBUF: /usr/lib/arm-linux-gnueabihf/libprotobuf.so
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- Found HDF5: /usr/lib/arm-linux-gnueabihf/hdf5/serial/libhdf5.so;/usr/lib/arm-linux-gnueabihf/hdf5/serial/libhdf5_hl.so;/usr/lib/arm-linux-gnueabihf/hdf5/serial/lib/libhdf5_hl.so;/usr/lib/arm-linux-gnueabihf/hdf5/serial/lib/libhdf5.so;/usr/lib/arm-linux-gnueabihf/libpthread.so;/usr/lib/arm-linux-gnueabihf/libsz.so;/usr/lib/arm-linux-gnueabihf/libz.so;/usr/lib/arm-linux-gnueabihf/libdl.so;/usr/lib/arm-linux-gnueabihf/libm.so (found version "1.8.16")
-- Found LMDB: /usr/include
-- Found lmdb    (include: /usr/include, library: /usr/lib/arm-linux-gnueabihf/liblmdb.so)
-- Found LevelDB: /usr/include
-- Found LevelDB (include: /usr/include, library: /usr/lib/arm-linux-gnueabihf/libleveldb.so)
-- Found Snappy: /usr/include
-- Found Snappy  (include: /usr/include, library: /usr/lib/arm-linux-gnueabihf/libsnappy.so)
-- -- CUDA is disabled. Building without it...
-- Found ViennaCL include: /home/odroid/CK-TOOLS/lib-viennacl-1.7.1-linux-32/src
-- Found OpenCL: /usr/lib/arm-linux-gnueabihf/mali-egl/libOpenCL.so
-- Found OpenCL include: /usr/include
CMake Error at cmake/Dependencies.cmake:192 (find_package):
By not providing "FindCLBlast.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "CLBlast", but
CMake did not find one.
Could not find a package configuration file provided by "CLBlast" with any
of the following names:
CLBlastConfig.cmake
clblast-config.cmake

Add the installation prefix of "CLBlast" to CMAKE_PREFIX_PATH or set
"CLBlast_DIR" to a directory containing one of the above files.  If
"CLBlast" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:127 (include)
-- Configuring incomplete, errors occurred!
See also "/home/odroid/CK-TOOLS/lib-caffe-bvlc-opencl-clblast-master-gcc-5.4.0-linux-32/obj/CMakeFiles/CMakeOutput.log".
See also "/home/odroid/CK-TOOLS/lib-caffe-bvlc-opencl-clblast-master-gcc-5.4.0-linux-32/obj/CMakeFiles/CMakeError.log".
Error: cmake failed!
CK error: [package] package installation failed!
`
Please specify how I can install caffe framework with optimized clblast on mali GPU?
And I have some questions:
1--What are differences between packages?

lib-caffe-bvlc-opencl-clblast-universal
lib-caffe-bvlc-opencl-libdnn-clblast-universal

2--The packages with "tune" suffix are need to be tuned or have been tuned?
Thank you for your help :)
Best regard

@dohai90
The lib-clblast-mali-overlay package was a hack by @intelfx to override the standard CLBlast SGEMM kernel with the one optimised by ARM. This hack sort of worked one year ago when CLBlast was around version 0.7-0.8. A generalisation of it is still work-in-progress. Therefore, I don't think it's worth debugging the issue. Today, if you wanted to try ARM's kernel with Caffe, I'd recommend trying Caffe accelerated with the ARM Compute Library. It's not yet available as a CK-Caffe package, but contributions are most welcome.

Now, to answer your question about optimising CLBlast for Caffe. We are actively working on it, so our CK workflows are rather unstable. We are planning to release them soon along with some intriguing results. I'm not sure it's worth sharing them before that.
From a high level view, you install ck-math:lib-clblast-master-universal-tune first and tune it with CLTune. After that, you install ck-math:lib-caffe-bvlc-opencl-clblast-universal-tune which picks up your tuned CLBlast installation. However, the first step - CLBlast tuning - has quite a few gotchas, so I would not recommend it today.

Finally, what's the difference between lib-caffe-bvlc-opencl-clblast-universal and lib-caffe-bvlc-opencl-libdnn-clblast-universal? The latter uses libDNN, a tunable open-source version of cuDNN, that's part of Greentea (OpenCL Caffe). Typically, libDNN is only used for convolutions. Greentea falls back to a BLAS library to perform matrix operations (e.g. for fully connected layers). In this case, the fall back library is CLBlast. Other packages are available for different fall back options (CUDA, clBLAS, ViennaCL). Does this answer your question?

However, the first step - CLBlast tuning - has quite a few gotchas, so I would not recommend it today.

Having said that, the new threshold for ARM GPUs introduced by @mcian86 in PR#175 already gives quite good performance on Mali.

Thank you for your help,
But how can I use lib-clblast-mali-overlay on Odroid because I've faced the cmake issue as above,
Could you guide me steps to install ck-caffe with lib-clblast-mali-overlay? :)

@dohai90 Sorry, as I said, I don't think it's a good idea to even try lib-clblast-mali-overlay now, as CLBlast has considerably changed, while the overlay hasn't. Anyway, it was incomplete (only worked for forward propagation on AlexNet and SqueezeNet 1.0, IIRC) and didn't actually provide any great speedups. I've removed this deprecated package from repo:ck-math.


Support validating Django templates by compiling them

This automatically assembles test cases for every template under a template directory and compiles it.  I used this for a large refactoring to find a few path updates I missed but I imagine it would be handy for other things too.
I'm happy to add tests for this if you can help me figure out how to do that.  :-)
If you don't want to merge this, please let me know so I can break it out into it's own package.  Thanks!

This is interesting, but there's too many existing broken feature to take on new ones.  I think it would make a good stand-alone plugin, and we could add a link to the docs.  And maybe use it as an example for spinning out some of the broken features into their own plugins...


UI - Catalog integration in pipeline needs to be compatible with multiple languages

Steps to reproduce:

Switch to another language, for example, Simplified Chinese
Edit pipeline configuration, add a step
Step type selection "publish catalog app" or "deploy catalog app"

Result:
Not compatible with multiple languages

Tested with Version -2.2 master 12/27
This version is compatible with Simplified Chinese


Updating .NET Core branding to .NET

Fixes 1/2 in dotnet/sdk#11217

Timing on this is pretty awkward, since we expect several releases before 5.0 RTM. But it’s the way the wind is blowing so sure.


How to use disposable list only?

How can I use only a disposable list without relying on a service? Setting INDISPOSABLE_ENABLED to false doesn't seem to resolve the issue. Awesome package BTW :)

That is correct, indisposable will enable/disable the package, maybe i will add a new configuration so you can enable list/service/both


Page Update: Continuous integration and delivery in Azure Data Factory

Updated docs image with newest UI of Azure DevOps

#sign-off

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

@djpmsft The PR review team will move this commit to the private repo so we can check the updated images in the article on staging. We'll post the new PR number here and then close this PR. Thanks.

Because the contributor's branch is no longer available, we can't move the commit. We'll go ahead and merge. @djpmsft Could you check the updates on the live site tomorrow morning because we can't validate them on staging? Thanks.


Certificate pinning addon (Firefox only)

Unfortunately its currently Firefox-only as Chrome hasn't supplied the necessary hooks yet, but it is still probably worth linking to Certificate Patrol.

That's a nice suggestion. Feel free to PR (and create a Firefox subsection, if you think it's appropriate) or wait and I'll add it myself.


React/Reduc Capstone- Metrix -maps

In this milestone 🗿 ;

I followed all CSS HTML and javascript best practices.

I used linters for checks.

I made a home page;

Upon loading the web app, a list of categories is presented to the user, which can be sorted by various parameters such as the category name. Each category is accompanied by relevant numeric data obtained through API calls, providing a clear and concise overview of the information at hand. By simply clicking or tapping on a specific category, the user is seamlessly redirected to a detailed page showcasing further information.

And a details page

On the details page of the web app, detailed data from the selected category is obtained through a call to the API and displayed for the user. For ease of navigation, a "Back" button (<) has been provided on the page, allowing the user to return to the home page with a single click.

To ensure the proper functioning of the app, it is recommended to create test files for the various functions involved in retrieving and displaying the data, as well as for the "Back" button navigation. This will help to catch any potential bugs or errors and ensure a smooth user experience.

Follow Git and GitHub flows
Live demo
Presentaion

@Nemwel-Boniface thank you very much


Document how permissions are needed for installing a package

Describe the problem/challenge you have
Currently, kapp-controller requires a service account to install an AppCR. When installing packages, it may not be clear to the user what permissions are required to create the resources within the package, which may result in them providing too many permissions.
Describe the solution you'd like
Some way for a user to know which permissions are required to install a package.

Are we thinking documentation is the solution here? We do not currently have a dedicated section for rbac.

Let's keep this issue so that we document the permissions necessary for now.
If we want to think of a better way to address this, we can create a follow-up issue.

Notes:

Turning this into an exploration so that we can propose an API change.
Consider adding details to the package author workflow adding metadata fields (annotations) that include permissions requirements. As the package author, they'll have knowledge regarding permissions that will be required to install the package.


create a dockerfile -Experimenting

FROM python:3.9-slim
WORKDIR /app
RUN apt-get update && apt-get install -y
build-essential
curl
software-properties-common
git
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN mkdir ~/.streamlit/
RUN cp credentials.toml ~/.streamlit/
RUN pip3 install -r requirements.txt
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
EXPOSE 8501
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=<IP_ADDRESS>"]

before deploying on docker you must pass the creadentials.toml file inside the container so it wont ask for the email id on the terminal


fix: Missing space before function parentheses ?

Eslint standard required:
Missing space before function parentheses
beautify result:
    export default {
        data() {
            return {
                input: ''
            }
        }
    }

expected:
    export default {
        data () { // this row
            return {
                input: ''
            }
        }
    }

This would be a difference for the rest of the function declarations.
function bar() {} not function bar () {}.

has fixed ?

No.  This is an enhancement that would require an additional setting.  I encourage you to submit a pull request with tests.

using vue-cli eslint and also has this error:
Missing space before function parentheses
function bar() {} not function bar () {}.
I can just change
function bar()
to
let bar = () => {}
waiting for fix this ~

A function inside an object like this:
var myObj = {
    foo () {
        // something
    }
}

I can't use the arrow function
waiting for fix this or giving an option

Anything new with this?

it would definetly be nice to have this implemented

Having the same issue as I use js-standard formatting.
Linter package I use: https://github.com/ricardofbarros/linter-js-standard
Actual error: Missing space before function parantheses. (space-before-function-paren)

There is now a space_after_named_function setting (see #608).
However, in the statement a = {  myfunc() {} };, "myfunc" isn't recognized as a function expression.

Fixed in #1425.


chore(Dimmer): use createRef() API and componentDidUpdate()

Refs #2732.
This PR:

replaces componentWillReceiveProps() with componentDidUpdate()
replaces functional refs with createRef() API

Codecov Report

Merging #3320 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #3320   +/-   ##
=======================================
  Coverage   99.89%   99.89%
=======================================
  Files         170      170
  Lines        2801     2801
=======================================
  Hits         2798     2798
  Misses          3        3

Impacted Files
Coverage Δ

src/modules/Dimmer/DimmerInner.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Problem: 'backlog' still referenced by some code & comments

Solution: Remove all references to 'backlog'.
Also make the tuple of TABLES common to all backend databases.
The "backlog" was a table/collection created by BigchainDB 1.3 and earlier, but it's gone in BigchainDB 2.0.
Issues Resolved
This PR resolves #2297

Codecov Report

Merging #2474 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #2474   +/-   ##
=======================================
  Coverage   89.09%   89.09%
=======================================
  Files          41       41
  Lines        2385     2385
=======================================
  Hits         2125     2125
  Misses        260      260


unable to connect to sql by external ip

I follow the instruction from this article to expose a service type=LoadBalancer. With that external IP, I'm not able to connect to the SQL server from my local SSMS as well as sqlcmd. Is there something wrong with this?
[Enter feedback here]

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

ID: 04922c04-a2da-186c-5946-1cc4d9a7447b
Version Independent ID: 6e490885-cdd7-079a-0b3a-4688616b0954
Content: Quickstart: Deploy a SQL Server container with Azure Kubernetes Services (AKS) - SQL Server
Content Source: docs/linux/quickstart-sql-server-containers-kubernetes.md
Product: sql
Technology: linux
GitHub Login: @rwestMSFT
Microsoft Alias: randolphwest

@pakochiu -- thank you for your feedback.  This repo is solely for documentation issues, and this seems product-related.  Please consider these resources and let me know if they help answer your question:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@WilliamAntonRohm  I realize that it's firewall issue. After changing a network connection I can connect to the database. Thanks for your help.


[BUG] Mocking: ServiceBusProcessor protected ctor does not create sessionIds

Library name and version
Azure.Messaging.ServiceBus, 7.14.0
Describe the bug
I'm trying to unit test ServiceBusSessionProcessor.
Whilst I can override InnerProcessor, the UpdateConcurrency on ServiceBusSessionProcessor invokes the Inner's internal UpdateConcurrency.
This method on ServiceBusProcessor relies on a local field _sessionIds.  This is not initialized in the protected constructor.
Calling this method from a mocked/substituted instance throws a NullReferenceException
Expected behavior
Calling ServiceBusSessionProcessor.UpdateConcurrency on a mocked/substituted instance should not throw any exception
Actual behavior
Message:
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
ServiceBusProcessor.UpdateConcurrency(Int32 maxConcurrentSessions, Int32 maxConcurrentCallsPerSession)
ServiceBusSessionProcessor.UpdateConcurrency(Int32 maxConcurrentSessions, Int32 maxConcurrentCallsPerSession)
Reproduction Steps
``
public class ServiceBusSessionProcessorDouble : ServiceBusSessionProcessor
{
protected ServiceBusSessionProcessorDouble()
{
// The session processor relies on an InnerProcessor for some parts... so make sure we have one
this.innerProcessor = Substitute.ForPartsOf();
}
protected override ServiceBusProcessor InnerProcessor => this.innerProcessor;
}
var sessionProcessor = new ServiceBusSessionProcessorDouble();
sessionProcessor.UpdateConcurrency(1, 1);
``
Environment
No response

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Adding the following to the above constructor allows the code to not throw
            var field = typeof(ServiceBusProcessor).GetField("_sessionIds", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);             field.SetValue(this.innerProcessor, Array.Empty<string>());


Guidance for typing large numbers in streams' JSON Schemas

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/351
Originally created by @aaronsteers on 2022-03-25 15:23:06

We have run into a few cases recently where very large integers or very large currency amounts were being stored as strings in the source API, and the question has come up in a few forms:

Should we type this to an int or numeric type?
How can we avoid overflow downstream if the contents are not expected to fit into a 32-bit structure?

Example from tap-github
https://github.com/MeltanoLabs/tap-github/pull/93#issuecomment-1073363917

@Ry-DS It looks like the API is indeed returning them as strings, but they are clearly integers... Can we force the conversion? Do you get an error?
-> https://api.github.com/repos/facebook/react/events
It makes sense that it's a string as the number is quite large (20 billion) which definitely won't fit in a 32bit signed integer (max 2 billion). I think it's the right move to keep it as strings (it would error out otherwise).

View 2 previous comments from the original issue on GitLab


Run cmake format and lint on pre-commit

Run cmake-format and cmake-lint pre-commit hooks

Not liking the default formatting choices -- maybe will revisit later with a config file for cmake-config formatting (mainly want CMake cache args for ExternalProject_add to stay on their own lines).