Keeping multiple triplets when use vcpkg install

Describe the bug
We have a solution with multiple projects, some are x64 and some x86. We use a manifest file for the whole solution to specify the dependencies. The problem is, that when you build a x64 project, it removes the x86 versions of the dependencies and the other way around.
Environment

OS: Windows
Compiler: Visual Studio 2015

To Reproduce
Steps to reproduce the behavior:

Use a manifest file
Have a solution with x86 and x64 Projects
Build the solution

Expected behavior
Do not remove the installed versions of other triplets.
Additional context
Maybe the same as #12525, but we don't use cmake

@strega-nil Can you please take a look?

@autoantwort What we recommend here is to set the installed directory based upon the thing you're building for; in your settings, you should be able to set the installed directory to, for example, vcpkg-installed_x64 for x64, and vcpkg-installed_win32 for win32, or whatever you wish.
Unfortunately, it seems like we don't actually have that option in the vcpkg properties pane; I will open an issue for that, and it should be a pretty easy fix.

in your settings

Which settings? Do you mean the *.vcxproj project files?

Unfortunately, it seems like we don't actually have that option in the vcpkg properties pane; I will open an issue for that, and it should be a pretty easy fix.
https://github.com/microsoft/vcpkg/blob/5eea585548058540c3b73d087eb101c033b5fa85/scripts/buildsystems/msbuild/vcpkg-general.xml#L58

Probably you only have to remove Visible="false"
But imho this is not a very user friendly and intuitive solution. It would be more user friendly if you don't remove installed packages from other triplets. Then vcpkg just works out of the box.

When I change VcpkgCurrentInstalledDir, nothing changed. If I change VcpkgInstalledDir, vcpkg initially does not work anymore, because you have to create the installed dirs yourself (copy existing installed dir and rename it).
Finally it worked with:
  <PropertyGroup Label="Vcpkg">
    <VcpkgInstalledDir>$(VcpkgRoot)$(VcpkgPlatformTarget)_installed\</VcpkgInstalledDir>
  </PropertyGroup>

I used a property sheet, because I don't want to change that manuelly in over hundred projects ...

Btw, if I change VcpkgCurrentInstalledDir and VcpkgInstalledDir, vcpkg only returns 1 and does nothing.

@autoantwort unfortunately, this isn't really a thing we can do? There's too much cross-talk, especially with #15424, to really support having two different triplets installed.

Ok. My naive assumption was that you can simply ignore packages from other triplets in the implementation, but it seems to be more complicated.

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.

BTW this is now fixed in the latest master

This would be great to have--using --x-install-root is a workaround but it's not ideal.


Add coverage badge from coveralls.io

Coverage remained the same at 93.281% when pulling 76cc91068e5fc0041cd62ddb9cd03cc069f4b83a on ubergarm:master into e5db64f61d404eb51290083ca56894263c539038 on sherjilozair:master.

Need to work out the builds, its unclear why they aren't deterministicly passing/failing. Gonna accpe this as its just a coverage badge.


Coveralls fails to gather git info, due to recent git vulnerability detected

I have a failing builds since a week: https://github.com/T-Regx/T-Regx/runs/6141775917?check_suite_focus=true
This has already been found and solved in actions/checkout: https://github.com/actions/checkout/issues/760
Related to: https://github.blog/2022-04-12-git-security-vulnerability-announced/

looks like be related to github actions than to this repo. as you said it's solved, let me close this thread.


Not able to attach a new button to the message

from slack import WebClient
from helper import SLACK_API_TOKEN

bot = WebClient(SLACK_API_TOKEN)

def sendMessage():
    json_data = {
        "fallback":"Next Step",
        "color":"#ff0000",
        "actions":[
            {
                "type":"button",
                "text":"Text",
                "url":"https://www.google.com"
            }
        ]
    }
    res =bot.chat_postMessage(
        channel=SLACK_CHANNEL_NAME,
        text="posting message",
        attachments=json_data
    )
    print(res)

sendMessage()

This only sends a message but not attachments

Hi @programerr01,
Attachments must be an array. Would you mind updating your json_data to be an array with one element and trying again?
json_data = [
    {
        "fallback":"Next Step",
        "color":"#ff0000",
        "actions":[
            {
                "type":"button",
                "text":"Text",
                "url":"https://www.google.com"
            }
        ]
    }
]

Please let us know how that goes!

Hi @programerr01,
Attachments must be an array. Would you mind updating your json_data to be an array with one element and trying again?
json_data = [
    {
        "fallback":"Next Step",
        "color":"#ff0000",
        "actions":[
            {
                "type":"button",
                "text":"Text",
                "url":"https://www.google.com"
            }
        ]
    }
]

Please let us know how that goes!

thanks, solved the issue


Barcode Generator in Python

Barcode Generator
A simple barcode generator using tkinter.
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md (using this template) in your folder for program Instructions
add requirements.txt if needed

Programming Language

[x] Python

Happy Coding

Please consider assigning this issue to me. Thank you!

Hey, Can you Please assign it to me I Have started working on it.

Hey, I have completed it. I will make PR when I am assigned.

@Anshumansengar  yeah, okay no prob... :)

I have created the folder and would like @pawangeek to assign this issue to me
first review my code then if you have any more changes do let me know

hey @Anshumansengar please assign this issue to me


httpcat missing codes

Description

The .http_cat command is supposed to send the picture associated with the status code the user enters. To check if the user has entered a valid status code, it checks if it is in the HTTPStatus enum.  The problem with this, is that three of the status codes, 103 EARLY_HINTS, 418 IM_A_TEAPOT and 425 TOO_EARLY, are new to python version 3.9, though they are in http.cat. We should fix it so that these codes can be used.
Reasoning

More codes for the .http_cat command.
Proposed Implementation

There are two ways I can think of implementing this.

Create a list of valid codes from  http.cat.
Or make a new class deriving from HTTPStatus with the extra codes.

I think the first way would be easier to implement and maybe even slightly more performant.
Would you like to implement this yourself?

[x] I'd like to implement this feature myself
[ ] Anyone can implement this feature

http.cat returns a 404 cat for any code it does not know about, so maybe we should just do that?
We could check the argument is an integer and leave it at that, then we'll leave it up to http.cat to see whether the code is supported.

I guess we could check if the code returns 404 cat, and if it does, and the code isn't 404 we send something saying the code doesn't exist and show 404 cat.

Related to #428
On Sun, Oct 11, 2020 at 3:44 PM Chris Gallardo<EMAIL_ADDRESS>wrote:

I guess we could check if the code returns 404 cat, and if it does, and
the code isn't 404 we send something saying the code doesn't exist and show
404 cat.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/python-discord/seasonalbot/issues/500#issuecomment-706758040,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMRF7T6BBOXPY5X5IZC3N4TSKIDK7ANCNFSM4SL7DLCA
.

I'm closing this as it is a duplicate of #428.


pyupgrade: 2.25.0 -> 2.25.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pyupgrade/versions.
meta.description for pyupgrade is: "Tool to automatically upgrade syntax for newer versions of the language"
meta.homepage for pyupgrade is: "https://github.com/asottile/pyupgrade"
meta.changelog for pyupgrade is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1/bin/pyupgrade passed the binary check.

/nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1/bin/.pyupgrade-wrapped passed the binary check.

2 of 2 passed binary check by having a zero exit code.

2 of 2 passed binary check by having the new version present in output.

found 2.25.1 with grep in /nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1

found 2.25.1 in filename of file in /nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1

directory tree listing: https://gist.github.com/c16b4a65714f48a57553c3a2b0f1227f

du listing: https://gist.github.com/e84af23bcc6ddc6ca9ab32b3c48d71e3

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.pyupgrade
python39Packages.pyupgrade
pyupgrade

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pyupgrade https://github.com/r-ryantm/nixpkgs/archive/28d372cc548ad77226a328a2066b86a2d40232b3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1
ls -la /nix/store/555aj0af8lwa5d3ydkgj7vf325hlmmbn-python3.9-pyupgrade-2.25.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python38Packages.pyupgrade
pyupgrade (python39Packages.pyupgrade)

Maintainer pings
cc @lovesegfault for testing.

Result of nixpkgs-review pr 137848 at 28d372cc run on aarch64-linux 1

2 packages built successfully:

python38Packages.pyupgrade
pyupgrade (python39Packages.pyupgrade)


Status text sometimes displays link title

For example, on Twitter rolling over all of the tweet titles will show the title in the lower left corner, not the link.

I believe the issue is in app/content/preload/hover-status.js
if (el.tagName === 'A') {
      // Set to title or href
      if (el.getAttribute('title')) {
        setStatus(el.getAttribute('title'));
      } else if (el.href) {
        setStatus(el.href);
      }
      return;
    }

Is there any reason this should use the title?

@canuckistani is there a product reason we'd want to show the title here sometimes? Or should it be the href like it is currently in Firefox?

@linclark no reason to be different from Firefox at this point, goes for basically all features that aren't being actively tested.

r? @linclark

👍
The tests are red on CI, but ran them locally and they work.

@rnewman @linclark should we land this?


Revert "Fix implicit 2"

Reverts near/near-wallet#1070
We should merge smaller fix for now instead:
https://github.com/near/near-wallet/pull/1074

I'm not sure there's a different fix for this. There are still users with LAK seed phrases from enabling 2fa on implicit accounts that are not being rotated back to FAKs.

There are still users with LAK seed phrases from enabling 2fa on implicit accounts that are not being rotated back to FAKs.

I don't think this is a big issue. As I understand they can still require anyway with 2FA approval, add different recovery method, etc. Correct?


Add a button to clear curve points in the Path2D editor

Create a get_points function in scene\resources\curve.h.
Create clear_curve_points and restore_curve_points to handle the undo_redo system in the editor\plugins\path_2d_editor_plugin.h.
Set the MODE_EDIT when entering the Path2D node, if a curve has already been created.
Set the MODE_CREATE if the curve is valid, but empty.
Added a confirmation dialog before clearing the points.
Added the possibility to delete points in edit and edit curve modes.

It's a bit more of a "danger" action and also the only one that does what you need in one click instead of needing to interact with the 2D editor. Maybe it should be in the Options dropdown instead?

I'm trying to close all the possibilities of undo_redo first (the hard part of the pr) to discuss this. I believe that the button is so different from the others and the user can still use ctrl+z.

I think moving to to Options menu is better for 2 reasons:

it's not something used often
other buttons are for interacting with the path, this one isn't (although this applies to close curve too I guess...)
Making destructive action more difficult to click accidentally is a bonus, but undoredo makes it irrelevant.

You need to resolve the conflicts

History working and add a confirmation dialog before clearing the curve.

Ok. I believe it's ready for review.

Just finished. It's ready for review.

The implementation looks alright, but not sure about the auto mode change. It might be annoying when editing multiple paths and you want to use another tool.
Also the clear operation doesn't need confirmation, because you can undo it.
Also I still think the popup menu might be better place to put it.

I agree with the auto mode change part. In fact, when editing multiple curves you may want to stick to the same mode. I'm going to remove it at least from the part when you select the Path2D node in the editor.

The second part of this comment was not addressed: https://github.com/godotengine/godot/pull/81325#issuecomment-1742835674

@akien-mga I sent you a direct message in the contributors chat. Would you mind to response?

Thanks!

Hmm should this be happening??
I think something is broken...
https://github.com/godotengine/godot/assets/90724319/863fc76c-69d6-4449-a178-ead96ce7b868
Godot 4.3 dev 5
Running on Mac M1

That's #89781
Will be fixed in dev 6.


Add istioctl proxy sample

Please provide a description of this PR:
Example proxy server needed to support istioctl running on a remote cluster.

@frankbu: 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
7aa85efc45cb1f578bb1db4293a1d8004fe9a063
link
true
/test lint_istio

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

@frankbu: 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
7aa85efc45cb1f578bb1db4293a1d8004fe9a063
link
true
/test lint_istio

release-notes_istio
7aa85efc45cb1f578bb1db4293a1d8004fe9a063
link
true
/test release-notes_istio

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

/retest

@frankbu: 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

gencheck_istio
7d898751471a5e0d74b6068bd42b7f018e36701e
link
true
/test gencheck_istio

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

@howardjohn Yeah, I think you're right. I started out thinking this would be an example of what needs to be done, but as I progressed, it started looking more like a component people could just use. I'm not sure it really fits well in istio-ecosystem because it's not really much of a project, just a simple server. It seems like maybe it should be co-located with the istioctl code.
Would you be OK with merging it now in samples and I will take the TODO to move it elsewhere in a future PR. I'd like to make it, and the associated blog post, available asap.

I think this is exactly in line with istio-ecosystem, a lot of similar scoped projects are there. What I want to avoid is this server being the responsibility of the Istio project. Or if we do want that, then we will need to get buy in from WGs, performance testing, security review, ... which I don't think we want?

I'm not sure about this... What I would like to see instead is the real implementation - even if it is as a go binary - of a HBONE proxy that allows forwarding to a specific pod, and supporting it as a first-class feature. It's the main missing feature for multi-network - Istiod is not special, just another stateful set in this case.
We can keep this as a sample - but I don't  know if we should promote it as ecosystem.
Another option would be to link this code into Istiod itself, as a sort of 'federated' support, so one Istiod can also return the aggregated response ( it can also be an option in the request itself, to be able to get the data from one instance or cascade ).

@howardjohn @costinm I like the idea of linking this into istiod and making it an optional feature, but I don't have the cycles to drive that work right now. Are you OK with merging this PR as a sample for now? I will open an issue to move the functionality to Istio proper in a future PR.
I agree with @howardjohn that it's not "really" an Istio sample, but then either are some of the other components in the samples/ dir (e.g. httpbin service), so it doesn't seem like a total mismatch to me.

I think something is only really a sample if there is a production
alternative.
What is the issue with istio-ecosystem? It's as simple as git pushing the
code
On Thu, Mar 24, 2022, 6:32 AM Frank Budinsky @.***>
wrote:

@howardjohn https://github.com/howardjohn @costinm
https://github.com/costinm I like the idea of linking this into istiod
and making it an optional feature, but I don't have the cycles to drive
that work right now. Are you OK with merging this PR as a sample for now? I
will open an issue to move the functionality to Istio proper in a future PR.
I agree with @howardjohn https://github.com/howardjohn that it's not
"really" an Istio sample, but then either are some of the other components
in the samples/ dir (e.g. httpbin service), so it doesn't seem like a total
mismatch to me.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/38094#issuecomment-1077632205, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXN25UM4UZ67VTFVARLVBRVGHANCNFSM5RO56XSA
.
You are receiving this because you were mentioned.Message ID:
@.***>

https://github.com/istio-ecosystem/istioctl-proxy-sample is created for this

Moved to https://github.com/istio-ecosystem/istioctl-proxy-sample


Add severity WARNING to pgoperate --check module

pgoperate --check distinguishes currently between severities ok and critical. Additionally, it should support the severity warning.

The severity warning or critical can be defined for checks where the current value is above the threshold. There is a new input variable for every check <function_name>_SEVERITY.

Backward compatibility is given because the default severity remains critical if the input variable <function_name>_SEVERITY is not defined.


First blogv2 instance contains migrated blogs

feat: the first blogv2 addon a community admin adds will have the blogv2 id. Others will get a random id.

The blogs are all migrated to socialdb.

Go to the Explorer
Pick a community and look for their migrated blogs: Example neardevnews.community.devhub.near/blog/**
Every blog has "communityAddonId": "blogv2",
So the first blogv2 instance a community should should have this id "blogv2".
New instances the something like "blogv2-id-randomstring"


update Ghost to be compatible with Pharo8

In Pharo 8 tests are read due to incompatible version of Ghost (related to asCollectionElement rename)

simple change not enough . It requires many updates


fix(issue-triage): add pat

missing personal access token config

So wild that they still haven't fixed this wrt needing a PAT over an app token: https://github.com/orgs/community/discussions/46681#discussioncomment-8774842


Theme Slaughter: List of past votes stopped updating

At around 550 votes my theme list stopped adding the new votes. I investigated a bit in the firefox inspector, the vote goes through and I get a response of code 200(OK), and the count of the total votes go up.
but the list of text themes stays the same. when refreshing the page, or even after logging in again.
I'm not sure if my votes are added properly to the database or not.
I looked at the request/response for the list, and it attempts to send all of the 500+ votes names and yes/no. but the new votes are not there. maybe it's trying to send too much?
I guess you could just send the last ~10 votes or so, as all of them don't show anyway. in case it's just a display issue.

Can I get you to add a couple more votes?
I'm seeing 572 suggestions in the database under your ID (761).

You seem to be right, and it's just an ordering issue. I voted again for "Mom's spaghetti", the visible list was not updated but I found it in the response text (after a refresh): as "3626":"Mom's spaghetti". so it does get to the browser, just not displayed.

Cool. So it's the screwy way I fetch the list of previous themes that's to blame.


Install ipex-llm is resulting in timeout

I am following new guide for installing ipex on Intel Arc 770 GPU:
I added : pip install --default-timeout=100 future , But now its horrible slow
https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Quickstart/install_linux_gpu.html
Install ipex-llm:
`(llm) serpent@serpent-NUC12SNKi72:~/LLM_Demo$ pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://developer.intel.com/ipex-whl-stable-xpu
Looking in indexes: https://pypi.org/simple, https://developer.intel.com/ipex-whl-stable-xpu
Collecting ipex-llm[xpu]
Using cached ipex_llm-2.1.0b20240326-py3-none-manylinux2010_x86_64.whl.metadata (4.5 kB)
Collecting py-cpuinfo (from ipex-llm[xpu])
Using cached py_cpuinfo-9.0.0-py3-none-any.whl.metadata (794 bytes)
Collecting protobuf (from ipex-llm[xpu])
Using cached protobuf-5.26.0-cp37-abi3-manylinux2014_x86_64.whl.metadata (592 bytes)
Collecting mpmath==1.3.0 (from ipex-llm[xpu])
Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting numpy==1.26.4 (from ipex-llm[xpu])
Using cached numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
Collecting transformers==4.31.0 (from ipex-llm[xpu])
Using cached transformers-4.31.0-py3-none-any.whl.metadata (116 kB)
Collecting sentencepiece (from ipex-llm[xpu])
Using cached sentencepiece-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.7 kB)
Collecting tokenizers==0.13.3 (from ipex-llm[xpu])
Using cached tokenizers-0.13.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB)
Collecting accelerate==0.21.0 (from ipex-llm[xpu])
Using cached accelerate-0.21.0-py3-none-any.whl.metadata (17 kB)
Collecting tabulate (from ipex-llm[xpu])
Using cached tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Collecting torch==2.1.0a0 (from ipex-llm[xpu])
Downloading https://intel-extension-for-pytorch.s3.amazonaws.com/ipex_stable/xpu/./torch-2.1.0a0%2Bcxx11.abi-cp39-cp39-linux_x86_64.whl (150.8 MB)
╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/150.8 MB 48.0 kB/s eta 0:51:19
╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/150.8 MB 48.0 kB/s eta 0:51:19
ERROR: Exception:
Traceback (most recent call last):
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 561, in read
data = self._fp_read(amt) if not fp_closed else b""
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
return self._fp.read(amt) if amt is not None else self._fp.read()
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 98, in read
data: bytes = self.__fp.read(amt)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/http/client.py", line 463, in read
n = self.readinto(b)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/http/client.py", line 507, in readinto
n = self.fp.readinto(b)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/ssl.py", line 1275, in recv_into
return self.read(nbytes, buffer)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/ssl.py", line 1133, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in bool
return bool(self._sequence)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in bool
return any(self)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
candidate = func()
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 211, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 293, in init
super().init(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init
self.dist = self._prepare()
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 304, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 596, in _prepare_linked_requirement
local_file = unpack_url(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 168, in unpack_url
file = get_http_url(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 109, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/network/download.py", line 147, in call
for chunk in chunks:
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
for chunk in iterable:
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
for chunk in response.raw.stream(
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 587, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/home/serpent/miniconda3/envs/llm/lib/python3.9/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='intel-extension-for-pytorch.s3.amazonaws.com', port=443): Read timed out.
`

Hi, we have updated our installation command in our documents, sorry for the confusion.
Check this page: https://ipex-llm.readthedocs.io/en/latest/doc/LLM/Overview/install_gpu.html#id3
Try pip install --pre --upgrade ipex-llm[xpu] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/  instead :)
Feel free to tell us if the issue still exists.


Re: change matrix represenation

This commit has some bug I haven't figured out yet, but l am also wondering about the gama.Matrix function signature. Should it be changed to this?
gama.Matrix = function(a, b, tx, c, d, ty)

Currently it is this:
gama.Matrix = function(a, b, c, d, tx, ty)

I believe this fixes the bug I mentioned, but still need to update UTs.

I changed the signature as you proposed.
I don't think it is a bug - matrices is multiplied in b * a order, which may be confusing. I changed it to a * b to make it clear. Does the subtract function behave as you expected? Should it be changed to a - b too? What do you think?

Interesting, I hadn't even thought of that. a * b and a - b seem more intuitive. However, I am not using those functions directly. I have a small app which does a series of transformations with gama. Some of those transformations (translateMatrix, scaleMatrix) use multiplyMatrix internally. When I upgraded to this commit my app broke. However, when I made this change it fixed it.

Try your app with current master and let me know.

Sure, I don't mind updating my app at all. However, my expectation was that certain operations would not require any change. For example, consider the following file (index.js):
const gama = require('gama');
const {Point} = gama;
const R = require('ramda');

const m = gama.EmptyMatrix();
const point = Point(2,3);

const xf1 = gama.translateMatrix(Point(5,10));
const xf2 = gama.scaleMatrix(Point(3,3));
const xf3 = gama.translateMatrix(Point(3,9));

demo(xf1);
demo(xf2, xf1);
demo(xf3, xf2, xf1);

function demo(...xf) {
  const matrix = R.compose(...xf)(m);
  const p = gama.transformPoint(matrix, point);
  console.log(p);
}

Now I execute the file like this, (this is copy+pasted from my terminal):
gbirman@gama-demo$ npm install gama
<EMAIL_ADDRESS>node_modules/gama
└──<EMAIL_ADDRESS>gbirman@gama-demo$ babel-node ./
{ x: 7, y: 13 }
{ x: 11, y: 19 }
{ x: 20, y: 46 }
gbirman@gama-demo$ npm install https://github.com/honzabrecka/gama.git
<EMAIL_ADDRESS>node_modules/gama
└──<EMAIL_ADDRESS>gbirman@gama-demo$ babel-node ./
{ x: 7, y: 13 }
{ x: 21, y: 39 }
{ x: 24, y: 48 }

Is that what you expected?

You were right, there was a bug which is actually fixed: 2 + 5 = 7; 7 * 3 = 21; 21 + 3 = 24
Fixed version will be released soon.


Add option to change encoding to smtp adapter

Ref #340.
This was born as a "quick and dirty" fix, so it may not be perfect.
Tests are passing, but I have not added any new ones.
It also does not solve the original issue itself, just side-steps it with using different encoding.
Feedback and advice on how to improve it (and what tests to add) are welcome.

@princemaple thanks. Of course, take your time.
We are using this in the meantime as fork, so maybe we'll spot any other nuances as well.

Hi @ivan-kolmychek , how's your change been going for you? I made a few modifications. I'll merge this one in if there hasn't been any issue on your side.

@princemaple it's running all right, we have not found any issues so far.
I pulled your changes and tested it a bit locally now, it does works for me.
After you will merge I think we can switch to using master for now, so it will get more live testing until you are ready to actually release next version.

Thanks a lot for testing this live :)

Hi @ivan-kolmychek , just checking, has master caused any trouble so far?

@princemaple no, have not spotted any problems yet, but we pinned it to the merge commit for now, so I can't say anything about any further changes.
We can swap it to current HEAD on Monday (Feb 18th) to test that through a bit more.

Thanks for the reply. The later commits should not have an impact on the SMTP code. I think I will make a release sometime next week. Thanks again!


Add TIL: Outlook Shift + Del Nuclear delete option

In MS Outlook (Desktop?) using Shift + Del nukes your message(s).  No archive, no deleted folder. The only recovery option becomes eDiscovery.

I occasionally declare "email bankruptcy" when inbox gets to crazy. Ctrl + A (select all), Shift-Delete (nuke all)

@RhetTbull

I occasionally declare "email bankruptcy" when inbox gets to crazy. Ctrl + A (select all), Shift-Delete (nuke all)

I can only imagine how liberating that must feel (for a few minutes at least).


ListView RefreshControl - Unable to pull to refresh if empty

Description
When a ListView is empty, there is no way to do a pull down to refresh with the RefreshControl. I have no other event triggered option to refresh besides pull down to refresh. How can I get around this?
<ListView
            dataSource={this.state.datasource}
            renderRow={this._renderRow}
            refreshControl={
              <RefreshControl
                refreshing={this.state.refreshing}
                onRefresh={this._onRefresh} />
            } />

Additional Information

React Native version: 0.41
Platform: Android
Development Operating System: MacOS
Dev tools: Android Studio

Now my project has the same problem,Have you Fixed it?

No fix but I just created a button to reload if the content if is empty.
So basically
if (this.state.datasource.getRowCount() == 0) {  <View>  <Text>No content</Text>  <Button onClick={this. _onRefresh.bind(this)}>Click to refresh</Button> </View>  } else  {   <ListView ....... ></ListView>  }

Version 0.51, applies to FlatList as well. Comment above is more like a workaround, IMO this should be fixed within the core, empty list is still a list.

Hi, guys, you can solve like this:
When the data is empty, the height of ListView is 0 if you haven't set its style before.
So set the minHeight of ListView to a value(e.g. the screen height) will solve this:
And set the style of empty_btn to make it transparent and float on the top of ListView.
import { Dimensions } from 'react-native'

class PostList extends React.Component

    render: ->
        empty_btn = null
        if @state.posts.length == 0
            empty_btn = (
                <Text
                    onPress={@refresh}
                    style={
                        position: 'absolute'
                        top: 0
                        left: 0
                        backgroundColor: 'rgba(0, 0, 0, 0)'
                }>Pull or Click to refresh</Text>
            )

        return (
            <View>
                { empty_btn }
                <ListView
                    ...
                    style={
                        minHeight: Dimensions.get('window').height
                    }
                />
            </View>
        )


Ability to duplicate data files?

Hi great project!
For testing, I am creating dummy rows, 1 billion. I want to duplicate that several times to test performance (e.g. on 10 billion rows), etc. So far, I am just using a producer to yield pyarrow recordbatches. I see in the filesystem that Lance progressively writes to a data file, so 1 billion rows comes out to 3.8G. Is there the ability to simply duplicate these data files and have the dataset pick them up? Or is there some api to do so? Duplicating at the file level is fast, takes just a few seconds. But writing a new file for each 1 billion rows is slow.
Thanks!

If you don't mind dipping into advanced APIs you can probably achieve this with the fragment API:
Create a fragment
https://lancedb.github.io/lance/api/python/lance.html#lance.fragment.LanceFragment.create_from_file
Add those fragments to the dataset
https://lancedb.github.io/lance/api/python/lance.html#lance.dataset.LanceDataset.commit

Hmm, thought that would work but with this code:
fragment = lance.fragment.LanceFragment.create_from_file(
    "test.lance/data/b69cc771-20e9-4039-9cc6-c99c240dcbf4.lance",
    schema,
    fragment_id=0,
)
operation = lance.LanceOperation.Overwrite(schema, [fragment])

I get this error:
TypeError: fragments must be list[FragmentMetadata], got <class 'lance._FragmentMetadata'>

I was able to figure it out thanks for your help again


add LICENSE.txt as

pytorch submodules require a lincense.txt or setup.py

test pytorch please

retest this please

cc @sunway513


chore(examples): improve nuxt-prefetch pkg.json

Types of changes

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

CI failure seems random

Codecov Report

Merging #4653 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #4653   +/-   ##
=======================================
  Coverage   90.81%   90.81%
=======================================
  Files          67       67
  Lines        2220     2220
  Branches      542      542
=======================================
  Hits         2016     2016
  Misses        185      185
  Partials       19       19

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 7fc4ba2...c9c4f27. Read the comment docs.


Help the issues of FileSystemException

I am learning flutter  during debugging i got this error
FileSystemException: FileSystemException: Creation of temporary directory failed, path = '/tmp/flutter_tools.' (OS Error: No space left on device, errno = 28)
this the log flie
flutter_01.log

Hi @Ravimgr
Closing as duplicate of https://github.com/flutter/flutter/issues/54213


[ACR] Chunked upload

Packages impacted by this PR

@azure/container-registry

Issues associated with this PR

#21179
#23739

Describe the problem that is addressed by this PR
WIP implementation for chunked OCI blob upload. By default, splits blobs into 4MB batches, but this is configurable via an option in the options bag.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-container-registry


Multiple crosshair price labels when there are crosshair markers in series

Lightweight Charts Version: "lightweight-charts": "3.2.0",
Steps/code to reproduce:
i create clear project with last js library version.
value label is not show but time label is okey.
in console no warning/error
What is can be ?
this.chart = createChart(this.$refs.chartDiv, {
			timeScale: {
				timeVisible: true,
				secondsVisible: true,
			},
			crosshair: {
				horzLine: {
					visible: true,
					labelVisible: true,
				},
				vertLine: {
					visible: true,
					labelVisible: true,
				},
				mode: 1,
			},
		});
this.l= this.chart.addLineSeries({ color: 'green' });
this.l.setData(data);

this.l2= this.chart.addLineSeries({ color: 'red' });
this.l2.setData(data2);

I don't think that we'll implement multiple crosshair price values in lightweight-charts in the future. But let's keep it as a feature request.

I belive this is not about crosshair price. Becaue I have a similar issue:

Any update or new developments on this feature?

Anyone in the thread and @prirefi @boskiv @devopg especially - what would you expect as a solution here? How in your opinion it should be solved?

I expect to see labels on price scale when I move mouse over graph. 1 version can show all labels from indicators and chart. 2 version can be configurable what to show and what to hide.

@boskiv So you want to have 2 crosshair labels - 1 for the crosshair itself and another ones for a dot, i.e. a series value for this time, am I right?

@timocov As you can see from my recent screenshot there is no labels on price scale from chart and indicator(MA). I want to see all labels from all objects that fit under crosshair

is no labels on price scale from chart and indicator(MA).

Are you talking about labels for the latest price or for crosshair? Because it seems that you disable last price labels. I just don't want to mix them together to avoid any confusion. For me it is still unclear what and why you want to get it so that's why I'm asking questions.

Thank you for your feature request for Lightweight Charts. In order to keep the library lightweight and maintain a narrow focus, we strive to include only strictly required features in the core library. As a result, we have decided that this requested feature should be implemented as a plugin instead, and will be closing this issue as a result.
We recently introduced the ability to write plugins for Lightweight Charts, allowing users like you to extend the functionality of the library without adding it to the core. We highly recommend implementing your feature request as a plugin to achieve the desired functionality while keeping the core bundle size smaller for all users.
To get started with plugins, please refer to our Plugins Documentation for a better understanding of what is possible and how plugins work. You can also explore our collection of plugin examples (with a preview hosted here) for inspiration and guidance on implementing specific functionality.
For your particular feature request, we suggest taking a look at the following examples (see above links):

Partial Price Line
User Defined Price Lines
User Price Alerts

To help you get started quickly, we have created an NPM package called create-lwc-plugin, which sets up a plugin project for you. This way, you can hit the ground running with your plugin development.
If you do create a plugin based on your feature request, we would appreciate it if you could publish it on GitHub or NPM and let us know. This way, we can share it with the rest of the community. It would be helpful if you could prefix your NPM package name with lwc-plugin- for easier discoverability by others.
Thank you for your understanding and support. We believe implementing your feature request as a plugin will greatly benefit both you and the Lightweight Charts community.


Mod, Rem, Quotient?

I noticed that, while Div is a binop, Mod, Rem, and Quotient are not. What gives?

Well, we could add them. They can be computed using existing operations, so we wanted to keep the ASR minimal.


GraphToRules: Remove type (owl Class) as a property for all classes

*Is your feature request related to a problem? Please describe.
Knowledge graphs modeled with OWL often have statements such as
[Station_1][type][Station]
Where the object Station is an instance of an owl:class .
There is no need to convert these type of statements to properties of a class, as the excel sheet is already defining the class. Trying to do so, will in addtion result in an error:
Errors: ValueTypeIDRegexViolation

Value type 'Class' stored in 'Type' column in 'Properties' sheet violates regex (?!^(Class|class)$)(^[a-zA-Z][a-zA-Z0-9._-]{0,253}[a-zA-Z0-9]?$)!

Describe the solution you'd like
Rules creating type properties where the object is an instance of Class should be removed from the generated excel sheet.
Example,  Remove lines such as as :

Class
Property
Description
Type

Station
type

Class

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

As we moved this


Unpack archive files

Unpack archive files:

use unrar/rar and 7z binaries (or maybe libarchive?)

Resovled in v1.2


PUG don't work

When I try use emmet with PUG it doesn't work, with JADE works fine but not with PUG.
I can't use ! + TAB for make simple structure and other things :/

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37528298-pug-don-t-work?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F535900&utm_medium=issues&utm_source=github).

same prob.

Same here using sublimetext 3

I am having the same issue.

Same the problems

Same here

same, not working 🤒

+1

Same the problems

I think emmet is not yet updated and doesn't support pug as of now.

I’m in the middle of full Emmet rewrite. Pug support will be added into new version

It's a good news!

+1

Yey :D

I tried this workaround and It didn't work for me

I have the same problem, and the trick that mdmad7 said does not work for me either

For those who’s not afraid of testing new things, check out first alpha version of new Emmet plugin (Pug support included): https://github.com/emmetio/atom-plugin

For guys who cant get the emmet work on pug,
please make sure to read #354
after do the suggestion provided as above
try install the following Atom package :

jade
atom-jade
language-jade

after the installation, restart the Atom
then the emmet with pug should workable

@LiTiang i done your instructions, some snippets works but not "advanced" snippets for example p>div*2 doesn't work, but html (+tab) works perfectly. ! +tab doesn't work. I thought pug / jade was famous and would work well in all editors, I was wrong. Thank you anyway.

Honestly don't get y urs arent working.  if u still wanna give it a shot, try installing dese plugins as well,
atom-pug
language-pug
Lemme noe wat happens


Template based on Img2Txt Diffusion finetuning?

Anyone tried to take a stab as post-DPO optimization of Diffusion Image Models?

KTO https://github.com/jacklishufan/diffusion-kto
MaPO https://github.com/mapo-t2i/mapo
SePPO https://github.com/DwanZhang-AI/SePPO
SPO https://github.com/RockeyCoss/SPO?
RPO https://github.com/yigu1008/Diffusion-RPO

Q1: How do you get the AI to reference all of these repos and papers beforehand?
Q2: Can AI Scientist fetch code an datasets on their own?

Q1. Likely the most effective route would be to provide some of the base code for the above in the template.
Q2. It can fetch datasets it knows the names of from things like torch / huggingface.


Check before install (suggest to add a check section to do checking/testing)

It's better to do testing before install. Normal package building systems have a "check" function. It will execute make test, cargo test, etc. Therefore, I suggest to add a check function in the build file. The function will be executed before install.
Some references:

https://wiki.archlinux.org/index.php/creating_packages#check.28.29
https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#check.28.29

Should check be required unless the author of the build file specifically marks that there is no check step (like in PKGBUILDs and APKBUILDs)?

Sure, I think it's a good practice.


Hue Bridge not recognized by Alexa device with v4.5.6

I have a iLive Platinum Alexa device, that says it supports Home Automation (but I'm beginning to doubt that).
Here is my trace:
2017-09-19 12:41:14,899 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener - Traceupnp: sendUpnpNotify notifyTemplate is <<<NOTIFY * HTTP/1.1
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
LOCATION: http://<IP_ADDRESS>:8080/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.19.0
NTS: ssdp:alive
hue-bridgeid: B827EBFFFE7B2EF9
NT: uuid:2f402f80-da50-11e1-9b23-b827eb7b2ef9
USN: uuid:2f402f80-da50-11e1-9b23-b827eb7b2ef9
Here is the output of a upnp discovery app in Linux:
USN: uuid:2f402f80-da50-11e1-9b23-b827eb7b2ef9::upnp:rootdevice
Location: http://<IP_ADDRESS>:8080/description.xml
resource available
USN: uuid:2f402f80-da50-11e1-9b23-b827eb7b2ef9
Location: http://<IP_ADDRESS>:8080/description.xml
resource available
Here is the description.xml
10http://<IP_ADDRESS>:8080/urn:schemas-upnp-org:device:Basic:1Philips hue (<IP_ADDRESS>)Royal Philips Electronicshttp://www.philips.comPhilips hue Personal Wireless LightingPhilips hue bridge 2015BSB002http://www.meethue.comb827eb7b2ef9uuid:2f402f80-da50-11e1-9b23-b827eb7b2ef9(null)(null)(null)(null)(null)index.htmlimage/png484824hue_logo_0.pngimage/png12012024hue_logo_3.png

The iLive may be hard coded to find the ha-bridge/hue on port 80 not port 8080.

Sorry for the late response.  I tried changing the ha_bridge/hue port to 80 and the iLive still could not discover any devices.

So, is there any more info from the trace? Did the iLive request the description.xml?


Plan for supporting tf.contrib.seq2seq.prepare_attention in r1.2

Any plans to support
https://www.tensorflow.org/versions/r1.0/api_docs/python/tf/contrib/seq2seq/prepare_attention
in r1.2?

I think we deleted all this code in favor of an object oriented API.


Insert sql binding into Azure function quick pick

This adds the initial skeleton for the insert sql binding into Azure function scenario in vscode. The command is only available when the active editor is a C# file.
This isn't hooked up to the sqltoolservice changes yet so it doesn't do anything at the end of the flow, but I'm sending out smaller PRs for this so it'll be easier to review :)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 38 (42.11%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 41.533%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/dialogs/insertSqlBindingQuickpick.ts
3
25
12.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
26140

Relevant Lines:
57035

💛  - Coveralls

once we have the TODOs covered we should add some tests also


Does this only work when in Headless Mode?

Description
I am working on a project that is essentially taking an existing templated Craft website and creating new Gatsby front-end. The existing website is not in Headless mode yet while the new front end is still in development.
Does craft have to be in headless mode for these plugins to work? I ask because I'm getting these errors while trying to connect the API to the existing (not headless) CMS and I read in the craft documentation that the API responses are in HTML unless in headless mode where the responses will then be in json.
FetchError: invalid json response body at https://[REDACTED].com/api/ reason: Unexpected token   in JSON at position 0

  - index.js:272
    [REDACTED]/[node-fetch]/lib/index.js:272:32

  - task_queues.js:93 processTicksAndRejections
    internal/process/task_queues.js:93:5

  - gatsby-node.js:287 execute
    [REDACTED]/[gatsby-source-craft]/gatsby-node.js:287:12

  - load-schema.ts:12 introspectSchema
    [REDACTED]/[gatsby-graphql-source-toolkit]/src/config/load-schema.ts:12:31

  - load-schema.ts:36 loadSchema
    [REDACTED]/[gatsby-graphql-source-toolkit]/src/config/load-schema.ts:36:31

  - gatsby-node.js:38 getSchema
    [REDACTED]/[gatsby-source-craft]/gatsby-node.js:38:18

  - gatsby-node.js:208 writeDefaultFragments
    [REDACTED]/[gatsby-source-craft]/gatsby-node.js:208:17

  - gatsby-node.js:542 ensureFragmentsExist
    [REDACTED]/[gatsby-source-craft]/gatsby-node.js:542:5

  - gatsby-node.js:305 Object.exports.onPreBootstrap
    [REDACTED]/[gatsby-source-craft]/gatsby-node.js:305:5

  - api-runner-node.js:483 runAPI
    [REDACTED]/[gatsby]/src/utils/api-runner-node.js:483:16

Steps to reproduce

Additional info

Craft version: 3.5.15
Plugins & versions: "gatsby": "^3.0.1"

Have you set up the route you're using? (/api) Are you using the right token for access or, if not using a token, is the Public Schema configured to allow Gatsby queries?

Okay, next thing to check would be Craft CMS log files - GraphQL API responses are always in JSON, so it's possible that you're hitting a PHP error and there's a stack trace in the response, which should also get logged to the log files.

I'm very new to Craft-- are the log files the same ones that you can reach via the dashboard > utilities > logs ? Or are they stored in the database?

They are stored on the server - storage/logs/ and you would be interested in both phperrors.log (if it exists) and web.log.

I went through both phperrors and web and didn't see any trace of my failed API call

That is odd. Are you able to query the API using the same token with a client, for example, Insomnia?

So I'm getting the same error message in Insomnia. I tried reading through the timeline tab but I am struggling to understand enough to find where it went wrong.

Well, the good news is that it's reproducable from an "external" request. Is this in a publicly reachable site, somewhere? If so, is it possible to share the Gatsby token via email with<EMAIL_ADDRESS>I could try to unravel this for you then.
If you can do that, please reference this issue. If this is not on a public site, I'll think on some options on how to make it easer to debug this.
Sorry for all the hassle!


adding docker daemon switch to spec

At the minute you can specify you builder using the --builder command line flag.
We want to also give the option to specify the builder in your spec.yaml file with the daemon boolean flag.
If the flag is set to true, docker will be used; otherwise buildah will be used.

--builder takes the precedence


Required prop does not affect HTML5 validation due to conflicting readonly attribute

According to:
https://stackoverflow.com/questions/12777751/html-required-readonly-input-in-form
An input element with the readonly attribute is not validated by the browser, thus the required attribute has no effect. Your component is rendered with the readonly attribute, so even when correctly supplying the required prop, which causes the required attribute to be rendered, the attribute has no effect.
I'm not sure what to suggest in terms of a solution, but this issue makes the required prop useless.

Interesting, thanks for the heads up!

Is the readonly attribute necessary on the inputs? Can that be optional? (Having the readonly prop is also messing with styling the elements when used with bootstrap 4.)

It makes sense that it is there - one should not be able to manually edit
the text after selecting a date as it could very easily be made to not
match the configured format.
On Tue, Jul 25, 2017, 2:57 AM thatbignerdguy<EMAIL_ADDRESS>wrote:

Is the readonly attribute necessary on the inputs? Can that be optional?
(Having the readonly prop is also messing with styling the elements when
used with bootstrap 4.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/charliekassel/vuejs-datepicker/issues/188#issuecomment-317521021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFhG2LMCbK2FfeCiygBjfXRWNnaRQ12Kks5sROkSgaJpZM4OGPWQ
.

I would suggest placing a transparent div over a non-readonly input (absolutely positioned), and set tabindex="-1" on the input, and tabindex="0" on the div.  This will keep it "validate-able", but prevent anyone from easily changing it. The click handler would need to be moved to the div.
Note the click handler should also react to enter and space keypresses to open the picker.

For anyone struggling with this:
A workaround for us was to add prop :typeable="true" to <datepicker>
This way the readonly is not set (compare https://github.com/charliekassel/vuejs-datepicker/blob/master/src/components/DateInput.vue#L25)


[System tests] Adding tests when notifying on liquidated auction

Creating a system test that introduces 2 bidders. The first one that takes a partial offer on an opened cov pool auction. And the second bidder which buys a deposit outside the cov pool. Testing functionalities of notifyLiquidated() after the deposit is bought outside the cov pool by a third party bidder.
Refs https://github.com/keep-network/coverage-pools/issues/83

Please note the changes introduced by #88 before merging. SignerBondsEscrow has been renamed.


[BUG] Timer doesn't make sense in the date-picker in 2 specific formats

Browser Details: Chrome
Device Details: macOS 10.15.6 (MacBook Pro)
Note: Tried on cloud.
Steps to replicate:

Pick date-picker

Actual Result: If date format is selected as YYYY-MM-DD or DD/MM/YYYY, timer is still present on the date-picker. Despite user's selection, it doesn't appear because of the specified time format.
Expected Result: If date format is selected as YYYY-MM-DD or DD/MM/YYYY , timer shouldn't be present.
Attachment: https://drive.google.com/drive/folders/1MtzFJYCu6L8sO8DUE3mBEpKiaMa7Mprv?usp=sharing

We need a separate datepicker widget which uses and displays only dates.

This issue will be resolved with #3516, And in extensions, the time picker will be a separate widget #3346


[r2.2:Cherrypick][tf.data] This CL changes how the in-memory cache resource is managed, making it possible for the cache dataset to support both a) sharing of the cache across iterators and b) serialization. As a consequence, this CL enables sharing of the cache across iterators for tf.distribute and tf.data service use cases (which require serialization support).

PiperOrigin-RevId: 307469217
Change-Id: Ia4f4384752609b83cb10078ebeb20dfc6c8a2d8f

Thank you @geetachavan1. Do you plan to cherrypick the other cache CL I pointed out on the internal bug separately? I am not sure whether it is easier to do it separately or in one PR but we need both CLs to be cherrypicked.


upon creation of a second image, name of the 1st one is taken

scenario:

user logs in

user creates container by https://github.com/everware/everware-dimuon-example,

everware creates image, container and starts it fine

user stops container in control panel

user creates another container by another URL https://github.com/anaderi/openml-demo,

everware picks as a name of image from 4 but recreates it with contents of new repo

as everware starts container , user sees contents of image created before (4!) :dizzy_face:

Trying to solve this in #51

fixed


Error in CLI Only : 'NoDriver calling acmFormatSuggest'

I know this is a common error but I have a unique use case.
I have a proprietary 14 year old ACM WAV codec. I've built a working WAV to MP3 encoder using C# and WinForms.
I am now trying to make it a command line process using the same code and I am getting the above error. My assumption is that command line doesn't load the ACM libraries.
Is there something I need to do to initialize that process?

I can't think why you'd get different codecs available on command line vs winforms. Could one of the apps be running x64 vs x86 perhaps?
Also is the ACM codec registered with Windows? Or are you using the feature of NAudio that lets you register an ACM codec at runtime?
https://github.com/naudio/NAudio/blob/52491103dd368ebc243d2d5ff57fcdfaddc5cf42/NAudio.WinMM/Compression/AcmDriver.cs#L44


Ignore tests with org.junit.Ignore annotation

What's the use case here? I would expect these to still show up so test runners can know about them. IMO ignored tests should still show up in a test report as "skipped", but even if you want to exclude them, that feels like it falls in the domain of the test runner rather than dex-test-parser.


The issue in creating Non-embedded app

Hi
How can I create not embedded app? Even if I disable my embedded app from my partner account and re-open the app, the app is still embedded. How can I make it non-embedded?

Laravel Version: 8.80.0
PHP Version: 7.4.3

This is a known issue and it currently not support yet.
Keep an eye on this PR.
https://github.com/osiset/laravel-shopify/pull/935


Generators

Make sure that model generators work: https://forum.javascriptmvc.com/#Topic/32525000001714003

That post is over a year old an talks about JMVC 3.3. I'm not sure what I'm supposed to do with this?

Once you have the model generators tested, please close this issue.

Check if there's weird input.


Creating a Loading component

I would like to create a loading component using Material UI. This component will be rendered while messages are fetched form the database. Kindly assign this issue to me under GSSOC'21!

@AnjaliPatle Go ahead


ensure 3XX responses without location header do not throw

follow up to https://github.com/microsoft/kiota/pull/4367
and https://github.com/microsoft/kiota/issues/4190
Implement a unit test with a 304 response, no location header, check the request adapter returns null and doesn't throw.
Most likely this line will need to be adapted.
https://github.com/microsoft/kiota-http-go/blob/7f1b45b9907b402c56e1b1cacd02d96227e70da4/nethttp_request_adapter.go#L746

Hi @baywet is this issue open for contribution?

@Haimantika yes!

@Haimantika yes!

Amazing. How can I assign it to myself? My go skills are rusty, but I would love to give it a try.

You can't because of permissions, but I just assigned it to you for the time being. Let us know if you have any question!

Hi @baywet this is what I am planning to check in the unit test:

Check 304 response
Check if no location header present
Check if it is throwing null and not throwing any error.

Let me know if I am thinking correctly or I need to take a different route.

That'd be perfect! thanks for taking this on.

That'd be perfect! thanks for taking this on.

Hi @baywet apologies I missed this notification. I am currently in a conference, will try to raise a PR by early next week.

@baywet just raised a PR. I think this should be all. Let me know what you think.


Signin fails when webClientId is used and Google App is installed on device

Experiencing the same thing outlined here.
I have a webClientId setup and offlineAccess set to true. When a user has the Google App installed on their phone it will open that application for authentication. When it comes back to my app the sign in throws an error.
Everything works as expected on the simulator or when the user doesn't have the Google App (thus opening the web view for authentication). Everything also works fine when the offlineAccess is set to false.
It seems that app switching isn't recommended in by this comment.
I tried to dig into the package code but couldn't figure much out (unfamiliar with native ios development). Any help is greatly appreciated!

I'm also experiencing this issue. Simulator works great with web view signing but when I try it with an actual device, it open the google app and when it returns to my app, it fails with the error:

A potentially recoverable error occurred. You may try again.

It appears to be fixed on Google's side: https://github.com/googlesamples/google-services/issues/51#issuecomment-161144667

Hmm that comment where it's 'fixed' was a good 3-4 months before this issue was even opened.

Do you experience the problem with the latest library version and latest React Native? I try to close old issues but you can reopen if the problem is still there.


if block inside foreach block doesn't parse ending brackets correctly

I think this is different from https://github.com/aspnet/Razor/issues/51 but adding the link in case there is a relation.
Using RC2-16770
My view iterates through a collection of items (Practitioners) and displays some things. That works great UNTIL I add an if block inside the foreach. Then razor finds the closing bracket for the foreach, but associates it to the parent bracket enclosing the overall razor code block. This happens both in VS2015 code highlighting and when the code is executed. Also note, I can add an if statement with a single line - it is when I add the brackets to designate a code block that the issue occurs.
Works:
 @model DistributorPortalViewModel

Simple Customer List

Click a name to expand for details.

@{
    string target, targetId, currentClinic = "";
    foreach (Practitioner p in Model.Practitioners)
    {
        targetId = "collapseArea" + @p.Id;
        target = "#" + targetId;

            @Html.DisplayFor(modelItem => p.LastName)

                @Html.DisplayFor(modelItem => p.Name) at @Html.DisplayFor(modelItem => p.PrimaryClinic.Name)

                Is Listed in Directory? @Html.DisplayTextFor(modelItem => p.IsListed)

}
}

Fails:
@model DistributorPortalViewModel

Simple Customer List

Click a name to expand for details.

@{
    string target, targetId, currentClinic = "";
    foreach (Practitioner p in Model.Practitioners)
    {
        targetId = "collapseArea" + @p.Id;
        target = "#" + targetId;
        if (currentClinic != p.PrimaryClinic.Name)
        {
            currentClinic = p.PrimaryClinic.Name;
<EMAIL_ADDRESS>            }

            @Html.DisplayFor(modelItem => p.LastName)

                @Html.DisplayFor(modelItem => p.Name) at @Html.DisplayFor(modelItem => p.PrimaryClinic.Name)

                Is Listed in Directory? @Html.DisplayTextFor(modelItem => p.IsListed)

}
}

the only difference is the insertion of the if block inside the for each:
            if (currentClinic != p.PrimaryClinic.Name)
        {
            currentClinic = p.PrimaryClinic.Name;
<EMAIL_ADDRESS>            }

Tried to distill this to the simplest possible:
@model DistributorPortalViewModel
@{
    string targetId, c = "";
    foreach (var p in Model.Practitioners)
    {
        targetId = @p.Name;
        if (c != p.Name)
        {

something

        }
    }
}

It seems you have to have at least one line of code with razor sytax in it prior to the if block or it will parse correctly.

Does this work at runtime for you or is it purely a tooling issue?

Fails in both places - didn't really notice it in tooling until it failed while trying to run.

additional info:
I rebooted after reporting, but that didn't make a difference. Same problem.
I thought I would outsmart it by putting two single-line if statements with the code to execute on the same line and no {block}. This time it is even stranger:
    @model DistributorPortalViewModel

Simple Customer List

Click a name to expand for details.

    @{
       string target, targetId, currentClinic = "";
       foreach (Practitioner p in Model.Practitioners)
       {
           targetId = "collapseArea" + @p.Id;
           target = "#" + targetId;
           if (currentClinic != p.PrimaryClinic.Name) currentClinic = p.PrimaryClinic.Name;
           if (currentClinic != p.PrimaryClinic.Name<EMAIL_ADDRESS>

            @Html.DisplayFor(modelItem => p.LastName)

                @Html.DisplayFor(modelItem => p.Name) at @Html.DisplayFor(modelItem => p.PrimaryClinic.Name)

                Is Listed in Directory? @Html.DisplayTextFor(modelItem => p.IsListed)

            if (currentClinic != p.PrimaryClinic.Name) { currentClinic = p.PrimaryClinic.Name; }

        }
    }

This code executes, but not as expected, and the tooling parser is strange too.
a> at the bottom notice that there is an if {block} but it doesn't break things. I can't figure out the difference, but it works here while a block towards the top, as in the previous example, breaks (in runtime and tooling)
b> In this example, if I do NOT put brackets around block for the last if, I get a really nice error warning in Visual Studio that single-statement control flow statements are not allowed in cshtml and you have to use brackets. That makes sense, BUT, I don't get the same warning with the two if statements above. So what is the difference?
c> When this page executes, in my sample dataset there is only one clinic, so when this runs you'd expect the first if statement to evaluate true and update currentClinic variable. It does that. And in subsequent iterations you'd expect to evaluate false because they are now equal. It does that. BUT the second if condition, which is exactly the same, ALWAYS evaluates true and renders the
 block in each iteration, even though the values are now the same.
the debugger sees both sides of the conditional as strings and you can clearly see they are the same, but the != evals to true for the second if while evaluating false for the first one!
Maybe issue#c is due to the lack of brackets and isn't supported, but hopefully all this info helps you track it down.

@NTaylorMullen can you see if there's a safe fix for this?

So I played around with this and it turns out your @p.Id is the culprit. If you remove the @ it all works. My semi-minimal repro is:
@{
    foreach (int x in new[] { 1, 2, 3 })
    {
        var val = @x;
        if (val != 3) { }
    }
}

I'll work on getting a fix for this

e6d4d6c7a128744de7b2e79ac7c59bb5ec42a326

I resolved by replacing the if statement with a switch.

I resolved by replacing the if statement with a switch statement.

I resolved by replacing the if statement with a switch statement in NET framework 4.6.1


Weird behaviour on remove menus.

How to reproduce:

Click on any menu and click on Remove...
Click outside of the pop up twice (do not click on Yes or No), to make the Remove window and the menu disappear.
Repeat these steps multiple times. Sometimes the menu will appear and sometimes it will not.

This happens in every menu I've tried. with both Restore... and Remove...

This is in main, so you should be able to replicate it on the deployed version in prod. Basically, If you exit the popup and the menu clicking outside of the box and you try to open it again, the popup does not appear, and you have to try again several times for it to appear.
https://user-images.githubusercontent.com/15672785/231025126-6a9a37cd-79a3-4ec7-851e-fa59a52af7e9.mp4

@olehkorkh-planeks, whenever you have some time, it looks like there is a minor issue with the Remove button. Thanks.

@antoinefalisse OK, I will check it

Closed w/ #90


ONNX build error while building VAS

Unable to build ONNX package while running the build command for VAS using following
VAS_VERSION=v0.3.1-alpha
vas:
rm -rf video-analytics-serving &&
git clone https://github.com/intel/video-analytics-serving &&
cd video-analytics-serving/docker &&
git checkout ${VAS_VERSION} &&
./build.sh --framework gstreamer
cd ../..
docker build -t video-analytic:paho .
Attached is the error log.
Tried on two different linux machines running ubuntu 18 & 20. Getting the same error.
error_log.txt

@NeethuES-intel VAS_VERSION=v0.3.1-alpha is no longer supported and may have incompatible dependencies.
Can you try the latest version `VAS_VERSION=v0.4.0-beta' ?
Please let us know if you have any issues in migration or it is impossible to move to the latest.

@NeethuES-intel VAS_VERSION=v0.3.1-alpha is no longer supported and may have incompatible dependencies.
Can you try the latest version `VAS_VERSION=v0.4.0-beta' ?
Please let us know if you have any issues in migration or it is impossible to move to the latest.

@NeethuES-intel VAS_VERSION=v0.3.1-alpha is no longer supported and may have incompatible dependencies.
Can you try the latest version `VAS_VERSION=v0.4.0-beta' ?
Please let us know if you have any issues in migration or it is impossible to move to the latest.

@NeethuES-intel VAS_VERSION=v0.3.1-alpha is no longer supported and may have incompatible dependencies.
Can you try the latest version `VAS_VERSION=v0.4.0-beta' ?
Please let us know if you have any issues in migration or it is impossible to move to the latest.

Thanks @nnshah1.
I tried building with v0.4.0-beta, but getting the following error now.
I tried running the build with sudo, but getting the same error. Do you have any pointers ?
Defaulting to user installation because normal site-packages is not writeable
Collecting paho-mqtt
Downloading paho-mqtt-1.5.1.tar.gz (101 kB)
Using legacy 'setup.py install' for paho-mqtt, since package 'wheel' is not installed.
Installing collected packages: paho-mqtt
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/openvino/.local'
Check the permissions.
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the '/usr/bin/python3.6 -m pip install --upgrade pip' command.
The command '/bin/bash -c pip3 install paho-mqtt' returned a non-zero code: 1
make: *** [Makefile:30: vas] Error 1

Thanks @nnshah1.
I tried building with v0.4.0-beta, but getting the following error now.
I tried running the build with sudo, but getting the same error. Do you have any pointers ?
Defaulting to user installation because normal site-packages is not writeable
Collecting paho-mqtt
Downloading paho-mqtt-1.5.1.tar.gz (101 kB)
Using legacy 'setup.py install' for paho-mqtt, since package 'wheel' is not installed.
Installing collected packages: paho-mqtt
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/openvino/.local'
Check the permissions.
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the '/usr/bin/python3.6 -m pip install --upgrade pip' command.
The command '/bin/bash -c pip3 install paho-mqtt' returned a non-zero code: 1
make: *** [Makefile:30: vas] Error 1

We haven't run across this specific issue (yet) - can you let us know the host OS and docker version you are using?
We typically set up our docker environments for non sudo access - so you shouldn't need to build with sudo.
If your environment is set up for sudo only use of docker - that might be a difference we need to test.

We haven't run across this specific issue (yet) - can you let us know the host OS and docker version you are using?
We typically set up our docker environments for non sudo access - so you shouldn't need to build with sudo.
If your environment is set up for sudo only use of docker - that might be a difference we need to test.

 Mostly the version incompatibility & some bugs in the docker & yaml files.

Issue is resolved. Mostly the version incompatibility & some bugs in the docker & yaml files.

Following are the steps followed to get Digital out of home built & running -

Change to VAS_VERSION=v0.4.0-beta in Makefile
Add following in Dockerfile to resolve paho mqtt install -
USER root
build vas -
make vas
Commented out portainer stuff from docker-compose-vap.yml
Go to https://github.impcloud.net/Digital-Out-of-Home/vas-pipeline-manager/tree/master/pipelines/gstreamer
Delete all folder except person_detection/1
Only keep pipeline.json, delete other two files - pipeline.json.appsink & pipeline.json.display
Edit  https://github.impcloud.net/Digital-Out-of-Home/vas-pipeline-manager/blob/master/pipelines/gstreamer/person_detection/1/pipeline.json
Delete - file-format='json-lines' in line 9
Run make run-vap to run the VAS docker containers to load pre-defined pipelines
video-analytic docker should be up & running, along with other edgex containers
Change directory to vs-driver and execute the command go run main.go to see the output on the console.

Following are the steps followed to get Digital out of home built & running -

Change to VAS_VERSION=v0.4.0-beta in Makefile
Add following in Dockerfile to resolve paho mqtt install -
USER root
build vas -
make vas
Commented out portainer stuff from docker-compose-vap.yml
Go to https://github.impcloud.net/Digital-Out-of-Home/vas-pipeline-manager/tree/master/pipelines/gstreamer
Delete all folder except person_detection/1
Only keep pipeline.json, delete other two files - pipeline.json.appsink & pipeline.json.display
Edit  https://github.impcloud.net/Digital-Out-of-Home/vas-pipeline-manager/blob/master/pipelines/gstreamer/person_detection/1/pipeline.json
Delete - file-format='json-lines' in line 9
Run make run-vap to run the VAS docker containers to load pre-defined pipelines
video-analytic docker should be up & running, along with other edgex containers
Change directory to vs-driver and execute the command go run main.go to see the output on the console.

@NeethuES-intel Thanks for the instructions and thanks to @thanajirao for the quick resolution!

@NeethuES-intel Thanks for the instructions and thanks to @thanajirao for the quick resolution!


Fetch data asynchronously in function component with useGesture

@dbismut How should I handle dynamically loaded data with useSprings() + useGesture()? I was using react-with-gesture previously, but even after I updated it to latest react-use-gesture, the same issue persists. What'd be the correct way to support async/await data fetching with react-springs?
Originally posted by @pennjlin in https://github.com/react-spring/react-use-gesture/issues/141#issuecomment-597383811

Duplicate of #141


Simple CombineStream construction

would allow:
var combine = require('combine-stream')
var combined = combine([s1, s2, s3])

@jb55 Singleton++ Could you please update the readme with the same info, so that this can be merged?

How come?


Gopher+ support

What would be involved in adding support for Gopher+?  I'm getting tired of looking at
-->  [1]  Main menu/

whenever loading up a Gopher site that uses Gophernicus and I'd like to start on fixing this.

I'm not very knowledgable about gopher+, but would be happy to support it. Can you point me to an RFC or something, so I can take a look at what might be needed?

See gopher://gopher.floodgap.com:70/0/gopher/tech/rfc1436.txt for the original RFC.  There was never a formal RFC for Gopher+, but this file from University of Minnesota documents it: gopher://gopher.floodgap.com:70/0/gopher/tech/gopherplus.txt
See also https://tools.ietf.org/html/rfc1436 and https://en.wikipedia.org/wiki/Gopher%2B for those without access to a Gopher client.

I'm aware of the gopher RFC, I was wondering about Gopher+. Thanks for the link.
Gopher+ seems to be mostly backwards-compatible with Gopher, from our server end. The most important thing when implementing this is to not break any Gopher functionality

(2) In the original Gopher protocol, there was
provision for a date-time descriptor (sec 3.6) to be
sent  after the selector (for use by autoindexer
beasts).  As far  as we know, while the descriptor is
implemented in the Mac  server, it is not in any other
server and no clients or  daemons use it.  This is a
good time to withdraw this feature. The basic gopher
protocol has been revised for the final time and will
be  frozen.

We don't support this anyway AFAIK. But it should be possible to implement both this and Gopher+ if wanted.
Overall, it dosen't seem difficult to implement. We will need some kind of way to detect if it is a Gopher+ gophermap.

pygopherd supports Gopher+, so I figured we could look there for guidance.

(2) In the original Gopher protocol, there was
provision for a date-time descriptor (sec 3.6) to be
sent  after the selector (for use by autoindexer
beasts).  As far  as we know, while the descriptor is
implemented in the Mac  server, it is not in any other
server and no clients or  daemons use it.  This is a
good time to withdraw this feature. The basic gopher
protocol has been revised for the final time and will
be  frozen.

Smells like being related to the issue with UMNgopher and deeply nested directories...
Therefore I'd be careful with touching this without good consideration.

How would this be connected to the tangle I tripped over with #48?


Make providing container registry credentials easy via the helm chart

BinderHub spawns Build pods that communicates with the docker-api setup on the k8s node's, and they need to pass credentials to push to an external container registry. So, for this to work, BinderHub starts these pods up to mount a k8s Secret with a docker client config file including credentials.

A person installing the chart should be able to provide server / username / password to a container registry and have BinderHub spawned build pods able to push to it.
I've not got the option to work out, such as kubectl create secret docker-registry <name> --docker-server=... and then reference that k8s Secret.
We should support re-using previously provided credentials
This makes someone do initial setup with helm install --set ... and then not need to retain the sensitive credentials in a git repo etc. We do this for a lot of z2jh credentials already for example.
We should support having these credentials cleaned up when the helm release is deleted
This comes out of the box by managing the k8s Secret we create via the Helm chart

@consideRatio, this is fixed by #36, right?


[FR DateTimeV2] 2-digits year not always interpreted in literal date like 11 aout 45

Using 2-digits year was solved in #546 for numerical date only (ie:11/08/78)
However, the problem still appears for some literal dates like 11 aout 45
Here is a list of cases:
11 aout 45 => resolved incorrectly to "XXXX-08-11"
11 aout 69 => resolved incorrectly to "XXXX-08-11"
11 aout 70 => resolved correctly to "1970-08-11"
11 aout 99 => resolved correctly to "1999-08-11"
11 aout 00 => resolved correctly to "2000-08-11"
11 aout 01 => resolved correctly to "2001-08-11"
11 aout 14 => resolved correctly to "2014-08-11"
11 aout 15 => resolved correctly to "2015-08-11"
11 aout 16 => resolved incorrectly to "XXXX-08-11"

incorrect resolution of '11 aout 45' randomly returns a date or a daterange using SimpleConsole JS
    "resolution": {
                "values": [
                        {
                                "timex": "XXXX-08",
                                "type": "daterange",
                                "start": "2017-08-01",
                                "end": "2017-09-01"
                        },
                        {
                                "timex": "XXXX-09",
                                "type": "daterange",
                                "start": "2018-08-01",
                                "end": "2018-09-01"
                        }
                ]
        },
        "text": "aout",
        "typeName": "datetimeV2.daterange"

or
  "resolution": {
                "values": [
                        {
                                "timex": "XXXX-08-11",
                                "type": "date",
                                "value": "2017-08-11"
                        },
                        {
                                "timex": "XXXX-08-11",
                                "type": "date",
                                "value": "2018-08-11"
                        }
                ]
        },
        "text": "11 aout",
        "typeName": "datetimeV2.date"

Hi,
I try the "11 aout 16" in the SimpleConsole JS, the resolution seems correct.


Fix close_comm

https://github.com/ipython/ipython/wiki/IPEP-21:-Widget-Messages#tearing-down-comms

LGTM, cc @shashi

:+1:


Bulk import / management of assignments

Is there any way to bulk import / manage users rather than one by one?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 270ab048-109b-7c3f-95a3-1d683d9433b6
Version Independent ID: 1ff429c1-6d62-f4e9-9244-074d0573abdc
Content: View, add, and remove assignments for an access package in Azure AD entitlement management - Azure Active Directory
Content Source: articles/active-directory/governance/entitlement-management-access-package-assignments.md
Service: active-directory
Sub-service: compliance
GitHub Login: @msaburnley
Microsoft Alias: ajburnle

Manually assigning thousands of users to an access package with a clicky interface is not really acceptable so closing this as "complete" is a stretch. The only alternative is to write an import script which then requires creating an app registration that has the EntitlementManagement.ReadWrite.All delegated permission which then requires going through an arduous approval process with the security and admin team at your company. For prior art - Okta provides bulk group import with a csv file as long as you own the group.
It's been three years since this was requested. Do large teams use entitlement management? Are they spending weeks manually searching for and assigning each user? What happens when a large number of people join a team or a new project is started? What is the suggested workflow?


Reset test elements instead of emptying them

In our test suite we have a need to set some content in #ember-testing before our tests are run. This works fine for the first test, but after any test that uses moduleFor, that content is removed as part of teardownTestElements.
Instead of completely emptying the #ember-testing element, I think it would be better to cache the initial state of the element in setupTestElements and restore it in teardownTestElements.
cc @sangm

Hmm.  I'm not sure of the right path forward here.  #ember-testing is intended to be functionally similar to #qunit-fixture, where the actual element is completely controlled by the testing harness/framework.
I suspect using QUnit.testStart to setup your desired ember-testing element contents would be a good work around for now (maybe that is good enough? I dunno).

Welp: https://github.com/jquery/qunit/blob/e2b38da0be2ab4dc6fe548910fe5f71c55321f95/runner/fixture.js#L13-L25

I think this is good then, following along like the link above should work well.

So, the issue at hand is that in testing, rootElement is set to ember-testing, and putting divs inside anything else won't let the events hash trigger...

Closed by #180


feat: request to add new books to the library

Make a new route by which user can add books to the library, accessible to all
User have to give name of the book, URL to image of the book, number of total books in the library
Initially availableBooks will be number of total books, and issuedBooks will be 0

An adding new book page has been added to Bookshelfly! 🥳 Accessible it on /library/userID/newBook
Users can add

✅ Book Name
✅ URL to Book Image
✅ Rating of the Book

Screenshots

Default number of copies will be 50 for now, can surely update that in future 👍


bug with drag&drop in the Scene tab

Latest commit c7292b1

start dragging an unselected nodes which leads to scrolling list
the fall of the node, scrolling continues until the mouse click.

that's going to happen if drag selected node in a large list:

OP here is a new bug to add to the list

If you try to place a node right after  another node with children it will become a child to that node instead of going after it.

ah.. i thought I added code to prevent this, but it seems it didn't work,
thanks for the report
On Thu, May 12, 2016 at 12:04 PM, trollworkout<EMAIL_ADDRESS>wrote:

OP here is a new bug to add to the list

If you try to place a node right after another node with children it
will become a child to that node instead of going after it.

[image: rec1]
https://cloud.githubusercontent.com/assets/6987027/15219243/06b74f30-1831-11e6-8e2a-f5db6e3542c4.gif
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/4628#issuecomment-218785985

Compiled from source (2016.05.16) - Move node down with long list not work good, problem with scrollbar and mouse wheel still exists.


quick ‘n’ dirty tutorial issues/errors

Not sure if this is the place to say this, but the "quick ‘n’ dirty" tutorial and its code (on sol2.readthedocs.io) has a few issues.
In the following, script2( ) returns void, not sol::protected_function_result:
// load string without execute
sol::load_result script2 = lua.load("a = 'test'");
sol::protected_function_result script2result = script2(); //execute

In the following, create_table_with is missing an 'i':
// make a table
lua["some_table"] = lua.create_table_wth("value", 24);

Also when I run the following code, I'm getting this message:
"lua: error: [string "print(dog.tailwag)"]:1: attempt to index a sol.Doge value (global 'dog')"
#include <iostream>
#include <sol.hpp>

struct Doge
{
	int tailwag = 50;
};

int main( int argc, char* argv[ ] )
{
	sol::state lua;
	lua.open_libraries( sol::lib::base );

	lua[ "dog" ] = Doge{ };

	try
	{
		lua.script( "print(dog.tailwag)" );
	}catch( std::exception& e ){
		std::cout << e.what( ) << std::endl;
	}

	system( "pause" );
}

Run in Visual Studio 2017, x64, in Debug and Release configurations

Thanks for pointing out the errors.
For the first:
script2() does not return void. It returns sol::protected_function_result. You are getting a red squiggly because the compiler frontend that analyzes the code and provides red squigglies is not the compiler itself (and it is unfortunately kind of dumb). That code compiles, on all platforms.
For the second:
Thanks, I'll fix it now.
For the third:
You need to create a new_usertype in order to access the members and specifically bind what members you want. See https://github.com/ThePhD/sol2/blob/develop/examples/usertype.cpp for an example, and https://github.com/ThePhD/sol2/blob/develop/examples/ for a bunch of examples in the usertype category (all usertype examples start with usertype... in the name).

Fixed.


feat: Support byte array and data URIs via mimeType

Description

Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, refactor:,
docs:, chore:, test:, ci: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation and added dartdoc comments with ///, where necessary.
[x] I have updated/added relevant examples in example.

Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Related Issues
Closes #1692, closes #1670, closes #1663, closes #1269

MacOS 14 will be fixed in https://github.com/bluefireteam/audioplayers/pull/1769 as soon as I have access to a proper Mac. But other tests failed before this PR, so it's unlikely this makes anything worse.


data_import: Check for invalid user emails when converting data.

This PR makes the third-party data converters check for invalid user emails. If it finds any, it’ll raise an Exception and show an error message with all the bad emails listed out.

Error log when there are invalid user emails

Converting data ...
2024-10-10 05:48:17.320 INFO [] ######### IMPORTING USERS STARTED #########

2024-10-10 05:48:17.349 INFO [] USLACKBOT: slackbot -><EMAIL_ADDRESS>2024-10-10 05:48:17.351 INFO [] U06NU4E26M9: pieterceka123 -><EMAIL_ADDRESS>2024-10-10 05:48:17.363 INFO [] U07NFSVQCAD: pabbly_connect -><EMAIL_ADDRESS>Traceback (most recent call last):
  File "/srv/zulip/./manage.py", line 150, in <module>
    execute_from_command_line(sys.argv)
  File "/srv/zulip/./manage.py", line 115, in execute_from_command_line
    utility.execute()
  File "/srv/zulip-venv-cache/b477df627afb33e3ce1cd594561fcbb9d3946a14/zulip-py3-venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/srv/zulip-venv-cache/b477df627afb33e3ce1cd594561fcbb9d3946a14/zulip-py3-venv/lib/python3.10/site-packages/django/core/management/base.py", line 413, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/srv/zulip/zerver/lib/management.py", line 97, in execute
    super().execute(*args, **options)
  File "/srv/zulip-venv-cache/b477df627afb33e3ce1cd594561fcbb9d3946a14/zulip-py3-venv/lib/python3.10/site-packages/django/core/management/base.py", line 459, in execute
    output = self.handle(*args, **options)
  File "/srv/zulip/zerver/management/commands/convert_slack_data.py", line 79, in handle
    do_convert_zipfile(
  File "/srv/zulip/zerver/data_import/slack.py", line 1416, in do_convert_zipfile
    do_convert_directory(slack_data_dir, output_dir, token, threads, convert_slack_threads)
  File "/srv/zulip/zerver/data_import/slack.py", line 1460, in do_convert_directory
    ) = slack_workspace_to_realm(
  File "/srv/zulip/zerver/data_import/slack.py", line 182, in slack_workspace_to_realm
    ) = users_to_zerver_userprofile(slack_data_dir, user_list, realm_id, int(NOW), domain_name)
  File "/srv/zulip/zerver/data_import/slack.py", line 362, in users_to_zerver_userprofile
    validate_user_emails_for_import(list(found_emails))
  File "/srv/zulip/zerver/data_import/import_util.py", line 845, in validate_user_emails_for_import
    raise ValidationError(error_log)
django.core.exceptions.ValidationError: ['Invalid email format, please fix the following email(s) and try again<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Fixes: #31783
Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

I wonder if we should just use SystemExit instead of Exception because we don't really need the full traceback for when bad emails are detected.

@laurynmm do you have the context for reviewing this one?

@laurynmm Thanks for reviewing! I've pushed changes to address your comments and updated the error log in the description. Let me know if I missed anything :+1:

@PieterCK - The updates look good!
Do you think the function in the UserHandler class should be updated to validate_user_emails vs check_user_emails? Also, even though they are the same value at this point in the import process, it might be good to use "delivery_email" in that function since that's what Zulip considers to be the user's real email address once the UserProfile is created.

I wan't able to take a look today. I'll review this tomorrow.

Do you think the function in the UserHandler class should be updated to validate_user_emails vs check_user_emails? Also, even though they are the same value at this point in the import process, it might be good to use "delivery_email" in that function since that's what Zulip considers to be the user's real email address once the UserProfile is created.

Updated:

Switched check_user_emails to validate_user_emails.
Used "delivery_email" in validate_user_emails instead of "email".

@PieterCK - These updates look good to me at this point. So, even though @prakhar1144 hasn't had a chance to review yet, I'm going to mark this as ready for integration review.

This is great, merged, thanks @PieterCK! I marked this as a backport candidate, since we'll want to ship the fix in 9.x as well.

Backported in #32129.


Missing tags for 3.6.0 and 3.6.1

It seems that you might not push tags for 3.6.0 and 3.6.1 to GitHub: https://github.com/evant/gradle-retrolambda/releases . It can be somehow confusing in combination to not having release dates in CHANGELOG.md (#192).

Sorry, forgot to push them. Should be fixed now. Dates in changelog is a good idea I'll do that when I get a chance.