Image Captioning notebook not working

When trying the example image caption: the following error message is generated for the last cell:
Cell:
caption = model.generate_captions(processor, images=[image])
print('generated caption:')
print(caption)

Error:
---------------------------------------------------------------------------

TypeError                                 Traceback (most recent call last)

[<ipython-input-5-749dca7b9c67>](https://localhost:8080/#) in <module>
----> 1 caption = model.generate_captions(processor, images=[image])
      2 print('generated caption:')
      3 print(caption)

5 frames

[/usr/local/lib/python3.8/dist-packages/flamingo_mini/modeling_flamingo.py](https://localhost:8080/#) in prepare_inputs_for_generation(self, input_ids, media_locations, attention_mask, pixel_values, visual_features, past, **kwargs)
    511             input_ids = input_ids[:, -1:]
    512
--> 513         return dict(
    514             input_ids=input_ids,
    515             past_key_values=past,

TypeError: type object got multiple values for keyword argument 'past_key_values'

I can't reproduce this error at the moment, but it has been mentioned before here: https://github.com/dhansmair/flamingo-mini/issues/9
I assume you are using transformers version 4.25.1 now?

Right now it's 4.27.0 the weir/d thing though is that it was working up to Jan 24th, and made no changes to the code.
Do I need to revert to 4.25.1 specifically?
Name: transformers
Version: 4.27.0.dev0
Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
Home-page: https://github.com/huggingface/transformers
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)
Author-email<EMAIL_ADDRESS>License: Apache
Location: /usr/local/lib/python3.8/dist-packages
Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex, requests, tokenizers, tqdm
Required-by: flamingo-mini

Yes reverting back to previous version of transformers solved the issue 👍

thanks for finding this! I'm gonna use this issue to track the problem, might fix it later


BD settings missing

Hey, so it seems like the settings for BD has disappeared. No more context.

Yeah, it's a theme my friend made but that's not the issue


Add individual delegator rewards to validator delegation view

Add this value in the validator delegator view for ease of reference.

This will be listed on the delegation page of a validator. For example
https://cosmos.bigdipper.live/validator/cosmosvaloper14kn0kk33szpwus9nh8n87fjel8djx0y070ymmj/delegations
Add a column of "Rewards" in this delegation list.

The rewards of each delegator can be found by calling the LCD with the following endpoint.
https://cosmos.network/rpc/#/ICS24/get_distribution_delegators__delegatorAddr__rewards

Should be under the delegation list of an account.


Python 3 & cryptography support

I forked 1pass to a) add Python 3 support and b) use cryptography instead of M2Crypto (I had trouble installing).
I started doing this without intending to re-upload to GitHub, but perhaps you might want to merge some or all of these changes in.
All the tests should pass on Python 2 and 3, unless I broke something while cleaning up the git history.

Hi Razer,
Sorry for missing this! I just merged in my PR that does similar to add Python 3 support.


Can you demonstrate how to fine-tune a pretrained model on unlabeled data

🚀 Feature
Documentation or example showing how to fine-tune a pretrained model on unlabeled data.
Motivation
It's great to fine-tune your pretrained model on untrained data, so that---if you have precious few labels in the target domain---you still have adapted to that domain using untrained data.
Pitch
We have these super huge foundational models, but for niche domains without larges it's great to fine tune.
Examples:

Want to work on a particular style of text.
Want to fine-tune on a spoken language that it was not exposed.
etc.

Alternatives
Hack around, maybe use hugging face. IDK?

@SeanNaren or @rohitgr7, mind having a look? :otter:

Hi @turian, do you mean Can you demonstrate how to fine-tune a pre-trained model on new data? Because I think unlabeled data` mean the data used for pre-training (i.e without labels, performing the task of MLM, or related). Hi @Borda, I think, I would like to do an example/documentation (if it doesn't exist) for fine-tuning the model using lightning transformer.

Hi @Borda, I think, I would like to do an example/documentation (if it doesn't exist) for fine-tuning the model using lightning transformer.

That would be great!

Thanks for the heads up. Hi, @turian, can you provide me the instance where you would like to see an example or the domain you are talking about? Because, the usage of the library (on different task) are given in the readme section.

@turian @uakarsh how are you doing? :otter:

Hi @Borda, I am doing good. I was not able to make much of progress, since I am not sure, what is the exact thing, which needs to be solved. Because, if fine-tuning is concerned, I guess there are examples on readme and docs of lightning transformers.


macOS / Linux compile help

First off, thanks to the whole team for sharing the project!
Unfortunately (only concerning this particular project) i have a desktop machine with macOS and couldn't find a way to open/convert the .vcxproj files. I've tried MS Visual Studio and Visual Studio Code for Mac, but it didn't let me compile the project. These Apps are only shrinked down versions of the original Visual Studio .
Then i tried some tricks and tools to convert the .vcxproj content to regular make or cmake instruction files:

vcxproj2cmake
How to support both vcxproj to cmake on a project?

All ended with errors, some didn't even get past the first few files in the compile queue... Sadly i have no idea how to write a makefile (or make-config) myself – otherwise i wouldn't bother you.
So my question is: Did anyone of your team try to compile and run it on Linux or macOS?
If so, could you please ask them to write down a few steps or a small guide on how to compile it on other systems?

I've waited eagerly to try out the project since the first announcement of the paper on reddit and was a little bit disappointed when i saw that the files were only usable on Windows. But don't get me wrong – i'm still glad that the source files are available!
I have already compiled Caffe (from the official site) a few times with python2 & 3.x support, but for some reason with this project's version i can't get past the last steps of the build (some problem with missing functions for hdf5: "Undefined symbols for architecture x86_64: "_H5LTfind_dataset" and more).
And even if i did get Caffe running, i wouldn't know how to configure and make/compile the files in the windows/deep_image_analogy/source folder. I've tried to compile everything with nvcc but its either missing some include files – or when i include them manually it throws a lot of errors.
So any kind of help is deeply appreciated!

Second this!
It looks like an awesome paper to explore and have always wanted to implement this. Would love to toy around with it a bit on Linux, and eventually port it to say tensorflow, etc.

Thanks for your interests.
Actually we are working on the linux version of this project now, and if done we will release the linux version. So please wait for a few days.

Fork for Linux support:
https://github.com/otrimegistro/Deep-Image-Analogy

Hi, you can check the linux version in the branch 'linux' and run the demo by following the tutorial in README.


Add ScalaJS support

Would be nice to fully support Laserdisc on ScalaJS now that FS2 IO module is available :)

@barambani when you can

@barambani what do you think?

Ping @barambani :)


[Core] avoid too many cuda context by caching p2p test

It is observed in #3821  that every worker takes memory in every GPU in _can_p2p  , because the test will make all process allocate cuda context for every GPU, in total leading to $n * (n-1)$ cuda context.
To avoid this, we can cache the test of p2p test.
Before this PR (tp=4):
nvidia-smi
Thu Apr 11 15:43:50 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.15              Driver Version: 550.54.15      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Tesla V100-SXM2-32GB-LS        On  |   00000000:06:00.0 Off |                    0 |
| N/A   35C    P0             96W /  250W |   29767MiB /  32768MiB |     61%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  Tesla V100-SXM2-32GB-LS        On  |   00000000:07:00.0 Off |                    0 |
| N/A   38C    P0             96W /  250W |   29609MiB /  32768MiB |     62%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   2  Tesla V100-SXM2-32GB-LS        On  |   00000000:0A:00.0 Off |                    0 |
| N/A   37C    P0             78W /  250W |   29717MiB /  32768MiB |     56%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   3  Tesla V100-SXM2-32GB-LS        On  |   00000000:0B:00.0 Off |                    0 |
| N/A   35C    P0             75W /  250W |   29657MiB /  32768MiB |     33%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   4  Tesla V100-SXM2-32GB-LS        On  |   00000000:85:00.0 Off |                    0 |
| N/A   28C    P0             40W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   5  Tesla V100-SXM2-32GB-LS        On  |   00000000:86:00.0 Off |                    0 |
| N/A   29C    P0             41W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   6  Tesla V100-SXM2-32GB-LS        On  |   00000000:89:00.0 Off |                    0 |
| N/A   32C    P0             41W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   7  Tesla V100-SXM2-32GB-LS        On  |   00000000:8A:00.0 Off |                    0 |
| N/A   31C    P0             47W /  250W |     343MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A   1448586      C   python                                      28810MiB |
|    0   N/A  N/A   1456481      C   ray::RayWorkerVllm                            306MiB |
|    0   N/A  N/A   1458504      C   ray::RayWorkerVllm                            306MiB |
|    0   N/A  N/A   1460718      C   ray::RayWorkerVllm                            306MiB |
|    1   N/A  N/A   1448586      C   python                                        306MiB |
|    1   N/A  N/A   1456481      C   ray::RayWorkerVllm                          28652MiB |
|    1   N/A  N/A   1458504      C   ray::RayWorkerVllm                            306MiB |
|    1   N/A  N/A   1460718      C   ray::RayWorkerVllm                            306MiB |
|    2   N/A  N/A   1448586      C   python                                        306MiB |
|    2   N/A  N/A   1456481      C   ray::RayWorkerVllm                            306MiB |
|    2   N/A  N/A   1458504      C   ray::RayWorkerVllm                          28760MiB |
|    2   N/A  N/A   1460718      C   ray::RayWorkerVllm                            306MiB |
|    3   N/A  N/A   1448586      C   python                                        306MiB |
|    3   N/A  N/A   1456481      C   ray::RayWorkerVllm                            306MiB |
|    3   N/A  N/A   1458504      C   ray::RayWorkerVllm                            306MiB |
|    3   N/A  N/A   1460718      C   ray::RayWorkerVllm                          28700MiB |
+-----------------------------------------------------------------------------------------+

GPU blocks: 11762, CPU blocks: 2048
Throughput: 8.17 requests/s, 3932.45 tokens/s
After this PR (tp=4):
✗ nvidia-smi
Thu Apr 11 15:52:19 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.15              Driver Version: 550.54.15      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Tesla V100-SXM2-32GB-LS        On  |   00000000:06:00.0 Off |                    0 |
| N/A   36C    P0             87W /  250W |   29717MiB /  32768MiB |     72%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  Tesla V100-SXM2-32GB-LS        On  |   00000000:07:00.0 Off |                    0 |
| N/A   38C    P0             87W /  250W |   29559MiB /  32768MiB |     66%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   2  Tesla V100-SXM2-32GB-LS        On  |   00000000:0A:00.0 Off |                    0 |
| N/A   37C    P0             85W /  250W |   29667MiB /  32768MiB |     61%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   3  Tesla V100-SXM2-32GB-LS        On  |   00000000:0B:00.0 Off |                    0 |
| N/A   35C    P0             79W /  250W |   29607MiB /  32768MiB |     64%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   4  Tesla V100-SXM2-32GB-LS        On  |   00000000:85:00.0 Off |                    0 |
| N/A   28C    P0             40W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   5  Tesla V100-SXM2-32GB-LS        On  |   00000000:86:00.0 Off |                    0 |
| N/A   29C    P0             41W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   6  Tesla V100-SXM2-32GB-LS        On  |   00000000:89:00.0 Off |                    0 |
| N/A   30C    P0             41W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   7  Tesla V100-SXM2-32GB-LS        On  |   00000000:8A:00.0 Off |                    0 |
| N/A   29C    P0             42W /  250W |       0MiB /  32768MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A   1491851      C   python                                      29706MiB |
|    1   N/A  N/A   1496915      C   ray::RayWorkerVllm                          29548MiB |
|    2   N/A  N/A   1497165      C   ray::RayWorkerVllm                          29656MiB |
|    3   N/A  N/A   1497328      C   ray::RayWorkerVllm                          29596MiB |
+-----------------------------------------------------------------------------------------+

GPU blocks: 12222, CPU blocks: 2048
Throughput: 8.21 requests/s, 3953.50 tokens/s
Conclusion
Fight really hard to save 306MiB * tp * tp memory.

why do we write the cache to a file? Is it so that all the workers can access the cache info?

If we don't cache it into a file, every master process still needs to initialize cuda context in every gpu, that will lead to tp * 306MiB memory cost. In one machine, the p2p access for a fixed set of GPUs should not change. So we can safely cache it into a file, and later even master process does not need to pay the cost.

what's happening if there are 2 vllm instances running at the same time?

Note that the cache file name is suffixed by cuda_visible_devices. So 2 vllm instances will not have conflict.

QQ: Can we directly use cudaIpcOpenMemHandle instead?

QQ: Can we directly use cudaIpcOpenMemHandle instead?

We should seek help from @hanzhi713 , I'm not familiar with this :(

QQ: Can we directly use cudaIpcOpenMemHandle instead?

We should seek help from @hanzhi713 , I'm not familiar with this :(

We can use cudaDeviceCanAccessPeer, accessible with cupy: https://docs.cupy.dev/en/stable/reference/generated/cupy.cuda.runtime.deviceCanAccessPeer.html

Makes sense! Maybe it'd be great to have a simple comment in the function for the motivation of writing it to a file!

Technically many functions can be used to detect p2p access, but the details of which function will cost additional cuda context is extemely vague. cudaIpcOpenMemHandle or cudaDeviceCanAccessPeer might work, but it is hard to say if they will place tp * tp cuda context.
That said, I think caching the result is a universal way, regardless of how we detect p2p access.

Anyone stamp my PR? Or any additional modification required?

multi-node seems not working?
Should we delete this cache after p2p test done?

Multi node is not working with vllm anyway, so not sure if we should handle it in this PR

Multi node is not working with vllm anyway

This is not correct. vllm indeed supports multi-node.
@esmeetu I added the case for multi-node, by letting one process per node to create the cache (i.e. local_rank == 0). Could you please test if this works for multi-node setting?

Technically either cudaDeviceCanAccessPeer or cudaIpcOpenMemHandle would suffice. cudaDeviceCanAccessPeer is called by torch.cuda.can_device_access_peer. However, cuda driver sometimes is buggy and might report p2p being supported even though it's not. This can occur on 3090 and 4090. Thus, we need to perform actual p2p copies and check whether the result is correct to mitigate the driver bug.

I can confirm cudaDeviceCanAccessPeer  will cost about tp * tp * 300MB memory. Not sure if cudaIpcOpenMemHandle behaves the same.
Either way, the caching in this PR is reasonable. p2p access pattern between GPUs seldom change.

Multi node is not working with vllm anyway

This is not correct. vllm indeed supports multi-node.
@esmeetu I added the case for multi-node, by letting one process per node to create the cache (i.e. local_rank == 0). Could you please test if this works for multi-node setting?

Multi-node was not supported when using custom-all-reduce. So this PR looks good to me.


CI: cancel outdated action runs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[D3D11] POSTAL Brain Damaged: Corrupted Reflections in Suburbia

Software information
POSTAL Brain Damaged (1359980)
High Settings, antialiasing off, 1080p
System information

Machine: Steam Deck
Driver: Mesa 23.1.2
Wine version: Proton experimental-8.0-20230606
DXVK version: DXVK v2.2-33-gd241daa0b1f96f7

Apitrace file(s)
APITrace
Screenshots

Correct Behavior

Log files
steam-1359980.zip

fwiw metald3d logs a couple of error messages like this, taking a quick look at the renderdoc it seems like this is the issue:
Failed to create pipeline state: Error Domain=AGXMetal13_3 Code=3 "Fragment input(s) `user(texcoord6)` mismatching vertex shader output type(s) or not written by vertex shader" UserInfo={NSLocalizedDescription=Fragment input(s) `user(texcoord6)` mismatching vertex shader output type(s) or not written by vertex shader}, vs=81395087550621614903112759022732522635024016920034294967295429496729500,fs=8125458665587274230746641964946232789990602801,gs=,ds=,hs=, marking PSO(133) as no-op

Intel GPU on Windows OS also has this problem
Nvidia works well

Finally got around to looking at this, game is extremely broken and uses incompatible shaders and somehow expects this to work when it really shouldn't.
Fixing this is technically possible by rewriting the fragment shader at runtime, but it's very difficult and not a high priority at the moment.

Finally got around to looking at this, game is extremely broken and uses incompatible shaders and somehow expects this to work when it really shouldn't.
Fixing this is technically possible by rewriting the fragment shader at runtime, but it's difficult and not a high priority at the moment.

This sounds like it would be a game-specific hack type of thing, yes?


Update description and comments in commands/triggers_test.go

Update description and comments in commands/triggers_test.go

Fixed in https://github.com/RedHatInsights/insights-operator-cli/pull/437


Feature/OffCanvas

Preview: https://www.loom.com/share/20300cf9395041549963263dc46b9769

https://www.loom.com/share/22a50a034f914a9cbd993576a54cf84d

https://www.loom.com/share/3c6d2041df3147e687ab222bfb71b07e


Enabled UsePasswordFlowWithOauth2Rule and downgraded to SHOULD

As agreed with @maxim-tschumak in #576

Codecov Report

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

@@            Coverage Diff            @@
##             master     #588   +/-   ##
=========================================
  Coverage     84.58%   84.58%
- Complexity      933      934    +1
=========================================
  Files           150      150
  Lines          2349     2349
  Branches        307      307
=========================================
  Hits           1987     1987
  Misses          222      222
  Partials        140      140

Impacted Files
Coverage Δ
Complexity Δ

...ally/rule/zalando/UsePasswordFlowWithOauth2Rule.kt
76.92% <100%> (ø)
11 <1> (+1)
:arrow_up:

Continue to review full report at Codecov.

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

:+1:

👍

👍

👍


Is this lib still valid?

I want to use parse-dictd to my chrome extension. And before that, I run your example with English-Korean Dictionary (.dict.dz & .index file) But I can`t see nothing in console
I`m OS X 10.11.6 & node version v6.6.0.

I can see stuff in the console, but not the translation from language A to language B. I see A -> A instead.

@vrockai I had a similar issue when using dictionaries from freedict.org.
It is due to the way the stream is processed - the stream processor in index.js/dwrite looks for line endings and ignores the length indicators on the .index file.
Therefore, the dictionaries with multiple line endings in each entry do not work correctly.
I needed to rewrite the stream processing to get it to work - will create a branch in my own fork.


Custom login screen music

We have custom login screen image, it would be great to have the option of using an audio file we have to replace the music for the login screen, for example I would use the 2009 Scape Theme found at https://www.youtube.com/watch?v=JXisdFMEw8g
I usually just keep the login screen music muted but if I were able to use this piece instead, I'd let it play every time.

Duplicate of #11747


Garden Cloche / Cardboard Box disappearing

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
SEARCH: nothing
Issue description:
MODPACK: ENIGMATICA2:EXPERT
Placing a Cardboard Box (Mekanism) on a Garden Cloche (Immersive Engineering) deletes both the cloche, all it's contents and the cardboard box. (reporting issue to both mod groups)
Steps to reproduce:

Place Garden Cloche in world, fill with dirt, potato and bone meal,
Supply with water and power.
Place a Cardboard box onto the Garden Cloche.
Check every where for the drop.

Version (make sure you are on the latest version before reporting):
Forge: Mod Loader: <IP_ADDRESS>
Minecraft Forge: <IP_ADDRESS>81
Mekanism: 1.12.2-<IP_ADDRESS>9
Other relevant version: Immersive Engineering: 0.12-88
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
[gist/pastebin/etc link here]
Willing to provide video if needed?

I reproduced this with IE and Mek in a standalone pack. It's worth noting that it only occurs when the block is larger than a single block. Also notable is that after setBlockState on a problematic block, the block state is AIR.

Hi @ke5hxf - I've fixed this in my fork and submitted a PR to this repo. The problem is that IE actually triggers it's own setBlockState whenever a cloche (or other double-high block) is broken - the work around is to first set the block in question to air, then place the cardboard box. Ideally we wouldn't have to do this two-step, but double-blocks are such a hack that I think this is a reasonable tradeoff.
I'll cut a new release of my fork tomorrow with this change.

Based on discussion with the author of IE, multiblock devices have been blacklisted for the cardboard box.
Even with working around the disappearing act, it won't come out of the box properly.

After removing the box, there is no 2nd block and your cloche will probably not work right without it.


zIndex in a List

[x] I have reviewed the documentation
[x] I have searched existing issues
[x] I am using the latest React Native version

This is actually a reopen of my #16878 issue. I've got some thumbs up, so I think I am not the only one with this issue. This time I updated my example project to a pure rn project with the latest release (rn Branche)
Environment

info
  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
      Memory: 94.53 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.12.0 - ~/.nvm/versions/node/v10.12.0/bin/node
      Yarn: 1.16.0 - ~/.nvm/versions/node/v10.12.0/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 23
        Build Tools: 23.0.1
    IDEs:
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.8 => 0.59.8
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Steps to Reproduce

Make a list (FlatList or Array.map, it happens with both)
The renderItem should get an onPress event
The onPress event changes the style to a high zIndex and position absolute

Expected Behavior
I expect that the component with the high zIndex is over every other component.
Actual Behavior

It seems like it ignores the zIndex property. The behavior is exactly like I would not apply any zIndex. I can remove the zIndex and I get the same result.
Google Drive Link to a screenshot.
Reproducible Demo
Github Demo Project rn Branche This is just an extract out of my current rn project.
Expo Link (Not on the latest rn version)
Google Drive Video which show the issue

I was about to open a proposal on this, but might be better to just discuss in this issue.
I came across the same problem and worked around it by adding an additional cellStyle prop to the FlatList component. I then merged this cellStyle prop with the styles generated by CellRenderer in VirtualizedList.
Setting the zIndex to the parent element generated by CellRenderer works as you'd expect.
Happy to put in a PR if this seems like an acceptable solution.

Having the same issue here

Will we ever get a fix for this? I mean, this is the second issue about this and still: nothing

As far as I can tell, no PRs have been submitted to address this issue. I'm adding the Help Wanted tag to surface the issue more broadly.

No need to override any React Native internals to set zIndex on the item wrapper views of a FlatList, here’s how I achieved it;
<FlatList
    data={timeline}
    renderItem={this.getItemView}
    CellRendererComponent={({ children, index, style, ...props }) => {
        const cellStyle = [
            style,

			// I want each item to have a higher zIndex than the previous one,
			// in reversed order due to the FlatList being inverted
            { zIndex: this.state.timeline.length - index }
        ]

		// OverflowableView for Android...
        return (
            <OverflowableView style={cellStyle} index={index} {...props}>
                {children}
            </OverflowableView>
        )
    }}
    inverted />

@Haraldson It could solve my exact case (Not tested), but the not the core problem with zIndex in a List.
We can consider this as an workaround.
@react-native-bot Still there in v0.55. Source

@Haraldson Thanks for this, but where are the docs on CellRendererComponent? I can't find details on this props anywhere.

@Haraldson That workaround looks reasonable, but unfortunately when I override CellRendererComponent, handling of keys seems to break, even if I pass the same key to the first child returned in CellRendererComponent. Any advice there?

@isaachinman I don’t quite get the problem? key should be parts of props which is spread into the Cell view.

@Haraldson Let me explain.
Generally speaking, I am attempting to animate the reorder of items within a FlatList using LayoutAnimation. Here is the simplest possible example of that, working just fine.
The problem I've run into is that depending on the direction an item is moving (up or down), it will animate behind the other items, as it is after them in the literal JSX order.
So, I want to increase the zIndex/elevation of an item just when it is animating. Which is how I arrived at this thread. Here's the same example, but using the most basic version of your CellRendererComponent example. The animation is now broken, despite the keys being present and remaining identical.
Even if I only return children directly, the animation breaks due to full re-renders of everything.
Hopefully this is clear... I have no idea what's going on here.

Hello there 👋 this issue seems to have been inactive for the past few months. Because of this, it's likely that the issue is not a high priority anymore or it has been solved by OP; for these reasons, we'll close it.
But please, if it's actually still an issue with 0.59 please comment below and we can reopen it or please send us a Pull Request with a fix 😊

@kelset Issue still persists.

Can you submit a repro?

I did. In the initial issue. I updated the repo.

The one submitted above is using RN 0.54 (https://github.com/TheNoim/zIndexBug/blob/3e36101903ab96841ba4841e6db214cb4a7df50e/package.json#L18)- as I mentioned when I closed the issue, we'd need one with 0.59

went through the hassle and updated to 0.59

@kelset I proved, it is still an issue. Please reopen it again.

sorry, I've missed the other comment. Reopening.

@kelset Hello. Could you tell me please, what we can do with issue? I`m trying to make this case in android and I have bad result - the ScrollView is under it.... ()

@KassoBrapik Not sure if this is the same issue.

@TheNoim is there any way to position fix element inside ScrollView ?

I am experiencing the following issue only with android.
View disappears when rendered inside a FlatList and have position: 'absolute'
In the example below the Locations component renders a FlatList
class Locations extends Component {
  renderCard(item, index) {
    return (
      <Location location={item} />
    )
  }

  render() {
    const { locations } = this.state
    return (
      <FlatList
        data={locations}
        renderItem={({ item, index }) => this.renderCard(item, index)}
      />
    )
  }
}

The Location Component renders a View
class Location extends Component {
   render() {
        <View style={styles.container}>
          <Text>Test</Text>
        </View>
    )
  }
}

const styles = StyleSheet.create({
  container: {
    backgroundColor: 'red',
    position: 'absolute',
    top: 0,
    bottom: 0,
    left: 0,
    right: 0,
  }
})

If I remove flatlist the Red View with the Text on top is displayed.
If I add the flatlist, the Red View and text element are not displayed.

searching for an issue to work on, this example is based on rn 0.54.3 https://github.com/TheNoim/zIndexBug/blob/rn/package.json#L18

I tried to test the above issue on the react-native master branch. I noticed that

I tried to test the above issue in the react native master branch. During the implementation of the example I noticed that @TheNoim added dependencies like 'react-native-material-cards' that are not part of the react-native library. I believe that reproducible examples should not include dependencies other then react-native...

No need to override any React Native internals to set zIndex on the item wrapper views of a FlatList, here’s how I achieved it;
<FlatList
    data={timeline}
    renderItem={this.getItemView}
    CellRendererComponent={({ children, index, style, ...props }) => {
        const cellStyle = [
            style,

            // I want each item to have a higher zIndex than the previous one,
            // in reversed order due to the FlatList being inverted
            { zIndex: this.state.timeline.length - index }
        ]

        // OverflowableView for Android...
        return (
            <OverflowableView style={cellStyle} index={index} {...props}>
                {children}
            </OverflowableView>
        )
    }}
    inverted />

This particular code causes a crash on android react native 62.2... So its no longer a valid workaround.

No need to override any React Native internals to set zIndex on the item wrapper views of a FlatList, here’s how I achieved it;
<FlatList
    data={timeline}
    renderItem={this.getItemView}
    CellRendererComponent={({ children, index, style, ...props }) => {
        const cellStyle = [
            style,

            // I want each item to have a higher zIndex than the previous one,
            // in reversed order due to the FlatList being inverted
            { zIndex: this.state.timeline.length - index }
        ]

        // OverflowableView for Android...
        return (
            <OverflowableView style={cellStyle} index={index} {...props}>
                {children}
            </OverflowableView>
        )
    }}
    inverted />

This workaround worked as I expected, but when I do this onEndReached is not called, so FlatList doesn't load more data.
Anyone having this problem?
Here is my code:
`
const CellRendererComponent = (props: any) => {
const { children } = props
const [isSwipingCell, setIsSwipingCell] = useState(false)
const onSwipeStart = () => {
setIsSwipingCell(true)
}
const onSwipeEnd = () => {
setIsSwipingCell(false)
}
return (
<View
style={{
zIndex: isSwipingCell ? 100 : 0,
flexDirection: 'row',
width: size.screenWidth,
}}>
{React.cloneElement(children[0].props.children[0].props.children, {
onSwipeStart: onSwipeStart,
onSwipeEnd: onSwipeEnd,
})}
{children[0].props.children[1] &&
React.cloneElement(children[0].props.children[1].props.children, {
onSwipeStart: onSwipeStart,
onSwipeEnd: onSwipeEnd,
})}

)
}
export default function LikeList() {
const [data, setData] = useState(DATA)
const onSwipeSuccess = (id: string) => {
setData(_data => _data.filter(item => item.id !== id))
}
const renderItem = useCallback(({ index, item }) => {
return (

)
}, [])
const keyExtractor = useCallback(item => {
return item.id
}, [])
return (
<View
style={{
flex: 1,
backgroundColor: color.background.primary,
}}>

)
}
`

Couldn't make this workaround work on Android without also having removeClippedSubviews={false} explicitly set.
It is set to true by default on Android, and false on iOS.

Couldn't make this workaround work on Android without also having removeClippedSubviews={false} explicitly set.
It is set to true by default on Android, and false on iOS.

Couldn't make this workaround work on Android without also having removeClippedSubviews={false} explicitly set.
It is set to true by default on Android, and false on iOS.

It's working, thank you.


Store AsyncWeightBuffer data (Server side)

In order to display contribution metrics, the first important object will give understanding what is happening in the server.
The user would be interested in (among other things):

How many people have contributed to the current model (overall, in the last round)
How relevant are the other users data to me.
...

The first step for this is to build a class for the AsyncWeightBuffer, say AsyncWeightInformant that owns an object of the latter class and keeps track of what is going on. This information can then be queried by the client in order to display said information on the web page, e.g. number of current participants.

This is part of @dgengler6 project on contribution metrics.


Keep required field when converting composed model to OpenAPI

Fixes #1796
Make sure the required field don't get lost when it is having an allOf in Swagger and you want to convert it to OpenAPI

thanks!


[Issue] Tiles don't match the ones used in the TMX file.

A quick comparison of the issue with a bucket fill TMX file. It appears as if tmx2bam is choosing a different tile then the one required for the slot. The version of Tiled being used is version 1.4.2. I've included the TMX file used to demo this as well as the required tsx and png file.

world.zip

Fixed and thanks so much :)


Is it possible to create an identifier from a string literal or vice versa?

I need to generate something like this:
function Foo { return 'Foo'; }

I don't want to pass "Foo" to my macro twice (as an identifier and as a literal), but can't find any possibility to do this. Am I missing something? Also, am I right that there is no way to create a new identifier (e.g. getFoo) from an existing one?

There's a fromString method on the Syntax class, which I assume will be available as a core module someday. You can use this hack to access it in the meantime:
syntax def = ctx => {
	let ident = ctx.next().value,
		Syntax = #`;`.get(0).constructor,
		str = Syntax.fromString(ident.val())
	return #`function ${ident}() {
		let x = ${str};
		return x;
	}`
}

I'm using a helper variable because of #550.

(╯°□°）╯︵ ┻━┻
You go to all this work to hide internal APIs and people still find them!
Yeah, a proper API is coming soon but in the meantime you can use that hack. Just don't yell at me when I break it on a minor version bump 😝


Marten commandline >= 6.2.0 ignores ShardTimeout flag when using one letter alias '-t'

Hi,
When rebuilding projections prior to Marten Commandline v6.2.0 we could use a flag -t to increase the shard timeout. After upgrading to 6.2.0 we noticed timeouts when rebuilding our projections, although we still used the same command with -t option. This might be related to the new TenantFlag option that has been introduced (suggested by Matthias Vdb in discord https://discord.com/channels/1074998995086225460/1074999076896112661/1173596686866726993).
I couldn't find a test in marten to easily reproduce this behaviour. But we can reproduce the issue when inserting an invalid value for ShardTimeout using both -t as --shard-timeout options:
e.g.
dotnet run -- projections -r -t invalid123   => this runs without issue
dotnet run -- projection -r --shard-timeout invalid123  => throws invalid shard timeout value exception
Kind regards, Steven

My team experiences the same issue. Our current workaround is downgrading to 6.1.
Full alias seems to also work in the meantime.

Yes, the issue at hand is due to TenantFlag, Oakton by default uses the first letter as the short alias for argument. This results in a conflict between Tenant and the explicit flag defined for ShardTimeout. I will be making a change to remove the short alias t for ShardTimeout and make it only use the long alias.


Get Total number of steps

How  get Total number of steps i.e total count  in current wizard ?? any method ??

I just started using this plugin and I really like it . I created this method to get the steps. Working for me so far!
function getTotalSteps(wizard) {     var steps = getSteps(wizard);     var count = 1;     for (var i = 0 ; i <= steps.length; i++)     {         count = count + 1;     }     return count; }

After these lines in jquery.steps.js
$.fn.steps.skip = function (count)
{
    throw new Error("Not yet implemented!");
};

Insert this snippet

/**
 * Get number of steps in wizard
 *
 * @method getTotalSteps
 * @return {Integer} Total Steps in Wizard
 **/
$.fn.steps.getTotalSteps = function () {
    var wizard = this;
    var steps = getSteps(wizard);
    return steps.length;
};

Usage: wizard.steps('getTotalSteps')


Keyboard type showing alphabet

when I set the type to the number but the keyboard showing alphabet . Check the screenshot

Because the hidden input's type is the password for a better security reason, so while you focus the box, you are focusing on the real input.
The intention of the prop type here is for not allowing other types of value to enter, not to wakeup specific type of keyboard.
However, it is an improvement to handle it.

Hi @snairsumith , please check the version of 1.2.1

Hi @snairsumith , please check the version of 1.2.1


Runtime error with<EMAIL_ADDRESS>

Environment
Knex version: 0.21.15
Database + version:
Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64)
	Oct 28 2016 18:17:30
	Copyright (c) Microsoft Corporation
	Developer Edition (64-bit) on Windows 10 Pro N 6.3 <X64> (Build 19041: )

Database library<EMAIL_ADDRESS>OS: macOS 11.1 (20C69)
Tagging @smorey2 .
Bug

Runtime error occurs when using the alpha version of MSSQL database library with latest version of knex.

Error message:

(node:83915) UnhandledPromiseRejectionWarning: Error: Tarn: unsupported option opt.evictionRunIntervalMillis
    at new Pool (/.../knex-mssql7-test/node_modules/tarn/dist/Pool.js:64:23)
    at /.../knex-mssql7-test/node_modules/mssql/lib/base/connection-pool.js:181:21
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Reduced test code:

// package.json
{
  "name": "knex-mssql7-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node ./index.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "knex": "^0.21.15",
    "mssql": "^7.0.0-alpha.4"
  }
}

// index.js
const knex = require('knex');

const db = knex({
    client: 'mssql',
    connection: {
        host: `...`,
        user: `...`,
        password: `...`,
        database: `...`,
        options: {
            trustServerCertificate: true, // required for my self-signed certificate
        },
    },
});

db.raw(`SELECT @@version`).then(result => console.log('result', result));

Looks like your  pooling configuration is wrong. Can you check pool branch of your config? See https://knexjs.org/#Installation-pooling

Looks like your  pooling configuration is wrong. Can you check pool branch of your config? See https://knexjs.org/#Installation-pooling

Here's some information that appears to be relevant to the issue:
<EMAIL_ADDRESS>depends on<EMAIL_ADDRESS>https://github.com/tediousjs/node-mssql/blob/6/package.json
MSSQL@7 depends on<EMAIL_ADDRESS>https://github.com/tediousjs/node-mssql/blob/master/package.json
Tarn does not and has never supported the evictionRunIntervalMillis option. See: https://github.com/Vincit/tarn.js/blob/master/src/Pool.ts
However, as of<EMAIL_ADDRESS>unsupported options now throw errors. See: https://github.com/Vincit/tarn.js/commit/dc7cf19a37dfe4eb578ac6a79bedefe59e4a13e9
I was planning to submit a PR to fix the issue but it seems that I don't have permission. Knex appears to connect successfully if references to evictionRunIntervalMillis are removed entirely from the MSSQL dialect. If you want to add me as a contributor I'd be happy to push up my local working branch. If not, here is the entirety of the changes:
knex % git branch
* fix/mssql7
  master
knex % git diff master
diff --git a/lib/constants.js b/lib/constants.js
index 75127dd0..53cf6b0e 100644
--- a/lib/constants.js
+++ b/lib/constants.js
@@ -23,7 +23,6 @@ const POOL_CONFIG_OPTIONS = Object.freeze([
   'fifo',
   'priorityRange',
   'autostart',
-  'evictionRunIntervalMillis',
   'numTestsPerRun',
   'softIdleTimeoutMillis',
   'Promise',
diff --git a/lib/dialects/mssql/index.js b/lib/dialects/mssql/index.js
index a85c98e6..61c4a2e0 100644
--- a/lib/dialects/mssql/index.js
+++ b/lib/dialects/mssql/index.js
@@ -31,7 +31,6 @@ function Client_MSSQL(config = {}) {
     min: 1,
     max: 1,
     idleTimeoutMillis: Number.MAX_SAFE_INTEGER,
-    evictionRunIntervalMillis: 0,
   };

   Client.call(this, config);
diff --git a/types/index.d.ts b/types/index.d.ts
index 215d3dc1..ae114760 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -1956,7 +1956,6 @@ export declare namespace Knex {
       fifo?: boolean;
       priorityRange?: number;
       autostart?: boolean;
-      evictionRunIntervalMillis?: number;
       numTestsPerRun?: number;
       softIdleTimeoutMillis?: number;
       Promise?: any;

Here's some information that appears to be relevant to the issue:
<EMAIL_ADDRESS>depends on<EMAIL_ADDRESS>https://github.com/tediousjs/node-mssql/blob/6/package.json
MSSQL@7 depends on<EMAIL_ADDRESS>https://github.com/tediousjs/node-mssql/blob/master/package.json
Tarn does not and has never supported the evictionRunIntervalMillis option. See: https://github.com/Vincit/tarn.js/blob/master/src/Pool.ts
However, as of<EMAIL_ADDRESS>unsupported options now throw errors. See: https://github.com/Vincit/tarn.js/commit/dc7cf19a37dfe4eb578ac6a79bedefe59e4a13e9
I was planning to submit a PR to fix the issue but it seems that I don't have permission. Knex appears to connect successfully if references to evictionRunIntervalMillis are removed entirely from the MSSQL dialect. If you want to add me as a contributor I'd be happy to push up my local working branch. If not, here is the entirety of the changes:
knex % git branch
* fix/mssql7
  master
knex % git diff master
diff --git a/lib/constants.js b/lib/constants.js
index 75127dd0..53cf6b0e 100644
--- a/lib/constants.js
+++ b/lib/constants.js
@@ -23,7 +23,6 @@ const POOL_CONFIG_OPTIONS = Object.freeze([
   'fifo',
   'priorityRange',
   'autostart',
-  'evictionRunIntervalMillis',
   'numTestsPerRun',
   'softIdleTimeoutMillis',
   'Promise',
diff --git a/lib/dialects/mssql/index.js b/lib/dialects/mssql/index.js
index a85c98e6..61c4a2e0 100644
--- a/lib/dialects/mssql/index.js
+++ b/lib/dialects/mssql/index.js
@@ -31,7 +31,6 @@ function Client_MSSQL(config = {}) {
     min: 1,
     max: 1,
     idleTimeoutMillis: Number.MAX_SAFE_INTEGER,
-    evictionRunIntervalMillis: 0,
   };

   Client.call(this, config);
diff --git a/types/index.d.ts b/types/index.d.ts
index 215d3dc1..ae114760 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -1956,7 +1956,6 @@ export declare namespace Knex {
       fifo?: boolean;
       priorityRange?: number;
       autostart?: boolean;
-      evictionRunIntervalMillis?: number;
       numTestsPerRun?: number;
       softIdleTimeoutMillis?: number;
       Promise?: any;

Looks like your pooling configuration is wrong. Can you check pool branch of your config? See https://knexjs.org/#Installation-pooling

I am using the default pooling configuration. The reduced test code provided in the original issue description is the entirety of a codebase that reproduces the issue.

Looks like your pooling configuration is wrong. Can you check pool branch of your config? See https://knexjs.org/#Installation-pooling

I am using the default pooling configuration. The reduced test code provided in the original issue description is the entirety of a codebase that reproduces the issue.

Note that a similar PR was created and closed in 2019 for unrelated reasons: https://github.com/knex/knex/pull/3044.

Note that a similar PR was created and closed in 2019 for unrelated reasons: https://github.com/knex/knex/pull/3044.

@oranyelik You don't need contributor permissions to create a PR, you can create one from your personal fork of the repo.
I'm fine with dropping support for old node-mssql versions, but it has to be mentioned in UPGRADING.md

@oranyelik You don't need contributor permissions to create a PR, you can create one from your personal fork of the repo.
I'm fine with dropping support for old node-mssql versions, but it has to be mentioned in UPGRADING.md

@kibertoad To expand on what you said, node-mssql changed from depending on<EMAIL_ADDRESS>to<EMAIL_ADDRESS>in this commit: https://github.com/tediousjs/node-mssql/commit/a799be574e0558a3053820d97bea27a2ac8e0874#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519. Right after this commit, node-mssql transitions from v5 to v6.0.0-alpha.1.
This is significant because generic-pool is what originally supported evictionRunIntervalMillis: https://github.com/coopernurse/node-pool#documentation
If we want to maintain knex support for node-mssql@5, we must support evictionRunIntervalMillis. In its current form, however, supporting this option will not allow us to support node-mssql@7.

@kibertoad To expand on what you said, node-mssql changed from depending on<EMAIL_ADDRESS>to<EMAIL_ADDRESS>in this commit: https://github.com/tediousjs/node-mssql/commit/a799be574e0558a3053820d97bea27a2ac8e0874#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519. Right after this commit, node-mssql transitions from v5 to v6.0.0-alpha.1.
This is significant because generic-pool is what originally supported evictionRunIntervalMillis: https://github.com/coopernurse/node-pool#documentation
If we want to maintain knex support for node-mssql@5, we must support evictionRunIntervalMillis. In its current form, however, supporting this option will not allow us to support node-mssql@7.

@oranyelik Considering that we list mssql peer dependency at ^6.3.1 and next knex release is semver major, as I've said, I'm fine with dropping support for older node-mssql versions, as long as it is properly documented. Better yet, we should throw an error from the dialect ourselves if version is too old.
This would be a good place: https://github.com/knex/knex/blob/0bef361ffdc089714d0b5c81fe769ab95a20bf65/lib/dialects/mssql/index.js#L67

@oranyelik Considering that we list mssql peer dependency at ^6.3.1 and next knex release is semver major, as I've said, I'm fine with dropping support for older node-mssql versions, as long as it is properly documented. Better yet, we should throw an error from the dialect ourselves if version is too old.
This would be a good place: https://github.com/knex/knex/blob/0bef361ffdc089714d0b5c81fe769ab95a20bf65/lib/dialects/mssql/index.js#L67

I don't see how tarn or generic-pool that is used by node-mssql internally has anything to do with knex. Knex shouldn't pass its pool options to node-mssql's pool, because knex avoids using any pool implementations of DB driver libraries (though node-mssql doesn't allow to omit it completely).
Also we don't want to support any mssql which is still using generic pool. That version had many critical bugs and were leaking connections etc. (I noticed those in stress tests and then wrote monkeypatches to knex side to support it more or less safely)... afterwards node-mssql maintainers started fixing those issues and also started using tarn internally and nowadays we can use newer node-mssql versions without our own patches...

I don't see how tarn or generic-pool that is used by node-mssql internally has anything to do with knex. Knex shouldn't pass its pool options to node-mssql's pool, because knex avoids using any pool implementations of DB driver libraries (though node-mssql doesn't allow to omit it completely).
Also we don't want to support any mssql which is still using generic pool. That version had many critical bugs and were leaking connections etc. (I noticed those in stress tests and then wrote monkeypatches to knex side to support it more or less safely)... afterwards node-mssql maintainers started fixing those issues and also started using tarn internally and nowadays we can use newer node-mssql versions without our own patches...

If the old mssql monkeypatch code is still in mssql dialect that should be removed and relay on newer mssql versions only.

If the old mssql monkeypatch code is still in mssql dialect that should be removed and relay on newer mssql versions only.

@oranyelik Hotfix was released in 0.21.16, and next semver major will feature a completely redone integration with mssql dialect, dropping support for older versions.

@oranyelik Hotfix was released in 0.21.16, and next semver major will feature a completely redone integration with mssql dialect, dropping support for older versions.


Make iq# installation ore resilient

QDK build has been failing when using the vs2019 build agent during the execution of this script.
This makes the installation of iq# more resilient to errors.

Kicked the CI build manually at https://dev.azure.com/ms-quantum-public/Microsoft Quantum (public)/_build/results?buildId=8586&view=results; the build passed, so merging the PR.


Is it possible to use "youtube-nocookie" for videos?

Hello, I found your clone while looking for an alternative youtube player, and it worked almost perfectly.. except unable to load videos for some reasons.
I am using this client from "blocked" network that doesn't even let VPN to be used.
However, there is one thing that works, that is https://www.youtube-nocookie.com/embed/
I've been using it along with your clone, for awhile now. So I've been wondering, is there a way to somehow combine it? To use player from link above instead of current watch player container?

Hello, I think you can use this player https://github.com/tjallingt/react-youtube


clickHandler interaction in Firefox not always firing (solved)

I noticed that the clickHander interaction wasn't always correctly triggering in FF in my application. Chrome (and even IE!) worked fine, so I drilled down into wax.mm.js. In the function "templatedGridUrl" I found that the following regex sometimes randomly returned null:
var xyz = /(\d+)/(\d+)/(\d+).[\w._]+/g.exec(url);
I replaced this line with:
var rx = new RegExp("/(\d+)\/(\d+)\/(\d+)\.[\w\._]+");
var xyz = rx.exec(url);
And now it seems to be fine. Might just be an issue at my end. I found the solution in some comments in this Stack Overflow question: http://stackoverflow.com/questions/4724701/regexp-exec-returns-null-sporadically
As a side note, I've added a renderer for UtfGrid for .net based on some original code by Dane Springmeyer:
https://github.com/fredleefarr/UTFGrid-Renderer
I couldn't find Dane's original repo so couldn't link to it.

Ah, thanks so much for tracking this down! Must have run into it a while ago but not fixed it entirely, and it became lore that Firefox somehow had a broken regex implementation, but I had no examples.
I'll do a quick backport for a 4.1.6 release with this fix. Thanks @fredleefarr !

Fixed in 4.1.7, thanks!


Add Favicon

Add a new favicon. Remove the react default  favicon.

Assign me this, please.

You can also contribute to this repository by adding your social media profile links. For further details, please checkout out the README.md.

What sort of image that you have in your mind for a new favicon?

Anything related to social profiles.

Check out the link I have provided above. You can use one of those logos.

is this okay ?? you mentioned social media and  I thought this sort of image if not I can find out something else.

Check this link: https://www.vectorstock.com/royalty-free-vector/social-logo-vector-21540596


Add log error in ErrCallback to prevent defer to silent python error

I'm not sure it's the best way to do it but it was helping me to log python error and see the bugs in my code which handle hl7 message.

Hi, sorry I didn't answer you in time John...
Thanks for your time, solution and update guys !!


Results#add(int, List, List) leads to HTTP 400: "Field :results.test_id is a required field."

Whenever I try to bulk-submit test results (via the Results#add(int, List<Result>, List<ResultField>) API), I get:
com.codepine.api.testrail.TestRailException: 400 - Field :results.test_id is a required field.

	at com.codepine.api.testrail.TestRailException$Builder.build(TestRailException.java:57)
	at com.codepine.api.testrail.Request.execute(Request.java:142)

-- most probably the testId field of the newly-created Result object is ignored.
As a workaround, I currently use the Results#addForCases() API.
TestRail version is <IP_ADDRESS>40.

I'm curious, how are you calling the Results.add() method? I don't maintain this project but I have utilized it in the past.

@davidbrazilparker Thanks for your response David.
First, I've declared the factory method which produces a Result per Test. In Kotlin:
        fun newResult(test: Test,
                              status: Status? = null,
                              assignedtoId: UserId? = null,
                              comment: String? = "Case [C${test.caseId}] completed with status ${status?.label}"): Result = Result().apply {
            testId = test.id
            caseId = test.caseId

            statusId = status?.id
            this.assignedtoId = assignedtoId
            this.comment = comment

            elapsed = "..."
            defects = listOf("foo", "bar")
            version = "..."
        }

Then, I map each Test in a Run to the Result object:
            runs.forEachIndexed { runIndex, run ->
                val tests = run.tests

                val testResults = tests.asSequence().map { test ->
                    newResult(test, status, user.id)
                }.toList()

                // This works
                results.addForCases(run.id, testResults, resultFields).execute()
                // This doesn't
                results.add(run.id, testResults, resultFields).execute()
                }
            }

First of all, Kudos for using Kotlin. It's my go to language now for developing in JVM and overall my preferred language of choice for development in general.
More importantly, I think I found your issue.
Currently you're receiving an error when calling:
results.add(run.id, testResults, resultFields).execute
For the following reason:
/**
         * Adds a new test result, comment or assigns a test.
         *
The custom result fields configured in TestRail can be fetched using {@link ResultFields#list()} request.
         * The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.

         *
         * @param testId       the ID of the test whose result is to be added
         * @param result       the test result to be added
         * @param resultFields the custom result fields configured in TestRail to get type information for custom fields in the result returned
         * @return the request
         * @throws java.lang.IllegalArgumentException if testId is not positive
         * @throws java.lang.NullPointerException     if any other argument is null
         */
        public Add add(final int testId, @NonNull Result result, @NonNull java.util.List<ResultField> resultFields) {
            checkArgument(testId > 0, "testId should be positive");
            return new Add(testId, result, resultFields);
        }

This is the method you're calling currently. Which only allows for a single result object to be passed in.
The method you're trying to call is the following:
/**
         * Adds one or more new test results, comments or assigns one or more tests.
         *
The custom result fields configured in TestRail can be fetched using {@link ResultFields#list()} request.
         * The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.

         *
         * @param runId        the ID of the test run to add the results to
         * @param results      the test results to be added
         * @param resultFields the custom result fields configured in TestRail to get type information for custom fields in the results returned
         * @return the request
         * @throws java.lang.IllegalArgumentException if runId is not positive or results is empty
         * @throws java.lang.NullPointerException     if results or resultFields are null
         */
        public AddList add(final int runId, @NonNull java.util.List<Result> results, @NonNull java.util.List<ResultField> resultFields) {
            checkArgument(runId > 0, "runId should be positive");
            checkArgument(!results.isEmpty(), "results cannot be empty");
            return new AddList(runId, results, resultFields);
        }

I don't think this is necessarily something wrong with your code but rather how the .add call is being interpreted. I've encountered weird issues before where I have to explicitly use a Java type rather than a Kotlin type even though they are nearly identical. By this I mean, your .toList call may be the culprit that is causing the wrong .add method to be called and thus causing the error you're receiving.

I'll look into this more when I have time. I am not sure I found the root cause definitively.

Working on reproducing your error right now. You can check in on my progress here: https://github.com/chapeco/KotlinTestRailCodepineDebug

Okay so I think I know what the underlying issue of this particular behavior is. I am confident that it is a bug with how this API client sends the "list" of results.
According to this post on the official Gurock forums - https://discuss.gurock.com/t/add-results-returns-an-error/2414
It is required that the "list" of results be sent to the API as a Map object. Which in this case I'm assuming it is not.
So for now your best bet is to do the workaround you have now as the issue needs to be fixed in this API client.

@davidbrazilparker Thanks for your investigation David. I will take a closer look in a short while.


Fix Kubernetes 1.16 E2E tests

The deployment extensions API is deprecated. Also reverts an
accidentally commited changw to look for "curl" instead of "kind".
Really we don't need to check if its installed, we install it as part of
a previous step if its not installed and it is always in the build
container.
Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

e2e-dashboard_istio
52f8da584e91c8f8a725fd4066f11db6d39024b6
link
/test e2e-dashboard_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


[Python][Packaging] Move Windows wheel build to more recent Visual Studio

We recently decided to remove support for Visual Studio 2017:
https://lists.apache.org/thread/rcqkx19gpfjlkyvrhxfsrckktrdrzm2p
The Docker image for building Windows wheels should then be updated, for example to Visual Studio 2019:
https://github.com/apache/arrow/blob/d3d6371e1e7627d0c5c289acb8eee38ab0cea533/ci/docker/python-wheel-windows-vs2017.dockerfile#L21-L23
Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou
PRs and other links:

GitHub Pull Request #14021

Note: This issue was originally created as ARROW-17592. Please see the migration documentation for further details.

Done by #39622/#39621.


fix(s3-constructs): accommodate s3 change that disables acls by default

Issue #, if available:
#948
Description of changes:
For all constructs with s3 bucket access logging, implements the feature flag that replaces the ACL with a bucket policy
For CloudFront logging buckets, reenable ACLs using objectOwnership - as CloudFront logging currently requires ACLs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: b5389e3c42f9458faa9619e55c2d99103ee8a8e1
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 6e722c18974ce931b272428e03f3ecad3141386f
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Adding hugepages by default

What do these changes do?
Sometimes during shuffle, the size of individual objects can exceed plasma's 2GB limit

Related issue number
#266

[x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x] passes black --check modin/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-Performance-PRB/56/
Test PASSed.

Merged build finished. Test PASSed.

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

Closing as won't merge. Thanks @pcmoritz


Transaction Priority: Alignment

Task Description
The transaction priority section has a couple of misalignments.

Column titles aren't aligned with the column content(maybe center them all?).
Having a radio button under the Priority column contributes to the content misalignment. We might wanna consider greying out the selected priority row instead of having radio buttons.

https://xd.adobe.com/view/489bcd8a-f669-4ecb-9d11-bd705d75a996-1dc8/screen/8452b661-20ba-479d-830c-99dff0710f6f/

Not as per design

@Parsh  I have done UI.

Not as per the UI

Has been addressed in the previous release


Factory create error in Array to string conversion

Laravel Version: 5.8.27
PHP Version: 7.2
Database Driver & Version:  sqlite in memory

Description:

Steps To Reproduce:
<?php

namespace Tests\Unit;

use App\Donation;
use App\DonatorStatus;
use App\PaymentForm;
use App\User;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Foundation\Testing\RefreshDatabase;

class CreateDonationTest extends TestCase
{
    use DatabaseMigrations, RefreshDatabase;

    /**
     * A basic unit test example.
     * @test
     * @return void
     */
    public function CreateDonation()
    {
        //$status = factory(DonatorStatus::class)->create();
        // $formpayment = factory(PaymentForm::class)->create();
        // $donator = factory(User::class)->create();
        // dd($donator);

        $donation =
            factory(Donation::class)
                ->create();

        $this->assertDatabaseHas('donations', [
             'our_number' => '11233'
         ]);
        $this->assertEquals('11233', '11233');
    }
}

<?php

/* @var $factory \Illuminate\Database\Eloquent\Factory */

use App\Donation;
use Faker\Generator as Faker;

$factory->define(Donation::class, function (Faker $faker) {
    return [
        'amount' => $faker->randomFloat(2, 4),
        'paid_amount' => $faker->randomFloat(2, 4),
        'received_amount'=>$faker->randomFloat(2,4),
        'tax'=>$faker->randomFloat(2,3),
        'our_number'=>$faker->randomNumber(),
        'return_card'=>$faker->words,
        'result_card'=>$faker->words,
        'transaction_code'=>$faker->countryCode,
        'result_approved_card'=>$faker->words,
        'description'=>$faker->paragraph,
        'url_ticket_payment'=>$faker->url,
        'purse'=>$faker->word,
        'flag_card'=>$faker->word,
        'payment_form_id'=>factory(\App\PaymentForm::class)->create()->id,
        'donation_status_id'=>factory(\App\DonatorStatus::class)->create()->id,
        'donator_id'=>factory(\App\User::class)->create()->id,
        'user_id'=>factory(\App\User::class)->create()->id,
        'card_number'=>$faker->creditCardNumber,
        'payment_date' => $faker->dateTime,
        'maturity_date' => $faker->dateTime,
        'import_date'  => $faker->dateTime,
        'shipment_date'  => $faker->dateTime,
        'email_send_date'  => $faker->dateTime,
        'user_create_date'  => $faker->dateTime,
        'extra' => $faker->boolean
    ];
});

What's the result of this?
$factory->define(Donation::class, function (Faker $faker) {
    dd([
        'amount' => $faker->randomFloat(2, 4),
        'paid_amount' => $faker->randomFloat(2, 4),
        'received_amount'=>$faker->randomFloat(2,4),
        'tax'=>$faker->randomFloat(2,3),
        'our_number'=>$faker->randomNumber(),
        'return_card'=>$faker->words,
        'result_card'=>$faker->words,
        'transaction_code'=>$faker->countryCode,
        'result_approved_card'=>$faker->words,
        'description'=>$faker->paragraph,
        'url_ticket_payment'=>$faker->url,
        'purse'=>$faker->word,
        'flag_card'=>$faker->word,
        'payment_form_id'=>factory(\App\PaymentForm::class)->create()->id,
        'donation_status_id'=>factory(\App\DonatorStatus::class)->create()->id,
        'donator_id'=>factory(\App\User::class)->create()->id,
        'user_id'=>factory(\App\User::class)->create()->id,
        'card_number'=>$faker->creditCardNumber,
        'payment_date' => $faker->dateTime,
        'maturity_date' => $faker->dateTime,
        'import_date'  => $faker->dateTime,
        'shipment_date'  => $faker->dateTime,
        'email_send_date'  => $faker->dateTime,
        'user_create_date'  => $faker->dateTime,
        'extra' => $faker->boolean
    ]);
});

Igor, these are problems specific with your code, and not issues with the framework.  Please ask questions like these on a site like StackOverflow, or the Laravel Slack channel
Github issues are only for reporting framework bugs.
Thanks!

It is a problem with lines like this.
'return_card'=>$faker->words,
'result_card'=>$faker->words,

Please read the Faker documentation thoroughly and you should find the problem.
https://github.com/fzaninotto/Faker

Oh, shit, sorry, very sorry, I think that could be with framework.

No need to apologize, just try those other options first next time.
Thanks!

ErrorException  : Array to string conversion at /var/www/html/LaravelAppFolder/vendor/laravel/framework/src/Illuminate/Support/Str.php:353 349| 350|         $result = array_shift($segments); 351| 352|         foreach ($segments as $segment) { > 353|             $result .= (array_shift($replace) ?? $search).$segment; 354|         } 355| 356|         return $result; 357|     } Exception trace: 1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Array to string conversion", "/var/www/html/LaravelAppFolder/vendor/laravel/framework/src/Illuminate/Support/Str.php") /var/www/html/LaravelAppFolder/vendor/laravel/framework/src/Illuminate/Support/Str.php:353
Steps to reproduce the error:
Factory File
`<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\Setting;
use Faker\Generator as Faker;
$factory->define(Setting::class, function (Faker $faker) {
return [
'header_logo' => $faker->image('public/images/settings/',
186,165,null, false),
'footer_logo' => $faker->image('public/images/settings/',
200,70,null, false),
'motto'       => $faker->catchPhrase,
'header_words'=> $faker->sentence($nbWords = 8, $variableNbWords = true),
'location'    => $faker->name,
'phone'       => $faker->e164PhoneNumber,
'currency'    => $faker->currencyCode,
'tANDc'       => $faker->$faker->sentence($nbWords = 8, $variableNbWords = true),
'privacy_and_policy'  => $faker->sentence($nbWords = 8, $variableNbWords = true),
'copyrites'   => '2020 Demo System. All Rights Reserved',
'mission'     => $faker->sentence($nbWords = 8, $variableNbWords = true),
'vision'     => $faker->sentence($nbWords = 8, $variableNbWords = true),
'goal'       => $faker->numberBetween($min = 100, $max = 900),
'fb'         => $faker->url,
'twitter'    => $faker->domainName,
'linkedin'   => $faker->freeEmailDomain,
'instagram'  => $faker->safeEmailDomain
];
});
`
Seeder File Below:
`<?php
use Illuminate\Database\Seeder;
use App\Setting;
class SettingsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Setting::truncate();
    $setting = factory(Setting::class)->create();

}

}
`

In your factory, for "tANDc", your calling $factory->$factory. I fixed that error and ran your code, and it works as expected.

In your factory, for "tANDc", your calling $factory->$factory. I fixed that error and ran your code, and it works as expected.

Thank you @devcircus


chore: bump http, hyper, tower-http, reqwest, and axum for meta dashboard

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Note that tonic and some other usages of HTTP server is still on hyper 0.14. So there'll be duplicated dependencies with different versions for a while. See #13695.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

#16131
#16129  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @BugenZhao and the rest of your teammates on  Graphite


'/gddebug paste' error, followed by spam + low TPS

I used /gddebug record playername, /gddebug paste (got an error), /gddebug off
This appears in console when I run the paste command: https://gist.github.com/Pulz-TCP/b630024deafcfd439611c6bc96da4733
20 minutes later I start getting spammed about max debug limit reached, with the TPS absolutely tanking too: https://gist.github.com/Pulz-TCP/36919c7c8e377a3f0a9af5dff090208a
I've run tiquality and GD together for a while, don't believe I've encountered the issue before.
SpongeForge: 1.12.2-2838-7.2.2
Minecraft Forge: <IP_ADDRESS>54
GriefDefender: griefdefender-sponge-1.3.0-DEV8 (I see I'm behind a version now, I can update in the morning and post back after further testing)

Fixed in 1.3.4


Add billing record ua to rules engine example input

Updated example csv data in test cases to enable new test for billing period home heat loss data algorithm verification.

@eriksynn It looks like the old type annotation for List in test_examples.py is causing the pytest check to fail. Perhaps replacing it with list would help.
# Then overload NG Billing Input to contain new NG Billing Record Example Input subclass
class NaturalGasBillingExampleInput(NaturalGasBillingInput):
    records: List[NaturalGasBillingRecordExampleInput]

@eriksynn It looks like the old type annotation for List in test_examples.py is causing the pytest check to fail. Perhaps replacing it with list would help.
# Then overload NG Billing Input to contain new NG Billing Record Example Input subclass
class NaturalGasBillingExampleInput(NaturalGasBillingInput):
    records: List[NaturalGasBillingRecordExampleInput]

Yes, I made that change just now.  I think this PR is now aligned with your previously submitted changes.  And I fixed the import formatting that lint was complaining about.  The only thing that is still failing is the pyodide.test.ts which I think is not a rules_engine thing.


[Storage] More Samples

Ted is leading the samples efforts across languages.  JS already have some and it will be better to have more around various scenarios.
We will likely duplicate the scenarios that other languages.

From #4680

There are no samples showing the usage of "@azure/abort-controller".
This issue is to track to add some in storage packages.

Closing in favor of #5109


Fixed #1102 cannot import name OpenIdConnectAssociation

This is reflect the update to the classes OpenIdConnectAssociation and OpenIdConnectAuth moving to social_core.backends.open_id_connect.

Any update on this? My django application is blocked by this atm...


fix(powerautomate): Serialize combobox value as json if value is an object

Please check if the PR fulfills these requirements

[X] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bugfix

What is the current behavior? (You can also link to an open issue here)
In cases where selectedValue is an object, doing toString on it causes it to set value as [object Object].

What is the new behavior (if this is a feature change)?
The workaround is to check if the value being serialized is an object, and if so, call JSON.stringify instead.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Please Include Screenshots or Videos of the intended change:
Before:

After:

I think this issue is fixed in the latest release...


Add a space in caption between figure number and colon for french

Description
Add a space in caption before colon for french language
Use Case
In french (and maybe in other European languages) there is always a space before a colon.
It would be nice if it was the case in the figure captions when french language is set for the document.

While it doesn't happen automatically based on the document language, you can already modify the separator for figure captions yourself, like so: #set figure.caption(separator: [ : ]).

Looks like a duplicate of #1303
I'm currently working on a fix.


Feature/#494

Merge the branch about EV3 Display support for EV3Dev Stretch.
One important aspect of the review. The library need to support Debian Jessie & Debian Stretch

Great development @JakubVanek
I will generate the UML class diagram to understand better the usage of the new classes.

Hmmm, I know what is the problem with render*Image. I added a final step when the generated images are saved to EV3DEV_FAKE_SYSTEM_PATH for human inspection. This is probably crashing on Travis. Could you please surround last four lines with try/catch? That should be enough.


Unable to Record a voice message in TFconnect app

Test Environment:
TFconnect version: 3.9.0-176
Android version: 12
kernel version: 4.14.113-25741823
Description
Cannot Record a voice message containing the user problem or question.
however I had enabled the mic permission in the app settings.
Test steps
1.Open the application.
2.Click on menu icon.
3.Click on "Support" in menu items.
4.Record a voice message and send it to the support team.
5.Verify that the support team receives the voice message.
Expected results
1.The user should be able to send a voice message to the support team through the app.
2.The support team should receive the voice message and provide a response.

Audio is not enabled in chat.

The audio recording is not supported.


Azure OpenAI model names are not recognized

Describe the bug
When configuring an Azure OpenAI deployment, Continue uses the model name to check max tokens. However, it uses the OpenAI model names which differ from those used by Azure OpenAI (gpt-4, gpt-35-turbo, etc). As you can expect, hilarity and KeyError ensue. The only way to get past this is to check Continue's source code and see what model names it would expect.
To Reproduce
Configure Continue as per the docs, and use an Azure OpenAI model name such as  gpt-35-turbo-16k.
Expected behavior
The extension doesn't crash complaining about KeyError.

@vladiliescu Changes have been made, and a new version will be on the store in ~10 minutes. Thanks for reporting this!


Can't start the application:

Can't start the application on windows 10 with VS2019.
Which is startup project? I've used single project then I got these errors:
Usage: FaceDetection [options]
Options:
-h|--help       Show help information
-d|--directory  The directory path which includes image files
-c|--cpus       The number of CPU cores to use in parallel. -1 means "use all in system"
-m|--model      Which face detection model to use. Options are "hog" or "cnn".
    directory:

C:\Program Files\dotnet\dotnet.exe (process 16588) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .

@solutionall
You must pass arguments like the follwoing thing.
dotnet run -c Release -- -d=C:\Images -m=C:\Models

```shell
dotnet run -c Release -- -d=C:\Images -m=C:\Models

Sorry for newbie. Where should I put this command?

@solutionall
You launch command prompt, powershell or shell and input there.
Or you can use Visual Studio.
Input the above paramter in project project property and run it by F5.
https://stackoverflow.com/questions/6475887/passing-command-line-parameters-with-visual-studio-c-sharp


IE 10/11 Can't call to setVideoSize callback method from js

I'm trying to call into the setVideoSize method from my javascript layer. It works fine in most browsers but in IE. I'm using the swf but created my own js controller.
      this.flashPlayer = this.shadowRoot.querySelector('embed');
      this.flashObject = this.shadowRoot.querySelector('object');
    }, ```

then later on

``` if (unwrap(this.flashPlayer).setVideoSize) {
          unwrap(this.flashPlayer).setVideoSize(screen.width, screen.height);
        }```

I'm never getting into my blocks and searching for the method in the conditional statement returns 'undefined'

@che-effe Is this still an issue?

I believe that this has been resolved.


是否有开发的例子

我想electron+nodejs进行开发一个自动化操作网页的程序，能否集成你的程序？有没有什么例子可以告诉我该如何去使用这个？

你好, for browser automation that is based on Electron, have you taken a look at Nightmare? It is a mature browser automation framework already based on Electron -
https://github.com/segmentio/nightmare
If you want to develop your own engine for Electron and you hope to have TagUI natural language syntax, then there are 2 things you need to solve. For first problem, you can take a look at tagui_header.js to see the natural language conversion and get idea how to do. For second problem, there is no reference of automating Electron in this project, so you probably can look at above Nightmare project to see how they control the Electron browser.
If you are thinking of integrating TagUI to an Electron + NodeJS framework, can you tell me more what are the benefits to do that? Because now TagUI can control Chrome visible and Chrome headless, there is no need to control Electron which is also based on Chromium. But the gain may be access to NodeJS packages because TagUI's engine is based on PhantomJS JavaScript.

如何使用web api 来控制TAGUI 自动化？这个有点不太明白，文档的例子很少。

I'm afraid TagUI does not have web API to let other applications control it. It is designed to be self-contained to run automation scripts written in human languages. It has an API for running scripts if you are hosting it as a service on a server, but the API is only for calling what script to run, not to send step by step instructions via another app - https://github.com/kelaberetiv/TagUI#api
If you are thinking of writing a new NodeJS application that directly controls TagUI to automate Chrome browser, you can take a look at below project on how I do that in Python. It uses TagUI live mode to control and make it into API available in Python. The same thing can be done for NodeJS if you follow the logic in tagui.py and try to implement that logic in Node.
https://github.com/tebelorg/TagUI-Python

你好，我测试的时候发现，很多情况下，打开的网页不是稳定的时间加载完成，导致经常自动化失败，是否能够有什么设置可以等待网页加载完成后，再触发后续的操作的？

You can try the timeout step to set default timeout value to higher. For eg, timeout 60

The default is 10 seconds, so if UI element has not appeared by then, will assume missing and show error.


The contact us button can be changed to an element of navbar and linked to the contact us section of the website

Describe the bug
The contact us button can be changed to an element of navbar and linked to the contact us section of the website
Screenshots
https://user-images.githubusercontent.com/94471189/193516239-b843ee67-276e-4851-889a-bfd060fb7367.mp4

@Vanshiii203 can u please work on previous issue i will open new issues accordingly so as to give chance to other contributors as well.

@Vanshiii203 can u please work on previous issue i will open new issues accordingly so as to give chance to other contributors as well.

okay

@Vanshiii203 can u please work on previous issue i will open new issues accordingly so as to give chance to other contributors as well.

@akshitagupta15june can I create new issues now? I have raised the PRs for my previous issues


Add ability to grow zvols

Add the ability to grow zvols.

LVM is a bad idea. Tried installing Debian 8 with LVM, and it's hanging in GRUB for some reason.

I had this issue in my original go around with grub-bhyve back when I was still using raw files for disks, not zvols. If I recall, RAM needed to be at least 512M and some other gotcha.

iohyve can now resize disk images. This will tend to break things if you are not careful.
iohyve resize bsdguest disk1 16G


arm64 supported?

Hi there, was giving this a whirl on my Samsung Chromebook Plus and ran into this error towards the end of the build. I was doing the scripted linux installation as I already had a xenial chroot set up. Any ideas? I'm not too familiar with Linux but I follow instructions well!
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://dl.bintray.com/headmelted/deb-code-oss wheezy InRelease' doesn't support architecture 'arm64'
Done!
Installing Visual Studio Code...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package code-oss
Visual Studio Code install failed.

Hi there,
Unfortunately arm64 is not supported, but only because Electron itself does
not support it fully (long story!).
HOWEVER, you might be able to use the armhf build just fine by entering the
chroot and doing this:
sudo apt-get install code-oss:armhf
Let me know how the above works for you on your machine (not having your
exact Chromebook in front of me means its a little guesswork).
On 22 Mar 2017 01:43, "Matthew Simo"<EMAIL_ADDRESS>wrote:

Hi there, was giving this a whirl on my Samsung Chromebook Plus and ran
into this error towards the end of the build. Any idea, I'm not too
familiar with Linux but I follow instructions well!
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://dl.bintray.com/headmelted/deb-code-oss wheezy InRelease' doesn't support architecture 'arm64'
Done!
Installing Visual Studio Code...
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package code-oss
Visual Studio Code install failed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/headmelted/code-builds/issues/15, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYVoDF20rcYOpNOmF_vMP3vebKxtBgEks5roHy5gaJpZM4Mkn7S
.

Hi,
I'm running a xenial chroot, so I modified your install script. Here's the output:
$ sudo apt-get install code-oss:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package code-oss:armhf

@headmelted Thanks for the response, I gave that a shot and got the same error as @bkominik
E: Unable to locate package code-oss:armhf

I was able to work around this issue installing a 32bit arm chroot. Once this installed the regular scripts work fine. There is a -a ARCH option in crouton. I did -a arm.

Sorry, I missed a step above.
The chroot should not be necessary in this case, although is a viable option.
As ARMv8 is backwards compatible, the best solution is to:
sudo dpkg --add-architecture armhf
prior to executing the steps above.
For example:
sudo dpkg --add-architecture armhf && sudo apt-get update && sudo apt-get install code-oss:armhf
Let me know if this helps at all (hopefully it will!)

That did work, thanks! much better to have a 64bit OS. The only additional
step I needed to do was install these packages: libxtst6:armhf
libasound2:armhf
On Fri, Apr 7, 2017 at 10:44 AM, Jay Rodgers<EMAIL_ADDRESS>wrote:

Sorry, I missed a step above.
The chroot should not be necessary in this case, although is a viable
option.
As ARMv8 is backwards compatible, the best solution is to:
sudo dpkg --add-architecture armhf
prior to executing the steps above.
For example:
sudo dpkg --add-architecture armhf && sudo apt-get update && sudo apt-get
install code-oss:armhf
Let me know if this helps at all (hopefully it will!)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/headmelted/code-builds/issues/15#issuecomment-292556388,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG_N40UBt2ClwbmMleZ128VURytQ7fd1ks5rtkvfgaJpZM4Mkn7S
.

Unable to correct dependencies
I'm so pleased that the code-oss have been installed in my chroot(ubuntu).However some dependencies seem to be wrong.
my computer is chromebook plus with aach architecture,

firstly, i download the xenial with crouton;

then, i enter chroot and typed . <( wget -O - https://code.headmelted.com/installers/apt.sh );

and, sudo dpkg --add-architecture armhf && sudo apt-get update && sudo apt-get install code-oss:armhf

when finished intalling, i tried to load the code-oss,but failed,so i typeed sudo dpkg --add-architecture armhf && sudo apt-get update && sudo apt-get install code-oss:armhf again,

finally:

......
 update-manager-core : Depends: python3:any (>= 3.2~)
                       Recommends: libpam-modules (>= 1.0.1-9ubuntu3) but it is not installed
 update-notifier:arm64 : Depends: update-notifier-common:arm64 (= 3.168.7) but it is not installable
                         Depends: update-manager-gnome:arm64 but it is not installable or
                                  update-manager:arm64 (>= 1:16.04.6) but it is not installable
                         Depends: ubuntu-release-upgrader-gtk:arm64 but it is not installable
                         Recommends: apport-gtk:arm64 (>= 2.8-0ubuntu3) but it is not installable
                         Recommends: software-properties-gtk:arm64 but it is not installable
                         Recommends: python3-aptdaemon:arm64 but it is not installable
 update-notifier-common : PreDepends: dpkg (>= <IP_ADDRESS>) but it is not installed
                          Depends: python3:any
                          Depends: python3-apt but it is not installed
                          Depends: python3-dbus but it is not installed
                          Depends: patch but it is not installed
                          Recommends: libpam-modules (>= 1.0.1-9ubuntu3) but it is not installed
 xfonts-base : Depends: xfonts-utils (>= 1:7.5+2) but it is not installed
 xfonts-scalable : Depends: xfonts-utils but it is not installed
 xml-core : Depends: sed (>= 4.1.2-8) but it is not installed
 xorg:arm64 : Depends: xorg-docs-core:arm64 but it is not installable
 xserver-common : Depends: x11-xkb-utils but it is not installed
                  Recommends: xauth but it is not installed
 xserver-xorg-core:arm64 : Depends: keyboard-configuration:arm64 but it is not installable
 yelp:arm64 : Depends: yelp-xsl:arm64 (>= 3.12.0) but it is not installable
              Recommends: gnome-user-guide:arm64 but it is not installable
 zenity:arm64 : Depends: zenity-common:arm64 (= <IP_ADDRESS>-1ubuntu2) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

@blinderjay did you ever resolve the issue with apt-get? I have the same issue now.

The problem is dependencies in the newer packages on apt:armhf and ubuntu*:armhf that can break your arm64 installation by removing the arm64 versions.  Until those dependencies are corrected, installing an old package works to get started:
Step 1.
sudo dpkg --add-architecture armhf
sudo apt-get update
Step 2.
Download e.g. (later versions may work, I used this though):
https://bintray.com/headmelted/deb-code-oss/download_file?file_path=code-oss_1.10.0-201722210_armhf.deb
Step 3.
Use gdebi to install package and dependencies:
sudo apt-get install gdebi
sudo gdebi code*.deb
Step 4.
Install dependencies likely still missing from old package:
sudo apt-get install libxtst6:armhf
sudo apt-get install libasound2:armhf


Drop VFS when clean task is invoked

For (initial) CI builds we want to drop the VFS state. Luckily, CI builds typically run with clean, so we can use that information to trigger the drop.

cc: @gradle/build-cache

We won't see much difference for a clean build. Let's re-open this issue if it becomes a stability problem.


eom: init at 1.18.2

Motivation for this change
Add Eye of MATE (eom) package.
eom is an image viewer for MATE.
Things done
Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!


On Windows, use the restart exit code if the service is restarting

Vendoring is temporary to test a build; not sure how to deal with that

so, clearly this fails because the android build is pulling in client master, which does not have https://github.com/keybase/client/pull/11641. Is there a way to specify that branch for CI? or should it just wait until client merges that?

Yeah in this case I would just merge both together (after review), and watch the build on master from both repos.


Can I launch it in IDLE (Python 3.5 32-bit)

Does it support python 3?

It is written in Python 2.7, and doesn't support python 3.

Thanks, I want rewrite it in python3. :)
2016-02-12 15:44 GMT+08:00 Jack Criss<EMAIL_ADDRESS>
It is written in Python 2.7, and doesn't support python 3.
—
Reply to this email directly or view it on GitHub
https://github.com/Jackeriss/Companions/issues/1#issuecomment-183218763.

Waiting for your good news! If you meet any problem, ask me. I will try my best to support you!


Update Protocol Library for change in deck orientation

overview
Update protocols to use new deck orientation (landscape instead of portrait). See #409

Hi @btmorr @Laura-Danielle
If it's okay with you -- moving this into a separate milestone for OT-2 protocol updates, so we can close out this user-facing API changes milestone.


proplam

my laptop boots into bios after running the jar

java {     toolchain {         languageVersion = JavaLanguageVersion.of(20)     } }
use jdk 20+