Callbacks

I want to insert a document and then use its callback to pass the returned id to a method. How and where would I do that? Does the dispatcher support callbacks and is that intended?

I have more questions on this :) I have this simple line of code, which is part of my store.
  # Insert a new case into db
  _createCase: (data) ->
    @cases.insert data, (err, res) ->
      console.log err or res

I'd now like to open a notification on error or response. However, the store seems to be the wrong place to do it. I've just used collection-hooks to handle the successful insert using @cases.after.insert, but can't handle failing inserts. I think it might be good to put the code for the alerts into my mediator - is there a way to call functions on the mediator from my store? Could I even use @listenTo in a mediator? Or do you think there is a better way to solve this problem?
Thanks :)

Hey there,
you can just raise an error action in the store and @listenTo with the mediator. Since Mediator extends Space.ui.Messenger it can listen to any action in your system :wink: Then you just set a state property for your views which render the error message!

That's good to know :D I think I'll just create one class that listens to all my notifications :) Can I also trigger events from a store? Have a nice weekend!

Yes you can, although it is not recommended by the flux architecture. Also, you can't dispatch another action while handling the current action. This is the basic rule of flux: Don't create nested runtime circles, because they will cause problems and can potentially lead to endless-loops. space:ui will throw an error at you when you try to dispatch an action while handling one :wink:
Normally some part of the system (UI / http call / etc.) raises an action which is handled by one or multiple stores. These stores update their internal data, which is propagated to the views etc. Then the system is ready for the next action.

Hi @DominikGuzei, I'm getting familiar with space-ui. Love it so far!
I have the same problem as what @zimt28 mentioned: Inside a function in my store, I call a Meteor method. In case the method returns an error, I want to display notification to user.
As you pointed out, we should have the store tell the mediator about the error, and place the code to display notification inside the mediator.
However, it looks like Space.ui.Messenger has been removed in https://github.com/CodeAdventure/space-ui/commit/3e71a85cdc61f01e2be8716707785759e33193b4.
How should I implement communication between store and mediator in this case?

Hey @npvn!
Space.ui.Messenger has been replaced by Space.messaging.Controller which provides the same capabilities but leverages the space:messaging package. So you can just send messages like this:
class @TodosStore extends Space.ui.Store

  invokeServerMethod: -> Meteor.call 'yourMethod', (error, response) =>
    @eventBus.publish new SomethingInterestingHappened data: response

But in reality I think you should avoid this. This is were Meteor is actually better than React: Use reactivity to show notifications / errors to the user. So just setup a dedicated store for these messages or (which I actually like better) call the meteor method from within your mediator and handle errors directly where you need them.

@DominikGuzei: Thanks for your reply!
So we're having 3 possible approaches:

Emit an event from inside the store to tell mediator about the error
Call the Meteor method inside mediator
Use an ErrorsStore and let Meteor's reactivity do the work

I think option 1 is not recommended in the Flux architecture.
I don't like option 2, because my Meteor method contains the logic to update data. It's un-natural to call such a method inside mediator.
The final one looks like the best approach, since it fits perfectly with the Flux architecture!

Hey @npvn! Yeah I also think option 2 and 3 are the good ones :wink: Having a dedicated error store might be good if you want a more centralized error handling that is decoupled from specific components.
I like the mediator approach more because I don't simulate methods on the client anyway and it keeps the scope of functionality close together. Lately I tend to split up my application into folders per-feature with full-stack code of one functionality neatly packaged. This makes reasoning about data-flow and changing things much easier in my opinion.

Organizing the codebase into folders on a per-feature basic sounds interesting. I will experiment with this idea :+1:


Which version applies to.Net core 1.0?

Which version applies to.Net core 1.0? thanks

We require ASP.NET Core 1.1 - and I think this also means you want to combine that with .NET Core 1.1 (or the full .NET Framework).

Can I use vs2015 Update3 and identityserver4 for development? thanks

I probably works - but it's not supported anymore (nor by us or Microsoft).
I recommend using VS2017 (community edition).


Remove unused env

Previous case was setting resin override in the wrong order anyway, but overall these variables are not used.

LGTM


UTxO fromCbor fails when a refScript is present

Cbor.decodeTuple takes a function as a 2nd param that gets called by Cbor.decodeList.  Cbor.decodeList will always pass in 0 on the first iteration. When handling UTxO refScripts, the function that is passed in always throws an error for case 0. Therefore the other cases are never considered and the error native refScript unhandled is always thrown.
Discord conversation for context: https://discord.com/channels/997177025972424815/997177141177352229/1153483324434686013
There is another problem with wallet DApps that incorrectly change that tuple key from a 2 (PlutusV2) to a 1 when returning the UTxO via CIP-30. This compounds the problem with the above passed in function as case 1 also fails. We have a ticket open with Eternl to fix this (Lace also does this).
In order to get Helios to work with refScripts in a CIP-30 UTxO, we had to replace the following code:
Cbor.decodeTuple(tupleBytes, (tupleIdx, innerTupleBytes) => {
     assert(refScript === null);

     switch (tupleIdx) {
         case 0:
             throw new Error('native refScript unhandled');
         case 1:
             throw new Error('plutuScriptV1 as refScript unhandled');
         case 2:
             refScript = UplcProgram.fromCbor(innerTupleBytes);
         default:
             throw new Error('unhandled script type for refScript');
     }
});

with...
Cbor.decodeTuple(tupleBytes, (tupleIdx, innerTupleBytes) => {
    switch (tupleIdx) {
        case 0:
            console.warn('native refScript unhandled');
            break;
        case 1:
            // Needed temporarily to workaround Eternl/Lace bugs
            refScript = UplcProgram.fromCbor(innerTupleBytes.slice(1));
            break;
        case 2:
            refScript = UplcProgram.fromCbor(innerTupleBytes.slice(1));
            break;
        default:
            throw new Error('unhandled script type for refScript');
    }
});

Ola from Eternl thinks their side of the bug is in CSL. That might explain why Lace does the same thing. He said they'll see what they can do to fix it on their side.

The way I called decodeTuple was simply wrong, the tupleIdx isn't the refScriptType (rather: the refScriptType sits at tupleIdx ==0)

v0.16.4 hopefully fixes this


[FSDP2] pre-compute amax after optimizer.step for dynamic scaling

unit test pytest -s test/test_fsdp2/test_fsdp2_eager.py -k test_transformer_parity_dynamic
FSDP pre-forward: shortend from 3ms to 1.8ms because of doing 1 all-reduce instead N small all-reduces

Pre-computing amax: shortened from 5ms to 1.7ms, by switching from torch._foreach_abs + torch.max(a) to torch._foreach_norm(weights, ord=math.inf)

nice! Can we include the intended user API in the PR summary?

nice! Can we include the intended user API in the PR summary?

added example API usage in PR summary

the linter error comes from trunk. I opened another PR to fix them: https://github.com/pytorch-labs/float8_experimental/pull/313


[WIP] [40] add-http-response-fingerprinting-support

Pull Request Template
Description
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change:
Please select the appropriate tags in the PR if necessary.
Motivation
Keeping thing up-to-date
How has this been tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce, and the Operative System used.
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Select the appropriate tags in the PR if necessary.

Codecov Report
Attention: Patch coverage is 2.00000% with 49 lines in your changes missing coverage. Please review.

Project coverage is 19.88%. Comparing base (71ec0d3) to head (d7bba3b).

Files with missing lines
Patch %
Lines

src/lib.rs
4.16%
23 Missing :warning:

src/http_process.rs
0.00%
14 Missing :warning:

src/p0f_output.rs
0.00%
11 Missing :warning:

src/process.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   20.48%   19.88%   -0.61%
==========================================
  Files          13       13
  Lines         820      845      +25
==========================================
  Hits          168      168
- Misses        652      677      +25

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


[Feature Request] Increase Fable compatability

Currently, the FsSpreadsheet codebase is transpilable to js via Fable, but it is not optimized for it. This results in terrible js code.
We should implement the design principles defined here:
https://github.com/nfdi4plants/ISADotNet/tree/arctrl#fable-compatibility-as-top-priority
@Freymaurer @omaus

#36
#34


Sframe in Windows

Hi,
When installing sframe in Python, I got this message:
Installing collected packages: requests, tornado, sframe
Found existing installation: requests 2.8.1
Uninstalling requests-2.8.1:
Successfully uninstalled requests-2.8.1
Found existing installation: tornado 4.2.1
Uninstalling tornado-4.2.1:
Successfully uninstalled tornado-4.2.1
Rolling back uninstall of tornado
with open(dst, 'wb') as fdst:

IOError: [Errno 13] Permission denied: 'd:\_devs\python01\winpython-64-2710\python-2.7.10.amd64\lib\site-packages\tornado\speedups.pyd'
How can I prevent the installation of tornado ?

I don't think you can prevent the installation of tornado...I believe it is listed as one of the requirements of SFrame (though I can't remember why).
If I recall correctly, the installation still goes through if the speedups fail to compile, is that right? If you don't want your previously installed versions of packages uninstalled when SFrame gets installed, consider using virtualenv or conda env if you are using Anaconda Python.

Hi,
Am using WinPython which have a lot of pre-installed packages and has much smoother installed process for deep learning.
Tornado is already pre-installed,
Tornado is used for the communication ZMQ (server).
How Can I install Sframe only (if I have already other packages already installed) ?
Reason is I have to combine Sframe with many many other packages (including),
so virtual env is not a solution (I need to install on the main part).
On 08 Apr 2016, at 06:02, Evan Samanas<EMAIL_ADDRESS>wrote:
I don't think you can prevent the installation of tornado...I believe it is listed as one of the requirements of SFrame (though I can't remember why).
If I recall correctly, the installation still goes through if the speedups fail to compile, is that right? If you don't want your previously installed versions of packages uninstalled when SFrame gets installed, consider using virtualenv or conda env if you are using Anaconda Python.
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

virtualenv has a flag called --system-site-packages that will install all the packages in WinPython in to a new environment you create. That way installing SFrame will at least not try to change the versions of packages in your main environment. I'd still recommend that...Python can get pretty nasty if you don't use virtual environments from my experience. Even if you just have one "main" virtual environment where you install everything, you can at least throw it away at any time and not do harm to your main installation.
Is the installation of SFrame actually failing here? If so, can you please post the entire output?

Closing for now because of inactivity. Feel free to open again if there's more to say.


Update the game over message

pdate the game over message so people know how to play again!


Potentially large JAR file

Your current JAR file is about 86 mb. While at the moment it is within the constraint (100mb), by the end of the project you may potentially hit the limit.
Please check if you have packaged possibly unwanted libraries (e.g., javafx-web and javafx-media) within the JAR? If so, please remove it to make the size easier to manage.

javafx-web is being used to host the user guide locally on the app for help command.


Allow to accept multiple values for --security-group-ids and show deprecated message for comma seprated

@Vasu1105 I talked to some chef maintainers, and we want to standardize on passing a CLI avalue multiple times by calling the argument multiple times instead of a comma separated list.
A) multiple values passed to the CLI is done by passing the flag multiple times
B). use an array in the configuration file
This is so we don't have to deal with parsing issues exactly like this.
Implementing A:

Add support to pass -g multiple times like in https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap.rb#L251-L260

detect commas, tell people it's deprecated, and to pass -g multiple times instead

Implementing B:

Add support for arrays

detect a comma separated string, raise a warning telling people to switch to an array.

@btm working on required changes. Fixing specs is in progress.

@btm I have created gist for ec2_server_create_spec since git is not showing the diff as it exceeding the number of line changes REF gist https://gist.github.com/Vasu1105/aba8bf2d883bfd51dd717c4598aff9ee.
I have used let and replaced most of the instance variable in specs because of which it showing lot of changes.

@mwrock & @btm I have updated the changes and also updated the gist for spec file https://gist.github.com/Vasu1105/aba8bf2d883bfd51dd717c4598aff9ee. Please review

:+1:


Stop activating Bundler in puppetserver-ca

This fails on current Bundler versions where require is a private method. It also makes it useless outside of a bundler context.

Debian has been carrying this very patch for a while: https://salsa.debian.org/puppet-team/ruby-puppetserver-ca-cli/-/blob/debian/main/debian/patches/0003-Disable-Bundler-during-test-execution.patch?ref_type=heads


Enhancement in area of expertise

current design

goal

visite the figma design to learn more

Your project looks interesting and innovative , I would really like to work on it.
Can you please assign me this issue?

thank you. give this repo a star as an appreciation:)

sure :)

Does this work?

I've initiated a PR #60. Please have a look.

I would like to present an alternative design, so how about this ?

Hi @Akshit203 I like your design, do you want to work on this?

Yes

Ok, I'm assigning this to you. please use grid instead of flex. This would be easier for the required layout.
The required layout should be 4 * 3 in desktop view, 3 * 4 in tablet view, and 2 * 6 in mobile view.

Hi @Iamdivyak
I've initiated a PR #66

I've initiated a New PR #67

pr #67


Consider nodeset hash to update the completion status

OSPRH-8397

/test openstack-operator-build-deploy-kuttl

recheck

I'm fine with it, tested against HCI. I'll run some extra runs be sure it fixes the issue, as it seems unpredictable, despite it showed up for me on each run I did.

LGTM, but where is the blocker jira for this? Are we not still in blocker-only mode?

LGTM, but where is the blocker jira for this? Are we not still in blocker-only mode?

it was uncovered by OSPCIX-352 (the tempest starts to run before the nodeset being ready)

LGTM, but where is the blocker jira for this? Are we not still in blocker-only mode?

it was uncovered by OSPCIX-352 (tempest starts to run before the nodeset is ready)

I had looked at that. If one creates a new deployment after updating/patching the nodeset and then checks the nodeset status, they won't have the  issue. The issue in the workflow of that job is that we're checking the status before creating a deployment.

rabi closed this now

Sorry clicked the wrong button.

actually, they check the status after the deployment: https://github.com/openstack-k8s-operators/architecture/blob/main/automation/vars/default.yaml#L73
2024-07-02 14:06:31,591 p=24790 u=zuul n=ansible | TASK [kustomize_deploy : Apply generated content for examples/va/hci/deployment _raw_params=oc apply -f {{ _cr }}] ***
2024-07-02 14:06:31,591 p=24790 u=zuul n=ansible | Tuesday 02 July 2024  14:06:31 -0400 (0:00:00.073)       0:42:23.561 **********
2024-07-02 14:06:32,072 p=24790 u=zuul n=ansible | changed: [localhost]
2024-07-02 14:06:32,093 p=24790 u=zuul n=ansible | TASK [kustomize_deploy : Run Wait Conditions for examples/va/hci/deployment _raw_params={{ wait_condition }}] ***
2024-07-02 14:06:32,094 p=24790 u=zuul n=ansible | Tuesday 02 July 2024  14:06:32 -0400 (0:00:00.502)       0:42:24.064 **********
2024-07-02 14:06:32,750 p=24790 u=zuul n=ansible | changed: [localhost] => (item=oc -n openstack wait osdpns openstack-edpm --for condition=Ready --timeout=40m)
2024-07-02 14:06:32,768 p=24790 u=zuul n=ansible | TASK [kustomize_deploy : Stop after applying CRs if requested msg=Failing on demand {{ cifmw_deploy_architecture_stopper }}] ***
2024-07-02 14:06:32,768 p=24790 u=zuul n=ansible | Tuesday 02 July 2024  14:06:32 -0400 (0:00:00.674)       0:42:24.738 **********

https://sf.hosted.upshift.rdu2.redhat.com/logs/96/96/f391b023cb2071c3bc2ce71538724400311d018e/check-gitlab-cee/ci-framework-baremetal-static-node-rhel9-va-hci/f1aa706/logs/controller-0/ci-framework-data/logs/ansible-edpm-deploy.log

actually, they check the status after the deployment: https://github.com/openstack-k8s-operators/architecture/blob/main/automation/vars/default.yaml#L73

Then it could be they are checking too quickly before the nodeset could reconcile (after the event from deployment) or maybe the query[1] we're doing does not show the deployment as we're using an empty context (context.Background()).
[1] https://github.com/openstack-k8s-operators/openstack-operator/blob/main/controllers/dataplane/openstackdataplanenodeset_controller.go#L474

/cherry-pick 18.0.0-proposed


Does this need to be reopened? It is not in the latest release.

https://github.com/pydata/pandas/issues/5580

its a dupe of #5563 (which is open) and thus was closed


Mobile Compatibility

On mobile devices (or at least mine), the numbered lists have the numbers cut off on the edge of the screen. This should be fixed along with maybe a little more testing for small screens/mobile devices.

Looks fine for me but the gaps on the sides are too big and the content is too small.


Hacks to demo possible CiTO support

with the existing apa.csl
with just the lua filter from BioHackRxiv

Sorry, forgot something :(

@tarleb, when/if you have time, your independent confirmation that I did it correctly would be highly appreciated.

Hi, sorry for the wait.
LGTM! A conservative approach to making this information available would be to put it into a JSON-LD file that could be served from the paper website.
Maybe we could use git subtree to keep the script in sync with the implementation at pandoc-ext, but that might require some additional changes in Inara.

Just a quick ping. I have had a very busy year, but this is still on my radar and todo list.


Re-introduce saving attribute funcs in the new engine

Description
Currently, save_func works in the new engine. However, we need it to work for attribute funcs and advanced use cases. This commit is a step in that direction with the goal of ensuring of collecting and saving func associations works when saving an attribute func.

Relevant Changes

Fix func argument mutation, removal and additional procedures when working with attribute funcs
Fix action kind selection in the authoring screen
Add integration tests for all func saving scenarios (with attribute funcs getting a full-length test)
Fix code gen and qualification input checkboxes

Misc Changes

Convert stdout lines to logs when importing packages
Make errors clearer when importing packages
Replace default schema variant log with debug log

Known Issues

Changing the type of a func argument for an attribute func does not work
Changing "run on assets of type" and similar values does not work
Using the attribute bindings panel for attribute funcs may not work as intended
Changing builtin funcs is allowed

bors merge


Using our dedicated rpc-node

it didn't work with wss or without the port number FYI.
Last-50K is running with it now.

closing, it's in #261


Unhandled exception at line 221

I have a test project using es6-shim (v0.33.6), Cordova 5.3.3 and Windows Phone (Universal).
I get the following error when I test on Windows Phone:
SCRIPT5007: Unhandled exception at line 221, column 7 in ms-appx-web://test/www/scripts/lib/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Unable to get property 'toString' of undefined or null reference
es6-shim.js (221,7)

Cordova Mobile(Android) and Web(Chrome, IE, Firefox) are working well.
Here's the bare code I used to isolate es6-shim.
<!DOCTYPE html>

Hello, your application is ready!

Not sure if this is a problem with es6-shim or Cordova.  Any help is greatly appreciated.

@DeanB2015 Thanks for the report! it would help if you could provide a bit more of the stack trace - specifically, where preserveToString is being called inside es6-shim

@ljharb
Call Stack
Value.preserveToString [es6-shim.js] Line 221	Script
 	overrideNative [es6-shim.js] Line 270	Script
 	Anonymous function [es6-shim.js] Line 3251	Script
 	Anonymous function [es6-shim.js] Line 3240	Script
 	Anonymous function [es6-shim.js] Line 25	Script
 	Global code [es6-shim.js] Line 13	Script

Here's a screen shot from VS2015 Community

@ljharb  Here's the Output > Debug:
'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.
Exception was thrown at line 140, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138d - JavaScript runtime error: String.prototype.startsWith: 'this' is not a String object
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1088, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a139e - JavaScript runtime error: Exception thrown and not caught
Exception was thrown at line 1266, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Invalid operand to 'Object.assign': Object expected
Exception was thrown at line 2189, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a13f8 - JavaScript runtime error: Promise: an unexpected failure occurred while trying to obtain metadata information
Exception was thrown at line 2192, column 66 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a13fc - JavaScript runtime error: Promise: 'this' is not a Promise object
Exception was thrown at line 2797, column 11 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a13fc - JavaScript runtime error: Map: 'this' is not a Map object
Exception was thrown at line 2827, column 11 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a13fc - JavaScript runtime error: Set: 'this' is not a Set object
Exception was thrown at line 39, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a13fc - JavaScript runtime error: Map: 'this' is not a Map object
Exception was thrown at line 39, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a13fc - JavaScript runtime error: Set: 'this' is not a Set object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138a - JavaScript runtime error: Reflect.apply: argument is not a Function object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138a - JavaScript runtime error: Reflect.construct: 'this' is not a Function object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.deleteProperty: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.enumerate: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.has: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.ownKeys: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.iesExtensible: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.preventExtensions: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.defineProperty: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.getOwnPropertyDescriptor: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.get: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.set: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.getPrototypeOf: argument is not an Object
Exception was thrown at line 3165, column 9 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.setPrototypeOf: argument is not an Object
Exception was thrown at line 3186, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.setPrototypeOf: argument is not an Object
Exception was thrown at line 3194, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Reflect.defineProperty: argument is not an Object
Unhandled exception at line 221, column 7 in ms-appx-web://testing/www/scripts/es6-shim/es6-shim.js
0x800a138f - JavaScript runtime error: Unable to get property 'toString' of undefined or null reference

Let me know if you need the code.  I can add to github repository.

wow - ok so all of the "exception thrown and not caught" errors actually happen inside a try/catch, so I'm not sure what's happening there. It's almost like all of those errors (except the first one) shouldn't be there, because a catch block should silence all of them.
Which version of es6-shim are you using?  The line numbers don't match up to the latest version.

Just confirmed es6-shim: v0.33.6

ok so this must be something about cordova. it's like every try/catch is being ignored.
I don't know how to possibly fix or debug this :-/

@ljharb Thanks again for the help. This helps me focus on where the problem could be located.  I'll contact the Cordova team.
Windows Phone Universal appears to support es6. I think the solution to avoid errors is to not use es6 shims in Windows Phone Universal + Cordova.
Note: I just tried core-js shims and I'm getting similar JavaScript runtime errors

There doesn't exist an engine that even the es5-shim isn't needed on - so you should be free to use shims if you want a reliable environment. Please do report back - I'd love to make sure the es6-shim can work for you.

@ljharb I created an issue on Apache Cordova's Issue tracking system.
https://issues.apache.org/jira/browse/CB-9838
I also added a stackoverflow question
http://stackoverflow.com/questions/33256378/javascript-error-cordova-windows-phone-universal-es2015-shims

Please reopen this if you hear back - I'm going to close for now.


Use manifest and german translation

can you remove  pycache/init.cpython-36.pyc  from this PR? i also pushed a few more intents if you want to translate
thank you for this!

actually never mind, merging as is, you can submit a follow up PR later :+1:


When are variables destroyed in the Presenter lifecycle?

I noticed that my global variable became null by the time it hit the activity's onDestroy

@sreejithraman
I think the variables will be destroyed in the following situation:

The user shut down the activity by pressing the button back or calling the method finsih()
The process is killed

Global variables are not affected by nucleus.


Debug information

Does lucetc have a way to emit .debug_* sections in the shared object? If not (I assume not, since I can't find any debug-related source code in the repo), what is the suggested workflow for debugging wasm-specific crashes in a large application?

"that's a good question!"

We're working on getting .eh_frame emitted by cranelift, at which point debuggers will be able to walk a wasm instance's stack without relying on heuristics.
Some time around then lucet-runtime will be able to provide backtraces of a faulted guest, which is blocked on missing .eh_frame data.
When https://github.com/bytecodealliance/lucet/pull/366 is merged we'll provide symbols that correspond to the original wasm: guest_func_<original_name>_<function_index>, instead of guest_func_<function_index>.

Currently, my go-to approach in debugging a wasm error is to run lucet-wasi under gdb and let gdb catch the SIGILL that we turn a bad accesses or unreachable into. From there, gdb is typically able to walk the stack well enough to get an idea of what broke and where(ish). It's also entirely fine to set breakpoints on guest functions after the lucetc-compiled module has been loaded, though that being helpful is probably somewhat niche. It's not a great workflow and involves looking at more assembly than it should. We want to improve this.
None of our in-progress work will do things like translate line number information (or anything else from DWARF) that I believe wasmtime does, though lucetc should definitely get that capability eventually.


Close #338

@gregcorbett can you please check if https://docs.egi.eu/documentation/548/internal/configuration-database/api/ makes sense?
I'm still slightly confused about the naming and usage of the two APIs, with the public/read that may also request authentication, and the write that may be used only for requesting access to some info containing things like personal data.

@gregcorbett can you please check if https://docs.egi.eu/documentation/548/internal/configuration-database/api/ makes sense? I'm still slightly confused about the naming and usage of the two APIs, with the public/read that may also request authentication, and the write that may be used only for requesting access to some info containing things like personal data.

Will do, apologies for the delay in responding.

Hi all, I've made a sugeested update here: https://github.com/gwarf/documentation/pull/5

Thanks a lot @gregcorbett , @paolini78 can you please review/approve the PR?


problem with lightline

Hi, i have trouble using the wal.vim lightline colorscheme
i add this in my .vimrc:
let g:lightline = {
			\ 'colorscheme': 'wal',
			\ }

and i get the following error:
Error detected while processing function lightline#update[3]..lightline#colorscheme[18]..lightline#highlight:
line   18:
E254: Cannot allocate color guibg=
Error detected while processing function lightline#update:
line    3:
E171: Missing :endif

If i change the content of wal.vim/autoload/lightline/colorscheme/wal.vim to the content of another random lightline colorscheme and replacing the word "wal" to the name of the other file, i don't get any problem

Same here. I'm trying to look into the code to figure this out. Check the lightline#highlight function in the file lightline.vim. There are these guibg, which I reckon are background gui something. Let me know if you have any leads. Will look into this further later.

I can't reproduce this, the lightline theme works fine for me. Can you guys send me your vimrc files?

Here, I changed the lightline's colorscheme to wal.

I realize this is an old issue, but I also couldn't reproduce the problem. However, I have forked this project on Gitlab, where I completely overhauled the Lightline theme. It's much different than than @dylanaraps version here, but you might like it. Get it here. Hopefully this one doesn't error out for you.

This seems to be related. I had the same issue, but replacing the empty color strings with hex color values fixes the problem.
Not sure what to put there instead of all black though.

Hi there, I was having the same issue as above on a new arch install. Wal.vim is working for vim's colorscheme, but not lightline (same errors as described above). Changing the values as 'sieken' did in the post before me did fix this though. Just thought I'd add this to the discussion. Happy to send any dotfiles if needed to troubleshoot. Aside from that, thanks for your awesome color scheming apps!

I made a small tweak to the lightline wal theme here for those who are still struggling with it. It essentially just inherits the colors from the colorscheme.


Make tx details page for swap + swap claim nicer

We'll want to augment the protos to support this: https://github.com/penumbra-zone/penumbra/issues/3832
Proposal for rendering of swap actions:
[VARIANT A: output NoteViews are present]
Swap
(L) 123.45 UM --> (L) 38.23 USDC { + (L) 12.78 UM [if unfilled inputs]}
{ if claim_tx is set: Claimed in fefe...fefe (link) }

[VARIANT B: output NoteViews are not present]
Swap
(L) 123.45 UM --> (L) USDC

Here (L) represents a circular logo. Ideally this would be handled by a single component.
In the component code, we'd probably want to actually have two "rows", one for each direction, with each row displayed conditionally on having nonzero inputs. (At the protocol level, it's technically possible to create a swap that swaps both directions simultaneously, though no software we have would ever do this).
For the swap claim view, we can just show the output note(s).

Proposed steps:

[ ] Extend TransactionPerspective to include the data that is needed to fill in the fields added in https://github.com/penumbra-zone/penumbra/issues/3832
[ ] Fill in support in Rust stack for the new fields in the SwapView and TransactionPerspective: the batch swap output data etc in the TransactionPerspective needs to be correctly inserted when using the perspective to generate a TransactionView
[ ] Pull in updated Rust code as a wasm dep, rebuild
[ ] Change extension typescript code to insert the new additional data into the TransactionPerspective it uses to generate the view
[ ] (Optionally, but seems like a good idea) change extension code to not save the TransactionView and instead compute it on-demand from the Transaction + TransactionPerspective. When we add equivalent prices support we will want the views to be dynamic.

Similar structure to https://github.com/penumbra-zone/penumbra/issues/3838
Not sure how we want to augment the perspective to have the output notes. Currently we have a general purpose "advice" set, but this only allows looking up notes by commitment and the original Swap doesn't have commitments to its eventual outputs. Transactions can have multiple swaps, so maybe we need a mapping from swap commitment => pairs of output notes?

Moving to blocked for now, as there's quite a bit of work that needs to be done before this ticket can be completed.


openff-units 0.2.1 breaks mypy for openff-models

Not sure if this belongs here or on openff-models, but here's a MCVE:
# file named example.py
from openff.models.types import FloatQuantity
import openff.units  # type: ignore

print(f"{openff.units.__version__=}")
models_quantity: FloatQuantity["kelvin"]

Then, with openff-units 0.2.0 (and openff-models at current release, 0.0.5):
$ python example.py && mypy example.py
openff.units.__version__='0.2.0'
Success: no issues found in 1 source file

With openff-units 0.2.1:
$ python example.py && mypy example.py
openff.units.__version__='0.2.1'
example.py:5: error: Variable "openff.models.types.FloatQuantity" is not valid as a type  [valid-type]
example.py:5: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
example.py:5: error: Name "kelvin" is not defined  [name-defined]
Found 2 errors in 1 file (checked 1 source file)

see also https://github.com/OpenFreeEnergy/openfe/issues/461

0.2.1 breaks lots of stuff for reasons that have caused me physiological aging (blood pressure, hair loss, etc.). For now the recommendation is to stick to 0.2.0, since I think that works, and we'll have fixes out as soon as we can (one attempt at https://github.com/openforcefield/openff-units/pull/68).

I'm also not sure if this affects both Pint 0.21 and 0.22, but I'm pretty sure one of them works with 0.2.0

With #84 I have it passing on Pint 0.21, 0.22, 0.23
With https://github.com/openforcefield/openff-models/pull/42 it's also passing with Pydantic models. The SomeQuantity['preferred_unit'] paradigm is likely going away, I unfortunately don't think that pattern is future-compatible with how tooling interprets string literals brackets inside of things that look like types.
#77 would be my preferred solution but that's around three years out of being compatible with OpenFF's Python support

This still sticks around on the v1 API, it should be gone with v2
$ cat example.py && python example.py && mypy example.py                                                                           14:00:02  ☁  0.2.2 ☂
# file named example.py
import openff.units
import openff.models

from openff.models.types import FloatQuantity
from pydantic.v1 import BaseModel
from openff.units import Quantity

print(f"{openff.units.__version__=}")
print(f"{openff.models.__version__=}")

class Model(BaseModel):
    temperature: FloatQuantity["kelvin"]

print(f"{Model(temperature=Quantity("419.0 kelvin")).temperature=}")
openff.units.__version__='0.2.2'
openff.models.__version__='0.1.2'
Model(temperature=Quantity("419.0 kelvin")).temperature=<Quantity(419.0, 'kelvin')>
example.py:15: error: Variable "openff.models.types.FloatQuantity" is not valid as a type  [valid-type]
example.py:15: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
example.py:15: error: Name "kelvin" is not defined  [name-defined]
Found 2 errors in 1 file (checked 1 source file)


Drop support of IE11

Description
We drop support of Internet Explorer 11.

mocha.js: browser bundle transpiled to ES5 is dropped
mocha-es2018.js: browser bundle in ES2018 is renamed to mocha.js

Description of the Change

dependencies
from
to

@babel/preset-env
removed

@rollup/plugin-babel
removed

core-js
removed

regenerator-runtime
removed

rollup
2.66.0
2.70.1

@rollup/plugin-commonjs
14.0.0
21.0.2

@rollup/plugin-multi-entry
3.0.1
4.0.1

@rollup/plugin-node-resolve
8.4.0
13.1.3

rollup-plugin-visualizer
5.5.4
5.6.0

rollup-plugin-node-polyfills
replaced

rollup-plugin-polyfill-node

@giltayar do we still need to create/publish a sourcemap of our ES2018 browser bundle?
We don't transpile anymore, so I think we don't, right?

@juergba while we don't transpile anymore, we still bundle, so theoretically a source map is still needed.

@giltayar ok, thanks. I will keep the source map then.


Apply convert/validator also when setting attributes later

Based on the doc example:
In [2]: import attr
In [3]: @attr.s
   ...: ... class C(object):
   ...: ...     x = attr.ib()
   ...: ...     y = attr.ib()
   ...: ...     @x.validator
   ...: ...     def name_can_be_anything(self, attribute, value):
   ...: ...         if value < 0:
   ...: ...             raise ValueError("x must be positive")
   ...: ...     @y.default
   ...: ...     def name_does_not_matter(self):
   ...: ...         return self.x + 1
   ...:
In [5]: c = C(1)
In [6]: c.x = -1

I would like the c.x = -1 to also get validated.
My use case at hand is invalidating a cache in case an attribute gets changed, and I've tried validator and convert for this, but both seem to only get applied at __init__ time?!

For my use case it is good to use __setattr__:
    def __setattr__(self, name, value):
        if name == 'foo':
            self._foo_data = None
        super(Bar, self).__setattr__(name, value)

But it still feels weird that validators / converters are skipped when setting an attribute later?!

This is related to #233.  Long story short, when I’ve implemented validators, I didn’t want to fuzz with __setattr__ although I already had it working.  That ship has sailed after we implemented frozen classes, but someone has to take the time to implement this whole thing properly (see my thoughts on #233).

Great, closing it in favor of #233 then.


accelerate lane evaluation by openmp with 20x

Hi,
Glad to use the lane evaluation tools while a little slow.
There, I implemented a multi-process version by using OpenMP and achieved a 20x acceleration (32 core server).
# test on ERFNet-Trained Model.
Evaluating the results...
tp: 76427 fp: 27769 fn: 28459
finished process file
precision: 0.733493
recall: 0.728667
Fmeasure: 0.731072

The result is identical with the vanilla version.
Best,
KJ

Thanks for your contribution. I will merge your codes when I check your codes thoroughly.

@atranitell I have checked the code and the evaluation process is indeed accelerated. However, when I compile with make, it tells me that opencv_imgcodecs is not found since I use OpenCV 2.4.8 (so I just remove opencv_imgcodecs). Besides, '#include <opencv2/imgproc.hpp>' should be changed to #include <opencv2/imgproc/imgproc.hpp>. I will merge your codes and raise an issue to remind those who encounter these problems. Anyway, really appreciate your contribution.


Light Client Planning

Light Client Community Building
Community and consensus building around a vision for eth2 light clients is our top priority

Create a new PR on the eth2 spec repo
Cayman will write proposal for our vision for LCs and submit for community review
Some in the community have suggested a separate node to serve light clients, something to think about further

Step 1 ideate on this
Step 2 build out some code and see what sticks
Step 3 look at incentives

Open question: assuming Discv5 can be made light client ready, what records in ENR need to be added?

LC Implementation
Improving the prototype is the second priority

add ability to sync to the head of the chain rather than last finalized block
look into different networking possibilities such as libp2p for req/res
look into peer discovery using web sockets as transport

LC Demo

Add link to our LC Discord channel on the demo UI
Merge PR for DOS protection

Linking #3077 #3078 #3079

Deprecating issue for #3469.


feat(jsx/precompile): Normalization and stringification of attribute values as renderToString

fix #3427
The “precompile” process converts attribute values in the same way as the normal renderToString process.
https://github.com/usualoma/hono/blob/fd80df6a0f03876cf6ac2b12b4b7b812c19ca616/src/jsx/base.ts#L180-L227
The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code

It'll need some tweaking.

@yusukebe
Would you please review?

Hey @usualoma
Thank you for the PR. I've left comments!

Key normalization is done by deno, so processing by hono was removed.  4405e69

@usualoma
Looks good! Thank you.


Add an autofix for PLW1510

Let me know if I should care more about whitespace (and would appreciate pointers if so)

shouldn't this fix add to preview?

@T-256 -- Yup! The change itself isn't complete yet.


New term: root periderm scar

While linking the PO and sweet potato ontology we noticed a possible issue with the term lenticel, it seems this term does not accurately describe the structures on sweet potato tubers. #633
Lenticels are developed in the cortex and arise beneath stomata. They may form prior to the termination of primary growth before the periderm is initiated, or after the termination of primary growth (Evert, 2006).
Lenticel-like structures on sweet potato tubers, among other agriculturally important roots like parsnips and carrots, are not formed in relation to stomata. In sweet potatoes, lateral roots emerge from deeply lobed roots (tubers), in rows along longitudinal grooves (Hayward, 1938). Damage to these lateral roots initiate a wound response that results in lenticel-like structures on sweet potato tubers. After lateral roots are injured, starch begins to disappear from the peripheral cell layers, excluding the outermost layer of injured cells. Next, cell proliferation begins in the starch free-zones of the periderm, parallel to the cut surface. Gradually a continuous layer is formed over the cut surface below the suberin deposit, which functions as a cork cambium and continues to divide to give rise to a layer of wound periderm. (Artschwager, 1931).
We propose a new term be added to the PO, root wound periderm.
root wound periderm: A portion of root periderm (PO:0005047) formed in response to injury.
http://www.openisbn.com/isbn/0471738433/
http://journals.lww.com/soilsci/citation/1939/10000/the_structure_of_economic_plants.33.aspx
Artschwager Sweet Potato.pdf

Propose slight modification to the name and def'n for this structure:
root periderm scar (PO:new):  A portion of root periderm (PO:0005047) formed in response to an injury or the emergence of a lateral root (PO:0020121).
I think 'scar' is better than 'wound' to encompass the case where it is a lateral root scar.

Propose slight modification to the name and def'n for this structure:
root periderm scar (PO:new): A portion of root periderm (PO:0005047) formed in response to a disruption of the root epidermis (PO:0006036).
Comment: Lenticel-like structures on sweet potato tubers, among other agriculturally important roots like parsnips and carrots, that are not formed in relation to stomata. In sweet potatoes, lateral roots emerge from deeply lobed roots (tubers), in rows along longitudinal grooves resulting in a disruption of the root epidermis. Disruption caused by the emergence of lateral roots initiates a wound response that results in the production of root periderm scar tissue.

root periderm scar (PO:0030090) has been added.
Definition: A portion of root periderm (PO:0005047) formed in response to a disruption of the root epidermis (PO:0006036).
Comment: Root periderm scars are lenticel-like structures on the tuberous roots (PO:0025523) and tuberous root tuber (PO:0025476) of sweet potato, parsnips, and carrots. Disruption of the epidermis by the emergence of a lateral root initiates a wound response that results in the production of a root periderm scar. Gas exchange does not occur through a root periderm scar.

Suggest slight modification to the comment:
Root periderm scars are lenticel-like structures on the tuberous roots (PO:0025523) and tuberous root tubers (PO:0025476) of plants such as sweet potato, and cassava. Disruption of the epidermis by the emergence of a lateral root initiates a wound response that results in the production of a root periderm scar. Gas exchange does not occur through a root periderm scar.
I suggest replacing the parsnip and carrot example with cassava.   Aren't parsnips and carrot not an enlarged tap root?  I don't believe they develops from a tuberous root, which usually develops from a shoot-borne root (PO:0000042) or a lateral root (PO:0020121).

Also, need to add synonym 'root lenticel'

Suggest slight modification to the comment:
Root periderm scars are lenticel-like structures on the tuberous roots (PO:0025523), primary roots (PO:0020127), and/or tuberous root tubers (PO:0025476) of plants such as sweet potato, cassava, parsnips, and carrots. Disruption of the epidermis by the emergence of a lateral root initiates a wound response which results in the production of a root periderm scar. Gas exchange does not occur through a root periderm scar.
We suggest adding primary root (PO:0020127) to the comment to accommodate the inclusion of parsnips and carrots, which are neither lateral roots (PO:0020121) nor are they shoot-borne roots (PO:0000042), but do bear root periderm scars.

Sounds good!

The comment for root periderm scar (PO:0030090) has been revised. It now reads:
Comment: Root periderm scars are lenticel-like structures on the tuberous roots (PO:0025523), primary roots (PO:0020127), and/or tuberous root tubers (PO:0025476) of plants such as sweet potato, cassava, parsnips, and carrots. Disruption of the epidermis by the emergence of a lateral root initiates a wound response which results in the production of a root periderm scar. Gas exchange does not occur through a root periderm scar.


Updated HTML section

Added some links in HTML section:

HTML & HTML5 basics
HTML reference

Both points are linked to w3schools website.

@FlyingHouse47, I'm not sure if w3schools is a good resource to learn HTML.
We're having a conversation around this in #7
Could you take a look in to that?

@Roshanjossey Thank you for your reply. It is obviously that w3schools are not the greatest resource to learn HTML but in my opinion if you want to do some reseach for a specific tag or something, w3schools listed them all and describe it in more detail than e.g. SoloLearn what I have used.

MDN has that too and is more reliable and complete:
MDN HTML Reference.

@asantos3 I think you are right guys - Don't let us fill the guide with unnecessary stuff of mine. 😆

You could have put another commit and add the links on #7. Submit another pull request ;)

@FlyingHouse47, Please feel free to submit a PR based on the recommendations made in #7 & #13. This is why we have discussion, so everyone can learn :)


No templates in repository

Is this still active? There are no templates in the repository

@connor70 select branch repository
https://github.com/albinbatman/zabbix-edgemax-template/tree/zabbix4.4
or
https://github.com/albinbatman/zabbix-edgemax-template/tree/zabbix5.0


Antitheft Peer Status Alarm when Antitheft Main is Not Armed (OFF)

to reproduce the bug is like this :

set Main Antitheft Off (not armed)
triger the sensor of Antitheft peer
status of Antitheft peer will changes from OK to Alarm

it should be changes to Open/Close if main Antitheft is OFF...

well then, if i may request, i request for the status of antiheft if it is in OFF mode...
Antitheft node can be build from PIR or any digital output sensor like Door/Windows magnetic sensor.. while I use a infrared receiver & transmiter as door/windows sensor..
please make a support in souliss app for it..it makes Souliss app Antitheft node more informatif when it is in OFF mode
thank you


Discuss/Setup NPM Release Process

It would be helpful to have an established NPM release process. Initial open questions for discussion:

Should we automate the NPM package release process? If so, how should it be triggered?
Should we have a test / prerelease NPM package version?
Should we adopt a versioning strategy (like https://semver.org/)

@caravansteve talked about writing up some options and suggested direction on the community development call (http://chat.opr.dev/) on 6/9.

From Benjamin Coe at Google:

With regards to publishing, you may still consider automating this process to limit the # of users with access on npm -- you might look at release-please, which I have setup for my open source project yargs.


This is the .NET Conf 2021 Update (v2.10.1)

Undrafting this, it sounds like this is working and most of the issues with this fix are with the experimental feed itself.


calculation of R_N(i)

https://github.com/swarnakumar/xicorpy/blob/d3a9eea4e5dda4b3a48fe9e339b61c4b2794526a/xicorpy/conditional_dependence.py#L216
Shouldn´t this be
r_n = r_y[n_i]
instead of
r_n = ss.rankdata(n_i, method="max")
(like the calculation of r_m)? Or what is the idea of taking ranks of the nearest neighbor indices?
Same in line 234.

This is what the paper says.
Best regards

RN(i) in the paper is rank of N(i). And hence that computation.
Now, while RM(i) is also to be read in a similar fashion, its a much easier computation - that can be written directly as r_y[m]

$R_{N(i)}$ is not the rank of N(i). It is the Rank of $y_{N(i)}$. R always denotes the rank of some y-value.
$R_i$ is the rank of $y_i$
$R_{N(i)}$ is the rank of the y-value with the index N(i). So if $N(i) = j$, then $R_{N(i)} = R_j$.
Analogous , $R_{M(i)}$ is the rank of $y_{M(i)}$.

You maybe right. Would you want to submit a PR?

Sure, but I cannot push a new branch. How can I push the changes?


Managing multiple environments within awsmobile

Been using awsmobile for a bit now and loving it, just have a query/feature request.
Is there anyway to manage multiple environments within awsmobile e.g dev, QA, production?
Something like
awsmobile create new environment
awsmobile publish to new environment

Hi @oluomoniyi, Thanks for your feedback and I am glad that you like use the awsmobile-cli!
Currently managing multiple environments is supported, I will mark this as a feature-request.

I would like to know the answer to this as well.

following this issue, as I too have this question. Would love to see something like awsmobile publish --environment production ...

This is a really important feature that is currently missing.  Hopefully this gets addressed soon.  Meanwhile, we all have to implement some custom hack to be able to deploy to dev, staging, prod, etc.

Hi all, I'm a PM at AWS. While we currently do not have support for environments there is a workaround here: https://stackoverflow.com/questions/50736739/how-to-handle-development-to-production-process-with-multiple-aws-services/50751535#50751535
If anyone is interested in signing up to a beta to try out new/unreleased features, let me know your email address and I'll get in touch!

@oluomoniyi @keithdmoore @funkfinger @ianpogi5 Let me know if you'd be interested in chatting about multiple environments.

I also require a multi-environment setup with my Amplify project- where it should be hosted in us-west-2 for dev and eu-west-1 for production. Any advice on this would be much appreciated! My email is<EMAIL_ADDRESS>

@swaminator Hi, i'm also interested here is my email<EMAIL_ADDRESS>Thank you.

Looks like this has been implemented now https://aws-amplify.github.io/docs/cli/multienv?sdk=js
👍

The Amplify CLI now supports team workflows. If you're looking to use the Amplify CLI in conjunction with the Console, you can view the recommended workflow here: https://docs.aws.amazon.com/amplify/latest/userguide/multi-environments.html


How to load the image Flask

Hi, Can you help me on this issue please?
I'm trying to display some Profile feed images that already is saved in a folder.
cont_post = 0
for post in profile.get_posts():
            cont_post += 1
            if cont_post <= 9:

                L.download_post(post, target=profile.username)
            else:
                break

Now I want to display on my Flask Template.
The question is, having the images, How to display this images? I have to use some db?
The images was saved with this name "2020-08-20_20-23-22_UTC", so I dont know how to pass to next step.
My html is something like this

Already solved 👍


if a user starts to input their address into the the bar and changes mind and uses options

options unselectable

Looks fixed to me.

Couldn't replicate on develop.


Fix #2425 "Select without options shows undefined?"

Works for me :)

I don't think display nothing on the dropdown is a good idea.

Maybe, but the behavior of select without options does not display "undefined" using native html. :(

I think this is fine. It does mimic what the browser default would do.


It seem there is some problem while using torchsparse with nn.DataParallel

Hi all,
Thanks for your amazing torchsparse library!
I am currently deploy a large model for 3D object detection, and my GPU(RTX Titan) does not have enough memory to train my model, so i want to use nn.DataParallel to distribute my model on two RTX Titan. However, part of my model uses torchsparse and it returns erro like this:

AssertionError: Caught AssertionError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/home/user/anaconda3/envs/cupcl/lib/python3.7/site-packages/torchsparse/nn/functional/sparseconv.py", line 173, in conv3d
kOffset = kRegion.get_kernel_offset().cuda()
RuntimeError: CUDA error: an illegal memory access was encountered

Since this is the first time I use nn.DataParallel in my project, I dont know how to solve this problem. I simply modified .to(feature.device) to .cuda() but makes no different. Waiting for your help, thanks!

It might be a little bit hard (and actually less efficient) to use nn.DataParallel due to the format of SparseTensor. Instead, it's preferred to use nn.DistributedDataParallel (see https://github.com/mit-han-lab/e3d/tree/master/spvnas for more details).

It might be a little bit hard (and actually less efficient) to use nn.DataParallel due to the format of SparseTensor. Instead, it's preferred to use nn.DistributedDataParallel (see https://github.com/mit-han-lab/e3d/tree/master/spvnas for more details).

Hi Liu,
Thanks for your reply, I will try to use the nn.DistributedDataParallel in my project.
Have a nice day!

Hi Liu,
Thanks for your reply, I will try to use the nn.DistributedDataParallel in my project.
Have a nice day!


fix($location): $locationchangesuccess not fires with browser back when path ends with '/#'. #12175

In line #930, $location.absUrl() returns "path/", and newUrl returns "path/#". with browser back, so if condition is positive and returns. For fix I used trimEmptyHash function to trim # from newUrl, the same function is used in browser forward scenario @line#947.

This Pull Request fixes #12175

@Narretz  can you please review  code changes( closes #12175 )

@petebacondarwin Can you please review changes(closes #12175)

@rrsivabalan - thanks for this PR.
First, it needs a unit test to demonstrate the bug you are fixing.
Also, it seems wasteful to trim the hash from the newUrl twice. Shouldn't we just do it once and store it in a variable?

This issue has been stale for about a month now, I'm hoping to get it pushed through; this is a somewhat important problem for me. I think this unit test shows the bug:
it('should should detect location changes to bare hash',
  inject(function($location, $browser, $rootScope, $log) {

    $rootScope.$on('$locationChangeSuccess', function(event, newUrl, oldUrl) {
      $log.info('changed', newUrl, oldUrl);
    });

    $browser.url('http://server/#/');
    $browser.poll();

    expect($log.info.logs.shift()).
      toEqual(['changed', 'http://server/#/', 'http://server/']);

    $browser.url('http://server/#');
    $browser.poll();

    expect($log.info.logs.shift()).
      toEqual(['changed', 'http://server/#', 'http://server/#/']);

    expect($browser.url()).toEqual('http://server/#');
  })
);

Unfortunately, I don't think the code in this PR correctly covers this case. I would love to submit a PR myself, but right now I don't have enough Angular knowledge to propose a good solution. Is there anything else I can do to help out here?

We are working our way through the 1.4.x bugs

That’s great to hear, thank you for your hard work!

@petebacondarwin  sorry for delay, i have  fixed code review comments and added UT to demonstrate issue
New PR: https://github.com/angular/angular.js/pull/13251
Please note that i got merge conflict  issue in existing PR, so raised new PR
@gggrisot my UT is pretty similar to your UT, i think my PR covers your test case.


Update to xcodeproj 6.6

This includes performance improvements when writing projects

Waiting on the indent issues to be resolved by https://github.com/tuist/xcodeproj/pull/386


Show compiled javascript

I appreciate your work on this - coffeescript isn't as popular anymore but I still have been learning it recently.
I'd love to see the compiled javascript output, as a way to help me learn coffeescript. I've searched a bit for other websites that would do this, but haven't found any.

Hey, thanks for the suggestion, I just pushed an update for this. Now the UI should have 2 editors side by side, the right one is readonly and will show the compiled JavaScript whenever you run, there's also a Compile button to compile the code without running it.

Wow, thanks. Just tried it out and it works great!


Platform linux not supported

Hi,I got this error java.lang.RuntimeException: Platform linux not supported, PRs are welcome

Hi. Are you interested in contributing a fix ?

Thanks!


[HIGH] Functionalities_Cartography_Table_AddFolder

Create folder above this folder (Create)

[ ] Add functionality in ARA
[ ] Add NRT

Create folder inside this folder (Create)

[ ] Add functionality in ARA
[ ] Add NRT

Create folder below this folder (Create)

[ ] Add functionality in ARA
[ ] Add NRT

Create folder above this functionality (Create)

[ ] Add functionality in ARA
[ ] Add NRT

Create folder below this functionality (Create)

[ ] Add functionality in ARA
[ ] Add NRT

Moved to another project


Support anonymously mapped PE/COFF files in LinuxMap

We want to detect whether an anonymous mapping corresponds to the .text segment
of a PE loaded by Wine. The mapping is anonymous if the offset of the section in
the file (PointerToRawData) is not congruent to the offset when loaded into
memory (VirtualAddress) modulo the page size.
The idea is the following:
Given an anonymous executable mapping, consider the previous "group" of file
mappings that are all backed by the same file, and in particular consider the
first of these mappings. If that file is a PE, and there is no executable file
mapping in this "group" of file mappings, and the address range where the .text
section of that PE should be mapped (based on the file mapping's address and on
the .text section's VirtualAddress and VirtualSize) is contained in the
anonymous mapping's address range, then we can be fairly sure that the anonymous
mapping does indeed correspond to the .text of the PE.
We add this logic to orbit_object_utils::ParseMaps so that PEs with the
characteristic mentioned above are recognized as modules and loaded. The class
FileMappedIntoMemory helps contains most of the logic and allows us to perform
the detection while scanning /proc/[pid]/maps line by line.
More information on the problem in the documents linked in the bug.
Bug: http://b/226562022
Test: Unit tests. Load modules of unaligned triangle.exe and of Virtus: verify
the main binary shows up. Use user space instrumentation on triangle.exe and
on Virtus: this confirms addresses are correct.

There's an existing issue with paths that contain spaces.


typo

Also it looks like new Router<Routes> doesn't take <Routes>. It's an error with the latest released version.

@knownasilya thank you!


[Event Request] Database::"Payment Terms" - Function TranslateDescription - OnAfterTranslateDescription

We like to request the following Event:
Object: Database::"Payment Terms"
Function: TranslateDescription
Publisher Event: OnAfterTranslateDescription
Reason: To implement custom business logic
Where is the event placed:
procedure TranslateDescription(var PaymentTerms: Record "Payment Terms"; Language: Code[10])
var
PaymentTermsTranslation: Record "Payment Term Translation";
begin
if PaymentTermsTranslation.Get(PaymentTerms.Code, Language) then
PaymentTerms.Description := PaymentTermsTranslation.Description;
OnAfterTranslateDescription(PaymentTerms, Language);
end;
Event Code:
[IntegrationEvent(false, false)]
local procedure OnAfterTranslateDescription(var PaymentTerms: Record "Payment Terms"; Language: Code[10])
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Troubleshoot Prettier Tip with Code Editors

The Setting up Prettier tip should mention Code Editors it is working 100% with.
Couple of options on this:

Have a Aside listing editors (the list can be long so popular IDEs/Code Editors could be preferred)
Write down the editors with Quickly configure Prettier for your Astro project! text on top (no Aside)
Replicate https://docs.astro.build/en/guides/cms/#cms-guides Nav component and list down the editors alongside

Devtools like Eslint, Biome are also subject to this Issue. Looking for more suggestions for this one 🙌

This might be a nice use for the compat component I think @dreyfus92 was working on


Applying body2 styling to the body element causes weird behavior that can't be overriden

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
All body2 styling is applied to the body element

Expected Behavior 🤔
Not applying all body2 styling to the body element

Steps to Reproduce 🕹

Steps:

In the theme, specify any styling for body2 component (for example overflow: hidden;)
overflow: hidden; is applied to the body tag

Context 🔦

This issue caused us to have to remove CssBaseline that we used because of hidden dependency on body2 typography styling and fall back to specifying css overrides / base styling through styled-components.
It would be a good idea to mention this in the documentation in migrating from v3 to v4 article as it's a breaking change.
Your Environment 🌎

Tech
Version

Material-UI
v4.3.3

React
16.9.0

Browser
N/A

TypeScript
3.5.3

@damir-sirola Thanks for raising, I was expecting body1 to be applied in the CssBasline (the default typography variant), not body2. I think that we should change it in v5 for consistency.
What do you think @joshwooding?

@oliviertassinari Sounds good, I think it was body2 because that was the default with
useNextVariants set.

@joshwooding Yes, I think that we forgot about it when changing the default typography variant.

I bumped into this issue too, A potential workaround solution until this is fixed in v5, is mentioned in a comment from #18442.
const theme = createMuiTheme({
  typography: {
    body2: {
      fontSize: "1rem"
    }
  }
});


undefined local variable or method `load_object' for #Admin::ProductsController:0x00000103f962b8

Ruby:    1.9.2
Spree:   0.60.1 (0-60-stable branch)
This extension ref: bee2e61193a713f8e993d250611a44a962ec7a2b (as on install says)

@cleverlemming Your comment was helpful to me...

@cleverlemming Your comment was helpful to me...
Is there a way to override this file or define a local method named load_object?  My app runs on Heroku and I can't edit the extension (/lib/spree_related_products.rb#32) directly...

Hi Judd,
Try adding the attached class to your extension's model directory (see
http://guides.spreecommerce.com/logic_customization.html). This is a
better solution than monkey patching the extension. I just tested it
with 60.2 and it works fine.
Peace,
Simon
Judd Kussrow wrote:

@cleverlemming Your comment was helpful to me...
Is there a way to override this file or define a local method named load_object?  My app runs on Heroku and I can't edit the extension (/lib/spree_related_products.rb#32) directly...


Upgrading stylis to match version used by styled-components

Upgraded stylis version in package.json
Upgraded yarn.lock to match package.json
Upgraded whitespace in test results to match updated stylis output

hm, I thought this would mess with the preprocessing, but seeing that it doesn't I'll see tomorrow whether everything is in order. Cheers! :)


What if my website has more then 50,000 pages

what if my website has more then 50,000 pages?
because as per Google SEO sitemap one sitemap not exceed 50,000 urls and 50 MB.
https://developers.google.com/search/docs/advanced/sitemaps/build-sitemap#autositemap
so is this script is working by following this guidelines, by spitting the sitemaps, or create the new sitemap files after one xml file gets 50 MB or 50,000 urls?

This is a missing feature tracked in #43
My priorities have been elsewhere lately, so I haven't gotten around to adding it in. If you're comfortable adding it in, I'd appreciate it! If not, this is something that can be handled in post-processing (I found this but haven't tested it).


Custom path to config does not work

Hello, first off, thanks for the project!
I got a bug. Let's say I have two config fils:
$ ls ~/.config/cointop
config1.toml
config2.toml

Below will work fine
$ cointop -c $HOME/.config/cointop/config1.toml

Below will also work fine
$ cointop -c $HOME/.config/cointop/config2.toml

However, after creating a file called config.toml, it no longer works.
$ cp ~/.config/cointop/config1.toml ~/.config/cointop/config.toml
$ cointop -c $HOME/.config/cointop/config2.toml # this does not work.

In line above cointop will use the file config.toml instead of config2.toml
If I have a file in ~/.config/cointop/config.toml, then this config file will override any config file passed as a command line argument.
For example, my config.toml shows the default columns and config2.toml shows only a few columns. I can't use the config from config2.toml if ~/.config/cointop/config.toml exists. To be able to have multiple config files it is needed to delete the file ~/.config/cointop/config.toml and use the -c flag every time cointop is run.
I guess this behavior should not happen.

Hi @AndreSouzaAbreu!
The config file path issue is now fixed in the main branch. Going to push new releases soon.
Thanks!

Closed by https://github.com/miguelmota/cointop/commit/e0acaf9554c7c92133c952aef63fb72cf2990c1d


Clicking the image to open link in new tab

When a user clicks any of the following tabs the page opens in the current tab

I would like to change the code to open the page in New tab

No Need for this as of now !!
You can create another issue for a unique calculators !!
Thanks !!


Skips empty lines when selecting the first line

This plugin always skips empty lines, which honestly is fine and I can adapt to it for most cases, but for some (such as building a bunch of indents for Python, or for an in-line comment block) I really need this functionality.
I really do like how it skips lines which don't have a character at the position you're trying to vertical select when doing the option-click, so that I can have nice white space for readable code and still have something that spans multiple blocks of this white space, and have it not select the first-line of those empty lines.  But... I believe an exception added when a user tries to multi-line select on the first-line.  It should absolutely select ALL lines in this case.
Expected:
When option-clicking downwards on the first column, make it ALWAYS include ALL lines.
See Image From Sublime:

Actual:
All empty lines are always excluded.
See Image from Atom:

Sorry, I'm only just getting around to this.
I cant reproduce this. Is it still an issue? Can you give detailed steps on what you do. Not sure what you mean by "option-clicking downwards on the first column"


scope prop on TableCell cannot be set as empty

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/angry-hodgkin-lw1v2p
Steps:

Inspect the generated HTML for the empty table cell
scope attribute is set to col

Current behavior 😯
If the scope prop is set to any falsey value and the TableCell is within a TableHead then scope is set to col
See https://github.com/mui/material-ui/blob/master/packages/mui-material/src/TableCell/TableCell.js#L143
Expected behavior 🤔
scope should be able to be set to an empty value
Context 🔦
Accessibility requirements mean you cannot have empty table header cells. See https://dequeuniversity.com/rules/axe/4.1/empty-table-header
There are certain tables though when an empty table cell is required. This can be done by making the empty cell a td. https://equalizedigital.com/accessibility-checker/empty-missing-table-header/#17-when-possible-avoid-complex-tables
Your environment 🌎

npx @mui/envinfo

  System:
    OS: Windows 10 10.0.19044
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 8.19.2 - C:\dev\wfm-copy-2\node_modules\.bin\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (107.0.1418.35)
  npmPackages:
    @emotion/react:  11.10.5
    @emotion/styled:  11.10.5
    @mui/base:  5.0.0-alpha.104
    @mui/core-downloads-tracker:  5.10.12
    @mui/icons-material:  5.10.9
    @mui/lab:  5.0.0-alpha.106
    @mui/material:  5.10.12
    @mui/private-theming:  5.10.9
    @mui/styled-engine:  5.10.8
    @mui/styles:  5.10.10
    @mui/system:  5.10.12
    @mui/types:  7.2.0
    @mui/utils:  5.10.9
    @mui/x-date-pickers:  5.0.6
    @types/react:  17.0.52
    react:  17.0.2
    react-dom:  17.0.2
    typescript:  4.8.4

What's the issue you got when scope="col"?

If I understand correctly, the problem boils down to this:

In a table with header cells ( elements) along both the vertical and horizontal axes, the cell where they intersect (top left in this case) is typically empty.
Header cells cannot be empty; therefore that cell should be rendered as a data cell (). See this official example.
MUI automatically renders <TableCell> as  when it detects that it's inside a <TableHead>.
It's possible to override part of that behavior by using <TableCell component={"td"}>; however, the cell still ends up with scope="col" no matter what, even if a value such as null or undefined is passed. This is incorrect, among other reasons, because scope is not a valid attribute for  elements. See "Content attributes" on the the  spec and  spec.

The solution would be to not add scope when <TableCell> is not rendered as .

If I understand correctly, the problem boils down to this:

In a table with header cells ( elements) along both the vertical and horizontal axes, the cell where they intersect (top left in this case) is typically empty.
Header cells cannot be empty; therefore that cell should be rendered as a data cell (). See this official example.
MUI automatically renders <TableCell> as  when it detects that it's inside a <TableHead>.
It's possible to override part of that behavior by using <TableCell component={"td"}>; however, the cell still ends up with scope="col" no matter what, even if a value such as null or undefined is passed to scope. This is incorrect, among other reasons, because scope is not a valid attribute for  elements. See "Content attributes" on the the  spec and  spec.

The solution would be to not add scope when <TableCell> is not rendered as .

Thanks for the detailed explanation! marked it as a bug.


Function: log retention not set for functions used in step function task

Sam ran into a case where the log retention is not set for step function tasks.

Requests:

Sam https://serverless-stack.slack.com/archives/C01JG3B20RY/p1632883334028300

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Undefined array key "heading"

Describe the bug
Deleteting a matrix or supertable field containing a table created with Table Maker results in an error when you try to access the entry in the CMS
Steps to reproduce

Create a matrix field
Add a block and crate a table maker field
Create an entry
Add table field
Save an entry
Go back and remove the field
Try to access the entry again

https://github.com/verbb/tablemaker/assets/18517642/35f807dc-4680-40b8-a067-5ba72d960d78
Craft CMS version
4.8.9
Plugin version
4.0.10
Multi-site?
No
Additional context
No response

I can't seem to replicate that with your steps, and it seems odd that Table Maker is throwing an error when there's no instance of it, once the Matrix block has been deleted. Still, I can handle that error.
Fixed for the next release. To get this early, run composer require verbb/tablemaker:"dev-craft-4 as 4.0.10".

Fixed in 4.0.11


Print run summary to $stdout when :notifcation=>true

When :notification => true the run summary line is not printed to $stdout.  Example:
1 failed step, 2 skipped steps, 15 undefined steps

I have a simple fix for this issue.  Pull request forthcoming.

The solution to issue #25 may resolve this - will see.


[FLINK-7656] [runtime] Switch to user classloader before calling initializeOnMaster and finalizeOnMaster.

What is the purpose of the change
Fixes a classloading issue for OutputFormats that implement InitializeOnMaster or FinalizeOnMaster. The initialize and finalize methods are called without setting the context classloader to the usercode classloader.
Brief change log

Set the context classloader to the usercode classloader before calling InitializeOnMaster.initializeGlobal() and FinalizeOnMaster.finalizeGlobal() and restore the original classloader afterwards.
Extend test to check that the correct classloader is set.

Verifying this change

Run JobTaskVertexTest.testOutputFormatVertex()

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: YES

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? n/a

Can you take a brief look at this change @aljoscha? Thanks!

Thanks for the review @aljoscha.
I'll change that and merge the fix.


Errors Building in Windows 10

I run the building commands as instructed, and it gave the below errors from the source code. I am new to installing and using external frameworks, so please let me know what I have done wrong.
The commands I used in build directory in MOTION:
cmake -G "MinGW Makefiles" ..

mingw32-make

Problem solved. These errors are caused because I did not install boost correctly. After boost is installed, it is successfuly built.


feat: Change error types to anyhow

The true fix will be to use anyhow rather than String as the error type
Originally posted by @tdelabro in https://github.com/keep-starknet-strange/madara/pull/1018#discussion_r1306694578

You can start now!

Wait for #1018 to be merged.
I think you can still look at the code, but you may need to do a huge rebase if you start a branch right now

@tdelabro ok i will wait for the merge then!

@Immanuel-john it's merged, you can start !

@Immanuel-john are you still interested to work on it?

hello @tdelabro i am working on it. will update ASAP!

Any updates on this?

I tried working on this but finding difficult to get the context where I need to use anyhow. could you please help since I am a first time contributor here.

Hey,
It looks like it has been taken care of in https://github.com/keep-starknet-strange/madara/pull/1165

Sorry about this it wasn't intentional.
But I think we can close this issue


Terminal is null on call

In the OutgoingSample sample, I get a null TTErminal object when the call is created, specifically in this part of the code
playbackTerminal = currCall.RequestTerminal(
TTerminal.MediaStreamTerminal,
TAPIMEDIATYPES.AUDIO, TERMINAL_DIRECTION.TD_CAPTURE);
I am working with an Avaya IP500 v2

NOTE: The call connects successfully with any phone number but just for speaking, I want to play a WAV file in the call to the receptor and for that the terminal object is needed. Can you help me?


[8.x] Ability to set should discover events via property

Before:
public function shouldDiscoverEvents()
{
   return trye
}

After:
protected $shouldDiscoverEvents = true

I don't think this is necessary.

You're supposed to override shouldDiscoverEvents to implement your own logic.
https://laravel.com/docs/8.x/events#event-discovery


Selected text cannot be copied and pasted immediately

Does this issue occur when all extensions are disabled?: Yes

VS Code Info:

VS Code Version: 1.79.0-insider (user setup)
Commit: https://github.com/microsoft/vscode/commit/2c73d2651cc525b27fc697b820743098a204ec01
Date: 2023-05-04T22:11:08.187Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: Yes

Steps to Reproduce:

Mark a text to be copied
Press Ctrl + C
Press Ctrl + V
Nothing happens

Example:

Temporary fix:
Press again after the copied text to insert it
Please feel free to let me know if I can help provide any further information to aid troubleshooting.
Thank you in advance for your time.

I think you might be getting caught out by some strange "feature" behaviour here, not necessarily a "bug".. the last few versions of VSCode seem to be retaining the current text selection on paste.
to use the same HTML snippet as your example:

the first copy/pasta does exactly the same as your example, but with "screencasting mode" enabled so you can see my keyboard input. thereafter, I select just the Hello World! text without the newline before it, and paste again a few times.
tl;dr: when you select text, copy it, then paste immediately, VSCode is replacing your current selection with what you copied, and retaining the same selected characters, which makes it look like nothing has changed.

In the previous version (1.78.0) this was working properly. It copied the text, pasted it and then deselected the text to insert it multiple times.

This makes more sense which makes me believe it is a bug.
@andregreeff Thanks for the tip with "screencasting mode". I've update it

Same problem on the latest insider.

I was able to replicate the same erroneous behaviour in v1.79.0-insider (2023-05-04T22:11:08.187Z) but, just as @trueliarx reported, this issue also appears to have been resolved #181847 on the very latest v1.79.0-insider (2023-05-09T05:23:39.976Z).

@rdhar I didn't even notice the little blue "1" on my settings icon, until after I saw your message..
multiline copy/pasta is working as expected again, thank you.. :)

Adding Matt, who I believe is working on this.


Updated PartWizard netkan file to reflect 1.1.3 compatibility

See the following link:
http://forum.kerbalspaceprogram.com/index.php?/topic/72468-113-part-wizard-125-22-jun-2016/&do=findComment&comment=2662958
where the author says I can do this

Merging with thanks!


Typo in bower.json

I think "javascipt" should be "javascript"

Plus one to merge this ASAP.

Good heavens, how did I miss this for so long. Sorry about that!

Awesome! Thanks!


Add disabled to mdl-select option

#657 [Feature request] Add disabled option for mdl-option

Coverage decreased (-0.7%) to 96.84% when pulling 8da0527cbf6419dbae0e311d9b713bc3c30833ab on add-option-disabled into d3647a550904bc80613ec71144f1a0b5e0f16b90 on master.

published as @angular-mdl/select:0.11.2


Observables

Introduces the AbstractObservable operator type. It is similar to AbstractHamiltonian but there are less stringent requirements. The idea is that AbstractObservables can be used to calculate three-way dot products, but they may not be suitable for use as a Hamiltonian in a ProjectorMonteCarloProblem or an ExactDiagonalizationProblem.
Breaking changes

Changes to the AbstractHamiltonian interface: The function allowed_address_type is removed and replaced by the function allows_address_type, which takes two arguments, an operator and a type.

New features

valtype is defined for AbstractHamiltonian and ProjectorMonteCarloProblem to define the underlying scalar type. In contrasteltype defined the type returned by a three-way dot product. This may be an array.
Attempting to use a complex Hamiltonian with ProjectorMonteCarloProblem throws an error.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

16 of 18 (88.89%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 94.891%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/projector_monte_carlo_problem.jl
2
3
66.67%

src/strategies_and_params/replicastrategy.jl
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.006%

Covered Lines:
6909

Relevant Lines:
7281

💛  - Coveralls


[New game]: ALPHA_ZULU 👾

🎮 Game Request
Game logic and basic description

You are a test pilot in the navy and are out on operations testing an experimental new jet, callsign Alpha Zulu.
Your task is to launch from the aircraft carrier, fly around and then safely land back on the carrier.

Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @0xabdulkhalid !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Error: aspect_ratios_per_layer is None or len(aspect_ratios_per_layer) = len(predictor_size)

Dear Pierluigiferrari,
I am trying to fine tune SSD512 model with weights VGG_ILSVRC_16_layers_fc_reduced.h5 but it gave me this error:
ValueError: It must be either aspect_ratios_per_layer is None or len(aspect_ratios_per_layer) == len(predictor_sizes), but len(aspect_ratios_per_layer) == 7 and len(predictor_sizes) == 6
I think these weights are for SSD300 model only.
Later, I tried to chage the weight file with VGG_coco_SSD_512x512_iter_360000.h5 but not working. This is only for VGG model not the FC layers.
How can I get weights for SSD512 model which are trained either ImageNet or COCO dataset?
Thank you.
Best,
-Humayun

This error has nothing to do with the weights. SSD512 has one predictor layer more than SSD300. Presumably you didn't include that additional predictor layer in the predictor_sizes list that is being created in the code cell where the SSDBoxEncoder constructor is called. It must be:
predictor_sizes = [model.get_layer('conv4_3_norm_mbox_conf').output_shape[1:3],
                               model.get_layer('fc7_mbox_conf').output_shape[1:3],
                               model.get_layer('conv6_2_mbox_conf').output_shape[1:3],
                               model.get_layer('conv7_2_mbox_conf').output_shape[1:3],
                               model.get_layer('conv8_2_mbox_conf').output_shape[1:3],
                               model.get_layer('conv9_2_mbox_conf').output_shape[1:3],
                               model.get_layer('conv10_2_mbox_conf').output_shape[1:3]]

Note the additional conv10_2_mbox_conf layer.

Thanks. Now it is working.
Best,
-Humayun


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In 550710b, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 8578 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in 34c6d08 after 6 minutes.


There is no USD value for Dash and Doge

when creating an AS, the USD value is only visible for the sending coin, and is missing on the receiving coin.
pic: https://drive.google.com/file/d/1VxIFRGtmoZP9QvKHhtd2vj558sOVqJ6r/view?usp=sharing

notifications (DASH, QTUM, DOGE, LTC) added in commit. Needs to be added to the broadcaster

Please add notifications for Ethereum, Dai, USDT and WBTC.

Please add notifications for Ethereum, Dai, USDT and WBTC.

checked exchange rates


Unable to set collapsed() in Builder field due to hardcoded setting

Description
The component to add new Builder blocks to the field contains hardcoded collapsed(false) which prevents from setting this setting at Resource level.
Visual changes
No visual changes
Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

The resource setting should apply to existing items. This line of code is present to expand new items in the builder so they can be filled out quickly, its a UX thing. Please open an issue w/ a reproduction repository if you cannot get existing (saved) items to collapse

When you meantion that existing items are collapsed this works the way it shoot. So I agree if you add new items to the builder and you want to directly fill in the form. However there will also be usecases (like in my case) that you first want to add the blocks, rearrange them and then add information to te items. For example a site builder or a form builder (first setup the fields like email, phone), then openup the item.
If I create a PR to make this an optional setting like (addActionCollapsed and betweenActionCollapsed) would this be on you consideration to at this to the core? If not set, the default is still present.

expandNewItems(false) probably


Conda environment related issue

Hi @Sachin19! Thank you for sharing the code for your exciting work!
I was trying to create conda environment following the readme file, and the environment creation would fail due to package version conflicts. Could you please check if the issue occurs in your setting as well?
Here are some settings I've been creating environment at:
Operating System: Ubuntu 20.04.4 LTS
Kernel: Linux 5.4.0-100-generic
Architecture: x86-64
Python 3.9.12
conda version 23.1.0
Here is a screenshot of intermediate outputs I got while waiting for the environment to be created. After several attempts to resolve conflicts after this, the whole creation process aborted.

Thank you in advance!

Hi Hayley, I hope you were able to resolve this issue since I saw you have a pull request.
It is not clear to me what the issue is from this log. One suggestion I would make is to specify the python version to be 3.8. I have had some versioning issues with 3.9. I will update the readme to reflect this.

Hi Sachin! Sorry for the delay in my part!
After seeing your response, I added python: 3.8 to the conda environment.yml file and retried but ran into the same version conflict error! :(
The way I went about "solving" this issue is below. It'd be helpful if you could see if the below way would be okay. (It did not cause overt errors, but I'm afraid I'm not correctly replicating your environment.)
I installed packages below in a Python 3.9 based virtual env.
In terms of package versions, I quite arbitrarily specified versions based on environment.yml if I could find the versions there and for transformers, I couldn't so I just specified the minimum version from your readme. Thanks again!
transformers>=4.5.1 # copied from github
torch==1.11.0 # copied from environment.yml
sacrebleu==1.5.1 # copied from environment.yml
sacremoses==0.0.47 # copied from environment.yml
sacrerouge==0.2.3 # copied from environment.yml
nltk
perspective
click
pandas
pytreebank

Hi Hayley,
Apologies about the versioning issues, the library versions you specify hear seem to match the ones I did experiments with so it should be okay. I will update the README today to reflect this.
As per your update: You can comment out line 25, it is part of an older version of the code that is not used anymore. However, you do need to make an account on Perspective API and get an API key to evaluate the generated outputs' toxicity. You can find those instructions here: https://developers.google.com/codelabs/setup-perspective-api#0 and then add the API key in line 753 of evaluation/prompted_sampling/evaluate.py.

Sachin, Thanks for the quick response!
I will look into the solution you suggested. Thanks! (Applied for the perspective API and waiting for the reply!)

I tried the way you suggested (inserting API key) and it worked! Thanks for your help. :)


Ee api aliases

CI experiment to check WIP

@jfdenise Any idea what causes this failure?
https://ci.wildfly.org/viewLog.html?buildId=205501&tab=buildResultsDiv&buildTypeId=WF_PullRequest_GalleonLinuxJdk11&branch_WF_PullRequest=pull%2F13296

@bstansberry , you ran into a Layers tests bug, module aliases were not handled. I logged https://issues.redhat.com/browse/WFCORE-4972

@jfdenise Excellent; thanks!

Closing; I got the info I wanted.


Add Docker , Kubernetes , Microservice , Python Async

Great resources, Thanks for your contribution. Keep up the good work!


When using config registriesSkippingTagResolving, it has problem with space, I think it can be fixed.

when I edit configmap of config-deployment with kubectl edit configmap config-deployment -nknative-serving, the content with space, as follows:
registriesSkippingTagResolving: kind.local,ko.local,dev.local, gcr.io

for the img with gcr.io, it doesn't work, because there is a space with gcr.io
so maybe this can be fixed as follows, to delete the space of head and tail.
diff --git a/vendor/knative.dev/pkg/configmap/parse.go b/vendor/knative.dev/pkg/configmap/parse.go
index 4c280757b..03ee9cb47 100644
--- a/vendor/knative.dev/pkg/configmap/parse.go
+++ b/vendor/knative.dev/pkg/configmap/parse.go
@@ -141,7 +141,11 @@ func AsDuration(key string, target *time.Duration) ParseFunc {
 func AsStringSet(key string, target *sets.String) ParseFunc {
        return func(data map[string]string) error {
                if raw, ok := data[key]; ok {
-                       *target = sets.NewString(strings.Split(raw, ",")...)
+                       rawCopy := strings.Split(raw, ",")
+                       for i, v := range rawCopy {
+                               rawCopy[i] = strings.TrimSpace(v)
+                       }
+                       *target = sets.NewString(rawCopy...)
                }
                return nil
        }

/kind bug
/area config-parse

BTW, I think it hasn't got side effects for other config parse, because it just delete the space of head and tail.

/assign julz

Hi @jwcesign - seems reasonable to me, did you want to create a PR for this or is this supposed to be a /good-first-issue for someone else to PR?

@julz Very pleasure to create a PR for me.

SGTM, please fire away!


I have a very curious question, why tekton  names tekton，What's the meaning

I look forward to hearing from you soon


Front-matter loading problem with static entries created on Windows

BUG REPORT INFORMATION
- Do you want to request a feature or report a bug?
Report a bug.
- What is the current behavior?
If a static entry for a given collection is created under Windows, the CMS won't load the front matter correctly and will output everything in the body.
That is because Windows uses CRLF line endings while the CMS seems to only load the front matter properly when using LF line endings.
- If the current behavior is a bug, please provide the steps to reproduce.
Create any static entry for any collection under a Windows OS.
Push to GitHub.
Open the entry in the admin dashboard.
- What is the expected behavior?
Front matter should be loaded in the according fields instead of the body.
- Please mention your node.js, and operating system version.
Node - 6.10
OS - Windows 10

@maximelaboisson I'm wondering if a recently merged yaml parser update may help - I just published 0.3.17, can you update to that and try again?

Sounds good! Trying right now.

Yep, fixed now!
Thanks @erquhart

Shouts out to @josephearl - two birds!

Great news 👏


Want to add array implementation in C (traversal, insertion, deletion)

I cannot see any array implementation in the C language. I'm bothered about the new programmers who'd like to go through the basics of DSA.
So, I want to contribute to the DSA in C language with array implementation which includes traversal, insertion & deletion.
I've considered another language (most probably Python) for DSA but we can completely do DSA in python with List &  Dictionary which have their own built-in methods. So moved to C language.
Please consider this request under 'Hacktober fest 2021'.

I cannot see any array implementation in the C language. I'm bothered about the new programmers who'd like to go through the basics of DSA.
So, I want to contribute to the DSA in C language with array implementation which includes traversal, insertion & deletion.
I've considered another language (most probably Python) for DSA but we can completely do DSA in python with List &  Dictionary which have their own built-in methods. So moved to C language.
Please consider this request under 'Hacktober fest 2021'.

You can add the same in DSA folder and make more folders accordingly, Go ahead 👍🏻

Link PR here if made