[CI] Get Hugo via package, make submodule fetch automatic, cleanup .gitignore, etc

Prep for #123
Declares hugo-extended as an NPM dev-dependency
Simplifies local and Netlify builds by using new NPM scripts

Fetching submodules is now done automatically after npm install and on every build command
Updates the netlify.toml config to make use of new scripts, and drops unnecessary entries

Cleans up .gitignore entries / files
Adds a new default make target named help, which lists available targets
Adds .nvmrc, setting the active LTS version as the base requirement

/cc @cjyabraham @nate-double-u

Later versions of Docsy require use of the active LTS version of node, so it's best to update, e.g., run:
nvm install
nvm use
npm install

Can this PR be merged so that I can continue with the Docsy update?


attempting to move an unsnapshotted repo causes an infinite loop

it previously caused a "can't find snapshots" error...
not sure what's going on here

expected behaviour is that handoff creates a snapshot


Document clearly what to do in the face of configuration option warning.

Reported by @elight via twitter:
http://twitter.com/#!/elight/status/112166313518039040
https://gist.github.com/1206353

So, is it really necessary to so actively enforce this policy?

Well, people were getting random, hard-to-explain SystemStackErrors.  I've spent about 40 hours of my time trying to figure out the best solution to work around a ruby 1.9 bug and this is like my 3rd or 4th attempt.  Sorry it's causing pain for you :(.
Believe me, I'm annoyed that this bug exists in 1.9 and I have to put in a crappy work around like this.  What would you suggest as a better solution?  I don't consider letting end users get SystemStackError to be a viable option.
Anyhow, in your case, just remove config.mock_with :rspec.  It's unnecessary as it just configures RSpec to do what it would do anyway.  Then things should work fine, I think.
BTW, I reported the bug in ruby 1.9 to the ruby issue tracker but no one has taken a look at it yet, apparently.  Please comment there if you want to see this bug addressed in ruby.

@pda: I just realized that this thread doesn't really give you the full history of how this warning and error came about.  Read this--it explains the original issue and the attempts I've made to deal with it.
As always, we're open to suggestions for how to better handle it.

Thanks for the link, Myron, that thread / comment makes it much clearer.
What are your thoughts on [removing mock_with :rspec from the default spec_helper] so that less people run into this problem?
I've chimed in on that Ruby 1.9 bug and am trying to solicit some support on Twitter.
Cheers!
Paul

Hey Paul,
Thanks for trying to bring attention to the ruby bug!  And your PR to rspec-rails to remove the unnecessary default config is great, too.  One additional thing we can do to help for a case like yours is to not raise an error when the config is a no-op.  I've opened an issue for this.
Myron


Add code for Tower of Hanoi

Description
Full code of Tower of Hanoi with Documentation and algorithm using Recursive Function.
Domain
Data Structure
Type of Contribution
Addition, Refactoring, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

Assing me the task under GSSOC22

full code with explanation, and also use visuals to explain the recursion step.

I would like to work on this issue under GSSOC'22. Can you assign this to me?

Please assign this to me I am gssoc participant and want to work on this issue.. As I have already solved this problem

Please assign this to me I am gssoc participant and want to work on this issue.. As I have already solved this problem

did you want to collaborate in this issue

Yes  I want to collabrate plz assign this to me..

Yes I want to collabrate plz assign this to me..

Okay! you add the code and prepare readme file
i will add description AND visuals

Thnku Sir for assigning me how much time should i get to work on this issue?

you start working
i will poke you when needed

Sir I have created the file how should i share that??

You mail me the file.

https://docs.google.com/document/d/1zZmITPrLxPvvwIBYw_gKI7EniSViBr3BMnCNQWGTWFQ/edit
On Wed, Apr 13, 2022 at 6:07 PM Khushi Rana @.***> wrote:

On Wed, Apr 13, 2022 at 2:16 PM Mousam Agarwal @.***>
wrote:

You mail me the file.
—
Reply to this email directly, view it on GitHub
https://github.com/Lakhankumawat/LearnCPP/issues/278#issuecomment-1097724322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3XMACLXO2BUQMUAKSRSZDVE2CWJANCNFSM5P2MBXLQ
.
You are receiving this because you commented.Message ID:
@.***>

https://docs.google.com/document/d/1zZmITPrLxPvvwIBYw_gKI7EniSViBr3BMnCNQWGTWFQ/edit
…
On Wed, Apr 13, 2022 at 6:07 PM Khushi Rana @.> wrote: On Wed, Apr 13, 2022 at 2:16 PM Mousam Agarwal @.> wrote: > You mail me the file. > > — > Reply to this email directly, view it on GitHub > <#278 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AV3XMACLXO2BUQMUAKSRSZDVE2CWJANCNFSM5P2MBXLQ > . > You are receiving this because you commented.Message ID: > @.***> >

i have visited your doc file
your description and visuals are perfect
along with code and output
but the way of making #PR is different
i will mail you the details

https://docs.google.com/document/d/1zZmITPrLxPvvwIBYw_gKI7EniSViBr3BMnCNQWGTWFQ/edit
…
On Wed, Apr 13, 2022 at 6:07 PM Khushi Rana @.> wrote: On Wed, Apr 13, 2022 at 2:16 PM Mousam Agarwal @.> wrote: > You mail me the file. > > — > Reply to this email directly, view it on GitHub > <#278 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AV3XMACLXO2BUQMUAKSRSZDVE2CWJANCNFSM5P2MBXLQ > . > You are receiving this because you commented.Message ID: > @.***> >

i have visited your doc file
your description and visuals are perfect
along with code and output
but the way of making #PR

[image: image.png]
sir is this code okay now as we have taken input for the number of disks ??
On Fri, Apr 15, 2022 at 7:09 PM Mousam Agarwal @.***>
wrote:

https://docs.google.com/document/d/1zZmITPrLxPvvwIBYw_gKI7EniSViBr3BMnCNQWGTWFQ/edit
… <#m_-2524430426231053315_>
On Wed, Apr 13, 2022 at 6:07 PM Khushi Rana @.> wrote: On Wed, Apr 13,
2022 at 2:16 PM Mousam Agarwal @.> wrote: > You mail me the file. > > —

Reply to this email directly, view it on GitHub > <#278 (comment)
https://github.com/Lakhankumawat/LearnCPP/issues/278#issuecomment-1097724322>,
or unsubscribe >
https://github.com/notifications/unsubscribe-auth/AV3XMACLXO2BUQMUAKSRSZDVE2CWJANCNFSM5P2MBXLQ
. > You are receiving this because you commented.Message ID: > @.***>

i have visited your doc file
your description and visuals are perfect
along with code and output
but the way of making #PR
—
Reply to this email directly, view it on GitHub
https://github.com/Lakhankumawat/LearnCPP/issues/278#issuecomment-1100116682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3XMAE6QYHNLF23HAALBNTVFFWSHANCNFSM5P2MBXLQ
.
You are receiving this because you commented.Message ID:
@.***>

hey can you please merge the code for issue #278

/assign

Only code sir or the whole file??
On Thu, 5 May, 2022, 11:56 pm Mousam Agarwal, @.***>
wrote:

hey can you please merge the code for issue #278
https://github.com/Lakhankumawat/LearnCPP/issues/278
—
Reply to this email directly, view it on GitHub
https://github.com/Lakhankumawat/LearnCPP/issues/278#issuecomment-1118913642,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV3XMABCA7OIMRFR5MO4AUDVIQHGFANCNFSM5P2MBXLQ
.
You are receiving this because you commented.Message ID:
@.***>

hi @KhushiRana2003  , thanks for your interest
code you want to contribute is already  present in repository https://github.com/Lakhankumawat/LearnCPP/blob/main/R-Recursion/TowerofHanoi.cpp


format on save no longer works in 0.0.20

I can see tflint running in the output, but it is no longer formatting the code on save

Also getting this behavior under 0.0.20. VScode details:

As a workaround, I figured out how to install the previous version:
This stackoverflow answer guides you through the process. The link to download the previous version is here.

It looks like the terraform.formatOnSave setting was removed in favor of using the built-in editor.formatOnSave setting.  If you want to enable format-on-save only for Terraform files, you can add the following to your user settings or workspace settings:
{
  "[terraform]": {
    "editor.formatOnSave": true
  }
}

Actually the changelog mentions this: https://github.com/mauve/vscode-terraform/blob/master/CHANGELOG.md#0020.

I should have been more clear, @jacobwgillespie . That config was tried, the old style was removed, and the Terraform output console shows terraform fmt successfully running against files that continue to not get formatted. I think there's still a bug here.
terraform.format: running 'terraform fmt' on '/Users/brandonoconnor/Development/git/foo/variables.tf'
terraform.format: Successful.

Ah, I see, gotcha.  Well in that case, I can confirm that format-on-save is working for me with the above settings, vscode-terraform version 0.0.20, and VS Code 1.19.0.  Do you have any other settings or extensions that might influence file formatting?

I just tried to reproduce this but cannot reproduce for editor.formatOnSave. Format on save works for me with the following setting:
"editor.formatOnSave": true

or
{
  "[terraform]": {
    "editor.formatOnSave": true
  }
}

However format on save does not work with editor.autoSave which I think is by design in VSCode, at least this is what the settings documentation says:
// Format a file on save. A formatter must be available, the file must not be auto-saved, and editor must not be shutting down.
"editor.formatOnSave": false,

The formatter does not even seem to be invoked when editor.autoSave is true, however manually invoking save by Cmd+S or Ctrl+S.

@cludden: just a quick fyi: tflint is for linting, it has nothing with formatting to do. Formatting is done by terraform fmt, you should see the following output in the Output tab:
terraform.format: running 'terraform fmt' on '/Users/olenfalk/projects/vscode-terraform/templates/template.tf'
terraform.format: Successful.

@brandoconnor @cludden just to be clear do you have problems with the formatOnSave in general or is it the removal/breakage of the formatOnAutoSave feature which you are referring to?

Format on save is disabled when the save reason is auto:
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/electron-browser/mainThreadSaveParticipant.ts#L190-L193

@mauve I wasn't aware of the editor.formatOnSave setting.. that fixed it. thanks for clearing it up!

@cludden - Nope still not fixed here. Please reopen.
@mauve - I've verified that "editor.formatOnSave": true, editor.autoSave is non-existent (not even a valid configuration), and formatting is working on other file types. As mentioned in my previous comment, terraform.format shows the expected output on the correct file but nothing happens to the file. If I go to the terminal and terraform fmt manually, the file is formatted, but the extension is still not doing what it claims to be doing in the output. Any other settings to try or debugging that can be turned up?

broken for me as well...

@brandoconnor ok I will take another look tonight, sorry for breaking your setup, if you can think of any other info which might narrow this down for me please keep commenting here.

Just tried once more with both settings as suggested on #46 and that wasn't successful.

Seems like uninstalling and re-installing the extension helps

Wish I could have that same story @mspaulding06 🤷♀ . I've probably uninstalled and reinstalled the new version 10x in the course of troubleshooting.

Hi guys, thanks for being patient:
Please test the new version and tell me if it still doesn't work for you:
0.0.21
What's New

Auto completion support @ranga543
Format on save is back (closes #45, #47)
Tools can now be installed in directories which have spaces @xeres

Format on save
The last version introduced usage of the correct extension APIs for registering formatting
providers. VSCode then automatically invokes the formatting provider on save if editor.formatOnSave has been specified. VSCode however does never invoke the formatting
provider if the save operation came from an auto-save event.
0.0.21 reintroduces the manual code which handled format on autosave instead of relying on
VSCode to perform those operations. The following configuration options have changes as result
of that:

terraform.format.enable: needs to be true
terraform.format.formatOnSave: needs to be true
terraform.format.ignoreExtensionsOnSave: can be used to exclude .tfvars for example from autosave formatting

The global setting: editor.formatOnSave should be false for Terraform files and the
extension contributes that default configuration. Please verify that you do not have
conflicting configuration, by removing the following setting if you have it:
"[terraform]": {
  "editor.formatOnSave": true
}

The configuration editor.formatOnSave will have the correct setting contributed by Terraform.


GradientTape.gradient needs to check target type.

https://github.com/tensorflow/tensorflow/blob/b36436b087bd8e8701ef51718179037cccdfc26e/tensorflow/python/eager/backprop.py#L991
Recently, I wrote some code below which is very simple,
tape.gradient(loss, model.trainable_variables)

but it raises TypeError: Cannot convert value None to a Tensorflow DType.
It turns out my custom loss function is returning None. yes, I know I was dumb.
I had to check all of the related tensorflow code lines to find this dumb problem.
So, I suggest the type checking block inside of this code.
I think this suggestion can be helpful for fools like me.
Thanks in advance :)

@aingo03304,
In order to expedite the trouble-shooting process, could you please provide the TensorFlow version, the complete code to reproduce the issue and the dataset you are using. Thanks!

@amahendrakar Thank you for the kind and quick response!
You can reproduce with this code sample which is very simple.
import tensorflow as tf
def get_loss(y_true, y_pred):
    pass

with tf.GradientTape() as tape:
    tape.gradient(get_loss(1, 2), None)

It raises TypeError: Cannot convert value None to a TensorFlow DType.on tensorflow 2.3.0.
It is foolish code, but the error is raised in tensorflow/python/framework/dtypes.py and the message doesn't tell you that the loss function is wrong.
Because the error message should help people to find out where the code has a fault, I suggested you add some type check features in gradient function which is visible to users.
And the docstring on gradient function says,
 Args:
      target: a list or nested structure of Tensors or Variables to be
        differentiated.
      sources: a list or nested structure of Tensors or Variables. `target`
        will be differentiated against elements in `sources`.
      output_gradients: a list of gradients, one for each element of
        target. Defaults to None.
      unconnected_gradients: a value which can either hold 'none' or 'zero' and
        alters the value which will be returned if the target and sources are
        unconnected. The possible values and effects are detailed in
        'UnconnectedGradients' and it defaults to 'none'.

I would add the message like TypeError: target should be a list or nested structure of Tensors or Variables to be differentiated, but (TYPE) given.

@ymodak Hi, can you tell me what the bug related to this issue? Just curious about it.

Closing this issue since the 3edb086 commit fixes it. Thanks!

Closing this issue since the 3edb086 commit fixes it. Thanks!


Build changes

https://monday.monday.com/boards/3532714909/pulses/4896447936

@shlomitc  Fixed the dependency issue by using npm instead of yarn🥳


Tensorflow XLA overview.md renamed to architecture.md (Broken link)

In Readme.md the XLA is linking to:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/g3doc/overview.md
But it seems it moved to:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/g3doc/architecture.md
It is minor bug, but can be annoying for newcommers.

Thanks for catching this! I think we now want to link here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/xla/g3doc/index.md


How to do this on macOS

please can you help to build a  version for macOS?

Hi, unfortunately, I do not own an Apple machine nor I have a CI set-up for MacOS. Therefore, it will be a little bit hard for me to help you (pull requests welcome).
Have you tried to follow the instructions for Linux shared library? Where has it failed and what error has it produced? Have you installed Bazel and brew install coreutils? Have you tried to edit build_tensorflow.sh using MacOS compilation guide?
You don't have to bother with CUDA settings, since Google dropped the GPU support for MacOS in TF 1.2.0 anyway.

I am using TF1.1.0, and I got a GPU configured with my mac.
I have successfully built TF from source and I have built the libtensorflow_cc.so successfully on  my Mac.

However,

I am not familiar with CMAKE, so it is hard for me to create a similar project for Mac.
I am not sure how to use that libtensorflow_cc.so lib on Mac. I have copied it to /usr/local/lib directory but seems it does not work. [Do you have any suggestion about how to use a .so lib on Mac? I have googled but cannot find a good helpful guide.]

tensorflow_cc.so is not the only thing you need. There are plenty of headers and directories you have to include when compiling your code that uses the TF C++ API. That is why this project uses CMake - to do this automatically for you.
If you really want to use tensorflow_cc.so without the help of this project, you have two options.

Build your code using Bazel as described in the official guide. Your code has to be placed inside the tensorflow repository hierarchy.

Build your code manually. See this StackOverflow answer that lists the directories you have to include (using -I flag in your compiler). Also don't forget to link -lpthread and -ldl.

However, I would still suggest to use this project instead, since it becomes a lot easier. Since you have built tensorflow_cc.so once already, your system must have all the dependencies installed. Therefore, you should be able to follow the instructions beginning from step 2). Just install CMake and try to follow the commands used for building the shared library. You don't have to be familiar with CMake, copy paste and uncommenting a few lines should be sufficient.
One more thing, if you want GPU support on macOS, you should change this line to GIT_TAG v1.1.0. I cannot guarantee it will work then, however.

I've compiled the tensorflow_cc.so libs and gathered the necessary headers for developing your own C++ programs with tensorflow on macOS. I made a little blog post from it. However, it is not really a clean way of doing it.
http://www.blitzblit.com/2017/06/11/creating-tensorflow-c-headers-and-libraries/

@FloopCZ
Great, thank you so much. I have followed your instructions and your example is actually working now.
I would like to try for my own project.
And I have one question here:
You mentioned in your last reply for me that "You don't have to be familiar with CMake".
But to build my own project, I still need to configure a CMakelist.txt by myself, is it? There's no way to use the TF C++ API without CMake under the circumstance that I used your project here, is it?

@gilbertfrancois
I have tried your suggestions. But since I am not familiar with CMake, I stopped at the last step in your post. Thank you for your info. I think I shall spend some time learning CMake.

Glad it worked!
And yes, you are right. To build your own project, you have to configure CMakeLists.txt by yourself, or with the help of your IDE. If you don't want to use CMake at all (which I would not recommend), you can do the following. Instead of building the example using make command, run VERBOSE=1 make. Then you will be provided with the exact command that is run to build the example. Then, you can use the compiler flags for your own project.

You mentioned in your last reply for me that "You don't have to be familiar with CMake".
But to build my own project, I still need to configure a CMakelist.txt by myself, is it? There's no way to use the TF C++ API without CMake under the circumstance that I used your project here, is it?

See my previous reply that describes how to extract the raw compiler command.

And I haven't verified that whether my previous tensorflow installation of python3 still working or not. Do you have a quick answer that can tell me it is not affected by using your project? Thank you.
(I think probably not affected. since your are not building //tensorflow/tools/pip_package:build_pip_package)

Exactly as you say, your original python TF is not affected.

@FloopCZ I have this problem when linking my custom prediction cpp on macOS. Do you have any suggestions? Thanks.  https://github.com/tensorflow/tensorflow/issues/13306


Provide catalog name as a "page_sub_title" entry in the template context

So that templates can include the catalog name as desired.

 (1) Catalog page titles need the sub-catalog name in their title.

:+1:


Create Quick_Sort.py

Quick Sort is a divide-and-conquer sorting algorithm that selects a pivot, partitions the array into elements smaller and larger than the pivot, and recursively sorts the sub-arrays.

Time Complexity: Best/Average: O(n log n); Worst: O(n²) (when the pivot is poorly chosen).
Advantages: Fast for large datasets, in-place sorting, and cache-efficient.


[5.7] Verify email link is broken

Laravel Version: 5.7.2
PHP Version: 7.2.9
Database Driver & Version: MariaDB (not sure)

Description:
The link on the link in the verify email is broken, the text on it and the button is not.
Etc this link: https://mydomain.com/email/verify/5123?expires=1537460881&signature=(signature)
With this text: https://mydomain.com/email/verify/5123?expires=1537460881&signature=(signature)
So the issue is the: amp;
I found this due to #25597 as my buttons where invisible so the users clicked on the link instead, and then came back to me and said it didn't work.
Steps To Reproduce:

Send verification email
click on the link in the email
unauthorised

See #25515.


Various developer improvements

Started to fix #633, but I noticed, that I misunderstood something: since ADLS2 is based on blob containers, the current interface works just fine with ADLS2 storage for accessing files.
But as I started setting up the dev environment before actually checking the function, I still have some code to contribute.
I think, some people might find VS Code Devcontainers useful for developing further features without huge struggles to setup the dev env. Feel free to cherry pick.

@niklub @nicholasrq @makseq whats the review process like? Do I need to provide anything else?

???

@farioas please, review it.

The devcontainer is the most important change in this PR to me as it enables codespaces/devcontainers. As stated in the original message: feel free to cherry pick 😄

If the devcontainer is the only thing you'd like to merge, it's probably easier to create a new PR with just this change, right?

I'd recommend to adjust the existing pull-request, since we already have a lot of abandoned pull-requests 😄

@farioas might have butchered the commit history a bit while trying to rebase and merge. Please use squash.


Use Lerna to maintain repos and pkgs

REF: https://github.com/Canner/antd-canner-components

PR merged: https://github.com/Canner/canner/pull/45
Close this issue.


User gets white screen after update is deployed

Whenever I push updates to my app, users that have already used it get a white screen, and they have to clear their cache in order for the update to work? Is there some way to fix this?
I've tried following the instructions at this page: https://github.com/NekR/offline-plugin/blob/master/docs/updates.md
but I'm still having users get a white screen. It seems to mostly affect safari, so it could have something to do with safari not supporting service workers.

@NekR?

It seems to mostly affect safari, so it could have something to do with safari not supporting service workers.

Safari doesn't support ServiceWorker and AppCache is disabled in react-boilerplate by default, so nothing could affect Safari from offline-plugin side here. @andylhansen what makes you feel it's offline-plugin related? What config of it you are using? What version?

Yesterday I had exactly same problem - just after upgrading react-boilerplate there is "white page" in production build. (dev working without any problems)
after some time of debugging I found a problem: react-loader-advanced
If I commented it out - everything works again...
you can reproduce this error:
git clone git@github.com:mxstbr/react-boilerplate
npm run setup
npm install react-loader-advanced --save
and add import Loader from 'react-loader-advanced' to HomePage for example
now it will show blank screen on production build.

I'm using version 3.1.0 of the react boilerplate.
It could be the lack of offline-plugin support is causing the issue.
I am using the boilerplate's built in production server. Perhaps the server is telling the browser to cache the files for too long, or is returning an improper 304 code?
Before I added the service worker auto-reload code that I mentioned, both safari and chrome would get the blank screen whenever I pushed updates, and they wouldn't load until I hard refreshed. With the auto reload code, chrome still shows the blank screen for a few seconds before reloading. Safari just stays on the blank screen until a hard reload.

Closing due to inactivity


Ensure Dockerfile is always in context

…because the builder needs it
Same as https://github.com/defang-io/pulumi-defang/commit/ffb88e84da80e26694714f1bc43a3828779cfb4b

Hmm, this still needs to handle the case where Dockerfile is ignored by .dockerignore but so is .dockerignore itself: the Dockerfile would be included, but not the ignore file, resulting in potentially exposing the Dockerfile to the build.


default pose model crashing

Description
Hi, I am trying to run pose_camera.py with a USB camera and it is crashing at variable times (sometimes it takes 10 minutes and sometimes it takes 10seconds). The only thing I've changed are the frame rate and the resolution (because of the camera specs), but I don't know how to fix this issue because the whole camera display shuts down and I am taken back to the login screen again.
Click to expand!
Issue Type
Bug, Build/Install, Performance, Support
Operating System
Mac OS
Coral Device
Dev Board
Other Devices
USB Camera
Programming Language
Python 3.7
Relevant Log Output
(base) ilonademler@dhcp-10-250-96-201 research % screen /dev/cu.SLAB_USBtoUART12 115200

[    8.129147] uvcvideo 1-1:1.0: Entity type for entity Processing 2 was not initialized!
[    8.139966] hif_pci_probe:, con_mode= 0x0
[    8.151941] uvcvideo 1-1:1.0: Entity type for entity Camera 1 was not initialized!
[    8.160297] PCI device id is 003e :003e
[    8.169820] input: Web Camera: Web Camera as /devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/input/input2
[    8.179359] hif_pci 0000:01:00.0: BAR 0: assigned [mem 0x18000000-0x181fffff 64bit]
[    8.193407] usbcore: registered new interface driver uvcvideo
[    8.194394] Galcore version <IP_ADDRESS>6507
[    8.207467] hif_pci 0000:01:00.0: enabling device (0000 -> 0002)
[    8.215057] USB Video Class driver (1.1.1)
[    8.224894]
[    8.224894]  hif_pci_configure : num_desired MSI set to 1
[    8.311038] usbcore: registered new interface driver snd-usb-audio
[    8.525411] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    8.780736] hif_pci_probe: ramdump base 0xffff800025200000 size 2095136
[    8.804759] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[    9.350869] using random self ethernet address
[    9.359101] using random host ethernet address
[    9.375278] using random self ethernet address
[    9.375282] using random host ethernet address
[    9.430579] random: crng init done
[    9.439097] random: 7 urandom warning(s) missed due to ratelimiting
[    9.552120] +HWT
[    9.564714] -HWT
[    9.589378] HTT: full reorder offload enabled
[    9.619672] Pkt log is disabled
[    9.626741] target uses HTT version 3.50; host uses 3.28
[    9.631186] Host SW:<IP_ADDRESS>, FW:<IP_ADDRESS>8, HW:QCA6174_REV3_2
[    9.648167] ol_pktlog_init: pktlogmod_init successfull
[    9.648499] wlan: driver loaded in 1528000
[    9.798817] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.810871] Generic PHY 30be0000.ethernet-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=30be0000.ethernet-1:00, irq=POLL)
[    9.827350] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.869982] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    9.870458] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    9.970243] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   10.407770] usb0: HOST MAC f2:7c:56:aa:d7:74
[   10.422973] usb0: MAC 02:22:78:0d:f6:df
[   10.433342] usb1: HOST MAC 02:22:78:0d:f6:dd
[   10.442665] usb1: MAC 02:22:78:0d:f6:de
[   10.664243] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   10.675725] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   10.690799] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   10.708845] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   10.942321] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   10.953887] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   10.969870] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   10.980110] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   11.736712] i.mx8-hdp 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0

Mendel GNU/Linux (eagle) undefined-calf ttymxc0

undefined-calf login: [   13.133234] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   22.725226] [drm] HDMI/DP Cable Plug Out

Hi, have you tried with any other frame rate and the resolution? Can you please share the frame rate and resolution you are using and the output of below command. Thanks!
v4l2-ctl --list-formats-ext --device /dev/video1

Running the command gives:
Interval: Discrete 0.033s (30.000 fps)                         Interval: Discrete 0.040s (25.000 fps)                 Size: Discrete 1440x1080                         Interval: Discrete 0.033s (30.000 fps)                         Interval: Discrete 0.040s (25.000 fps)                 Size: Discrete 1920x1080                         Interval: Discrete 0.033s (30.000 fps)                         Interval: Discrete 0.040s (25.000 fps)         [2]: 'YUYV' (YUYV 4:2:2)                 Size: Discrete 320x240                         Interval: Discrete 0.033s (30.000 fps)                 Size: Discrete 480x272                         Interval: Discrete 0.033s (30.000 fps)                 Size: Discrete 640x360                         Interval: Discrete 0.033s (30.000 fps)                 Size: Discrete 640x480                         Interval: Discrete 0.033s (30.000 fps)                 Size: Discrete 800x600                         Interval: Discrete 0.067s (15.000 fps)                 Size: Discrete 1024x576                         Interval: Discrete 0.100s (10.000 fps)                 Size: Discrete 1280x720                         Interval: Discrete 0.100s (10.000 fps)
This is the file:
`Last login: Thu Apr 14 13:52:47 on ttys001
(base) ilonademler@dhcp-10-250-96-201 ~ % ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port		/dev/cu.WH-1000XM4-Airoha_APP
/dev/cu.DimasAirPods-WirelessiAP	/dev/cu.WH-1000XM4-GSOUND_BT_AU
/dev/cu.DimasAirPods2-Wirelessi		/dev/cu.WH-1000XM4-GSOUND_BT_CO
/dev/cu.JBLFlip5-vCOMM			/dev/cu.WH-1000XM4-IAPSERVER
/dev/cu.SLAB_USBtoUART			/dev/cu.WH-1000XM4-SerialHPC
/dev/cu.SLAB_USBtoUART12		/dev/cu.WH-1000XM4-SerialMC
/dev/cu.STOCKWELLII-SPPDev
(base) ilonademler@dhcp-10-250-96-201 ~ % screen /dev/cu.SLAB_USBtoUART12 115200
[detached]
(base) ilonademler@dhcp-10-250-96-201 ~ %
(base) ilonademler@dhcp-10-250-96-201 ~ %
(base) ilonademler@dhcp-10-250-96-201 ~ % screen kill
[screen is terminating]
(base) ilonademler@dhcp-10-250-96-201 ~ % ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port		/dev/cu.WH-1000XM4-Airoha_APP
/dev/cu.DimasAirPods-WirelessiAP	/dev/cu.WH-1000XM4-GSOUND_BT_AU
/dev/cu.DimasAirPods2-Wirelessi		/dev/cu.WH-1000XM4-GSOUND_BT_CO
/dev/cu.JBLFlip5-vCOMM			/dev/cu.WH-1000XM4-IAPSERVER
/dev/cu.SLAB_USBtoUART			/dev/cu.WH-1000XM4-SerialHPC
/dev/cu.SLAB_USBtoUART12		/dev/cu.WH-1000XM4-SerialMC
/dev/cu.STOCKWELLII-SPPDev
(base) ilonademler@dhcp-10-250-96-201 ~ % screen /dev/cu.SLAB_USBtoUART12 115200
[screen is terminating]
(base) ilonademler@dhcp-10-250-96-201 ~ % ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port		/dev/cu.WH-1000XM4-Airoha_APP
/dev/cu.DimasAirPods-WirelessiAP	/dev/cu.WH-1000XM4-GSOUND_BT_AU
/dev/cu.DimasAirPods2-Wirelessi		/dev/cu.WH-1000XM4-GSOUND_BT_CO
/dev/cu.JBLFlip5-vCOMM			/dev/cu.WH-1000XM4-IAPSERVER
/dev/cu.SLAB_USBtoUART			/dev/cu.WH-1000XM4-SerialHPC
/dev/cu.SLAB_USBtoUART12		/dev/cu.WH-1000XM4-SerialMC
/dev/cu.STOCKWELLII-SPPDev
(base) ilonademler@dhcp-10-250-96-201 ~ % screen kill
[screen is terminating]
(base) ilonademler@dhcp-10-250-96-201 ~ % screen /dev/cu.SLAB_USBtoUART12 115200
[screen is terminating]
(base) ilonademler@dhcp-10-250-96-201 ~ %
(base) ilonademler@dhcp-10-250-96-201 ~ %
(base) ilonademler@dhcp-10-250-96-201 ~ % ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port		/dev/cu.WH-1000XM4-Airoha_APP
/dev/cu.DimasAirPods-WirelessiAP	/dev/cu.WH-1000XM4-GSOUND_BT_AU
/dev/cu.DimasAirPods2-Wirelessi		/dev/cu.WH-1000XM4-GSOUND_BT_CO
/dev/cu.JBLFlip5-vCOMM			/dev/cu.WH-1000XM4-IAPSERVER
/dev/cu.SLAB_USBtoUART			/dev/cu.WH-1000XM4-SerialHPC
/dev/cu.SLAB_USBtoUART12		/dev/cu.WH-1000XM4-SerialMC
/dev/cu.STOCKWELLII-SPPDev
(base) ilonademler@dhcp-10-250-96-201 ~ % screen /dev/cu.SLAB_USBtoUART 115200
    start_time = time.monotonic()
    outputs, inference_time = engine.ParseOutput()
    end_time = time.monotonic()
    n += 1
    sum_process_time += 1000 * (end_time - start_time)
    sum_inference_time += inference_time * 1000

    avg_inference_time = sum_inference_time / n
    text_line = 'PoseNet: %.1fms (%.2f fps) TrueFPS: %.2f Nposes %d' % (
        avg_inference_time, 1000 / avg_inference_time, next(fps_counter), lee

n(outputs)
)
    shadow_text(svg_canvas, 10, 20, text_line)
    for pose in outputs:
        draw_pose(svg_canvas, pose, src_size, inference_box)
    return (svg_canvas.tostring(), False)

run(run_inference, render_overlay)

if name == 'main':
main()
`

The only thing I've changed are the frame rate and the resolution (because of the camera specs)

Can you please share the frame rate and the resolution you are using. Thanks!

Using a frame rate of 30 and resolution of 640 x 480

Seems to be you are using the default values. It should be working fine, not sure why it is not working for you. Have you tried examples-camera repo examples and are you experiencing the same behavior?


Add designated channels and message editing and deletion logging

Added the ability to create and register designated channels and broadcast messages to those channels.
as well as the ability to log message edits and deletions into designated channels

Ill leave this open for a bit if anyone wants to comment or review


Extend ESS testdataset with several impacted nodes for one part

As tester,
I want to have ESS testdata with several impacted supplychains for one part,
so that i can test whether all nodes are valid or invalid.
Hints / Details

See current testdataset "ESS_Testdata_v2.0.0-AsPlanned.json".

Outcome / Acceptance Criteria
Outcome

ESS testdataset contains parts which have more impacted nodes for one incidentBPN in a data chain

Acceptance Criteria

ESS testdataset has been extended with several impacted nodes for one part.

Out of Scope

...

Ticket can be closed since "Vehicle A" in the testdata contains two impacted parts for the BPN "BPNL...3B6LU".


Move VideoCallClient into its own crate

This is a continuation of #137.    It's the same code, but takes it to the next step:   Crate-ified the VideoCallClient stuff:  Moved all the code from yew-ui/src/model into a new top-level workspace & crate videocall-client.   And added documentation!    And of course also conformed yew-ui to use the new crate.
For ease of seeing what's going on here, I've based this PR off the client branch.    Dunno whether you'd want to merge this onto that branch for merging as part of #137, or I can change this to be based off main and merging this would supercede #137, or wait until #137 is merged on its own then I can rebase all this off of main and update this PR.  I have no strong opinions.  But it's done and working so figured I'd put it out for eyeballs now :)

Ok, I'll take a look, thanks for this huge contribution @ronen !!

@ronen @griffobeid I think that you guys should talk about https://github.com/security-union/videocall-rs/pull/144


Fix a 403 error when loading page contents

Added an User-Agent header to the session to prevent the 403 error when crawling.
Also bumped the version of the lxml to version 5.2.1 so it works with python v3.12.

Need to fix the commits


How to use with OpenVPN

Hi, I wonder if it is possible to use VpnDialerPlus with an OpenVPN connection, I use the OpenVPN gui normally.
And if possible, could you guide me in any way?

VpnDialerPlus only controls the built-in VPN client in Windows, so it only works with the protocols supported by Windows itself.  Unfortunately Windows doesn't yet support the OpenVPN protocol, but I guess we can hope Windows 11 adds it.

I see, well, I found a way to do this properly
https://github.com/katlogic/bindip
Works as a charm :D
Thanks anyway @saucecontrol
Best regards


404 at /desktop/previous-versions/3.x-windows/undefined

I found a broken link : https://docs.docker.com/desktop/previous-versions/3.x-windows/undefined
I arrived on this page through: https://docs.docker.com/desktop/previous-versions/3.x-windows/

Closing this ticket in favor of https://github.com/docker/docker.github.io/issues/13553, but if you're able to provide more details that could help us find the problem, feel free to comment on that ticket.


Pool Swap - Updated input fields

What would you like to be added:
https://www.figma.com/proto/SDIpZciuxJlUf4xf8yheiY/Mobile-Light-Wallet?node-id=1461%3A31134&viewport=241%2C48%2C0.98&scaling=scale-down&starting-point-node-id=1470%3A54060&show-proto-sidebar=1
Why is this needed:

@thedoublejay should i update the bottom summary UI too? For example the slippage tolerance

@thedoublejay should i update the bottom summary UI too? For example the slippage tolerance

You can do it on next iterations. Important part is the input fields so it's consistent with Send, Add LP etc.


whereILike is missing from QueryBuilder

Objection is missing https://knexjs.org/guide/query-builder.html#whereilike from Knex

Fixed in #2372


Parallel.ForEach failing on Linux instance but works on Windows machine.

Issue Title
Parallel.ForEach construct/method is failing with Task was canceled error on Linux instance but works flawlessly on Windows machine.
General
We have an application, which pulls data from S3 and writes to the database. In the application, we are opening threads for concurrency/parallelism where each thread pulls from a particular S3 key.
The original application code was written in .Net framework 4.6.1, we migrated the codebase to .Net core 3.0. It was an easy transition.
Below is the code snippet for Parallel.ForEach for pulling data and processing:
Parallel.ForEach(PotentialFiles.Rows.OfType<DataRow>(), (row) =>
{
    if (ProcessFile(row[1].ToString(), Date, 15))
    {
        LastFileID = Math.Max(LastFileID, Convert.ToInt32(row[0]));
        FirstFileID = Math.Min(FirstFileID, Convert.ToInt32(row[0]));
    }
});

We are getting aggregation exception:

System.AggregateException: One or more errors occurred. (One or more errors occurred. (A task was canceled.))

ProcessFile method includes S3 get objects from AWSSDK.S3 which is the asynchronous method.
But the same piece of code runs flawlessly on Windows.
We could fix the issue using Partitioner:
var tasks = System.Collections.Concurrent.Partitioner.Create(PotentialFiles.AsEnumerable())
                .GetPartitions(10)
                .Select(partition => Task.Run(() =>
                {
                    using (partition)
                    {
                        while (partition.MoveNext())
                        {
                            var row = partition.Current;
                            if (ProcessFile(row[1].ToString(), Date, 15))
                            {
                                LastFileID = Math.Max(LastFileID, Convert.ToInt32(row[0]));
                                FirstFileID = Math.Min(FirstFileID, Convert.ToInt32(row[0]));
                            }
                        }
                    }
                })).ToArray();

await Task.WhenAll(tasks);

With the above piece of code, it works on the Linux instance.
If .Net Core is cross-platform, then why the same piece of code does not work on different platforms (Windows and Linux). Is it the issue with Task scheduler being different on different platforms?
What am I missing here?

Can you include the full exception information here, including stack trace and inner exceptions?

System.AggregateException: One or more errors occurred. (One or more errors occurred. (A task was canceled.))
---> System.AggregateException: One or more errors occurred. (A task was canceled.)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at AWSSynch.DailyTelemetryData.ProcessFile(String FileKey, DateTime Date, Int32 NumOfAttempts) in /home/ubuntu/MigratedCodeBase/AWSSynch/DailyTelemetryData.cs:line 156    at AWSSynch.DailyTelemetryData.<ProcessDailyData>b__12_0(DataRow row) in /home/ubuntu/MigratedCodeBase/AWSSynch/DailyTelemetryData.cs:line 91    at System.Threading.Tasks.Parallel.<>c__DisplayClass44_02.b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
at System.Threading.Tasks.Parallel.<>c__DisplayClass44_02.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)    at System.Threading.Tasks.TaskReplicator.Replica.Execute()    --- End of inner exception stack trace ---    at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure)
at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable1 source, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable1 source, Action1 body)
at AWSSynch.DailyTelemetryData.ProcessDailyData() in /home/ubuntu/MigratedCodeBase/AWSSynch/DailyTelemetryData.cs:line 87
at AWSSynch.DailyTelemetryData..ctor(DateTime Date, Logger log) in /home/ubuntu/MigratedCodeBase/AWSSynch/DailyTelemetryData.cs:line 44
at AWSSynch.DailyTelemetryData.ProcessOldestDay(Logger log) in /home/ubuntu/MigratedCodeBase/AWSSynch/DailyTelemetryData.cs:line 55
at AWSSynch.Program.Main(String[] args) in /home/ubuntu/MigratedCodeBase/AWSSynch/Program.cs:line 27

Your stack trace is showing the exception is being thrown inside of ProcessFile, not by Parallel.ForEach.
Unrelated, you have a race condition here as LastFileID and FirstFileID will be used by multiple threads:
        LastFileID = Math.Max(LastFileID, Convert.ToInt32(row[0]));
        FirstFileID = Math.Min(FirstFileID, Convert.ToInt32(row[0]));

In the ProcessFile method, we are calling async operation for pulling objects from S3.
But the same piece of code worked on Windows but not on Linux, even with a clean build. Based on my reading, we should not be using Parallel.ForEach for async operations which I totally agree with.
My concern is about .Net core application running on Windows but not on Linux, I had it make it work on Linux using the Partitioner. And I did not see any race condition, either in .Net framework (previous codebase before migrating to .Net Core) or after the fix.

Okay, the next step is to get a small repro that demonstrates the problem.

Closing this out -- I hope you were able to find the cause. Please re-open if you're able to provide a repro.


Type inference for a record/class behaves differently when module is open or not

In a module that defines a record R and a discriminated union type where one case is called R, type inference is able to distinguish between the 2 types when the module is open, but not when I qualify the type name with the module name.
Repro steps
module Module =
    type R = { a: int } with static member New = { a = 1 }
    type Choice = | R of R
open Module
// This is accepted, R is inferred to be the record type.
let record1 = R.New
let choice1 v =
    match v with
    | R r -> r
    | _ -> failwith "Nope."
// R is inferred to be of type Choice.R, hence R.New not recognized.
let record2 = Module.R.New
let choice2 v =
    match v with
    | Module.R r -> r
    | _ -> failwith "Nope."

Expected behavior
In record2, I would have expected that Module.R is inferred to be the record type.
Actual behavior
Module.R is inferred to be of type Choice.R
Known workarounds
Open the module.
Related information
Tested in Microsoft (R) F# Interactive version 14.0.23413.0, Windows 10, Visual Studio 2015.
Originally submitted here

proposed a fix in #1512

This issue still persists, exactly as described by @ant0nsc.
Tested with

Microsoft (R) F# Interactive, Version 10.2.3 for F# 4.5, and
dotnet 2.1.401


can't use vs code

Type: Bug
i can't go out from workapace trust
VS Code version: Code - OSS Dev 1.82.0-dev (Commit unknown, Date unknown)
OS version: Windows_NT x64 10.0.22000
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4310U CPU @ 2.00GHz (4 x 2594)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.92GB (2.35GB free)

Process Argv
--crash-reporter-id ef076e01-35cb-4bf1-b87d-37b802aa5b87

Screen Reader
no

VM
0%

Extensions: none

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.83.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Greenkeeper/sequelize 4.23.0

Changes Unknown when pulling c118412b08606dc44a1b2f0a71ed78c9ff3944db on greenkeeper/sequelize-4.23.0 into ** on master**.


What is the issue with bismark >0.15.0

In your user guide, you suggest the usage of bismark 0.15.0 due to an issue introduced in version 0.16.0 and still persisting in 0.18.
Can you link the issue or describe the flaw? This would allow checking for that issue and maybe upgrading to a newer version of bismark.
Thanks in advance!

@greatfireball
The issue is described here and here.

Thx for your answer!


Affecting context menu

It is now affecting the context menu. For some reason the spell check alternative words disappears in the context menu (right click menu)

I am aware of this issue since its initial release. Thank you for reporting it.
The problem occurs when a text block is deselected during a right-click due to a gesture being drawn. We will look into the relevant functions and work towards fixing this bug as soon as possible.

There is also an existing bug where the right-click context menu becomes disabled when switching between edit mode and preview mode. If possible, I recommend using the plugin primarily in edit mode for now. Additionally, these bugs often disappear after restarting Obsidian, making them difficult to reproduce and debug.
Regarding the disappearance of the desired menu options in the context menu, it is likely due to the word not being selected at the time of the right-click. In the default behavior of Obsidian, right-clicking on a word automatically selects it. Unfortunately, I have not yet implemented this functionality in the plugin.
Thank you for your understanding as I continue to work on improving these bugs!


Fix Tuya motion scaling

Proposed change

This updates Tuya motion to scale min, max, and target distance correctly.
Fixes: https://github.com/zigpy/zha-device-handlers/issues/3636
Additional information

Added a few devices that were listed in z2m but not in the original quirk.
Added a couple DPs that were present in z2m.

Checklist

[ ] The changes are tested and work correctly
[x] pre-commit checks pass / the code has been formatted using Black
[x] Tests have been added to verify that the new code works

I can confirm that these changes are working correctly.


Add docker based build of armv6 for Raspberry Pi

For resolving UnsatisfiedLinkError #58, #141

@gitblit Tried to build Raspberry Pi by using docker. Please merge this PR if you get any success report with this. I don't have Raspberry Pi, so have no way to test it by myself.

Binaries for testing this is available from here: https://oss.sonatype.org/content/repositories/snapshots/org/xerial/sqlite-jdbc/3.14.2-SNAPSHOT/sqlite-jdbc-3.14.2-20160922.165637-1.jar

@xerial Awesome!  Btw, when I committed the update for 3.14.2 it was purely for changes to the build system.  We still need Linux binaries compiled against the older glibc.  I can't recall what base you were using.

For linux x86 and X86_64, I'm using an old CentOS 5 (glibc 2.5) for supporting as many versions of Linux as possible since glibc is guaranteed to be backward compatible.

@gitblit Actually I found there is no Linux x86(_64) binary difference with the ones I built 6 months ago https://github.com/xerial/sqlite-jdbc/commit/eb8fd076cf29f0a21dd76917587c0c7f5f6c8ede

@xerial How can that be??  Way different SQLite version!

@gitblit Actually these native libraries are built against 3.14.2 :)

I'm now double checking...

It seemed my VMWare's file cache was broken. I pushed the new native libs. Sorry for the confusion

Added scripts for building arvm5 (soft float), and armv6 (hardfloat) libs.

Got a success report on Raspberry Pi. I'll merge it.


Add ViewSelector Search Functionality

Added search box and functionality to ViewSelector so that views can now be searched for convenience. (#632)

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

I think the sizing needs a bit of work -- I'm getting a scroll bar with the search icon scrolled off:

@calebmshafer @aruniverse Did you want to backport this to 3.6.x ?

@mergifyio backport release/3.6.x

@Mergifyio backport release/3.6.x

I suppose that means yes :)


fix for token plexpass not working

Authenticating...ERROR: Username and/or password incorrect
I try to put the password and login even in the dockerfile in place of build-arg but still doesn't work. Did you try your fix? is It working for you? I'm not sure that the variabes are well passed. Anyway the curl command works so it's not a problem of username nor email nor password on my part.

it's just to see if you have problems or not with your authentification, to have a comparaison point with me. because if it's working for you then it's certainly a problem with my bad char or something.

my problem as been solved by using a config file in place of build-arg... I have modify then the dockerfile, I don't if you want a pull from me?

It's working for me both via a travis build that is pushed to docker hub and when I did a local build.
So not really sure why it's breaking for you.
Though if you want to send me a pull request of your changes.
There may be follow a better pattern in which case I would be happy to merge.

mscreations have modified the code from plexupdate becasue of my problem so no need of config file .


euclidean loss caffe2 python

i can not find this function.
so i use Sub() Abs() and DotProduct() to get loss for  N-D
diff=model.net.Sub([blob_out,  'label'],'diff')
adiff=model.net.Abs([diff],'adiff')
loss = model.net.DotProduct([adiff,adiff],'loss')
but it do not work,Can anyone help me?

If I understand you correctly, the following function should do the job:
https://caffe2.ai/docs/operators-catalogue.html#squaredl2distance
Further, the following Tutorial might help:
https://github.com/caffe2/caffe2/blob/master/caffe2/python/tutorials/Toy_Regression.ipynb

@SteveCruz thanks for your imformation.
I change my code to :
model.net.Sub([blob_out, 'label'],'diff')
model.net.Abs(['diff'],'adiff')
model.net.DotProduct(['adiff','adiff'],'dist')
model.net.AveragedLoss(['dist'],'final_loss')
and it work.but i get very big loss . if loss still so big , i want to try squaredl2distance
I think it should be better than myself code. but in 'docs' ,squaredl2distance meanning (X-Y)^2/2 ,i have seen its code and think ,it is same as Dot((X-Y),(X-Y)).
thank you very much!!!

Hello @SteveCruz @oujieww ,
I would like to use the euclidean loss as the output of my CNN model. I am using the brew.db_input to feed the input layer. Should I proceed in the following way?
def add_input(self, model, batch_size, db, db_type, device_opts):
        with core.DeviceScope(device_opts):
            # load the data
            data_uint8, label = brew.db_input(
                model,
                blobs_out=["data_uint8", "label"],
                batch_size=batch_size,
                db=db,
                db_type=db_type,
            )
            # cast the data to float
            data = model.Cast(data_uint8, "data", to=core.DataType.FLOAT)

            # scale data from [0,255] down to [0,1]
            data = model.Scale(data, data, scale=float(1./256))

            # don't need the gradient for the backward pass
            data = model.StopGradient(data, data)

            dataset_size = int (lmdb.open(db).stat()['entries'])

            return data, label, dataset_size

data, label, train_dataset_size = self.add_input(train_model, batch_size=batch_size, db=os.path.join(self._data_dir_, 'train-nchw-lmdb'), db_type='lmdb', device_opts=device_opts)

predictions = self.create_model(train_model, data, label, device_opts=device_opts)

def create_model(self, model, data, label, device_opts):
    	with core.DeviceScope(device_opts):

    		data = data
      		conv1_ = brew.conv(model, data, 'conv1_', dim_in=3, dim_out=96, kernel=11, stride=4)
    		relu1_ = brew.relu(model, conv1_, conv1_)
    		pool1_ = brew.max_pool(model, relu1_, 'pool1_', kernel=3, stride=2)
      		conv2_ = brew.conv(model, pool1_, 'conv2_', dim_in=96, dim_out=256, kernel=5, stride=4)
    		relu2_ = brew.relu(model, conv2_, conv2_)
    		pool2_ = brew.max_pool(model, relu2_, 'pool2_', kernel=3, stride=2)
      		conv3_ = brew.conv(model, pool2_, 'conv3_', dim_in=256, dim_out=384, kernel=3, stride=1)
    		relu3_ = brew.relu(model, conv3_, conv3_)
      		conv4_ = brew.conv(model, relu3_, 'conv4_', dim_in=384, dim_out=384, kernel=3, stride=1)
    		relu4_ = brew.relu(model, conv4_, conv4_)
      		conv5_ = brew.conv(model, relu4_, 'conv5_', dim_in=384, dim_out=256, kernel=3, stride=1)
    		relu5_ = brew.relu(model, conv5_, conv5_)
    		pool5_ = brew.max_pool(model, relu5_, 'pool5_', kernel=3, stride=2)
    		fc5_ = brew.fc(model, pool5_, 'fc5_', dim_in=256 * 2 * 3, dim_out=4096)
    		relu6_ = brew.relu(model, fc5_, fc5_)
		dropout6_ = brew.dropout(model, relu6_, 'dropout6_', ratio=0.5, is_test=False)
    		fc6_ = brew.fc(model, dropout6_, 'fc6_', dim_in=4096, dim_out=4096)
    		relu7_ = brew.relu(model, fc6_, fc6_)
		dropout7_ = brew.dropout(model, relu7_, 'dropout7_', ratio=0.5, is_test=False)
    		fc7_ = brew.fc(model, dropout7_, 'fc7_', dim_in=4096, dim_out=256)
    		relu8_ = brew.relu(model, fc7_, fc7_)
		dropout8_ = brew.dropout(model, relu8_, 'dropout8_', ratio=0.5, is_test=False)
    		relu9_ = brew.relu(model, dropout8_, dropout8_)
    		fc9_ = brew.fc(model, relu9_, 'fc9_', dim_in=256, dim_out=14)

    		dist = model.net.SquaredL2Distance([label, fc9_], 'dist')
    		predictions = dist.AveragedLoss([], ['predictions'])

    		return predictions


should be all the rest of changes for re-submit

This should be everything needed to resubmit, hopefully.

I just merged this locally and pushed since there were conflicts and I don't like using GitHub's editor.


Strange requirement in ITI-114

Section Number Identify the most specific section number the issue occurs (e.g. 4.1.2)
2:<IP_ADDRESS>
Issue Describe your issue. Don't write a book, but do include enough to indicate what you see as a problem.
The Description of the status search parameter says:  "Should be valued with active"
Is this trying to say that the Resource Notification Subscriber must supply the status parameter with the value of "active"? This seems unnecessarily restrictive.
Proposed Change Propose a resolution to your issue (e.g., suggested new wording or description of a way to address the issue). The committee might simply accept your suggested text. Even if they don't, it gives a good sense of what you are looking for. Leaving this blank means you can't imagine how to resolve the issue, which makes it easier for the committee to admit they can't imagine how to resolve it either and leave it unresolved.
Allow the Resource Notification Subscriber to specify the status parameter as needed.
Priority:

Medium: Significant issue or clarification. Requires discussion, but should not lead to long debate.

the purpose was not to force the Resource Notification Subscriber to set the status parameter to "active".
the value "active" should be the racommended value when searching towards a Resource Notification Broker.
@scontento  we will clarfy it in the parameter description


Swift 2.3 and 3 support

Hello there,
I would like to know if someone's already working on updating this library, and if not if you intend to, I would also like to help in this.
Thank you,
tiferrei

Would be great to have Swift 3 support now that the GM version of Xcode 8 is out.  Any news on this?

Yes @amayne, I believe now that Xcode 8 was released with a stable version of Swift 3 it would be a good time to update.

https://github.com/iamjono/SwiftString

Swift 3 support +1

Tried converting it to Swift 3 myself, it's a nightmare. The automatic conversion in XCode 8 totally fails, and pretty much everything having to do with Strings has changed. Would need to basically manually rewrite it.

@n13 Why are you still worrying about converting? Just use https://github.com/iamjono/SwiftString

^^^ Thank you, sir!

@matthijs2704  Thanks man.

@matthijs2704 so I have to install the SwiftString before yours?
after I have installed your repo and I neither haven't seen the SwiftString files nor can't import SwiftString into my class.

@abellee I have the same problem after successfully installing the 'String+Extensions', the files are not showing in xcode. Also I can't import the SwiftString in classes, but the files are installed I can find them with the file explorer.

Swfit 3
+1


Could GPLv3 code be removed / relicensed under ASL 2.0?

Bug Report
You've got a file in the repo which has a GPLv3 license on it, but everything else in here is Apache 2.0.
What did you do?
I tried to submit this code to the Eclipse Foundation via their CQ/ipzilla process, and this one file was rejected because GPL is scary.
What did you expect to see?
Since the LICENSE file in this repo is Apache 2.0, I expected that everything in the repo would bear the same license terms.
https://github.com/operator-framework/operator-sdk/blob/master/LICENSE
What did you see instead? Under which circumstances?
This snippet shows the GPLv3 reference:
https://github.com/operator-framework/operator-sdk/blob/v0.5.0/test/ansible-inventory/plugins/filter/test.py#L5-L8
Environment

operator-sdk version: 0.5.0

Possible Solution
Could the license in the above file be removed? Dual-licensed as Apache 2.0?
Additional context
See also https://dev.eclipse.org/ipzilla/show_bug.cgi?id=19238
The reason we need to go through this is so that Che can use this code in its next release from the Eclipse Foundation.

I don't know too much about GPL but if it's not okay for us to remove the license header then it's probably not okay for us to add it in the first place to an Apache 2.0 licensed project.
From the note on Apache 2.0 and GPL v3 compatibility:

Apache 2 software can therefore be included in GPLv3 projects, because the GPLv3 license accepts our software into GPLv3 works. However, GPLv3 software cannot be included in Apache projects

@fabianvf Is it possible to do without copying that test file as is?
/cc @robszumski @dmesser Can you please chime in on if we should be steering clear of GPLv3 in the project.

@hasbro17 don't think we avoid or steer clear of GPLv3. As a project we should keep it to one license though.

This file is mislicensed, slipped through code review. I'm the author and will update the license properly. My apologies for the oversight.

Great, thanks!


added getter SearchParameters#getExtras()

Thanks for this, I'll try to get a new release out this weekend.

Thanks, this is now merged and released.


Move database configuration to AWS resource running in VPC

Overview
The database configuration commands in our deployment workflow no longer work, because the database only accepts connections from within the ASF network or the VPC. We need to run the database configuration commands from an AWS resource running within our VPC. We're currently exploring CodeBuild as a solution.
Tasks

If we stick with CodeBuild, in order to delay the workflow from finishing until the CodeBuild run succeeds, we can use the batch-get-builds command to repeatedly query the build status until it succeeds or fails. See:

https://docs.aws.amazon.com/codebuild/latest/userguide/getting-started-cli-monitor-build.html
https://docs.aws.amazon.com/codebuild/latest/APIReference/API_BatchGetBuilds.html
StartBuild response syntax

It might be easier to move the StartBuild command and the BatchGetBuilds query loop into a Python script using boto3.


[#253]: send email on trigger

Related to #253

Description
Implements a v1 for #253.
General changes:

Users now can have two triggers at most in one paybutton: one for post requests, one for emails.
This limit also applies to addresses. A user cannot create a second paybutton with a same address and add a trigger to it as if it was a purely new paybutton.
Both triggers can be set, updated and deleted in the button detail view: one above the other. Their forms are independent.

DB changes:

Added columns PaybuttonTrigger.emails for setting up which emails the email trigger should send to (right now we allow only for one email)
Removed PaybuttonTrigger.sendEmail
Added PaybuttonTrigger.isEmailTrigger to differentiate between the two types of triggers (defaults to false, to preserve our DB state)
Added UserProfile.emailCredits for tracking how many credits a user has for sending emails. Default is 100.

As usual, this PR implements only a rudimentary front-end, enough for testing purposes.
Test plan
Reset the containers, check if the conditions above are being met. This PR doesn't implement  the execution of the email sending, only the infrastructure to allow it. Poster triggers should work normally as they did before.

Can't read the info bit in dark mode

Fixed

Where does the values come from for this?

It's a constant. IDK why it didn't appear for you, it's not even connected to the DB, but probably restarting the containers or even just refreshing the page with Shift+f5 should fix it


Add router Runes balance and format Tx response to JSON

Formatting response /tx/{tx_id} into JSON
Add router /runes/balance to fetch all runes balance

@casey @raphjaph I want to bring more the functions from commands to server routes to make it easier for UI access and development.
Following: https://github.com/ordinals/ord/issues/2936

Hi mr @lugondev .
I'm Frontend developer .
"How can I assist you? I can help you design and code a UI/UX page for a DApp. Once you complete the API, I can integrate it into the project. What do you think?"

Hi @lugondev gon
I highly value your PR work. I have connected with you, and we can possibly collaborate together
( Web3 dev )
Thank

Ok, I will do it

hi @raphjaph, it's been a long time. I have just added tests for the router, all tests passed in my local but had a failure tests in CI.
give me any feedback
thanks!

Just some minor things.
I'm also thinking we should probably also add an HTML page for this. If you have a good idea how to display this let me know. Probably some <dl>/<dt> list.

yeah, will I do it in next pull request?

Just some minor things.
I'm also thinking we should probably also add an HTML page for this. If you have a good idea how to display this let me know. Probably some <dl>/<dt> list.

yeah, will I do it in next pull request?

I would like to use this endpoint for my product with the official repo ord. Thank you for understanding.

@raphjaph help me check this pull request

LGTM!
Just fixed some small things here and there

thanks you so much


constraint build "STOPPED"

--------------------facility_num_opened:  2
----------model_build:
343662  x[i,j] BINARY vars def completed..
60434  xkj[k,j] BINARY vars def completed..
x[i, :]) == 1 constraints built completed..
x[i, j] <= y[j] constraints built completed..
xkj[k, :]) == 1 constraints built completed..
xkj[k, j] <= y[j] constraints built completed..
y[:] == facility_num_opened constraints built completed..
driver: i  1
driver: i  101
driver: i  201
driver: i  301
driver: i  401
driver: i  501
the following code stopped at "driver: i  501"
any idea why it is?
Seems that the model reached some maximum limitation?
Should I set some options, such as maximal memories used, etc.?

obj_driver= solver.NumVar(-M,M,'obj_driver')
--commented         solver.Add( obj_driver == solver.Sum(driver_weight[i]*dis_mat[i, j] * x[i, j] for i in range(m) for j in range(n)) )
obj_driver_constraint = solver.Constraint(0, 0)
obj_driver_constraint.SetCoefficient(obj_driver, -1)
for i in range(m):
if 1==i%100:
print('driver: i ', i)
for j in range(n):
obj_driver_constraint.SetCoefficient(x[i,j], driver_weight[i]*dis_mat[i, j] )
print('obj_driver built completed..' )
That should work faster?
Is there an elegant way to vectorize the two hundreds times hundreds for cycles of the python code?
Originally posted by @chenxuanhanhao in https://github.com/google/or-tools/issues/1663#issuecomment-545895012

Please do not duplicate issues.
There are no limit in the solver.

Sorry, the browser bugged when I was trying to submit the comment
Seems that my understanding is not right.
Time did consumed in SOLVING instead of BUILDING.
The console "STOPPED", possibly because CPU threads focused on SOLVING, postponed the print thread.


Debug label not intuitive, should be log prefix?

Expected Behaviour
test.js:
const logger = require('@adobe/aio-lib-core-logging')('myapp', { provider: './DebugLogger' })
logger.debug('yo!')

DEBUG=myapp node test.js => should print yo!
Actual Behaviour
Need to add a * to the DEBUG env var
DEBUG=myapp* node test.js => prints yo!
This is because the debug label is extended with action name and log level
suggestion: preserve the user given debug key but add a string prefix to each log message

Agree, this should be consistent for all loggers


fuzz: fix build

I am working on fixing the missing things in the build infrastructure that Istios fuzzing suite needs. I am at a stage where upstream changes fix the build for me locally, and with this PR I would like to test it out.
Also remove the FuzzReconcileStatuses fuzzer which is no longer there.

@AdamKorcz: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
1d0dd540fdeae5b264bae59e7a49f20bd81dd7ab
link
true
/test lint

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

@AdamKorcz: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
1ecd6f10a737426978aa1e4091c5409b94e84ab5
link
true
/test lint

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

@AdamKorcz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
1ecd6f10a737426978aa1e4091c5409b94e84ab5
link
true
/test lint

release-notes_istio
1ecd6f10a737426978aa1e4091c5409b94e84ab5
link
true
/test release-notes

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

@AdamKorcz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
1ecd6f10a737426978aa1e4091c5409b94e84ab5
link
true
/test lint

release-notes_istio
b2c3163e755552bd054aaec3b01cf4900c334274
link
true
/test release-notes

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

@AdamKorcz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
1ecd6f10a737426978aa1e4091c5409b94e84ab5
link
true
/test lint

release-notes_istio
1ca58e90aae5d36f4ab47202eba689251759cbbe
link
true
/test release-notes

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

/retest

@AdamKorcz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
1ecd6f10a737426978aa1e4091c5409b94e84ab5
link
true
/test lint

release-notes_istio
1ca58e90aae5d36f4ab47202eba689251759cbbe
link
true
/test release-notes

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

/test lint

/test release-notes


Added a drawingboard

Lets you draw stuff

@jacob-on-github This is fantastic! It is such a cute and creative addition to the website. I'm super grateful for your contribution. Thank you :)


Getting type casting error of "Cannot cast ufunc 'add'" while running CSC for custom dataset

Dear Sir,
I want to run Convolution Sparse Coding for CAVE for hyperspectral image analysis. I want to load 3 .png files each of them are image of a specific wavelength. Then i am concatenating them on axis 2, and then sending that to cbpdn_clr_cd.py for multi-channel CSC.
I am getting an error from function ustep:
UFuncTypeError: Cannot cast ufunc 'add' output from dtype('float64') to dtype('uint16') with casting rule 'same_kind'
If I do the type casting by adding integer in the ustep function,
self.U += int(self.rsdl_r(self.AX, self.Y))
then I am getting
File ~/anaconda3/envs/env_sporco/lib/python3.10/site-packages/sporco-0.2.2a2-py3.10.egg/sporco/admm/admm.py:204 in new
instance = super(ADMM, cls).new(cls)
TypeError: super(type, obj): obj must be an instance or subtype of type
Please resolve this issue.
I have attached the screenshot of the errors.

What's the dtype of your stacked image img? My immediate guess is that it's uint16, whereas it should be float32 or float64.

Dear Sir,
Thank you for your reply. Yes your are correct, my data is in uint32. One work around is I should do the (max, min) scaling. But now I am able to solve this problem by
1.
img1 = util.ExampleImages().image('cloth_ms_20.png', scaled=True, idxexp=np.s_[160:416,60:316])
img2 = util.ExampleImages().image('cloth_ms_21.png', scaled=True, idxexp=np.s_[160:416,60:316])
img3 = util.ExampleImages().image('cloth_ms_22.png', scaled=True, idxexp=np.s_[160:416,60:316])
img = np.stack((img1, img2, img3), axis=2)

putting the images into the desired 'data' path.
issuing the build command again.

Closing as resolved.


chore(*): remove empty lines between variable statements

Empty lines were removed by executing the following Python script twice
import os
import re

# Loop through each file in the repository
for dir_path, dirs, files in os.walk('.'):
  for filename in files:
    if filename.endswith('.lean'):
      file_path = os.path.join(dir_path, filename)

      # Open the file and read its contents
      with open(file_path, 'r') as file:
        content = file.read()

      # Use a regular expression to replace sequences of "variable" lines separated by empty lines
      # with sequences without empty lines
      modified_content = re.sub(r'(variable.*\n)\n(variable(?! .* in))', r'\1\2', content)

      # Write the modified content back to the file
      with open(file_path, 'w') as file:
        file.write(modified_content)

I object to the easy tag; the time to look through all of this is definitely more than 20 seconds!

In general, I have no strong feelings here.
A thought: It may make sense to separate various bits of variable declarations also optically when they correspond to a natural grouping. But perhaps in this case, it would make sense to add comments.
There may be false positives like the very first change, where the line after the empty ony is actually variable ... in. This specific case should be easy to fix, but there may be other cases.

I agree that the variable ... in would need special treatment. @jcommelin, what do you think?

Fair enough! Thanks a lot for spotting this. I think I should adapt the script, and regenerate a diff.

If this is an actual style recommendation, should the script be added to the linting/reviewdog to prevent future lapses?

bors r+
Thanks!

Thanks!
bors d+


Remove Strings.properties file; we have been using jboss-logging for …

…a while now

Actually since 8bdebac67b29f59098fba3332e42ccbda4c6d6fa.


Feature Request: Admin-view of individual documents

I would like to see an organized and browsable view of documents available in the frontend view. Perhaps some extended statistics (time spent processing?) on an individual document, and a view of the document itself and the extracted text (without having to search for a document).

I would like to see an organized and browsable view of documents available in the frontend view.
I think Ambar isn't a file explorer, it's more about search? Describe a possible scenario of this feature?

Perhaps some extended statistics (time spent processing?)
It can be done, we'll add it to our internal roadmap

view of the document itself and the extracted text
You can download the original file, we'll add an ability to download the extracted text in next release

view of the document itself and the extracted text

Added in Release v0.9.2


Code generating marker

How to upload my own images with code or url interface to generate patt and PNG files.？I need to generate it in real time instead of uploading it to the web page by myself

@nicolocarpignoli

Hi,
never digged on this honestly, but with a quick search I found the source code for the pattern marker generator:
https://github.com/jeromeetienne/AR.js/blob/master/three.js/examples/marker-training/examples/generator.html
Take inspiration on that :)


Fix script-kit and add deep links to scripts

Description
Fixes https://github.com/raycast/extensions/issues/9154
And adds deep links to Script Kit scripts! 🎉
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for your contribution 🔥
@pomdtr do you want to check this?


Contact Page UI & Functionality

Issues Closed
closes #25
closes #24
closes #39
Screenshots

Post Submission


Update custom-policy-configure-user-input.md

Removing the preview tag from "Identity Experience Framework"

@hkamel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Wow, amazing these are still being found. :frowning_face: Thanks for the update, @hkamel!
#sign-off
Cc: @msmimart

@mmacy: I'm sorry - only the author of this article, @msmimart, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Milestone 3: Determine Structure for Micro-grants

Goal
SpeedRunLUKSO milestones 1 and 2 provide basic+ challenges for a developer outlining some LSPs and their functionality. The purpose of the Micro-Grants funding within this grant is to help kick-start a sustainable micro-grant structure that:

Gets devs building long-term valuable work for LUKSO ecosystem.

Example: Having a dev work through SRL, then carry out a small project to build a tool, tutorial, or whatever for a pre-existing LUKSO project (say a pre-existing DeFi lending app) is great because it could be actually used for real on-chain, in prod work, or it can educate people on something real.
Example of work deemed less valuable long-term: one-off hackathon projects on niche topics that not many or no one is building towards. This is not to say they are not valuable at all, experimentation is needed, but we are trying to be selective of how to use these initial microgrant funds.

Possibly get devs to build projects relevant to pre-existing LUKSO protocols, and even get hired or intern / get grants with said protocol.

included in this could also be:

a bounty board of desirable tutorials and/or features covering new LSPs as they are added (ex: the follower system - LSP26)
advanced recommended paths of research and learning with emphasis on documentation and reporting + OSS
advertisements on bounty platforms like bounty caster to raise awareness of speedrunLUKSO
a mini-project and tutorial combined together with an emphasis on re-usable code / dev tooling


Fix filters with not

The Objection and Sequelize packages are throwing errors when they receive IBM-style filters using not().
Steps to Reproduce:
Easiest way to demonstrate this is by using the examples provided in the git repository.
Postman example for Objection

Postman example for Sequelize

Acceptance Criteria:

The objection example should be able to handle querystring filters including the IBM-style not() operator.
The sequelize example should be able to handle querystring filters including the IBM-style not() operator.

References:

not() operator example docs

The @bitovi/objection-querystring-parser part of this issue is BLOCKED by #35


Add npm script for testing components while developing

For some reason this stopped pausing the test server:
npm test <component name> -- -p

I couldn't quite figure out why it stopped working (guessing it's an update in a dep?), but I found that if we add the persistent flag to our wct config it would pause the server when running test so we could dev with the tests running in the browser.
I think it'd be easier for new folks to track down/understand if we had an extra npm script than having the -p flag, which seems to come from a dependency that I couldn't easily find.

My suggestion is we have something like this in the node scripts:
    "test": "../../node_modules/.bin/wct --configFile ../../wct.conf.json elements/pfe-icon/test/" ,
    "test:dev": "../../node_modules/.bin/wct --configFile ../../wct-dev.conf.json elements/pfe-icon/test/"

Then in wct-dev.conf:
{
  "verbose": false,
  "npm": true,
  "suites": ["elements/*/test/index.html"],
  "plugins": {
    "local": {
      "browsers": ["chrome"],
      "browserOptions": {
        "chrome": ["disable-gpu", "no-sandbox"],
        "firefox": []
      }
    }
  },
  "persistent": true
}

So the tests would be persistent and not headless.

from @mwcz
we could also add our own flag, with whatever syntax we want.  since we own the test script, we could make the test script invocation similar to the build script, ie it just calls our script:
    "build": "node scripts/build.js",
    "test": "node scripts/test.js",

then we can handle all the command line args, for example:
npm test pfe-card -p
npm test -p pfe-cardetc

Also relevant to #1519

Resolved here: https://github.com/patternfly/patternfly-elements/pull/1554/files#diff-299c7d433484aa19271a1219e3f35af59090987b5530de5ae0ddf12057439489
npm test -- --debug pfe-accordion
npm test -- -p pfe-card

(-p is an alias of --debug)


[Draft] Trying to support HiveTableScanExec

This PR is trying to support HiveTableScanExec running on GPU.
HiveTableScanExec will be planned if there is HiveTableRelation, pls refer to the code
But if the Hive table is backend by Parquet or Orc file format, then the  HiveMetastoreCatalog will convert HiveTableRelation to HadoopFsRelation by default (there are some confs to control if need to convert).  Finally, HadoopFsRelation will be planed into FileSourceScanExec which will be replaced by GpuFileSourceScanExec.
So if the Hive table is backend by "CSV", then we will get HiveTableScanExec which will not run on GPU. Since rapids plugin has supported to read CSV by GPU, it will be better if we can support HiveTableScanExec backed by CSV running on GPU.
For now, This PR tries to convert HiveTableRelation to HadoopFsRelation and then replace HiveTableScanExec with GpuFileSourceScanExec.
For now, I can't get the correct result with this PR since some exceptions happened
java.lang.NullPointerException
	at ai.rapids.cudf.HostColumnVectorCore.getStartListOffset(HostColumnVectorCore.java:275)
	at ai.rapids.cudf.HostColumnVectorCore.getUTF8(HostColumnVectorCore.java:365)
	at com.nvidia.spark.rapids.RapidsHostColumnVectorCore.getUTF8String(RapidsHostColumnVectorCore.java:183)
	at org.apache.spark.sql.vectorized.ColumnarBatchRow.getUTF8String(ColumnarBatch.java:220)
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.writeFields_0_0$(Unknown Source)
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown Source)
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown Source)
	at scala.collection.Iterator$$anon$10.next(Iterator.scala:459)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$getByteArrayRdd$1(SparkPlan.scala:346)
	at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2(RDD.scala:898)
	at org.apache.spark.rdd.RDD.$anonfun$mapPartitionsInternal$2$adapted(RDD.scala:898)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:373)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:337)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
	at org.apache.spark.scheduler.Task.run(Task.scala:131)
	at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:497)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1439)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:500)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

Do we really need to support HiveTableScanExec?
Spark decide to convert parquet or orc backend hive table according to the Hive SerDe. But for CSV, there is no explicit keyword to match, since there are many SerDe for Csv file.
So I don't know if I need to continue to do this. @revans2 @jlowe Could you provide some advice on this?

Spark decide to convert parquet or orc backend hive table according to the Hive SerDe. But for CSV, there is no explicit keyword to match, since there are many SerDe for Csv file.

We will have to do something similar.  We won't be able to cover ever possible scenario since the serde is pluggable, but we could try to detect common setups and bypass the serde when we recognize what it does and know that what the GPU will do is equivalent.  This is what we're doing today when we bypass the Parquet and ORC FileFormat Java classes, we recognize that the read is using that format, examine the configs to verify what we're going to do will be compatible, then replace the code path with a GPU operation that does not use much, if any, of the Java input format classes.
So the next step here is figuring out what are the cases we want to support and what classes and configs we need to examine to determine whether it is safe to replace the operation with a GPU load instead.

Close this PR for now.


fix(icons): arcified award icon

What is the purpose of this pull request?

[x] Other: Icon update

Description
Arcified icon
Before Submitting

[x] I've read the Contribution Guidelines.
[x] I've checked if there was an existing PR that solves the same issue.

Should we not keep this aligned to the grid to keep it as sharp as possible?
E.g.:

Open lucide studio


Error: Cannot find module 'tslib'

It appears that the source code requires tslib:
node_modules/eslint-plugin-import-x/lib/index.js
"use strict";
const tslib_1 = require("tslib");
const electron_1 = tslib_1.__importDefault(require("./config/electron"));
const errors_1 = tslib_1.__importDefault(require("./config/errors"));
const react_1 = tslib_1.__importDefault(require("./config/react"));
// …

but the package does not declare it in its dependencies. This causes the error if tslib has not been already installed by another package, and in Yarn PnP, unconditionally.

I'm able to confirm this also with pnpm - I experienced this today in one of our projects using eslint-plugin-import-x
@JounQin what do you think about this one? Should tslib be added as a dependency?

Same problem with pnpm and bun.

Oh, it should be listed as dep, PR welcome.

Oh, it should be listed as dep, PR welcome.

Opened a PR: https://github.com/un-ts/eslint-plugin-import-x/pull/82


[WIP] remote: document --clear-index

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.
Please chose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏
Docs PR for iterative/dvc#3634

Closing as no longer needed, --clear-index removed from original PR


Dialog fade in / fade out animations

Not sure how I will set up this one, but if I had to add one a simple opacity fade could work.

I suggest to make it completely user customizable, for example Ace Attorney pops in dialogue by sliding it up from the bottom instead of fading it out/in. Plus it's context sensitive, so it instantly hides the text box when your character objects, slides towards your character, hangs on the frame and slides the textbox in from the bottom of the screen.
Video example:
https://youtu.be/7okb1lPD9MY?t=899

I suggest to make it completely user customizable, for example Ace Attorney pops in dialogue by sliding it up from the bottom instead of fading it out/in. Plus it's context sensitive, so it instantly hides the text box when your character objects, slides towards your character, hangs on the frame and slides the textbox in from the bottom of the screen.
Video example:
https://youtu.be/7okb1lPD9MY?t=899

Yes, it would probably be better to give many options, but I don't think I can work on this one at the moment since there are a lot of things in my list. Maybe the best solution would be to support any user-made animation using the animation player so you can set it up as you want. Thanks for the video reference!

Yes, it would probably be better to give many options, but I don't think I can work on this one at the moment since there are a lot of things in my list. Maybe the best solution would be to support any user-made animation using the animation player so you can set it up as you want. Thanks for the video reference!

How would I go about doing this? I have a vn box for my game that has the VN box pop up whenever the player talks to someone. I would like it to fade out just like it fades in. Could you please explain how this works?


Set up initial kernel release based on OpenZeppelin

Decide which contracts we want to integrate as a sample (such as tokens).

I've created a branch zos-kernel-release in my fork of OpenZeppelin. I left only the contracts that will be part of the initial release, and their tests. They were modified for upgradeability with initializers instead of constructors.

The branch now


SLAC is suitable for larger datasets?

Dear @spond @stevenweaver  @stephenshank
As I remember, SLAC is suitable for small datasets.

Dear @liamxg,
Do you have a reference for that?
Best,
Steven


Support mruby 2.1.0

Hey! Awesome!
If you don't mind at least making sure it tests on 1.13 I would greatly appreciate it. It's in the .travis.yml file at the root of the repo.
I can work on 1.12 and getting go modules working after this patch is ready.
Thanks for contributing!

oh, to clarify, I think dropping 1.10, and 1.11 support is probably worth it if it causes you to write unnecessary workarounds or other complexity.
@mitchellh I think I'm making a safe judgment call, but please shout out if you disagree.

@erikh CI should be working now

oh, to clarify, I think dropping 1.10, and 1.11 support is probably worth it if it causes you to write unnecessary workarounds or other complexity.
@mitchellh I think I'm making a safe judgment call, but please shout out if you disagree.

Totally safe. I think generally N, and N-1 are the versions you want to support which gives you 1 year of backwards support (Go is on 6mo cycles). Go 1.13 in particular was a rough version for a lot of projects to upgrade to due to major changes in Go modules behavior (we struggled at HashiCorp).
This is awesome though. Thanks @take-cheeze and @erikh!


ISPN-5255 Port Infinispan Lucene directory integration tests from Hibernate Search codebase

https://issues.jboss.org/browse/ISPN-5255

@Sanne please take a look. Tests are now running on MacOS X. I had to change the stack to TCP, meaning using user-provided-infinispan.xml on SearchNewEntityJmsMasterSlaveUsingInfinispanAs2ndCacheAndModulesIT

Marking for rebase as we need to adjust the version numbers after the other merges today. Feel free to ping me as soon as it's ready!

Rebased

I'm looking at them, trying to get the build to work here. Had some issues as I have a fresh install on my workstation.
It's running again now, I'll take a break and come back later to merge if it succeeded.

merged!
Some more things are needed, but I'll create isolated issues.


Install correct python version in windows circle-ci builds

Codecov Report

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

@@           Coverage Diff           @@
##           master     #565   +/-   ##
=======================================
  Coverage   93.48%   93.48%
=======================================
  Files          52       52
  Lines        3686     3686
=======================================
  Hits         3446     3446
  Misses        240      240

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 7ed878a...22f5a64. Read the comment docs.

Fixes the deploys and correctly runs the tests in python 3.5+. This does mean that we will need to continue to rely on appveyor for 2.7 and 3.4, though those are being deprecated anyway, see https://github.com/dwavesystems/dwave-ocean-sdk/issues/28.


add generic RxAppMock

Breaking change

Proposed change

Make RxAppMock generic to allow testing against interfaces inherited from INetDaemonRxApp
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

This PR doesn't modify the original RxAppMock. Just makes it generic
Checklist

[ ] The code change is tested and works locally.
[ ] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[ ] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

Codecov Report

Merging #433 (5e54c7c) into dev (491324c) will decrease coverage by 0.20%.
The diff coverage is 80.35%.

@@            Coverage Diff             @@
##              dev     #433      +/-   ##
==========================================
- Coverage   54.57%   54.37%   -0.21%
==========================================
  Files          82       83       +1
  Lines        4621     4616       -5
  Branches      714      714
==========================================
- Hits         2522     2510      -12
- Misses       1871     1874       +3
- Partials      228      232       +4

Flag
Coverage Δ

unittests
54.37% <80.35%> (-0.21%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/Fakes/NetDaemon.Fakes/RxAppMock[T].cs
79.79% <79.79%> (ø)

src/App/NetDaemon.App/Common/ExtensionMethods.cs
80.76% <100.00%> (+1.17%)
:arrow_up:

src/Fakes/NetDaemon.Fakes/ReactiveEventMock.cs
100.00% <100.00%> (ø)

...pp/NetDaemon.App/Common/Reactive/NetDaemonRxApp.cs
82.55% <0.00%> (-1.71%)
:arrow_down:

...rc/Daemon/NetDaemon.Daemon/Daemon/NetDaemonHost.cs
53.36% <0.00%> (-0.39%)
: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 491324c...5e54c7c. Read the comment docs.


add support for hosted cluster image content source policy. This allows mirroring of release images to other registries besides quay.io

/test e2e-aws

/test e2e-aws

/lgtm
/approve
/hold
@ironcladlou do we want to put this into third party instead? Please feel free to hold cancel otherwise.

Given that ImageContentSource policy is not only something that affects machine ignition but also needs to be synced into the guest cluster (so ImageStreams can use it), I think it should be part of the HostedCluster API. Just like it's part of an InstallConfig (https://github.com/openshift/installer/blob/master/pkg/types/installconfig.go#L117)

/retest

/test e2e-aws

/unhold

/test e2e-aws

/test e2e-aws

/test e2e-aws

/test e2e-aws

/lgtm


⚠ Processors has degraded performance

In 03c9977, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 95 ms

Resolved: Processors performance has improved in 96efc4a.