Async without ReactPHP?

Hello! Thank you very much for the work done!
Can you please tell me if it is planned to add native PHP support? Would like to see something like:
// Client

public function receive(): Message
{
     do {
        \Fiber::getCurrent() && \Fiber::suspend();
        $message = $this->pollMessage(); // Message|null
     } while ($message !== null);

    return $message;
}

// Sync
$message = $channel->receive();

// Async
$first = new \Fiber($channel1->receive(...));
$second = new \Fiber($channel2->receive(...));

// ... process fibers (using "while(!$fiber->isTerminated())" + "$fiber->resume()")

$first->getReturn();
$second->getReturn();

Hey @SerafimArts, the current plan is combined both clients into one still with ReactPHP as backend and exposing a fiber based API that doesn't expose any promises.

ReactPHP does not provide the ability to manually control the event loop.
Like:
while ($loop->isRunning()) {
    $loop->tick();

    // Do something else not related to the loop
}

In any case, thanks for the reply! I will think about how to solve the problem =(

Well what is the problem that you are trying to solve by controlling the event loop?

The absence of a global breakpoint (i.e. the physical absence of a while(true)).
Well, the physical absence of the event loop, too, because. in fact, it is simply not needed =)))

While we officially don't recommend it, you can do something like this to control the event loop:
while(true) {
    Loop::addTimer(0.01, static function (): void {Loop::stop()});
    Loop::run();
}

It's too strong looks like a perversion)))

It is :joy:


can i run it on windows 10 machine with cpu only (no gpu)?

yes you can. Just use --no_cuda flag while running the code

Thanks @novoforce


Update Documentation for vNext Release

The changes / updates for this issue relate to the azure/vdc#56 Pull Request.
The following updates need to be made to docs in the vdc/vnext branch:

[x] vdc/docs/readme.md

[x] update title to Azure VDC Documentation
[x] update section titles to be H tags as well as links, with description of that docs section to give context

[x] vdc/readme.md - update to be consistent with vdc/docs/readme.md
[ ] Add documentation page to highlight changes from v1 to vNext
[x] vdc/docs/understand/toolkit.md

[x] Update module file names to deploy.json and parameters.json in diagram
[x] Modules section, fix broken links to modules

[x] vdc/docs/understand/modules.adoc

[x] update module file names
[x] update lists of deployment modules

[x] vdc/docs/extend/creating-new-modules.adoc

[x] update for module changes in vNext

[x] vdc/docs/reference/readme.md

[x] fix broken authenticate with Azure link

[x] vdc/docs/adoc-file-format.adoc

[x] add mention to download AsciiDoc plugin when using VS Code to edit documentation

[ ] vdc/docs/extend/integration-testing.adoc

[ ] update as tests have changed to use Pester in v2

[ ] Add missing readme.md to "SQLServer" module
[ ] Add missing readme.md to "SQLDatabase" module

Here are some items / changes that need to be assessed:

[ ] What additions / changes need to be added for Azure DevOps orchestration being added to the documentation?
[ ] Have the archetype.json changed for vNext?
[ ] Should some docs still use AsciiDoc? Markdown is a more highly adopted standard?

@bennage @jorgecotillo This is the issue with the list of changes / updates to make to the vNext documentation. I've already made a bunch of these updates, you can find them in the azure/vdc#56 pull request. I also have some items that need to be addressed at the end of the list that I need some input on. Also, I have a couple other things I discovered (like missing readme.md files) that I'll post new issues for separately. Let me know if you have any questions.

I submitted PR #62 for the item "Add missing readme.md to "SQLServer" module and update to vNext" in the list.


Fix posting of multiple commands in response to an event

This PR fixes the bug which did not allow to post more than one command in response to incoming event.

@vlad-lubenskyi, PTAL.


Update departments

Added "Geociências" department
Department names update acording to UA website

Looks good to me! Thank you :+1:


feature extraction error

I am using Tensorflow 2.7, ubuntu 20, cuda 11.8, pytorch  1.12, python 3.8. I cloned the repo, downloaded the dataset, and tried running the code but got this error. can anyone help?

Is there any update?


How to hide cache-control header on logout?

When a website user logs out, using the api logout function, the system redirect displays an ugly text header, eg: HTTP/1.0 302 Found Cache-Control: no-cache, private Date: Mon, 23 Jul 2018 10:58:03 GMT Location: http://www.somedomain.co.uk/login Redirecting to http://www.somedomain.co.uk/login
Is there anyway to hide this header on logout? Is it part of Laravel or Symfony?

this part of the redirect() function in Laravel i don't know if there is a way to hack it

I've search in Google but still not found a way to hide the cache message that shows before the redirect. To reproduce in the Dream template:

login
logout via the paddlock icon in the header
click the profile icon - the header message then shows.

yes i have searched too, couldn't find a way


Remove spurious object subclassing

We don't need it in Python 3.

Codecov Report

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

@@          Coverage Diff          @@
##           master    #14   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         114    114
=====================================
  Hits          114    114

Impacted Files
Coverage Δ

jenkins_job_linter/linters.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


fix clinical trials serialization errors

Seems simple enough to me! My only thought is this seems a little unreadable for the sake of leaving it in the schema as one line each. You might consider breaking it up into a helper function like the process_contributors ones just to make it a little more accessible to read. No need to if you don't want to though!

sweet :+1:


[cpp client] fix set_schema_info logic

Signed-off-by: xiaolong.ran<EMAIL_ADDRESS>Motivation
When we are verifying DEB and RPM, executing go build . fails with the following error:
[root@0a71d4a4fdfe consumer]# go build .
# github.com/apache/pulsar/pulsar-client-go/pulsar
/tmp/go-build921222889/b049/_x003.o: In function `_cgo_cf55d0d7869c_Cfunc_pulsar_consumer_configuration_set_schema_info':
/tmp/go-build/cgo-gcc-prolog:292: undefined reference to `pulsar_consumer_configuration_set_schema_info'
collect2: error: ld returned 1 exit status

The problem is that the pulsar_consumer_configuration_set_schema_info function is not public, and the function is not found in the built rpm or deb package. The pull request will fix it.

@tuteng @codelipenghui PTAL

LGTM

run java8 tests


Add ResNet, ResNetV2, and ResNeXt variants

This PR adds declarations of ResNet, ResNetV2, and ResNeXt variants. In order to add new models into keras-applications,  we should first add those declarations into keras. Please refer to the cores (keras-team/keras-applications#26).

In order to add new models into keras-applications, we should first add those declarations into keras.

That seems like a problem. Could you detail what the issue is?
Will try to review both PRs tomorrow.

@fchollet, all the models have been accepted kwargs since the recent backend interfacing changes. The keras_modules_injection in keras can put backend into kwargs at runtime. Can we make the same function in keras-applications not keras?
For example, in keras-applications/tests/application_tests.py, not keras-applications but keras modules have been imported (e.g., from keras.applications import densenet). If we have keras_modules_injection in keras-applications, we can decouple the application importing and calling from keras (e.g., from keras_applications import densenet; model = densenet.DenseNet121()).

The keras_modules_injection in keras can put backend into kwargs at runtime. Can we make the same function in keras-applications not keras?

Yes, that's a good idea, we should definitely consider this. We just need to make sure it would also work for tf.keras: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/applications/init.py

@fchollet, I would like you to confirm that I understood it correctly. Please refer to the tests/applications_test.py in keras-team/keras-applications#26. I think that the way to add new models are:

Add core files into keras-applications and test them with locally defined keras_modules_injection on tests/applications_test.py.
Add wrapper files into keras like this PR.

@taehoonlee ok, I just saw the test you added in the other PR. Initially I thought you wanted to abstract the module injection logic directly into keras_applications, so that keras would only call that abstraction rather than wrapping individual models on its own.
Your proposed solution makes sense and looks good to me. The workflow you describe for adding new applications looks good to me.
I will review your other PR. Thanks!

@fchollet, Since keras-team/keras-applications#26 is merged, I think this PR also needs to be merged. I would like you to review this PR at your convenience.


Keybase is clashing with SELinux

I'm getting a lot of
type=AVC msg=audit(1512572966.824:4345): avc:  denied  { execmem } for  pid=5279 comm="Keybase" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=process permissive=1
        Was caused by:
        One of the following booleans was set incorrectly.
        Description:
        Allow unconfined executables to map a memory region as both executable and writable, this is dangerous and the executable should be reported in bugzilla")

        Allow access by executing:
        # setsebool -P allow_execmem 1
        Description:
        Allow unconfined executables to make their stack executable.  This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla")

        Allow access by executing:
        # setsebool -P allow_execstack 1

in my audit.log.
It would be nice if Keybase didn't try to make it's stack executable.

Given the used programming stack it's rather impossible


How to generate bitstream (wiki is outdated)

I've been trying to generate the bitstream targeting VCU118 for benchmark purposes.
To generate the bitstream, the wiki says to run Vivado using create_vcu118_proj.tcl, which is now located in scripts instead of projects.
Even after manually modifying the script to satisfy the current repository (redirecting rtl to hdl, upgrading IP versions, etc.) the build outputs error at the following step:
# update_compile_order -fileset sources_1
# create_ip -name ip_handler -vendor ethz.systems -library hls -version 1.2 -module_name ip_handler_ip -dir $ip_dir/vu9p
ERROR: [Coretcl 2-1134] No IP matching VLNV 'ethz.systems:hls:ip_handler:1.2' was found. Please check your repository configuration.

It would be most helpful if there was an up-to-date method detailing how to generate the bitstream.

In your case, try change the vendor name to ether.systems.fpga.

I've been trying to generate the bitstream targeting VCU118 for benchmark purposes.
To generate the bitstream, the wiki says to run Vivado using create_vcu118_proj.tcl, which is now located in scripts instead of projects.
Even after manually modifying the script to satisfy the current repository (redirecting rtl to hdl, upgrading IP versions, etc.) the build outputs error at the following step:
# update_compile_order -fileset sources_1
# create_ip -name ip_handler -vendor ethz.systems -library hls -version 1.2 -module_name ip_handler_ip -dir $ip_dir/vu9p
ERROR: [Coretcl 2-1134] No IP matching VLNV 'ethz.systems:hls:ip_handler:1.2' was found. Please check your repository configuration.

It would be most helpful if there was an up-to-date method detailing how to generate the bitstream.

Could you kindly let me know if you have been able to generate the bitstream file? If so, could you please provide me with some instructions on how to do it?

I am trying to generate the bitstream but I am hitting the same error, was anyone able to proceed further?
create_ip -name mac_ip_encode -vendor xilinx.labs -library hls -module_name mac_ip_encode_ip -dir $ip_dir/vu9p
ERROR: [Coretcl 2-1134] No IP matching VLNV 'xilinx.labs:hls:mac_ip_encode:*' was found. Please check your repository configuration.
Thanks,
Liza

In your case, try change the vendor name to ethz.systems.fpga.

I tried to change the vendor name from ethz.systems to ethz.systems.fpga, but getting the same issue

I think you should try this repo, "https://github.com/fpgasystems/Vitis_with_100Gbps_TCP-IP" It uses the same repo and I was able to generate the bitstream using that repo

I think you should try this repo, "https://github.com/fpgasystems/Vitis_with_100Gbps_TCP-IP" It uses the same repo "fpga-network-stack" and I was able to generate the bitstream using that repo

Thank you for your response, Did you try testing the bitfile on hardware? I see that in this repo they are using a 100G Ethernet subsystem, whereas I want a 10G Ethernet subsystem so that I can test it on my hardware Alveo u50. Could you let me know which hardware platform have you targeted this design ?
Thanks,
Liza

I implemented it on U250. I don't know if it works on U50.
Thanks, Hiruna

Where you able to test the bitfile on U250 hardware?

I use XRT interface to program the bitstream on U250. You should follow these two videos.

https://youtu.be/nvU2ZBnAaz4?si=Y2Mr1FXuQ4b4FYjQ
https://www.xilinx.com/video/software/xilinx-xclbin-utility-introduction.html

I use XRT interface to program the bitstream on U250. You should follow these two videos.

https://youtu.be/nvU2ZBnAaz4?si=Y2Mr1FXuQ4b4FYjQ
https://www.xilinx.com/video/software/xilinx-xclbin-utility-introduction.html

Okay, Thank you
I did a git clone of this repo, the fpga-network-stack folder is empty
https://github.com/fpgasystems/Vitis_with_100Gbps_TCP-IP

Don't just download the clone use this code
git clone --recurse-submodules https://github.com/fpgasystems/Vitis_with_100Gbps_TCP-IP.git or
git clone --recurse-submodules git@github.com:fpgasystems/Vitis_with_100Gbps_TCP-IP.git submodules needs to be downloaded.

Reclone the repo and run the following code
mkdir build
cd build
cmake .. -DFDEV_NAME=u250 -DTCP_STACK_EN=1
make ip

Reclone the repo and run the following commands
mkdir build
cd build
cmake .. -DFDEV_NAME=u250 -DTCP_STACK_EN=1
make ip

If you are using U50 use that instead. Before you run the remaining codes generate a license file for 100G subsystem and properly install it to your system. Next run these commands. Include the platform file location in your system as the DEVICE attribute.
cd ../
make all TARGET=hw DEVICE=/opt/xilinx/platforms/xilinx_u250_gen3x16_xdma_3_1_202020_1/xilinx_u250_gen3x16_xdma_3_1_202020_1.xpfm USER_KRNL=iperf_krnl USER_KRNL_MODE=rtl NETH=4

Make sure to check whether the platform file is comparable with the Vitis HLS versions that you are running

yes, I have the XRT and Vitis installed compatible with u50 card, when I do the "make all" I hit the following error which I was facing in this https://github.com/fpgasystems/fpga-network-stack
Could you let me know how you resolved this issue?
ERROR: [Coretcl 2-1134] No IP matching VLNV 'ethz.systems.fpga:hls:toe:*' was found. Please check your repository configuration.
while executing

"source $path_to_pack_tcl/network_stack.tcl"
(file "kernel/network_krnl/package_network_krnl.tcl" line 85)
while executing

"source -notrace ${package_tcl_path}"
(file "scripts/gen_xo.tcl" line 53)
INFO: [Common 17-206] Exiting Vivado at Thu Mar 14 12:57:52 2024...
make: *** [config_rtl.mk:4: _x.hw.xilinx_u50_gen3x16_xdma_5_202210_1/network_krnl.xo] Error 1

I think they update their repo recently if you send me your email I'll share my the files with you.

I think they update their repo recently if you email me I'll share my files with you.

Thank you for your help
This is my email id<EMAIL_ADDRESS>

I think they update their repo recently if you email me I'll share my files with you.

@lizajoseph Hi, I'm currently working on reproducing this project on U50 too.  I'm wondering if you could share the files with me. My email is<EMAIL_ADDRESS>Thanks!

I think they update their repo recently if you email me I'll share my files with you.

Thank you for your help This is my email id<EMAIL_ADDRESS>
I'm currently working on reproducing this project on U200.I'm wondering if you could share the files with me. My email is<EMAIL_ADDRESS>Thank you very much!

I think they update their repo recently if you email me I'll share my files with you.

@lizajoseph Hi, I'm currently working on reproducing this project on U50 too. I'm wondering if you could share the files with me. My email is<EMAIL_ADDRESS>Thank you very much!

I'm currently working on reproducing this project on U200.I'm wondering if you could share the files with me. My email is<EMAIL_ADDRESS>Thank you very much!

Hi,
This is the files
Vitis_with_100Gbps_TCP-IP
https://drive.google.com/drive/folders/1Lp-_Y95DDuWCCdMeKZ08xm6HkjnVaEPt
Hiruna
On Thu, May 16, 2024 at 11:05 AM zjb2023 @.***> wrote:

I think they update their repo recently if you email me I'll share my
files with you.
@lizajoseph https://github.com/lizajoseph Hi, I'm currently working on
reproducing this project on U50 too. I'm wondering if you could share the
files with me. My email is @.*** Thank you very much!
I'm currently working on reproducing this project on U200.I'm wondering if
you could share the files with me. My email is @.***
Thank you very much!
—
Reply to this email directly, view it on GitHub
https://github.com/fpgasystems/fpga-network-stack/issues/30#issuecomment-2113927784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPOR62HYGE5XGKR3WKA5ILZCQO6HAVCNFSM5LOAX4Q2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJRGM4TENZXHA2A
.
You are receiving this because you commented.Message ID:
@.***>


If you then load a SEG saved on the same series that will load fine too.

But if you try and load the SR after the SEG (or a second time once the seg is loaded) OHIF (and chrome) will become unresponsive.

Steps to Reproduce
There are no image sets in the OHIF DEV Viewer Demo with an SR of saved annotations and a SEG or RTstruct.
I've created the screen shots above using  https://viewer-dev.ohif.org/viewer/dicomlocal?StudyInstanceUIDs=2.16.840.1.114362.1.12114306.25269253871.663129508.995.565
You can download it here https://fileshare.uhn.ca/download/dae7eb16-b2e9-4fbe-b63f-7071699abe22
Please note that this file upload will expire in 30 days.

Load the image set in Basic Mode
Drag the SR into the main frame (3 circular annotations appear)
Drag the SEG into the main frame (it will render)
drag the SR into the main frame (OHIF will Hang)

Alternate

Load the image set in Basic Mode
Drag the SEG into the main frame (it will render)
drag the SR into the main frame (OHIF will Hang)

The current behavior
Loading a DICOM SEG or RT STRUCT forces the view to switch to 3D.  Loading the SR based annotations after that appears to crash.
The expected behavior
SRs should load properly on the 3D viewer after a Seg has loaded.  You can create new annotations after loading a SEG so the 3D window seems to handle it however it will crash when you try and export the report (can't do this on the demo but it does hang on 3.9.14 on QIPCM)
OS
Win 11
Node version
OHIF DEMO version
Browser
Version 125.0.6422.61 (Official Build) (64-bit)

This should have been fixed now with 3.9, can you double check? please re-open if not


Negative w parameter

Dear Markus,
a relatively short time series behaved as expected in testing purposes. However, I have noticed that w takes on negative sign and hinders further computations depending on log10 when elongating the time series. Do you have any hints on how this might (perhaps mathematically) occur or what this could imply?
I find your package great and unique, would really love to experiment with it without having to implement it myself at the moment, and thus hope for your thoughts.
Best
Philipp

Dear Philipp
I couldn't find any problems in the code. Would you send me the data you used<EMAIL_ADDRESS>A negative w should not be possible.
Best
Markus


close window by title

is it possible to close a window by its title?

Yes, just use jq to parse the result of yabai -m query --windows.
eg:
WINDOW_TITLE="window title"
yabai -m window --close $(yabai -m query --windows | jq ".[] | select(.title==\"$WINDOW_TITLE\") | .id")


ENYO-6145: Fix Scrollable's focus target after using paging control

Checklist

[x] I have read and understand the contribution guide

[x] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[x] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Scrollable can set focus to an unexpected component when using the remote's paging buttons (channel up/down). After scrolling stops, it attempts to set focus to the control nearest to the previously focused control's position in the view, determined by reverse direction. However, this fails when spottable controls are spaced far apart (ex: 1 per scrolled view). This can result in the previously focused control (now off-screen) gaining focus unexpectedly, then the Scroller "bounces" back to the previously-scrolled position.
Resolution
We need to determine if the "next" target is within (or intersects) the current viewport.
Additional Considerations
I don't think we have rules around if no Spottable controls are within a newly scrolled view. At this point, we simply spot nothing. The Scroller container is still the active container, so pressing a 5way directional key will keep focus in the Scroller. However, since nothing could have focus in this scenario, the remote's paging buttons (channel up/down) will stop working.

LGTM! 👍


new bot properties openWithHint and appPasswordHint

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
2021-08
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
2021-08
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[x] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Only Adding new properties , below is NA.
Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit (including refactoring) and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[x] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

/azp run

@hailiu2586  please update the latest version of the swagger  (221-5-01-preview) with these properties too, since that will be GA'ed into a release version in a few weeks

This PR would require breaking changes approval or a new API version. Please see breaking changes task for failure details and this link for breaking changes process: https://microsoft.sharepoint.com/teams/azureecosystem/servicerings/Shared Documents/Breaking Changes/Azure Breaking Changes Program Definition- V1.2.pdf

Service requested for breaking changes review.

/azp run

@chiragg4u As Jeffrey approved the breaking changes, you might want to revisit the PR.
Personally I am not really sure about the meaning of openWithHint and appPasswordHint (how this relates to keyVault secret resourceId?)

@weidongxu-microsoft , those two fields are optional parameters for a bot service, when those two fields are set, the bot service will have an extra link shown as following.  I see there are still two checks failing, any idea how we can fix this and proceed?


Cleanup of categories and adding of AnalysisTechnique

adding category "anatomicalLocation" to: CellType, Organ, OrganismSubstance, SubcellularEntity, UBERONParcellation
adding category "technique" to: AnalysisTechnique, StimulationTechnique, Technique
adding new schema AnalysisTechnique
adding new instance for Terminology ("analysis technique")
adding one instance for AnalysisTechnique

@UlrikeS91 I hope I've got everything.

@UlrikeS91 I hope I've got everything.

Yes and no, you had everything before I noticed that my list was missing something 😆
Would you mind adding the new terminology LivePaperSectionType to this PR? Details are described in https://github.com/HumanBrainProject/openMINDS_publications/pull/12 and I added it to my sheet as well (if you want to add the PR reference as you did for all the other ones).

@apdavison I need your input / feedback for the new controlled terms for LivePaperSectionType:

xxxSection or xxxPaperSection or xxxLivePaperSection ??
customXXX definition: "A 'custom XXX' is used to describe custom elements within a live paper." ??
genericXXX definition: "A 'generic XXX' is used to describe generic elements within a live paper." ??
modelXXX (or computationalModelXXX ?) definition: "A 'model XXX' is used to describe a model element within a live paper." ??
morphologyXXX (or neuronMorphologyXXX ?) definition: "A 'morphology XXX' is used to describe a morphology element within a live paper." ??
traceXXX (or neuronalTraceXXX ?) definition: "A 'trace XXX' is used to describe a trace element within a live paper." ??

Hi @lyuba - please remove the controlled terms for LP section types.

@apdavison & @UlrikeS91 LivePaperSectionTypes are removed from this PR (based on decision in cf. https://github.com/HumanBrainProject/openMINDS_publications/pull/12#issuecomment-1446214026)

@aeidi89 feel free to merge if you approve this PR now
(@apdavison concerns were addressed)

@aeidi89 no that definition does not make sense. It is way too specific. An 'analysis technique' refers to any mathematical analysis applied to any type of data.
I will add definitions for all terminologies later on (none of them have one at the moment). I think we should do this in a separate PR.

@lzehl Thank you for explaining, the ward clustering makes more sense then as well. I'll merge and close this PR.


Add test and fix typo in fill value processing in grid.py

The refactoring of the code linting in #214 uncovered a minor bug in the way fill values are passed to an axis.
This should be fixed asap.

Closed via #218


AttributeError: module 'google.cloud.language_v1' has no attribute 'PartOfSpeech'

Hi,
I'm using the sample code provided at the documentation to analyze_syntax, but the following part is not working:
response = client.analyze_syntax(request = {'document': document, 'encoding_type': encoding_type})
# Loop through tokens returned from the API
for token in response.tokens:
# Get the text content of this token. Usually a word or punctuation.
text = token.text
print(u"Token text: {}".format(text.content))
print(
u"Location of this token in overall document: {}".format(text.begin_offset)
)
# Get the part of speech information for this token.
# Parts of spech are as defined in:
# http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
part_of_speech = token.part_of_speech
# Get the tag, e.g. NOUN, ADJ for Adjective, et al.
print(
u"Part of Speech tag: {}".format(
language_v1.PartOfSpeech.Tag(part_of_speech.tag).name
)
)
it returns an error: AttributeError: module 'google.cloud.language_v1' has no attribute 'PartOfSpeech'
What should I do to fix this?
Thank you.

I found out how to use it,
instead of : language_v1.PartOfSpeech.Tag(part_of_speech.tag).name
it should be: language_v1.types.PartOfSpeech.Tag.Name(part_of_speech.tag)
The documentation needs to be updated.


Extension of AbstractMojoTestCase from maven testing harness: injecting projects w/o creating stubs

Simple extension of AbstractMojoTestCase, adding the possibility of injecting a project without having to create project stubs.
Example usage:
    @Test
    public void testVersionlessDependency() throws Exception
    {
        SetMojo myMojo = createMojo( "set", "src/test/resources/org/codehaus/mojo/set/versionless-01/pom.xml" );
        assertNotNull( myMojo );
        myMojo.execute();
    }

@ajarmoniuk Thanks again.
If you wish you can add yourself to contributors list.


busybox: Add a fix for CVE-2021-28831

Motivation for this change
It's a security fix, see #120362 and #120363
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 121578 at 46c2d4c5 run on aarch64-linux 1

2 packages marked as broken and skipped:

nix-exec
nixui

2 packages failed to build:

dydisnix
libnixxml

63 packages built successfully:

bundix
busybox
busybox-sandbox-shell
cabal2nix
cachix
crate2nix
dep2nix
disnix
disnixos
epson-escpr2
fcron
fusionInventory
go2nix
haskellPackages.cachix
haskellPackages.hercules-ci-agent
haskellPackages.hercules-ci-cnix-expr
haskellPackages.hercules-ci-cnix-store
haskellPackages.nix-paths
haskellPackages.update-nix-fetchgit
hercules-ci-agent
hydra-unstable
lazpaint
lightdm
lightdm-enso-os-greeter
lightdm-mini-greeter
lightdm-tiny-greeter
lightdm_gtk_greeter
lightdm_qt
molly-guard
nix (nixStable)
nix-bundle
nix-direnv
nix-doc
nix-du
nix-index
nix-pin
nix-plugins
nix-prefetch-bzr
nix-prefetch-cvs
nix-prefetch-docker
nix-prefetch-git
nix-prefetch-hg
nix-prefetch-scripts
nix-prefetch-svn
nix-serve
nix-update
nix-update-source
nixFlakes (nixUnstable)
nixStatic
nixos-generators
nixos-shell
nixpkgs-review
pantheon.elementary-greeter
pipework
python38Packages.nix-kernel
python38Packages.nixpkgs
python38Packages.pythonix
python39Packages.nix-kernel
python39Packages.nixpkgs
python39Packages.pythonix
update-nix-fetchgit
vgo2nix
vulnix

2 suggestions:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/os-specific/linux/busybox/default.nix:141:5:
    |
141 |     license = licenses.gpl2;
    |     ^

warning: missing-phase-hooks
configurePhase should probably contain runHook preConfigure.
Near pkgs/os-specific/linux/busybox/default.nix:75:3:
   |
75 |   configurePhase = ''
   |   ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

Where did you get the patch from? Can we fetchpatch it?

I got it here: https://git.busybox.net/busybox/commit/?id=f25d254dfd4243698c31a4f3153d4ac72aa9e9bd
I pushed a version that uses fetchpatch.

@TethysSvensson Can you backport this?

@mweinelt Yes, though I do not feel too comfortable about it. 20.09 is still running 1.31.1, and the patch does not apply cleanly. I think I could backport the patch, but I would not be sure if I was missing context. Perhaps we could bump 20.09 to use 1.32.1 as well?


close all issues

yes

Sorry but had to close it, or the file preview is lagging the hell out of my browser


find_package(doctest REQUIRED)

Hi everyone,
I have been followed first item in the guide in link https://github.com/doctest/doctest/blob/master/doc/markdown/build-systems.md#cmake
and an other reference as
https://github.com/doctest/doctest/blob/7b9885133108ae301ddd16e2651320f54cafeba7/examples/installed_doctest_cmake/executable/CMakeLists.txt#L5
Here is my CMakeLists.txt file
cmake_minimum_required(VERSION 3.16)

project(capability-query)

# # specify the C++ standard
# set(CMAKE_CXX_STANDARD 11)
# set(CMAKE_CXX_STANDARD_REQUIRED True)

find_package(doctest REQUIRED)
....

I got failure as below:
CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "Finddoctest.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "doctest", but
  CMake did not find one.

  Could not find a package configuration file provided by "doctest" with any
  of the following names:

    doctestConfig.cmake
    doctest-config.cmake

  Add the installation prefix of "doctest" to CMAKE_PREFIX_PATH or set
  "doctest_DIR" to a directory containing one of the above files.  If
  "doctest" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
See also "/home/linux/Workspace/00.projects/more-cpp-idioms/10.capability-query/build/CMakeFiles/CMakeOutput.log".

Can you tell me where I can reference Finddoctest.cmake to push into CMAKE_MODULE_PATH.
Thanks
Leo

How did you install doctest (manual download? git submodule? vcpkg? conan?)?

Yep, doctest is not installed, hence cmake doesnt find it.


Increase chart version

What and why?
Bump the helm chart version
How to test?
Trello

/deploy foxj


Invert standalone paramter

The asciidoctor api option "Standalone" and cli flag "no-header-footer" are inverses of each other. The flag should be inverted when passing between them

Fixes in #24


Bugfix: Integer given as string in models.py

Bugfix, related issue is https://github.com/rossp/django-helpdesk/issues/360.
This reportedly caused problems under postgresql.
Thanks to @alexbarcelo for spotting.
Changes

changed max_length given by string to integer;

Will merge this into the Django 1.9 compatibility branch, since it only occurs under Django >= 1.9 https://github.com/rossp/django-helpdesk/issues/358


Low contrast on backticked words inside links when hovered

Bug Report
First of all, thanks for the theme! It works really well
Environment
Zola version: 0.17.2
tabi commit: 4952ce88
Expected Behavior
Good contrast on backticked words inside links when hovered
Current Behavior
Low contrast on backticked words inside links when hovered

Step to reproduce

Create a link with backticked word inside. For example:

[some `backticked word`](https://www.google.com/)

Hover the created link
Observe the low contrast on the backticked word

Hi there,
Thank you for bringing this issue to my attention and for the detailed bug report!
I've identified the cause of the low contrast on backticked words inside links when hovered and implemented a fix.
The solution was to make the code background color inherit the same background as the hovered link:
https://github.com/welpo/tabi/blob/f8891dba2cc0d1a8619bf9b01bb06e4c7560b7ec/sass/parts/_code.scss#L40-L42
With this change, the contrast for backticked words inside hovered links will be the same as for normal text. Here's what it looks like:

Please pull the latest changes and check it on your end. Let me know if it works for you or if there are any other concerns!
Thank you for using tabi and for bringing this to my attention. Feedback like yours is invaluable for continuous improvement.

I appreciate the quick fix and detailed response. Pulling the latest changes certainly fixes the issue. Thanks, again!


Cannot deploy production huginn

I am trying to deploy this on an ubuntu 16.04 server. Every time I pull up the website I get 502 bad gateway. I believe my env file is correct, unicorn conf is correct, and nginx conf is correct. I found another issue that is very similar to mine, https://github.com/huginn/huginn/issues/1442
I went through this thread and have fixed the corresponding mistakes.
Here is my error for nginx:
*4 connect() to unix:/home/huginn/huginn/tmp/sockets/unicorn.socket failed (2: No such file or directory) while connecting to upstream,
For some reason the unicorn.socket file does not get generated when I use:
sudo bundle exec rake production:export
Any thoughts?

How does your unicorn config look? It should be at /home/huginn/huginn/config/unicorn.rb. If that is the same as the example ensure you modified the Procfile and enabled those lines
Do you get any output in the unicorn log (/home/huginn/huginn/log/unicorn.log) or rails production log (/home/huginn/huginn/log/production.log)?

Wow! Thank you for the fast reply.
Here is my unicorn config
`wd = File.expand_path(File.join(File.dirname(FILE), '..'))
app_path = wd
worker_processes 1
preload_app true
timeout 180
listen "#{wd}/tmp/sockets/unicorn.socket"
working_directory app_path
rails_env = ENV['RAILS_ENV'] || 'production'
Log everything to one file
stderr_path "log/unicorn.log"
stdout_path "log/unicorn.log"
Set master PID location
pid "#{wd}/tmp/pids/unicorn.pid"
before_fork do |server, worker|
ActiveRecord::Base.connection.disconnect!
old_pid = "#{server.config[:pid]}.oldbin"
if File.exist?(old_pid) && server.pid != old_pid
begin
Process.kill("QUIT", File.read(old_pid).to_i)
rescue Errno::ENOENT, Errno::ESRCH
# someone else did our job for us
end
end
end
after_fork do |server, worker|
ActiveRecord::Base.establish_connection
end`
I did modify the Procfile and enabled those two lines.
The output from unicorn log is huge. No output from production. I will paste some of the unicorn here:
 /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/application/routes_reloader.rb:57:ineach'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/application/routes_reloader.rb:57:in load_paths'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/application/routes_reloader.rb:20:in reload!'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/application.rb:168:in reload_routes!'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/devise-4.4.3/lib/devise/rails.rb:17:in block in class:Engine'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:69:in block in execute_hook'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:62:in with_execution_control'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:67:in execute_hook'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:52:in block in run_load_hooks'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:51:in each'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:51:in run_load_hooks'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/application/finisher.rb:68:in block in <module:Finisher>'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:32:in instance_exec'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:32:in run'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:61:in block in run_initializers'
/usr/local/lib/ruby/2.5.0/tsort.rb:228:in block in tsort_each'   /usr/local/lib/ruby/2.5.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby/2.5.0/tsort.rb:431:in each_strongly_connected_component_from'   /usr/local/lib/ruby/2.5.0/tsort.rb:349:in block in each_strongly_connected_component'
/usr/local/lib/ruby/2.5.0/tsort.rb:347:in each'   /usr/local/lib/ruby/2.5.0/tsort.rb:347:in call'
/usr/local/lib/ruby/2.5.0/tsort.rb:347:in each_strongly_connected_component'   /usr/local/lib/ruby/2.5.0/tsort.rb:226:in tsort_each'
/usr/local/lib/ruby/2.5.0/tsort.rb:205:in tsort_each'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:60:in run_initializers'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/application.rb:361:in initialize!'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/railtie.rb:190:in public_send'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/railtie.rb:190:in method_missing'   /home/huginn/huginn/config/environment.rb:5:in <top (required)>'
config.ru:4:in require_relative'   config.ru:4:in block in '
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in instance_eval'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in initialize'
config.ru:1:in new'   config.ru:1:in '
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/unicorn-5.1.0/lib/unicorn.rb:56:in eval'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/unicorn-5.1.0/lib/unicorn.rb:56:in block in builder'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:752:in build_app!'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:129:in start'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/gems/unicorn-5.1.0/bin/unicorn:126:in <top (required)>'   /home/huginn/huginn/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in load'
/home/huginn/huginn/vendor/bundle/ruby/2.5.0/bin/unicorn:23:in <top (required)>' I, [2018-06-22T07:46:39.185951 #5395]  INFO -- : Refreshing Gem list

Wow! Thank you for the fast reply.

You got the timing right, I was just doing my daily checkup on GitHub 😄
The output in the unicorn log is very verbose, sadly the part you copied is missing the cause for the exception that is probably logged over and over again Can you include more lines from that file either here or in a pastebin?

You are the reason why this community is awesome!!
Hope you are okay with me just uploading the whole file here...
unicorn.log

That is the relevant line:
RuntimeError: YAML syntax error occurred while parsing /home/huginn/huginn/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): found character that cannot start any token while scanning for the next token at line 8 column 13
Check your config/database.yml and make sure you are only using spaces for indentation. If you did not indent to make changes to that file (most configurations don't need it as we have .env to configure the database) you can restore the version of the repository with git checkout config/database.yml.

I used git checkout config/database.yml and I still have the same issue. I never touched the database.yml so I am not sure why that error is being thrown. I checked to make sure they were spaced as well.

Okay I give up trying to install it. Now I cannot remove it... Can you help me completely uninstall? I cannot delete huginn user and it is using a ton of CPU

I used git checkout config/database.yml and I still have the same issue. I never touched the database.yml so I am not sure why that error is being thrown. I checked to make sure they were spaced as well.

It could also be caused by a special character in your DATABASE_PASSWORD configuration. Try putting that in quotes like this DATABASE_PASSWORD="password"

Okay I give up trying to install it. Now I cannot remove it... Can you help me completely uninstall? I cannot delete huginn user and it is using a ton of CPU

Do you still have the huginn code installed? bundle exec rake production:force_stop should stop the failing processes.
I think stopping the runit system service should also stop all huginn processes.

I thought so but something is missing. I get this error:
Could not locate Gemfile or .bundle/ directory

I try to install the gems again but nothing. I am not sure how to stop runit. I have tried sv stop huginn

The service name depends on your Procfile setup, you can find them in /etc/service/
sudo sv force-stop huginn-jobs-1
sudo sv force-stop huginn-web-1

Should work for the default configuration.
If you want to give the installation another try I recommand your remove the /home/huginn/huginn directory and start from here. I know the installation instructions work, but it's easy to miss a step.

Uninstalled. Thank you for the help! I deployed instead on heroku. Way easier!

That is the relevant line:
RuntimeError: YAML syntax error occurred while parsing /home/huginn/huginn/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): found character that cannot start any token while scanning for the next token at line 8 column 13
Check your config/database.yml and make sure you are only using spaces for indentation. If you did not indent to make changes to that file (most configurations don't need it as we have .env to configure the database) you can restore the version of the repository with git checkout config/database.yml.

I am having this exact issue at the moment, can I get any help with this?
My core issue is that I'm getting *21 connect() to unix:/home/huginn/huginn/tmp/sockets/unicorn.socket failed (2: No such file or directory) when running tail -30 /var/log/nginx/huginn_error.log.
I tried to reinstall everything, that didn't work.
After that I checked if the unicorn process is running with ps aux|grep unicorn, and it was running.
There are no indents in the .env file or the Procfile.
I have not touched the config/database.yml file so it feels weird if that's the issue.
I'm running this on an ubuntu 18.04 server.

For the record that is a completely different error 😄 My guess is you missed this step:
# Copy the example Unicorn config
sudo -u huginn -H cp config/unicorn.rb.example config/unicorn.rb

See here for reference.

I don't quite understand how it's a different error, is it because of the number before connect() in the error message?
And I didn't miss that step, the unicorn.rb file is there and I do believe that it's configured correctly.
Should I just open up a new issue and continue my explanation there?

Sorry, I was only looking at the last few messages in this issue, can you post the contents of the other log files mentioned in the troubleshooting section, especially the unicorn log?
If you are getting the exact same error message as YAML syntax error occurred while parsing /home/huginn/huginn/config/database.yml it is just about fixing the syntax error.


[Sema] Fix for wrong callee candidate evaluation for complex args with unresolved parts.

Beginning changes to provide more info out about unresolved params, but even changing is to hasUnresolvedType turns out is enough to fix a radar...
In this case, the partially unresolved function argument type caused wrong mismatches, when the first myMap should have been (and now is) a closer matching candidate.
Resolves radar 20142462 (apparently).

@swift-ci Please smoke test


Transform error: Could not find a connection between 'map' and 'arm1'

I am trying to run RViz, then I receive the error,
Transform error: Could not find a connection between 'map' and 'arm1' because they are not part of the same tree.Tf has two or more unconnected trees.
I checked for,
rosrun tf view_frames
and my tf looks like this,
frames.pdf
And I don't visualize the point cloud properly in RViz but just as a group of white clouds.

what could be reason for the error?

can you please share a tf model of the entire setup?

I have the same problem. Did you find out about it @boonflies ?

Hello, I think you guys face the same issue.
https://github.com/Hypha-ROS/hypharos_ardrone_navigation/issues/3#issuecomment-487378389

I could create maps with TUM_Simualator but when I use the real AR.Drone 2.0 i am facing this issue.

@kungfrank So you're assuming the tf tree should be connected as long as one moves around enough? It doesnt seem to help me


How to run multi-gpu feature in the source version of CARLA?

CARLA version:0.9.14
Platform/OS:Ubuntu 20.04
Problem you have experienced: How to run multi-gpu feature in the source version of CARLA
Hi，I tried to use the new multi-gpu feature on Carla. I have one server with two Nvidia 2080ti and find this tutorial carla-multi-gpu-feature;
However, since I'm using the source version of CARLA and the corresponding files ./CarlaUE4.sh are not available (this is also explained in this link), how can I enable multi-GPU functionality in the source version of CARLA?
I can't find the relevant information，can some one help me?

Hello @AGREATAPE , have found the way to run multi gpu by the source CARLA?

You will need to create a package and then try it. For this you can do a "make package".

I am closing this issue, feel free to reopen if something comes up


ModuleNotFoundError: No module named 'polyline.codec'

I try to install osrm on Ubuntu 22.04. Installed the dependencies as listed in the README:
GDAL==3.4.3
geopandas==0.14.0
numpy==1.26.0
osrm==0.11.3
pandas==2.1.1
polyline==2.0.0

Apart from that I installed gdal-bin and libgdal-dev using apt install.  When I import osrm I get:
$ python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import osrm
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/arnold/.local/lib/python3.10/site-packages/osrm/__init__.py", line 53, in <module>
    from .core import match, simple_route, nearest, table, trip, _chain
  File "/home/arnold/.local/lib/python3.10/site-packages/osrm/core.py", line 3, in <module>
    from polyline.codec import PolylineCodec
ModuleNotFoundError: No module named 'polyline.codec'

I could hardly find a suggestion on the net, except one remark that one should try to pip install polyline-decoder. That didn't help.
Does anyone have a suggestion? Thank you in advance.

I believe this package is too old, most of the dependencies have changed. But to fix this issue go to the osrm folder package it should be something like this: C:\Users\admin\AppData\Local\Programs\Python\Python310\Lib\site-packages\osrm. Go to core.py > then delete the import of polyline.codec just a simple 'import polyline' will do, change the 'PolylineCodec().decode' with 'polyline.decode'.
you can see the that the decoding in polyline package here: https://github.com/frederickjansen/polyline

@francisvale Thanks! That worked but i now have the error: ImportError: cannot import name 'griddata' from 'matplotlib.mlab' (/usr/lib/python3/dist-packages/matplotlib/mlab.py). I followed the instructions I found in #33 but that did not help. Any suggestion on how to solve that.
As to the old version: I did the update as suggested in #33 and my current version is 0.11.3. Is this the latest version?

Did you find solutions to this issue? I`m facing the same error...

for me the solution to the 'griddata' was same as
https://github.com/ustroetz/python-osrm/issues/36#issuecomment-1352622510


Feature: number search

A feature request for ack 3: search for a given number.
% ack --number 1.3
This would find occurrences of the numbers 1.3, 1.30, 01.300, 1.3e0, and so on, but not 1.34, 11.3, 1a3, etc.  For whole numbers it could also search other notations
% ack --number 0xf
finding 15, 0xf, 017 (octal notation), 0b1111 (binary).  If you think this latter refinement is a step too far (why should ack know about programming language notation for different bases?) then I would just propose the decimal searching above.
If you like the idea, I think I can make a patch for it some time.

Thanks for the idea.  I can't go with this.  ack can't know about the significance of the text it's looking at.  It's just pattern matching supplied by the user.

Thanks for considering it.  It's another one of those cases where the smarts is in making the right regular expression given the input text.  It could be included in some set of canned regular expressions like Perl's Regexp::Common, but this need not be part of the ack project itself.
% ack `make-regexp number 1.3`

That sounds like a better approach, to construct a given regex based on some rules, rather than trying to have ack parse the content.

Yes, that was my intention for having the feature in ack too, that it would just be a transformation applied to the input regexp (as already happens for -w).  However it might not fit into the simple framework of "paste some text on the beginning of the regexp, and on the end".
Searching for where a particular constant appears in a codebase can be a fairly common task, and it is annoying if a search for 1.3 doesn't find 1.30 or vice versa.  But I understand if it is considered out of scope for ack, which after all is a regular expression tool, not a general code inspector.


remove useless '' in '\ ' which cause regex101 error, and add kaios

\  has no special meaning, and regex101 mark it as error.
add kaios and converted into lowercase.

This PR makes the user-agent mobile regex same.

Please check whether cloudflare use different regex actually. (The difference is only for kaios).


Add a temporary bypass of artifacts permission issue

Put the python package into azure blob to temporarily bypass this issue..
This PR is created from fork.

Thanks.

thanks! was hitting this constantly for PR's from forked repos.


Fix translations of CN

Fix wrongly translated VSM component title in Rules-zh-CN.
Make them to use the same word that used in Setting-zh-CN.

The file in Diagnostics does not need to be modified, that is the reference file.
在Diagnostics里的文件不用改，那个是导出来的参考文件，不参与构建。只改UnofficialTranslation里的就行

I suggest for anything Chinese please work on @magicskysword fork. I prefer to have only one point of contact per language.


Added all files but these files need to be cleaned

Code for"

Traning hyperparameter tuning and training SVM
Generating s2cloudless mask
Training ResUNet
Calculating accuracy of models
Getting predictions from SVM and UNet

All files needs to be cleaned

Hi @praveenpankaj
I added all files related to what we have done. But we have to clean all these files.


feat(dynamic-field): dynamic fields are added to detail pages.

[ ] What does this PR do? [Mandatory]

Added dynamic fields in the detail and quick-preview page.
Added restrictions on updating dynamic fields and regular static fields for non-collaborators.
Dropdown field issue is fixed.
Only enum and  markup fields will be rendered other than static fields.

[ ] What issue/task does this PR references? [Mandatory]

https://openshift.io/openshiftio/openshiftio/plan/detail/1950
https://github.com/openshiftio/openshift.io/issues/2736

[ ] Are the tests Included? [Mandatory]

[ ] Is the documentation Included?

[ ] Are the Release Notes included?

No
[ ] Is/Are the @mention(s) to reviewer(s) included

Note: This PR is compaitable with current backend but best experience will be visible only once the update dynamic field error is resolved. @kwk is working on that for the backend side.
Note: Markup fields won't get rendered until it has the proper value as per contract.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9133176). Click here to learn what that means.
The diff coverage is 4.43%.

@@           Coverage Diff            @@
##             master   #2597   +/-   ##
========================================
  Coverage          ?   9.51%
========================================
  Files             ?     217
  Lines             ?   14069
  Branches          ?    1965
========================================
  Hits              ?    1339
  Misses            ?   12664
  Partials          ?      66

Impacted Files
Coverage Δ

...nts/work-item-detail/work-item-detail.component.ts
0.34% <ø> (ø)

src/app/models/work-item-type.ts
74.54% <ø> (ø)

...custom-query-panel/custom-query-panel.component.ts
3.44% <ø> (ø)

...dgets/select-dropdown/select-dropdown.component.ts
4.25% <0%> (ø)

...ts_ngrx/label-selector/label-selector.component.ts
1.63% <0%> (ø)

...c/app/widgets/inlineinput/inlineinput.component.ts
2.04% <0%> (ø)

src/app/effects/detail-work-item.effects.ts
2.7% <0%> (ø)

...x/assignee-selector/assignee-selector.component.ts
1.96% <0%> (ø)

src/app/effects/work-item.effects.ts
1.09% <0%> (ø)

src/app/services/work-item-type-control.service.ts
3.57% <0%> (ø)

... and 8 more

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 9133176...d5a0e00. Read the comment docs.

[test]

@sanbornsen unit tests are failing. Could you please check

[test]

@sanbornsen functional tests are failing. Could you update selector for Iteration and Area dropdown ?

@sanbornsen Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 and visit http://localhost:5000 to access it.

@sanbornsen

area, iteration dropdown header shows "default Header text" . It Should be "Add area", "Add Iteration?
If iteration name is long then should it be truncated? In prod it is truncated
Please see the screenshot

[test]

[test]

[test]

[test]

@sanbornsen Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 and visit http://localhost:5000 to access it.

Getting default icon for all state of the work item in scrum template.

Can we use common-selector component in place of asignee-selector and label-selector component?

@vikram-raj no we can't it has different complexity.

Resolution and severity fields are not intended properly.

@vikram-raj They are totally intended. This is the PR all about, to begin with. DYNAMIC FIELDS.

Getting default icon for all state of the work item in scrum template.

Not relevant for the PR. This is an update needs to be done in ngx-widgets level.

[test]

@sanbornsen Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 and visit http://localhost:5000 to access it.

@sanbornsen Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2597 and visit http://localhost:5000 to access it.


Add a guardrail to limit maximum number of shard on the cluster

Is your feature request related to a problem? Please describe.
We have observed that as shard count on the cluster increases, it becomes more prone to instability and availability. We have observed multiple instances where Cx had issues in the past because of too many shards on their cluster.
Describe alternatives you've considered
As of now, OpenSearch allows us to restrict the number of shards per node using setting cluster.max_shards_per_node inside ShardLimitValidator. The maximum number of shards that can be present on the cluster is determined by maxShardsPerNode * nodeCount. Issue here is, we can increase this total shard limit on the cluster just by increasing the number of node. There is no way we can control the maximum number of shards on an entire cluster.
Describe the solution you'd like
I would suggest to add a similar setting inside ShardLimitValidator which will control the maximum number of shards that can be present on a cluster. If the total number of shards exceeds this threshold, ShardLimitValidator will block any operation which creates new shards. The threshold value will be an optional configurable cluster setting, which Cx can set dynamically.
Considerations

Should we have some upper cap on this threshold value.

Closing this since PR already merged

@RS146BIJAY Do you think we should to have some smart defaults for newly created clusters based on HW specs, index size ...etc.


ODP sha1hash mismatch

hi @ificator
Sorry for re-open this issue,
Ref to : https://github.com/OneDrive/onedrive-api-docs/issues/345
The sha1 hash in file with extension docx on ODP is different from the downloaded one.
Please check this case
Accept-Ranges: bytes
CTag: aYzo5RTNFMEI4NkZCRkFBMzY1ITY5NjU4LjMwNQ
Cache-Control: no-cache
Content-Disposition: attachment; filename*=UTF-8''Packing%20Index%281%29.docx
Content-Length: 0
Content-Length: 34181067
Content-Location: https://7quqea.dm2301.livefilestore.com/y3mn7q3JgH1TnuXfg9JepswvzKSULUhlVWoyLZkQo8g5k8lleplCbDOCTr-OP6aPXYCG8hOhrbcj8ddHD6X-EQiXZGGZuMqV8_PxIeJAlSjZGKeTl_LSeYTuDi-OoA1wSCUdDVn6XnfSZbYnWvWcjbq4i1QVGRucrOdcWmxlHxGwcxySfZ5AboM-Pc8XAZiyPw4
Content-Range: bytes 0-34181066/34181067
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Date: Tue, 14 Mar 2017 08:21:39 GMT
Date: Tue, 14 Mar 2017 08:21:44 GMT
ETag: aOUUzRTBCODZGQkZBQTM2NSE2OTY1OC4yNQ
HTTP/1.1 206 Partial Content
HTTP/1.1 302 Found
Last-Modified: Sat, 27 Feb 2016 19:47:02 GMT
Location: https://7quqea.dm2301.livefilestore.com/y3m2Ks-voqphG2DKP2_-JRNK4QneNuqcdg1Jw42DxFp_EeajwBEBNsy_l_kQz2uTGVII2KxQTHOxhkOk7OQAaOcTMVuT7kriDtPzHd_XmhWgwD-D3qNt4cAVTzWIrHK82oiy9GWwvgnuGaKqdmEB9HSsloFEATn5uvvhnFZlgMt_DmXQR4_mKOUyYo6bALeQyl0/Packing%20Index%281%29.docx
P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
Server: Microsoft-IIS/8.5
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-AsmVersion: UNKNOWN; <IP_ADDRESS>
X-Content-Type-Options: nosniff
X-MSEdge-Ref: Ref A: 5A5B66E9101D467BA47F34399CE57A99 Ref B: TPE30EDGE0120 Ref C: Tue Mar 14 01:21:39 2017 PST
X-MSEdge-Ref: Ref A: FACD9BAA728245828A70B363074B3D1F Ref B: TPE30EDGE0110 Ref C: Tue Mar 14 01:21:45 2017 PST
X-MSNSERVER: DM5SCH102211004
X-MSNSERVER: DM5SCH102211607
X-PreAuthInfo: rv;
X-SqlDataOrigin: S
X-StreamOrigin: G

file name: Packing Index(1).docx,
file id: 9E3E0B86FBFAA365!69658
mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document,
sha1_hash: 90C30B3771E40FAA8FF18684838D25192725A874

After downloaded:
openssl sha1 sha1test
SHA1(sha1test)= e1f2cbb2f1f2742c72a7f7a3e3975d79631a2483
Thank you for help, and sorry for late reply

Best regard
Joe

No worries @joewutaiwan! Is the sha1_hash value (90C30B3771E40FAA8FF18684838D25192725A874) from before or after you downloaded the content. If it's from before, does it give you a different value after the download?

hi @ificator ,
Both before and after I request the get file meta return the same hash value '90C30B3771E40FAA8FF18684838D25192725A874'
Thank you for your kind
Joe

Is this the only file that you see this for? If you make a small edit to the file do you see the hashes align?

hi @ificator
sorry for late reply,
1.It is not the only file encounter this problem. I saw the same problem at file pptx, and xlsx.
2.I dont have permission to edit the file, because those are my client's account.
But after I download it and upload to my own cloud for test, it goes fine. (include the small edit)
Thank you!

Hi @joewutaiwan,
There was a known issue a while ago where the hashes could diverge for some office documents, and while it's been fixed it does not immediately correct documents in this state. A change to the document is required to be made to the document to essentially force the hash recalculation.
If it's possible to communicate with the client and have them make a change to the document that would fix things, otherwise without write access there isn't much that can be done to trigger the hash to be recalculated :(


Maker-fixer does not break on some incorrect drawing tools

Expected behavior
If the provided starting classification for a Subject does not match the workflow schema, it should error
Current behavior
If I specify a Rectangle starting shape on a Point annotation task, the x and y attributes required by Point are present, and so the interface does not error.
This behaviour will be the same for other combinations, where the schema of one tool is contained inside another (e.g. circle vs point, perhaps polygon vs polyline?).

We need to trigger this manually. To do that, we'd need to:

collect the mark types used in the annotations for a given task
check that the available tools on that task is a superset of the mark types used
throw a fatal error if not, since we don't want wasted work


Add the text "My changes" to article

Description

Pre-Submission Checklist
Common mandatory requirements

[ ] This pull request targets the master branch of freeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/
(e.g. fix/signin-issue)
[ ] Reviewed necessary guidelines in CONTRIBUTING.md.

By submitting this pull request, I have verified the following:

[ ] Added descriptive name to pull request. (mandatory)
Your PR should NOT be called Update index.md, since it does not help the maintainer understand what has been changed.
Good Guide PR title examples:
fix(guide): Git - edit Git Commit article
feat(guide): PHP - create PHP section and add Data Structures article

Good Coding challenge PR title examples:
fix(coding): add tests to Basic HTML challenge
fix(coding): update instructions to CSS Grid challenge

Good Learning platform PR title examples:
fix(platform): fixed sign in api
fix(platform): removed css from editor

Issues Closures

[ ] Addressed currently open issue. (replace XXXXX with an issue no in next line)

Closes #XXXXX
Since this change is a copy edit or translation for Guide articles or Coding Challenges:

[ ] I confirm no plagiarized, duplicate, or repetitive content that has been directly copied from another source.
[ ] I am adding only https links to external sources.
[ ] I am not adding short links instead of full URLs to webpages.
[ ] I have followed the recomended style guides for the copy edit.

Requirements, for changes which are NOT simple copy editing or translations:
You may skip the below ONLY if your changes do not touch tests, ui logic, api-server, etc. Your PR may not be accepted, if you did not meet these mandatory requirements. Simply put, we can't assume it will work if we never saw it working.
Since this change adds, updates or removes coding challenge tests:

[ ] I completed the coding challenge locally, and the changes look good.
[ ] Other tests or user stories in instructions are not affected.

Since this change is for the Learning platform (UI, logic, etc.):

[ ] I confirm my changes look good by running freeCodeCamp locally.
[ ] All new and existing tests pass the command npm test.

(Optional) Additional Context and Screenshots:

Thanks for this pull request (PR).
Unfortunately, we are marking this PR invalid for hacktoberfest. We believe it does not follow the recommended guidelines:

Quality Standards
In line with Hacktoberfest value #2 (Quantity is fun, Quality is key), we have provided examples of the quality standards we encourage. This applies mainly to beginners.

PRs that are automated e.g. scripted opening PRs to remove whitespace / optimize images.
PRs that are disruptive e.g. taking someone else's branch/commits and making a PR.
PRs that are regarded by a project maintainer as a hindrance vs. helping.
Something that's clearly an attempt to simply +1 your PR count for October.

Learn more at https://hacktoberfest.digitalocean.com/details


Import peers tool

The import peers tool must be implemented.
The peer list to be imported, must be in CSV format with double quotes in all columns.
"name","public_key","private_key","preshared_key","main_ip_address"
Name (Optional): Peer's display name
IP address (Optional): only the main peer address, it must belong to wireguard interface network. I'm still not sure if the ip address will be supported in the import process.
If not informed, the import tool will assign the first unused ip address.
Discussed in https://github.com/eduardogsilva/wireguard_webadmin/discussions/17

Originally posted by xgusto March 15, 2024
I want to ask if it will be possible to import a peer from a file in the peer section in the newer version.
Now the button is inactive.

I assumed that if I download the .conf, I will be able to import it in the future.
[Interface]
PrivateKey = <PrivateKey>
Address = <IP_ADDRESS>/32

[Peer]
PublicKey = <PublicKey>
Endpoint = example.com:51820
AllowedIPs = <AllowedIPs>
PresharedKey = <PresharedKey>
PersistentKeepalive = 25

The import tool will be designed to import a list of peers and not a specific peer config file.

Thank you very much for your work.
:+1:


Glob Importing Doesn't Ignore Editor Files

While using the vim text editor and using glob importing, I get compilation errors whenever I edit files.  These errors are caused by the glob importer attempting to import the vim backup files ending in ~, such as application.css.scss~.
This could be the case with other editor-specific files but I haven't tested.

Hi there, has this issue been fixed?

Hey @javiguajardo. It looks to me like these lines are glob matching filenames and the $ in the compiled Regexp will prevent files ending in ~ from being imported.
https://github.com/rails/sass-rails/blob/master/lib/sass/rails/importer.rb#L48-L49


Trezor Safe 3 also supports Monero

It should be added to https://www.getmonero.org/downloads/#hardware
https://trezor.io/coins/detail/monero

there is an open PR #2213 , checking comments, its time to merge (pending an description edit), ill make a new one as the author is awol

@plowsof Are you sure about the minimal firmware?

definitely not @inson1 , for now it would be the version that got shipped with safe3 , will try to find out


[DRFT-917] Uses shared bonfire config for pr_check

Codecov Report

Merging #206 (b9f2712) into master (209c0c9) will increase coverage by 25.30%.
The diff coverage is 70.60%.

@@             Coverage Diff             @@
##           master     #206       +/-   ##
===========================================
+ Coverage   50.14%   75.44%   +25.30%
===========================================
  Files          13       23       +10
  Lines         357      672      +315
===========================================
+ Hits          179      507      +328
+ Misses        178      165       -13

Impacted Files
Coverage Δ

clean_expired_records.py
0.00% <0.00%> (ø)

historical_system_profiles/mgmt_views/v0.py
100.00% <ø> (ø)

kafka_listener.py
0.00% <0.00%> (ø)

standalone_flask_server.py
0.00% <ø> (ø)

wsgi.py
0.00% <ø> (ø)

..._system_profiles/notification_service_interface.py
35.00% <35.00%> (ø)

...ical_system_profiles/baseline_service_interface.py
39.13% <39.13%> (ø)

historical_system_profiles/archiver.py
56.62% <56.45%> (+56.62%)
:arrow_up:

...torical_system_profiles/drift_service_interface.py
66.66% <66.66%> (ø)

historical_system_profiles/db_interface.py
78.68% <76.00%> (+12.02%)
:arrow_up:

... and 29 more

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 f497fef...b9f2712. Read the comment docs.


TTT server crash problem

Hello I have set up a TTT server and the server only crashes when there are a lot of players yet I have an AMD Ryzen 7 3800X - 8c/16t - 3.9 GHz/4.5 GHz with 128 GB DDR4 ECC .
Do you think you can give me an idea for my server or is it possible the possibility of the automatic restart?

This sounds like a TTT issue, I'm planning to add an auto restart feature for the next release


Issue 39 - setting up query index for events

New Query index for events
Fix #39
Test URLs:

Before: https://main--turnerbund-wyhlen--mtilburgadobe.hlx.page/
After: https://issue-39--turnerbund-wyhlen--mtilburgadobe.hlx.page/

force merging to test if this will get indexing to function


handleGetUpdates in loop ?

❓ Support Question
i'm using the getUpdates methods wihtout database.
should $telegram->handleGetUpdates(); be wrapped in an infinite loop ? When i run the script getUpdatesCLI.php nothing happen and it close.

Yes, that could run in a loop in your CLI.
Alternatively, you can make the loop in the PHP script itself, with an infinite while(true) {...} loop.
You can try to uncomment the echo $e; lines in the catch statements, to see what error is being outputted.

Yes, that could run in a loop in your CLI.
Alternatively, you can make the loop in the PHP script itself, with an infinite while(true) {...} loop.
You can try to uncomment the echo $e; lines in the catch statements, to see what error is being outputted.

@seuaCoder Did you manage to find a solution that works for you?

yes alright now, thank you.


KeyError: 'video_name' when running bdd100k.label.to_coco.py

Your code doesn't work. In to_coco.py you are looking for key_name when you should be looking for keyName. Fix it and update your repo

Nothing is wrong here. Camel cases are converted to snake cases according to python conventions.


BIP-1: Dashboard

Description
BIP-1  dictated a token distribution scheme for users who deposit their tokens at certain pools.
An API is was provided here https://bip1.bprotocol.org/, but it is not currently displayed at any website.
Submission Requirements
The community has gathered the following list of requirements:

The dashboard should be hosted for at least 2 months on a domain provided by the bounty hacker.
The dashboard should present the accumulated amount of BPRO he got so far (this can be taken from the api).
The dashboard should display the expected daily/monthly/yearly exepcted BPRO accumulation %
The dashboard should include informative information about the BIP, e.g., link to the relevant pools, and a short description of the BIP.

Judging Criteria

Readiness of the solution for production usage

Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 1000.0 USDT (1000.00 USD @ $1.0/USDT) has been submitted by:

@ska99kanda

@yaronvel please take a look at the submitted work:

PR by @ska99kanda

Learn more on the Gitcoin Issue Details page

Want to chip in? Add your own contribution here.

Questions? Checkout Gitcoin Help or the Gitcoin's Discord

$1,589,503.56 more funded OSS Work available on the Gitcoin Issue Explorer

I don't see anything relevant at https://cryptotabbrowser.com/en/16877532/
are you sure it is the right link?

@yaronvel how should the expected daily/monthly/yearly exepcted BPRO accumulation % be calculated. The API doesn't have the relevant data to get this. Is it a simple calculation factoring in current rewards, total balance and the blocks since BIP-1?

Continuous compounding is the mathematical limit that compound interest can reach. It is an extreme case of compounding since most interest is compounded on a monthly, quarterly, or semiannual basis.
Sent from my iPhone

On May 30, 2021, at 19:56, Shadab Khan @.***> wrote:
expected daily/monthly/yearly exepcted BPRO accumulation

Real project ,is corona makes team solid, i'm like'it great team

@yaronvel how should the expected daily/monthly/yearly exepcted BPRO accumulation % be calculated. The API doesn't have the relevant data to get this. Is it a simple calculation factoring in current rewards, total balance and the blocks since BIP-1?

please join our discord to discuss it, someone asked the exact same question, and the community replied to him

whether we could possibly benefit from the BIP-1

@yaronvel how should the expected daily/monthly/yearly exepcted BPRO accumulation % be calculated. The API doesn't have the relevant data to get this. Is it a simple calculation factoring in current rewards, total balance and the blocks since BIP-1?

please join our discord to discuss it, someone asked the exact same question, and the community replied to him

Thanks u so much

Great

is it possible to join today and start work?

Yes
Sent from my iPhone

On Jun 11, 2021, at 19:52, GITDID @.***> wrote:

is it possible to join today and start work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@yaronvel Hi, I can start work on this bounty?

is it possible to join today and start work?
no, bounty was already paid.

bounty was paid.


Fix logic for detecting _libc_fpstate API

This fixes use of the incorrect libc API on x86 64-bit Linux, which was causing OpenEXR compilation to fail on the latest 64-bit Ubuntu.
See https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/x86/sys/ucontext.h which defines two different _libc_fpstate structs inside an #ifdef __x86_64__
I will note that I haven't attempted to test this change on all platforms, but it fixed a broken compile for me and I believe it makes more sense this way. The lines of code I'm changing here came from https://github.com/AcademySoftwareFoundation/openexr/pull/798 and were copied from https://github.com/void-linux/void-packages/blob/80bbc168faa25448bd3399f4df331b836e74b85c/srcpkgs/ilmbase/patches/musl-_fpstate.patch.
If @pullmoll (original author of the Void Linux patch) has any comment I would appreciate it!

I'm not able to validate the behavior either, although it seems reasonable, so let's go with it until proven otherwise.


/deviation/metadata example contains nonexistant field

The /deviation/metadata includes an undocumented field: tags.tracking .  The actual call does not include this field, it is assumed that it was included in the example by accident.

Fixed, thanks for the report.


Restructure the Tutorial instructions

Keep the main page tight, for people who already have a development background.
Move wordy sections to an extra page, or collapse them by default.
Add a section with external links, like JavaDocs, Pityoulish, Feedback.
At the end of the page, or as a box sticking at the bottom of the view?
Follow-up from #56.

Explain the objectives of the Tutorial in the first section:

set up an IDE (if desired)
navigate an unfamiliar codebase
avoid common pitfalls

Maybe restructure the whole Tutorial with this in mind.


17 build binomial tree that grows towards strike at maturity

The analysis is not complete yet....! More work required, but will submit notebooks for now


[BACKLOG-4391] Getting a NPE when starting Spoon

- NPE safeguarding

@rmansoor please review

@pedrofvteixeira thanks for catching this


Trev8939/custom dictionary style

I'll start cycling round Java/Android home team folk with follow on samples, but for now--any thoughts and concerns welcomed. Some new patterns in this sample:

Use getExternalFilesDir(...) to be more Android 10 compliant
Try to use kotlin scoping functions in good faith

Thanks @gunt0001 - Removed anko, and updated getExternalFilesDir(...) to the new pattern. Ready for re-review.


add additional devices to imaging schema

Motorized stage and DAQ are currently not exposed in a class. However they are a common item across SPIM systems and could be added as a dedicated class.
Suggested addition(s) to instrument.py
class MotorizedStage(Device):
    """Description of a motorized stage device"""

    manufacturer: str = Field(..., title="Manufacturer of device")
    model: str = Field(..., title="Model of device")
    axes: str = Field(..., title="Axes of device")
    travel: float = Field(..., title="Travel of device (mm)")

class DAQ(Device):
    """Description of a DAQ device"""

    manufacturer: str = Field(..., title="Manufacturer of device")
    model: str = Field(..., title="Model of device")
    device_name: int = Field(..., title="PC device name")
    update_frequency: int = Field(..., title="Update frequency [hz]")

An alternative is to add them as an AdditionalImageDevice. Although since they are common to all systems, I think this is not the best solution?

is it possible there will be multiple daq or motorizedstages for a given microscope? I believe no, but just want to make sure

"axes" refers to the axis that the motorized stage travels in? I'm wondering if we can use the Direction class in the acquisition schema here. Thoughts @dyf?

is it possible there will be multiple daq or motorizedstages for a given microscope? I believe no, but just want to make sure

That is right, there would only be a single DAQ. For motorized stages, we could either bundle all of the axes into a single stage/device. Or separate them out into individual axes. The latter might make more sense since the travel would be different for all of them. Which if they were combined, would require travel to be an array.

I'm good making an array of stages - that's easy to do.
I'm concerned about the axes. How are we defining it? If it's relative to anatomy, that only makes sense in the context of an acquisition session where there is tissue. If it's relative to geometrical space, we need to figure out what that is in this schema.

The axes are confusing. I think the different permutations to choose from are.

Purely based on the hardware driver/devices. The stages from the manufacturer ASI all get assigned a lettered axis in the firmware. This is somewhat arbitrary though, and vary depending on how a specific instrument is assembled. This probably isn't a good option.
Based on the light-sheet general architecture. There will always be an axis which is parallel to the imaging objective. One parallel to the light-sheet generating objective. And then the third axis which is perpendicular to both of the previous ones. This might be the best option within the instrument class?
Finally anatomical axes. This depends on how we mount the tissue relative to the above. It seems like if we adopt 2 for the instrument, then we map from 2 -> 3 based on a given acquisition session.

Does this sound like a good plan?

I'm good with using 2 - but I guess the question is how do we describe the axes here. Does it make sense to use the language you have here? "Parallel to imaging objective" "Parallel to light-sheet generating objective" and "Perpendicular to both objectives" ? Is there better language?

Ack that is too verbose. I think we could shorten as "along detection axis", "along illumination axis", and "along perpendicular axis". Or make the assumption that we are specifying along/parallel, and further simplify to "detection axis", "illumination axis", "perpendicular axis"

@adamkglaser we have a daq_ao_names_to_channel item in the schema - should that live in the DAQ class? or outside of it?


Use Godot editor UI theme properties

The addon uses styles that are different from those of the Godot editor and will not play well when users the changes their editor theme.

When possible to get the editor styles you want to avoid adding style boxes and other things on nodes. For example, to make a clickable icon or label you can create a Button node and set its flat property to true.
In other cases, you can import styles from the editor theme into your UI's theme resource. In the theme editor, click Manage Items... in the top-right, go to the Import Items tab, and Editor Theme. This is especially useful for getting constants such as spacing and whatnot.
To mimic the editor styles you sometimes have to go look at the engine source code to see what they use because it's not always obvious.

Is there a way to just have my component copy whatever is set by the editor?  Or do I have to manually set it?  This could be a problem for dark/light theme or if the values change on a future update.  Most of my components don't set a theme.
Were there a specific components where you thought the theme was at odds with what the editor uses?

If you don't override any styles on a given component, it will automatically use the editor theme. Generally, Control nodes inherit the theme resource attached to one of their ancestors.
The editor has a top-level theme resource which you can get in your plugin code by calling get_editor_interface().get_base_control().theme. Then you can use the Theme interface to retrieve its styles and properties when needed.

Were there a specific components where you thought the theme was at odds with what the editor uses?

Mainly the materials display and UV editor use their own thing. For the materials display it's mainly a matter of extracting stylebox resources from the editor theme, while for the UV or tool properties it could be a matter of replicating the inspector styles, which is more involved than just using the editor theme: there are a bunch of custom UI components and styles in the Inspector and they're not exposed as simple nodes to the user.


Optimize BarrierBeforeFinalMeasurement pass

Summary
The barrier before final measurement pass previously was working by iterating over the DAGCircuit to find all the barriers and measurements and then evaluating if those operations were at the end of the circuit, or adjacent to only barriers prior to the end of the circuit. However, this was fairly inefficient as it means the performance of the pass scales as a function of the number of gates in the circuit. This commit optimizes the performance as a function by looking at the predecessors of each qubit's output nodes to find final measurements instead of iterating over the entire circuit.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 19 (100.0%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.009%) to 89.196%

Files with Coverage Reduction
New Missed Lines
%

qiskit/dagcircuit/dagcircuit.py
1
90.77%

crates/qasm2/src/lex.rs
2
91.44%

crates/qasm2/src/parse.rs
6
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
58820

Relevant Lines:
65945

💛  - Coveralls

Running this under asv and doing some manual testing show that this is measurably slower than the existing pass. So some more thought will be needed on the approach here. I'm marking this as on hold until I come up with a better solution.

Hi @mtreinish, what is a good set of examples to experiment with?
I was experimenting earlier today with the following circuit (Bernstein-Vazirani):
nq = 5000
qr = QuantumRegister(nq, 'q')
anc = QuantumRegister(1, 'ancilla')
cr = ClassicalRegister(nq, 'c')
qc = QuantumCircuit(qr, anc, cr)
qc.x(anc[0])
qc.h(anc[0])
qc.h(qr[0:nq])
qc.cx(qr[0:nq], anc[0])
qc.h(qr[0:nq])
qc.barrier()
qc.measure(qr, cr)

qct = BarrierBeforeFinalMeasurements()(qc)

Some quick observations (on my laptop):

By far the biggest chunk of the time is spent on remove_op_node, which I believe would be fixed by #11677.

The proposed change from
ordered_final_nodes = [node for node in dag.topological_op_nodes() if node in set(final_ops)]

to
final_ops_set = set(final_ops)
ordered_final_nodes = [node for node in dag.topological_op_nodes() if node in final_ops_set]

is very helpful.

The collection part below
for candidate_node in dag.named_nodes(*final_op_types):
    is_final_op = True

    for _, child_successors in dag.bfs_successors(candidate_node):
        if any(
            isinstance(suc, DAGOpNode) and suc.name not in final_op_types
            for suc in child_successors
        ):
            is_final_op = False
            break

    if is_final_op:
        final_ops.append(candidate_node)

was actually very fast (compared to the above), with the following being just a tiny bit better
bc = BlockCollector(dag)
bc._collect_from_back = True
bc._setup_in_degrees()

def filter_fn(node):
     return node.op.name in final_op_types

final_ops = bc.collect_matching_block(filter_fn)

Unfortunately, the interface for collecting a single block is not really there (my fault), this is why I had to manually set the options and call the setup function.

Sasha: if you want to try out what it would look like with a fixed remove_op_node, try installing Rustworkx from this PR: https://github.com/Qiskit/rustworkx/pull/1083 and then modifying DAGCircuit.remove_op_node to call self._multi_graph.remove_node_retain_edges_by_key(node) (with no key function) and it should just work.

Hi @mtreinish, what is a good set of examples to experiment with?

I was testing super deep circuits like a depth of ~60k with only final measurements and only 50 qubits or so. I had seen a specific case where this pass was scaling as a function of number of gates very poorly and was trying to fix that. TBH, I didn't look at a profile first (and I should have), I just intuitively (or lack of intuition) jumped to switching form iterating over dag.nodes() to just the output nodes as being the root cause of the slowdown.

Some quick observations (on my laptop):
1. By far the biggest chunk of the time is spent on `remove_op_node`, which I believe would be fixed by [Fix overhead of `DAGCircuit.remove_op_node` #11677](https://github.com/Qiskit/qiskit/issues/11677).

Oh interesting. I guess because we have to remove all the nodes in final_ops_set we end up deleting a lot of individual nodes from the dag. The specific thing I was looking at in #11677 was how the scaling of remove_op_node is poor because it's quadratic as a function to the number of arguments on the instruction. But I guess even with a lot of 2 argument ops in the dag that cost adds up there too.

2. The proposed change from
   ```
   ordered_final_nodes = [node for node in dag.topological_op_nodes() if node in set(final_ops)]
   ```
   to
   ```
   final_ops_set = set(final_ops)
   ordered_final_nodes = [node for node in dag.topological_op_nodes() if node in final_ops_set]
   ```
   is very helpful.

Nice, yeah I only fixed that out of habit when I saw

3. The collection part below
   ```
   for candidate_node in dag.named_nodes(*final_op_types):
       is_final_op = True

       for _, child_successors in dag.bfs_successors(candidate_node):
           if any(
               isinstance(suc, DAGOpNode) and suc.name not in final_op_types
               for suc in child_successors
           ):
               is_final_op = False
               break

       if is_final_op:
           final_ops.append(candidate_node)
   ```

   was actually very fast (compared to the above),

Yeah this was really surprising to me, I saw that loop over the named_nodes() and thought it would be very poorly scaling because that just does:
for node in dag._multi_graph.nodes():
....

and checks for either barrier or measure in insertion order and then does the bfs_successors() call from each match. So I just assumed that going about it from the output nodes would be more efficient. But the way I wrote this ends up doing the bfs_predecessors() calls than the old search code which ends up being much slower. I was trying to make it more efficient but I'll just defer to your suggestion below.

with the following being just a tiny bit better
```
bc = BlockCollector(dag)
bc._collect_from_back = True
bc._setup_in_degrees()
   def filter_fn(node):
        return node.op.name in final_op_types

   final_ops = bc.collect_matching_block(filter_fn)
   ```

   Unfortunately, the interface for collecting a single block is not really there (my fault), this is why I had to manually set the options and call the setup function.

Cool, I can update the PR to do this instead for the search.

The circuit that I've used does have a 5000-qubit barrier. Without Jake's PR the time to remove it is about 20 seconds (on my laptop), with Jake's PR it's 0.1 seconds (old code) or 0.5 seconds (with block-collection code).
Jake, I have modified DAGCircuit.remove_op_node to call self._multi_graph.remove_node_retain_edges_by_key(node._node_id), please confirm that this is correct. (Otherwise it complains that DAGOpNode cannot be interpreted as an integer).
The discrepancy of 0.1 vs. 0.5 seconds seems to be related to the order in which nodes are removed (I will try to look a bit deeper into this).

Jake, I have modified DAGCircuit.remove_op_node to call self._multi_graph.remove_node_retain_edges_by_key(node._node_id), please confirm that this is correct. (Otherwise it complains that DAGOpNode cannot be interpreted as an integer).

Yeah that's right, it does have to be the index.


Added real/imag attributes to int type.

This PR adds a behavior that apparently exists in Python3
>>> a = 1
>>> a.imag
0
>>> a.real
1
>>>

Codecov Report

Merging #518 into master will decrease coverage by 0.06%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #518      +/-   ##
==========================================
- Coverage   52.19%   52.13%   -0.07%
==========================================
  Files          67       67
  Lines       13280    13308      +28
  Branches     3297     3299       +2
==========================================
+ Hits         6932     6938       +6
- Misses       4534     4554      +20
- Partials     1814     1816       +2

Impacted Files
Coverage Δ

vm/src/obj/objint.rs
71.62% <50%> (-3.38%)
:arrow_down:

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 e2ee933...852dd10. Read the comment docs.

@AdamGS thank you for your contribution! This is a bit weird, since int is no complex number, but still we need it!


New version: InteractiveFixedEffectModels v0.4.2

Registering package: InteractiveFixedEffectModels
Repository: https://github.com/matthieugomez/InteractiveFixedEffectModels.jl
Created by: @matthieugomez
Version: v0.4.2
Commit: f71891a216b96d7a4552f2eba60da13ab634763c
Reviewed by: @matthieugomez
Reference: https://github.com/matthieugomez/InteractiveFixedEffectModels.jl/commit/f71891a216b96d7a4552f2eba60da13ab634763c#commitcomment-34995965

0.4.1?

Thanks. Yes, please close this pull request (https://github.com/JuliaRegistries/General/pull/3428)


Can't abort schedueld, non-scheduled pipeline runs

Pipelines that are not in running state, can't be scheduled. But this also means that pent up runs, which are waiting, but we would like to get rid off, are also not abortable.

Fixed by #234


what is $this->_default_options?

in system/libraries/Cache/drivers/Cache_memcached.php
what is the meaning of Variable $this->_default_options?
i can not find this variable.....

I can not find it either ...


Add integration tests for Ignores in multi-root VS Code workspaces

This adds some integration tests that in an active multi-root workspace in VS Code, the ignore files are set up and applied correctly.
Also includes some tweaks to the shim findFiles() to support RelativePattern which fixes an issue where we could add ignore rules from the "wrong" workspace folders (not in a breaking way, but it was confusing to debug and slower because we ran a search across all workspace folders for each workspace folder).
Fixes https://github.com/sourcegraph/cody/issues/3003
Test plan

Check bot results for the new tests, or:
Open the multi-root.code-workspace workspace from fixtures and verify that the .ws1 is ignored only in workspace1 and that .ws2 file is ignored only in workspace2.

Bots are green now - had to make some tweaks to the shim findFiles() to support RelativePath (a pattern + workspace folder) to fix a quirk (and performance issue) with searching all workspace folders for each workspace folder. (fyi @abeatrix @olafurpg)


Improve article 1704.06803

Exact location of issue
Article fails to render
Problem details
 Package pgfplots info on input line 18: Using 'lua backend=false' for axis: %
ymode=log unsupported (yet).

Fatal:timeout:if_limit Conditional limit of 699999 exceeded, infinite loop?

(edited by DG)

Thank you for the report! Looks like our support for pgfplots needs an upgrade.

The article now successfully converts to HTML with the latest update to ar5iv.
It appears to be only missing {overpic} support. But we have other issues tracking that, so I will close here.