Multiple issues after upgrading to spring-rabbit 2.0.8.RELEASE

Hi,
Because of the https://pivotal.io/security/cve-2018-11087 , we upgraded to spring-rabbit 2.0.8.RELEASE and the tests started failing with error :
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration$MessagingTemplateConfiguration.rabbitMessagingTemplate
Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration$RabbitTemplateConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
Caused by: java.lang.NoClassDefFoundError: org/springframework/retry/RetryPolicy
Caused by: java.lang.ClassNotFoundException: org.springframework.retry.RetryPolicy
I added the library spring-retry and then tests worked. Why is this library missing in the 2.0.8? Is it intentional? Do we need to provide any other configuration to make it work? It was working all fine with 2.0.2.RELEASE.
With all these changes (adding rabbit and retry), the application deployment failed with error "Error creating bean with name 'amqpAdmin' defined in class path ".
Logs : -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amqpAdmin' defined in class path resource [com/sap/bs/businesslogging/config/CloudRabbitMqContext.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.amqp.core.AmqpAdmin]: Factory method 'amqpAdmin' threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/amqp/AmqpResourceNotAvailableException","\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:587)","\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)","\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)","\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)","\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:502)","\tat org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:312)","\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)","\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)","\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)","\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)","\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:868)","\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)","\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)","\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)","\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:388)","\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:327)","\tat com.sap.bs.businesslogging.Application.main(Application.java:14)","\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)","\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)","\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)","\tat java.lang.reflect.Method.invoke(Method.java:498)","\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)","\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)","\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)","\tat org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)","Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.amqp.core.AmqpAdmin]: Factory method 'amqpAdmin' threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/amqp/AmqpResourceNotAvailableException","\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)","\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:579)","\t... 24 more","Caused by: java.lang.NoClassDefFoundError: org/springframework/amqp/AmqpResourceNotAvailableException","\tat org.springframework.amqp.rabbit.connection.AbstractConnectionFactory.createBareConnection(AbstractConnectionFactory.java:469)","\tat org.springframework.amqp.rabbit.connection.CachingConnectionFactory.createConnection(CachingConnectionFactory.java:628)","\tat org.springframework.amqp.rabbit.connection.ConnectionFactoryUtils.createConnection(ConnectionFactoryUtils.java:240)","\tat org.springframework.amqp.rabbit.core.RabbitTemplate.doExecute(RabbitTemplate.java:1816)","\tat org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1790)","\tat org.springframework.amqp.rabbit.core.RabbitTemplate.execute(RabbitTemplate.java:1771)","\tat org.springframework.amqp.rabbit.core.RabbitAdmin.declareQueue(RabbitAdmin.java:240)","\tat com.sap.bs.businesslogging.config.CloudRabbitMqContext.amqpAdmin(CloudRabbitMqContext.java:33)","\tat com.sap.bs.businesslogging.config.CloudRabbitMqContext$$EnhancerBySpringCGLIB$$a734dafa.CGLIB$amqpAdmin$0()","\tat com.sap.bs.businesslogging.config.CloudRabbitMqContext$$EnhancerBySpringCGLIB$$a734dafa$$FastClassBySpringCGLIB$$ebcdcc33.invoke()","\tat org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)","\tat org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:361)","\tat com.sap.bs.businesslogging.config.CloudRabbitMqContext$$EnhancerBySpringCGLIB$$a734dafa.amqpAdmin()","\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)","\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)","\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)","\tat java.lang.reflect.Method.invoke(Method.java:498)","\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)","\t... 25 more","Caused by: java.lang.ClassNotFoundException: org.springframework.amqp.AmqpResourceNotAvailableException","\tat java.net.URLClassLoader.findClass(URLClassLoader.java:443)","\tat java.lang.ClassLoader.loadClass(ClassLoader.java:486)","\tat org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93)","\tat java.lang.ClassLoader.loadClass(ClassLoader.java:419)","\t... 43 more"] }
Thank,
Neha

It sounds like you copy of the jar is corrupt somehow - I just wrote a new boot application with 2.0.8, and I see spring-retry is on the classpath as expected and the application runs fine.

AmqpResourceNotAvailableException was added to spring-amqp 2.0.3 - did you also upgrade that to 2.0.8?

Sorry for the delay in response, I was not at work.
We are using 2.0.0 of Spring boot. Recently we started getting some vulnerability issues for spring-rabbit-2.0.2 CVE-2018-11087. To fix this we needed to upgrade to spring-rabbit:2.1.1.
With this we are facing the issues.
I will give it a try once again since you mentioned that spring-retry is available and i could not see it. I will update the issue accordingly.

The issue got fixed after i updated the spring rabbit and spring-amqp to 2.1.1.RELEASE.
Just one clarification,  Interface 'ChannelAwareMessageListener' moved from 'org.springframework.amqp.rabbit.core' to 'org.springframework.amqp.rabbit.listener.api' from 2.1.0.RELEASE onwards.
Is there anything else required to make this work as it was working before?

You just need to ensure all the jars are compatible - spring-rabbit and spring-amqp must be the same version.

Closing due to inactivity; please reopen if you are still having issues.

Well there might be different issues. But, what I think is that you haven't used the important dependencies for updating to the version 2.0.8. As per me thee class "org.springframework.retry.RetryPolicy" is not present. Can we add this class inside the dependencies.
The code should add org.springframework.retry inside the dependencies.

@mehtaharsh16 Don't comment on old issues (especially those that are nearly 5 years old. Also, 2.0.x is no longer supported; see https://spring.io/projects/spring-amqp#support
It must be a problem with the way you are consuming this project; spring-retry is already a required (transitive) dependency; currently 2.0.3.
https://github.com/spring-projects/spring-amqp/blob/4cf9b5c2c5b08f4dbca16c7d94c4e7ac618f3a04/build.gradle#L363
https://github.com/spring-projects/spring-amqp/blob/4cf9b5c2c5b08f4dbca16c7d94c4e7ac618f3a04/build.gradle#L71
If you can't figure it out, use the Discussions tab above to start a Q&A, or ask a question on Stack Overflow. In either case, show your code, configuration, POM etc.


Integration is using deprecated DEVICE_CLASS_* constants

This custom integration uses deprecated DEVICE_CLASS_* constants in its codebase.
The DEVICE_CLASS_* constants have been deprecated and replaced in Home Assistant Core 2021.12 (over a year ago). I would highly suggest updating/migrating this integration to the new enums.
For example, for the device classes supported by the sensor platform, there is now a SensorDeviceClass enum. So if a sensor previously used the DEVICE_CLASS_ENERGY constant, it should now use SensorDeviceClass.ENERGY. Other platforms (like binary_sensor, and number) provide similar enumerations for their supported device classes.
The migration thus only consists of replacing constants with an enumeration member and is, therefore, very low impact and should be fairly straightforward.
If I can help resolve any questions regarding this change or migration, feel free to ask or respond to this issue. I'm happy to help!
Kindest regards,
../Frenck

https://github.com/AlexxIT/YandexStation/releases/tag/v3.12.0

Thanks @AlexxIT 👍
../Frenck


Performing multiple runs with varying configs on a single command line call

I have been wondering if there is anyway to do what the title implies, schedule a queue of runs using a single call to the command line interface. Something like this:
python my_script.py with a = {1, 2} b = 'foo'
So, it first runs my_script with a=1 and b=foo, and then it performs a new run with a=2 and b='foo'.
I ask because I could swear I've seen sacred supports this, but I can't find it anywhere in the docs.

AFAIK Sacred does not have this feature, but Hydra does: https://hydra.cc/docs/tutorial/multi-run
Hydra doesn't provide other features of Sacred though.


rename gcc-for-nvcc-source for scathgap-l4t-r35.x branch

gcc-for-nvcc: rename gcc-for-nvcc-source -> gcc-source-for-nvcc
to take advantage of the automatic license whitelisting buried in
base.bbclass that checks for PN starting with 'gcc-source-', and
avoid the issue mentioned in https://github.com/OE4T/meta-tegra/issues/1711.
Signed-off-by: Islam Hussein<EMAIL_ADDRESS>

@Islam-Hussein-11 if you need this fix in that branch, I can just cherry-pick the existing change over.

Yes please. Thanks a lot


Error loading pyV8 ubuntu

Everytime I try to use sublime text 3 on my Ubuntu 14.04 X64 laptop, without any connection, ST3 tries to load pyV8, and when it doesn't loads, leaves ST3 unusable at all. I can't even select a single line.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29678123-error-loading-pyv8-ubuntu?utm_campaign=plugin&utm_content=tracker%2F35867&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F35867&utm_medium=issues&utm_source=github).

This happen cause Emmet <  PyV8 (alfabetically) and sublime loads in this order. I rename Emmet to Zencoding and the problem was fixed magically :)


upgrade: fix missed upgrades when an alias is changed to a formula

Apply the previous fix in #17799 to the dependent upgrade scenario by deduplicating the code.
Fixes #17906.

Thank you!


Cannot install v1.13.1

zigbee2mqtt add-on version (if edge, please report commit hash):
Operating environment (HassOS, Virtual Machine, Device/platform running Hass.io):

Raspberry Pi 4
HassOS 3.13
Description of problem:
Cannot install latest advertised version from within HA. Has latest container been uploaded?
Your entire configuration from the frontend (with sensitive fields redacted):

arch | armv7l
-- | --
chassis | embedded
dev | false
docker | true
hassio | true
host_os | HassOS 3.13
installation_type | Home Assistant
os_name | Linux
os_version | 4.19.114-v7l
python_version | 3.7.7
supervisor | 222
timezone | Europe/Lisbon
version | 0.110.0
virtualenv | false

Your logs from Hass.io
20-05-20 16:57:17 ERROR (SyncWorker_7) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-armhf:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-armhf:1.13.1 not found: manifest unknown: manifest unknown").

Same issue here.

Same here

Same here

I have a temporary workaround, which is to install the dev version: zigbee2mqtt-edge - this allows me to continue at least, while a fix is deployed.
Still as a developer myself, I question how a release is published with such a seemingly fundamental error/oversight - maybe an review of testing/QA might be in order?

Same here. Same error.

Got same issue here:
20-05-20 18:37:27 ERROR (SyncWorker_8) [supervisor.docker] Can't create container from addon_7ad98f9c_zigbee2mqtt: 404 Client Error: Not Found ("No such image: dwelch2101/zigbee2mqtt-amd64:1.13.1")

same

Same here: ERROR (SyncWorker_17) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-armhf:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-armhf:1.13.1 not found: manifest unknown: manifest unknown").

same  problen

ERROR (SyncWorker_12) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-aarch64:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-aarch64:1.13.1 not found: manifest unknown: manifest unknown").

same:
20-05-20 20:01:01 INFO (SyncWorker_9) [supervisor.docker.interface] Update image dwelch2101/zigbee2mqtt-aarch64:1.13.0 to dwelch2101/zigbee2mqtt-aarch64:1.13.1 20-05-20 20:01:01 INFO (SyncWorker_9) [supervisor.docker.interface] Pull image dwelch2101/zigbee2mqtt-aarch64 tag 1.13.1. 20-05-20 20:01:02 ERROR (SyncWorker_9) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-aarch64:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-aarch64:1.13.1 not found: manifest unknown: manifest unknown").

Dockerhub has not been updated with a 1.13.1 image for both amd64 and armhf.
https://hub.docker.com/r/dwelch2101/zigbee2mqtt-amd64/tags
https://hub.docker.com/r/dwelch2101/zigbee2mqtt-armhf/tags
Can confim that installing the edge version th at @discreetmessage mentioned will get you up and running.

I too have the same issue. Hopefully docker images get updated soon.

Same problem, where edge version expects config files? Beware it overwrites zigbee2mqtt configuration.yaml but when I make changes to it, edge still shows old config.

Same here
20-05-20 22:04:25 ERROR (SyncWorker_12) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-armhf:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-armhf:1.13.1 not found: manifest unknown: manifest unknown").

Same

Same here

stand with you

Same - Can't install dwelch2101/zigbee2mqtt-armhf:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-armhf:1.13.1 not found: manifest unknown: manifest unknown").

Same

Hi same error
20-05-21 06:43:25 INFO (SyncWorker_11) [supervisor.docker.interface] Update image dwelch2101/zigbee2mqtt-armhf:1.13.0 to dwelch2101/zigbee2mqtt-armhf:1.13.1 20-05-21 06:43:25 INFO (SyncWorker_11) [supervisor.docker.interface] Pull image dwelch2101/zigbee2mqtt-armhf tag 1.13.1. 20-05-21 06:43:26 ERROR (SyncWorker_11) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-armhf:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-armhf:1.13.1 not found: manifest unknown: manifest unknown"). 20-05-21 06:43:41 INFO (SyncWorker_7) [supervisor.docker.interface] Restart homeassistant/raspberrypi3-homeassistant 20-05-21 06:44:55 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance

Hello, same error:
20-05-21 06:57:39 ERROR (SyncWorker_4) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-amd64:1.13.1 -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-amd64:1.13.1 not found").

Same problem here.

Looks like Travis hasn't ran for the 1.13.1 release. This was the last travis build. https://github.com/danielwelch/hassio-zigbee2mqtt/commit/326b758c7af13ab05376beecff93d78812144865

Seems that something goes wrong with the new Azure pipeline. Temporarily downgraded to 1.13.0 for now.

same problem on x86:
Failed to install addon, Unknown Error, see logs
where are logs?

Seems that something goes wrong with the new Azure pipeline. Temporarily downgraded to 1.13.0 for now.

For some reason the downgrade doesn’t work. My container is running 1.13.0, but it can’t connect to my usb stick.
zigbee2mqtt:error 2020-05-21 17:31:28: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)     at ZStackAdapter.<anonymous> (/zigbee2mqtt-1.13.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:71:23)     at Generator.throw (<anonymous>)     at rejected (/zigbee2mqtt-1.13.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:6:65) npm  ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR<EMAIL_ADDRESS>start: node index.jsnpm ERR! Exit status 1 npm ERR!  npm ERR! Failed at the<EMAIL_ADDRESS>start script. npm

@Johnwulp I had to restore just that component from a snapshot.

@Johnwulp I had to restore just that component from a snapshot.

Thanks just did a restore, but issue remains... any other ideas?

@Johnwulp I had to restore just that component from a snapshot.

Thanks just did a restore, but issue remains... any other ideas?

I did a full reboot, and it worked again. Don’t know why the container wasn’t able to access the usb stick 🤯

Should be fixed now

Can't download the normal version now on a new install, only the edge is visible?

Should be fixed now

only edge version available. stable one is missing...

@danielwelch could you take a look at this?

Also it won't discover any device? On the old install everything went by smooth.

Is it still the case that you can’t see the stable version at all as an installation option? Have you tried removing the repository, restarting, and re-adding it? I ask because this is a first, and the images are all now uploaded correctly on docker hub.

Removed the plugin, rebooted and added repo again, still the same.

I just ran into the same issue, this is what the supervisor logs says:
20-05-23 19:02:12 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt/config.json: does not match regular expression for dictionary value @ data['schema']['experimental']['transmit_power']. Got 'int(-22,19)?'

Same as above, but with screenshot

Ok, let me roll back that pull request and I’ll rebuild and push as a bug fix release. Thanks.
On May 23, 2020, 2:07 PM -0500, IceEyz<EMAIL_ADDRESS>wrote:

I just ran into the same issue, this is what the supervisor logs says:
20-05-23 19:02:12 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt/config.json: does not match regular expression for dictionary value @ data['schema']['experimental']['transmit_power']. Got 'int(-22,19)?'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ok, let me roll back that pull request and I’ll rebuild and push as a bug fix release. Thanks.
…

Can you update when ready?

1.13.1 just get downloaded and installed

Ok, the breaking change on the master branch has reverted. I also pushed a new bugfix version <IP_ADDRESS>, but there are no differences between the new version and 1.13.1 other than the updated configuration.
The homeassistant supervisor must parse/inspect config.json from the master branch immediately.

@danielwelch trying to update running instance
20-05-24 12:43:28 INFO (SyncWorker_11) [supervisor.docker.interface] Update image dwelch2101/zigbee2mqtt-amd64:1.13.0 to dwelch2101/zigbee2mqtt-amd64:<IP_ADDRESS>
20-05-24 12:43:28 INFO (SyncWorker_11) [supervisor.docker.interface] Pull image dwelch2101/zigbee2mqtt-amd64 tag <IP_ADDRESS>.
20-05-24 12:43:30 ERROR (SyncWorker_11) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-amd64:<IP_ADDRESS> -> 404 Client Error: Not Found ("manifest for dwelch2101/zigbee2mqtt-amd64:<IP_ADDRESS> not found: manifest unknown: manifest unknown").

@to4ko wait until the <IP_ADDRESS> image is pushed to docker hub

@danielwelch not to put any unnecessary pressure, but it still doesn't seem to be pushed to docker hub? Is this normal or has something gone awry again? :)

@to4ko wait until the <IP_ADDRESS> image is pushed to docker hub

Thanks! Updated just fine! No issues at all

@Swiftwork 10 minutes ago it appeared to me. Be patient

Are we good to close this now?

Strange I am still at 1.13.0 and update does not seem to be detected. I have standard version, not Edge, was only Edge bumped up?

Update to <IP_ADDRESS> done. ty.
Am Mo., 25. Mai 2020 um 00:26 Uhr schrieb wojciechczyz <
<EMAIL_ADDRESS>
Strange I am still at 1.13.0 and update does not seem to be detected. I
have standard version, not Edge, was only Edge bumped up?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielwelch/hassio-zigbee2mqtt/issues/340#issuecomment-633309576,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APVDVG7HM4ZEAEX3TGPCVFDRTGNH3ANCNFSM4NGERUZA
.

Are we good to close this now?

Working now! Thanks!

I can't install with below error. Is there any idea for this ? Thanks
20-06-03 14:57:42 ERROR (SyncWorker_5) [supervisor.docker.interface] Can't install dwelch2101/zigbee2mqtt-armhf:<IP_ADDRESS> -> 404 Client Error: Not Found ("no such image: dwelch2101/zigbee2mqtt-armhf:<IP_ADDRESS>: No such image: dwelch2101/zigbee2mqtt-armhf:<IP_ADDRESS>").


My debug app gets freezes on splash image when I run it from my mobile.

My baker app loads on my android simulator, I can see the newstand after 2min watching the splash image.
On the other hand, once I generate a signed app in debug or release mode, it doesn't load on my smartphone.
What can I do? Any idea for this issue? I'm desperate.
Thanks a lot, and thanks for Baker.

I have same problem.
I connected android-tablet to computer and I got error messages below.
25465-25491/application.name E/NativeCrypto: ssl=0x50d1d058 cert_verify_callback x509_store_ctx=052dbcad8 arg=0x0
25465-25491/application.name E/NativeCrypto: ssl=0x50d1d058 cert_verify_callback calling verifyCertificateChain authMethod=RSA
Android version 4.1.2

Greeting Guys
This is yet not a stable version of the Baker code... please refer to the main one.

Hi @eivanphils  and @eezau. We have just released a new version of android-baker-refactor (v4.3.0) that will most likely solve the issues you're having. Have a look at the Installation Guide.
Please re-open this issue if you still have any problems launching the app.


How to add a custom URL scheme?

So, I read the documentation but I can't find any reference to custom URL scheme, how can I define an URL for my app so that Oauth services can redirect to it after authentication?
The only solutions I found require to eject.

One way to do this without having to eject would be to use Expo to build your project as a standalone app. Standalone apps can register custom URL schemes in app.json. See:

Building Standalone Apps
Linking to your app in a standalone app

Thanks, I'm really liking this project, but I think the documentation should say something on the line of "Refer to the Expo documentation for anything not mentioned here", sorry if I missed it maybe.

No worries 😃 We have a link Expo SDK documentation in the FAQs section of the readme, but please send a pull request, if you think this can be improved.


fix: prevent Ctrl+Enter to spamming posts

everyday i press ctrl+enter in staging.bsky.app it sends 1000+ of same posts => so i temporaily ip banned => later i delete that spam posts => i temporaily ip banned => again
at://did:plc:vuwg6b5ashezjhh6lpnssljm/app.bsky.feed.post/3jvqn4idly52j

This solves this thing but in a bit of dirty way.

onPressPublish in handleKeyDown is never changed, because useEditor only depends on modeClass.
Also depending onPressPublish or richtext is impractical because it seems to reload the entire editor.
So this PR tries to get latest values, on Ctrl+Enter pressed.

I tried to reproduce the "post spam" issue on chrome, firefox, and safari and was unable to, using either cmd+enter or ctrl+enter. Is this still an issue?

Good thing is, spamming Ctrl+Enter also can spam same posts. Firefox 115 in Arch Linux x64.
https://github.com/bluesky-social/social-app/assets/3071003/2e3e49fd-d0a4-4b8e-bfed-4264c8dd2330

Is this still an issue?

Creating my new account now to reproduce it

Still reproducible. Firefox 115 on Windows 10 + 날개셋 10.0 IME
https://github.com/bluesky-social/social-app/assets/3071003/d65e58ff-820a-4c5d-9e3b-6afcde2471cb
@pfrazee

Also, since we are already on it, would you mind preventing Ctrl+Enter to add new line please? I have never seen this behavior before on any other Chat or post inputs, Ctrl+Enter should trigger the post submit and there shouldn't be new line added in the UI (even though it is not posted).


an expected outcome for each test

Since we have our IR code to optimize with our passes, we don't know if our optimized .ll versions are correct.
We need a correct expected outcome for each test, and to find a way to obtain these expected results.

suggestion for testing
check diffs between optimized and expected outcome
$ diff <(cat name_of_file_optimized.ll) <(cat name_of_expected_outcome.ll)

done with e73a393230410034378b7c9e968bf0dd9284dc79 by @ch-fano, currently refactoring folders for testing for better readability.

opt generated 2 unwanted lines in the _optimized.ll code, fixed the diff command with 2b625b2a11897422e5be77321d911cfc4a4cf956

everything fixed, only some refactoring and better readability needed


link: when refusing to link display keg only caveats instead.

These are a bit easier to follow and have been recently improved.
Inspired by conversation in #4441  CC @DomT4 @billinghamj
Also:

caveats: tweak keg_only_text

make it a public method
allow skipping the reason
output how to set the various variables in your current shell

shell: tweak export_value parameters.

Let’s have a default value for shell (considering this isn’t a public API)
to make it easier to use.

[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.

[x] Have you successfully run brew tests with your changes locally?

Seems to behave as expected for me locally 👍. Thanks for looking at this! Definitely nicer to be able to lean on the caveat mechanism that already exists rather than duplicating the messaging, IMO.


move value restore from the SoilIndexedDictionary to SoilIndexIterator

fixes #545

This moves the restore value code to SoilIndexIterator as #restoreValue:forKey.
As before, it is called in do:, at:ifAbsent: and isEmpty, but not yet in #nextAssociation
TODO

instead of calling in in do, we need to do call it in nextAssociation instead.
check user of nextPresent and nextPresentAssociation


Add Conditional Diffusion Model

Detailed Description
Diffusion models seem to be quite useful for a lot of image generation and high detail and much easier training than for GANs as generative models, e.g. StableDiffusion. This seems like we should be able to make an easier to train version of DGMR, or other generative models for forecasting future weather or PV forecasting, as there have been some audio or other 1D diffusion models as well.
Context
Diffusion models have impressive results and should be easier to train than GANs that we have been trying.
Possible Implementation

Video prediction ones: https://github.com/voletiv/mcvd-pytorch
https://video-diffusion.github.io/
https://github.com/buggyyang/RVD

https://github.com/newbeeer/poisson_flow

This is a super-cool idea, @jacobbieker!
I'd love to chat about this some time!
I've been blown away by recent progress in diffusion models. The temporal coherence in videos produced by Imagen Video is just stunning, and bodes well for the ability to predict weather.
The "video diffusion" paper (Ho et al. 2022) talks a little bit about using their model for video prediction. In section 3.1 they talk about a "reconstruction-guided sampling... based on the model’s reconstruction of the conditioning data". And in section 4.2 they show state-of-the-art results of predicting 11 frames of Kinetics-600 given the first 5 frames. (Relevant to us: They compare very favorably against DVD-GAN, which, if I remember correctly, is the basis for DGMR). I haven't yet fully understood all the maths in their paper but I get the impression that the core idea is probably pretty simple.
Hopefully diffusion models would also give us a principled way to generate an ensemble of predictions (by changing the input noise, similar to your idea of changing the noise input to DGMR).
I also wonder if we can combine your work on the graph weather model with diffusion models... i.e. use a GNN as the denoising model... although I really don't know enough about either GNNs or diffusion models to know if that's a sane idea or not!

Yeah, dvd GAN is the basis of dgmr, so I think we could make a nice improvement over it. For ensemble forecasts, I think just changing the seed or running it multiple times would work too. I think there are some GNN diffusion models, ones that are used for finding proteins? But still trying to figure that out. But yeah, could be quite a good way to combine both approaches. The main issue seems to be that these models generation is somewhat slow compared to other approaches, but there seems to be pretty rapid progress on that front too.

Yeah, I'm not too worried about the processing speed at inference time, as long as we're generating a dense prediction (so we don't have to go forwards through the model a million times for a million PV systems!).
BTW, I've been finding the maths a bit hard-going. This video really helped me get closer to understanding the maths. Although I expect you're better at understanding the maths, given your background!

for a very simple (Image, timeseries)_t sequence, I was mostly thinking about prediction frames condioned to the timeseries values, or vice-versa.

From a poster at the ECMWF conference that used NCSN++ based model for precipitation forecasting, seems like that type of model is available here: https://github.com/yang-song/score_sde_pytorch which might be a good starting point too

I have been playing with this model recently, and I am pretty convinced that it's capable of generating future cloud movement:
https://github.com/google-research/frame-interpolation/issues/70
It's pretty simple, using BiFPN and computing motion vectors at different resolutions. The code is super simple (but in TF).

Oh cool! Looks interesting

Related one using diffusion model for atmospheric layers: https://github.com/rybchuk/latent-diffusion-3d-atmopheric-boundary-layer

started doing DDPM with clouds: https://wandb.ai/capecape/ddpm_clouds/runs/xq6vlibx?workspace=user-capecape

Another cool stuff I discovered, is that the VAE used on the Stable diffusion pipeline is a pretty good encoder of satellite imagery:

Letting you drastically reduce the input size:

Hi @tcapelle, which dataset are you using for training the diffusion model on clouds? This is something that I am also interested in

I have access to private data, but It's not a lot. I would love to know if there are public datasets with lots of images.

Maybe this: https://vision.eng.au.dk/cloudcast-dataset/


webpack error with fs and json

I get this when trying to compile, with superagent being used only in the client side.
ERROR in ./~/superagent/~/form-data/lib/form_data.js
Module not found: Error: Cannot resolve module 'fs' in /Users/me/project/node_modules/superagent/node_modules/form-data/lib
 @ ./~/superagent/~/form-data/lib/form_data.js 7:9-22

ERROR in ./~/superagent/~/form-data/~/mime-types/~/mime-db/index.js
Module not found: Error: Cannot resolve module 'json' in /Users/me/project/node_modules/superagent/node_modules/form-data/node_modules/mime-types/node_modules/mime-db
 @ ./~/superagent/~/form-data/~/mime-types/~/mime-db/index.js 11:17-37

I tried both solutions proposed in the Superagent for Webpack document without success. The file being loaded is superagent/lib/client.js, as specified in my webpack alias
resolve: {
    alias: {
      'superagent': 'superagent/lib/client'
    }
  }

Any other solutions I can look at?

Actually my version constraint was in latest. Specifying<EMAIL_ADDRESS>solved this.

I experience the same issues with superagent ^1.8.0

We specify in package.json:
 "browser": {
    "./lib/node/index.js": "./lib/client.js",
    "emitter": "component-emitter",
    "reduce": "reduce-component",
    "./test/support/server.js": "./test/support/blank.js"
  },

which should tell WebPack to use the browser-compatible ./lib/client.js instead of ./lib/node/index.js, but it looks like Webpack is ignoring this.
I think it should work. I don't know if there's anything else that we can do, so I won't be able to fix this.
Please file a bug in Webpack instead.

Is it fixed in the latest version? It still happens in 3.0.0


Use grapiserver.New

WHY
WHAT
REF

Codecov Report

Merging #47 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
- Coverage   49.38%   49.31%   -0.08%
==========================================
  Files          36       36
  Lines        1310     1308       -2
==========================================
- Hits          647      645       -2
  Misses        618      618
  Partials       45       45

Impacted Files
Coverage Δ

pkg/grapiserver/engine.go
88.05% <ø> (-0.35%)
:arrow_down:

Continue to review full report at Codecov.

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


LiveQuery not working for Safari

LiveQueries don't seem to work with the current version of Safari(9.1). I am unable to subscribe to queries and nothing appears in the parse-server log, however it works fine in Chrome and the current Safari Technology Preview. Is this a known issue and are there any workarounds for this?

Is anyone using Live Query able to confirm if Safari is having issues? Currently trying to determine if it is a bug in the current version of Safari itself.

I found the problem in Safari:
Line 1311: return typeof WebSocket === 'function' return false
In Safari typeof WebSocket is object.
I tested return typeof WebSocket === 'function' || typeof WebSocket === 'object'and works

@alexcontanu Which version of the SDK are you using? I should've specified, I'm on the current 1.8.3. There is no line in 1.8.3 containing: return typeof WebSocket === 'function' return false

Parse JavaScript SDK v1.8.3
{
    key: '_getWebSocketImplementation',
    value: function _getWebSocketImplementation() {
      return typeof WebSocket === 'function' || typeof WebSocket === 'object' ? WebSocket : null;
    }

    // ensure we start with valid state if connect is called again after close
  }

From npm:
https://www.npmjs.com/package/parse

That did the trick!

I've made a pull request for this issue. Thanks for the fix! #266


Sample code doesn't correspond to this document

There's no BotAccessors class in the linked sample. It's probably MultiTurnPromptsBotAccessors. BotAccessors was defined in the previous article, but that doesn't seem to have connection to this one (contains different properties).
There are also other differences which make navigating the sample slightly confusing. It would be nice to have a comprehensive piece of code directly on this page.

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

ID: 72538432-fde5-22ab-7997-8a34b11aa24e
Version Independent ID: c469fa5b-2590-ee16-1491-51b90c069204
Content: Prompt users for input using the Dialogs library - Bot Service
Content Source: articles/v4sdk/bot-builder-prompts.md
Product: bot-framework
GitHub Login: @v-ducvo
Microsoft Alias: v-ducvo

The code in the article is intended to show how to use prompts in the Dialogs library, following the same model even if it's not exactly the same. The sample is then provided to give a complete running bot that uses the methods and principles.  When the article doesn't explicitly say it's walking through a certain sample, there will be naming differences or different elements within a class.

Understood. Thanks


Example1.dpr needs some units.

Clipper.Core in '....\Clipper2Lib\Clipper.Core.pas',
Clipper.Offset in '....\Clipper2Lib\Clipper.Offset.pas',
Clipper.Engine in '....\Clipper2Lib\Clipper.Engine.pas',
Clipper.Minkowski in '....\Clipper2Lib\Clipper.Minkowski.pas';

I've just rechecked this and the app compiles just fine without these additional units.

I re-checked it. Same error. Clipper.Offset not found. How does Example1 know where Clipper.Offset is (it is used in clipper.pas)? Do you have the clipper path in your environment path?

But there's no offsetting in Example1, there's just a very simple random clip operation.

But it uses
Clipper in '....\Clipper2Lib\Clipper.pas',
and Clipper.pas is using Clipper.Offset ....

But it uses Clipper in '....\Clipper2Lib\Clipper.pas', and Clipper.pas is using Clipper.Offset ....

Ahhhhh, yes, silly me 😱.
Thanks for your persistence (and patience).

Hi Angus, there was an error. Can you please insert a backslash in the middle of the 4 dots.


Survivalist Compatibility problem

Versions
Minecraft: 1.11.2
Forge: 2299
Survivalist: 1.9.0
Betterwithmods: 1.2.13
Logs cannot be placed on top of the chopping block. Instead they are placed in the new block space above it, similar to placing a full block on top of a half slab. This includes all logs; Vanilla and Modded.
There are no crashes. There are no errors/warns or anything in the console. The block is merely being treated as a basic half slab.
The problem persists through multiple versions of both mods, so there is definitely a compatibility issue.
The problem can be fixed by changing the config:
#Makes Punching Wood return a single plank and secondary drops instead of a log, to get a log an axe must be used.
B:HCLumber=false
However it would be nice to have the choice available to do both survivalist and HC betterwithmods without having to compromise one for the other.
Sidenote: This bug has currently been sent to the "Survivalist" mod author on the github issue page. So before people have the idea of posting, the mod author may already be aware of this issue.

Probably fixed, no idea though.


fix(eslint): Update package lock file

Signed-off-by: Pallavi-PH<EMAIL_ADDRESS>

These changes have been included in #354 .


InternalServerError when running Get-PowerBIWorkspace

Hi!
Since this morning, I get the following error when running Get-PowerBIWorkspace (and many other commands):
Get-PowerBIWorkspace : Operation returned an invalid status code 'InternalServerError'
At line:1 char:1
+ Get-PowerBIWorkspace
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.Power...owerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspace], HttpOperationException
    + FullyQualifiedErrorId : Operation returned an invalid status code 'InternalServerError',Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace

Here is the result of Resolve-PowerBIError -Last:
RequestId        : d8a0848e-b0c5-4f4d-b8c3-417897614ccd
Response         : Internal Server Error (500): {"Message":"An error has occurred."}
PowerBIErrorInfo :
ResponseDate     : Mon, 31 May 2021 03:58:45 GMT
RequestMethod    : GET
RequestUri       : https://api.powerbi.com/v1.0/myorg/groups?$top=100
InvocationInfo   : {Get-PowerBIWorkspace}
Line             : Get-PowerBIWorkspace
Position         : At line:1 char:1
                   + Get-PowerBIWorkspace
                   + ~~~~~~~~~~~~~~~~~~~~
StackTrace       :    at Microsoft.PowerBI.Api.V2.Groups.<GetGroupsWithHttpMessagesAsync>d__5.MoveNext()
                   --- End of stack trace from previous location where exception was thrown ---
                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                      at Microsoft.PowerBI.Api.V2.GroupsExtensions.<GetGroupsAsync>d__1.MoveNext()
                   --- End of stack trace from previous location where exception was thrown ---
                      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                      at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroups(IGroups operations, String filter, Nullable`1 top, Nullable`1 skip)
                      at Microsoft.PowerBI.Common.Api.Workspaces.WorkspacesClient.GetWorkspaces(String filter, Nullable`1 top, Nullable`1 skip)
                      at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.GetWorkspaces()
                      at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdlet()
                      at Microsoft.PowerBI.Commands.Common.PowerBICmdlet.ProcessRecord()

I tried to look for the logs from server side but 1) the log is incomplete with this request ID 2) there's no error info.
Can you please share a most recent repro if it still occurs for you?

Hi!
The Cmdlet was failing for a few hours but started to work again after, without any change from my side. I'll close this one.


Uncaught TypeError: el.querySelectorAll is not a function

[Enter steps to reproduce:]

... Start Atom
... Open a VS2017 solution with several projects within it.  In my case they were all asp.net core projects.

Atom: 1.18.0 ia32
Electron: 1.3.15
OS: Microsoft Windows 10 Enterprise
Thrown From: omnisharp-atom package 0.31.2
Stack Trace
Uncaught TypeError: el.querySelectorAll is not a function
At C:\Users\jrizzo\.atom\packages\omnisharp-atom\node_modules\rxjs\Subscriber.js:242

TypeError: el.querySelectorAll is not a function
    at OmniNotification._getFromDom (/packages/omnisharp-atom/dist/features/notification-handler.js:217:28)
    at OmniNotification.getDetailElement (/packages/omnisharp-atom/dist/features/notification-handler.js:203:25)
    at OmniNotification.addDetail (/packages/omnisharp-atom/dist/features/notification-handler.js:155:32)
    at PackageRestoreNotification.handleUnresolvedDependencies (/packages/omnisharp-atom/dist/features/notification-handler.js:93:41)
    at SafeSubscriber._next (/packages/omnisharp-atom/dist/features/notification-handler.js:49:57)
    at SafeSubscriber.__tryOrUnsub (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:238:16)
    at SafeSubscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:185:22)
    at Subscriber._next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:125:26)
    at Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at RefCountSubscriber.Subscriber._next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:125:26)
    at RefCountSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at Subject.next (/packages/omnisharp-atom/node_modules/rxjs/Subject.js:55:25)
    at ConnectableSubscriber.Subscriber._next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:125:26)
    at ConnectableSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at SwitchMapSubscriber.notifyNext (/packages/omnisharp-atom/node_modules/rxjs/operator/switchMap.js:124:30)
    at InnerSubscriber._next (/packages/omnisharp-atom/node_modules/rxjs/InnerSubscriber.js:23:21)
    at InnerSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at RefCountSubscriber.Subscriber._next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:125:26)
    at RefCountSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at Subject.next (/packages/omnisharp-atom/node_modules/rxjs/Subject.js:55:25)
    at ConnectableSubscriber.Subscriber._next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:125:26)
    at ConnectableSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at MapSubscriber._next (/packages/omnisharp-atom/node_modules/rxjs/operator/map.js:83:26)
    at MapSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at FilterSubscriber._next (/packages/omnisharp-atom/node_modules/rxjs/operator/filter.js:88:30)
    at FilterSubscriber.Subscriber.next (/packages/omnisharp-atom/node_modules/rxjs/Subscriber.js:89:18)
    at Subject.next (/packages/omnisharp-atom/node_modules/rxjs/Subject.js:55:25)
    at /packages/atom-beautify/node_modules/lodash/lodash.js:4968:19)
    at StdioDriver._handlePacketEvent (/packages/omnisharp-atom/node_modules/omnisharp-client/lib/drivers/StdioDriver.js:260:14)
    at StdioDriver._handlePacket (/packages/omnisharp-atom/node_modules/omnisharp-client/lib/drivers/StdioDriver.js:232:18)
    at StdioDriver._handleData (/packages/omnisharp-atom/node_modules/omnisharp-client/lib/drivers/StdioDriver.js:224:18)
    at /packages/omnisharp-atom/node_modules/omnisharp-client/lib/drivers/StdioDriver.js:171:54)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:188:7)
    at Interface._onLine (readline.js:232:10)
    at Interface.<anonymous> (readline.js:365:12)

Commands
  2x -9:17.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  4x -8:12.9.0 application:add-project-folder (atom-pane.pane.active)
  3x -0:29.5.0 tree-view:remove-project-folder (span.name.icon.icon-file-directory)

Non-Core Packages
atom-beautify 0.30.2
atom-npm 0.3.1
atom-shortcuts 0.0.2
atom-typescript 11.0.3
autocomplete-python 1.8.64
busy-signal 1.4.3
emmet 2.4.3
file-icons 2.1.7
haskell-grammar 0.4.0
highlight-selected 0.13.1
Hydrogen 1.17.1
intentions 1.1.2
json-schema 0.1.15
language-awk 0.1.12
language-babel 2.66.0
language-graphql 0.9.0
language-ini 1.19.0
language-lua 0.9.11
language-ocaml 1.9.5
language-powershell 4.0.0
language-rust 0.4.10
language-swift 0.5.0
language-thrift 1.0.2
linter 2.2.0
linter-jsonlint 1.3.0
linter-ruby 1.2.5
linter-sass-lint 1.7.4
linter-tidy 2.3.1
linter-ui-default 1.6.2
MagicPython 1.0.10
merge-conflicts 1.4.5
minimap-linter 2.0.0
npm-install 4.0.4
npm-plus 0.4.0
nuclide 0.232.0
nuclide-format-js 0.0.36
omnisharp-atom 0.31.2
pigments 0.39.1
qolor 0.4.2
set-syntax 0.3.2
sort-lines 0.14.0
tool-bar 1.1.0

This is documented here already.

https://github.com/OmniSharp/omnisharp-atom/issues/1004
https://github.com/OmniSharp/omnisharp-atom/issues/1003


Option to stop scrimmages when majority wincount is reached, on game runners

Speeds up scrimmages by a decent amount. At cost of less matches played for competitors tho...
(Consider doing this just for tour matches. Altho distinguishing btwn tour vs not is additional code everywhere)

closed as wontfix for the same reason as #586, see there


fix(conf_loader): propagate default values to aliased properties

summary
This updates the behavior for aliased and deprecated properties.
aliases

Property X is an alias of property Y (X.alias.replacement == "Y").

A) the user sets X but not Y: set Y = X
B) the user does not set X: set X = <default>, Y = X
C) the user sets both X and Y: warn()
A and B are skipped when a custom alias.alias() handler is registered for X.
deprecated properties

Property X is deprecated and superseded by Y (X.deprecated.replacement == "Y").

A) the user sets X but not Y: set Y = X, warn()
B) the user does not X: set X = Y (for backwards compatibility)
C) the user sets both X and Y: set X = Y, warn()
A and C are skipped when a custom deprecated.alias() handler is registered for X.

I'm working on some refinements to this, so don't merge yet.

This is now way too big of a change for what is a last minute bugfix :cry: I will save this for later and re-push with a more simple changeset.


Cleaning disconnecting camera

Required Info

Camera Model
R200

Firmware Version
<IP_ADDRESS>

Operating System & Version
Windows 10

Build System
VS2013

I often run into problems where my program crashes and the cameras become unresponsive. It can take several attempts at unplugging and replugging them in as well as closing down and opening my application to finally get them to capture again. This happens quite sporadically although they still appear in device manager.
Is there a good way to cleanly shutdown the cameras so that the next time I run my application I can make sure the cameras will start? Presently I have this issue where I can grab an image from the camera but I cannot do anything with it, I can reassign it to an OpenCV mat and the image data is there but calling .clone or any other operation to it causes OpenCV to throw an exception. I believe this might be to do with the previous run of the program that crashed.

Lots of little issues here. If you are using the C++ API (rs.hpp) then the context should shut down the cameras cleanly on exit.
Not sure about your OpenCV issue. Pointers to librealsense frames are only valid until the next call to wait_for_frames(). If you want to keep the mat around, I recommend a memcpy.
On particular host controller chipsets / CPUs, we've noticed that some RealSense cameras are quite unstable (hardware issues out of our control, unfortunately). I always recommend trying different physical ports on the system, or with a powered USB 3 hub.

Closed for lack of new info.


http interceptor ng-file-upload

hello guys, file wont upload when I use http interceptor with ng-file-upload http://jsfiddle.net/
here is my php code
<?php

header('Access-Control-Allow-Origin: *');

if ( !empty( $_FILES ) ) {
    $tempPath = $_FILES[ 'file' ][ 'tmp_name' ];
    $uploadPath = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'upload' . DIRECTORY_SEPARATOR . $_FILES[ 'file' ][ 'name' ];
    move_uploaded_file( $tempPath, $uploadPath );
    $answer = array( 'answer' => 'File transfer completed' );
    $json = json_encode( $answer );
    echo $json;
} else {
    echo 'No files';
}

?>

You should not set the content-type on Upload.upload() call. The content-type has to stay default multipart/form-data.

thanks, it worked!!


Lack of input validation RLN.register may lead to user loss of funds

Description
RLN.register calculates the messageLimit by performing an integer division of the amount over the MINIMAL_DEPOSIT.
https://github.com/Rate-Limiting-Nullifier/rln-contracts/blob/main/src/RLN.sol#L120-L121
        token.safeTransferFrom(msg.sender, address(this), amount);
        uint256 messageLimit = amount / MINIMAL_DEPOSIT;

If amount is greater than MINIMAL_DEPOSIT but is not a multiple of it, the user will have transferred more tokens than necessary.
Recommendation
Validate that amount is a multiple of MINIMAL_DEPOSIT
        require(amount % MINIMAL_DEPOSIT == 0, "RLN, register: user provided higher amount than necessary");

Thanks, actually we thought about it. I wouldn't say that this is "security bug" though. If a user send not correct amount - that's his fault:) But good catch, maybe worth to add it.
Could you do a PR ?

I also noticed this one.
Since it is clearly a user error, I think the other (but less desirable IMO) alternative is simply documenting that any amount other than a multiple of MINIMAL_DEPOSIT will be lost.


Hawkular Endpoint Rest-API

As it is possible to create/modify container providers through Rest-API, it should be possible to define/modify the relevant hawkular endpoint.

@miq-bot add_label providers/containers, api

Submitted:
https://github.com/ManageIQ/manageiq/pull/9502

@miq-bot assign yaacov

Submited: https://github.com/ManageIQ/manageiq/pull/9648

Fixd by: #9648


Add descriptions to fields in database files

When we summarise a dataset (load_atoms.dataset.summarise_dataset), currently we only print the list of properties (per atom and per structure) of the dataset. It would be nice to have an (optional) description as part of the dataset description file (<dataset>.yaml) that includes this information, so that we can give an improved dataset summary.

current behaviour:
>>> from load_atoms import dataset
>>> gap17 = dataset("C-GAP-17-train", root="./datasets")
>>> gap17
C-GAP-17-train:
    counts:
        structures: 4,080
        atoms: 256,628
    species:
        C: 100.00%
    properties:
        per atom: (force)
        per structure: (energy, detailed_ct, config_type)

desired:
>>> from load_atoms import dataset
>>> gap17 = dataset("C-GAP-17-train", root="./datasets")
>>> gap17
C-GAP-17-train:
    counts:
        structures: 4,080
        atoms: 256,628
    species:
        C: 100.00%
    properties:
        per atom:
            force: force as calculated using DFT
        per structure:
            energy: total energy of the cell
            config_type: type of structure (cluster, bulk_amo, surface)
            detailed_ct: detailed structure type

Currently, load_atoms.dataset.summarise_dataset only inspects the structures it is passed. We also pass a name however, and so we can use that to look up if the dataset is contained in our database (or has been made locally instead, in which case we don't have access to this info).
A MR to fix this will change the behaviour of load_atoms.dataset.summarise_dataset, as well as changing the schema for the dataset description files.


udio.com

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
DK
Example URLs
https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N
Provide a description that is worded well enough to be understood
Udio is AI generated music.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
$ yt-dlp -vU https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N
[debug] Command-line config: ['-vU', 'https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N']
[debug] User config "/home/tange/.config/yt-dlp/config": ['--format', 'bestvideo[height<=1080]+bestaudio/best[height<=1080]']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [ae2194e1d] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-101-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, pyxattr-0.7.2, requests-2.31.0, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5, websockets-11.0.3
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1820 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[generic] Extracting URL: https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N
[generic] ehJuLz9DuCtVapQMVMcA7N: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] ehJuLz9DuCtVapQMVMcA7N: Extracting information
[debug] Looking for embeds
[debug] Identified a Twitter card
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
ERROR: [generic] Lost%20Love%20%28Preview%29%20ext%20v<IP_ADDRESS>.1: Requested format is not available. Use --list-formats for a list of available formats
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1606, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1762, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1821, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 2955, in process_video_result
    raise ExtractorError(
yt_dlp.utils.ExtractorError: [generic] Lost%20Love%20%28Preview%29%20ext%20v<IP_ADDRESS>.1: Requested format is not available. Use --list-formats for a list of available formats

Without the --formats argument works. Here's the log:
(.venv) D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp>python -m yt_dlp -v "https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N"
[debug] Command-line config: ['-v', 'https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4d9231208] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: a06508664
[debug] Python 3.11.1 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg 7.0.2-full_build-www.gyan.dev (setts), ffprobe 7.0.2-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.39.4, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[generic] Extracting URL: https://www.udio.com/songs/ehJuLz9DuCtVapQMVMcA7N
[generic] ehJuLz9DuCtVapQMVMcA7N: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] ehJuLz9DuCtVapQMVMcA7N: Extracting information
[debug] Looking for embeds
[debug] Identified a Twitter card
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] Lost%20Love%20%28Preview%29%20ext%20v<IP_ADDRESS>.1: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/321db721296347b99e1d92b026053e65/1/Lost%2520Love%2520%2528Preview%2529%2520ext%2520v<IP_ADDRESS>.1.mp3"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: The I Don't Knows - Lost Love ｜ Udio [Lost%20Love%20%28Preview%29%20ext%20v<IP_ADDRESS>.1].mp3
[download] 100% of   10.28MiB in 00:00:04 at 2.06MiB/s

We can extract the data based on meta tag value. Here's the example
<meta property="og:title" content="The I Don't Knows - Lost Love | Udio" />
    <meta property="og:description" content="Listen to Lost Love by The I Don't Knows on Udio. Discover, create, and share music with the world. Use the latest technology to create AI music in seconds." />
    <meta property="og:image" content="https://imagedelivery.net/C9yUr1FL21Q6JwfYYh2ozQ/aed96431-75d6-4153-b7a7-64688cecbc00/public" />
    <meta property="og:image:width" content="240" />
    <meta property="og:image:height" content="240" />
    <meta property="og:image:alt" content="The I Don't Knows - Lost Love | Udio" />
    <meta property="og:video:url" content="https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/321db721296347b99e1d92b026053e65/d472d954-2734-439e-b4fe-b219ad7ad610/0.mp4" />
    <meta property="og:video:height" content="240" />
    <meta property="og:video:width" content="240" />
    <meta property="og:video:type" content="video/mp4" />
    <meta property="og:audio:url" content="https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/321db721296347b99e1d92b026053e65/1/Lost%2520Love%2520%2528Preview%2529%2520ext%2520v<IP_ADDRESS>.1.mp3" />
    <meta property="og:type" content="music.song" />
    <meta name="twitter:card" content="player" />
    <meta name="twitter:site" content="@udiomusic" />
    <meta name="twitter:title" content="The I Don't Knows - Lost Love | Udio" />
    <meta name="twitter:description" content="Listen to Lost Love by The I Don't Knows on Udio. Discover, create, and share music with the world. Use the latest technology to create AI music in seconds." />
    <meta name="twitter:image" content="https://imagedelivery.net/C9yUr1FL21Q6JwfYYh2ozQ/aed96431-75d6-4153-b7a7-64688cecbc00/public" />
    <meta name="twitter:player" content="https://www.udio.com/embed/6b9ce459-cfc8-48e2-87a9-581d9deea43a" />
    <meta name="twitter:player:stream" content="https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/321db721296347b99e1d92b026053e65/1/Lost%2520Love%2520%2528Preview%2529%2520ext%2520v<IP_ADDRESS>.1.mp3" />
    <meta name="twitter:player:width" content="760" />
    <meta name="twitter:player:height" content="240" />


Update pagination function for cloudwatch logs

Signed-off-by: Thomas Labarussias<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
Replace the iteration over pages by the dedicated function from the SDK
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Issif
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval by writing /assign @jasondellaluce in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: abb2f25c5d15e3858a60b603984237d935c6bcb6

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


v3.3.5 popover placement

In case I leave something out, I also posted this on stackoverflow. http://stackoverflow.com/questions/31014152/bootstrap-v3-3-5-popover-placement
When I try to add a popover to an element that is not on the screen, the popover doesn't align properly. The strange thing about it is, it only happens when i use right or left placement. If I set the placement of the popover to top, bottom, or auto then it works just fine (this is noted in the example).
Here is a JSBin http://jsbin.com/vohariwuja/edit?html,js,output
Goal This example shows what I'm trying to do. http://jsfiddle.net/1ejmvg1v/ It is using version 3.1.1. Scroll down, click 'Test' button, scroll up, and the popover is correctly placed.
HTML

    <input class="form-control" name="Input1" id="Input1"  value="" type="text">

     <input class="form-control" name="Input2" id="Input2"  value="" type="text">

JavaScript
var PopoverOptions = {
  html: true ,
  placement: 'right',
  /* This one works
  placement: 'bottom',
  */
  template: '

',
  title: '<button class="close" type="button">×Close</button>',
  trigger: 'manual',
  content: function()
  {
    var _element = $(this);
    if( (_element.attr('data-error-message') !== undefined) && (_element.attr('data-error-message') !== null)  && ($.trim(_element.attr('data-error-message')).length > 0 ) )
    {
      return _element.attr('data-error-message');
    }
    else
      return "";
  }
};

$.each($('.ErrorDiv'),function(){

  $(this).attr('data-error-message','This is a error message')
    .popover(PopoverOptions)
    .popover('show');
});

Hi @bassxzero!
You appear to have posted a live example (http://fiddle.jshell.net/1ejmvg1v/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 23, column 7: W013: Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.1.1

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

This is my first time posting so I'm not sure how all this works. With that said, here is an updated fiddle.
Version 3.1.1 was in the original post to show what is the newest version I know of that worked. The only reason I'm adding this fiddle is that I'm not sure anyone will see this issue if it is flagged as Incorrect markup or version.
https://jsfiddle.net/4t8d6e5d/

Hi @bassxzero!
You appear to have posted a live example (https://fiddle.jshell.net/4t8d6e5d/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 23, column 7: W013: Bootstrap version might be outdated. Latest version is at least 3.3.4 ; saw what appears to be usage of Bootstrap 3.1.1

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

https://jsfiddle.net/9r6bwhov/

I wasn't able to notice any difference between the two JS examples posted in the last JSFiddle @bassxzero on Chrome 43.0.2357.81 with OS X 10.10.3

I am having the same issue.
http://jsfiddle.net/vcr9J/468/

+1
I am also facing the same issue.
http://plnkr.co/edit/0cX5jxlM976DP8adNlzU?p=preview
Thanks!

Hi @jitendersandhu!
You appear to have posted a live example (http://run.plnkr.co/plunks/0cX5jxlM976DP8adNlzU/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 1, column 16 thru line 2, column 22: Attribute ng-app not allowed on element html at this point.
line 13, column 1 thru column 32: Attribute ng-controller not allowed on element div at this point.
line 15, column 5 thru column 37: Attribute uib-collapse not allowed on element div at this point.
line 21, column 5 thru line 24, column 46: Attribute uib-tooltip not allowed on element button at this point.
line 21, column 5 thru line 24, column 46: Attribute tooltip-placement not allowed on element button at this point.
line 21, column 5 thru line 24, column 46: Attribute ng-click not allowed on element button at this point.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Updated fiddler http://jsfiddle.net/4urkkgnj/7/

Hi @jitendersandhu!
You appear to have posted a live example (http://fiddle.jshell.net/4urkkgnj/7/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 69, column 1 thru column 23: Attribute ng-app not allowed on element body at this point.
line 70, column 3 thru column 50: Attribute ng-controller not allowed on element div at this point.
line 72, column 7 thru column 33: Attribute ng-show not allowed on element div at this point.
line 78, column 7 thru line 81, column 48: Attribute uib-tooltip not allowed on element button at this point.
line 78, column 7 thru line 81, column 48: Attribute tooltip-placement not allowed on element button at this point.
line 78, column 7 thru line 81, column 48: Attribute ng-click not allowed on element button at this point.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Bootstrap 3 is no longer being officially developed or supported.
All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!
<3,
@mdo and team


Unable to download Data set

Google Drive link requires access authority

https://drive.google.com/drive/folders/0B3srpZY5rHcASEhSSmh3Tm5LclU?resourcekey=0-RIzIu_hSmEM_w9WLYIhTWQ&usp=sharing

Thanks


Integrate executeRules() function for DrawCardRule

Potentially unneeded, further exploration/discussion required after merge of Team and Te4m code is completed.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.9 to before v5.10.54",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=18cb261afd7bf50134e5ccacc5ec91ea16efadd4",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ba7bfcdff1ad4ea475395079add1cd7b79f81684"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "18cb261afd7bf50134e5ccacc5ec91ea16efadd4",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "ba7bfcdff1ad4ea475395079add1cd7b79f81684",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "bonding: fix null dereference in bond_ipsec_add_sa()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.54 by commit ba7bfcdff1ad4ea475395079add1cd7b79f81684, it was introduced in version v5.9 by commit 18cb261afd7bf50134e5ccacc5ec91ea16efadd4. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001248


Add support for REPL / interactive mode

For example:
D:\home\site> node.exe -i
> console.log('hello')

or
D:\home\site> sqlite3.exe db.sqlite
> SELECT * FROM Table;

Note that KuduExec is not being actively developed. Instead, we use the browser based Kudu console. And that doe work with 'node -i', though some other interactive scenarios may not work. Is still not a full on console, but it's a lot closer than KuduExec.

Ah, I see, thanks for the explanation.


Status of JuliaNeuro

I'm very interested in contributing to neuroscience related projects in Julia. Is this organization still active and would it be open to being a more centralized place housing neuro related packages?

Hey. No it's not super active right now but happy to hear / help with suggestions for how it could be more useful?

I'd really like something like https://www.neuroconductor.org/. I'm working on a lot of things that I'd like to create formal packages for (atlases, ways of conveniently plotting brain images, analyses pipelines). I can always post them on my own account as I publish stuff that uses them, but it would be nice if there was a more central place for the community to access formal packages and work together on these things.


[Feature Request] Single value functions allow point reference

Feature Request
Proposal: Functions that return singular data points can reference tags and labels associated with the point returned from that function. Suggested syntax is dot notation.
Current behavior: This isn't possible because it would take sub queries which is another feature request.
Desired behavior: SELECT Max(time).last - Min(time).last as DayChange, symbol INTO day_change FROM markets.stocks.tradeking_ticks GROUP BY symbol, time(24h)
The function Max returns the highest time point in the markets.stocks.tradeking_ticks series which has access to tags and labels associated with that point. In this instance, last is a tag associated which each point.
Use case: The day change is a popular stock analysis indicator building block. A continuous query like this would simplify the calculation by allowing all the day change to be inserted into a single series.
Assuming a change like this isn't too expensive.

Can be done with MIN + MAX selectors. Closing.


Fix a few tests that fail on VMS

In one spot, files aren't properly closed, so the sub-process program
that's supposed to read them can't, because it's locked out.
In another spot, srctop_file() was used where srctop_dir() should be
used to properly format a directory specification.

Merged
master:
3dd74e21fa04c7d8d7793b25b9a4609625e314cd Fix a few tests that fail on VMS
3.0:
7364545e0734ad25e08d7d5ad0e2c9dac85d2d0d Fix a few tests that fail on VMS


Log input/output tensor stats

As noted in discussion here, there can be a difference between the visualization the content of a Tensor as human-interpretable media and the actual contents of that Tensor.
So it's useful to have the raw values logged. But the raw tensor values are fat, unstructured blobs -- for an image, taking up space like a high-resolution bitmap rather than like a png.
Following the principle that 20% of the information can catch 80% of the bugs, we should instead log descriptive statistics of the input, output, and target tensors. Considerations for this kind of logging are discussed in the (private) 2021 repo here and here.

Prototyped this by having students implement it in an exercise and they found that training slowed down by a factor of 5. It should be possible to do this without slowing training and the torchmetrics code seems to be doing it the right way (applying running reduce operations), so this was surprising.


Implement a Pause/Unpause button

While in game the user should be able to pause or unpause the game with the same key.

Added Functionalities P to pause U to unpause R to restart.


Update 01_new-issue.yaml

Updated our standard issue template with a standard DoD.
It is understood that this DoD will not apply to every issue, but it should serve as a reminder of what we should be aiming for moving forward.

This makes it the third 'definition of done' within this issue, the other two being:
https://github.com/2i2c-org/infrastructure/pull/4983/files#diff-01a30cc3f1ea54ff02c02c9a924b121346f0b52740c2b3a3a2bcaed9817962a9R37
https://github.com/2i2c-org/infrastructure/pull/4983/files#diff-01a30cc3f1ea54ff02c02c9a924b121346f0b52740c2b3a3a2bcaed9817962a9R43
Let's have only one?

Edited. I opted to remove the predefined DoD in favour of an editable task list, which should be easier to convert into sub tasks.


Fix event bus setting wrong parameter index.

This is just a small change to stop some bugs that were arising from plugins having both static and non static event subscribers.

Hi, can you please push to experimental instead?


"Failed to load config.json. Unexpected token"

Are there any related issues?
No.
What operating system are you using?
Windows 10.
What version of N1 are you using?
The latest.

Bug?
Told that Nylas N1 failed to load config.json due to unexpected token, so can't access my emails. Hoping I don't have to reset my configuration because I've adding 20+ accounts isn't a lot of fun.
Do you have any third-party plugins installed?
No.
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
No.
Is the issue reproducible with a particular attachment, message, signature, etc?
Just launching Nylas N1.
...

Hey, I've had this issue too. Using Mac OS X El Capital 10.11.5 and around 7 email accounts. The first time I reset it I had to add the email accounts again, set my signatures, I agree it's a pain. Also looked into the ~.nylas/config.json file, which was completely empty. Maybe this is the issue? Would like to get a contributor on this as soon as possible...

Me too, the same, happens again after resetting configuration and restarting the computer: https://infinit.io/_/38rYVVq
Soon fix would be appreciated
Art

Hey folks—thanks for reporting this. Typically this error only appears if you've edited the config file manually and broken the formatting, which it sounds like you haven't!
If the file has become empty on it's own, that's definitely a serious bug. I'll take a look and see if we can resolve it in one of the upcoming releases. Sorry for the hassle!

@HammyHavoc It should work. In the meantime while this is being fixed, I created a copy called backup.json which is an identical copy of config.json, and whenever the error appears I run a local script containing the command "cp backup.json config.json" which replaces the damaged file.

Maybe the antivirus? I use Bitdefender and 360 Security

Another incidence: https://nylas.zendesk.com/agent/tickets/4558

Another incidence: https://twitter.com/manicmarvin/status/752403589935489024

This has happened several times to me as well (on Ubuntu 15.10 and 16.04), latest today; blank config.json after running for a week or so. Today, N1 also gave the following error after setting everything up again the second time (it blanked again a few minutes after the first setup):
Could not call remote function ''. Check that the function signature is correct. Underlying error: ENOSPC: no space left on device, open '/home/cybolic/.nylas/config.json'
Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: ENOSPC: no space left on device, open '/home/cybolic/.nylas/config.json'
    at callFunction (/usr/share/nylas/resources/electron.asar/browser/rpc-server.js:220:11)
    at EventEmitter.<anonymous> (/usr/share/nylas/resources/electron.asar/browser/rpc-server.js:301:5)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)
    at EventEmitter.<anonymous> (/usr/share/nylas/resources/electron.asar/browser/api/web-contents.js:139:25)
    at emitTwo (events.js:106:13)
    at EventEmitter.emit (events.js:191:7)

There's 18GB free space on my home/root partition.

+1, I am also seeing the same problem on Windows 10. "Failed to load "config.json" Unexpected tokern". Happens almost every day.

Yep, I've switched to Mailbird for now :/

Another incidence: https://nylas.zendesk.com/agent/tickets/5698

Reported by @GM-Polyakov on Windows:

Same problem.

N1 0.4.49-c9c04b7
OS X 10.11.6

I just encountered this bug as well on Windows 10 Pro v1151 x64 after a bluescreen.
Nylas is version 0.4.49.
Only additional configuration changes I have made via the nylas gui was removing the notification sound and removed the signature from the emails to no longer say 'Sent from Nylas.'

We've pushed an update that resolves this issue (0.4.51). Let us know if you run into any bugs!

This appears to have reappeared in the latest version (1.5.0); having issues since the version bump, but never previously. Running on Windows 10; can temporarily resolve by resetting the config, but it comes up again on a restart.

@jtflynnz thanks for the report. We are going to look into it!

This happened today on 1.5.0 - CentOS 7.3. I've been using N1 for about 3 weeks without problem then got the error on reboot today. Config.json was empty.

Happened to me. config.hson had a bunch of hex 0000's in it. Nylas luckily had .bak files of my old config, so I copied them over.

This happened to me as well, on Windows 10. After a reboot of the machine, I've lost all of my configuration. I click reset, re-added my Gmail account and that works fine. However, when trying to re-add the IMAP/SMTP account I have, it's just saying "unforseen error as ocurrsed"

Same problem with the 0x00-padded config.json after Windows 10 reboot. This software so not ready for prime-time.
I wonder what happens to the database when I re-add the account.

I encountered this error numerous time on Windows 10. Usually it happens if the computer crashes or if I can't shut down normally (like a forced reset). I didn't encounter this using normal shutdowns or reboots.
I could work around this issue by taking a manual backup of config.json in %USERPROFILE%/.nylas-mail and re-applying it once I encounter this bug. It doesn't seem to corrupt the database or anything else really.
This might be unrelated, but I had similar issues in WSL if one program had the file open / was watching the file and another program modified it. For example, watching a file with gulp and then checking out the same file using git. This essentially deleted all file contents. Again, this might be unrelated and I don't know much about Windows, but maybe this issue could be cause by nylas watching the file?

thanks for the details! I'm merging into #3382

I'm still experiencing this issue in Windows 10 if my computer has crashed. Seems like the way the config is set up is not very robust, I see no reason it should break like this.

I'm also experiencing the same problem, it's really annoying especially when you have to re-add 10+ accounts
@cultavix you can get to the config.json file by going to "C:\Users\[username]\.nylas-mail"

Hey, I think this issue happens when there's very limited space available on the Disk with the system.
What do you think, guys, who else have limited disk space and this issue?

@Artjaazz Nope, got plenty of space on mine. What I suspect is happening is that the program keeps the config.json file in an unsafe state while running, instead of opening and closing it only when modifications need to be made. This seems like an avoidable issue.

Same problem here, Windows 10, 2 days in a row =\

I rebooted and for some reason it's working fine now. I wish I could reverse the thread order. Drives me nuts having the latest on the bottom.

Okay. It's failing again. Your reply notice thru this thread came in on top so did several others. Now they're going to the bottom again. This seems like an easy fix. Really annoying to have to scroll around to just find my latest email. Deal breaker. What gives?

Nylas is not even being developed anymore. Pointless trying to bother with this.

#3564

Wow. I didn't realize that. Thanks! :)


Cache sometimes fails if user interrupts writing process

This probably only ever happens to me, but the cache is sometimes invalidated when I "interrupt" a process which is writing to the cache, and then try again.
The output (after resuming an interrupted process) would look something like :
/home/jacquelineburos/projects/cohorts/cohorts/cohort.py in load_from_cache(self, cache_name, patient_id, file_name)
    427         else:
    428             with open(cache_file, "rb") as f:
--> 429                 return pickle.load(f)
    430
    431     def save_to_cache(self, obj, cache_name, patient_id, file_name):

EOFError: ('Ran out of input', 'occurred at index 23')

There are two ways to address this :

catch the interruption & don't write to cache unless it finishes.
catch the error reading from cache & handle it gracefully.

The second seems more foolproof to me so this is where I'll start. But good to keep both in mind.

I noticed this bug came back for me recently, on python 3. Reopening this issue for now.
To reproduce, cancel an operation while doing an operation with a cohort on=missense_snv_count, for example. Then try to run the same operation.

I haven't been able to reproduce this on the latest master branch of cohorts. closing this issue for now.


Scanning your network hang on - unable to provide MAC Address

Checklist for submitting an issue to KickThemOut:

[x] I have carefully read the README file and haven't managed to resolve my issue.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I am running the latest version of KickThemOut.

OS name & version: Manjaro Linux x86_64, kernel 5.0.15-1-MANJARO
Python version: 3.7.3
Kamene version: 3.0.0
Nmap version: 7.70
Link of Gist

Description:
Hi,
kickthemout hangs on 'Scanning your network, hang on...'

➜  kickthemout git:(master) sudo python kickthemout.py
SCanning your network, hang on...
ERROR: Default Gateway MAC Address could not be obtained. Please enter MAC manually.

Enter your gateway's MAC Address (MM:MM:MM:SS:SS:SS): ScAnning your^Canning your network, hang On...

Thanks for dropping by.
Catch ya later!

 I was unable to provide MAC address.
It looks like the issue is quite common. I'm more than happy to help.
Cheers,
Bart

Hi there @barthol0. Thank you for bringing this up. Indeed, it is a bug that needs to be resolved.

+1 It worked for me the first time I tried since then i'm getting this error as well.

same here

I found restarting your computer might help,or trying another wifi

I just hit a few keys while the script said hold on for the first time and ran it over and over quickly and it worked

Just press the enter key when it throws the error and it will work.


Update faq-md-app-guard.md

Added more information regarding WDAGUtility Account.

@sazankha : Thank you for merging my suggestions. 👍🏻
@JohanFreelancer9 : Could you take a look at the usage of "leveraged" in this PR content to verify that it is used correctly?

Very good. Thank you.


theClass is not a good method name

I suggest renaming DMClassModel >> theClass to DMConceptualModel >> classReference

Same here: DMClassViewModel >> theClass


[SPARK-28387][SQL][TEST] Port select_having.sql

What changes were proposed in this pull request?
This PR is to port select.sql from PostgreSQL regression tests. https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/select_having.sql
The expected results can be found in the link: https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/expected/select_having.out
When porting the test cases, found one bug:
SPARK-28386: Cannot resolve ORDER BY columns with GROUP BY and HAVING
How was this patch tested?
N/A

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12776/
Test PASSed.

Test build #107647 has started for PR 25151 at commit d6d8d38.

Test build #107647 has finished for PR 25151 at commit d6d8d38.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107647/
Test PASSed.


UTM parameter parsing issues

I am seeing some strange behavior with my amplitude integration. When I land on a page with utm parameters I see the page view show up in my amplitude user activity section, but when I look at the user profile there are no utm properties on the user. The event properties however show the utm information on the search property
eg:  ?utm_source=8765rfgh
If I reload the page, the subsequent call looks identical from the Segment debugger except for the timestamps, but now there will be utm properties on the user.  Has anyone seen this behavior before?

I'm seeing the same issue. Any workaround?

cc @hankim813 @ccnixon (not sure who owns this)

@gizm0duck and @Rich86man thanks for the note, we'd need some more detailed repro steps. you should contact our support eng team to help debug, they have a lot of tools to quickly diagnose these kind of issues! segment.com/help
thanks!


Get-DscConfiguration will throw when xWebsite returns $null LogCustomFields

Get-DscConfiguration is very particular about the data type that is returned.  In the MOF String LogCustomFields is defined as an array, but if $website.logFile.customFields.Collection is $null, then $null is  being included in the Get return, which is not the same as an empty array.  $cimLogCustomFields should be casted as an array.

@regedit32 Do you have the error message that Get-DscConfiguration is throwing when this happen?
Looking for if we should add an example for testing the types in the unit and/or integration test template.

Here's the error message:
Get-DscConfiguration : GetConfiguration did not succeed.
At line:1 char:1
+ Get-DscConfiguration
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_DSCLocalConfigurationManager:root/Microsoft/...gurationManager) [Get-DscConfiguration], CimException
    + FullyQualifiedErrorId : MI RESULT 1,Get-DscConfiguration

@regedit32 submitted an issue https://github.com/PowerShell/DscResource.Tests/issues/239 to track adding tests to test framework or template for this.

Closing this as this was resolved in PR #373.


Swap the numerator and denominator

I swapped  the numerator and denominator in this formula:

to pass this assert:
assert 'j.delanoy' in top_negative_words and 'college' in top_negative_words

Seems legit. Thanks!


Implement a CFontManager class

Implement a class that would handle every instance of CPrivateFastFont, it's actually a disposable class that have lot's of duplicates, make the code harder to read and might be one of the causes of memory leaks, so centralising them would not only make text insertion easier and safer but also making fonts skin specific easier, needed for 1080p complete support.

Actually not needed for 1080p complete support, would still be cool to have however

Removed from Roadmap and set as a regular enhancement ticket

Closed due to irrelevant, seeing how the text textures are actually loaded


Spring-Data generic repository

It would be great if we could create a generic injectable repository that gives easy access to most features of Blaze-Persistence.
@EugenMayer mentioned that having to inject the CriteriaBuilderFactory, EntityViewManager and EntityManager to be able to write some queries feels clunky and I understand the pain.
I saw quite a few versions of generic abstractions that try to encapsulate some of the boilerplate parts.
We could also create something similar for CDI/DeltaSpike

I do no think the generic repository have to be over complicated or do a really lot, just offer the usual bit's and pieces

injecting the usual services needed
deal with the usual factory / boilerplate things and offer convenience override for short syntax calls

We have such an implementation while using BP and it works fairly well for us - so we at least see a value for us here, but also a a general one.

we used the following signature with  hopefully obvious implementation
// E is the Entity, ID is the type of the PK
public class RegularEntityViewRepository<E, ID> {
  public <V> Optional<V> findOne(EntityViewSetting<V, CriteriaBuilder<V>> setting, ID id) {}

  public <V> Optional<V> findOne(EntityViewSetting<V, CriteriaBuilder<V>> setting, Class<E> entityClass) {}

  public <V> Optional<V> findOne(
    Class<E> entityClass,
    Class<V> entityViewClass,
    UnaryOperator<CriteriaBuilder<E>> function
  )
  {
    var setting = EntityViewSetting.create(entityViewClass);
    var criteriaBuilder = createCriteriaBuilder(entityClass);
    return findOne(setting, function.apply(criteriaBuilder));
  }

  public <V> Optional<V> findOne(
    EntityViewSetting<V, CriteriaBuilder<V>> setting,
    CriteriaBuilder<E> entityCriteriaBuilder
  ){}

  public <V> Set<V> findAll(EntityViewSetting<V, CriteriaBuilder<V>> setting, Class<E> entityClass){}

  public <V> Set<V> findAll(EntityViewSetting<V, CriteriaBuilder<V>> setting, CriteriaBuilder<E> entityCriteriaBuilder){}

  public <V> Set<V> findAll(Class<V> entityViewClass, CriteriaBuilder<E> entityCriteriaBuilder)

  public <V> Set<V> findAll(
    Class<E> entityClass,
    Class<V> entityViewClass,
    UnaryOperator<CriteriaBuilder<E>> function
  ){
    var setting = EntityViewSetting.create(entityViewClass);
    var criteriaBuilder = createCriteriaBuilder(entityClass);
    return findAll(setting, function.apply(criteriaBuilder));
  }

  public <CV> CV create(CV createView){}

  public <UV> void update(UV updateView){}

  public <UV> void updateFull(UV updateView){}

  public <ID, V> void delete(ID id, Class<V> idViewClass){}

  public DeleteCriteriaBuilder<E> delete(Class<E> entityClass){}

  public boolean exists(CriteriaBuilder<E> criteriaBuilder)
  {
    return !criteriaBuilder.setMaxResults(1).getResultList().isEmpty(); // Expression is negated!!!
  }

  public boolean exists(Class<E> entityClass, UnaryOperator<CriteriaBuilder<E>> function)
  {
    return exists(function.apply(createCriteriaBuilder(entityClass).select("1")));
  }

  public boolean exists(Class<E> entityClass, String alias, UnaryOperator<CriteriaBuilder<E>> function)
  {
    return exists(function.apply(createCriteriaBuilder(entityClass, alias).select("1")));
  }
}


[Fix #6950] Mark Rails/TimeZone as unsafe

Note: This is the first time I'm sending a PR and marking a cop as unsafe. Please check if I missed anything!
Thanks!

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Fixed
On Thu, Apr 25, 2019 at 2:51 PM Bozhidar Batsov<EMAIL_ADDRESS>wrote:

@bbatsov requested changes on this pull request.
In config/default.yml
https://github.com/rubocop-hq/rubocop/pull/6966#discussion_r278431820:

VersionAdded: '0.30'

VersionChanged: '0.33'

VersionChanged: '0.67.3'

The next version is going to be 0.68.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rubocop-hq/rubocop/pull/6966#pullrequestreview-230494736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAQO3IY7UTAEXIV4Y7EGO3PSFPJPANCNFSM4HIKAEXA
.

Thanks!


Feature: Save last terminal configuration

This is a copy of an issue on jeremyramin/terminal-plus.
It would be great to remember the terminal tabs, along with their configuration, working directory and history.
Would that be possible? Maybe looking at some packages like remember-session or remember-folds would help…

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

it is so crazy that thousands of people have the same issue of terminal blinking but not working. How in the world do these guys not fixing this guy?

This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal


How to see confidence level of annotations, and import/export edited annotations?

I have the amfbrowser working but it only allows me to see the predictions, but not to export edited predictions (the export button does nothing as far as I can see) and when I press the import button the pop-up window cannot be interacted with, and the side option such as palette and validate are greyed out.

Hello,
Sorry for the late reply. When you click on the export button, counts per category will be exported to the clipboard as a tsv table.
Best regards,
Edouard