Carved files are often equal in size to the original file

I have experienced this a couple times.
I will use binwalk to analyze a memory image or unknown data blob. When it carves files, the files are often close to the file from which they were carved in size, even if there are so many valid detections that is is simply not possible for all carved data to fit in the original file.
For example, I have a file -- x that is 1.3 GB. x contains several contiguous zlib-compressed blobs. Binwalk will carve out that many unextracted blobs, but all between 1.0 GB and 1.3 GB.
Unfortunately, I cannot share file x.

If binwalk can detect the size of the file it is carving, then it will only carve that amount of data from file x. This generally requires that the file format being carved has some size field (typically in the header) that can be parsed out by the binwalk signature.
As the zlib file format has no such identifying data (you have to parse all the zlib data until you find the end of the compressed data), binwalk simply carves everything from the start of the detected file to the end of file x. zlib is not unique in this respect, and adding such parsers for every file type that fits into this category is impractical. Some file types (e.g., JFFS2) have no way of detecting the end of the file.
While it would be possible to say 'only extract zlib data up to the next valid signature', this is problematic as there is no guarantee that the next "valid" signature is actually valid, hence doing so could truncate the zlib data stream, causing extraction utilities to barf.
Obviously carving many very large files can eat up disk space very quickly, which is undesirable. The easiest way to work around this is to run binwalk with the --extract and --rm options. This will cause binwalk to carve and extract the zlib data, and subsequently delete original carved file, leaving you only with the actual data. You can also limit the max carved file size with --size.
The only other alternative would be to add many specific cases for zlib and similar file types, which gets very messy very quickly and is difficult to do generically. If this is an issue that you commonly encounter in the files that you work with, it would be much easier to write a custom script using the Python API to handle your specific case.

I can understand that, but I have had situations where zlib blocks from near the end of the file are larger than the space between their beginning and the end of the file.

woops

Hrm, yes, that shouldn't happen! I'll see if I can reproduce the issue.

I have the same problem - and the -r or --rm Option doesn't help either because it won't cleanup some 'intermediate' Files.
I have a Routerfirmware with JFFS2-Parts. Binwalk converts them from big-endian to little-endian but the 'auto-cleanup' won't delete the '.jffs2.le'-Files...

@RomanHargrave, I haven't been able to reproduce this issue, either with zlib files or any other type of file. Since your first comment and subsequent comment(s) seem (to me) to be stating slightly different issues, let me make sure I understand exactly what is happening.
In the initial issue seemed to be that the sum of the sizes of the extracted zlib files was larger than the original input file. This is expected behavior as binwalk doesn't know where a zlib data should end, so it just extracts everything from the beginning of the zlib header to the end of the input file. If, for example, you had two zlib headers inside file x, one at the very beginning of file x and another exactly half way through file x, then you would get two extracted files: the first would be the exact size of file x, the second would be exactly half the size of file x. The sum of these file's sizes would obviously be larger than the total size of file x.
In a subsequent comment you said that zlib blocks from near the end of the file are larger than the space between their beginning and the end of the file. So, for example, if there were zlib data 100 bytes away from the end of file x, you might get an extracted file whose size was larger than 100 bytes (say, 200 bytes for example). I have not been able to reproduce this. Just to be sure, you aren't looking at the size of the uncompressed zlib file, are you?
@emkay77, the specific jffs2 issue should no longer be an issue in the latest code, as it uses a different jffs2 extraction utility.

I am also experiencing this over here as well.
Would be be possible to either clearly document that in the help: "carved file may contain all data up to the end of the original file".
As a side note, some file do not strictly contains length but do contains marker for the end (PDF, JPEG, gzip). So it should be possible to carve using both a header (file signature) and a 'trailer' (eg. FFD9 for JPEG).

Just for completeness, here is a way to create one such file:
$ dd if=/dev/zero of=head bs=1 count=512
$ dd if=/dev/zero of=junk bs=1 count=512000
$ wget https://www.debian.org/logos/openlogo-100.jpg
$ cat head binwalk-master.zip junk > full
$ binwalk -z -C demo -D 'jpeg:jpg' full
$ ls -al demo/_full.extracted/200.jpg openlogo-100.jpg
-rw-r--r-- 1 user user 520420 Sep 29 11:32 demo/_full.extracted/200.jpg
-rw-r--r-- 1 user user   8420 Dec 11  1999 openlogo-100.jpg

For anyone reading this, you need to use a recent p7zip implementation. binwalk expect the unzip implementation to read a file from the start, while some are reading file starting from the end. Leading to odd behavior. See for more info here.


error: defining a type within 'offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]

I'm new to this.
Trying to build the Selective Framework for iOS using the below command -
bash tensorflow/lite/ios/build_frameworks.sh
--input_models=model1.tflite,model2.tflite
--target_archs=x86_64,armv7,arm64
But getting the error -
ERROR: /private/var/tmp/_bazel_tonmoy/d1033cf820cfe9e8569d67cf059cb6df/external/upb/BUILD:57:11: Compiling upb/upb.c [for tool] failed: (Exit 1): wrapped_clang failed: error executing command (from target @upb//:upb) external/local_config_cc/wrapped_clang '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG '-DNS_BLOCK_ASSERTIONS=1' ... (remaining 32 arguments skipped)
external/upb/upb/upb.c:192:10: error: defining a type within 'offsetof' is a Clang extension [-Werror,-Wgnu-offsetof-extensions]
192 |   n &= ~(upb_alignof(upb_arena) - 1);
  |          ^~~~~~~~~~~~~~~~~~~~~~

external/upb/upb/upb.c:183:37: note: expanded from macro 'upb_alignof'
183 | #define upb_alignof(type) offsetof (struct { char c; type member; }, member)
  |                                     ^~~~~~

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include/__stddef_offsetof.h:16:43: note: expanded from macro 'offsetof'
16 | #define offsetof(t, d) __builtin_offsetof(t, d)
  |                                           ^

1 error generated.
Error in child process '/usr/bin/xcrun'. 1
Target //tensorflow/lite/ios/tmp:TensorFlowLiteSelectTfOps_framework failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 218.346s, Critical Path: 17.92s
INFO: 4162 processes: 747 internal, 3415 local.

No response and the issue still happening.

@d0tb0t71,
Apologies. Could you please provide the exact sequence of commands / steps that you executed before running into the problem. Also provide the tensorflow version and environment details which helps to debug the issue. Thank you!

bazel clean --async
export HERMETIC_PYTHON_VERSION=3.12
bash tensorflow/lite/ios/build_frameworks.sh
--input_models=model.tflite
--target_archs=arm64

I'm on the master branch

Any update regarding this issue?

Hi, @d0tb0t71
I apologize for the delayed response, if you're using bazel then could you please try with adding this flag in your bazel command --copt=-Wno-gnu-offsetof-extensions and see is it resolving your issue or not ?
If the issue persists please help us with complete steps including package versions or if you're following any official documentation to replicate the same behavior on our end.
Thank you for your cooperation and patience.

Thank you @gaikwadrahul8 for your response.
I am new to Tensorflow and all this stuff. Actually, my purpose is to reduce the framework size for iOS. When I use this SpecialTF framework using cocoa pod the app size becomes 200MB+. So now I want to build a reduced-size framework with only the ops used in my model.
So can you please give a hint where to use the provided command? I am using Bazel 6.5.0.

Hi, @d0tb0t71
Alright, please use the below command with --copt=-Wno-gnu-offsetof-extensions flag if it does not work with below command then please modify the build_frameworks.sh script manually and You can do this by editing the script and finding the bazel build command within the script then adding --copt=-Wno-gnu-offsetof-extensions  add the flag like this :bazel build //tensorflow/lite/ios:TensorFlowLiteSelectTfOps_framework --copt=-Wno-gnu-offsetof-extensions please give it try and let us know is it working as expected or not ?
bash tensorflow/lite/ios/build_frameworks.sh \
  --input_models=model1.tflite,model2.tflite \
  --target_archs=x86_64,armv7,arm64 \
  --copt=-Wno-gnu-offsetof-extensions

Thank you for your cooperation and patience.

Which branch should be used to build the framework? @gaikwadrahul8

Hi, @d0tb0t71
I apologize for the delayed response, It is recommended to build from master branch after cloning the TensorFlow Github repo by default it will use master branch. Thank you


Assets exclusion and separate source folder

Codecov Report

Merging #7 (fd1c966) into master (89ec654) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   94.31%   94.33%   +0.01%
==========================================
  Files          12       12
  Lines         879      882       +3
==========================================
+ Hits          829      832       +3
  Misses         50       50

Impacted Files
Coverage Δ

cli.js
100.00% <100.00%> (ø)

lib/plugins/html/HTMLTranslator.js
98.00% <100.00%> (ø)

lib/runner.js
91.58% <100.00%> (-0.03%)
:arrow_down:

Continue to review full report at Codecov.

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


[BUG] XPS creation silently fails on Linux

Description
Creation of an XPS document fails on Linux with no exception.  Just a null result.
Works fine on windows.
Code
           var outputStream = File.Create("./xpstest.xps");             var managedStream = new SKManagedWStream(outputStream);             var document = SKDocument.CreateXps(managedStream);
Expected Behavior
Document should not be null or an exception raised.
Actual Behavior
Document is null.
Basic Information
netcoreapp3.1

Version with issue:  <IP_ADDRESS>
Last known good version:  ??
IDE:  Visual Studio Code
Platform Target Frameworks:

Linux:  Ubuntu 18.04 LTS
Windows Classic:  Windows 7+

Target Devices:

Screenshots

Reproduction Link
https://gist.github.com/Jonesie/0ce0e93d541c92516429fa205fc6319b

Oh.
Just found this:
https://github.com/mono/SkiaSharp/blob/fc9f030a08eb158fb934774cdf54f8df939088c7/tests/Tests/SKDocumentTest.cs#L136
Only supported on windows.  Fair enough, but it would be more useful if an exception was raised.

Yeah, this is sadly a bad choice in the past. Changing it now will be breaking.
However, I think if we do reach a stage where we have a whole bunch of APIs that need changing, then we might do that. But for now, the places with this are very few. I think it is just XPS.


[BEAM-1992] Move Count.PerElement javadoc to a public place

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

@jkff

Coverage increased (+0.01%) to 70.15% when pulling 85df37997ca230ffaceccc50f2c7450952aeaaf5 on wtanaka:BEAM-1992 into 104f9823563c4a2cd2ef9495e9a16b3a219dd49b on apache:master.


apply updates from review

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: add miss suggestions from peer review
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://662ffe26e579b2205c5e93d1--harness-developer.netlify.app


Add follow link to terminal link hover

See https://github.com/microsoft/vscode/issues/69719#issuecomment-513898860
Related https://github.com/microsoft/vscode/issues/73035

From #73035:

This feature is already implemented in the DEBUG CONSOLE panel.

Navigating to /home/cees/code/test/server.js:20 via de debug console only works for me when using both hands, one holding Ctrl.
Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:40.634Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-1059-oem snap

@Tyriar To be able to hover over the widget so it can be clicked, we need to not hide it up if the mouse is over it. Currently, the leaveCallback doesn't pass any MouseEvent back, so there's no way to check. Is there a better solution? Or does leaveCallback in xterm need to be updated to pass back a MouseEvent?

@jmbockhorst we have some freedom here as the widget is owned by VS Code. Maybe the widget could listen for mousemove while it exists and we only hide it on leaveCallback if a mousemove event hasn't happened on the tooltip element?

@Tyriar I tried doing something like this, but the leaveCallback is fired before a mousemove or mouseenter is fired for the widget.

@jmbockhorst you could add a small timeout after leaveCallback before closing the widget.


Update Google Benchmark to get CMake < 3.6 fix

Google Benchmark v1.4.1 uses a CMake feature that is only in version >=
3.6. This was an inadvertent change in Google Benchmark (too high of a
version) that has been fixed upsteam.
That being said, on 2019-05-01 in commit 13b8bdc2, Google Benchmark
started requiring CMake >= 3.5.1.

Fixes https://github.com/grpc/grpc/issues/18559

@jtattermusch: I've created this PR against the 1.22.x branch that has you upb changes. I can move this to master if you want.

I can switch to v1.5.0. That will pull gRPC's CMake minimum version up to 3.5.1. You ok with that?
I'm watching #19504 and will move this when that lands.

Let's try switching to v1.5.0.
@nicolasnoble  WDYT?

I've rebased this PR atop a recent master and started a new PR targeting master.


Decide whether to have dockercfg in test/example

This issue tracks the test examples in examples/v1/taskruns/no-ci/pull-private-image.yaml. We need to decide if we really need to commit the dockercfg given that this test/example is not even being run on CI. More comments might be necessary for this. And if not, to remove it from the examples.
This shall also apply to the example in v1beta1.
Originally posted by @dibyom in https://github.com/tektoncd/pipeline/pull/5579#discussion_r1044885640

@JeromeJu please add more details/context
/kind misc

@JeromeJu please add more details as requested. @dibyom to check with @JeromeJu

I think the TODO is just to remove this line:
https://github.com/tektoncd/pipeline/blob/add97eae68d2f1ca131163645f0ca37913090494/examples/v1/taskruns/no-ci/pull-private-image.yaml#L27
/help wanted


How do I send local pictures or video files to the TV for playback?

Using the method in the document, I can use the URL of the pictures or videos to cast them to the TV, but how do I select pictures or videos from the mobile phone album to make them play on the TV? After searching for information, I think using WEBServer is a feasible solution, but after trying it, it cannot play normally. Please help me.

Hi @Kanagizhe are you able to pair iOS and smartTV device, i am able to fetch devices but after connect() method not able to send pair code to smartTV,
self.connectedDevice = obj
self.connectedDevice?.delegate = self
self.connectedDevice?.setPairingType(DeviceServicePairingType(rawValue: DeviceServicePairingTypePinCode.rawValue))
self.connectedDevice?.connect()
can you please help me for pairing iOS to smart TV device.

Hi @Kanagizhe are you able to pair iOS and smartTV device, i am able to fetch devices but after connect() method not able to send pair code to smartTV,您好，您可以配对 iOS 和 smartTV 设备吗？我可以获取设备，但在 connect() 方法之后无法将配对代码发送到 smartTV，
self.connectedDevice = obj self.connectedDevice?.delegate = self self.connectedDevice?.setPairingType(DeviceServicePairingType(rawValue: DeviceServicePairingTypePinCode.rawValue)) self.connectedDevice?.connect()
can you please help me for pairing iOS to smart TV device.您能帮我将 iOS 与智能电视设备配对吗？

Hello, I have not encountered your problem during development. I use OC to develop an APP for LG. After calling the connect method, a pin code pop-up window will appear on the TV. Enter the pin code on the mobile phone to complete the pairing. The following is You can refer to my code:
RemoteeSearchDeviceCell *cell=[tableView cellForRowAtIndexPath:indexPath];
ConnectableDevice *device=_dataArr[indexPath.section];
device.delegate=self;
[device setPairingType:DeviceServicePairingTypePinCode];
[device connect];

@Kanagizhe Thank you for reply but i am already try same code but device not display code, any permission require for this pincode screen display?

@Kanagizhe Thank you for reply but i am already try same code but device not display code, any permission require for this pincode screen display?感谢您的回复，但我已经尝试相同的代码，但设备不显示代码，此 pincode 屏幕显示需要任何权限吗？

Try it in AppDelegate:
[DiscoveryManager sharedManager].pairingLevel=DeviceServicePairingLevelOn;

Hi @Kanagizhe Thank you for quick response i have try but no luck for above code

Discover.pdf
i am attaching my code, Please help me if you have sometime.
Thanks you so much for your valuable time

Hi @Kanagizhe Thank you for quick response i have try but no luck for above code
I am using swift code

Discover.pdf
i am attaching my code, Please help me if you have sometime.
Thanks you so much for your valuable time

Hi, I noticed that your TV model is not LG, maybe it does not require a PIN to connect? Try changing the pairing type to firstScreen or None, Mirrors, etc., which may help.

Hi, @Kanagizhe Thank you for Reply,
My device is OnePlus Y Series but another market app is send pairing code to my device but only my app not sending code, i am not sure other market app use same SDK or not.  Have you idea about any other SDK?

Sorry, I haven't found any other universal SDK yet. If you find any, please let me know, thank you.

You can try with smart-view-sdk develop by Smasung

I have try with changing the pairing type to firstScreen or None, Mirrors, etc. but no luck. Is there any other code for connect direct services or device with sending code to device?

I have try with changing the pairing type to firstScreen or None, Mirrors, etc. but no luck. Is there any other code for connect direct services or device with sending code to device?我尝试将配对类型更改为firstScreen或None、Mirrors等，但没有成功。是否有其他代码可用于连接直接服务或设备并向设备发送代码？

Sorry, I have not developed the model adaptation and pairing problems you encountered. Please try to contact the official developers, although the questions I raised have never been officially replied.

Exactly, i also send mail but no reply from support

@Kanagizhe Hi, can you share how you did with web server, I'm stuck with same problem

Hi @SuppaStrong you can try with this lib it's worked for me for pairing code and Remote control Keys to android TV,
Connect SDK Only use for LG TV only
https://github.com/odyshewroman/AndroidTVRemoteControl

@HarshadTechmero , connectSdk let me connect, control with my Roku devices as well , i want to do things like cast local video, image to tv

You can try with GoogleCast, I am done using Google Cast and i am done with casting


Whitescreen hang on FF1+2/FF4/FF5 after merging scheduler changes

 and eventually the application goes AWOL and hits an unimplemented instruction in thumb.
Very useful image, no particular idea what's wrong yet but the candidates are obviously IRQ/timer issues since those are the main things that changed with the introduction of the scheduler.

Doom also just black screens

Issue was that these games rely on IRQs not firing if they would fire on cycle 0 of the syncronizer but not on cycle 1. Fixed in https://github.com/DaveTCode/GBADotnet/commit/8b2f170b7380a4d5801c89208bf5ecda44e6d10c


[EPIC] App /buy view refresh

See new designs in Figma.
https://www.figma.com/file/t2suR7Rz8f7lZF3KsCL7gu/Buy-Klima?node-id=0%3A1

[ ] #325
[ ] #241

@Atmosfearful @kaxline the PR  #(470)for this looks like it is waiting for a review or merge.

@ShimonD-KlimaDAO this is in the test column and assigned to you

https://github.com/KlimaDAO/klimadao/pull/470#issuecomment-1311245232
Moving back to In Progress

Mobilum has been causing too many problems. I will probably tear this whole thing out and just link users to Transak

@Atmosfearful we can probably close this one correct?


Custom GCE VM instances not showing up

I have a custom GCE VM instance and it doesnt show up in the VS cloud explorer:
SShot:
https://screenshot.googleplex.com/i0TngM6kH5H.png
which is created from a custom image:
https://screenshot.googleplex.com/ZxJ2g6ynSUE.png

Thank you for opening the bug here. We need more details on the machine that doesn't show up and possible access to the project so I can debug what is going on.
Can you post the result of "gcloud compute instances describe" on that machine?

I think I see what is going on, the problem is that we can't identify this custom image as a Windows image.
Please post the gcloud compute instances describe for that instance so we can see how the disks are configured.


[core] GIF recording path not correct on Linux

raylib wants to save the recorded GIF in /screenrecXXX.gif but since that is the root directory it can't.
Changing this line to strcpy(path, TextFormat("./screenrec%03i.gif", screenshotCounter)); will fix the problem and the GIF will be saved in the current directory as intended ;)

Reviewed in commit https://github.com/raysan5/raylib/commit/bc86b0f78b3f901ddc688f55915d260359f0da15


How i can get the song name

I want to get the song name when i use /play but it doesnt give me anything but when i use nowplaying it works

They use the same definitions btw @skick1234

Because #playVC is a promise and it is not finished


"list index out of range" error

Prerequisites

[x] Did you read FAQ section?
[x] Did you test with the latest releases or commit ?

Description
Ever since March 21, 2018, all my attempts to download using member IDs has given me an error along the lines of:
"#XX
Processing Image ID: XXXXXXXX
Image ID (XXXXXXXX): list index out of range
wait for X.XXs"
(where X is an arbitrary number used for this example)
and the result has been a folder named after the user's name (and ID) and an empty folder except for their avatar as the only image.
Steps to Reproduce

Press "1" key for member ID
Right-click, select "Paste" to paste copied ID
Press "Enter" twice to select default settings for the next 2 options

Expected behavior: Images and animations download their respective folder
Actual behavior: What I wrote above
Versions
Version 20180219

Looks something like this:

Member IDs: [933885]
Processing Member Id: 933885
Reading F:\pixiv\config.ini ...
done.
Page  1
Member Url: https://www.pixiv.net/member_illust.php?id=933885&p=1
Member Name  : シグナル・グリーン
Member Avatar: https://s.pximg.net/common/images/no_profile.png
Member Token : signal-green
#1
Processing Image Id: 60843389
Image ID (60843389): list index out of range
Wait for 0.459s
#2
Processing Image Id: 58071108
Image ID (58071108): list index out of range
Wait for 1.36s
#3
Processing Image Id: 57370331
Image ID (57370331): list index out of range
Wait for 0.347s
#4
Processing Image Id: 57329226
Image ID (57329226): list index out of range
Wait for 0.541s
....

As current release is 20180503-beta2, have you tried updating?

I'll try that now; I thought I had the most recent version a moment ago.


About osmosis swap transactions

I want to implement  transaction of Osmosis through programming,
For example：
I have 2,000 JUNO tokens. I want to swap 1,000 JUNO tokens to OMOS tokens, and set the Slippage smaller than 3%.
I have read all the documents of osmosis, but also don't know how to achieve it. Hope to get help, thank you!

Hello @huzi0007  A support ticket has been opened for you Talk to a Dev on the Live support page so that your issue can be looked into. CLICK HERE

I think you can achieve what you are looking to do using a swap router contract. See this workshop Roman and I gave last week!
https://github.com/p0mvn/swaprouter-workshop

I think you can achieve what you are looking to do using a swap router contract. See this workshop Roman and I gave last week!
https://github.com/p0mvn/swaprouter-workshop

I'm sorry to say that I just know JavaScript and python，therefore I don't know how to use this docs.
Thank you all the same!


duplicate GraphQL fragments when trying to shadow project icon

I'm trying to shadow the icon(circled in red) in the project block to make it clickable.

I keep getting this error when i make the changes, isn't shadowing suppose to overwrite the default fragment?
Found two different GraphQL fragments with identical name "ProjectFragment". Fragment names must be unique

  File<EMAIL_ADDRESS>  > 1 | fragment ProjectFragment on ProjectsYaml{description icon image{childImageSharp{fluid(maxWidth:640 quality:85){...GatsbyImageSharpFluid_withWebp}}}name status tags url}
|             ^^^^^^^^^^^^^^^

  File<EMAIL_ADDRESS>  > 1 | fragment ProjectFragment on ProjectsYaml{description icon image{childImageSharp{fluid(maxWidth:640 quality:85){...GatsbyImageSharpFluid_withWebp}}}name status tags url iconURL}
|             ^^^^^^^^^^^^^^^

All i did was add in iconURL in types/project.js and reference the new iconURL type in the appropriate files
import { graphql } from "gatsby"
import { arrayOf, shape, string, object, oneOf } from "prop-types"

export const ProjectType = {
  description: string,
  icon: oneOf(["github", "website"]),
  image: shape({
    childImageSharp: object.isRequired,
  }),
  name: string.isRequired,
  status: string,
  tags: arrayOf(string),
  url: string,
  iconURL: string,  <------ added this
}

export const query = graphql`
  fragment ProjectFragment on ProjectsYaml {
    description
    icon
    image {
      childImageSharp {
        fluid(maxWidth: 640, quality: 85) {
          ...GatsbyImageSharpFluid_withWebp
        }
      }
    }
    name
    status
    tags
    url
    iconURL <------ added this
  }
`

Hi David, thanks for reporting it.
I'm able to reproduce your problem. It looks like Gatsby doesn't support GraphQL fragments shadowing. I'm not able to solve it - the only way to get this working at this stage is in my opinion renaming the fragment's name and then use the new name in a query.
So:

In your shadowed project.js you can use different fragment's name:

  fragment CustomProjectFragment on ProjectsYaml {

Then please shadow also templates/index.js file and replace:

projects: allProjectsYaml {
      nodes {
        ...ProjectFragment
      }
    }

with:
projects: allProjectsYaml {
      nodes {
        ...CustomProjectFragment
      }
    }

It was working for a bit then it stopped?? i'm getting this error now
<EMAIL_ADDRESS>  32:5  error  Cannot query field "iconURL" on type "ProjectsYaml". Did you mean "icon"?  graphql/template-strings

✖ 1 problem (1 error, 0 warnings)

File<EMAIL_ADDRESS>

Here is a repo with my files https://github.com/DWShuo/iconurl-test

I think it stopped working for you after this change in 1.0.12: https://github.com/wkocjan/gatsby-theme-intro/commit/8639af03d2927b7c5d358cddb5c1e18ed657c9c9
I've just published 1.0.13, in which you should be able to customize GraphQL types too. You'd need to define iconURL field in src/gatsby/node/sourceNodes.js file.
Hope it helps.

I updated my repo with the new changes to sourceNodes.js still running into the Cannot query field "iconURL" on type "ProjectsYaml". error.

@DWShuo It looks like shadowing gatsby-node.js isn't supported. I made a workaround in 1.0.14 - removed @dontInfer directive and it now allows you to add custom fields dynamically.
Please run yarn upgrade and remove shadowed gatsby/node directory. Just tested it in your repo (iconurl-test) and it worked.

@wkocjan yep that fixed it thank you


Class 'Vinkla\Instagram\Instagram' not found

Hello!
I'm trying to make your package work, wanna see the coolness and swiftness :)
Installed using your instructions
$ composer require vinkla/instagram
But for a reason composer require downloads v. 4.2 of the package.
Using Laravel 5.4

Problem with PHP Version.
To use V. 6.0 of package you need PHP 7.
Closing Issue.


Receiving 413 Error

Getting this error when sending a POST request, is there anywhere to increase the limit for this with promise-request? Thank you.

Issue was with the API being called


Add addSpnToEnvironment for DotnetcoreCLI task

Question, Bug, or Feature?
Type: Feature
Enter Task Name: DotNetCoreCLI
Issue Description
We often find a need to run some integration tests using the service principal credentials to access resources. Currently we resort to do that using the AzureCLI task with "addSpnToEnvironment" and adding "dotnet test ....".
It will be much better if the specific task for the job like DotNetCoreCLI can be run with "addSpnToEnvironment".

How was that completed?


steam / steam-run: make it possible / document how to override steamrt dependencies

Issue description
Many games on steam come with certain dependencies and I think it is not always the right choice to "force" a depdency onto all steam users under nixos. Is there a way to override the FHS used in steam-run and steam to add new dependencies?
If so: There is no documentatin about it.
If not: There should be.

cc @abbradar

Many games on steam come with certain dependencies and I think it is not always the right choice to "force" a depdency onto all steam users under nixos.

It is almost always right. I would want for Steam to work out of the box. If you know any games that are missing dependencies, please tell.
You can add dependencies via extraPkgs option, see https://github.com/NixOS/nixpkgs/pull/26190.
Here is a practical example:
nix-build -E "with import <nixpkgs> {}; steam.override { extraPkgs = [ pkgs.dosbox ]; };

... will build Steam with dosbox in chrootenv.

@yegortimoshenko Thank you very much!
You are probably right regarding having steam games work out of the box. I came across a game requiring gtk3. Which should be added to the multiPackages list then.
The extraPkgs option should be documented somewhere.

What game is it?

screeps

doesn't seem to run even with libgtk3. Still debugging.

So, for anyone else encountering this problem:
screeps requires a handful of libraries the steam runtime already ships, but it requires a newer version of it. So my solution is to set the launch options for it in steam to
LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH %command%

And to put the following in my configuration.nix:
nixpkgs.config.packageOverrides = pkgs: {
    steam = pkgs.steam.override {
      extraPkgs = pkgs: with pkgs; [
        gnome3.gtk
        zlib
        dbus
        freetype
        glib
        atk
        cairo
        gdk_pixbuf
        pango
        fontconfig
        xorg.libxcb
      ];
    };
  };

This adds libraries that are not automatically given through the steam package and overrides some of the libraries used by the steam runtime.
This is a dirty hack. Is there a reason the steam runtime uses such old versions of libraries?

@uwap Steam Runtime uses Ubuntu 12.04 as a base for its libraries -- all games are supposed to be compatible with it. If any game doesn't work it's a game bug. I guess Valve won't update those libraries easily as all current games depend on their versions -- maybe Runime would be versioned depending on a game in the future.
Try steam.override { nativeOnly = true; } -- this will force Steam to drop Runtime and use libraries from nixpkgs instead. Beware as a lot of games break that way but if you manage to fix some please send PRs!

@uwap I've tried your solution and ** ERROR ** Missing library libz.so.1 still appears. My LD_LIBRARY_PATH is /run/opengl-driver/lib on NixOS.
My steam.nix looks like this. Do you know what I might be doing wrong?
{ config, pkgs, ... }:

{
  nixpkgs.config.packageOverrides = pkgs: {
    steam = pkgs.steam.override {
     extraPkgs = pkgs: with pkgs; [
         zlib
       ];
     };
  };
}

@matthew-piziak You need to set the LD_LIBRARY_PATH to /lib:$LD_LIBRARY_PATH before starting the game with steam-run or set LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH %command% as launch option for the game in steam. Otherwise it will take the zlib from the steam runtime, which has an older version of zlib.

@matthew-piziak To start a game with steam-run I recommend using steam-run bash to get a shell first and then run export LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH before normally executing the game's executable

@uwap Interesting! Where do I find the game's executable if I've installed it from the Steam store?

You can find it in ~/.local/share/steam

@uwap Thank you! I have installed steam-run and zlib in my environment.systemPackages.
 So I add it to extraPkgs and try to run ./vrmonitor:
./vrmonitor: /steamrt/amd64/lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /nix/store/ifz527a2bm8bbgc083c80afjd6m393sa-libpng-apng-1.6.34/lib/libpng16.so.16)

I thought this was weird... it's looking for libpng16 instead of the runtime version (libpng12). Turns out qt5 was built with libpng16, which tries to pull in zlib 1.2.11 but ends up getting the steam-runtime version (1.2.9).
So it looks like I need to have a custom build of qt5 overriden with libpng12? Tedious. Going to try a pure native build first.

native seemed to work. vive seems to be working. woot!

The issue with Dead Cells is that the deadcells.sh script sets LD_LIBRARY_PATH=..
I managed to make it run like so:
$ cd ~/.local/share/Steam/steamapps/common/Dead\ Cells
$ steam-run bash
$ export LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH
$ cat > deadcells.sh <<EOF
cat deadcells.sh
#!/bin/bash

(
  cd "$( dirname "${BASH_SOURCE[0]}" )"
  export LD_PRELOAD=
  export LD_LIBRARY_PATH=.:/lib:$LD_LIBRARY_PATH
  ./deadcells detect.hl
  ./deadcells
)
EOF
$ echo "588650" > steam_appid.txt # https://steamdb.info/app/588650/
$ ./deadcells.sh

Is there any way to fix this long-term ?

https://github.com/NixOS/nixpkgs/pull/31263 is one potential long-term fix. Alternatively, I believe it could be possible to fix using libglvnd similarly to how Flatpak runtime does it.

@fghibellini that didn't work for me, but
#!/bin/bash

(
	cd "$( dirname "${BASH_SOURCE[0]}" )"
	export LD_PRELOAD=
	export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
	./deadcells detect.hl
	./deadcells
)

did work.

So, for anyone else encountering this problem:
screeps requires a handful of libraries the steam runtime already ships, but it requires a newer version of it. So my solution is to set the launch options for it in steam to
LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH %command%

And to put the following in my configuration.nix:
nixpkgs.config.packageOverrides = pkgs: {
    steam = pkgs.steam.override {
      extraPkgs = pkgs: with pkgs; [
        gnome3.gtk
        zlib
        dbus
        freetype
        glib
        atk
        cairo
        gdk_pixbuf
        pango
        fontconfig
        xorg.libxcb
      ];
    };
  };

This adds libraries that are not automatically given through the steam package and overrides some of the libraries used by the steam runtime.
This is a dirty hack. Is there a reason the steam runtime uses such old versions of libraries?

thanks for this, it helped me get stellaris to run properly.

For the current Dead Cells version I had to override the steam libpng package in addition to the modifications of the shell script

Much of this is out of date.
We don't really have a place for official documentation on package-specific overrides or even generator/wrapper functions that I know of.
It is documented at https://nixos.wiki/wiki/Steam#Adding_missing_dependencies though, so I'd consider this done.
If you want official documentation on packages override options open an issue on having that in general.


filter years by % training data available (fixes #123)

I also:

re-roxygenized everything (to make sure the docs for these functions are up-to-date)
removed a vestigial SDM script that used these functions

Thanks @ethanwhite. Fixed and merging now.


Throw an error when a connection ends with a RST,ACK packet?

According to MySQL docs, COM_QUIT command should end with "either a connection close or a OK_Packet".
As @elemount pointed out in issue #1730, Azure MySQL is answering with an RST,ACK.
It can be reproduced when you run this example code against an Azure MySQL instance.
var mysql      = require('mysql');
var connection = mysql.createConnection({ config });

connection.connect();

connection.query('SELECT 1 + 1 AS solution', function (error, results, fields) {
  if (error) throw error;
  console.log('The solution is: ', results[0].solution);
});

connection.end();

Throws ECONNRESET error.
Should this library throw an error when a connection end with a RST with the ACK flag set?
Can we detect this?

Can you provide the fix or help me setup an Azure MySQL instance to run the code against?

Sure, please give me an email address and I'll send you the connections parameters.

Use the one on my GitHub profile :)

@alex030293 provided a connection to a MySQL Azure instance and I reproduced the issue and have a tentative fix. I should land the fix on master today once I get it cleaned up.

Sorry for the delay, I'm still trying to figure out how to actually make a test for this.

Sorry for the delay, I'm still trying to figure out how to actually make a test for this. It seems like Node.js does not treat a RST as an error unless it thinks it has something to read. It only seems to be an issue with the ACK from the sent data is combined with the RST, but if the ACK and RST are separate Node.js doesn't throw an error. I can't seem to get Node.js code to get them to emit together so far, through, in order to create a test.

@elemount I think in an issue somewhere you said Azure team would be willing to provide a server I can connect the CI of this project to. That would be awesome and definitely help out with this issue, which I cannot figure out how to get a working test for without having an Azure MySQL server in the test suite. Travis CI has the ability to use encrypted secrets in the config, so I can add the credentials to the CI without them being available to the public.

Let me email to him and let he connect with you.

I have been chasing unhandled ECONNRESET errors related to the mysql library for a while now.
I am getting ECONNRESET unhandled errors from the Connection instance in the file mysql/lib/Connection.js on line 115. The errors look to be related to browser clients that go idle and get reset by the browser. Here is the offending line of code:
this._protocol.on('unhandledError', this._handleProtocolError.bind(this));

The ECONNRESET is a TCP socket event (error), and is handled by Connection._socket. I traced the logic and it appears that the RST packets cause a socket error that eventually bubbles up from the socket object to the protocol object and then back to the Connection instance as an unhandledError event.
What should the Connection instance do when ECONNRESET shows back up as an unhandledError event? It appears that by this point the Protocol queue has been purged and the connection is now in question. It might be nice to close the socket and let the Connection instance emit end rather than emitting an error. Thoughts?

Ok, I got the instructions for how to get the Azure MySQL setup, so I'll work on getting it running in our CI for this issue.

@dougwilson  Any update on this? Should we expect this to be fixed in next release? Is there any ETA for next release?
Thanks

I have a failing branch pushed up right now. Still need to get Azure set up and finish the changes. This is what is holding the next release, so yes it is expected in the next release.

Here is the branch if you want to take a look / try: https://github.com/mysqljs/mysql/tree/quit-rst

I merged the change into master now. Please try master and validate that is resolves your issue, when you have a chance.


Extending BSMultiSelectEditor

Dear @volkanceylan,
I'm trying to extend the BSMultiSelectEditor (implemented in the "How To: Use a Third Party Plugin With Serenity" chapter of the Serenity developer guide).
I modified a bit the BSMultiSelectEditor  in order to expose a getItems() method and that part it's working fine, but when I try to add a new editor by extending the BSMultiSelectEditor, then I got the following console error:

Here my code of the extended BSMultiSelectEditor:
namespace myProject {
    @Serenity.Decorators.registerClass([Serenity.IGetEditValue, Serenity.ISetEditValue])
    export class SupportGroupEditor extends BSMultiSelectEditor {

        constructor(element: JQuery, opt: BSMultiSelectOptions) {
            super(element, opt);
        }

        protected getLookupKey() {
            return 'CSH.SupportGroup';
        }

        protected getItems(lookup: Q.Lookup<CSH.SupportGroupRow>) {
            // TBD
        }
    }
}

Any idea on what I'm doing wrong?
Thank you very much
Bye

///references

Once again the same "fake problem"...honestly I have not yet figured out when I must use such instructions...I mean when it's required...
Btw thanks for your support!
Bye


Removed

Drop support for Go 1.20. (#3002)

Codecov Report
Attention: Patch coverage is 92.85714% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 80.04%. Comparing base (b64bdf0) to head (bda32a2).
 Consider uploading reports for the commit d672c67 to get more accurate results

Files
Patch %
Lines

build/prerelease.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3102      +/-   ##
==========================================
+ Coverage   78.98%   80.04%   +1.05%
==========================================
  Files          88       88
  Lines        3403     2897     -506
==========================================
- Hits         2688     2319     -369
+ Misses        641      502     -139
- Partials       74       76       +2

Flag
Coverage Δ

Linux
80.04% <92.85%> (ø)

Windows
?

macOS
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add Use Cases to DG

Add use cases for the new commands added.

Ill do up one for all of the remaining commands, the respective command implementers feel free to update it.


Support for XPath 2.0 (interesting for a lot of new functions, like base-uri(), matches() etc.)

Support for XPath 2.0 (interesting for a lot of new functions, like base-uri(), matches() etc.)

This issue was imported from Google Moderator
Moderator votes: +4
Issue added by cherriedquat on 2014-08-12
To vote this issue up or down, simply include +1 or -1 in your comment.

Refs #1558


Added format=json to query parameters because of bug where policies do not wortk

…o not work

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hello  @vmanoharas,
This PR is ready to be reviewed.
Thank you

Dear Partner,
Congratulations your PR is approved !! We are proud to announce the Brand-New Certification experience for you to certify Power Platform Copilot Connectors & Plugins. Read the blog here- Announcing Partner Center to certify and publish Power Platform Copilot connectors and plugins
As next steps:

Learn about the new certification experience- Get your Power Platform connector and plugin certified - Overview
Package your connector and plugin files- Prepare Power Platform connector and plugin files for certification
Initiate a certification request in Partner Center- Verified publisher certification process
Ensure your connector & plugin files comply to the Marketplace policies here- 5000 Power Platform Connector Policies for Marketplace
Test your connector post certification to provide go-live for deployment- Testing Guidelines
If you wish to Update your connector or plugin in future- Updating Guidelines

For any queries or concerns please get in touch with us on<EMAIL_ADDRESS>Many thanks,
Power Platform
Copilot connector & plugin certification team

Hello @vmanoharas,
Are you able to merge this PR, I see you approved the changes but the PR didn't merge.
Thank you

Hi @NunoLemos101,
Thank you for highlighting. Apologies for not merging it.


Merge v0.2.5 release changes into main

This PR incorporates the changes needed for the release v0.2.5 as mentioned in #141. Here, we are not including any changes related to genetic demultiplexing and we will wait until those changes are complete and documentation has been added before merging into main and incorporating into a release.
This includes changes that were merged in #134 and #139 to complete the spaceranger workflow.
I also added the changes from #136 to add in the ccdl specific profile as well (Let me know if I should remove these changes for any reason, but there were no conflicts when merging these).
I then updated all the release numbers from 0.2.4 to 0.2.5.
I did make one minor change in the workflow in main.nf related to  https://github.com/AlexsLemonade/ScPCA-admin/issues/341 and that is to remove visium_v1 and visium_v2 from the list of technologies and allow for visium to be an accepted technology in anticipation of changing all libraries to this tech. I also updated the line in the external instructions that lists the options for tech to reflect this change and added a note at the end of the spatial section that states that only visium libraries have been tested with the workflow and no other spatial transcriptomics methods have been used. I wasn't sure if this was completely necessary, but it seemed like something important to have if we are using visium as the technology listed.

When this is done, please file a followup PR merging main -> development to keep things in sync.


Hushpix album not working

Ripme version: 1.6.13
Java version: 1.8.0_151
Operating system: 10.0.16299.64
https://hushpix.com/album/gKcu/
Please include any additional information about how to reproduce the problem:

Expected Behavior
For images to be found and ripped.
 The ripper will have to be modified to hit the url the agree button leads to and send the cookies it receives with every request it makes

I installed EditThisCookie to inspect the cookies. Looks like we need to send the cookie ("AGREE_CONSENT", "1")


chore: Enable codeql action

This action runs GitHub's industry-leading semantic code analysis engine,
CodeQL, against a repository's source code to find security vulnerabilities.
https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql
https://github.com/ossf/scorecard/blob/main/docs/checks.md#sast
Signed-off-by: naveen<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the allow list.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

This doesn't appear to actually work though :)

This doesn't appear to actually work though :)

Need to fix the build command. I will do that.


Install command along with deploy is confusing

Install should do what deploy do (we can make them aliases to avoid a breaking change.
The drivers and binaries can be checked and downloaded implicitly.

I think it is worth keeping functionality of install but renamed to install-deps or an option of install; say --only-deps


develop repo governance docs

complete readme.md
agree on branching workflow
create 'contribute.md'

[ ] Contribute.md and code of conduct
[ ] Branch workflow
[ ] Complete readme.md

@juancastilla is there a specific reason that this code is under CC? Why not MIT or GPL?

we might think about using this in the future: https://github.com/marketplace/actions/create-issue-branch

Branch workflow is no enforced through rules on dev and main. Further rules could follow

The Controbution md is not finished yet and needs to be extended etc.


How to evaluate 3D object detection on validation split?

Thanks for your excellent work!
I would like to know how to do the evaluation of 3D object detection on validation split.
And I notice there is PR about this. When will the stable version be released? I am looking forward to it!

Hi @Abyssaledge, the detection evaluation has been merged into main. We will tag a versioned release later this week with the final configuration. If you'd like a starting point with an example of how to use the evaluation code, you can check out the 3D object detection baseline found here: https://github.com/benjaminrwilson/torchbox3d.
Let me know if you run into any issues.

Thanks very much. I am going to have a try. I hope to keep this issue open in the next couple of days for further discussion and community reference.

Hi @Abyssaledge, our 2022 3D object detection challenge is now live! Please have a look when you get the chance: https://eval.ai/challenge/1710/overview.

Let me know if you have any questions!


The current ViewModel approach is very limiting in MVC

Get -> can't get Odata to modify the expression tree, as the ViewModels are no longer IQueryable (LINQ to SQL)
Create -> this works, just create a new view model
Update -> can't easily get the existing view model to modify
Delete -> can't easily get the existing view model to delete
A ViewModel repository would solve this issue, but is that a terrible idea?
Investigate this issue once an MVC project is being developed.

Instead of that, maybe split the presenter out of the ViewModel, and then have the presenter be a property of the ViewModel. This way the presenter can be used by the controller if the ViewModel is too restrictive.

Don't make any ViewModel present the Use Case it invokes.
It makes more sense from an MVC + MVVM perspective to DI the presenter into the ViewModel constructor so that the presentation behaviour can be injected in for the specific application requirements


[Feature]: use background instead of background-color

Is your request related to a problem?
Working on a site that uses a gradient for backgrounds, unable to set a linear-gradient in a number of places because variables are attached to background-color in onboard-v2
Feature Description
Replace instances of background-color with background.
Alternative Solutions
None that I can think of
Anything else?
Happy to send a PR if this is something onboard would like to include.
Screenshot where I have edited one of the button attributes to use background instead of background-color to get a gradient working

The changed code:
+ button.relative {
+ --onboard-wallet-button-background-hover: var(--gradient-background-link);
+ }
+
button.svelte-ucnmri:hover {
- background-color: var( --onboard-wallet-button-background-hover, var(--onboard-primary-100, var(--primary-100)) );
+ background: var( --onboard-wallet-button-background-hover, var(--onboard-primary-100, var(--primary-100)) );
}

Hi @0xcharchar,
Thanks for creating this. We're working on this and will push a release soon.

@0xcharchar
Closing this issue has the suggested feature has been merged with this PR


Day/night mode toggle / Show palette toggle

When i want to remove the Day/night mode toggle button from the dashboard it is a bit confusing. When looking in the settings it is not obvious for everyone that the settings i should turn off is the Show palette toggle. Why not call it the same name as the tooltip?

That makes sense to me. I'll do it.
Thanks, for advice.


BLE_Client crash on server disconnect

First of all, a massive thank you for writing this library.
I have been using the ESP32 on the Arduino IDE with the latest ESP32_BLE library.
I made some modifications to your BLE_Client here's the code is below.
Basically what it is doing it there are 2 services after it connects to the server.
The server sends out notifications on the characteristic
rxUUID("0783b03e-8535-b5a0-7140-a304d2495cb8");
and the other is charUUID("0783b03e-8535-b5a0-7140-a304d2495cba"); which the client can write to.
There is a timeout timer "BLEtimeout" where if the client does not receive any notifications the client initiates a pClient->disconnect and re-scans to connect, this part works fine.
However, if the server initiates a disconnect ie. device is powered off etc the program grinds to a halt.
Here's the printout:
Notify callback for characteristic 0783b03e-8535-b5a0-7140-a304d2495cb8 of data length 8
Data:<PHONE_NUMBER>20 //Last notifcation received, server disconnect here
Setting new characteristic value to "Time since boot: 230"
E (252590) BT: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0008
connected: 1
doConnect: 0
Scanning: 0
BLETO: 1
Setting new characteristic value to "Time since boot: 240"
//After this there were no more printouts
I don't know if this is related to the other issues raised but I would appreciate your input.
Many Thanks, Sky
Edit: Move code to pastebin:
https://pastebin.com/PEQ2BXEv

Many thanks for the detailed report.  Lets see if we can't capture a trace from your environment.  There are some instructions found here:
https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/ArduinoBLE.md#switching-on-debugging
Switching this on, rebuilding the code and re-running should produce trace of what is going inside the BLE libraries.  From there, we can take a look see and see if we get an indication of what might be going on.

Thank you for your prompt reply, below is what I got from turning verbose debug on:
[D][BLEDevice.cpp:105] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 3] ... ESP_GATTC_NOTIFY_EVT
[D][BLEUtils.cpp:1344] dumpGattClientEvent(): GATT Event: ESP_GATTC_NOTIFY_EVT
[D][BLEUtils.cpp:1451] dumpGattClientEvent(): [conn_id: 0, remote_bda: f5:e1:02:80:05:f4, handle: 18 0x12, value_len: 8, is_notify: 1]
[D][BLERemoteCharacteristic.cpp:173] gattClientEventHandler(): Invoking callback for notification on characteristic Characteristic: uuid: 0783b03e-8535-b5a0-7140-a304d2495cb8, handle: 18 0x12, props: broadcast: 0, read: 0, write_nr: 0, write: 0, notify: 1, indicate: 0, auth: 0
Notify callback for characteristic 0783b03e-8535-b5a0-7140-a304d2495cb8 of data length 8
Data:<PHONE_NUMBER>19
E (78442) BT: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0008
[D][BLEDevice.cpp:105] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 3] ... ESP_GATTC_WRITE_CHAR_EVT
[D][BLEUtils.cpp:1344] dumpGattClientEvent(): GATT Event: ESP_GATTC_WRITE_CHAR_EVT
[D][BLEUtils.cpp:1587] dumpGattClientEvent(): [status: ESP_GATT_ERROR, conn_id: 0, handle: 22 0x16]
[D][BLERemoteCharacteristic.cpp:566] writeValue(): << writeValue
connected: 1
doConnect: 0
Scanning: 0
BLETO: 1
[D][BLEDevice.cpp:105] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 3] ... ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1344] dumpGattClientEvent(): GATT Event: ESP_GATTC_DISCONNECT_EVT
[D][BLEUtils.cpp:1389] dumpGattClientEvent(): [conn_id: 0, remote_bda: f5:e1:02:80:05:f4]
[D][BLEDevice.cpp:105] gattClientEventHandler(): gattClientEventHandler [esp_gatt_if: 3] ... ESP_GATTC_CLOSE_EVT
[D][BLEUtils.cpp:1344] dumpGattClientEvent(): GATT Event: ESP_GATTC_CLOSE_EVT
[D][BLEUtils.cpp:1359] dumpGattClientEvent(): [status: ESP_GATT_INSUF_AUTHORIZATION, reason:ESP_GATT_CONN_TIMEOUT, conn_id: 0]
Setting new characteristic value to "Time since boot: 66"
[D][BLERemoteCharacteristic.cpp:544] writeValue(): >> writeValue(), length: 19

That was the end of the print, there were no exception codes though....

That doesn't seem like enough trace ... was there more at the start?  Can you paste the complete set of trace to a pastebin?  We are seeing some errors in the trace ....  these are the errors pushed by the lower level ... which just now simply state "ESP_GATT_ERROR" ... I'm hoping that previous trace will give us more information.

Sure, let me know if there's anything else I can do
https://pastebin.com/itsE2J6f

I have an initial guess at what is going on and have created an issue to guard ... see:
https://github.com/nkolban/esp32-snippets/issues/228
At a high level, I think what is happening is that the logic in the app is calling
pRemoteCharacteristic->writeValue(newValue.c_str(), newValue.length());

Even though the connection to the BLE Server has now been lost.  It appears that the BLE logic blocks that API call waiting for a response that will never come.  The onus appears to be on the application logic to not attempt to read or write from remote characteristics after an indication that the connection has been dropped.
The BLEClient class has a method on it called "isConnected" which returns true if we are connected and false otherwise.  What I'd like you to do is test that flag is correct and only attempt to write to the remote characteristic if we are indeed currently connected.

The code below fixed the issue, many thanks!
Is there an option to configure the "isConnected" timeout?
if(pClient->isConnected()==true){
pRemoteCharacteristic->writeValue(newValue.c_str(), newValue.length());
Serial.println("Setting new characteristic value to "" + newValue + """);
//std::string value3 = pRemoteCharacteristic->readValue();
// Serial.print("Data:");
//Serial.println(value3.c_str());
}

This is only a circumvention issue #228 will fix it properly.  Currently there is no "timeout" ... we are either connected or not connected.  No timeout involved.  What I need to do is provide some improvements such as:

Throwing an exception when attempting to read or write from a disconnected characteristic.
Providing an "onDisconnected" callback

I see, thank you very much for your help!

Closing for just now


Deploy additional assemblies

These were found while investigating ngen issues and were merged into exp/net472-optprof2. I merged a PR from exp/net472-optprof2 and these were missed.

@dotnet-bot test RHEL7.2 Build for CoreCLR please


Fixed #35882 -- Made migration questioner loop on all errors.

Trac ticket number
ticket-35882
Branch description
Expand InteractiveMigrationQuestioner._ask_default() to loop on all exception types, update its display to show the exception type, and expand tests to existing types plus the AttributeError I encountered.
Thanks to @jacobtylerwalls for expanding the test coverage back in #15212, it let me make this change quite easily.
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[x] I have added or updated relevant tests.
[x] I have added or updated relevant docs, including release notes if applicable.
[x] I have attached screenshots in both light and dark modes for any UI changes.

Good idea, done.


[SLAM] Support for Relocalization

To support loadRelocalizationMap(), saveRelocalizationMap(), getRelocalizationPose() API.

@haoyunfeix dup with #35, would you please separate them to 3 issues? Each interface an issue.
Thank you!

@haoyunfeix , would you help to close this issue? Since I have separate them into 2 issues.


Warning for when accesskey attribute is used

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Add highlight and warning message on element with accesskey attribute.
Resolves #49
Link(s)
WebAIM: Keyboard Accessibility - Accesskey
accesskey - HTML: HyperText Markup Language | MDN
Screenshot(s)

Checklist:

[x] I have thoroughly read the CONTRIBUTING guidelines.
[x] I understand my pull request will be thoroughly reviewed at high detail.
[x] I understand the work in my pull request will only be available in the next version release of Checka11y.css and not in the current version release.
[x] I confirm the work in this pull request is valid according to my findings and is not something for anything personal.
[x] I have updated the README where and if applicable (still put an x if you have considered this but thought there was nothing to add or modify).
[x] I have added myself to the contributors section in package.json (still put an x if you have considered this but decided not to add yourself).
[x] I have checked I have not committed any accidental files.
[x] I have tested all the main modern browsers (I.e. Chrome, Firefox, Edge, Safari - please leave this unchecked if there were any browsers listed you could not test and list them in the help section with details why you couldn't test that browser)
[x] All new and existing a11y checks still work correctly (compare your local test/index.html to the test/index.html in the master branch).

Help

Tested on Firefox, Chrome, and Safari on macOS, could not test in any Windows browser.

You're welcome! glad to contribute in this repo
I've updated screenshot in PR description


Don't overwrite existing gists until we test the new version

This isn't an issue yet, but in the future when we're replacing existing gists, we'll want to be able to make sure those gists work well in DartPad before we replace the existing gist. Possible issues are failure to execute, code that's too wide, DartPad section sizes that need adjustment (for particularly large or small output, for example), ...
It would be nice if there were a command-line option for either "yes, replace my gist" or "just testing, don't replace the gist". It could be something like --replace / -r or --test-gist / -t.
@Sfshaza do you have any preference? Anything to add?

so maybe make an anonymous or secret gist, for the testing ? @kwalrath

Secret might be good, just so we know that it's not one we intend to publish.

I'm thinking, if you are going to do this for a long time, and create everytime a new gist when testing, you may end up with hundreds of gists here:
https://gist.github.com/kwalrath
maybe secret + anonymous ?

Sure, that sounds good. I haven't used secret + anonymous, but as long as I don't lose the window that says where the gists are... it should be good. I can always regenerate if I do lose it.

this should be fixed now

It works great. Thanks!


Naming Convetion Violation ignoring patterns

Hey,
I have encountered this problem and cannot find a way to fix it.
style:
active: true
WildcardImport:
active: true
NamingConventionViolation:
active: true
variablePattern: '^()?[a-z$][a-zA-Z$0-9]*$'
constantPattern: '^([A-Z0-9]|serialVersionUID)$'
methodPattern: '^[a-z$][a-zA-Z$0-9]$'
classPattern: '[A-Z$][a-zA-Z0-9$]*'
Even if i delete all the patterns, i get the NamingConventionViolation in my report, when i try to modify these patterns, no changes are detected in process. The only thing that works for me is activate or deactivate.

@xMickeymikex This is because support for custom NamingConventionViolation is added recently in this commit and not yet released. Once it's released, it should work perfectly.

Hey as your the second to ask for this, I just released 1.0.0.M8.1 with this feature + one bug fix from a contributor (thx @olivierlemasle)
If the new release works for you, please close the ticket, thx.


Add fakes to help with testing

There are a lot of fakes in separate directories, would make sense to move all of them over here.

Codecov Report

Merging #149 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
+ Coverage    92.4%   92.42%   +0.02%
==========================================
  Files          28       29       +1
  Lines        1844     1889      +45
==========================================
+ Hits         1704     1746      +42
- Misses         80       82       +2
- Partials       60       61       +1

Flag
Coverage Δ

#dot
92.42% <100%> (+0.02%)
:arrow_up:

#dot_data
65.78% <ø> (ø)
:arrow_up:

#dot_fakes
100% <100%> (?)

#dot_sync
87.37% <ø> (ø)
:arrow_up:

#dot_undo
100% <ø> (ø)
:arrow_up:

#dot_x_db_files
100% <ø> (ø)
:arrow_up:

#dot_x_db_mongodb
81.92% <ø> (ø)
:arrow_up:

#dot_x_db_mysql
86.25% <ø> (ø)
:arrow_up:

#dot_x_db_pg
87.95% <ø> (ø)
:arrow_up:

#dot_x_db_s3
92.78% <ø> (ø)
:arrow_up:

#dot_x_journal
98.79% <ø> (-1.21%)
:arrow_down:

#dot_x_journal_ws
94.64% <ø> (-5.36%)
:arrow_down:

Impacted Files
Coverage Δ

fakes/snapshotter.go
100% <100%> (ø)

x/journal/ws/ws.go
94.64% <0%> (-5.36%)
:arrow_down:

Continue to review full report at Codecov.

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


DBEAVER with access

I have the lastest dBeaver, created a simple table in microsoft access, created a new microsoft access connection in dBeaver, it downloaded the lastest driver, I chose my latest database4.accdb file.  (In microsoft access, my table is named "sheet2.")  The test for the connection is 4ms.  The database shows in the dBeaver tree.  But under Tables, when I click on it, no individual tables show.  Therefore I cannot do a select * from anyTable of any kind, let alone from sheet2 or from database2.sheet2??? Thanks, Steve

Hello, @selster Sorry, I was not able to reproduce this issue. Is there a chance for you to provide a file that has this issue, so I can try looking what is wrong with it.

First let me clarify my question. If you click on the name of a stash, either left click or right click, I assume it would be a right click. Can you get a URL for that stash, something that I can then paste into OneNote. So that when I go to OneNote, I can click on that URL, and it will take me back to that particular stash? Or maybe it will open all of the web pages inside of that stash? This is the kind of thing I mean. I'm not sure it's even possible. Thanks, Steve
Get BlueMail for Android
On Aug 19, 2021, 00:30, at 00:30, Matvey16 @.***> wrote:

Hello, @selster Sorry, I was not able to reproduce this issue. Is there
a chance for you to provide a file that has this issue, so I can try
looking what is wrong with it.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/dbeaver/dbeaver/issues/13552#issuecomment-901678224

there is no update on the issue for a long time.
If it is still actual for you - feel free to reopen it with additional info


Instrument replacing option

A la MPCTxtTools . Provides functionality for replacing a whole type of instrument with another.

This doesn't sound too complicated. Should there be a button for it or would it be enough to just add a field in the options menu? (like the "multiply tempo" feature)


Support for externally linked gates

This is the companion PR to https://github.com/qBraid/pyqasm/pull/59 for externally linked gates, as suggested here https://github.com/qBraid/qbraid-qir/issues/167.
This is probably not ready to merge, but I figured it's easier if I get some feedback first.  With both changes, external gates work in qbraid-qir, at least for my use-case.
If both PRs are merged, one can call e.g. qasm3_to_qir(qasm_str, external_gates=["mygate"]).
Then pyqasm does not unroll "mygate", but leaves it as a node in the AST. qbraid-qir then takes this node and converts it to an externally linked qir function. There are serveral ways this could be done (@christian512 originally suggested that the user passes a pyqir.Function that the external gate should be mapped to, alternatively the user could potentially also just pass the name of the desired qir function that the gate should be mapped to). Instead for now I chose to create the new qir function dynamically based on the arguments of the original gate and with the fixed name __quantum__qis__<GateName>__body, but this strategy could of course still be changed.
With qasm3_to_qir(qasm_str, external_gates=["mygate"]), the following QASM would then be mapped to the IR below:
OPENQASM 3.0;
include "stdgates.inc";
gate mygate(p0) _gate_q_0, _gate_q_1 {
  h _gate_q_1;
  cx _gate_q_0, _gate_q_1;
  rz(p0) _gate_q_1;
  cx _gate_q_0, _gate_q_1;
  h _gate_q_1;
}
bit[2] c;
qubit[2] q;
ry(pi/2) q[0];
mygate(pi/2) q[0], q[1];

entry:
  call void @__quantum__rt__initialize(i8* null)
  call void @__quantum__qis__ry__body(double 0x3FF921FB54442D18, %Qubit* null)
  call void @__quantum__qis__mygate__body(double 0x3FF921FB54442D18, %Qubit* null, %Qubit* inttoptr (i64 1 to %Qubit*))
  call void @__quantum__rt__result_record_output(%Result* null, i8* null)
  call void @__quantum__rt__result_record_output(%Result* inttoptr (i64 1 to %Result*), i8* null)
  ret void

The original _visit_basic_gate_operation had some logic where the gate was applied to multiple subsets of qubits
for i in range(0, len(op_qubits), op_qubit_count):
    # we apply the gate on the qubit subset linearly
    qubit_subset = op_qubits[i : i + op_qubit_count]
    ...

which I did not replicate in _visit_external_gate_operation since I did not understand this logic and could not trigger its execution. This might be be something that still requires change.
I also did not yet write any tests because most of the existing tests where failing due to import errors of pyqasm.pyqasm (I assume you are currently in the process of changing how pyqasm gets imported?). If the rest of this PR is good, I can look into this again and add tests for the external gates.
Closes https://github.com/qBraid/qbraid-qir/issues/167

Hi @Sola85! Thanks for your contributions and its looks like the changes are on the right track.

I feel that the naming convention __quantum__qis__<Gate_name>__body is fine for now and creating the function object dynamically seems like a good approach
The logic for applying gates to a subset of qubits was to ensure we cater to gate applications like - cx q[0], q[1], q[2], q[3] or h q[0], q[1], q[2] :

In case 1, cx is applied as cx q[0], q[1]; cx q[2], q[3]; in QIR form. Here, op_qubit_count is 2 and len(op_qubits) would be 4
In case 2, h is applied as h q[0]; h q[1]; in QIR form. Here, op_qubit_count is 1 and the len(op_qubits) is 2

I'll have to confirm whether this is still required( as we are now fully unrolling the qasm ), but this was the motivation behind the code that you mentioned. This would require you to apply an N qubit external gate in groups of N qubits and update the gate application code.

pyqasm is undergoing a lot of rapid changes and we are set to release a new version probably this week. Once that is done, I will update the requirements and fix the tests so that you can take it forward from there.

Besides this, I'll post any implementation specific comments in the diff.
Super glad to see you contribute to qBraid!

The logic for applying gates to a subset of qubits was to ensure we cater to gate applications like - cx q[0], q[1], q[2], q[3] or h q[0], q[1], q[2]

Thats what I had assumed the logic was for. I tried a gate like h q[0], q[1], q[2] but I think this was already unrolled earlier, because I only ever saw that op_qubit_count was equal to len(op_qubits) for all examples I tried.

pyqasm is undergoing a lot of rapid changes and we are set to release a new version probably this week. Once that is done, I will update the requirements and fix the tests so that you can take it forward from there.

Sounds good! Then I'll wait for the update.

Hey, I've updated the pyqasm dependency to point to the latest release i.e. v0.0.3. You can rebase the PR and continue the work. Let me know if you face any issues!

I added the same tests that I added in pyqasm (external u3 gate and external custom gates). The tests are currently failing in your pipeline because the pipeline doesn't know about my pyqir PR. Locally they pass.
These new tests didn't fit into the existing check_*_op() functions, so I created a new check_generic_gate_op, that can deal with arbitrary rotation angles and arbitrary qubit numbers, but does not take unrolling into account. Maybe this function is useful for the other tests too.

Hi @Sola85 ! We have recently released the pre-release version v0.1.0a1 for pyqasm. This includes the change you made for external gates.
Can you update the code for using that dependency and see if the tests pass?

@TheGupta2012 thanks for letting me know! I've updated the depdency and fixed the pipelines.
One of the tests had failed due to Unsupported statement of type <class 'openqasm3.ast.QuantumPhase'> (see log), i.e. it looks like qbraid_qir didn't know about global phases yet. To fix the tests, made qbraid_qir ignore global phases for now, but you might want to adress this separately.

Opened issue #188 for following up on QuantumPhase


Date picker: label and placeholder shown simultaneously

From @jouni on August 28, 2017 14:27
The label and placeholder texts are shown on top of each other:

The text field doesn’t have the same problem, and the placeholder text is revealed only when focused:

Copied from original issue: vaadin/vaadin-themes#46

This has been fixed by the updates in vaadin-text-field and in the theme (now in master).


Apache beam integration

Interest has been expressed in apache flink integration.
Instead what we may do is look at doing beam integration and swap out our spark integration.
Programming against dataflow allows us to have any backend we want and we can use 1 api for multiple streaming frameworks.

Something is happening with this Apache Beam integration or is it dead?
It would be really nice to train Deeplearning4j models on SaaS like Google DataFlow in Scala and with data extracted from BigQuery with Spotify Scio.

@arturroo just no time. (Sorry going through backlog now) At this point, we want to look more at inference, model import first over integration with the big data frameworks. We'll accept PRs though.


SAM-3253 fix a few NPEs in this observable helper method

I'm seeing NPEs in 11.x and 12.x logs related to this method.... I'm not sure what's going on in this method but lots of NPE opportunity in it

Looks like that will fix the NPE you are seeing. But it may cause email
notifications to fail for that assessment submission. Depending on how
SamigoETSProviderImpl.notify handles an empty map.
I don't think the issue is here, but rather before.
When an assessment is submitted (for any of the three cases), an event is
generated with Metadata as a string from a hash map. The SamigoObserver
then watches for the specific events. When they match, the event resource
is converted back to a map and an email is sent saying it was submitted.
On Sep 8, 2017 02:13, "Sam Ottenhoff"<EMAIL_ADDRESS>wrote:

I'm seeing NPEs in 11.x and 12.x logs related to this method.... I'm not
sure what's going on in this method but lots of NPE opportunity in it
You can view, comment on, or merge this pull request online at:
https://github.com/sakaiproject/sakai/pull/4777
Commit Summary

SAM-3253 fix a few NPEs in this observable helper method

File Changes

M samigo/samigo-impl/src/java/org/sakaiproject/samigo/impl/
SamigoObserver.java
https://github.com/sakaiproject/sakai/pull/4777/files#diff-0 (16)

Patch Links:

https://github.com/sakaiproject/sakai/pull/4777.patch
https://github.com/sakaiproject/sakai/pull/4777.diff

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/sakaiproject/sakai/pull/4777, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGCs6UM-1Ue-9jKQXqdNBpThZuuRUZYlks5sgGqFgaJpZM4PQdRw
.

Thanks @master-bob, can you propose what PR or JIRA broke this functionality and is causing these NPEs?

This could be fixed by https://jira.sakaiproject.org/browse/SAM-3244 yesterday on #4757  Have you rebased?
That's what's mentioned there.
"We can't just NPE-proof SamigoObserver.stringToHashMap() because it then will just blow up in SamigoETSProviderImpl when it goes to retrieve values in the HashMap it expects to be there."

Thanks. Looks relevant.


Bump GitHub actions version

Looks good but still pending test results fix.

Looks good but still pending test results fix.

I am rewriting library, so some function cannot use.


Test the monitoring of the canary application in each of the three zones

Describe the Issue
As a tester I want to verify the application developed to monitor the state of the ALBs is working as expected
Additional Context
See ticket #2207 for information about this app
Acceptance Criteria

Meet with Kevin to get more background
Create test cases to test the application: both happy path (alb working as expected) and unhappy path (alb do not work. Try to find a way to make the app itself not work properly (tweaking permissions?_
Run the test in Forge, Assembly and Live
Document test cases, results and save them in the CPF team document repository.

Test Case created and stored at

Test case executed successfully in Assembly


Delay/force focus on card number when using adyen web drop-in

Describe the bug
When user tries to copy/paste a card number and proceed to complete the next fields (exp date / cvc) the iframe force the focus back to the card number, causing confusing UX.
To Reproduce
Steps to reproduce the behavior:

Go to https://mystoredemo.io/ and add a sample product to your cart
Click on Cart icon
Click on Continue to checkout
Have test card copy in clipboard: 4111 1111 4555 1142
Select Credit card as pay with option
Paste the card number in card Number field
Press Tab to continue to next field
Enter a valid date / cvc
See the focus get lost and it goes back to Card number which is already filled

Expected behavior
Expected behavior is to NOT auto focus the user to Card Number if it is already filled
Screenshots
Recording of the issue in action:
https://user-images.githubusercontent.com/1445573/188035456-d610a38b-8818-46f8-853f-5679c2514176.mov
Desktop (please complete the following information):

OS: All
Browser: Chrome
Version: 104

Hi @ehsantl - I cannot recreate.
what action are you performing after you type the "3" into the CVC field? Clicking somewhere? Pressing Tab?

Hi @ehsantl - I cannot recreate.
what action are you performing after you type the "3" into the CVC field? Clicking somewhere? Pressing Tab?

Nothing. Trying to type the next digit but the focus gets changed to card number by the iframe unexpectedly.

To clarify @sponglord 's comment:
Steps to replicate the issue

Go to https://www.mystoredemo.io/#/ and add a sample product to your cart
Click on Cart icon
Click on Continue to checkout
Have test card copy in clipboard: 4111 1111 4555 1142
Select Credit card as pay with option
Paste the card number in card Number field
Press Tab to continue to next field
Enter a valid date
Enter a CVC
ISSUE: Focus get lost and it goes back to Card number which is already filled - (in the video attached, after entering 3)

Hi @ehsantl - we have been able to reproduce this.
It depends on 3 conditions:

pasting a card number
a slow internet connection
the BIN of the  pasted card not being in our databases (which can only happen on our Test servers)

In this scenario the shopper has moved focus to another input, before our /binLookup endpoint has been able to respond. Then, when the /binLookup response reports that we don't recognise the BIN, we "reset" the card number UI (which places focus back onto the card number input)
The last condition (BIN of the  pasted card not being in our databases) is not a real world one, our Live BIN databases are fully populated - so this issue will not arise in a Live/Production


Support rapid switching between multiple kubeconfigs

Some users have multiple Kubernetes environments which they keep in separate kubeconfig files.  For working with relatively static kubeconfigs (e.g. single alternate kubeconfig, kubeconfig per project, etc.) we have the vs-kubernetes.kubeconfig setting which can be applied at global or workspace level.  But if the user wants to be able to swap more dynamically then they have to keep changing that setting and that is a bit niggly.
This PR adds a Set Kubeconfig command.  This command displays a list of 'known kubeconfigs' from which the user can choose.  The user can also choose to add a new known kubeconfig, which immediately becomes selected and is added to the list of known kubeconfigs.
In addition, the command supports passing a kubeconfig file path as an argument.  This means that a user can set up keybindings for their favourite kubeconfig files, e.g. in keybindings.json write:
    {
        "key": "ctrl+shift+alt+k",
        "command": "extension.vsKubernetesUseKubeconfig",
        "args": "d:\\temp\\kubectl\\my.other.kubeconfig"
    }

The user can then instantly (well... fairly instantly) switch to that kubeconfig using their chosen key combo.

Fixes #336.


Blur event does not trigger on  button Click

<vue-editor :value="value"  useCustomImageHandler @image-added="handleImageAdded"
:editorOptions="editorSettings"   @blur="onEditorBlur" :editor-toolbar="customToolbar">
blur event occurs when editor  loses focus by clicking anywhere except button. when i click button blur does not trigger.

I changed tag button to div and that fix problem )

I agree that this is a very annoying problem.

Any update on this issue?

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.

@davidroyer could you please consider to reopen this annoying issue ?
It's still relevant for me.

To complete here is a sandbox : https://codesandbox.io/s/vue2editor-wrapped-example-forked-gjx0z?file=/src/App.vue
Uploading screen-recording(1).mp4…

i have the same problem but i found a solution like this, maybe it will help someone:

--vue-editor here without blur--
</div


Addressed two flaky tests in ProtobufInputFormatTest

Description
This PR is intended to address two flaky tests detected in :

org.apache.druid.data.input.protobuf.ProtobufInputFormatTest.testParseNestedDataSchemaless.
org.apache.druid.data.input.protobuf.ProtobufInputFormatTest.testParseFlattenDataDiscover.

Goal of the PR:
The findings apply to both identified tests:

The dimensions of row are converted to set from list internally.
The order of dimensions in row is being changed by internal executions.
When comparing the dimensions of row with an immutable list of dimensions, a flaky error can arise if the order of dimensions in row is changed unintentionally during transit.

Patch Description:

The fix involves comparing the dimensions of row with an ImmutableSet.
The dimensions of row are converted to a HashSet().
This change enables to perform the assertion on the presence of elements rather than the actual order.

I used the NonDex tool to confim the flakiness.
Steps to reproduce the issue with Nondex:

mvn -pl extensions-core/protobuf-extensions edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=org.apache.druid.data.input.protobuf.ProtobufInputFormatTest#testParseFlattenDataDiscover.

[ERROR] Failures:
[ERROR] org.apache.druid.data.input.protobuf.ProtobufInputFormatTest.testParseNestedDataSchemaless
[ERROR]   Run 1: ProtobufInputFormatTest.testParseNestedDataSchemaless:370 expected:<[someOtherId, someIntColumn, isValid, foo, description, someLongColumn, someFloatColumn, eventType, bar, id, someBytesColumn]> but was:<[bar, someFloatColumn, someBytesColumn, isValid, description, someLongColumn, someOtherId, someIntColumn, eventType, foo, id]>
[ERROR]   Run 2: ProtobufInputFormatTest.testParseNestedDataSchemaless:370 expected:<[someOtherId, someIntColumn, isValid, foo, description, someLongColumn, someFloatColumn, eventType, bar, id, someBytesColumn]> but was:<[someLongColumn, bar, someFloatColumn, isValid, eventType, id, description, foo, someOtherId, someBytesColumn, someIntColumn]>
[ERROR]   Run 3: ProtobufInputFormatTest.testParseNestedDataSchemaless:370 expected:<[someOtherId, someIntColumn, isValid, foo, description, someLongColumn, someFloatColumn, eventType, bar, id, someBytesColumn]> but was:<[someFloatColumn, isValid, id, description, someOtherId, eventType, someBytesColumn, someLongColumn, bar, foo, someIntColumn]>
[ERROR]   Run 4: ProtobufInputFormatTest.testParseNestedDataSchemaless:370 expected:<[someOtherId, someIntColumn, isValid, foo, description, someLongColumn, someFloatColumn, eventType, bar, id, someBytesColumn]> but was:<[bar, foo, description, id, someBytesColumn, someIntColumn, someOtherId, someFloatColumn, someLongColumn, isValid, eventType]>
[INFO]
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

The applied patch has been tested by setting NonDexRuns to 100 in order to test the resiliency of the change across multiple seeds.

Release note

Addressed minor flakiness observed in ProtobufInputFormatTest.

This PR has:

[X] been self-reviewed.
[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)
[ ] added documentation for new or modified features or behaviors.
[X] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Thank you @cryptoe !


why inference with kv cache have problems?

I have fintune Evo with lora and then inference with cache on, i find that the inference with cache on was not right because i find that it's right when i turn the cache off. I don't know what's wrong with the cache.

I have fintune Evo with lora and then inference with cache on, i find that the inference with cache on was not right because i find that it's right when i turn the cache off. I don't know what's wrong with the cache.

I needed to generate embeddings for 127,906 sequences ranging from 1-40kb, which took 168 hours.  Can you provide some suggestions for improvement, such as model distillation?


Large downloads for non-authenticated users

Is your feature request related to a problem? Please describe.
We can easily provide the option of direct downloads for non-authenticated users. This means, however, that the current functionality of Peace Portal - downloads up to 10'000 documents - would not be provided anymore.
Describe the solution you'd like
As described before in #1229, we could let non-authenticated users enter an email address in the download dialog, to which the download link will be sent after completion. This address should not be saved to the database, however (privacy by design).
Describe alternatives you've considered
As we can somewhat reproduce the current behaviour of the Peace Portal servers by just setting the maximum size for direct download to 10'000, this issue perhaps doesn't have highest priority or might be even a "won't fix" - for the regular I-Analyzer servers, users can make a user account in order to get larger downloads.
Additional context
Perhaps the maximum download size for direct download could also be higher? I think that downloads of up to 10'000 documents can usually be done in a short enough time that the email functionality might not even be necessary. We could even add two settings to a corpus - the max size for direct downloads and the max size for any download (this cap may be removed for users through the permission system). A setting for the direct download cap would be a good idea anyway: right now, both backend and frontend have this number hard-coded.

Perhaps the maximum download size for direct download could also be higher? I think that downloads of up to 10'000 documents can usually be done in a short enough time that the email functionality might not even be necessary.

Hm, it's hard to estimate the cut-off point where you will run into apache timeouts.
The e-mail process does not affect limitations of the user's internet connection, but it means the actual download request can skip the initial processing time to assemble the csv file.
The processing time is mostly limited by the speed by which you can retrieve data from elasticsearch. However, if we replace the encoding choice with xlsx downloads (#963), or allow downloading tags (#1195 ), the processing time would go up (if those options are selected). I can't really estimate by how much, though.
A solution to this (and to offering large downloads to anonymous users) could be to use a polling-based system for downloads. That is, the client posts a request to create the download, and then polls the server to see if the file is ready. When it's ready, you make a request for the actual file. To the user, this will still appear as a direct download in the interface.


Update Add unit tests task

They have been added since this README was created.

Some unit tests exist, but this task is outstanding until we have 100% coverage.

Thanks for the clarification