MaskedInput not registering input in React 16.4

Environment

Tech
Version

material-ui-pickers
1.0.0-rc.10

material-ui
1.2.1

React
16.4.1

Browser
N/A

Platform
N/A

Steps to reproduce

Create a DatePicker with mask with React 16.4.1
Attempt to type in the box.

Expected behavior
When I type into input the value should register.
Actual behavior
Value is being cleared immediately thus appearing as if the input is readonly.
Live example
https://codesandbox.io/s/wnljy6rkok
Notes:
I reported a similar issue on the Formik library as well. Without digging into it much, my hunch is that it may be related to the changes to getDerivedStateFromProps in React 16.4 where this now fires on every render.
Also note, this does work if you choose a date first from the picker. This also works using React 16.3.

I'm currently facing a similar issue. I tried downloading the docs project (the website where the docs are stored), and if I try using the options mask + keyboard, when I click on the calendar option and then click "OK", the input value won't update, even though I can see the state of the component did change. I could not get the DatePicker with mask + keyboard to work, neither with React 16.4.1 nor 16.3.

@waclock Problem comes with react-text-mask. When PR is approved, the problem should fix.
https://github.com/text-mask/text-mask/issues/806
While PR approves, you can downgrade react-text-mask to older version.

@TioRuben Thank you, that was indeed the issue. It seems like the PR might be approved in the next days, so I'll just wait for the new release to come. Thanks again.

@TioRuben I've looked at the example, and see that MaskedInput pass value="Unknown" into reactTextMask component. Is this normal? "Unknown" value with mask [/\d/, /\d/, "/", /\d/, /\d/, "/", /\d/, /\d/, /\d/, /\d/] will display as empty value. It's not problem of reactTextMask lib in this case.

Ok, I guess @nzacca issue and (@waclock && me) issue are different. Ours is fixed with your PR, but the codesandbox example from @nzacca has a different behaivour than we experienced.

@waclock @TioRuben I experienced the same issue and was able to work around it by passing:
InputProps={{
  inputProps: {
    readOnly: false
  }
}}

@AmanShurafa this doesn't work for me, as the input mask doesn't show. I can pick the date, and manually enter it, but whithout the //__ mask. Does this work for you?

@TioRuben Try this instead:
InputProps={{
  inputProps: {
    mask: (value: Date) => (value ? [/\d/, /\d/, "/", /\d/, /\d/, "/", /\d/, /\d/, /\d/, /\d/] : []),
    readOnly: false,
    placeholderChar: "\u2000"
  }
}}

@dmtrKovalenko #497 does not appear to have fixed this issue. I have updated the sandbox here with the latest material-ui-pickers (rc11) and material-ui (1.4.0) versions:
https://codesandbox.io/s/2xk3v45lr

@dmtrKovalenko Could you kindly share which release fixes this issue? I have updated the sandbox example again with all of the latest versions and I'm still unable to type into the input box.
https://codesandbox.io/s/vyk5z3j3l
Please advise.


[hr] minutes fix

@EvanHahn ,
Regarding tests...
No problem! I will commit it day after tomorow.

@EvanHahn
Tests included + seconds fix

Merged this manually in d68342869ffeac904ec8fdec6f3810da2a9512be and released this in<EMAIL_ADDRESS>Hvala and good luck in the World Cup today!

Thank you for your wishes!
This is best result in Croatian history, now silver after bronze in 1998. nation is in ecstasy.


Enable retain run template.

This uses the retain run template to retain pipeline runs for 12 months if a pipeline has been approved for release (and completes the tag job).

Related: https://github.com/Azure/azure-sdk/issues/1059

/check-enforcer evaluate


WIP: Pincode alerts

Filtering for pincodes
Added database support for sqlite
Broke alerting down according to the 2000 char limit
Updated config.example.yaml accordingly.

WIP. Merge after we test this.


Eth-light client secret file

Description
Eth light client (webb) should correctly parse seed phrase. Currently, it doesn't accept endlines and accepts empty file.
Alternatively, it might be a good decision to get the key from the keychain directly to avoid extra layer of security management.

@olenaboosty please review and add some labels

eth-light also trying to process empty file and should trow error instead. We need more logs around key processing on startup, as such as permissions check log, detailed report on why key can't be processed and Alice used instead ( invalid format - reason, empty file, invalid permissions, can't access, filder path doesn't exist ), if path found in config and if path is not accessable.
Way to reproduce the issue:

Create eth-relay.key

Add passphrase

Add empty line or empty space in the end

Run binary

How to fix:
awk '{ printf "%s", $0 }' eth-relay.key > eth-relay.tmp && mv eth-relay.tmp eth-relay.key

@Liquid369 do you have a PR for that? I think we have discussion about this?

Correct, I have a fork setup and just trying to make sure it integrated well into the ggxnode repo.
Currently we have a function to meet all SURI formatting, so that it would not process the endlines, excessive spaces, and will not take empty keys.
We have invalid formatting logs added, ones to let user know the key used for funding.
Will add for path not existing and permissions missed those.

Apologies for the delay pull request is opened
https://github.com/ggxchain/pallet-eth2-light-client/pull/15


High Security Risk in execa v1.0.0 package

Issue
babel-jest is using a package execa v1.0.0 as internal dependency it is showing high security risk issue.
The execa package is vulnerable to Command Injection attacks. When using execa.shell(), execa.shellSync(), or execa() with shell=true, embedded parameters in the command string can be interpreted as additional OS commands. A remote attacker can exploit this behavior by submitting a crafted request that propagates a command to a parameter embedded in the input string for one of the aforementioned functions. Attackers may leverage this vulnerability to run arbitrary commands on the application server and setup a reverse shell.
Recommendation
We recommend upgrading to a version of this component that is not vulnerable to this specific issue.
Recommended Version(s): Upgrade to version >= 2.0.1 to fix security violation

Hi @sandesh-sph! Thank you for taking the time to report this.
In Jest execa is used for finding changed files with git or hg - and these features do not use the shell option (which defaults to false). So I do not think this vulnerability has any real impact on Jest at this moment.
Here's an article on npm audit you might find interesting:
https://overreacted.io/npm-audit-broken-by-design/


Custom internal DNS names for services

We use docker compose in development and are exploring flynn for production deployment. We use service names to send requests between different services, for ex: if there is a notification service, we declare the service name as notification in docker compose and say, port, 3000. Now, for any HTTP requests, we use notification:3000 as the base URI.
How do I make sure I replicate the same in flynn. So, essentially, I would want my services to run by the same DNS name and on same ports in production

You can use the discoverd suffixes. So if you have 2 apps: service-a and service-b, each with a web process declared, you can access them by service-a-web.discoverd and service-b-web.discoverd respectively. You should probably be able to provide these domains as environment variables to your app to avoid being "stuck" with notification:3000.


multithreading in rule execute is not properly solved

There are multiple problems with the rule execute.

The number of used processors is used in multiple rules. We need this information in the partitioning step (rule preprocessing) and in the clusterprofile. This should only be defined once and not twice.
When an OpenFOAM container shell is started, srun is not available anymore.   How can an OpenFOAM executable be called with srun when the environment in the container is not sourced at the start of an shell?
Currently --oversubscribe is used when calling mpirun.  This is confusing and probably not effective.

Problematic code can be found in

workflow/execute.smk (https://github.com/MaNyh/NTRFlows/blob/main/workflow/rules/execute.smk)
config/workflowsettings.yaml
workflow/schemas/config.schema.yaml

Also keep in mind that usually execute is a cluster-rule. The workflow should be used with cluster-profiles as this makes the usage of the workflow way easier. The current profile "profiles/slurm" is only tested on the rrzn-cluster of the university of Hannover.

When using the profile "profile/slurm", which was written for the usage of the RRZN cluster of the university of hannover, the following jobscript is used.
`Jobscript:
#!/bin/bash
properties = {"type": "single", "rule": "execute", "local": false, "input": ["results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor1/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor2/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor3/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor4/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor5/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor6/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor7/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor8/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor9/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor10/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor11/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor12/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor13/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor14/constant", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor15/constant"], "output": ["results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor1/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor2/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor3/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor4/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor5/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor6/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor7/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor8/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor9/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor10/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor11/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor12/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor13/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor14/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor15/1e-06/p", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor1/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor2/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor3/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor4/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor5/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor6/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor7/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor8/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor9/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor10/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor11/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor12/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor13/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor14/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor15/1e-06/T", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor1/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor2/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor3/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor4/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor5/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor6/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor7/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor8/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor9/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor10/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor11/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor12/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor13/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor14/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor15/1e-06/U", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor1/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor2/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor3/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor4/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor5/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor6/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor7/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor8/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor9/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor10/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor11/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor12/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor13/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor14/1e-06/rho", "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor15/1e-06/rho"], "wildcards": {"velocity_inlet_u": "30", "velocity_inlet_v": "40", "pressure_outlet": "100000"}, "params": {"casedirs": "results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/", "environment": "set +euo pipefail;. /opt/OpenFOAM/setImage_v2006.sh ;set -euo pipefail;"}, "log": ["logs/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/execute.log"], "threads": 16, "resources": {"mem_mb": 12000, "disk_mb": 1000, "tmpdir": "/tmp"}, "jobid": 4, "cluster": {}}
cd '/bigwork/nhkcmany/NTRFlows' && /home/nhkcmany/.conda/envs/ntrflows/bin/python3.9 -m snakemake --snakefile '/bigwork/nhkcmany/NTRFlows/workflow/Snakefile' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/1e-06/p' --allowed-rules 'execute' --cores 'all' --attempt 1 --force-use-threads  --wait-for-files '/bigwork/nhkcmany/NTRFlows/.snakemake/tmp.hnjo3r76' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor0/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor1/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor2/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor3/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor4/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor5/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor6/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor7/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor8/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor9/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor10/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor11/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor12/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor13/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor14/constant' 'results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/processor15/constant' --force --keep-target-files --keep-remote --max-inventory-time 0 --nocolor --notemp --no-hooks --nolock --ignore-incomplete --skip-script-cleanup  --conda-frontend 'mamba' --use-singularity  --wrapper-prefix 'https://github.com/snakemake/snakemake-wrappers/raw/' --latency-wait 60 --scheduler 'greedy' --scheduler-solver-path '/home/nhkcmany/.conda/envs/ntrflows/bin' --set-resources 'execute:mem_mb=12000' --default-resources 'mem_mb=max(2input.size_mb, 1000)' 'disk_mb=max(2input.size_mb, 1000)' 'tmpdir=system_tmpdir' --mode 2 && exit 0 || exit 1
`
The script is executing the following lines on the computing-machines:
singularity  exec --home /bigwork/nhkcmany/NTRFlows  /bigwork/nhkcmany/NTRFlows/.snakemake/singularity/6283158d59106e346816b194620bfa50.simg bash -c 'set -euo pipefail;           (         # todo: why do we use a subshell here?         #          set +euo pipefail;. /opt/OpenFOAM/setImage_v2006.sh ;set -euo pipefail;         cp resources/mesh/fluent.msh results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/mesh.msh         cd results/simulations/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000         fluent3DMeshToFoam mesh.msh         createPatch -overwrite         topoSet         decomposePar -force         )>> logs/velocity_inlet_u~30_velocity_inlet_v~40_pressure_outlet~100000/prep.log'
Now this is the confusing part. --use-singularity is leading to "singularity exec container.sif bash -c "somecommands". When writing a jobscript on my own, I would try something similiar.
"srun -n number_of_processors --cpu-bind singularity exec container.sif bash -c 'somecommands' "
srun is calling openmpi. openmpi is sourced in the container, when executing bash -c "" - so openmpi in the container is not available for srun when it is called.

How am I supposed to use srun here?
Can I reconfigure the slurm-profile in a propper way?
How can I get the number of processors from the slurm-profile and use it as a rule-parameter?

What if we use srun for all cluster-rules? Then we might only have to change the jobscript in profiles/slurm?
Here is explained why we should use srun and not mpirun
https://nrel.github.io/HPC/blog/2021-06-18-srun/#3-why-not-just-use-mpiexecmpirun

regarding "1.":
in config/workflowsettings.yml we define the number of processors used for the execution of a rule, in /profiles/slurm we can do the same. But cant we define in the clusterprofile what ressources are used for the whole workflow-run? In that case "1." is maybe not an issue at all

https://stackoverflow.com/questions/60044919/snakemake-with-singularity
That might help. I need to check it out


[Bug]: ODP intelligently parses the connection string, and the user name does not include the tenant name.

ODC version
ODC424bp2
OB version
independent
What happened?
ODP intelligently parses the connection string, and the user name does not include the tenant name.
What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
chat privately
Anything else we need to know?
No response

Fixed In Commit 3e634447c8cf794bcebee66603d3c058f98bc030
------
xiaokang
Tue May 14 16:11:12 2024 +0800


Fix wrong urls

Fixes #9

Pull Request Test Coverage Report for Build 41

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 88.101%

Totals

Change from base Build 39:
0.03%

Covered Lines:
348

Relevant Lines:
395

💛  - Coveralls


Crash related to MPObjectSelector.m

MPObjectSelector.m line 378
-[MPObjectFilter getChildrenOfObject:ofType:]
causes our app to crash. It happens after our table view controller's viewDidLoad is called.

Not sure if this is related, but I'm actually having an issue here as well. I suspect that the call [((UIViewController *)obj).view isKindOfClass:class] is at fault here. Calling .view on a View Controller doesn't just access the view property, it actually tries to load the view in question. This is an issue since this is being called on a background thread. I've created a separate ticket to reference this issue specifically here: #263.

Is there a workaround for this?

We stopped using Mixpanel because of the crashes. I'm unsubscribing from this issue.


Change event not firing

When selecting a date, the change event is not firing.  This makes it difficult to use with data binding libraries.  Is there a workaround or fix for this?

an example of on select event?
please


publish to hex.pm

Pretty please :)

It'll most likely happen once hex_erl is done and I can support it but it's a few months away I think.


[v41] 'EnergyTurret' has too high aim error for bots...

Bots are unable to hit the target with 'EnergyTurret' at long distances because static aim error is too high... Though bots set the aim precisely enough, actual hit location is always significantly biased into the right side from the target, so that bot keep shooting but never hit the target (example attached on the picture).
(For players this issue doesn't happen - actual hit location almost matches the aim, with insignificant error, even at much farther distances)
Tested 'EnergyTurret' only (probably, other vehicles could be affected too).

What about latest build?
For me aim is fine.

XV-TurretBotAim.zip
Start as spectator. Add 2 bots.

Will update to v44 and do tests now, then will send results when done.
By the way, exactly the same problem was with some of ScriptedPawn subclasses from original EXU package, eventually we have fixed it, IIRC it was bug in those classes scripts.

Not fixed, results are exactly same as with v41.
Distance to target on the screenshots above was about 17500uu.

Well, Then I need reproducible test case. Saved map can fit.

The issue can be observed in the MH-XV test server right now... I took care everything is in proper location and state for this issue to occur...
To eliminate possible conflicts with another mods, i have also tested it in the clean server installation without any mods and mutators except XV mod and standard MonsterHunt gametype - result was the same...

I can not properly and fast debug on remote dedic server. I need constantly modify packages and map again and again. So please prepare test map.

The meaning was to understand the way to reproduce it yourself by looking the sample.
Will try to make the test map, but it may take a while...

Unfortunately stock MHv503 call aBot.LineOfSightTo in AssessBotAttitude, so bots will not attack monsters so far.
So I make edit of map with TeamGamePlus as default game type.
And all work fine.
MH-EnterToCore-Part3_bug2.zip
Start in practice as spectator. Add 1 bot. It kill bot skarj snipers.
I found few mistakes in turret code. So if bots not enter to turret, you need join as player and make order defend. After this bot must goes to turret.

Problem was in client-side User.ini file i used for tests - key binding for bot spawn had the following command:
addbots 1|admin set botpack.bot skill 7.
Function Bot.AdjustAim() is based on the assumption that Bot.Skill value must be within a range of 0..3 always, otherwise it returns invalid Rotator value.
This issue can be closed now.


Pricing if any for using Microsoft Bot Framework

Hello Team,
I am working on a chat bot using Microsoft bot framework. Can you let me know whether there is any charge for using the bot framework as we are planning to deploy this chat bot on production system ?

As a polling question, which SDK are you planning on using, C# or NodeJS?
If you use LUIS, other Cognitive Services, or Azure Bot Service for hosting you will have pay for exceeding the free tier or when using the paid plans.
Using the SDK itself will not incur any charges.

Thank you for your reply..
I am using  NodeJs as a SDK and api.ai for Natural language processing.
I have  designed Web application which  is using WebChat channel.
How to deploy this so that other users can make use of it.

You can deploy it like any other nodejs application. There are plenty of good tutorials on youtube out there.

@sajjanhubale Here is some additional information on deploying your bot to the cloud

Sorry to bother you all again and again. I am not concerned about the deployment thing right now. It's like  I have used webchat channel and microsoft bot framework in node.js.
Now I just want to know whether these services/tools can be used for free or once I deploy it they will be charged apart from the charges for the deployment by other cloud platforms.
Any help is appreciated. Thanks in advance. (Also I am not thinking right now to deploy it on Azure, instead I may choose any other cloud platforms.

I am also having some queries regarding pricing.
I am trying to use Node.js for building a bot using Bot Builder SDK and planning to host it on my own.
Will there be any charge for using the Bot Framework only for integrating various bot channels?
It would be nice to have a documentation on this. Thanks in advance.

Any clarity on this ?

@nwhitmont @stevengum Can I create a Bot Channels Registration (as I understand, it costs nothing if I host it myself) without activating Azure free trial? It will give me 200 USD for 30 days and services for 12 months, but I don't want to activate it since I don't plan on using it for now, and I don't want it all to expire totally unused... I'm trying to add it on https://portal.azure.com/ and it prompts me to create free account. Any solution to this? Couldn't find any answer yet.

@p0358 An Azure subscription is required in order to create a Bot Channels Registration.


Not working Server Side?

This might just be me, but the mod stops the server dead when Loading blueprints.
I'm using PH-Valheim server ina docker, all up to date, with only Planbuild installed through the server app, and the server stalls when loading Planbuild.
[Info : BepInEx] Loading [PlanBuild 0.16.0]
[Info :Jotunn.Main] Initializing InputManager
[Info :PlanBuild.Blueprints.BlueprintManager] Initializing BlueprintManager
[Info :PlanBuild.Blueprints.BlueprintSync] Loading known blueprints
These are the messages in the logs, no errors are showing.

Do you still experience this issue?


Explicitly handle UTF-8 encoding

The body of emails as stored in the JSON response is actually in UTF-8, but email.message_from_string() seems to be expecting ASCII. Explicitly encoding the body text seems to fix the issue.

Hi,
I changed the code to remove eml creation and we now just use json.dumps without setting ensure_ascii to false.
So the whole encoding issue should be fixed.
Could you reproduce an encoding issue with the latest version?
Best regards,
NS

Aha, that's certainly one way to avoid the problem! But I imagine that for many less-technical users, a directory full of .eml files would be more useful than a directory full of JSON files... would it make sense to keep .eml output as an option?

The eml parsing will probably be in another tool (to be written later).


Errors while exporting glb files

I have simple model files with materials attached to it.  Tried exporting it to glb files but got the following errors
// Error: line 0: RuntimeError: file /Library/Preferences/Autodesk/maya/scripts/glTFExport.py line 434: (kInvalidParameter): No element at given index //  // Error: line 0: Could not save file

I just fixed a pretty serious bug for Maya 2019+ if you want to grab the latest and try again.
Just looking at the line that it errored at, it could be that a particular mesh doesn't have a UV set or something else wrong with the mesh.  If you can provide a pared-down Maya file, I can try to get a fix in.


Possible translation regression since last published version v2.10.2

Describe the bug
Some buttons were correctly translated in IPFS webui v2.10.2, but are not translated in the current version displayed at dev.webui.ipfs.io, whose CID corresponds to v2.11.1 (according to https://github.com/ipfs-shipyard/ipfs-webui/releases).
(Also, ipfs.io/ipfs/bafyV2.11.0 and ipfs.io/ipfs/bafyV2.11.1 leads to 404. Same for ipfs add bafyV2.11.x...)
It may be that the missing button translations are missing on dev.webui.ipfs.io, but will be there when V2.11.1 is out (couldn't check because I couldn't fetch bafyV2.11.1 displayed in the GitHub releases). But it could also be a regression you're unaware of.
To Reproduce
Go to dev.webui.ipfs.io (with or without a running deamon).
Change settings to a fully translated language such as French.
See missing translations (see screenshots below).
Fetch V2.10.2 and see translations.
Also: the strings are now missing from Transifex, so we can't traduce them again.
Expected behavior
All buttons are available to translate on Transifex, and translated buttons are translated in-app.
Screenshots
See button "Close" below:

"API adress", "Change", Submit, Reset, Save,etc.

Browse, Inspect (on all pages, at the top) , peers (several places), latency, etc.:
µ
On all pages, in the help: Next, Close, Finish:

On disconnected node: Could not connect to API and submit:

(Same for "Connected to the API" when connected)
On Files: Inspect, pin, files (breadcrumbs and volume, numbers of pins, blocks, "repo" size, button import, "name" and "size" in the tab.

On Status:
API Adress, Gateway, etc.
the new "Edit" link next to the API adress
Advanced
More info/No/Thanks,

On Status:
In/Out
Incoming/Outgoing

Bonus:
In the search bar on top "Qmhash" should be switched to "bafyHash" or "IPFS CID" or "CID"?
The 2 last version are 404 on ipfs.io and local daemon:

Desktop (please complete the following information):

OS: Ubuntu 20.04
Browser : Chrome, Firefox, Brave
Version : latest for Ubuntu

Additional context
None

Hi @bertrandfalguiere -- https://github.com/ipfs-shipyard/ipfs-webui/pull/1604 consolidated a number of repeat-use internationalization keys that had been duplicated and in a number of cases led to inconsistencies in the UI. Unfortunately, this does mean that some of these reverted back to English in translated settings.
You're correct that the common-keys file app.json isn't showing up in Transifex, so it's telling you that (for example) French is completely translated when it's not. @lidel, I seem to be missing permissions to add it - is this something you're able to do when you have the chance?

Oh, I see, ok.
Let me know when app.json is on transifex.
(PS: About the bafys of two last versions not being accessible, is it expected behavior?)

@jessicaschilling indeed, I forgot we need to manually add new resources – I'm sorry :(  added app-json resource
@bertrandfalguiere It should be fixed, you can translate strings from app.json at https://www.transifex.com/ipfs/ipfs-webui/app-json/
Thank you for reporting this, really appreciate your help with keeping translations on track :heart:

@bertrandfalguiere -- I'm not having any trouble retrieving the last two CIDs for releases ... ping if you're still having problems?

All right, French translation is back on tracks.

ping if you're still having problems?

Anyway, apart from the "QmHash" that should probably be renamed soon, we can close the issue.

Thanks for the swift resolution! 🚀

https://github.com/ipfs-shipyard/ipfs-webui/pull/1638 will take care of the browse bar hint.

@jessicaschilling
Hi team, I have translated all text to zh-cn.
I noted there is no reviewer in zh-cn translation team.
Is anyone can review? or may I apply a reviewer position?

@akimoto72738 we ususally give this permission to people who contributed before.
You submitted a lot of translations this year, so you fit the criteria :+1:
Assigned you the Reviewer role (log-out and log-in again if you don't see it).
Thank you for your contributions! :heart:


Using ES module of date-fns

Would it be possible to use the date-fns/locale imports from the ES module of date-fns?
https://date-fns.org/v2.0.0-alpha.6/docs/ECMAScript-Modules
We have an Angular 10 application and the CLI flags a warning due to CommonJS dep:
WARNING in *****\node_modules\ngx-mat-datefns-date-adapter_ivy_ngcc_\fesm2015\ngx-mat-datefns-date-adapter.js depends on 'date-fns/locale'. CommonJS or AMD dependencies can cause optimization bailouts.

Hello, Sándor.
Current way to import all locales from the date-fns is aimed on simplicity for the language change. It can be improved, there are 2 ways as I see it for the locales import:

I can leave the import of required date-fns locales completely to the user.
I can import all available locales from date-fns/esm/locale package but it will require updates the available locales list in the next versions of this package according to date-fns future locale changes.
I need some time to evaluate the right way to deal with the described problem.)

Hello!
From my point of view leaving the import of locales to the users seems completely viable, because if you use this adapter, probably you are using date-fns (as the user)
Then it is up to the user if she/he imports it as ESmodule or not.
With it you can decouple from date-fns future locale changes

Hello.
I've published 11.1.0-beta.0 version to npm. Please, check if there are any issues left with your setup.
You can install beta version with this command:
npm I<EMAIL_ADDRESS>More info on using it with the new locale imports here:
https://github.com/sapozhnikovay/ngx-mat-datefns-date-adapter/blob/master/projects/ngx-mat-datefns-date-adapter/README.md
Stackblitz example with the new API is here:
https://stackblitz.com/edit/angular-ngx-mat-datefns-date-adapter-a11-es-locales?file=src/app/app.component.ts
I'll release 11.1.0. version and update main README.md and example if there will be no major issues with your project.

Hello,
Thanks for your effort, we will try it out in our test environment.
I will let you know our findings if we have any.

Hello @sapozhnikovay,
I have been testing the 11.1.0-beta.0 in one of my company's project and it's working like a charm 😃

Same results, working well

@illbexyz , @sanyi3k
Thanks for the evaluation efforts. I've released full 11.1.0 package to npm und updated this repo.
I'll update packages for Angular versions 9/10 later ⏳


Request to support .HKL file format as input option

It would be greatly appreciated if Careless takes .HKL file format as an input option.
As an XDS user for data processing, to use Careless, I have to convert output XDS_ASCII.HKL or temp.ahkl files to .mtz using CCP4 Pointless, selecting the "Just combine input files" option. While this approach works for most XDS CORRECT outputs (XDS_ASCII.HKL), it fails for merged datasets like XSCALE outputs (temp.ahkl). The failure occurs because Pointless improperly processes the ITEM_ISET column, resulting in merging of multiple reflections with identical HKL values originating from different datasets into a single HKL reflection. To address this issue, I manually adjusted the frame numbers by adding arbitrary values to original datasets (e.g., 1 to 1001, 360 to 1360). However, this workaround is not a robust solution.
To eliminate this issue, could Careless be updated to accept .HKL files as input? This enhancement would eliminate the need for the Pointless conversion step and allow for a more efficient data merging process, and also benefit XDS users.
Thanks,
Gyuhyeok

Hi @gyuhyeokcho,
I will consider adding HKL support to the careless CLI. However, the HKL format is not standardized and even the INTEGRATE.HKL and XDS_ASCII.HKL files produced by XDS have different header formats. I don't really know how to support it in a maintainable way. I would like a little more info about your use case before I decide how to deal with it. I see you mentioned XSCALE outputs and XDS_ASCII.HKL filles. Can I ask why you are providing these already scaled inputs to careless? Would it not make more sense to use the unscaled reflections from INTEGRATE.HKL?
Would it be okay to provide an external conversion script with syntax like?
careless.hkl2mtz INTEGRATE.HKL unmerged.mtz

I could implement something like this relatively easily. Let me know your thoughts.

Dear @kmdalton,
The external conversion script would be perfect!
In my usual data processing workflow, I scale the data in XDS using either CORRECT or XSCALE. Subsequently, I apply anisotropic cutoff using STARANISO, which re-determines the image scales using an already scaled file. I thought a similar approach could be applied to Careless as well.
I agree that it makes more sense to use unscaled data for Careless to newly determine scale factors. Although I have tested only a single dataset, I compared the results obtained from Careless using either CORRECT or INTEGRATE outputs. Interestingly, the CORRECT outputs yielded better results. So, I decided to continue using CORRECTed files as input for Careless.

Okay --  sounds like I should support both INTEGRATE.HKL and XDS_ASCII.HKL. I'll try to get to this later this week. Thanks for sharing your experience processing XDS data.

Thanks alot!

Hi @gyuhyeokcho,
Can you share an example XSCALE output? I don't have one handy. What is the default file name? Can you paste the header here?
Thanks,
Kevin

I did an implementation of careless.xds2mtz. You may test it out by installing the xds branch:
conda create -yn careless-xds python=3.10
conda activate careless-xds
pip install --upgrade pip
pip install git+https://github.com/rs-station/careless@xds

I will merge it into main this week and do a new release. Let me know if you need any alterations for your use case.

Hi @kmdalton,
Here is one of the XSCALE header. The default file name is "temp.ahkl".
!FORMAT=XDS_ASCII    MERGE=FALSE    FRIEDEL'S_LAW=FALSE
!DATE= 3-Feb-2023
!Generated by XSCALE   (VERSION Jan 10, 2022  BUILT=20220220)
!OUTPUT_FILE=temp.ahkl
!COMPRISES THE FOLLOWING SCALED INPUT FILES:
! ISET=      1 INPUT_FILE=/home/Structures/data1/XDS_ASCII.HKL
! ISET=      2 INPUT_FILE=/home/Structures/data2/XDS_ASCII.HKL
! ISET=      1 X-RAY_WAVELENGTH=   0.97957 (<0 if unknown)
! ISET=      2 X-RAY_WAVELENGTH=   0.97957 (<0 if unknown)
! ISET=      1 UNIT_CELL_CONSTANTS=    139.18    139.18    176.36  90.000  90.000  90.000
! ISET=      2 UNIT_CELL_CONSTANTS=    139.30    139.30    176.13  90.000  90.000  90.000
! ISET=      1 MERGE=FALSE FRIEDEL'S_LAW=FALSE
! ISET=      2 MERGE=FALSE FRIEDEL'S_LAW=FALSE
!
!SPACE_GROUP_NUMBER=   94
!UNIT_CELL_CONSTANTS=    139.18    139.18    176.36  90.000  90.000  90.000
!NUMBER_OF_ITEMS_IN_EACH_DATA_RECORD=  10
!ITEM_H=1
!ITEM_K=2
!ITEM_L=3
!ITEM_IOBS=4
!ITEM_SIGMA(IOBS)=5
!ITEM_XD=6
!ITEM_YD=7
!ITEM_ZD=8
!ITEM_PSI=9
!ITEM_ISET=10
!END_OF_HEADER
     0     0     4  1.151E+04  2.882E+04  1518.7  1586.2  1175.5  -41.11 2
     0     0    -6  5.355E+08  2.241E+07  1613.3  1544.9   355.0 -138.40 1
     0     0    -6  5.386E+08  2.254E+07  1614.5  1791.1   177.2   40.48 1
     0     0     6  5.569E+08  2.331E+07  1500.5  1791.5   357.1  139.28 1
     0     0     6  5.663E+08  2.370E+07  1499.5  1545.3   175.1  -41.36 1
     0     0    -6  5.427E+08  2.829E+07  1614.6  1791.3  1177.2   40.37 2
     0     0     6  5.527E+08  2.880E+07  1499.5  1545.2  1175.1  -41.26 2
     0     0    -8  1.056E+07  5.843E+05  1633.6  1832.1   177.6   40.33 1
     0     0    -8  1.009E+07  5.661E+05  1632.2  1503.8   354.6 -138.25 1
     0     0     8  1.040E+07  5.786E+05  1480.3  1504.3   174.8  -41.51 1
     0     0     8  1.050E+07  5.792E+05  1481.7  1832.7   357.4  139.43 1
     0     0    -8  1.171E+07  6.669E+05  1633.8  1832.3  1177.6   40.23 2
     0     0     8  1.258E+07  7.161E+05  1480.3  1504.1  1174.8  -41.40 2
     0     0   -10  1.962E+07  1.005E+06  1651.0  1462.6   354.3 -138.11 1

Thanks,
Gyuhyeok

Thanks, @gyuhyeokcho. I added your ahkl file to my tests. I'll merge this later today. Expect a new release later this week. Please feel free to reopen this issue if you find something not working.

I tried using careless.xds2mtz by
careless.xds2mtz INTEGRATE.HKL integrate_careless.mtz
and then running careless by
 careless mono \
--iterations=10 \
--merge-half-datasets \
--test-fraction=0.05 \
--disable-image-scales \
--mlp-layers=20 \
"BATCH,dHKL,XDET,YDET" \
integrate_careless.mtz \
myoutput_careless

I encountered the following error:
Careless version 0.3.0
Traceback (most recent call last):
  File "/opt/anaconda3/envs/careless/bin/careless", line 8, in <module>
    sys.exit(main())
  File "/opt/anaconda3/envs/careless/lib/python3.8/site-packages/careless/careless.py", line 9, in main
    run_careless(parser)
  File "/opt/anaconda3/envs/careless/lib/python3.8/site-packages/careless/careless.py", line 30, in run_careless
    inputs,rac = df.format_files(parser.reflection_files)
  File "/opt/anaconda3/envs/careless/lib/python3.8/site-packages/careless/io/formatter.py", line 138, in format_files
    return self((load(f) for f in files))
  File "/opt/anaconda3/envs/careless/lib/python3.8/site-packages/careless/io/formatter.py", line 115, in __call__
    data, rac = self.get_data_and_asu_collection(datasets)
  File "/opt/anaconda3/envs/careless/lib/python3.8/site-packages/careless/io/formatter.py", line 78, in get_data_and_asu_collection
    ds = self.prep_dataset(ds, sg)
  File "/opt/anaconda3/envs/careless/lib/python3.8/site-packages/careless/io/formatter.py", line 298, in prep_dataset
    raise ValueError(
ValueError: No matching uncertainty key found for intensity key IOBSplease manually specify the uncertainty key.

It wants you to specify the key for the error estimates for IOBS. I think the flag is --uncertainty-key Can you share the output of rs.mtzdump integrate_careless.mtz?

Spacegroup: P212121
Extended Hermann-Mauguin name: P 21 21 21
Unit cell dimensions: 5.246 10.417 21.016 90.000 90.000 90.000

mtz.head():

          IOBS  SIGMA  XCAL   YCAL  ZCAL     RLP     PEAK  CORR  ...  ALF0  BET0   ALF1  BET1   PSI  ISEG  BATCH  PARTIAL
H  K  L                                                          ...
-6 -2 -3 76.39  37.17 207.9 1624.5  61.0  0.0243 98.49495    14  ... 79.47  0.06 142.37  1.71 16.35   1.0     61    False
      -2 952.4  50.36 192.5 1595.1  62.8 0.02472    100.0    65  ... 79.47  0.06 144.21   1.7  8.99   1.0     63    False
      -1 52.16  37.11 176.5 1565.6  64.5 0.02516 99.99992     7  ... 79.47  0.06 146.09  1.69  2.36   1.0     64    False
      0  138.7  37.04 160.2 1536.6  66.1 0.02562 96.94247    23  ... 79.32  0.06 147.97  1.69 -3.46   1.0     66    False
      1  101.5  38.81 143.2 1507.5  67.7 0.02609    100.0    17  ... 79.24  0.06 149.88  1.69 -8.58   1.0     68    False

[5 rows x 20 columns]

mtz.describe():

            IOBS     SIGMA      XCAL      YCAL      ZCAL  ...      ALF1      BET1       PSI    ISEG     BATCH
count   5076.000  5076.000  5076.000  5076.000  5076.000  ...  5076.000  5076.000  5076.000  5076.0  5076.000
mean    1045.649    44.909  1024.228  1036.429    66.132  ...     5.703     1.266    -0.257     1.0    64.821
std     1867.077    33.771   640.855   448.673    37.975  ...   108.529     0.329    77.021     0.0    38.097
min      -73.120     1.392    13.500    35.400     0.200  ...  -179.910     0.040  -179.470     1.0     0.000
25%      129.900    30.245   408.700   687.875    33.175  ...   -65.775     1.070   -52.380     1.0    32.000
50%      385.750    37.370  1023.100  1037.650    66.200  ...     6.210     1.340    -0.590     1.0    65.000
75%     1126.250    46.062  1640.450  1384.175    99.125  ...   110.715     1.530    52.335     1.0    98.000
max    21880.000   444.500  2034.400  2015.500   131.900  ...   179.980     1.750   179.970     1.0   132.000

[8 rows x 19 columns]

mtz.dtypes:

IOBS       Intensity
SIGMA         Stddev
XCAL         MTZReal
YCAL         MTZReal
ZCAL         MTZReal
RLP          MTZReal
PEAK         MTZReal
CORR          MTZInt
MAXC          MTZInt
XOBS         MTZReal
YOBS         MTZReal
ZOBS         MTZReal
ALF0         MTZReal
BET0         MTZReal
ALF1         MTZReal
BET1         MTZReal
PSI          MTZReal
ISEG       Intensity
BATCH          Batch
PARTIAL         bool
dtype: object

oh dear. apparently there is no way to specify uncertainy keys manually, and careless expects that the key to have the same name as the intensity key plus a prefix like "SIG" or "Sig". if you change the column name from "SIGMA" to "SIGIOBS", it should work fine. I will file a separate issue for this. it is a bug.

@DorisMai, your issue will be fixed by #104
Thanks for the feeback!


docs: fix aad url

➜ curl -s -o /dev/null -w "%{http_code}" https://azure.microsoft.com/en-us/services/active-directory/
301

➜ curl -s -o /dev/null -w "%{http_code}" https://azure.microsoft.com/en-us/products/active-directory/
200

fixes markdown link failure: https://github.com/Azure/azure-workload-identity/actions/runs/5381004949/jobs/9764511553

Codecov Report

Merging #1024 (6cf5f48) into main (a5fc57d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1024   +/-   ##
=======================================
  Coverage   53.71%   53.71%
=======================================
  Files          36       36
  Lines        2290     2290
=======================================
  Hits         1230     1230
  Misses       1014     1014
  Partials       46       46


unix line ending

Hi !
This list is expected to be used on routers.
They have limited resources and lack tools such as dos2unix.
May be it's good to distribute lists with unix EOL ?

This problem can be solved using
tr -d '\015'

Thank you for the suggestion, fixed that in repo files but not in releases yet, will make it usual practice.


feat: Add ephemeral_storage_size variable

Description
When using this module in GovCloud, we get this error (this is sanitized):
│ Error: error modifying Lambda Function (lambda-name) configuration : InvalidParameterValueException: Ephemeral storage configuration ('ephemeralStorage') is currently not supported. Please remove the ephemeral storage parameter from your request and try again.
│ {
│   RespMetadata: {
│     StatusCode: 400,
│     RequestID: "..."
│   },
│   Message_: "Ephemeral storage configuration ('ephemeralStorage') is currently not supported. Please remove the ephemeral storage parameter from your request and try again.",
│   Type: "User"
│ }

This was fixed in 3.1.1 of terraform-aws-lambda: https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/304#issuecomment-1098448429
This PR does two things:

Upgrades the version of terraform-aws-lambda to the latest: 3.2.0
Allows for the configuration of ephemeral_storage_size by adding a new variable.

When adding the new variable, I followed the naming scheme I observed here (e.g.: lambda_function_variable_name_from_submodule): https://github.com/terraform-aws-modules/terraform-aws-notify-slack/blob/1d7bfe9a6b277aba2732e51ff5e241214395a491/variables.tf#L135-L163
I copied the description, type, and default from here: https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/19b9f11fc8ed04a34c02db553d3f463cab6b740a/variables.tf#L112-L116
Motivation and Context
Without this change, using this module in GovCloud results in this error:
Ephemeral storage configuration ('ephemeralStorage') is currently not supported. Please remove the ephemeral storage parameter from your request and try again.

This is the same issue described here: https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/304
Breaking Changes
This does not break backward compatibility. The default in this module (512) is the same as the default used by the terraform-aws-lambda module (512).
How Has This Been Tested?

[x] I have executed pre-commit run -a on my pull request
[x] I tested this by running terraform apply with it in GovCloud. The error no longer occurs when I set lambda_function_ephemeral_storage_size to null.

Thank you, @carterjones !

This PR is included in version 5.1.0 :tada:


Even more loss-less

I experiment a bit with DeepCache, it is very awsome !
I realised that if we do start (and end) caching earlier (something like start caching only after 5 % of the iteration and stop 5% before end of denoising), we can bearly see any change in the image but the preformences are still very good !
Implementing a start and stop caching is quite straighforward you just have to replace this :
if i in interval_seq :
    prv_features = None

to :
if i in interval_seq or i <= int(num_inference_steps * cache_start) or i >= int(num_inference_steps * cache_end):
    prv_features = None

Hi @xziayro, a very cool idea! We can indeed incorporate priors to schedule the caching and it will be very helpful for the performance. We will try your idea and add it to the codebase!


Eagerly cast pointers in aarch64 relocation code to usize to avoid unsafe blocks in cranelift-jit

When performing relocations in cranelift-jit, there are many introductions of a variable what that's defined as an unsafe pointer offset. These variables are almost always cast to usize or isize before they're used, so perhaps we should instead turn the base pointer into its target numeric type eagerly, to avoid needing the unsafe blocks for calling the offset method on the pointers.
https://github.com/bytecodealliance/wasmtime/blob/cd97c9f14713d81de5453fb9861319e78a761432/cranelift/jit/src/compiled_blob.rs#L55-L57

Using wrapping_offset it also an option. On CHERI you would need to use the current code to preserve the pointer capability I think, but we don't support CHERI yet anyway.

Hi, @elliottt @bjorn3,is this issue is still actual? Unfortunately from glaziermag's pr and this comment (https://github.com/bytecodealliance/wasmtime/pull/8041#discussion_r1509922915) i cannot understand, whether pr is not correct, or bjorn3 decided that any modification(about this issue) doesn't make sense at all


BlitzListForm breaking with quasar?

First off, this is an awesome library, thank you for maintaining it :)
I'm trying to get Quasar to work with this example (BlitzListForm nested in a BlitzForm)
Taken the following schema, teacher.* renders just fine but students[] break, the labels seems to be lost and rendered as separate components. Something I'm missing? Does BlitzListForm support internalLabels?
[
    {
      id: "teacher.nameFirst",
      label: "Teacher First Name",
      component: "QInput",
    },
    {
      id: "teacher.nameLast",
      label: "Teacher Last Name",
      component: "QInput",
    },
    {
      id: "students",
      label: "Student Names",
      component: "BlitzListForm",
      schema: [
        { id: "nameFirst", label: "First Name", component: "QInput"},
        { id: "nameLast", label: "Last Name", component: "QInput" },
      ],
    },
  ]

Did you import the Blitzar css ?

Yes, see this demo.
https://stackblitz.com/edit/quasarframework-ckyejb?file=src%2Fpages%2FIndexPage.vue


Dedicated update

Dedicated update from Core

Thanks @ericbrooke. Anita is handling the larger Core->Dedicated change, so coordinator any other updates with her to avoid duplicate work.


Fix tailwind postcss setup #709

The --postcss parameter tells the Tailwind CLI to use our custom Postcss configuration.
The new @config directive doesn't work for some reason. However, specifying the config file directly as a CLI parameter seems to work.
I've also added the missing text-sm to the redesign.config.js, it's used by Pagy.
Fixes #709

Ah! Great catch. I removed the --postcss option to get @config working. Not realizing that we actually have a custom config.


Android support

@jjshammas there are some conflicts with the master. would you try to see if you can fix those conflicts? if you won't let me know and I will do it myself.
btw, thank for this! Awesome work!

@alinz unfortunately will not be able to take a look until mid-Feb…feel free to resolve if you can

@jjshammas Cool, I will, thanks!

@jjshammas @alinz guys when this PR is resolved you will enter history :+1:
I can't wait it!

@alinz how goes the updating?

@jjshammas thanks for your PR. It was an interesting approach you have taken,
@MacKentoch, @rmevans9, I have updated project. Android version is in beta I need couple of more days to clean up the code and right more tests. but since everyone is waiting for it, I have decided to publish it in advance.
I'm closing this PR request. Again thank you @jjshammas.


Update and delete namespace secrets failed when namespace name contains underscores

Expected Behavior
Namespace ID and secret key should be got whatever the separator between Namespace ID and secret key in secret ID.
Or theses informations should be got in another ways.
Actual Behaviour
Namespace ID and secret key are retrieved from secret ID, namespace ID is equals to the first part before the first underscore and the secret key is equals to the other part.
When the namespace ID contains underscores, parsing these informations is not done correctly.
Steps To Reproduce
Create a namespace secret in a namespace containing underscores in its name, and try to update the secret.
Environment Information

Kestra Version: 0.9.4
Kestra provider version: 0.7.0

Example flow
resource "kestra_namespace_secret" "secret_test" {
namespace    = xxxx.yyyy.my_fake_namespace
secret_key   = "kestra"
secret_value = "rocks"
}

fix in v0.10.0


Add bounding box search endpoints.

I'll merge.  I started writing tests, but haven't finished.  I'll do that on another PR.


Can't run on iOS Simulator

Steps to Reproduce

...Debug on iOS
...
...

Logs

symatrons-Mini:symatron_app symatroncorp$ flutter run
Launching lib/main.dart on iPhone XS in debug mode...
Starting Xcode build...
 ├─Assembling Flutter resources...                   12.9s

Xcode build done.                                           32.3s
Failed to build iOS app
Error output from Xcode build:
↳
    2018-11-21 20:41:58.424 xcodebuild[19948:574077]  DVTAssertions: Warning in
    /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14460.26/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/Bu
    ildSystem/Runtime/PBXTargetBuildContext.mm:757
    Details:  unexpected successful exit code from cancelled command <C0020:'PBXCp App.framework':P14>
    Object:   <PBXTargetBuildContext: 0x7f9011b114a0>
    Method:   -createCommandInvocationRecordFromInvocation:
    Thread:   <NSThread: 0x7f9011c97e20>{number = 7, name = (null)}
    Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    cp: /Users/symatroncorp/Documents/Symatron: No such file or directory
    cp: App/flutter/bin/cache/artifacts/engine/ios/Flutter.framework: No such file or directory
    find: /Users/symatroncorp/Documents/Symatron App/Symatron App/symatron_app/ios/Flutter/Flutter.framework: No such file or directory
    Project /Users/symatroncorp/Documents/Symatron App/Symatron App/symatron_app built and packaged successfully.
    Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
    error: /Users/symatroncorp/Documents/Symatron App/Symatron App/symatron_app/ios/Flutter/Flutter.framework: No such file or directory

Could not build the application for the simulator.
Error launching application on iPhone XS.

symatrons-Mini:symatron_app symatroncorp$ flutter analyze
Analyzing symatron_app...

   info • Unused import: 'dart:math' • lib/contactUs.dart:2:8 • unused_import
   info • Unused import: 'package:symatron_app/settings.dart' • lib/main.dart:8:8 • unused_import
   info • The top level variable '_testPic2' isn't used • lib/main.dart:118:14 • unused_element
   info • Name non-constant identifiers using lowerCamelCase • lib/newTicket2.dart:521:7 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/newTicket2.dart:523:14 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/updateTicket.dart:170:7 • non_constant_identifier_names
   info • Name non-constant identifiers using lowerCamelCase • lib/updateTicket.dart:172:14 • non_constant_identifier_names

7 issues found. (ran in 81.5s)

symatrons-Mini:symatron_app symatroncorp$ flutter doctor -v
[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.14.1 18B75, locale en-CA)
    • Flutter version 0.11.3 at /Users/symatroncorp/Documents/Symatron App/flutter
    • Framework revision 72bf075e8d (12 days ago), 2018-11-09 20:36:17 -0800
    • Engine revision 5646e86a6f
    • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    • Android SDK at /Users/symatroncorp/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.1
    • 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 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • 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 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

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

[✓] Connected device (1 available)
    • iPhone XS • 283710F9-21E2-4EBE-9039-B055A458E3A3 • ios • iOS 12.1 (simulator)

• No issues found!

Can you please check with the latest Flutter version (flutter upgrade).
I think this was fixed already.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


[Requirement] Tablet & Phone device Keyboards should be closed & not reopened with every letter type

Fixed


cant open program

error: java was started but returned exit code = 13

This error indicates that you are trying to run the TKP.jar file with an incompatible version of Java SDK(s/b Java 7 or 8).  Here's the install instructions - https://github.com/TeachingKidsProgramming/TeachingKidsProgramming.Java/blob/master/README.md


Update the url to the specific job panel

This will update the url to the job detail panel directly

#49 will also fix the out of memory issues


Modify unit test for GLB range request MSFT_lod to be more complete

See https://github.com/BabylonJS/Babylon.js/pull/7555. Need to update the test to have two different MSFT_lod extensions in one GLB.

No activity/request. Feel free to re-open


swagger-codegen hyper 0.12 code review

It would be wonderful if I could get a code review of https://github.com/swagger-api/swagger-codegen/pull/9699. It upgrades the swagger-codegen templates for rust (client) from hyper 0.11.6 to 0.12.34. I have several questions.
For example, I ended up using hyper_old_types crate. Is there a better way that doesn't use that crate to do:
https://github.com/swagger-api/swagger-codegen/pull/9699/files#diff-0e0813a48d274c975e43b4122db95381R73-R77

Cool!

I have several questions.

I can try to answer them. You can also try Gitter chat if you want perhaps faster answers. (Though at the same time, I'm going to close the issue since it's not a bug in hyper :D).

I ended up using hyper_old_types crate. Is there a better way that doesn't use that crate to do:

There is the headers crate which the (slow) evolution of the typed headers. It's missing some constructors, so it hasn't really been shown off much, but I believe Authorization::bearer works in your case.


sanitycheck samples/video/capture/sample.video.capture fails to build on mimxrt1064_evk

scripts/sanitycheck -s samples/video/capture/sample.video.capture -p mimxrt1064_evk
Gets:
Scanning dependencies of target drivers__video
[ 86%] Building C object zephyr/drivers/video/CMakeFiles/drivers__video.dir/video_common.c.obj
/home/galak/git/zephyr/drivers/video/video_common.c:20:8: error: unknown type name 'mem_block'
   20 | static mem_block video_block[CONFIG_VIDEO_BUFFER_POOL_NUM_MAX];
      |        ^~~~~~~~~
/home/galak/git/zephyr/drivers/video/video_common.c: In function 'video_buffer_alloc':
/home/galak/git/zephyr/drivers/video/video_common.c:32:10: error: assignment to 'struct k_mem_block *' from incompatible pointer type 'int *' [-Werror=incompatible-pointer-types]
   32 |    block = &video_block[i];
      |          ^
/home/galak/git/zephyr/drivers/video/video_common.c: In function 'video_buffer_release':
/home/galak/git/zephyr/drivers/video/video_common.c:61:21: error: request for member 'data' in something not a structure or union
   61 |   if (video_block[i].data == vbuf->buffer) {
      |                     ^
/home/galak/git/zephyr/drivers/video/video_common.c:62:10: error: assignment to 'struct mem_block *' from incompatible pointer type 'int *' [-Werror=incompatible-pointer-types]
   62 |    block = &video_block[i];
      |          ^
cc1: all warnings being treated as errors
gmake[2]: *** [zephyr/drivers/video/CMakeFiles/drivers__video.dir/build.make:82: zephyr/drivers/video/CMakeFiles/drivers__video.dir/video_common.c.obj] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3217: zephyr/drivers/video/CMakeFiles/drivers__video.dir/all] Error 2

I believe this is related to @andyross change:
commit fcd392f6ceff5d552d52b3337f373ed8ed14a30e
Author: Andy Ross<EMAIL_ADDRESS>Date:   Mon Dec 7 05:53:28 2020 -0800
kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers

Think this is fixed by https://github.com/zephyrproject-rtos/zephyr/pull/30677


add opentracing interceptors for streams and unary

This adds support for opentracing interceptors:
http://opentracing.io/documentation/

Codecov Report

Merging #24 into master will decrease coverage by 1.04%.
The diff coverage is 68%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   73.63%   72.59%   -1.05%
==========================================
  Files          22       27       +5
  Lines         660      810     +150
==========================================
+ Hits          486      588     +102
- Misses        150      184      +34
- Partials       24       38      +14

Impacted Files
Coverage Δ

logging/logrus/options.go
38% <ø> (ø)
:arrow_up:

logging/zap/context.go
81.81% <ø> (ø)
:arrow_up:

logging/zap/options.go
38% <ø> (ø)
:arrow_up:

logging/logrus/context.go
71.42% <ø> (ø)
:arrow_up:

util/metautils/misc.go
0% <0%> (ø)

tracing/opentracing/metadata.go
61.11% <61.11%> (ø)

tracing/opentracing/options.go
64.28% <64.28%> (ø)

tracing/opentracing/client_interceptors.go
71.42% <71.42%> (ø)

tracing/opentracing/server_interceptors.go
78.04% <78.04%> (ø)

... and 4 more

Continue to review full report at Codecov.

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

ROFL @improbable-yifan


SDN Controller's knowledge of flows and its control of various counters

Based on the discussion in Community meeting today, please help confirm/clarify the following understanding:

SDN Controller does not need to know about the dynamically learned flows. In other words, SDN Controller won't poll the switch for the flows or expects the switch to notify it when a new flow is learned or when an existing flow is deleted.
SDN Controller won't poll the switch for per flow statistics or expect the switch to stream per flow statistics to it periodically or when the flow is deleted
SDN Controller will explicitly create counters for specific entities. We discuss counter per ENI and per routing entry in today's meeting. I also see counters being associated with CA to PA mapping and ACL in P4 model. Are there any other counters the SDN Controller will create?

@lisahnguyen to your point #3, I would hope the P4 model would declare all counters. If they are associated with table entries which the SDN controller creates, then the counters would be created "automatically."

@chrispsommers Thanks for the comment.
Regarding the P4 model, I am under the impression that it is a WIP model (please correct me if my understanding is not correct). Hence, I am asking the question to see what other counters will be needed.

@lisahnguyen Yes it is WIP, it is good that you bring all these points up early in the process. It is a community effort and the more eyes on it the better.

Confirming that this is not the requirement, nor the statistics.  We do not need to know for every single flow.


Add translations to latest version

Need to add translations to latest version.

@rijarobinson will notify user: https://secure.helpscout.net/conversation/2656007533/226324/


EXC_BAD_ACCESS in the TextDecoding class

Ran into this while transcribing, its fairly rare but have seen in 2-3 times in ~30 hours?
Thread 31 Queue : com.apple.root.default-qos (concurrent)
#0	0x000000019b97508c in Swift.IndexingIterator.next() -> Swift.Optional<τ_0_0.Element> ()
#1	0x00000001064ecb54 in closure #1 in closure #1 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) at ...SourcePackages/checkouts/WhisperKit/Sources/WhisperKit/Core/TextDecoder.swift:289
#2	0x0000000106509568 in partial apply for closure #1 in closure #1 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) ()
#3	0x00000001a1928234 in partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@unowned Swift.Int) -> () to @escaping @callee_guaranteed (@unowned Swift.Int) -> () ()
#4	0x00000001a1928260 in reabstraction thunk helper from @escaping @callee_guaranteed (@unowned Swift.Int) -> () to @callee_unowned @convention(block) (@unowned Swift.Int) -> () ()
#5	0x000000010448a864 in _dispatch_client_callout2 ()
#6	0x00000001044a6264 in _dispatch_apply_invoke3 ()
#7	0x000000010448a824 in _dispatch_client_callout ()
#8	0x000000010448c768 in _dispatch_once_callout ()
#9	0x00000001044a5034 in _dispatch_apply_invoke ()
#10	0x000000010448a824 in _dispatch_client_callout ()
#11	0x00000001044a2db8 in _dispatch_root_queue_drain ()
#12	0x00000001044a377c in _dispatch_worker_thread2 ()
#13	0x00000001045250c4 in _pthread_wqthread ()

Thread 33 Queue : com.apple.root.default-qos (concurrent)
#0	0x000000019b97508c in Swift.IndexingIterator.next() -> Swift.Optional<τ_0_0.Element> ()
#1	0x00000001064ecb54 in closure #1 in closure #1 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) at /.../SourcePackages/checkouts/WhisperKit/Sources/WhisperKit/Core/TextDecoder.swift:289
#2	0x0000000106509568 in partial apply for closure #1 in closure #1 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) ()
#3	0x00000001a1928234 in partial apply forwarder for reabstraction thunk helper from @callee_guaranteed (@unowned Swift.Int) -> () to @escaping @callee_guaranteed (@unowned Swift.Int) -> () ()
#4	0x00000001a1928260 in reabstraction thunk helper from @escaping @callee_guaranteed (@unowned Swift.Int) -> () to @callee_unowned @convention(block) (@unowned Swift.Int) -> () ()
#5	0x000000010448a864 in _dispatch_client_callout2 ()
#6	0x00000001044a6264 in _dispatch_apply_invoke3 ()
#7	0x000000010448a824 in _dispatch_client_callout ()
#8	0x000000010448c768 in _dispatch_once_callout ()
#9	0x00000001044a6d34 in _dispatch_apply_invoke_and_wait ()
#10	0x00000001044a56e4 in _dispatch_apply_with_attr_f ()
#11	0x00000001044a5a6c in dispatch_apply ()
#12	0x00000001a19282ec in _swift_dispatch_apply_current ()
#13	0x00000001a19281b8 in static __C.OS_dispatch_queue.concurrentPerform(iterations: Swift.Int, execute: (Swift.Int) -> ()) -> () ()
#14	0x00000001064ec904 in closure #1 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) at /.../SourcePackages/checkouts/WhisperKit/Sources/WhisperKit/Core/TextDecoder.swift:287
#15	0x00000001065094f0 in partial apply for closure #1 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) ()
#16	0x00000001945fe8c0 in ___lldb_unnamed_symbol31858 ()
#17	0x00000001945ffbe8 in ___lldb_unnamed_symbol31883 ()
#18	0x00000001945fe96c in ___lldb_unnamed_symbol31859 ()
#19	0x00000001948fd030 in CoreML::MultiArrayBuffer::getBytesWithHandler ()
#20	0x00000001948fd21c in -[MLMultiArray(ScopedBufferAccess) getBytesWithHandler:] ()
#21	0x00000001945fe6c0 in __C.MLMultiArray.withUnsafeBytes<τ_0_0>((Swift.UnsafeRawBufferPointer) throws -> τ_0_0) throws -> τ_0_0 ()
#22	0x00000001064ec6f8 in closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) at /.../SourcePackages/checkouts/WhisperKit/Sources/WhisperKit/Core/TextDecoder.swift:285
#23	0x0000000106509474 in partial apply for closure #1 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) ()
#24	0x00000001945fee7c in ___lldb_unnamed_symbol31860 ()
#25	0x00000001945ffc58 in ___lldb_unnamed_symbol31887 ()
#26	0x00000001945fefc8 in ___lldb_unnamed_symbol31862 ()
#27	0x00000001948fce94 in __63-[MLMultiArray(ScopedBufferAccess) getMutableBytesWithHandler:]_block_invoke ()
#28	0x00000001948fd030 in CoreML::MultiArrayBuffer::getBytesWithHandler ()
#29	0x00000001948fcdd4 in -[MLMultiArray(ScopedBufferAccess) getMutableBytesWithHandler:] ()
#30	0x00000001945feb80 in __C.MLMultiArray.withUnsafeMutableBytes<τ_0_0>((Swift.UnsafeMutableRawBufferPointer, Swift.Array<Swift.Int>) throws -> τ_0_0) throws -> τ_0_0 ()
#31	0x00000001064ec514 in closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) at /.../SourcePackages/checkouts/WhisperKit/Sources/WhisperKit/Core/TextDecoder.swift:284
#32	0x0000000106509404 in partial apply for closure #1 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) ()
#33	0x00000001945fe8c0 in ___lldb_unnamed_symbol31858 ()
#34	0x00000001945ffbe8 in ___lldb_unnamed_symbol31883 ()
#35	0x00000001945fe96c in ___lldb_unnamed_symbol31859 ()
#36	0x00000001948fd030 in CoreML::MultiArrayBuffer::getBytesWithHandler ()
#37	0x00000001948fd21c in -[MLMultiArray(ScopedBufferAccess) getBytesWithHandler:] ()
#38	0x00000001945fe6c0 in __C.MLMultiArray.withUnsafeBytes<τ_0_0>((Swift.UnsafeRawBufferPointer) throws -> τ_0_0) throws -> τ_0_0 ()
#39	0x00000001064ec2f8 in closure #4 in static TextDecoding.updateKVCache(keyTensor:keySlice:valueTensor:valueSlice:insertAtIndex:) at /.../SourcePackages/checkouts/WhisperKit/Sources/WhisperKit/Core/TextDecoder.swift:283

Thanks for the report, need to rework this section because we're nesting a lot of closures and sending to different threads inside of them. The DispatchQueue.concurrentPerform is faster in testing, but sliceShape can be deallocated which would lead to this. Needs a weak reference for a simple fix, but looking for a more robust solution if you have any suggestions.

Thanks for the quick response. Honestly no suggestion, we're struggling with memory issues ourselves. It only happened a handful of times, not too urgent

Would making a copy of sliceLength make sense?
let sliceLength = sliceShape[3]
...
DispatchQueue.concurrentPerform(iterations: tensorShape[1]) { j in
    for k in 0..<sliceLength {
        // ...
    }
}


Allow the team to create new high-level categories and terms for Screening Statuses (/admin/funds/screeningstatus/) and Apply Categories (admin/categories/category/)

See https://github.com/OpenTechFund/opentech.fund/issues/971


Does not import abf

Hello dear users,
I have recently found the following bug with neo files. When I try to import the abf file, it could not read it. I use the following commands:
r = io.AxonIO('My_file.abf')
bl = r.read()
Instead of getting results I get the following error:
AttributeError                            Traceback (most recent call last)
 in ()
7
8 r = io.AxonIO(filename=abf_file_list[i])
----> 9 bl = r.read()
10
11 bl
/Users/Anatoly/anaconda/lib/python2.7/site-packages/neo/io/baseio.pyc in read(self, lazy, cascade, **kargs)
114                 return self.read_all_blocks(lazy=lazy, cascade=cascade,
115                                             **kargs)
--> 116             return [self.read_block(lazy=lazy, cascade=cascade, **kargs)]
117         elif Segment in self.readable_objects:
118             bl = Block(name='One segment only')
/Users/Anatoly/anaconda/lib/python2.7/site-packages/neo/io/axonio.pyc in read_block(self, lazy, cascade)
318                 for i, tag in enumerate(header['listTag']):
319                     times.append(tag['lTagTime']/sampling_rate)
--> 320                     labels.append(tag['nTagType'].decode("utf-8"))
321                     comments.append(clean_string(tag['sComment']))
322                 times = np.array(times)
AttributeError: 'int' object has no attribute 'decode'
I am running Python 2.7 Anaconda on Mac OS 10.12.6 Sierra, macbook pro. Any help would be appreciated. Surprising the same code works well for the other abf files, but not for all of them.
Looking forward for your help.
Anatoly

In the master line 320 is:
labels.append(str(tag['nTagType']))

This have been corrected by cjfraz here
https://github.com/NeuralEnsemble/python-neo/commit/860d978dad46029bd34ac30fae791b386ecc67cb#diff-28dbfa72cda9619fb76c682565ec2e51
Could you clone the master branch and install it for testing ?

Thanks, it helped! Now I could upload the abf files, since I have hunderts of them it is almost impossible to do the conversion manually.
Is it he part of the current master branch? Could this improvement of neo package already in 0.5.1 release?

This will be included in  0.5.2 hopefully soon.


Failure: WARNING: Packing source code into tar file to upload - build failed

Running below command in Jenkins pipeline:
azureCLI commands: [[exportVariablesString: "",
                                script: "az acr build -t test.azurecr.io/repo:$env.BUILD_NUMBER -r test
                                ${WORKSPACE} --build-arg PORT=${PORT}"]],
                                principalCredentialId: "xxxxx"

ERROR
Running: az acr build -t test.azurecr.io/repo:5 -r test /var/lib/jenkins/workspace/test --build-arg PORT=7777
Failure: WARNING: Packing source code into tar file to upload...
WARNING: Excluding '.gitignore' based on default ignore rules
WARNING: Excluding '.git' based on default ignore rules
WARNING: Sending build context (3.222 MiB) to ACR...
WARNING: Queued a build with build ID: axb4
WARNING: Waiting for build agent...
ERROR: Build failed

There is no specific error message on why build has been failed.

https://github.com/jenkinsci/azure-cli-plugin/issues/19


Local: creating spaces, creating folders and file uploads no longer work in Safari

Bug description
Local: creating spaces, creating folders and file uploads no longer work in Safari
Steps to Reproduce
Spaces

Run your deliver locally, and open it in Safari
Log in with superdeliver
Create a space
See errors

(created with space admin, not shown for privacy reasons)

Folders

Run your deliver locally, and open it in Safari
Log in with superdeliver or deliver
Create a folder
See errors

Uploads

Run your deliver locally, and open it in Safari
Log in with superdeliver
Open a folder

Upload any file (small, large, ...)

See errors

Sometimes, this error also appears:

Risk classification
Likelihood
1: Frequent
Consequences
2: Critical – 3: Marginal
System information
Desktop

OS: Sonoma 14.5 (23F79)
Safari Version 17.5 (196<IP_ADDRESS>.6)

Works after testing @nics' fix.


Update dependencies

Updates the all dependencies to the latest version. I unpinned (not sure what it is called) pandas and dash. Not sure if there was a reason for doing this but the latest versions seem to work.
Also added a travis CI config. @jeremymoreau as the owner/admin would have to add the integration to it, if you are interested to activate it.

@mschoettle I've never used Travis CI, but I think I've added the integration. Let me know if there are any issues.

Actually it looks like Travis-ci just updated their pricing and now are requiring us to send an application for free open source credits: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
Any way to achieve what you were looking to do with the Free (for public repos) GitHub Actions? Or circle-ci?
My inclination would be to use Github actions since it's free and built-in (e.g. https://github.com/marketplace/actions/flake8-action). What do you think @mschoettle ?

Wouldn't the free plan (which you should have by default) be enough?
Anyway, it doesn't matter to me which service it is. The problem with GitHub actions I see is that it is not using the same environment (as far as I can tell) which could potentially miss some problems. But might be enough. There are some actions that support both flake8 and mypy.

Seems like they've eliminated their free plan as of last month unfortunately (replaced with a one-time trial credit for ~1000 minutes of run time).

I see. I might have missed that since for some reason I am still on an education plan.


Fail to execute sub-pipline

HKube micro-service
Api-server
Describe the bug
fail to execute sub-pipeline Api server return "message": "data should NOT have additional properties (spanId)"
Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

tested on version 1.2.40V
an error added to the log
...
SubPipeline job error: unable to find flowInput.inp, alg subPipelineId: 0


Is there any way to decode this code?

Problem Description
i tried on burpsuite it works but mitmproxy doesn't.What's the problem?

System Information
$ mitmproxy --version
Mitmproxy: 10.1.6
Python:    3.12.0
OpenSSL:   OpenSSL 3.1.4 24 Oct 2023
Platform:  Windows-10-10.0.19045-SP0

Please define "it works". I'm going to move this to discussions.


Remove the Help wanted label

I suggest we remove the Help wanted label. In my opinion we want help with all issues except those which are assigned. Otherwise it looks like we don't want help with the issues that don't have this label.

I was just kidding ☝
Yeah, we can get rid of it.

done


Add check for IncludeClaimResolvingInClaimsHandling  in debug-iefpol

In Debug-IefPolicies check for IncludeClaimResolvingInClaimsHandling  in debug-iefpolicies if a TP is doing any claims resolving

Fixed in 3.2.16


Add Linux mapping for 3rd party PS4 Controller

Mapping made using gamepad-tool

@offalynne I've just noticed that in this generated string some keys seem to be duplicated (dpdown, dpleft), any idea if that's normal?

Fixed in 824d1c99fa8ff4c1cdcf0dfb10604fd7149091b9


more improvements

Someone should make an Expertcoderz plugin that automatically adds OOP, type checking and beautified code to a script

Someone should make an Expertcoderz plugin that automatically adds OOP, type checking and beautified code to a script

Was actually thinking of doing this at some point in time, but it won't ever be perfect by my standards.


test model key value errror

I try to test the model download from https://www.dropbox.com/sh/tnsf0lw6psszvy4/AAA81r53jpUI3wLsRW6TiPCya?dl=0 , and change the config file line 43 "FRONT_END: 'vgg' ",but there seems to be error named model key error below:
tensorflow.python.framework.errors_impl.NotFoundError: Key LaneNet/vgg_backend/instance_seg/pix_bn/beta not found in checkpoint
I  doubt if the model provided is deprecated?

@zwyzwy If you want to test old model you need to roll back the repo to old version now. I will release a mode trained with vgg front end when enough spare time was supplied in the future:)


Change the order to address the case of the final step goto pointing …

…to the end step

@willpowelson Per our conversation, this might cause more problems than it fixes. Will close for now and reopen if and when it becomes an issue


Create a service to persist LAT / LONG of Assets

Child of #580
As part of creating a new asset, user will input asset LAT, LONG data in addition to values for other user defined attributes. Since, LAT LONG are mandatory or displaying the asset on the map widget, these will be captured along with other mandatory attributes of the asset.
Need to create a service to persist LAT LONG values in the attributes_kv table, so they can also be displayed along with other attributes of the asset, when user clicks asset details.

This change is  not required. LAT / LONG are not mandatory.. The may not be available and for some asset types, they may not even be relevant. Therefore, treat LAT LONG as any other customer defined attribute. The map widget will pull them anyway.


Release API does not expose attachments

Gitea version (or commit ref): https://github.com/go-gitea/gitea/commit/7e401b9e3993d9b3e4e64ba63d36fbcbdf688430

Description
Releases can now have attachments #673 🎉 But the API was not updated to reflect this 🙁
The bare minumum for basic functionality are:

update /repos/:owner/:repo/releases[/:id] with{
 "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
 "assets": [
    {
      "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
      "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
      "id": 1,
      "name": "example.zip",
      "label": "short description",
      "state": "uploaded",
      "content_type": "application/zip",
      "size": 1024,
      "download_count": 42,
      "created_at": "2013-02-27T19:35:32Z",
      "updated_at": "2013-02-27T19:35:32Z",
      "uploader": {
        "login": "octocat",
        "id": 1,
        "avatar_url": "https://github.com/images/error/octocat_happy.gif",
        "gravatar_id": "",
        "url": "https://api.github.com/users/octocat",
        "html_url": "https://github.com/octocat",
        "followers_url": "https://api.github.com/users/octocat/followers",
        "following_url": "https://api.github.com/users/octocat/following{/other_user}",
        "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
        "organizations_url": "https://api.github.com/users/octocat/orgs",
        "repos_url": "https://api.github.com/users/octocat/repos",
        "events_url": "https://api.github.com/users/octocat/events{/privacy}",
        "received_events_url": "https://api.github.com/users/octocat/received_events",
        "type": "User",
        "site_admin": false
      }
    }
  ]
 }

List assets: GET /repos/:owner/:repo/releases/:id/assets
Get single asset: GET /repos/:owner/:repo/releases/assets/:id

Nice to have but could be it's own PR

Edit asset: PATCH /repos/:owner/:repo/releases/assets/:id
Delete asset: DELETE /repos/:owner/:repo/releases/assets/:id
Upload asset: POST /repos/:owner/:repo/releases/:id/assets?name=foo.zip

Ref: https://developer.github.com/v3/repos/releases/#list-assets-for-a-release

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41166037-release-api-does-not-expose-attachments?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).

Curious, since POSTing files to releases isn't supported yet, is there any work around to create releases with files attached to them? I am looking at automating a release process via jenkins.

I'amcurrently working on this issue. We are calling assets currently attachments should this be also taken over to the api? Or should I use assets as @bkcsoft suggested?

@JonasFranzDEV It should be whatever GitHub API is calling it 🙂


update ICD10CM to ICD10WHO

fixes #4651
@matentzn I updated the ICD10CM prefixes to ICD10WHO for the x-ref in which ICD10WHO was more precise.
BUT:
I think that the ICD10CM code were not "wrong", just less precise than the ICD10WHO. When a ICD10CM code exist, shouldn't we keep it and add the ICD10WHO as an additional x-ref?

@matentzn ICD10WHO is not an allowed prefix?

@sabrinatoro you will have to add ICD10WHO to the list of allowed prefixes :D Let's see if you can figure this out by yourself, but if you cant, I will do it for you.. Just for fun!
I trust your judgement on the xrefs: the correct way would be to add the ICD10WHO ones and make them EXACT, and the other ones should probably be narrower or broader..


VScode v1.58.2 won't start unless "--no-sandbox" or "--disable-setuid-sandbox" is given

The title explains it well.
installed VScode using the tarfile (code-stable-x64-1626303100.tar.gz)
OS: CentOS Linux release 7.9.2009 (Core)

Version: 1.58.2
Commit: c3f126316369cd610563c75b1b1725e0679adfb3
Date: 2021-07-14T22:30:16.440Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 3.10.0-1160.31.1.el7.x86_64

Pls see https://github.com/microsoft/vscode/issues/128706#issuecomment-880318475.

Merging to https://github.com/microsoft/vscode/issues/128331


When entering incorrect username/password, an error message should appear somewhere

Steps to reproduce
Go to the login screen and enter any pair of incorrect credentials (e.g. incorrect credentials, one or more fields blank). After submitting, the textboxes will be reset, but no error will be shown.
Severity
Minor.

#97 solves this


[Question] Re-centering tree in div on clicking a node

I'm using the CenteredTree recipe to render the tree in the center of the parent div on the initial render.
I wanted to know if it is possible to scale and re-center the rendered tree inside its parent component every time a node is expanded?

Hi @amad-person,
No this unfortunately isn't part of the feature set at the moment since the translate & zoom props are intended to set up the graph in a useful position for the user and letting them move freely from that point onwards.
An autoScale prop would definitely be cool to have, although on a graph of significant size the nodes would quickly become almost unclickable due to them becoming very small as the graph auto-scales.

That makes sense, thanks @bkrem!

No problem, sorry I can't help much right now for your use case.
I'm going to leave this open for further discussion since someone else may have a good approach for this.

Couple thoughts:

use onclick event, get click x and y, modify graph transform based on some factor of those values

ReactDOM.findDOMNode(this).firstChild.firstChild.firstChild.setAttribute('transform', `translate(${someX},${someY}) scale(0.7)`);

Store an object that tracks the nodes' coordinates in the container, according to their 'id'. Updates would be expensive
When a node component mounts, add its x and y values to the actual node data object. Update the entire data object (very expensive)

@bkrem If i update the state.translate property after the graph is rendered, it is not re-rendered with the new values. Where is this in the code?

@mwilde345 I was actually looking into this and the prop seems to be set, but react doesn't seem to re-render it.
So I did some fiddling, I've done react for a cpl of weeks, so I might be waaay off on the solution. I added a key to the g component rendered by NodeWrapper. The key was just translate.x, translate.y+scale as a string. This caused the g component to re-render when translate was set.

like @npetzall noted above, updating the HTML attribute for transform=translate(x,y) directly doesn't affect the  component's translate state. Once you drag the canvas, the component resumes updating translate again. I was updating the position of the tree by manually updating the first 'g' as you were, however, to get around the jumpiness behavior I've just gone with updating this.state.translate:
this.state.translate =      {       x: applied.x,       y: applied.y     }
I don't know how to do smooth transitions with this approach, however. I might just forgo it

This has been implemented via #381 and shipped as part of https://github.com/bkrem/react-d3-tree/releases/tag/v3.3.0 🚀
Closing.

Update
https://github.com/bkrem/react-d3-tree/releases/tag/v3.3.1 ships a fix for a calculation bug when centering nodes via dimensions in horizontal orientation.
Please update to v3.3.1 instead if you want to use this feature.


Setup demo site on low-cost host

Please provide any additional information below.

For example, setup an instance on http://www.mochahost.com/java.php

Original issue reported on code.google.com by kyle.braak on 2013-08-27 14:14:50

I recently installed the IPT in a cloud deployment using Amazon EC2 Web Services. EC2 allowed me to obtain and boot a new server instance running Tomcat in minutes, on which I could install the IPT normally.
How much does it cost?
New customers will get free usage for one year as part of AWS Free Tier. Afterwards, I estimated the monthly cost to be about $15 using the monthly calculator, however, this will obviously vary depending on how much storage is required. Fortunately Amazon EC2 allows you to pay only for capacity that you are actually using to minimize cost. A screenshot showing my monthly estimate is included below.
How easy is it to use?
Installation is quite straightforward, but the IPT instance will still require regular administration and backups similar to running the IPT on a normal server. Backups of the IPT data directory could be stored for example on an Amazon Simple Storage Service (S3)  directory that is both secure and low-cost.


Improve content synchronization

These changes reduces mailspam when updating pages and attachments in Confluence.
Without the minorEdit parameter every change creates a mail for all watchers. The default is now changed to use minorEdit=True and thus not create notification mails. The previous behaviour can be restored by using the new cli option --no-minoredit.
Another implemented optimization is focused on attachments. The previous implementation was syncing all attachments everytime. When a page has a lot of attachments, this quickly creates many versions and wastes storage. The optimization uses the comment field to store a hash of the uploaded file and only re-uploads the contetns, if the hash of the current file does not match the one stored in comment. This behaviour can also be disabled by specifying --no-optimizeattachments .

Hi and sorry for the extremely delayed response. Your PR and all submissions to this project are very much appreciated. I am just doing a quick review and then will look to merge. Thank you again for your contributions.


ansible 4.2

To fix our last remaining Dependabot security issue.
I created https://github.com/ceph/teuthology/pull/1754 to help test this.

A smoke job passed: https://pulpito.ceph.com/zack-2022-04-29_16:17:05-smoke-quincy-distro-default-smithi/
ansible.log here: http://qa-proxy.ceph.com/teuthology/zack-2022-04-29_16:17:05-smoke-quincy-distro-default-smithi/6814143/ansible.log
It looks like it's about time to move away from python 3.6, which for example in sepia would require upgrading the teuthology VM to at least 20.04.
@djgalloway out of curiosity what ansible version(s) are you using with ceph-cm-ansible for admin tasks?

@djgalloway out of curiosity what ansible version(s) are you using with ceph-cm-ansible for admin tasks?

$ ansible --version
ansible 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/dgalloway/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/dgalloway/git/ceph/teuthology/virtualenv/lib/python3.6/site-packages/ansible
  executable location = /home/dgalloway/git/ceph/teuthology/virtualenv/bin/ansible
  python version = 3.6.9 (default, Dec  8 2021, 21:08:43) [GCC 8.4.0]

the patch has conflicts

This is over 2 years PR, closing for now.


Four styles for each layer item label

If you set up four levels of font styles, I'll add the styling.

Bold
Regular
Light
Light, File Missing

I've addded four styles: bold, regular, light and light-file-missing - for the time being, they can be switched using Ctrl/Cmd+Click on a timeline item. There's some placeholder styling in runningOrderView also.


assert canonical base64 on top level properties

previous, author, signature and content (if it's a string) are now checked to be valid canonical base64 strings. strings inside content are not checked (they may be inside markdown text anyway) are not checked.
It makes sense that another implementation may wish to encode the top level object in a binary representation, but I think if they encounter strings within the content that are not canonical base64 they should consider them invalid, and just represent them as arbitrary strings.
@AljoschaMeyer

note, this PR depends on https://github.com/ssbc/ssb-ref/pull/21

Yeah, non-metadata strings don't need to be verified in any special way. They need to adhere to some constraints, but the js implementation enforces those automatically through the JSON.encode(JSON.decode()) roundtrip.
As for more efficient encodings of cypherlinks, that's something hsdt will (most likely) add to ssb.

Can you push https://github.com/dominictarr/is-canonical-base64?

pushed.
On 10/24/18, Anders Rune Jensen<EMAIL_ADDRESS>wrote:

Can you push https://github.com/dominictarr/is-canonical-base64?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/ssbc/ssb-validate/pull/11#issuecomment-432213064

merged in f1dd1cd075e6f0fa6077b1f9d1f38c1502bed4af


[heimdall] fix copy-paste typo

Description of the change
fix a typo

Benefits
no typo

Possible drawbacks
less exciting configuration experience

Additional information
Thanks for this project! Beats continuing to maintain personal versions of all these charts.
Checklist

[X] Chart version bumped in Chart.yaml according to semver.
[X] Title of the PR starts with chart name (e.g. [home-assistant])
[X] Chart is using our common library as a dependency.

Thanks!

Thanks!


FETCH FIRST 100 ROWS ONLY , 00933. 00000 -  "SQL command not properly ended"

oracle version:  11.2
springdatajdbc: 3.3.2
2024-08-21 17:27:42 [parallel-1] DEBUG o.s.jdbc.core.JdbcTemplate - Executing prepared SQL statement [SELECT * FROM "PCL"."SYS_LIBRARY" ORDER BY "PCL"."SYS_LIBRARY"."LIB_ID" DESC FETCH FIRST 100 ROWS ONLY]
Caused by: java.sql.SQLSyntaxErrorException: ORA-00933: SQL
If using Oracle version 12C or above, there will be no issues.

Oracle 11 didn't support FETCH FIRST or similar syntax. Spring Data JDBC is not supporting Oracle 11.