Add deep linking

So I believe these are the only changes needed to support deep linking on both platforms. I've tested this on both platforms, and in both cases the app is successfully launched with react-native-starter://.
I was tempted to add these two files to the for file in "${FILES[@]}" loop inside the rename script, but I'm not entirely sure how that'd work with potential spaces in the string.
Inside my own app, I am simply using something like:
Linking.addEventListener('url', url => urlHandler(url.url))

This and the native changes in this PR are really all that's needed to start handling deep links in a manual/lightweight way.
Let me know if you have any ideas about handling renaming, or if there are other problems here.

Looks good for now, thanks!


Add entrypoint script to use deepforest for prediction

This PR deals with adding an entrypoint script that creates a dataloader and gets predictions from a tree detection model specified by the user. For now, we have DeepForest as the model.

Nice, I'm going to try running this today, so @amrithasp02, please wait for my review before merging.

There's an example of setting the log level here: https://github.com/open-forest-observatory/geograypher/blob/2900ede9a00ac8bdce22c43e4abb6d74876390f6/geograypher/entrypoints/orthomosaic_predictions.py#L79


[Bug] [UI] Workflow definition page text overlaps

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
The copy shows normal
How to reproduce
Go to the workflow definition
Anything else
No response
Version
[dev](dev: ds3.1.0-prepare)
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will fix it


[remote-state] bugfix: Handle case where defaults is incompatible type

what

[remote-state] bugfix: Handle case where defaults is a Terraform type incompatible with the actual remote state outputs, leading Terraform to complain:

Error: Inconsistent conditional result types

The true and false result expressions must have consistent types. The given expressions are object and object, respectively.

why

bug fix

/test all

On the previous version 0.22.2 I had the following error:
│ Error: Inconsistent conditional result types
│
│   on .terraform-trmd/modules/eks/modules/remote-state/main.tf line 40, in locals:
│   40:   outputs                  = try(length(local.remote_state_backend_key), 0) > 0 ? local.remote_states[local.remote_state_backend_key][0].outputs : var.defaults
│     ├────────────────
│     │ local.remote_state_backend_key is "s3"
│     │ local.remote_states is object with 4 attributes
│     │ var.defaults is object with 1 attribute "eks_managed_node_workers_role_arns"
│
│ The true and false result expressions must have consistent types. The given expressions are object and object, respectively.

and now testing against this branch, the error is resolved!


ENYO-2199 Header: Medium header CSS error

Issue:
When 'enyo-locale-non-latin' is set, layout of 'subTitleBelow' is duplicated with divider in medium header.
Fix:
modified 'margin-top' from '-9px' to '-21px'.
Enyo-DCO-1.1-Signed-off-by: Sangwook Lee<EMAIL_ADDRESS>

What is reason to use -21px

@otisnate ,
This reason is just to set the appropriate value.

@Sangwook-Lee  - the jira associated with this has been fixed.  Can this PR be closed out? Thanks.

closing out as jira has been fixed with another PR.


Nan in summary histogram for: conv1/biases_1

Caused by op u'conv1/biases_1', defined at:
File "main.py", line 52, in
tf.app.run()
File "/home/gis322/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 49, in main
model.training(FLAGS, is_finetune=False)
File "/usr/demo/SegNet/model.py", line 375, in training
train_op = train(loss, global_step)
File "/usr/demo/SegNet/model.py", line 260, in train
tf.summary.histogram(var.op.name, var)
File "/home/gis322/anaconda2/lib/python2.7/site-packages/tensorflow/python/summary/summary.py", line 192, in histogram
tag=tag, values=values, name=scope)
File "/home/gis322/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_logging_ops.py", line 188, in _histogram_summary
"HistogramSummary", tag=tag, values=values, name=name)
File "/home/gis322/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/gis322/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 3082, in create_op
op_def=op_def)
File "/home/gis322/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1630, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): Nan in summary histogram for: conv1/biases_1
[[Node: conv1/biases_1 = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](conv1/biases_1/tag, conv1/biases/read/_129)]]
[[Node: conv4/ort_weights/read/_122 = _SendT=DT_FLOAT, client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_212_conv4/ort_weights/read", _device="/job:localhost/replica:0/task:0/device:GPU:0"]]

The error appeared when running main.py .
My Max training Iteration=2000(I have tried 20,200),Initial lr: 0.001000(and I have tried a smaller number),sometimes the error appeared after 20 steps' training,sometimes directly .
I hope I can get a solution here.THX


Formalize the problem statement

We would like to formally articulate what problem this workshop solves in a few sentences. The GLBIO abstract gives some ideas.
The overall concept we discussed during out last meeting is that we want to demystify machine learning and artificial intelligence concepts and help raise awareness of when good opportunities for classification arise during biological research.

Here are a few things from the abstract that might help

participants are often taught to mechanically run through a software pipeline for certain tasks without learning the best practices in various stages of the workflow.

the issue might be traditional task-centric approaches, without using the proper mindset when it comes to applying machine learning in the biology research and the lack of ability to critically analyze machine learning applications in their domain.

the community clearly has a need to explore novel educational frameworks in order to address these challenges in teaching machine learning to biologists.

ml4bio workshop prioritizes teaching machine learning literacy, that is, the right way to set up learning problems, how to reason about learning algorithms, and how to assess learned models.

the holistic view of the machine learning workflow vs. immediately dive into the technicalities of coding and mathematics.

Should we close this issue?

We could also review the first introductory paragraph in the website to see whether it should be more explicit about the problem the workshop solves.  Currently:

The Machine Learning for Biology (ml4bio) workshop is aimed at biologists with no previous machine learning experience. This is a conceptual workshop designed to teach machine learning literacy. After the workshop, the participants will be able to define machine learning concepts like samples, features, training set, validation set, test set, evaluation metrics, and model selection. The participants will be able to interactively develop an understanding of machine learning classifiers commonly used in biology like decision trees, random forests, logistic regression, and neural networks. The focus will be on problems in biology where machine learning is effectively used.

I'm okay closing this if you think it looks good.

This looks good!
Debora

From: Anthony Gitter<EMAIL_ADDRESS>Sent: Monday, March 30, 2020 3:55:05 PM
To: gitter-lab/ml-bio-workshop
Cc: Subscribed
Subject: Re: [gitter-lab/ml-bio-workshop] Formalize the problem statement (#46)
We could also review the first introductory paragraph in the website to see whether it should be more explicit about the problem the workshop solves. Currently:
The Machine Learning for Biology (ml4bio) workshop is aimed at biologists with no previous machine learning experience. This is a conceptual workshop designed to teach machine learning literacy. After the workshop, the participants will be able to define machine learning concepts like samples, features, training set, validation set, test set, evaluation metrics, and model selection. The participants will be able to interactively develop an understanding of machine learning classifiers commonly used in biology like decision trees, random forests, logistic regression, and neural networks. The focus will be on problems in biology where machine learning is effectively used.
I'm okay closing this if you think it looks good.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/gitter-lab/ml-bio-workshop/issues/46#issuecomment-606244432, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL42AKZDSGMZYNR2BU77SQ3RKEBKTANCNFSM4H2552WQ.

Looks good to me too!

Great, I'll close the issue.


How to set borderStyle: "dashed"?

🙋 Feature Request

If I specify borderStyle: "dashed" for UNSAFE_style with borderWidth="thin", render border with "solid".
🤔 Expected Behavior

render border with "dashed" style.
😯 Current Behavior

render border always "solid" style.
💁 Possible Solution

This issue comes from this line.
https://github.com/adobe/react-spectrum/blob/ba727bdc0c4a57626131e84d9c9b661d0b65b754/packages/%40react-spectrum/utils/src/styleProps.ts#L246
Since UNSAFE_style is overridden by react-spectrum's, I suggest that UNSAFE_style be preferred over react-spectrum's style.
Users who use UNSAFE_style should know that this feature could shoot itself in the foot.
🔦 Context

No
💻 Examples

  return (
    <View
      borderWidth="thin"
      padding="size-500"
      borderRadius="regular"
      UNSAFE_style={{
        borderStyle: "dashed",
      }}
    >
      DropZone
    </View>
  )

🧢 Your Company/Team

No
🎁 Tracking Ticket (optional)

No

React spectrum is specifically designed for the Spectrum design system. There are too many foot guns with regards to just the design system itself that this isn't something we want to open up. One of the goals of the react spectrum components is to enforce the design system. Instead, if you're an Adobe employee, I suggest reaching out to the Design team to see if there is a missing use case. And if you're not an Adobe employee, I think this is the perfect place to use React Aria Components, https://react-spectrum.adobe.com/react-aria/react-aria-components.html

I'm not Adobe employee.
I found Drop Zone component at Spectrum CSS and I want to implement this with react-spectrum. it has a dashed border to indicate "drop zone".
I think UNSAFE_style should be a priority for the last resort to achieve the look users want.
Note: There is a request directly for implementing DropZone (#3034)

So you can implement any component you want using our hooks, including one's that aren't in React Aria Components or React Spectrum. And when you do that, you can use any CSS you like, including Spectrum-CSS. This is how we allow people to customize their components if they need something we haven't implemented or is outside what Spectrum has designed.
The DropZone over at Spectrum CSS was created a while ago, I do not know how up to date it is with current designs. Eventually we'll implement one in React Spectrum as you've noted. When we do, we'll work with design to make sure that it matches the current direction of the design system. We'll also update that issue when we work on it.
Here is a link to the docs for the hook.
https://react-spectrum.adobe.com/react-aria/useDrop.html#example
One more option you have is you can use the CSS variables and style a plain div. This comes with mostly the same foot-gun warnings until Spectrum-CSS can maintain a stable API, which is something on their roadmap.
I'm going to close this for now. If you have issues using the hooks to create the Dropzone, feel free to open a new Issue.


Add auth to client

Pull Request Test Coverage Report for Build 120638294

0 of 0   changed or added relevant lines in 0 files are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.8%) to 62.35%

Files with Coverage Reduction
New Missed Lines
%

cmd/front-end/server/games_handlers.go
7
20.0%

cmd/front-end/server/middleware.go
8
50.0%

Totals

Change from base Build 119290617:
-0.8%

Covered Lines:
260

Relevant Lines:
417

💛  - Coveralls


Metric finetuning -- error increases while training

I'm following the instructions for metric finetuning. Started with a base VITS model then finetuned with vKITTI. Eval pref on real KITTI decreases over time.. Did anyone else have this issue?
Epoch 1:
[2024-10-13 07:37:37,613][    INFO]       d1,       d2,       d3,  abs_rel,   sq_rel,     rmse, rmse_log,    log10,    silog
[2024-10-13 07:37:37,614][    INFO]    0.861,    0.970,    0.992,    0.120,    0.626,    3.922,    0.161,    0.049,    0.152
[2024-10-13 07:37:37,614][    INFO] ==========================================================================================
Epoch 60:
[2024-10-13 18:56:12,798][    INFO]       d1,       d2,       d3,  abs_rel,   sq_rel,     rmse, rmse_log,    log10,    silog
[2024-10-13 18:56:12,798][    INFO]    0.789,    0.942,    0.982,    0.152,    0.935,    4.759,    0.202,    0.063,    0.186
[2024-10-13 18:56:12,798][    INFO] ==========================================================================================
Epoch 120:
[2024-10-14 06:02:20,092][    INFO]       d1,       d2,       d3,  abs_rel,   sq_rel,     rmse, rmse_log,    log10,    silog
[2024-10-14 06:02:20,093][    INFO]    0.786,    0.935,    0.978,    0.150,    0.975,    4.932,    0.208,    0.063,    0.193
[2024-10-14 06:02:20,093][    INFO] ==========================================================================================
20241013_072607.log
Full logs below
Dist Train:
#!/bin/bash
now=$(date +"%Y%m%d_%H%M%S")
epoch=120
bs=8
gpus=1
lr=0.000005 #0.000005 batch size 4
encoder=vits
dataset=vkitti
img_size=518
min_depth=0.001
max_depth=80 # 80 for virtual kitti
pretrained_from=../checkpoints/depth_anything_v2_${encoder}.pth
save_path=exp/vkitti
mkdir -p $save_path
python3 -m torch.distributed.launch
--nproc_per_node=$gpus
--nnodes 1
--node_rank=0
--master_addr=localhost
--master_port=20596
train.py --epoch $epoch --encoder $encoder --bs $bs --lr $lr --save-path $save_path --dataset $dataset
--img-size $img_size --min-depth $min_depth --max-depth $max_depth --pretrained-from $pretrained_from
--port 20596 2>&1 | tee -a $save_path/$now.log

@tmagcaya I also encountered the same problem. Have you solved your problem?

@vineyard0531 Nope, I found many other issues in the pull request tab of this repo that are somewhat relevant. I think authors left out some key pieces from this repo as they work on V3... Thanks for wasting open-source community time


Handling caching for crowdloan

Describe the task
Handling caching for crowdloan
Actual: Do not cache crowdloan data -> Data update slow every time switch account
Expect: Handling caching for crowdloan

Do not reproduce this issue -> Closed it


The date is shown in an inconsistent way

The event page shows the date in an inconsistent way, some times in UTC, and other times also in UTC, but with and offset.
There is some additional confusion added because it shows the date in UTC when logged in (when I would expect the system to adjust to my preferences), and UTC with offset when logged out (when I wouldn't expect the system to adjust to my preferences).
When logged out:

When logged in:

Examples from: https://events.decentraland.org/event/?id=7ba86cd6-2e40-4cd7-9000-05c02ae23249

Hmm there is a setting to use UTC, probably I enabled it


ClientSDK: Add binding for rawPublicKeyOfPublicKey

This adds the rawPublicKeyOfPublicKey function that is used in the OCaml Client SDK. This function returns a string that is the hex encoding of a public key on succession or returns undefined in JavaScript/TypeScript on invalid public keys.
This was tested by writing a unit test in Test.ts

IIRC, won't this throw if the base58 encoding itself is bad? (Assuming this is true,) should we add that to the docs?

IIRC, won't this throw if the ~base58 encoding~ public key itself is bad? (Assuming this is true,) should we add that to the docs?

I added a mention to the public key being bad in the function comment as so:
* Return the hex-encoded format of a public key. This will raise an exception
* and return `undefined` if the public key is invalid.

Is that what you mean?

@MartinMinkov can you catch the exception and just return the error in that case? Or just null/undefined at least is okay


Bad UX for Checkbox Button on mobile browser

Bug description:
Using the checkbox buttons on a mobile browser (Chrome Browser 67.0.3396.87 on Android) if you uncheck/check a button it will not show the proper styling as it seems to be still hovered.
This is resulting in really bad UX (imho) due to the fact that for the overall user the button still seems to be unchecked (this is especially annoying for outlined buttons and button groups).
You can see the difference between checked and unchecked in the below screenshots on the checkbox button (or at least you can see that there is nearly no difference):

Reproduction:
You can check this by simply accessing the demo here using a mobile browser:
http://getbootstrap.com/docs/4.1/components/buttons/#checkbox-and-radio-buttons
Version of Bootstrap:
Bootstrap: 4.1.0

@ffoodd Does this roll up into you color efforts? Not sure how much I'd change here at this point right now.

@mdo Not really. Here it concerns our button-variant() mixin, which only darken() / lighten() the background for active state based on the theme color.
I implemented the darken VS lighten thing to ensure contrasts are improved (and I can see it hasn't been backported to v4, should it?), but the color itself depends on the amount of difference (currently 10%).
Two ideas here:

either we increase the amount of difference,
or we use our tints and shades instead of lighten() and darken() (which I think was part of #30622 by @MartijnCuppens).

Thoughts on closing this out as a stale won't fix?
We've improved some of the coloring (especially in v5), but honestly the best approach here would be visible indicators other than color changes (either showing the form control or adding some inline images). I wouldn't be opposed to see a PR from someone to do the latter, but I don't see much of a need to push this forward.

Thoughts on closing this out as a stale won't fix?
We've improved some of the coloring (especially in v5), but honestly the best approach here would be visible indicators other than color changes (either showing the form control or adding some inline images). I wouldn't be opposed to see a PR from someone to do the latter, but I don't see much of a need to push this forward.


ng-if as base element of replaced directive destroys isolate scope.

Example: https://jsfiddle.net/01mfdjwm/1/

You could use {{$parent.dir.hello}}, but this clearly seems to be a bug, since the same issue doesn't exist when using templateUrl. Turns out that the directives at the root of a replaced directive get moved "next to" the containing directive, so the scope for the transclusion is set to be outside the directive. I submitted a fix to change the scope's prototype in such case:  #12975

Super strange that it works with templateUrl. Thanks for submitting a fix!

My pleasure. Just to be clear, it's not in yet, we'll have to wait for somebody from the core team to approve it.

Duplicate of #9837 ?


OIDC/LDAP/AD IDPs should use unknown condition status

OIDC/LDAP/AD IDPs should report conditions with status Unknown when it cannot perform a validation.
LDAP should report condition LDAPConnectionValid with status Unknown if either condition BindSecretValid or TLSConfigurationValid are invalid.
Active Directory should report conditions LDAPConnectionValid and SearchBaseFound with status Unknown if either condition BindSecretValid or TLSConfigurationValid are invalid.

Merge after #2036


constructing a convex quadratic programming problem equivalent to maximum Sharpe ratio

Describe the bug
The maximum Sharpe ratio problem have a quasiconvex/concave objective function. Then, we cannot solve it directly using CVXPY. However as shown in the following document, we can transform it into a convex quadratic to use cvxpy: https://people.stat.sc.edu/sshen/events/backtesting/reference/maximizing%20the%20sharpe%20ratio.pdf
Here is what I've implemented so far to find the portfolio maximizing the Sharpe ratio, but it still evaluated to an error:
DCPError: Problem does not follow DCP rules. Specifically: The objective is not DCP. Its following subexpressions are not: Promote(var363, (3,)) @ var362
To Reproduce
import numpy as np
import cvxpy as cvx;
return1 = np.random.normal(loc=0.05, scale=0.25, size=252)
return2 = np.random.normal(loc=0.01, scale=0.2, size=252)
return3 = np.random.normal(loc= -0.05, scale=0.15, size=252)
returns = np.array([return1, return2, return3])
# risk free rate
rf = 0.01;
# number of stocks m is number of rows of returns
m = returns.shape[0]
#covariance matrix of returns
cov = np.cov(returns)
# vector of mean returns
returns_mean = returns.mean(axis=1)
# x variables (to be found with optimization)
x = cvx.Variable(m)
# scaled/transformed weights
lamda = cvx.Variable()
y = cvx.multiply(lamda, x)
# portfolio return
mu = x @ returns_mean
# excess returns
muhat = mu - rf
# portfolio var
portfolio_variance = cvx.quad_form(y, cov)
# transformed variable y = lamda*x => sum(y) = lamda * sum(x) = lamda * 1 = lamda
#objective function
objective = cvx.Minimize(portfolio_variance)
# constraints
constraints = [(returns_mean - rf).T @ y == 1, cvx.sum(y) == lamda, lamda >= 0]

cvx.Problem(objective, constraints).solve()

x_values = y.value / lamda.value
x_values.round(2)

Expected behavior
Is my implementation sound in this strategy?
Output
If applicable, include program output. If reporting a program crash, please include the entire stack trace.
Version

OS: Win 10 Python 3.8.8
CVXPY Version: 1.1.12

Additional context
Add any other context about the problem here.

You can't multiply two variables together as in
# x variables (to be found with optimization)
x = cvx.Variable(m)
# scaled/transformed weights
lamda = cvx.Variable()
y = cvx.multiply(lamda, x)

You'll need to try again with the problem formulation.

@SteveDiamond
Thank you for your comment.
Thanks to the source codes of the PyPortfolioOpt, I've reformulated the problem, and now it runs without error. However, division by a nearly zero value amplifies the results!
print(y.value)
[ 12.41775744   3.20056019 -15.61831763]
print(lamda.value)
3.6854372922814357e-22
print(x_values)
[ 3.36941222e+22  8.68434310e+21 -4.23784653e+22]

You would need to add bounds on the weights to get sensible results (multiplying the rhs by lamda to get the constraint for the transformed variables).


Generate RecursiveAggregation AcirOpcode in SSA refactor

Problem
The SSA refactor currently does not handle calling the RecursiveAggregation black box func. This should be included to enable compilation of verify_proof to match the current SSA pass.
Happy Case
We should be able to successfully generate a BlackBoxFuncCall::RecursiveAggregation ACIR opcode that can then be accepted by a prover (currently only bb.js to generate recursive proofs).
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

@vezenovm what is the status of this?

@kevaundray still todo. I will add this when I'm back next week


Styling with Classes is Broken

Describe the bug
Styling with Classes is Broken
To Reproduce
Look Here
Screenshots
Should Look Like This

Additional context
Broken Since 8.2.4 and isnt working in 8.2.5 either
Last working Version 8.2.3

This has to do with that the node is starting with a number.

Indeed - i will work around with adding a letter.

Released in 8.2.6


Implement various Reflect traits on std library types

Thanks so much for bevy! Its an awesome crate and ecosystem that is awesome to program with :)
What problem does this solve or what need does it fill?
I am wanting to #[derive(Reflect)] on structs / enums with std library types, like IpAddr, in the same way I can derive them for primitive types like u16 and bool.
What solution would you like?
This code to just compile:
#[derive(bevy::prelude::Reflect)]
struct Foo {
    bar: std::net::IpAddr,
    bax: std::time::Duration,
}

So that I can do awesome things like:
app.register_type::<Foo>()
What alternative(s) have you considered?
I know no other way of actually being able to reflect these values, nor if it is even possible given that the fields are private. I do not want to resort to manually implementing TypePath, Reflect and FromReflect for wrapper types and using those everywhere, since my lack of knowledge in this area is too big a blocker to spend a few days experimenting.
Additional context
This would allow me to edit std library types using bevy_editor_pls

no blockers here as i see. i think a PR reflecting most std types (especially with reflect_value) would be unambiguously approved - it's just churn. unfortunately considering there are a lot of types in std it's unlikely we'll get around to many without a dedicated PR or an issue focused to a narrower set of types.


Read line on Windows with \r\n

In fact now zip file reads line separated only with \n and ignores \r which is not consists with io library.

Lua io library does not handle \r in any special way. It is handled by WIndows itself when a file is opened in text mode. Unfortunately zzip does not seem to support opening files inside zip archives in text mode.

Problem that luazip handle\n char on windows so it left only \r
So it is not text or binary mode

I may be mistaken, but IIRC this is equivalent to binary mode. As in, Lua io library handles \n char on Windows in binary mode, too.


As an admin, how I can allow my users to send emails with their alias?

The section "Sending email from the proxy address easily" states: "When the global admin has set the Set-OrganizationConfig -SendFromAliasEnabled $true cmdlet, users within the organization will get access to a list of checkboxes where each entry corresponds to an alias in their Outlook settings."
As a user with no experience with MS admin, I would really appreciate a link to a guide explaining how to set that setting. Can I do it from https://admin.microsoft.com? If not, then how?

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

ID: 94754a91-ac3b-9b1c-ded9-3fdab2dd229c
Version Independent ID: 517f9726-1861-8b1c-fe9d-6c50047e16d3
Content: Add another email alias for a user - Microsoft 365 admin
Content Source: microsoft-365/admin/email/add-another-email-alias-for-a-user.md
Service: microsoft-365-business
GitHub Login: @kwekuako
Microsoft Alias: kwekua

@lindemann-co Thank you for your feedback. This option is only available whenusing the Set-OrganizationConfig PowerShell commandlet as part of the Exchange Online PowerShell V2 Module.
The admin needs to run Set-OrganizationConfig -SendFromAliasEnabled $true to enable this feature for all users in the organization.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @lindemann-co Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Still a work in progress?

Hi! I would like more info on what your app does if you don't mind. Are you still working on it?

Hi. Yes, this one is WIP. I'll add info into README later :)

@RogueMaster the README is updated

Thank you!


OpenBLAS builds on Linux with LLVM but CMAKE cannot detect it

I built on Linux with LLVM 11
cmake -S . -B build -G "Ninja" \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DDYNAMIC_ARCH=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-DBUILD_STATIC_LIBS=OFF \
-DNOFORTRAN=1

And everything seems to build properly, the OpenBLAS install folder has all the libraries.
── lib
│   ├── libopenblas.so -> libopenblas.so.0
│   ├── libopenblas.so.0 -> libopenblas.so.0.3
│   ├── libopenblas.so.0.3
│   └── pkgconfig
│       └── openblas.pc

And cmake  FindBLAS finds the file itself, from what I can tell, libopenblas.so, but it fails when it tests it.
-- Looking for sgemm_
-- Looking for sgemm_ - not found
CMake Error at miniconda3/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find BLAS (missing: BLAS_LIBRARIES)

It's the exact same build process I used on Windows, which all works fine. Any ideas?

run nm on the library to confirm that symbol names are as expected, check the contents of the generated pkgconfig file, also check which cmake version you are using - I think their FindBLAS went through several revisions

Thanks, that all looks good. nm shows sgemm_, pkgconfig looks similar to the Windows one, I'll have to check Cmake but I think it's the current version.

You can teach cmake to use pkg-config, but basically shared files need to be in shared paths, like /usr/local etc.
Their documantation here: https://cmake.org/cmake/help/latest/module/FindBLAS.html

I'm still having trouble with this, --trace-expand shows that cmake finds libopenblas.so but fails after that.
/usr/local/share/cmake-3.26/Modules/FindBLAS.cmake(367):  check_function_exists(sgemm_ BLAS_openblas_WORKS )
/usr/local/share/cmake-3.26/Modules/CheckFunctionExists.cmake(58):  if(NOT DEFINED BLAS_openblas_WORKS OR x STREQUAL xBLAS_openblas_WORKS )
/usr/local/share/cmake-3.26/Modules/FindBLAS.cmake(369):  set(CMAKE_REQUIRED_LIBRARIES )
/usr/local/share/cmake-3.26/Modules/FindBLAS.cmake(370):  set(_libraries_work  )

So from I understand sgemm_ isn't working. But I don't understand why because it works on Windows.
I could be wrong but it seems like
cmake -S .
Building with Make does work, but then you need all the gcc dependencies and I'd like to avoid that.
Has anyone actually tried building on Linux with LLVM?

I'm not sure if your exact option set will work with DYNAMIC_ARCH builds - in particular the -S . -B build part - what is definitely known to work is the (to me much more usual) method of running cmake from the build directory and having it store all generated files there instead of "polluting" the source tree.
So mkdir build; cd build; cmake -G "Ninja" -DCMAKE_C_COMPILER=clang (...other options...) -DNOFORTRAN=1 ..

That's already what it's doing, cmake -S . is the current directory and -B build is the same as mkdir build.

BTW the cmake check_function_exists() makes no attempts to verify that a given function actually "works", all it does is try to compile a template C source with the desired symbol name inserted. So wrong LD_LIBRARY_PATH or unmet other dependencies will probably be sufficient to make it fail, and OS differences in this regard will work against your assumption that "it is multi-platform so should all work the same". (Not sure if any output from the try_compile can be made to end up in the cmake logs)

Maybe related to cmake builds missing an explicitly declared dependency on libm until recently - in that case building from the current develop branch instead of the 0.3.21 release should fix it

I did a small experiment and changed FindBLAS.cmake and FindLAPACK.cmake to ignore the check_function_exists test, and everything works at the end of the day. So there's definitely something wrong with that when clang is involved.

I know this is probably a bug with cmake's FindBLAS, but because packages usually use FindBLAS and the OpenBLASConfig goes ignored I wonder if it might be a good for for OpenBLAS to provide its own FindBLAS.cmake that supersedes Cmake's and makes sure that OpenBLAS is found?

Maintaining bits of cmake would be well outside the scope of the project, and as suggested earlier you should already be able to tell cmake to use the pkgconfig file (if you are already certain you  want to link to a particular implementation). Plus in this specific case it is entirely possible that the non-detection occurs because of a missing dependency on libm that is already fixed on the develop branch.

For other people that run into similar issues you can use the pkgconfig like so:
set(BLA_VENDOR OpenBLAS)
set(BLA_PREFER_PKGCONFIG 1)
set(BLA_PKGCONFIG_BLAS "openblas")
set(BLA_PKGCONFIG_LAPACK "openblas")


Min and Max Values in History

I’m trying to get my head around the min and max values  listed in the history section of skin.conf. Why are there min and max values for each table, when only min, max and average values are shown as a single line? I have the same min and max values for all three temp stats but always seem to have cells with no colour:
www.360shetland.co.uk/weather/history.html
There seems to be no response to the minimum values, is it just the max values that are used? For instance all my minimum temps below 0 are the same colour, when the min values line goes down to -6.

It is always a tripple (min, max, color)
e.g.
[[uv_max]]
        obs_type = UV
        aggregate_type = max
        minvalues =        0 ,         2 ,        4 ,        6 ,        8 ,       10 ,       12 ,       15
    	maxvalues =        2 ,         4 ,        6 ,        8 ,       10 ,       12 ,       15 ,       50
    	colours =   "#04EC97", "#05EF3D2", "#2BF207", "#8AF408", "#E9F70A", "#F9A90B", "#FC4D0D", "#FF0F2D"

that means value beween 0..2 will use color #04EC97
2..4 -> #04EC97
so min and max defines upper and lower bound of the interval
did that answer your question?

Yes, but as far as I can see the minvalues are ignored, only the max values are used. My maxvalue scale used to start at 0 but everything below 0 was the same colour. I have changed the maxvalue scale to start at -2.9ºC and it works perfectly:
obs_type = outTemp
aggregate_type = max
minvalues = -5, -4, -3, -2, -1.5, -1, 0, 1.5, 2.5, 5, 10
maxvalues = -2.9, -1, 0, 3, 6, 9, 12, 15, 18, 21, 24
colours =   '#3C58CE', '#0186E7', '#02E3EA', '#04EC97', '#05EF3D', '#2BF207', '#8AF408', '#E9F70A', '#F9A90B', '#FC4D0D', '#FF0F2D'

On 21 Jan 2023, at 17:02, seehase @.***> wrote:
It is always a tripple (min, max, color)
e.g.
[[uv_max]]
obs_type = UV
aggregate_type = max
minvalues =        0 ,         2 ,        4 ,        6 ,        8 ,       10 ,       12 ,       15
maxvalues =        2 ,         4 ,        6 ,        8 ,       10 ,       12 ,       15 ,       50
colours =   "#04EC97", "#05EF3D2", "#2BF207", "#8AF408", "#E9F70A", "#F9A90B", "#FC4D0D", "#FF0F2D"
that means value beween 0..2 will use color #04EC97
2..4 -> #04EC97
so min and max defines upper and lower bound of the interval
did that answer your question?
—
Reply to this email directly, view it on GitHub https://github.com/seehase/neowx-material/issues/16#issuecomment-1399289309, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEE7LBI3TRXBMHN6OSVWCOTWTQJCHANCNFSM6AAAAAASV77ZK4.
You are receiving this because you authored the thread.

OK, I see at least some problems

ranges should not overlap
there should be no gaps
you always need vaild tripples

your config:
minvalues =        -5,      *-4*,        -3,        -2,       1.5,        -1,         0,       1.5,       2.5,         5,    10
maxvalues =    *-2.9*,        -1,         0,         3,         6,         9,        12,        15,        18,        21,    24
  colours = '#3C58CE', '#0186E7', '#02E3EA', '#04EC97', '#05EF3D', '#2BF207', '#8AF408', '#E9F70A', '#F9A90B', '#FC4D0D', *missing*

I think what you want to achieve should look like this
minvalues =        -5,      -2,9,        -1,         0,         3,         6,         9,        12,        15,        18,       21
maxvalues =      -2.9,        -1,         0,         3,         6,         9,        12,        15,        18,        21,       24
  colours = '#3C58CE', '#0186E7', '#02E3EA', '#04EC97', '#05EF3D', '#2BF207', '#8AF408', '#E9F70A', '#F9A90B', '#FC4D0D', '#ff0000'

each red box is handled as a tripple

Do you still see a bug? or can we close the issue?

OK, I've finally got it! I was reading rows rather than columns, so the min, max and colour are a single group. Your tabbed example above was helpful! I've spent the afternoon sorting my history config, looking good now. Thanks for the help!
https://www.360shetland.co.uk/weather/history.html


doesn't run in Windows 10.

Tried to install on Windows 10 64bit. Ran install as both normal user and admin, neither works. No extra properties tabs. Restarted system, still nothing.

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

ID: c96a4645-95e0-891a-7209-5b940e4fd84e
Version Independent ID: 3646ed53-e094-d551-9283-2f4293b00b18
Content: Microsoft font properties editor - Typography
Content Source: typographydocs/tools/font-properties-editor.md
Product: typography
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

I second this--unable to get it working under the latest Windows 10 x64.

Please fix this. Thank you.


Consider more complete cleanup after transactions

Following https://docs.microsoft.com/en-us/ef/core/saving/transactions, to do a cross-context transaction one should share the connection, start a transaction on the first context and then use the transaction in each of the other contexts.
When you do this and then Dispose the transaction, the use of the transaction in the first (originating) context is cleaned up -- specifically, context.Database.CurrentTransaction is set to null. In the other contexts, however, it is not. You have to explicitly set these to null by UseTransaction(null). If you do not set them to null then any subsequent use of the context results in an exception being thrown saying that the transaction is not associated with the connection.
I think that if an exception were to occur somewhere along the line then you would also have to clean up the transaction in the non-originating contexts, meaning that you may need to put this cleanup code in a finally block.
Not a big problem but I thought I would mention it for consideration. It seems a bit inconsistent that the transaction is cleaned up in one of the contexts but not in the sharing contexts.

@sjb-sjb EF can't know if the transaction was disposed due to client calling dispose, or some error along the path. If it's the later then the application should know about the error and EF should not swallow it.
Therefore the right thing to do is let the user sharing the transaction to also clean it up in all the shared places.

I am OK with that.
Exploring cross-context transactions a little further, though, I have hit a roadblock. I am writing a virtualizing collection. I want to use separate connections for each page load, because different pages could be loading simultaneously. However, after the user modifies records (possibly in several different pages), I want write back all the changes in a transaction. I don't see how to have the contexts all start sharing the same connection at that point. I don't see a way to change the connections of the contexts so that the contexts are using a shared connection. Am I just missing something obvious?

Closing this in favor of a new issue that states the question more clearly.


Houdini: better selection on pointcache creation

Changelog Description
Houdini  allows ObjNode path as sop_path in the ROP unlike OP/ Ayon require sop_path to be set to a sop node path explicitly
In this code, better selection is used to filter out invalid selections from OP/ Ayon  point of view
Valid selections are

SopNode that has parent of type geo or subnet
ObjNode of type geo that has

SopNode of type output
SopNode with render flag on (if no Sopnode of type output)

this effectively  filter

empty ObjNode
ObjNode(s) of other types like cam and dopnet
SopNode(s) that thier parents of other types like cam and sop solver

Additional info
This PR is one of several PRs made for this issue
Testing notes:
Create pointcache instance while selecting:
Case    ->    Result

empty geo ObjNode  -> empty sop_path  in ROP
geo  ObjNode  with one node inside ->  sop_path will be set to that sop node inside
geo  ObjNode  with multiple nodes inside ->  sop_path will be set to that sop node inside with render flag on
geo OjNode with multiple nodes of type output inside ->  sop_path will be set to that output node with smallest outputidx
any SopNode  that's inside a geo ObjNode -> sop_path will be set to that sop node
any SopNode  that's inside a subnet SopNode -> sop_path will be set to that sop node
SopNode  that's inside a cam ObjNode -> empty sop_path  in ROP
SopNode  that's inside a sop solver ObjNode -> empty sop_path  in ROP

I want to point out to something.
after point cache  creation  if user set sop_path  manually to any sop node
it will pass ValidateSopOutputNode successfully even if the parent node type is not geo

after pointcache creation if user set sop_path manually to any sop node
it will pass ValidateSopOutputNode successfully even if the parent node type is not geo

I don't know who will want to publish a SopNode within a camera ObjNode or from a sop solver DopNode but yeah they can do that manually in the current implementation!

I'd say that if that is supported by the Alembic ROP to export geometry fine from there too that we shouldn't actually force away from that. I assumed that it wouldn't export fine from the ROP and that's why we're trying to force another path?

@BigRoy
Actually we don't force any paths, we just ignore the unwanted ones whether they would error with Houdini or OpenPype
The only thing I find too restrictive is this condition
as it's totally fine for Houdini and openpype validators to publish any SopNode
if isinstance(selected_node, hou.SopNode) and \
        selected_node.parent().type().name() in ["geo", "subnet"]:

should be ?
if isinstance(selected_node, hou.SopNode):

should be ?
if isinstance(selected_node, hou.SopNode):

let's do that then - less restrictive is better I'd say. 👍


[style]: change hover color to purple according to theme

What's the style idea?
We need to change the hover colour of back to projects to purple according to the theme in the users' ProjectsPage
Add screenshots
Normal

Hover

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'm in GSSOC'23. Can I work on this issue?

Can you assign me this issue

I'm in GSSOC'23. Can I work on this issue?

yeah sure assigned to you

I'm also in gssoc

I'm also in gssoc

I can assign the first one.

Completed. Thanks for your contributions 🎉 ❤


How to get Multiple Output from model?

Hi all, I have a Pytorch model which gives two outputs, a classification output and a segmentation output. I can see that during quantizing I can get the two outputs but when compiling the model, I am only getting my segmentation output and not the classification one. Can you please tell me how could I get both the outputs in Vitis AI python.
I am attaching the model defination file created by Vitis AI during quantization. You can see the return output_module 67 and 35 in the end of it.
UNet.zip

Hi, @rahulsingh701:
I find one of the output is after sigmoid OP, because sigmoid OP cannot run on DPU. It needs to exclude this OP in quantized part by partial quantization or packed it with custom OP.
Please refer to partial quantization or custom OP part on how to implement it.


Input broken when set to type password

Input top border showing when setting type='password'. I'm using version 2.0.4
        <Input
              label='Password'
              size='lg'
              type='password'
              className='bg-white'
              value={password}
              onChange={handlePasswordChange}
              required
            />

PS: setting any type on input will break it, textarea is also broken

Any solutions ?

For now I managed to fix it by adding className='focus:shadow-none' to the element.


Set up Simulation environment

We need to set up a simulation environment to handle when we test out new strategies.
@MalawiCoffee are you able to give a description of what this looks like from a technical point of view?
What things need to be in place?
What data do we need?
How would you suggest it be done?

@KillickNZ I've coincidentally started setting this up this morning, we should have a discussion between us three, not far off from a working prototype.

Awesome! What a machine. Yea keen for that - I can likely find some time on Sunday arvo?

Hey
I was thinking just simulating what your daily generation and storage looks like. Then matching that to what the spot market was doing that day. That way you can adjust those variables to see how it would work for different locations. You will definitely need to know how much you can inject, fuse size or transformer size. Not entirely sure the best approach. Could keep it simple just basic numbers or we could go very in-depth modelling the lines transformer etc.
Cheers,
Get Outlook for iOShttps://aka.ms/o0ukef

From: Sebastian Chapman @.>
Sent: Thursday, June 6, 2024 10:13:15 AM
To: New-Zealand-Zero/PowerMaker @.>
Cc: Hugo @.>; Mention @.>
Subject: [New-Zealand-Zero/PowerMaker] Set up Simulation environment (Issue #22)
We need to set up a simulation environment to handle when we test out new strategies.
@MalawiCoffeehttps://github.com/MalawiCoffee are you able to give a description of what this looks like from a technical point of view?
What things need to be in place?
What data do we need?
How would you suggest it be done?
—
Reply to this email directly, view it on GitHubhttps://github.com/New-Zealand-Zero/PowerMaker/issues/22, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI2RIR2FTQKJUH6G5DVXIYDZF6EPXAVCNFSM6AAAAABI3R4LWKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTMOJRGMZDEMA.
You are receiving this because you were mentioned.Message ID: @.***>

Agreed Hugo, we can add dummy information for other variables when we have them, e.g., historic solar production (this one's good for estimating https://pvwatts.nrel.gov/), historic uncontrollable load profiles, etc. Comparison of just a battery and spot price is a really good place to start though, other variables tend to be much more predictable.

Sounds good. Historically I've just interpolated it down to 5 minutes, which is not ideal but I havent managed to find an alternative  source.
Regarding a data set, I've made a script "get_historical_spot_prices.py" which pulls the node's RTD prices from EMI over a selected data range and saves it to the PM database that the other scripts make. It's in the "add-simulation-environment" branch. You could add something to it which reads data from the PVWatts API and you'll have your spot and solar together.

Hey guys just catching up on all of this now! Looks like you lads have been busy! Is there anything you need from my end?

Hey @KillickNZ, sometimes the units weren't clear in the functions so I had to make some assumptions in the functions I've built. It would be good at some stage to run through these and make sure all my unit conversions are starting from the right spot

Hey mate - I will be up in Queenstown this evening if you wanted to go over things? And will be staying at Forest Lodge all week if you wanted to come over and have a look at how everything is set up.
Cheers


Fix Elemental THeme Installation Error

Check for Area handle and create object if needed. This is consistent
with the behavior of Collection::addBlock() as that can take both
Area object or handle.
Comment out theme method as the parent method always returns an empty
array not null

Ah, thanks – I think I fixed this at the same time you were fixing it.

:+1:


Mounting same tag multiple times with new data

I've got some code that mounts a slideshow on my page with an initial set of data. I want to change the data and reinitialize the slideshow by clearing the tag with jquery and then calling mount for the new slideshow and data. For some reason the tag doesn't mount the second time and I have no clue why. I do the same thing for a list displaying data rows which change based on a query and that works fine using the same approach. Any suggestions?

Can you please create a jsfiddle so we could analyze the problem?

How do I handle the separate tag file in jsfiddle - I've looked at a lot
of code on jsfiddle but never really used it myself?
On 3/5/2015 1:12 AM, Gianluca Guarini wrote:

Can you please create a jsfiddle so we could analyze the problem?
—
Reply to this email directly or view it on GitHub
https://github.com/muut/riotjs/issues/474#issuecomment-77317521.

--
Jim Santarius
NCC Technology Group

The idea of a jsfiddle is that someone can fiddle with all the items, so you will need to put your tag defines right in the html section inside of a <script type='riot/tag'> or pre-compile everything and have the riot.tag calls in the js section.

Ok - I've now created a simple example of what I am trying to do in my
app. If you click the newest button it mounts the very first time. After
that it won't mount again.
https://jsfiddle.net/jsantari/8dqLokL7/
On 3/5/2015 10:42 AM, Shea Street wrote:

The idea of a jsfiddle is that someone can fiddle with all the items,
so you will need to put your tag defines right in the html section
inside of a |

I think you should mount multiple times, you just need to update your component with new data https://jsfiddle.net/8dqLokL7/4/

Ok thanks - I was wondering if the multiple mounts was a bad idea. I'm
not familiar with the syntax for your mount - riot.mount('slideshow', {
} )[0] - what is the [0] there for?
On 3/5/2015 12:59 PM, Gianluca Guarini wrote:

I think you should mount multiple times, you just need to update your
component with new data https://jsfiddle.net/8dqLokL7/4/
—
Reply to this email directly or view it on GitHub
https://github.com/muut/riotjs/issues/474#issuecomment-77426731.

--
Jim Santarius
NCC Technology Group

riot.mount() returns an array of the mounted riot tags. So doing the var tag = riot.mount('slideshow', { } )[0] from the example you are grabbing the first item in the array, which is your tag you just mounted.

@jsantari Just in case, that would be equivalent to this:
var tags = riot.mount('slideshow', { } ) // returns an array, even if empty or a single result
var tag = tags[0] // get the first item in the array

I think we can close this issue


Greenkeeper/eslint plugin node 7.0.1

Coverage remained the same at 97.95% when pulling f653e7d2b4396867245820f872e6c6be7ecba698 on greenkeeper/eslint-plugin-node-7.0.1 into dd418b701468d0ed096ced7daea3d8a63809d51d on master.


test(e2e): Add self-hosted e2e test

Creating as draft until kubernetes-sigs/cluster-api-addon-provider-helm#189 is merged and released.
Depends on #494.

To merge this, will need to update required status checks (make e2e-test (Docker) non-required and make the e2e-quick-start and e2e-self-hosted checks required) via Canaveral, merge it, and then all other open PRs will need to rebased to include this self-managed e2e.


Docker-healthcheck

Describe your changes
Successful Run of the Playwright Tests: https://github.com/mcode/rems-setup/actions/runs/10892983168/job/30226995347
Test by running playwright tests locally with system running or in ci/cd by kicking off an action (https://github.com/mcode/rems-setup/actions/workflows/playwright.yml) and specifying corresponding branches
Run on docker-playwright as the branch for rems-setup
Run on branch docker-healthcheck for all other repositories
Issue ticket number and Jira link
https://jira.mitre.org/browse/REMS-749
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] Ensure the target / base branch for any feature PR is set to dev not main (the only exception to this is releases from dev and hotfix branches)

Checklist for conducting a review

[ ] Review the code changes and make sure they all make sense and are necessary.
[ ] Pull the PR branch locally and test by running through workflow and making sure everything works as it is supposed to.

Workflow
Owner of the Pull Request will be responsible for merge after all requirements are met, including approval from at least one reviewer. Additional changes made after a review will dismiss any approvals and require re-review of the additional updates. Auto merging can be enabled below if additional changes are likely not to be needed. The bot will auto assign reviewers to your Pull Request for you.

I'm getting this error when it tries to run pims


C3数据集出现两个“段落1”

Hi. This is also the same issue in #3, where a one-shot example is included. Thanks for your question.


Get dummy suite to run on openSUSE Leap in OpenStack

dummy suite runs to successful completion in OVH when these patches are applied to https://github.com/dachary/teuthology/tree/openstack

@dachary @zmc

Reviewed-by: Loic Dachary<EMAIL_ADDRESS>

@zmc I verified it works by looking at a dummy suite run @smithfarm gave me (the cluster is gone now but I saw it with my own eyes ;-)

test this please

test this please

==================================== ERRORS ====================================
_________ ERROR collecting teuthology/openstack/test/test_openstack.py _________
.tox/openstack/local/lib/python2.7/site-packages/_pytest/python.py:611: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
.tox/openstack/local/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport
    __import__(modname)
E     File "/home/jenkins-build/build/workspace/teuthology-pull-requests/teuthology/openstack/__init__.py", line 197
E       'ubuntu-12.04': 'https://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img',
E                     ^
E   SyntaxError: invalid syntax
================== 1 pytest-warnings, 1 error in 0.17 seconds ==================

Changelog:

fix syntax error introduced during conflict resolution
s/OpenSuse/openSUSE/ in commit message
added Signed-off-by: Loic to the commit co-written with Loic

@zmc Any tests you want me to run?

Ping?

Apologies, @smithfarm! I hadn't seen your ping.
What's the reason for munging the name in opsys.os? The rest of your PR references 'opensuse' but in that module you're specifically dropping that and calling it 'suse'. I first noticed this in  OS.from_os_release(), where I don't think we ought to be special-casing things.

@zmc I don't remember exactly, but I think I munged it to be compatible with https://github.com/ceph/teuthology/blob/master/teuthology/orchestra/opsys.py#L52
I think not munging is better, because openSUSE and SLE are distinct entities. (For now I am targeting openSUSE only.)
I will push a new version of this wip branch that uses "opensuse" everywhere. Thanks!

@zmc Does this address your concerns?

@zmc Can this be merged? @rjfd has more changes that were made on top of these.

Yes, this looks good! Sorry for the delay :)


Run-ALValidation - InstallApps/SortByDependencies

Describe the issue
When I depend on a 3rd party application, that has split their product into multiple extensions, it's important to install these extension in the right order.
So I think that this piece should also include the Sort-AppFilesByDependencies

So .. something in the sorts of:
try {
    Sort-AppFilesByDependencies -containerName $containerName -appFiles @(CopyAppFilesToFolder -appFiles $installApps -folder $appsFolder) -WarningAction SilentlyContinue | ForEach-Object {
        $Parameters = @{
            "containerName" = $containerName
            "tenant" = $tenant
            "credential" = $credential
            "appFile" = $_
            "skipVerification" = $true
            "sync" = $true
            "install" = $true
        }
        try {
            Invoke-Command -ScriptBlock $PublishBcContainerApp -ArgumentList $Parameters
        }
        catch {
            $error = "Unable to install app $([System.IO.Path]::GetFileName($parameters.appFile)) on container based on $($artifactUrl.Split('?')[0]). You can try to re-run with -skipUpgrade.`nError is: $($_.Exception.Message)"
            $validationResult += $error
            Write-Host -ForegroundColor Red $error
        }
    }
}
finally {
    Remove-Item -Path $appsFolder -Recurse -Force
}

} | ForEach-Object { Write-Host -ForegroundColor Yellow "`nInstalling apps took $([int]$_.TotalSeconds) seconds" }

I actually think this:
    $installApps | ForEach-Object{
        $Parameters = @{
            "containerName" = $containerName
            "tenant" = $tenant
            "credential" = $credential
            "appFile" = $_
            "skipVerification" = $true
            "sync" = $true
            "install" = $true
        }
        Invoke-Command -ScriptBlock $PublishBcContainerApp -ArgumentList $Parameters
    }

can be replaced with this:
    $Parameters = @{
        "containerName" = $containerName
        "tenant" = $tenant
        "credential" = $credential
        "appFile" = $installApps
        "skipVerification" = $true
        "sync" = $true
        "install" = $true
    }
    Invoke-Command -ScriptBlock $PublishBcContainerApp -ArgumentList $Parameters

as publish does the sort inside

I will test this next week when returning from Vacation

Shipped in 2.0.15


Fix textfield background regression. Fixes #1423

@addyosmani PTAL. This is for the mdl-1.0 branch.

LGTM

LGTM


Delete stash without warning

Mike Routt on 13.09.2018 commented:

I just installed this and without putting in a name, I clicked the 'Create stash' button. It then created a stash with a random name and contained my 11 files with changes. I wanted to rename it, but didn't see any to do that, so I deleted it, entered a name and clicked the button again. This time, nothing, and all my changes were gone!  Where are my changes? How do I recover the stash file? Did this thing really undo all my changes without warning???

Suggestion: add prompt before the deleting with text "Do you really want to delete the stash? All stashed files also will be removed!" or smth like that.

Fixed.


Webpack 5 support

As base plugin adds webpack 5 support, follow along with razor-partial-views-webpack-plugin.
Base plugin issue: https://github.com/jouni-kantola/templated-assets-webpack-plugin/issues/84

Branch to track: https://github.com/jouni-kantola/razor-partial-views-webpack-plugin/tree/webpack-5


Wide character strings comparisons in conditions

It is possible in YARA to do various string comparisons in a rule's condition, e.g. your_variable == "foo". However, some variables you want to compare (such as ones parsed out in modules) may be unicode/wide character strings, meaning you'd have to add null characters in the comparison, e.g. your_variable == "f\x00o\x00o\x00". This can be make rules more obscure/prone to errors when writing.
A possible solution to this could be to add a modifier to strings, similar to that of in C/C++, to indicate that a string is a wide character strings. I.e. L"foo" is equivalent to "f\x00o\x00o\x00". Therefore, the same condition as before would become your_variable == L"foo". This would make rules more concise, and prevent those writing rules having to worry about including null characters.
This would likely require some grammar updates in YARA, as well as tests to make sure operators like contains and matches still work as expected.
An alternative solution could be to have a function in, for example, the string module that will attempt to convert a wide character string to an ASCII string; but having a built in operator L"" feels easier to use.

This has been brought up in the past, but never settled on a solution: https://github.com/VirusTotal/yara/issues/522.
I, for one, like the idea. ;)


Retry feature on backend errors

Hi,
Today we are having a lot of "backend errors" from cloud storage, apparently it's an issue when uploading some data. Retrying the exact same operation worked.
I found this topic for the java library saying that they can implement a retry feature to overcome this issue:
https://github.com/GoogleCloudPlatform/google-cloud-java/issues/3586
Is it possible to implement it in the php library as well?
Thanks

Thanks for the issue @gsouf, we'll keep an eye on the outcome from the discussion on the java side and follow suite if applicable :).

Judging by the response on the java issue, this appears to be something we have agreed to not tackle on the client side - so I'll close this out for now. Thanks again for the report.


remove double entry for link /districts/:district in server.ts

Remove double entry block for app.get('/districts/:district' in server.ts
1st from line 202 - 205
2nd from line 251 - 254
will fix #146
i dont know why, but it fix it!

@marlon360 why not merging this PR?


Name all ConfigureHeadstage nodes the same

This is probably unattainable, but here goes. It gets confusing to sort through headstages and devices but this could be easier if the neuropixels headstages configure nodes were called ConfigureHeadstageNeuropixelsXXX so all the nodes to configure headstages appear listed together.

Or maybe hide the ConfigureDevice nodes in a library for developers? Just thought I'd ask :)

This is good idea and actually might be kinda easy while maintaining backwards compatibility using the the renaming trick here:
https://github.com/open-ephys/bonsai-onix1/blob/d9a0c876f438fb25f96c5cc2358b8d2048d38110/OpenEphys.Onix1/ConfigurePolledBno055.cs#L239


We need a compiled version of the DLL file

Sorry, I can't provide the DLL file this time, but you can compile it yourself using Visual Studio.


Update to next.js 6, babel 7 and related

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


⚠ PostgreSQL has degraded performance

In 3fff27e, PostgreSQL (https://news.ycombinator.com) experienced degraded performance:

HTTP code: 200
Response time: 3207 ms

Resolved: PostgreSQL performance has improved in ca47be1 after 7 minutes.


Add support for docs view

Currently the toolbar button will only show if the story is in view mode (see https://github.com/literalpie/storybook-addon-rtl/blob/master/src/manager.ts#L16-L18). Our setup uses docs mode so it'd be really handy to have it work there as well.
I can add &direction= to the URL, but that effects the entire page. Having it only effect preview iframe would be a nice bonus as well!

A quick and dirty fix for this would be to remove the toolbar active check that prevents it from rendering in docs mode. This would cause both the stories and the surrounding documentation to get the direction from the plugin.
This is complicated by the fact that pages with multiple stories can have multiple values for the parameters. It seems like the decorator could set the direction on context.canvasElement instead of the current approach of setting the direction on the whole document.
That probably won't be the whole change though because we use logic that assumes one story gets loaded at a time. I wonder if we can combine this with https://github.com/literalpie/storybook-addon-rtl/issues/27 (and only support direction in docs when using the globals API) since the globals API should make it simpler to handle global values while also supporting explicitly set values per-story.


Server Side rendering : "You must wrap the query string in a "gql" tag"

Hello ! Apollo is amazing with Vue.js et Nuxt.js, thanks so much @Akryum and @Atinux !
But i have a stranger error on SSR : this throw a 500 error on production server : https://yineo-website-xzfiffgbwg.now.sh/

You must wrap the query string in a "gql" tag.

BUT if work if you go first to contact page, and let client rendered the homepage : https://yineo-website-xzfiffgbwg.now.sh/contact
here is my apollo call :
<template>
  <Presentation :posts="postsQuery.results" />
</template>

<script>
import Presentation from '~/components/Presentation'
import postsQuery from '~/apollo/queries/postsQueryHomepage'
export default {
  transition: 'page',
  components: { Presentation },
  apollo: {
    postsQuery: {
      query: postsQuery,
      prefetch: true
    }
  }
}
</script>

for whatever reason, if i build it locally (npm run build && npm run start), this error does not appear :-/

I still have this error


Allow InterviewStatus to be triggered by Scheduling

Currently the InterviewStatus has to be triggered manually
In this iteration, the InterviewStatus will be triggered when a user schedules an interview
With this, the InterviewStatus will not be able to be edited manually in this iteration as well.

Closes #106  ! - not sure if @tiewweijian you'll need to add this to the main PR comment in order to link it.

@charmainehly oh ya thanks for adding in ! i was trying to find the issue number, then I forgot cause I wanted to resolve the conflicts first ! But thanks for helping me to add in !


No syntax highlighting on fresh install

Hey, I just installed zig master (2020-10-20) and zls-vscode, and while zls seems to connect successfully and completions etc work, there's no syntax highlighting at all:

However, if I override "editor.semanticHighlighting.enabled" in my user settings to be true rather than "configuredByTheme" (the default), syntax highlighting works perfectly.

Hey, I just installed zig master (2020-10-20) and zls-vscode, and while zls seems to connect successfully and completions etc work, there's no syntax highlighting at all:

However, if I override "editor.semanticHighlighting.enabled" in my user settings to be true rather than "configuredByTheme" (the default), syntax highlighting works perfectly.

The same thing happened to me and it was solved this way.
Thanks.

Hey, I just installed zig master (2020-10-20) and zls-vscode, and while zls seems to connect successfully and completions etc work, there's no syntax highlighting at all:

However, if I override "editor.semanticHighlighting.enabled" in my user settings to be true rather than "configuredByTheme" (the default), syntax highlighting works perfectly.

The same thing happened to me and it was solved this way.
Thanks.

I'm experiencing the same issue, except that setting editor.semanticHighlighting.enabled = true doesn't fix it.

I'm experiencing the same issue, except that setting editor.semanticHighlighting.enabled = true doesn't fix it.

same here

Semantic highlighting needs to be enabled in-editor and within zls itself too.

Semantic highlighting needs to be enabled in-editor and within zls itself too.
I don't know about the others, but I definitely did have semantic highlighting enabled both in editor and zls, though this is an old issue and I don't even remember if I ever fixed it for myself because this was half a year ago.


Game: Ability

Ability is general action which could be used on target(s).
A battle (or other kind of interactions) is just list of abilities used by various Spirits.
A Spirit could have set of abilities which could be used during combat. This set could be modified (thus ability should have unique name) to tell which kind of ability is present or disabled.
Ability could have kind of class (thus telling if it's healing, attack, ...).

Ability can be used() on a Relationships; that means if an Ability is to attack, it will pick up enemies, if heal, it will pick up friends and so on.

Obsolete, yahoo!


Error using .customType() with custom selection set

Environment information
System:
    OS: Windows 11 10.0.23590
    CPU: (16) x64 AMD Ryzen 9 5900HX with Radeon Graphics
    Memory: 13.21 GB / 23.91 GB
  Binaries:
    Node: 18.18.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.11.0 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: Not Found
    Watchman: Not Found
  npmPackages:
    @aws-amplify/backend: 0.5.5
    @aws-amplify/backend-cli: 0.9.1
    aws-amplify: 6.0.5
    aws-cdk: Not Found
    aws-cdk-lib: 2.111.0
    typescript: 5.3.2

Description
amplify/data/resource.ts
Pregnancy: a.model({ id: a.id().required(), before: a.ref("PregnancyBefore") }).authorization([a.allow.owner()]),
PregnancyBefore: a.customType({ tryingSince: a.date() }),

My request:
const response = await amplifyClient.models.Pregnancy.list({
    selectionSet: [ "id", "before" ],
});

It gives me no TS errors. But when it runs, an error is thrown:
{
  "path": null,
  "locations": [ { "line": 5, "column": 7, "sourceName": null } ],
  "message": "Validation error of type SubSelectionRequired: Sub selection required for type PregnancyBefore of field before @ 'listPregnancies/items/before'"
}

Then I modified the request above, with [ "id", "before.tryingSince" ] as new selectionSet, and it gives me a TS error
Type '"before.tryingSince"' is not assignable to type '"id" | "owner" | "before" | "createdAt" | "updatedAt"'.
plus an execution error [Error: before is not a model field].

Typescript part of it was already fixed. https://github.com/aws-amplify/amplify-js/pull/12750 fixes the runtime part.


Add DB trimming

Auto Pruning of Webhook Broker Database.
Problem Statement
While Webhook Broker has been running in production, one of the main issues that effects webhook broker is the data volume that is in the DB. As messages and jobs are never deleted, these 2 tables keeps getting very large. At one stage sieging to operate as DB queries for failure jobs become extremely less responsive.
Solution Approach
While we want to prune, we also want to retain the messages for archival purpose just in case we need it. So what we are doing is, there is a retention period to keep data in the database; by default its set to 0 days, which means pruning is disabled; recommendation is for it to be set to 3~7; so any messages older than 7 days and if all of its jobs has been delivered, that is, there is no job in DLQ for that message, then it will be selected for deletion. The message and its jobs will be serialized in a single JSON-Line to 2 files - one in local directory and one remote (test purpose remote can also be file:/// and it is optional). The files will also be rotated if they reach file limit, default size is 100MB. Configuration template discusses the [prune] section in more details.
To make sure pruning and broker does not run at the same time, we have introduced sub-commands. Default command is to run the broker to keep it backward compatible; to run prune mode just add -command prune.
Some implementation quirks (intentional)

Deletion of messages and its jobs are not batched; it is done so intentionally to keep the unit write volume low
Remote URL and path prefix are broken down 2 variables since gocloud.dev/blob accepts connection params via the URL that might interfere with path prefix or how the blob name is created
The dump file name is obnoxious long

Other changes made

Go version is upgraded to 1.23
Some changes made to at least go build to pass in Windows to make development some what feasible, still test execution is a nightmare
Dependencies versions upgraded
Some minor non-consequential refactorings

Next changes

Work on integration test to incorporate pruning
Helm Chart needs to be updated to include the Job creation for pruning

This change is the major work for newscred/webhook-broker#154

Functionally tested the code, seems be working as expected. So merging the PR.


Modifying role doesn't reflect on vault

Describe the bug
Modifying role doesn't reflect on vault (tried kubernetes backend)
To Reproduce
bankVaults: 0.4.17-rc.4
vault: 1.1.3
create a kubernetes role using externalConfig in vault crd
Modify the bound_cidrs list
Expected behavior
vault configurer should reconfigure the role but does not.

Could you please post your exact CR snippet as YAML?

externalConfig:
  auth:
  - type: kubernetes
    config:
      token_reviewer_jwt: eyJxxxxxxx
      kubernetes_ca_cert: |
        -----BEGIN CERTIFICATE-----
        MIIC1zCCAb+gAwIBAgIQMA3BMbdwlbbfSlq78mD3bjANBgkqhkiG9w0BAQsFADAV
        ................................................................
        4hIu+FuRm7RBIZJ0yrAXVsKoULoBk13wZK2nhLDvDyKfyLlWhQ/r+EZWHrvU+PZ5
        KvFiuwh8ZxH4+c8=
        -----END CERTIFICATE-----
      kubernetes_host: https://api.k8s.dev.example.net
    roles:
      - name: vault-proxy
        bound_service_account_names: vault-proxy
        bound_service_account_namespaces: vault
        bound_cidrs: 10.x.x.0/20, 100.x.x.0/11
        policies: approle
        ttl: 12h
        max_ttl: 24h

modified the bound_cidrs and added one more range
bound_cidrs: 10.x.x.0/30, 100.x.x.0/11, 10.7.x.x/31

I have successfully added the 3rd row to the auth config as well, and the changes have been reflected on Vault. Do you have any special in the configurer logs?
vault read auth/kubernetes/role/default
Key                                 Value
---                                 -----
bound_cidrs                         ["\"10.x.x.0/20\"" "\"100.x.x.0/11\""]
bound_service_account_names         [default vault-secrets-webhook]
bound_service_account_namespaces    [default vswh]
max_ttl                             0s
num_uses                            0
period                              0s
policies                            [allow_secrets]
ttl                                 1h

Edit the config file then kubectl apply -f cr.yaml again:
 vault read auth/kubernetes/role/default
Key                                 Value
---                                 -----
bound_cidrs                         ["\"10.x.x.0/20\"" "\"100.x.x.0/11\"" "\"10.7.x.x/31\""]
bound_service_account_names         [default vault-secrets-webhook]
bound_service_account_namespaces    [default vswh]
max_ttl                             0s
num_uses                            0
period                              0s
policies                            [allow_secrets]
ttl                                 1h

Closing, because of we were not able to reproduce the issue.


CMake: Add support for building with emscripten

Looking at the kokoro logs the issue isn't related to this patch. How do we move forward?

Can you please rebase on master? That should pick up the bazel scripts.


Headlamp with a base-url and OIDC

Description
I'd like to use in cluster deployment with - "-base-url=/headlamp" but when I press the "SIGN-IN" button I get an error -
Bad Request
Unregistered redirect_uri ("https://my-host.org/oidc-callback").
Impact
Unreachable callback URL (e.g. https://YOUR_URL/oidc-callback) to Dex’s staticClient.redirectURIs
Environment and steps to reproduce

Set-up:
Kubernetes 1.18.x
Headlamp in cluster deployed with settings:
 - args:
     - '-in-cluster'
     - '-plugins-dir=/headlamp/plugins'
     - '-oidc-client-id=oidc-auth-client'
     - '-base-url=/headlamp'
     - '-oidc-client-secret=xxxx'
     - >-
       -oidc-idp-issuer-url=https://oauth.my-host.org/dex
     - '-oidc-scopes=profile,email,groups'

Ingress:
name: headlamp-ing
namespace: headlamp
spec:
rules:
- host: my-host.org
http:
paths:
- backend:
serviceName: headlamp
servicePort: 80
path: /headlamp
pathType: ImplementationSpecific
tls:
- hosts:
- my-host.org.tls
secretName: headlamp-ngx
DEX config:
staticClients:

id: oidc-auth-client
name: oidc-auth-client
redirectURIs:

https://my-host.org/headlamp/oidc-callback

Error: [describe the error that was triggered]

Expected behavior
Reachable callback URL (e.g. https://YOUR_URL/headlamp/oidc-callback) to Dex’s staticClient.redirectURIs
Additional information
Header after pressed "SIGN-IN" button
Request URL: https://oauth.my-host.org/dex/auth?client_id=oidc-auth-client&redirect_uri=https%3A%2F%2Fmy-host.org%2Foidc-callback&response_type=code&scope=openid+profile+email+groups&state=main

Thanks @zukko78 . We'll look into it.

Hi folks!
Any update on this issue?

Hi @zukko78 ,
I think this patch fixes it. We need to test it though, but I will try to get this done ASAP (surely before the end of the week).


Auto-create pre-shared key on new client profiles

I noticed after upgrading to version 4 that the pre-shared key on the new client profiles is not generated anymore.
In previous versions, this psk was generated upon flagging; 'Use Pre-shared Key'

Would be great to have this auto-generated psk in again.

@martin-g-it @donaldzou said it would be in the next minor release. Bummer ik.

Refer to #354


seq2seq model training error importing libraries using tensorflow gpu package

System information
OS Platform: Linux Ubuntu 15.10
TensorFlow installed from (source or binary):
TensorFlow version: TensorFlow-GPU 1.0.1
Python version: 3.7
Installed using pip command: pip install tensorflow-gpu==1.0.1
Using anaconda jupyter for programming
CUDA/cuDNN version: 8
GPU model and memory:NVIDIA Corporation GM204 [GeForce GTX 970]

I'm using tensorflow-gpu package to train seq2seq model on a dataset. But it gives error during importing libraries.
Traceback (most recent call last):
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/init.py", line 61, in
from tensorflow.python import pywrap_tensorflow
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/comsats/Desktop/saher_tariq/Panday_group/reaction_prediction_seq2seq-master/bin/train.py", line 29, in
import tensorflow as tf
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/init.py", line 72, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/init.py", line 61, in
from tensorflow.python import pywrap_tensorflow
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/home/comsats/yes/envs/my-rdkit-env/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
I have tried after re-installation of tensorflow but it gives same error. Model works fine when i had used only tensorflow 1.0.1 only for cpu March issue, but was very slow in working. So then i tried for tensorflow-gpu which gives me error mentioned above.
Any help relating to issue is appreciated.

Issue is resolved. See https://github.com/tensorflow/tensorflow/issues/25581


Large performance regression in v2.0

I'm observing a very large performance hit between v1.x and v2.0.1.  Linting my project used to take approximately 13 seconds with v1.x, and now takes about 25 minutes with v2.0.1.
I'm using ESLint v3.9.1, eslint-plugin-import v2.0.1, eslint-import-resolver-webpack v0.6.0, and babel-eslint v7.1.0.
I've tried reverting to earlier versions each of those packages, and I only see a noticeable performance regression with eslint-plugin-import v2.0.x.

My .eslintrc.js is as follows:
module.exports = {
  rules: {
    "import/default": 0,
  },
  parser: "babel-eslint",
  env: {
    browser: true,
    es6: true
  },
  globals: {
    console: false,
    require: false
  },
  extends: [
      "../.eslintrc.js",
      "plugin:import/errors",
      "plugin:import/warnings"
  ],
  plugins: [
      "import"
  ],
  settings: {
      "import/resolver": "webpack",
      "import/extensions": ['.js']
  }
}

I can't release the source code of my project, but would be happy to help track down this bug by some other means.  I've already thrown a profiler on the process, and unfortunately didn't see anything particularly interesting...

Dang, yeah, something seems to not be properly detecting + rejecting CommonJS deps before parsing (which is what eats all the time).
See discussion on #615 for a workaround using import/ignore to always skip parsing node_modules:
  settings: {
      "import/resolver": "webpack",
      "import/extensions": ['.js'],
      "import/ignore": ['node_modules']
  }

Beware, though, that it will not lint imported names/defaults for your node_modules thereafter. no-unresolved and others will still check that the imported files exist, it just won't parse them.
When I add debug logging to start digging into this, I may ping you and ask for some logs, if you're up for that. The v2 logic is not substantially different, so it should not be anywhere near that much slower.

Sure.  Happy to help. I've downgraded to v1.x, which should work fine for me in the short-term!

BTW, running ESLint with the --debug flag does not reveal anything particularly interesting.
Watching the logs scroll by, each file is taking a long time to process, but the "timed" tasks listed in the log all claim to be very fast, despite an obvious 2-3 second pause between files.
  eslint:cli-engine Processing file1.js +3s
  eslint:cli-engine Linting file1.js +2ms
  eslint:config Constructing config for file1.js +0ms
  eslint:config Using config from cache +0ms

*** [long pause here]***

  eslint:cli-engine Processing file2.js +2s
  eslint:cli-engine Linting file2.js +2ms
  eslint:config Constructing config for file2.js +0ms
  eslint:config Using config from cache +0ms

MUCH better.  Thanks for the quick fix!
v1.16.0
real	0m3.460s
user	0m2.973s
sys	0m0.307s

v2.0.1:
real	0m47.238s
user	0m39.430s
sys	0m1.533s

v2.2.0
real	0m3.726s
user	0m3.190s
sys	0m0.321s


Add a command to move the cursor to the next word

Hello! Thank you for the plugin. I have a suggestion. Would it be possible for you to implement focus shifting similar to how it is done in vscode? For example, upon pressing , it would highlight the next matching occurrence with the current selection (word).
Example from vscode docs:

I'm not sure, is this just creating cursors by searching for words? If so, that's already something I'm planning to do.

Hi @aimuzov, someone has submitted a PR for a command like VS Code's Ctrl+D, so I realised that it adds a cursor one at a time. You could check this branch to see if it works the way you want it to.

@bokenator mentioned adding a command to skip a match.
I'm just wondering, what is the functionality that you want? If it's just incrementally adding cursors (rather than a copy of VS Code's Ctrl+D)?
I ask because maybe these two commands would work better:

Add virtual cursor to current cursor position, then jump to next match
Jump to next match (without adding a virtual cursor)

The first command would be the opposite of what Ctrl+D does (it doesn't move the real cursor, just adds a virtual cursor to the next match) but it would mean that the second command will give some feedback when a match is skipped.
@bokenator is that OK for you?

I agree. The proposal is even better. It's definitely helpful to have some feedback when a shortcut key is pressed. The only shortcoming I can think of is it'll be harder to return to the original cursor's location, but it doesn't affect my workflow and it's easy to write a custom function that creates a mark at the original cursor.

I've added the functionality to the feat_add_jump_next_match branch. There's two commands:

MultipleCursorsAddJumpNextMatch: Add cursor and jump to next match
MultipleCursorsJumpNextMatch: Jump to next match

The branch also renames the other search commands:

MultipleCursorsAddBySearch has been renamed to MultipleCursorsAddMatches
MultipleCursorsAddBySearchV has been renamed to MultipleCursorsAddMatchesV

@bokenator @aimuzov If there's no problems I will merge it.
@bokenator Restoring the cursor position when exiting multiple cursors sounds like a good idea, I'll probably add an option for that in the future.

Sounds great!
Thanks you very much!

This is merged now. I'll tag a new release soon.


Where is the Dockerfile for "andyzhangx/local-volume-provisioner" please

What happened:
Wanted to built a custom image to test different cleaner configurations, and realised that there doesn't seem to be a repository / dockerfile for the image for the local static provisioner image.
What you expected to happen:
There should be a published source repository for the image. None is listed https://hub.docker.com/r/andyzhangx/local-volume-provisioner either.
How to reproduce it:
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

use master branch should be ok since it has the key PR: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/187, you could find Dockerfile here: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner, run following command to build a container:
make provisioner

I will make up a new image under mcr.microsoft.com later, thanks for remindar.

it's done, try latest yaml files, thanks.

thank you

FYI this is the thing I wanted to fix - https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/pull/200; 15 seconds or so to discard a 210G partition on a L8sv2 VM, vs 20m or more with the shred example in your example https://github.com/Azure/kubernetes-volume-drivers/blob/master/local/local-pv-provisioner-nvmedisk.yaml

thanks, I have updated image mcr.microsoft.com/k8s/local-volume-provisioner:v2.3.5-alpha with latest master branch(including your PR)


fix(llm/Ollama): changed buffer handling like in streamChat()

https://github.com/continuedev/continue/issues/1014

@mariusgau good find, and thanks for taking the time to make the fix!


Update init.ts

Closing this PR as there is no context. @anshuman35 feel free to open it again with details as to what you're trying to implement


Output to console fixes

It seems that whatever issues we had with using the original implementation of node for console.* calls and for process.std*.write on Windows were solved.
So I removed the patch.
Tested it with cmd, double click (no console attached) and used spawn and exec, it seems to work well including unicode. The only thing I noticed that still doesn't work is colors.
Block all internal logs when running without --enable-logging.
This resolves #3058 (@deepak1556 thanks for the tip :smile: ).

:+1:


TCS panicked when example CA cert and Key were mismatched

Using latest main branch (with label PR added), the TCS controller was observed to be restarting due to a panic.
The issue apparently was a misconfiguration of KMRA where one of the example Cert and Key were mismatched (the problem went away after removing and reconfiguring KMRA with a matching CA Cert and Key).
But, in the interest of not having TCS crash, here is the TCS log (a few extra debug log entries starting with "Provision Signer ..." were added to assist finding the configuration problem).
$ kubectl -n tcs-issuer logs -p --timestamps --tail=1000 $(kubectl -n tcs-issuer get pod -l control-plane=tcs-issuer --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
Defaulted container "tcs-issuer" out of: tcs-issuer, init (init)
2022-08-09T17:45:08.911806595Z 1.6600671089113495e+09   INFO    controller-runtime.metrics      Metrics server is starting to listen    {"addr": ":8082"}
2022-08-09T17:45:09.109855651Z 1.6600671091095202e+09   INFO    SGX     Initiating p11Session...
2022-08-09T17:45:09.110906059Z 1.6600671091106207e+09   LEVEL(-2)       setup   SGX initialization SUCCESS
2022-08-09T17:45:09.110935704Z 1.6600671091107883e+09   INFO    setup   starting manager
2022-08-09T17:45:09.111970007Z 1.6600671091115575e+09   INFO    Starting server {"kind": "health probe", "addr": "[::]:8083"}
2022-08-09T17:45:09.111998044Z 1.660067109111566e+09    INFO    Starting server {"path": "/metrics", "kind": "metrics", "addr": "[::]:8082"}
2022-08-09T17:45:09.112007150Z I0809 17:45:09.111487       1 leaderelection.go:248] attempting to acquire leader lease tcs-issuer/bb9c3a43.sgx.intel.com...
2022-08-09T17:45:25.593663301Z I0809 17:45:25.593327       1 leaderelection.go:258] successfully acquired lease tcs-issuer/bb9c3a43.sgx.intel.com
2022-08-09T17:45:25.594053181Z 1.6600671255934465e+09   DEBUG   events  Normal  {"object": {"kind":"ConfigMap","namespace":"tcs-issuer","name":"bb9c3a43.sgx.intel.com","uid":"c46b198a-87f8-4e73-a6ca-4096d3d81a9b","apiVersion":"v1","resourceVersion":"8088218"}, "reason": "LeaderElection", "message": "tcs-controller-6d856b7976-jb58f_a5698a2b-9b17-4eea-93a2-f9bfbfb87019 became leader"}
2022-08-09T17:45:25.594093014Z 1.6600671255936673e+09   DEBUG   events  Normal  {"object": {"kind":"Lease","namespace":"tcs-issuer","name":"bb9c3a43.sgx.intel.com","uid":"ab98d264-47ce-4ad4-b8b9-08fa4a434ec1","apiVersion":"coordination.k8s.io/v1","resourceVersion":"8088219"}, "reason": "LeaderElection", "message": "tcs-controller-6d856b7976-jb58f_a5698a2b-9b17-4eea-93a2-f9bfbfb87019 became leader"}
2022-08-09T17:45:25.594102592Z 1.6600671255936642e+09   INFO    controller.tcsissuer    Starting EventSource    {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSIssuer", "source": "kind source: *v1alpha1.TCSIssuer"}
2022-08-09T17:45:25.594110945Z 1.6600671255937197e+09   INFO    controller.certificatesigningrequest    Starting EventSource    {"reconciler group": "certificates.k8s.io", "reconciler kind": "CertificateSigningRequest", "source": "kind source: *v1.CertificateSigningRequest"}
2022-08-09T17:45:25.594118719Z 1.6600671255937765e+09   INFO    controller.tcsissuer    Starting Controller     {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSIssuer"}
2022-08-09T17:45:25.594126397Z 1.660067125593806e+09    INFO    controller.certificatesigningrequest    Starting Controller     {"reconciler group": "certificates.k8s.io", "reconciler kind": "CertificateSigningRequest"}
2022-08-09T17:45:25.596851825Z 1.6600671255963366e+09   INFO    controller.tcsclusterissuer     Starting EventSource    {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSClusterIssuer", "source": "kind source: *v1alpha1.TCSClusterIssuer"}
2022-08-09T17:45:25.596881268Z 1.660067125596285e+09    INFO    controller.certificaterequest   Starting EventSource    {"reconciler group": "cert-manager.io", "reconciler kind": "CertificateRequest", "source": "kind source: *v1.CertificateRequest"}
2022-08-09T17:45:25.596889955Z 1.6600671255965576e+09   INFO    controller.tcsclusterissuer     Starting Controller     {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSClusterIssuer"}
2022-08-09T17:45:25.596897302Z 1.6600671255965781e+09   INFO    controller.certificaterequest   Starting Controller     {"reconciler group": "cert-manager.io", "reconciler kind": "CertificateRequest"}
2022-08-09T17:45:25.696475853Z 1.6600671256960783e+09   INFO    controller.tcsissuer    Starting workers        {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSIssuer", "worker count": 1}
2022-08-09T17:45:25.798160624Z 1.6600671257977512e+09   INFO    SGX     Generating quote keypair...     {"forSigner": "tcsissuer.tcs.intel.com/sandbox.my-ca"}
2022-08-09T17:45:25.799407530Z 1.6600671257990184e+09   INFO    controller.certificatesigningrequest    Starting workers        {"reconciler group": "certificates.k8s.io", "reconciler kind": "CertificateSigningRequest", "worker count": 1}
2022-08-09T17:45:25.799463197Z 1.6600671257991374e+09   INFO    controller.tcsclusterissuer     Starting workers        {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSClusterIssuer", "worker count": 1}
2022-08-09T17:45:25.799472749Z 1.6600671257991598e+09   INFO    controller.certificaterequest   Starting workers        {"reconciler group": "cert-manager.io", "reconciler kind": "CertificateRequest", "worker count": 1}
2022-08-09T17:45:25.799549304Z 1.660067125799438e+09    INFO    controllers.CertificateRequest  Reconcile       {"req": "inteldeviceplugins-system/inteldeviceplugins-serving-cert-2bz9w"}
2022-08-09T17:45:28.014446204Z 1.6600671280140276e+09   INFO    SGX     Generating Quote...
2022-08-09T17:45:28.085921380Z 1.6600671280855465e+09   INFO    controller.tcsissuer    Initiating quote attestation    {"reconciler group": "tcs.intel.com", "reconciler kind": "TCSIssuer", "name": "my-ca", "namespace": "sandbox", "signer": "tcsissuer.tcs.intel.com/sandbox.my-ca"}
2022-08-09T17:45:28.573114837Z 1.6600671285726042e+09   INFO    SGX     Provision Signer        {"signerName": "tcsissuer.tcs.intel.com/sandbox.my-ca"}
2022-08-09T17:45:28.573149892Z 1.660067128572742e+09    INFO    SGX     Provision Signer signers were nil       {"signerName": "tcsissuer.tcs.intel.com/sandbox.my-ca"}
2022-08-09T17:45:28.715584362Z 1.6600671287152412e+09   INFO    SGX     Unwrapped SWK Key successfully
2022-08-09T17:45:28.916326348Z 1.6600671289159918e+09   INFO    SGX     Unwrapped PWK Key successfully
2022-08-09T17:45:29.025658647Z 1.6600671290254097e+09   INFO    SGX     Unwrapped Public Key successfully
2022-08-09T17:45:29.622418096Z 1.6600671296220675e+09   INFO    SGX     Provision Signer signers validate CA failed     {"error": "mismatched CA key and certificate"}
2022-08-09T17:45:29.686201918Z panic: interface conversion: interface is nil, not crypto11.Signer
2022-08-09T17:45:29.686244322Z
2022-08-09T17:45:29.686256345Z goroutine 448 [running]:
2022-08-09T17:45:29.686267707Z github.com/intel/trusted-certificate-issuer/internal/sgx.(*SgxContext).removeSignerInToken(0xc000b92780, 0xc0002fe230)
2022-08-09T17:45:29.686279177Z  /workspace/internal/sgx/sgx.go:255 +0xc5
2022-08-09T17:45:29.686293447Z github.com/intel/trusted-certificate-issuer/internal/sgx.(*SgxContext).ProvisionSigner(0xc000b92780, {0xc000c11b60, 0x804}, {0xc000312400, 0x890, 0x891}, 0xc000256580)
2022-08-09T17:45:29.686305446Z  /workspace/internal/sgx/sgx.go:351 +0x80e
2022-08-09T17:45:29.686313282Z github.com/intel/trusted-certificate-issuer/controllers.(*IssuerReconciler).provisionSigner(0xc000b929c0, {0x1a2a9d8, 0xc000c1f4d0}, {0xc000c11b60, 0x25}, {0xc000d82ec7, 0x5}, {0xc000d82ea5, 0x7})
2022-08-09T17:45:29.686336863Z  /workspace/controllers/issuer_controller.go:308 +0x43c
2022-08-09T17:45:29.686350837Z github.com/intel/trusted-certificate-issuer/controllers.(*IssuerReconciler).Reconcile(0xc000b929c0, {0x1a2a9d8, 0xc000c1f4d0}, {{{0xc0007a07a0, 0x1739580}, {0xc0007a0796, 0x30}}})
2022-08-09T17:45:29.686358002Z  /workspace/controllers/issuer_controller.go:173 +0x1305
2022-08-09T17:45:29.686365785Z sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0xc0003071e0, {0x1a2a9d8, 0xc000c1f440}, {{{0xc0007a07a0, 0x1739580}, {0xc0007a0796, 0x417f34}}})
2022-08-09T17:45:29.686373168Z  /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114 +0x26f
2022-08-09T17:45:29.686380365Z sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc0003071e0, {0x1a2a930, 0xc0002e9100}, {0x16796e0, 0xc000e815c0})
2022-08-09T17:45:29.686387161Z  /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311 +0x33e
2022-08-09T17:45:29.686417767Z sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc0003071e0, {0x1a2a930, 0xc0002e9100})
2022-08-09T17:45:29.686449993Z  /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266 +0x205
2022-08-09T17:45:29.686459051Z sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
2022-08-09T17:45:29.686468217Z  /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227 +0x85
2022-08-09T17:45:29.686476796Z created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
2022-08-09T17:45:29.686485232Z  /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:223 +0x357

@snackewm  Thanks for reporting the issue, https://github.com/intel/trusted-certificate-issuer/pull/45 supposed to fix this.


Sometimes the weapons operator rumbler is reported to fire

Oh I forgot to turn off the test commands.  FIxed in 69d1d720764dc5180048905c5ea61ebde7a82b68


Tentative fix for route file name

Changed routing.yml to routes.yaml in install doc

Hey! I totally missed your PR and merged another one which fixed the same issue.
You were fast, apologies. Thank you for the PR, closing as solved