Missing dates are making it to dataset generation

I've removed the forcible correction of missing dates (which ensured NaNs didn't make it through by replacing them with zero)
Many NaNs are making it through from missing_dates.csv SIC
WARNING:root:NaNs detected 1988-01-01: input = 186624, output = 2239488, weights = 0
WARNING:root:NaNs detected 1988-01-02: input = 373248, output = 2052864, weights = 0
WARNING:root:NaNs detected 1988-01-03: input = 559872, output = 1866240, weights = 0
WARNING:root:NaNs detected 1988-01-04: input = 559872, output = 1679616, weights = 0
WARNING:root:NaNs detected 1988-01-05: input = 559872, output = 1492992, weights = 0
WARNING:root:NaNs detected 1988-01-06: input = 559872, output = 1306368, weights = 0
WARNING:root:NaNs detected 1988-01-07: input = 559872, output = 1119744, weights = 0
WARNING:root:NaNs detected 1988-01-08: input = 559872, output = 933120, weights = 0
WARNING:root:NaNs detected 1988-01-09: input = 559872, output = 746496, weights = 0
WARNING:root:NaNs detected 1988-01-10: input = 559872, output = 559872, weights = 0
WARNING:root:NaNs detected 1988-01-11: input = 559872, output = 373248, weights = 0
WARNING:root:NaNs detected 1988-01-12: input = 559872, output = 186624, weights = 0
WARNING:root:NaNs detected 1988-01-13: input = 373248, output = 0, weights = 0
WARNING:root:NaNs detected 1988-01-14: input = 186624, output = 0, weights = 0
INFO:root:Finished output ./network_datasets/train_loader/north/train/00000000.tfrecord

These should've be interpolated during processing of the SIC, so just need to review this in the new data pipeline to correct in the best manner. In the meantime, the samples are dropped from the output sets.

Linked to #59 ?


Extract into function puts () as parameter type when type is unnameable

If you have some code that holds types that cannot be named in your project (say you're using a type from crateA that exposes a type from crateB, but you don't have a dependency in your own project on crateB and crateA does not re-export the types), trying to extract such code into a function results in the type of the parameter being set to ().
As an example, I had this code snippet that I wanted to extract into a function:
let author = author.first_child().unwrap();
if let Some(author) = ElementRef::wrap(author) {
    let (url, name) = url_and_text_from_anchor(author);

    Author::User {
        url: url.expect("author href"),
        name,
    }
} else if let scraper::Node::Text(name) = author.value() {
    let name: &str = &*name;
    Author::Other {
        name: String::from(name),
    }
} else {
    unreachable!()
}

The type of the author on the first line is ego_tree::NodeRef. This type is not possible to name in my project because I don't have a dependency on ego_tree, nor does scraper re-export this type. By trying to extract function on the whole if statement (i.e. line 2 onwards), this was the function that got produced:
fn fun_name(author: ()) -> Author {
    if let Some(author) = ElementRef::wrap(author) {
        let (url, name) = url_and_text_from_anchor(author);

        Author::User {
            url: url.expect("author href"),
            name,
        }
    } else if let scraper::Node::Text(name) = author.value() {
        let name: &str = &*name;
        Author::Other {
            name: String::from(name),
        }
    } else {
        unreachable!()
    }
}

which, as you can probably guess, doesn't work:
error[E0308]: mismatched types
  --> sandbox\src\main.rs:36:26
   |
36 |                 fun_name(author)
   |                          ^^^^^^ expected `()`, found struct `ego_tree::NodeRef`
   |
   = note: expected unit type `()`
                 found struct `ego_tree::NodeRef<'_, Node>`

Obviously, the fix here is for me to explictly depend on ego_tree or to avoid having to name NodeRef, but the fact that this was possible at all when the code that gets produced is just flat out wrong seems like a bug to me, so I thought I'd report it.

For me, blocking the assist in such case seems worse than giving "tried its best".
Neither I feel its ok if it tries to play smart adding dependencies implicitly.
To improve UX it could be made to give some sort of comment.


Add Planet global monthly/quarterly mosaic

Reference: https://developers.planet.com/quickstart/apis

Great, How to visit the mosaic data? Thank you.

This feature has been implemented. See notebook examples:

https://geemap.org/notebooks/77_planet_imagery
https://geemap.org/notebooks/78_ts_inspector


[5.5][Refactorings] Add cursor refactorings for the start of the range

Cherry-pick https://github.com/apple/swift/pull/38920

When a range is a single expression/statement/decl or part of
expression, also return cursor based refactorings for the start of the
range.
This is a stop gap until the available refactorings are properly fixed
to be more lenient in general - the current fix is a little odd as eg.
if all of foo.bar() is selected, rename will be returned as an
available refactoring for foo. Still an improvement over completely
missing cursor based refactorings, however.
Resolves rdar://82060063

@swift-ci please test


NatsError: CONNECTION_DRAINING at application shutdown

Hello :)
I got uncatchable NatsError: CONNECTION_DRAINING exception when shutting down app with app.close()
I need it at my tests to cleanup.
To Reproduce
Steps to reproduce the behavior:
Add to packages/nats-listener/src/main.ts at bootstrap end after await microService.listen();:
  setTimeout(async() => {
    logger.log("closing app");
    try {
      await app.close();
    } catch (err) {
      logger.error(err);
    }
    logger.log("closed");
  }, 10*1000);

Expected behavior
App closes, logging "closed";
Screenshots

Looks like app tries to delete consumer via $JS.API.CONSUMER.DELETE ....  after drain is called, can you plz take a look?
Thanks

fixed


runtime: scheduler randomness lost

What version of Go are you using (go version)?
1.12 beta 2
Does this issue reproduce with the latest release?
Only seeing it with 1.12 beta 2
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="darwin"
What did you do?
I've been using this program in training for years. It shows how random the scheduler is with context switches and it can't be predicted.
https://github.com/ardanlabs/gotraining/blob/master/topics/go/concurrency/goroutines/example2/example2.go
Just build the program and run it several times. On 1.11 or earlier, you will see the B goroutine context switches as an unpredictable prime number each time. Sometimes you get 4 context switches before it is complete. It is very rare not to get one before the work for any goroutine is complete. On 1.12, these context switches are gone. I am seeing this behavior with other programs I have. This one is the easiest to run and see the change.
What did you expect to see?
Create Goroutines
Waiting To Finish
B:2
B:3
B:5
B:7
. . .
B:4139
B:4153
B:4157
A:2 <- Unpredictable context switch
A:3
A:5
A:7
. . .
A:4231
A:4241
A:4243
B:4159 <- Unpredictable context switch
B:4177
B:4201
. . .
Completed B
. . .
A:4987
A:4993
A:4999
Completed A
What did you see instead?
Every time I run it there is no context switch. The B goroutine finishes completely and then the A goroutine runs. This happens every single time.
B:2
B:3
B:5
B:7
B:11
...
B:4987
B:4993
B:4999
Completed B
A:2
A:3
A:5
A:7
. . .
A:4987
A:4993
A:4999
Completed A

Wouldn't a trace file make this easier to understand? And they should be running concurrently, unless GOMAXPROCS=1 and then any switch would only happen due to the serialization around the Print - so maybe the Print lock is not fair in the latest release ?

This has been fixed on tip. My guess is because of the changes to the schedule.

This is not an issue any longer.


Apply CLAHE to frames in add.py and compare.py

Contrast Limited Adaptive History Equalization is not applied in add.py and compare.py before determining whether a frame is too dark. This leads to different behavior in classifying frame-darkness than what happens in test.py.
This should fix #275.

I tested this and it worked for me to fix #269 used together with this

Thanks a lot!


Question about the usage of compiler autotuning

Hi all,
I am pretty new here, and I notice this cool place by this paper.
To my understanding, one feature of CK is providing a framework to automatically tune the optimization flags of compiler for a program.
Furthermore, it could be done on cross-platform device. It's super convenient!
However I really have difficulty to read the following documentation even with the help of the paper above.
https://ck.readthedocs.io/en/latest/index.html
https://github.com/ctuning/ck/wiki/Compiler-autotuning
https://github.com/ctuning/ck/wiki/autotuning
Perhaps I need to spend more time to dig into those materials. But the problems below is hard to me.

The only way I know the usage of CK front-end shell command is typing it with --help to my terminal. I could not find those API documents online.

Isn't there a tutorial about guiding user to add their own library, tool-chain and then automatically run on the device via adb?
Let's say I want to use another toolchain to reproduce the zlib optimization from the paper step by step without using the "ck replay" command. I will:
a. Download zlib
b. Downlaod a toolchain
Then I feel really chaos to setting up CK to let it do the optimization for me.

I know I stuck at the very beginning. Yet may I have some hints from you?
Any reply is appreciated. Thanks a lots!

Hi @joy369,
Thank you very much for your interest! I do understand your frustration and share the same feelings!
The main issue is that I was mostly focusing on finalizing the prototyping stage of the CK technology and had very limited resources to improve docs and provide user-friendly tutorials. That's really a shame since I had similar feedback from other users over time. However, since I finally finished prototyping the CK concept, I finally started addressing some of the above issues.
For example, it's possible to search for CK modules here and see their APIs with related python code and dependencies. However, there is no a tutorial on adding new toolchains and compilers and I agree that it's very tricky to figure it out yourself :( ...
I am preparing the CK2 project for 2021 with a focus on autotuning and one of the priorities is to start adding tutorials to make the onboarding process for new users easier. Would you like us to keep you informed and exchange ideas? Just send me an email or register at the CK mailing list and/or here.
In the meantime, you may be interested to have look at related compiler autotuning projects from my colleague @ChrisCummins.
Thanks again for your interest and sorry about the lack of tutorials :( ...
CC @phesse001

By the way, the new Android toolchain can be generally added by copying and modifying the most related CK OS android* entry from here: https://github.com/ctuning/ck-env/tree/master/os .
Usually you do it via:
ck pull repo:ck-env
ck cp ck-env:os:android29-arm64 ck-env:os:android30-arm64
vim `ck find ck-env:os:android30-arm64`/.cm/meta.json

You can then use the new description when cross-compiling your program:
ck compile program:{some program} --target_os=android30-arm64
ck run program:{some program} --target_os=android30-arm64

The detection of Android toolchains is done in these soft detection plugins. They can be modified to set up environment variables for new toolchains if needed ...
Adding a new program (library) is briefly described here.
I tried to separate program description from toolchains. The idea is that when you add a new program (based on some existing one similar to Wikipedia), the CK should automatically pick up the toolchain from the existing ones, set up environment variables (using soft detection plugins) and generate tmp scripts to build and run your program automatically ...
Hope it's of any help. I hope that we will find resources to add tutorials to describe this process so that one do not need to navigate through all APIs, meta descriptions and scattered documentation.
Cheers!

That's great! Thanks @ChrisCummins - looking forward to it. I am also interested to see if we could connect your tools with the CK workflows to reuse CK benchmarks and data sets - that would be cool!

@gfursin
Big thanks of you for pointing me in a right direction to investigate! :D
It seems to me that I could not digest all the information by one glance, I will try read and understand them.
And yes I do like to hear the news about this toolkit. I will register it later.
Honestly I just peek into the research area of compiler auto tuning (or let's say the the options selection) recently.
I have read some papers yet still many things are pretty new and interesting to me,  just list a few, like:
1. Effective selection methods to choose the options. (I still find random selection would be one of the baselines)
2. Thermal problem of embedded devices when implementing the auto tuning on cross-platform
3. Via CK auto-tuning, profiling method relays on timing stamps or sampling criteria?
...
It will be really great for me to have a chance to have a talk with the master like you. :D
@ChrisCummins
Look forward to your tutorial.
I will check your github and give it a try!
Just one question, although I know the same setting will cause the performance increase/decrease significantly even on two different *.cpp files.
I am a bit curious. Would the tutorial cover the flow for project which depends on CMake to build?
Thank you for all of your comments!

Hi @joy369,
Sorry for the delay in replying - I am preparing a new project and swamped at the moment.
The questions you listed are very reasonable and interesting.

One of the main reasons why I postponed my academic research on ML-based autotuning and started working on the CK framework was to make it possible to test different design space exploration methods across diverse programs, data sets, compilers and systems in a collaborative and reproducible way while avoiding many pitfalls. I mentioned some in these two talks this summer: Google and FastPath and these papers: 1 and 2.

Another reason was to collect enough diverse programs and datasets from the community to make the use of ML for autotuning statistically meaningful (particularly important for deep learning). Random search makes sense at the beginning of you exploration when you do not have enough knowledge about your optimization space, but if you have enough samples, model-based approach should eventually beat random search.
The last reason was to distribute design space exploration across as many volunteers with diverse platforms and environments as possible:

https://cknowledge.org/gcc-crowd-benchmarking-results
https://cknowledge.org/llvm-crowd-benchmarking-results

As you can see, we collected lots of optimization results from the community 2 years ago during our project with the Raspberry Pi foundation. Unfortunately, I didn't do more analysis and experiments since then because I switched my focus on reproducible ML system co-design. I may get back to this topic in 2021 and will be happy to keep in touch...
Also have a look at this paper (unless you saw it already): "A Survey on Compiler Autotuning using Machine Learning": https://arxiv.org/abs/1801.04405 .

I am not sure what do you mean by the thermal problem of embedded devices during autotuning ;)

In the CK we use system timing by default and we can plug oprofile and other sampling profiling if needed (for example to collect hardware counters).

If you want, we can arrange a conf-call at some point - just send me an email at<EMAIL_ADDRESS>...
And good luck with the compiler autotuning R&D ;) ...

Hi @joy369, I'm following up here to announce CompilerGym, a research platform for compiler autotuning. In particular, it makes it very easy to experiment with different optimization strategies through a simple python interface.
If you compile your program to LLVM-IR:
$ clang++ -emit-llvm -c myapp.cc

you could then run a simple random tuning strategy using:
$ pip3 install compiler_gym
$ python -m compiler_gym.bin.random_search --env=llvm-ic-v0 --benchmark=file:///$(pwd)/myapp.bc

For cmake integration you would just need to figure out how to adapt your build to append the -emit-llvm flag to generate the LLVM-IR bitcode files. Shortly after the new year we will be adding three tutorials on (1) Makefile integration, (2) adding support for a new compiler, and (3) using reinforcement learning to build optimization policies. These will be added to the documentation website. Stay tuned!
Cheers,
Chris

Thanks for sharing, Chris - compiler_gym looks very interesting. Looking forward to check it out in more detail during vacations!
Happy holidays and keep up this great work!


Still requests from url when models have been downloaded manually.

It seems that  __init__.py requests from urls even when the model is manually downloaded, raising connection errors when urls are not accessible.

hi there,
You probably can comment the download line. The code has only been tested in automatic downloading situation.
-Yuan

hi there,
You probably can comment out the download line. The code has only been tested in automatic downloading situation.
-Yuan

Thanks. It's solved.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[locale] ja: fix long month names

@baryon
I just fixed month names.
Related Information
http://cldr.unicode.org/translation/date-time-patterns

Coverage remained the same at 94.625% when pulling 78ace5f33852af0f68566967b39d9dab4a2dc918 on eternalharvest:hotfix/japanese_months into 89b58e65677571a5a124157390198fbd4b8af6df on moment:develop.

This fix is not a general Japanese calendar display.
Locale before fix is more general.


feat(ops): split up E2E testing Cloud Build config

Fixes #756
✅ I confirmed that tests pass here.

@rogerthatdev I think you have a missing Docker image.
Try running the testing-web-e2e-build-container-trigger trigger (to build that image) and re-running the tests?


fix(docs): Readjust CSS Form to docs

Readjust the CSS Form documentation at docs components

Codecov Report

Merging #214 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #214   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          20     20
  Lines         379    379
=====================================
  Hits          379    379

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 7de9ad3...fd73303. Read the comment docs.


Check mcelog for errors as client

This is a good start, but it needs a criticality support, which was a feature asked for by the operations team. Something like https://github.com/blueboxgroup/ursula-monitoring/blob/master/sensu/plugins/check-cinder-services.sh#L3-L9


WindIO to AeroDyn15_blade format

Hello,
Given that all the necessary data for blade geometry definition exist in the yaml file of the IEA-15/22MW turbine, how can I use the windIO toolchain (WEIS) to generate the AeroDyn15_blade.dat input files for these turbine?
Main problem is getting values for:
BlCrvAC
BlSwpAC
BlCrvAng
Best regards,
Kieran

The tool WEIS will generate the full OpenFAST model corresponding to a windIO yaml file. Example 06 might be a good start for the IEA15 reference wind turbine.
If you are looking at the actual code, check out these lines
And just to make sure, both reference turbines come with the OpenFAST model available, so there is no need to run WEIS if you are only interested in the baseline designs of the IEA15 and IEA22.

Oh okay, 06 might be good example to get WindIO 2 Full OpenFast model.
As basically writing my own parsers.
Thank you will look into this.

So does weis have functions that take Windio straight to full OpenFast models ?


When checking for a particular case where the SSH session should be closed and restablished, I am using a workaround:
err.Error() == "ssh: disconnect, reason 11:"
What did you see happen?
String-comparing the error message works but is brittle and non-optimal.
What did you expect to see?
We would expect type disconnectMsg to be exported (ie DisconnectMsg) to allow comparison via:
sErr ssh.DisconnectMsg if errors.As(err, &sErr) && sErr.Reason == 11) { ...
or just:
if errors.Is(err, ssh.DisconnectMsg) { ...
Similar error types, for example ExitError are exported for this rationale.
I can prepare a non-breaking (API compatible) Pull Request to address this issue if there are no objections?

cc @drakkan @golang/security


Create NewFile56.java

Type of change
Select the type of your PR

Bugfix
Enhancement / new feature
Refactoring
Documentation

Description
Please describe your pull request
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md
[ ] Supply screenshots for visual changes, such as Grafana dashboards

CodeScene Delta Analysis Results
View detailed results in CodeScene

Recommended Review Level
Detailed -- Inspect the code that degrades in code health.

Warnings
Low Code Health for new/renamed Modules

NewFile56.java has a low code health score with 4.21.

Review of New Files
1 new file(s) below the threshold for new code (9).
0 new file(s) where the code health is above the threshold.
strimzi-kafka-operator/NewFile56.java

Bumpy Road: A Bumpy Road is a function that contains multiple chunks of nested conditional logic inside the same function. The deeper the nesting and the more bumps, the lower the code health. Detected Bumpy Roads: onTick, fullRecalc, assemble, toBreakNearPlayer, searchForPlaceables and 2 more functions..
Deep, Nested Complexity: Deeply nested logic in: fullRecalc (depth = 6), searchForPlaceables (depth = 5), recalcNearby (depth = 5), toBreakNearPlayer (depth = 4), possibleToPlace (depth = 4) and 1 more functions.
Many Conditionals: Overall Code Complexity is measured by the mean cyclomatic complexity across all functions in the file. The lower the number, the better.
Complex Method: Complex implementations in: onTick (cc = 43), assemble (cc = 13), toBreakNearPlayer (cc = 13), valid (cc = 11), BuilderProcess.GoalAdjacent.isInGoal (cc = 10) and 4 more functions.. A Complex Method has a high cyclomatic complexity. The recommended threshold for the Java language is  a cyclomatic complexity lower than 9.
Excess Number of Function Arguments: Excess arguments in: possibleToPlace Functions with many arguments indicate either a) low cohesion where the function has too many responsibilities, or b) a missing abstraction that encapsulates those arguments.
Primitive Obsession: Code that uses a high degree of built-in, primitives such as integers, strings, floats, lacks a domain language that encapsulates the validation and semantics of function arguments. Primitive Obsession has several consequences: 1) In a statically typed language, the compiler will detect less erroneous assignments. 2) Security impact since the possible value range of a variable/argument isn't retricted.
Custom Rule: Detect TODOs: You have 6 occurrences of the pattern Detect TODOs in the source code file.

CodeScene Delta Analysis Results
View detailed results in CodeScene

Recommended Review Level
Detailed -- Inspect the code that degrades in code health.

Warnings
Degrades in Code Health

strimzi-kafka-operator/systemtest/src/test/java/io/strimzi/systemtest/connect/ConnectST.java degrades from a Code Health of 7.62 -> 3.81

Low Code Health for new/renamed Modules

NewFile56.java has a low code health score with 4.21.

Code Health Delta Descriptions
ConnectST.java
Improvements

Large Method - no longer an issue
Large Assertion Blocks - no longer an issue
Code Duplication - no longer an issue

Degradations

Excess Number of Function Arguments : the functions: drawArrow, createItemTransfer, removeSelection, iterateLine, validPlace and 2 more functions. exceed the threshold for number of arguments, max 5 arguments. - new issue
Overall Code Complexity - new issue
Bumpy Road Ahead (drawBreakSelection has 4 logical blocks with deeply nested code. Threshold is one single block per function) - new issue
Complex Method: iterateLine cyclomatic complexity = 27, tileTapped cyclomatic complexity = 22, removeSelection cyclomatic complexity = 16, update cyclomatic complexity = 15, unitControl cyclomatic complexity = 14 and 9 more functions. - new issue
Deep, Nested Complexity : pickedBuildPayload has a nested complexity depth of 4, iterateLine has a nested complexity depth of 4 - new issue
Primitive Obsession - new issue
Low Cohesion - new issue

Review of New Files
1 new file(s) below the threshold for new code (9).
0 new file(s) where the code health is above the threshold.
strimzi-kafka-operator/NewFile56.java

Bumpy Road: A Bumpy Road is a function that contains multiple chunks of nested conditional logic inside the same function. The deeper the nesting and the more bumps, the lower the code health. Detected Bumpy Roads: onTick, fullRecalc, assemble, toBreakNearPlayer, searchForPlaceables and 2 more functions..
Deep, Nested Complexity: Deeply nested logic in: fullRecalc (depth = 6), searchForPlaceables (depth = 5), recalcNearby (depth = 5), toBreakNearPlayer (depth = 4), possibleToPlace (depth = 4) and 1 more functions.
Many Conditionals: Overall Code Complexity is measured by the mean cyclomatic complexity across all functions in the file. The lower the number, the better.
Complex Method: Complex implementations in: onTick (cc = 43), assemble (cc = 13), toBreakNearPlayer (cc = 13), valid (cc = 11), BuilderProcess.GoalAdjacent.isInGoal (cc = 10) and 4 more functions.. A Complex Method has a high cyclomatic complexity. The recommended threshold for the Java language is  a cyclomatic complexity lower than 9.
Excess Number of Function Arguments: Excess arguments in: possibleToPlace Functions with many arguments indicate either a) low cohesion where the function has too many responsibilities, or b) a missing abstraction that encapsulates those arguments.
Primitive Obsession: Code that uses a high degree of built-in, primitives such as integers, strings, floats, lacks a domain language that encapsulates the validation and semantics of function arguments. Primitive Obsession has several consequences: 1) In a statically typed language, the compiler will detect less erroneous assignments. 2) Security impact since the possible value range of a variable/argument isn't retricted.
Custom Rule: Detect TODOs: You have 6 occurrences of the pattern Detect TODOs in the source code file.


Can't run serverspec tests

Using the default config from the docs, the tests in spec/*_spec.rb aren't run:
$ molecule init foo
Successfully initialized new role in ./foo/
$ cd foo
$ molecule test
Bringing machine 'foo-01' up with 'virtualbox' provider...
==> foo-01: Cloning VM...
==> foo-01: Matching MAC address for NAT networking...
==> foo-01: Setting the name of the VM: foo_foo-01_1455095810804_66684
==> foo-01: Clearing any previously set forwarded ports...
==> foo-01: Fixed port collision for 22 => 2222. Now on port 2208.
==> foo-01: Clearing any previously set network interfaces...
==> foo-01: Preparing network interfaces based on configuration...
    foo-01: Adapter 1: nat
    foo-01: Adapter 2: hostonly
==> foo-01: Forwarding ports...
    foo-01: 22 (guest) => 2208 (host) (adapter 1)
==> foo-01: Running 'pre-boot' VM customizations...
==> foo-01: Booting VM...
==> foo-01: Waiting for machine to boot. This may take a few minutes...
    foo-01: SSH address: <IP_ADDRESS>:2208
    foo-01: SSH username: vagrant
    foo-01: SSH auth method: private key
==> foo-01: Machine booted and ready!
==> foo-01: Checking for guest additions in VM...
==> foo-01: Setting hostname...
==> foo-01: Configuring and enabling network interfaces...
==> foo-01: Mounting shared folders...
    foo-01: /vagrant => /tmp/foo
==> foo-01: Machine not provisioned because `--no-provision` is specified.

PLAY ***************************************************************************

TASK [setup] *******************************************************************
ok: [foo-01]

PLAY RECAP *********************************************************************
foo-01                     : ok=1    changed=0    unreachable=0    failed=0

Idempotence test in progress (can take a few minutes)...
Idempotence test passed.
Trailing whitespace found in ./meta/main.yml on lines: 3, 5, 9, 18, 28, 140
$ molecule verify
Trailing whitespace found in ./meta/main.yml on lines: 3, 5, 9, 18, 28, 140
$ vim ./meta/main.yml
$ molecule verify
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.8.7, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/foo, inifile:
plugins: testinfra-1.0.1
collected 0 items

========================= no tests ran in 0.00 seconds =========================
ERROR:

  RAN: '/home/conor/.local/bin/testinfra --connection=ansible --sudo --ansible-inventory=.molecule/ansible_inventory'

  STDOUT:

  STDERR:

$ find spec/
spec/
spec/groups
spec/hosts
spec/default_spec.rb
spec/spec_helper.rb

Not sure what's prohibiting the spec/default_spec.rb from being found, especially because testinfra tries to run. Let me know if I can provide more info.

Do you have a tests/ directory at the root of ur project?

If you do have tests/ in the root of the project and need to keep it, adding something like this to your molecule.yml should prevent it from running:
molecule:
  testinfra_dir: foo

Do you have a tests/ directory at the root of ur project?

No, the only directories I have are those created by the init command:
├── defaults
│   └── main.yml
├── files
├── handlers
│   └── main.yml
├── meta
│   └── main.yml
├── molecule.yml
├── playbook.yml
├── README.md
├── spec
│   ├── default_spec.rb
│   ├── groups
│   ├── hosts
│   └── spec_helper.rb
├── tasks
│   └── main.yml
├── templates
└── vars
    └── main.yml

you do have tests/ in the root of the project and need to keep it, adding something like this to your molecule.yml should prevent testinfra from running

That did the trick! Turns out I have to disable the testinfra directory in order for the spec directory to be found. This isn't what the docs imply:

Molecule supports testing using both Serverspec and Testinfra. Tests located in the spec/ directory will be run by serverspec and tests located in the tests/ directory will be run by testinfra. Both of these directories can be changed as molecule config options. Molecule will run serverspec and testinfra if both directories are present.

Feels like I'm missing something here as a first-time user. Happy to contribute docs, but I still don't understand why the default serverspec tests created by the init command are ignored.

Hmm, that sounds like a bug. I'll look into it.  Are you installed from pip or source?

Problem goes away when using v1.3.0 via pip. Will try to reproduce on the tagged release, otherwise I'm good to go here. The behavior described in the docs is now what I'm seeing.
Thanks for your time, @abrown-sg!

I still have this problem.
molecule version: 1.3.1.dev27
tree -L 1
.
├── ansible.cfg
├── CHANGELOG.md
├── CONTRIBUTING.md
├── defaults
├── files
├── Gemfile
├── Gemfile.lock
├── handlers
├── meta
├── molecule.yml
├── playbook.yml
├── Rakefile
├── README.md
├── requirements.yml
├── spec
├── tasks
├── templates
├── test
├── Thorfile
├── tmp
├── TODO.md
└── vars

molecule.yml:
molecule:
#   # directories to ignore when doing trailing whitespace checks on files during verify command
  ignore_paths:
    - .git
    - .vagrant
    - .molecule

   # directory to look for serverspec tests
  serverspec_dir: test/integration/default/serverspec/

[SNIP]

 $  molecule verify
No testinfra tests found in tests/.
Inspecting 2 files
CC

Offenses:

test/integration/default/serverspec/mysql_spec.rb:39:3: C: Use the return of the conditional for variable assignment and comparison.
  os[:release] == '14.04' ? mysql_log_dir_group = 'syslog' : mysql_log_dir_group = 'root'
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/default/serverspec/mysql_spec.rb:54:18: C: Prefer to_s over string interpolation.
describe service("#{service_name}") do
                 ^^^^^^^^^^^^^^^^^
test/integration/default/serverspec/spec_helper.rb:29:5: C: Use the return of the conditional for variable assignment and comparison.
    if ENV['ASK_SUDO_PASSWORD']
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/default/serverspec/spec_helper.rb:37:5: C: Use the return of the conditional for variable assignment and comparison.
    if ENV['ASK_LOGIN_PASSWORD']
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/integration/default/serverspec/spec_helper.rb:43:5: C: Use the return of the conditional for variable assignment and comparison.
    if ENV['ASK_LOGIN_USERNAME']
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2 files inspected, 5 offenses detected
ERROR:

  RAN: '/usr/bin/rubocop test/integration/default/serverspec//**/*.rb'

  STDOUT:

  STDERR:

@rndmh3ro I think that's behaving as expected. It's running rubocop against the *.rb files it finds in serverspec_dir.

The messaging is a little confusing about what it's doing, I can clean that up.

Added better verify visibility in #120.

Thanks, I obviously didn't look!

No worries, it led to a usability improvement. Thanks for the feedback. :)


Sorting produce typescript code which will not compile

I just noticed if I have imports:
import * as GQL from '@gql-schema'
import { someFn } from '@gql-schema'

someFn()

it will merge the imports:
import * as GQL from '@gql-schema'

someFn()

and the result is invalid code (missing import for Fn)

Is there any reason to have:
import { someFn } from '@gql-schema' ? As you have already imported everything using:import * as GQL from '@gql-schema'. Therefore you should be able to access the function by GQL.someFn()

I agree that it is possible to write it like so (i rewrote it in my code) but the point is that I am not expecting extension which is supposed to sort imports to break my code

One reason I can think of is for importing types separately from the library code.
Example
import * as moment from 'moment';
import { Moment } from 'moment';

let myMoment: Moment = moment();

You could technically write:
let myMoment: moment.Moment = moment();

But I think that looks a lot more messy. Especially if you are using types everywhere.


channel_unordered adds to full channels

channel_unordered is somehow ignoring channel size limits.  You get non-sensical results like
Channel{Any}(2) (6 items available)

This is easy to reproduce with e.g. channel_unordered(Map(f), 1:10, size=3).  The created Channel object indeed seems to have the correct size it's just storing more output than it should be able to.

Sorry this is not a bug, put! can't sync across threads... it's very weird that Base doesn't throw an error when you try to do this with channels but I guess it doesn't have any way of knowing what's going on.


Recursively Reverse Stack

💥 Proposal
Recursively reversing a stack in C++.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


dry-types should not print deprecation warnings when loaded

Deprecation warnings should only be triggered when the deprecated functionality is actually used. It looks like your implementation did not allow for deprecating a type, but instead of dealing with that problem in your codebase, @flash-gordon decided to make it everybody else's problem by spitting out deprecation warnings every time any of your users load code that loads dry-types - I have been seeing this many times a day running tests for at least several weeks now because I use a gem that has a dependency that in turn has a dependency on dry-types.
I haven't been aware of dry-rb before this came up, so my first introduction to your project is one of supreme annoyance.

Could you please be more specific? Which version of dry-types are you on?

These types are deprecated, it's mentioned in the changelog. I could remove them but decided to provide a smooth upgrade path hence I added the warnings. The types are not required by default by the gem, so if you're seeing the messages then the files are required by something else. Chances are this something else can be dry-validation https://github.com/dry-rb/dry-validation/blob/master/CHANGELOG.md#v0121-2018-07-06. If that's the case please upgrade dry-validation otherwise you'll need to find other some other code that requires the deprecated types.

Thanks for the pointer and for assuming that the developer on my team upgraded gems as far as they could go and you were the problem.


chore: update the examples of sign and verify

This PR updates long messages of sign and verify.
When NOTATION_EXPERIMENTAL variable is not set, experimental examples will be hidden.
Resolves #645.

Codecov Report

Merging #650 (f56d1aa) into main (2e56dd4) will decrease coverage by 1.53%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #650      +/-   ##
==========================================
- Coverage   33.16%   31.64%   -1.53%
==========================================
  Files          32       32
  Lines        2014     1969      -45
==========================================
- Hits          668      623      -45
  Misses       1324     1324
  Partials       22       22

Impacted Files
Coverage Δ

cmd/notation/list.go
28.94% <100.00%> (ø)

cmd/notation/sign.go
25.00% <100.00%> (-16.80%)
:arrow_down:

cmd/notation/verify.go
22.12% <100.00%> (-9.13%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Refresh ctop after kill a container

Hi,
Run ctop
Start a container
ctop detect new container
Stop or kill container
ctop doesn't remove container
restart ctop
ctop does not display removed container
We have to restart ctop to not see removed container. Is-it the desired behaviour ?

Definitively not the intended behavior. I'll look into this ASAP. Thanks for reporting.

Turns out be an easy one. Fixed.


Add additional event stream subscriptions to helpers

We have a small set today, but it would be nice to have more helpers like html.window.onClick so you don't have to write html.EventStreamProvider<html.MouseEvent>('click').forTarget(html.window).

Another one that is quite common in my opinion: onLoad events. In dart:html you could do await element.onLoad.first.
But now you need a Completer + allowInterop on the onload event handler.
Would be nice if this was also done for us, so we just need await element.onLoad.

I think onLoad already exists in the helpers here: https://github.com/dart-lang/web/blob/e0564a4cc3cb96c88d15def1c545aa8dff375d94/lib/src/helpers/events/events.dart#L106
Agreed that our helpers should include more events however.


Error on safari preventing basic functionality

when running pokedextracker.com on safari, there's an error that sometimes occurs that prevents all subsequent things from working (marking pokemon as captured, opening the info panel, showing error messages when logging in, etc). here's the error (though it's not super helpful in its current form):

weird things:

it only seems to happen in production (not in staging or locally afaict)
it only happens sometimes. i refreshed 3 times when logged in and on the tracker page and the first 2 times, it was fine but then it erred on the third
i can't seem to reproduce it on chrome or firefox (though since it's non-deterministic, im not entirely sure its exclusive to safari)

ill probably have to dig into the bundle itself to see what the issue is. it might have to do with the minifying/uglifying we're doing only in prod. dont really know as of now

@robinjoseph08 updated the description since we have now seen the issue in both prod and staging.


Stylelint Config Rules Definitions Out of Sync with Drupal Core

I was getting a bunch of CSS linting errors like Unknown rule function-whitespace-after(...), even after syncing Stylelint version to the final branch version.
I think because we extended the core Drupal Stylelint config, we need to keep our theme Stylelint version in sync with Drupal core.
I modified my versions in web/themes/custom/alps_trips/package.json, and reinstalled everything with Yarn:
    "stylelint": "^15.7.0",
    "stylelint-config-standard": "^33.0.0",
    "stylelint-config-tailwindcss": "^0.0.7",
    "stylelint-order": "^6.0.3",

CSS Linting is working error free again.

how do you reinstall it so that it doesn't re-overwrite those versions you mention above? i am going through the book now and have the same issues.

Hey @chrisvetek, I have been running my own fork of the project. Drupal Version 10.1.1 and stylelint 15.7 as noted.
Delete yarn.lock and run yarn clean cache possibly might help?

Thanks wasn't sure if you specific the version in the reinstall command. I'll try clearing cache.


python312Packages.imap-tools: 1.7.4 -> 1.8.0

Diff: https://github.com/ikvk/imap_tools/compare/refs/tags/v1.7.4...v1.8.0
Changelog: https://github.com/ikvk/imap_tools/blob/v1.8.0/docs/release_notes.rst

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg eval

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 364304

x86_64-linux

:white_check_mark: 9 packages built:

paperless-ngx
python311Packages.deltachat
python311Packages.deltachat.dist
python311Packages.imap-tools
python311Packages.imap-tools.dist
python312Packages.deltachat
python312Packages.deltachat.dist
python312Packages.imap-tools
python312Packages.imap-tools.dist


Linux app package has invalid name starting with non alphanumeric character

overview

Downloading the .deb file from Wikidot and installing it with apt install results in an error stating the package cannot be installed because it does not start with an alphanumeric character. It appears to start with @ for some reason.
behavior

apt install fails installation with this error:
dpkg: error processing archive /path/to/pkg/Opentrons-v3.0.0-beta.9-linux-b7748.deb (--
unpack):
parsing file '/var/lib/dpkg/tmp.ci/control' near line 1:
invalid package name (must start with an alphanumeric character)

and the package name appears to be @opentrons/app-shell
steps to reproduce
OS: Ubuntu 18.04
Version: App version appears to be 3.0.0-beta.9 (the latest hosted on Wikidot)
Download the package with:
wget https://s3.amazonaws.com/opentrons-app/builds/Opentrons-v3.0.0-beta.9-linux-b7748.deb

Try to run dpkg or apt install on the file. Should fail with invalid package name.

Thanks for the ticket! This issue was resolved with #1557 and released with version 3.1.1.
I've been informed by our support team that the Wikidot page has been deprecated as all information has been moved to our support site. You should see an email about it shortly and the Wikidot site will be taken down. Thanks for bringing this to our attention!

Download links: http://opentrons.com/ot-app
Latest deb release (v3.1.2): https://s3.amazonaws.com/opentrons-app/builds/Opentrons-v3.1.2-linux-b8990.deb
Support site: https://support.opentrons.com/


torrent.pause is not working

Hi,
I know it could be a false issue. But i have tried all the ways possible. Am building a node application which will allow my users to downloading torrents from my website. Downloading working fine. But when trying to implement pause/resume its just not happening.
code snippet for reference
var torrent = client.get(torrentId);
// torrent.pause();
torrent.swarm.pause();
tried both.
My webtorrent version: 0.98.0
On Windows7 with node v6.9.1

From the docs for torrent.pause():

Temporarily stop connecting to new peers. Note that this does not pause new incoming connections, nor does it pause the streams of existing connections or their wires.

If you want to stop downloading, use torrent.remove(), then torrent.add() with the same path argument to get the download started again.


[#3570] fix(integration-test): Fix possible command inject vulnerability in ProcessBuilder

What changes were proposed in this pull request?
Fix potential command inject bugs in ProcessBuilder.   Passing a single string as the parameter of ProcessBuilder will lead to the command inject vulnerability, for example, if the value of the command is ls -al ;rm -rf, then it will launch a process that will execute ls -al first and then rm -rf.
However, If we split the command to a list like ['ls', '-al', ';rm', "-rf"], the list will view as a single command and values start from -al will be viewed the parameter as the command ls , so command rm -rf will not take effect.
Why are the changes needed?
To fix the bug.
Fix: #3570
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
Existing  IT.

I will temporarily close this PR as it could not solve the problem thoroughly as we lack more details about the issue.


Invalid Request Line error when behind a Proxy

Describe the Bug
When Pode is hosted behind a proxy, the server ca get intermittent "invalid request line" errors. This has been identified via IIS and Azure App Proxy; it seems to affect POST requests more.
Steps To Reproduce
Steps to reproduce the behaviour:

Host a simple site with a form login behind IIS
Navigate to the site
Attempt to Login (with just blank details will do)
Every now and then a 400/502 will trigger, with the error in the console from Pode being "invalid request line"

Expected Behaviour
There should be no error, and the request/login is accepted.
Platform

OS: Windows
Browser: Chrome
Versions:

Pode: 2.0.2
PowerShell: 6.2.4

The above commit adds some new logic to check a request's Content-Length header. If this header is > 0, but there is no body in the request, then the context/request is re-queued internally to wait for the incoming body.
It seems to be a common pattern where the request headers are sent, then the request body is sent - but only behind a proxy, and possibly for non-GET requests 🤔
Behind IIS, this did work for me.

Hey @ericpritchett, do the latest changes work for you now? Looking at getting v2.0.3 out this week 😄

@Badgerati, yes, I just tested it and the latest changes work for me. Thanks so much!


[Q] Recording multiple models/runs in single script

Hello WandB community. Is there a way to record multiple runs in a single script? Looked around for answers but could not find any. I would like to do something like:
wb1 = wandb.init(project="asdf", config={"model": 'model1'})
wb2 = wandb.init(project="asdf", config={"model": 'model2'})

for i in range(iters):
  # Expand training dataset:
  x, y = expand(x, y)
  # Reload best existing model and train for a few epochs:
  model1.fit(x, y, ... , callbacks=[WandbCallback(wb1)])
  model2.fit(x, y, ... , callbacks=[WandbCallback(wb2)])

wandb.finish()

Some possibilities that might work?

Use a combination of wandb resumes.
Manually log e.g. wandb.log({"acc":acc, "loss":loss})
Groups? https://docs.wandb.ai/guides/track/advanced/grouping

I think I found out how:
id_1 = wandb.util.generate_id()
id_2 = wandb.util.generate_id()

for iter in range(3):
  wandb.init(project="group-demo",
             group="model1",resume="allow",id = id_1)
  #model 1:
  for epoch in range(5):
    acc = 0.1 * iter
    wandb.log({"acc":acc})
  wandb.init(project="group-demo",
             group="model2",resume="allow",id = id_2)
  #model 1:
  for epoch in range(5):
    acc = 0.12 * iter
    wandb.log({"acc":acc})

wandb.finish()

Alright with closing issue :)


Decision model coloring in GUI should be done programatically

The names of decision models are hardcoded in the GUI and mapped to specific colors. It would be preferable if these were decided programatically.
We track which decision models are used in a particular simulation run (by looking at the configuration). We also have a range of colors provided in self.colors in the GUI. There should be a smart way to map the decision models in the simulation to colors in self.colors (with the exception of special colors, like for sugar and spice, which are off limits for hopefully obvious reasons).
Every time the interface determines to recolor based on decision model, it consults the color mapping and applies the proper color.

Resolved by bfefcbd.


Refactor LogDB to use one back-end and use deterministic ids

This PR includes code to use single back-end for LogDB. It relies on the following deterministic id schema: for agent based requests the id is generated as request-agent-thread-type, while for user based comments id is generated as request-userdn-thread-type. All documents have standard structure: {_id:id, data:[{msg:msg, ts:123, type:mtype}, ...]}. The data part is always a list which allows to have consistent structure for messages. The agent-based messages are updated in place, while user based one are growing. The LogDB post API uses LogDBBackend user_update and agent_update APIs based on LogDB identifier (which either set for agent or uses userdn). We'll create LogDB object for every user request. The data in LogDB are minimized to have only msg/ts/mtype dict, while LogDB get API decompose id into request/agent/thread/type and update retrieved documents accordingly such that end-user get the following structure: {request:bla, identifier:bla, thr: bla, msg:bla, ts:123, mtype:bla}. I also provided first draft of LogDBReport class. All unit tests are adjusted accordingly.

Hi Valentin, Although id contains all the information (request, agent, thread, type), I am not sure whether it is good idea to rely on the id scheme to store the information instead of explicit key value pair. (I know it saves data space).
If we ever changes id generation scheme (i.e. use hash or some for some reason),  - maybe I am paranoid. :smile: (more realistically - some of the parameters might contain '--'. I put '--' to distinguish the
between the items. But there is no guarantee tha request name wouldn't contain '--'.

I think you're correct about being paranoid and it is better to have
request/agent/thread/type part of doc. And, I agree having long keys may lead
to another problem (index can grow), so using a hash is better idea.
I'll change the code accordingly today.
On  0, ticoann<EMAIL_ADDRESS>wrote:

Hi Valentin, Although id contains all the information (request, agent, thread, type), I am not sure whether it is good idea to rely on the id scheme to store the information instead of explicit key value pair. (I know it saves data space).
If we ever changes id generation scheme (i.e. use hash or some for some reason),  - maybe I am paranoid. :smile: (more realistically - some of the parameters might contain '--'. I put '--' to distinguish the
between the items. But there is no guarantee tha request name wouldn't contain '--'.

Reply to this email directly or view it on GitHub:
https://github.com/dmwm/WMCore/pull/5816#issuecomment-94822815


Browser back slowness

Seem to be experiencing some slowness when using the browsers back button.  It seems that lazy-image is doing a destroy that takes a very long time.  When I have 40 lazy load images (placed using an ng-repeat) on the page, it can take up to 20 seconds after clicking the back button for the previous page to display.
Is there a preferred method of handling a browser back click that might be faster?  I assume the slowness is due to the DOM manipulation.
Thanks!
M

ng-route or ui-router? Heap snapshots don't show strange things. Are you sure your route is destroying old view? In chrome, run timeline record your session then see which function in your stack are troublesome.

ng-route.
Strange, when I use timeline, there is no slowness at all.  It goes back to
the previous page with no delay whatsoever.
Actually, I just tried it again with the developer console closed at there
also is no slowness.  I guess there is no issue here.  Sorry.
-M
On Sun, Jan 3, 2016 at 8:57 PM, SquadraCorse<EMAIL_ADDRESS>wrote:

ng-route or ui-router? Heap snapshots don't show strange things. Are you
sure your route is destroying old view? In chrome, run timeline record your
session then see which function in your stack are troublesome.
—
Reply to this email directly or view it on GitHub
https://github.com/afklm/ng-lazy-image/issues/43#issuecomment-168564901.

No worries, next time create simply snapshots then you know where the cullprit is. Also easier to see if between both states stuff is leaking or not. Good luck!


Django 1.7 and Python3 compatibility

This fix compatibility mode for Django1.7 and Python 3.

Bump. Can you please merge it, or state clearly that you do not whant it ? I just ran into this bug while tying to deploy a server.

Sorry, been bad timing with this.  I became a Dad again on the 1st of
September and work has been hectic too.  As I've not personally been using
Django 1.7 or Python 3 this hasn't been a priority for me...
I would like to see this merged, but I've not got a lot of time right now.
RE: the failing test.  I think this is down to difference between str
and unicode in Python 3?
Re: removing autocommit - which version of Django deprecated that?  I've
got large sites that are on older versions of Django using this, so don't
want to break things if I can avoid it.  Might need to add in some sort of
compatibility layer for that.
Hopefully we can work together to get this sorted.
cheers,
John
On 10 March 2015 at 21:35, Luthaf<EMAIL_ADDRESS>wrote:

Bump. Can you please merge it, or state clearly that you do not whant it ?
I just ran into this bug while tying to deploy a server.
—
Reply to this email directly or view it on GitHub
https://github.com/lilspikey/django-background-task/pull/12#issuecomment-78153496
.

--
http://psychicorigami.com/

Congratulations !
I'll have a look about the failing test.
autocommit was deprecated in django 1.6 I think, and is now the default. See https://docs.djangoproject.com/en/1.7/topics/db/transactions/. I can add a small wrapper around this to check for Django version.

Ok, test is fixed, and wrapper for Django compatibility is made !
Your turn now =)

Ok, just started looking at this.
Failing on the first hurdle with tests though.
I'm running this against Django 1.4.3 (just happens to be a version I have in a virtual env).

Tests script changes assume that both python2 and python3 installed - I used virtualenv normally, so effectively only one version of python at a time.  I'd suggest just use "python" instead of "python2" and "python3" and then use virtualenv to be able to test both.
The autocommit compatibility check fails the moment you have a version number that can be parsed as a float (e.g. 1.4.3).  Also don't forget that version numbers may contain letters...  You should instead check to see if the autocommit function exists or not (see code below):

if hasattr(transaction, 'autocommit'):
    compatibility_autocommit = transaction.autocommit
else:
    # Autocommit is deprecated and the default
    def compatibility_autocommit(function):
        def wrapper(*args, **kwargs):
            return function(*args, **kwargs)
        return wrapper

You've changed get_query_set to get_queryset, which doesn't exist prior to Django 1.6 - so I've got failing tests.  We need a compatibility layer for that - maybe just use all() instead of get_queryset?

Might be some other issues, but that's what I've got so far.  Figured I had a spare half out, so I'd have a quick look.
cheers,
John

I'm running this against Django 1.4.3

Are you sure you still need compatibility for this version of Django ? The 1.6 version has been deprecated by the Django team recently.

You should instead check to see if the autocommit function exists or not

It will exist in all the cases, as it is only deprecated for now.
All the other comments are now fixed !

Django 1.4 is a long term release (support for three years), so it's still
supported.  So I would like to support it in this - particularly given I
have production code running with Django 1.4.
On 30 April 2015 at 22:40, Luthaf<EMAIL_ADDRESS>wrote:

I'm running this against Django 1.4.3
Are you sure you still need compatibility for this version of Django ? The
1.6 version has been deprecated by the Django team recently.
You should instead check to see if the autocommit function exists or not
It will exist in all the cases, as it is only deprecated for now.
All the other comments are now fixed !
—
Reply to this email directly or view it on GitHub
https://github.com/lilspikey/django-background-task/pull/12#issuecomment-97976327
.

--
http://psychicorigami.com/

Ok, I didn't knew that. Tell me if you have more comments on this PR !

Ok, so that seems to all pass tests ok for Django 1.4 now.
I'd suggest changing the unlock method (to make it a bit more legible from):
    def unlocked(self, now):
        max_run_time = getattr(settings, 'MAX_RUN_TIME', 3600)
        if LooseVersion(django.get_version()) > LooseVersion("1.6"):
            qs = self.get_queryset()
        else:
            qs = self.get_query_set()
        expires_at = now - timedelta(seconds=max_run_time)
        unlocked = Q(locked_by=None) | Q(locked_at__lt=expires_at)
        return qs.filter(unlocked)

To this:
    def unlocked(self, now):
        max_run_time = getattr(settings, 'MAX_RUN_TIME', 3600)
        qs = self.all()
        expires_at = now - timedelta(seconds=max_run_time)
        unlocked = Q(locked_by=None) | Q(locked_at__lt=expires_at)
        return qs.filter(unlocked)

Basically replace the call to get_queryset() with all(), so you can avoid having a version check in the middle there (which makes things look messy).

Hey @lilspikey & @Luthaf, is that last change all that's needed to get this merged in? If neither of you have time I can quickly make that change.

If you want to do it, I'll merge any PR to my fork (which will update this one). I effectively don't have time for this.

I've since found this fork that works on Django 1.7 & Python 3: https://github.com/arteria/django-background-tasks

Closing this as their is no chance to get it merged, and I am not using this code anymore. For anyone interested in it, please see the fork linked by @simonv3.


Use ffprobe to detect file type, and nb_read_packets as nb_frames fallback

This fixes .mkv inputs, and makes the .flv workaround unnecessary.

Just set up the python version and it is for some reason is incapable of processing .mkv files

@TechnoMasterBoy Would you be interested in testing this PR?


I have many react-native bundles,So I split bundles to little bundle.But When I use @rnx-kit/metro-serializer-esbuild to build esmodule-bundles,i found split bundle now work

What happened?
issue example
https://github.com/Hao-yiwen/reactNative-study/tree/master/splitRn_0736
Affected Package
@rnx-kit/metro-serializer-esbuild
Version
0.1.35
Which platforms are you seeing this issue on?

[X] Android
[X] iOS
[ ] macOS
[ ] Windows

System Information
System:
  OS: macOS 14.2.1
  CPU: (8) arm64 Apple M2
  Memory: 65.42 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.12.1
    path: ~/.nvm/versions/node/v18.12.1/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v18.12.1/bin/yarn
  npm:
    version: 8.19.2
    path: ~/.nvm/versions/node/v18.12.1/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.10.1
    path: /Users/yw.hao/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.2 AI-232.10300.40.2321.11567975
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 3.0.0
    path: /Users/yw.hao/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.6
    wanted: 0.73.6
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Steps to Reproduce
Restoration steps

npm run build:common to build common bundle.
npm run build:indexto build main bundle.(main bundle use common mapping.json)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Build common bundle get follow json.

2.But  common.json can't use in main.jsbundle.

const {hasBuildInfo, getCacheFile, isPwdFile} = require('./build');
const bundleBuInfo = require('./config/bundleBuInfo.json');
function postProcessModulesFilter(module) {
  if (
    module['path'].indexOf('__prelude__') >= 0 ||
    module['path'].indexOf('polyfills') >= 0
  ) {
    return false;
  }

  if (hasBuildInfo('/Users/yw.hao/Documents/rn/reactNative-study/splitRn_0736/config/bundleCommonInfo.json', module.path)) {
    return false;
  }

  return true;
}

function createModuleIdFactory() {
  const fileToIdMap = new Map();
  let nextId = 10000000;
  let isFirst = false;

  return path => {
    if (Boolean(getCacheFile('./config/bundleCommonInfo.json', path))) {
      return getCacheFile('./config/bundleCommonInfo.json', path);
    }

    if (!isFirst && isPwdFile(path)) {
      nextId = bundleBuInfo[isPwdFile(path)];
      isFirst = true;
    }

    let id = fileToIdMap.get(path);
    if (typeof id !== 'number') {
      id = nextId++;
      fileToIdMap.set(path, id);
    }
    return id;
  };
}

const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');

const {
  MetroSerializer,
  esbuildTransformerConfig,
} = require('@rnx-kit/metro-serializer-esbuild');

/**
 * Metro configuration
 * https://facebook.github.io/metro/docs/configuration
 *
 * @type {import('metro-config').MetroConfig}
 */
const config = {
  serializer: {
    createModuleIdFactory: createModuleIdFactory,
    processModuleFilter: postProcessModulesFilter,
    customSerializer: MetroSerializer(),
  },
  transformer: esbuildTransformerConfig,
};

module.exports = mergeConfig(getDefaultConfig(__dirname), config);

I found processModuleFilter was override by ()=>true.And because use customSerializer: MetroSerializer() lead to module build don't use number id to identity module.

So @rnx-kit/metro-serializer-esbuild can't be used in my Scenes? And only can be use in one bundle?

Our serializer currently does not call createModuleIdFactory or processModuleFilter. If this something you need, would you be willing to implement it?

Ok.But I found it's may be some difficulty.


ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

I have written a script which runs through a list of domains and makes a whois call for each domain. After about 6 domains from a list of about 8000, i receive this error. I suspected it was an issue regarding the frequency with which i was requesting the WHOIS information; but even after putting a 60 second cooldown period between lookups, i was receiving the error.
Even stranger, if i do a single lookup on the 7th domain seperately, it does not give this error.
I know this is somewhat outside of the scope of this module, as bulk lookups are not implemented directly, but i was hoping you could shed some light on the issue.
Thank you and have a nice day,
Jonas

Hi, Jonas.
I have the same problem. Did you manage to solve it?

Hi Jonas337 ,starchikovaos
Am running into same issue.....U guys managed to solve it?

Hi Asha-CR,
Unfortunately not.

sorry it took so long to respond; but no, the issue has not been solved. I eventually moved on from this project, as my focus shifted.


Check if mongo sets updatedAt after saving

It does. But only when the save method is called. So take about assuming that the {modified/updated} field is set before using the save method.


feat(preset-mini): remove next: variant (breaking)

May be reused for tagged variant like group/peer

What's the reason of this?

Originally to change the behaviour to be similar to peer, but with + combinator instead of ~. There's also alternative adding peers for ~ and changing peer to use + instead, but this will be incompatible with tailwind's syntax.

I see no harm to leave it for a while, we could remove or change it when there is more reasonable next:


Document commands to run in dev docker containers (rebased)

Replaces Previous PR

Improve documentation of the commands to run in each container
Some minor fixes to docker-compose to support recent docker versions

Squashed commits

Refactor fe dev Dockerfile Remove nginx stuff; if this is needed, use the production image
Document commands to run in dev containers
Fix be_next command in README
Document BE env vars
Fix docker-compose Recent docker versions don't support depends_on in base profiles used with extends

I reverted the docker_compose changes, so this PR is now purely README changes


[Bug] PDF export for longer resumes shrinks to fit on one page

Describe the Bug
As the length of a resume increases, for people with extensive work histories, the UI displays the resume at full page width, but the PDF export seems to scale/shrink the content to fit to a single page based on the length, rather than spill over onto additional pages.
Reproduction
Steps to reproduce the behaviour:

Have enough content/work history to extend the page length beyond what would fit on a single page without scaling.

Expected Behaviour
The layout should remain at a fixed width to match expected page size, but as the length grows, it should expand onto additional pages rather than shrinking to fit on one page.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome

Additional Context

This has been fixed with #75, please let me know if the new features help you in your cause :)


Dropdown

Improve documentation
Link
https://ui.supabase.io/components/dropdown
Describe the problem
The dropdown 'Bottom Center's menu is hidden behind the snippet code on documentation
Describe the improvement
I am not sure what is the problem because I have seen your snippet syntax layout has z-index: 0 on it.
Additional context

just looking around and I found it has been solved. Thank you !


Save Artifcat step is skipped.

I have a build pipeline that is running on an Hosted VS2017 build agent. I configured according to the documentation. My save step is always skipped and the log is mostly empty.
Restore Step Yaml:
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
  displayName: 'Restore artifact based on: **/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
    vstsFeed: 'e8aefeda-ecd2-4565-b851-45926c23210b'

Save Step Yaml:
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
  displayName: 'Save artifact based on: **/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules'
    vstsFeed: 'e8aefeda-ecd2-4565-b851-45926c23210b'

And this is the log from the save step:
2019-04-22T20:55:20.0033358Z ##[section]Starting: Save artifact based on: **/package-lock.json
2019-04-22T20:55:20.0135291Z ==============================================================================
2019-04-22T20:55:20.0135352Z Task         : Save cache
2019-04-22T20:55:20.0135390Z Description  : Saves a cache with Universal Artifacts given a specified key.
2019-04-22T20:55:20.0135439Z Version      : 1.0.10
2019-04-22T20:55:20.0135472Z Author       : Microsoft Corp
2019-04-22T20:55:20.0135503Z Help         :
2019-04-22T20:55:20.0135551Z ==============================================================================
2019-04-22T20:55:44.1025528Z ##[section]Finishing: Save artifact based on: **/package-lock.json

I had the same issue, tried a few different configs, and got it working with this one:
- task: SaveCache@1
  inputs:
    keyfile: '$(Build.SourcesDirectory)/Gemfile.lock'
    targetfolder: '$(Build.SourcesDirectory)/vendor/bundle'
    feedList: 'tambo-gems'

This is a ruby project, not node, but hopefully this is applicable and you can use it to get yours working.
This is our restore step:
- task: RestoreCache@1
  inputs:
    keyfile: '$(Build.SourcesDirectory)/Gemfile.lock'
    targetfolder: '$(Build.SourcesDirectory)/vendor/bundle'
    feedList: 'tambo-gems'

Thanks for the reply I updated the save task to the following, but the save step is still skipped:
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
  displayName: 'Save artifact based on: **/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules, $(Build.SourcesDirectory)/node_modules'
    vstsFeed: 'e8aefeda-ecd2-4565-b851-45926c23210b'

And this is the log output.
2019-05-14T18:57:15.4752046Z ##[section]Starting: Save artifact based on: **/package-lock.json, $(Build.SourcesDirectory)/package-lock.json
2019-05-14T18:57:15.4859027Z ==============================================================================
2019-05-14T18:57:15.4859099Z Task         : Save cache
2019-05-14T18:57:15.4859146Z Description  : Saves a cache with Universal Artifacts given a specified key.
2019-05-14T18:57:15.4859225Z Version      : 1.0.10
2019-05-14T18:57:15.4859487Z Author       : Microsoft Corp
2019-05-14T18:57:15.4859523Z Help         :
2019-05-14T18:57:15.4859796Z ==============================================================================
2019-05-14T18:57:39.6863685Z ##[section]Finishing: Save artifact based on: **/package-lock.json, $(Build.SourcesDirectory)/package-lock.json

Is the source of the build a forked repository?
If not, it would be super helpful to see the full build logs if you don't mind sending them to me at etdenn at microsoft dot com.

One other thing to try would be to exclude package-lock.json from the keyfile pattern in the node_modules directory (node packages pull down this when resolved). It's likely not excluding them is causing a cache miss due to the key changing (more files match the pattern after resolving).
For example:
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
  displayName: 'Save artifact based on: **/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules, $(Build.SourcesDirectory)/node_modules'
    vstsFeed: 'e8aefeda-ecd2-4565-b851-45926c23210b'

7.txt
5.txt
The following is the configuration as suggested by @erdennis13.
I think a better implementation should use the exact the same file for hashing or just upload the artifacts without checking the hash.
Thank you in advance for any tips!
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreAndSaveCacheV1.RestoreAndSaveCache@1
  displayName: 'Restore and save artifact based on: **/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules, $(Build.SourcesDirectory)/node_modules'
    vstsFeed: 'df8aea1e-330b-468f-9add-4dedbca53a3f'

@DerekLiang nothing immediately jumps out to me in the logs. Are you installing npm packages via npm ci or npm install? I'd suggest trying npm ci to avoid the package-lock.json files from getting modified during the build process.

indeed that was the problem. Thank you for the tip.

7.txt
5.txt
The following is the configuration as suggested by @erdennis13.
I think a better implementation should use the exact the same file for hashing or just upload the artifacts without checking the hash.
Thank you in advance for any tips!
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreAndSaveCacheV1.RestoreAndSaveCache@1
  displayName: 'Restore and save artifact based on: **/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules, $(Build.SourcesDirectory)/node_modules'
    vstsFeed: 'df8aea1e-330b-468f-9add-4dedbca53a3f'

Ignoring node_modules and just using package-lock.json for the cache key fixed my issue also.

@DerekLiang nothing immediately jumps out to me in the logs. Are you installing npm packages via npm ci or npm install? I'd suggest trying npm ci to avoid the package-lock.json files from getting modified during the build process.

Wouldnt this defeat the point of caching since npm ci deletes the node_modules that has just been restored from the cache?

@HybridFox for this to work with npm ci, you will need to use "Optimistic cache restoration" and skip npm ci if a cache was restored.
E.g.
steps:
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreAndSaveCacheV1.RestoreAndSaveCache@1
  displayName: 'Restore and save artifact based on: **/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
  inputs:
    keyfile: '**/package-lock.json, !**/node_modules/**/package-lock.json, $(Build.SourcesDirectory)/package-lock.json'
    targetfolder: '**/node_modules, !**/node_modules/**/node_modules, $(Build.SourcesDirectory)/node_modules'
    vstsFeed: 'df8aea1e-330b-468f-9add-4dedbca53a3f'

- script: |
    npm ci
  displayName: Install Dependencies
  condition: ne(variables['CacheRestored'], 'true')

Thanks @erdennis13 ! That will work perfectly :)

I am not able to make it work with ubuntu agent. There is a open bug already https://github.com/microsoft/azure-pipelines-artifact-caching-tasks/issues/34
Any way to make it work with ubuntu-latest agent?.

@manandkumaar sorry to hear that you've been running into this issue. Have you tried to use the Azure DevOp's built in Pipeline Caching tasks which are the successor to these tasks? The tasks in this repo inspired the official tasks but the tasks in this repo are not actively maintained.


Keyboard dissmiss when scrolling suggestions

Hello,
I'm using this lib in a React project and i'm trying to make the mobile native keyboard to dismiss when the user is scrolling through the suggestion container. Not sure how to do it :(
Thanks in advance,
Lucas.

I have the exact same question. Thought of blurring when suggestions are presented, but that forces user to refocus to continue typing. That's not a smooth user experience.
Any thoughts on how to do it so user doesn't lose a third of the screen space?

I had to fork the lib to make some adjustments.
onSuggestionTouchMove = () => {	       this.justSelectedSuggestion = false;	         this.pressedSuggestion = null;	         this.input.focus();	  //remove this line };
 onSuggestionTouchStart = () => {     this.justSelectedSuggestion = true;     this.input.blur();  //add this line     // todo: event.preventDefault when https://github.com/facebook/react/issues/2043     // todo: gets released so onSuggestionMouseDown won't fire in chrome   }

Also have the same question, short of using alwaysRenderSuggestions and conditionally rendering the whole component, I cannot find a way.

Figured it out!
You can set alwaysRenderSuggestions to be variable true/false. So something like this:
alwaysRenderSuggestions={this.props.isMobileDevice && this.props.shouldOpenMobileSuggestions}

here's a monkeypatch (in case you got here through google and don't want to fork the library):
/* eslint-disable @typescript-eslint/no-explicit-any */

import Autosuggest from 'react-autosuggest';

/**
 * This class is a monkeypatch for the problems listed here:
 *
 *  https://github.com/moroshko/react-autosuggest/issues/609
 *
 * about all the problems the current onSuggestionTouchMove() has with
 * keyboards on MobileSafari.
 */
export class AutosuggestPatch extends Autosuggest {
  constructor(props: any) {
    super(props);
    const self = this as any;
    self.onSuggestionTouchMove = () => {
      self.justSelectedSuggestion = false;
      self.pressedSuggestion = null;
    };
  }

  /* monkeypatch the other method here, if you want. see @AndradeB91's comment */
}


Trying the demo - 'search the site' not working as expected

Found a bug? Please fill out the sections below. 👍
Issue Summary
Trying the current wagtail bakery demo. Use search on "anpan" or "dough" and it yields a page not found error.
Steps to Reproduce
As above
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no

Technical details
unknown (nothing in help|about on the demo site)

Hey @pwhipp, thanks for the report. Could you add the following details?

How you’re running the demo – Vagrant, Docker, virtualenv
What operating system you’re using
Is there any output displayed in the terminal when making those searches?

Fixed (on Docker) in #326, as per #324.


Documentation on how to use type fields

Using a non-monadic parser means you cannot case-match on a field to determine what to parse next.
BUT we can still use type fields like this:
data NSCheck = NSCheck
  { nsCheckDomain :: !Domain,
    nsCheckAddresses :: ![Domain]
  }
  deriving stock (Show, Eq, Generic)
  deriving (FromJSON, ToJSON) via (Autodocodec NSCheck)

instance Validity NSCheck

instance HasCodec NSCheck where
  codec =
    object "NSCheck" $
      typeField "ns" NSCheck
        <*> domainField .= nsCheckDomain
        <*> singleOrListFieldWith "value" "values" domainCodec "domains" .= nsCheckAddresses

typeField :: Text -> a -> ObjectCodec b a
typeField typeName a =
  a <$ requiredFieldWith' "type" (literalTextCodec typeName) .= const typeName

This could be documented better.

Is there any other workaround, e.g. defining separate objects for each type and manually handle the case if multiple types are specified at the same time?
type:
  type1: value1
  type2: value2

where only type1 or type2 may be specified but not both at the same time.


java.lang.NoClassDefFoundError: com/navercorp/pinpoint/bootstrap/interceptor/registry/InterceptorRegistry

Hello,
Description
Try to install Pinpoint v1.6.0
I follow the guide to install it, I downloaded wars and jar as recommended
When server started and tried to deploy wars, I got a failed status due for this missing class :
java.lang.NoClassDefFoundError: com/navercorp/pinpoint/bootstrap/interceptor/registry/InterceptorRegistry
This class is located into :
pinpoint-agent-1.6.0
|__ boot \ pinpoint-bootstrap-core-1.6.0.jar
But the installation guide does not specify anything about this library
Need I to build the pinpoint-bootstrap-1.6.0.jar by including this library or I do not correctly configured my environment ?
Thanks for your help
Environment

Pinpoint version: 1.6.0
OS : WIndows Server 12 R2 standard
WAS : Wildfly 8.2.0

Additional Info
I updated standalone.conf.bat
set "JAVA_OPTS=%JAVA_OPTS% -javaagent:C:/Exploitation/pinpoint-agent-1.6.0/pinpoint-bootstrap-1.6.0.jar"
set "JAVA_OPTS=%JAVA_OPTS% -Dpinpoint.agentId=FWK_01"
set "JAVA_OPTS=%JAVA_OPTS% -Dpinpoint.applicationName=FWK_APPLICATION"

Please see mainpage(README.md)
Supported Modules

JDK 6+
Tomcat 6/7/8, Jetty 8/9, JBoss EAP 6
Spring, Spring Boot
...


Add property so images can be saved with data

Please add a boolean flag to the MultiImagePickerView so that pickImages() can use the withData property. Without this it is not possible to upload images to FireStore as the default for this property is false.
/// manually pick images. i.e. on click on external button.   /// this method open Image picking window.   /// It returns [Future] of [bool], true if user has selected images.   Future<bool> pickImages() async {     FilePickerResult? result = await FilePicker.platform.pickFiles(         withData: true,         allowMultiple: this.maxImages > 1 ? true : false,         type: FileType.custom,         allowedExtensions: allowedImageTypes);

@justin-blue Version 0.0.14 is released. Now you can set withData or withReadStream in MultiImagePickerController.


Window in new tab has different dimension then default

When a new tab is opened the default settings from the window size are no longer applied
Tell us about your environment

**Selenide Version 6.6.6
**Chrome\Firefox\IE Version Chrome 103
Browser Driver Version:
Selenium Version 4.3.0
OS Version:

Code To Reproduce Issue [ Good To Have ]
Mainly opening a new tab and switching to it gives a smaller browser size

@Hetjavier   But how exactly do you open the new tab? What method or code do you use?

It is known issue for Chrome in headless mode - new tab has a smaller browser window size

@Hetjavier I prepared a pull request which makes Selenide.switchTo().newWindow(WINDOW) open a new window of size Configuration.browserSize (and even at position Configuration.browserPosition). But I am still in doubt is it really so much important feature?

It's not that important but it is nowhere documented that it is working. As I saw Boris left a comment that this could have influence in own web drivers that get passed, so it can be discarded if it could cause more problems I assume.

Decided to abandon this feature, see https://github.com/selenide/selenide/pull/1908