Added odrotbohm.de

https://radar.cloudflare.com/scan/0a9e4c4b-db21-48de-8b6f-1f02e1903da1/summary

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the Cloudflare report
[x] This site is not an ultra minimal site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain:
  url:
  size:
  last_checked:

Cloudflare Report:

Thanks!


(fix) Add missing top-level when compiling statement declarations to …

…calculus
Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Should address part of #266


Two accessibility fixes

Fixes

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1351212
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1351247

LGTM


[ENHANCEMENT] allow customisations on monitoring/logging addons

Is your enhancement related to a problem? Please describe.

With the proposed to move to monitoring and logging integrations to addons, we should allow customization of these deployments.
Describe the solution you'd like

Current deployment of monitoring and logging integrations using the managed chart, do not allow for customization of the integrations.
On larger deployments end users may wish to customize the Prometheus, AlertManager or Logging operator to target specific nodes only.
The addons already allow injection of a values.yaml file to customize the deployment, however this is not fully exposed in the UI.
Allowing this would ensure these deployments can be customized on larger installations.
Describe alternatives you've considered

Additional context

@ibrokethecloud Can you help check what customization we need to do, there are some fields exposed in GUI now already.


Support says only individual emails accepted not groups

HI - Please make the list of valid selections for email more clear and tell people you can only select individual email addresses even though the dialog box even says search users and groups.
From this {issue)[https://developercommunity.visualstudio.com/content/problem/386392/email-work-item-feature-fails-for-dls-with-an-apos.html] The support site says groups are not supported.. only individuals
and
If you select an email distribution list the product throws an ugly TF400898: An Internal Error Occurred.  which based on this issue is apparently by design.
The current text below sounds reasonable but doesn't actually match the behavior of the system if a DL is a valid email recognized by the system.
You can only send the email to addresses that are recognized by the system, that is project members. If you add an email account that the system doesn't recognize, you receive a message that one or more recipients of your email don't have permissions to read the mailed work items.
I've submitted an issue saying the Send Work Items in email screen To field says search users and groups too.
Thanks,
-Brian
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4b4a9a4d-3517-28c2-d8b9-7b1d025b17af
Version Independent ID: 1b55ace1-77fd-7980-b2bf-ac97c03a112a
Content: Email or print user stories, issues, bugs, or other work items - Azure Boards
Content Source: docs/boards/work-items/email-work-items.md
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@BrickOven - Thanks Brian for the feedback. I'm updating the article to better reflect the restricitons.


How to start from a given point(set of parameters) in the search space

Describe the issue:
Hello,
How can I force nni to start from a given point (set of parameters) in the search space?
Originally posted by @kalavinka in Gitter

Just as a follow-up - As a workaround for this issue, we have initialized the experiment with a fixed combination of parameters and then used nnictl update to change that to a wider range after the first trial. It would still be nice to have it as a default option though. Thank you for your interest.


[bug] Greenwave Powernode 6 measurements always reported on instance 1

Version
Checklist:

[ ] I am not using HomeAssistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog problem was not mentioned there.

Build/Run method

[X] Docker
[ ] PKG
[ ] Snap package
[ ] Manually built (git clone - yarn install - yarn run build )

zwavejs2mqtt version: 4.5.1
zwave-js version: 7.7.1
Describe the bug
Two Greenwave Powernode 6 devices. Correctly detected by ZWaveJS2MQTT. Nodes 2 & 12.
Attached information:
zwavejs2mqtt-store.zip
Each socket is expected to update their "Electric Consumed [W]" information into their own instances (NODE-50-X-66049, with X = 1 to 6).
Unfortunately the electric consumed information is updated regularly but instead to be assigned to the proper socket, the information is assigned to X=1
For instance, in my node 12 I have only one device connected at X=3 right now but information of power consumption is updated on 12-50-1-66049, not in 12-50-3-66049

If I click on "Refresh" button, the 12-50-3-value-66049 is updated and 12-50-1-value-66049 goes to 0 for a few seconds. Until new measurement is received which instead to updated the expected 12-50-3-value-66049 updates the 12-50-1-value-66049.
In my other device (node 2) it happens the same but it could be less obvious because I have devices in a lot of more sockets. But in logs you can see only socket 1 is updated periodically but, based on the power consumptions it is obvious to me some times the reports if for one socket or another.
It seems quite similar to me to the issue reported over OpenZWave stack: https://github.com/OpenZWave/open-zwave/issues/1700 but I don't get the technical discussion on it of how it was solved on that ZWave stack. I'm not sure if it could be helpful for ZWaveJS stack.
kWh information (NODE-50-X-value-65537 Ekectric Consumed kWh) is only updated by polling mechanism so I guess I can do the same to get "W" information updated regularly but, as I said, Electric Consumed (W) information is being sent by device periodically and ZWaveJS is aware of that. The issue is ZWaveJS is assigning the values always to socket 1.
To Reproduce
Steps to reproduce the behavior:

Go to 'Control Panel'
Click on Greenwave PowerStrip 6 Node
Scroll down to 'Meter'
You'll see only NODE-50-1-value-66049 Electric Consumed W is updated regularly although that socket (1) isn't populated

Expected behavior
Each NODE-50-X-value-66049 Electric Consumed W should be updated with the information if its own socket X. X=1 should inform about the electric consumed (W) by socket 1, X=2 should report power consumption of socket 2 and so on.
Additional context
As mentioned above, it seems to me like this issue raised on other ZWave stack: https://github.com/OpenZWave/open-zwave/issues/1700

Hi @AlCalzone,
Please find it attached (it was inside the .zip file attached in the opening statement but I've reenabled logging and I've attached an updated one):
zwavejs2mqtt.log

Line 1821: 2021-06-06 22:39:47.329 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 10 => 11.1
Line 1822: 2021-06-06 22:39:56.328 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 11.1 => 9.7
Line 1844: 2021-06-06 22:40:41.332 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 9.7 => 15.9
Line 1845: 2021-06-06 22:40:50.332 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 15.9 => 9.9
Line 1856: 2021-06-06 22:41:17.330 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 9.9 => 11
Line 1857: 2021-06-06 22:41:26.332 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 11 => 9.5
Line 1864: 2021-06-06 22:41:53.333 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 9.5 => 10.7
Line 1876: 2021-06-06 22:42:02.333 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 10.7 => 9.4
Line 1878: 2021-06-06 22:42:11.332 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 9.4 => 11.2
Line 1883: 2021-06-06 22:42:29.333 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 11.2 => 9.8
Line 1889: 2021-06-06 22:45:29.335 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 9.8 => 10.8
Line 1890: 2021-06-06 22:45:38.334 INFO ZWAVE: Node 12: value updated: 50-1-value-66049 10.8 => 9

Please also find the node JSON and debug_info exported from GUI for node 12 (one of my two greenwave powernode 6 devices)
node_12.zip
node_12_debug_info.txt

That is not the driver log.
https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report?id=driver-logs

Oh, my mistake, sorry!
I get you now. Please find it attached: zwavejs_2021-06-07.log

2021-06-07T07:33:29.705Z CNTRLR   [Node 012] [~] [Meter] value[66049]: 9.4 => 10.5                  [Endpoint 1]
2021-06-07T07:33:29.705Z SERIAL » [ACK]                                                                   (0x06)
2021-06-07T07:33:29.706Z DRIVER « [Node 012] [REQ] [ApplicationCommand]
└─[MultiChannelCCCommandEncapsulation]
│ source:      1
│ destination: 3
└─[MeterCCReport]
type:        Electric
scale:       W
rate type:   Consumed
value:       10.5
time delta:  9 seconds
prev. value: 9.5

│ source: 1
│ destination: 3

Oh, so the device tells us the report comes from endpoint 1, when in reality it comes from endpoint 3 which it uses as the destination.

Thank you very much for your quick answer! It will be really helpful if it could be managed as you said.


strings click issue

I just pulled the latest nightly and fired up Strings (cool module but currently not usable due to all knobs causing clicks), anything plugged into any of the inputs apart from the env inputs (chord into Chord bank 1 input for example) cause clicks. Also apart from the clicks the volume is rather low, maybe due to strummer actually outputting triggers, so there some more experimentation is needed, though hopefully that could work, as it's the only module I know of that can imitate strumming across the 6 strings.
I hooked up the Nysthi Strummer module to strum the 6 strings, with a trigger into the first of the bank of 6 strummer outs. That works fine until i move any of the knobs or the chord into Chord Bank 1 or Chord 1  inputs changes chord, click again. Sure that is not intended, but thought I'd drop you a note so that perhaps this can be fixed before Library team gets to building these.
I am running an M1 Mini with MacOS 14.4, Rack Pro 2.4.1 arm64 (standalone).

Ah, that's because the module isn't an oscillator.  It only generates v/oct CVs and gates of the muted channels.  The env inputs are to pitch bend the output CVs, so they work like an FM input.
You need to plug the output TRIG into the IMPULSE CONTROLLER to make the strumming envelopes, and then strum a module like the Pluck.
The manual.pdf has some patch examples, but I should probably make a demo patch for this one, as it's not super straightforward to patch.

aha, my bad, sorry for the noise. Makes sense but still a bit cumbersome to patch up but will give it a go.

No problem! :-)  I was originally planning on making it into an oscillator, but it became clear after a bit of development that the module was quite complex already.
I had to use 6 Pluck modules for the demo patch, since even though they are technically polyphonic modules, the poly copies all use the same mono trigger. So if you want to strum the strings separately you've gotta have duplicates.
It also works nice if you patch all the v/oct outs to a regular oscillator like VCV VCO, the TRIG to the sync input, and then through a MUTE8 to your VCA (patch the MUTES out to the MUTE8 to turn off the muted strings). This works nice in poly as well, with IMPULSE CONTROLLER to make the plucks and ENVELOPE ARRAY to make the envelopes (you can right-click on the envelope module to change the retriggering behavior) .

Hi @codygeary
I have patched Strings up as per your image but without the mutes and get on many chords that out1 goes to -10V and stutters (makes a low grouwling sort of noise for ages before it fades down, unless a new chord comes in to land on a row/column where none of the outs go into that weird mode. No idea how to stop that. If I unpatch out 1 and only use the other 5 outs it's mostly OK, but now and then another out goes to -10 and makes that weird noise. Am I still doing something wrong or is this a bug?
Here is the patch (delete the .zip suffix, as this is only way to get a patch uploaded to git) :
StringsOut1Mad.vcv.zip

Try updating to the latest version of the plugin.  I got rid of the -10V 'feature' since it's too annoying, now it spits out a root note if the string is muted. This way even if you don't patch up the muting you get nice sounding chords.
I can't open your patch fully since I don't have most of those modules installed... but taking a quick peek anyways, I think I know what you did. The outputs of the Plucks need to go into the Mute8 module, use the Mute outputs from the Strings to turn on and off the channels, then patch the outs of Mute8 to the mixer.

Oh, yes also.
I put a few demo patches of Strings onto my Patchstorage that you can use to get started:
https://patchstorage.com/author/cody_geary/

OK, updating to latest fixed that one. Thanks. Now on to check your demo patches.


Donor Directed Accounts Liquidation

Donor directed wallet liquidation case was incomplete.

[x] Donor directed wallets can be liquidated by donors with ParticipationVote like Veto of transactions.
[x] In default case the funds return to the donor wallets
[x] In the community wallet case, the funds go to TransactionFee so it follows the usual burn/recycle governance.
[x] The VM needs to execute this on the epoch boundary
[x] Tx tests for whole flow of liquidation

Closing due to changes included #1261


Feat: Update Suppliers button

Describe the feature
Create a HTML page regarding the suppliers of ISRO, reference this website
and link it to the button present in the footer.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a Hacktoberfest'23 contributor
[ ] I want to work on this issue

Hello
I want to work on this issue.
Can you please elaborate the issue and assign it to me.

@Pariharx7 create something similar to this https://blog.aerospacenerd.com/p/isro-partners and link it with the suppliers button

Ok 👍

Bhai mai begiiner hun smj ni aya mujhe Krna kya h jo reference dia h waisa html page bnana h aur usko suplier Wale button p jb click kre to mera html page khule? Aisa kuch?

Yes bro
I'm also beginner in Web Dev, I understood what the owner wants and now I'm working on it.

Yes bro
I'm also beginner in Web Dev, I understood what the owner wants and now I'm working on it.

Bhai Maine Jo bola wo shi hai?


Why xor forth and back ?

Hi, I got to this by way of crackmes.one, nice job.
Anyway, just curious, why take the trouble of xoring back and forth if the string is hardcoded? it's not actually obfuscating anything.
Thanks

hey thank you for the issue, I just wanted to explore CrackMe's


Fixing schemes for Swift5

Updating project settings to be compliant with latest XCode version and Swift5 compiler

Just to clarify (because this PR is a few months old and I didn't pay too much attention to Xcode updates): this PR is for some version of Xcode 10, right?

Apologies, I merged #366 which caused some confucts in this PR.

I will upgrade to Xcode 11.1 once #374 is merged. That should fix the issues here.


fixed broken close() in #125

@lasselindqvist sry, I'm not used to writing java 1.6 anymore and my fork is java 1.8

No worries. Actually I wasn't even aware this still supports Java 1.6. I think I will actually bump it now to 1.8, and quite soon to 11. There really is not reason to keep supporting 1.6 anymore. And even 1.8 is a bit questionable nowadays, but I understand why we would want to have 1.8 support for some time still.

Handled in https://github.com/wvengen/proguard-maven-plugin/pull/128


No module named '_tf2'

I'm running this package on Ubuntu 16.04 with python aliased to python3, I ran into this exception message:
Traceback (most recent call last):
  File "/usr/local/bin/kitti2bag", line 12, in <module>
    import tf
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf/__init__.py", line 28, in <module>
    from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 37, in <module>
    from tf2_py import *
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 37, in <module>
    from _tf2 import *
ImportError: No module named '_tf2'

Is there some dependencies I'm missing? It seems to be related to this issue: https://github.com/ros/geometry2/issues/259 but I'm not sure. I've followed the tutorial on tf to install the packages.
Thanks!

sudo pip2 install kitti2bag
python2 kitti2bag -t 2011_09_29 -r 0071 raw_synced .
and bingo!

I got it working using the following comands in ros-kinetic:
sudo python -m pip install --upgrade pip
sudo pip install kitti2bag
sudo apt-get update
sudo apt-get upgrade


Advertisement popup tianxi

new features

added css profile and extended from the current "toast" framework. Advertisement uses the same base framework as the existing "ToastMessage" interface, however, there are extensions of rebuilding the toast-container stylesheet into centre of frame, and add a images towards the ad toast.
The functionality of the ad popup is customised, it will redirect the user to the official online shop of farmbot when the user clicks the ad popup.
The ad will automatically disappear after a few seconds. Capped at 5 maximum. 5 different ads were implemented and added towards, each time displaying a different ad.

Functionality: pop up ads every 5 clicks, however, only 3 of the 5 ads work correctly.
Readability: resonable comments and naming
Structure: Follows existing architecture design
Code Reuse: Correct import
Coding Standards: Reasonable branch name


Adding median to summarize replicate z-scores in grit

closes #38

Codecov Report

Merging #39 (e78c2a5) into master (32a1491) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   99.47%   99.49%   +0.01%
==========================================
  Files          21       21
  Lines         761      791      +30
==========================================
+ Hits          757      787      +30
  Misses          4        4

Flag
Coverage Δ

unittests
99.49% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cytominer_eval/evaluate.py
100.00% <ø> (ø)

cytominer_eval/operations/grit.py
100.00% <100.00%> (ø)

cytominer_eval/operations/util.py
100.00% <100.00%> (ø)

cytominer_eval/tests/test_evaluate.py
100.00% <100.00%> (ø)

cytominer_eval/tests/test_operations/test_grit.py
100.00% <100.00%> (ø)

cytominer_eval/tests/test_transform/test_util.py
100.00% <100.00%> (ø)

cytominer_eval/transform/util.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

I'm going to merge this, but then reopen #38


initial change to keyvault tests .

This initial PR is to change the existing : azure-sdk-for-go-samples/keyvault/keyvault_test.go to two files:

azure-sdk-for-go-samples/keyvault/keyvault_test.go
azure-sdk-for-go-samples/keyvault/keyvaultsecrets_test.go

To make it similar to the tests in azure-sdk-for-go-samples/storage/ . This allows for a common setup() and teardown() for all tests in that folder, and to easily add new test cases.
I also added  :  azure-sdk-for-go-samples/keyvault/keyvaultsecrets_test.go to test the code in /keyvault/pass_manager.go.

/azp run

Hi @mayelms thanks for this PR!
While these changes look good to me, could you please resolve the CI failure?
The CI is reporting that the generateName function is un-used, could you please remove this function?

@ArcturusZhang : I have made the changes, please review. Thanks.


Support line continuations inside string literals

Here's another edge-case for line continuations from my Fortran teaching course:
    print*, "You picked a number between twenty and fifty,&
            & excluding forty-two"

& can appear inside string literals, in which case I'm reasonably certain it must appear as the first character (not column) on the next line.
I've read that tree-sitter doesn't aim for "type-II correctness", which I interpret to mean: "tree-sitter should be able to parse all valid programs, but not necessarily reject all invalid programs".
So that might give us some latitude to not worry so much about missing & on the second line
Originally posted by @ZedThree in https://github.com/stadelmanma/tree-sitter-fortran/issues/73#issuecomment-1427798501

Is this maybe as simple as:
@@ -1308,13 +1308,13 @@ module.exports = grammar({

     _double_quoted_string: $ => token(seq(
       '"',
-      repeat(choice(/[^"\n]/, /""./)),
+      repeat(choice(/[^"\n]/, /""./, /& *\n *&/)),
       '"')
     ),

     _single_quoted_string: $ => token(seq(
       "'",
-      repeat(choice(/[^'\n]/, /''./)),
+      repeat(choice(/[^'\n]/, /''./, /& *\n *&/)),
       "'")
     ),

This leaves the line continuations in the string literal node.text, but maybe that's correct for the parsing at this stage, and they'd have to be removed later?

I think it would be acceptable for parsing at this stage, since for cases like syntax highlighting I’m fairly certain it’d still work correctly. You probably would run into issues if you used it “as is” for something like automatic source code reformatting but that’s a very advanced use case where your going to have to inspect the text content anyways.

Fixed in #76


Fix writing multiple headers with the same key

This is a rather crude patch, but it highlights the issue behind https://github.com/socketry/falcon/issues/19

Ah, thanks for investigating and highlighting this issue. I thought this might be part of the issue.
I think I'll see if I can fix this in falcon since it's a rack-specific implementation detail (using \n to separate multiple fields).

Is it a rack-specific plementation detail though? This seems like something coming out of your Multiple MERGE_POLICY thing in http-protocol itself.
Le 1 octobre 2018 04:05:35 GMT+02:00, Samuel Williams<EMAIL_ADDRESS>a écrit :

Ah, thanks for investigating and highlighting this issue. I thought
this might be part of the issue.
I think I'll see if I can fix this in falcon since it's a
rack-specific implementation detail (using \n to separate multiple
fields).
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/socketry/http-protocol/pull/1#issuecomment-425771926

--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

Yeah, this is a rack-specific way of representing multiple headers.
Essentially the following:
Cookie: a=b
Cookie: x=y

Becomes the following in env:
env['HTTP_SET_COOKIE'] = "a=b\nx=y"

The opposite is also true, if you return a headers hash:
return 200, {'set-cookie' => "a=b\nx=y"}, []

Should generate the following headers:
set-cookie: a=b
set-cookie: x=y

This is a rack specific transform. The HTTP::Protocol::Headers class is a separate concern and in the case of falcon/rack, does not affect this issue.

Fixed, see https://github.com/socketry/falcon/issues/19 for more details. Thanks for your PR. I believe it's the wrong place to solve this issue, and it only addressed one side of the problem.


ui: refine code and error handle

close #594, close #595, close #596, close #602
What did:

Extract StatementsTable and SlowQueriesTable from Overview page ( #594 )

Rename CardTableV2 to CardTable ( #595 )

Use key for the message box to avoid multiple same message boxes

Only show the first error if has multiple errors at some cases

Show "Network Error" in the Alert component as well

Some other screenshots:

I planned to move Alert out of CardTable, then I found it doesn't work because we need to show alert between the table title and table body. If we move the Alert out of the CardTable, then it looks like this:

I planned to move Alert out of CardTable, then I found it doesn't work because we need to show alert between the table title and table body

How about not displaying the table totally (and substitute it with the error bar)?

Thanks! Mostly fine, is it possible to remove apiErrorMsg and encapsulate it in a component, something like
<ErrorBar error={error} />

so that using it can be simple?

Good idea, will try it later.

Is this PR reviewable now? If not, you can add a WIP :)

Yep, just ready.
How about this:

Use a list to show multiple errors (show at most 3 kinds of errors):

Use the original style for a single error:

I planned to move Alert out of CardTable, then I found it doesn't work because we need to show alert between the table title and table body

How about not displaying the table totally (and substitute it with the error bar)?

The key point is that in the overview page, the statements and slow queries table have a table title shows above the alert and table body:

If we hide the whole table, the title will be hidden as well, which looks not good. Except that we re-implement the titles by an extra Card component.


fix synonym relation  in GO:0009870

follow on from https://github.com/geneontology/go-ontology/issues/18707
GO:0009870   defense response signaling pathway, resistance gene-dependent
this is the plant term that means "ETI signalling"
I don't know if it is the best name based on current thinking, but it is the historical name. I can ask about this at the PHI-Base RGA unless anyone  can add any clarity? the existing synonym
effector-triggered immunity exact
needs to be fixed to
effector-triggered immunity signalling exact
ETI is much broader  than just "signalling" but my understanding is that this term would be used for any of the R-genes (receptors), and any downstream signalling (I have not yet seen any papers on the downstream signalling, but many effectors have been studied). My understanding is that these probably signal through a common pathway?
@CuzickA  (could you also tag Kim H-K, I can't locate here GIt-HUb)
@tberardini

Also add
effector-triggered immunity (broad)
effector triggered immunity (broad)
(really hard to find these terms with string searches, these are more likely to match exactly what people type so will be more highly weighted)

Changed
-synonym: "effector-triggered immunity" & effector-triggered immunity"
from EXACT to BROAD
Added
+synonym: "effector-triggered immune signaling" EXACT []
(instead of 'immunity signaling')
OK ?
Thanks, Pascale

Yes. Once the changes filter through and I fix my sessions I will double-check that everything looks sensible.


[Feature Request] el-upload how to achieve asynchronous file upload

Existing Component
是
Component Name
el-upload
Description
el-upload如何实现文件异步上传
How to implement asynchronous file upload

How to implement asynchronous file upload

I have made an attempt.
The issue with my implementation is that the "on-success" hook is called on page load which is too early. Can anyone help?
<el-upload                   ref="upload"                   class="upload-demo"                   drag                   :action="myUrl"                   :on-preview="handlePreview"                   :on-remove="handleRemove"                   :on-success="nextAction()"                   :auto-upload="false"                   :with-credentials="true"                >
Drop site list here or click to upload

Excel file with Frame IDs in Col A
                </el-upload>
And the js method:
uploadFile: function(){                this.$refs.upload.submit();          },

无法理解你的问题，上传不就是异步的？


Feature: chocolatey package

Hi,
it is possable to distrebute nvm in chocolatey?
(https://chocolatey.org/packages?q=nvm)
thx
Paul
My Environment

[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)

[ ] Windows 8

[ ] Windows 8.1

Windows 10

[ ] Windows 10 IoT Core

[ ] Windows Server 2012

[ ] Windows Server 2012 R2

[ ] Windows Server 2016

My Windows installation is non-English.

I believe someone is working on this. See #17.

@pmizel You can try the "preview" version of nvm from Chocolatey by installing the version here. https://chocolatey.org/packages/nvm.portable/1.1.1 Use choco install nvm.portable --version 1.1.1 and let the maintainers know if you have any issues on their GitHub repository. Once it actually gets approved you can upgrade to the final version by adding --force to the install arguments.


Upgrade to React 0.14.

Sorry,
moved reactify to dev deps and then saw this issue
https://github.com/joshwnj/react-visibility-sensor/issues/11

Looking good, thanks! Sorry for the delay, I'm nearly ready to merge this but just need to finish upgrading example/main.js - hoping to have some time this weekend for it.
On another note, would you consider joining as a collaborator? I've really appreciated your help on this and would love to share the ownership.

Yeah, I'll be glad to, thanks.

Hi @kompot I'll close this now as there was another upgrade in #22 which also uncovered some bugs with a newer version of reactify.
Thanks for your help here!


Extract adding errors into a method when saving a resource

I want to customize the way the errors are added when saving a resource. I want to do some i18n things instead of directly using what's been returned by the server side.
Extracting that specific code into a Resource#add_error method enables me to do some clean monkey-patching (instead of copying the whole save method).

@chingor13 ping 😄

Can you add a test so that we don't break this in the future?

Not sure how a test case could look like, because there is no change of functionality. mocks/stubs?
BTW, I want to support the "code" of an error response, like this:
    def add_error(error)
      if error.source_parameter
        error_attribute = self.class.key_formatter.unformat(error.source_parameter)

        if error.code && respond_to?(error_attribute)
          errors.add(error_attribute, error.code.to_sym)
        else
          errors.add(error_attribute, error.title || error.detail)
        end
      else
        errors.add(:base, error.title || error.detail)
      end
    end

The codes are "taken" or "invalid" and can be mapped to different languages with Rails i18n. Are you open to adding this feature? Then I would extend this PR.

I created another PR, which features support of the "code" attribute:
https://github.com/chingor13/json_api_client/pull/265

Hi @csmuc
Looks like it already extracted into #fill_errors at lib/json_api_client/resource.rb:415
take a look  at PRs #275 and #277 for more details


Keyboard manager shortcut remap does not work with Alt-F4

Environment
Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: 0.18.0
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager

Steps to reproduce
Enable Keyboard Manager and remap the short cut Alt+F4 to any other key combination (in my case, Ctrl+Q).
Expected behavior
When I press Ctrl+Q, the selected application should close.
Actual behavior
Nothing happens.

Looks like it works on some applications but not all for me. @saahmedm can you try to repro as well?

Just validated with @arjunbalgovind, it works and closes all applications for me. The one exception is if you're trying to close elevated apps (run as administrator) and PT isn't running as an administrator (btw apps like Task Manager are always running in admin).
 Is it in this direction or the opposite @threkk

My mapping is from Alt+F4 to Ctrl+Q. I did not manage to make it work in any case, neither in administrator mode. Is there more information I can provide to help resolving this?

Yes, can you send a screenshot of your remapping page please?

(btw apps like Task Manager are always running in admin).

This isn't completely accurate... It's accurate if you're in an environment where you're logged int with an account with administrator privileges, but if you log in with an account that doesn't have admin, then Task Manager does not have admin.
Case in point: on my work laptop, I can map CapsLock to Esc, then use Ctrl+Shift+CapsLock to launch Task Manager and use CapsLock to close it immediately. On my home machine, CapsLock does not close Task Manager.

Sorry for the delay, here there is a screenshot of my settings.

I just realised this is my fault. I created the binding the other way around. In my defence, I understood with "Original shortcut" the behaviour I wanted to replicate, and "New shortcut" the new key combination I want to use for "original", but now I understand it is the other way around. I will close this issue as this is a human error.

@threkk We've actually noticed a few people dealing with confusion in regards to direction. We've changed the headings to be more clear and will hopefully get that out soon :)

Thank you very much for your time!


Matcher map README bug and limitations

If you apply the Mandatory Locking README example:
apiVersion: klock.rnemet.dev/v1
kind: Lock
metadata:
  name: lock-red-blue
  namespace: argocd
spec:
  operations:
    - UPDATE
    - DELETE
  matcher:
    aura: red
    aura: blue

Only aura: blue matcher will be created, as they are defined as maps of string.
This could become a major limitation of the matching strategies as requires creating different Locks for matching appropriate resources. Would be really cool to be able to able to define those as arrays instead of maps, also in that way could grow in the future with operators (AND/OR)

Yes. Thanks. Indeed some logic in matcher would be helpful. This is what I'm working on in this branch.


Fix return statements ignoring assignments in favor of an unreachable one

Description
Assignments that occur in a block whichreturn will be ignored.
This may only be triggered when a block's condition is const-folded and the parent block contains other assignments.
Tests
Added testsuite/bug-return
Running shading tests now.

Did you maybe not git add a few of the files?

What files ?

Well, I don't know what's missing if it's missing.
For starters, look at the list of tests you added to CMakeLists.txt and see if all the new tests have properly committed files.

I only added one test, just Xcode shuffled the columns.
The test I added and others pass.
Windows issue seems to be unrelated.

ah, ok, maybe my bad then

OK, I think the if statements in your test are not really relevant here. The basic situation is that
a = 10;
... stuff not involving `a`...
a = 20;

sees two assignments within the same basic block, and because a is not used between the two assignments, the first one can be eliminated.
But this optimization ("stale assignment elision") was wrong for this modified code:
a = 10;
return;
a = 20;

because the return changes things -- the second assignment won't be executed, and therefore should not retroactively eliminate the earlier assignment. The correct final value of a is indeed 10.
I see that your code fixes this particular case, because once it sees the return (which underneath is the 'exit' instruction, if it's returning from the main shader rather than just a function), it turns subsequent ops within the same basic block into nops:
a = 10;
exit;
nop   # was a=20 originally

But...
I'm struggling to convince myself that your solution is (and always will be) correct. There is an upstream logic error, which is that An exit instruction should terminate a basic block but was not recognized as such.
The real bug is in OSOProcessorBase::find_basic_blocks:
    // 'break', 'continue', and 'return' also cause the next
    // statement to begin a new basic block.
    if (op.opname() == u_break || op.opname() == u_continue ||
            op.opname() == u_return)
        block_begin[opnum+1] = true;

This should also be testing for the exit instruction.
I'm worried that there are other subtle bugs that could be latent, or be introduced in the future, from getting this wrong.

Is it worth splitting out the no-op optimizations into a separate PR and just get the exit fix in ?

Yeah, probably. Let's have one PR that is just the important bug fix to OSOProcessorBase::find_basic_blocks, and I will backport that to the release branch. Then we can have a second PR for the new optimization, and for safety we'll put that in master only.


Use --seccomp-filter instead of --seccomp-level

The flag --seccomp-level has been deprecated and will be deleted from Firecracker soon.

Resolved with #382


Closes #1251 and #1261  Typos in documentation

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

Since this is a user-facing update for the derive_vars_dtm function I think it warrants a note in the News.md file.  The other adls typo does not need a mention.

@bms63 , I am not sure if we should add it to NEWS.md. I think for the user nothing has changed. Uppercase and lowercase can be used as before.

I was going to make the same point.  Yes, a user-facing function has changed, but in a way that is invisible to the user.  I wouldn’t mention it in NEWS.md.


package not generating .d.ts files for all components in new repo

Describe the bug
I set up a small test repo with Kit just now to demonstrate some other issue. All I did was create the repo with npm init svelte@next, npm install, npm install -D svelte2tsx typescript, create a few component files in src/lib, and create a src/lib/index.ts file.
For some reason when I run npm run package the component files Component.svelte, ComponentTwo.svelte, and ComponentThree.svelte don't have any .d.ts files generated in the package directory. Only Base.svelte.d.ts is generated. There are no errors or any other indications that something is wrong.
Reproduction
https://github.com/rgossiaux/svelte-typing-tests
npm install and npm run package
Logs
No response
System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 2.18 GB / 64.00 GB
    Shell: 3.3.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.8.0 - /var/folders/rn/2kdgb0jj25q2v656j3qc_ywr0000gn/T/fnm_multishells/23841_1640400023703/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 7.21.0 - /var/folders/rn/2kdgb0jj25q2v656j3qc_ywr0000gn/T/fnm_multishells/23841_1640400023703/bin/npm
  Browsers:
    Chrome: 98.0.4758.80
    Safari: 15.2
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.17
    @sveltejs/kit: next => 1.0.0-next.260
    svelte: ^3.44.0 => 3.46.4

Severity
blocking all usage of SvelteKit
Additional Information
No response

This evening I took a quick look into this. All the files are being passed into emitDts, but it looks like TypeScript is only calling host.writeFile for some of them.
I think it might be related to $$Generic, though without a root cause I'm not entirely sure. The three files that did not have emitted types all had $$Generic, and when I changed one of the types away from $$Generic in one of those components, its definition file was now emitted correctly.

I remember svelte2tsx's emitDts() function would silently fail if there are type errors in one of the components. I'm not sure if it's fixed yet though, but it may be the cause of this issue.

Ahhhhhhh... I figured it out! At least, partially. There's an issue because these components use the svelte.JSX namespace, but the package command does not load the svelte-jsx.d.ts file where this is defined (but svelte-check and the language server do, so there's no error otherwise).
If I add a config.svelteJsxPath, similar to the existing config.svelteShimsPath, to emitDts here:
https://github.com/sveltejs/language-tools/blob/05024a657784be7a5b57665f4cb39f8b649718a1/packages/svelte2tsx/src/emitDts.ts#L74
and here in kit:
https://github.com/sveltejs/kit/blob/49c787086f1e9f75cdba618ba455be33fe073685/packages/kit/src/packaging/index.js#L316
then we do get .d.ts files for ComponentTwo and ComponentThree.
Making this change also fixes the issue I reported at the bottom of this comment: https://github.com/sveltejs/language-tools/issues/442#issuecomment-1033206304 which is blocking me from shipping a big improvement to the TypeScript support for svelte-headlessui. I've been bashing my head against this for a while so I'm glad to have figured out what's wrong.
Does this sound like a reasonable fix? Maybe the svelte-native-jsx.d.ts file should be added as well (?).
cc @dummdidumm

I have noticed the following:
All the following works:
type T = $$Generic;
type U = $$Generic<string>;

import type { TypeArbitrary } from './types.ts';
type V = $$Generic<TypeArbitrary >;

This does not work:
type TypeArbitrary = string;
type U = $$Generic<TypeArbitrary >;

It is as if defining a type used in a component as an extension of a generic type was not working.

Closing this as it is no longer reproducible


Creating indexes from the console with an empty DB crashes with "ns does not exist"

Context : starting a mongoid container/pod on kubernetes and trying to seed the database with
::Mongoid::Tasks::Database.create_indexes
# or rails db:create_indexes

I am not sure whether this is due to a Mongoid update or something else I am missing.
Backtrace
rails aborted!
Mongo::Error::OperationFailure: ns does not exist: my_db_production.mongoid_fulltext.index_collection_name_0 (26) (on mongodb.staging.svc.cluster.local, modern retry, attempt 1)
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/result.rb:343:in `raise_operation_failure'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/indexes/result.rb:86:in `validate!'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:29:in `block (3 levels) in validate_result'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:96:in `add_server_diagnostics'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:28:in `block (2 levels) in validate_result'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:43:in `add_error_labels'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:27:in `block in validate_result'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:82:in `unpin_maybe'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/response_handling.rb:26:in `validate_result'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/executable.rb:46:in `block in execute'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/executable.rb:45:in `tap'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/executable.rb:45:in `execute'
/usr/local/bundle/gems/mongo-2.14.0/lib/mongo/operation/shared/op_msg_or_list_indexes_command.rb:29:in `block

The faulty lines of code (School collection is empty)
School.all.each(&:save)
::School.create_indexes

same here

@Startouf did you found the solution?

No we haven't really found a solution yet. We just ensure there is something in the collection before running create_indexes.
For example, we had some mongoid migration code where we had to add return if MyCollection.empty? in the self.up method to avoid problems in test apps with an empty database

No we haven't really found a solution yet. We just ensure there is something in the collection before running create_indexes.
For example, we had some mongoid migration code where we had to add a guard clause return if MyCollection.empty? in the self.up method to avoid problems in test apps with an empty database

I just realised that starting from mongoid 4 there is a built-in full text search and you just need to create index:
index searchable_field: 'text'

then search: Model.text_search('query')


Cannot load model anymore

Hi,
I've just upgraded Keras/Theano to the last cutting edge versions.
Unfortunately, I cannot load my models anymore, I get this error:

Traceback (most recent call last):
File "Convolutional4.py", line 488, in
model = LoadModel("./Results/Model_4x1_Architecture.json", "./Results/Model_4x1_Weights.h5")
File "Convolutional4.py", line 209, in LoadModel
model = model_from_json(open(ModelArchitecturePath).read())
File "/eppec/storage/sw/conda/envs/tensorflow/lib/python2.7/site-packages/keras/models.py", line 30, in model_from_json
return layer_from_config(config, custom_objects=custom_objects)
File "/eppec/storage/sw/conda/envs/tensorflow/lib/python2.7/site-packages/keras/utils/layer_utils.py", line 24, in layer_from_config
class_name = config['class_name']
KeyError: 'class_name'

And here is the little:
def LoadModel(ModelArchitecturePath, ModelWeightsPath):
     model = model_from_json(open(ModelArchitecturePath).read())
	model.load_weights(ModelWeightsPath)
	return model
This code was perfectly working before, but since the last upgrade, it does not anymore.
My last upgrade was 5 weeks ago, so not such a long time.

The last update was a major version update (1.0) so it probably broke a few things.
One thing you could try is to recreate your model in the code from the ground up try loading your weights into that. As long as the basic architecture is the same it should work fine.

Thanks for your answer.
What do you mean by "recreate your model in the code from the ground up try loading your weights into that"?

Oh sorry I think I a few words there. Just write out the steps to build the same model you had before, like:
model = Sequential()
model.add(...)
model.load_weights(my_weights_file)

Same error here -
KeyError                                  Traceback (most recent call last)
<ipython-input-8-48bfb4120d6a> in <module>()
     34     modelPath = './SegmentationModels/'
     35     modelName = 'Arch_1_40'
---> 36     model = model_from_json(open(modelPath + modelName + '.json').read())
     37     model.compile(loss='categorical_crossentropy', optimizer=optim_sgd)
     38     model.load_weights(str(modelPath + 'weights.70-0.74.hdf5'))

/usr/local/lib/python2.7/dist-packages/keras/models.pyc in model_from_json(json_string, custom_objects)
     28     from keras.utils.layer_utils import layer_from_config
     29     config = json.loads(json_string)
---> 30     return layer_from_config(config, custom_objects=custom_objects)
     31
     32

/usr/local/lib/python2.7/dist-packages/keras/utils/layer_utils.pyc in layer_from_config(config, custom_objects)
     22         globals()[cls_key] = custom_objects[cls_key]
     23
---> 24     class_name = config['class_name']
     25
     26     if class_name == 'Sequential':

KeyError: 'class_name'

I have to recreate the model using the original code. Loading weights doesn't work either and when I try to retrain the model, it starts as if its doing it the first time. It doesn't continue the training process from where I left it the other day.

Thanks, I am going to test it, answer tomorrow.
But it seems that trane has an error doing it :-(

The json format of saved models has changed significantly (why?!). All my old models are broken too. The only way to fix this is to manually correct your old json. Save new model as json and see the difference in the format.

also the saved model does not include the optimizer and loss function anymore.
From to_yaml of pre 1.0:
loss: categorical_crossentropy
optimizer: {beta_1: 0.8999999761581421, beta_2: 0.9990000128746033, epsilon: 1.0e-08,
  lr: 0.0010000000474974513, name: Adam}

now the FAQs state that after model_from_yaml() you should call model.compile() manually so that users would need to save their loss and optimizer parameters elsewhere.
This makes the model save and load operation less self contained. I think most users would prefer if this could be reverted to the original pre 1.0 way.

I also have the problem that I cannot load my old json files, after updating keras. Is there already a fix for this? I really need to use my old files.

MartijnL,
Keras 1.0 sort of breaks the functionality of loading older JSON models,
since it changed the way models are exported as JSON. A simple fix is to
use the original code for generating your model, compile it, and load the
weights from your saved h5 file using load_weights().
As a side note, this issue is about not able yo train a loaded model,
instead of model load failure.
On Monday 2 May 2016, MartijnL<EMAIL_ADDRESS>wrote:

I also have the problem that I cannot load my old json files, after
updating keras. Is there already a fix for this? I really need to use my
old files.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/2386#issuecomment-216247601

Thanks for your quick reply. I will try your suggestion.
I was under the impression that my problem was actually the same as the problem in the first post, since I also used the same code to load my models and subsequently get the same error.
Anyway, I will see if it works by only loading the weights.

I also dit it to reconstruct my models:

Use the old json file to find back the model architecture.
Manually recreate the model
Compile it and save it in the new json format.
Load the new json format along the old weights.h5 file.


Develop

Coverage increased (+0.05%) to 81.94% when pulling a909900c04bb8aecf56d1ddc136250e61cf4d39a on develop into 287c2b3503ff136de62f2e5e877ee13fae92ebfb on qa.


[build] Update to latest revisions of upstream layers

Requires https://github.com/ros/meta-ros/pull/942 for gpsd upgrade from 3.23 to 3.23.1 in last meta-oe update
and https://github.com/ros/meta-ros/pull/936 for libeigen upgrade from 3.3.9 to 3.4.0


[BUG] open-images-v6 dataset exported as COCODetection  missing annotations

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.4
FiftyOne installed from (pip or source): pip
FiftyOne version (run fiftyone --version): 15.1
Python version: python 3.8.10

Describe the problem
I am using a dataset from open-images v6. I loaded the dataset and checked that it loaded with all annotations. I need that dataset if COCO format for the model I am running, so I exported the dataset. When I tried running the model, I got an error. I went back to the labels.json file and saw that the annotations were completely empty.
Code to reproduce issue
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "open-images-v6",
    classes = ["Raccoon", "Cat"],
    max_samples =2000,
    label_types = ['segmentations'],
    seed=51,
    shuffle=True,
    dataset_name="cat-raccoon",
    overwrite=True
)
dataset.persistent = True
dataset.save()

dataset.export(
    export_dir="/home/User/cat-raccoon/",
    dataset_type=fo.types.COCODetectionDataset,
     classes=["cat", "raccoon"],
)

What areas of FiftyOne does this bug affect?

[ ] App: FiftyOne application issue
[x] Core: Core fiftyone Python library issue
[ ] Server: Fiftyone server issue

Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?

[ ] Yes. I can contribute a fix for this bug independently.
[ ] Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community.
[x] No. I cannot contribute a bug fix at this time.

Per the first half of your example code, Open Images uses capitalized label names: Cat, Raccoon. So, in your export you need to use label_types=["Cat", "Raccoon"] to match.
In your code as written, since there are no objects with labels cat and raccoon, the exported labels are empty.
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "open-images-v6",
    split="validation",
    classes=["Raccoon", "Cat"],
    max_samples=20,
    label_types=["segmentations"],
)

# See what labels exist in the dataset
print(dataset.count_values("segmentations.detections.label"))

dataset.export(
    export_dir="/tmp/test1",
    dataset_type=fo.types.COCODetectionDataset,
    classes=["Cat", "Raccoon"],
)

dataset1 = fo.Dataset.from_dir(
    dataset_dir="/tmp/test1",
    dataset_type=fo.types.COCODetectionDataset,
    label_field="segmentations",
)

print(dataset1.count_values("segmentations.detections.label"))
# all labels present

Amazing, thanks!


Usage of checkpoint

I downloaded the pretrained model , ddf_add_resnet50.pth.tar and ddf_mul_resnet50.pth.tar.
ddf_model
├── ddf_add_resnet50.pth.tar
├──ddf_mul_resnet50.pth.tar
I use load_checkpoint like
create_model(
'ddf_mul_resnet50',
checkpoint_path='./ddf_mul_resnet50/ddf_mul_resnet50.pth.tar',
pretrained=True,
num_classes=None,
in_chans=3,
global_pool=None,
scriptable='torchscript')
but I get warning
No pretrained weights exist for this model. Using random initialization.
The warning exists even if I use load_checkpoint function like author.

Please check your downloaded files. You can use the following python code to print them:
import torch
model = torch.load('./ddf_mul_resnet50/ddf_mul_resnet50.pth.tar')
print(model)
If everything is fine, you will see the 'state dict' of the model. Otherwise, please redownload the file.


Failed to render: template: HorizontalPodAutoscaler.tmpl:3:86

Getting status of an HPA fails template rendering
❯ kubectl status hpa some-hpa --color never
HorizontalPodAutoscaler/some-hpa -n kube-system, created 8m ago last scale was
Failed to render: template: HorizontalPodAutoscaler.tmpl:3:86: executing "HorizontalPodAutoscaler" at <colorAgo>: invalid value; expected string

Do you mind providing the full get -o yaml output of the hpa?


Produce binaries for more OS/arch pairs

Currently it's implicitly only Linux x86_64 and macOS x86_64.
Tangentially related: #99

Short of cross compilation, which'd be ideal, we should be able to build macOS AArch64 on GitHub's CI later this year: https://github.com/github/roadmap/issues/528

Until this is solved we should start specifying the x86_64 arch on the produced binary names.

May also consider manually attaching compiled macOS AArch64 builds for the time being given the performance implications.


How to fill the bottom gap with mesh using vedo library..?

Respected @marcomusy,
It was great to work with vedo I found the expected output and desirable results for meshing by using the vedo method ...
Thank you so much for the awesome library...
Just I want one help i.e fill the gap if is it possible to fill with the mesh by using vedo meshing.
I have attached the ply file and image (the gap in the mesh which I want to fill (marked with the red color))
Any leads will be appreciated.
Thanks in advance
img_link
ply file

Thanks for using vedo.
Unfortunately I cannot see any easy solution to this as the problem itself is not well defined (how is the line drawn exactly).
I would try to add more points using points near the edges of the shape

Thanks for using vedo.
Unfortunately I cannot see any easy solution to this as the problem itself is not well defined (how is the line drawn exactly).
I would try to add more points using points near the edges of the shape

The line drawn using paint for your understanding the exact which gap I want to fill using the meshing....can please provide any solution to add more points using near edges or meshing in that red marked part which is drawn

I understand that you you have drawn the line manually on the imaga... my question was how would you define this line in world-coordinate system.
One possibility you can explore is to create a ribbon-like  strip by using the lower boundary line  and projecting it on the zx plane. To to it you can use Ribbon() https://vedo.embl.es/autodocs/content/vedo/shapes.html#ribbon
and then merge() with the original mesh.

I understand that you you have drawn the line manually on the image... my question was how would you define this line in world-coordinate system.
One possibility you can explore is to create a ribbon-like strip by using the lower boundary line and projecting it on the zx plane. To to it you can use Ribbon() https://vedo.embl.es/autodocs/content/vedo/shapes.html#ribbon
and then merge() with the original mesh.

Thanks for the reply @marcomusy ....but just can you please me help out to create the ribbon strip using the lower boundary line ...bcoz I do not have much idea about the ribbon in vedo mesh...
can you give example by doing it .....
Any leads will be appreciated...
Thanks in advance....

These are two examples from which you can start:
examples/basic/ribbon.py
examples/advanced/contours2mesh.py

These are two examples from which you can start:
examples/basic/ribbon.py
examples/advanced/contours2mesh.py

Yup thanks but I quite it is not getting to me...can you please show me how to draw a lower boundary area...using ribbon strip and merge then....

Is there is any possible solution....?
Thanks in advance...
On Thu, 8 Apr 2021 at 16:33, Marco Musy @.***> wrote:

These are two examples from which you can start:
examples/basic/ribbon.py
examples/advanced/contours2mesh.py
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/marcomusy/vedo/issues/362#issuecomment-815668668, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANG4AR4PNSWBVTPGNRWYBTTTHWEONANCNFSM42QXJD2Q
.

You need to make a honest attempt at solving the problem before asking for help.
You need to define 2 lines: one is the lower boundary of the mesh (use e.g. mesh.boundary() and cutWithPlane())
the other is some projection of this line onto the zx plane.
Once you have these 2 lines you make the Ribbon mesh and merge() with the original.
NB: I dont know at all if this will work .. you need to try  it out.

You need to make a honest attempt at solving the problem before asking for help.
You need to define 2 lines: one is the lower boundary of the mesh (use e.g. mesh.boundary() and cutWithPlane())
the other is some projection of this line onto the zx plane.
Once you have these 2 lines you make the Ribbon mesh and merge() with the original.
NB: I dont know at all if this will work .. you need to try it out.

Thanks for the help @marcomusy  thanks its means a lot


HIVE-25446: Wrong execption thrown if capacity<=0

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@sankarh @adesh-rao @zabetak could you guys please review the PR?


chore: Add standard

This PR adds standard and fixes some basic linting problems. All of the tests still fail, because there are no tests.

Thanks @RichardLitt! ❤ Looks good to me.


[Bug] Issue with python 3.12 support

I'm using the devcontainer mcr.microsoft.com/vscode/devcontainers/python:3.12-bullseye as an environment.
If I try to install the latest verson of uuid-utils it fails:
vscode ➜ /dev (master) $ pip install uuid-utils
Defaulting to user installation because normal site-packages is not writeable
Collecting uuid-utils
  Downloading uuid_utils-0.4.0.tar.gz (15 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Checking for Rust toolchain....

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

It works if you change the devcontainer to python:3.11-bullseye

I need to do a release to publish 3.12 wheels, apparently it's trying to download the Downloading uuid_utils-0.4.0.tar.gz  and build it locally, but again complains that:
Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

I think the case is that if you switch to 3.11 it's not downloading the tar file but instead getting the wheel so you don't need Cargo.

This is done now.

@aminalaee
I'm having the same issue with the new version again:

Collecting uuid_utils==0.5.0 (from -r requirements-dev.txt (line 18))
  Downloading uuid_utils-0.5.0.tar.gz (15 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Checking for Rust toolchain....

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I think you should probably check here: https://pypi.org/project/uuid-utils/0.5.0/#files
As your OS might not be one of those which has 3.12 wheel ready.

@aminalaee
Could you please explain on what the "wheel readiness" depends?
Because the OS used in the devcontainer had no problems with python 3.11 and I see wheels called manylinux for python 3.11 but not for 3.12 😕
Anyway: Keep up the great work, thanks for everything what you did so far!

@aminalaee https://github.com/pypa/manylinux/issues/1484 added support for CPython 3.12.
Could you please add the wheels for the missing distros?

I'm running into this error myself as well, but also thank you for putting this together library.

Seems like Python 3.12 is still not available, there might be an issue with maturin-action project:
https://github.com/aminalaee/uuid-utils/pull/36

Yeah that makes sense, maturin was what was causing my build to fail last night. That being said, I noticed the maturin version it was trying to download was 0.14.17, which seems weird to be such an old version since newest maturin is version 1.3. Tho it is specified as such in the pyproject.toml ([build-system] requires = ["maturin>=0.14,<0.15"]). Is it possible it's just a maturin version issue?

Thanks for the commits!
That pretty well solved it. Then I just had to do 1 more thing to be able to install successfully, which was enable access to the unstable features of the rust uuid crate (it was giving me errors it couldnt access these features), so I solved this by setting the following environment variable:
export RUSTFLAGS="--cfg uuid_unstable"
Your commits and then setting that environment variable has enabled me to get uuid_utils to install correctly, so thanks again!

I will do a release today so the wheels will be available and you won’t need to build locally.

This should be fixed in 0.6.0 release.

Did I miss something?
Collecting uuid_utils==0.6.0 (from -r requirements-dev.txt (line 18))
  Downloading uuid_utils-0.6.0.tar.gz (16 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Checking for Rust toolchain....

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@aminalaee
Did I miss something?
Collecting uuid_utils==0.6.0 (from -r requirements-dev.txt (line 18))
  Downloading uuid_utils-0.6.0.tar.gz (16 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Checking for Rust toolchain....

      Cargo, the Rust package manager, is not installed or is not on PATH.
      This package requires Rust and Cargo to compile extensions. Install it through
      the system's package manager or via https://rustup.rs/

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

what OS is that? they have all the wheels for Python 3.12 now.

The environment is the devcontainer mcr.microsoft.com/vscode/devcontainers/python:3.12-bullseye (or python3.11 respectively).
The OS is Debian Bullseye. Version 0.5.0 worked fine for python 3.11 but 0.60 does not.

Thank you for flagging this, the wheels were not uploaded completely.
I have confirmed the fix works for Python 3.12, just bump to 0.6.1


Add ESMT Nand support

Add ESMT Nand support, required for ex227/ex447
Signed-off-by: Chaitanya Godavarthi<EMAIL_ADDRESS>

the patch has formatting issues

I have combined this patch in a different PR.


add a "keep the faith section" to the DO section to set expectations

I think it might be worth having a section at the end of the DO portion that explains that actions taken right will not immediately affect/turn the numbers.  Essentially, due to the increasing availability of testing, combined with the incubation period, we are looking at light from a distant star.  What we are seeing today is due to what happened X days ago.  This change was inspired by questions from coworkers and loved ones that centered about why Italy's numbers are still increasing exponentially in spite of the recent measures taken.  I'd be happy to draft a pull request that covers this with appropriate references (testing rate increases and incubation period), but I wanted to see if the primary content managers are open to it.

hmm this resonates with me but I need another +1 to merge the idea, thank you @natecostello !

I'll write something up and give a pull request for consideration.


Update link

"Azure App Service Deployment Credentials" should point here:
https://docs.microsoft.com/en-us/azure/app-service/app-service-deployment-credentials
I tried to edit but it won't let me submit a PR.

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

ID: 1506c34e-352d-15f6-73ea-3dbf8ce31b3c
Version Independent ID: cb469cf8-43e5-09fe-6b8e-ee714cf2f7cc
Content: Deploy your app to Azure App Service using FTP/S
Content Source: articles/app-service/app-service-deploy-ftp.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin;dariac

@dcbrown16  Thanks for the feedback! We are currently investigating and will update you shortly.

@AnilKongariMSFT Can I work on this?

@arshadkazmi42, thank you working and providing the fix on this issue.
@dcbrown16, since the fix will be rolled/applied, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@AnilKongariMSFT @arshadkazmi42
The link does not appear to work yet, are we still waiting for an update?
Also, in a previous interaction on these docs I was told to link in the following, form, not the full URL as indicated in Arshad's PR.
app-service-deployment-credentials.md
Please take another look, thanks!


Helm upgrade fails with ManagedCerts from networking.gke.io/v1beta1

Output of helm version:
version.BuildInfo{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-19T22:12:47Z", GoVersion:"go1.12.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.8-gke.10", GitCommit:"f53039cc1e5295eed20969a4f10fb6ad99461e37", GitTreeState:"clean", BuildDate:"2019-06-19T20:48:40Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):  GKE

The Issue

When installing a chart which contains a manifest template for a ManagedCertificate for a Google Load balancer on GKE, everything works perfectly.
If I attempt to run helm upgrade against the same chart with the exact same values it will fail with the following error message...

Error: UPGRADE FAILED: unable to decode "": no kind "ManagedCertificate" is registered for version "networking.gke.io/v1beta1" in scheme "k8s.io/client-go/kubernetes/scheme/register.go:65"

We seem to have the same issue when using Helm 3 with OpenShift and their CRD for "DeploymentConfig", "Route" and other OpenShift resources.
The error only occures when an existing installation is being upgraded:
Error: UPGRADE FAILED: [unable to decode "": no kind "DeploymentConfig" is registered for version "apps.openshift.io/v1" in scheme "k8s.io/client-go/kubernetes/scheme/register.go:65",

We don't know if it is related, but in the same error we also get additional ValidationErrors, where Helm seems to have issues validation some optional fields in the custom resource definitions of OpenShift Routes:
error validating "": error validating data: [ValidationError(Route.spec): missing required field "host" in com.github.openshift.api.route.v1.RouteSpec, ValidationError(Route): missing required field "status" in com.github.openshift.api.route.v1.Route]]
helm.go:76: [debug] [unable to decode "": no kind "DeploymentConfig" is registered for version "apps.openshift.io/v1" in scheme "k8s.io/client-go/kubernetes/scheme/register.go:65", error validating "": error validating data: [ValidationError(Route.spec): missing required field "host" in com.github.openshift.api.route.v1.RouteSpec, ValidationError(Route): missing required field "status" in com.github.openshift.api.route.v1.Route]]
helm.sh/helm/pkg/kube.scrubValidationError
        /go/src/helm.sh/helm/pkg/kube/client.go:486
helm.sh/helm/pkg/kube.(*Client).Build
        /go/src/helm.sh/helm/pkg/kube/client.go:145
helm.sh/helm/pkg/action.validateManifest
        /go/src/helm.sh/helm/pkg/action/upgrade.go:333

Is there an issue with the registration of the schemas of custom resources?
(Does a user need certain permissions for Helms discovery mechanism to find all API resources/schemas of the Kubernetes API server?)
Are optional fields handled properly?

I can confirm the comment of @nApucco
We are facing the same issues with OpenShift Resources DeploymentConfig and Route.
helm3 version: version.BuildInfo{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}
OpenShift:
openshift v3.9.68
kubernetes v1.9.1+a0ce1bc657

We are facing the same issue with Istio VirtualService CRD.
Error: UPGRADE FAILED: unable to decode "": no kind "VirtualService" is registered for version "networking.istio.io/v1alpha3" in scheme "k8s.io/client-go/kubernetes/scheme/register.go:65"
Helm version: version.BuildInfo{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}
Gke version: v1.13.7-gke.8

I tried with beta v1 and it solves my problems too.
version.BuildInfo{Version:"v3.0.0-beta.1", GitCommit:"f76b5f21adb53a85de8925f4a9d4f9bd99f185b5", GitTreeState:"clean", GoVersion:"go1.12.9"}

Closing following confirmation in https://github.com/helm/helm/issues/6123#issuecomment-525563269 and https://github.com/helm/helm/issues/6123#issuecomment-525593936. Thanks @ento and @bakito. We can re-open the issue if need be.


License?

Hi Gennady,
I didn't find information about a license of your code.
Can I use, modify and distribute backdoc?
Thanks in advance,
Konstantin

Hi Konstantin. I've added license info https://github.com/chibisov/backdoc/blob/master/LICENSE
You can what you want.

Thanks.


prepare release 4.6.0

Overview
This PR prepares the release 4.6.0.
Related Issue / Discussion
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

@Zeitsperre @tomkralidis when accepted I will make a new release 4.6.0

coverage: 84.061%. remained the same when pulling 46f9bd61a73c450f83b1fc6227ad0a360e4c6930 on cehbrecht:prepare-release-4.6.2_2nd-try into 53b0c81c25629995bb156a4e08582317fe2f9e7b on geopython:main.

Hey @cehbrecht! Sorry for the late response (was on a mini-vacation). I will give this a look in the next few hours!


Access Control for Discoverable Applications in User-Portal

Is your feature request related to a problem? Please describe.
In the latest milestone of IS 5.11.0, all the applications that are configured to be discovered are show to all users logging into the user-portal. There is no way of restricting the discoverability of the applications, based on the coarse-grained entitlements of the user.
Describe the solution you would prefer
Show applications the user is entitled to access based on his/her coarse-grained entitlements.
Additional context
Related feature: #6794

Any progress or workaround with this?


Add a web service for caret2sql

caret2sql is now prototyped using a local (evolving) version of the web service (https://github.com/antoinecarme/sklearn2sql_heroku).
The public web service can be updated to also include caret models (update web service name ?)
Deliverables :
Create a issue for sklearn2sql_heroku to include caret models, SQL generation and the necessary tests, sample R script etc
This work can be done as soon as possible to demonstrate the already implemented stuff in the issue #2

Sample R client using httr library for connecting to the web service. The model is serialized and sent, the result content contains the SQL code for deploying the model :
library(caret, quiet = TRUE)
library(base64enc)
library(httr, quiet = TRUE)

## multiclass classification on iris dataset:

dataset = as.matrix(iris[, -5])

model = train(Species ~ ., data = iris, method = "xgbTree")

WS_URL = "http://c:1888/model"

model_serialized <- serialize(model, NULL)
b64_data = base64encode(model_serialized)

data = list(Name = "xgboost_test_model", SerializedModel = b64_data ,
               SQLDialect = "postgresql" , Mode="caret")

r = POST(WS_URL, body = data, encode = "json")
content = content(r)

lSQL = content$model$SQLGenrationResult[[1]]$SQL

cat(lSQL);

This is just an improvement of the existing sklearn2sql service. We added a new mode for activating caret support.
Otherwise, it is a almost proxy between scikit-learn and caret models  (builds python models internally).


delete everything and leave a README that points to the new location

Why are we removing it from github? Open source software is able to be on Github and its where the rest of our OSS is.

Can you please remove me from the distribution list. I stopped working on Mixer a couple years ago.
Thank you
From: ProbablePrime<EMAIL_ADDRESS>Sent: Thursday, September 26, 2019 4:42 PM
To: mixer/ftl-sdk<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [mixer/ftl-sdk] delete everything and leave a README that points to the new location (#85)
Why are we removing it from github? Open source software is able to be on Github and its where the rest of our OSS is.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mixer/ftl-sdk/pull/85?email_source=notifications&email_token=AAPPD4NUDPWOSVVFOEVQBGLQLVCD7A5CNFSM4I272QQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7XIG5I#issuecomment-535724917 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAPPD4LTLWSQB52E5ZZ5WF3QLVCD7ANCNFSM4I272QQA .  https://github.com/notifications/beacon/AAPPD4NBMKAEN3PZHB2K2GTQLVCD7A5CNFSM4I272QQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7XIG5I.gif

@CompassRose you need to unsubscribe from this repository yourself.


Lockscreen animation disabled on Note 3

The lockscreen animation is disabled on Note 3 (watercolor and ripple). However, the unlocking sound effect remains.

Sounds like some debug logging could be useful in order to determine what classes come into play in your situation.


make a new discord

we need a new discord

I guess its a virus dude......

I guess its a virus dude......

bro are you braindead

I got banned on discord like 10 times because of making pysilon community servers. Try creating a new server named pysilon, wait a bit and enjoy your ban

name it pystyilon community then no ban


Use OpenEx when available with visOpenCopy and visOpenRO flags

Using OpenEx with visOpenCopy and visOpenRO flags allows visio2img to open
a vsd even if another visio instance has the file already opened.

Coverage decreased (-2.7%) to 56.075% when pulling dfba61137a76addd4d85cf864505222a66737d8c on agaer:open_copy into 02b403eefcd4764ec41a38136677eb32b604c801 on visio2img:master.

Thank you for contribution!


Add ellipsis and overflow to repo cards titles

Hi, here is quick fix for too long repo cards titles.

Could you add a little screenshot to the PR so that I can see how it looks?

@rgehan here

Thank you, that works very well!


AccessTokenExpired event should trigger a silentRenew in case of code pkce/refresh_token flow

Hi,
Setup: We are using a code flow with pkce which puts refresh_tokens directly in the front-end.
Using this setup oidc-client-js will attempt to get a new access_token based on the current refresh_token as soon as the access_token is about to expire.
However, oidc-client-js does NOT perform this same action if the access_token has already expired.
This means that if a user is unable to refresh the access_token in time and then connects to the internet again oidc-client-js will not attempt to refresh the current session (even after a page refresh) which results in an expired access_token remaining in storage until somehow a manual "login" trigger is called from somewhere else.
This seems to defeat to purpose of using code flow with pkce and the refresh_tokens it provides which should have a very long lifetime.
To work around this problem for now I have implemented the following code during startup which adds a function that calls signinSilent on the "AccessTokenExpired" event. This triggers the refresh_token refresh mechanism and establishes a "new" session. This allows us to re-establish the session after a page refresh.
userManager.events.addAccessTokenExpired(() => userManager.signinSilent);

Do you have any plans to add support for something similar in the library itself? To summarize: I would like to see the UserManager try to refresh an access_token (with the current valid refresh_token) after it expired instead of only during the "expiring" duration.
Above approach does not re-establish a session automatically when the internet connection comes back online but I believe that might be out of scope for this library.
Please let me know what you think of this suggestion, if you have any questions regarding our set-up or use case feel free to ask.
Thanks,
Elias

I see what you're saying. Given that that event didn't previously do that and the library didn't used to support refresh tokens, I think automatically adding this would be a breaking change (at least semantically).

another option is a method that gets a new token if the current is expired, refreshing it case of expired. while the refresh token is valid there no problem to get a new access token, the problem is if the refresh token expires to, not sure if we need to try automatically renew the refresh token in case of app inactivity the could do the lifetime extend based on activity


give cat rain more random spawn times

random.randint(1, 2) outputs either 1 or 2
random.uniform(1, 2) outputs any float between 1 and 2

eh, im honestly fine with just making it hard 1

but yeah hard 1 is easier


Update egg to version 0.5

This release, authored entirely by @mwillsey, upgrades Egg to the new 0.5 version. Egg 0.5 is faster, simpler, and introduces new features, like the backoff scheduler, that should improve simplification quality.

Note that this PR closes #1.


update maps sdk to latest beta

This PR updates the plugin repo to the latest beta of the maps sdk.

The instrument test needs to also be updated before CI will pass.


Enable history purging when not using mysql

Version of Singularity:
Singularity 0.16.2 and 0.14.1
Expected behavior
The expected behavior is for singularity to not time out and restart - which restarts all running tasks.
Actual behavior
java.lang.IllegalStateException: Timed out waiting response - singularity restarts, and restarts all running tasks (bad for business).
Steps to reproduce behavior
Introduce a heavy load (lots active requests/tasks - like 10,000 active requests and over 50 active tasks.
Other helpful info and things we've tried to do. Please provide specifics to using a DB to manage history (for purging).
Found this in the logs - this happens consistently every thirty minutes:
java.lang.IllegalStateException: Timed out waiting response for objects from /tasks/history, waited 5000 millis
This can be caused by a large amount of request or task history, a heavy task load in singularity, or problems with zookeeper.
Updating singularity.yaml in a custom docker image can help (Audience Modeling is doing this). There are several parameters to consider here: https://github.com/HubSpot/Singularity/blob/master/Docs/reference/configuration.md#history-purging
Or this configuration in singularity.yaml:
historyPurging:
enabled: true
deleteTaskHistoryAfterDays: 7
Other parameters to consider besides deleteTaskHistoryAfterDays:
deleteTaskHistoryAfterTasksPerRequest  (by record count)
checkTaskHistoryEveryHours
The other option is to spread out the load/requests in Singularity.
Lastly, cleaning up the singularity state/app/scheduled tasks is another option (manually through the zookeeper UI (aka exhibitor). Though in my experience this has limited success with this sort of issue.
stderr shows ! java.lang.IllegalStateException: Timed out waiting response for objects from /racks, waited 5000 millis
it was happening because they were submitting lots of simultaneous tasks and each of them had lots of task history which singularity fetches
AMD team should try to throttle task scheduling from their end because there is no 'fix' for singularity other than deleting all task history. There are parameters we can put into singularity.yaml to clear history at a certain threshold.
AMD team are running tasks allocated 280+GB of memory
i think part of the issue here is that they have 8055 'requests' marked 'active' every time a new 'task' runs, singularity queries all of that history.
Tried to manage this with the following entry in singularity.yaml:
historyPurging:
enabled: true
deleteTaskHistoryAfterDays: 7
and
deleteTaskHistoryAfterTasksPerRequest: 2000
Do these parameters require the use of a DB to be effective???

Relized we do have a configuration setting for this in deleteTasksFromZkWhenNoDatabaseAfterHours, which should run the history purger on zk. Closing this one


tools: c_rehash - stable hash symlink output needed

an output of the utility c_rehash depends on the order the readdir
function returns filenames. The order can vary depending on dir-entry
order in the file-system. The different order can be annoying in the case of
version control of CA store (/etc/ssl/certs) or in the case of syncing nodes of
cluster.
The sorting the file-list ensure deterministic output of c_rehash.
BTS: #766214
Signed-off-by: Sebastian Andrzej Siewior<EMAIL_ADDRESS>

why is this needed?  The HASH of the contents determines the new name ...

He (the author of the patch/BTS) was saying the "output" of the utility and I assumed he is calling it with -v and parsing its output. Let me try to get him here to respond.

He could also sort the parsed result...

Hi,
thanks for attention to this problem, I was a bit unclear...
When two or more certificates has the same subject, than the hash is identical
and must be distinguished by suffix dot and the sequence number. And this
suffix is exactly the reason for deterministic input order, because this
determines the suffix of hash.
When content of the directory with certificates change (added one file for
example), the b-tree or what is the internal structure for this directory can
shuffle the order and this can result in suffix change for some hashes.
There is directory /etc/ssl/certs/ in Debian and admins use etckeeper to track
changes and it is annoying to have a superfluous number of changed sym-links.
So please - keep the same order of filenames (using sort or so) and the seq.
numbers for hashes will be the same (until there will be change in cert with
the same hash of course).
Real example:
zito@bobek:/etc/ssl/certs$ for x in  .1; do ls -l ${x%%1}; done
lrwxrwxrwx 1 root root 38 Dec 21 20:06 33815e15.0 -> StartCom_Certification_Authority_2.pem
lrwxrwxrwx 1 root root 36 Dec 21 20:06 33815e15.1 -> StartCom_Certification_Authority.pem
lrwxrwxrwx 1 root root 59 Dec 21 20:06 415660c1.0 -> Verisign_Class_3_Public_Primary_Certification_Authority.pem
lrwxrwxrwx 1 root root 61 Dec 21 20:06 415660c1.1 -> Verisign_Class_3_Public_Primary_Certification_Authority_2.pem
lrwxrwxrwx 1 root root 59 Dec 21 20:06 7651b327.0 -> Verisign_Class_3_Public_Primary_Certification_Authority.pem
lrwxrwxrwx 1 root root 61 Dec 21 20:06 7651b327.1 -> Verisign_Class_3_Public_Primary_Certification_Authority_2.pem
lrwxrwxrwx 1 root root 38 Dec 21 20:06 ae8153b9.0 -> StartCom_Certification_Authority_2.pem
lrwxrwxrwx 1 root root 36 Dec 21 20:06 ae8153b9.1 -> StartCom_Certification_Authority.pem
Whithout deterministic order of certificate is not clear if
33815e15.0 will be
StartCom_Certification_Authority_2.pem or StartCom_Certification_Authority.pem
Sorry for my English, hope this is a better description.
Best Regards
Zito

Ah, that explanation does make sense.

+1

Have to do apps/rehash.c, too.  Which will be a bit trickier.

True

Please see https://github.com/openssl/openssl/pull/1127 instead.


[BUG]

Bug Description:
As described here:
https://github.com/WeaverFi/weaverfi/commit/c28312d6d4a1bdd840f0a231f46f18ed3a9969c8#commitcomment-89006513
Reproduction Steps:

Query your empty balance of a token with the weaverfi RPCs
Acquire a balance of a said token
Query your balance of that token with the weaverfi RPCs

Expected Behavior:
All responses should return your token balance within a reasonable time frame (a few minutes at most). (Ankr seems to have longer response cache times than other RPCs which can cause issues on front-ends using weaverfi to query user balances as a part of feature-gating)

I've gone ahead and changed the order of the RPCs being used on Optimism on c96074a
The cache time on Ankr public RPCs really does seem to be an issue - reluctantly I've left them as last option on most chains in case all others fail.
In any case, for dapps specifically using an RPC for feature-gating right after a transaction for example, I imagine most will use the RPC and provider from the connected wallet instead of a public one from the SDK (as I should be doing in all cases, whoops...).
I do think the ability to use custom RPCs throughout the SDK would be a valuable addition, however.


Microsoft Teams - skip conversation reference re-creation

no longer re-create the conversation reference, by default, if a member already has one stored

Checks out
I think we don't have to manually bump the version, FYI, if we just add a tag to the PR of MINOR

@MichaelRyanWebber yeah I thought so too (do we even need to tag? i think lerna might notice the change) but I didn't want to risk the back and forth this time so it was an extra precaution

:rocket: PR was released in<EMAIL_ADDRESS>:rocket:


SS COLOURING SYSTEM

Is it broken?
Cos I keep getting this:
§0§0§1§e§fWelcome to...
=[?]0[?]0[?]1[?]e[?]fWelcome to... In-GAME <--

It is not broken, you're file is probably just not utf-8 encoded.
also, stop shouting.

I'm using a mac, so unless there is some sort of mac UTF-8 encoding error... I don't thats the problem...

TextEdit sometimes messes up the encoding so make sure to save as UTF8.


Refactor searchable

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Searchable was used in a way that isn't statically analyzable, specifically where it was being dynamically extended in Search. There also wasn't a clear separation of concerns between the two modules, so I've merged them, updated call sites, and enabled typing.

Review period will end on 2023-03-08 at 17:17:04 UTC.

Review period skipped due to critical label.


Object inspector (Cmd-I) and instant help (arguments) don't work in Editor, but work in Console

Description
What steps will reproduce the problem?

Help function (e.g. after typing "print(") that shows the arguments doesn't work if typed in the Editor window, but it works fine in the Console window (shows all the arguments for "print" in this case)
Same to the help information if Cmd-I is pressed (on MacOS) - works fine in the Console, but not in the Editor

Please help to solve this issue as I have no idea what could be wrong there, thanks.
Version and main components

Spyder Version: 3.2.3
Python Version: 3.6.1
Qt Versions: 5.6.2, PyQt5 5.6 on Darwin

Dependencies
IPython >=4.0    :  5.3.0 (OK)
cython >=0.21    :  0.25.2 (OK)
jedi >=0.9.0     :  0.11.0 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.13.1 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
psutil >=0.3     :  5.2.2 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.4 (OK)
sympy >=0.7.3    :  1.0 (OK)

Update: the only workaround and temporary solution I found is to downgrade Spyder to 3.1.3. Any newer version other than that results in the same misbehaviour.
I am using Spyder installed through Anaconda Navigator.

Hi @CoderCoderCoder maybe #5393 is related with your issue?

@CoderCoderCoder this is caused because Jedi 0.11 is not compatible with Spyder 3.2.3. This will be fixed in Spyder 3.2.4.

Thanks for your reply, but interestingly this issue is not solved if Jedi 0.9.0 is installed. This is what I tried as well (same to Rope). I used for both the min requirements, and still any newer version than 3.1.3 showed the same misbehaviour. So truly hope all these issues will be solved in 3.2.4 regardless of the used Jedi + Rope versions.

I experienced similar problem. Interestingly, changing spyder/utils/help/conf.py seems to solve the problem:
#html_use_smartypants = False  # I commented out this
smart_quotes=False  # and added that

I run on jedi 0.10.2, will test for jedi 0.11 later.

Having the same issue from the latest anaconda package
Anaconda Navigator = 1.8.7
Spyder = 3.2.6
Python = 3.6.4
Can someone help?


Golang better error handling

We need to handle golang errors better than just system panic for everything. Most will not be recoverable errors, but we should still allow the client to gracefully handle it.

[ ] Okapi
[ ] Services

https://github.com/trinsic-id/okapi/pull/168


opae: bump revision to 2.10.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.348%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
15754

Relevant Lines:
23392

💛  - Coveralls


straintool

In DSOlab-StrainTool-e1d4f4f tool version 1.0
the gmt script for extracting dextral sinistral shear strain is given as below:
"# plot strain rates
awk 'NR > 2 {print $2,$1,$19,0,$21-45+90}' $pth2strinfo
| gmt psvelo  -Jm $range -Sx${STRSC} -L -A.1p+e -Gred -W1.5p,red
-O -K -V${VRBLEVM} >> $outfile

according to the above command, it is used to extract data of dextral component in this version of tool but in recent version '1.0-r1' this command is looks like this:
"# plot strain rates

dextral
awk 'NR > 2 {print $2,$1,0,$19,$21-45+90}' $pth2strinfo
| gmt psvelo  -Jm $range -Sx${STRSC} -L -A.1p+e -Gred -W1.5p,red
-O -K -V${VRBLEVM} >> $outfile
both AWK command are different. please clarify the changes made in this command so we can use corrected command,

recent version '1.0-r1'  is the correct command.
For the command psvelo and switch Sx azimuth refers to the second  axe.
Checkout the GMT tutorial gmt-psvelo