Specifying resources kwarg in client.submit() prevents the job from completing

What happened:

The future is put into the "pending" state and remains that way indefinitely.
Consequently, the call to gather() never returns.
No mentions of the job's existence appear in the web UI.
This behavior seems consistent regardless of how the "MEMORY" resource is configured on client workers (>20, <20, or not at all)

What you expected to happen:
If "MEMORY" is a configured resource >=20 on at least one worker:

The job is assigned to that worker(s)
The future is put into a completed state shortly thereafter
The future's result is 42

Otherwise:

The future is cancelled as the current state of the cluster will never be able to process the task given the resources available

Minimal Complete Verifiable Example:
from dask.distributed import Client

def some_task():
    return 42

dask_client = Client()
job = dask_client.submit(some_task, resources={'MEMORY': 20})
dask_client.gather(job)
print(job.result())

Anything else we need to know?:

Tried as well using dask annotations with same result
The issue persists even when requesting resources={'MEMORY': 0}
If you remove the "resources" kwarg entirely, this works as expected

Attempts
Tried running against the local client as shown above, with no "MEMORY" resource configured:

The most recent log was:

distributed.scheduler - INFO - Receive client connection: Client-320f56ab-24b9-11ed-aaed-0233a8571446

The cluster dump reports receipt of the task:

<TaskState 'some_task-b97c61448795b10cddb590d67d5cf67b' no-worker>

Tried running against a cluster, whose workers were launched with the environment variable DASK_DISTRIBUTED__WORKER__RESOURCES__MEMORY=32 per the documentation:

Identical symptoms

Environment:

First try on Dask version: 2022.6.0, Python version: 3.9.7
Second try on Dask version: 2022.7.0, Python version: 3.10.4 (default install to new conda env on this distro as of writing)
Operating System: Ubuntu 20.04.4 LTS on AWS (GNU/Linux 5.13.0-1021-aws x86_64)
Install method (conda, pip, source): conda

Cluster Dump State:

@rweisman-efp Welcome!

Tried running against a cluster, whose workers were launched with the environment variable DASK_DISTRIBUTED__WORKER__RESOURCES__MEMORY=32

You're right in doing this -- because you would first need to set this "MEMORY" resource to the workers before using it in client.submit().
Just to confirm, did you connect your workers+scheduler to the client?
Note that dask_client = Client() will create a new cluster and connect a client to it.
Could you please try:

Launching your scheduler and worker from the command line. And while creating the worker, you can specify the resource using environment variables
In your code snippet, use dask_client = Client(address=<scheduler-address>) where "scheduler address" is the address displayed while launching your scheduler.

And let us know if it still doesn't work?

Hello and thanks for the prompt reply!
Originally tried against both a new cluster (dask_client = Client()) as well as an extant, remote cluster with that environment variable set (i.e. dask_client = Client(address='remote.host.with.scheduler:8786')).
Given your reply, it seems most likely the latter was misconfigured.  I'll try to launch the scheduler locally as you suggest and report back.

Unfortunately, the behavior is the same.  Perhaps there's a typo in how I'm specifying the environment variable?
Scheduler output:
$dask-scheduler
2022-08-31 16:58:37,533 - distributed.scheduler - INFO - -----------------------------------------------
2022-08-31 16:58:38,133 - distributed.scheduler - INFO - State start
2022-08-31 16:58:38,135 - distributed.scheduler - INFO - -----------------------------------------------
2022-08-31 16:58:38,135 - distributed.scheduler - INFO - Clear task state
2022-08-31 16:58:38,136 - distributed.scheduler - INFO -   Scheduler at: tcp://<IP_ADDRESS>:8786
2022-08-31 16:58:38,136 - distributed.scheduler - INFO -   dashboard at:                     :8787
2022-08-31 16:58:41,242 - distributed.scheduler - INFO - Register worker <WorkerState 'tcp://<IP_ADDRESS>:33659', status: init, memory: 0, processing: 0>
2022-08-31 16:58:41,251 - distributed.scheduler - INFO - Starting worker compute stream, tcp://<IP_ADDRESS>:33659
2022-08-31 16:58:41,251 - distributed.core - INFO - Starting established connection
2022-08-31 16:58:56,233 - distributed.scheduler - INFO - Receive client connection: Client-333c596a-294e-11ed-bec0-0233a8571446
2022-08-31 16:58:56,234 - distributed.core - INFO - Starting established connection
2022-08-31 16:59:15,963 - distributed.scheduler - INFO - Receive client connection: Client-3f0166d6-294e-11ed-bec0-0233a8571446
2022-08-31 16:59:15,964 - distributed.core - INFO - Starting established connection

Worker output:
$DASK_DISTRIBUTED__WORKER__RESOURCES__MEMORY=32 dask-worker tcp://<IP_ADDRESS>:8786
2022-08-31 16:58:40,539 - distributed.nanny - INFO -         Start Nanny at: 'tcp://<IP_ADDRESS>:38765'
2022-08-31 16:58:41,232 - distributed.worker - INFO -       Start worker at:      tcp://<IP_ADDRESS>:33659
2022-08-31 16:58:41,232 - distributed.worker - INFO -          Listening to:      tcp://<IP_ADDRESS>:33659
2022-08-31 16:58:41,232 - distributed.worker - INFO -          dashboard at:            <IP_ADDRESS>:42749
2022-08-31 16:58:41,232 - distributed.worker - INFO - Waiting to connect to:       tcp://<IP_ADDRESS>:8786
2022-08-31 16:58:41,232 - distributed.worker - INFO - -------------------------------------------------
2022-08-31 16:58:41,232 - distributed.worker - INFO -               Threads:                         16
2022-08-31 16:58:41,232 - distributed.worker - INFO -                Memory:                 501.73 GiB
2022-08-31 16:58:41,232 - distributed.worker - INFO -       Local Directory: ~/dask-worker-space/worker-nym66clc
2022-08-31 16:58:41,232 - distributed.worker - INFO - -------------------------------------------------
2022-08-31 16:58:41,251 - distributed.worker - INFO -         Registered to:       tcp://<IP_ADDRESS>:8786
2022-08-31 16:58:41,251 - distributed.worker - INFO - -------------------------------------------------
2022-08-31 16:58:41,252 - distributed.core - INFO - Starting established connection

Result (tried with both MEMORY set to 0 and to 5):

@rweisman-efp I'm looking at the docs on how to specify worker resources here and I see that the scheduler has the resources set too. see that in the example in the docs there is this step:
dask-worker scheduler:8786 --resources "GPU=2"
dask-worker scheduler:8786 --resources "GPU=2"
dask-worker scheduler:8786 --resources "MEMORY=100e9" #notice the resource set here.

before
from distributed import Client
client = Client('scheduler:8786') #using the scheduler with resources set above

data = [client.submit(load, fn) for fn in filenames]
processed = [client.submit(process, d, resources={'GPU': 1}) for d in data]
final = client.submit(aggregate, processed, resources={'MEMORY': 70e9})

Comparing that with your example, what's missing is specifying the resources when creating the workers with the LocalCluster. Modifying your script as this runs:
from dask.distributed import Client

def some_task():
    return 42

dask_client = Client(resources={"MEMORY": 20}) #notice this here
job = dask_client.submit(some_task, resources={'MEMORY': 20})
dask_client.gather(job)
print(job.result())

But I can see why this might be confusing from the docs. Do you think that adding an example like yours to the docs  would be more useful, if so would you be willing to open a PR?

Hrm, while I agree the examples @ncclementi are totally correct. One thing I noticed when playing around with the environment variable approach is that DASK_DISTRIBUTED__WORKER__RESOURCES__MEMORY=32 sets a resource of memory=32 (note memory is lower case). If I use this env var, and update @rweisman-efp's original example to use lower case memory in the client.submit(..., ) call, then things work as expected

@jrbourbeau Do you mean job = dask_client.submit(some_task, resources={'memory': 20}). Is that setting the limit on all the workers, or is it restricting the just some_task . I guess what's the difference between lower and uppercase?
This seems a bit confusing for users. Is there a way we can make the docs better

Do you mean job = dask_client.submit(some_task, resources={'memory': 20})

Yeah, exactly. Resources are set when we create the worker with this environment variable
DASK_DISTRIBUTED__WORKER__RESOURCES__MEMORY=32 dask-worker

and then with
job = dask_client.submit(some_task, resources={'memory': 20})

we're saying that whenever we run the some_task function on the cluster, it will require 20 memory resources.

This seems a bit confusing for users. Is there a way we can make the docs better?

Agreed. Perhaps add a note to the "From environment variables" section in https://distributed.dask.org/en/stable/resources.html?
Alternatively, we could make resources case-insensitive. Would want to think more about whether or not that's actually a good idea though...


Feature passthrough upgrade

Upgrade to the passthrough system for unity, as well as the underlying shaders.  This allows multi-layered effects to be more easily applied, and a new LeapCG include makes it easy to write a single shader that will work for any Leap device.
New workflow for getting passthrough into an oculus scene:

Place LeapImageRetriever onto the both the Left and Right eye anchors.
Place a LeapImageBasedMaterial onto any renderer that will receive images from the Leap, and then assign a material that uses a Leap compatible shader onto that object.

Check out the LightweightPassthrough, and LightweightPassthroughNoOculus scenes for an example of the new system.  You can freely switch devices at runtime and the proper shader variant will be chosen.

I'm going to verify this by creating a branch from leapmotion-examples:develop and locally merge there.

Request: Please move scene LightweightPassthrough to LeapMotion+OVR/scene

Request: Please create demo scenes for glow & intersection hands

Closing PR. Please target leap motion-examples:receive-passthrough-upgrade
This will keep changes out of develop until passthrough has been fixed in all demo scenes.


cmd: add support for config home directory

Closes #68
This PR improves the config file resolution to resolve things in priority order. It also includes support for config from a configuration home directory (i.e. $XDG_CONFIG_HOME, $HOME/.config, %LOCALAPPDATA%) so a user can override the default config system-wide.
Signed-off-by: braydonk<EMAIL_ADDRESS>

Just missed #69 :disappointed:

Tested and verified on Linux and Windows.


feat(docs): Add Discord link to header

resolves #923
Not terribly familiar with how to generate these docs but this request seemed trivial enough.
I wasn't able to find instructions in the repo for how to build/generate the docs, so any pointers are very welcome.

See my comments. I think the only change I'd like is the label.

Thanks @christianh814, I've udpated the PR based on your comment.

Thank you @pabrahamsson!


Leaks, blocks and NPE fixes

Changes:

Fix memory and receiver leaks in SpeakerDetailActivity
Change blocking nature of Picasso cache in #1314
Change Network listener to already implemented Network change event #1285 and #1313

For #1310
An issue in SpeakerDetailActivity exists


implement xiome-notes component

see design sketch in this post: https://github.com/chase-moskal/xiome/issues/62#issuecomment-947987934
the component will render the notes state from the notes-model, and will call loading functions appropriately when pages are flipped

[ ] wait for blocker #84

poke @chase-moskal to add a bounty for this ticket after #84 is merged

[ ] recreate the user experience in the design from the design image in the link above

deleted the bounty, will add new bounty after this ticket is unblocked by the completion of #84

closing due to changing scope, will create a more focus css-oriented ticket later


Support more advanced bin-packing with Fenzo

#2063 mentions  Fenzo  integration and I believe a great use-case would be for more efficient bin-packing. Part of the allure of mesos is being able to eek out every bit of resources from a cluster.
Fenzo is able to make smarter decisions about where to place a new task based on a Fitness level. This allows it to more effectively choose which mesos-agent that it should run the task on.
 This provides more room for more resource hungry tasks that might otherwise not be able to find a machine.

+1

+1

+1

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2827. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


[BEAM-10433] Swap to use an embedded derby instance instead of starting and waiting for an instance which is unreliable.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @iemejia @TheNeuralBit

Run Java PreCommit

Oups just realized I did not let the time for @TheNeuralBit to chime in because of quickly merging it sorry.

No worries @iemejia I'm not that familiar with this code, I'm good with merging if you are :)


⚠ Processors has degraded performance

In 75799da, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 77 ms

Resolved: Processors performance has improved in 2eceac3.


offline install k3s error

[root@localhost ~]# curl -sfL https://rancher-mirror.oss-cn-beijing.aliyuncs.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn INSTALL_K3S_SKIP_DOWNLOAD=true sh -s -
[INFO]  Skipping k3s download and verify
[INFO]  Skipping installation of SELinux RPM
[ERROR]  Failed to find the k3s-selinux policy, please install:
    dnf install -y container-selinux
    dnf install -y https://rpm.rancher.io/k3s/stable/common/centos/9/noarch/

In order for airgapped installs to would you will need to download the appropriate selinux policy on a separate machine and then transfer it to the offline machine. Same with the k3s images as defined in https://docs.k3s.io/installation/airgap#manually-deploy-images-method

This is a duplicate of https://github.com/k3s-io/k3s/issues/7464

Closing as duplicate


Bad instruction for mov rax,[gs:0x30]

Describe the bug
Analyzing a binary with mov rax,[gs:0x30] instruction (65 67 48 a1 30 00 00 00) results in a "Bad instruction" error.
To Reproduce
Steps to reproduce the behavior:

Analyze a program using this instruction
See bad instruction error

Expected behavior
I expected this instruction to be decoded. For example, from objdump:
0000000000401000 <.text>:
  401000:	65 67 a1 30 00 00 00 	addr32 mov eax,gs:0x30
  401007:	65 67 48 a1 30 00 00 	addr32 mov rax,gs:0x30
  40100e:	00
  40100f:	65 67 a1 ff ff ff ff 	addr32 mov eax,gs:0xffffffff
  401016:	65 67 48 a1 ff ff ff 	addr32 mov rax,gs:0xffffffff
  40101d:	ff

Screenshots

Attachments
If applicable, please attach any files that caused problems or log files generated by the software.
Environment (please complete the following information):

OS: Ubuntu 22.04.1 LTS
Java Version: 18.0.2-ea
Ghidra Version: 10.2.2
Ghidra Origin: official GitHub distro

Looks like we don't have a constructor for x86-64 32-bit memory access here. There might be other instructions this could be impacting.


refactory(identity): can @Inject TokenIdentity Authorization in RequestScope

@gastaldi I think I found a good solution:

add toRequestHeaderKey and toRequestHeaderValue as default in Identity
now I can make Identities package protected
now I can remove (new) Authorization and use TokenIdentity as Authorization in IdentityProvider
rename GitHelper to Gits, and remove execute from it (use directly ExternalRequest instead)
make addBearerPrefix/removeBearerPrefix less flexible

drawback: I didn't manage to split it into multiple commits :/
I think it's pretty clean now and it will be difficult to go further.
What's you opinion?

OsioIdentityProvider shouldn't take a HttpServletRequest in the constructor, but just the Token identity or something similar

Btw, I have only one comment for this PR: you really should improve your commit messages :)
The first one "can Inject TokenIdentity Authorization in RequestScope" is just very meager information for such a huge commit. I look at that and I have no idea of all the things that you've done there, except if I go and read all the code very carefully. IMO you should put enough information in your commit message that I can understand what you did before looking at the code.


Joy-con doesn't display.

Joycons aren't detected, I'm obviously using bluetooth, on my PC it says that it's connected but when I write print devices I get this:
print devices

(wiimote)
  no devices
(steamcontroller)
  no devices
(joycon)
  no devices

Hello. Sorry for the delay, it's been hectic on my end.
That's interesting. Can you verify that the relevant /dev/hidraw* nodes are being created when the device connects, and that your udev rules are altering them so that MG has the needed permissions?
It is possible that the joycon detection logic is incomplete.

Right now I'm not on my Linux machine so I can't do anything until the end of this month :P


[LICM]: support hosting ref_element_addr even if they are not guaranteed to be executed

In some instances, some instructions, like ref_element_addr, can be hoisted outside of loops even if they are not guaranteed to be executed.
We currently don’t support that / bail. We only try to do so / do further analysis only for begin_access because they are extremely heavy.
However, we need to support hosting of ref_element_addr in that case, if it does not have a loop dependent operand, in order to be able to hoist begin_access instructions in some benchmarks.
Initial local testing shows that this PR, when we enable exclusivity, improves the performance of a certain internal benchmark by over 40%
See rdar://problem/43623829

@swift-ci Please test

@atrick , @eeckstein can either one review this small change please? :)

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 67ae94a99d9da7f4a2c1515d776557eba90a49f0

@swift-ci Please test and merge

@swift-ci Please test and merge


Jackett will not install corrrectly

I have tried on both Ubuntu and Debian many times. All clean installs. The program runs the jackett install without errors but when I check access details it always states:
Checking Jackett status...
SYSTEMD jackett.service found.
jackett.service is currently: activating
grep: /home/user/.config/Jackett/ServerConfig.json: No such file or directory
GOOD: Jackett is accessible outside localhost.

Sorry i've not got back to you sooner however I was at first struggling to replicate this. It seems to work fine on some Linux distros but fails on others. I will continue to investigate and let you know when its fixed.
Tom

This should now be fixed.
Please can you give it a try and see how you get on?
Thanks
Tom

hi,
i have the same problem on raspberry pi using raspbian.
thanks

Hi, Thanks for the feedback.
Have you made sure you have the latest version of the toolkit?
Which version of Raspbian are you running? Stretch or Jessie?
Thanks
Tom

Hi,
I am running the lastest versione of Atomic toolkit/Raspbian Jessie lite
Thanks
Il 08 set 2017 1:13 PM, "Tom"<EMAIL_ADDRESS>ha scritto:

Hi, Thanks for the feedback.
Have you made sure you have the latest version of the toolkit?
Which version of Raspbian are you running? Stretch or Jessie?
Thanks
Tom
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/htpcBeginner/AtoMiC-ToolKit/issues/183#issuecomment-328076300,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AccBSYo09-zxDcohUPRLM82sk8vNNjL6ks5sgSFWgaJpZM4OtSF2
.

Are you getting the same error as was first mentioned in this issue?
I found the problem before were around mono not installing correctly.
Could you go via the Utilities menu and remove mono if possible.
Then try reinstalling Jackett again. This should install mono first then Jackett.
keep an eye out for any errors during the installation and if possible post a log of the install in https://gist.github.com/

I can confirm the same issue, installation process does not actually install the config files properly, currently using ubuntu server 16.04.  Attempted complete uninstall and reinstall of mono, still no positive results.

@Lazlowk
Thanks for coming back to me and super work trying to identify the issue.
I'm looking into this issue at the moment.
I've created a new vm of Ubuntu Server 16.04.3 and installed Jackett without any issues?!!?!
So I must be doing something different to you both!
Could you (or anyone else having this issue thats willing to help!) contact me on gitter.im and we can see if we can get to the bottom of this one!
Thanks
Tom

I've just pushed up a potential fix :-)
I don't think it was creating the .config/Jackett folder correctly and giving it the correct permissions.
Let me know how you get on.
Tom

Ho Tom, i Will try tomorrow and the i Will give You a feedback!
Thanks for your hard work!

Closing due to inactivity and the fact I think this is now working correctly!
If anyone is still having trouble please create a new issue and fill out the Issue template.
Thanks
Tom


Switch language in the same tab

When switching the language a new tab opens. I think it would be better to change the language in the same tab which is already open.

Currently I'm building to separate trees with sphinx and provide a mechanism to switch on the main page. An actual automatic switching would be great, but I haven't figured out yet how this can be implemented with sphinx. If you have an idea let me know.

I went through some of the documentations using sphinx listed here and the first one where I saw the option to change the language is the documentation of calibre. I couldn't find any source file where we could see how they do it, but maybe you have better luck. I don't know how automatic language switching could possibly work. Maybe there is some kind of information one could fetch from the browser or maybe even the locale?

The target="_blank" attribute in the hrefs for switching the language cause the browser to open a new tab. To fix this simply remove them.
They are in the pages/conf.py file.

The calibre docs using a similar trick, like I do with the href, I just found that this will only work for the toplevel, but not for any of the subpages. in the calibre docs there is only the toplevel, so they are mostly fine with this setup.


⚠ ClamAV has degraded performance

In e55708c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 90 ms

Resolved: ClamAV performance has improved in e33a746 after 5 minutes.


When connecting to remote connection, if the default kernel doesn't start, then remote will never work in vscode

Basically we dont event dipslay the kernel picker that would allow users to connect toa different server.
The problem is we're starting a whole new session unnecessarily when all we want is a list of kernels.
I.e. even when we're getting list of kernels, we're starting unnecessary kernels.
Took me 2 hours to figure out that my default kernel wouldn't start.
I'm using Jupyter & jupyter labs & don't run into this issue, but vscode wouldn't allow me to connect to a local remote at all.

We shouldn't need to start a kernel to get the list of kernels in the remote scenario.

This has been fixed in the Nov milestome.

This has been fixed and validated in a previous release


Next button stop working after open a SweetAlert2 Dialog

Hi @cpvbruno Could you help with a codesandbox or jsfiddle example please
Here is a starting point
https://jsfiddle.net/bt5dhqtf/97/

Closing due to inactivity


FLEX 4.0 Network history

Hi,
as we can see the behavior for the Network history changed in 4.0. When we tap on Response Body we see now a NSDictionary. (which is most of the time not complete because we have quite big responses in our App) FLEX 3.x was showing a plain JSON response here which could be copied and sent.
This is what we prefer, but it seems gone now?
What we noticed: tapping on the URL on top (instead of Response Body) shows a plain JSON representation but it's not possible to copy and send. Also most of the time the JSON response here is wrong. It seems to be some old cached response... ?
Showing the plain JSON response in the Response Body field is the main FLEX feature for us. Please help us in solving this. We can also debug if you help us in debugging.
Thanks in advance.
Darko

Tapping the URL sends a new GET request to that URL, which is why it shows a different response.
Even though the preview is cut off, you should be able to browse the whole response in the dictionary view, for what it's worth. Regardless, I will add a setting to disable this behavior in 4.1. My apologies

There's no need for an apology, we are really happy about this project, thanks for your great work!
But could I ask - which setting to you want to disable? Showing the dictionary instead of the FLEX 3.0 JSON view? (this is what we would prefer)
Thanks.

We need the plain JSON responses all the time as "prove" for the backend team. And also this is a very fast and easy way to create mock data.

Yeah, I'm going to add a setting to turn on the dictionary view. So it will default to plain JSON like it was before

Fixed in 4.0.0

Fixed in 4.1.0

Great, thank you!


FontAwesomePro6 fixes

Fixes #1533
Fixes #1455

Thanks! Can you verify for me that these variants also work in the directory website?

Thanks! Can you verify for me that these variants also work in the directory website?

@oblador Currently we only have Solid and Brands in the directory. These are working fine.


Home Assistant Energy Dashboard - Gas Consumption not showing on energy dashboard.

Hi
Thanks for your work on this, its much appreciated. I am trying to use the data to show on my energy dashboard in home assistant,
http://homeassistant:8123/config/energy
However the sensor "sensor.gas" doesn't appear as an option when I try and add it as a source.
The page points me to here:
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
Any ideas?
Thanks

I don't know for sure why it's not there for you - it is for me. The energy dashboard is a bit mysterious. Do you have the entity showing with the correct value on your lovelace dashboard?

Thanks for the quick reply.
So I have done some further digging if its useful for anyone else:
The gas consumption section of the energy dashboard expects the device class to be "gas" and the total consumption to be in metres3 and the unit of measurement to be in GBP/kWh rather than £/kWh
I created a couple of sensors to swap the supplied values over:
  - name: gasconsumptiontotal
    unique_id: gastotal
    unit_of_measurement: "m³"
    device_class: gas
    state_class: total_increasing
    state: "{{ states('sensor.gas') | float / 10.549 }}"

  - name: gascostperhr
    unique_id: gascostperhr
    unit_of_measurement: "GBP/kWh"
    device_class: gas
    state_class: total
    state: "{{ states('sensor.gas_cost_per_hour') }}"

That's an interesting finding. You are correct that when the device class is gas, it's measured in m³, but that shouldn't be required according to the documentation https://developers.home-assistant.io/docs/core/entity/sensor/#available-device-classes which says;
Volume of gas, statistics will be stored in m³. Gas consumption measured as energy in kWh instead of a volume should be classified as energy.
And the issue with recording it in m³ is that the conversion factor is not the same throughout the country or throughout the year. Also, on the energy dashboard page it says;
Configure gas consumption
Gas usage (Wh, kWh, MWh or GJ)
So I am wondering why you see something different. Any ideas? Do you have a particularly old version of Home Assistant, or a beta version or something like that?

You are correct re the volume, I was simply trying to see if I could get it working, I think there is a bug in HA, as I get the following message when I try and use kWh:
Unexpected unit of measurement
The following entities do not have the expected units of measurement 'Wh', 'kWh', 'MWh' or 'GJ' for an energy sensor or 'm³' or 'ft³' for a gas sensor:
So its expecting the gas sensor to be in 'm³' or 'ft³' which is less than ideal..
My HA is the latest release. I think the main 2 issues I have found has been the  device_class of "gas" and the issue here with the fact that the interface is not accepting kWh for gas sensors when setting up the energy dashboard

I've reported a bug re the kWh on the dashboard
https://github.com/home-assistant/frontend/issues/14397

The error message would be correct if you have changed the device class from power to gas. power and kWh are the correct values. Did you find you couldn't pick the sensor when it was at those original values? If so, that's a home assistant bug

Hi.
There is defo a bug in home assistant as i couldn't get the hilderband integration working for gas either. With this integration i have real time data from my geo meter so thanks, but i get get electric or gas in the energy dashboard.

@Trickytree1984 are you saying you can also pick electricity but not gas?

Hi.
There is defo a bug in home assistant as i couldn't get the hilderband integration working for gas either. With this integration i have real time data from my geo meter so thanks, but i get get electric or gas in the energy dashboard.

The device class needs to be gas,  however the device_class of gas doesn't allow the use of kWh at the moment..
See this issue in Home Assistant:
https://github.com/home-assistant/frontend/issues/14292

Well spotted. Looks like it was a regression when water was added that they are fixing soon. I'm closing this as not a bug in this integration

Sorry for the confusion, the electricity is showing up now. The sensors seem to take some time to propagate through to the energy dashboard.
I assume the correct configuration is to use sensor.electrictity in this "consumed energy" field and the "sensor.electricty_price" in the "use an entity with current price" field.
As above posters say, i cant add sensor.gas at all, which i believe is a home assistant bug

Yes, the statistics take time to show up in the energy dashbaord. And yes, that is the valid way of configuring the energy dashboard


Analyzer server reports bogus

I am working on flutter on this branch: https://github.com/goderbauer/flutter/tree/foo23
If I run flutter analyze --flutter-repo --watch it shows zero issues.
If I go back one revision with git checkout f1f5d4f3a8f4ee5a59c6fe0ea263ee294585de87, above command now shows 23 issues, which are all false. If I restart the analyze command, it now shows 15 issues, which are still all false. If I delete ~/.dartServer and restart the flutter analyze command it shows (correctly) 0 issues again.
@Hixie

@scheglov Sounds like we're taking stale data from the cache. Any ideas about what might be causing this?

This fails.
What should I check out?
Where should I run flutter analyze --flutter-repo --watch?
$ git clone https://github.com/goderbauer/flutter/tree/foo23
Cloning into 'foo23'...
remote: Not Found
fatal: repository 'https://github.com/goderbauer/flutter/tree/foo23/' not found

It's on a branch:
$ git clone https://github.com/goderbauer/flutter
$ cd flutter
$ git checkout origin/foo23

In there you can run the commands I mention in my first post. The flutter executable is in ./bin/flutter.

I have much more errors.
dart/issue30424/flutter ((6953d9134...))$ ./bin/flutter analyze --flutter-repo --watch
[cut]
  error • The function 'expect' isn't defined. • packages/flutter_test/test/widget_tester_test.dart:243:5
  error • The function 'expect' isn't defined. • packages/flutter_test/test/widget_tester_test.dart:246:5
72637 issues found • analyzed 1157 files, 3.21 seconds

Before the analyze command you probably also need to run "flutter
update-packages --upgrade".
On Fri, Aug 11, 2017 at 12:07 PM Konstantin Scheglov <
<EMAIL_ADDRESS>wrote:

I have much more errors.
dart/issue30424/flutter ((6953d9134...))$ ./bin/flutter analyze --flutter-repo --watch
[cut]
error • The function 'expect' isn't defined. • packages/flutter_test/test/widget_tester_test.dart:243:5
error • The function 'expect' isn't defined. • packages/flutter_test/test/widget_tester_test.dart:246:5
72637 issues found • analyzed 1157 files, 3.21 seconds
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/30424#issuecomment-321894912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABK784gP5d3A7pFyG-dNH4ubAwO3-KwOks5sXKZcgaJpZM4O0_HF
.

Thanks. I can reproduce the problem.

This turned out to be a bug in summary linker when one of the libraries in resynthesized.
It is not caused by stale data in the cache.
The reason why this problem does not happen with empty cache is that in this case we relink all libraries together. So, none of the libraries in resynthesized, and we inherit covariant flag correctly.
This CL will fix the linker to resynthesize covariant flag while linking.
https://codereview.chromium.org/2994913002

Thank you so much for the quick turn-arround on this!
Once your fix is submitted, will this just be part of the next Dart SDK dev release?

Once your fix is submitted, will this just be part of the next Dart SDK dev release?

Yes.

https://github.com/dart-lang/sdk/commit/befe86b6a36d7a60ea72c56bbf5ab07b4a5d4fa0


Merge dev branch to master

NOTE: I am not going to tag a new version soon. I plan to do more testing before a new release.
I think now it's ready for developers to try out new features in the dev branch. For ENUNU users, I'd recommend to use the tagged version (v0.0.2) though.
I've added a bunch of new documentation, which will be deployed to https://r9y9.github.io/nnsvs/ after merging this PR.
Fixes #41 #43 #85 #95 #100 #106

CI failure looks like a pysptk's issue (https://github.com/r9y9/pysptk/issues/90). I'll merge and deploy docs.

OK documentation is up at https://r9y9.github.io/nnsvs/. New changes in this dev branch are summarized at https://r9y9.github.io/nnsvs/changelog.html.
Here are some highlights:

Overview of NNSVS's system https://r9y9.github.io/nnsvs/overview.html
Hyperparemter optimization: https://r9y9.github.io/nnsvs/optuna.html
Update guide: https://r9y9.github.io/nnsvs/update_guide.html
Tips: https://r9y9.github.io/nnsvs/tips.html


Add appveyor.yml to build in https://www.appveyor.com

@yiylin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Problem pdf rendering when mixing column breaks with wide tables

Additional Details
For some reason Homebrew won't display the table when it tries to render as a pdf. If I remove the backticks it renders correctly but then my columns aren't aligned like I want them to be.
http://homebrewery.naturalcrit.com/share/Sk4HEqtXf

Closing because this appears to be solved.


HttpLoggingInterceptor cause download progress problem

Bug report.
i used #1568 for downloading a file that more than 20M. it calls update method Within 2 seconds of the end of the download. i removed the HttpLoggingInterceptor Interceptor, it goes ok.
in HttpLoggingInterceptor.java i find the following code
source.request(9223372036854775807L);
how can i solve this bug.
thanks

There is no bug. The logging interceptor buffers the entire response in memory which will affect things like observing progress (assuming the progress indicator is prior to the logging interceptor in the chain). This is by design as there's no other way to log the body unless we load it into memory. If you want to ensure that progress works use a logging level lower than BODY. It will also prevent OOMs on very large files.

thanks for your advice. i used Level.NONE in released apk.
i find another way to solve this. is to call addInterceptor(loggingInterceptor) before addInterceptor(new FileDownloadInterceptor()), the progress Interceptor will be prior to the logging interceptor in the chain.
thanks so much

@cd-butterfly @JakeWharton I run into the similar problem when I try to implement the ProgressInterceptor for listening on download progress update. When I remove HttpLoggingInterceptor (in release build), the progress will not be updated. It works well when i re-add the HttpLoggingInterceptor. Could you guys help to give some advices?

@cd-butterfly @JakeWharton I run into the similar problem when I try to implement the ProgressInterceptor for listening on download progress update. When I remove HttpLoggingInterceptor (in release build), the progress will not be updated. It works well when i re-add the HttpLoggingInterceptor. Could you guys help to give some advices?
Here is my code:

Interceptor
ProgressResponseBody

It's my mistake when i use a PublishSubject to emit the progress but i already disposed the Subscription it when receive the Response. That why i cannot receive any progress update. Thank you.


Ensure AIX repos are enabled before running the yum role

If the repos are not enabled before running the yum update task, ansible will hit this error
fatal: [test-ibm-aix71-ppc64-1]: FAILED! => {"changed": false, "msg": "There are no enabled repos.\n
Run \"yum repolist all\" to see the repos you have.\n
You can enable repos with yum-config-manager --enable <repo>\n"
, "rc": 1, "results": []}

The repos we use are
AIX_Toolbox
AIX_Toolbox_71
AIX_Toolbox_noarch

Disabled repos listed in /opt/freeware/etc/yum/yum.conf will have enabled=0 listed under each repo entry. Its just a case of having an ansible task which ensures that enabled=1 is present, or something equivalent, before running the yum update task

Using the ansible yum_repository module  is a bit tricky since it expects repos to be in their own .repo file, and not in /opt/freeware/etc/yum/yum.conf as they are on our AIX machines

We need to try and get some of the backlog of AIX issues closed - let's aim to resolve this during July.

Is there a reason we ended up with a machine in that state? Odd to have to correct for it since I'd normally expect it to always be enabled once it's installed.

If I recall correctly, the repos on the two ibm machines were disabled out of the box

Closing as https://github.com/adoptium/infrastructure/pull/2287 is merged


Receiving type error at runtime

Hi -
After I set up the project I was able to run the first example, but not the second (python examples/run_sim.py) due to what looks like a data type mismatch. Because I didn't specify any data types in the code, I wonder if this is a bug?
See my command prompt code and log below:
(covasim) C:\Users\laurel\covasim>python examples/run_sim.py
Importing...
Covasim 0.22.0 (2020-03-31) — © 2020 by IDM
Note: synthpops (for detailed demographic data) is not available (No module named 'synthpops')

Elapsed time: 3.06 s
Making sim...
Running...
TEMP init people
  Creating 20000.0 people...
  Created 20000 people, average age 38.58 years
  Running day 0 of 60 (0.60 s elapsed)...
  Running day 1 of 60 (0.60 s elapsed)...
  Running day 2 of 60 (0.60 s elapsed)...
Traceback (most recent call last):
  File "examples/run_sim.py", line 35, in <module>
    sim.run(verbose=verbose)
  File "C:\Users\laurel\covasim\covasim\sim.py", line 396, in run
    transmission_inds = cvu.bf(thisbeta, person.contacts)
  File "C:\Users\laurel\covasim\lib\site-packages\numba-0.48.0-py3.8-win32.egg\numba\dispatcher.py", line 574, in _explain_matching_error
    raise TypeError(msg)
TypeError: No matching definition for argument type(s) float64, array(int32, 1d, C)

Hi Lauren,
I'm not able to reproduce this error.  Could you give a few more details? How did you install? (virtual environment? Did you use pip or from source?).  Thanks!

Not able to reproduce

I have the same error . I flow all steps ,but I can't run any example . the only example I can run is the first . any one can help me with this. this my first time with python .

Hi @khmoud75  -- the model uses advanced Python features so if this is your first time using Python, it may be quite challenging to get up to speed. We recommend completing a scientific computing in Python online course first, e.g.:
https://scipy-lectures.org/
https://www.enthought.com/courses/python-for-scientists-and-engineers/

Hi @ckerr-IDM  thank you for your answer . yes I new with python, but I can learn fast. I get the below error message . I need find solution to it can you help me please?
C:\Users\User\Downloads\covasim-master>python examples/run_sim.py
Importing...
Covasim 0.23.5 (2020-04-06) — © 2020 by IDM
Note: synthpops (for detailed demographic data) is not available (No module named 'synthpops')
Configuring...
Making sim...
Running...
Creating 20000 people...
Traceback (most recent call last):
File "examples/run_sim.py", line 43, in
sim.run(verbose=verbose)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\sim.py", line 436, in run
self.initialize()
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\sim.py", line 160, in initialize
self.init_people(**kwargs) # Create all the people (slow)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\sim.py", line 264, in init_people
cvppl.make_people(self, verbose=verbose, id_len=id_len, **kwargs)
File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\covasim\people.py", line 255, in make_people
import synthpops as sp # Optional import
ModuleNotFoundError: No module named 'synthpops'

Hi @khmoud75 -- please reinstall Covasim, I see you are using version 0.23.5 but the current version is 0.28.6. I suggest checking the documentation regularly for updates:
https://institutefordiseasemodeling.github.io/covasim-docs


changing options in the grid node widget may not immediately trigger the correct change

example:

from guess shape, change to specify shape
specify a shape that works, but is incorrect
go back to guess shape.
data will stay in the specified shape

Fixed in #95


Vulnerability roundup 65: qemu-3.1.0: 1 advisory

search, files

[ ] CVE-2019-8934 (nixos-unstable, nixos-19.03)

Scanned versions: nixos-unstable: 373488e6f4c; nixos-19.03: ff9c3f0f26d. May contain false positives.

See also #56369

unstable: qemu 4.0.0 is not affected

This affects only PowerPC architecture. I guess this is not relevant for us?


Require clojure.main before use

Was this causing an error for you when the require wasn't there? Just curious.

Yes, it was finding clojure.main the class instead, because clojure.main wasn't loaded yet
Fri May 31 12:40:05 GMT+01:00 2019 Zach Oakes<EMAIL_ADDRESS>
Was this causing an error for you when the require wasn't there? Just curious.
—
You are receiving this because you authored the thread.
Reply to this email directly,  view it on GitHub [https://github.com/oakes/Nightlight/pull/56?email_source=notifications&email_token=ABO2DWUU56PIL4C3DJMB5O3PYEFBJA5CNFSM4HRVRFFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWU7UII#issuecomment-497678881] , or  mute the thread [https://github.com/notifications/unsubscribe-auth/ABO2DWW6ZGD3AGQQCVAIMD3PYEFBJANCNFSM4HRVRFFA] . [https://github.com/notifications/beacon/ABO2DWSG6JH3O5CFECA6BTTPYEFBJA5CNFSM4HRVRFFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWU7UII.gif]

Thanks!


Spring 2018 - FAQ updates

Includes updates to the FAQ page:

Text updates
City contact updates
New examples of tax records from previous Large Lots rounds
New community ambassador contacts


Asynchronous forward pipeline for complex inference procedures

Many times, I found myself writing duplicated yet not-so-duplicated code for multi-model inferencing. For example:

In whatever project, there is a people-counting model called model1 and another panoptic segmentation model named model2, and I'm uploading the inference result of both model 1 and model2 to a web server. Things are clear so far.
The problem is that for the input camera1, the prediction result of model1 may not be real-time, and the number of people in the screen will change only for every few seconds, so every maybe five seconds, I need model1 to inference; on the contrary, model2 and the original input from camera1 are uploaded synchronously, that is, each frame of the picture from camera1 must have a one-to-one correspondence with each output of model 2. To achieve this, I need to start two threads or the same number of coroutines or something like that, running model1 and model2 separately. Among them, as long as model1 completes the inference, the result will be uploaded; and the picture of camera1 must wait for model2's output of the same picture before they are uploaded together.
So I started neetbox.pipeline, my purpose is, to prepare for the procedure above mentioned, only a few codes are needed:
@pipeline.input("camera1")
class camera1: ...

@pipeline.node("model1", inputs={'camera1':camera1})
class model1: ...

@pipeline.node("model2", inputs={'camera1':camera1})
class model2: ...

@pipeline.endpoint("websocket", inputs={'from_model1':model1,'sync_result_of_model2':[model2,camera1]})
class websocket:
    if input is from_model1:
        upload_model1(input)
    if input is sync_result_of_model2:
        upload_camera1(input[1])
        upload_model2(input[0])

The idea was great, but not easy. Things are becoming harder for more complex forwarding and inference procedures. @PaperCube told me something about Directed Acyclic Graph which makes some sense. See also What is tape-based autograd in Pytorch? to get my point. Does anyone have some suggestions?

NEETBOX is going on another way. pipelines will be dropped recently and won't be mentioned again in a short period of time.


updated latest patch version for ruby-2.1 and 2.0

2.1.6 is not available on OS X yet (see the builder).
The patchlevel on 2.0.0 also guarantees us a minimum version, what is the advantage of removing it?

ok. Removing specific patch version will ensure that travis alway check against the latest patch...

Right, I remember adding the patch number to force OS X builder to use sth recent enough.
So I guess we'll need to wait a bit more before doing this update.

:+1:

Fixed!

:+1:


How to calculate the actual bytes and total bytes of a JSON object in flutter using Dio plugin

I am using the Dio plugin to download a file via JSON from the server.
I want the show the download percentage while the JSON body is being downloaded. For that reason, I need the actual bytes and the total bytes being downloaded. But the problem is I don't actually know how to calculate actual bytes and the total bytes of the JSON.
Response response = await dio.post(
                  'https://mywebapi.mycompany.domain/GetAttachmentContentAsByte',
                  onReceiveProgress: (actualBytes, totalBytes) {
                    print('actualBytes :  $actualBytes');
                    print('totalBytes :  $totalBytes');
                    var percentage = actualBytes / totalBytes * 100;
                    if (percentage < 100) {
                      _percentage = percentage / 100;
                      setState(() {
                        downloadMessage = 'Downloading... ${percentage.floor()}%';
                      });
                    } else {
                      downloadMessage = 'Successfully downloaded! Click to download again.';
                    }
                  },

                  data: requestBody,
                );
              },

Here is the print log:

Here is the UI:

Looking at the documentation of ProgressCallback, which is the parameter type of onReceiveProgress, it looks like the response body is not known in advance:
/// Callback to listen the progress for sending/receiving data.
///
/// [count] is the length of the bytes have been sent/received.
///
/// [total] is the content length of the response/request body.
/// 1.When receiving data:
///   [total] is the request body length.
/// 2.When receiving data:
///   [total] will be -1 if the size of the response body is not known in advance,
///   for example: response data is compressed with gzip or no content-length header.
typedef ProgressCallback = void Function(int count, int total);


information_schema.columns data_type has uppercase values

I was trying to use the Grafana MySQL data source with this library, and it makes the following query to get autocomplete results for a column dropdown:
SELECT column_name FROM information_schema.columns WHERE table_schema = database() AND table_name = 'mytable' AND data_type IN ('timestamp','datetime','bigint','int','double','float') ORDER BY column_name

This works on real MySQL servers (at least the one I tested), but returns no results for the information_schema database provided by this library. I believe the reason is that the information_schema from this library uses uppercase values for the data_type column (e.g 'DOUBLE', 'BIGINT', etc.), so no results come back. Would it make sense to make the values in this column lowercase?

Yes, it would totally make sense to make them lowercase.


Fix user creation for users with accented characters in their usernames

Steps to Reproduce

Create a user with some vowels in the username
Create another user with the same username, but change some/all of the characters to their accented equivalents (e.g.: online-user and önlínê-user)

Expected Behavior
The users exist in both mitxonline and Open edX
Actual Behavior
For unexplained reasons, edX treats both of those usernames as the same, so only the more recent user will have a User record on the Open edX side, and one or both users will experience some of the auth/enrollment issues that we saw before we patched up username creation and validation
Related Issues
#202
https://github.com/mitodl/mitxonline/pull/244
Implementation

Add a new field to the mixonline User model (normalized_username or something like that)

Should be indexed and unique.
Should have a data migration that fills in this field for all existing usernames. The value should be the current username with accent characters 'normalized' to unaccented versions.

When validating a new user, the username should be 'normalized' to an unaccented version and checked against this new field. If the same normalized username already exists, the user should see the same validation message that they would see if another user existed with the exact same username value

Example: user with username üser1 already exists, then someone else tries to create a user with username user1. That should trigger a validation error, and they should see the message Username 'user1' already exists or whatever the validation message is currently for an exact-match username collision. It's not necessary to tell them about the accented character constraints – we should be fine with just telling them to try a different username

Note that when we were looking into some other issues with usernames, we discovered a few users who have a username conflict due to the fact that there are some usernames that differ only by accents. They can be found in the Accent Issues section of this document


JDKIM-47 James-jdkim should not depend on a logging library implemetation

As discussed here: https://github.com/linagora/james-project/issues/4453
We should switch to slf4j instead of depending on a logging library implementation like log4j.
The weird thing is I do not need any refactoring following this change. James JDKIM likely does not use any logging since then?

Likely not. Then we can remove the logger dependencies IMO.
Also there seems like there is a compilation error...

mvn -U -B -e clean install -DskipTests -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS

/home/jenkins/tools/maven/latest3//bin/mvn: 194: exec: /home/jenkins/tools/java/latest11/bin/java: Exec format error

Odd... Might want to try that on local

mvn -U -B -e clean install -DskipTests -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS

/home/jenkins/tools/maven/latest3//bin/mvn: 194: exec: /home/jenkins/tools/java/latest11/bin/java: Exec format error

Odd... Might want to try that on local

Why CI have this params in its build command: -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS ?
I did not try these params on my local TBH.

Exec format - might mean a different CPU architecture  https://mkyong.com/java/bash-usr-bin-java-cannot-execute-binary-file-exec-format-error/

https://issues.apache.org/jira/browse/INFRA-22620?jql=project %3D INFRA AND resolution %3D Unresolved ORDER BY created DESC%2C priority DESC%2C updated DESC
This must be caused by https://github.com/apache/infrastructure-p6/pull/912
It looks like the ARM64 .deb has been installed instead of the AMD64 one.


Selection of PrivateKey alias from keystore returning non-PrivateKey aliases

Selector was simply choosing the first alias it was given in the case where an explicit alias was not specified. In the case of keystores with entities other than PrivateKeys, this could/would possibly return a certificate or password entry, which would cause an exception when attempting to use it as a PrivateKey.

Sorry - this email was filtered by gmail into a folder I don't check often.
I have not had time to put together a test. It will require the addition of
test keystore files. I will try to find some time soon.
Thanks!
Dan
On Fri, Jun 29, 2018 at 1:49 AM LELEU Jérôme<EMAIL_ADDRESS>wrote:

What's the status on this? Can you add a test to confirm the fix? Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pac4j/pac4j/pull/1150#issuecomment-401264290, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYU77eZeHAlqOYaRnEsfW5cjOgoEDAjzks5uBc3tgaJpZM4UqCKL
.

--
Dan

Probably the milestone should be changed: since 3.1.0 has been already released

Indeed. Done

Will merge the change and add the tests.


Validator not working on sub-schema

I attached a custom validator to a sub-schema. Unfortunately it is never called when submitting a form.
But it seems to be supported in the UI of autoform. The sub-schema is shown with afQuickField inside a bootstrap panel (when using autoform-bootstrap). When I attach the validator to the main schema and return an error message then the error message is shown right under the panel header (beside various other places). So it would make sense to attach a validator to a sub-schema and use that panel error field when a sub-schema error occurs.

I have the same issue. It seems like the AutoForm.getFormId() doesn't return a value when used in a sub-schema. I must mention that I'm still runing AutoForm 5.5.1 (meteor 1.1) so I'll try to upgrade and see if it's fixed.
@medihack Did you found a workaround outside of not using a sub-schema?

Same issue with AutoForm 5.7.1 and SimpleSchema 1.3.3 (Meteor 1.2)

No, I simply workaround it by adding the validator to the main schema and validate the sub schemas there. It is no big deal, but adding the validator to the sub schema directly would be nicer.

+1

Yeah, currently subschemas are merged into the topmost schema in the constructor and cease to be separate schemas. We could and probably should eventually keep them distinct and cascade down as necessary, but it is a bit of a can of worms. Will keep this open to fix eventually.

Would love to see this fixed. Let me know how I could help.

Thanks for your patience. SimpleSchema 2.0.0-rc.1 is now released and includes changes that resolve this issue.
There are a number of breaking changes when updating to 2.0, so be sure to check out the change log. If you use aldeed:collection2, you will need to use 2.10.0 or higher of that package in order to use SimpleSchema 2.0. If you use autoform, it is not yet updated to work with SimpleSchema 2.0, but hopefully soon.
SimpleSchema is now an isomorphic NPM package, so you can check out the updated readme and file issues over at the other repo. The Meteor wrapper package will exist for now but eventually I will probably deprecate support for it.
This is still a beta/RC and I do expect people will find issues, so use with caution. Production use is not yet recommended. That said, there are more and better unit tests than ever before, and the codebase should be much easier for others to read through and debug quickly.


Animation lag when navigating to screen with TextField with autoFocus set to true on iOS

This effects only iOS. tested on iPhone 6 and iPad (3rd gen)
##Demo
https://drive.google.com/file/d/1LPMdNMf6z6yYBCYM3JMegMx-SQw0vGUs/view?usp=sharing
Steps to Reproduce

set autoFocus = true on first TextField in text_form_field_demo.dart of Flutter Gallery.
Run the gallery in release mode and navigate to Material -> Text Fields
observe the lag.

if autoFocus = true is not set, then navigation animation is smooth. this seems to happen when the keyboard pops up.
[✓] Flutter (Channel dev, v0.5.8, on Mac OS X 10.13.2 17C88, locale en-IN)
    • Flutter version 0.5.8 at /Users/hari/development/flutter
    • Framework revision e4b989bf3d (2 weeks ago), 2018-08-09 09:45:44 -0700
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.0.0-dev.69.5.flutter-eab492385c

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/hari/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.26.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.17.1

[✓] Connected devices (1 available)
    • iPad • 4517c71cd57462f4d77e237e4ead89f44ce99fa1 • ios • iOS 10.3.3

• No issues found!

i think #20974 is related to this.

Also experiencing this which creates a jarring experience for the user. The only options we have right now is to manually focus the field after a delay, or just disable the autofocus flag completely.

I am facing the same issue for IOS when autofocus is true the page transition and hero animation is lagging but on android it works super smooth. This issue is only when we open the page with an autofocus is true but while going back to the old page works fine.
any solution ?

Hi @hariprasadiit
adding to text_field_demo.dart
on line 189 autofocus: true,  and running flutter gallery with the latest master
doctor
[✓] Flutter (Channel master, 1.21.0-2.0.pre.94, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.21.0-2.0.pre.94 at /Users/nevercode/development/flutter_master
    • Framework revision adc9dde3ba (12 hours ago), 2020-07-21 16:17:23 -0700
    • Engine revision 5a73d4dc25
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 84e5eeaea4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (4 available)
    • iPhone 11 Pro Max (mobile) • D6967F45-CB0F-4D4E-AFD5-278816A21CAE • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web)           • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

the animation lag still occurs
Thank you

The lag still occurs. I've created a search page with a text field and when using autofocus the page transition animation is extremely laggy. I hope there is a workaround for the problem.

This lag occurs with Gboard as well, although much less pronounced.

This still a thing. If you are on a screen with the keyboard open and navigate back the animation is super laggy.

This happens even on android.
Here's an alternate method to achieve this for time being(prolly not the efficient way but does seem to work).
var focusNode = FocusNode();

  @override
  void initState() {
    super.initState();
    focusManager();
  }

  focusManager() async {
    await Future.delayed(Duration(milliseconds: 200));
    focusNode.requestFocus();
  }

TextField(focusNode: focusNode);

Keep going :c

Well when I saw that issue created 24 Aug 2018, I was hoping it's resolved, or at least there is a workaround, seriously it's still open without any comments? It's a crystal clear problem with reproducible code.

Same issue here

@TahaTesser would you mind to re-triage the issue
here is the repro code (nothing more than a snippet from flutter/gallery with the changes mentioned here)
Apparently the issue occurs on macos as well, I do not own a physical iPhone to test in profile/release mode

I can reproduce a slight lag while the keyboard opens. I do not see a lag on MacOS. Updating labels

@TahaTesser would you mind to re-triage the issue here is the repro code (nothing more than a snippet from flutter/gallery with the changes mentioned here) Apparently the issue occurs on macos as well, I do not own a physical iPhone to test in profile/release mode

Can you please explain where you reproduce the lag on macOS? In Snackbar?  I don't observe a lag in the snackbar in animation.

@TahaTesser would you mind to re-triage the issue here is the repro code (nothing more than a snippet from flutter/gallery with the changes mentioned here) Apparently the issue occurs on macos as well, I do not own a physical iPhone to test in profile/release mode

Can you please explain where you reproduce the lag on macOS? In Snackbar? I don't observe a lag in the snackbar animation.

I think that he forgot to mention that you must copy the TextFieldDemo class code to replace the same class in the flutter/gallery repo and navigate from the home page to that page to see the lag.
I recorded the behavior on macOS, you can notice the first time it navigated to the TextFieldDemo page, it skipped some frames (nearly can't see the transition animation). Only happened in the first time.

flutter doctor -v (stable)
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.3.10 on channel stable at /Users/trunghoang/flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 135454af32 (3 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (1 available)
    • macOS (desktop) • macos • darwin-x64 • macOS 12.6 21G115 darwin-x64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

https://user-images.githubusercontent.com/37343767/211045440-bd678c40-e883-4082-895e-b422b56bbd30.mov

Running the Gallery app locally (with the proposed changes above), I can see this issue. Though the video provided above is clearer than what I get recording it

same issue on android


latest openssh security update breaks chacha20-poly1305

Hi team!
Oracle Linux 8.9
5.4.17-2136.326.6.el8uek.x86_64
OpenSSH_8.0p1, OpenSSL 1.1.1k
After upgrading to
Name         : openssh
Version      : 8.0p1
Release      : 19.el8_9.2
cannot ssh anymore using chacha20-poly1305 cipher getting Bad packet length and Connection corrupted errors. Everything works using, for example, AES256.
Openssh rollback to the previous version fixes the issue.
Could it be a bug? Thanks

Can you post logs/evidences on the issue you're facing ? Please share also the client details and OS! Thanks

Yes sure
Client  openssh-9.0p1-18.fc38.x86_64
openssl version OpenSSL 3.0.9 30 May 2023 (Library: OpenSSL 3.0.9 30 May 2023)
Client OS: Fedora release 38 (Thirty Eight)
ssh -vvv -o<EMAIL_ADDRESS><IP_ADDRESS>
OpenSSH_9.0p1, OpenSSL 3.0.9 30 May 2023
debug1: Reading configuration data /home/user/.ssh/config
debug1: /home/user/.ssh/config line 19: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host <IP_ADDRESS> originally <IP_ADDRESS>
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname <IP_ADDRESS> is address
debug1: re-parsing configuration
debug1: Reading configuration data /home/user/.ssh/config
debug1: /home/user/.ssh/config line 19: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host <IP_ADDRESS> originally <IP_ADDRESS>
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/user/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/user/.ssh/known_hosts2'
debug1: auto-mux: Trying existing master
debug1: Control socket<EMAIL_ADDRESS>does not exist
debug3: ssh_connect_direct: entering
debug1: Connecting to <IP_ADDRESS> [<IP_ADDRESS>] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/user/.ssh/id_rsa type 0
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: identity file /home/user/.ssh/id_ecdsa type -1
debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/user/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/user/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/user/.ssh/id_ed25519 type 3
debug1: identity file /home/user/.ssh/id_ed25519-cert type -1
debug1: identity file /home/user/.ssh/id_ed25519_sk type -1
debug1: identity file /home/user/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/user/.ssh/id_xmss type -1
debug1: identity file /home/user/.ssh/id_xmss-cert type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: identity file /home/user/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
debug1: compat_banner: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to <IP_ADDRESS>:22 as 'user'
debug3: record_hostkey: found key type ED25519 in file /home/user/.ssh/known_hosts:1555
debug3: load_hostkeys_file: loaded 1 keys from <IP_ADDRESS>
debug1: load_hostkeys: fopen /home/user/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: have matching best-preference key type<EMAIL_ADDRESS>using HostkeyAlgorithms verbatim
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256<EMAIL_ADDRESS>debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
debug2: ciphers ctos<EMAIL_ADDRESS>debug2: ciphers stoc<EMAIL_ADDRESS>debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-cbc
debug2: ciphers stoc: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-cbc
debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: compression ctos<EMAIL_ADDRESS>debug2: compression stoc<EMAIL_ADDRESS>debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug1: kex: curve25519-sha256 need=64 dh_need=64
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 ...
debug3: record_hostkey: found key type ED25519 in file /home/user/.ssh/known_hosts:1555
debug3: load_hostkeys_file: loaded 1 keys from <IP_ADDRESS>
debug1: load_hostkeys: fopen /home/user/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '<IP_ADDRESS>' is known and matches the ED25519 host key.
debug1: Found key in /home/user/.ssh/known_hosts:1555
debug3: send packet: type 21
debug2: ssh_set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: ssh_set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: agent returned 4 keys
debug1: Will attempt key: /home/user/.ssh/id_rsa
debug1: Will attempt key: /home/user/.ssh/id_ed25519
debug1: Will attempt key: /home/user/.ssh/id_ecdsa
debug1: Will attempt key: /home/user/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/user/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/user/.ssh/id_xmss
debug1: Will attempt key: /home/user/.ssh/id_dsa
debug2: pubkey_prepare: done
debug3: send packet: type 5
Bad packet length<PHONE_NUMBER>.
debug2: sshpkt_disconnect: sending SSH2_MSG_DISCONNECT: Packet corrupt
debug3: send packet: type 1
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 22: Connection corrupted

When I rollback ssh to the previous version at the server everything works fine.
Please tell me which details I should add to help you to investigate

P.S. with Ubuntu clients this issue is present by default (looks like it prefers chacha20-poly1305 by default)
Another affected client example:
OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022
Ubuntu 22.04.3 LTS

CVE-2023-48795 (Terrapin) calls out chacha20-poly1305 (as well as the *-etm ciphers) as broken in openssh; the new version is supposed to contain a fix for this issue, but apparently is not quite doing the right thing. We're opening an internal bug on this to analyze and fix.

Temporary workaround is to disable the Terrapin-related cipher/MAC set at the policy level. To do that, create a file named
/etc/crypto-policies/policies/modules/CVE_2023_48795.pmod
and put this in it:
ssh_etm = 0```
Then make that take effect with:
```update-crypto-policies --set $(update-crypto-policies --show):CVE_2023_48795```
and restart sshd.

openssh update perfomed on Feb 2 2024 breaks login with default ciphers.

Seeing the same issue from Ubuntu to OL8 systems.  From a bug report at Ubuntu:
I believe this issue is caused by a bad backport in Oracle's 8.0p1-19.el8_9.2 package. I think their fix for CVE-2023-48795 isn't properly adding<EMAIL_ADDRESS>to their KEX. Downgrading the Ubuntu package works around the problem as that prevents the client from offering<EMAIL_ADDRESS>

Just to add me too. We also experienced exactly the same problems with SSH interconnectivity since the last update.

It would help my situation if there is a new release that machines with the faulty package will update to.

Same problem with 8.0p1-19.el8_9.2.x86_64 on a few machines here

Affects connections from PuTTY 0.80 (latest stable release) too.

arch/manjaro SSH client has the same problem:
$ ssh -v
OpenSSH_9.6p1, OpenSSL 3.2.0 23 Nov 2023
Any ETA please?

Thank you very much for the report and the detailed reproduction instructions. A fix for this was released, and announced here: https://linux.oracle.com/errata/ELSA-2024-12164.html


Incompatible with cumulusci, HEDA, and Translation Workbench

When I populate a scratch org through cumulusci to include HEDA and EASY the installation of EASY fails if the scratch org has Translation Workbench enabled.
The complaint is that the Application_Admin permission set specifies the CustomizeApplications  which depends on ManageTranslation (which is not present in Application_Admin.)
Scratch org shape:
dev.json
{
    "orgName": "Test - Dev Org",
    "edition": "Developer",
    "features": ["Communities"],
    "settings": {
      "orgPreferenceSettings" : {
          "sendThroughGmailPref" : false,
          "s1DesktopEnabled": true,
          "networksEnabled" : true,
          "chatterEnabled"  : true,
          "notesReservedPref01" : true,
          "pathAssistantsEnabled" : true,
          "translation" : true
      },
      "liveAgentSettings" : {
          "enableLiveAgent" : true
      },
      "fieldServiceSettings" : {
          "fieldServiceOrgPref" : false
      }
    }
  }

Cumulus project configuration
cumulusci.yml
project:
    name: rearchitecture
    package:
        name:  rearchitecture
        api_version: '43.0'
    dependencies:
        - github: 'https://github.com/SalesforceFoundation/HEDAP'
        - github: 'https://github.com/SalesforceFoundation/EASY-Open-Source-Solution'

Scratch org population command:
cci flow run dev_org --org dev

This is a conflict between orgs that have translations enabled and those that don’t. Since the majority don’t, we don’t include it as part of the permission set. To get around this, you’ll want to either remove the Application Admin permission set or modify it to include the ManageTranslation permission before deployment to the scratch org.

Oh sorry, I didn't see that you already had a closed issue about this from December - I would have commented there. (https://github.com/SalesforceFoundation/EASY-Open-Source-Solution/issues/6)
The "recommended" way to rename HEDA's email and phone fields is by using translation workbench (https://powerofus.force.com/articles/Resource/HEDA-and-Translation). I know EASY is designed to not require HEDA, but many of your users in higher education are using both.
Would you consider moving the permission sets to the unpackaged folder? I don't believe that would affect your users who do not use Translation Workbench, but it would allow those of us who do to use cumulusci's skip feature to skip the problematic permission sets. (https://cumulusci.readthedocs.io/en/latest/features.html#skipping-unpackaged-in-reference-repositories)
For instance using a cumulus.yml file that looks like this:
cumulus.yml
project:
    name: Test
    package:
        name:  Test
        api_version: '43.0'
    dependencies:
        - github: 'https://github.com/SalesforceFoundation/HEDAP'
        - github: 'https://github.com/SalesforceFoundation/EASY-Open-Source-Solution'
          skip: 'unpackaged/post/permissionsets'

@nicolas-scarrci I'll take a look at that. While we have CumulusCI in the repository, but the installation instructions still talk about using regular Ant to install. I'd want to update those instructions before assuming everyone is installing using CumulusCI.
Also, we would have to include it in the unmanaged package installation link and manually move it to the unpackaged folder when we pull down the latest version from our development org (I realize this could all be automated, but I haven't invested the time to do so at this point).


I can not work on Adrilight

Good day.
I can not work on Adrilight.
I have a tape on the monitor
Model 2312B for 102 diodes; horizontal for 31 diodes; vertical for 20 diodes.
I also use Arduino nano.
This whole bundle works great with Ambibox and Prismatik, but not how I can not work on Adrilight.
Characteristics of my PC
Windows 7 64bit (I5-2500K 16Gb DDR3 RX580 8GB)
What I did and what the result was.

I pierced the sketch in aurdino nano, before the firmware I indicated the number of diodes and the PIN number.
I have 102 diodes and PIN 13
installed the Adrilight program.
In the program Adrilight
indicated COM port (I have COM10) and the number of diodes horizontally 31 and vertical 20.
The calculator counted as 98 dids, changed the value to 33 and 20, the calculator showed a new value of 102 diodes, the same as written in the sketch.
I restart the computer.
After the reboot, all the diodes shimmer in different colors in a circle like
rainbow. After starting the program Adrilight LEDs go out.
I go into the Adrilight program and try to go to the preview, there is no capture image, just a gray square.
I tried to switch all switches, run Adrilight as administrator, but the result is the same.
I tried the early versions of this program, it does not work on one.
What am I doing wrong ?
Sorry for my bad English, I am writing through an online translator.

update to windows 10 is the only way( you should do this)
windows 7 do not support the desktop duplication engine that implemented in adrilight
also windows 7 is not Ideal for running any ambilight software (ambibox using GDI FS aero to capture screen on windows 7 and the performance can not compare to windows 8 and 10 using desktop duplicator)

update to windows 10 is the only way( you should do this)
windows 7 do not support the desktop duplication engine that implemented in adrilight
also windows 7 is not Ideal for running any ambilight software (ambibox using GDI FS aero to capture screen on windows 7 and the performance can not compare to windows 8 and 10 using desktop duplicator)

Thanks for the answer.
Tell me how this program behaves in games, does the backlight work in games?

Yes it does work with games under win10 really well up to 60fps for me, perfect the effects are gorgeous. I don't think I have encountered a game that does not work. It doesn't stress much the system. I run this on two Different computer n3450 that I limit to 30fps and i3570k + gtx970 for gaming purpose both work flawlessly for their use.

Yes it does work with games under win10 really well up to 60fps for me, perfect the effects are gorgeous. I don't think I have encountered a game that does not work.
It doesn't stress much the system!
I run this on two Different computer n3450 that I limit to 30fps and i5 4690k + gtx970 for gaming purpose both work flawlessly for their use.
Again Fabian thanks for creating this, works many hours per day without a hitch.

Thanks for the answer, I'm very glad that the backlight in games works with this program!
If there really is a backlight in games, then this program compares favorably with its counterparts (Ambibox Prismatik)
The main goal for me is the work of highlighting in games.
I will install Windows 10 and test.

@Oleg7874 which country are you from, I am curious? :-) Also feel free to provide a picture of your setup as I really like seeing others using adrilight! :heart: :trumpet:
Did you test it with windows 10? I was following your description and you set up the LED counts correct as far as I can tell. As a last test, you could the send random colors switch in adrilight. This will send random colors (hence the name!) to the arduino. From what I can tell, this should work on your windows 7 system.
The LEDs are black because the preview is black as well because windows 7 is not supported by adrilight. You should definetly upgrade anyway because win 7 is going out of support anyway.

@Oleg7874 which country are you from, I am curious? :-) Also feel free to provide a picture of your setup as I really like seeing others using adrilight!
Did you test it with windows 10? I was following your description and you set up the LED counts correct as far as I can tell. As a last test, you could the send random colors switch in adrilight. This will send random colors (hence the name!) to the arduino. From what I can tell, this should work on your windows 7 system.
The LEDs are black because the preview is black as well because windows 7 is not supported by adrilight. You should definetly upgrade anyway because win 7 is going out of support anyway.

Good day.
I'm from Ukraine.
I have not tried it on Windows 10, but I will definitely test it in the near future.
Here is a video of my monitor, with backlight https://www.youtube.com/watch?v=tRqemQsiROE&feature=youtu.be


Automated Package Upgrade

:tada: This PR is included in version 5.0.47 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Automated Testing

Not really sure the best way to make this code so that you can have your own tests and be ignored by git

so this is for integration tests?

Correct, requires a separate bot token, to send a message mimicking a user. Just need to run npm run test in another terminal

This is broke from #511
And idk how to get the token to work now because its in a separate folder

Reverted this commit because it broke this PR, and I feel it was very unnecessary to begin with.

Reverted this commit because it broke this PR, and I feel it was very unnecessary to begin with.

That PR didn't change any of the logic behind the env vars, so it shouldn't be affecting this PR.

Reverted this commit because it broke this PR, and I feel it was very unnecessary to begin with.

That PR didn't change any of the logic behind the env vars, so it shouldn't be affecting this PR.

I get INVALID_TOKEN error and cant seem to pass it in. It was more straightforward before that PR

Ok let me see if I can get it working, the only difference between my PR on the previous code is process.env.{token} instead of Environment.{token}

You're not loading in the environment vars when you run the test, it's a different entrypoint to npm run watch. If you change the line in your package.json:
from
"test:serve": "node -r ts-node/register --inspect src/test/tester.ts",

to
"test:serve": "node -r ts-node/register -r dotenv/config --inspect src/test/tester.ts",

It should work

Merging for now, works fine as is
We can tweak it as we see fit


MatchOptions & OptionalMatchRelationship

A smaller set of improvements this time :)

Added MatchOptions.cs to make it easier & neater to compose the match parameters.
See sample usage
Added OptionalMatchRelationship method
Tests added

Have also started using the canonical term identifier instead of paramKey for those new bits

:+1:

thumbs up but no merge? :)

Ha - yeah, sorry - wasn't anywhere I could push a build!


Gradle 5.5-rc1 Extra values not resolving in extension function

We have a few extension functions in kotlin like the following
inline val DependencyHandler.androidGradlePlugin get() = implementation("com.android.tools.build:gradle:${extra["androidGradlePluginVersion"]}")
This works on 5.4 but on 5.5-rc-1 it is now failing with

Cannot get property 'androidGradlePluginVersion' on extra properties extension as it does not exist

Expected Behavior
Should continue to resolve the value from extras
Current Behavior
Fails with error message:

Cannot get property 'androidGradlePluginVersion' on extra properties extension as it does not exist

Context
Was working on 5.4, stopped working on 5.5-rc1. We are using this extension method to clean up our dependencies block as well as having the version in extras so we can have it loaded from a separate kts file.
Steps to Reproduce
Sample Project: https://github.com/AndrewReitz/gradle-extra-5.5-issue
Your Environment
Working Environment:
------------------------------------------------------------
Gradle 5.4.1
------------------------------------------------------------

Build time:   2019-04-26 08:14:42 UTC
Revision:     261d171646b36a6a28d5a19a69676cd098a4c19d

Kotlin:       1.3.21
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
JVM:          1.8.0_201 (Oracle Corporation 25.201-b09)
OS:           Mac OS X 10.14.3 x86_64

Failing Environment:
------------------------------------------------------------
Gradle 5.5-rc-1
------------------------------------------------------------

Build time:   2019-05-29 11:51:19 UTC
Revision:     6c070eb6e47979d5642a181e3efa11bf237dc69c

Kotlin:       1.3.31
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          1.8.0_201 (Oracle Corporation 25.201-b09)
OS:           Mac OS X 10.14.3 x86_64

Scan from Demo Project: https://scans.gradle.com/s/x2mezxz7zkk3k

I suspect this has to do with #7414.
You're getting a different "extra" now (from DependencyHandler instead of Project).  DependencyHandler has always had its own extra properties, but it wasn't visible to the Kotlin DSL until now.
To get to the project's extra properties, you have to go through project.extra.
I think you may want to use create instead of the side effect of adding a dependency to the implementation configuration.
Something like:
inline val DependencyHandler.kotlinStd get() = create("com.android.tools.build:gradle:${project.extra["stdLibVersion"]}")

And then you'd use it as:
dependencies {
   implementation(kotlinStd)
}

/cc @eskatos @bamboo WDYT?

Yes that's #7414, project.extra is now required inside dependencies {} to access the Project extra properties. Just extra point to the extra properties of dependencies itself.
It is expected, I just submitted a PR to mention it explicitly in the upgrade guide
https://github.com/gradle/gradle/pull/9619
Thanks for the heads up @AndrewReitz!


Auth.ts: use a different hashing algo than encryption.ts for login

This way, the hash used to unlock the passwords, won't be the same as the stored hash in memory for authentication.

this is done


Grammar corrections (WIP)

Is there something missing at the end of this sentence:
Serial, array and parallel jobs with Python + NDVI calculation rasterio package (GIS)

Also, the copyright note only covers 2020-2021. I can clone my fork and make a PR. Should it be 2020-2023?

Please note the comments in the commit messages, as well. I can clone and squash the changes into one commit afterwards. I was editing on github.com, and the branch name ended up quite silly.

 I could correct it via a force push if needed.

Great work! The text flows better now :)


Remove useless fork per every file for "git version"

Because Ms Windows has very expensive CreateProcess this operation takes too long time on large file count.

It's nice to have the Git version from users for troubleshooting purposes. However, most of the time this info is unnecessary, and not even linked to the git-lfs binary.
I'd like to merge this, and then include the version for Git LFS and Git at the top of git lfs env.


Cell mask axis order in TINT theme

When running the tracking example of the TINT theme, the cell mask variable in the tracked dataset is reversed from what I expected.
The input gridded NetCDF data look like this, with the usual time, z, y, x ordering, here for nc_grid.reflectivity.
<xarray.DataArray 'reflectivity' (time: 143, z: 31, y: 501, x: 501)>
dask.array<concatenate, shape=(143, 31, 501, 501), dtype=float32, chunksize=(1, 31, 501, 501), chunktype=numpy.ndarray>
Coordinates:
  * x        (x) float64 -2.5e+05 -2.49e+05 -2.48e+05 ... 2.49e+05 2.5e+05
  * y        (y) float64 -2.5e+05 -2.49e+05 -2.48e+05 ... 2.49e+05 2.5e+05
  * z        (z) float64 0.0 500.0 1e+03 1.5e+03 ... 1.4e+04 1.45e+04 1.5e+04
  * time     (time) datetime64[ns] 2017-07-13T08:00:47.333999999 ... 2017-07-...
Attributes:
    long_name:      Reflectivity
    units:          dBZ
    standard_name:  equivalent_reflectivity_factor
    valid_max:      94.5
    valid_min:      -32.0
    coordinates:    elevation azimuth range

Here's the tracks dataset.  True False False
    cell_time             (cell) datetime64[ns] 2017-07-13T08:00:47 ... 2017-...
    cell_id               (cell) object '0' '1' '2' '3' ... '1291' '1211' '1100'
    cell_parent_storm_id  (storm) int64 0 1
    cell_mask             (time, x, y) int64 0 0 0 0 0 0 0 0 ... 0 0 0 0 0 0 0 0
Attributes:
    cf_tree_order:  storm_id cell_id
    tree_id:        28572

Note also that the coordinate data for x and y are not present.
I can achieve my preferred behavior with:
# Copy over coordinate data, and fix swapped cell_mask coordinates.
tracks2=tracks.swap_dims({'x':'y2', 'y':'x2'}).rename_dims({'x2':'x', 'y2':'y'})
tracks2['x']=nc_grid['x']
tracks2['y']=nc_grid['y']
tracks2['z']=nc_grid['z']

I verified the above by naively plotting each dataset with xarray, verifying that zooming with sharex=sharey=True gave a view of the same storm cells.
@rcjackson @zssherman Would you mind if I put together a PR with this change, and if so where in the tracking code would you suggest I make the change?

Hi @deeplycloudy, a PR would be great! I'm not sure on where to add that yet, ill see if I can find a place for it

As a heads up, I think I'm going to tuck this in at the end of make_tracks in tracks.py. I discovered a few other coordinate and variable name things to clean up based on my understanding of the cf-tree idea. I'll add those to the same PR, since it's all metadata and coordinate cleanup.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_860c127a-435d-4258-825d-68c2174c13a9/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_860c127a-435d-4258-825d-68c2174c13a9.git

Docs Build status updates of commit ba11da9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/opstest2/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel