Error during evaluation on nuScenes

Thanks for publishing your work!
I ran this command inside the container that your provided:
torchpack dist-run -np 2 python tools/test.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml pretrained/bevfusion-det.pth --eval bbox

but got this error:
File "tools/test.py", line 203, in main
    outputs = multi_gpu_test(model, data_loader, args.tmpdir, args.gpu_collect)
  File "/opt/conda/lib/python3.8/site-packages/mmdet/apis/test.py", line 98, in multi_gpu_test
    result = model(return_loss=False, rescale=True, **data)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 886, in forward
    output = self.module(*inputs[0], **kwargs[0])
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 128, in new_func
    output = old_func(*new_args, **new_kwargs)
  File "/home/trainer/bevnet/mmdet3d/models/fusion_models/bevfusion.py", line 187, in forward
    outputs = self.forward_single(
  File "/opt/conda/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 128, in new_func
    output = old_func(*new_args, **new_kwargs)
  File "/home/trainer/bevnet/mmdet3d/models/fusion_models/bevfusion.py", line 230, in forward_single
    feature = self.extract_camera_features(
  File "/home/trainer/bevnet/mmdet3d/models/fusion_models/bevfusion.py", line 114, in extract_camera_features
    x = self.encoders["camera"]["vtransform"](
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/trainer/bevnet/mmdet3d/models/vtransforms/depth_lss.py", line 100, in forward
    x = super().forward(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 214, in new_func
    output = old_func(*new_args, **new_kwargs)
  File "/home/trainer/bevnet/mmdet3d/models/vtransforms/base.py", line 250, in forward
    cur_coords = torch.inverse(cur_lidar_aug_matrix[:3, :3]).matmul(
RuntimeError: cusolver error: CUSOLVER_STATUS_EXECUTION_FAILED, when calling `cusolverDnSgetrf( handle, m, n, dA, ldda, static_cast<float*>(dataPtr.get()), ipiv, info)`
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[56338,1],0]
  Exit code:    1

Any suggestion? what could lead to such an error?
Thank.

Probably you can have a look at this issue: https://github.com/pytorch/pytorch/issues/70122.

Thanks. I will check this issue.

Yes, downgrading cuda to 11.1 solved the problem for me. Upgrading the server cuda drive version will a better solution.
Thanks for your help!.
I just wanted to add that you don't need to use miniconda inside the docker container.
RUN apt install -y python3-pip
RUN pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 \
          -f https://download.pytorch.org/whl/cu113/torch_stable.html

Hi @kentang-mit,
I've encountered an issue similar to the one discussed in this flood. The error pertains to a line of code involving matrix multiplication (matmul): cur_coords = torch.inverse(cur_lidar_aug_matrix[:3, :3]).matmul( RuntimeError: cusolver error: CUSOLVER_STATUS_INTERNAL_ERROR, when calling cusolverDnCreate(handle)
Your suggestion in a similar issue from a year ago recommended downgrading the CUDA version. My current CUDA version is 12.3 and torch version is 11.1
Given that the advice is from a year ago from you, is it still reasonable to consider downgrading the CUDA version as a potential solution? Any insights or alternative recommendations would be greatly appreciated.
Thank you/


[BUGFIX] First-child and last-child selectors are broken

Fixes #286

I've used the XPath equivalents as listed on https://en.wikibooks.org/wiki/XPath/CSS_Equivalents.
@bramley: Could you please test this PR and also verify it by reading?

The XPaths are not correct. The first-child one is selecting all elements that are the first child of their parent. Similarly the last-child is selecting all elements that are the last child of their parent.
The Symfony css selector package generates this XPath for p:first-child
descendant-or-self::*/*[name() = 'p' and (position() = 1)]

While that could be generated by the preg_replace, the XPath expression can be more complex so I don't think it is easy (or even possible) to process a general expression with a preg_replace, e.g. p.red:first-child generates
descendant-or-self::div/*[@class and contains(concat(' ', normalize-space(@class), ' '), ' red ') and (name() = 'p') and (position() = 1)]

As there can be subtle differences between similar XPath expressions, I'm not sure it is a good idea to try to implement css to XPath conversion without having a good knowledge of both. Particularly as there is a proven package that already does that. Wouldn't it be better to treat this as "missing functionality" or as a bug and fix it by using the Symfony component?

Hi @bramley, thanks for the remarks. I've fixed the code and added some tests that fail with the old version of the patch. Could you please re-review? Thanks!

Yes, this looks better.
You might want to change these two test descriptions to refer to the div element, not p
        'P:first-child matches not first child with mismatching tag'
            => ['div:first-child {' . $styleRule . '} ', '#
#'],

        'P:last-child not matches last child with mismatching tag'
            => ['div:last-child {' . $styleRule . '} ', '#
#'],

@bramley Good catch! Like this (re-pushed)?


Module does not Work with CentOs/RedHat 6.9 as described

When trying to join CentOs/RedHat 6.9 in the domain, this is the issue we are facing:
"Execution of '/usr/bin/yum -d 0 -e 0 -y install realmd' returned 1: Error: Nothing to do"
err | Puppet | Execution of '/usr/bin/yum -d 0 -e 0 -y install realmd' returned 1: Error: Nothing to do
err | /Stage[main]/Realmd::Install/Package[realmd]/ensure | change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install realmd' returned 1: Error: Nothing to do
err | Puppet | Execution of '/usr/bin/yum -d 0 -e 0 -y install samba-common-tools' returned 1: Error: Nothing to do
err | /Stage[main]/Realmd::Install/Package[samba-common-tools]/ensure | change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install samba-common-tools' returned 1: Error: Nothing to do

Basicaly, it just dont work in version 6.

Can you provide the output of yum repolist; yum search realmd?

First of all, thanks for the fast response!!!
Sure, here it is:
[root@acmedlnx0001 ~]# yum repolist; yum search realmd Loaded plugins: rhnplugin This system is receiving updates from RHN Classic or Red Hat Satellite. repo id                                                                                repo name                                                                                status assai-extras                                                                                ASSAI-EXTRAS-LATEST                                                                                29 centos6                                                                                centos6_x86_64                                                                                6,706 epel6x                                                                                epel6_x86_64                                                                                12,808 ocs-inventory_el6                                                                                ocs-inventory_el6                                                                                8 puppet-el6                                                                                puppet_labs_el6_x86_64                                                                                130 spacewalkel6                                                                                spacewalk-el6_x86_64                                                                                130 zabbix                                                                                Zabbix                                                                                55 zabbix-el6                                                                                zabbix_el6_x86_64                                                                                57 repolist: 19,923 Loaded plugins: rhnplugin This system is receiving updates from RHN Classic or Red Hat Satellite. ================================================================================================== Matched: realmd ================================================================================================== adcli.x86_64 : Active Directory enrollment
As far as I know, there is no realmd for RedHat/CentOs 6, am I wrong?

@josefprado it looks from the output of the puppet run that you have a module realmd that is trying to install that package, and that’s not on the list of packages this module installs. If you remove that you’ll probably be okay.
Also, it looks like RHEL packages realmd in the package adcli. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/windows_integration_guide/realmd-prepreqs as that may be a better fit for some users. This module is the most bare bones implementation possible, and some may enjoy the additional features of adcli and other tools that are available in a more complete install. I don’t want to turn you off to this module, but I want to make sure it’s a net benefit for you.
Thanks!

You are completeley right!! Can you please remove this thread? I dont want that an issue be displayed there, since its not your fault :)

I added a tag and updated the description. This may help someone else with the same problem, but it won’t be in the changelog anymore.


JigsawNewDataset Class error

Hi,
I am trying to run the code, but i am getting an error while executing the following line inside the JigsawNewDataset Class
`  all_perm = np.load('permutations_%d.npy' % (classes))
I have looked through all the files and there isn't a file called permuations.npy as part of the code or the dataset. I have looked through the code and can't seem to find a line that generates the said file.
Help would be appreciated

This file is generated reused from another Github Code. You can take a reference at https://github.com/fmcarlucci/JigenDG

Thankyou so much, I get these files now

Hi, sorry about the error. please annotate the code all_perm = np.load('permutations_%d.npy' % (classes)).


Gradle refuse to build

After import the SDK on pub.yaml file, I get the error message below
Finished with error: Gradle task assembleDebug failed with exit code 1

Thanks for reporting @calistus
I will verify

Cool
On Sat, 23 Nov 2019 at 9:19 PM, Jeremiah Ogbomo<EMAIL_ADDRESS>wrote:

Thanks for reporting @calistus https://github.com/calistus
I will verify
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jogboms/flutter_ravepay/issues/15?email_source=notifications&email_token=AB34ZE4JAK2CNPIQIQ53Q2DQVGF6XA5CNFSM4JQCBDX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE744ZA#issuecomment-557829732,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB34ZE7NGHVBBQ6YTAJF5JLQVGF6XANCNFSM4JQCBDXQ
.

--
Linkedin: https://www.linkedin.com/in/ilocalistus/

https://github.com/demimola24/flutter_rave


Timers and alarms don't work with GPIO/clap triggers

Hi, So now we have successfully managed to update our cardboard friend - thanks to the wonderful guidance yourselves provided - we have what seems to be another problem/issue.
In eduncan911's blog it was mentioned that the timer functionality was included in the new assistant SDK .
So we have found that
IF you setup your trigger to be ok-google - and ask the assistant to set a timer - the assistant will indeed set a timer and after the elapsed time it will tinkle away until you say ok-google stop.
HOWEVER
IF you leave that trigger at the default - which of course is our beloved pi GPIO - the timer functionality does not work - oh nooooooooooooooo
I have an awful feeling THAT (even if you have an PI 2/3 and hence you can use the new SDK) you are only using that new SDK (and its new functionality such as the timer) if you setup to use the hotword trigger.
I have an even worse feeling that whilst the new SDK knows about hotword triggering - it is clueless about GPIO.
Some people are going to want to be able to trigger via GPIO and be able to set a timer and whatever else the google-assistant is able to do down the road. Given the new SDK is only available for the PI it seems inconceivable it isn't usable with GPIO which is fundamental to the PI's being.
I've made some assumptions and may be barking up the wrong tree again. Look forward to hearing from you

Thanks for the feedback, @sheridat!
This is intentional - we were trying to keep things a bit simpler for the user by hiding the differences between the Google Assistant API (used for clap/GPIO trigger) and the Google Assistant Library (used for OK Google). However, it sounds like the missing functionality with the Assistant API means this isn't actually any simpler.
We're working on a new design at the moment that will be easier for people to build into their own applications, so this is great feedback to have.
Anyone reading this who wants to use timers etc with GPIO triggering - please +1 @sheridat's post so we know you're interested.

Thank You for the reply - this is my +1. People have come up with a few ways to trigger the assistant such as dash buttons and scripts. I trigger it by script (that sets the gpio) and in my instance I run that script using an IR remote (using LIRC/irexec)
We really want any new functionality - plus flexible triggering

+1 (even though I'm still on a Zero so cannot use it as yet.)  I really do not understand the differences between the library and the API and what the separation is trying to achieve.

+1 sheridat. I second that...there should be the same functionality regardless of how you trigger. Otherwise it gets very messy. Thanks

@sheridat I've also witnessed this.
It's almost like two different responses are active but the pi only plays one.

+1 for this feature. I'm currently using the customized trigger with snowboy, and the timers/alarms does not work.

Any update on this?

Has there been any fixes to this?

Nope, no update, I'm afraid. #112 contains an example of GPIO trigger with the assistant library, but you'd have to add your custom commands yourself, as the example doesn't use actions.py.

@JonesChi can you post a gist of that? I am trying to setup mine but i can't get it to work.

The assistant_library_with_button_demo.py will allow timers and alarms with a GPIO trigger.

Hi! It looks like the home assistant library is deprecated now. How do I now set a timer with python?

There should probably be a timer trait


3d CAD files for case printing?

I wanted to put my badgy in a nice 3d printed casing. Does anyone have a fitting 3d model?

Would also like this when it arrives - was waiting on the board files to import into Fusion to then work from that. If you can wait till I get mine, and we get the board schematics - I can create one for you?

We're trying to export the STEP file for the board but we're still missing some 3D models (e.g. FPC connector, battery clip, etc.) Once we have those created (or if someone can point us to where we can find them) we'll put it on GitHub right away

Have you checked "GrabCAD"? It's a great user resource of 3D objects.

You can also try 3dcontentcentral.com , and/or http://www.pcb-3d.com/electric_type/ffc-fpc-flat-flexible-connectors/ ...

This is probably what you need for your 5-way - https://grabcad.com/library/thmu-13-smd-joystick-it-1501-ts-1600e-1. Looks just the part?

Actually fits perfect according to the holes in the PCB STEP file! Do you need the e-ink display creating, as that is missing?

Yes and thank you for submitting the PR! The 3D model is now complete! 🍾

Eeeek... now I should think about a cool case!?!

Nice! I had made one out of Legos as a placeholder case. If anyone designs a case for badgy (especially one that supports gluing magnets to the back) please link to it so I can 3D print it!

I'm in the middle of designing some cases... all theoretical as I don't have the Badgy yet. So I guess the idea is to stick it to a fridge or something? Sounds cool! If I get time, I think I will make a few case versions (I just like to mess about in Fusion360!!) so a magnet version that sits flush is on the cards now! What size magnets, like the little 5/6mm circle NEO ones?

So I guess the idea is to stick it to a fridge or something?

I want to attach Badgy to my shirt, as a name badge. :) Magnets will probably be the best solution any way, with magnet on the inside of the shirt.

Ah yes, magnets would work well too for clothing.

Stephen,
I ordered one more than I need. I could send you one if you send me a matching case in return.
Regards,
Stephan

Ah that's very generous of you! I have one coming my way, but the definition of "having one more than I need" does not compute for me!! hahaha! I'd be interested in a service swap though and could send a case out for a swap once designed and printed. Whereabouts are you in the World?

I use an Adafruit magnet that's about 45.3mm x 13.3mm x 5.1mm: https://www.adafruit.com/product/1170
I know some 3D print designs use holes in say, a wall of a box or what have you to save on material, weight, time, etc. So long as there's at least a chunk of back surface for all the adhesive for the magnet that would be fine for how I would use the case.

That's a big magnet! I will take the dimensions though and take that on board.
Steve

I use an Adafruit magnet that's about 45.3mm x 13.3mm x 5.1mm: https://www.adafruit.com/product/1170

Since they charge 17$ for shipping, I'd rather try something like these:
https://www.aliexpress.com/store/product/10pcs-45-13mm-Wholesale-Strong-Magnetic-Name-Tag-ID-Badge-Holder-with-3M-Adhesive-on/3011056_32811317834.html
But, as @sanecito says - as long as there is a flat surface on the back, anything/any size can be attached by adhesive. :)

Yeah, that's way cheaper! Lets just say there will be a 46 x 14 mm indent in the back to locate a bar magnet :)

@chunkysteveo Have you finished any of your case designs by chance?

Hi @sanecito - I did do a test case for the original Badgy, which can be found in the still open Pull Request on this repo, you can find files to download in the comment thread. I'm not 100% happy, and it seemed a little over engineered for the task. But have not done a follow up design, yet. I did then create a more simpler "bumper" style case that can be used as a badge/lanyard too, and I have made it compatible with both the old and new versions of Badgy - this can be found here - badge-frame_all_v3.zip. Due to all the issues with the new Badgy serial and battery problems it's not been something I have been pushing myself to do. There are some designs on Thingiverse too, which I will eventually put mine on there too.
Steve

There is also a case on Thingiverse:
https://www.thingiverse.com/thing:3312442

My bumper case(s) are now on Thingiverse https://www.thingiverse.com/thing:3647429


Purchased 1 data pack but git push still doesn't work

I purchased 1 data pack which should increase my available storage to 50GB. However git push states that my data limit has been exceeded

Hi @nicolehu15 this needs to be handled through GitHub Support. Can you send details to https://github.com/c ?


Keywords highlighted in templates

Keywords are highlighted in templates where they should appear as normal text
in both the user manual and in UmpleOnline.
For example the following code is found in the user manual in https://cruise.eecs.uottawa.ca/umple/BasicTemplates.html (first example)

The words 'is' and 'out' should not be highlighted and should appear as normal text as in

The same problem appears in UmpleOnline if you upload the same code and add new keywords to the template:

I expect this will be quite difficult to solve and may require completely changing the algorithm for doing the highlighting. It is a subtly annoying problem, but I think I won't give it top priority


ESP32 build fixes

Fixes issue where west build generates binary of size 13MB. This issue is caused by use of objcopy for elf to bin conversion. Add a esptool command for elf2image for correct binary generation.
Adding disassembly output causes issues due to which linking takes a lot of time on macOS. Removing xtensa-esp32-elf-objdump -d -S zephyr.elf command from build fixes the issue.

CC: @sylvioalves


Deside how is better to use hidden exams

twice "it's right"
one time "noo.."
how is better to use hidden exam? it doesn't clear what is "it's right" after "dont'peek"
Is it nessesary to use this exam in telegram?

Maybe
`
`
`
`
`
`
`
`
Don t peek: Previous exam was right

{text of next question}

yea, it's better
And what about this?
.
.
.
.
.
.
.
Previous exam was right!
Now try to answer without hints. Don't peek upward!

Looks good.
or we can unite these approaches
.
.
.
.
.
.
.
Previous exam was right. ;)
Now try to answer without hints. Don't peek upward!

{text of next question}


Migrate job config settings to publishers section for updating from 1.8 to 2.0

This is a fix for #106 and includes:

Everything from PR 158 from @nevermindr
Fixes for issues that were uncovered during testing of PR 158
Unit tests for the migration under various scenarios

I would like to merge this as part of the 2.0 release but need at least one more code review - anyone?

Anyone else able/willing to test and review this PR?

Tested locally against Jenkins core 1.642.2
Upgraded 1.8.1 to 2.0-snapshot with this PR, configuration was successfully migrated.

@OwensCode It appears that the SlackProperty inner-class not having a descriptor is a fatal error in Jenkins 1.652 - see #188
Would you be able to update with something similar to this from https://github.com/jenkinsci/hipchat-plugin/blob/master/src/main/java/jenkins/plugins/hipchat/HipChatNotifier.java:
        @Extension
        public static final class DescriptorImpl extends JobPropertyDescriptor {
            public String getDisplayName() {
                return "HipChat Notifications";
            }

            @Override
            public boolean isApplicable(Class<? extends Job> jobType) {
                return true;
            }

            @Override
            public HipChatJobProperty newInstance(StaplerRequest sr, JSONObject formData) throws hudson.model.Descriptor.FormException {
                return new HipChatJobProperty(sr.getParameter("hipChatProjectRoom"),
                        sr.getParameter("hipChatStartNotification") != null,
                        sr.getParameter("hipChatNotifyAborted") != null,
                        sr.getParameter("hipChatNotifyFailure") != null,
                        sr.getParameter("hipChatNotifyNotBuilt") != null,
                        sr.getParameter("hipChatNotifySuccess") != null,
                        sr.getParameter("hipChatNotifyUnstable") != null,
                        sr.getParameter("hipChatNotifyBackToNormal") != null);
            }
        }

I'll look into it.


Renamed exchange header to headers

This solves issue https://github.com/arempe93/bunny-mock/issues/33

Coverage remained the same at 100.0% when pulling 31aafd1c842530287bceece2bfa46e4bda33673a on nico-acidtango:master into 73ba9c6715cb1d6bc56d124d4e7f90acda01d911 on arempe93:master.

thanks @nico-acidtango !

Glad to be of help!


[AAP-17959] Fix Double Header

This PR adds a flag to display or hide the header on the schedules component. The projects section and inventories section, both of which use this component in their tabbed views no use this component without the header to follow UI designs more closely.
Small changes have also been made to the application tokens page to remove the header and fix the trailing slash redirect endpoint issue.

@prat98 please sync up with @daphnemaeve on implementation of this. We now have different ways of displaying the header and I'd rather we use one unified approach. Her work on adding the Templates List tabs to the other resources (Projects, EE, etc) uses the approach of abstracting out the Templates list without the header component. The list is then reused in the top level Templates list component that includes the page header. I prefer that approach to adding another prop to the component.

@kialam updated things so I am following the same implementation pattern that @daphnemaeve has been using


Redirect keeps this site's url

Maybe a Javascript redirect first, then a 4-second meta redirect, then have a link backup


z2m plugin debug bug

For the debug:
- the frontend log has his own system and display only matterbridge and plugins:

in the Log page you can not only select the level but also add a search string. The selection there is persisted between session and applies only to Log page.

the small log in the Home page shows always everything.

- the console log displays the matterbridge and matter.js log with the level you select here or from the command line:

- the console log also displays the plugin log with or without debug depending on this:

Originally posted by @Luligu in https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/33#issuecomment-2187392721
Please take a look at this video and let me know if the debug messages in the home tab are intended.
https://user-images.githubusercontent.com/1298861/342930557-befa3572-582b-4bf7-be4f-c17ca3e9ca91.mp4

the small log in the Home page shows always everything.

This behavior is very confusing. As you know, I have a lot of devices and the little log shows way too many messages, making it hard to read with all those debug messages I don't need.
From a user experience, there are way too many ways to enable/disable debug logs.
If you ask me, one log type should be globally selected and then one for each plugin. Everything else is too much.

Try this video because the upload to GitHub did not work.
https://youtu.be/vJrLQ3LRnrI

What would you like to have and not to have?
What would you like to change?

One option to globally change the log type and one option to enable/disable debug for each plugin should be enough.
I think this could best be done in the settings tab of matterbridge or in the log tab, but not both, or at the least make the two settings synchronized. Having it in both tabs is what I think is confusing.
Another thing that confused me is the log in the home tab shows different content than the log in the log tab. How would any user know this is the expected behavior? The log in the home tab does not have much room and sometimes the debug messages use up a lot of room making it hard to follow. See my example below.
Maybe the log area taller if a user really wants debug messages in the home tab.

Hi,
I finally finished the refactor of loggers.
It will be in the latest soon (needs a few publish from all plugins so it will take a few days..).
If something else is not clear in a week open another issue please.
Thanks.

Thank you! I'll have a look when you're finished


input string was not in a correct format error

When I try to convert the model, I get an error
A small window pops up and says "input string was not in a correct format". By default, my decimal separator is a dot. I changed the decimal separator to coma and have tried to run the program again. Now I get a huge error. Again about input string.

Ah, decimal separators and globalization, what a nightmare... It seems to be the same problem in #25 (and #6 maybe). In a recent commit (f728db60a0eea9a11be92cf933631044725577dc) the unit of height is changed from meter (m) to centimeter (cm), so there will not be decimal points any more. (i.e. default height 1.6m -> 160cm) Please have a try on the latest CI build.

Actually i figured out how can I bypass this problem
Set the decimal separator to a dot and inter the height like 1.60, program will give two warnings but will work anyway of you press ok

But still it's an unexpected behavior and should be considered as a bug. :)


minRange="1" with range doesn't work as logical common sense expects it to

Great work on this package, I do know and understand how difficult it is to provide a product such as a DatePicker and expect it to be robust and flexible to meet the needs of everyone.
minRange="1" should clearly mean that selecting November 8 and then November 8 again shouldn't be allowed. And that selecting November 8 and November 9 should be allowable. But it's just the opposite. And setting minRange="2" prevents November 8 / November 8, but prevents November 8 / November 10, although it satisfies the constraint of being 2 days apart. It doesn't allow until you choose November 8 / November 11.
To Reproduce
Steps to reproduce the behavior:
<Datepicker v-model="value" range minRange="1" />
<Datepicker v-model="value" range minRange="2" />

Expected behavior
Setting minRange to be >= 1 should prevent any same day range selections
Setting minRange="1" should allow a gap of 1 day between dates (ie Nov 8 / Nov 9) as it clearly satisifies the constraint
Screenshots
Desktop & mobile (please complete the following information):

I am working on desktop, although I would imagine the issue is not device related
Library version [e.g. 3.5.3] latest at the time of this write-up

Fix is available under 3.6.0-alpha.1


使用泛型hook，ts类型推断错误 / Using generic hook, ts type inference error

测试用例/demo
demo.zip
hooks.ts

test.vue

如果在函数中使用了抛出的值 / If an thrown value is used in a function

这里a会被推断为any  / Here, variable a will be inferred as any
将test 函数中的a引用注销，推断恢复 / Unregister the reference to a in the test function and infer recovery

尝试去掉泛型，类型推断正常 / Attempting to remove generics, type inference is normal

例子最终运行结果正常，但是ts推断异常 / The final running result of the example is normal, but ts inference is abnormal
Vue - Official: v2.0.16
VSCode: v1.89.0
系统: Windows 11
框架:  vite vue3

This seems right to me.
Have a read about scope https://developer.mozilla.org/en-US/docs/Glossary/Function

What is AnyObject?

能复现了？

What is AnyObject?

I think this is not related to the Vue language tools. In plain TypeScript you can also get this error:

Closed due to answered in https://github.com/vuejs/language-tools/issues/4341#issuecomment-2105660801.


Calling 'Get-TwitterFollowers' results in exception

I have setup $OAuth hashtable with the correct keys (I verified they work by using the PSTwitterAPI module):
> $OAuth = @{ ApiKey = 'blah'; ApiSecret = 'blah'; AccessToken = 'blah; AccessTokenSecret = 'blah' }

When I call `Get-TwitterFollowers -Screenname 'pauby' -Verbose' I get this error:
> Get-TwitterFollowers -ScreenName 'pauby' -Verbose
SetValueInvocationException: C:\Users\Paul\git\pauby\others\powershellmodules_twitter\Twitter\classes\OAuthParameters.Class.psm1:202
Line |
 202 |          $this.UriBuilder = $this.BaseUri
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception setting "UriBuilder": "Cannot convert value "" to type "System.UriBuilder". Error: "Invalid
     | URI: The hostname could not be parsed.""

InvalidOperation: C:\Users\Paul\git\pauby\others\powershellmodules_twitter\Twitter\public\Get-TwitterFollowers.ps1:70
Line |
  70 |          $OAuthParameters.BaseUri = 'https://api.twitter.com/1.1/follo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The property 'BaseUri' cannot be found on this object. Verify that the property exists and can be set.

InvalidOperation: C:\Users\Paul\git\pauby\others\powershellmodules_twitter\Twitter\public\Get-TwitterFollowers.ps1:73
Line |
  73 |      $OAuthParameters.SetQuery($Query)
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

Invoke-TwitterCursorRequest: C:\Users\Paul\git\pauby\others\powershellmodules_twitter\Twitter\public\Get-TwitterFollowers.ps1:79
Line |
  79 |  … owers = Invoke-TwitterCursorRequest -OAuthParameters $OAuthParameters
     |                                                         ~~~~~~~~~~~~~~~~
     | Cannot bind argument to parameter 'OAuthParameters' because it is null

I've only had a cursory look over this at the moment so what I'm about to say may be nonsense 😄
This line sets the $BaseUri to $null?

Apologies for not replying sooner.
This issue is occurring for all functions that are based on the Invoke-TwitterCursorRequest private function. I will correct this in a forthcoming update.
Also, this module will be released to the PowerShell Gallery quite soon, as a prerelease.

This has been fixed.
Please note that the followers/list endpoint has a rate limit of 15.
Now that the function is using New-TwitterQuery to generate the query from the $PSBoundParameters, when I set the default ResultsPerPage, it is not updating the $PSBoundParameters hashtable.
I'll create a new issue to track the work on parameters.


Correctly add/remove reservations from the quantity

Because of
https://github.com/magmodules/magento2-channable/commit/98072e1db154fd2b70e7b11648df70e1334a3123#diff-2bb845804f110f1d15dfdd942602e6d8c5d3a9e92d104f8acb1b2e8153ee146dL102
https://github.com/magmodules/magento2-channable/commit/98072e1db154fd2b70e7b11648df70e1334a3123#diff-2bb845804f110f1d15dfdd942602e6d8c5d3a9e92d104f8acb1b2e8153ee146dR115
the negative reservations actually get ADDED to the current quantity.
Let's say a product has a stock of 3, 1 is placed in reservation.
Thus the salable stock is 2, but channable says the salable stock is 4 now.
This change ensures it is removed again

HI @indykoning we appreciate you bringing this issue to our attention and thank you for opening up an PR for this!
I'm happy to inform you that we've released a new version of the plugin addressing the reported issue as we already had a fix in place. But again, thank you for opening this PR much appreciated.


Fix: Fixed issue where soft link details were misaligned in git repos

Resolved / Related Issues

Closes #15998

Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

Opened Files
Create a soft link in a git repo.
Change to detail layout.
check the information alignment.

From my observation if (isSymlink) is called before else if (isGitRepo), isGitRepo is true so I have just added a check in the isSymlink block.

The icon is different which can be changed. By adding properties to GitItem(). Can I get this issue assigned to me? And if any other review please let me know.

@ashrafmansuri Look at my earlier comment https://github.com/files-community/Files/issues/15998#issuecomment-2308829838 Since checking if item is shortcut or not is done before if it is git item or not, details view fails to x:Load text blocks for git info.

This still leaves the alignment wrong for shortcut files (.lnk and .url).
I don't believe this approach is correct. The problem is that ShortcutItem doesn't support Git repositories, so we should create something like GitShortcutItem.

Alright. Understood.

@ashrafmansuri Look at my earlier comment https://github.com/files-community/Files/issues/15998#issuecomment-2308829838

Yes I saw that. Your comment helped me a lot. So should I check for isGitRepo before or should I create a new item as suggested by @hishitetsu ?

Yeah. Create a new class that derives from both ShortcutItem and GitItem named GitShortcutItem while this isn't ideal way.

I'll create a new pull request


Fill all variable for packages/subpackages

Currently the __all__ variable in the top-level __init__.py is not filled and thus autocompletion only works for some submodules.  Adding classes & functions that should be visible from the commandline/autocompletion would be beneficial for development.
💡 Feature request
In the top-level __init__.py add the subpackages & submodules that are available. For subpackages add functions & classes that are not visible yet and have to be exported to the __all__ variable in the respective ___init__.py
🎯 Goal
Working and reliable autocompletion & autodiscovery across different Python IDEs.

Hi @noc0lour, thanks for your interest in poliastro and sorry for the delay!
We currently don't expose any functions or classes in the top-level __init__.py, that's why it's empty. Nowadays the user is expected to import each submodule to access things like Orbit. We make one exception to allow from poliastro.twobody import Orbit instead of poliastro.twobody.orbit import Orbit and therefore we have:
https://github.com/poliastro/poliastro/blob/30a3cb645985d8b5fab1f0e09b620f941a9e093d/src/poliastro/twobody/__init__.py#L1-L3
Can you specify a little bit more how autocomplete is failing, or in which specific cases?

No problem, right now I can't recall why I added these changes locally, but I've kept them in my stash for a while and had to problems without them. Maybe I recall at some point why I thought it's useful, but both, ipython and anaconda are able to resolve modules in the poliastro package now.
"""
=========
poliastro
=========

Utilities and Python wrappers for Orbital Mechanics

"""

__version__ = "0.13.post0.dev0"

from . import (
    bodies,
    cli,
    constants,
    coordinates,
    ephem,
    frames,
    integrators,
    iod,
    maneuver,
    neos,
    plotting,
    spheroid_location,
    threebody,
    twobody,
    util,
)

__all__ = [
    "bodies",
    "cli",
    "constants",
    "coordinates",
    "ephem",
    "frames",
    "iod",
    "integrators",
    "maneuver",
    "neos",
    "plotting",
    "spheroid_location",
    "threebody",
    "twobody",
    "util",
]

Fair enough, let's close this issue them. Thanks anyway!


chore: Update pre-commit checks to ensure common standards are followed

What does this PR do?

Update pre-commit checks to ensure common standards are followed; see Rules for full list of available rules that tflint offers

Motivation

Ensure that we provide all the relevant configurations and only those that are required/used
Ensure module follows standards and conventions adopted by wider community

More

[ ] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[ ] Yes, I have added a new example under examples to support my PR
[ ] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
[ ] Yes, I have updated the docs for this feature
[x] Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Opening early to show the output caught by these changes in CI

Closing for now to keep focus on launch activities - will re-open later

Closing for now to keep focus on launch activities - will re-open later


Added link to puneith's genomics blog post

README += awesome list.

@puneith : Updated, please take a look


ConsumerGroup unorganized data return

node version : v8.0.0
Kafka version : <IP_ADDRESS>
kafka-node : 2.0.1
Hi,
I tried producing some data and consume the same from the mentioned versions and i am having some problem while consuming the data.
I was using consumer group with the following options:
options: {
//host:'x.y.z.abc:2181',
//kafkaHost : 'xxxxxxx:9092,yyyyyyyy:9092,zzzzzzzz:9092',
groupId: 'h',
autoCommit: false,
fetchMaxWaitMs: 100,
fetchMinBytes: 100,
fetchMaxBytes: 1024*128,
fromOffset: 'earliest',
protocol: ['roundrobin']
},
Document in kafka : {
"_id" : ObjectId("596c9e07baae5dda881b5edb"),
"uuid" : 123,
"data" : "yes, consuming"
}
Consumed Document : 123,"data":"yes, consuming"}9e07baae5dda881b5edb","uu"�
undefined:1
"M`@[
^
SyntaxError: Unexpected token  in JSON at position 0

Number of Brokers: 3
Number partitions for topic: 128

I tried the command line approach for consumer to check if the data is being produced properly.
./kafka-console-consumer.sh --zookeeper localhost:2181 --topic singleDocTest --from-beginning
{"_id":"596c9e07baae5dda881b5edb","uuid":123,"data":"yes, consuming"}
What could be the possible config/data error ?
consumerGroup.on('message', function (message) {
console.log(message.value); //to check weird data on server
randomArray.push(JSON.parse(message.value));
...
...
}

hi @hyperlink . any update ?

Was compression enabled? There are some known issues dealing with compression.

yes, lz4 compression on server side.
is there a work around for this issue ?


Add styling for editorial notes

Editorial notes (<div data-el="note" data-type="editorial"> in HTML, <note type=editorial"> in TEI) are showing up in a different font. Add styling for them to match our usual font-family and size.
@martindholmes , @pszpak am I good to go into the lemdo-dev.scss file to do this tomorrow (May 18)?

OK with me. I'll be sedated.🙂

OK with me. I'll be sedated.🙂

I hope all is well!

Change committed in r13361. I'll see how it builds, then close this issue.


Multiple varaiation with state models

Separate variation_with_state into a its own module, and allow a Property to have multiple variation with state models.
One use for this is having a separate "radiation effects" and "thermal effects" model. To demonstrate this capability, I added some data on irradiated 304 stainless steel (in AISI_304.yaml), and a tutorial plotting some material properties vs. neutron dose (tutorials/radiation_demo.ipynb).

variation is misspelled in the title of this review

variation is misspelled in the title of this review

I am embarrassed :p


feat: dynamic favicon for user journeys

Fixes Issue
Closes #93
Changes Proposed
Added the following changes :point_down:

A placeholder favicon for now.
When a user visits his/her journey page the favicon is set to the avatar provided in the Data.json file.
When the page is not a journey page the favicon will set to default one.
Used Images.weserv.nl for adding a circle shape mask for the favicon.

Preview
Here is the link to see how the feature works → Live Preview
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] Any dependent changes have been merged and published in downstream modules

Thanks @vikasganiga05


Update Windows Server 2008 on the supported OS

Based on the February 13th announcement: https://azure.microsoft.com/en-us/updates/backupws2008/ , Azure Backup now supports Windows Server 2008.
Please update the support matrix accordingly: https://docs.microsoft.com/en-gb/azure/backup/backup-support-matrix-iaas#operating-system-support-windows .

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

ID: 0e2dde49-662d-fc39-a03f-c67f7f86df67
Version Independent ID: a4545bdc-298b-b440-203e-4f6f66882655
Content: Support matrix for Azure VM backup - Azure Backup
Content Source: articles/backup/backup-support-matrix-iaas.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@saulcp95 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#reassign:dcurwin

The document has been updated, and the changes should show up soon.

#please-close

@dcurwin Thank you for taking care of this thread.


how to share code in client and nodejs lambda?

Which Category is your question related to?
Function, React client
Amplify CLI Version
4.40.1
What AWS Services are you utilizing?
AppSync, Lambda, Cognito, S3
Provide additional details e.g. code snippets
I would to develop a package within the Amplify project that contains some functions and schema files required by both my CreateReactApp client and my backend in a Nodejs Lambda function for AppSync.
Are there any guides about this?

I use the amplify codegen in my UI and point it to the API project to get the schema/types.

I use the amplify codegen in my UI and point it to the API project to get the schema/types.

@amcdnl thanks but I think we're talking about different topics. I'm using GraphQL for my API but the code I'm trying to share with my Lambda & front-end is a Json Schema file as well as other JS functions.

@amcdnl thanks but I think we're talking about different topics. I'm using GraphQL for my API but the code I'm trying to share with my Lambda & front-end is a Json Schema file as well as other JS functions.

I was able to make some progress, but I'm hindered by the fact that amplify push is not honoring the build hook.
My function/foo/src/package.json file has a npm run script called amplify:foo but it does not get invoked when I call amplify push as advertised in Example: Transpiling ES6 code with Babel. 🐞 BUG ALERT!
My strategy to share code between the react client and the backend lambda in the same git repo has been to leverage local file packages. Unfortunately, this results in a lambda.zip that is missing the relative modules. To fix that, I'm using webpack to bundle my lambda, which resolves the relative modules at build time, producing self-contained source code for amplify to deploy.
For example, given a project with the following directory structure:
amplify/backend/function/foo/
  src/package.json
  lib/
    package.json
    webpack.config.js
package.json
src/react-files
packages/
  bar/package.json

I can setup the relative path dependencies with:
# for react client
npm i -S packages/bar
# for the lambda
cd amplify/backend/function/foo/lib && npm i -S ../../../../../packages/bar

Because amplify v 4.41.2 is not triggering the npm run script, I will need to setup a commit hook or something. For now I'm manually running:
cd amplify/backend/function/foo/src && npm run amplify:foo

...which simply runs
"scripts": {
  "amplify:foo": "cd ../lib && npm run build
}

All my source code is in the function/foo/lib directory. You can see below that webpack will write out function/foo/src/index.js. I commit the bundled src/index.js file so that it always gets packaged into a zip file by amplify push.
// function/foo/lib/webpack.config.js
const path = require('path');

module.exports = {
  mode: 'production',
  entry: './index.js',
  target: 'node',
  output: {
    filename: 'index.js',
    path: path.resolve(__dirname, '../src'),
    libraryTarget: 'commonjs',
  },
};

I was able to make some progress, but I'm hindered by the fact that amplify push is not honoring the build hook.
My function/foo/src/package.json file has a npm run script called amplify:foo but it does not get invoked when I call amplify push as advertised in Example: Transpiling ES6 code with Babel. 🐞 BUG ALERT!
My strategy to share code between the react client and the backend lambda in the same git repo has been to leverage local file packages. Unfortunately, this results in a lambda.zip that is missing the relative modules. To fix that, I'm using webpack to bundle my lambda, which resolves the relative modules at build time, producing self-contained source code for amplify to deploy.
For example, given a project with the following directory structure:
amplify/backend/function/foo/
  src/package.json
  lib/
    package.json
    webpack.config.js
package.json
src/react-files
packages/
  bar/package.json

I can setup the relative path dependencies with:
# for react client
npm i -S packages/bar
# for the lambda
cd amplify/backend/function/foo/lib && npm i -S ../../../../../packages/bar

Because amplify v 4.41.2 is not triggering the npm run script, I will need to setup a commit hook or something. For now I'm manually running:
cd amplify/backend/function/foo/src && npm run amplify:foo

...which simply runs
"scripts": {
  "amplify:foo": "cd ../lib && npm run build
}

All my source code is in the function/foo/lib directory. You can see below that webpack will write out function/foo/src/index.js. I commit the bundled src/index.js file so that it always gets packaged into a zip file by amplify push.
// function/foo/lib/webpack.config.js
const path = require('path');

module.exports = {
  mode: 'production',
  entry: './index.js',
  target: 'node',
  output: {
    filename: 'index.js',
    path: path.resolve(__dirname, '../src'),
    libraryTarget: 'commonjs',
  },
};

The amplify:foo goes in the project root package.json not in the function function/foo/src/package.json
Also, you can not sym link files into the function as the amplify build process will not pick up the files when it zips the ./src directory.    You either have to copy the files or hard link the files.

@wderezin thanks for the tip about using the project root package.json for the build commands. I see the documentation says the same.
I am trying to build my local package when the lambda is built. My lambda imports the resulting package. I don't see any obvious feedback in the terminal about commands executed at build time. If I'm using the right package.json and the right script alias, should I expect to see output in the terminal from my build commands?
Here is a snippet from my top-level package.json
"scripts": {
    "build-package": "cd packages/cool-stuff && npm run build",
    "amplify:foo": "npm run build-package"
}

The documented solutions are working.
I created subfolders for local packages, with lambda function packages referencing the local packages using local file paths, and bundling lambda function code with top-level scripts.
amplify will take whatever is bundled in the amplify/backend/function/foo/src directory. I keep my ES6/TS source code in an adjacent folder. When developing locally, I use a watcher to run the function build script.
Im also excited to be able to build using webpack+typescript to get typescript support with lambda functions in amplify, running locally.
I think this ticket can be closed using the existing features!


Rename "batch change" to "DNS change" for portal/portal docs

As we recommend "batch change" as the interface for making DNS changes, renaming "batch change" to "DNS change" is clearer. The API and API docs will keep the existing "batch change" nomenclature.
Note: Portal routes are unchanged.
Changes in this pull request:

Rename "batch change" in portal
Rename "batch change" in portal docs

We may want to rename the files at some point too. Im seeing that's a much larger/riskier change, so keep it out for now, but maybe tech debt that item?

@rebstar6 That's a good point; think I overlooked the .js files. I agree - we can table the file rename.


fix transparency on image imports

Something is making transparent pixels solid black on image imports.

Fixed transparency issue with downscaling algorithm to solve this


Add ElasticSearch 5.x text and keyword field support replacing string field datatype

In ElasticSearch 5 string field datatype has been split into text and keyword. String is still supported for backward compatible.

Mapping changes: string fields replaced by text/keyword fields
The string field datatype has been replaced by the text field for full text analyzed content, and the keyword field for not-analyzed exact string values. For backwards compatibility purposes, during the 5.x series:

string fields on pre-5.0 indices will function as before.
New string fields can be added to pre-5.0 indices as before.
text and keyword fields can also be added to pre-5.0 indices.
When adding a string field to a new index, the field mapping will be rewritten as a text or keyword field if possible, otherwise an exception will be thrown. Certain configurations that were possible with string fields are no longer possible with text/keyword fields such as enabling term_vectors on a not-analyzed keyword field.

-- Ref: Elasticsearch Reference [5.x] » Breaking changes

nice 👍 , but this request should be on the develop branch.

is this feature is ready on latest plastic ?

The feature was tested and used in production when the pull request was created, but the pull request was never merge as it was done against the wrong branch


STORE: Make OSSL_STORE_LOADER_fetch() consistent with all other fetch functions

The argument order was different on this one.
Fixes #15688

This pull request is ready to merge

Merged
6309b799e940d57fdeb55ba4416a571283beb116 STORE: Make OSSL_STORE_LOADER_fetch() consistent with all other fetch functions


Re2G version 2

mrglass created the following on May 10:
I split out the core code from the scripts (now under examples). Added unit tests and resources to run the tests.
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/pull/194

Re2G integration in PrimeQA is put on hold as of now.


only logged in users can view their dashboard

flash alert message and redirects to homepage if you are not logged in and trying to visit dashboard page
test passes
no offenses detected

Thank you for the comments. I've made changes and created a PR. Please let me know if there are any more changes needed. I would be glad to work on it.

When you get a chance, can you sync up with the master branch? There is a new file in there (app.json) that will allow me to create a review app on Heroku for this pull request. Have you used Heroku before? Review apps?

Hi, I'm just checking since it's been a little over a week since I've heard from you. Since there's only a few small things to fix before this PR is ready to be merged, I can go ahead and make the changes if you'd like. You would just need to allow repo maintainers push access to this PR.

Hi, I selected Allow edits from maintainers. So I believe you should be
able to make changes. Please let me know if it doesn't work.
On Sun, Aug 27, 2017 at 3:20 AM, Amanda Dolan<EMAIL_ADDRESS>wrote:

Hi, I'm just checking since it's been a little over a week since I've
heard from you. Since there's only a few small things to fix before this PR
is ready to be merged, I can go ahead and make the changes if you'd like.
You would just need to allow repo maintainers push access to this PR
https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/crawfoal/greensteps/pull/8#issuecomment-325189651,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATnbugNlyaq0wNweGsXh2Ux7B8i8f3Pnks5scULcgaJpZM4OuyGD
.


Make the smoke interactive

I don't know if this is possible, but it'd be cool if the smoke could react to the cursor in some way. Like that when you move the cursor, you can push it away or something like that

That would be really cool. Don't think it's practical given that the particles are actually very large and textured, they're not as fine as they seem. So I don't think the effect could be very good for now, and using more, smaller, particles would be more computationally intensive. This is a cool idea, but I'm going to close it for now


Coerce float64 to int32 in NullInt and vice versa in NullFloat

I have been using the new NullInt type in one of my projects and received an error wrong type for Int: float64.
According to the GraphQL spec (http://spec.graphql.org/June2018/#sec-Scalars) and the rest of the code that coerces a float64 type to int32, we should also be doing it for the built-in NullInt and NullFloat.
We know that when Go unmarshals JSON (https://golang.org/pkg/encoding/json/#Unmarshal), that any JSON number is stored in a float64, so it is definitely necessary for NullInt. Therefore, the NullFloat changes made here are probably unnecessary.
I think this makes sense; please let me know if you have any feedback.

I am unsure why TestSchemaSubscribe_CustomResolverTimeout is failing in the CI build, I don't seem to have touched anything related to that at all?


Datepicker: Date entered manually with keyboard

It would be nice if there is datepicker mode that enables entering a date from keyboard

"up" :)
Is itplanned in a future release? It would fix another bug: You can't delete the date (clear the field)

yes, we will provide this feature, but now we haven't planned.

Very nice idea, something we are also looking for! Probably part of the work is already done with the PR from #106
Looking forward to seeing this work :)


What is the best way to get user input in this case?

Bot Info

SDK Platform: .NET
Deployment Environment: local development with Emulator

Issue Description
Hi, I want to validate if the user is passing three specific informations in one utterance; But I don't know exactly what is the best way to check and ask for the missing information in a consecutive way.
Code Example
    [LuisIntent("some_intent")]
    public async Task someTask(IDialogContext context, LuisResult result)
    {
        var name = result.Entities.FirstOrDefault(c => c.Type == "name")?.Entity;
        var age = result.Entities.FirstOrDefault(c => c.Type == "age")?.Entity;
        var color = result.Entities.FirstOrDefault(c => c.Type == "color")?.Entity;

        if(name == null)
        {
            await context.PostAsync("Please, could you write your name again?");

            name = context.Wait(getPersonname); //maybe something like that but how to keep the execution in this scope after getting the informatin?
        }
        else if (color == null)
        {
        ...
        }
        [and the program execution continues here]
        ....

Hi.
Have you tried using FormFlow for this task?
I think in this case it will be very convenient.
https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-formflow

Hi,
Thanks for the fast reply, I thinks that it may be the solution, but at same time I was trying to make te conversation with the user more human to make use of the entities recognition in the text
Thanks +1

Also you can use state for filling needed field.
For example, as shown here, or do something similar:
https://github.com/flash2048/LoftBlog_TrainingBot/blob/master/Lesson6/LoftBlog_TrainingBot/LoftBlog_TrainingBot/Commands/Userinfo.cs
 private UserInfoState? _state;
...
switch (_state)
{
    case UserInfoState.Name:
        Name = activity.Text;break;
    case UserInfoState.Age:
        Age  = activity.Text; break;
    case UserInfoState.Color:
       Color = activity.Text; break;
}

if (String.IsNullOrEmpty(Name)
{
    await context.PostAsync("Please, could you write your name again?");
    _state = UserInfoState.Name; //Change state to write the text in the desired variable
    context.Wait(someTask); //The name of your method is passed
    return;
}
...

Hi, Andrei
Thanks for your time and help with this question, I'm rethinking how should I deal with those missing informations based your suggestions
Thanks again +1


paste - undo - redo combination causes a weirdly formatted file

This happens at least on PHP projects with the latest version and not always.
Steps to repro:

open file for example an xml file
paste something to it, preferably a block with the wrong indentation
save
undo
save

You are likely to end up a file that displayed with broken indentations.

Hey, thx for reporting! Can you post a picture of that bug?

Below is what happens:

File used for demoing the issue is an layout configuration xml file from Magento. But this behavior will happen on php files also.
After the file gets mall formatted you can't undo it back to a working state.
Frankly I had problems on getting it to cause the issue to fire but saving with redoing / undoing changes and saving will cause a file to break.

Hey, I couldn't reproduce this issue but I committed some code which fixes a possible cause for this. Would you mind to try out the fix from the sources?

Tried to open the project form the sources but probably missing some necessary bits on my netbeans
 Some problems were encountered while processing the POMs:
 [ERROR] Unresolveable build extension: Plugin org.codehaus.mojo:nbm-maven-plugin:3.13 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.mojo:nbm-maven-plugin:jar:3.13, org.codehaus.plexus:plexus-utils:jar:1.1: The repository system is offline but the artifact org.codehaus.mojo:nbm-maven-plugin:jar:3.13 is not available in the local repository.

Any tips as I'll probably try again in the next 24 hours.

I guess you had no internet :P That's mandatory for maven to get the related dependencies. Another option is that the repository for plexus-utils 1.1 was down for a while. This version number actually reminds me that we could update some dependencies but that's another story :)

@Yserz I just neglegted to press the "resolve" button on the "Resolve Project problems" :)
Im presuming that I got the build to install the updated version and I get the issue much easier now.
Presumably this error relates to the issue:
java.lang.NullPointerException
at com.welovecoding.nbeditorconfig.processor.FileInfo.lambda$null$2(FileInfo.java:46)
at com.welovecoding.nbeditorconfig.processor.FileInfo$$Lambda$38/2072241570.run(Unknown Source)
at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323)
at org.openide.text.NbDocument.runAtomic(NbDocument.java:436)
at com.welovecoding.nbeditorconfig.processor.FileInfo.lambda$getCaret$3(FileInfo.java:45)
at com.welovecoding.nbeditorconfig.processor.FileInfo$$Lambda$37/1724303092.run(Unknown Source)
at com.welovecoding.nbeditorconfig.processor.FileInfo.getCaret(FileInfo.java:50)
at com.welovecoding.nbeditorconfig.io.writer.StyledDocumentWriter.writeWithEditorKit(StyledDocumentWriter.java:126)
at com.welovecoding.nbeditorconfig.processor.WriteEditorAction.run(WriteEditorAction.java:26)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:641)
at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:431)
at com.welovecoding.nbeditorconfig.processor.EditorConfigProcessor.lambda$null$0(EditorConfigProcessor.java:253)
at com.welovecoding.nbeditorconfig.processor.EditorConfigProcessor$$Lambda$42/1751159954.run(Unknown Source)
at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323)
at org.openide.text.NbDocument.runAtomic(NbDocument.java:436)
at com.welovecoding.nbeditorconfig.processor.EditorConfigProcessor.lambda$updateChangesInEditorWindow$1(EditorConfigProcessor.java:251)
at com.welovecoding.nbeditorconfig.processor.EditorConfigProcessor$$Lambda$41/492807662.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Hopefully with this you can repro the issue if you use this file:
https://gist.github.com/FinBoWa/dd0034fbd516977e527d
Open that file in a php project.

copy a whole block to the clib board. for example the first  node you see
paste that to a logical place
save
undo

It will break the presentation of the document.
If it doesn't happen on the first undo try, just paste the same block again. Also closing and reopening and then doing undo save should start causing issues.
I actually got it to eat ALL the contents of the xml file now.
Not sure does this happen with a project that contains only few files.

Sounds like I made it even worse :o The main issue is with the ´StyledDocumentWriter´ right here
´com.welovecoding.nbeditorconfig.io.writer.StyledDocumentWriter.writeWithEditorKit(StyledDocumentWriter.java:126)´. It seems someone else is writing to the file while we are writing. Are you using Win, Mac or Linux?

I pushed a pretty raw fix for this issue. It will fire exceptions but at least it will not break the file. Unfortunately I don't have time to investigate into this in more detail today :( If you encounter exceptions when clicking somewhere in the lower end of the document closing and reopening of the document helps.

@Yserz That didn't fix it. I have the same issue.

Same issue, I tested a JSON file. It is really weird.

Have same issues with version 0.10.3, on Java file.

Could be related to this too: https://github.com/welovecoding/editorconfig-netbeans/issues/111

Smth new here?


2021-01-13T01:11:37.8201489Z [1]	valid_0's l2: 0.242765	valid_0's RMSLE: 0.344965	valid_0's RAE: 0.991146
2021-01-13T01:11:37.8202379Z Training until validation scores don't improve for 5 rounds
2021-01-13T01:11:37.8203302Z [2]	valid_0's l2: 0.237898	valid_0's RMSLE: 0.341702	valid_0's RAE: 0.980721
2021-01-13T01:11:37.8204341Z [3]	valid_0's l2: 0.233279	valid_0's RMSLE: 0.33847	valid_0's RAE: 0.970495
2021-01-13T01:11:37.8205371Z [4]	valid_0's l2: 0.229253	valid_0's RMSLE: 0.335665	valid_0's RAE: 0.961141
2021-01-13T01:11:37.8206545Z [5]	valid_0's l2: 0.226158	valid_0's RMSLE: 0.33344	valid_0's RAE: 0.953486
2021-01-13T01:11:37.8207512Z [6]	valid_0's l2: 0.22308	valid_0's RMSLE: 0.331188	valid_0's RAE: 0.945679
2021-01-13T01:11:37.8208486Z [7]	valid_0's l2: 0.220584	valid_0's RMSLE: 0.329332	valid_0's RAE: 0.938889
2021-01-13T01:11:37.8209459Z [8]	valid_0's l2: 0.218042	valid_0's RMSLE: 0.327426	valid_0's RAE: 0.932037
2021-01-13T01:11:37.8210897Z [9]	valid_0's l2: 0.215247	valid_0's RMSLE: 0.325385	valid_0's RAE: 0.924243
2021-01-13T01:11:37.8214027Z [10]	valid_0's l2: 0.213072	valid_0's RMSLE: 0.32372	valid_0's RAE: 0.917824
2021-01-13T01:11:37.8218121Z [11]	valid_0's l2: 0.210952	valid_0's RMSLE: 0.32213	valid_0's RAE: 0.911365
2021-01-13T01:11:37.8221239Z [12]	valid_0's l2: 0.20882	valid_0's RMSLE: 0.320486	valid_0's RAE: 0.904939
2021-01-13T01:11:37.8224486Z [13]	valid_0's l2: 0.206819	valid_0's RMSLE: 0.318913	valid_0's RAE: 0.898696
2021-01-13T01:11:37.8227622Z [14]	valid_0's l2: 0.205014	valid_0's RMSLE: 0.317429	valid_0's RAE: 0.892967
2021-01-13T01:11:37.8230814Z [15]	valid_0's l2: 0.203766	valid_0's RMSLE: 0.31641	valid_0's RAE: 0.888344
2021-01-13T01:11:37.8233934Z [16]	valid_0's l2: 0.20219	valid_0's RMSLE: 0.315169	valid_0's RAE: 0.88306
2021-01-13T01:11:37.8237067Z [17]	valid_0's l2: 0.200555	valid_0's RMSLE: 0.313858	valid_0's RAE: 0.877491
2021-01-13T01:11:37.8240500Z [18]	valid_0's l2: 0.199331	valid_0's RMSLE: 0.312869	valid_0's RAE: 0.872892
2021-01-13T01:11:37.8243713Z [19]	valid_0's l2: 0.197837	valid_0's RMSLE: 0.311625	valid_0's RAE: 0.867847
2021-01-13T01:11:37.8246964Z [20]	valid_0's l2: 0.196621	valid_0's RMSLE: 0.310598	valid_0's RAE: 0.863459
2021-01-13T01:11:37.8249734Z Did not meet early stopping. Best iteration is:
2021-01-13T01:11:37.8251886Z [20]	valid_0's l2: 0.196621	valid_0's RMSLE: 0.310598	valid_0's RAE: 0.863459
2021-01-13T01:11:37.8254660Z Starting predicting...
2021-01-13T01:11:37.8256129Z The rmsle of prediction is: 0.3105980469191399
2021-01-13T01:11:37.8257786Z The rae of prediction is: 0.8634589616622911
2021-01-13T01:11:37.8260027Z Best parameters found by grid search are: {'learning_rate': 0.1, 'n_estimators': 40}
2021-01-13T01:11:39.3085398Z Collecting package metadata (current_repodata.json): ...working... done
2021-01-13T01:11:42.6493240Z Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
2021-01-13T01:11:45.3936517Z Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
2021-01-13T01:11:46.8317799Z Collecting package metadata (repodata.json): ...working... done
2021-01-13T01:11:53.6858051Z Solving environment: ...working... done
2021-01-13T01:11:56.1233673Z
2021-01-13T01:11:56.1242147Z ## Package Plan ##
2021-01-13T01:11:56.1242549Z
2021-01-13T01:11:56.1243713Z   environment location: /opt/conda/envs/test-env
2021-01-13T01:11:56.1244143Z
2021-01-13T01:11:56.1244521Z   added / updated specs:
2021-01-13T01:11:56.1245171Z     - ipywidgets
2021-01-13T01:11:56.1245752Z     - notebook
2021-01-13T01:11:56.1246050Z
2021-01-13T01:11:56.1246311Z
2021-01-13T01:11:56.1246704Z The following packages will be downloaded:
2021-01-13T01:11:56.1247069Z
2021-01-13T01:11:56.1247443Z     package                    |            build
2021-01-13T01:11:56.1248260Z     ---------------------------|-----------------
2021-01-13T01:11:56.1249117Z     argon2-cffi-20.1.0         |   py36h7b6447c_1          46 KB
2021-01-13T01:11:56.1249984Z     async_generator-1.10       |   py36h28b3542_0          39 KB
2021-01-13T01:11:56.1250864Z     backcall-0.2.0             |             py_0          15 KB
2021-01-13T01:11:56.1251718Z     bleach-3.2.1               |             py_0         112 KB
2021-01-13T01:11:56.1252589Z     cffi-1.14.0                |   py36h2e261b9_0         223 KB
2021-01-13T01:11:56.1253450Z     decorator-4.4.2            |             py_0          14 KB
2021-01-13T01:11:56.1254272Z     defusedxml-0.6.0           |             py_0          23 KB
2021-01-13T01:11:56.1255161Z     entrypoints-0.3            |           py36_0          12 KB
2021-01-13T01:11:56.1255982Z     ipykernel-5.3.4            |   py36h5ca1d4c_0         181 KB
2021-01-13T01:11:56.1256886Z     ipython-7.16.1             |   py36h5ca1d4c_0         999 KB
2021-01-13T01:11:56.1257722Z     ipython_genutils-0.2.0     |     pyhd3eb1b0_1          27 KB
2021-01-13T01:11:56.1258607Z     ipywidgets-7.6.3           |     pyhd3eb1b0_1         105 KB
2021-01-13T01:11:56.1259445Z     jedi-0.18.0                |   py36h06a4308_0         905 KB
2021-01-13T01:11:56.1260593Z     jsonschema-3.2.0           |             py_2          47 KB
2021-01-13T01:11:56.1261570Z     jupyter_client-6.1.7       |             py_0          77 KB
2021-01-13T01:11:56.1262448Z     jupyter_core-4.7.0         |   py36h06a4308_0          68 KB
2021-01-13T01:11:56.1263308Z     jupyterlab_pygments-0.1.2  |             py_0           8 KB
2021-01-13T01:11:56.1264199Z     jupyterlab_widgets-1.0.0   |     pyhd3eb1b0_1         109 KB
2021-01-13T01:11:56.1265014Z     libsodium-1.0.18           |       h7b6447c_0         244 KB
2021-01-13T01:11:56.1265906Z     mistune-0.8.4              |   py36h7b6447c_0          55 KB
2021-01-13T01:11:56.1266731Z     nbclient-0.5.1             |             py_0          58 KB
2021-01-13T01:11:56.1267592Z     nbconvert-6.0.7            |           py36_0         480 KB
2021-01-13T01:11:56.1268444Z     nbformat-5.0.8             |             py_0          88 KB
2021-01-13T01:11:56.1269311Z     nest-asyncio-1.4.3         |     pyhd3eb1b0_0          11 KB
2021-01-13T01:11:56.1270182Z     notebook-6.1.6             |   py36h06a4308_0         4.1 MB
2021-01-13T01:11:56.1271045Z     pandoc-2.11                |       hb0f4dca_0         9.6 MB
2021-01-13T01:11:56.1271920Z     pandocfilters-1.4.3        |   py36h06a4308_1          14 KB
2021-01-13T01:11:56.1272748Z     parso-0.7.0                |             py_0          72 KB
2021-01-13T01:11:56.1273643Z     pexpect-4.8.0              |     pyhd3eb1b0_3          53 KB
2021-01-13T01:11:56.1274462Z     pickleshare-0.7.5          |  pyhd3eb1b0_1003          13 KB
2021-01-13T01:11:56.1275356Z     prometheus_client-0.9.0    |     pyhd3eb1b0_0          45 KB
2021-01-13T01:11:56.1276190Z     prompt-toolkit-3.0.8       |             py_0         248 KB
2021-01-13T01:11:56.1277191Z     ptyprocess-0.7.0           |     pyhd3eb1b0_2          17 KB
2021-01-13T01:11:56.1278077Z     pygments-2.7.3             |     pyhd3eb1b0_0         676 KB
2021-01-13T01:11:56.1278913Z     pyrsistent-0.17.3          |   py36h7b6447c_0          89 KB
2021-01-13T01:11:56.1279799Z     pyzmq-20.0.0               |   py36h2531618_1         438 KB
2021-01-13T01:11:56.1280621Z     send2trash-1.5.0           |     pyhd3eb1b0_1          14 KB
2021-01-13T01:11:56.1281519Z     terminado-0.9.2            |   py36h06a4308_0          25 KB
2021-01-13T01:11:56.1282328Z     testpath-0.4.4             |             py_0          82 KB
2021-01-13T01:11:56.1283234Z     traitlets-4.3.3            |           py36_0         140 KB
2021-01-13T01:11:56.1284050Z     wcwidth-0.2.5              |             py_0          29 KB
2021-01-13T01:11:56.1284926Z     webencodings-0.5.1         |           py36_1          19 KB
2021-01-13T01:11:56.1285803Z     widgetsnbextension-3.5.1   |           py36_0         862 KB
2021-01-13T01:11:56.1286631Z     zeromq-4.3.3               |       he6710b0_3         500 KB
2021-01-13T01:11:56.1287495Z     ------------------------------------------------------------
2021-01-13T01:11:56.1288084Z                                            Total:        20.8 MB
2021-01-13T01:11:56.1288513Z
2021-01-13T01:11:56.1288926Z The following NEW packages will be INSTALLED:
2021-01-13T01:11:56.1289304Z
2021-01-13T01:11:56.1290096Z   argon2-cffi        pkgs/main/linux-64::argon2-cffi-20.1.0-py36h7b6447c_1
2021-01-13T01:11:56.1291062Z   async_generator    pkgs/main/linux-64::async_generator-1.10-py36h28b3542_0
2021-01-13T01:11:56.1292084Z   backcall           pkgs/main/noarch::backcall-0.2.0-py_0
2021-01-13T01:11:56.1292948Z   bleach             pkgs/main/noarch::bleach-3.2.1-py_0
2021-01-13T01:11:56.1293807Z   cffi               pkgs/main/linux-64::cffi-1.14.0-py36h2e261b9_0
2021-01-13T01:11:56.1294668Z   decorator          pkgs/main/noarch::decorator-4.4.2-py_0
2021-01-13T01:11:56.1295523Z   defusedxml         pkgs/main/noarch::defusedxml-0.6.0-py_0
2021-01-13T01:11:56.1296386Z   entrypoints        pkgs/main/linux-64::entrypoints-0.3-py36_0
2021-01-13T01:11:56.1297420Z   ipykernel          pkgs/main/linux-64::ipykernel-5.3.4-py36h5ca1d4c_0
2021-01-13T01:11:56.1298539Z   ipython            pkgs/main/linux-64::ipython-7.16.1-py36h5ca1d4c_0
2021-01-13T01:11:56.1299626Z   ipython_genutils   pkgs/main/noarch::ipython_genutils-0.2.0-pyhd3eb1b0_1
2021-01-13T01:11:56.1300517Z   ipywidgets         pkgs/main/noarch::ipywidgets-7.6.3-pyhd3eb1b0_1
2021-01-13T01:11:56.1301446Z   jedi               pkgs/main/linux-64::jedi-0.18.0-py36h06a4308_0
2021-01-13T01:11:56.1302287Z   jsonschema         pkgs/main/noarch::jsonschema-3.2.0-py_2
2021-01-13T01:11:56.1303187Z   jupyter_client     pkgs/main/noarch::jupyter_client-6.1.7-py_0
2021-01-13T01:11:56.1304087Z   jupyter_core       pkgs/main/linux-64::jupyter_core-4.7.0-py36h06a4308_0
2021-01-13T01:11:56.1305113Z   jupyterlab_pygmen~ pkgs/main/noarch::jupyterlab_pygments-0.1.2-py_0
2021-01-13T01:11:56.1306046Z   jupyterlab_widgets pkgs/main/noarch::jupyterlab_widgets-1.0.0-pyhd3eb1b0_1
2021-01-13T01:11:56.1306985Z   libsodium          pkgs/main/linux-64::libsodium-1.0.18-h7b6447c_0
2021-01-13T01:11:56.1307894Z   mistune            pkgs/main/linux-64::mistune-0.8.4-py36h7b6447c_0
2021-01-13T01:11:56.1308778Z   nbclient           pkgs/main/noarch::nbclient-0.5.1-py_0
2021-01-13T01:11:56.1309607Z   nbconvert          pkgs/main/linux-64::nbconvert-6.0.7-py36_0
2021-01-13T01:11:56.1310461Z   nbformat           pkgs/main/noarch::nbformat-5.0.8-py_0
2021-01-13T01:11:56.1311358Z   nest-asyncio       pkgs/main/noarch::nest-asyncio-1.4.3-pyhd3eb1b0_0
2021-01-13T01:11:56.1312263Z   notebook           pkgs/main/linux-64::notebook-6.1.6-py36h06a4308_0
2021-01-13T01:11:56.1313157Z   pandoc             pkgs/main/linux-64::pandoc-2.11-hb0f4dca_0
2021-01-13T01:11:56.1314082Z   pandocfilters      pkgs/main/linux-64::pandocfilters-1.4.3-py36h06a4308_1
2021-01-13T01:11:56.1314961Z   parso              pkgs/main/noarch::parso-0.7.0-py_0
2021-01-13T01:11:56.1315791Z   pexpect            pkgs/main/noarch::pexpect-4.8.0-pyhd3eb1b0_3
2021-01-13T01:11:56.1316650Z   pickleshare        pkgs/main/noarch::pickleshare-0.7.5-pyhd3eb1b0_1003
2021-01-13T01:11:56.1317713Z   prometheus_client  pkgs/main/noarch::prometheus_client-0.9.0-pyhd3eb1b0_0
2021-01-13T01:11:56.1318547Z   prompt-toolkit     pkgs/main/noarch::prompt-toolkit-3.0.8-py_0
2021-01-13T01:11:56.1319369Z   ptyprocess         pkgs/main/noarch::ptyprocess-0.7.0-pyhd3eb1b0_2
2021-01-13T01:11:56.1320210Z   pycparser          pkgs/main/noarch::pycparser-2.20-py_2
2021-01-13T01:11:56.1321047Z   pygments           pkgs/main/noarch::pygments-2.7.3-pyhd3eb1b0_0
2021-01-13T01:11:56.1321980Z   pyrsistent         pkgs/main/linux-64::pyrsistent-0.17.3-py36h7b6447c_0
2021-01-13T01:11:56.1322829Z   pyzmq              pkgs/main/linux-64::pyzmq-20.0.0-py36h2531618_1
2021-01-13T01:11:56.1323697Z   send2trash         pkgs/main/noarch::send2trash-1.5.0-pyhd3eb1b0_1
2021-01-13T01:11:56.1324616Z   terminado          pkgs/main/linux-64::terminado-0.9.2-py36h06a4308_0
2021-01-13T01:11:56.1325521Z   testpath           pkgs/main/noarch::testpath-0.4.4-py_0
2021-01-13T01:11:56.1326419Z   traitlets          pkgs/main/linux-64::traitlets-4.3.3-py36_0
2021-01-13T01:11:56.1327294Z   wcwidth            pkgs/main/noarch::wcwidth-0.2.5-py_0
2021-01-13T01:11:56.1328197Z   webencodings       pkgs/main/linux-64::webencodings-0.5.1-py36_1
2021-01-13T01:11:56.1329108Z   widgetsnbextension pkgs/main/linux-64::widgetsnbextension-3.5.1-py36_0
2021-01-13T01:11:56.1330023Z   zeromq             pkgs/main/linux-64::zeromq-4.3.3-he6710b0_3
2021-01-13T01:11:56.1330437Z
2021-01-13T01:11:56.1330697Z
2021-01-13T01:11:57.3866325Z Preparing transaction: ...working... done
2021-01-13T01:11:57.8747012Z Verifying transaction: ...working... done
2021-01-13T01:12:00.5605899Z Executing transaction: ...working... done
2021-01-13T01:12:01.7435203Z [NbConvertApp] Converting notebook interactive_plot_example.ipynb to notebook
2021-01-13T01:12:02.6216058Z [NbConvertApp] Executing notebook with kernel: python3
2021-01-13T01:12:04.6427881Z Traceback (most recent call last):
2021-01-13T01:12:04.6429898Z   File "/opt/conda/envs/test-env/bin/jupyter-nbconvert", line 11, in <module>
2021-01-13T01:12:04.6430647Z     sys.exit(main())
2021-01-13T01:12:04.6431484Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/jupyter_core/application.py", line 254, in launch_instance
2021-01-13T01:12:04.6432103Z     return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
2021-01-13T01:12:04.6432719Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/traitlets/config/application.py", line 664, in launch_instance
2021-01-13T01:12:04.6433086Z     app.start()
2021-01-13T01:12:04.6433624Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 350, in start
2021-01-13T01:12:04.6433971Z     self.convert_notebooks()
2021-01-13T01:12:04.6434538Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 524, in convert_notebooks
2021-01-13T01:12:04.6434927Z     self.convert_single_notebook(notebook_filename)
2021-01-13T01:12:04.6435527Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 489, in convert_single_notebook
2021-01-13T01:12:04.6436003Z     output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer)
2021-01-13T01:12:04.6436681Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/nbconvertapp.py", line 418, in export_single_notebook
2021-01-13T01:12:04.6437321Z     output, resources = self.exporter.from_filename(notebook_filename, resources=resources)
2021-01-13T01:12:04.6437969Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 181, in from_filename
2021-01-13T01:12:04.6438384Z     return self.from_file(f, resources=resources, **kw)
2021-01-13T01:12:04.6438963Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 199, in from_file
2021-01-13T01:12:04.6439433Z     return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw)
2021-01-13T01:12:04.6440099Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/exporters/notebook.py", line 32, in from_notebook_node
2021-01-13T01:12:04.6440531Z     nb_copy, resources = super().from_notebook_node(nb, resources, **kw)
2021-01-13T01:12:04.6441174Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 143, in from_notebook_node
2021-01-13T01:12:04.6441589Z     nb_copy, resources = self._preprocess(nb_copy, resources)
2021-01-13T01:12:04.6442189Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/exporters/exporter.py", line 318, in _preprocess
2021-01-13T01:12:04.6442573Z     nbc, resc = preprocessor(nbc, resc)
2021-01-13T01:12:04.6443125Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/preprocessors/base.py", line 47, in __call__
2021-01-13T01:12:04.6443509Z     return self.preprocess(nb, resources)
2021-01-13T01:12:04.6444071Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/preprocessors/execute.py", line 79, in preprocess
2021-01-13T01:12:04.6444441Z     self.execute()
2021-01-13T01:12:04.6444943Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/util.py", line 74, in wrapped
2021-01-13T01:12:04.6445313Z     return just_run(coro(*args, **kwargs))
2021-01-13T01:12:04.6445855Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/util.py", line 53, in just_run
2021-01-13T01:12:04.6446204Z     return loop.run_until_complete(coro)
2021-01-13T01:12:04.6446752Z   File "/opt/conda/envs/test-env/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
2021-01-13T01:12:04.6447088Z     return future.result()
2021-01-13T01:12:04.6447627Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/client.py", line 541, in async_execute
2021-01-13T01:12:04.6448013Z     cell, index, execution_count=self.code_cells_executed + 1
2021-01-13T01:12:04.6448634Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/preprocessors/execute.py", line 123, in async_execute_cell
2021-01-13T01:12:04.6449188Z     cell, resources = self.preprocess_cell(cell, self.resources, cell_index)
2021-01-13T01:12:04.6449880Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbconvert/preprocessors/execute.py", line 146, in preprocess_cell
2021-01-13T01:12:04.6450365Z     cell = run_sync(NotebookClient.async_execute_cell)(self, cell, index, store_history=self.store_history)
2021-01-13T01:12:04.6450969Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/util.py", line 74, in wrapped
2021-01-13T01:12:04.6451336Z     return just_run(coro(*args, **kwargs))
2021-01-13T01:12:04.6451880Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/util.py", line 53, in just_run
2021-01-13T01:12:04.6452231Z     return loop.run_until_complete(coro)
2021-01-13T01:12:04.6452788Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nest_asyncio.py", line 98, in run_until_complete
2021-01-13T01:12:04.6453125Z     return f.result()
2021-01-13T01:12:04.6453619Z   File "/opt/conda/envs/test-env/lib/python3.6/asyncio/tasks.py", line 180, in _step
2021-01-13T01:12:04.6454066Z     result = coro.send(None)
2021-01-13T01:12:04.6454984Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/client.py", line 832, in async_execute_cell
2021-01-13T01:12:04.6455369Z     self._check_raise_for_error(cell, exec_reply)
2021-01-13T01:12:04.6455927Z   File "/opt/conda/envs/test-env/lib/python3.6/site-packages/nbclient/client.py", line 740, in _check_raise_for_error
2021-01-13T01:12:04.6456508Z     raise CellExecutionError.from_cell_and_msg(cell, exec_reply['content'])
2021-01-13T01:12:04.6456908Z nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
2021-01-13T01:12:04.6457377Z ------------------

evals_result = {}  # to record eval results for plotting
gbm = lgb.train(params,
                lgb_train,
                num_boost_round=100,
                valid_sets=[lgb_train, lgb_test],
                feature_name=['f' + str(i + 1) for i in range(X_train.shape[-1])],
                categorical_feature=[21],
                evals_result=evals_result,
                verbose_eval=10)
------------------

---------------------------------------------------------------------------
LightGBMError                             Traceback (most recent call last)
<ipython-input-1-fb9e9ad1250c> in <module>
      7                 categorical_feature=[21],
      8                 evals_result=evals_result,
----> 9                 verbose_eval=10)

~/.local/lib/python3.6/site-packages/lightgbm/engine.py in train(params, train_set, num_boost_round, valid_sets, valid_names, fobj, feval, init_model, feature_name, categorical_feature, early_stopping_rounds, evals_result, verbose_eval, learning_rates, keep_training_booster, callbacks)
    226     # construct booster
    227     try:
--> 228         booster = Booster(params=params, train_set=train_set)
    229         if is_valid_contain_train:
    230             booster.set_train_data_name(train_data_name)

~/.local/lib/python3.6/site-packages/lightgbm/basic.py in __init__(self, params, train_set, model_file, model_str, silent)
   2074                 train_set.handle,
   2075                 c_str(params_str),
-> 2076                 ctypes.byref(self.handle)))
   2077             # save reference to data
   2078             self.train_set = train_set

~/.local/lib/python3.6/site-packages/lightgbm/basic.py in _safe_call(ret)
     50     """
     51     if ret != 0:
---> 52         raise LightGBMError(_LIB.LGBM_GetLastError().decode('utf-8'))
     53
     54

LightGBMError: No OpenCL device found
LightGBMError: No OpenCL device found

##[error]Bash exited with code '255'.
Finishing: Test


Added all 6 Pages for categories

Thanks @ANSHIKA-26 for assigning me this issue.

Fixed #782
Added 6 Pages for all 6 categories with header and footer and articles with images.
Linked them to categories page.
I have also improved design of hovering on categories page.

Please merge this PR.
Some screenshots:

Pull Request Checklist

[X] I have added screenshots and videos to show before and after the working of my code.
[X] I have ensured that the screen size is set to 100% while making the video.
[X] I have synced the latest fork with my local repository and resolved any conflicts.
[X] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[X] I understand that if any the above conditions are not met , my PR will not be MERGED .

Dark theme is not working on these pages when clicked
Kindly make changes for dark mode


FullyConnected input dimensions

The validation code for Fully Connected layers in WorkloadData.cpp requires that the input tensor to fully connected is either 2D or 4D. 2D tensors are presumably interpreted as (input channels, output channels) and 4D tensors presumably have an "implicit reshape" where the 3 input dimensions are collapsed to one.
All the parsers however insert an explicit reshape to turn the input of FC into 2D.
Therefore it seems that the 4D support superfluous and arguably confuses the API. I would like to suggest that 4D input are deprecated and eventually removed. This would make the authoring of a backend simpler as the backend needs to deal only with 2D inputs.

The 2D input should be (num batches, num inputs), and the 2D weights are (num outputs, num inputs).
Because several of our supported frameworks support 4D input (which gets implicitly reshaped as you surmise) I think we had some discussion in the past about what ArmNN should accept.
The current thinking is that ArmNN should accept 2D inputs, weights, and outputs and 1D bias only. Any "implicit reshaping" needed for compatibility with the frameworks should be inserted explicitly by the parser for that framework.  Any remaining references to 4D inputs in core ArmNN should be dead code and can be removed. Any 'fused reshape' that a particular backend can do should be performed as a target-specific optimisation by that backend.
I'd be happy to get your opinion on this. Also very happy if you can contribute improvements to the code :-)

As discussed, it should be safe to remove the references to 4D input in WorkloadData.cpp and elsewhere if still present.

WIP review for this change. Some outstanding work in the Caffe parser.

So it turns out that both Caffe and Tendorflow parsers do allow 4D fully connected type layers. As this is functionality that is currently working and being actively tested via the Mnist network we won't remove it.
If a backend does not want to support 4D inputs for fully connected then it can fail the appropriate IsSupported call. The user can then decide to fall back to another backend.
This is the review that will be abandoned:
https://review.mlplatform.org/c/ml/armnn/+/3007


feat: add zstd

name: 🎉
about: Adding zstd
labels: enhancement

Description
This PR tries to add zstd. But i have no idea how to get some data

done added all supported php versions and verified locally

@shyim Thanks! for the contribution.


Examples and tutorials

Description
Changes proposed in this pull request:

adding examples and tutorials section to docs

Testing

run npm start
chose the unreleased version
check the content and formatting

Related issue(s)

https://github.com/kubeshop/botkube-cloud/issues/880

@mashby2022 I can't fix "Dead link checker" cos I don't know the right links.
I can show you the ropes how to check it by your own.
To run "Dead link checker" locally run this command
mage checkLinks - if you will have error like: unknown mage then you can ask anybody of us to help you setup on your machine
For now you don't have to run this command at all because all errors are display in the details of "Dead link checker" details:

Of course if you need help just ping me or anybody from the dev team


Allow merging from right to left with diff arrows view

Testing https://github.com/microsoft/vscode/issues/25887
The arrows work for merging from the left hand to the right-hand file, that's great 👍
However, there's no way to do the opposite. I was thinking I could alt or shift-click on the arrow (or at least have a context menu) to go the other direction, but I cannot.

FYI @Mingpan. Maybe we can use the EditorGutter in the merge editor to get rid of the glyphs. Then we can show arrows next to each other for both ways.

Thanks for the feedback!
I think right => left arrows are helpful when the left-hand-side editor is editable (e.g. in a file-to-file compare view). But they don't make sense for same-file diff views ("source control diff views"). This should be considered when implementing this.
Put this in a right-click context menu sounds doable and doesn't affect the editor experience too much (e.g. doesn't consume more horizontal space), though a nit-picking point is it is not symmetric and doesn't treat left / right arrows equal.

Maybe we can use the EditorGutter in the merge editor to get rid of the glyphs. Then we can show arrows next to each other for both ways.

Thanks for the pointer, I'll take a look at the EditorGutter and see if / how the arrows can make use of it.

Yea, the use case I was using for testing was "compare active file with...". I think if the LHS is readonly, then having unidirectional arrows makes sense.

I think an option to "swap sides" in the comparison page will be good enough for me.

In IntelliJ the arrows are added to whichever side is editable which can mean they could both appear at the sametime, also atm the arrows from the left to the right hand side appear even if the right hand file is not editable and don't do anything upon click

Also want this feature. Wonder this feature still has not implemented

Another vote for bidirectional copying.  There is more to diff than source control.

I think adding just some shortcut to switch direction would be awesome, for example if you hold CTRL arrow would switch to left and do what is should

@Mingpan would adding the opposite direction be possible?
Also noticed that if you have a complete empty space the copy arrow works... if not it doesn't provide an option to copy what is on left to right... so for in the screenshot maybe we want to copy the format from left to right? It doesn't provide an arrow to do that. Those are only provided where complete lines are missing on the right side.

Definitely would like a left arrow.
I know we'd basically be making the Meld tool in vs-code, and I'm fine with that.

So I have to do the compare merge in BeyondCompare external to VSCode be able to copy-left AND copy-right?   Maybe I'll look into the Meld tool until this gets "fixed".  Although swapping sides may be useful, but there are many times I am moving changes in both directions.  I love my BeyondCompare, but we don't need THAT much functionality.

Any progress on this?

I'm amazed that this essential feature still doesn't exist. What's going on?

+1

It seems like the ability to swap what is on the left and right now exists, so it's possible to achieve getting changes from A to B or B to A.

How do you swap?
I don't see any option when I select files to compare

Two new unsaved files

Swap button

Repeatedly swapping left and right sides to pick the right one works but I find it disorienting, I'd still much rather have two arrows pointing each side to "Copy left to right" / "Copy right to left" in the case when both sides are editable (for example when using "File: Compare Active File With...")


Passing Sensitive Pipeline Created Variables to AzureCLI@2 Task

Required Information
Question, Bug, or Feature?
Type: Feature
Enter Task Name: AzureCLI@2
Environment
Azure Pipelines
Issue Description
Context
We have a use case where "sensitive" variables (ex.: username, database instance name, firewall rule names, etc.) are dynamically created as part of our Pull Request CI/CD Pipelines. We use AzureCLI@2 task to set up/configure some of the PR environment resources.
Documentation cleary states that secrets should NOT be created as part YAML pipelines but offer no alternative for dynamically created variable use case.
Using KeyVaults and Pipeline variable groups are no option (since values are dynamic) and using pipeline variables direcly in the AzureCLI script as suggested is not elegant as it prevents script reuse. Finally, using AzureCLI "arguments" is not an option either since corresponding values are echoed in clear text (unmasked) in the task's log.
Feature Requests

It would be great if AzureCLI@2 could support environment variable mapping (env argument) like bash and powershell task. This would allow us to pass sensitive variables to the AzureCLI script without them being echoed in the task's log.
Dreaming outloud here (!), another option would be to be able to dynamically create secret variables using a syntax like the following in a bash task.
echo "##vso[task.setvariable variable=${name};isOutput=${is_output};isSecret=true]${value}"
Such variables would then be systematically masked in the pipeline task's log.

Questions

In the meantime, what are the existing options to pass dynamically created sensitive variables to an AzureCLI task?

Thanks.

Any progress on this? Support for environment variable mapping as suggested would also solve parsing issues that can be encountered when secret variables contain certain characters that are interpreted by PowerShell or Azure CLI.