[Bug] NoSuchMethodErrorMetadataUtils.attachHeaders during PineconeConnection init

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
I updated my io.grpc.stub dependency from 1.57.2 to 1.58.0 and in the process the code interacting with the pinecone client broke because it is no longer able to instantiate a connection the same way it used to do.  The code in question is:
val realPineconeClient = PineconeClient(clientConfig) # succeeds
val realPineconeConnection = realPineconeClient.connect(config.indexName) # fails with NoSuchMethodError

I believe the problem is caused by this line of code inside .<init>(PineconeConnection.java:48)

The core of the issue seems to be that attachHeaders does not exist in io.grpc.stub v 1.58.0 and you have a  dependency on 1.53.0
Expected Behavior
It should work with no error.
Steps To Reproduce

With io.grpc.stub v 1.58.0 pinned
Create a pineconeConnection using a valid config
You should see the come up

Relevant log output
Relevant part of the stack trace

'io.grpc.stub.AbstractStub io.grpc.stub.MetadataUtils.attachHeaders(io.grpc.stub.AbstractStub, io.grpc.Metadata)'
java.lang.NoSuchMethodError: 'io.grpc.stub.AbstractStub io.grpc.stub.MetadataUtils.attachHeaders(io.grpc.stub.AbstractStub, io.grpc.Metadata)'
	at io.pinecone.PineconeConnection.<init>(PineconeConnection.java:48)
	at io.pinecone.PineconeClient.connect(PineconeClient.java:37)
	at io.pinecone.PineconeClient.connect(PineconeClient.java:27)

### Environment
```markdown
- **OS**: MacOS 13.5.2
- **Language version**: kotlin("jvm") version "1.9.10"
- **Pinecone client version**: 0.2.3, through to 0.4.0

Additional Context
No response

@serodriguez68 I've updated the gRPC version to v1.58.0, the latest released java-sdk v0.5.1 should've the updates.

Closing this issue since I haven't heard back, assuming this is working fine for you.

Sorry for the late reply. I updated the client to v0.6.0 and I can confirm that this particular problem went away.  I'll file a different issue if I encounter any other problems.
Thanks for looking into this.


border-radius: 0 \0/;

What's this?
border-radius: 0 \0/;

It's located at the line 568 of docs/assets/css/bootstrap.css
I cannot include the css in my asset pipeline of a Rails application because it raises an error at this line.

https://github.com/twitter/bootstrap/issues/1394#issuecomment-3711024

e("\0/") also works.

Yes, @kevva's solution fixes the problem.

@kevva that's interesting. I've never come across e() before. Is that CSS? Does it interfere with older browsers? I tried searching for info about it but "e" isn't very search-friendly :)

e() is specific to less and sass, it basically tells them not to parse the contents, and pass it directly to the compiled css file.

The goal of the commit which added this style is to reset the border-radius to 0 only for IE8/9.
border-radius: 0 e("\0/"); doesn't get picked up by IE.
The working solution is still: border-radius: 0 \0/IE8+9;

Yes it does, e("\0/"); becomes \0/ when compiled.

@kevva in Sass, the e() passes through to the compiled CSS unfortunately and as a result, IE doesn't interpret it.
.scss file border-radius: 0 e("\0/"); ==> .css file border-radius: 0 e("\0/");

Resolved this in another issue—sorry about any problems it introduced.

adding the double-quotes might solved the issue for now, but in my Rails app, i just run rake assets:precompile and somehow that border-radius: 0 e("\0/"); is causing an error.
is there any other way to do the force nuke ie8/9 thingy?


output: remove idle_frame event source when destroying output

This prevents the idle event to be activated on a destroyed
output.
This also makes the backend responsible for free-ing modes, as it
is the one allocating them and adding them to the list. Note that
the DRM backend (the only one using modes) already frees them.
Fixes https://github.com/swaywm/wlroots/issues/1296

Tested and presumably fixes #1296, now I only see #1297 as the crash reason.

Thanks!


update FAQ

good job!

Could English translation of this article be added?

Thanks for your comment. The translation of this article is in progress.


[styles] Improve ref forwarding

BREAKING:

refs that are attached to components decorated with withStyles and withTheme now forward their refs to the decorated component:

const Component = React.forwardRef((props, ref) => <div {...props} ref={ref} />);
const StyledComponent = withStyles({})(Component);
const ref = React.createRef();
- const rendered = <StyledComponent innerRef={ref} />;
+ const rendered = <StyledComponent ref={ref} />;

innerRef is being deprecated. It is however prioritized over ref:
const StyledComponent = withStyles({})(Component);
const ref = React.createRef();
const innerRef = React.createRef();
const rendered = <StyledComponent ref={ref} innerRef={innerRef} />;
console.assert(ref.current == null);
console.assert(innerRef.current != null);

@material-ui/styles is still in alpha so the breaking change should not require a major version bump. It will be however breaking since we will use @material-ui/styles in v4 over @material-ui/core/styles.

hoist-non-react-static < 3.0.0 is holding this back. My guess is that react-router is the main offender but we might have to fix every dependency that is using the old hoist version that doesn't support React.forwardRef.

@oliviertassinari
We really do need to approach this bottom-up.
Currently things like <Typography innerRef={ref} /> are not working because the naked component is a function component. So enabling this pattern (which is currently permitted in our ts declarations) should be our first step. Need to put this here back on hold.

@eps1lon How do you want to move forward?

collect every component that we attach refs to
transform those into forwardRef so that we could use e.g. <List innerRef={ref} /> (currently working on)
make sure withStyles forwards refs (with option to disable this behavior). At this point we can use <List ref={ref} /> #13676
Change findDOMNode calls so that they are done on a ref to a DOM node rather than this or a component instance (for ButtonBase this is done in #13664 but we need to solve 1 and 2 first.)
That's hardest part. I looked into some components and it's sometimes pretty scary what they are doing (e.g. Slide). In other instances we probably have to to switch from React.Fragment and findDOMNode to additional markup to which we can attach a ref.

Change findDOMNode calls so that they are done on a ref to a DOM node

Sounds good, it's large enterprise, thank you for leading it! Do we still need findDOMNode once we have a reference to the dom node?

I think we can keep it if users do something like <Button component={SomeClassComponent} />. It's better backwards compatibility for no real cost (beyond 2 strict equality checks) if users take care about ref forwarding.

Alright the issues described by @oliviertassinari are now solved. Only caveat is a deprecation warning in our docs now for ButtonBase since that component uses innerRef which is deprecated in @material-ui/styles with this PR. It's working perfectly fine and until we switch to @material-ui/styles in @material-ui/core we need this bridge.

I want to merge this pull request so I can finally complete #14560!


Revert "[jsonrpc] - change all uint64 to BigInt (#10129)"

This reverts commit 75c4ce89c9f80e8a140499c13c711f1122b05acd.
Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Hey heads up that I found the incompatibility in in the original PR so we may be able to fix forward

https://github.com/MystenLabs/sui/commit/75c4ce89c9f80e8a140499c13c711f1122b05acd#diff-13b15babf63d24c02e79a35655e5531b4857b42406584987ffb2b7fa9b09fe58R91-R111
This needs to be done in a compatible way using Readable

Root cause fixed in https://github.com/MystenLabs/sui/pull/10665.


Change basicGet result error_code check from property_exists() to iss…

…et() so that if an error_code field intentionally isn't included in the json response / decoded array, then an exception won't be thrown.

This wouldn't work as it stands - $result is an object, not an array.


Unable to Build

Not really sure what is going on, Im still learning electron

hey that looks like an access issue with my fork of vuex-electron. One thing to note is that I'm using yarn as the package manager for this project (I was still on v1 at the time), so you can try using that instead.

Hi, i know i am about 2 months late, but finally got around to setting up yarn. Looks like its building with 'yarn build'. Now I need to start the program, I am new to electron, how would i do that? Thanks for all the help

Got it all working with yarn :) thank you


Xformers error

I get this when trying to run the webui-user.bat i already have installed xformers and also have installed it a second time after following this - https://www.reddit.com/r/StableDiffusion/comments/xz26lq/automatic1111_xformers_cross_attention_with_on/

update: im now getting this error -

Hi @WickedBee,
remove the xformer form commandline argument.
in your webui-user.bat set the args to api like this.
set COMMANDLINE_ARGS= --api

@WickedBee if you having a hard time installing automatic1111,
then I will recommend you check this awesome repo:
https://github.com/EmpireMediaScience/A1111-Web-UI-Installer
and follow this post it shows you were to put the api argument in:
https://discord.com/channels/1054937599392891000/1055247429244563568/1060984542208462888

i

am getting these problems with just the --api and the installer....

this issue has been solved. the OP forgot to add --api and save the settings. read more here:
https://discord.com/channels/1054937599392891000/1055930551028158585/1067164943834697778


Add tshadow : Text Shadow option in badge

Add Attribute : tshadow in poly-badge.
tshadow is attribute for adding text-shadow in poly-badge.

Option
Code
Result

Default
<poly-badge><\poly-badge>
no text-shadow.

Classical
<poly-badge tshadow><\poly-badge>
style= "text-shadow: 1px 1px rgba(200, 200, 200, 0.50);"

Styling
<poly-badge tshadow="1px 1px black"><\poly-badge>
style= "text-shadow: 1px 1px black"

I'll look your PR tomorrow evening but I think this is too much because the badge has already a shadow. I'll write a guide line with the most important improvements in a hour (like using inheritance, remove callbacks, fix the non-detection of the content width...)

I tested this PR but it does not brings any useful new feature. The text shadow is almost not visible and make it "blurred".


replace pandas sort() with sort_by() because sort() is deprecated

I noticed pandas printed deprecation warnings for sort(), so I replaced those calls with the newer sort_by() function.

Thank you!

No problem. More to come soon, hopefully.
On Mon, Apr 4, 2016 at 11:33 PM, Chris Riederer<EMAIL_ADDRESS>wrote:

Thank you!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dodger487/dplython/pull/16#issuecomment-205624394


Remove call to measure page load time in App

Who is this PR for?
developers
What does this PR do?
Removes console noise; no one is actively using this.

selfie


edit-volpiano page lacks proofreading checkboxes

On the edit-volpiano page, OldCantus has checkboxes above the Standardized Spelling, MS Spelling and volpiano fields. NewCantus does not have these checkboxes.

Some discussion surrounding proofreading checkboxes has already occurred in #170.

Correct me if I'm wrong @jwang44 , this is remedied by the separate proofread-chant view, right?

Yes. There is a designated "proofread-chant" view for proofreaders to do their work. Checkboxes are available there, and that view is only accessible to users at editor level who have been assigned to the source.

As we have a designated proofread view now, it is no longer necessary to put "proofread" checkboxes on the chant-edit page. To proofread chant, the proofreader can go to the chant-proofread page. The chant-edit page is only for editing chant fields.


Call out intentional typo in React docs

We've gotten a few PRs "fixing" this typo. I think this will help.

@facebook-github-bot shipit

Looks like we can't shipit our own PRs anymore.
@facebook-github-bot import


Document the Scope of the Test Suite vis-a-vis Other RFCs

Specifically:
The test suite is not meant to be a comprehensive test of support for any given RFC mentioned by the suite. It opportunistically covers a bunch of cases that are likely to drive out implementations to seek out libraries that implement the relevant RFCs completely, but leaves edge case tests for those RFC libraries themselves.
In cases where they already exist, it would likely be helpful to point implementors at more extensive suites for any RFC.

This has become less and less true over time (in the sense that people have submitted lots of tests beyond just simply testing for basic RFC support, e.g. for date-times with quite intricate issues, or emails, etc.).
So... going to close this for now, though:

if anyone does indeed know of RFC-specific test suites, PRs to cross-link to them are welcome
I still wouldn't recommend relying entirely on what we have for any given format


Automatically try to find the data directory?

Fiona has some code (or maybe coming from rasterio originally) to find the data directory of PROJ:
https://github.com/Toblerity/Fiona/blob/2cafe743292fb25485a6d320785a5690abfa8eb3/fiona/_env.pyx#L312-L363
and then uses that to automatically set the data directory if not found:
https://github.com/Toblerity/Fiona/blob/2cafe743292fb25485a6d320785a5690abfa8eb3/fiona/_env.pyx#L403-L414
I was wondering if that is functionality we might want to have in pyproj as well.
One caveat, fiona only does it if you explicitly use there Env context manager (I think), which is eg what other libraries such as geopandas can use, and so fiona does not do it generally by just importing fiona (although I am not fully sure how / if they clean up the set env variables). IN pyproj, we don't really have such concept of context.
One occasion where I regularly bump into the data directory issues is using conda installed pyproj in an environment using a jupyter kernel (where your environment is registered as a kernel, and not running jupyter yourself). In conda, activating an environment sets the env variable, but choosing a kernel in the notebook does not do this, leading to the typical errors if you don't do a pyproj.set_datapath(..) manually.

Interesting. For reference, the current implementation: https://github.com/pyproj4/pyproj/blob/c8c8d31178f21a40d95b3e9e777fcaf969148dbf/pyproj/datadir.py#L41-L99

Another note: newer versions of conda should handle resetting the environment variables automatically. Restarting the kernel should work for in that case.

What is "newer" here? I have been needing the manual datadir setting very recently. I would think it is more a jupyter issue (as the environment never gets "activated" in the traditional sense)

Not sure the exact version, but if you install a package it should perform the activation script for you. Maybe a jupyter issue as you mentioned.

Some related issues: https://github.com/conda-forge/pyproj-feedstock/issues/35, https://github.com/jupyter/notebook/issues/3588

Can you switch kernels and see if sys.prefix is updated?

I cannot seem to reproduce by switching kernels:
Kernel 1:

Kernel 2:

Feel free to reopen after 2.3.0 is released and the issue is not resolved.


Feat: recursive dom profiler

Are these flacky mitm tests or should these really be investigated, seems kinda consistent?

tests

Flaky

New changes look good. Some of these tests in the browser emulator/navigator will need an updated "cut" of the profile data to verify that they can modify objects to match the spec.

Fixes #55


Fix wso2/product-is#4594: Update migration client to work update IDN_UMA_PERMISSION_TICKET table

Should be merged after merging [1] and updating the UMA version of the product.
[1] - wso2-extensions/identity-oauth-uma#39

Fixes wso2/product-is#4594.  As https://github.com/wso2-extensions/identity-oauth-uma/pull/39 is merged now, we can go ahead and merge this if everything looks good.


Limit support Python 2.7, Add missing dependencies

#123 and #125 demonstrate that the claim of Python 3 compatibility is not yet warranted.

Python 2.6 and earlier are already EOL.

#126 demonstrates that there are missing dependencies

@cclauss  Can you merge the latest master, so that this can be merged?

How about adding mongodb as well?
And looks like it's still out-of-date

Closed in favor of #146 where MongoDB was added as well.


Add tests

Created a test to find duplication. Looks like we got one:
Duplicate aliases exist. kdcrv can mean:
1. kubectl describe controllerrevisions
2. kubectl describe cronjobs

That is an easy fix since crv was the value for CronJob, and I changed that to be cj

I don't have a ton of golang experience, so if you have any feedback for me, I'd love to hear it @patmessina

Looks like we are going to have some conflicts from my last commits. I stripped out that ugly string formatting and put it into its own function (which makes it easier to test). I also made a test for that function. I like the duplication check as well. I like the changes made on your end. Ill look to see if I can merge them.


Document/annotate semi-public API

It now appears clearly that this application will expose some APIs to be consumed by other LIFE RIPARIAS products such as the decision tool by @sronveaux.
In this repository (documentation, code comments, ...), we should clearly document which API is (semi) public, and should therefore be treated carefully. All other endpoints would be considered private and can change at any time. Ideally the documentation should also describe the API (parameters, HTTP methods, output format, ...)
Currently semi-public endpoints:

species list (GET /api/species) (see #100)

URLs are now namespaces: should we split there public/internal APIs for more clarity (also in views, tests, ... ?)

Update: code is now being refactored so there's a clear separation between the public and internal API. Still to do: documentation (developer doc only? public web page?)


404 errors

free-programming-books-es.md:

[ ] http://www.cursosdeprogramacionadistancia.com/static/pdf/material-sin-personalizar-agile.pdf
[ ] http://sistop.gwolf.org/pdf/sistemas_operativos.pdf
[ ] http://gitimmersion.mx
[ ] http://www.compunauta.com/forums/linux/programacion/java/AprendiendoJava.pdf
[ ] http://www.cursosdeprogramacionadistancia.com/static/pdf/material-sin-personalizar-php.pdf
[ ] http://www.cursosdeprogramacionadistancia.com/static/pdf/material-sin-personalizar-python.pdf

free-programming-books-id.md:

[ ] http://www.ariona.net/ebook-belajar-html-dan-css/

free-programming-books-jp.md:

[ ] http://ap.kakoku.net/index.html
[ ] http://winscript.jp/powershell/202

free-programming-books-pt_BR.md:

[ ] http://ccsl.ime.usp.br/files/books/intro-java-cc.pdf
[ ] https://www.telecom.uff.br/pet/petws/downloads/apostilas/LINUX.pdf

free-programming-books-tr.md:

[ ] https://www.gitbook.io/book/vigo/ruby-101

free-programming-books-zh.md:

[ ] http://huyuefeng.me/intro-to-prog/
[ ] http://web.math.isu.edu.tw/yeh/HowTo/HowToTex/latex123.pdf
[ ] https://www.gitbook.io/book/numbbbbb/-the-swift-programming-language-
[ ] http://edu.51cto.com
[ ] http://yeomanjs.org
[ ] https://me.alipay.com/astaxie
[ ] http://www.w3school.com.cn/html5/
[ ] http://woodpecker.org.cn/diveintopython3/
[ ] http://woodpecker.org.cn/diveintopython/
[ ] http://woodpecker.org.cn/abyteofpython_cn/chinese/

free-programming-books.md:

[ ] http://static.fsf.org/nosvn/faif-2.0.pdf
[ ] http://blog.hit.edu.cn/jsx/upload/AT＆TAssemblyLanguage.pdf
[ ] http://media.developerforce.com/workbooks/HerokuPostgres_Workbooks_Web_Final.pdf
[ ] http://nlpwp.org/book/
[ ] http://www.mindview.net/Books/TIJ/
[ ] http://althing.cs.dartmouth.edu/local/www.acm.uiuc.edu/sigmil/RevEng/
[ ] https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/ProgrammingWithObjectiveC.pdf
[ ] https://github.com/renkun-ken/learnR

Thanks a lot!
I suggest we take care of #1743 first, and then get back to removing those after #1743 is merged.

Awesome work, many thanks!
I'm closing this for now as I expect to merge your PR very soon.


Prepare Key Vault patch release for October 2022

API change check
API changes are not detected in this pull request.


Cassandra 18963 4.1

Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1126/workflows/4779b148-ca22-4164-8062-06ad5aa7fdee (j8)

https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1126/workflows/af48d083-c246-472d-88c5-a3dadef46abb (j11)


No Ipv4 in DFP-34X-2C2 but it gets IPV6 prefix

I am trying to replace my isp Huawei HG8145V5 ont with a DFP-34X-2C3 (firmware V1.0-220923) stick connected to a Mikrotik router switch.
After folllowing all instruction available in this repo I am not able to get an ipv4 address, however it gets an IPV6 prefix on the internet vlan. This router uses TR069 and vlans:

Which I am able to see when running omcicli mib get 84:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x01
FilterTbl[0]: PRI 0,CFI 0, VID 3000
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x02
FilterTbl[0]: PRI 0,CFI 0, VID 3100
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x03
FilterTbl[0]: PRI 0,CFI 0, VID 3200
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x04
FilterTbl[0]: PRI 0,CFI 0, VID 3300
FwdOp:  0x04
NumOfEntries: 1
=================================

But omcicli mib get 171 returns nothing:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I am suspecting it is an issue with TR069 configuration. I know there is a TR069 config section in the stick under http://<IP_ADDRESS>/tr069config.asp but I don't know how to configure it.

I guess your DHCP request extension is via tr069?
perhaps try change fwdop to 0x02


Make #[derive(Debug)] output compatible with ron

This makes ron useful in deserializing output of programs using default Debug trait of Rust.

Do you mean making RON fully compatible with Rust syntax?

I mean making the output of #[derive(Debug)] a subset of ron syntax, so I can use println!("{:?}", value) in addition to normal serializing.
For example, X { a: 1, b: 2 } should be accepted in addition to the current X ( a: 1, b: 2 ). There is no need to drop support for the current form to make it Rust syntax compatible.

This may be possible to do. Ron has syntax for maps (since ron is a superset of JSON), so { a: 1, b: 2 } would be parsed as a map from an enum with variants a and b to ints. I mention this because Ron usually supports omitting struct names. But if we require including the struct name for this syntax, it may be possible.
Do you want to submit a PR for this feature? This syntax addition would likely be feature-gated. Enabling the feature during serialisation would use the new syntax for structs (and struct-like enum variants), and enabling it during deserialisation would allow using the new syntax.
My guess is that it may be as simple as modifying the current deserialize_struct impl (and its variant counterpart). If the struct name was found, it could peek for an opening curly brace and then expect a closing curly brace later, otherwise it would use the current parsing rules. The logic for guessing struct types in deserialize_any would also need to be amended (this case would actually be quite simple to handle).


v2.0.0 not working, errors, etc.

Sending commands doesn't seem to work under Terminus 1.0.97 (Win 10). Also:

+1

And that title is too long.

And that title is too long.

Of my issue?

No, title in the tab, as your first screenshot.

You can see it is so long that make other tabs unseenable.

Is this plugin abandoned?

same problem


feat(docs): Security HowTos

Description

Docs Version(s)

[x] edge
[x] 3.X
[ ] 2.X

To-Dos

[x] Format with yarn format
[x] Lint with yarn lint
[x] Build successfully with yarn build

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

I think we're going to require multiple subcategories underneath security. Otherwise the sidebar gets very busy.


[Bug] Get-DbaLogin - Parameter Login has wrong type

Declaration is [object[]]$Login,, but usage is $serverLogins = $serverLogins | Where-Object Name -in $Login - so the only possible type is a [string[]].
Please correct me if I'm wrong.
There are other commands, that declare [object[]]$Login,...

I have tried to use Get-DbaServerRoleMember and passed a complete Login object into parameter -Login - as it is also of type [object]. Get-DbaServerRoleMember passed this just forward to Get-DbaLogin inside.
My code that returns nothing:
$login = Get-DbaLogin -SqlInstance SRV1 -Login sa
Get-DbaServerRoleMember -SqlInstance SRV1 -Login $login

My code that works fine:
$login = Get-DbaLogin -SqlInstance SRV1 -Login sa
Get-DbaServerRoleMember -SqlInstance SRV1 -Login $login.Name

When we don't use [object[]] but [string[] for the -Login parameters, that would be more obvious.

And where in the guidelines is the [object[]] requirement exactly?

Thank you @andreasjordan


install for example broken.

[vector-widget]  [master]    npm install
npm WARN package.json @ No repository field.
npm WARN deprecated<EMAIL_ADDRESS>Package not maintained. Recent browserify uses https://github.com/feross/buffer
-
> @ postinstall /Users/myusuf3/Github/react-art/examples/vector-widget
> npm install ../..

npm WARN package.json @ No repository field.

><EMAIL_ADDRESS>prepublish /Users/myusuf3/Github/react-art
> gulp

sh: gulp: command not found

npm ERR! addLocalDirectory Could not pack /Users/myusuf3/Github/react-art to /Users/myusuf3/.npm/react-art/0.13.0/package.tgz
npm ERR! addLocal Could not install /Users/myusuf3/Github/react-art
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "../.."
npm ERR! node v0.12.1
npm ERR! npm  v2.7.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prepublish: `gulp`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepublish script 'gulp'.
npm ERR! This is most likely a problem with the react-art package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp
npm ERR! You can get their info via:
npm ERR!     npm owner ls react-art
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/myusuf3/Github/react-art/examples/vector-widget/npm-debug.log

npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.1
npm ERR! npm  v2.7.3
npm ERR! code ELIFECYCLE
npm ERR! @ postinstall: `npm install ../..`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ postinstall script 'npm install ../..'.
npm ERR! This is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm install ../..
npm ERR! You can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/myusuf3/Github/react-art/examples/vector-widget/npm-debug.log

Need to run npm install in react-art first to get it's dev dependencies (it's not the best process)

You might want to update docs to reflect this! Thanks!

Good idea: Made a quick edit - b7671c47f41d8326595478c1cc95ce86b82a2f76

Thanks!


alt+d shortcut on chrome conflicts with focus on location bar

FYI I have been able to work around by pressing alt+shift+d

Hi Ben,
Thanks for the issue! Can you give me more info on that, alt+d does nothing in my chrome?

Sure! sorry for the lack details (was pretty sleepy when I wrote it up). I am using Ubuntu 14.04. When I press alt+d chrome it jumps to the address bar [1], and does not erase the current point.
However I have found if I press alt+shift+d the focus on location bar shortcut isn't activated and I can still erase points.
I can dig into the code, I am not sure, but i am guessing something like e.preventDefault() needs to be added to the handler.
1: you can see a lot of chrome shortcuts here -- https://support.google.com/chrome/answer/157179?hl=en this particular conflict is under address bar.

Oh I see, you are on Ubuntu, need to make a research for safe shortcuts I guess.

Ok that makes for now shift+alt+d works fine as a workaround for me.

I'm also experiencing this issue with my work machine, Chrome on Windows 10. shift+alt+d workaround also working as a solution for now.


Fix for cgroupsV2

Summary
set the MEMORY_AVAILABLE environment variable when using with cgroups V2
resolves #382
Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@matejvasek Thank you for the PR.
Could you instead check for /sys/fs/cgroup/cgroup.controllers to determine if cgroup v2 is in use? I believe this is a much for idiomatic way to do the check.
Something like:
if [[ -f /sys/fs/cgroup/cgroup.controllers ]]; then
   memory_in_bytes="$(cat /sys/fs/cgroup/memory.max)"
else
   memory_in_bytes="$(cat /sys/fs/cgroup/memory/memory.limit_in_bytes)"
fi

Also, in cases like when memory.max is max, could you make sure memory limits are not set via NODE_OPTIONS.

@matejvasek Hey do you have an update on the CLA?

@arjun024 PTAL


Use _shape annotation in ReadVariableOp shape inference if found

This PR is a workaround to fix the shape inference of ReadVariableOp nodes when a graph gets resource inputs and we can't infer the shapes of the variables. The nodes need to be annotated beforehand with an attribute _shape. This is only a temporary solution, ideally, shape inference should handle resource inputs (similarly to how it can get shapes of the inputs when assume_valid_feeds == true).
This is a clone of #54591 which couldn't be merged due to CLA issues.

cc @bixia1


Release version 1.0.0

This PR releases version 1.0.0, compatible with algobattle-base version 4.0.0 to our main branch.

ready to release now

Thank you, is the source branch correct here? I would assume that we would merge from this repositories' development branch.

I don't have rights to push to that branch, so I just applied them on my fork. If you prefer I can first make a PR to your repo's dev branch, and then a merge to main from there.


Java 21 Record Patterns

Support Java 21 Record Patterns
https://openjdk.org/jeps/440

Its no longer blocked, RecordDeclaration is present, I'd need that for my usage.
I was looking at implementing it myself but it seems like the way its currently built means I'd have to add a VisitForRecord to every visitor, which is a bit too much work for a side quest..


Feature request: Hyperate

In addition to the already in place heartrate features, it would be nice if we could use HypeRate

I'd love to offer more options, but due to the nature of my agreement with Pulsoid, alternative heart rate providers will not be integrated with OyasumiVR for the foreseeable future.

Sorry to necrobump, but do we need to also enforce this agreement with local heart rate providers that directly connect to HR devices via BLE?
I have a working demo that I daily drive to display heart rate in-game via OSC. I’d be happy to open a PR and contribute if that's permitted.


[fix] #2245: Nix build iroha node binary as AppImage

Description
I have found an AppImage bundler for nix and converted it for use in our nix flake. You can now run nix build .#appimage to build the iroha node binary as an AppImage. Ideally we would build all the projects binaries but for now that was outside of my skills with nix.
Linked issue

Partially closes #2245

Benefits

Checklist

[ ] I've read CONTRIBUTING.md
[ ] I've used the standard signed-off commit format (or will squash just before merging)
[ ] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

Why did you choose to add a copy of nix-appimage to the iroha repo?

Why did you choose to add a copy of nix-appimage to the iroha repo?

Because it was only available to use from the commandline. It was not built to be used from within a derivation. So I modified it to support that usecase.


Remove deprecation warning in debug

I've noticed that there are deprecation warnings when using the --debug parameter while installing.

This is my first contribution to an open source project, so please bear with me.

Thank you!


how to use v-annotator package

source code in stackblitz
from a new Nuxt  project, I run :
npm install v-annotator
and modify app.vue, as following:
<template>
  <div>
    <NuxtWelcome />
    test 1234
  </div>
  <v-annotator text="test for annotation" />
</template>

<script lang="ts">
import VAnnotator from 'v-annotator';

export default Vue.extend({
  components: {
    VAnnotator,
  },
});
</script>

I got following error:

what's wrong with me ?
any suggest is appreciated, thank you .

I use vue3, but v-annotator bases on vue 2.

I use vue3, but v-annotator bases on vue 2.

do you know how to use it?


Reduce analyse_text priority for Mojo relative to Python

Score "import " as 0.9 for Mojo. Python returns True for this (implicitly 1.0). Resolves #2771.

Looks good, thanks!


Create ProblemID_43.py

Hello @SanthoshS20 ;
I have contributed the multiply string problem, please merge it.

Hello @SanthoshS20 ,
Can you help me in this , some checks are not successful


Javascript API has dependency on jQuery

Javascript API  uses jQuery for performing XHR requests. But it's not mentioned in documentation.
Also if we use other framework, like AngularJS it can have own AJAX implementation.
So, it would be good to make XHR abstract or at least mention in documentation about jQuery dependency.

JS API is remained quite old, because there are no many contributors and users. @stokito Would you like to contribute to it and send us a Pull Request (against "develop" branch)?

Yes, it would be interesting for me. You may assign this issue on me

Great ;-)

What is the status of this issue?

I didn't made anything on this. But meanwile last jQuery version contains Slim distribution without Ajax.

As I understand this JS API is deprecated. What the sense of this issue?  (sorry, for question but I try to find issue for contribution)

I created this issue two years ago, i think is not important anymore so I'll xlose it


Mousedown events not firing in Windows 10 Chrom[e|ium]

After some investigation it looks like the mousedown event isn't being captured in Chrom* under Windows but is everywhere else.
Steps to reproduce

Open demos/parallax/index.html in Chrome 54 under Windows 10
Hold down left mouse button and attempt to scroll using mouse movements

Tested and found this to be not working
Windows 10, Chromium 53
Windows 10, Chrome 54
Windows 10, Canary 56
Tested and found to be working
Debian, Chromium 48
Debian, Firefox 45
Windows 10, Firefox 49
Windows 10, Edge 25
Windows 10, IE 11

Compare of the events being captured on the #wrapper element under Windows and Debian:
Windows 10, Chrome 54:

Debian, Chromium 48:

Did a little more digging into _initEvents, and it looks like the disableMouse and disablePointer options are being defaulted to true. Manually changing these to be false has fixed the issue for me, but I suspect that this behaviour is incorrect.

OK, so it looks like _init is seeing that utils.hasTouch is true, and is therefore disabling mouse interation. utils.js is determining hasTouch to be true based upon there being an ontouchstart event available.
Under Chrom* in Windows the touch event doesn't fire on mousedown. Do we need some better method of telling whether to use touch or mouse events?

I've run into this issue as well with Windows 10 and iScroll when Windows has a touch enabled screen connected. The user is unable to use the mouse to select elements using the tap event. They must use the touch screen. It would seem to me that mouse events should also be used on a platform that has both a touch interface and a mouse interface.

Digging into it a bit I think the right solution is to disable mouse only on hasPointer. Leave mouse events when there is touch because of systems that have both a mouse and touch interface. Then to take care of any discrepancies between browsers and platforms firing pseudo mouse events when touch start happens add e.StopPropagation() after the case 'touchstart' and before the other case 'mousedown' etc events.
I'm referencing this stackoverflow question to come up with my solution. I didn't include the preventDefault on touchstart because that is a configuration option of iScroll and this changes appear to work for a mouse and touch enabled interface on windows 10 on Mac Sierra.


Create uni-nke.txt

University name: National University of Public Service
Website: http://en.uni-nke.hu/

@lazloz92 Could you please provide us with a link to an IT-related course which the university is offering to students? Thank you!

@lazloz92 This request remains unanswered for a while. I am closing it. Please reopen if you have an update for it. Thank you!

@philipto I did not find the english version of this page but at this link you can see the IT-related courses: http://hhk.uni-nke.hu/oktatasi-egysegek/katonai-uzemelteto-intezet/informatikai-tanszek/kepzes

@lazloz92 Thank you! I am now ready to merge your pull request, but you need to reopen it first. GitHub allows reopening to the initial contributor only. Please reopen, and I'll merge it.

@lazloz92 Pull request merged. Thank you!

Thank you!


what should SUPERSET_WEBSERVER_ADDRESS be set

I install superset by docker-compose and set cache-warmup-hourly.
so how to set SUPERSET_WEBSERVER_ADDRESS, '<IP_ADDRESS>' or 'localhost' or ‘my sever IP’？
please help me out

after test, just superset


Doesn't work for dynamically inserted images?

I tried to use retina.js inside a one page js app, the DOM is dynamically generated with JS template.
But it looks like it's not working.
Does retina.js works only on static pages?
Thanks in advance,
Best regards,
Sam

If https://github.com/imulus/retinajs/pull/197 gets merged in, you'll be able to call Retina.process() to reprocess.

Try this:


Force a run of the setup playbook after a db failover

This should also update the ansible database configuration
which will allow embedded ansible to recover after a failover
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1543340

Just finished testing this. Looks like it does the job. @gtanzillo whenever you get a chance this should be good to review.

Hammer backport details:
$ git log -1
commit e0f75466848b2d0305797cdf0c6a3481710e525a
Author: Brandon Dunne<EMAIL_ADDRESS>Date:   Mon Nov 5 09:48:08 2018 -0500

    Merge pull request #18120 from carbonin/recover_embedded_ansible_after_failover

    Force a run of the setup playbook after a db failover

    (cherry picked from commit e5cc6fc5c9e515053f43ed054b7b2e27b48488b8)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1543340


[WIP][noodle] Add example and doc

As the author ... I don't know how to use this library and how it was implemented ....
TODO

[ ] #84 allow get content of a file directly
[ ] add noodle to generator in gommon.yaml, need to update config to add path because when user write the config they are using relative path, but when the run gommon, they are using project root as working directory

there is a problem when using the gommon generate noodle command, you can only generate from one folder, and the original example generated using test actually generates a file from two folders


feat: impl increase and irate/idelta in PromQL

Signed-off-by: Ruihang Xia<EMAIL_ADDRESS>I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Implement PromQL range functions increase, idelta and irate
Checklist

[x]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@evenyag @yuanbohan  PTAL


your environment can never be created

Followed the instruction while always encounter errors such as
/opt/conda/envs/int/compiler_compat/ld: cannot find -lcublas_static: No such file or directory
Even by using nvidia docker image, the error is still there.

Have you solved it? I met the same error

Hi, I have solved this problem. You need to create a symbolic link to find libcudart.so. code is like  sudo ln -s /usr/local/cuda/lib64/libcudart.so /usr/lib/libcudart.so. After that, you also need to remove all the suffixs in setup.py. Hope that can help.


python integration problem

Hello,
I am trying to install your code but I encounter the following problem:

mkdir build && cd build && cmake .. && make
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking for module 'mpi-c'
--   No package 'mpi-c' found
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
-- Checking for module 'mpi-cxx'
--   No package 'mpi-cxx' found
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)
BUILDING WITHOUT MPI SUPPORT
-- Found OpenMP_C: -fopenmp (found suitable version "4.5", minimum required is "4.0")
-- Found OpenMP_CXX: -fopenmp (found suitable version "4.5", minimum required is "4.0")
-- Found OpenMP: TRUE (found suitable version "4.5", minimum required is "4.0")
-- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so (found suitable version "1.10.7", minimum required is "1.8.10")
-- Found SWIG: /usr/bin/swig4.0 (found version "4.0.2")
-- Found PythonInterp: /home/fbenedet/my_env/bin/python (found version "3.10.12")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found version "3.10.12")
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (NUMPY) does
  not match the name of the calling package (NumPy).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindNumPy.cmake:28 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:61 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found NUMPY: /home/fbenedet/my_env/lib/python3.10/site-packages/numpy/core/include
-- Configuring done
-- Generating done
-- Build files have been written to: /media/fbenedet/My Passport/dbscan/hpdbscan-master/build
[ 16%] Building CXX object CMakeFiles/hpdbscan.dir/src/hpdbscan.cpp.o
[ 33%] Linking CXX shared library libhpdbscan.so
[ 33%] Built target hpdbscan
[ 50%] Building CXX object CMakeFiles/hpdbscan-bin.dir/src/cli.cpp.o
[ 66%] Linking CXX executable hpdbscan
[ 66%] Built target hpdbscan-bin
[ 83%] Building CXX object CMakeFiles/hpdbscan-binding.dir/hpdbscan_wrap.cpp.o
/media/fbenedet/My Passport/dbscan/hpdbscan-master/build/hpdbscan_wrap.cpp:3344:10: fatal error: numpy/arrayobject.h: No such file or directory
 3344 | #include <numpy/arrayobject.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hpdbscan-binding.dir/build.make:76: CMakeFiles/hpdbscan-binding.dir/hpdbscan_wrap.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/hpdbscan-binding.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I think it is related to the line 61 of CMakeLists.txt:  	    FIND_PACKAGE(NumPy)
I do not understand why it is not working.  I have, on my system, numpy in my virtual environment and I do find the arrayobject.h, but the make process cannot find it.

Hi @fbenedett ,
I am having a difficult time reproducing the issue as it seems to work in my setup. However, what you could try is explicitly including the numpy headers. For this try the following:

Open the CMakeLists.txt in the main directory
Add a new line after line 60, i.e. INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS})
Add INCLUDE_DIRECTORIES(${NUMPY_INCLUDE_DIRS})
Clear the CMake cache and build everything from scratch

Please let me know if this works. If not, do not hesitate to get in touch again

Closing this due to inactivity


Adding COVID19_JHB initial import artifacts

Here is the link to the import document

CLA requirement noted, and being worked on

/gcbrun

/gcbrun

@hareesh-ms is there anything else needed from my side before a review is done?

@ajaits any possibility to get this reviewed?

@pradh Any chance to get this looked at?


How do you decode all nodes into a list, preserving order?

Lets take your book example:
<book id="123">
    <id>123</id>
    <title>Cat in the Hat</title>
    <category>Kids</category>
    <category>Wildlife</category>
</book>

If we switch it around like this, so that the order of elements no longer follows your set schema:
<book id="123">
    <id>123</id>
    <category>Kids</category>
    <title>Cat in the Hat</title>
    <category>Wildlife</category>
</book>

… we would have to decode it like so:
struct Book: Codable, ... {
    let elements: [Element]

    enum Element {
        case id(String) // string for simplicity's sake
        case title(String)
        case category(String)
    }

    enum CodingKeys: String, CodingKey {
        case id
        case title
        case category
    }
}

I don't see a way to possibly decode this by hand. If you iterate over the container's keys and try to decode them, you will get stuck at the first category (Kids) which will be decoded twice, and never decode the second one. Same for any other keys that are duplicated. I even tried making the CodingKeys a class to give them some sort of inherent identity and that didn't work. Sample init:
public init(from decoder: Decoder) throws {
    let container = try decoder.container(keyedBy: CodingKeys.self)

    for key in container.allKeys {
        let item = try container.decode(String.self, forKey: key)

        switch key.stringValue {
            case .id:
                elements.append(.id(item))
            case title:
                elements.append(.title(item))
            case category:
                elements.append(.category(item))
        }
    }
}

So far, I am not inclined to think this is the fault of this library. This seems more like a limitation of Codable to me, unless this is something you know how to address right away.

The sample is
struct Book: Codable, Equatable, DynamicNodeEncoding {
let id: UInt
let title: String
let categories: [Category]
}
And yours are
let elements: [Element]
So in you code the category should be [[String]], and the enum couldn't do that.
That's my opinion, I didn't test it with code. You should give it a try.

That's a really interesting and harsh response. I didn't know I was asking for a feature request when I opened the issue.
I'll take that to mean "what you're asking for is not possible due to limitations of the Codable APIs," though, which would indeed make this a feature request, I guess.

For anyone else reading, I would like to clarify with a better example:

hello

    spicy

taco

goodbye

friends

Is it possible to decode these retaining order and type information? I don't know how to do this with this framework.

For anyone else reading, I would like to clarify with a better example:

hello

    spicy

taco

goodbye

friends

Assuming these tags won't contain other tags, is it possible to decode these, retaining order and type information? I don't know how to do this with this framework. @MaxDesiatov maybe you know the answer to this?


Term merge: deoxycytidyl transferases

We have two deoxycytidyl transferase activity terms, GO:0017125
(deoxycytidyl transferase activity) and GO:0019986 (deoxycytidyl
transferase activity, template-dependent). Having just defined GO:
0017125, I can't see any difference between it and GO:0019986,
and the annotations to the terms are the same. Unless there are
any protests, I will merge these terms next week. Ta!
Reported by: girlwithglasses
Original Ticket: "geneontology/ontology-requests/1648":https://sourceforge.net/p/geneontology/ontology-requests/1648

thanks www.movied.org


[release]MNT: bump 0.20 + remove dead code

ok this should be green now and we should be good to go for another amazing journey. This time 0.20.dev0

You going to take care of all of the montage deprecation stuff in the next PR then I take it?

I would do remove the deprecation of the montage in a different PR. (it does not raise error) This PR only took care of the bare minimum to get the CIs green and fix the websites.
My plan was to do montage in a different PR. What I'm not sure is the following: Shall we first refactor the mne/channels and then remove the deprecated code? or remove the deprecated code and then refactor? The latter sounds better, but it has the problem that branch 0.19.x and 0.20 would have differed quite a bit. and might be good to backport it. WDYT?

I would remove then refactor, deal with backporting pain later if we have to


out of memory on helm lint execution with in incorrect template

Hello team!
When I run 'helm lint' for incorrect template (example configmap resource), i get out of memory (available RAM - 32Gb)
Expected behavior print error and exit. Actual one we crushed with oom.
example incorrect resource (extra space between { { ):
{ { if eq .Values.TEST_PARAM "ENABLE" } }
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Values.SERVICE_NAME }}-configmap
data:
  myvalue: "Hello World"
{ { end } }

values.yaml:
TEST_PARAM: "ENABLE"
SERVICE_NAME: "test-service"

I check it behavior on 3.6.1 and 3.8.1 helm version.
Please fix it. Thank you!

We would welcome a patch from the community to fix this.


JAX error when importing jax.numpy under M2

Hi there,
I was trying to run LMMM package on my new M2 laptop, but on the very beginning code where it tried to import jax.numpy, it returned an error saying the version of jaxlib is not supported under current CPU/or operating system. Has anyone experienced the same issue?
Attached screenshots of code and error message for reference:

Thanks!

Hi @coolalu
I once got problem also in M2.
Is it possible reinstall respectively
pip install numpy cython pip install jax jaxlib numpyro
If it does not work, you can try re install in new python environment.
Try install --no-deps
`
pip install --no-deps lightweight_mmm
pip install numpy cython
pip install jax jaxlib numpyro
No dependency module when run lightweight_mmm
pip install --no-deps absl-py
pip install --no-deps immutabledict
pip install --no-deps statsmodels
pip install --no-deps patsy
ModuleNotFoundError: No module named 'tensorflow'
pip install tensorflow-macos
pip install tensorflow-metal
Final plot for report
pip install plotly==5.11.0
Another dependency module when run lightweight_mmm
pip install --no-deps arviz
pip install --no-deps xarray
pip install --no-deps netCDF4
pip install --no-deps cftime
pip install --no-deps xarray-einstats
`
Hope it would helps you

Hi @BigDataRPG,
Thank you for sharing! I tried to reinstall them and the error went away! However, a new attribution error popped up -

Have you experienced the same?
I found there is a post discussing it https://github.com/google/jax/discussions/14036, but it didn't resolve the issue.
Thanks!


Non-i32 IntCst in solver?

Hi, apologies for the naive question. Is there any reason (other than performance) for the IntCst type to always be i32? Would it make sense to have numbers base on i64 or even arbitrary numbers that have the required num-traits methods?
If so, I'd be happy to try tackling the implementation.
Looking into this a bit it seems like the biggest issues are:

Theres an larger integer type used to store the result of computations int64 right now, so that would also have to be generic
Lots of as casts and numeric literals (i.e. assuming IntCst is a built-in int type)
A few places assume i32
(by far the biggest) a good chunk of the module assumes IntCst is Copy. I'm not sure the implications if this isn't true (even if all the borrow checker errors are fixed)

Hi,
your assessment is very much correct. There is no fundamental reason why IntCst needs to be an i32 but there are a lot of good reason why it is.
First, it is important to realize that IntCst is the central type of the solver, together with VarRef. Everything revolves around those two types and essentially all exchanged information is based on this two types.
This has the implication that both performance and ergonomics are critical. The Copy property is essential for both and I don't see a way without it: even if we could maintain performance in the cases of interest, the ergonomics of the library would be to greatly impacted.
As for why 32 bits, the main gain is that a Lit (combination of a VarRef and an IntCst) fits on a single machine word (64 bits) which is very nice for performance. 32 bits also give largely enough precision for any combinatorial problem I can think of. The problems where I would actually require larger numbers can usually be handled by scaling (which is inconvenient but a small price to pay).
To answer your question. Yes, it may make sense to support i64, i128 or other Copy integral numeric types if there is a use case for them.
It would be possible to support them with feature flags to change the underlying IntCst type. There are probably a lot of small changes to do in support for this but it does not appear extremely hard.


For externalized files, switch to using JNA instead of DXL serialization

Performance could be better if externalized files were written directly into C structs in memory and then stored in the note (which could be created with the DXL import) instead of serializing byte arrays into BASE64 and then DXL-importing that.

IBM's NAPI has wrappers that may work for everything other than script resources, which are stored CDEVENT types and not covered by the FileAccess class, oddly.


fix custom rules const

Codecov Report
Patch coverage: 87.46% and project coverage change: -5.50 :warning:

Comparison is base (23ed4b3) 77.76% compared to head (e035d72) 72.26%.

:exclamation: Current head e035d72 differs from pull request most recent head fed8729. Consider uploading reports for the commit fed8729 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #795      +/-   ##
==========================================
- Coverage   77.76%   72.26%   -5.50%
==========================================
  Files          18       18
  Lines        7416     7060     -356
==========================================
- Hits         5767     5102     -665
- Misses       1649     1958     +309

Impacted Files
Coverage Δ

src/compiler.jl
74.02% <87.46%> (-4.38%)
:arrow_down:

... and 13 files with indirect coverage changes

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


ImportError: DLL load failed: The specified module could not be found.

Python 3.7.3
tensorflow-gpu                     2.0.0a0
NVIDIA CUDA runtime 10.1 with cudnn-10.1-windows10-x64-v<IP_ADDRESS>
Traceback (most recent call last):
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\hanna\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\hanna\Anaconda3\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\hanna.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\ptvsd_launcher.py", line 43, in
main(ptvsdArgs)
File "c:\Users\hanna.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd_main_.py", line 410, in main
run()
File "c:\Users\hanna.vscode\extensions\ms-python.python-2019.4.12954\pythonFiles\lib\python\ptvsd_main_.py", line 291, in run_file
runpy.run_path(target, run_name='main')
File "C:\Users\hanna\Anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\hanna\Anaconda3\lib\runpy.py", line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\hanna\Anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "c:\Users\hanna\Google Drive\hannannussbaum\Data Science\TensorFlowTest.py", line 1, in
import tensorflow as tf
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow_init.py", line 27, in
from tensorflow.api.v2 import audio
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow_api\v2\audio_init.py", line 8, in
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python_init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\hanna\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\hanna\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\hanna\Anaconda3\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors

Tensorflow requires cuda10.0 instead of 10.1.Please reinstall the correct version of CUDA and cuDNN.

I installed cuda 10 and cudnn for cuda 10.
I followed instructions on:
https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html
I get this:
python
Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
2019-05-01 19:15:16.317636: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2019-05-01 19:15:16.544680: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: GeForce GTX 1660 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.77
pciBusID: 0000:01:00.0
totalMemory: 6.00GiB freeMemory: 4.92GiB
2019-05-01 19:15:16.551192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
2019-05-01 19:15:17.055182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-05-01 19:15:17.058195: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0
2019-05-01 19:15:17.060549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N
2019-05-01 19:15:17.062575: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4639 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5)
print(sess.run(hello))
b'Hello, TensorFlow!'

Does this mean that installation is ok and it is using gpu with cuda and cudnn?
I also downgraded tensorflow from ver 2.0 to 1.13
Is ver 2 supported?

I installed cuda 10 and cudnn for cuda 10.
I followed instructions on:
https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html
I get this:
python
Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
2019-05-01 19:15:16.317636: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2019-05-01 19:15:16.544680: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: GeForce GTX 1660 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.77
pciBusID: 0000:01:00.0
totalMemory: 6.00GiB freeMemory: 4.92GiB
2019-05-01 19:15:16.551192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
2019-05-01 19:15:17.055182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-05-01 19:15:17.058195: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0
2019-05-01 19:15:17.060549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N
2019-05-01 19:15:17.062575: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4639 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5)
print(sess.run(hello))
b'Hello, TensorFlow!'
Does this mean that installation is ok and it is using gpu with cuda and cudnn?
I also downgraded tensorflow from ver 2.0 to 1.13
Is ver 2 supported?

Sorry, I don't use Anaconda, and I'm not sure Tensorflow 1.13 supports Python 3.7.

@hn2 This is duplicate of 26364https://github.com/tensorflow/tensorflow/issues/26364. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


feat: [IDP-2458]: Added the output variables info on release notes

Harness Developer Pull Request
Added the output variables info on release notes
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screenshot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65f0302775301ba49fb5e3bd--harness-developer.netlify.app


Proxy release 2024-12-12

Proxy release 2024-12-12
Please merge this Pull Request using 'Create a merge commit' button

Relevant PRs:

#10039

Reviewed for changelog


"Actions Left" is horribly inaccurate

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
Please see the screenshot: https://i.imgur.com/14LvvCY.png
As you can see, I have 19,491 crafting experience from my next level.
I am getting 52.5 exp drops per orb made.
In reality, I need to make<PHONE_NUMBER>571429 actions left (orbs) to make; not 14K.
Here's another taken a few minutes later as I typed this:
https://i.imgur.com/I3jiR0M.png
To Reproduce
Honestly a lot of skills are doing this, including slayer, herblore, fletching, and even woodcutting.
Expected behavior
I would expect it to do math correctly I guess.
Screenshots
https://i.imgur.com/14LvvCY.png
and later: https://i.imgur.com/I3jiR0M.png
Environment (please complete the following information):

OS: Windows 10
RuneLite version: [<IP_ADDRESS>]
Launcher version: [1.5.2]

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

You probably have set XP goal, and the XP globes are taking actions left from XP tracker what uses them, but they are not taking rest of the XP data from there, so its messy like that.

I don't have an XP goal or a target set.
https://i.imgur.com/9BzVrO4.png

Not there, in vanilla interface. In this interface https://github.com/runelite/runelite/wiki/XP-Drop

https://i.imgur.com/t89sSZs.png

This should not be issue anymore, or at least now the XP left/actions left etc are using same values from XP tracker and I was not able to reproduce this issue


Filter out email addresses from the Slack view

Closes #108
In order to address concerns about email addresses being exposed / responded to, we now:

no longer show the sender's email address (which also takes care of the annoying empty <> in the case of user deletion messages).

obfuscate any other email addresses that appear in the message body

Awesome - yep


Directory handling in custom/files

Closes #478

One more thing: can you update building-images.md to mention that directories are also possible now?


Timeformat configurable for SAML messages

As a developer, I want to be able to configure the time format in SAML messages so that if service providers can't handle full blown time format with 6 points after seconds, I can configure the desired format.
### Acceptance Criteria
- [ ] Default time format stays with .xxxxxx
- [ ] Configurable time format for SAML
- [ ] Default used time format in ZITADEL changed to .xxx

Additional links:

saml definition 1.3.3
xsd:datetime

relates to #zitadel/saml


模型训练过程，ema的验证结果为0，这是为什么？

训练中间结果如下：

在训练验证的时候，ema的验证过程，loss没有变化，acc也都是为0，这个对复现结果有影响吗？

跑了20个epoch之后，ema的验证准确率才是0.88%

There maybe something wrong with this experiment if the performance of the first or second epoch is above 70%. Actually it is supposed to be around 2% instead.
Also the batch size do matters.

There maybe something wrong with this experiment if the performance of the first or second epoch is above 70%. Actually it is supposed to be around 2% instead.
Also the batch size do matters.

非常感谢您的回复，当前这个实验是在个人数据集上训练的，所有的操作按照默认配置，ema的验证结果到后面就会上升上来。


FEATURE: Update doctrine/dbal depedency

Hi,
I've changed the dependency requirements against doctrine/dbal so that it can use v2.5.5
I've run the test on php7 so far :
$ php vendor/phpunit/phpunit/phpunit -c phpunit_mysql.xml                                                                                PHPUnit 4.8.27 by Sebastian Bergmann and contributors.

...............................................................  63 / 198 ( 31%)
............................................................... 126 / 198 ( 63%)
............................................................... 189 / 198 ( 95%)
.........

Time: 1.75 seconds, Memory: 12.00MB

OK (198 tests, 418 assertions)

CI succeeded.
Hope this could be merge quite soon !
regards

Thank you!

Thanks for merging this !
Any chance you setup a tag for this merge so that we can checkout spot via composer in a clean manner ?
regards

@vlucas ?


Personal dev

Start to editing for personal portfolio

Hi, I don't think you meant to PR into my repo?

Hi,
I'm really sorry about that! I'm new in this and I don't have practice, so
sorry! How can I repair to this?
Sorry!
Il giorno gio 3 ott 2019 alle ore 16:03 Brittany Chiang <
<EMAIL_ADDRESS>ha scritto:

Hi, I don't think you meant to PR into my repo?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bchiang7/v4/pull/24?email_source=notifications&email_token=ANMDXUYVKIBA7Y3G77IB64LQMX3RXA5CNFSM4I5CVOX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIJ2GI#issuecomment-537959705,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANMDXU63GBXOFTD4KUWXCF3QMX3RXANCNFSM4I5CVOXQ
.

No worries! If you forked this repo, you would the base branch of your pull request to be the master branch of your own repo, not this repo!

Many thanks!


Add support for python 3.9

Hello, first of all thank you so much for this awesome package, I've been looking for a while to have a more friendly way to mock test my snowflake app and here it is!
I am wondering if there can be support of python 3.9 (I know it is old, but some part of this world needs it). Given that the only dependency is python itself, will adding from __future__ import annotations at the top be suffice for a start? Again, really appreciate this package!

Wonderful! Thank you so much!


possible styled-component v4 performance issues?

I'm not sure what is going on, but just for the fact that I'm rendering 1000 boxes using styled components my screen takes almost a second to render, when using regular divs it takes less than 100ms.
Environment
System:

OS: macOS 10.14.1
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 731.01 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash

Binaries:

Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm

npmPackages:

babel-plugin-styled-components: ^1.6.4 => 1.8.0
styled-components: ^4.0.0 => 4.0.3

Reproduction

https://codesandbox.io/s/xv1rz10p8q
Steps to reproduce

Open sandbox link
Notice that by default I'm not using styled components.
Click on "show boxes"
Notice that it is basically instant rendering (around 80ms)
Swap from App to App2 that uses styled-components
Notice that the rendering time now is not instant (around ~600ms)

The progression seems to be exponential. For example, 10000 boxes with styled-components takes 6 seconds, without 600ms.
Expected Behavior
I'm not sure if I'm doing something wrong, or if my expectations are wrong. But I'm hoping the performance will be similar.
Actual Behavior
The performance is quite different when including even a very simplistic styled-component div

This is interesting... I did some profiling on the sandbox and only about 10% of that time is styled-components from what I can see. Much of it is just React doing its thing. My guess is the context consumers are slowing things down...

Well I pulled up the standalone app window and ran the chrome performance profiler, then went into bottom-up and sorted by % time. Seemed like the vast majority of the scripting was on the React side.

There's probably not much we can do to fix that performance hit for the styled-components side unfortunately, it's on the React team to improve it :cry:

cc @gaearon
Here's the standalone link for profiling process: https://k916y5mz6o.codesandbox.io/

As you can see, the vast majority of the scripting work is happening on the React side. I believe this is due to our use of context consumers... is any work being done to optimize this? I'm a bit surprised there's so much work happening since we're just mounting the same component many times.

Hi, I'm new to styled-components and I was wondering why it is using the React Context API.
I was checking the generated components with React Devtools and I saw that every component is wrapped below 2 context providers. That is a bit scary to me because I immediately started thinking in performance issues.
Can someone please explain why is this lib using the React Context API? Or is it just used in development mode? (using babel + webpack)
Thanks!

I was just asking why you need that functionality. What's the provided context and why is it necessary?

There’s a context for providing the stylesheet instance and one for
providing the user theme.
On Tue, Nov 20, 2018 at 9:33 AM Demián Rodriguez<EMAIL_ADDRESS>wrote:

I was just asking why you need that functionality. What's the provided
context and why is it necessary?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/2215#issuecomment-440315616,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiy1tfWFt-OlOQZTGvvYe0lwFBsrwMEks5uxCDcgaJpZM4YeOso
.

Yeah ok. Thanks for the info but I still don't get it. I thought the styles were injected in the head of the page and then it's just className referencing in each component...
Anyway, I'll investigate myself... Thanks.

@demian85 styled-components needs to consume the stylesheet instance to add a component's styles to the stylesheet, and contexts are the canonical way to pass a global object (in this case the stylesheet) to React components.
Maybe in the future, when hooks are stable, Context.Consumers could be replaced by useContext, to avoid React tree pollution.

Maybe in the future, when hooks are stable, Context.Consumers could be replaced by useContext, to avoid React tree pollution.

Yup, that's correct. But we wouldn't be able to make this change until v5 at the earliest since it requires a new minimum React version and the Hooks RFC isn't finalized yet.

We are facing the very same problem on Grommet. We need the ThemeContext.Consumer and for every component that we add we have the 2 consumers from styled-components and the Theme consumer from grommet. The React debug tree is a mess, but unfortunately I don't think we can do much regarding debuggability. I'm just hoping the performance issue is fixed in the react side, but it seems we did not get any feedback from the react core team, that's sad. 😢
createContext is an official API, but by looking at their docs we don't see any disclaimer regarding performance issues. Styled-components is just using an official API and I agree it is needed. The same way Higher Order Components and render props are needed to reuse component lifecycle methods.

on a side unrelated note, in my local dev environment i've disabled the react dev tools extension and the page loads much faster.

@alansouzati I just tried that and I'm seeing similar results as well. Strange.

Ok, I have more concrete answers now.
I've updated the codesandbox.
I added a bunch of nested consumers with App2 and I'm able to reproduce this problem only with react. This just reinforces the issue is with React.
We already know that disabling React Dev Tools helps with the cause.
Another very important finding is that if I download that codesandbox and run in production mode the issue simply go away.
npm i
npm run build
npm install -g serve
serve -s build

Lessons learned for me, I should never test performance using a dev server. This is one piece of good news.
Although, the developer experience is still not good. Do any of you have any pointers as to why this is so slow using webpack dev server + React?

I'm closing this issue since I feel this is something that should be fixed in React.

It should be fixed in React but seeing as how its still slow coming into march 2019 can styled-components fix this themselves? wrapping every element in two contexts seems very very inefficient however i'm not a performance expert.

+1, it takes very long to render our pages... Have to wait 4-5 sec after switching some tab

I'm facing this issue as well. I'm trying to render a table with about 20 columns and anywhere from 10 - 100 rows and it practically crashes IE every time it renders. My company refuses to release the software for internal use because of the performance (which we upgraded to a react stack to fix, ironically). Virtual rendering only makes scrolling performance even worse. I've upgraded to v5 beta but it doesn't seem to be any better. My solution is to strip out any usage of styled-components within the table and replace with JS style objects and className definitions. I see a roughly 10x increase in scrolling and rendering performance this way.

@DustinDSchultz try v5, it works for me very well.

@DustinDSchultz try v5, it works for me very well.

But it didn't work for me 😥. I render 500 dynamic styled components every second and it was extremely slow. But when I replaced styled-components with inline-style, it was 100x faster.

A large chunk of components are static. I think this would be a great performance optimisation to create context-free components using the macro. This would possibly remove most of the performance bottleneck related to context usage while only being a minor version update.
const Foo = styled.div`
  color: rebeccapurple;
`

import { contextFree } from 'styled-components'
const Foo = contextFree.div`
  color: rebeccapurple;
`

Thanks for this great library!
Is there any plan to address the performance issue raised in this issue?
The update from v4 to v5 did make a difference, but it is still there, I wonder if v5 tackles part of the root issue (the switch to hook ?) or the performance gain is due to improvements in other areas.
From the comments, I understood that the heavy usage of the Context API is the root cause of the performance issue, did anyone went further in the exploration to identify the expensive function calls?
In the meantime did anyone find successful ways to mitigate the issue? (e.g: virtual list?)
Thanks a lot


Dilato: Core: Brackets website testing: User couldn't download the extension [Wrong Repository]

Wrong repository.


#select results in awkward string concatenation of all options

The bug
As of 0.0.63, the README's #select example no longer works.
To Reproduce
Extracted from the readme, the following select block will cause the options to be repeated, resulting in an awkward looking string like 910111210 (9, 10, 11, 12 being concatenated as options, and the extra 10 was the selected option) instead of the highest probability option (eg. 10)
guidance.llm = guidance.llms.OpenAI("text-davinci-003")
program = guidance(
    """Tweak this proverb to apply to model instructions instead.

    Where there is no guidance{{gen 'rewrite' stop="\\n-"}}
    - GPT {{#select 'chapter'}}9{{or}}10{{or}}11{{/select}}:{{gen 'verse'}}
    """
)

The workaround of using a non-block, inline version works with a small caveat:
guidance.llm = guidance.llms.OpenAI("text-davinci-003")
chapter_options = ["13", "14", "15"]
program = guidance(
    """Tweak this proverb to apply to model instructions instead.

    {{proverb}}
    - {{book}} {{chapter}}:{{verse}}

    OUTPUT
    - GPT {{select 'chapter' options=chapter_options, logprobs='logprobs'}}"""
)

This works but under two conditions:

without the logprobs parameters (logprobs work with the block version, but not the non-block version);
set each value in the option list as a string so that string concatenation through the + operand works as intended.

Passing integers as options will raise a TypeError: unsupported operand type(s) for +: 'int' and 'str'.
Passing in the logprobs to get the log probabilities result in a SyntaxException: Expected end of text, found '{'
Changing the model to gpt-3.5-turbo did not work as well. Since this is the first example given in the README, I feel we should switch the example to either the non-block version, or introduce regex to further parse / process the string to remove the choice strings.
System info (please complete the following information):

OS (e.g. Ubuntu, Windows 11, Mac OS, etc.): Ubuntu 22.10
Guidance Version (guidance.__version__): 0.0.63

That's true, it no longer works!

Sorry it took us so long to get to this. We made a lot of changes in the new release, hopefully select is now working properly!


Detectron2 Integration

Hello Dustin,
I was completed your tutorial on inference with jetson. It is really nice project. I ran my own detection with my custom dataset (drone images) using transfer learning based on Mobilenet SSD. But according to my research on papers  and  I decide to compare mobilenet ssd vs faster rcnn resnet101. I will use same dataset for the comparison.
papers:
1-https://www.researchgate.net/publication/337537833_Drone_Detection_in_Long-Range_Surveillance_Videos
2-https://sci-hub.do/10.1109/AVSS.2017.8078464
I have used detectron2 for transfer learning training based on faster rcnn resnet101 with same dataset but in coco format using Detectron2. Now I have my .pth (pytorch i guess) model. How can I use this model with detectnet code?
Note: I am open to any other suggestions for training?

I'm not sure if detectron2 is supported in TensorRT.   I believe TensorFlow version of maskRCNN is, because there is a maskRCNN sample found at /usr/src/tensorrt/samples/sampleUffMaskRCNN in recent version of JetPack.  I am not sure of the performance, e.g. on Jetson Nano.
Supporting it in the library would likely require some significant code additions to the pre/post-processing of either detectNet and/or segNet class.  I'm not terribly familiar with maskRCNN, it may require it's own hybrid object since it is both detectNet and segNet.
Anyways, before working on it myself, I would prefer if PyTorch-trained ONNX version of maskRCNN was working in TensorRT, and that it was realtime performance on Jetson.

I am new to these topics but I think detectron2 is able to convert trained model to .onnx format AFAIK (https://detectron2.readthedocs.io/modules/export.html#detectron2.export.export_onnx_model). Documents of TensorRT also mentions about .onnx (https://docs.nvidia.com/deeplearning/tensorrt/developer-guide/index.html#overview). So is it a valid solution? Am I on wrong side?

It depends on if TensorRT can load/run the ONNX model that is exported (if all the layers/ops are supported, ect).   From the detectron2 documentation that you linked to, this unfortunately seems unlikely as they are using custom ops:
Export the model to ONNX format. Note that the exported model contains custom ops only available in caffe2, therefore it cannot be directly executed by other runtime.

So it does mean that I cannot use TensorRT engine. Well, does it also mean that there is no way that I can use exported .onnx model?

Well, does it also mean that there is no way that I can use exported .onnx model?

Yea, it sounds like you can only use the exported ONNX model in caffe2 because of the custom op.   I suppose you could write custom op parsers/executors to support it in other frameworks, but it would probably take some significant work (if it works at all)

Okay thank you so much @dusty-nv. Probably It seems like I will implement my training algorithm and network on tensorflow than use tensorrt. I do not have that much time :)

@berkantay What did you end up doing?
I am also interested in using detectron2-trained models on the Jetson Nano or other Jetson devices, and I am curious as to how you've continued with your project :)

Hello @valli28 I changed my path to yolov5 that has already onnx export and tensorrt deployment tutorials. Currently my work on detectron2 is frozen. But I am having troubles with onnx format exported from yolov5. #800

Thank you @berkantay. I think my best course of action is to train a new model using segnet on my dataset. It's not huge, so I think that's the best solution for me right now.
I hope FAIR or Nvidia increases compatibility between detectron2 and TensorRT in the near future.

Hope they will @valli28


EID-835 - Give the MSA support for the RSASSA-PSS and ECDSA algorithms

A change has been made to saml libs to give support to the above signing algorithms.
This is to fulfil eidas crypto requriements as laid out in the spec

Co-authored-by: Simon Worthington<EMAIL_ADDRESS>

@IreneLau-GDS We can change the current signature within the integration tests to use the RSASSA-PSS signature. However changing the test to use the ECDSA signature may be problematic due to the difficulty generating a EC private key, @vixus0 has the details. We would be able to test this in Integration with a certain proxy node that we know use the ECDSA signature.


Update datasource.ts

the code had a bug where generated URL will contain two '?' characters in the parameter part of URL - causing the wavefront API to return 403 error.

lgtm

Thank you Conor, for the blazing speed!


make lint error

Thanks for submitting a bug report, please fill in the following details.
Description
There is a linting error around the usage of .md constant.
Reproduction Steps
Steps to reproduce the behavior:

Install go
Install goimports
Install other two required libraries
Run make lint on main.
See error

What happened
~/src/changie$ make lint
goimports -w -local github.com/miniscruff/changie .
golangci-lint run ./...
core/utils_test.go:285:54: string `.md` has 6 occurrences, make it a constant (goconst)
					&then.MockDirEntry{MockName: tc.latestVersion + ".md"},

Expected behavior
Clean linting command
Additional context
This is on a Mac and I installed everything from brew.
go version go1.21.3 darwin/arm64
go install golang.org/x/tools/cmd/goimports@latest

What version of golangci lint are you using?

There must of been a config change or something in 1.55 but yea, it should be fixed now.


Update quasi_codegen to 0.29

This avoids compiling two versions of some crates, which hopefully fixes tidy errors for https://github.com/servo/servo/pull/15216.

@bors-servo r+

:pushpin: Commit 96384e2 has been approved by emilio

:hourglass: Testing commit 96384e2 with merge d8c1512...

:broken_heart: Test failed - status-travis

Updated Cargo.lock for the change in bindgen’s own version number.
@bors-servo r=emilio

:pushpin: Commit 783ac6e has been approved by emilio

:hourglass: Testing commit 783ac6e with merge e4420b6...

:sunny: Test successful - status-travis

I tried to publish to https://crates.io/crates/bindgen but was not allowed. You can run cargo owner -a github:servo:cargo-publish bindgen if you want to allow Servo team members to publish.

I'm not a member of github:servo:cargo-publish ^^

On Wed, Jan 25, 2017 at 06:36:38AM -0800, Simon Sapin wrote:

I tried to publish to https://crates.io/crates/bindgen but was not
allowed. You can run cargo owner -a github:servo:cargo-publish bindgen if you want to allow Servo team members to publish.

Thanks Simon, done :)


Unreachable code detected after an IIFE with try-catch.

TypeScript Version:  3.8.3

Search Terms:
Code
const success = (() => {
    try {
        doAnything();
        return true;
    } catch {
        return false;
    }
})();

console.log('Reachable') // < Unreachable code detected.(7027)

Expected behavior:
Last time is reachable.
Actual behavior:
Unreachable code detected.(7027)
Playground Link: Link
Related Issues:
#37998

Already fixed in 3.9 builds
https://github.com/microsoft/TypeScript/issues/36828

Thanks


hid_to_vpad link takes you to source code of a unstable release

In https://wiiu.guide/get-started , the link for hid_to_vpad takes you to only the source code of the latest release.
As Matt Kimura appointed in the Discord channel, it should use instead the link https://github.com/Maschell/hid_to_vpad/releases

In general the nightly releases work just fine. But if you want to link to one specific version just to avoid a possible broken nightly in the future, you can do that as well.


Physics documentation should teach users to set parameters before adding nodes

Godot version:
3.2.3
OS/device including version:
Windows 10
Issue description:
Based on https://github.com/godotengine/godot/issues/45598.
This issue is Bullet specific, but it's generally better to set physics objects parameters before adding them to the simulation in order to get the best performance.
Documentation and tutorials should reflect that so new users can be taught good practice, but it's not the case at the moment.
Example where bad practice is shown as an example:
https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html#main-script
There might be more examples of this, so it would be good to make a pass on checking tutorials related to physics. Documentation could also mention it somewhere, but I don't know if there is already a good place for this information.
Steps to reproduce:
n/a
Minimal reproduction project:
n/a

What about setting global_position over position? Physics nodes must be inside the scene tree to modify the properties related to global transform. Not all nodes are added to root node, so that's where I find setting global_position to be a universal solution, but I wonder whether there are other ways to do this.

@Xrayez If you really need to, you can set the transform after adding objects, but you just won't get the best performance. So I guess the message documentation can teach is "set parameters before adding objects whenever possible".
That said, one way to handle this scenario would be to add a property to disable physics on physics nodes, so that you would have a way to disable physics, add to tree, set everything you need, and then enable physics again to add it to the physics world. I don't think it would be complicated to implement, but it's a bit outside this issue's scope and it would need a proposal.

IMHO the property trick isn't needed, but I'm thinking the workaround of "disable-add-set-reenable physics" could be documented?

IMHO the property trick isn't needed, but I'm thinking the workaround of "disable-add-set-reenable physics" could be documented?

Well the "property trick" is needed to perform that workaround. You can't disable physics on a per-node basis as of now.

You can set collision shapes to disabled, I thought that's what they meant.

@Zireael07 I guess you can disable shapes to work around performance problems in this scenario but it's a bit hacky (in this case the physics body is still simulated but it collides with nothing). This trick should generally work ok, but it's difficult to predict what undesirable side effects it might have in some situations, since e.g gravity and forces would be still applied.
I meant to add a way to globally disable physics on an object, which you can't do at the moment and might be useful in other scenarios as well. It would be much clearer and well documented because it would have no possible side effect in physics.


[es] Enable link checking and normalize links

Before merging this PR, we should merge first https://github.com/cncf/glossary/pull/3221 to update our dev-es branch and then, submit these changes to main branch.
Merge first https://github.com/cncf/glossary/pull/3229 to include the new term and content updated.
Merge first https://github.com/cncf/glossary/pull/3231 to include dev-es branch to main and include the latest changes.
Describe your changes

Contributes to https://github.com/cncf/glossary/issues/3190
Normalizes links, adding a trailing slash, as reported by the link checker

Related issue number or link (ex: resolves #issue-number)
https://github.com/cncf/glossary/issues/3190
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

/cc @Okabe-Junya @electrocucaracha @krol3
Could you please take a look at this PR?

/lgtm

@nate-double-u  could you help me to review and merge this PR, please?


Fix XSS

Add esc
Fix XSS in session and variables. Now I see this: https://prnt.sc/q69wnx

I don't think this works. Esc only works on strings I and it should be handled for that strings based on the line you changed.
Not sure exactly what code situation this is fixing for, but doesn't initially seem like a correct implementation. Can you provide code you're using that has made that present in the toolbar to begin with?

esc support arrays https://codeigniter4.github.io/userguide/general/common_functions.html

If $data is an array, then it loops over it, escaping each ‘value’ of the key/value pairs.

View data has HTML code https://prnt.sc/q6ac9r
$_GET data using esc function, but varData dont using

Or we can use like that print_r(esc($value), true), but with using esc(print_r($value, true))

Use $_SESSION[1] = "XSS";
Or use setVar with html code

@lonnieezell merge pls this commit to CI

Already fixed in 68026f8b68d0a81f67520eb9ba9154ed8f471aac


⚠ Bofrost.fr has degraded performance

In df7b991, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2526 ms

Resolved: Bofrost.fr performance has improved in e53fa0b after 20 minutes.


Remove redundant alerts

PaiServicePodNotRunning / PaiServicePodNotRunning inhibits NodeNotReady ;
PaiServiceNotUp detects the status of job-exporter, node-exporter & watchdog. As services job-exporter, node-exporter are already covered by PaiServicePodNotRunning / PaiServicePodNotRunning, only watchdog need to be monitored in this alert.

Coverage remained the same at 34.374% when pulling 4083b9499ceac0fab587b4a9df0986621d1133e1 on suiguoxin:alert-inhibit into 6904314c0167a4b92c38ac571503dc75c9a369c2 on microsoft:master.


Updated the build status badge to point to travis-ci.com

Updated the README file.
Build status badge is now pointing to 'travis-ci.com' instead of 'travis-ci.org'
JIRA: https://openedx.atlassian.net/browse/BOM-2089

Thanks for the pull request, @Jawayria! I've created OSPR-5162 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

:warning: We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation. Please see the CONTRIBUTING     file for more information.

Coverage remained the same at 87.767% when pulling 9102920d23ce71f952cbc2620838448bae30445f on Jawayria:update-badge into 5d7c583a6e5f2e5b28669706a0d9c79ed5f33c0a on edx:master.

:tada: This PR is included in version 12.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 12.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Port Scala Image API to Clojure Package

The Image API would be very useful for Clojure users.
Adding it to Clojure would involve adding a new namespace in the Clojure package and adding the correct interop functions as well as a tests for it.
Here is the Scala PR that was just merged into master https://github.com/apache/incubator-mxnet/pull/12995

@gigasquid : I can work on this if no one else has signed up. Note that this is the first time I'm contributing to mxnet so I may need some handholding :smiley:

@kedarbellare awesome 💯 Happy to help out. Feel free to reach out to me on slack or Github as needed 😸