Basic block type colission inconsistent?

The basic block type colission is inconsistent?
You can fall through some times.

Nvm, copy paste error, the blocks where still auto blocks, all is well.


load_plugin at init

actually this is solution even worse as it opens a connection even when notify=False. Closing


Adding retrieve specific fields docs

Description
Adding documentation for Retrieval of specific fields
Issues Resolved
Part of https://github.com/opensearch-project/documentation-website/issues/4785
Version
all
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@rishabhmaurya , can you please do a tech review? Thank you.

@AntonEliatra Could you also add this and the search shard routing to the table in the index page for searching data? https://opensearch.org/docs/latest/search-plugins/searching-data/index/


International Telephone Input in Angular Material

Hai !!
Please advice how should  implement  International Telephone Input i.e Telephone Number with country code flag select  in Angular Material .
angular 4:demo
https://intl-tel-input.com/.
Thanks&Regards,
Prakash

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
(this is a canned response)


As an OHS admin I can export records to csv files

... so that I can easily create mailing lists or send relevant data to other admin.

Closing, not within any milestone.


More CRF-SEARCH logic questions

Hi,
This is not a bug, and it may be a good reason for why it works this way, but my question.
You have a file, run a vmaf search, it always starts on CRF 32 which is fine, if its lower or higher it always goes down to 21 or up to 40ish something.
Lets say you then have a vmaf target of min 95, and it hits 94.89 on 21, why does it jump all the way down to 10 again, just to do another pass at 20.
Isn't the 10, or actually 11 drops enough to establish that VMAF score is aprox 0.25 pr CRF "point" on this particular source? So when going 32-21 it should have been able to figure out the baseline and the next try should have been 20 and not skip all the way down to 10, for then do jump to 20 again?
When doing gpu encodes this dosnt take much time, but when doing cpu encoding it seems to be alot wasted time and and power resources going into this when useing low presets. and atleast from a "novice" view seems it goes thru more steps than it needs.

Yes I agree to some extent. The interpolated binary search needs 2 points to work. The search starts with the min/max mid point crf. After that we need a 2nd bound, we could just go straight to the min/max crf instead we go half way this is a guess based on some initial experiments with svt-av1 back at the start of the project.
crf/vmaf relationship is not linear, so the linear interpolated binary search is not exact. Searches I was doing would generally be in the middle 50% of the range so this logic would improve search speed. However, in the case you need, e.g. below crf 21, this step probably slows down the search.
It is an interesting idea to interpolate down using 32 & 21 -> x (in [10,20]). I guess the problem could be when interpolation is a poor fit this could result in very poor searches (e.g. 20,19,18...,10 fail). However, this may be worth trying.
Another options is to just remove the "middle 50%" guess, e.g. for default settings go 32 then 10 then interpolated binary search. Or make it configurable. I'd like to confirm this guess is actually helping too as I haven't done such analysis for some time.

In https://github.com/alexheretic/ab-av1/issues/227 I noted that the "middle 50%" guess also falls down once users start setting their own min/max crf ranges.
I think having a configurable crf-search strategy makes sense. The first two options could be

Middle then min/max then interpolated binary search. (This should probably be the default if you change the min or max crf)
Current default: "middle 50%" optimised version of above.

We could also, or alternatively, generalise the "middle 50%" idea. So you could configure a crf range hint that you think will be right. E.g. the default could be the current middle 50% / [21, 43] range that should get faster search results with the downside being slower searches for crfs outside that range (but they'll still be found).

I will just leave here the link to my latest reply from #227, for any possible manifested interest.

Not sure i understand what the "middle 50%" guess" is here. Is it that you assume most svt-av1 to get vmaf 95 is between 21-32 CRF? From my experience its not, you get some lucky once in the middle, but often with av1 and svt i feel it is in one end or the other. One ep in the low 10's (11-16) and next one is usually good in its 30+, and its the rare cases in the middle :D

Not sure i understand what the "middle 50%" guess" is here. Is it that you assume most svt-av1 to get vmaf 95 is between 21-32 CRF?

"middle 50%" means 21-43.
There other aspect is making two iterations this way cuts the crf range down to a quarter before then using linear interpolation. I think this is important too generally as linear interpolation falls down when used in larger ranges.
#234 tweaks the tradeoffs but not fundamentally. If your manually picking a small crf range the 2nd iteration binary cut makes less sense + widening the cut a little accounts for the benefit of the right crf being in the "middle".


Lookup release name correctly. Fixes #1880.

getrelease.sh now looks up release name after the URI of one of the types
specified in the man page.
Fixes #1880

Noticed variable name choice right after committing.
But I think it doesn't matter if it is only effective in awk

Thanks, although I think this could be way simpler.  All mirror text will have :// in them, and I'm pretty sure that won't appear anywhere else in the line.  So something like this should work:
sed -n 's|^deb .*://[^ ]* \([^ ]*\) main\( .*\)\?$|\1|p' "$sources" "$sources.d"/*.list | head -n 1

Oh that's a good idea. Updated.
I've been playing regex for only a while so I spent some time understand it and it works.


Install-DbaFirstResponderKit Replace Message

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

Steps to Reproduce
When running the command in the screen shot I get Confirm Folder Replace even when it was empty and I know the zip file and folder are not in the AppData\Local\Temp.
It appears to be like it is doing it twice.
It would also be nice if the output comment was the stored procedure was UPDATED or INSTALLED so you know.
Example:
Action Results
Attached screen shots/console output

are you on the latest ? I can't reproduce from development

another closed 💃


⚠ Processors has degraded performance

In 1c7a84d, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 118 ms

Resolved: Processors performance has improved in 9e8e84a.


Why are points required to be in affine form before pairing computation?

In AMCL's ate pairing code, it looks like the pairing doesn't work correctly if the given points aren't in affine form.
Why is this a requirement?
Mike Scott would be a good person to ask about this.

After emailing with Mike, he confirmed that the input points are required to be in affine form for the PAIR_*_ate function. To avoid altering the inputs, he said, the function assumes the points are already affine rather than converting them.
Importantly, he confirmed that there are no other requirements on the points made by the pairing function.


Disentangle segmented algorithms

Currently the segmented algorithms are part and parcel of the implementation of the parallel algorithms. That unnecessarily complicates those. Now, that we have converted the parallel algorithm APIs into customization point (CPO) based implementations, the segmented algorithms could be separated and exposed through their own specializations of tag_invoke to be picked up by the CPOs. This would significantly simplify the base algorithms and allow to separate the segmented algorithms completely.

Here is a list of algorithms that need to be touched:

[ ] adjacent_difference
[ ] adjacent_find
[ ] all_of
[ ] any_of
[ ] count
[ ] count_if
[ ] exclusive_scan
[ ] fill
[ ] find
[ ] find_if
[ ] find_if_not
[ ] for_each (#5176)
[ ] for_each_n
[ ] generate
[ ] inclusive_scan
[ ] max_element
[ ] min_element
[ ] minmax_element
[ ] none_of
[ ] reduce
[ ] transform
[ ] transform_exclusive_scan
[ ] transform_inclusive_scan
[ ] transform_reduce

This can be closed now. Thanks to everybody helping with resolving the issue.


First class support for PHP7 and HHVM

LGTM :shipit:

Will look into the build error on PHP7…

That's interesting, haven't seen this happen before to be honest. Take a look at vectorface/dunit, using it in my own projects to test against multiple versions, and could make it easier to test PHP7 locally. (Needs docker though.)

Resolved the build error by removing the affected test (pointless test to begin with).


Create a browser build

It's annoying that this is only nodejs, we could package it with webpack and use something like https://www.npmjs.com/package/isomorphic-unfetch

Done in https://github.com/Classcharts-API/classcharts-api/commit/6392ee6d1afb24f37411327f50f7749b3665193a


Expected Results

Thanks for putting this together - Good excuse to do some follow-on work from rust dublin.
On further reading about perfect hash functions I think the results are to be expected.
Specifically phf is designed to have a consistent worst-case rather than being particularly fast in a specific scenario.
Wikipedia
This ties in with all the results for pfh being around the ~14ns where as mega-match has quite a substantial outlier in the middle.
I am surprised at the last and missing being fast in mega-match as I understood rust defaults to a plain BTree.
Struggling to find docs on it so I'm assuming that the last performance is due to the data being ringed and the maybe some length magic is going on for MISSING_ITEM to return quickly?
Additional Tests

Test middle miss
When I tested with PI as a middle miss it had the worst performance in of all the tests of mega-match.
Around 3x the average of PHF and ~25x worse than the AD match 7x worse than plain missing.
Note that PHF PI missing was very consistent being aligned with the other results.

Test early miss
Interestingly AH as a start miss also has performance comparable to PI the middle miss in mega-match

Long miss
Tested the length idea with AHHHHHHHHHHHHHHHHHHHHHHHA-Alan-Patridige-knowing-me-knowing-you-AHA
So that it would have a clear long miss.
Miss time for mega-match was excellent 2x faster than MISSING_ITEM which would indicate there is some length checking going on.
Interestingly PHF was very slow on this being double the average of the other searches. This might be a bug in PHF?

Additional tests are in my fork.
https://github.com/No9/mega-match-vs-phf/blob/main/benches/bench.rs
Really need to go and look at the code for match to dive into this further.

Hey @No9, thanks a million for following on with this!
I haven't checked the code but I would expect phf to be linear based on the input length. Based on this assumption it would make sense that the longer the string the more time it would take to calculate the hash...
Regarding why match is randomly fast (regardless the position of the entry in the match), I did a test with a simplified match to see how Rust would compie that: https://github.com/lmammino/mega-match-vs-phf#:~:text=a simplified case similar to this one
I am terrible at reading assembly, but as far as I can tell, the sequence of jumps traverses all the conditions in order so I can't see any smart compilation trick (e.g. using BTrees, prefix trees, length checks or similar).
Someone suggested me that processor branch prediction might have a significant impact on these tests...

I understood rust defaults to a plain BTree

match is effectively syntax sugar for a series of if let and definitely does not synthesise anything complex like a b-tree implementation. I agree that branch prediction is likely to be the cause of the observed performance of match on last/missing.


Search: Search results box

Design for this is here: https://www.figma.com/design/31q1g27k69z1yXb6r6vrRD/Stacks-Explorer-Working-File?node-id=8642-78283&t=2NVyiKGeeuflmUBm-1
Pending Dev review to complete Dark mode and Responsive


Feat: add drive macro IntoEvent

Based 0.16.2

Implementation direction Overall, LGTM.
I have one question.

In the case of entry_point, it is exposed as std after adding it to the existing derive package.
How about adding it in a similar way?
Is there reason to add it to newer event-derive package instead of adding it to cosmwasm-derive package?

In the case of entry_point, it is exposed as cosmwasm-std after adding it to the existing cosmwasm-derive package.
How about adding it in a similar way?

In similar way, exported as a member of cosmwasm-std here.
https://github.com/loloicci/line-cosmwasm/blob/8b9f43fa34b5728e63f4c4a06e79d096254acd1c/packages/std/src/lib.rs#L118

Is there reason to add it to newer cosmwasm-event-derive package instead of adding it to cosmwasm-derive package?

Few reasons, keep lib.rs simple and easiness of merging original side changes. No problem to move it to cosmwasm-derive package.

Yes. Then it would be better to move to cosmwasm-derive.
As you know, it has the same meaning, and the more cargo pacakge, the more troublesome management seems to be.

Oh, and I think we need  prepare a contract for the example in addition to the test code.
However, it is too cumbersome to develop individual contracts for every feature we develop. It would be good to discuss this separately.

LGTM
By the way, what does "Into" mean?

IntoEvent means the trait Into<Event>. The macro derives it from a struct.


fix typo "comitting" -> "committing"

Just some minor typos.

Coverage remained the same at 82.439% when pulling 51072cc4ed911550c6002dc62310ed03128a31e1 on kannes:fix-typo-comitting into df5aca2ff460cf8712cbdad276f3ea00954013b5 on Toblerity:master.


Draft version of book: "Intro to GNAT toolchain"

Hi @gusthoff ,
Thanks for the great work :)
I have two comments:

I think that the code expansion and target dependent information are far too advanced and corner cases for an "intro to GNAT".

Since we already have a Getting Started with GNAT Toolchain course, this one seems like it should be merge in the existing getting started.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: gusthoff:x: richardkennerYou have signed the CLA already but the status is still pending? Let us recheck it.


Abao jsonschema ref fix

Updates to a fork of abao where all tests pass, previously response body validation was broken by my changes

Didn't test locally. Diff LGTM.


Heatmap issue

Trying to plot a heatmap raises the following error:
AttributeError: 'list' object has no attribute 'min'
This is because of the following lines:
zmin=z.min()
zmax=z.max()
where z is a list. Propose converting these lines to:
zmin=min(z)
zmax=max(z)

I can confirm this issue


Can a Custom Connector require multiple authentication types?

I'm trying to build a connector to a service that has a basic http api. For whatever reason, the service's api requires both a basic-authentication username/password combination and an api key for the specific resource I'm accessing.
I can write a connector that accepts either form of authentication: api key or usernamePassword, but is there a way for the connector to use both? I'd prefer not to have the api key in the url param sent to MyConnector.Contents().
Thanks!

I see this has basically been asked before - https://github.com/microsoft/DataConnectors/issues/86. Is there still not a better solution?

An extension can declare support for multiple authentication kinds, but only one can be used at a time.
We've considered support for "custom" auth kinds, where the connector essentially declares a set of name/value pairs. The complexity comes in supporting new auth kinds across all of the power query surfaces (clients like desktop/excel, gateway configuration pages, etc).
At this point, there haven't been enough data sources / customer demand to implement the feature.


fix(select): show placeholder when value is empty string

Description
Properly show the Select placeholder when value is an empty string. This happens when integrating the Select component with ReduxForm, following the pattern described in #150.
Scope

[x] Patch: Bug Fix
[ ] Minor: New Feature
[ ] Major: Breaking Change

Added a comment to #150 about this issue. It may be worth compiling some of these techniques on integrating with common form libraries, e.g. redux-form, formik, final-form, in our documentation..


'constraints.hasBoundedWidth': is not true.

Hi ,
when I use ParsedReadMore , I got error 'package:parsed_readmore/src/parsed_readmore.dart': Failed assertion: line 149 pos 16: 'constraints.hasBoundedWidth': is not true.
but When I wrap it with sizedBox with any width it works , but my case I want to make the widget width dynamic to take much space as texts wants , I tried with expanded or Flexible but also gives error , but when I deleted ParsedReadMore and used Text() it works as expected .

Hello,
I got your issue. Will work on it and get back to you.
Regards,
Aashish
On Mon, 1 Apr 2024, 5:44 am Hesham Elnemr, @.***> wrote:

Hi ,
when I use ParsedReadMore , I got error
'package:parsed_readmore/src/parsed_readmore.dart': Failed assertion: line
149 pos 16: 'constraints.hasBoundedWidth': is not true.
but When I wrap it with sizedBox with any width it works , but my case I
want to make the widget width dynamic to take much space as texts wants , I
tried with expanded or Flexible but also gives error , but when I deleted
ParsedReadMore and used Text() it works as expected .
—
Reply to this email directly, view it on GitHub
https://github.com/aashish2604/parsed_readmore/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS3DFFK3QZFPL744EGR6P4LY3CRHLAVCNFSM6AAAAABFQ2B3SKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTOMRWGM4DQOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


disabling swipe back on modals

Short description of the problem:
How to disable swipe-back on a specific page? I want to use it when I use nav.push() but I dont want the page to be swipable when it is a modal (nav.present()) because it is animating downwards and I am swiping left to right and its very weird.
What behavior are you expecting?
Steps to reproduce:

make a modal and try to swipe back. The modal will animate downwards by swiping left to right

Thanks for submitting an issue! I appreciate you opening an issue here but this is a question that i think would be better answered on our forum or on our slack channel. Here is the link to the forum: https://forum.ionicframework.com/ and here is the link to the slack channel: http://ionicworldwide.herokuapp.com/. Thanks!


Filters do not work with dependencies tool on Windows

The --include and --exclude options for crystal tool dependencies have no effect on Windows. For example, running bin\crystal tool dependencies src\prelude.cr -isrc at the repository root outputs nothing, whereas running crystal tool dependencies src\shards.cr -esrc at the Shards root doesn't suppress any output.
This is most likely because the include and exclude patterns are expanded into native paths:
https://github.com/crystal-lang/crystal/blob/1baf3a726f76adda630d5ee4f384dd00e319a2de/src/compiler/crystal/tools/dependencies.cr#L11-L12
They are then passed to File.match?:
https://github.com/crystal-lang/crystal/blob/1baf3a726f76adda630d5ee4f384dd00e319a2de/src/compiler/crystal/tools/dependencies.cr#L112-L114
which only recognizes the forward slash as the directory separator, not the backslash.

Yeah, crystal tool unreachable uses the same filtering mechanism and there we're converting the paths to the posix type.
I'm not sure this is 100% correct because there might be some odd edge cases. But it should work just fine for relevant use cases.
I've meant to combine and abstract the filtering logic in a helper library, including proper specs. This should be happening sometime.


Include suppressed & dropped mails in the overview graph

I'm sure this is already planned but it would be useful to see this additional info on the graph. If I have time this summer I might look into adding this feature myself.

@adamcooke I've taken a look and expanded the data available in the graph (see referenced commit) however it doesn't look like the two explicitly requested data sets are stored anywhere (suppressions and drops).
I've also noticed that a held message is counted as both a held message and an outgoing message so the two graph points overlay when there are only ever held messages (eg. in a development server). This could cause confusion on the graph as they both draw in the same area:

Which is made up of both the outgoing and held series:

Messages are counted as soon as they are created as either outgoing or incoming so if a message then goes on to being spam, held, suppressed etc... it will still have been counted. Putting the data on the same graph may not be very practical for this reason. It would be nice to have a graph that included all this information (perhaps another graph).


[chip-test] chip_sw_pwrmgr_random_sleep_power_glitch_reset

Test point name
chip_sw_pwrmgr_random_sleep_power_glitch_reset
Host side component
None Required
OpenTitanTool infrastructure implemented
No response
Contact person
@msfschaffner
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)

This still needs to be added to the chip-level testplan.

testplan added in #14440

@jeoongp / @msfschaffner / @tjaychen - highlighting a test that now seems to be implemented - it's shown up in the nightlies recently but not yet passing. If this issue is duplicated by a more recent issue please just comment on the issue that duplicates this and close this issue.

Tests
2022-11-14 08:10:42
2022-11-13 08:12:54
2022-11-12 08:04:45
2022-11-11 08:07:48
2022-11-10 08:10:06
2022-11-09 08:04:06
2022-11-08 08:03:42
2022-11-07 08:08:10
2022-11-06 07:11:02
2022-11-05 07:11:23
2022-11-04 07:12:05
2022-11-03 07:11:23
2022-11-02 07:03:26
2022-11-01 07:10:18
Suite

150
chip_sw_pwrmgr_random_sleep_power_glitch_reset
0
0
0
--
--
--
--
--
--
--
--
--
--
--
chip_sw_pwrmgr_random_sleep_power_glitch_reset

This test seems to be implemented now - but as you point out it is not passing. The issue is not duplicated - hence we can leave this open until we resolved the problem.

There appear to be at least two different failure modes:
UVM_FATAL @ * us: (chip_sw_random_power_glitch_vseq.sv:58) [chip_sw_random_power_glitch_vseq] *- has 1 failures:

Test chip_sw_pwrmgr_random_sleep_power_glitch_reset has 1 failures.
0.chip_sw_pwrmgr_random_sleep_power_glitch_reset.2876183829
Line 536, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_pwrmgr_random_sleep_power_glitch_reset/latest/run.log

  UVM_FATAL @ 12119.700888 us: (chip_sw_random_power_glitch_vseq.sv:58) [uvm_test_top.env.virtual_sequencer.chip_sw_random_power_glitch_vseq] 1-
  UVM_INFO @ 12119.700888 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---
UVM_ERROR @ * us: (chip_sw_base_vseq.sv:242) virtual_sequencer [chip_sw_random_power_glitch_vseq] SW TEST TIMED OUT. STATE: SwTestStatusInTest, TIMEOUT = * ns has 1 failures:

Test chip_sw_pwrmgr_random_sleep_power_glitch_reset has 1 failures.
2.chip_sw_pwrmgr_random_sleep_power_glitch_reset.1578290822
Line 504, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/2.chip_sw_pwrmgr_random_sleep_power_glitch_reset/latest/run.log

  UVM_ERROR @ 17414.454604 us: (chip_sw_base_vseq.sv:242) uvm_test_top.env.virtual_sequencer [uvm_test_top.env.virtual_sequencer.chip_sw_random_power_glitch_vseq] SW TEST TIMED OUT. STATE: SwTestStatusInTest, TIMEOUT = 12000000 ns

  UVM_INFO @ 17414.454604 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

Repro instructions (with 5ebd4769b):
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_pwrmgr_random_sleep_power_glitch_reset --build-seed 861587486 --fixed-seed<PHONE_NUMBER> --waves fsdb

./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_pwrmgr_random_sleep_power_glitch_reset --build-seed 861587486 --fixed-seed<PHONE_NUMBER> --waves fsdb

Thanks @msfschaffner. Let me reproduce these cases and see what's wrong

Timeout error was fixed in my local. But, the next error shows up as follows.
UVM_INFO @ 8704.353000 us: (ast_supply_if.sv:57) [ast_supply_if] forcing vcmain_pok_h_o to 1
"../src/lowrisc_dv_pwrmgr_ast_sva_if_0.1/pwrmgr_ast_sva_if.sv", 48: tb.dut.top_earlgrey.pwrmgr_ast_sva_if.CoreClkGlitchToEnOff_A: started at<PHONE_NUMBER>ps failed at<PHONE_NUMBER>ps
Offending '(!pwr_ast_o.core_clk_en)'
UVM_ERROR @ 8779.353000 us: (pwrmgr_ast_sva_if.sv:48) [ASSERT FAILED] CoreClkGlitchToEnOff_A
This error looks pretty similar to https://github.com/lowRISC/opentitan/issues/16154

Ok, thanks for debugging this. Let's fix the timeout for this test and then wait for resolution of https://github.com/lowRISC/opentitan/issues/16154.

SG. The timeout error is fixed in https://github.com/lowRISC/opentitan/pull/16395.

Regarding the scenario where the test times-out: the reason is that a main power glitch is sent while the device is in deep sleep and the non-aon power domain is off. In that case pwrmgr does not even look for main power glitches since they are not expected to occur, so the timeout should be expected. We could avoid sending main power glitches in deep sleep to prevent this from happening.
A watchdog reset could be added, but upon reset there may be no software visible trace of the cause. The SV side could detect this... but I believe this is a case that can only happen due to tampering, and the only response viable is a full POR.
@tjaychen, could you confirm?

The other scenario where *ClkGlitchToEnOff_A fail is due to incorrect SVAs: when a main power glitch is triggered the AST will drop its *clk_val outputs, regardless of its *clk_en inputs. The slow pwrmgr fsm is in charge of toggling *clk_en, and it is not involved in these resets, so we don't expect *clk_en to toggle at all.
I will create a PR to fix the SVA.

The non-SVA failure should be fixed by #16554. Closing this.


Improve rules for PowerShell comments and strings

The current PowerShell rules in highlight.js don't some of the rules for PowerShell string escaping and function documentation, as well as multi-line comments in general.
This pull request adds the above rules to highlight.js.

Thanks!


How to update token list with right balances and remaining tokens?

So looking at the list here, I know that it has only two tokens on Optimism Ethereum.

But I know that I have more tokens on Optimism.

So I want to refresh the list to display them all. So I try this method:
https://user-images.githubusercontent.com/51817359/141741376-f21ddfe9-079c-4dfa-94c2-2245efc846a4.mp4
And it does not work either. Shall pull down to refresh update the list? I don't see any other usage of this.

I forgot about the wallet and re-imported it with the seed phrase. Same story. It does not display the full list.
When I removed the app and reinstalled it again. Does not work either.

Closing now. We fix this continously in various issues/ways. But haven't quite address it across the board though


Travis reports success even when tests fail

New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate

General information
Unsure if this is deliberate behaviour.
To have Travis reporting failure when tests fail we i believe we would add set -e or similar to the build script, to have it return != 0 if the test command fails.
Here you can see a test failing and Travis reporting success - https://travis-ci.org/DRosadoYew/IGListKit/jobs/180866217
And here the same with set -e, reporting failure - https://travis-ci.org/DRosadoYew/IGListKit/jobs/180867672

@DRosadoYew wow great find. Luckily our internal tests would block any failures from officially landing, but this will save time when making PRs. cc @jessesquires

That's bizarre. I've never seen this behavior.
I looked at other project's .travis.yml and the setup is similar to ours.
@DRosadoYew -- Any travis docs on this? I couldn't find anything...

@jessesquires, i guess set -o pipefail has the same effect - https://github.com/Alamofire/Alamofire/blob/master/.travis.yml#L32
I think it's about bash not travis - https://www.gnu.org/software/bash/manual/bashref.html#The-Set-Builtin, but not a bash pro whatsoever.
E.g. https://github.com/facebook/AsyncDisplayKit/blob/master/build.sh#L9

@DRosadoYew 👍
Yep, confirmed here too:
https://twitter.com/marmelroy/status/805492772736212998

Ahh got it. So pipe (| xcpretty -c;) eats the errors. TIL

@jessesquires For what it's worth there's a small bit on xcpretty's repo about this:
https://github.com/supermarin/xcpretty
Important: If you're running xcpretty on a CI like Travis or Jenkins, you may want to exit with same status code as xcodebuild. CI systems usually use status codes to determine if the build has failed.
$ set -o pipefail && xcodebuild [flags] | xcpretty
#
# OR
#
$ xcodebuild [flags] | xcpretty && exit ${PIPESTATUS[0]}

@jessesquires xcpretty doesn't eat errors, but unix always exits with the status of the last command in the pipeline (e.g same effect if you just piped to cat.
Like @sheroluk pointed out, you need either pipefail or tell it which cmd status to exit with

Thanks @supermarin ! 👍


Allow the player to join the game by the appearance of a button if the there is space in the lobby

Initial commit:
76a5b7b1badc39ba26d843ed73a682353b7557a2


Improve logging on console logs page for test debugging

I can't repo ResourceName_ViaUrlAndResourceLoaded_LogViewerUpdated failure locally, and logs don't provide enough info. PR adds more logs to hopefully make the test problem clearer.
Addresses https://github.com/dotnet/aspire/issues/5829
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


Add Normal sequence generators

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.05% :tada:

Comparison is base (ca84a96) 99.45% compared to head (ac8ae42) 99.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   99.45%   99.50%   +0.05%
==========================================
  Files          23       24       +1
  Lines         547      609      +62
  Branches       59       62       +3
==========================================
+ Hits          544      606      +62
  Misses          2        2
  Partials        1        1

Files Changed
Coverage Δ

src/startorch/sequence/__init__.py
100.00% <100.00%> (ø)

src/startorch/sequence/normal.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Doesn't appear to support parameter schema

How would I express, e.g.
schema:
  type: integer
  minimum: 0
  default: 0

in queryParameters?

+1


[Bug] Forward filling animation not working in Shadow DOM

Hi :),
I have found a bug that I am unable to fix. When doing an animation for an element inside a Shadow DOM, the forward-filling mechanism of Motion does not seem to work (wether I use animation or timeline).
Motion properly set the style properties when animation end, but for some strange reason, it seems that the original style are always "winning" over the inline styles set up by Motion.
You can find a reproduction case here: https://codepen.io/bakura10/pen/poGyBRj
Thanks.
EDIT: I have tried to use native JS animation and the problem is the same, so the issue is not due to Motion I think. Interestingly enough, when using native API directly, using fill: 'both' does the trick, but as Motion does not expose the fill property, this can't be used.

I reported this to Chrome team and, apparently, this is the expected result as per spec. Although it is completely unpredictable (https://bugs.chromium.org/p/chromium/issues/detail?id=1497897#c6).
I wonder if Motion could handle that by making the styles !important when the animation is over when it detects it is in a shadow root context (which can be done by using element.getRootNode() and detecting if it is a shadow root).
@mattgperry do you think making important here would cause other issues?

Sadly you can't set !important via the style attribute and I don't want to get into the murky world of creating CSS blocks. That spec'd behaviour seems really unhelpful though. fill is actually set to both but the animation is ended when the styles are applied. We have an undocumented option called persist which can be set to true - you could attempt this? But this behaviour makes interrupting animations difficult/impossible.


Fix init & multiple app issues with SQLAlchemy interface

These are some proposed fixes to issues I have run into with integrating Flask-Session into our application.  The two problems were:

the call to db.create_all() was causing problems as described here: https://github.com/fengsp/flask-session/issues/11
When instantiating an application multiple times in the same process (in our case, during testing) the method used to create the SA table/model would fail b/c it already existed.  But a check in for this so it's only created once for each DB.

@fengsp it would be very helpful to have this fixed. What can I do to get it moving?

@rsyring We need to call the create_all ? Otherwise, how to do that for users? The session table detail is hidden.

@fengsp my suggestion would be to create an entities.py file, and create a SessionMixin class which the user of library could include in their own SQLA metadata / entities however they want.
You might also provide an alembic script in the docs with a raw sql version if developers are trying to migrate.
Flask-Session would then, as part of the init_app would be handed the entity which should be used to construct a session object.

The create_all call is not necessary, we deleted it in our branch because it was problematic.

Instead of the create_all() call you could use Session.table.create(bind=db.engine, checkfirst=True). That will create the table for the session model if it doesn't already exist.

moving to flask-session 0.3.1 from 0.3.0 made the flask_session table stop getting created when doing my initial alembic schema migration. something changed that broke our use case. how are we supposed to deploy the flask_session table now when doing an initial schema migration/deploy?

@revmischa You should do the db creation by yourself, including your other models.

The fix for recreating the session model is still very needed. I have to fork this repo in order to do tests, or else I get errors from the test suite as it tries to redefine this table on every initialization of the plugin

The fix for recreating the session model is still very needed. I have to fork this repo in order to do tests, or else I get errors from the test suite as it tries to redefine this table on every initialization of the plugin

This is how I get around this problem. It feels like a hack though:
"""
Flask-Session version 0.4.0 -- latest as on 24/November/2022.

Work around / hack for getting around the exception during tests:

sqlalchemy.exc.InvalidRequestError: Table 'sessions' is already defined
for this MetaData instance. Specify 'extend_existing=True' to redefine
options and columns on an existing Table object.

Usage:

try:
    from book_keeping.library.fixed_session import FixedSession as Session
except ImportError:
    from flask_session import Session

References:

https://stackoverflow.com/questions/64721498/how-do-you-resolve-already-defined-in-this-metadata-instance-error-with-flask
https://github.com/fengsp/flask-session/blob/1c1f7903184673682bd1d75432c8f455b62393a4/flask_session/sessions.py
https://github.com/tassaron/muffin-shop/blob/main/src/helpers/main/session_interface.py
https://github.com/fengsp/flask-session/pull/12
"""
from flask_session.sessions import SqlAlchemySessionInterface
from flask_session import Session

class FixedSqlAlchemySessionInterface( SqlAlchemySessionInterface ):
    def __init__(self, app, db, table, key_prefix, use_signer=False,
                 permanent=True):
        """
        Assumption: the way I use it, db is always a valid instance
        at this point.
        """
        if table not in db.metadata:
            super().__init__( app, db, table, key_prefix, use_signer, permanent )
            db.session_ext_session_model = self.sql_session_model
        else:
            # print( "`sessions` table already exists..." )

            self.db = db
            self.key_prefix = key_prefix
            self.use_signer = use_signer
            self.permanent = permanent
            self.has_same_site_capability = hasattr(self, "get_cookie_samesite")

            self.sql_session_model = db.session_ext_session_model

class FixedSession( Session ):
    def _get_interface(self, app):
        config = app.config.copy()

        if config[ 'SESSION_TYPE' ] != 'sqlalchemy':
            return super()._get_interface( app )

        else:
            config.setdefault( 'SESSION_PERMANENT', True )
            config.setdefault( 'SESSION_KEY_PREFIX', 'session:' )

            return FixedSqlAlchemySessionInterface(
                app, config['SESSION_SQLALCHEMY'],
                config['SESSION_SQLALCHEMY_TABLE'],
                config['SESSION_KEY_PREFIX'], config['SESSION_USE_SIGNER'],
                config['SESSION_PERMANENT'] )

Hi @rsyring @tassaron @behai-nguyen this repo is under new maintainers. Would be grateful if you can test 0.6.0 and confirm if this fixed your issues.

Table option keep_existing has been used to fix this and prevent accidental schema changes from 0.6.0


networkmanager fails to build

Describe the bug
networkmanager> [660/794] Generating nm-settings-docs-gir.xml with a custom command (...)
networkmanager> FAILED: libnm/nm-settings-docs-gir.xml
networkmanager> /nix/store/474dmx1nykp1yf0r23j5h1xfjbl2q7mz-meson-0.57.1/bin/meson --internal exe --unpickle /build/NetworkManager-1.30.4/build/meson-private/meson_exe_env_6e81983234219c52729d5f4793394a3606febab7.dat
networkmanager> while executing ['env', 'GI_TYPELIB_PATH=/build/NetworkManager-1.30.4/build/libnm:/nix/store/h17lhcb4z8fgbg1p8zppbfg7p1cb2ipk-gobject-introspection-1.68.0/lib/girepository-1.0:/nix/store/4kw024wp70bczsx10fsddvb2lr0kfydx-polkit-0.118/lib/girepository-1.0:/nix/store/jpaf34drvcpkijgj2a95pmsc4hs4xafk-modem-manager-1.14.12/lib/girepository-1.0:/nix/store/di6gbnyci4mmvmkgij548s3z1jrxglfb-libsoup-2.72.0/lib/girepository-1.0\n', 'LD_LIBRARY_PATH=/build/NetworkManager-1.30.4/build/libnm', '/build/NetworkManager-1.30.4/tools/generate-docs-nm-settings-docs-gir.py', '--lib-path', '/build/NetworkManager-1.30.4/build/libnm', '--gir', 'libnm/NM-1.0.gir', '--output', 'libnm/nm-settings-docs-gir.xml']
networkmanager> /build/NetworkManager-1.30.4/tools/generate-docs-nm-settings-docs-gir.py:239: Warning: g_param_spec_pool_lookup: assertion 'pool != NULL' failed
networkmanager>   setting = new_func()
networkmanager> /build/NetworkManager-1.30.4/tools/generate-docs-nm-settings-docs-gir.py:239: Warning: g_param_spec_pool_insert: assertion 'pool != NULL' failed
networkmanager>   setting = new_func()
networkmanager> /build/NetworkManager-1.30.4/tools/generate-docs-nm-settings-docs-gir.py:239: Warning: g_param_spec_pool_list: assertion 'pool != NULL' failed
networkmanager>   setting = new_func()
networkmanager> Traceback (most recent call last):
networkmanager>   File "/build/NetworkManager-1.30.4/tools/generate-docs-nm-settings-docs-gir.py", line 249, in <module>
networkmanager>     setting.props.name,
networkmanager> AttributeError: 'gi._gi.GProps' object has no attribute 'name'

To Reproduce
Steps to reproduce the behavior:

try to build networkmanager, while bluetooth is enabled (I think an overlay containing final: prev: { bluezSupport = true; withBluez = true; } suffices)
see error

I'm not exactly sure if that really works, but using:
git clone https://github.com/zseri/nixos-configs zseri-nixos-configs
cd zseri-nixos-configs
git checkout f6479de2a4c5637ed1642d9ae27f97de3749da87
nix build -v -L --keep-failed '.#'nixosConfigurations.burton.config.system.build.toplevel

should be enough to trigger it.
(this alternative way requires a system with ca-derivations ca-references flakes nix-command at-least in experimental-features in nix.conf to work and might take a while (as it builds the complete system closure, it took me ~3 days). sometimes it is possible to leverage my binary cache, tho.. https://github.com/zseri/nixos-configs/blob/f6479de2a4c5637ed1642d9ae27f97de3749da87/utils/ytrizja.nix#L42-L43)
dependees might be interesting:
error: 1 dependencies of derivation '/nix/store/ig642hs4gjimcga1zzazxxq6m7fx71hn-libproxy-0.4.17.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k2l1yf5881gndna8gb8d9fhn1q0xx6c5-glib-networking-2.68.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8iyhpvnivkc2l4q2c6xa6azw2qyggy5a-inkscape-1.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nwlwna7wgwcvqm9w69k9zizkxaaw8zg7-wpa_gui-2.9.drv' failed to build
error: 1 dependencies of derivation '/nix/store/yvdfia1dz3cqbm1c5nwgw0slhsz2cq5z-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9pn7v7x88nq3lp0dbav334mzvg56v1h1-dbus-1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7di64195zfc516m2h9130irr703k9x1q-unit-accounts-daemon.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/iinza7m54jnkpbriknkjzbjjmcilr9x5-unit-polkit.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zzyy1ghs04xsdmax62qgdq1ikr7mib3v-unit-systemd-fsck-.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/j24pf9i9zx09c47kqc05r0rjxr8i7vaa-unit-dbus.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nmxhpn9d2g8wh65qwii05ap8nvq9dhns-unit-dbus.service.drv' failed to build
error: 4 dependencies of derivation '/nix/store/yzafm9zvn7dwn891l7sjr162yyyndyyj-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1b1hsz4k3wm52p9jgmv0nlcxdjb1dnfd-user-units.drv' failed to build
error: 4 dependencies of derivation '/nix/store/1rzdap9cixfzsjmy5dh2k3z2l0nam67b-etc.drv' failed to build
error: 2 dependencies of derivation '/nix/store/p5iygn7i7gz64jv186l83m2fa0xnra79-nixos-system-burton-21.11.20210713.c149772.drv' failed to build

Expected behavior
networkmanager should build successfully
Additional context
Stated above (In 'To Reproduce')
Notify maintainers
@phreedom @domenkozar @obadz (and maybe @jtojnar)

Metadata

system: "x86_64-linux"
host os: Linux 5.10.48, NixOS, 21.11.20210713.c149772 (Porcupine)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20210713_eb47889
nixpkgs: /etc/nix-flake-channels/nixpkgs

Maintainer information:
attribute:
  - networkmanager
module:

I suppose running
git clone https://github.com/zseri/nixos-configs zseri-nixos-configs
cd zseri-nixos-configs
git checkout f6479de2a4c5637ed1642d9ae27f97de3749da87
nix build -v -L --keep-failed --experimental-features 'ca-derivations ca-references flakes nix-command' --extra-substituters 'https://cache.ytrizja.de' --extra-trusted-public-keys 'cache.ytrizja.de:iZzXw6+kwvY/6CZMufK+dul5i44nJeJ3rsYg2HNpLQc= orca.int.ytrizja.de:K7RV1HcWYIUaOe4tyMeo3EwuhkKpAdHtDSPDR3vmp1I=' --fallback '.#'nixosConfigurations.burton.config.system.build.toplevel

as a trusted user with a recent enough nix (e.g. probably build from https://github.com/NixOS/nix, master branch) should work.

I haven't encountered this for a while.


spherical coordinate systems

Hi, MFEM development team:
I'm trying to solve a 1D radial diffusion problem. Does MFEM have solvers in spherical coordinate systems? Thank you!

We don't have an example of this, however, it's quite simple to implement based on Example 1: one just needs to add the appropriate weights from the spherical change of variables to the coefficients of the bilinear and linear forms. You can find the weights e.g. here: https://en.wikipedia.org/wiki/Spherical_coordinate_system.

You will need some radial weight, i.e. r|J|. You may use CartesianCoefficient to extract the single radial coordinate and pass it to the BilinearFormIntegrator of choice :wink:.

Hi, Jan:
Thank you for your response. See the embedded 2nd derivative formula of the radial direction.  I think the r^2 in the parenthesis can be treated as a position-dependent coefficient as you mentioned.  However, I don’t know how to deal with 1/r^2 outside the bracket. Any suggestion Many thanks!
@.***
Hui-Chia
From: Jan Nikl @.>
Date: Thursday, June 27, 2024 at 12:39 AM
To: mfem/mfem @.>
Cc: Yu, Hui-Chia @.>, Author @.>
Subject: Re: [mfem/mfem] spherical coordinate systems (Issue #4366)
You will need some radial weight, i.e. r|J|. You may use CartesianCoefficient to extract the single radial coordinate and pass it to the BilinearFormIntegrator of choice 😉.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/mfem/mfem/issues/4366*issuecomment-2192173993__;Iw!!HXCxUKc!yb-aJxO17ug-Y9N7Rz7YLzYclU6WWgM-qYhX4e994iR3FU6zuqkGEzAULrNZBqY1pc2YS58584V93rUxnmgA$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ASHR6MSP25JY7ISKCYJRQFDZJLVDRAVCNFSM6AAAAABJV3UEECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJSGE3TGOJZGM__;!!HXCxUKc!yb-aJxO17ug-Y9N7Rz7YLzYclU6WWgM-qYhX4e994iR3FU6zuqkGEzAULrNZBqY1pc2YS58584V93hPguzxI$.
You are receiving this because you authored the thread.Message ID: @.***>

There cannot be anything "outside the bracket", you need to rewrite the system. You will probably obtain some extra term from the radial divergence and use an extra integrator for that. For the arbitrary powers of radius you may very easily use FunctionCoefficient with a C++ lambda function 👍 .


Add Chicago traffic tracker rest notebook for testing

see #4 and https://github.com/RandomFractals/Chicago-transportation-notebooks

pic:


NetworkWatcher: Added new parameters to QueryConnectionMonitorResult and ConnectivityCheckRequest

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-libraries-for-java

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Hi @irrogozh
@MikhailTryakhov  we neel to Ack on CHanges for Networking that are against master, please follow up with him
=Thanks,
Samer

@MikhailTryakhov @salameer FYI, there are breaking changes (see my comments)
@MikhailTryakhov do you require review from @anuchandy?

@olydis  I meant API breakage. I needed Anu because have no rights to approve :)

@MikhailTryakhov well, all reviewers (like me) have the power to merge, so whoever is assigned to a PR will be the POC 🙂


module.name_mapper does not find nested modules on windows

I'm having a folder structure:
modules/Test/js/main.js
modules/Test/js/nested/entry.js

a root test.js file:
/* @flow */

import main from '#Test/main';
import main2 from '#Test/nested/entry';

a name mapper:
module.name_mapper='^#\(.+?\)/\(.*\)$'->'<PROJECT_ROOT>/modules/\1/js/\2'
and it constantly throws Cannot resolve module #Test/nested/entry.  It finds #Test/main without any problems, but once it's a nested path, it does not recognize it.
This regex works fine with webpack and jest, e.g. jest:
"moduleNameMapper": {
  "^#(.+?)/(.*)$": "<rootDir>/modules/$1/js/$2"
}

v0.81.0

Seems like a windows problem? it does resolve #Test/nested\\entry without any problems so I'm guessing it's folder separator problem. Any ways to overcome this?

Spent a while looking into this one and it turns out the \\ / Windows usage is a red herring.  The root issue is that, unlike Webpack and Jest, OCaml regexp doesn't support non-greedy capture groups (.+?) - reference.
This example works if you change your name mapper to something like:
module.name_mapper='^#\([^/]+\)/\(.*\)$'->'<PROJECT_ROOT>/modules/\1/js/\2'

...otherwise it is rewriting your nested module name incorrectly, to modules\Test\nested\js\entry.js (nested and js wrong way round as the first capture group is greedy).

cc @avikchaudhuri

Closing as the Flow team don't have plans to move away from OCaml regex.

Sorry I missed notifications on this issue, @jamesisaac. I believe the Flow team is open to more JS-friendly configuration, and we've had some recent internal threads on this topic. I can't give a timeline but I'm optimistic that we will do something to avoid issues like this one.

Nice!  I was just relaying what I heard on Discord the other week, but that sounds cool if you guys have plans around improved compatibility with the JS ecosystem.
While this issue's a good example of the confusion it can cause, I guess that's better tracked in something like #153 ?  I'll make a note there.

I believe the Flow team is open to more JS-friendly configuration, and we've had some recent internal threads on this topic. I can't give a timeline but I'm optimistic that we will do something to avoid issues like this one.

For reference/easier findability, these are the flowconfig related issues/suggestions I found that would bring it in line with other tools like eslint, babel, webpack, etc:

https://github.com/facebook/flow/issues/4115 : What about .flowconfig.js
https://github.com/facebook/flow/issues/153 : .flowconfig should use json
https://github.com/facebook/flow/issues/238 : .flowconfig should recursively consider other .flowconfig files
https://github.com/facebook/flow/issues/3569 : Flow config in package.json


mae is same when training

mae is same when training my own dataset

How many GPUs do you use?

I also have the same problem when using the jhu and NWPU datasets. I use one GPU.

I also have the same problem when using the jhu and NWPU datasets. I use one GPU.

Try to use my default command

Can you explain it in more detail? I don't quite understand what you said, thank you.

Can you explain it in more detail? I don't quite understand what you said, thank you.

Can you try to run with 4 GPUs, I haven't run with 1 GPU.

How many GPUs do you use?

1 GPU

Can you explain it in more detail? I don't quite understand what you said, thank you.

can not predict any person thus the mae not change

Can you explain it in more detail? I don't quite understand what you said, thank you.

Can you try to run with 4 GPUs, I haven't run with 1 GPU.

Okay, I'll give it a try, later. Thank you.

Can you explain it in more detail? I don't quite understand what you said, thank you.

can not predict any person thus the mae not change

May I ask if the same problem of Mae has been solved?

Can you explain it in more detail? I don't quite understand what you said, thank you.

can not predict any person thus the mae not change

May I ask if the same problem of Mae has been solved?

No, did not solve

I haven't tried to train on 1 GPU and may need to adjust some hyperparameters.

I haven't tried to train on 1 GPU and may need to adjust some hyperparameters.

Which parameters?
I also cannot reproduce the results using your repository.

I checked the training procedure using 1, 2, and 4 GPUs and all generated the same, unchanging MAE.

@SherlockHolmes221 did you solve it? Why did you mark it as completed without any answer?

Why did you mark it as completed without any answer?  What are you avoiding？？


nixos/sssd: add an option to enable KCM support

Description of changes
Adds an option to enable Kerberos Cache Manager (KCM) support in SSS. See the sssd design doc about KCM for background info. The short version is that this lets other Kerberos client programs (kinit / klist) share a credentials cache with sssd, and take advantage of its renewals etc.
KCM is enabled by default in Fedora's sssd package.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 182520 run on x86_64-linux 1

1 package built:

nixos-install-tools


Autocomplete is not reliable with subpath exports

🔎 Search Terms

subpath autocomplete
exports autocomplete
subpath

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about Export maps aren't respected

⏯ Playground Link
https://github.com/jansedlon/ts-monorepo-issue/tree/main
💻 Code
{
  "exports": {
      "./package.json": "./package.json",
      "./zod/base": {
        "types": "./dist/src/zod/base.d.ts",
        "import": "./dist/src/zod/base.js"
      },
      "./zod": {
        "types": "./dist/src/zod/index.d.ts",
        "import": "./dist/src/zod/index.js"
      }
    },
}

import { index } from "@ts-monorepo/validation/zod";
//        One level depth is autocompleted    ^
// This works ONLY if there's one level depth export in package.json

import { EmailSchema } from<EMAIL_ADDRESS>//                      No autocomplete beyond this ^
// If there's no `./zod` export in `exports`, not even `zod` path is autocompleted

🙁 Actual behavior
As you can see in the example, my base tsconfig.json has resolvePackageJsonExports set to true.
My packages have exports field in package.json to export a bunch of things. There are actually two issues.

There's no autocomplete beyond one level depth of exports.
In my production application, there's like 90% chance that any given thing exported from my packages are not suggested for imports. I have to import it at least once for it to appear later. And even that is forgotten after some time.

🙂 Expected behavior
It should autocomplete all given paths defined in exports field.
It should suggest all exported things from a package
Additional information about the issue
The second issue is tricky because it doesn't happen in this small reproduction.
My app have around 100k LOC and almost all exported things in my packages cannot be autoimported because typescript somehow doesn't know about them.
If i import them once, they can be autoimported later on somwhere else. However after some time (or after vscode reload), it's forgotten again.

Seems like "typescript.preferences.includePackageJsonAutoImports": "on" option in vscode fixed it but I'm not sure what's the performance penalty for this? I already struggle with autocomplete performance.

This is the expected behavior with that flag off, and turning that flag on is the correct thing to do


Development of subnationals in reporting and ipsr

Accepting this because. @yecksin please address the comments this Monday please @JuankCadavid


Not able to add textviews

If I need to add the textview in the gap indicating the progress. What is the process for achieving this?
Here is the below reference

Hi, @senkanishka23!
Thank you for reporting the issue!
In my opinion, adding a TextView to the starting or ending point of each dashWidth, or adding it to the middle point of dashGap and providing the value using angleToProgress, seems like a potential solution.
Alternatively, another approach could involve accepting a List of Integers as a parameter representing the desired angles. Then, you could add a TextView containing the Progress value obtained using angleToProgress to the corresponding positions.
Furthermore, since TextViews have been added, it might be necessary to slightly decrease the radius to accommodate the TextView size.

Have you please push the code for the enhancement?


fix: discriminator values in OpenAPI

The pull request was closed because manually deleting the discriminator fields in the openAPI.yaml did not work. These are generated automatically and because the problem occurs in the InfoModel classes and not in DSC model classes, no influence can be taken at this time.


Document tweaks done to images in lorax kickstarts

For the kickstarts used by lorax-composer for the target images in osbuild-composer (primarily targeting RHEL8.2 and secondarily Fedora 31), document any configuration quirks that are performed on top of what we currently do. Document each as a separate issue, assigning it to yourself for the the osbuild 7 milestone. Then implement the stages necessary for realising these tweaks using osbuild.

For reference, lorax-composer's known output types (and the corresponding livemedia-creator options) are listed in lorax/src/pylorax/api/compose.py:compose_args(). Each one has a "template" kickstart in lorax/share/composer/. There's 6 generic image types (tar, liveimg-tar, live-iso, partitioned-disk, qcow2, ext4-filesystem) and the rest are platform-specific (ami, vhd, vmdk, openstack, google, hyper-v, alibaba).
Here's the high-level configuration tasks I found in those templates.
Already handled by osbuild:

Install packages (rpm, dnf)
Enable/disable systemd services (systemd)
Append boot arguments (grub2)
Firewall: enable/disable service (firewall)
Set timezone (timezone)

Non-scriptlet image tweaks:

Set NTP servers
Disable firewall
Set network MTU
Disable ipv6

Scriptlet-based tweaks:

initramfs (dracut):

Add kernel drivers
Add binaries
Do/don't build rescue images

sudo:

Allow sudo access with/without password for user/group

Generic file tweaks:

Remove file/files matching glob
Make empty file

Generic config file tweaks:

Overwrite file contents
Append line to file
Change a value in a key=val or ini-style config

Thanks Will! Closing the issue, because it's done with that last comment.


Incompatible with skywind3000 / vim-terminal-help

The vim-terminal-help plugin (https://github.com/skywind3000/vim-terminal-help) let's you quickly open a Vim terminal set to the current directory of the file you are currently editing. However in combination with vim-rooter the shell inside the terminal always is set to the root of the project. I guess it is probably somehow possible to exclude terminal buffers from the rooter autocmd, but it's not clear to me how it can be done.

Does d64f3e0 help?

No this doesn't seem to make any difference.
I added some :echom statements and it seems the &buftype is empty for a terminal as well.

That doesn't sound right.  &buftype should be terminal in a terminal window (see :help buftype and :help options-in-terminal).  I just tried it on vim and nvim and it was terminal.
Having said that, in vim at least it seems that when :terminal opens a terminal window in a split and moves the cursor there, the buftype is not set until after vim-rooter's autocmd has been triggered.  Therefore it looks like we cannot detect a new terminal window in a BufEnter autocmd.
If that's true, the only solution I can think of is for vim-rooter to store the directory it is changing from, whenever it changes directory, and to add a Term(inal)Open autocmd which changes back to that previous directory (and then clears the variable holding it).  It's very much a workaround rather than a clean solution.

I came up with a different solution: a RooterToggle-command to temporarily disable Rooter. Then the vim-terminal-helper can be wrapper with a RooterToggle at the beginning and one at the end.
So far it seems to work. It could also be useful in other cases, for example in combination with the Fzf :Files command to switch to another directory.
I have sent a pull request: https://github.com/airblade/vim-rooter/pull/106

I added :RooterToggle in 4119f48.


Table column is not dropped when downgrading server version

Problem:

deploy SecHub server version 0.35.0
then deploy SecHub server version 0.34.0
then deploy SecHub server version 0.35.0 again

The server now fails at startup with message
ERROR: column "messages" of relation "scan_product_result" already exists

Research results:

after doing alter table scan_product_result drop column messages; the deployment of 0.35.0 works.
the undo script sechub-server/src/main/resources/db/migration/U18__add_messages_to_product_result.sql looks good
it seems, the above undo script is not run when deploying 0.34.0

-> Please check and fix

No resolution possible:
The .jar of the older version (0.34.0) does not contain the downgrading script.
-> So there's no solution for this problem.
Closing ticket.


Compilation in macos with backend OPENCL asks for CUDA

Hello, I want to compile the project for mac using backend OPENCL.
I used macports to install the dependencies and compiled it with GPU_BACKEND_CUDA=OFF, GPU_BACKEND_OPENCL=ON, and GPU_BACKEND_DEFAULT=OPENCL using cmake-gui.
It compiles with no errors but when I try to run videostitch-gui I get the message "Your CUDA driver appears to be outdated" and then it closes, the same happens with vahana vr.

I have issues as well. Since MAC is dropping support for Nvidia I think by default it should be set to compile for OpenCL

It's hard to reproduce your build settings if you're using cmake-gui. Please try with a command-line build, then I know better what's happening on your system.
Try these steps:

clone stitchEm
mkdir build && cd build
cmake -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DMACPORTS=ON -DQt5_DIR=~/Qt/5.9.7/clang_64/lib/cmake/Qt5 -DCMAKE_BUILD_TYPE=Release -G Ninja ../stitchEm (set your own Qt path)
ninja

If the build is successful, cd bin/x64/release and ./Studio/videostitch-studio to launch the app.

It's hard to reproduce your build settings if you're using cmake-gui. Please try with a command-line build, then I know better what's happening on your system.
Try these steps:

clone stitchEm
mkdir build && cd build
cmake -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DMACPORTS=ON -DQt5_DIR=~/Qt/5.9.7/clang_64/lib/cmake/Qt5 -DCMAKE_BUILD_TYPE=Release -G Ninja ../stitchEm (set your own Qt path)
ninja

If the build is successful, cd bin/x64/release and ./Studio/videostitch-studio to launch the app.

I tried with:
cmake -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DMACPORTS=ON -DDISABLE_RTMP=ON -DQt5_DIR=/Users/videost/Qt5.12.3/5.12.3/clang_64/lib/cmake/Qt5 -DCMAKE_BUILD_TYPE=Release -G Ninja ../stitchEm
Then I compile using ninja.
But when I run ./Studio/videostitch-studio I get the message:
"No CUDA capable GPU detected on your system" and it closes.

That's strange, this line should not be produced in an OpenCL-only build.
Was the build folder empty when you ran the lines above? After a clean OpenCL-only build there should be a "libvideostitch.dylib" and a "libvideostitch_opencl.dylib" in the bin/x64/release folder, but no "libvideostitch_cuda.dylib". Please check for the existence of libvideostitch_cuda.dylib.

Btw, what system are you running: what's your GPU and OS version?
Please run bin/x64/release/videostitch-cmd -d and paste the result here. It should print a list of the GPU devices discovered by the software.

I'm using Macos High Sierra version 10.13.6
Graphics NVIDIA GeForce 320M 256 MB (it's an old card)
Yes, it was a new build.
It generates libvideostitch_opencl.dylib but not libvideostich_cuda.dylib
It seem it's not recognizing any gpu. with bin/x64/release/videostitch-cmd -d:
Could not find any compatible GPU device on this computer. Host OpenCL allocated memory: Device OpenCL allocated memory:

This setup won't work. The software requires at least 2 GB of GPU memory, as all the stitching is done on the GPU.
The GPU is not discovered as a compatible device in an OpenCL-only build because OpenCL stitching is not supported on Nvidia cards.


feat(rbac): add vscode debug configuration for opened jest test files

What does this pull request do:
Add ability to debug opened and selected test files for rbac-backend plugin  and another plugins in the vscode.

/cc @jerolimov

/refresh


Ensure the PlatformHttpComponent is registered before the routes are started

Fixes #218

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/209/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/210/


feat: adds .editoconfig file for IDE formatting

Alaska Airlines Pull Request
When sharing code across developers and their respective IDEs, we want to maintain consistency in the way Auro code is committed to the repository.
By creating an .editorconfig  file, we can inform IDEs how to format and save code, ensuring uniform styles and minimizing formatting-related issues.
By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I have performed a self-review of my own update.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added QuickSort.js

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Yes
Description
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
Quick Sort

@iamrajiv @atarax665 Please review it.


Usage of int64 as return

First, Thanks for this cool library!
Question / Problem Statment :
I was trying to use this library to get starting offset values of partitions inside disk image from partition.GetStart()
func (p *Partition) GetStart() int64 {
	_, lss := p.sectorSizes()
	return int64(p.Start) * int64(lss)
}

I am not sure if I fully understand this or identifying a potential problem here due to the return value is int64 which could have negative integer numbers. However when working with partitions, If I understand correctly, cannot have a negative starting point and the minimum starting point is 0 so should not this be the return of uint64?
PS: I am a newbie in golang world. I could have missed something to understand.

You are correct, and if it were up to me, those would be uint64. However, most of the basic golang disk utilities work off of int64, e.g. see File.ReadtAt() or fs.FileInfo or any of dozens of others.
I believe those came because the underlying C calls use long for the most part, e.g. fseek. It just made sense to stick with what people have.

Make sense, thanks for explaining.


v-model on textareas inside v-for causes textareas to lose focus on change

Below is a minimal working example of the problem. Whenever you type anything inside the textareas, the focus is immediately lost. It looks like the textareas are demolished and recreated on change.
http://jsfiddle.net/d1rppdfc/
I also found an old, closed bug that looks related: https://github.com/vuejs/vue/issues/689

I think you can use track-by. #1730
https://jsfiddle.net/d1rppdfc/1/
I encountered same problem today. :cat:

An unusual quirk. Your suggested solution seems to work any way, so thanks! :)


Can't import / use hovor

Seems as though this line gets triggered when we're just trying to import hovor stuff (for the simulation things w/ @jlaframboise ).
Any chance you could detail what's going on here, @beckydvn ?

Ah, for all my stuff when I ran Hovor I needed to be able to access an output files directory (i.e. the generated plan). @jlaframboise does some of your simulated stuff run without accessing some output files? If so I'll shift things around so that's not required:)

Oh, it likely will. But I don't think we should have much of anything that runs actual code at the top-level of python files. If it's a file we want to invoke, then it's the if __name__... stuff we use (like this). With the code in the init.py file there, we can't import anything from hovor without it complaining. So all that code should be in the appropriate methods to set things up, and we'd call those methods with the appropriate parameters as need be.
That make sense?

That makes sense, I can change that then :)


UTXO Support + Atomic Swaps

Cf. https://github.com/CounterpartyXCP/Forum/discussions/134

Move a Counterparty asset into a UTXO
Move a Counterparty asset out of a UTXO

See here https://github.com/CounterpartyXCP/counterparty-core/issues/2187

Native atomic swaps are specced out here: https://gist.github.com/adamkrellenstein/f1322377cb496efa4d4345cb06f1fcd9


Further enhancement of facilities to provide hyperparameters

We should further improve the hyperparameter facility to provide nested hyperparameters, e.g., we should be able to more transparently change the learning rate of a particular module while keeping it the same for others. Perhaps using Hydra might help (https://github.com/pytorch/hydra-torch).

Ideally, we want the following:

When running an experiment, the method provides an explanation of what each hyperparameter does
If a provided hyperparameter value isn't used then this is marked and brought to the attention
Provide a way to specify hyperparameters for different modules (maybe nested structures will be good here). Let's say we have two models that we are using called cnn1 and cnn3. Each of them is using 4 hyperparameters. Then it should be possible for me to change them using command line arguments separately. However, if we don't set the module's hyperparameter, it should use a default value or inherit the hyperparameter from a parent class.


Minos Config yaml file must be complete

The *.yaml file must be modified.
The next property must be deleted from events/commands:
database:
        path: ./tests/local_db.lmdb
        name: database_events_test

This modification is to align with the new version of minos_microservice_common and also because the PostgreSQL database will be used instead of lmdb.

Done and uploaded. Close issue on merge.


About the split symbol

In my mind, The split symbol is a very important part of the BEM rule.
Split Symbol:

- Used to replace space in naming.
__ Used to split block and element
-- Used to split block/element and modifier.

But I thought, using - to replace the space in naming has a problem. You can't use double-click to easily select the part of you need. This behavior will happen frequently and improve efficiency in the coding process. Please try double-clicking "form" in the class name at below.
e.g. : .payment-form__expiration-date--error
// Please ignore the ugly naming, it's just an example.
You will selected "form__expiration" part. This's weird. Most time you may want to select the "payment-form" part. Because the word connected by the _ symbol is treated as a string in the system. You can easily select this section by double clicking. Please try double clicking again in the below class name. Easier, Right?
e.g. : .payment_form--expiration_date-error
In my mind, Use _ to replace spaces, use - to connect B, E, M is a better choice.

_ Used to replace spaces in naming.
-- Used to split block and element
- Used to split block/element and modifier.

Not just a convenient selection.
Class naming is not just used in CSS. Also used in JS DOM operations. If you want to use same name in JS variables and CSS classes. But you can't use - in the variable name. The _ would be a better choice. Maybe you prefer the hump nomenclature in JS. In my habit, the naming of DOM elements I prefer _. And keep consistent with the class name. This code's readability will be greatly improved.
I know that it's impossible to change the rules of BEM. Too many people using it right now(including me). I just made a possibility, hope I can get approval.

@lanezhao actually there are different schemes of BEM naming.
for more info please refer to https://en.bem.info/methodology/naming-convention/


Minor bug/Small Enhancement: Game's buttons state

Description of Problem or Question
Hi. Today I've noticed that although Menu, Items, Set & Next Phase buttons are unclickable when a dialog is displayed, they are still displayed as active.
It's a little misleading. If you can't make the buttons work all the time, make them disabled for the clearity.
Valkyrie Version
2.15

The reason they are disabled when you are in a ui element or dialogue is to avoid players skipping turns or running events over other events and causing issues. For example if the items button was available players could click an item and inspect it, displaying another event while one is already running.
In reality only the 'next turn' and 'items' buttons needs to be disabled during dialogues and UI elements.
I disagree these buttons should be removed when not available, that will just look odd with then appearing and disappearing all the time.
@benrq, Is it possible to make the following buttons usable during UI elements and dialogues?
Menu
Set
Log?
During dialogues and UI elements is it also possible to grey the text for 'end turn' and 'items'?

I suspected that the buttons are unclickable because of the things you said. That's not a problem at all.
I think you misunderstood me. What I meant by saying "make them disabled for the clarity" was "make buttons not act on mouse down click". It isn't removing buttons - just disabling.
What I mean is briefly presented here: https://jsfiddle.net/kf569uLg/
As for now, if a player clicks a button it changes its colour as it was clickable although it is not. That's the only change here.
Of course, if it's impossible to do sth more, i.e. enable Menu button every time as it's in the original MoM app.

Ohhh I get you now. Sorry I probably just skim read that and inferred what I was thinking!
Yeh agree, if they are not usable it would be good if they were grey. A visual cue that they are now not usable.
Though I'd like the log and menu buttons to work personally.


remove fs-plus

This removes fs-plus from the dependencies.

@Sertonix would you mind grabbing the latest commit from master on this PR so that we can test it to make sure everything works? I'd appreciate it, and then hopefully we can get this merged.


enhancement: Avoid calling reflect.New() when passing in slice of values to Scan()

What did this pull request do?
Tries to optimize Scan() method by recycling a struct when a user passes a slice of values to prevent calling reflect.New() every time regardless of the type.
User Case Description
When passing a slice of values, the run time is the same as passing in a slice of pointers. Users should not be penalized for such.

Relevant: https://github.com/go-gorm/gorm/issues/5372

My benchmark result suggests something promising.
BenchmarkScanSlice-12           	       9	 188888672 ns/op	66993973 B/op	 1011373 allocs/op
BenchmarkScanSlicePointer-12       3	 355558214 ns/op	61715941 B/op	 2051542 allocs/op

@Bexanderthebex Agreed, benchmark according to my benchmark, improvement is ~50%
BenchmarkScanSlice-12                  8         213268227 ns/op        68680647 B/op    1092749 allocs/op
BenchmarkScanSlicePointer-12      4         370261906 ns/op        79490372 B/op    2644559 allocs/op

New:
BenchmarkScanSlice-12             14          73788941 ns/op        31725140 B/op     499899 allocs/op
BenchmarkScanSlicePointer-12 15          69792858 ns/op        15323992 B/op     509812 allocs/op

Old:
BenchmarkScanSlice-12               13          83697560 ns/op        36216732 B/op     509938 allocs/op
BenchmarkScanSlicePointer-12   14          74349205 ns/op        15321940 B/op     509806 allocs/op

cc: @a631807682

@jinzhu when you have time, can you take a look? thank you!

@jinzhu when you have time, can you take a look? thank you!

Just submitted a small review.
In general looks great, thank you for your contribution. ❤


FluxCD - resources with references are always configured

Describe the bug
If we create a resource that utilises ref from another resource like
apiVersion: ec2.services.k8s.aws/v1alpha1
kind: RouteTable
metadata:
  name: production-private-route-table-eu-west-2c
  namespace: infra-production
spec:
  vpcRef:
    from:
      name: production
  routes:
    - destinationCIDRBlock: <IP_ADDRESS>/0
      natGatewayRef:
        from:
          name: natgateway-eu-west-2c
    - destinationCIDRBlock: <IP_ADDRESS>/16
      vpcPeeringConnectionID: pcx-0a7197b4f5ced6f01

then the target resource looks like:
spec:
  routes:
    - destinationCIDRBlock: <IP_ADDRESS>/16
      vpcPeeringConnectionID: pcx-0a7197b4f5ced6f01
    - destinationCIDRBlock: <IP_ADDRESS>/0
      natGatewayID: nat-07a301987eaa97785
  tags:
    - key: services.k8s.aws/namespace
      value: infra-production
    - key: services.k8s.aws/controller-version
      value: ec2-1.0.3
  vpcRef:
    from:
      name: production

So we can clearly see that natGatewayID was substituted. So it means that on every reconciliation by flux resource is changed twice. Also it is curious that vpcRef is not substituted.
Steps to reproduce
Just apply the first manifest
Expected outcome
No idea. Needs to be discussed. Probably - make substitutions in status field. Or use admission controller. No idea. The only thing I can propose - ask not to change the original description, otherwise I will need to find a way to remove a fields from reconciliation.

linked to #1898

This could be very likely a bug with ACK references.. we'll have to investigate this further. Thank you for reporting this @gecube !

/remove-lifecycle stale

Hello @gecube, I have made a fix to the EC2 controller.
The issue was happening due to an sdkFind in the customUpdate
function, that overwrites the spec, which is not expected. I will take
a look at the EKS issues as well, in case it's a similar issue.
Thanks for bringing this to our attention and feel free to reach
out for any other questions or concerns

@michaelhtm Hi! Thanks! Sound great. When could we check it on production (we need new release of ACK)?

@gecube We shipped a release for EC2, the EKS release will be coming soon


Added xref2csv reference

As suggested by @Rensvandeschoot, I've added a reference to xref2csv in the ASreview extensions section.

Thanks for adding this convertor to the documentation!


nulls out fields that are present in the retention policy from compli…

…ance on save. adds util functions for nullify, modifies pick function. expresses null operation with generic type Nullify

Coverage remained the same at 27.757% when pulling db988fc046f3112c6fa57c8f22177542b0ba65c4 on theseyi:up-types into 15373de09776c8c3b448766ef2cb7c9fde847fdc on linkedin:master.

Codecov Report

Merging #1284 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1284   +/-   ##
=======================================
  Coverage   12.44%   12.44%
=======================================
  Files          28       28
  Lines         643      643
  Branches      137      137
=======================================
  Hits           80       80
  Misses        563      563

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 15373de...db988fc. Read the comment docs.


Redbiom search issues in Qiita-rc

Updating as I find them.

searching metadata for two words separated by a space causes search to freeze -- infinite spinning wheel.

searching for taxa doesn't seem to work.

Typos:

"Taxon: The search will be only on close reference" -> "Taxon: The search will be only on closed reference"
"Warning! No samples where found!" -> "Warning! no samples were found"

closed here https://github.com/biocore/qiita/pull/2306


[BTRX-422][risk=no] Handle Ontology -> ES connections better

Addresses
https://broadinstitute.atlassian.net/browse/BTRX-422
Changes

Upgraded the ES Rest client which has more robust connection handling
Added some retry logic around executing the rest calls
Added some retry logic testing

Pull Request Test Coverage Report for Build 110

59 of 71 (83.1%)  changed or added relevant lines in 3 files are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.03%) to 70.526%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/org/broadinstitute/dsde/consent/ontology/service/ElasticSearchSupport.java
26
27
96.3%

src/main/java/org/broadinstitute/dsde/consent/ontology/service/ElasticSearchHealthCheck.java
7
10
70.0%

src/main/java/org/broadinstitute/dsde/consent/ontology/service/ElasticSearchAutocompleteAPI.java
26
34
76.47%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/org/broadinstitute/dsde/consent/ontology/service/ElasticSearchAutocompleteAPI.java
1
78.95%

src/main/java/org/broadinstitute/dsde/consent/ontology/actor/OntModelCache.java
8
83.78%

Totals

Change from base Build 108:
0.03%

Covered Lines:
1060

Relevant Lines:
1503

💛  - Coveralls


Automate ordering products in Meesho

I want to contribute with my automation skills to order products in meesho automatically using python language.

I wish to contribute. Kindly assign me this issue.

I wish to contribute. Kindly assign me this issue.

..


Uncaught TypeError: Cannot read property 'call' of undefined

When using markdown-pdf, v1.3.6, atom raise it.
Is reporting plugin-repo better?
Atom Version: 0.200.0
System: Mac OS X 10.10.3
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'call' of undefined
At /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238

TypeError: Cannot read property 'call' of undefined
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:238:28)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:153:19)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:71:30)
    at emitOne (events.js:77:13)
    at EventEmitter.emit (events.js:166:7)

Commands
     -0:00.8.0 markdown-pdf:convert (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config
{
  "core": {
    "disabledPackages": [
      "atom-terminal",
      "language-haml",
      "web-view",
      "language-haskell",
      "language-slim",
      "japanese-wrap"
    ],
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "editor": {
    "invisibles": {}
  }
}

Installed Packages
# User
markdown-pdf, v1.3.6

# Dev
No dev packages

This issue was moved to travs/markdown-pdf#54

@50Wliu Thanks :smile:


Load only header by default. Also apply network filters to autocomplete

This only loads the header first. Some breaking changes:
Converting res11 to res1d. If you open Res1D(...), you need to explicitly call read() afterwards before save(), or no result data gets saved.

This only loads the header first. Some breaking changes:
Converting res11 to res1d. If you open Res1D(...), you need to explicitly call read() afterwards before save(), or no result data gets saved.

I think we should avoid this breaking change. It is possible to have a check if the data was loaded when calling res1d.save() and if not then load it. Also when calling read() we would do one extra thing of reading data to a data frame, which is not necessary. I think similar considerations can also hold for modify().

Good points, I'll make those changes 👍

Thanks!


Setting cookie with csrf token

This is likely a documentation issue, but I can't quite sort out to how to set a cookie. Here's what I'm doing (and it does not appear to work since it only crawls as far as the login screen):
I have a cookie.json file that looks like this, and I'm trying to translate that to the runner:
{
    "X-CSRFToken": "foo",
    "Cookie": "bar"
}

I've tried this (wherein I just made up 'name' b/c that's not in my cookie). Grok'ing my code this seemed like the right approach:
      crawler.browserCookies = [{
        'name': 'not-in-my-cookie.json-file',
        'value': {"X-CSRFToken": "foo", "Cookie": "bar"}
      }];

I've also tried this:
      crawler.browserCookies = [{
        'name': 'made-this-up',
        "X-CSRFToken": "Foo",
        'Cookie': 'bar',
      }];

for what it's worth, i'm creating my cookie.json file using https://github.com/edx/edx-sitespeed, which we feed into sitespeed.io (the npm tool).
Thanks for any help!

Following up, I've attempted a few more different ways. Logging down some more code snippets.
const CrawlKit = require('crawlkit');
const AxeRunner = require('crawlkit-runner-axe');
const crawler = new CrawlKit('https://specific-page-behind-login-wall');
// You could add a finder here in order to audit a whole network of pages

      crawler.browserCookies = [{
        'name': 'sessionid',
        'value': 'big|hash',
        'domain': '.my.domain',
        'domain_specified': true,
        'domain_initial_dot': true,
        'path': '/',
        'path_specified': true,
        'secure': true
      },
      {
        'name': 'csrftoken',
        'value': 'myToken',
        'domain': 'subdomain.my.domain',
        'domain_specified': false,
        'domain_initial_dot': false,
        'path': '/',
        'path_specified': true,
        'secure': false
      }];

crawler.addRunner('aXe', new AxeRunner(), {
        runOnly: {
            type: 'tag',
            values: ['wcag2aa']
            }
    });

crawler.addRunner('cookies', {
getCompanionFiles: () => [],
getRunnable: () => function getCookies() {
  window.callPhantom(null, document.cookie);
},
});

crawler.crawl()
    .then((data) => {
        console.log(JSON.stringify(data.results, true, 2));
    }, (err) => console.error(err));

I seem to have sorted this out. Closing.


Merge to master

This change is

Reviewed 162 of 162 files at r1, 6 of 6 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Add CommitmentContextInput if required

Waiting for iota-core to be updated.

Closed by https://github.com/iotaledger/iota-sdk/pull/1872


Update README.md

A preview environment was automatically created via Qovery.
Click on the link below to follow its deployment and use it.
:point_right: [PR] template - Update README.md - 2023-02-02T14:13:03Z
Another comment will be posted when deployments are terminated

Your preview environment failed to be deployed !
Click on the link below to check the deployment logs.
:point_right: [PR] template - Update README.md - 2023-02-02T14:13:03Z


CSS extracts: ignore asides in production rules

Bikeshed now produces aside notations in pure production rules too. They need to be dropped before theses rules get parsed as text. A new test was added to check the feature.

Merging without review to hopefully fix data in Webref. @dontcallmedom FYI.


server(upload_server) must respond with error if file that client is trying to upload already exists

server accepts that file that client is trying to send and write it to disk even if file already exists. server should respond with error code 6

Issue is resolved with a6fcc8f89a383b926844ab478881a425bb21993d


Reorganizing temporal data drop down lists as some of them get quite long

The obvious example of this is the Indonesian Economy category. There are two immediate solutions that present themselves.

The easier solution, just make a category(ies) so that each category contains fewer entries, maybe things like GDP, Expenditures, Misc. This would be as simple as going through the Indonesian SD objects in SDlib and changing the category value for the Economy objects to something else. The code will automatically pickup on the new categories and add them to the dropdown list.

Slightly harder solution. Have the code detect when there are more than a certain number of entries in a category and split the category, at the top level menu or a new dropdown within the Economy section.

I went with option 1 for now - just categorized them into "nationwide" and "regional" economic trends which cleaned things up well. If there's a lull sometime, I'll look into option 2


plugin doesn’t work with kanban plugin - cannot paste links there

Great plugin, but recently I cannot paste link into kanban cards when autolink plugin is active
I already filled the issue there
https://github.com/mgmeyers/obsidian-kanban/issues/118

Ah, I'll have to add a check to ensure that it's an obsidian editor! Thanks for the report!

I have noticed the very same thing – pasting links in a Kanban is not possible as long as the auto-title-plugin is enabled. see the respective issue which I created there.

I had a look into this issue because it was also happening with my CookLang plugin.
The issue is here: https://github.com/zolrath/obsidian-auto-link-title/blob/0b2c5b804dbfc6e3b32bbef8d5d0d6f77adec969/main.ts#L64
If this returns null (because it's not a markdown view and therefore has no editor) it still tries to use it in future checks (specifically CheckIf.isMarkdownLinkAlready(editor)) but because editor is null, those checks throw errors.

I've hooked into the newish "editor-paste" event and no longer trigger any paste changes in search fields, nor does it have any effect in the Kanban plugin so you should be able to use Kanban normally as if this plugin were not enabled!

I use a simple workaround for this problem until It is solved!
First, I open a temporary note and paste my link there. Once auto-link-title has done its job, I simply paste it back to my kanban board.


ENH: add scipy.special.softplus

Reference issue
Closes #17905
What does this implement/fix?
This Pull Request implements a numerically stable version of the softplus function by wrapping the logaddexp function of the numpy API. All test cases have been covered.
Additional information
No.

Is the naming already decided? While pytorch calls it softplus, it‘s not a common name that I have met often. Something like log1pexp is also a bit cryptic. I just wanted to make sure, it‘s a deliberate decision.

Is the naming already decided? While pytorch calls it softplus, it‘s not a common name that I have met often. Something like log1pexp is also a bit cryptic. I just wanted to make sure, it‘s a deliberate decision.

@lorentzenchr not at all 😃 Feel free to propose an alternative

@aadya940 thank you for the updates!
Please keep in mind our CI when making updates. It needs manual approval for GitHub actions but there is still CircleCI and CirrusCI running every time you make an update.
You can add in your commit message one or both skip instructions: [skip cirrus] [skip circle].
This is very important for us as our ressources are limited and shared with everyone.
One last thing, please take a moment to name your commits properly. You can have a look at our documentation here for some guidelines: https://scipy.github.io/devdocs/dev/contributor/development_workflow.html#writing-the-commit-message
No need to rewrite the history, in the end we use squash-merge. Also a force push breaks GitHub's UI so we ask people to not do that without asking us first.

Tensorflow also calls it softplus. That name seems to stem from Dugas et al 2001.
In that case, better keep the name softplus.

@person142 @rgommers

Can anyone help me with what is breaking the build docs?

Can anyone help me with what is breaking the build docs?

I would suggest to try reproduce the issue locally. From the log I am not sure what is happening. We have issues from time to time when the branch is far from main, but it does not seem to be the case here.
python dev.py doc

Can anyone help me with what is breaking the build docs?

I would suggest to try reproduce the issue locally. From the log I am not sure what is happening. We have issues from time to time when the branch is far from main, but it does not seem to be the case here.
python dev.py doc

Couldn't find a solution, looks like its something from jsonschema . What might I be missing?

You are not missing anything :) there is actually an issue right now. Someone opened an issue about it so don't worry about it. Hopefully the issue will get resolved this week. (Locally you should be able to build with the previous version of jsonschema if you want).

@rgommers

What's the status of this PR? I guess the work is done.

Hi @aadya940 - while we wait for a review here could you fix the conflicts that are now showing up? Apologies for the delay - most of our reviewers are volunteers and so it may take some time for them to be available.

It looks like the linter picked up something:
scipy/special/tests/test_basic.py:44:27: F811 Redefinition of unused `mathieu_odd_coef` from line 42
scipy/special/tests/test_basic.py:44:45: F811 Redefinition of unused `mathieu_even_coef` from line 42
Found 2 errors.

@aadya940 would you take a look? Thanks!

Would it be possible to make this work with the Array API?

@aadya940 Are you still happy with this? I'll fix the CI failures, which just need a small tolerance bump.
Note that a name like log1pexp was also suggested for this function; around the same time, gh-19021 suggested a log1mexp function. We could consider combining them with a sign argument (the sign of exp(x)) or a weight argument like b of logsumexp. However, perhaps it's OK to keep them separate, since the motivations/use cases are pretty different?

@aadya940 Are you still happy with this? I'll fix the CI failures, which just need a small tolerance bump.
Note that a name like log1pexp was also suggested for this function; around the same time, gh-19021 suggested a log1mexp function. We could consider combining them with a sign argument (the sign of exp(x)) or a weight argument like b of logsumexp. However, perhaps it's OK to keep them separate, since the motivations/use cases are pretty different?

Keeping a sign argument seems a good idea IMO :) . Please let me know if I can help.

Keeping a sign argument seems a good idea IMO

But then that raises the issue of naming the function again. Is it common for the "softplus" function to have a sign argument?
It also complicates the implementation - we can't just delegate to np.logaddexp (with real arguments, anyway).

Re: implementation where sign is negative, see gh-19201. You get better precision if you branch depending on the value.
And since this is an elementwise function, sign should be allowed to be an array, too. So you can't just branch with an if statement in Python; you would either need to use _lazywhere (slow) or compile this as a ufunc.
Re:

ValueError("log(1 - e^x) is undefined for x >= 0")

Rather than emitting an error, a ufunc would probably return NaN in this case. Other options would include returning a value and sign of the result as separate outputs, or allowing the output to be complex. (The log of -x is log(x) + np.pi*1j). Personally, I would prefer to just return NaN. If the user wants full flexibility for complex input/output, they can use logsumexp.
So those are reasons why I wrote that it complicates the implementation. It's all simple, but it is much more complicated than what is here.

@mdhaber It looks like implementing log1pexp and log1mexp separately would make things much simpler considering the implementation details and dis-similarity in their use cases.  :))

Thanks @aadya940 et al!
@NeilGirdhar saw your comments about adding the inverse and making this array API compatible. PRs welcome!

Was just updating the release notes for the factorial changes, and noticed that this doesn't have an entry yet.