Wrong import and export flags of areg library

Precondition
Merged the latest code and cmake changes (issue #28) in the 20220701-candidate branch to make a build.
Actions
Make a build using CMake
Expected
Compilation with no warnings and errors.
Result
When compile examples, see the warning message:
WARNING: None of preprocessor defines are set. By default sets EXP_AREG_DLL. See GESwitches.h file of AREG API Core
This may happen only when none of these options is set: EXP_AREG_DLL, EXP_AREG_LIB, IMP_AREG_DLL, IMP_AREG_LIB
Note:

When compile areg-sdk frameworklibrary as shared library (areg.so / areg.dll) the flag must be EXP_AREG_DLL, all other modules must have flag IMP_AREG_DLL
When compile areg-sdk frameworklibrary as static library (areg.a / areg.lib*) the flag must be EXP_AREG_LIB, all other modules must have flag IMP_AREG_LIB

Only in these cases there will be no warning. Otherwise, there will be a problem compiling for Windows OS, which requires precise import / export flags.

@biwiki , I tag you.
Just in case if this would be interesting for you :)

@aregtech, I've have merged cmake branch with candidate and requested #62.
Build and linking are correctly performed, however changes in core causes Segfault while trying examples.

To be more specific almost all examples will failed as such:
[#0] 0x7ffff7dba789 → std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)()
[#1] 0x7ffff7efdbef → std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(__str="", this=0x7ffff7fc2718 <Process::_theProcess+88>)
[#2] 0x7ffff7efdbef → std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(__str="", this=0x7ffff7fc2718 <Process::_theProcess+88>)
[#3] 0x7ffff7efdbef → TEString<char>::operator=(src="", this=0x7ffff7fc2718 <Process::_theProcess+88>)
[#4] 0x7ffff7efdbef → String::operator=(src="", this=0x7ffff7fc2718 <Process::_theProcess+88>)
[#5] 0x7ffff7efdbef → Process::_initPaths(this=0x7ffff7fc26c0 <Process::_theProcess>, fullPath=0x55555556e3e0 "/areg-sdk/product/build/g++/Linux-x86_64-Release/bin/03_file")
[#6] 0x7ffff7f0b4ae → Process::initilize(this=0x7ffff7fc26c0 <Process::_theProcess>)
[#7] 0x7ffff7f7224d → Process::getInstance()
[#8] 0x7ffff7f7224d → TraceManager::TraceManager(this=0x7ffff7fc8260 <TraceManager::getInstance()::_theTraceManager>)
[#9] 0x7ffff7f72354 → TraceManager::getInstance()

Hi @Ali-Nasrolahi,
OK, I'll have a look.
Which example you started?

Hello, @aregtech.
This is from third examples (03_file), but I believe first four examples has same issue as well.

OK, @Ali-Nasrolahi. Thank you, i'll check and let you know.

The quick fix to have file extension. The binary file does not have extension.


add python3.5 support

Codecov Report

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

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          59     59
  Branches       10     10
=====================================
  Hits           59     59

Impacted Files
Coverage Δ

packed/_resolver.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Benchmark timing changes: Use CPU time rather than wall clock time for benchmarking

Use CPU time rather than wall clock time for benchmarking

Another, or an additional measure is to record the number of rewrites.


gossiprouter container image Dockerfile

Hello,
the gossiprouter deployment (yaml/gossiprouter.yaml) uses your container image belaban/gossiprouter (https://hub.docker.com/r/belaban/gossiprouter)
Is the Dockerfile (or by looking at it, probably jib-maven-plugin configuration) available for it somewhere?
We'd like to update it (for TLS support by the way) and this would be a good starting point.

The GossipRouter image is created in [1], old and unmaintained... PRs are welcome!
IIRC, Infinispan also creates a GossipRouter image, as the Operator runs it. I'll ping Ryan Emerson (Red Hat) to comment here...
[1] https://github.com/jgroups-extras/gossiprouter-image

Unfortunately the Infinispan Operator doesn't use a dedicated GossipRouter image, instead it re-uses the Infinispan server image and calls /opt/gossiprouter/bin/launch.sh. You could use this for your own purposes, however you will always be constrained to the JGroups version used by the Infinispan server.

Ah, ok, then the changes would have to go into gossiprouter-image, but that shouldn't be an issue.

Alright, thank you for the information. I'll close this issue. It looks like we'll avoid having to use the GossipRouter for now, but I expect to get back to it in the near future. Then we'll probably look into updating the image and the related K8s deployment resource to cover a few additional things:

updated JGroups version
TLS: mount keystores (incl. truststore) as K8s secrets
easy way to customize the GossipRouter startup arguments via environment variables or K8s configmap. By the way, is there any way how to supply the keystore/truststore passwords - other than via command line arguments that are easily visible in the process list? At least environment variables would slightly hide these values (though it isn't ideal either, the values can be still obtained).
additional changes to the image if some are needed to get it running in more hardened environments (OpenShift)

Sure.
You could inject passwords programmatically, ie.:
router.tls().setKeystorePassword("secret"), but then again these need to be read by the image. I don't think this is JGroups-specific.

Yes that's of course possible, but I was asking about the GossipRouter "native" support for anything such.


Help,getting error while training !

I followed the basic command and try to  train the  dataset, an error occurred.
Following is the command:
th train.lua -data  dataset  -style_image wave.jpg  -cpu
Following is the output on the stdout:
`=> Generating list of images
| finding all validation images
| finding all training images
| saving list of images to /home/jiehang/texture_nets/gen/style.t7
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:537] Reading dangerously large protocol message.  If the message turns out to be larger than<PHONE_NUMBER> bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:78] The total number of bytes read was 574671192
Successfully loaded data/pretrained/VGG_ILSVRC_19_layers.caffemodel
conv1_1: 64 3 3 3
conv1_2: 64 64 3 3
conv2_1: 128 64 3 3
conv2_2: 128 128 3 3
conv3_1: 256 128 3 3
conv3_2: 256 256 3 3
conv3_3: 256 256 3 3
conv3_4: 256 256 3 3
conv4_1: 512 256 3 3
conv4_2: 512 512 3 3
conv4_3: 512 512 3 3
conv4_4: 512 512 3 3
conv5_1: 512 512 3 3
conv5_2: 512 512 3 3
conv5_3: 512 512 3 3
conv5_4: 512 512 3 3
fc6: 1 1 25088 4096
fc7: 1 1 4096 4096
fc8: 1 1 4096 1000
Using TV loss with weight 	0
Setting up texture layer  	2	:	relu1_1
Setting up texture layer  	7	:	relu2_1
Setting up texture layer  	12	:	relu3_1
Setting up texture layer  	21	:	relu4_1
Setting up content layer	23	:	relu4_2
Optimize
/home/jiehang/torch/install/bin/luajit: /home/jiehang/torch/install/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.Sequential:
/home/jiehang/torch/install/share/lua/5.1/cudnn/init.lua:171: assertion failed!
stack traceback:
[C]: in function 'assert'
/home/jiehang/torch/install/share/lua/5.1/cudnn/init.lua:171: in function 'toDescriptor'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:123: in function 'createIODescriptors'
...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:188: in function <...torch/install/share/lua/5.1/cudnn/SpatialConvolution.lua:186>
[C]: in function 'xpcall'
/home/jiehang/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/jiehang/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./src/descriptor_net.lua:28: in function 'forward'
train.lua:211: in function 'opfunc'
/home/jiehang/torch/install/share/lua/5.1/optim/adam.lua:37: in function 'optim_method'
train.lua:240: in main chunk
[C]: in function 'dofile'
...hang/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/jiehang/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/jiehang/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./src/descriptor_net.lua:28: in function 'forward'
train.lua:211: in function 'opfunc'
/home/jiehang/torch/install/share/lua/5.1/optim/adam.lua:37: in function 'optim_method'
train.lua:240: in main chunk
[C]: in function 'dofile'
...hang/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
`

For some reason cudnn is used for cpu version. It is a bug, but still I do not think you will be training the models on cpu, as it takes too long. Just find a gpu and it will work :)


Change that title

Having BOT in the title is a bad idea.
It's not a bot so... why get that stigma by naming it that.

I'll consider it.


TextMetrics.wordWrap() ignores TextStyle.letterSpacing Issue #4544

TextMetrics.wordWarp() ignores TextStyle.letterSpacing
This is to hopefully resolve issue #4544
I found an issue with TextMetrics.wordWarp, which also effects TextMetrics.measureText & TextMetrics.measureFont. The wordwrap function does not account for letterSpacing values larger than 0.
The problem - jsfiddle
https://jsfiddle.net/brenwell/59660ayb/

Ok great. Hopefully we can get it merged soon. I can make another pull request for the CSS behaviour if you like.
Thanks @themoonrat

I think the CSS behaviour would be a good PR after this is in, yeah, thanks :)

Ok will do. This hasn't been merged yet I believe, what is the process for merging it, I would really love to have this change available. Is it just a waiting game??

Yeah!

Sorry for the delay @brenwell. Your PR is great, we've just been focused on v5 and super busy. Also, there are also a handful of other Text PRs that I know would be stomped on by this one. I think this is the better PR to merge first because it fixes a bug, the others add new features and APIs (emoji support, change metrics) which should probably be lower priority.

Understandable
One of the other things this issue highlighted was that there is a difference in behaviour between pixi js and css regarding word-wrapping. Would you guys want the behaviour to be like css and if so should I make a pull-request. The details can be seen in previous comments

We are saying no to any to major refactors in v4. Not exactly sure what you had in mind for behavior to be like CSS, but this effort sounds like it would be better focused on v5 (next branch). Text is v5 is going to get overhauled anyways. Two of the biggest issues with Text are performance (caching of characters to dynamic atlas) and proper kerning. We've been talking with a few folks on PixiJS Slack about this, would love your input.

@bigtimebuddy fyi: the behaviour change here would just be 'when does text wrap if it's too long on a line'
With PIXI, it goes
here's some text andthispartistoo
long so will wordwrap. thank you
have fun

css style it would go
here's some text
andthispartistoolong so will
wordwrap. thank you have fun

So if piece of text is going to have to be wrapped, css/html style is to start that wrapped word on a new line. This has the advantage of potentially stopping the word requiring being broken up in the first place, as it gets a fresh new line to take up space on.

Ahh, thanks for clarifying @themoonrat. I'm okay with that approach. What do you think?

@bigtimebuddy You're ok with keeping the current approach or ok with changing to the proposed approach?
I'd like a future pr for the proposed approach because, not only does it match the expectations of how word wrapping works by matching how html text works, but it's just a plain better looking solution.
An argument could be made it should go onto v5 not v4 as it will change the visuals of existing content.... but then we're not even sure what Text we're having for v5 atm!

I’m okay with that change for v4, I agree it looks better and is more consistent with expectations.

Ok no problem, when I get a moment I will make a new pull request for that particular behaviour.
Regarding the text overhaul, its my understanding the kerning is really quite hard to do right. I too would be interested in what others have as ideas for that


POC: Run Angular components in a react Storybook

Test if it's possible to run the intranet header in a story.

First findings
Tested the new standalone components feature to see if they can be easily integrated into other frameworks. That is not the case, because even standalone components don't get fully compiled with all dependencies in a components setup. When trying to import the built component, dependencies (e.g. NgbModule) are missing because they don't get bundled into a standalone bundle.
A promising solution is @angular/elements which provides the bundling missing in the above approach. There are some implications when choosing this approach.

Setup and bundling needs to be changed to create component bundles, documentation is poor
Components like the intranet header need slight updates in order to be compatible
It's unclear if this change can be done without breaking current implementations (is it possible to bundle both an Angular component and a web component?)
Components that are currently built for the documentation would need to be refactored into the components-angular package in order to be exported with @angular/elements
We should discuss about worthiness of this effort versus migrating directly to stencil components

Converting current components with @angular/elements just to get rid of them later is not worth the effort.


Some code on the console will raise "Illegal call to 'Script.Wait()' outside main loop!"

📦 What modules are you seeing the problem on?
ScriptHookVDotNet.asi (runtime), ScriptHookVDotNet3.dll (v3 SDK/API)
🛠 SHVDN Version
v3.7.0-nightly.3
🎮 Game Version
3174
🐛 Bug Description
When calling some functions like World.CreateVehicle that use Script.Wait or Script.Yield, it will raise an exception saying that we are not in the main loop.

🔄 Steps To Reproduce
Run a line that internally calls Script.Wait, for example:
World.CreateVehicle("prototipo", Game.Player.Character.Position, 0);

📄 Link To Code Example
No response
⚠ Current Behavior
It raises "Illegal call to 'Script.Wait()' outside main loop!".
🎯 Expected Behavior
It runs the code as expected.

I'm not closing as not planned right now, because the issue has existed since v3.0.0 iirc. The problem is, whether the behavior described in this issue should be changed so the console will wait for how long time Script.Wait calls in the console, when you would encounter the issue almost always by calling methods that internally call Script.Wait and few people would bother to call it explicitly.


Add listening functionality

Added functionality so the app can receive connection requests. Please review and edit if you find it useful.

Hey. I saw this.  Have to look around and see if it's doable on IOS. The main goal was of the project initially was to get Android and ios online with each other.  Which I don't think is doable with external accessory, but apparently with latest corebluetooth there is classic functionality. It's just very limited docs at the moment.
What do you use to connect to the phone with?  Another phone? Or a specialized peripheral?

I use it to connect specialized peripheral to the phone.

Righ ton. The next goals I have are the set Encoding, since I need it for my company, and the ability to configer different data parsers, which would be beneficial I think and finally refactoring the Android service to be more like ios where it implements a device and keeps the buffer with it, to allow for multiple devices.
But I'll keep this open incase others need it too.


Support of dynamic type casting

We need dynamic type casting.
a: B = A()
b: A = a

class A < B {}
class B {}

Of course throws the Error:
-- CompileError ----------------------------------------------------------------

  5| b: A = a
     ^^^^^^^^

`B` does not extend declared type `A`.

But right know we have no possibility to use the dynamic type A of the variable a.

The error we get is correct and I don't think we should allow the example above.
Dynamic cast would be nice but I don't think it is necessary for a MVP of a language. I think we should first focus on more pressing issues ;)

Yes the error is perfectly fine
haha ok lets talk about it later

I'm going to close this since we decided that for now we won't implement it for now.


Ultrasound more powerful

Hello Brian, is there any configuration on ultrasound profile that can be made to extend the range transmission for ultrasound communication? I tryed more gain, and other variables and I could not get better results. Can you give me some tips on how transmit better at 1 meter distance? Thanks

Would this be possible?

I'm interested in this too, I ran the example locally and tested it on 2 phones and it worked up to 30 centimeters with an ultrasonic profile. I would like to know if this range can be expanded, for example, up to 5 meters?


Update output page display

update output page to display data in a table instead of accordions
update input accordions to stack in 2 separate columns

addresses issue #132

new output display:

for comparison, this is what it looked liked prior:

@avdudchenko


feat: adds update support to content

Resolves #89

Converting back to draft until implementation and testing are complete.

This approach looks interesting to me. It preserves typchecking/hints to the extent possible while allowing for forward compatibility (I was assuming that's a design goal; if not then we can reconsider).

Thanks! Here's another behavioral artifact that I find interesting. You can define additional overload methods, and the language server will navigate those type hints correctly. So, the method signature effectively becomes the request schema for different API versions.
https://github.com/posit-dev/posit-sdk-py/assets/6015574/29c0f2c7-6242-4030-8c97-2ae51a907980


Test resources with schema changes for v4.22.0 -> v4.48.0 version bump

In the context of #63, we would like to test the following resources with Terraform state schema changes:
google_cloudbuild_trigger:1-2

And the following CRDs with breaking API changes:
cloudrun.gcp.upbound.io_services.yaml
compute.gcp.upbound.io_networkendpoints.yaml
container.gcp.upbound.io_clusters.yaml
container.gcp.upbound.io_nodepools.yaml
dns.gcp.upbound.io_recordsets.yaml

Known customer related resources:
storage.Bucket, redis.Cloudmemorystoreinstance, sql.Cloudsqlinstance
cc. @AaronME, @Piotr1215: It would be great to compile a list of resources that are internally employed so that we try to test them while bumping versions. Also, would you be willing to give a pre-release bumped provider-gcp a try in maybe a dev environment? We are also planning some e2e tests (please see https://github.com/upbound/team-extensions/issues/85).

compute.gcp.upbound.io_networkendpoints.yaml

NAME                                                 READY   SYNCED   EXTERNAL-NAME      AGE
subnetwork.compute.gcp.upbound.io/network-endpoint   True    True     network-endpoint   5m24s

NAME                                                      READY   SYNCED   EXTERNAL-NAME
                                     AGE
networkendpoint.compute.gcp.upbound.io/network-endpoint   True    True     official-provider-testing/us-central1-a/network-endp
oint/network-endpoint/<IP_ADDRESS>/90   5m24s

NAME                                                           READY   SYNCED   EXTERNAL-NAME      AGE
networkendpointgroup.compute.gcp.upbound.io/network-endpoint   True    True     network-endpoint   5m24s

NAME                                               READY   SYNCED   EXTERNAL-NAME      AGE
instance.compute.gcp.upbound.io/network-endpoint   True    True     network-endpoint   5m24s

NAME                                              READY   SYNCED   EXTERNAL-NAME      AGE
network.compute.gcp.upbound.io/network-endpoint   True    True     network-endpoint   5m24s

@ulucinar I believe @turkenh raised the issue of using uptest for our internal resources. He was even kind enough to create a demo PR.
The effort is stalled because most of our composites are written to specifically support configuration within the "upbound cloud" ecosystem. We considered creating a "catch-all" composition that just contained one of each resource we use, however have not had time to devote to that effort.
(We are also still running terrajet providers, fwiw. Provider development is moving an impressive rate.)

google_storage_bucket

NAME                                                    READY   SYNCED   EXTERNAL-NAME             AGE
bucket.storage.gcp.upbound.io/bucket-fatih55deneme123   True    True     bucket-fatih55deneme123   27m

We have successfully tested the above resources without making any changes to the example manifests and external name configurations.


Does not work with Xcode 14.3 and iOS 16.4

With Xcode 14.3 (14E222b) with iOS 16.4, the nfc plugin fails to compile and shows the following error:

its mainly because the api semantics has changed in iOS 16.4.

Please review this pull request which contains the fix: https://github.com/chariotsolutions/phonegap-nfc/pull/486

@srinidhirao  this plugin creator did fantastic work, and we highly appreciate him , but he is not answering for years and unfortunately it is not maintained anymore.
we moved to a maintained plugin (which forked from this one) to here:
https://github.com/EYALIN/community-cordova-plugin-nfc
you can install it as an npm package:
cordova plugin add community-cordova-plugin-nfc --save
I dedicate a considerable amount of my free time to developing and maintaining many cordova plugins for the community (See the list with all my maintained plugins).

Thanks for maintaining this plugin. I’ll update the plugin and try with Android.
Regards,
Srinidhi
From: EYALIN @.>
Date: Friday, 19 July 2024 at 3:49 PM
To: chariotsolutions/phonegap-nfc @.>
Cc: Srinidhi Anand Rao @.>, Mention @.>
Subject: Re: [chariotsolutions/phonegap-nfc] Does not work with Xcode 14.3 and iOS 16.4 (Issue #485)
@srinidhiraohttps://github.com/srinidhirao this plugin creator did fantastic work, and we highly appreciate him , but he is not answering for years and unfortunately it is not maintained anymore.
we moved to a maintained plugin (which forked from this one) to here:
https://github.com/EYALIN/community-cordova-plugin-nfc
you can install it as an npm package:
cordova plugin add community-cordova-plugin-nfc --save
I dedicate a considerable amount of my free time to developing and maintaining many cordova plugins for the community (See the list with all my maintained plugins).
—
Reply to this email directly, view it on GitHubhttps://github.com/chariotsolutions/phonegap-nfc/issues/485#issuecomment-2238843385, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACLRLENYJDNVMKBKWFQGW2LZNDR4PAVCNFSM6AAAAABLEJ53VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZYHA2DGMZYGU.
You are receiving this because you were mentioned.Message ID: @.***>


Discussion eslint rule fp/no-loops

I want to discuss this rule and why we are forbidding the use of for-of or for loops.
https://github.com/jfmengels/eslint-plugin-fp/blob/master/docs/rules/no-loops.md
In general if you need something performant a for loop is unbeatable on large scale
like
for (let i = 0, max = hugeSet.length(); i < max; i ++) {
...
}

a different example often you want to iterate over an iterate-able with entries in a sync manor where some async code is awaited:
for (const entry of entries) {
   await doSomeAsync(entry)
   console.log('done for entry')
}

IMO these are valid examples to use a for or forof and we should not forbid them.
cc @eduardoboucas @ehmicky @netlify-team-account-1 @ascorbic @erezrokah

I'm okay with removing it.

It looks like we can move forward with this.

Let's do it! 🚀

Can I suggest we remove the fp plugin entirely. I think it's far too opinionated for a global config like this.


Diarization support for the Speech API in V1p1beta1

I wanted to explore the diarization features of the Speech to text API in V1p1beta1 but it seems to be missing.
The identifying different voices docs show that it is supported in the API and Python lib, but I am not finding properties for enableSpeakerDiarization or diarizationSpeakerCount in  the V1p1beta1 RecognitionConfig.php file.
Just as a sanity check, I wanted to make sure I wasn't missing anything, and point out it's missing if it was unknown.

Thanks for raising this @mikemilano. You're correct, the feature is indeed missing. We should be able to release a regenerated client including the diarization features soon.


Issue: Incomplete Type Generation with DTS Plugin in module-federation/enhanced

Describe the bug
I'm using the module-federation/enhanced plugin in my microfrontend architecture, and I've encountered an issue with the DTS plugin that's part of this package. The DTS plugin is supposed to generate TypeScript declaration files (.d.ts) for sharing types between different microfrontends. However, it seems to struggle with generating complete type definitions when the types are indirectly dependent on other libraries.
Specifically, the problem arises with libraries that are dependencies of other libraries. For example, when using @reduxjs/toolkit, which internally depends on libraries like immer and reselect, the DTS plugin successfully generates types for @reduxjs/toolkit itself. However, it fails to generate types for the internal dependencies like reselect, leading to incomplete type definitions where these dependencies are involved.
Example
Here’s an example of a generated type that illustrates the problem:
declare const selectIsAuth: import("@reduxjs/toolkit").Selector<{     session: ISession; }, boolean, []> & {     unwrapped: (state: ISession) => boolean; };
/<EMAIL_ADDRESS>import { ActionCreator, Action, Middleware, StoreEnhancer, UnknownAction, Reducer, ReducersMapObject, Store, StateFromReducersMapObject, Dispatch, MiddlewareAPI } from 'redux'; export * from 'redux'; import { Draft } from 'immer'; export { Draft, produce as createNextState, current, freeze, isDraft, original } from 'immer'; import * as reselect from 'reselect'; import { createSelectorCreator, weakMapMemoize, Selector, CreateSelectorFunction } from 'reselect';
all imports are "Cannot find module '{dependencies}' or its corresponding type declarations."
In the example above, the Selector type is supposed to be imported from reselect, which is a dependency of @reduxjs/toolkit. However, the generated type results in any because the DTS plugin does not generate the necessary types from reselect.
Expected Behavior
The DTS plugin should correctly resolve and generate types not only for the primary libraries like @reduxjs/toolkit but also for the internal dependencies like reselect, immer, and others that are used by these primary libraries. This would ensure that all types are correctly defined and usable in other microfrontends.
Actual Behavior
While the types for @reduxjs/toolkit are generated correctly, the types for its internal dependencies are not. As a result, any types that rely on these internal dependencies are incomplete, often resulting in any types where specific type definitions should exist.
Steps to Reproduce
Setup a Microfrontend Application:

Use module-federation/enhanced with the DTS plugin to manage and share types between microfrontends.
Include a Redux Toolkit Selector:
In one of the microfrontends, create and expose a selector using @reduxjs/toolkit. This selector should rely on types provided by internal dependencies like reselect.
Expose the Selector:
Configure the module federation to expose the selector for use in other microfrontends. For example:
`
// catalog/src/app/selectors/sessionSelectors.ts
import { createSelector } from '@reduxjs/toolkit';

export const selectIsAuth = createSelector(
(state: { session: ISession }) => state.session,
(session) => session.isAuthenticated
);
`
6. Generate the Type Declarations:

Run the build process to generate the .d.ts files using the DTS plugin from module-federation/enhanced.
Observe the Type Definitions:

Check the generated .d.ts files. You should notice that while the type for the selector itself (Selector) is attempted to be resolved, it ends up as any because the types from reselect (an internal dependency of @reduxjs/toolkit) are not correctly generated or included.
Reproduction
https://github.com/module-federation/module-federation-examples/tree/master/typescript-react-monorepo
Used Package Manager
pnpm
System Info
System:
    OS: macOS 14.6.1
    CPU: (8) arm64 Apple M1
    Memory: 105.50 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.16.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.1 - /usr/local/bin/npm
    pnpm: 9.6.0 - /usr/local/bin/pnpm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 127.0.6533.100
    Safari: 17.6

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

@2heal1 seen a few requests for nested vendor modules to contain complete typings. Can we support this?


Better error message when breaking mutually exclusive set rules

This is a specific issue, following #202.

Work started on temporary dev branch mxerrmsg203.


[BUG] Cannot create a deployment in endpoint {endpointName} because it is in {state} provisioning state.

Library name and version
Azure.ResourceManager.MachineLearning 1.0.0
Describe the bug
we get the error " Cannot create a deployment in endpoint e10a7d7c808ae42c0bad9-ept because it is in Updating provisioning state" when  machine learning online deployment.
Expected behavior
machine learning  endpoint deploy success.
Actual behavior
machine learning endpoint deploy failed, the message is Cannot create a deployment in endpoint e10a7d7c808ae42c0bad9-ept because it is in Updating provisioning state.
that happend Azure region US East, Ireland, Australia East.
Note: JP east is success.
Reproduction Steps
after the endpoint state is succeeded , call MachineLearningOnlineEndpointResource.GetMachineLearningOnlineDeployments().CreateOrUpdateAsync
if (endpoint.State == OperationState.Succeeded)
{
var deployResourceId = await MachineLearningOnlineEndpointResource.GetMachineLearningOnlineDeployments().CreateOrUpdateAsync(WaitUntil.Started, deploymentName, data);
return deployResourceId;
}
ERROR:
Azure.RequestFailedException: Cannot create a deployment in endpoint e10a7d7c808ae42c0bad9-ept because it is in Updating provisioning state.
Status: 400 (Cannot create a deployment in endpoint e10a7d7c808ae42c0bad9-ept because it is in Updating provision)
ErrorCode: UserError
Content:
{
"error": {
"code": "UserError",
"message": "Cannot create a deployment in endpoint e10a7d7c808ae42c0bad9-ept because it is in Updating provisioning state.",
"details": [],
"additionalInfo": [
{
"type": "ComponentName",
"info": {
"value": "managementfrontend"
}
},
{
"type": "Correlation",
"info": {
"value": {
"operation": "bcd6614d5ae7a2aeb1882b0035d7e8d6",
"request": "2103933cf61caabc"
}
}
},
{
"type": "Environment",
"info": {
"value": "australiaeast"
}
},
{
"type": "Location",
"info": {
"value": "australiaeast"
}
},
{
"type": "Time",
"info": {
"value": "2023-06-12T01:01:50.4982582+00:00"
}
},
{
"type": "InnerError",
"info": {
"value": {
"code": "BadArgument",
"innerError": {
"code": "EndpointNotReady",
"innerError": null
}
}
}
},
{
"type": "MessageFormat",
"info": {
"value": "Cannot create a deployment in endpoint {endpointName} because it is in {state} provisioning state."
}
},
{
"type": "MessageParameters",
"info": {
"value": {
"endpointName": "e10a7d7c808ae42c0bad9-ept",
"state": "Updating"
}
}
}
]
}
}
Headers:
Cache-Control: no-cache
Pragma: no-cache
x-ms-ratelimit-remaining-subscription-resource-requests: REDACTED
Request-Context: REDACTED
x-ms-response-type: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
x-aml-cluster: REDACTED
x-request-time: REDACTED
x-ms-request-id: 44a84a4d-487e-4114-ba10-2915d3b3498b
x-ms-correlation-request-id: REDACTED
x-ms-routing-request-id: REDACTED
Date: Mon, 12 Jun 2023 01:01:50 GMT
Content-Length: 1557
Content-Type: application/json; charset=utf-8
Expires: -1
at Azure.ResourceManager.MachineLearning.OnlineDeploymentsRestOperations.CreateOrUpdateAsync(String subscriptionId, String resourceGroupName, String workspaceName, String endpointName, String deploymentName, MachineLearningOnlineDeploymentData data, CancellationToken cancellationToken)
at Azure.ResourceManager.MachineLearning.MachineLearningOnlineDeploymentCollection.CreateOrUpdateAsync(WaitUntil waitUntil, String deploymentName, MachineLearningOnlineDeploymentData data, CancellationToken cancellationToken)
Environment
Azure ML Workspace.
.NET 6

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

hi, any updates

Hi @hwwang , Thank you for using Azure SDK for .NET.
If the creation in JP area was succeeded, we could assume it's a service isssue.

This issue is related to the service side and not the SDK side, so we are not able to help you with it. Therefore, we are closing this issue for now. If you need more assistance, please open an Azure support request. We apologize for any inconvenience this may cause you.
We value your feedback and we want to make sure that your problem is solved. If you think that we have misunderstood your issue or closed it incorrectly, please feel free to comment on this thread and reopen the issue. We will be happy to assist you further. Thank you for your understanding and cooperation.


Add support for GROQ API and fix iframe documentation cutoff

Description
Hope to expand our AI chat capabilities by adding support for the GROQ alongside our existing integrations with OpenAI, Gemini, and Anthropic (Claude) APIs. This addition will provide users with more options for AI-powered interactions within Marimo.
Intended addition:

AI Completion
AI Chatbot (with regards to latest release)

Additionally, a small documentation issue where the content for the iframe function is being cut off in the docs website.
The GROQ API integration will involve:

Updating the LLM implementation in marimo/_plugins/ui/_impl/chat/llm.py
Adding examples for GROQ usage in the examples/ai/chat directory
Updating the AI completion documentation at docs/guides/editor_features/ai_completion.html
Adding GROQ to the list of built-in models in docs/api/inputs/chat.html

iframe Documentation Fix
The iframe documentation at docs/api/html.html#marimo.iframe is currently experiencing a display issue where content is cut off after the words "so if you have a". I think this problem is related to the <script/> tag in the documentation.
Suggested solution
GROQ API Integration

Update marimo/_plugins/ui/_impl/chat/llm.py:

Add a new class marimo.ai.llm.openai.GroqLLM that implements the necessary methods to interact with the GROQ API.

Create examples in examples/ai/chat:

Add a new example notebook demonstrating GROQ usage with mo.ai.chat.

Update docs/guides/editor_features/ai_completion.html:

Add information about GROQ support in the AI completion documentation.

Modify docs/api/inputs/chat.html:

Add GROQ to the list of built-in models in the chat API documentation.

Update any relevant configuration or environment variable handling to include GROQ API keys and endpoints.

iframe Documentation Fix

Wrap the script tag with using inline highlighting.

Test the documentation build locally to verify that the full content of the iframe function documentation is displayed correctly (will refer to CONTRIBUTING.md for instructions to build docs locally).

Located the issue introduced from this PR #2398; will be modifying marimo/_output/formatting.py accordingly.

Alternative
Nothing other than what was listed in the suggested solutions at the moment.
Additional context

GROQ has been gaining attention in the AI community for its performance and cost-effectiveness. Thought adding support for it (given the kind of free APIs it offers to various models) would be useful.

These sound good to me. I would suggest splitting these into three PRs:

Adding marimo.ai.llm.GroqLLM, the example, and updating the docs
Adding grq support to AI completion (if it is not already compatible with the OpenAI API, otherwise just updating the docs)
Fixing the iframe documentation

Thanks for opening this issue!

These sound good to me. I would suggest splitting these into three PRs:

Adding marimo.ai.llm.GroqLLM, the example, and updating the docs
Adding grq support to AI completion (if it is not already compatible with the OpenAI API, otherwise just updating the docs)
Fixing the iframe documentation

Thanks for opening this issue!

Sure, will follow this!

@Haleshot are you using --sandbox or confirming when prompted? for developing locally, sandbox doesn't work (it will download the latest version of marimo, instead of your local version).

@Haleshot are you using --sandbox or confirming when prompted? for developing locally, sandbox doesn't work (it will download the latest version of marimo, instead of your local version).

Oh my god. Was cranking my brain on what I was doing wrong as I just followed your PR. Thanks so much for the clarification! Works now.

Closing this issue now; with all PRs (split up) being merged.


Not seeing the device in lsusb output

Hello, absolutely new to the embedded world. My issue is that when I plug in the device to my laptop (running Ubuntu 19.04), I do not see the device in the list produced by lsusb.
The laptop I have has USB3 ports only and I use a USB2 converter/adapters in the middle. I have tried three such adapters so maybe it is not the adapters. I see the lights flashing on the board so it is powered up I guess.
I wonder if anyone has tried this with USB3 ports.
I have tried running openocd even after not seeing the device in lsusb output and it obviously does not work. This is the openocd config I am using.
# This is an STM32F3 discovery board with a single STM32F303VCT6 chip.
# http://www.st.com/internet/evalboard/product/254044.jsp

source [find interface/stlink-v2.cfg]

transport select hla_swd

source [find target/stm32f3x.cfg]

reset_config srst_only

hi hi, if you're getting USB errors you might be able to see what's going on using sudo dmesg | grep usb.
it might also be worth checking the device works with another computer, but other than that it's pretty hard to debug remotely and usb-c to usb adaptors and cables are pretty cursed  :-/

Oh yea!  OTOH now I think I may have to recompile the kernel or something. :laughing:

Just in case someone was curious, the issue was with my USB cable. Bought a new USB mini to USB cable and the output lsusb shows something like
Bus 001 Device 005: ID 0483:374b STMicroelectronics ST-LINK/V2.1
Even though with the older faulty cable, the LEDs were blinking there was clearly an issue. Went to the nearest Microcenter and got a new cable. :heart:

@amanjeev Could also have been a "power-only" cable, those darn things still exist unfortunately. Great that you got it to work, though!


[deps] rusoto upgrade/w cargo update

Motivation
Handle rusoto upgrades
Have you read the [Contributing Guidelines on pull requests]
y
Test Plan
ci
Related PRs
https://github.com/libra/libra/pull/4178
https://github.com/libra/libra/pull/4180

@metajack when you have a chance.   Manual rusoto upgrades, followed by a cargo upgrade.

@dependabot rebase
just make sure it still works.

just rebased to make sure the build still works.

@bors-libra r=metajack

:pushpin: Commit bcddcc7 has been approved by metajack

:hourglass: Testing commit bcddcc7a5bccca98bb6b4dfc57b322ba16fe8000 with merge fbd7eeb198d2f185b5a5a9685c8c77f7560d7971...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: metajack
Pushing fbd7eeb198d2f185b5a5a9685c8c77f7560d7971 to master...


Add slot option for AppBar

If you add a slot with the name title it will override the prop but the prop can still update the window title.

@cyates81 I've been meaning to do this, thanks!  Could you run pnpm changeset to produce a changeset so this shows up in the changelog?  I would use patch (as pre-1.0 I treat non-breaking changes including features as patch, and breaking changes as minor.  Post 1.0 we'll follow standard semver practices).  Thanks again!

Thanks @cyates81.   Thank you for your hard work on the library. Still in the initial testing phase but we are hoping to use it for our project. If we do and come across enhancements we would need that others might benefit from I'll do PRs.


Status

Hi,
congratulations for the job done so far!
I wonder about the status this project. I assume it is not being actively developed anymore.
Is there any possibility you could publish a document about the main difficulties you had to go through and the challenges ahead? That would surely help some of us consider taking over further development.
Thanks in advance!
D.

It seemed that this project is not active. In fact, I actively developed for MinGW port and wxSwift pilot.
You can see it in the commit history of the 'upstream-with-windows' branch of this repo, and the master branch of the wxSwift.
I need some time for packing and releasing those build.
You can see the Swift coded sample UI program running on Windows in a few days.
Thanks for interested in this project.

Thanks for your quick answer! I will have a look at those. Cheers!

Cool! Is it the intention to pull this fork back into the original apple/swift repository?

@blasterinblack Please check  https://github.com/SwiftForWindows/SwiftForWindows/releases/tag/v1.6
@Dev1an Yes, as I submitted multiple pool requests in the past, I will continue to submit PRs. However, it will take time for me to prepare and it will take time for people to review the submitted PR.

Wow, this is impressive work!
Just tested it and it works like a charm, nice job dude!

Thanks for your cheering.
Please promote http://SwiftForWindows.github.io to your friends.

I will promote it!
Btw, I am also working on yet another project for extending Swift's support for platforms. I will let you know as soon as I have something to show, maybe you will find it interesting.
Congratulations for such a great job!


[BUG] v100下面启动训练存在问题

Required prerequisites

[X] I have read the documentation https://safe-rlhf.readthedocs.io.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

What version of safe-rlhf are you using?
3.10.0
System information
docker
Problem description
bash scripts/sft-deepspeed.sh

一直卡着，试了一下相同代码环境a100是正常运行的。
Reproducible example code
The Python snippets:
bash scripts/sft-deepspeed.sh

Traceback
bash scripts/sft-deepspeed.sh     v100卡住，a100正常

Expected behavior
bash scripts/sft-deepspeed.sh     v100卡住，a100正常
Additional context
No response
Checklist

[X] I have made every effort to write this issue in English, including all comments, the title, and the description.
[X] I have provided all relevant and necessary information above.
[X] I have chosen a suitable title for this issue.

看上去可能是最新的deepspeed版本问题。


ng tests should be in a profile so they can be disabled in a headless build environment

Move ng tests into a profile so they can be disabled in a headless build environment.

Also, aligned spring/spring-boot with Fuse versions, as well as jackson-databind

Thanks @cunningt


Update datetime_helpers.py - freq_to_dateoffset

Cleaned up freq_to_dateoffset to make cleaner, more efficient, readable, extendable, and Pythonic. Changed to primarily be a lookup table/map dict type function rather than a series of if, else, elif statements.

Again, just slight clean up.


MockApnsServer

Hi,
I noticed that in test sources you have MockApnsServer, which is of course somewhat specific for your testing needs, but could be made a bit more generic to allow others test their implementations built on top of pushy. This would be a very good simulator to see if you really doing things right or wrong.
My proposal is to make it a bit more generic and publish it on it's own.

I think this is a duplicate of #313, which was closed by #315. It's scheduled for inclusion in the next release of Pushy.

It really is. Looking forward for a next release.


Mobile event headers have gap

I frequently see a white gap on mobile event headers. I know this is partially due to the dimensions of the image chosen, but perhaps we can style the image differently so that it's never an issue, the image will always stretch to fill the space as needed:

deployed


Add ability to get original parsed XML

Because of #116 I need to have an ability to get to original XML output.
I've tried to put new function into MediaInfoContainer, but because of DumpTrait's logic it's not possible to have additional properties there.

Hi, thank you for this PR, it's a good idea to make mediainfo command output available. But IMHO set the output directly into MediaInfo object is not the good way to do this (MediaInfo object scope is not to store data about mediainfo command execution), a better solution to solve this, is to have a method to get the "raw output".
My proposal:
src/MediaInfo.php
    /**
     * @param $filePath
     * @param bool $ignoreUnknownTrackTypes Optional parameter used to skip unknown track types by passing true. The
     *                                      default behavior (false) is throw an exception on unknown track types.
     *
     * @throws \Mhor\MediaInfo\Exception\UnknownTrackTypeException
     *
     * @return MediaInfoContainer
     */
    public function getInfo($filePath, bool $ignoreUnknownTrackTypes = false): MediaInfoContainer
    {
        return $this->getInfoFromOutput($this->getOutput($filePath), $ignoreUnknownTrackTypes);
    }

    /**
     * @param $filePath
     * @return string
     */
    public function getOutput($filePath): string
    {
        $mediaInfoCommandBuilder = new MediaInfoCommandBuilder();

        return $mediaInfoCommandBuilder->buildMediaInfoCommandRunner($filePath, $this->configuration)->run();
    }

    /**
     * @param string $output
     * @return string
     */
    public function getInfoFromOutput(string $output, bool $ignoreUnknownTrackTypes = false): MediaInfoContainer
    {
        $mediaInfoOutputParser = new MediaInfoOutputParser();
        $mediaInfoOutputParser->parse($output);

        return $mediaInfoOutputParser->getMediaInfoContainer($ignoreUnknownTrackTypes);
    }

Example of usage:
$mediaInfo = new MediaInfo();
$output = $mediaInfo->getOutput(
    './1.flac'
);

$mediaInfoContainer = $mediaInfo->getInfoFromOutput($rawOutput);

var_dump($mediaInfoContainer->getGeneral()->list());

Could you also:

add documentation about this new feature
add some unit tests

Closed for now, due to inactivity.


Feature: add giv power to user by address query

Related to https://github.com/Giveth/impact-graph/issues/718#event-7780007932
For frontends. Please update to this query (with givPower and boostedProjectsCount)
query ($address: String!) {
    userByAddress(address: $address) {
      id
      firstName
      lastName
      name
      email
      avatar
      walletAddress
      url
      location
      isSignedIn
      boostedProjectsCount
      givPower
      likedProjectsCount
      donationsCount
      projectsCount
    }
  }

@MohammadPCh once this is merged. You add to the queried field this two:
boostedProjectsCount and givPower,  both integers, it's either a a positive number or zero always.

@mohammadranjbarz Let me know if I have to change the query, I tried to understand how the tables work of powerboosting. Hopefully I understood correctly.

@CarlosQ96  I just talked with Cherik it seems they need to have current givPower balance of users not balance in , so they have to get it directly from subgraph, and boostedProjectsCount is just enough for that we already have it, so unfortunately I guess we dont't need to have implement this anymore,
@MohammadPCh  Am I right?

Ok let me know and i'll close down this PR!


Always remove node internals from stacktraces

Summary
As discussed in #4686, this removes node core stuff from teh stacktraces we present to the user, not just from our own tests.

Test plan
New test added

Heh, brakes the browser test. Fair enough


Problem setting BPF stage

We created a very very simple workflow that triggers when a case record is assigned to the user, and its job is to set the BPF stage for the case to a stage called "Case Picked & In Progress".
The flow fails on the attempt to set the BPF stage with the error message "Process stage Case Picked & In Progress not found."
Here is an image snippet from the process showing the process name:

The simple workflow:

The input parameters:

As you can see, the stage name is just hard-coded text.
*** PLEASE NOTE: I was thinking the problem could be the ampersand so I encoded the text as "& amp;" (space added so it would render correctly in this message) and tried again but got the same error message. Also tried %26
I'm not really sure how to tell you to reproduce this other than to create a BPF and name one of the stages with the same name and create a workflow that tries to set the stage to that particular one when the case is picked from the queue (i.e. the "Worked By" field gets set).
Expected behavior
BPF stage should be set to the requested stage.
This is Dynamics 365 (cloud, not on-prem).
Version of the tools is <IP_ADDRESS>
CRM Version - online/onpremise - WorkflowTools version

UPDATE: I discovered that there was an extra space between the ampersand and the next word. I updated the flow and re-tested and now every time it fails with the following:

Details:
Workflow suspended temporarily due to error: Exception type: Microsoft.Crm.CrmException
Message: The plug-in execution failed because the Sandbox Worker process crashed. This is typically due to an error in the plug-in code. Please refer to this document: https://go.microsoft.com/fwlink/?linkid=2189390
Microsoft.Xrm.RemotePlugin.Grpc.ExceptionHandlers.SandboxFabricWorkerCommunicationException: Error communicating with SandboxFabric Worker ---> Grpc.Core.RpcException: Status(StatusCode="DeadlineExceeded", Detail="Deadline Exceeded", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1656624640.756000000","description":"Error received from peer ipv4:<IP_ADDRESS>:443","file":"......\src\core\lib\surface\call.cc","file_line":1068,"grpc_message":"Deadline Exceeded","grpc_status":4}")
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28
at Grpc.Core.Internal.ClientResponseStream2.<MoveNext>d__5.MoveNext() +0x11b --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc    at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<HandleGrpcStreams>d__50.MoveNext() +0x53c    --- End of inner exception stack trace ---    at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<>c__DisplayClass50_2.<HandleGrpcStreams>b__1() +0xa5    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable1 additionalCustomProperties) +0x90
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) +0x13
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.d__50.MoveNext() +0x603
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.d__50.MoveNext() +0x801
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<>c__DisplayClass48_0.<b__0>d.MoveNext() +0x33b
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.d__151.MoveNext() +0x167 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28    at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.<ExecuteRootAsync>d__201.MoveNext() +0x0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<>c__DisplayClass46_0.b__1() +0x36
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func1 func, IEnumerable1 additionalCustomProperties) +0x91
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func1 func) +0x0    at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.ExecutePluginInternal(IRemotePluginRequest pluginRequest, ExecuteRequest executeRequest, Guid executionId, ISandboxFabricDuplexCommunicationHandler communicationHandler, Boolean returnTraceInfo, Guid organizationId, SandboxFabricCallTracker sandboxFabricCallTracker) +0x3d3: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4F606F26    at Microsoft.Xrm.RemotePlugin.Client.Interceptors.SandboxFabricClientTelemetryInterceptor.<>c__DisplayClass3_0.<Intercept>b__0()    at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Xrm.RemotePlugin.Client.Interceptors.SandboxFabricClientTelemetryInterceptor.Intercept(IInvocation invocation, IExecutionContext context, SandboxFabricCallTracker sandboxFabricCallTracker)
at Microsoft.Xrm.RemotePlugin.Client.Interceptors.SandboxFabricCodeUnitExecuteBaseInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ISandboxFabricCodeUnitProxy.Execute(ILifetimeScope scope, IExecutionContext context, SandboxFabricCallTracker& sandboxFabricCallTracker)
at Microsoft.Xrm.RemotePlugin.Client.SandboxFabricPlugin.<>c__DisplayClass4_1.b__3()
at Polly.Policy.<>c__DisplayClass150_01.<Execute>b__0(Context ctx, CancellationToken ct)    at Polly.Policy.<>c__DisplayClass143_01.b__0(Context ctx, CancellationToken ct)
at Polly.RetrySyntax.<>c__DisplayClass12_1.b__1(Context ctx, CancellationToken ct)
at Polly.Retry.RetryEngine.Implementation[TResult](Func3 action, Context context, CancellationToken cancellationToken, IEnumerable1 shouldRetryExceptionPredicates, IEnumerable1 shouldRetryResultPredicates, Func1 policyStateFactory)
at Polly.RetrySyntax.<>c__DisplayClass12_0.b__0(Action2 action, Context context, CancellationToken cancellationToken)    at Polly.Policy.ExecuteInternal[TResult](Func3 action, Context context, CancellationToken cancellationToken)
at Polly.Policy.Execute[TResult](Func3 action, Context context, CancellationToken cancellationToken)    at Polly.Policy.Execute[TResult](Func1 action)
at Microsoft.Xrm.RemotePlugin.Client.SandboxFabricPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Xrm.RemotePlugin.Client.ResilientSandboxPlugin.<>c__DisplayClass13_1.b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)
at Microsoft.Xrm.RemotePlugin.Client.ResilientSandboxPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.RemotePluginExecute(IServiceProvider serviceProvider, ILifetimeScope lifetimeScope, IExecutionContext executionContext, ILogger logger)
at Microsoft.Xrm.RemotePlugin.CrmProvider.RemotePlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
-- End stack trace --


Tool Panel doesn't work with group headers

The tool panel should present the group headers rather then the group components when selecting what to show/hide.
Alternatively show the group hierarchy with the option to close at each level.

tool panel shows the groups. this must of been raised before this was implemented.


Error

We have written the needed data into your clipboard because it was too large to send. Please paste

.
Couldn't start client Java Language Server
Source : Java Language Support(Extension)
Always get this error and couldn't run my code in VSCode !

/causedByExtension


Whether the tool support MachO file format

Overview of the Mach-O Executable Format
Mach-O is the native executable format of binaries in OS X and is the preferred format for shipping code. An executable format determines the order in which the code and data in a binary file are read into memory. The ordering of code and data has implications for memory usage and paging activity and thus directly affects the performance of your program.
A Mach-O binary is organized into segments. Each segment contains one or more sections. Code or data of different types goes into each section. Segments always start on a page boundary, but sections are not necessarily page-aligned. The size of a segment is measured by the number of bytes in all the sections it contains and rounded up to the next virtual memory page boundary. Thus, a segment is always a multiple of 4096 bytes, or 4 kilobytes, with 4096 bytes being the minimum size.
The segments and sections of a Mach-O executable are named according to their intended use. The convention for segment names is to use all-uppercase letters preceded by double underscores (for example, __TEXT); the convention for section names is to use all-lowercase letters preceded by double underscores (for example, __text).
There are several possible segments within a Mach-O executable, but only two of them are of interest in relation to performance: the __TEXT segment and the __DATA segment.
https://developer.apple.com/library/archive/documentation/Performance/Conceptual/CodeFootprint/Articles/MachOOverview.html

BinDiff relies on the disassembler and the respective BinExport plugin to support various executable formats. As such, it supports Mach-O, PE/COFF and many other formats.


Skype audio plugin not loading on Mac

When I try to do a skype call on the Mac, it tells me to install the plugin.
Even if the plugin has already been installed, it tells me to install it.
When I install it, it instantly succeeds (probably because it is already there).
Then the button to use it and place the call is not responsive.

I don't use Skype anymore, but as far as I know, Skype calls just don't work on Franz.

The plugin is behaving as if they do, but then nothing happens; there is no message, warning, etc

This ticket is duplicate of raised before #686. I would recommend close and merge it with #686.


https://github.com/erlang/otp/pull/6312

Tests are failing for PR-6312
I have updated the functionality in OTP-25, and added another file from the specs to the tests dir,
I didn't update the instructions since I was stupid and did not think it should be affected by new specs.
Without looking at it I think that is the problem, can you take a look?
Or else I will take a look later when I have time.

I have updated the functionality in OTP-25, and added another file from the specs to the tests dir, I didn't update the instructions since I was stupid and did not think it should be affected by new specs.

Hi @dgud,
do you have the PR or the commit that made these changes, so I can have a look at

Yes, it definitely needs to be updated at least to include the updated version of lib/stdlib/uc_spec/EastAsianWidth.txt
Regarding the bin file, wouldn't it be better to let the test suite generate it on the fly?

I have to look, don't even remember what I did there, pre-vacation stuff.
The bin-file is used to verify that I have generated code for every codepoint,
to minimize size I only generated code whenever they differ from the default case,
or the info can't be found in other tables.
So I think we need the test, and we can't generate it from the tests because we test on installed
releases and the uc_spec dir is not included in the installed files.

I will look into generating the file then and including the new .txt file.

Maybe as an option to the escript which generates the test file.
So you can run the script to generate it.

Hi @dgud, I think we need the script to generate the .bin file. Do you think you could take care of that? Later I could port it to Elixir and include it in this app.

Actually, as you mentioned, if the escript can accept an option to generated the file. that would suffice.

I have totally forgot about this, and 26 is on the way..
See https://github.com/erlang/otp/pull/6961
If you want I can merge this or you can incorporate the changes into your PR, I don't care.
1/2 a year to uncomment 4 lines of code that is not the highlight of my career :-/

Hi,
I think it will be better if you incorporate the changes in the PR, then I will update my app accordingly to work for the next Unicode version.

Hi @dgud, a new version of Unicode has come out this months and I would like to update the app so it can work with Erlang/OTP. Could you please give me an updated of what changes were required to do from that original PR, so I can update the code accordingly. Thank you.

I have added a step 6 to the instructions :-)

Check if the test file needs to be updated:
(cd $ERL_TOP/lib/stdlib/uc_spec; escript gen_unicode_mod.escript update_tests)
If ../test/unicode_util_SUITE_data/unicode_table.bin is updated include it in
the commit.


interface_penetration_out keyword data not output in visit mili properly for dyna3d

Describe the bug
"interface_penetration_out” keyword set in dyna lets you visualize gap distances for a given contact definition, When used with griz, the proper data is displayed, but when viewed in visit the data is not correct.
Input decks and additional information can be provided on OCF

Hi @volkoffshoem1, thank you for your ticket. Could you please provide input data, additional information, and steps to reproduce your issue? If you are providing this information on the OCF, please give to my username "justin", and let me know if you are providing the files on the cz or rz. Thanks!

higher priority now

@brugger1 I've been investigating this today. It looks like we may be deliberately writing Nan values to the mesh:
// If our variable doesn't cover the entire dataset, we want
// the "empty space" to be rendered grey. Nan values will
// be mapped to grey.

This is a deliberate choice. Is this something we want to change? Is it intuitively clear to you what is wrong with the visualization seen in the final slide? I guess the engineering folks would rather that instead of Nans we just did the minimum value?

Yes, this is a deliberate choice and I don't think we want to change it. Do we know if penX is defined on the entire mesh? If not, then I would say the VisIt image is correct. Maybe there is some other variable we should be plotting on the rest of the mesh if penX isn't defined on the entire mesh.

FWIW...I think using NaN generated values in the plugin for the purpose of filling a mesh on parts of the mesh it has no value is not the best approach. We have missing values functionality for this.
With things as they are now, how can a user distinguish between a NaN data value coming from their data producer and one generated by the Mili plugin?

I agree, this isn't ideal. We should address the issue long term.

Do we know if penX is defined on the entire mesh?

I don't. Is there an easy way to find out? Just staring at the code, it looks like we default to making everything Nan and then call helpers to fill out the array. If all that works as intended, and penX is still getting Nan values in the output, then that should mean that penX is not defined on the entire mesh, right?

@brugger1 any thoughts for how I might know if penX is defined on the entire mesh?


Delete StudentImages if the featureExtraction can't be run #236

@jogrimst I just delete them if a file is missing anyway. The files, where the feature extraction was successful will stay on the device. But if you want we can also have an expired flag on the db which I set instead

@jogrimst Now the StudentImageCollectionEvent and all connected StudentImages and StudentImageFeatures will be deleted if

a file is missing
feature extraction for a StudentImage fails

I just delete them in the db but not the files itself. Should I also delete the files or keep them for debugging?

@sladomic I suggest we keep them, just in case.


In the v2 version, when I call the open method to open a file directory, the program freezes[bug]

Describe the bug
In the v2 version, when I call the open method to open a file directory, the program freezes
Reproduction
import { open } from "@tauri-apps/plugin-dialog";
  open({
      directory:true
  }).then((f)=>{
      console.log(f);
  })

Expected behavior
Return to the directory selected by the user
Full tauri info output
><EMAIL_ADDRESS>tauri /Users/pdop/gitdir/um-sdk-tool
> tauri "info"

[✔] Environment
    - OS: Mac OS 14.3.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.11.1
    - pnpm: 8.15.3
    - yarn: 1.22.22
    - npm: 10.4.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.15
    - tauri-build [RUST]: 2.0.0-beta.12
    - wry [RUST]: 0.39.1
    - tao [RUST]: 0.27.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.8
    - @tauri-apps/cli [NPM]: 2.0.0-beta.13

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace
No response
Additional context
No response

Thanks for the report! It works on my end just fine, could you maybe share a minimal reproduction repo we can use to test it?

Thanks for the report! It works on my end just fine, could you maybe share a minimal reproduction repo we can use to test it?

You can reproduce it in this way. When you click the button to call the open method and then select a directory, there is no return value. If you click the select file button again, the program will freeze.

Here's what i am doing using the create-tauri-app react template and it works fine:

I found that it is indeed good when using the open plug-in independently, but when introducing 'tauri-plugin-persisted-scope', and '@tauri-apps/plugin-fs', it will cause this problem
This is a minimally reproducible demo

Thank you, i will look into it right now :)

Thanks again for the reproduction, this should be fixed by https://github.com/tauri-apps/plugins-workspace/pull/1221 - you can try this by adding this to your cargo.toml file and then running cargo update inside the src-tauri folder
[patch.crates-io]
tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "fix/fs/deadlock" }

Thanks again for the reproduction, this should be fixed by tauri-apps/plugins-workspace#1221 - you can try this by adding this to your cargo.toml file and then running cargo update inside the src-tauri folder
[patch.crates-io]
tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "fix/fs/deadlock" }

Thank you, the problem has been solved after applying this patch. :)


Test in windows works well

I made windows auto install scripts and works well in win11
https://github.com/sdbds/Cutie_windows/
Thank you for great work!

Cool. Thank you.


Documentation Update: Clarification

Hello,
Thank you for the work on the bundle.  It's very helpful.  I think it may be a good idea to specify in the documentation that if you're using the hours scheduling (hours(), everyHours(), daily), that they should also need to specify the minutes() accordingly.
Currently, if you specify $schedule->everyHours(3), the job will run at every minute within the hours specified.  Users need to specify $schedule->minutes(0)->everyHours(3) to ensure it only runs once every 3 hours.
Took a little time to figure that one out, and might help users going forward.
Thanks!

Hello,
This is true and indeed a problem i've stumbled upon myself a few months ago. Would you like to submit a PR ?

PR Created!


TaskScheduler doesn't order tasks correctly

Bug Summary:
TaskScheduler doesn't rearrange existing tasks when adding a new task with an earlier due date .

Steps To Reproduce

Add a task A with a later due date (e.g. 3 hours in the future)
Add a task B with an earliest due date (e.g. 1 hour in the future)

Expected behaviour
task B should be ordered before task A.
Observed Behaviour
task B ordered after task A.
Screenshots
Environment

Version: latest
Operating System:  macOS
Browser (if any): Chrome

Note that due dates are not yet persisted on the server.
Blocked by #273 which will probably add it.


[Bug]: View mode performance improvement for visibility property setter

Is there an existing issue for this?

[X] I have searched the existing issues

Description
In view mode, when widgets are stacked one after another and visibility of these widgets are set sequentially then there's a delay in how widgets show up on the UI.
Steps To Reproduce

Place all widgets next to each other and below one another and set all their visibility setting to false on a button trigger and another button to set their visibility settings to true
Observe how the widgets are hidden and displayed back again

Public Sample App
No response
Environment
Production
Issue video log
https://www.loom.com/share/d90fe3de2d614cc69e85b8205304b5d0
Version
Cloud

This is a general issue that can also be reproduced using the widget setter method. We would like to wait for users' queries regarding the same before prioritizing it.


Feature sqlite kim

I've taken the feature-sqlite-kim branch from the main repo, rebased it on top of our current main and this is the result. The PR is fairly large, but luckily it is broken up in a number of commits, that should help in reviewing.
During the rebase I had to make a number of changes - most notably, I had to update the implementations of CanDoCrypto, PrepareKeyAttestation, and AttestKey to use the new KIM client interface, and to use ApplicationIdentity instead of ApplicationName. The changes have been folded into the original commits.

I've partially looked through this PR. I'll continue to work through it as and when I get time 👨🏽💻

Thanks for taking the time to review!!

To answer the two outstanding questions:

No, I haven't rebased since that one was merged, but will do that after the holiday - shouldn't be a massive change.
Yes, we have stability tests for the on-disk KIM - there's an issue open to create that sort of tests once we release the new KIM too.

@MattDavis00 @anta5010 all feedback items have been resolved!


Repeat Cycle Fix or Help

Hi, I have been having a problem with the Quests Repeat Cycle. Whenever I want it to repeat I can't open it. The Repeat Cycle line is grey and it says (optional). Need help unlocking it or fixing it.

You must set a start and end date first. For more information, see https://github.com/PikaMug/Quests/wiki/Beginner-‐-Planner


Fixing lib search path on SLES (which is using lib64)

Build on SLES 15 fails because some paths should contain lib64 instead of lib. This commit makes those paths configurable.

Removed reference to internal ticket number from the title.


Pass socket close errors to the caller

We are currently calling the throwing overload of the socket.close() function, which might lead to crashes in recoverable situations. We should use the overload that takes error_code and pass it to the caller of cancel().
See https://github.com/boostorg/redis/blob/509635f2227ef6f3c299d9d765fe1c8f385391bb/include/boost/redis/detail/connection_base.hpp#L722

Thinking more, the errors that occur when closing a tcp stream have only logging purposes and I don't see much need in returning them to the caller since they won't be used for any error handing, even logging it seems unnecessary. I will close this ticket and wait more before implementing this feature.


[http] Cookies cannot be passed to the server in custom requests

It should be that the cookie was lost after being passed from the fetch to the trust end, and cannot be passed to the remote server
in tauri-plugin-http = "2.0.0-beta.2"
the custom header was only responsible for transmitting to Rust, and Rust, as a true request, was not responsible for transmitting it as is, resulting in the server not receiving it at all

could you provide an example to test this?
also try enabling the cookies feature in Cargo.toml
tauri-plugin-http = { version = "2.0.0-beta", features = ["cookies"] }

I'd like reqwest on the rust side to be an extension of javascript fetch: with cookies set and when I make a request to "/something" the host is that of the current page ( like fetch in fact).


Add slug to packages.github message to make queries easier

The name parameter just includes whatever the user typed, which can have a number of inconsistencies:

trailing slash
random uppercase/lowercase letters
may not include the repo owner if the extension is approved (e.g. pxt-color instead of jwunderl/pxt-color)

The slug is much more consistently formatted and should always be in the format owner/repo

This is exactly what we should do. Improve telemetry when it is not good enough.


TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not DataContainer

Describe the Issue
When I train FasterRCNN on my own dataset, I get the following error.
TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not DataContainer
The env I'm using is as follows,
Environment
Python: 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0]
CUDA available: True
CUDA_HOME: /usr/local/cuda-11.3
NVCC: Build cuda_11.3.r11.3/compiler.29920130_0
GPU 0: NVIDIA A40
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.8.1+cu111
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.7.0 (Git Hash 7aed236906b1f7a05c0917e5257a1af05e9ff683)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.1
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
  - CuDNN 8.0.5
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.1, CUDNN_VERSION=8.0.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.8.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.9.1+cu111
OpenCV: 4.6.0
MMCV: 0.4.3
MMDetection: 1.1.0+126af87
MMDetection Compiler: GCC 9.4
MMDetection CUDA Compiler: 11.3

Error traceback
Traceback (most recent call last):
  File "/home/stud/zhangya/.pycharm_helpers/pydev/pydevd.py", line 1491, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/stud/zhangya/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/tools/train.py", line 165, in <module>
    main()
  File "/home/stud/zhangya/repo/MMSceneGraph-master/tools/train.py", line 154, in main
    train_detector(
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/apis/train.py", line 190, in train_detector
    runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmcv-0.4.3/mmcv/runner/runner.py", line 359, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmcv-0.4.3/mmcv/runner/runner.py", line 262, in train
    outputs = self.batch_processor(
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/apis/train.py", line 77, in batch_processor
    losses = model(**data)
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 705, in forward
    output = self.module(*inputs[0], **kwargs[0])
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/core/fp16/decorators.py", line 49, in new_func
    return old_func(*args, **kwargs)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/models/detectors/base.py", line 192, in forward
    return self.forward_train(img, img_meta, **kwargs)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/models/detectors/two_stage.py", line 227, in forward_train
    x = self.extract_feat(img)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/models/detectors/two_stage.py", line 129, in extract_feat
    x = self.backbone(img)
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/stud/zhangya/repo/MMSceneGraph-master/mmdet/models/backbones/resnet.py", line 496, in forward
    x = self.conv1(x)
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 399, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/home/stud/zhangya/miniconda3/envs/mmsg/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 395, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
TypeError: conv2d(): argument 'input' (position 1) must be Tensor, not DataContainer

Bug fix
I checked the solution provided by https://github.com/open-mmlab/mmdetection/issues/2782. But the model is indeed encapsulated by MMDistributedDataParallel.

Any solutions? Thank you in advance!

Could you provide a full command so that we can reproduce the error?
It is right in your screenshot because the data has not been fed into model wrapped by DDP


[a request] Trigger pause

There could be a trigger to pause the game, something like @Trigger [pause]
So there would be time when something is activated that the narrator knows that someone has triggered  and can narrate something in the meantime

That's not something that I feel is needed to be part of trigger happy. It makes more sense to have it do @Macro[pauseGame] where you'd have a macro that does it (which would be a simple script like Game.togglePause(true, true))


Remove Fermi from cmake

Description
Fermi architecture is no longer supported
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@piiswrong @marcoabreu can we merge this ?

LGTM.
Should we add Pascal and Volta to the list?

It adds up to 6.1 in the lines after that. This is just the unconditioned baseline list.  Someone could add "Volta" if they want down the line, but I think that's 6.1, right?

Volta is 7.* afaik


Minimum duration of execution for loadingIndicator

Hello, any way to set minimum duration for loadingIndicator? Thanks!
P. S. https://nuxtjs.org/api/configuration-loading-indicator

This feature request is available on Nuxt community (#c8389)

Hi @ch3rn1k , please try loading.duration
Doc: https://nuxtjs.org/api/configuration-loading#customize-the-progress-bar

Instead of having a minimum threshold to avoid visual glitches, I'd suggest using the provided settings to completely hide the loadingIndicator if the request finishes fast enough.

Well, I was talking about "The loadingIndicator Property" (https://nuxtjs.org/api/configuration-loading-indicator) in SPA application...

@ch3rn1k Sorry, for now there is no option for setting duration on internal loading template, you can define custom template and implement what you need, like:
// nuxt.config.js
loadingIndicator: {
  name<EMAIL_ADDRESS>}

Ah, okay, thanks!


[FIX][no-unused-vars] add EnumMember

issue235
https://github.com/bradzacher/eslint-plugin-typescript/issues/235

You might want to make sure the email you used to commit is added to your account so you get credit.

@armano2 when do you plan to release this?

This is part of the upcoming 1.0.0 release, coming soon.
Please see the 1.0.0 issue for discussion.

(#151)


Check TLS Communication via wireshark

Check communication protocol of client/server via wireshark

https://github.com/changjurhee/AONE/wiki/Experiment-%235


Cask: audit: Do not require appcast on GitHub releases

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

Submitting anyway because all failures seem to stem from being on ARM and unrelated to the change.

Refs https://github.com/Homebrew/homebrew-cask/pull/98168/files#r559055122. With the advent of livecheck on casks, appcast can be phased out. And because livecheck works without needing to be added on urls from GitHub releases, audit should no longer complain of missing an appcast in those cases.

Review period will end on 2021-01-19 at 00:00:00 UTC.

Review period will end on 2021-01-19 at 00:00:00 UTC.

Review period ended.

Review period ended.

Thanks @vitorgalvao!

Thanks @vitorgalvao!


[Suggestion] Early-Game-Buckets Compatibility

At the moment, if you right click the crockpot with a bucket from the Early-Game-Bucket mod, it does nothing. Could you make it compatible please? Here's the link to the mod in question. https://www.curseforge.com/minecraft/mc-mods/early-game-buckets

I've actually been meaning to make it so that data packs can be used to add items to the bucket list (pun intended), so I'll work on that today!

It's a little janky, but #12 adds Early-Game Buckets compatibility to this!
As an added bonus, items can now be tagged as "infinite" or "consumable" sources of water for the crock pot.
Just uploading to Curse now.
Let me know how it goes!

The wood and ceramic buckets from Early-Game-Buckets do now work! Thanks! :)
As to the infinite thing, I am not sure what you mean. I assumed you meant the no more than 8 types of foods in it one and tested it. If it is that, the fix hasn't worked. I'm now thinking you meant a config option that lets you choose whether or not you ever have to refill the crockpot after filling it up once, even if you use all the portions? But, I'm not seeing a config option for that.

What I mean by "consumable" is an item that is "used up" when it is used to fill the crock pot; buckets, for example.
By "infinite" I mean an item that is not used up when it is used to fill the crock pot. The only item that currently does this is the Heart of the Sea, which will fill the crock pot any time you use it.

Ahh okay! That makes sense!


Update pipeline visualisation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 81.418%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
8496

Relevant Lines:
10435

💛  - Coveralls


Can't run single cells using keyboard

Environment data

VS Code version: c3f12631

Jupyter Extension version (available under the Extensions sidebar): v2021.8.1013163132

Python Extension version (available under the Extensions sidebar): v2021.6.944021595

OS (Windows | Mac | Linux distro) and version: Pop!_OS 20.04 LTS x86_64

Python and/or Anaconda version: Python 3.8.5

Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda

Jupyter server running: Local

Expected behaviour

Would expect cell to run on pressing windows + enter or ctrl + enter
Actual behaviour
Nothing happens. Have to manually run each cell.

In case, you want to see the keybinding for cell run:

I think I fixed this by tinkering with my settings.json :
{
    "workbench.iconTheme": "material-icon-theme",
    "workbench.colorTheme": "Tinacious Design",
    "editor.minimap.enabled": false,
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook"
    },
    "ponicode.token": "91920adf-24aa-4b70-9f87-c263c0c30e84",
    "workbench.startupEditor": "none",
    "notebook.cellToolbarLocation": {
        "default": "right",
        "jupyter-notebook": "left"
    },
    "editor.inlineSuggest.enabled": true,
    "notebook.lineNumbers": "on",
    "jupyter.experiments.optOutFrom": [

    ],
    "notebook.cellFocusIndicator": "border",
    "notebook.cellToolbarVisibility": "hover",
    "notebook.consolidatedRunButton": true,
    "jupyter.addGotoCodeLenses": false,
    "jupyter.enableNativeInteractiveWindow": true,
    "jupyter.themeMatplotlibPlots": true,
    "jupyter.useDefaultConfigForJupyter": false,
    "jupyter.exportWithOutputEnabled": true,
    "notebook.compactView": false,
    "notebook.insertToolbarLocation": "notebookToolbar",
    "notebook.outline.showCodeCells": true,
    "notebook.showFoldingControls": "always"
}

Thanks for filing this issue, I think we might have a problem at our end, will check this out, thanks.
& sorry for any inconvenience.


pip3 install error

Hi, I am getting an error when i try to install pyproj with pip3 on mac. I do have proj installed via brew. I am pretty sure brew doesn't support PROJ.4 so could someone help. Thank you
Collecting pyproj
  Using cached https://files.pythonhosted.org/packages/53/4b/21643a93e7d33941498087290636e34c6d534aa8baa1ada54cf0d096ffaa/pyproj-2.0.0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/z1/ky2prf7d6kj1q8rhkldd9zzh0000gp/T/tmp5oq5r0j7:
  ERROR: Minimum supported proj version is 6.0.0.

  ----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/z1/ky2prf7d6kj1q8rhkldd9zzh0000gp/T/tmp5oq5r0j7" failed with error code 1 in /private/var/folders/z1/ky2prf7d6kj1q8rhkldd9zzh0000gp/T/pip-install-bubud0zl/pyproj`

pyproj 2.0.0 only works with PROJ.4 version 6.0.0. We are working on wheels to simplify the installation. Installation instructions are located at https://jswhit.github.io/pyproj/html/installation.html.

Or you can pin to ~=1.9.5

Thank you, I did pip3 install pyproj==1.9.6 and it successfully worked

osx wheels are now available for version 2.0.1.

pyproj 2.0.0 only works with PROJ.4 version 6.0.0. We are working on wheels to simplify the installation. Installation instructions are located at https://jswhit.github.io/pyproj/html/installation.html.

Broken Link

https://pyproj4.github.io/pyproj/stable/installation.html


Edit as stream > Unicode fails on PR_SUBJECT_W with MAPI_E_NO_ACCESS

I use MFCMAPI (19.0.19115.01) and Outlook Office ProPlus 2016 (version 1909 64-bit) connected to a server mailbox on Exchange 2016 on-prem. Tried the following with and without Exchange Cache Mode, makes no difference:
When I select any single message to show its properties and use the "Edit as stream > Unicode..." from the context menu of the PR_SUBJECT_W property I get the property editor dialog showing this error:
Could not open stream interface.
Error Code: MAPI_E_NO_ACCESS == 0x80070005
No problems to open other PT_UNICODE properties as stream.
Any idea, why I cannot open PR_SUBJECT_W as stream?

This is normal - not all string properties support streams. Subject is short enough never to need it


Add tree layer using canopy data

Add a tree layer that shows vegetation cover using available canopy height data

Preview: https://meta-forest-monitoring-okw37.projects.earthengine.app/view/canopyheight
Data: https://gee-community-catalog.org/projects/meta_trees/#dataset-citation
License: CC-BY
QA: https://www.earthblox.io/blog/earth-blox-dataset-review-meta-global-canopy-height-1m

There was mentioned at Flying Goat of a tree counting drone project at bits.
Can we collate that data and federate the verification with enthusiasts ie https://www.instagram.com/share/_uEp1uXkA


Bad-formatted list item notes

When righting notes under unumbered list items, the first one is rendered correctly but not the others.
This simple test case should reproduce the issue:
Here is the bug :

* the note below this item is OK
    > it is well located and formatted
* but not the following one
    > it's printed at the end of the item
* nor this one
    > omg please do something

https://chrome.google.com/webstore/detail/markdown-reader/gpoigdifkoadgajcincpilkjmejcaanc
Done!


Changelog fixes

Some fixes in the changelog were not regressions since 1.10.x, but only present in 1.11 release candidates so don't need to be mentioned for the release.
see https://github.com/docker/docker/pull/21827#discussion_r58807270
ping @cpuguy83 ptal :+1:

LGTM

DO NOT MERGE UNTIL RC4 IS RELEASED
:innocent:

RC4 is released :angel:
LGTM 🐸
Merging :sweat_smile:


Connect - Questions about user flow

I have a few questions here:

Do you think the title and action should change on 3.2, so that it returns the user to the connect list rather than the app home?
What’s the user interaction to get between screen 3.2 and screen 3.3?
What’s the user interaction to get between screen 3.3 and screen 3.4?
What happens at the end of the sequence? i.e. when there are no more images?

yeah I agree - I actually wonder if we need those to return home at all or if we just have a home icon in the bottom bar so we can free up that top bar for such actions (without then losing consistancy of it always being section home 'except when'…)

I like swipes when there is only one element and taps when there are many. For example on the Home page we have three elements - I would tap (as you suggested) to go inside one of them and then swipe once in it.

Swipe as above. I am not sure we need Next buttons actually on 3.4 I think swiping is becoming intuitive and lots of apps seem to let users just work it out.

Good question! Maybe swipe brings you back to 3.1 or it guides us somehow to an upward swipe which returns to 3.1? Should we number 1 to 5?

NEW COMMENT - I don't think we can have the little portrait overlapping the artwork in the design on 3.4

lets discuss specifics over skype? we might need to talk this out to figure out what's best.

I've actually implemented it without the three tabs at the bottom and only the title bar at the top, which I think works quite well, but hope to show you it all by the end of the week.
Re: Clint's point 5 above, I've removed the curator image from 3.4 for now.

Closing this issue. Working in production.


about maxOpened

Hello, have some one know about the option "maxOpened".
option: {
maxOpened: 1
}
because I have a problem is need display 3~4 types info
and check each type by date, decide it can be see or not.
if I use "preventDuplicates", only display 1 type info .
so I search some reference, they suggest use "maxOpened" & "preventDuplicates"
but seens the lastest version, not have the "maxOpened" can set

Whether you solved this problem?


Install dependency via dist-tag

For npm dependencies, I believe dependabot looks at the latest dist-tag for what the latest version is.
It would be nice to have a language-specific command like @dependabot use dist-tag next, for example, which sets the dist-tag to use for that dependency when looking for new versions.
Our use case is we'd like to use a dev dist-tag in separate repositories to install the latest dev version of a library in. Since our CI runs for PRs, a dependabot running our CI for a PR with each new dev version is an attractive feature.

Interesting, thanks for the feedback.
My hunch is that this is one that we want to fix at the npm level, rather than just for Dependabot. Ideally there would be some way to specify that you want pre-releases for all dependencies in your package.json, or something like that.
On Dependabot specifically, we use the latest dist-tag version if you're not already on a pre-release. So if a dependency is specified to use next in your package.json, or if it's on a version that is a pre-release, you'll get updates to the latest pre, but if it's on a version that's equal to latest you'll track latest.
Does the above help? If you only want pres for a specific dependency then you could just set the requirement on it to be that dist tag and Dependabot will update the lockfile for you.

Yeah, I suppose I've seen this in action, actually. Dependabot does treat prereleases differently. Since our dev releases will be the most common prerelease, this will work 99% of the time for us. 👍
Still, it would be comforting if dependabot could be told to ever only look at a particular dist-tag for a dependency. Here's a hypothetical use case: Take for example someone using the next tag to test the next major version of a library, but still regularly creates current-version prereleases on a nightly tag. With current behavior (that dependabot opens PRs for whichever prerelease is the most recent), dependabot PRs would flip-flop between a v2 and a v3 of that library.

👍
Wouldn't that person then just specify the next tag in their package.json, and therefore hit this logic that means Dependabot will update their lockfile to use the latest version associated with that tag?
Either was Dependabot shouldn't flip-flop in that case - it will always update to the highest version pre-release that is related to the current pre (this logic).
What am I missing here? Keen to make Dependabot smarter on this if we need to!

Oh, I see. I didn't know how to "tell" dependabot which dist-tag to use. Perhaps my knowledge of dependabot features is extra outdated.