Refactor Shor's algorithm circuit construction

Fixes #933
Summary

phi_add() was casted to a Gate instance, allowing .inverse() and .control() methods to be used during the construction of the circuit in Shor's algorithm
Subsequently redundant control and inverse methods were removed from Shor
Generic rotational gates were replaced with more familiar notation (H, X) where possible
Type hints were added to the internal methods of Shor
The run method now returns a AlgorithmResult instance instead of a dictionary

Details and comments
I think it might also be possible to cast the two remaining controlled methods to Gate instances as well, then explicitly call .control().  However since they are parametrised by a the gates would have to be recreated multiple times when constructing the circuit, so I decided to just keep them as circuit-level functions.

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

@Cryoris Thanks for reviewing my code
I will take on the suggestion to cast to instruction and append in order to keep the circuit drawings more perspicuous.  Though I think that it's a little misleading that these instructions lie across all qubits in the up register in the drawing when only one is used.  It is still more readable in any case.
Thanks for the tip about the ParameterVector!  I will give it a go and let you know if I have any difficulties with it

Though I think that it's a little misleading that these instructions lie across all qubits in the up register in the drawing when only one is used.

That can be reflected in the drawing, see e.g. this case:
larger_circuit = QuantumCircuit(4)
smaller_circuit = QuantumCircuit(2, name='small')
larger_circuit.append(smaller_circuit.to_instruction(), [0, 3])
larger_circuit.draw()

     ┌────────┐
q_0: ┤0       ├   # this register is acted on
     │        │
q_1: ┤        ├   # this register shows no number, bc it is not acted on
     │  small │
q_2: ┤        ├   # neither does this
     │        │
q_3: ┤1       ├   # acted on
     └────────┘

If you define the instruction on the correct number of qubits you can reflect that it acts on only one qubit in the up register.

@Cryoris I was able to implement the changes you asked for.  I will note a couple problems I had while doing so:

Binding the ParameterVector works very well for the circuit and speeds up construction significantly, however I couldn't find a way of inverting constructed circuits that used ParameterVectors.  The following error was raised when trying to do so:

CircuitError: 'Name conflict on adding parameter: angles_1[0]'

I kept the compose calls for adding _qft instances to the circuit.  Trying to append them raised the following TypeWarning in my IDE:

Expected type 'Instruction', got 'QFT' instead

Looks great, thanks a lot for all the effort, I appreciate it (and future users too, I'm sure 😉 )!
Nice that it speeds up the construction 👍

Could you point me to the case where this occured? Normally, inverting a parameterized circuit should work. Except when you try to join the circuit and the inverted one, this wouldn't work because they have parameters of the same name but different instances (since the parameters get copied I think on inversion).

There's probably a to_instruction missing! If you do

circuit.append(qft.to_instruction(), [...])  # note to .to_instruction()

your IDE should not complain.
That being said, I think this is pretty much ready to go, you already did a lot of good work.

Thanks for your help along the way @Cryoris ! 😄 Will be happy to see it merged.  To respond to your points:

The error is raised without necessarily appending to circuit.  Seems to happen even when inverting both circuits and gates.  Can be reproduced by doing something like:

controlled_multiple_mod_N = self._controlled_multiple_mod_N_gate(
    num_qubits
)

icontrolled_multiple_mod_N = controlled_multiple_mod_N.inverse()

oo nice.  OK, for completeness I will quickly add those append calls and merge into this branch.

On the topic of IQFT, I also noticed what I believe to be an error in the original source code on this line.  There is no kwarg for inplace=True, so the IQFT is not applied to the circuit.  But I don't think it should be, since we do not enter the Fourier space on the up register to begin with.
Actually this confuses me even more - what information is read from the measurement at the end?  The up register is only used for control qubits and not directly changed during circuit construction.

One thing I noticed: the output of the algorithm is quite overwhelming
{'factors': [], 'results': {'000000': 'x_value is <= 0, there are no continued fractions.', '000001': 'denominator of continued fraction is too big.', '010000': 'the continued fractions found exactly x_final/(2^(2n)).', '010001': 'unable to find factors after too many attempts.', '010010': 'unable to find factors after too many attempts.', '010011': 'unable to find factors after too many attempts.', '010100': 'the continued fractions found exactly x_final/(2^(2n)).', '010101': 'denominator of continued fraction is too big.', '010110': 'unable to find factors after too many attempts.', '010111': 'unable to find factors after too many attempts.', '011000': 'the continued fractions found exactly x_final/(2^(2n)).', '011001': 'unable to find factors after too many attempts.', '011010': 'unable to find factors after too many attempts.', '011011': 'unable to find factors after too many attempts.', '011100': 'unable to find factors after too many attempts.', '011101': 'unable to find factors after too many attempts.', '011110': 'unable to find factors after too many attempts.', '011111': 'denominator of continued fraction is too big.', '000010': 'the continued fractions found exactly x_final/(2^(2n)).', '100000': 'the continued fractions found exactly x_final/(2^(2n)).', '100001': 'denominator of continued fraction is too big.', '100010': 'unable to find factors after too many attempts.', '100011': 'unable to find factors after too many attempts.', '100100': 'unable to find factors after too many attempts.', '100101': 'unable to find factors after too many attempts.', '100110': 'unable to find factors after too many attempts.', '100111': 'unable to find factors after too many attempts.', '101000': 'unable to find factors after too many attempts.', '101001': 'unable to find factors after too many attempts.', '101010': 'unable to find factors after too many attempts.', '101011': 'denominator of continued fraction is too big.', '101100': 'unable to find factors after too many attempts.', '101101': 'unable to find factors after too many attempts.', '101110': 'unable to find factors after too many attempts.', '101111': 'unable to find factors after too many attempts.', '000011': 'denominator of continued fraction is too big.', '110000': 'the continued fractions found exactly x_final/(2^(2n)).', '110001': 'unable to find factors after too many attempts.', '110010': 'unable to find factors after too many attempts.', '110011': 'unable to find factors after too many attempts.', '110100': 'unable to find factors after too many attempts.', '110101': 'unable to find factors after too many attempts.', '110110': 'unable to find factors after too many attempts.', '110111': 'denominator of continued fraction is too big.', '111000': 'unable to find factors after too many attempts.', '111001': 'denominator of continued fraction is too big.', '111010': 'unable to find factors after too many attempts.', '111011': 'unable to find factors after too many attempts.', '111100': 'unable to find factors after too many attempts.', '111101': 'denominator of continued fraction is too big.', '111110': 'unable to find factors after too many attempts.', '111111': 'denominator of continued fraction is too big.', '000100': 'the continued fractions found exactly x_final/(2^(2n)).', '000101': 'denominator of continued fraction is too big.', '000110': 'the continued fractions found exactly x_final/(2^(2n)).', '000111': 'denominator of continued fraction is too big.', '001000': 'the continued fractions found exactly x_final/(2^(2n)).', '001001': 'denominator of continued fraction is too big.', '001010': 'the continued fractions found exactly x_final/(2^(2n)).', '001011': 'denominator of continued fraction is too big.', '001100': 'the continued fractions found exactly x_final/(2^(2n)).', '001101': 'denominator of continued fraction is too big.', '001110': 'unable to find factors after too many attempts.', '001111': 'unable to find factors after too many attempts.'}}

Could we group them by message? Or somehow make this less verbose?

On the topic of IQFT, I also noticed what I believe to be an error in the original source code on this line. There is no kwarg for inplace=True, so the IQFT is not applied to the circuit. But I don't think it should be, since we do not enter the Fourier space on the up register to begin with.

We're entering the Fourier space using the Hadamards in the beginning of the circuit, since a QFT on state |0> is just a Hadamard 🙂 The inverse QFT should definitely be there, the order finding circuit is essentially a phase estimation circuit, which contains a final inverse QFT. (See Chapter 5.3 of Nielsen & Chuang or the paper referenced in the code.
Thats definitely a bug that I introduced when switching over to compose, great that you spotted it!

One thing I noticed: the output of the algorithm is quite overwhelming...

@Cryoris Maybe the more verbose format e.g. each message like '010111': 'unable to find factors after too many attempts.' etc should just be logged under debug level when it occurs and not gathered up. What we could do is say simply count these failures and include a summarised result say x of y counts processed successfully if that is deemed of value. I am not sure what I would do with this aspect of the return value as an end user of the algo. Its not like I can try different params on Shor to attempt any differently.

The log seems like the right place to go, that's a better idea 👍

Just so I can follow, you'd want the results to now look like:
{
  "factors": [
    [3, 5]
  ],
  "results": {
    "11011010": (5, 3),
    "11101011": (5, 3),
   ...
  }
}

i.e. do not append the error messages to the AlgorithmResult?
In that case I would propose altering the output of _get_factors() to Union[Tuple[int, int], str] (i.e. the factors or error message).  That way during _run() we can append the factors to the result and log the failures under debug level, counting them for the final x of y counts processed successfully message.

As you are refactoring the algorithm I guess the question would be whether all that detail in the "results", whether an error or factors found is meaningful in anyway as a return. Having it all logged under debug, whether an error or success would allow anyone wanting to see more detail to have it without having a large unwieldy result object.
The x of y counts was just to give some overall indication, since that results did exist, but again it may have little end user value.

If we put additional information I think some data about the complexity is most interesting. Giving the counts and successful counts already somewhat does that, so we'd have something like:
{
  "factors": [
    [3, 5]
  ],
  "total_counts": x,
  "successful_counts": x,
}

Is there some other information we could include?
Since we already return a dict/AlgorithmResult I think its fair to add some information. Otherwise, if it just contains the factors, we could also return them (as list). But that would be an inconsistent return type across the other algos.

That return format seems quite reasonable. Lets go with that.
When we more broadly update the algorithms with interface types and return result we may want a FactorizerResult with some common methods to access result parts and the above count information may be part of some ShorResult subclass thereof. For now lets keep things more as they are and go with the return format as proposed above.

@woodsp-ibm, @Cryoris I addressed the changes.
Since we are no longer gathering the reasons for failure, I tried to clean up the _get_factors() logic a little too.


Align report Grid with reality

Distinguish included metrics from GridElement
Allow GridElement both for columns and rows
Introduce MetricGroup mark

resolves #39

Coverage decreased (-0.4%) to 81.337% when pulling 0d04ea9dd2fcc79c2e816ea67d4f0b866bdcda16 on gridelem into 6b055e0175c27ae7e03fc1e32c3885ffb7462bf5 on 2.0.0-RC.

Coverage decreased (-0.3%) to 81.358% when pulling ed252a7f34b838ddc60e3cb2c266fef5b47c2eb4 on gridelem into 6b055e0175c27ae7e03fc1e32c3885ffb7462bf5 on 2.0.0-RC.

Coverage increased (+0.1%) to 81.806% when pulling 5d4411b1066170f6e41190e8eba54d4ea8f97961 on gridelem into 6b055e0175c27ae7e03fc1e32c3885ffb7462bf5 on 2.0.0-RC.

Coverage increased (+0.1%) to 81.835% when pulling 5dbd05368e235989ee6cefec0fd78cdba5402076 on gridelem into 6b055e0175c27ae7e03fc1e32c3885ffb7462bf5 on 2.0.0-RC.

Coverage increased (+0.1%) to 81.803% when pulling 5025f32194bb417324b3623842c7501358b5b0ef on gridelem into 6b055e0175c27ae7e03fc1e32c3885ffb7462bf5 on 2.0.0-RC.

Coverage increased (+0.3%) to 81.987% when pulling 3c3f5ff91ded86b323602e6fced691d259aa6bf3 on gridelem into 6b055e0175c27ae7e03fc1e32c3885ffb7462bf5 on 2.0.0-RC.

Coverage increased (+0.3%) to 82.218% when pulling 5fdaa11dd90b076ffb8d17b27b5af812e8486ff8 on gridelem into 43854725d2088c548573a495f4aa735d83f59a11 on 2.0.0-RC.


Added Vite usage in README.md

@all-contributors please add @nyancodeid  for Examples

@all-contributors please add @nyancodeid for Examples

nah gitu dong

true


node-fetch dependency breaks grammY in minified or Cloudflare Worker builds

Specifically, this part of node-fetch. Minified builds are important for improving cold-start time and performance in serverless platforms. Reliance on node-fetch also makes it impossible to build grammY for Cloudflare Workers, which is supposedly one of grammY's supported platforms. I am aware that a port to fetch will be coming in v2.0. This is just a PSA for those working with grammY and serverless.

This is only relevant if one wants to minify the build that is created explicitly for Node.js. All other builds do not have this problem, such as the web build which can be used on CFW.

@KnorpelSenf I am unable to build for CFW with a minimal example.

You should install grammY from npm and then import it from the subpath grammy/web which is Node-free.

Are you asking this question before or after reading https://grammy.dev/hosting/cloudflare-workers.html?

You are right. I have not read that. Let me fix this.

I'm curious—what would be the use case to minify the build and then run it using Node? I thought the main reason to minify JS is to deliver it to the browser, but this is already done using the web build or a different Deno build.

I'm curious—what would be the use case to minify the build and then run it using Node? I thought the main reason to minify JS is to deliver it to the browser, but this is already done using the web build or a different Deno build.

I think this article has put it nicely.

I see. So to sum it up, instead of using a service with 0 ms cold start time, you want to use a service that has a couple of hundred milliseconds cold start time, and then try very hard to shave off a small bit there.
I understand that it is nice to optimise for speed in whatever hosting provider you're bound to, but it still seems like a bit of a pointless endeavour IMHO.
Unfortunately, there is no way to fix tihs. We depend on node-fetch, and the only reasonable way forward is to drop this dependency. This means we also have to drop support for some versions of Node.js. This would be a breaking change, so we cannot do it.
Rest assured that we are going to drop support for old Node versions once we do a 2.0 release, but this is not going to happen too soon. At that point we can get rid of node-fetch, which will fix this “accidentally.”


NixOS Azure image

I see that NixOS has images available for some of the popular clouds, but not for Azure. I’d love to see a NixOS image on VM Depot. VM Depot is a community managed repository of virtual machines for Azure. We have something like 8 different Linux distros and around 1700 images built on those distros (ranging from developer stacks through to end user applications).

The first step to getting folks to publish NixOS based images is to have a base distribution of NixOS available and, preferably, updated every time there is an official release of NixOS. Is anyone here interested in creating and upload an image to VM Depot? I’m happy to help guide the process.

Some common questions for the curious:

 Does it cost anything to store an image on VM Depot? No – all storage costs are paid by Microsoft Open Technologies, Inc (my employer)

 Does it cost anything to publish an image on VM Depot? Probably not - You will need an Azure subscription to temporarily store the image and there will be bandwidth charges for the initial copy. However, there are mechanisms by which we can ensure open source projects have sufficient Azure credits to do this without receiving a bill. Create a free Windows Azure trial subscription to get started straight away (one month, $200 credit)

 Are there an restrictions on what can be uploaded to VM Depot? – Short answer – if its open source then no there are no restrictions. Long answer is in the Terms of Use http://vmdepot.msopentech.com/ToU.htm

 Why would I want to upload an image to VM Depot? It is easy for people to deploy a VM from VM Depot to Azure. This means it is easy for people to experiment with your project. More people experimenting means more users, more users means more potential contributors to the project and more potential customers for those employing contributors.

 How do I get started creating a new VM based on an existing distribution? See http://msopentech.com/blog/2014/05/14/deploy-customize-freebsd-virtual-machine-image-microsoft-azure/ for a description of the general process (need not be FreeBSD as the starting image, the process is the same for any of the other images available)

 How do I get started creating a new base distribution VM? http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-tutorial/

 Who can I contact for assistance? Ross Gardler –<EMAIL_ADDRESS>

The current status is: if you provide the right custom data, the image boots,
obtains IPs and otherwise works.
Agent is still a todo item and without it, the vm is going to be permanently
"provisioning" and will fail load balancer health checks.
Unfortunately, the agent is a mess. It insists on rewriting files, making
substantial config changes. It isn't that hard to stub/comment out the unwanted
things, but it's a very flaky solution because there are many of them and an
agent update can arrive at any time. Reimplementing the relevant functionality
also doesn't look very feasible either :(
Luckily, we still have basic functionality working without it, so at least the
chance of bricking hundreds of vms is low.

Couldn't we just package https://github.com/Azure/WALinuxAgent ourselves?

The problem is not about packaging it, but that it needs heavy patching in so
many places. Thus, not only it's a headache, but everytime there's a new
release, there's quite some work to do review the patch.
I have opted for now for a dumb solution which at least ensures the image
boots and is reachable.
Of course this isn't the final decision or anything.

Hi all, I'm from the team that owns the WALinuxAgent, we would like to enable the agent to support NixOS and enable NixOS running in Azure. I was learning NixOS but not much familiar yet, so it's great to see the discussion here.
Would anyone be willing to help and work with us to come out a solution?

@lizzha :  I will be doing some azure-related work in
a day or two and will contact you to discuss potential
solutions and patches.
@*ericbmerritt[1] Sorry for not replying sooner. I
have been too busy lately. *

[1] https://github.com/ericbmerritt

On Thursday, November 26, 2015 21:59:31 lizzha wrote:

Hi all, I'm from the team that owns the WALinuxAgent, we would like to
enable the agent to support NixOS and enable NixOS running in Azure. I was
learning NixOS but not much familiar yet, so it's great to see the
discussion here. Would anyone be willing to help and work with us to come
out a solution?

Reply to this email directly or view it on GitHub:
https://github.com/NixOS/nixpkgs/issues/3986#issuecomment-160049522

I have patched WALinuxAgent and added support for it in NixOS azure image. See
6db67186f2ea8dd6cd5fb3a048dd9facd749c81a and
c16f90f515856bad037e579f131a5ea61ce6699f
The image can now be correctly provisioned by azure-cli and its status ends up being
"provisioned" instead of "provisioning timed out".
Feedback and testing are welcome. This is a sample script to build the image:
https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/azure/create-azure.sh
Unfortunately, at this moment you are likely to encounter bugs
https://bugs.launchpad.net/qemu/+bug/1490611 and https://github.com/Azure/azure-xplat-cli/issues/2168
To work around them, you may have to revert qemu to 2.2.0, and in azure-image.nix add
"-o subformat=fixed" option to "${pkgs.vmTools.qemu}/bin/qemu-img convert -f raw -O
vpc $diskImage $out/disk.vhd".

@Phreedom I will attempt to give this a test in the next few days.

@Phreedom
Hi,
I have a few questions to you about build azure nixos vhd/image, thanks!

I must run create-azure.sh against a nixos VM to build it, right?

How do you install azure-cli in nixos? I install it by source code.
$ nix-env -iA nixos.iojs
$ nix-env -iA nixos.python
$ nix-env --install wget-1.16.3
$ nix-env --install make-1.0
$ wget https://github.com/Azure/azure-xplat-cli/releases/download/v0.9.13-December2015/azure-cli.0.9.13.tar.gz
$ mkdir azure-cli
$ tar -xvf azure-cli.0.9.13.tar.gz -C ~/azure-cli
$ cd ~/azure-cli
$ npm install

If I install it by this command
$ npm install azure-cli -g, firstly, will hit /nix/store is read-only issue, then I run mount -o remount,rw /nix/store, this issue resolved.
Secondly, I hit build error though make is installed, I add make location into $PATH, didn't work, seems it ran which command without output.
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F (/nix/store/ihnlcv6i3q0yfm0kmipaq9svkl4w9kz0-iojs-3.0.0/lib/node_modules/npm/node_modules/which/which.js:72:28)
gyp ERR! stack     at E (/nix/store/ihnlcv6i3q0yfm0kmipaq9svkl4w9kz0-iojs-3.0.0/lib/node_modules/npm/node_modules/which/which.js:75:29)
gyp ERR! stack     at /nix/store/ihnlcv6i3q0yfm0kmipaq9svkl4w9kz0-iojs-3.0.0/lib/node_modules/npm/node_modules/which/which.js:83:16
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Linux 3.18.24
gyp ERR! command "/nix/store/ihnlcv6i3q0yfm0kmipaq9svkl4w9kz0-iojs-3.0.0/bin/iojs" "/nix/store/ihnlcv6i3q0yfm0kmipaq9svkl4w9kz0-iojs-3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /nix/store/ihnlcv6i3q0yfm0kmipaq9svkl4w9kz0-iojs-3.0.0/lib/node_modules/azure-cli/node_modules/streamline/node_modules/fibers
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

@LiliDeng
Sorry for the delay. Packaging azure-cli took some effort.
You can get a shell with azure-cli by running nix-shell -p azure-cli.
You need a very fresh nixpkgs checkout for this.
Also, I have pushed a temporary branch with the qemu patches reverts and other workarounds: https://github.com/Phreedom/nixpkgs/commits/revert-qemu
This is how you could build the image(tested on a nixos machine):
cd $TEMP
git clone https://github.com/Phreedom/nixpkgs.git
cd nixpkgs
#checkout the workaround branch
git checkout revert-qemu

#build the image
NIXOS_CONFIG=$TEMP/nixpkgs/nixos/modules/virtualisation/azure-image.nix  NIX_PATH=$TEMP nix-build '<nixpkgs/nixos>' -A config.system.build.azureImage --argstr system x86_64-linux -o azure --option extra-binary-caches https://hydra.nixos.org -j 4
# the image hopefully ends up in $TEMP/nixpkgs/azure//disk.vhd

# get azure-cli running
NIX_PATH=$TEMP nix-shell -p azure-cli
# azure-cli becomes available in this shell only
azure login

An image built using this branch is available at https://nixos.blob.core.windows.net/images/nixos-unstable-standalone.vhd

I have removed the distinction between nixops and "standalone" images, packaged azure-vhd-tools-for-go, updated image generation and upload scripts for maintainers, pushed this into nixos master, regenerated the default image and tested it. The base commit for the current image is 158d723812e7364d8cadd7802d0b8d239fb227d8 .

cherry-picked all the relevant commits into 16.03 and tested


Update error on execution 2.17.2

My Setup

Operating System: Windows 10
App Version: 2.17.2
Installation type: exe

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description

The console outputs an error on yarn start: Redirect was cancelled
Current Behavior

src/preload.js → app/preload.js...
created app/preload.js in 680ms
[17:43:59] Finished 'build:bundle' after 3.52 s
[17:43:59] Finished 'build' after 3.52 s
[17:43:59] Starting 'watch'...
[17:43:59] Starting 'start:electron'...
[17:43:59] [gulp-execa] electron .

 Checking for update
Error: Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2561:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)
    at SimpleURLLoaderWrapper.EventEmitter.emit (domain.js:476:20)
    at SimpleURLLoaderWrapper.topLevelDomainCallback (domain.js:131:23)
Error: Redirect was cancelled

Expected Behavior

The console output should be free of error, and updates should be checked correctly, based on electron-auto updater.

@tassoevan  It's a regression in Electron 7.1.3 in how aborted redirect requests are handled that broke updates for all apps using electron-updater. I also tested this with:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>The good news is that it looks like a fix might have been merged into master. Seems important enough to authorize a regression test for it. It's not sure what is their process to get it backported to 7 and released. electron/electron@ed6a387. But I hope this ticket can be useful to keep track of the release.

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!


modify testsuite

I found that it takes 25 minutes to calculate systems of testsuites for isolated systems in a gpu environment. This modification reduces calculation times to about 5 minutes.

I approve this PR.

Thank you for merging, @tt-ims san.


Cannot create code cell from dropdown menu in FF

Trying to create new code cell by clicking on the item in dropdown list. But in FF the dropdown list disappears when I move the mouse on it.

confirmed.  thanks.


Time-based deferral window starting with new update availability?

Thanks for your work on this project.  Very excited to get it implemented in our K-12 district.
One additional deferral feature that would be really nice to have is the ability to set a time based deferral window starting with the availability of updates on a computer.  IE, instead of a count or fixed-date deferral window, something like "updates must be accepted/installed within X days of being discovered by super".
Thanks again!

This is part of the plan for super version 2.


[Testing] PR #3438, Determinism in TM

This PR is meant to track potential issues with deterministic Traffic Manager

With the enhanced determinism it appears to be working properly.


ProhibitImplicitScopeVariable: remove obsolete suppress_autoload option

Initially introduced in PR#129, suppress_autoload option became obsolete
after PR#136 was merged as vint now skips scope checks for all functions
regardless of suppress_autoload option's value.
Code that handles policy options, which was also added in PR#129, is
preserved for a possible future reuse.
(It's fine, this code is covered with tests.)
Fixes issue #152.

Thanks! I'm goona check it in this week!

Sorry for my late reply... :bow: :bow:
It looks good to me :+1:
Thanks a bunch!


High CPU usage from compiled daemon

Hi Sir, compiled and stripped daemon is using single core at 100%

Hello. sorry for the delay to reply
Try to decrease the amount of inputs present in your wallet. Use the coincontrol for do that.
if you stop stake your coins you will save a lot of CPU usage.
you can start your wallet with this comand: -reservebalance=9999999 or just encrypt your wallet for stop staking


Mihai munteanu

Description
Concise description of proposed changes, We recommend using screenshots and videos for better description
Additional Information

[x] I have read the contributing docs (if this is your first contribution)
[x] This is not a duplicate of any existing pull request

Related Issues
_Closes #8 _

Added dependencies for icons and Github avatar
Created Personal Page

Your ENS/address:
0xFFf6a812685f045acE23A65312ca9B1F506cC67d

Hey @siredwind, the github actions is failing because you changed package.json and didn't pushed the changes to yarn.lock
Could you please run yarn install (this should show changes to yarn.lock) add those changes and push them.
Also maybe add the margin top on above on mobile ?


Second page content not included in search and sort range

Describe the bug
I cannot search for the relayer on the second page
To Reproduce
go to: https://feemarket.darwinia.network/relayers-overview?from=crab&to=darwinia
Search for 5DbwpVeELhVuPQPdKf7tRR1JDWEp6jGC6jRJqcy4hAnXy15b
It shows no data  but there should be
Screenshots

Additional context
the sort function is similar: When sorting in descending order, the data on the second page does not participate in sorting

Got it!

This issue is fixed


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Treasury Direct as per #824

do you have a link to docs?

I do not. I have an account and as far as I remember it's actually a required part of sign-up (though it has been a while since I set up my account, so possibly not).

My previous statement seems to be supported by what I can find on the site. Even their login demo includes the OTP step, making no mention of having to set it up.


Re-architect how Android plugins are packaged and handled at export time

The previous packaging format for Godot Android plugins consisted of the plugin's gdap config file accompanied by binaries defined in the gdap file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as EditorExportPlugin plugins.
The EditorExportPlugin class has been updated with the following methods to provide the necessary set of functionality:

_supports_platform: returns true if the plugin supports the given platform
_get_android_dependencies: retrieve the set of android dependencies (e.g: org.godot.example:my-plugin:0.0.0) provided by the plugin
_get_android_dependencies_maven_repos: retrieve the urls of the maven repos for the provided android dependencies
_get_android_libraries: retrieve the local paths of the android libraries (AAR files) provided by the plugin
_get_android_manifest_activity_element_contents: update the contents of the <activity> element in the generated Android manifest
_get_android_manifest_application_element_contents: update the contents of the <application> element in the generated Android manifest
_get_android_manifest_element_contents: update the contents of the <manifest> element in the generated Android manifest

The last three methods allow the plugin to automatically provide changes to the app's manifest which are preserved when the editor is updated, resolving a long standing issue.
Fixes https://github.com/godotengine/godot/issues/76963
Fixes https://github.com/godotengine/godot/issues/78782
Examples:

Sample Godot Android plugins: https://github.com/m4gr3d/Godot-Android-Plugins
(In-progress) refactor of the Godot OpenXR loaders: https://github.com/GodotVR/godot_openxr_loaders/pull/38

Amazing work @m4gr3d, this indeed solves all the issues we were discussing in the XR meeting. For any logic we add to the core we can add the needed features and permissions to the loader for each platform (though I still hope that in that scenario we'll end up with standardised strings in due time), for any OpenXR extension we implement as a GDExtension we'll be able to handle those in that extension by adding an export plugin class to that as well.
@kisg , @dsnopek you guys should review this as well.

cc @naithar The same concept can be applied on iOS removing the need for the .gdip config file, and aligning all the plugins to the same architecture.

For the record, naithar hasn't been actively contributing to Godot lately. @bruvzg is the sole maintainer for iOS, he might be able to have a look at doing the matching changes for iOS, though any help from interested contributors would be welcome.

Ran into a bug with restoring the saved values of the editor export plugin options from the preset:

The preset is created in EditorExport::load_config()
During its creation, it retrieves the options from the platform and from the available export plugins and use them to initialize a few maps and list. However this happens before editor plugins in the project have been loaded.
This causes the saved export plugin options to be discarded at loading time because they're not included in the preset's map

Given an export plugin can be added at any time, we may need to separate the platform options from the export plugins' options and store them in the preset regardless of whether the export plugin is available or not.

Ran into a bug with restoring the saved values of the editor export plugin options from the preset:

The preset is created in EditorExport::load_config()
During its creation, it retrieves the options from the platform and from the available export plugins and use them to initialize a few maps and list. However this happens before editor plugins in the project have been loaded.
This causes the saved export plugin options to be discarded at loading time because they're not included in the preset's map

Given an export plugin can be added at any time, we may need to separate the platform options from the export plugins' options and store them in the preset regardless of whether the export plugin is available or not.

Fixed by https://github.com/godotengine/godot/pull/79025

Thanks!

If I understand correctly, only the way Godot interacts with the plugins has changed. The way the plugin is written remains the same. Am I correct?
I've checked the example repo, the package is placed inside the addons folder instead of plugins/android. Does this matter or location is irrelevant?

The plugin logic (java code) remains the same, but the configuration for the plugin, including the folder layout, are changed to the new format which better aligns with other types of Godot plugins.

I've checked the example repo, the package is placed inside the addons folder instead of plugins/android. Does this matter or location is irrelevant?

Yes the location matters. See the tutorial about making Godot plugins for reference.
The documentation for the Android plugins will be updated to reflect all of these changes prior to Godot 4.2 being stable. The current version of the documentation is now obsolete.

This is big change with respect to how plugins are handled. Can the documentation be updated earlier than beta release so that I can test it properly and if any issues than it can be fixed within 4.2 release

This is big change with respect to how plugins are handled. Can the documentation be updated earlier than beta release so that I can test it properly and if any issues than it can be fixed within 4.2 release

It'll be done prior to the beta release, but there are a few more incoming changes / refactor so the documentation will be updated once those are landed and the full end to end plugin flow has been validated.
I'll be posting examples as the refactor progress so you can use those as reference until the documentation is updated.
The Godot OpenXR loader plugin for example has already been updated.

This is machine translation.
I want to delete “intent-filter“ from AndroidManifest.xml. However, after exporting as shown in the diagram, only elements are added.
How can I delete the red circle in the picture?

This is machine translation. I want to delete “intent-filter“ from AndroidManifest.xml. However, after exporting as shown in the diagram, only elements are added. How can I delete the red circle in the picture?

@WNJH it's not possible to do so on purpose to prevent export plugins from interfering with each other.
What are you trying to achieve by removing the default intent-filter?

这是机器翻译。我想从 AndroidManifest 中删除“意图过滤器”.xml。但是，如图所示导出后，仅添加元素。如何删除图片中的红色圆圈？

不可能故意这样做以防止导出插件相互干扰。你想通过删除默认值来实现什么？intent-filter

Similar to this https://github.com/godotengine/godot/issues/78782#issue-1778268099
I want to start my custom activity before going to GodotApp and then jump to GodotApp with the button.
So I create a new activity and cut GodotApp's intent-filter from build\AndroidManifest.xml into the custom activity.
When I use "one-click deploy", two apps will be installed on my phone, One is a GodotApp and the other is a custom activity.
So I need to remove "intent-filter" from build\src\debug\AndroidManifest.xml.
build\AndroidManifest.xml:

build\src\debug\AndroidManifest.xml:

My temporary solution is to make debug\AndroidManifest.xml read-only.

@WNJH Only the android.intent.category.LAUNCHER category needs to be removed. I'll add an export settings for doing so.

@WNJH I've added https://github.com/godotengine/godot/pull/80569 which adds an export setting to control whether the app shows in the app library.

@m4gr3d Thank you!
I have one more small question." one-click deploy" Does it have to go directly to GodotApp? After I annotated "intent-filter", "one-click deploy" did not display the custom activity. But when I quit, and tap into the APP on my phone, the custom activity is displayed.

@m4gr3d Thank you!
I have one more small question." one-click deploy" Does it have to go directly to GodotApp? After I annotated "intent-filter", "one-click deploy" did not display the custom activity. But when I quit, and tap into the APP on my phone, the custom activity is displayed.

@WNJH Yes it launches the GodotApp directly.
@BastiaanOlij is working on a proposal to improve the launch flow. As part of that proposal, we can add the option to specify which activity to launch, but for the moment it's hardcoded to the GodotApp since that's the most prevalent launch flow.

Is there an early version of the updated documentation that I could read? Having a crash in gd_mono.cpp:431 and I believe it to be related to the GodotPlugins with a failed initialization (a blank project works fine).
Instead of opening an issue, I'd rather try seriously 🙂

Is there an early version of the updated documentation that I could read? Having a crash in gd_mono.cpp:431 and I believe it to be related to the GodotPlugins with a failed initialization (a blank project works fine). Instead of opening an issue, I'd rather try seriously 🙂

@duarteroso Early draft of the documentation update available in https://github.com/godotengine/godot-docs/pull/7884


RRTex decode format mismatch in s5 pup

I'm a grateful users of the cli to unpack SGA archives, update unit stats and images for the AoE4 World explorer, but currently not equiped enough to figure out how to deal with the fact the RRTex header format seems to have changed a bit with the recent build versions in version 7 of aoe4 / season 5 pup.
Here's the CLI error and related discord discussion https://discord.com/channels/911038016179560529/913882758902857758/1105459391697797150
dotnet AOEMods.Essence.CLI.dll rrtex-decode ../art/ui/icons/races ../icons/races -b
Found 782 files matching ../art/ui/icons/races
Unhandled exception. System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'value')
   at System.IO.FileStream.set_Position(Int64 value)
   at AOEMods.Essence.Chunky.RRTex.RRTexReader.ReadMip(ChunkyFileReader reader, Int32 mip, RRTexDataTman tman, IImageFormat outputFormat, RRTexType textureType)
   at AOEMods.Essence.Chunky.RRTex.RRTexReader.ReadDataTdatLastMip(ChunkyFileReader reader, ChunkHeader header, RRTexDataTman tman, IImageFormat outputFormat, RRTexType textureType)
   at AOEMods.Essence.Chunky.RRTex.RRTexReader.ReadRRTexLastMip(Stream rrtexStream, IImageFormat outputFormat, RRTexType textureType)
   at AOEMods.Essence.CLI.Commands.<>c__DisplayClass3_0.<RRTexDecode>g__ConvertFile|0(String path, String outputPath)
   at AOEMods.Essence.CLI.Commands.BatchConvert(String inputDirectoryPath, String outputDirectoryPath, String pattern, String outputExtension, Action`2 convertFile)
   at AOEMods.Essence.CLI.Commands.RRTexDecode(RRTexDecodeOptions options)
   at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,T5,T6,T7,TResult](ParserResult`1 result, Func`2 parsedFunc1, Func`2 parsedFunc2, Func`2 parsedFunc3, Func`2 parsedFunc4, Func`2 parsedFunc5, Func`2 parsedFunc6, Func`2 parsedFunc7, Func`2 notParsedFunc)

I'm not very experienced with binary file mappings so any help would be greatly appreciated!

Similar issue for the actual Season 5 Update for Age of Empires IV. Also a grateful user of this tool for extracting icons for the wiki, so would be awesome if it could get resolved.

There is a PR open that fixes it. Could you please review and merge? :)
https://github.com/aoemods/AOEMods.Essence/pull/5

Thank you, didn't get notified about this sorry for the delay


[EDA] Prevent Deletion of Time Block Record  if There are Associated Course Records

Critical Changes
Changes
Updates to Ensure Data Integrity
We've added functionality to prevent the deletion of Time Block records with related Course Offering or Course Offering Schedule records.
These changes are for internal-use only and are disabled at this time. You won't see any difference in functionality.
Note: We strongly recommend that EDA Admins don't manage Hierarchy Custom Settings directly and, instead, use the EDA Settings UI, which will be provided in an upcoming release. However, if you do enable any of these settings, note the following:

If you have disabled the related TB_CannotDelete_TDTM classes for the object, the settings will remain disabled even though you've enabled them in Hierarchy Custom Settings.

If you enable any of these settings, be sure to disable them before merging records or deleting duplicate records.

Issues Closed
Closes Issue #1174
New Metadata
Checkbox Field on Hierarchy Settings:

Prevent_Time_Block_Deletion__c

Apex Classes:

TB_CannotDelete_TDTM

TB_CannotDelete_TEST

Deleted Metadata
Testing Notes
https://salesforce.quip.com/tocpA7KiYHWk#HNYACA6cKr0

Passes QA - Merging
Will close WI


Is count measured in wide characters or bytes?

Most of the documentation seems to indicate that count is measured in bytes, but the Important box in the remarks section seems to suggest it is the number of wide characters. Which is correct? The example does not make this clear.

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

ID: 79027810-d629-5a02-4e23-58164db42d1e
Version Independent ID: fb2f489f-343d-9967-7965-fbea40443d53
Content: wcstombs_s, _wcstombs_s_l
Content Source: docs/c-runtime-library/reference/wcstombs-s-wcstombs-s-l.md
Product: visual-cpp
Technology: cpp-ucrt
GitHub Login: @corob-msft
Microsoft Alias: corob

@ptaffet
Yes, the note is confusing. I'm not sure what it was originally trying to convey, but I think the intent of the note is to make sure there are sufficient bytes in count to account for all the wide characters to convert.
The count parameter refers strictly to the number of bytes allowed in the converted multi-byte string before the terminating null. It must be at least one byte less than the buffer size, to account for the terminating null. (The example appears to have an error in this regard.) The value of count should also be sufficiently large to hold the converted string, or an ERANGE error results. Given the nature of traditional DBCS encodings, such as Shift-JIS, Big5, or GB2312, there are never more than twice as many bytes output as the number of wide characters input. However, not every wide character is representable in these encodings. This is not true of conversion to UTF-8, which can require 3 or 4 bytes to encode many characters that only require 2 bytes in the DBCS encodings, but which can encode every possible wide character. The upshot is, the heuristic for the number of bytes to allocate for the converted string depends on which MBCS character set you use.

Thanks. It would be nice if the documentation in particular clarified the difference between sizeInBytes and count, other than the -1 for the null terminator and the ability to pass in _TRUNCATE.

We are in the process of moving away from GitHub issues for C++ documentation (we still accept pull requests). For details, please see Announcing a new way to give feedback on Microsoft Learn This issue will be closed after it is copied to an internal tracking system.


Update Composer dependencies (2021-11-12-00-03)

Visual regression test passed!
View the visual regression test report


Change scoped_ptr.Pass() to std::move(scoped_ptr)

Scoped ptr is deprecated in M49 and it is easier to
fix them directly here. There will be most
probably another similar commit because it is easier to
find them from build failures.

@pozdnyakov PTAL

lgtm


Commodities that don't appear in production (e.g. direct transfer) cause error

A commodity that doesn't appear as an input or output doesn't get generate Market Clearance Equation, which causes a mismatch in the # of commodity variables with the # expressions, causing the error: "ERROR: BoundsError: attempt to access #-element Vector{Float64} at index [#+1].
Proposed fix is to add a loop for demands in demand functions in the build_marketclearance!() function to add any commodities from there into the commodities Set.
    for pf in m._productions
        for input in pf.inputs
            push!(commodities, input.commodity)
        end
           for output in pf.outputs
            push!(commodities, output.commodity)
        end
    end
    for df in m._demands
        for demand in df.demands
            push!(commodities, demand.commodity)
        end
    end

I think that might take care of it (seems to work), given that any commodity that appears as an endowment must be either an input or a demand.

The above fix is in PR #107, so once that's merged this can be closed.


Traceback error on netbox 2.10.1

Getting this on a brand new install of both netbox and netbox-scanner. Is 2.10.1 supported?
root@HOST netbox-scanner]# python3 netbox-scanner.py nmap
Traceback (most recent call last):
File "netbox-scanner.py", line 62, in
format='%(asctime)s\tnetbox-scanner\t%(levelname)s\t%(message)s'
File "/usr/local/lib/python3.7/logging/init.py", line 1898, in basicConfig
h = FileHandler(filename, mode)
File "/usr/local/lib/python3.7/logging/init.py", line 1087, in init
StreamHandler.init(self, self._open())
File "/usr/local/lib/python3.7/logging/init.py", line 1116, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/netbox-scanner/logs/netbox-scanner-2021-01-12T16:16:23.599360.log'
[root@HOST netbox-scanner]#

sounds like it should create a logs subdirectory but didn't.
can you try to manually add it?
(fyi, just guessing, i fail to even install it)


sendSynchronousRequest deprecated in OSX 10.11

http.swift line 300.
Needs to be replaced with NSURLConnection.sendSynchronousRequest

This project is unmaintained and is now being archived.


Allow 2023+ versions on CalVer dependencies

Removed caret ^ dependency, which doesn't allow "major" version changes, i.e. year in CalVer. Not compatible.

Codecov Report

Merging #192 (6ebc4e3) into main (9dcd735) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #192   +/-   ##
=======================================
  Coverage   80.60%   80.60%
=======================================
  Files          43       43
  Lines        1676     1676
  Branches      189      189
=======================================
  Hits         1351     1351
  Misses        285      285
  Partials       40       40

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


network-io: Reinstate this check

Hi Linuxfabrik, can you tell us if you already have plans to reinstate the network-io check?
From Changelog<PHONE_NUMBER>

Removed
Monitoring Plugins:
docker-info, docker-container, network-io, redis, xca-cert for now. We will rewrite them from scratch soon.

Yes, definitely.

Done.

Great! Will try this as soon as possible.


Validate the range of integers passed as object bounds (min, max etc)

Change the variable type to be u64 where possible and fail on parsing if values is negative
Validate that max > min

@cyplo max > min should be max >= min.


clearing one specific image

Hello there,
great plugin! I use it heavily on my app and it works great.
I just wonder how I could actually clear the cache for a specific image.
In my app, some pages shows images that have to be processed (resizing, cropping) to show correctly (around 10 seconds of process). If a user sees this page, the default fallback will show and stays forever until the user close and re-open the app.
Has anybody found a workaround for this kind of problem?
Thank you all!
Matt

Added feature in PR #192, wait for merge or just pull from branch if you need it right away

merged


update gitignore to include files produced by pip install

pip install will produce files that won't have to be included in this repo, so I think it's better to add them to git ignore. The cache here could be a place to put cached models.

Thanks Xintong!


Non fluid Grid outer_margin is not applied. Is this intentional?

I noticed that outer_margin is not applied on <Grid></Grid> this becomes an issue on a extra small dimension xs since content touches the edges of the window. See image below on the bottom

Hi
I don't see the problem on demo. Could you please paste a code sample ? Thanks.

I am cleaning issues. Please re-open it if you consider the problem is still present. Thanks.


Bug: Github link should open in new tab

What happened?
If you click on the GitHub tab, it opens in the current tab only. It would be great if it opens in a new tab.
Add screenshots

What browsers are you seeing the problem on?
Microsoft Edge
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

yeah we can do it. @PriyansuMaurya

I would like to work on this issue. Can you assign it to me?

I would like to work on this issue. Can you assign it to me?

I have assigned @PriyansuMaurya for this issue.

Can it be assigned to me !!

@priyankarpal Let him do, If he is interested.

@priyankarpal Let him do, If he is interested.

ok sure

Can it be assigned to me !!

you can work on it.

@priyankarpal please review it!!


we need traffic mirroring

traffic mirroring as a common feature, mirroring  sends a copy of live traffic to a mirrored service or a traffic record&replay service.
that will help us analyze the traffic better.

https://github.com/aeraki-mesh/aeraki/pull/219
https://github.com/aeraki-mesh/meta-protocol-proxy/pull/61

https://github.com/aeraki-mesh/aeraki/pull/268

well done!


Pipeline fixes part 4

Changes

Adds separate types for animationURL and imageURL to prevent using the wrong one (which I did earlier)
Better errors from exec commands
More logging around failed copies
Removes unused thumbnail func

Not seeing my last commit in this PR for some reason, closing and remaking


Skywalkingzulu

My name is not included in this list. How can I get it there? I'm South African.

Please see the FAQ: https://github.com/lauripiispanen/most-active-github-users-counter#user-content-why-am-i-not-on-this-list


fix typo in "kibana_base_url" variable name

This typo lead to kibana_base_url being undefined and Kibana used
default base URL ("/") which is incorrect with default proxy-based
access.
/cc @bradbeam

ci check this


rocRAND changes to support multiple ROCM installation

Hard coded reference to /opt/rocm is parameterized
to CMAKE_INSTALL_PREFIX
Package is generated to install into ROCM_PATH if
defined in the env otherwise default into /opt/rocm
RUNPATH is set in the lib only if ROCM_RPATH env is defined
with the rpath

Signed-off-by: Pruthvi Madugundu<EMAIL_ADDRESS>

Please change the target to develop for this PR

I have updated the PR to master-rocm-2.10.1 branch and updated the commit with all the review comments.

@saadrahim
Please review the changes.


DartPad on dev channel is analyzing using Stable API

What happened?
Using the dev channel to test new packages shows missing package analysis warning:

Steps to reproduce problem

Navigate to https://dartpad.dev/?channel=dev&id=2ce7a8494c58dcf8d7fe6499f5047844
Pop open the network console
Notice Analysis requests going to https://stable.api.dartpad.dev/api/dartservices/v2/analyze
Should be https://dev.api.dartpad.dev/api/dartservices/v2/analyze

It looks like we make an /analyze request before the query parameters read. The first one goes to stable.api and the other two go to dev.api.


Could you have an cpp example that shows #include headers from other directories?

Case 1:
foopath/foo.cpp needs to include barpath/bar.h
How do I describe the dependency here?
Case 2:
What about second level header file inclusion?  For example
foopath/foo.cpp needs to include barpath/bar.h, which includes bazpath/baz.h

My cc_library-knowledge is rusty, so I might be wrong, but -
###Case 1
If you have one BUILD file in ., you can just reference the sub-directories like this:
cc_library(
  name = "foo",
  srcs = ["foopath/foo.cpp"],
  hdrs = ["barpath/bar.h"],
)

If you have two BUILD files, one in foopath/ and the other in barpath/, you can do something like
cc_library(
  name = "foo",
  srcs = ["foo.cpp"],
  deps = ["//root/to/barpath:bar"],
)

//root/to/barpath:bar must be a cc_library, which must have a srcs attribute.
###Case 2
You can include more than one header,
cc_library(
  name = "foo",
  srcs = ["foopath/foo.cpp"],
  hdrs = ["barpath/bar1.h", "barpath/bar2.h"],
)

From the Build Encyclopedia section on cc_library:

hdrs: The list of header files published by this library to be directly included by sources in dependent rules.

Thus, in your case, you should do the following:
In barpath/, define a cc_library target for the bar.cpp source file that publishes the bar.h header file via hdrs:
cc_library(
    name = "bar",
    srcs = ["bar.cpp"],
    hdrs = ["bar.h"],
)

And then in foopath/foo.cpp, you would have the following #include:
#include "barpath/bar.h"
...

And then define the build rule under foopath/ for foo.cpp with a dependency on //barpath:bar:
cc_library(
    name = "foo",
    srcs = ["foo.cpp"],
    hdrs = ["foo.h"],
    deps = ["//barpath:bar"],
)

Basically, use hdrs to indicate which header files //barpath:bar publishes, and use deps to indicate that //foopath:foo depends on //barpath:bar. Bazel will then the hdrs from //barpath:bar to include the correct header files when building //foopath:foo.

For the case where you have foopath/foo.cpp including barpath/bar.h which includes bazpath/baz.h, you will just have three targets where //foopath:foo depends on //barpath:bar which depends on //bazpath:baz, similar to the following:
Under bazpath/:
cc_library(
    name = "baz",
    srcs = ["baz.cpp"],
    hdrs = ["baz.h"],
    deps = [...],
)

Under barpath/:
cc_library(
    name = "bar",
    srcs = ["bar.cpp"],
    hdrs = ["bar.h"],
    deps = [
        "//bazpath:baz",
        ...
    ],
)

And finally, under foopath/:
cc_library(
    name = "foo",
    srcs = ["foo.cpp"],
    hdrs = ["foo.h"],
    deps = [
        "//barpath:bar",
    ],
)

I haven't found a documentation label but we should have such an example


hook customized com failure

I create one COM with 2013 ATL.
It is remote hook. One customized activex is placed on the IE.
But it doesn't to come into my delegate method.
And I get correct Class ID &Interface ID.
[
object,
uuid(D78CF79C-D15C-42EA-85C2-882951F1A9EB),
dual,
nonextensible,
pointer_default(unique)
]
interface ICalc : IDispatch
library ATLToBeHookedV5Lib
{
importlib("stdole2.tlb");
[
uuid(B31DFAAC-B524-40A1-A72A-0999FF394EFD),
control
]
Then I initialize this com with easyhook.
EasyHook.COMClassInfo cci1 = new EasyHook.COMClassInfo(new Guid("B31DFAAC-B524-40A1-A72A-0999FF394EFD"), new Guid("D78CF79C-D15C-42EA-85C2-882951F1A9EB"), 3);
There is only one method in interface
interface ICalc : IDispatch{
[id(1)] HRESULT add2([in] LONG var1, [in] LONG var2, [out, retval] LONG* var3);
};
Then add hook method
var addHook = EasyHook.LocalHook.Create(
cci1.MethodPointers[0],
new AddDelegate(AddHooked),
null
);
#region add2
[UnmanagedFunctionPointer(CallingConvention.StdCall, CharSet = CharSet.Unicode, SetLastError = false)]
public delegate IntPtr AddDelegate(Int32 var1, Int32 var2, out IntPtr var3);
    private static IntPtr AddHooked(Int32 var1, Int32 var2, out IntPtr var3)
    {
        MessageBox(0, "Hello, PInvoke.NET", "PInvokeLab", 0);
        var3 = (System.IntPtr)var2;

        return var3;
    }
    #endregion
    #region recv

After Query Is Loaded.    cci1.IsModuleLoaded()).ToString() ==== True
Methods pointer address<PHONE_NUMBER>850
I can get pointer address

        var addHook = EasyHook.LocalHook.Create(
                cci1.MethodPointers[0],
                new AddDelegate(AddHooked),
                null
        );

addHook.ThreadACL.SetExclusiveACL(new Int32[] { 0 });
addHook.Dispose();

64bit dll
EasyHook.RemoteHooking.Inject
dead loop has been executed and sleep(500)

Did you use Inject to inject your remote hook assembly into the target process?

It works well. One thing is strange. The order is five not three.


Values for 'volumeNumber' are not consecutive under Py3

Happens after: https://github.com/KBNLresearch/omSipCreator/commit/ed4075d964f2dbe38a9813b18db12381a2795179, works normally under Py 2!

Caused b/c range object is not a list in Py3! Convering it to a list (always) fixes the problem under Py 3 and does no harm in Py2.7. Fixed: https://github.com/KBNLresearch/omSipCreator/commit/cfda6154ec62e85ab90cae47557754004e731c3a


ESP-32 Sender and Receiver

BLE Handshake issue with BLEUUID service, BLEServer lib causes a connection and inconsistent handshake.


Install nested packages

Currently, Protostar doesn't pull the repo of a nested package.

Closing in favor of https://github.com/software-mansion/protostar/issues/1101


Make DateTimePicker respect dateLabel and timeLabel

DateTimePicker now makes use of the dateLabel and timeLabel properties
of the object passed in the strings prop.

Q
A

Bug fix?
[X]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #346

What's in this Pull Request?
DateTimePicker now uses the dateLabel and timeLabel properties of the object passed in the strings prop.

Codecov Report

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

@@           Coverage Diff           @@
##              dev     #347   +/-   ##
=======================================
  Coverage   72.88%   72.88%
=======================================
  Files          17       17
  Lines         767      767
  Branches      149      149
=======================================
  Hits          559      559
  Misses        161      161
  Partials       47       47

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 0fb2e99...1acac33. Read the comment docs.

Thanks @robert-lindstrom!


added historical module

I'm not sure why but historical observation calls always need a "T00-0000" appended to the date string. I haven't finished writing tests yet.

@Big-Gray CI checks are failing due to running into a broken dependency with Python 3.12.  I fixed the workflow in the master branch - please rebase your branch to pull those updates in and CI should pass.


Fix when API returns flask response

Fixes #133
The function redirect does not return a flask.Response instance, but a Werkzeug response causing the Connexion code to break.

ah, ok, that makes sense --- I was wondering why the flask.Response would not work, but I did not see that it's actually a werkzeug object..

me neither, sorry for misleading you guys!


problem bot

I have a problem I have configured everything but the bots do not mache how to do please

Do you mean the bot isn’t running? You need to run the bot separately.

I have a problem I have configured everything but the bots do not mache how to do please

Depends what your running on, but run the bots separately usually.

i can run this off repl bots need too be run separate unless one of lazy bums makes a all in one script to run both bots XD


fix: compliance checks reenabled

Try out Leather build 0a488ad — Extension build, Test report, Storybook, Chromatic

WIP
Needs testing of different apps

How can I help out here?

This can be reviewed now, was running into issues with CI


Laravel 5.5

Please add Support for Laravel 5.5 and update the composer.json
Thanks
Max

@cfreak Merged your PR and now we can use it for L5.5.


Resolve issues with HPO codes

Statement of problem
It appears that some codes from HPO are not being translated correctly.
Example query:
match (t:Term)<-[]-(o:Code)<-[:CODE]-(c:Concept) where o.CodeID in ['HP:0001636','HPO:0001636'] return *
Result:
There is a code for HP:001636 and HPO:0001636, both corresponding to the Tetralogy of Fallot:

HPO codes from the UMLS are formatted with CodeIDs in format HPO HP:x. The codeReplacements function in the ETL maps these codes to HPO:x (https://github.com/x-atlas-consortia/ubkg-etl/blob/be30391e9b08c01770a28d0c10b4e489f88bba67/generation_framework/ubkg_utilities/ubkg_parsetools.py#L269C5-L269C5).
One of the ingested ontologies must be formatting HPO nodes as HP:x.
Solution
Enhance codeReplacements to account for the alternate formatting of HP nodes.

Per discussion with Deanne, use HP as the standard SAB. Aligns with the EFO, MONDO ingests.


Feature/vasp potential

Pull Request Test Coverage Report for Build 154

0 of 0   changed or added relevant lines in 0 files are covered.
294 unchanged lines in 1 file lost coverage.
Overall coverage increased (+12.9%) to 12.895%

Files with Coverage Reduction
New Missed Lines
%

/home/travis/miniconda/lib/python2.7/site-packages/pyiron_vasp/vasp.py
294
22.62%

Totals

Change from base Build 145:
12.9%

Covered Lines:
935

Relevant Lines:
7251

💛  - Coveralls


[1940] Add start date link & include test

Context
Added back in the link & the test

 Add link to edit "Course start"


Add analysis divided for each swimlane in 'Task distribution'

Hi,
I added the possibility to analyse the 'Task distribution' for each individual swimlane, if available.
Starting and standard behaviour is same as in your original analysis.
Added also count of closed tasks (number and percentage).

Hope that helps :smile:

Your fork is probably too old or something else is wrong, the file app/Model/ProjectAnalytic.php have been removed recently.

OOh, sorry, I will check this!


ci: merge staging to master

This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.

Pipeline Attempt on 966698997 for fa10f2bc2690fcedd18b65ad673bd45f6f58edf5
https://gitlab.com/MatrixAI/open-source/js-errors/-/pipelines/966698997

Pipeline Succeeded on 966698997 for fa10f2bc2690fcedd18b65ad673bd45f6f58edf5
https://gitlab.com/MatrixAI/open-source/js-errors/-/pipelines/966698997


The demo stops working

http://plnkr.co/edit/Gvg9fW?p=preview
It shows the error in the console:

Failed to load resource: the server responded with a status of 404 ()
Error: Error loading<EMAIL_ADDRESS>as "@ngrx/store/store-backend" from<EMAIL_ADDRESS>

Fixed via https://github.com/CodeSequence/ngrx-store-router/pull/13

Thanks!!


Inconsistent proof verification between website and keybase app

In the keybase app on my home iMac, the app says that my dns proof is unreachable; however, it is reachable through the keybase.io website for me and it is reachable in the app on my macBookPro running on the same network. Dig also shows the proof. I have tried restarting, checking my dns entry, updating keybase but still seeing the error. Also tried the "I fixed it, retry" option of course without success.
Screenshots sent separately to Chris via chat.
my log id: 744083188ff38d9a5f97531c

I'm seeing the same problem on Keybase GUI Version: 1.0.18-20170303170052+b5d3252 on Ubuntu 16.04.

No longer an issue on Keybase GUI Version: 1.0.20-20170324161834+98280fe on Ubuntu 16.04.

I am still seeing it on the Mac version which I believe is the latest:
1.0.20-20170317000044+73c5db6
If there is a more recent version, how do I force an update?
Norm

On Mar 24, 2017, at 13:43, rahidelvi<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
No longer an issue on Keybase GUI Version: 1.0.20-20170324161834+98280fe on Ubuntu 16.04.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/keybase/client/issues/6053#issuecomment-289138054, or mute the thread https://github.com/notifications/unsubscribe-auth/AATszq_Em2_NpRKD_Rjkl7CYOuPxFAfEks5rpCr5gaJpZM4MNlLv.
https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png https://github.com/keybase/client https://github.com/keybase/client/issues/6053#issuecomment-289138054

Sorry I deleted my earlier comment. I initially responded to the title of your issue, as I too was seeing the same problem on the Ubuntu client. Hopefully there's a fix out for the Mac OS client.


Remove ES 0.90.10 tests from travis

r?

I'll check travis logs. If they're fine, I'll land it.

Looks good. It's now only running the ES 1.2.4 suite and it's correctly installing the ES 1.2.4 tarball.
Merging this now.


[NEWS] LLVM ver 8.0 toolchain from Visual Studio 2017

Actually came into the light Clang 8.0 with official support MSVC 2017
https://llvm.org/builds/
Visual Studio extension (supports Visual Studio 2017 and later)
https://marketplace.visualstudio.com/items?itemName=LLVMExtensions.llvm-toolchain
/p:PlatformToolset=llvm
Visual Studio plugin ClangFormat
http://prereleases.llvm.org/win-snapshots/ClangFormat-r339319.vsix

в MSVC busybox появился и еще много утилит от gnu, идет полнаяя интеграция со всеми OS
так что не останавливаемся на вынь

@Voskrese Please refrain from writing in Russian, if you have something to say, great, but I think you should take the trouble of putting that through google translate instead of everybody else having to do that individually.

@Voskrese The translation from google:

in MSVC busybox appeared and many more utilities from gnu, there is a complete integration with all OS so do not stop at the piss

I will not stop to piss, what do you mean?

In the latest versions of 2017 added a lot of GNU utilities, all I wanted to write

Which ones are you talking about?

Yes, machine translation sometimes brings;)

Yes, it's entertaining sometimes, that's why it's better you do the translating, you could have at least an inkling about minor (piss-) issues, popping up.

@degski
I wrote it was a translation error.
Do you have any complaints about that attack?

@Voskrese I know it was a translation error, don't worry!

Do you have any complaints about that attack?

The word attack translates from English to Russian like атака, which I guess is correct. So the machine translation keeps entertaining us (I presume you don't want to attack me). What I was asking, which GNU utilities are you talking about?

нападки = придирки
Attacking = nagging

;)))
I think the discussion is over.

What I was asking, which GNU utilities are you talking about?

The discussion is over, but what were you intending to say?


error while putting sheet url

main.js?attr=iAfsT-K7U4kMN2MyBwm_w2sWjVfCX2Uyp2i7FkZQ-anzH3-GC6H5dfXlY3Qf1_THADfTO-p_r6b9mjsaP2grOw:1061 GET https://spreadsheets.google.com/feeds/worksheets/e/2PACX-1vS5NvsaHZovoYeTzJ7rRqe5jsuRrdx5XnJVsIAZtQVdFzJ57wwaKR9EZBC_WZLrUVPj3um0h2PeP9zH/public/basic?alt=json 404
window.XMLHttpRequest.send @ main.js?attr=iAfsT-K7U4kMN2MyBwm_w2sWjVfCX2Uyp2i7FkZQ-anzH3-GC6H5dfXlY3Qf1_THADfTO-p_r6b9mjsaP2grOw:1061
xhrFetch @ tabletop.js:201
requestData @ tabletop.js:177
fetch @ tabletop.js:159
h @ tabletop.js:137
h.init @ tabletop.js:146
init @ 1url&pdfupdate.html:21
Show 1 more frame
tabletop.js:197 SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at XMLHttpRequest.s.onload (tabletop.js:195)
s.onload @ tabletop.js:197
load (async)
xhrFetch @ tabletop.js:192
requestData @ tabletop.js:177
fetch @ tabletop.js:159
h @ tabletop.js:137
h.init @ tabletop.js:146
init @ 1url&pdfupdate.html:21
Show 1 more frame
tabletop.js:327 Uncaught TypeError: Cannot read property 'feed' of undefined
at h.loadSheets (tabletop.js:327)
at XMLHttpRequest.s.onload (tabletop.js:199)

tabletop.min.js:formatted:154 Uncaught TypeError: Cannot read property 'length' of undefined
at h.loadSheets.
I think I am getting the same type of error here, where it reaches the loadSheets function, and in the loop, n = t.feed.entry.length, something isn't defined. Im not sure what the issue is here but it wasn't happening a week ago, and as I try to create new spreadsheets this is the error I always get. With my previous spreadsheet from last week, everything seems to work fine.

I'll note here that it's probably worth looking at #184 for people who are having similar trouble. It looks like it's a game of picking the right options when publishing (or re-publishing?) sheets.


Blob de-duping is broken in prod

We spend too much time retrieving this file from SPO.
Primary reason - too many blobs.
Inspecting file we see a ton of duplicated blobs, basically telling us that dedupping in SPO driver is not working!
For example, there are a ton of "[]" blobs.
File
We need to address the issue, but also add tests to make sure we never break it again.

@vladsud what is prod in this context? ODSP?

@GaryWilber Is this something you're aware of?

This is SPO driver bug, so it's us.
Prod - production, from our point of view - latest release branches and main.
From Bohemia perspective - production bits that use latest release branch.

Is it because we disabled summary node?

I do not know, but very unlikely. Dedupping happens in SPO driver, and it's independent piece of code from anything else.

@jatgarg, have you had a chance to take a look? This is causing some perf loss, and blocks deeper investigation of perf (see issue #4417, #4301). So we need to address this soon.
If you are not going to get to it this week - please let me know and I'll spend some time on it.

@vladsud I looked at blob de duping last week. Actually it is not broken but the way it is implemented is not efiicient. Mainly due to limitations on server side. Ex, we can not de dup within same summary unlike r11s and spo folks recommended at that time to refer to blobs only from last summary. So I am taking a look at it and will talk to spo folks on how we can improve it and if possible de dup within same summary too.

Ah, makes sense.
@marcmasmsft, @ram-ramasubramanian , we need help from you here. Client can refer to other blobs (by reference) when producing tree by using pair of summary handle + path. That way we can refer to any blob in previous summaries. But when we generate a summary where there are 10 identical blobs, but no similar blob in previous summary, then we can't dedup them, we that schema (handle + path) does not support referencing current (in-process) summary.
I think it would be great to have "current summary handle" (some special handle value) that we can use (that SPO understands) such that client can dedup all those blobs.
handle = commit ID in this context.

Also we will need that deduping in create new summary too.

I think it will be generic solution, i.e. any summary (including file creation) should refer to itself.
But call out.
It is also worth pointing out that a set of tricks we can pull on client side will always be limited.
For example, summarizer loaded from a snapshot, but did not have to load full file (because only portion of the file changed).
But new blobs are created, we only de-dup against blobs that summarizer knows about (loaded into memory), and it will not be able to de-dup against existing blobs (in previous snapshot) that were not loaded by client.
It's hard to access how big the lost opportunity is here, but two possible solutions:

server has also code to dedup. Costly, and only a fallback (as we are paying upload bandwidth cost anyway).
Each blob to also contain checksum data as part of the tree structure, such that we do not need to load blobs to be able to dedup / reference them.

I believe the problem of creating duplicate content within same summary is small. I.e. it needs to be looked into, but it's not the primary reason we are that inefficient today.
This conclusions comes from the fact that Chapter 1 document referenced above is not created in one go. I.e. 99% chance is that new tables, as well as new rows & columns are added over long period of time, with a lot of summaries in between "empty" and "full document" stages. As result, we have enough opportunities to dedup newly added content (especially newly added rows / columns -> newly added child Schriptor components).
Based on that logical conclusion, I traced code a bit. Couple key observations:

Any place where we reset this.blobsShaToPathCache, we need to have some telemetry (ideally error message?), and have follow up if we need more sophisticated logic. Currently we lose all cache data and future summaries are not reusing blobs.

See this.blobsShaToPathCache.clear() calls

I believe the logic on how we update this.blobsShaToPathCache when writing new summary is wrong. We completely replace old knowledge with new knowledge based on the blobs written in new summary. This is fine for paths that were changed, but we completely forget (destroy information) about paths that did not change! I.e. blobs that were reused in current summary from previous summary by virtue of data store / dds reusing non-changed parts of the tree. This is likely the main reason we are in such a bad shape.

@jargarg, I've looked through your December items, and all of them are not that urgent, this bug is much more urgent, so I'll move it to December - I'd appreciate if you take a look asap.

I forked the problem of same blobs in same summary into #4633

Please note that this.blobsShaToPathCache should retain information about paths that did not change (i.e. were reused).
We need to be careful with paths that are gone (not just overwritten, but gone completely) from new snapshot - info about blobs on such paths needs to be cleared. This should not happen today, but will happen in the future with GC. Here, we might lose efficiency. That's because we remember a first path that has some blob content, even if many paths in the tree have same content. When GC deletes that first path, current summarizer will lose info about SHA of all blobs under that tree, and will stop being able to reuse them even if such blobs are present in other parts of the tree.
I think we should not concern ourselves with this when implementing first simpler solution, but need to open a bug to think about best way to solve it before GC is fully implemented.

Closed with above PR.

Closed with above PR.


Feature request: single exe file

It would be great if the resources could be integrated into the .exe file. I put PingoMeter into my huge "Tools" folders, but I'm fairly certainly certain I'll forget what the "Resources" subfolder is about at one point.

Okay, I will do ... when I can understand - how. I remember, there are many options, but I had some problems.


Support "createHashHistory()"

In your example used browser history and it works.
But how i can configure router for use hash history? If i use createHashHistory() nothing change - router still working as browser history.

@Tsyklop Is the question still actual?
Maybe we can still help you?


[Bug]: Adjustment of Navbar

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
In the header panel there is a white space which looks odd. Also header contains some buttons with text of 1 line while some with 2 lines which looks uneven. This was for the home page, also the header across various pages is different separate spacings and animations are used for different pages. Some of them have issues to be modified.
Expected behavior
Header should occupy the full horizontal space. Adjust the text in all the buttons in one line. As the last 2 buttons (Login/SignUp and View) have different background color and their different sizes looks odd. Make the header across various pages look similar.
Add ScreenShots/Videos

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a  KWOC 2024 contributor
[X] I have starred the repository

@apu52 please assign this issue to me

@bhavya-boda I have assigned u , start working

Hi, I would like to work on this issue. Please assign it to me. Thank you!

Hi, I would like to work on this issue. Please assign it to me. Thank you!

Hey there @Atharvverma1234, I have already been working on this issue raised by my and made some progress and would like to complete it. Feel free to check for other open issues or raise your own new issues if you're looking for something to contribute.

Thank you for letting me know! I'll look into other open issues or consider raising a new one to contribute. Let me know if there's any other way I can assist. Happy coding!

@Atharvverma1234 u can still contribute to this repo by making new issues on which u want to work on by fixing bugs & adding features to website


storage: Correctly increase prometheus_local_storage_open_head_chunks

@brancz @fabxc Your 1.6 server was so strongly affected by this because it wasn't ingesting anything for a while, so a lot of head chunks got closed. Then it crashed, and after that, started to append samples to many series that had a closed head chunk. In general, it's a rare event that a series with a closed head chunk gets new samples.

Fixes #2687 .

 Gauges from client_go can generally not be read, so how does this play into the feedback loop for the 1.6 target heap size? Are we scraping ourselves?
Or was it really just a metric issue?

Or was it really just a metric issue?

Yes.
The 1.6 feedback loop works with the current heap size and with the target heap size for the next GC cycle.

Ah okay, I somehow had the impression from the comments that this caused us to scale some things wrong internally.
👍


Bug: Signature extraction failed

Hello,
I am using version 2017.01.29 on Kubuntu 15.04. I am using the following command:
$ youtube-dl --verbose -q -t --extract-audio --audio-format mp3  https://www.youtube.com/watch?v=Yq4KA0mUnC8
And I obtain the following error:
[debug] System config: []

[debug] User config: []

[debug] Custom config: []

[debug] Command-line args: [u'--verbose', u'-q', u'-t', u'--extract-audio', u'--audio-format', u'mp3', u'https://www.youtube.com/watch?v=Yq4KA0mUnC8']

[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8

[debug] youtube-dl version 2017.01.29

[debug] Python version 2.7.9 - Linux-3.19.0-68-generic-x86_64-with-Ubuntu-15.04-vivid

[debug] exe versions: ffmpeg 2.5.10-0ubuntu<IP_ADDRESS>, ffprobe 2.5.10-0ubuntu<IP_ADDRESS>, rtmpdump 2.4

[debug] Proxy map: {}

ERROR: Signature extraction failed: Traceback (most recent call last):

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle

urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)

File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)

File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)

File "/usr/lib/python2.7/urllib2.py", line 423, in open
protocol = req.get_type()

File "/usr/lib/python2.7/urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original

ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
(caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

The complete error message contained three identical tracebacks but I just kept the first one.
Do you know why I obtain this error?

duplicate: https://github.com/rg3/youtube-dl/issues/11907

@gise88: I'm counting 12 duplicates as of now.
I've provided a list in the Pull Request to solve the issue: https://github.com/rg3/youtube-dl/pull/11892

Ehehehe! From a great lib comes a lot of issues.. Just kidding! I didn't count them.. Thanks for the reference of the pr! I'm waiting for the merge/release..


[FeatureRequest] Dynamic Session Length

I'd like to propose a new feature here.
For now, I've created 4 differents profiles depending on day of week and AM/PM because i need to have sessions and pause of differents length to accomodate with my work schedule.
I'd like to be able to define work time and let the app manage sessions length and pauses.
For exemple :
Profile = workday
Time Periods:
1- 09:00 AM to 12:15 AM (3 work sessions)
2- 01:30 AM to 06:00 PM (4 work sessions)
And the app will automatically setup sessions as 57/12 for morning, long break of 75 then 60/10 for afternoon.
What would be awesome is that, instead of pausing the timer when time's up, it would keep counting overtime so when i finally end the work session, the reminder of the day can be adapted to fit the rest of the day properly and ensure i end at 6PM
If you like the idea, i can eventually get around to propose some code for it (native android is not my forte but i should manage)

Thank you for your proposal!
That's a quite specific feature request and I would avoid to such a feature because I want to keep the app as simple as possible. I think that a small minority of users would use something like this.


clean up makefile

Not familiar with makefile, but LGTM.

Not familiar with makefile, but LGTM.

as long as I'm not breaking the CUDA build. I can't test it on my machine.


An error has occurred during angular deployment to Azure

Does this occur consistently?
Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Deployment to "angular-project" failed. See output channel for more details.
Version: 0.16.5
OS: win32
OS Release: 10.0.17134
Product: Visual Studio Code
Product Version: 1.44.2
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:1:522593
fulfilled extension.bundle.js:1:519732
processTicksAndRejections task_queues.js:85:5

fixed. I had to select a dist and project folder.


[stable/nextcloud] Bump mariadb dep, add probes config to README

What this PR does / why we need it:
Upgrading to the latest version of stable/mariadb dependency chart and keeping README in sync with recently added probes conf. Further, aligned values in README for easier readability (hence why size/L but recommend you to review in rich diff mode).
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @chrisingenhaag

/ok-to-test

/lgtm


feat(testing): Add test projects for Cloudflare Workers. Vercel Remix + NextJS, Deno, and Bun

Adds a new test-runtimes directory with setup instructions for various runtimes the Node SDK can be used in. Hopefully this will make it easier to test iterations of the Node SDK in different runtimes. Runtimes are not plug&play, developers will need to install various things, make accounts with providers, etc.
The following runtimes are tested:

cloudflare-workers
remix
nextjs serverless
nextjs edge
deno
bun

(I've never used any of Bun, Deno, etc., but I wouldn't be surprised if the answer is "package-lock.json is derived from the other lockfile".)

you are correct!


Feat/adding-user-profile

Description

A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
Resolved or fixed issue:
Affirmation

[ ] My code follows the CONTRIBUTING.md guidelines

❌ Blocking Security Alert
This PR was scanned by Backslash Security and identified 101 issues that violate security policies in the following categories:

Vulnerable Packages: 77
Vulnerable Code: 0
Insecure Secrets: 0
License Issues: 24
Malicious Packages: 0
IAC Misconfigurations: 0
View the scan details in the PR check logs for this PR or in Backslash Platform

❌ Blocking Security Alert
This PR was scanned by Backslash Security and identified 89 issues that violate security policies in the following categories:
 Vulnerable Packages 🚩
61 issues

Vulnerable package
Vulnerabilities
Recommended fixedversion
Package location

ws 8.17.0
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2024-37890
8.17.1
./package.json#1

ws 8.5.0
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2024-37890
8.17.1
./package.json#1

sanitize-html 1.4.2
0 Critical, 1 High,5 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2021-26540,CVE-2024-21501,CVE-2021-26539
2.7.1
./package.json#1

path-to-regexp 0.1.7
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2024-45296
0.1.10
./package.json#1

nth-check 1.0.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2021-3803
2.0.1
./package.json#1

loader-utils 0.2.17
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2022-37601
1.4.1
./package.json#1

minimist 1.2.0
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2020-7598
1.2.6
./package.json#1

mime 1.3.6
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2017-16138
1.4.1
./package.json#1

mime 1.2.11
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2017-16138
1.4.1
./package.json#1

ip 2.0.1
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 8.1Topvulnerabilities:CVE-2024-29415

./package.json#1

ip 1.1.9
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 8.1Topvulnerabilities:CVE-2024-29415

./package.json#1

body-parser 1.20.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2024-45590
1.20.3
./package.json#1

aws-sdk 2.1.40
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.3Topvulnerabilities:CVE-2020-28472
2.814.0
./package.json#1

html-minifier 3.5.21
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-37620

./package.json#1

ejs 0.8.8
2 Critical, 1 High,2 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2017-1000189,CVE-2022-29078,CVE-2024-33883
3.1.7
./package.json#1

debug 2.2.0
0 Critical, 1 High,0 Medium, 1 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2017-16137,CVE-2017-20165
2.6.9
./package.json#1

socket.io 3.1.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.3Topvulnerabilities:CVE-2024-38355
4.6.2
./package.json#1

libxmljs2 0.33.0
0 Critical, 2 High,0 Medium, 0 Low --HighestCVSS score: 8.1Topvulnerabilities:CVE-2024-34393,CVE-2024-34394

./package.json#1

express-jwt 0.1.3
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.7Topvulnerabilities:CVE-2020-15084
6.0.0
./package.json#1

http-proxy-middleware0.19.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2024-21536
2.0.7
./package.json#1

webpack-dev-server2.11.5
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2018-14732
3.1.11
./package.json#1

jws 0.2.6
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 8.7Topvulnerabilities:CVE-2016-1000223
3.0.0
./package.json#1

shell-quote 1.6.1
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2021-42740
1.7.3
./package.json#1

uglify-js 1.3.5
1 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2015-8857,CVE-2015-8858
2.6.0
./package.json#1

node-fetch 2.6.1
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 8.8Topvulnerabilities:CVE-2022-0235
2.6.7
./package.json#1

typeorm 0.2.24
2 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2022-33171,CVE-2020-8158
0.3.0
./package.json#1

is-svg 2.1.0
0 Critical, 2 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2021-28092,CVE-2021-29059
4.3.0
./package.json#1

qs 0.6.6
0 Critical, 3 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-24999,CVE-2014-7191,CVE-2014-10064
6.2.4
./package.json#1

qs 1.2.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-24999
6.2.4
./package.json#1

ansi-html 0.0.7
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2021-23424
0.0.8
./package.json#1

underscore 1.4.4
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2021-23358
1.12.1
./package.json#1

remark-html 14.0.0
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 10Topvulnerabilities:CVE-2021-39199
14.0.1
./package.json#1

kerberos 0.0.24
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.8Topvulnerabilities:CVE-2020-13110
1.0.0
./package.json#1

moment 2.0.0
0 Critical, 2 High,1 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2017-18214,CVE-2022-24785,CVE-2016-4055
2.29.2
./package.json#1

moment 2.6.0
0 Critical, 2 High,1 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-24785,CVE-2016-4055,CVE-2017-18214
2.29.2
./package.json#1

eventsource 0.1.6
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.3Topvulnerabilities:CVE-2022-1650
1.1.1
./package.json#1

vm2 3.9.17
3 Critical, 0 High,1 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2023-32314,CVE-2023-37466,CVE-2023-37903
3.9.18
./package.json#1

minimatch 3.0.3
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-3517
3.0.5
./package.json#1

trim-newlines 1.0.0
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2021-33623
3.0.1
./package.json#1

json5 0.5.1
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.1Topvulnerabilities:CVE-2022-46175
1.0.2
./package.json#1

bson 0.4.23
1 Critical, 0 High,1 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2020-7610,CVE-2019-2391
1.1.4
./package.json#1

node-uuid 1.2.0
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2015-8851
1.4.4
./package.json#1

axios 1.6.5
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.3Topvulnerabilities:CVE-2024-39338
1.7.4
./package.json#1

mpath 0.1.1
0 Critical, 1 High,1 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2018-16490,CVE-2021-23438
0.8.4
./package.json#1

jsonwebtoken 0.4.0
1 Critical, 1 High,2 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2022-23541,CVE-2015-9235,CVE-2022-23540
9.0.0
./package.json#1

jsonwebtoken 0.1.0
1 Critical, 1 High,2 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2015-9235,CVE-2022-23539,CVE-2022-23540
9.0.0
./package.json#1

hoek 0.9.1
0 Critical, 2 High,0 Medium, 0 Low --HighestCVSS score: 8.8Topvulnerabilities:CVE-2018-3728,CVE-2020-36604
4.2.1
./package.json#1

fsevents 1.2.10
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2023-45311
1.2.11
./package.json#1

node-forge 0.10.0
0 Critical, 2 High,2 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-24771,CVE-2022-24773,CVE-2022-24772
1.3.0
./package.json#1

lodash 2.4.2
1 Critical, 2 High,3 Medium, 0 Low --HighestCVSS score: 9.1Topvulnerabilities:CVE-2018-3721,CVE-2018-16487,CVE-2020-28500
4.17.5
./package.json#1

hawk 1.0.0
0 Critical, 2 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-29167,CVE-2016-2515
9.0.1
./package.json#1

hawk 1.1.1
0 Critical, 2 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2016-2515,CVE-2022-29167
9.0.1
./package.json#1

babel-traverse6.26.0
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.3Topvulnerabilities:CVE-2023-45133

./package.json#1

http-cache-semantics3.8.1
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-25881
4.1.1
./package.json#1

marked 0.4.0
0 Critical, 2 High,0 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2022-21681,CVE-2022-21680
4.0.10
./package.json#1

validator 3.1.0
0 Critical, 1 High,1 Medium, 0 Low --HighestCVSS score: 7.5Topvulnerabilities:CVE-2021-3765,CVE-2014-8882
3.22.1
./package.json#1

crypto-js 3.3.0
1 Critical, 0 High,0 Medium, 0 Low --HighestCVSS score: 9.1Topvulnerabilities:CVE-2023-46233
4.2.0
./package.json#1

mongoose 4.2.4
3 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 9.8Topvulnerabilities:CVE-2023-3696,CVE-2022-2564,CVE-2019-17426
5.13.20
./package.json#1

lodash.set 4.3.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.4Topvulnerabilities:CVE-2020-8203

./package.json#1

webpack-dev-middleware1.12.2
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.4Topvulnerabilities:CVE-2024-29180
5.3.4
./package.json#1

lodash.pick 4.4.0
0 Critical, 1 High,0 Medium, 0 Low --HighestCVSS score: 7.4Topvulnerabilities:CVE-2020-8203

./package.json#1

 Vulnerable Code 🚩
6 issues

Vulnerability type
Vulnerabilitylocation
Remediation guidance

ImproperNeutralization ofSpecial Elements inData Query Logic
routes/createProductReviews.ts#25
Potential SQL/NoSQLinjectionvulnerability: Userinput should besanitized orvalidated beforebeing used inSequelize ORM queryconditions,including CRUDoperations, rawqueries, and dynamicquery construction.

ImproperNeutralization ofSpecial Elements inData Query Logic
data/static/codefixes/noSqlReviewsChallenge_3_correct.ts#13
Potential SQL/NoSQLinjectionvulnerability: Userinput should besanitized orvalidated beforebeing used inSequelize ORM queryconditions,including CRUDoperations, rawqueries, and dynamicquery construction.

ImproperNeutralization ofSpecial Elements inData Query Logic
data/static/codefixes/forgedReviewChallenge_2_correct.ts#8
Potential SQL/NoSQLinjectionvulnerability: Userinput should besanitized orvalidated beforebeing used inSequelize ORM queryconditions,including CRUDoperations, rawqueries, and dynamicquery construction.

ImproperNeutralization ofSpecial Elements inData Query Logic
data/static/codefixes/forgedReviewChallenge_1.ts#8
Potential SQL/NoSQLinjectionvulnerability: Userinput should besanitized orvalidated beforebeing used inSequelize ORM queryconditions,including CRUDoperations, rawqueries, and dynamicquery construction.

ImproperNeutralization ofSpecial Elements inData Query Logic
data/static/codefixes/dbSchemaChallenge_3.ts#11
Potential SQL/NoSQLinjectionvulnerability: Userinput should besanitized orvalidated beforebeing used inSequelize ORM queryconditions,including CRUDoperations, rawqueries, and dynamicquery construction.

Eval Injection
routes/captcha.ts#24
Detectedeval(variable),which could allow amalicious actor torun arbitrary code.

 License Issues 🚩
22 issues

Package
Licenses
Package location

tslib 1.14.1
BSD Zero ClauseLicense
./package.json#1

tslib 2.4.0
BSD Zero ClauseLicense
./package.json#1

css-select 1.2.0
BSD Zero ClauseLicense
./package.json#1

json-schema 0.4.0
BSD Zero ClauseLicense
./package.json#1

boom 0.4.2
BSD Zero ClauseLicense
./package.json#1

regjsparser 0.1.5
BSD Zero ClauseLicense
./package.json#1

sha.js 2.4.11
BSD Zero ClauseLicense
./package.json#1

qs 1.2.2
BSD Zero ClauseLicense
./package.json#1

regenerator-transform0.10.1
BSD Zero ClauseLicense
./package.json#1

sntp 0.2.4
BSD Zero ClauseLicense
./package.json#1

sinon-chai 3.7.0
BSD Zero ClauseLicense
./package.json#1

toarray 0.0.1
BSD Zero ClauseLicense
./package.json#1

sax 0.5.2
BSD Zero ClauseLicense
./package.json#1

sax 0.5.3
BSD Zero ClauseLicense
./package.json#1

cryptiles 0.2.2
BSD Zero ClauseLicense
./package.json#1

amdify 0.0.26
BSD Zero ClauseLicense
./package.json#1

caseless 0.6.0
BSD Zero ClauseLicense
./package.json#1

hoek 0.9.1
BSD Zero ClauseLicense
./package.json#1

node-forge 0.10.0
BSD Zero ClauseLicense
./package.json#1

hawk 1.0.0
BSD Zero ClauseLicense
./package.json#1

hawk 1.1.1
BSD Zero ClauseLicense
./package.json#1

esprima 1.0.4
BSD Zero ClauseLicense
./package.json#1

View the scan details in the PR check logs for this PR or in Backslash Platform