How to calculate the action according to the existing data in the hdf5 file？

Hi, I'm wondering how to calculate the action between state[i] and state[i+2] according to the existing data in the hdf5 file？
For example，in the task can(PH), I have downloaded the relevant hdf5 file from your website and I also know the action between each state and the various state parameters in hdf5. Can you tell me how the actions between two adjacent states are computed once we know the end_effector_pos and end_effector_quat for each state? What if i want to calculate the action between state[i] and state[i+2]?
Thanks！

In general this isn't possible, unless an exact model of the system dynamics is known. The action corresponds to an end effector pose target sent to the controller, which then results in an updated state of the robot, as well as the other objects in the scene. The robot is not guaranteed to reach the target given by the controller.

I'm sorry I don't know how this action is calculated. So given the end_effector_pos and end_effector_quat, how to calculate the action?
>>> import h5py
>>> dp = 'robomimic/can/mh/low_dim_v141_saved.hdf5'
>>> f = h5py.File(dp, 'r')
>>> print(f["data/demo_1/obs/"].keys())
<KeysViewHDF5 ['object', 'robot0_eef_pos', 'robot0_eef_quat', 'robot0_eef_vel_ang', 'robot0_eef_vel_lin', 'robot0_gripper_qpos', 'robot0_gripper_qvel', 'robot0_joint_pos', 'robot0_joint_pos_cos', 'robot0_joint_pos_sin', 'robot0_joint_vel']>
>>> print(f["data/demo_1/obs/robot0_eef_pos"][:2])
[[-0.03935597 -0.0766327   1.02109479]
 [-0.04047182 -0.0808687   1.0188843 ]]
>>> print(f["data/demo_1/obs/robot0_eef_quat"][:2])
[[ 0.99789604  0.02813489  0.05833099 -0.00306922]
 [ 0.99824317  0.02196068  0.05499304 -0.00201769]]
>>> print(f["data/demo_1/actions"][:1])
[[ 0.024      -0.031      -0.055      -0.00403383  0.1117506  -0.05927867
  -1.        ]]

Reiterating my previous reply, you cannot do this. The actions were collected during teleoperation and sent to the simulator at each timestep, resulting in the next state of the world. You are asking to be able to infer the action from subsequent observations - we do not have an analytical way to do this.


Readdir returns sub-subfolders

Suppose the following folder structure:
test.txt
folder1/
   test2.txt

By default, http.File.Readdir in golang returns direct child files, so gives [test.txt, folder1/]
However, when I pack the files, File.Readdir seems to perform a recursive directory listing, and returns [test.txt,folder1,test2.txt] Note that test2.txt behaves as if it were in the root folder.
This causes issues in code using Readdir to recursively copy a directory from an embedded filesystem, and causes http.FileServer to give an incorrect listing when served without index.html
This issue is caused by https://github.com/rakyll/statik/blob/master/fs/fs.go#L163 , which does not check whether the file is in a subpath.
On a related note, empty directories are not listed at all, meaning that it would seem like they are non-existent.

Just noticed there is already a PR for this at https://github.com/rakyll/statik/pull/55

Fixed in #61


Idea: Resolve or Delete Previous Comments

If running the scan on every commit to a Pull Request, you may create many duplicative comments.
It would be great if the system could accept a boolean input parameter to determine if previously generated auto-comments should be deleted of resolve.
I am still not certain if Delete or Resolve would make more sense.

My preference is to lean towards resolving and letting the new scan create new comments as found.  This way, the history is there for reflecting back or training purposes.

@mitchspano - Would love to know if any progress has been made here on resolving old comments? happy to chat with you about how I might help make it a reality.


Update process should check version and not allow reversion through update

Issue: https://github.com/wildfly-extras/prospero/issues/759

Relevant wildfly-channel issue that I think we would need implemented there in order to complete this functionality:
https://github.com/wildfly-extras/wildfly-channel/issues/292

A good next step could be to obtain a list of manifests used by the current installation. I think it should be possible to obtain maven GAVs (or URLs) of the current manifests. If there are any Maven based manifest found in the list, they should be matched against the list of new manifests (which the user want to upgrade to) used by the ChannelSession.
(That list of new manifests is currently simulated by the findManifestUpdates() method, hard-coded to only return org.jbosss.eap.channels:eap-8.0 manifest artifact, because we don't know how to obtain these data.)

Hello @TomasHofman,
I have updated the code where we are getting list of manifests from the current installation.

Now can we get the list of manifests currently used by the installation? Maybe from the InstallationMetadata class?
If we can have that, we can try to obtain an intersection from those two lists (manifests groupId:artifactId s that are present in both currently installed manifest and the newly available manifests used by the channelSession).
Once we have that intersection, we can try to compare the versions to see if they are upgrading or downgrading.

@TomasHofman
I have added the new method compareManifest() where this method compares the currently installed Maven manifests with the available manifest updates from the ChannelSession. It finds the manifests that exist in both the installed manifests and the available updates (based on groupId and artifactId).  For each matching manifest, it compares the version of the installed manifest with the version from the available update. Depending on the comparison, the method outputs whether an upgrade, downgrade, or no change is required.

The CI/CD is failing because we need wildfly-channel upgrade for the API.

Yes, we must ask Jeff to release.

Never mind, he did and you upgraded already.

@spyrkob currently this only checks for downgrade in the update perform command. There is the second pathway with update prepare / update apply. Should the check be made during prepare or apply stage? If I prepare and update, and then the installation changes, is the prepared update still applicable or do I need to prepare it again?

Maybe we could move the check into UpdateCommand#buildUpdate() method, which would perform the check both during update perform and update prepare.

I prepare and update, and then the installation changes, is the prepared update still applicable or do I need to prepare it again?

If the base server changes from the state that the candidate was generated from, that candidate is no longer valid and cannot be applied.


Adding AUTHORS file

I think it is best to add an AUTHORS file in the project root with the list of people who have contributed to the project.
Gives a better sense of accomplishment for fresh contributors too.

Yeah, definitely, I'll try get this added in the next few hours.

Sorry for the wait, it's up now 😄


Button to play/play gifs is not displayed

Already fixed actually. In this build you'll just have to click on the gif to pause or play

It isnt quite available yet, so sit tight


Removes blessed

Changes proposed in this PR

switching from using the blessed library to simply rolling our own terminal colors, etc.

Why are we making these changes?
We are running into issues with blessed when using pyinstaller. Also, we simply don't use much of the functionality provided by blessed, so it's nice to get rid of the dependency.

@nsinkov This is ready for another pass


[enhacenment] add chocolatey to windows machines

Install choco as part of the boot script on windows machines

Not applicable


Fix: cycles in compilation loop

Cancelling pull request. I uncovered issues with this solution with regards to child compilation cache (ie. when used with webpack hot reloading).


Add icon library support

Made required changes to code

@Jacrys you can remove this conflicts?
ty

@Jacrys hi hi, can you resolve this conflicts?

Sorry @brunokunace, this hung for a while, I wasn't getting GH notifications for a time, and I have been dealing with tight deadlines at work.  I have some leave coming up in the next week, and will get on this when I get a chance.

any news with conflict?

@brunokunace @luisDanielRoviraContreras all conflicts should be resolved.  I apologize for the time this took me. I have rebased this on master, so all current live changes should be present. I would rather someone look over this quickly than merge myself.


[Tensor] add a basic bert.

Add basic huggingface bert. Remain to be replaced with 1D ColoTensor like col_nn.

@feifeibear continues updating bert with ColoTensor. This MR is closed now.


Ignore Snowflake Key Pair tests

What type of PR is this?
Bug Fix
What does this PR do / why is it needed ?
Which issue(s) this PR fixes:
Ignore Snowflake Key Pair flaky tests
Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?
No

This test is being temporarily disabled. Previously this test was disabled because the required private key was not configured. Now, we have a test key; however, there are runtime issues with the use of the BouncyCastle jar.


Add new error messages

Purpose
This PR adds new error messages used in application sharing flows.

Add the PR to the relevant git issue as a reference. And update the other PRs' description which is dependent on this PR. Mention those PRs should merge after this is merged.


Data driven tests pick up hidden files

When running test_variants I ran into an issue where it was trying to load some .DS_Store files.
To replicate:
touch tests/data/datasets/dataset1/variants/.DS_Store
nosetests --nocapture tests.datadriven.test_variants

I found this handy: find . -name \*.DS_Store -delete

Well spotted @david4096, I'm looking forward to the fix PR!


can't start listen

Linux asus <IP_ADDRESS>brcmarm #1 SMP PREEMPT Wed Dec 19 07:47:43 CET 2018 armv7l GNU/Linux

$ ./chinadns -p 54 -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 9.900583ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 37.194065ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 33.271687ms with 0 errors.
INFO[0000] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0000] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0000] Start server at [::]:54
panic: listen udp <IP_ADDRESS>:54: protocol not available
goroutine 1 [running]:
main.main()
$ ./chinadns -p 5053 -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 9.752631ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 36.254511ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 33.997863ms with 0 errors.
INFO[0000] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0000] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0000] Start server at [::]:5053
panic: listen tcp <IP_ADDRESS>:5053: protocol not available
goroutine 1 [running]:
main.main()
/mnt/data/compile/go/src/github.com/cherrot/gochinadns/cmd/chinadns/main.go:119 +0x704

Is your router running OpenWRT?  If so, please paste your OpenWRT version here.
It seems that your router doesn't allow an UDP binding, which is abnormal.

Sorry I can't reproduce your issue on my devices.
Could you help me to test its TCP binding? To do so, just comment out the following line and re-build to see if this issue remains:
https://github.com/cherrot/gochinadns/blob/44e1301f2958adbc0364afad239992279adb8e87/server.go#L68
Like this:

func (s *Server) Run() error {
	logrus.Info("Start server at ", s.Listen)
	eg, _ := errgroup.WithContext(context.Background())
	// comment out the following line.
	// eg.Go(s.UDPServer.ListenAndServe)
	eg.Go(s.TCPServer.ListenAndServe)
	return eg.Wait()
}

I run Tomato on ASUS RT-AC68P. I commented UDP/TCP one by one, results:
##Comment UDP:
./chinadns -p 5053 -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 9.451211ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 36.101136ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 32.890729ms with 0 errors.
INFO[0000] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0000] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0000] Start server at [::]:5053
panic: listen tcp <IP_ADDRESS>:5053: protocol not available

goroutine 1 [running]:
main.main()
	/mnt/data/compile/go/src/github.com/cherrot/gochinadns/cmd/chinadns/main.go:119 +0x704

##Comment TCP:
./chinadns -p 5053 -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 9.01861ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 35.875695ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 33.276077ms with 0 errors.
INFO[0000] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0000] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0000] Start server at [::]:5053
panic: listen udp <IP_ADDRESS>:5053: protocol not available

goroutine 1 [running]:
main.main()
	/mnt/data/compile/go/src/github.com/cherrot/gochinadns/cmd/chinadns/main.go:119 +0x704

The golang app overture worked well on my router, so maybe i can say this is not a hardware/system issue?
##overture:
netstat -lnp | grep overture
tcp        0      0 <IP_ADDRESS>:5554            <IP_ADDRESS>:*               LISTEN      1078/overture
tcp        0      0 :::8054                 :::*                    LISTEN      1078/overture
udp        0      0 <IP_ADDRESS>:5554            <IP_ADDRESS>:*                           1078/overture

I'll check it later. Thank you for reporting :)

We rely on the same upstream dns lib. So I guess the reason is that your router does not support IPv6 dual-stack.
Try this:
./chinadns -b <IP_ADDRESS> -p 5053 -c ./china.list -v

Or maybe it's because I've enabled SO_REUSEPORT by default (This feature is supported since Linux
3.9).
I'll make it configurable soon.

Yes, I disable IPv6 on my router, but other apps running smooth~ I tried -b, some result:
./chinadns -b <IP_ADDRESS> -p 5053 -c ./china.list -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 44.653103ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 36.551825ms with 0 errors.
INFO[0001] <IP_ADDRESS>:53: average RTT 34.308061ms with 0 errors.
INFO[0001] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0001] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0001] Start server at <IP_ADDRESS>:5053
panic: listen udp <IP_ADDRESS>:5053: protocol not available

goroutine 1 [running]:
main.main()

./chinadns -b <IP_ADDRESS> -p 5053 -c ./china.list -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 9.250139ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 36.169572ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 33.403527ms with 0 errors.
INFO[0000] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0000] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0000] Start server at <IP_ADDRESS>:5053
panic: listen udp <IP_ADDRESS>:5053: protocol not available

goroutine 1 [running]:
main.main()

./chinadns -b <IP_ADDRESS> -p 5053 -c ./china.list -v
INFO[0000] <IP_ADDRESS>:2323: average RTT 9.3855ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 36.411543ms with 0 errors.
INFO[0000] <IP_ADDRESS>:53: average RTT 32.918727ms with 0 errors.
INFO[0000] Refined trusted resolvers: [<IP_ADDRESS>:2323]
INFO[0000] Refined untrusted resolvers: [<IP_ADDRESS>:53 <IP_ADDRESS>:53]
INFO[0000] Start server at <IP_ADDRESS>:5053
panic: listen udp <IP_ADDRESS>:5053: protocol not available

goroutine 1 [running]:
main.main()
	/mnt/data/compile/go/src/github.com/cherrot/gochinadns/cmd/chinadns/main.go:119 +0x704

I think you are right! SO_REUSEPORT is the key, because the router running linux 2.6....

./chinadns -p 5053 -c ./china.list -v -reuse-port=0

Good luck!


Tabs on component pages return the user to the top of the page

Summary of the bug
Tabs on component pages return the user to the top of the page
🪜 How to reproduce

Go to a component page such as: https://design.sis.gov.uk/components/breadcrumbs
Scroll down slightly
Click on a tab such as Guidance, Code or Accessibility
Notice how the page returns to the top between each tab

🧐 Expected behaviour
Expected to stay in the same screen position
Additional info
Do we need to offer guidance on how others do this when they use Tabs if this isn't isolated to the microsite?

Closing as work will be covered in a separate ticket.


transpile() hung up when running with multiple circuits and custom pass manager

What is the current behavior?
On Mac OS machine, transpile() hung up in parallel_map when it runs with multiple circuits and custom pass manager.
Steps to reproduce the problem
from qiskit import QuantumCircuit, Aer, transpile
from qiskit.transpiler.coupling import CouplingMap
from qiskit.transpiler.pass_manager_config import PassManagerConfig
from qiskit.transpiler.preset_passmanagers import level_0_pass_manager

qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)

backend = Aer.get_backend('qasm_simulator')

pm_conf = PassManagerConfig(
    initial_layout=None,
    basis_gates=['u1', 'u2', 'u3', 'cx'],
    coupling_map=CouplingMap([[0, 1]]),
    backend_properties=None,
    seed_transpiler=1
)
pm = level_0_pass_manager(pm_conf)

transpiled = transpile([qc, qc],
                       backend=backend,
                       pass_manager=pm)

Note: No problem in the single circuit case transpile(qc, backend=backend, pass_manager=pm) or when specifying the same preset pass manager via optimization_level transpile([qc, qc], backend=backend, optimizaton_level=0).

Are you importing matplotlib anywhere when this happens?  That is a known mpl issue.

I got the following warnings prior to the hang when I tried to replicate this from master with python 3.5 on osx 10.14.
Traceback (most recent call last):
  File "/anaconda3/lib/python3.5/multiprocessing/queues.py", line 234, in _feed
    obj = ForkingPickler.dumps(obj)
  File "/anaconda3/lib/python3.5/multiprocessing/reduction.py", line 50, in dumps
    cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object 'level_0_pass_manager.<locals>._choose_layout_condition'
Traceback (most recent call last):
  File "/anaconda3/lib/python3.5/multiprocessing/queues.py", line 234, in _feed
    obj = ForkingPickler.dumps(obj)
  File "/anaconda3/lib/python3.5/multiprocessing/reduction.py", line 50, in dumps
    cls(buf, protocol).dump(obj)
AttributeError: Can't pickle local object 'level_0_pass_manager.<locals>._choose_layout_condition'

This looks like it could be related to: https://github.com/Qiskit/qiskit-terra/issues/3808

I think this is a bit different.  It seems that choose_layout_condition can simply not be pickled.  The other is the mpl issue that is to be resolved in v3.3

callables and parallelization not always play well together. Let me have a look...

The problem with the pickled callable from @kdk in https://github.com/Qiskit/qiskit-terra/issues/3925#issuecomment-594607628 is because Python 3.5 (do we still support it?) In Python 3.7 the hanging up from @itoko is reproducible.

hold on.. sometimes in python 3.7 I'm also getting the unpickleble issue...


Missing LICENSE file

Hi folks,
Thanks for your work here - much appreciated!
Would you please consider adding a LICENSE text file to the repository?
Thanks in advance!

Hi @s0h3yl!
Sorry for that, I always forget the license file. It'll add one!


Prepare npm publishing

Description
This PR will add required changes to enable npm publishing.

Re:

This cannot be used as local package because the main and types entries point to files that do not exist, i.e. they only exist after the file has been copied to dist

Where should they point then? As I understood it they should point to the dist (after transpiling) files. This is also the same case in the UI package

Re:

The other way round, the scripts entries do not make sense within the dist folder and npm package

True

Re:

Why does main not point to bitmovinplayer-analytics-conviva.js? Why is there no bitmovinplayer-analytics-conviva.d.ts?

Why do we need the bitmovinplayer-analytics-conviva.d.ts? There are all types in the files included in d.ts files in the dist folder.

Why does main not point to bitmovinplayer-analytics-conviva.js

Should it point to that? I'm not sure if there is a difference? (also taken from the UI)

Where should they point then? As I understood it they should point to the dist (after transpiling) files. This is also the same case in the UI package

They should point to files that exist after running the build task.

Why do we need the bitmovinplayer-analytics-conviva.d.ts? There are all types in the files included in d.ts files in the dist folder.

Because TS does automatically load types from d.ts files that live along js files. The file can simply reexport from index.d.ts.
Yes the compiled production build should be the default. Everybody is still free to import single files explicitly from lib if there is any reason for that. (The UI isn't perfect either ;) )


Release 3.24.2 to include helm chart fixes

Expected Behavior
We need to install the tigera-operator helm chart using a private container registry. Currently, this doesn't support a regcred. The following Pull Request added this feature. We need this added to release to consume
https://github.com/projectcalico/calico/pull/6591

CC @mgleung - release lead.
We'd need to backport that PR before cutting the release.

CC @mgleung - release lead.
We'd need to backport that PR before cutting the release.

Any update to cutting a release with this functionality?

@Pacobart , there's one last bug that we're waiting on that's needed in v3.24.2. My estimate is that this will be done by early next week.


added Number of digits of a number in math

Created number_of_digits.cpp file under math directory.  The cpp program will calculate the number of digits in a number in two ways.
One is by using normal approach of traversing through all the digits of the number.
The next approach is by using log10() function in math.h library.

cpp_lint is failing the build...
math/number_of_digits.cpp:5:  Missing spaces around =  [whitespace/operators] [4]
math/number_of_digits.cpp:6:  Missing spaces around >  [whitespace/operators] [3]
math/number_of_digits.cpp:6:  Missing space before ( in while(  [whitespace/parens] [5]
math/number_of_digits.cpp:8:  Missing spaces around =  [whitespace/operators] [4]
math/number_of_digits.cpp:18:  Tab found; better to use spaces  [whitespace/tab] [1]
math/number_of_digits.cpp:18:  Missing spaces around =  [whitespace/operators] [4]
math/number_of_digits.cpp:19:  Tab found; better to use spaces  [whitespace/tab] [1]
math/number_of_digits.cpp:19:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
math/number_of_digits.cpp:20:  Tab found; better to use spaces  [whitespace/tab] [1]
math/number_of_digits.cpp:21:  Tab found; better to use spaces  [whitespace/tab] [1]
math/number_of_digits.cpp:21:  Should have a space between // and comment  [whitespace/comments] [4]
math/number_of_digits.cpp:22:  Tab found; better to use spaces  [whitespace/tab] [1]
math/number_of_digits.cpp:22:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]
math/number_of_digits.cpp:23:  Tab found; better to use spaces  [whitespace/tab] [1]
Total errors found: 15


[PCM-1465] add snyk to sdk

Codecov Report

Merging #391 (61f734e) into master (b9cbdf9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #391   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines         1137      1137
  Branches       238       238
=========================================
  Hits          1137      1137

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 b9cbdf9...6e09144. Read the comment docs.


Bugfix: making scheduler use bytes (instead of str) in SetLattice

Codecov Report

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

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   90.12%   90.15%   +0.02%
==========================================
  Files          13       13
  Lines         861      863       +2
==========================================
+ Hits          776      778       +2
  Misses         85       85

Impacted Files
Coverage Δ

droplet/server/scheduler/utils.py
66.66% <100%> (+1.21%)
:arrow_up:

Continue to review full report at Codecov.

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


ci: use cargo-hack and build all valid feature combos

I've added cargo-hack which seems extremely popular, e.g. futures-util uses it for their CI builds. It actually will go build each of your workspace projects individually.
I've setup a build matrix that uses cargo-hack to run builds with all valid feature combos we care about:

default
all-features
wasm32
tokio
compio
tokio+compio

Seems like Actions is erroring, will fix tomorrow

my 2c - I think the default should be tokio on the current runtime, with no dispatching/spinning out new threads, allowing users to control that aspect of the overall program (for example - in cases where they already do their Vortex IO on a dedicated runtime).

@AdamGS I've filed an issue to address revisiting IoDispatcher: https://github.com/spiraldb/vortex/issues/1670.
My primary goals with this PR are

Improve our CI to test all valid feature combos
Make current vortex-io build successfully with only default features


Logging of the registered services

Is there already an idea to log the registered services?
This could include an ordered logging of the service invocations. Each service has an unique id and each transaction between the services gets a number, so the logger can create a "schedule" with the start point and the end point of the transaction. With such a plan it's possible to identify which process at which step fails, just like a stacktrace, but distributed to all the services.
If you think, this idea is useful I would implement it. But it would be great if we could coordinate the work - is there already some work done for logging or where is a good starting point in the code for this work.
Best Regards
Erik

That is a pretty nice feature. I'll create an issue for it (I'll reuse your text :))

That's a pretty nice feature! Let's come up with a good design and then see how we go forward with the implementation. It should be flexible so any kind of logging mechanism can be used.
We may actually even consider a standalone SnoopEE Logging Service to handle all of this to keep it decoupled from the SnoopEE Discovery Service.

Yeah sounds good.


Add option to represent non-required properties as required fields in TS with | undefined

Description
Proposal
I suggest adding an option that would determine whether non-required object properties get turned into:
  someProperty?: string;

or
  someProperty: string | undefined;

The latter seems safer to work with as a producer of objects that have to match the generated TypeScript types. When adding a new non-required property to an object, I want TypeScript to point out to me all the places in which I should consider adding/skipping that property.
Right now after adding a new non-required property, TypeScript will happily accept existing code, since those existing objects are still valid, because the property is optional. If the property was declared as required, but undefinable (| undefined), I would have to manually go through all the places where that property should appear and either set it to a valid value, or set it to someProperty: undefined (if it should be omitted).
I understand this is a breaking change, which is why I suggest making it a CLI option, rather than changing the default behavior.
For reference, ts-proto has a useOptionals option that decides whether optional properties are generated using ? or | undefined. They recommend | undefined as the default behavior (the behavior I want also from openapi-typescript).
Checklist

[ ] I’m willing to open a PR for this (see CONTRIBUTING.md)

Bump, since IMO this is still worth it.


Add Maven Source Plugin.

Motivation
Allow maven or gradle to download pulsar client source.
Modifications
Add maven source plugin in pulsar.pom

@codelipenghui I think the sources should be already attached and published on maven repo: http://central.maven.org/maven2/org/apache/pulsar/pulsar-client/2.1.1-incubating/
Is it failing to find them?

I think I see the problem: pulsar-client is the shaded module. It includes pulsar-client-original and its dependencies.
For pulsar-client-original the sources and javadoc jars appear to be correct (http://central.maven.org/maven2/org/apache/pulsar/pulsar-client-original/2.1.1-incubating/), but for pulsar-client the sources jar is empty, because the module itself has no Java sources.
I don't think this PR will solve the problem either. We need a way to attach the orginal sources (and javadoc) to the shaded artifact.

@merlimat I think the sources jar is missing at snapshot
https://repository.apache.org/content/repositories/snapshots/org/apache/pulsar/pulsar-client-original/2.2.0-incubating-SNAPSHOT/
if we can configure the snapshot job to publish source jar, that's probably enough for @codelipenghui

I still worry that the source jar for pulsar-client will be empty, given that module is just for shading purpose and has no sources.

yeah, I agreed. we should fix that as well.

retest this please

run cpp tests


Calculator with js

This is my calculator with html, css and java script. Please review my PR.

great job @gauri20pa pls follow me and star this repo to merge this ur pr thanks for contributing


Fix JSON data binding issue in NATS connector

Purpose

Fix issue in accessing JSON values passed in NATS basic client listener resource functions with data binding.

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/19169
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19311 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19311   +/-   ##
================================================
  Coverage            15.73%   15.73%
================================================
  Files                   47       47
  Lines                 1265     1265
  Branches               197      197
================================================
  Hits                   199      199
  Misses                1053     1053
  Partials                13       13

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 b90195d...0a2580b. Read the comment docs.


Cpustates Improvments

Improvements to the cpustate output processor when dealing with missing information.

Split the second commit into separate cpufreq and cpuidle commits.


Add Support for JSON Data

What about adding the support to send json data ?
AFAIK, we can only send text data, it can be very useful to be able to send json data to the client ?
http://www.html5rocks.com/en/tutorials/eventsource/basics/#toc-json-data
What do you think ?

This is not something the library should handle. It simply implements the EventSource protocol. What kind of messages you send are application-specific. It's really trivial to do:
<?php

$data = array('userIds' => array(21, 43, 127));

$stream
    ->event()
        ->setData(json_encode($data));
    ->end()
    ->flush();

var stream = new EventSource('stream.php');

stream.addEventListener('message', function (event) {
    var data = JSON.parse(event.data);
    console.log('User IDs: '+data.userIds.join(', '));
});

I will add some docs for this to the README though.

hum, ok it's too late for me !
Thanks a lot ;)

I've added this to the docs.


IndexError: tuple index out of range

File "train_net.py", line 378, in
launch(
File "/mnt/md0/rabi/transformer_model/detectron2/detectron2/engine/launch.py", line 82, in launch
main_func(*args)
File "train_net.py", line 363, in main
trainer = Trainer(cfg)
File "train_net.py", line 82, in init
model = self.build_model(cfg)
File "/mnt/md0/rabi/transformer_model/detectron2/detectron2/engine/defaults.py", line 514, in build_model
model = build_model(cfg)
File "/mnt/md0/rabi/transformer_model/detectron2/detectron2/modeling/meta_arch/build.py", line 22, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/mnt/md0/rabi/transformer_model/detectron2/detectron2/config/config.py", line 189, in wrapped
explicit_args = _get_args_from_config(from_config_func, *args, **kwargs)
File "/mnt/md0/rabi/transformer_model/detectron2/detectron2/config/config.py", line 245, in _get_args_from_config
ret = from_config_func(*args, **kwargs)
File "/mnt/md0/rabi/transformer_model/MaskDINO/maskdino/maskdino.py", line 197, in from_config
"metadata": MetadataCatalog.get(cfg.DATASETS.TRAIN[0]),
IndexError: tuple index out of range

Maybe you did not set this parameter right.

Code link in
https://github.com/IDEA-Research/MaskDINO/blob/main/configs/coco/instance-segmentation/Base-COCO-InstanceSegmentation.yaml#:~:text=%23 not used-,DATASETS,-%3A


Twilight Forest Issue

Twilight Forest portal not working

Hi, I really need more information than this. Can you explain how it's not
working? Can you include your latest.log file from when it happened?
On Sat, Jan 27, 2024, 3:57 PM ThatZFGuy @.***> wrote:

Twilight Forest portal not working
—
Reply to this email directly, view it on GitHub
https://github.com/katubug/CottageWitchRecast/issues/10, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7XE5QHKLTB3OV4WK4M5XLYQVZ5VAVCNFSM6AAAAABCNUWYPKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDGOBTGA2TGNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Question about the article Crash-avoiding Program Repair,what is the relationship between over-fit and crash

the problem is as above,I didn't find the answer in the article,and i 'm confused about examples in your article's OVERVIEW. Listing 1 and Table 1.
" the fourth and sixth patches are semantically equivalent to the developers’ patch " I agree with this statement. BUT i am confused about the next sentence"However, other patches over-ft the existing test set." ,why they are over-fit
it is appreciated that if you answer me.

It means such patches are not correct but just plausible patches (which pass all the tests in the given test suite). If there is a new test feed to the program,  it is still possible to fail it. For example, for the patch with id 1, if the input test made the remaining_space = width, it will fail, notice that such an input test is not in the give test suite. it is similar to the overfitting problem in machine learning, the given test suite is a training set and the new input test is test set

Thanks for your reply!


avoiding invalid protocol crash

Hi,
I am using request to un-shorten some urls. I have a problem when sometimes the redirect points to an ftp url. Then the node process crashes with the error "Invalid protocol" (main.js. around line 208).
I would rather have it stop and return the previous url, but I don't know how to do it. Simply removing the line

does not solve the problem.
Any suggestion?
Thanks,
m

We should turn this throw in to an emit('error')
On Jan 31, 2012, at January 31, 20126:47 AM, mef wrote:

Hi,
I am using request to un-shorten some urls. I have a problem when sometimes the redirect points to an ftp url. Then the node process crashes with the error "Invalid protocol" (main.js. around line 208).
I would rather have it stop and return the previous url, but I don't know how to do it. Simply removing the line

does not solve the problem.
Any suggestion?
Thanks,
m

Reply to this email directly or view it on GitHub:
https://github.com/mikeal/request/issues/165

if you want to work around it for now though i would suggest disabling redirect following.
On Jan 31, 2012, at January 31, 20126:47 AM, mef wrote:

Hi,
I am using request to un-shorten some urls. I have a problem when sometimes the redirect points to an ftp url. Then the node process crashes with the error "Invalid protocol" (main.js. around line 208).
I would rather have it stop and return the previous url, but I don't know how to do it. Simply removing the line

does not solve the problem.
Any suggestion?
Thanks,
m

Reply to this email directly or view it on GitHub:
https://github.com/mikeal/request/issues/165

Thanks Mikeal.
I have had no time to work on it since then, Iwill hopefully be able to get back to this project in few weeks, and will share a code if I manage to solve the problem.
Cheers,
M.


Android: 90% battery consumption and android warning to force app to close.

Hello.
I'm using background_locator to store locations in background without sendint it to port listened on UI... see here: Issue 30 - comment:610746281  and the result is amazing! But the problem is the excessively high battery consumption!!!
Users are complaining that background locator is consuming about 90% of battery and that android itself is warning them to force the application to stop.
I configured background_locator in a keep alive way, even when user closes the app and just to store locations in background in Shared Preferences... and to capture locations every 5 minutes, and each 30 minutes (about 5 or 6 captures), sent these results to my server. The idea is just to store user location for statistics.
BackgroundLocator.registerLocationUpdate(
      LocationBackground.callback,
      androidNotificationCallback: LocationBackground.notificationCallback,
      settings: LocationSettings(
        notificationTitle: "My App",
        notificationMsg: "My App Title",
        notificationIcon: 'ic_background',
        wakeLockTime: 20,
        autoStop: false,
        interval: 60 * 5,
      ),
    );

Well, my question is about battery: There is a way to optimize this consumption?  I thought that this would only generate some consumption when it captures, but apparently it drains more battery because the GPS is active all the time.
If i change the captures from 5 to15 minutes interval, it will reduce this behavior ? Will reduce at least 2/3 of captures processing.

Wait interval is in second right ?

Wait interval is in second right ?

Yep... exactly!!!
5 minutes is: 60 * 5 = 300 seconds

Oh god I feel so dumb lol I thought it was a divided :smile:
Then I don't know why it take this amout of batterie, I put the interval to 5 seconds and don't have any problem :thinking:

Oh god I feel so dumb lol I thought it was a divided 😄
Then I don't know why it take this amout of batterie, I put the interval to 5 seconds and don't have any problem 🤔

No problem. :laughing:
Well, this feedback is from our testers, the app is in closed beta test yet. So i receive it as a tester feedback.
I will ask user about OS version, etc... Any information that can help ?

I have literally no idea, 90% seems quite impressive thought, did you tried on your devices ? You'll maybe find an explanation

I have literally no idea, 90% seems quite impressive thought, did you tried on your devices ? You'll maybe find an explanation

Yes, just completed 2.5 hours on my device, with 1% consumption.  Good so far!

In theory looking for new location should just happens in specified interval, so between this interval there shouldn't be any GPS request.
Please try lowering accuracy and let me know if anything changes.

In theory looking for new location should just happens in specified interval, so between this interval there shouldn't be any GPS request.
Please try lowering accuracy and let me know if anything changes.

Well, this happens only with one of my testers. So i think this is a damaged battery issue, not from plugin... User battery is damaged?! I don't know, but have 500  users testing my app and just one has this issue.
Because of that, I'm closing the issue. Thank you!


Add second settings source to warden agent.json.

Kubernetes only updates secrets/config mounted as directory.
In order to use a plain warden stemcell for the Kubernetes CPI
we need to hook in a settings source pointing to a file that will
be the only file in that folder.

@cppforlife what about this PR?


[wip] Break down default export with variable assignment

This change set introduces a new transform that breaks down an invalid code like this:
export default const MyComponent: React.RFC = () => null;

to
const MyComponent: React.RFC = () => null;
export default MyComponent

Fixes #38

Getting text of newly added nodes (synthetic nodes) is something I've always struggled with in this repo. Asking the TypeScript team to help me with it here. The failing test is result of trying to access text of a synthetic node.

I forked this repo and now maintaining it there. This pull request is moved to
https://github.com/mohsen1/react-javascript-to-typescript-transform/pull/1


Add time and space complexity to programmes

I'm thinking we should add time & space complexity section in the code or in the readme file wherever possible.
Originally posted by @PrajwalBorkar in https://github.com/codinasion/codinasion-dsa/discussions/17#discussioncomment-3263518

I don't know if readme is a good idea. Because different languages' implementation have different time and space complexity from language to language. If we are gonna implement this in my opinion it's better to have it as a comment in each solution

I don't think, everyone will do the same.
And also we can guarantee that it will be accurate.
So, in my opinion, we can make it optional
@PrajwalBorkar what's your suggestion ?

I think we can add comment in every solution.Also if we mention in issue then I think most of them will add even if they don't know they can do research which is beneficial for everyone. I think we should add this because everyone's solution will have different approaches and complexities so that the one who is referring will get a better understanding.

For previous codes we can create separate good first issue so folks can add time complexities.

For previous codes we can create separate good first issue so folks can add time complexities.

👍🏻
will do the same soon

I'm working on a new project 🚀 , that's why many PR(s) are not merged yet.
Sorry for the delay, will be merged soon 🤗


Introduce drowl-init-from-existing (--remote) command

Context:
Existing Drupal project (online) should be fetched from remote to work on it locally (like drowl-init-from-existing) easily.
The Drupal Project typically consists of:

composer.json
config
content
files
settings.php (server-side configuration)

As config and content are both contained in the database and are up to date there, for a first step we should concentrate on the database instead of fetching configuration.
Steps after 9 are equal to drowl-init-from-existing so perhaps it might make sense to select the source in the first step of drowl-init-from-existing => From local files or From Remote?
Required information for fetching from remote:

SSH Login
Remote path to project
Database name (can be derived from remote settings.php)
Project URL

Steps to take (UX - pseudo):

Run drowl-init-from-existing-remote (difer)
Enter Remote Server Connection (user@host:[port])
Connect (using ssh key auth)
You are in directory XXX, enter the path to the project directory (absolute or relative)
/var/www/xz/123/abc/drupal
Check if composer.json is in directory and contains "name": "drupal/recommended-project" => Give success or error message
Read database name from settings.php => The used remote database name is "XXX", is this correct?
Fetch composer.json and database XXX from remote and import into project?
Do it...

Further improvements (low prio):

Allow to update from remote (re-fetch composer.json, database or config)
Compare composer.json or config with remote

Out of scope

Uploading to remote or any other deployment steps

Shame on me!!! Wrong Tab = Wrong Repo -.-
Please delete the issue if possible!
Should go into https://github.com/webksde/ddev-vscode-devcontainer-drupal9-template/issues/59


MakePath function in helpers/path.go removes unicode "mark"s

Issue
Hugo picks up incorrect section names for non Latin script sections. This results in hugo using incorrect section names and all the consequent issues.
Bug
The MakePath function (https://github.com/spf13/hugo/blob/master/helpers/path.go#L77) removes unicode "mark"s, which changes the meaning of the string. As an example, consider the following program (the snippet assumes that you have hugo source on your machine).
package main

import (
        "fmt"

        "github.com/spf13/hugo/helpers"
)

func main() {
        fmt.Println(helpers.MakePath("संस्कृत"))
}

The expected output is "संस्कृत" i.e., the string should remain unmodified. However, the actual output is "ससकत", which is a totally different word.
In case you are facing difficulties in viewing those glyphs, please copy the following strings and paste at http://www.google.com/intl/sa/inputtools/try/:
संस्कृत
ससकत

The first string is the input, as well as the expected output. The second string is what is the current erroneous output.
Suggested Fix
On https://github.com/spf13/hugo/blob/master/helpers/path.go#L99,
if unicode.IsLetter(r) || unicode.IsDigit(r) || r == '.' || r == '/' || r == '\\' || r == '_' || r == '-' || r == '#' {

we probably need to add another check for unicode "mark" - https://golang.org/pkg/unicode/#IsMark

Just tested by adding a check for mark. Didn't fix it.

Could you please help me with the following:

Is the "RemovePathAccents" flag set to true? For correct output, it should be set to false i.e. it should not remove accents from the string.
Can you please share the
a) the change and
b) the output that you see for the following program before and after applying the change?
Program:

package main

import (
        "fmt"

        "github.com/spf13/hugo/helpers"
)

func main() {
        input := "संस्कृत"
        output := helpers.MakePath(input)
        if output == input {
                fmt.Println("Success")
        } else {
                fmt.Println("Failure - input " + input + ", output " + output)
        }
}

Locally, I have tried the following change on the current hugo master
if unicode.IsLetter(r) || unicode.IsDigit(r) || unicode.IsMark(r) || r == '.' || r == '/' || r == '\\' || r == '_' || r == '-' || r == '#' {

and I see following output for the above program. I assume we are running go version 1.5.1.
Before change
Failure - input संस्कृत, output ससकत

After change
Success

In case you are facing difficulties in viewing the output glyphs, please copy the glyphs and paste at http://www.google.com/intl/sa/inputtools/try/

@Brahmasmi There was a change made to fix #1180 on June 16th, 2015 that seems related. Are you up to date?
When I change your sample to include the RemovePathAccents it seems to work properly:
package main

import (
	"fmt"

	"github.com/spf13/hugo/helpers"
	"github.com/spf13/viper"
)

func main() {
	path := "संस्कृत"
	viper.Set("RemovePathAccents", true)
	fmt.Println("Original: ", path)
	fmt.Println("MakePath: ", helpers.MakePath(path))
}


Large gap between titles and content

Description:
$subject was noticed in many pages. For example, refer to the below screenshots from the Notebook section.

Will be fixed via https://github.com/wso2/docs-ballerina-vscode-extension/pull/140.


How to use one's own dataset to train the model

Thank you very much for your code! This is very useful to me! How to use one's own dataset to train the model? Looking forward to your reply.

Thank you for your interest in our work. I don't know your dataset. I suggest you rewrite the dataloader for your dataset to adapt it to the model, and then train your model.


Resolution engine polishing

Remove some unused methods
Clean up some constructors
Avoid mutating input arguments in constructors
Use ArrayLists instead of LinkedLists where we know we will be iterating over all elements
Add missing annotations
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test apt

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

@bot-gradle test apt

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build


Ensure reconciliation works with the specific logic

The pod should be reconciled if the following requirements are met:

If the pod is created
If the specific label has value has changed
If images have changed

Every time any of the validations is valid, the reconcile function needs to connec to the notary, validate the image signatures and if any of them fails -> set  pod validation label to failed and requeue reconciliation after 5-10 minutes.
If the validation result is different than current state, update the label in the pod.
/assign @muralov
/kind feature

Completed!
/close


Integration Test - Release - 2020/09/25 17:40:30

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


Updated PowerShell sample to fix timestamp

Using the PowerShell sample, the dates of the records were being coded to a date in 2016 and not showing up in recent searches. To replicate the C# sample, update the comment and blanked the date field so the record shows up with a time generated of the ingestion time.

@ChristopherMank : Thanks for your contribution! The author, @bwren, has been notified to review your proposed change.

Hi @bwren Checking if you've had time to review. Thanks!

#sign-off


I don't think it works on 0.63 iOS

Hey there! Anyone got it working on iOS? It seems like when RCTBridge for the main React Native app is instantiated, the new RCTBridges don't start the JS code 🤔

Actually, tried it out and the approach taken by this library should be working on the latest React Native version (0.63.4): https://github.com/backmeupplz/react-native-ios-threading-example/

Actually, tried it out and the approach taken by this library should be working on the latest React Native version (0.63.4): https://github.com/backmeupplz/react-native-ios-threading-example/

Looks like Realm can be the issue, investigating there: https://github.com/realm/realm-js/issues/3522

Looks like Realm can be the issue, investigating there: https://github.com/realm/realm-js/issues/3522

It works on 0.63

It works on 0.63


anyone knows what is this about?

401 Client Error: Unauthorized for url: https://huggingface.co/sdxl_models/image_encoder/resolve/main/config.json

getting the same error, don't know why


Responsive delete events page / Modify events

Events should be deleted from the page without having to refresh as the event is deleted.
As a side note, maybe this page could be changed to "modify events" where instead of delete it has a "modify" button that opens a new page where you can change the title, image, showtimes, etc. including deleting the whole event.

I have made changes so the table is updated when the Delete button is clicked.
While I do agree with the Modify Events part, we would need to first finish the create events page, as it will be nearly identical. Also if we do go forwards with this, we should probably drop the 'Play Description' column from the table. It is already slightly unnecessary in my opinion.


Capacity to turn off default compression?

I'm attempting to use this plugin on every SVG in a given project.
I believe the default compression or reformatting of the svg's themselves is causing issues however.
For example, I have a standard three bar menu icon:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="200px" height="180px" viewBox="0 0 200 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">     <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">         <g id="Artboard-1" fill="#D8D8D8">             <rect id="Rectangle-1" x="0" y="0" width="200" height="40"></rect>             <rect id="Rectangle-1" x="0" y="70" width="200" height="40"></rect>             <rect id="Rectangle-1" x="0" y="140" width="200" height="40"></rect>         </g>     </g> </svg>
But once it's compressed:
<symbol id="menu" viewBox="0 0 200 180">   <g fill="#D8D8D8" fill-rule="evenodd"><path d="M0 0h200v40H0zM0 70h200v40H0zM0 140h200v40H0z"/></g> </symbol>
Making it impossible for me to do any animation to the different rect items that I could do with it before it was moved into the sprite.
Is there any way to turn off the compression or reformatting?

@JordanDWhalen Your problems are most likely caused by aggressive SVGO plugins. Please refer to this thread for further reading: https://github.com/jkphl/svg-sprite/issues/41

@JordanDWhalen ... or even better: https://github.com/jkphl/svg-sprite/blob/master/docs/configuration.md#pre-defined-shape-transformation-with-custom-configuration-object-values

@JordanDWhalen The list of available SVGO plugins can be found here: https://github.com/jkphl/svg-sprite/blob/master/lib/svg-sprite/transform/svgo.js#L16


Move XHR to fetch

By using fetch instead of XHR, Service Worker can cache the dictionary files.
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Offline_Service_workers
The polyfill may be required for legacy browsers.
https://github.com/github/fetch

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@71ea847). Click here to learn what that means.
The diff coverage is n/a.

I mistaked From Branch. So I'll recreate PR!


Fix: size only checks for different typed waves

See #199.

Can you look on my changes if they suit the request? With this testcase:
static Function Test1()
	Make/FREE a
	Make/FREE/T b

	print CHECK_EQUAL_WAVES(a, b, mode = DIMENSION_SIZES)
End

static Function Test2()
	Make/FREE a = { 1.0 }
	Make/FREE/T b = { "a" }

	print CHECK_EQUAL_WAVES(a, b, mode = DIMENSION_SIZES)
End

static Function Test2a()
	Make/FREE a = { 1.0, 2.0 }
	Make/FREE/T b = { "a" }

	print CHECK_EQUAL_WAVES(a, b, mode = DIMENSION_SIZES)
End

static Function Test3()
	Make/FREE a = { 1.0 }
	Make/FREE/T b = { "a" }

	print CHECK_EQUAL_WAVES(a, b)
End
```

the following output:

```
  Start of test "Unnamed"
  Entering test suite "Proc0"
  Entering test case "mymodule#Test1"
  NaN
  Leaving test case "mymodule#Test1"
  Entering test case "mymodule#Test2"
  NaN
  Leaving test case "mymodule#Test2"
  Entering test case "mymodule#Test2a"
  Assuming equality using mode DIMENSION_SIZES for waves _free_ and _free_: is false. Assertion "print CHECK_EQUAL_WAVES(a, b, mode = DIMENSION_SIZES)" failed in line 25, procedure "Proc0"
  NaN
  Leaving test case "mymodule#Test2a"
  Entering test case "mymodule#Test3"
  Assuming equality using mode WAVE_DATA for waves _free_ and _free_; detailed: Cannot compare data if the types doesn't match: is false. Assertion "print CHECK_EQUAL_WAVES(a, b)" failed in line 32, procedure "Proc0"
  Assuming equality using mode WAVE_DATA_TYPE for waves _free_ and _free_: is false. Assertion "print CHECK_EQUAL_WAVES(a, b)" failed in line 32, procedure "Proc0"
  NaN
  Leaving test case "mymodule#Test3"
  Failed with 3 errors
  Leaving test suite "Proc0"
  Test finished with 3 errors
  End of test "Unnamed"
```

I have the following questions:
1. I think the `NaN` output is weird but I don't know where it's comming from.
2. The error output is quite large. There is much stuff that I think is duplicate. Can we reduce the line
    `Assuming equality using mode WAVE_DATA for waves _free_ and _free_; detailed: Cannot compare data if the types doesn't match: is false. Assertion "print CHECK_EQUAL_WAVES(a, b)" failed in line 32, procedure "Proc0"`?
3. I didn't check `DIMENSION_SIZES` manually but the solution is working. Is this okay?
4. `AreWavesEqual` in `procedures\unit-testing-assertion-checks.ipf` has a `FIXME add detailed msg generation functions`.
5. Should I refactor the code to solve question 2 and 4?


Download Link Broken

Download link doesn't work.  Looks like when this was forked the function tied to the Download button was deleted.
@click="onDownloadClick"
The onDownloadClick function is not referenced anywhere and thus never happens

Is it fixed?

no it's not fixed. Wish it was though!

And with vue-tsc 1.0, it now errors out on compilation even if download is disabled :(
$ vue-tsc --noEmit && vite build
node_modules/qrcode-vue3/src/QRCodeVue3.vue:7:23 - error TS2339: Property 'onDownloadClick' does not exist on type '{ $: ComponentInternalInstance; $data: { imageUrl: string; qrCode: QRCodeStyling; }; $props: Partial<{ download: boolean; imageOptions: Record<string, any>; ... 13 more ...; downloadOptions: Record<...>; }> & Omit<...>; ... 10 more ...; $watch(source: string | Function, cb: Function, options?: WatchOptions<...>): Wa...'.

7       <button @click="onDownloadClick" :class="downloadButton">
                        ~~~~~~~~~~~~~~~

Found 1 error in node_modules/qrcode-vue3/src/QRCodeVue3.vue:7

And with vue-tsc 1.0, it now errors out on compilation even if download is disabled :(
$ vue-tsc --noEmit && vite build
node_modules/qrcode-vue3/src/QRCodeVue3.vue:7:23 - error TS2339: Property 'onDownloadClick' does not exist on type '{ $: ComponentInternalInstance; $data: { imageUrl: string; qrCode: QRCodeStyling; }; $props: Partial<{ download: boolean; imageOptions: Record<string, any>; ... 13 more ...; downloadOptions: Record<...>; }> & Omit<...>; ... 10 more ...; $watch(source: string | Function, cb: Function, options?: WatchOptions<...>): Wa...'.

7       <button @click="onDownloadClick" :class="downloadButton">
                        ~~~~~~~~~~~~~~~

Found 1 error in node_modules/qrcode-vue3/src/QRCodeVue3.vue:7

This package has a lot of problems. The best thing to do if you really need it is to fork it and fix it yourself. I did that but I never fixed the download button - it looks like an easy fix tho l.

You can try this code:
const image = document.querySelector(".wallet__img-qrcode img")   const canvas = document.createElement("canvas");   canvas.width = image.width;   canvas.height = image.height;   const context = canvas.getContext("2d");   context.drawImage(image, 0, 0, image.width, image.height);   // Get the base64 encoded data of the image   const url = canvas.toDataURL("image/png");   var link = document.createElement("a");   document.body.appendChild(link); // for Firefox   link.setAttribute("href", url);   const fileName = (new Date()).toLocaleString() + '-qr-code.png'   link.setAttribute("download", fileName);   link.click();

const image = document.querySelector(".wallet__img-qrcode img")   const canvas = document.createElement("canvas");   canvas.width = image.width;   canvas.height = image.height;   const context = canvas.getContext("2d");   context.drawImage(image, 0, 0, image.width, image.height);   // Get the base64 encoded data of the image   const url = canvas.toDataURL("image/png");   var link = document.createElement("a");   document.body.appendChild(link); // for Firefox   link.setAttribute("href", url);   const fileName = (new Date()).toLocaleString() + '-qr-code.png'   link.setAttribute("download", fileName);   link.click();

Here is last fixes. https://www.npmjs.com/package/qr-code-generator-vue3/v/1.4.21

Fixed in last update. Demo is here: https://github.com/scholtz/qrcode-vue3-sample/blob/master/src/App.vue#L12


chore(deps): update common-dev-assets digest to 93f75dc

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
2a0b8b7 -> 93f75dc

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Send move to my position by mqtt

Hardware
ESP32
Firmware version
2.3.3
Application version
2.3.3
What happened? What did you expect to happen?
I want to send the move to "my" position by mqtt, but by sending 0 to espsomfy/shades/7/direction/set i can stop the shades, but not send him to my position.
How to reproduce it (setp by step)
send 0 to topic espsomfy/shades/7/direction/set

Logs
No response

@christoph-ng if you are still having issues re-open this ticket and provide some additional details.  I tested this on several devices and it works correctly.


Upcoming release?

Since https://github.com/onivim/oni/issues/2047 is fixed I've been checking there releases page eagerly.
:)

Hey!
There should be a release fairly soon, to go with the recent release of Neovim 0.3.0 and all the other changes that have been added to Oni since the last release!

Okay, cheers!


docs: Document conv => … equals => tactic

which was introduced in https://github.com/leanprover/std4/pull/204

Thanks and thanks also for the feature!
bors merge


Add Content Tools to repos they own

Mostly taken from
https://gov-uk.atlassian.net/wiki/display/GOVUK/Product+group+structure+and+details
and
https://gov-uk.atlassian.net/wiki/display/CT/GOV.UK+Content+Tools

:1st_place_medal:


Update readme.java.md to make Resource.resourcegroup  and subscriptionid readonly

ARM (Control Plane) API Specification Update Pull Request
Purpose of this PR
Make Resource.resourcegroup and Resource.subscriptionid readonly according to service team's ask. https://github.com/Azure/sdk-release-request/issues/4203#issuecomment-1603387205

[ ] New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[ ] I have reviewed the general guidance on the spec PR review process: https://aka.ms/specprreview.
[ ] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data-plane related specifications.
[ ] I commit to follow the Breaking Change Policy.
[ ] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can request review from an ARM API Review board.

ARM API changes review

If you want for the ARM team to review this PR, you must add the ARMReview label.
The automation may automatically add the ARMReview label, if appropriate.
If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review
If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.
Getting help

For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For additional help, see https://aka.ms/azsdk/support/spectools.

/azp run

@qiaozha help to approve breaking change for js, Thanks


Error when training from GUI

Describe the bug
I open the GUI select the folder where I have the audio segments in folders with specie name as in the labels TXT, leave default parameters and when train, data start to load, I have some generic classes such as Sturnus, Passer... that load data correctly but in the generic class Bird it just gives an Error after loading 6-10 samples (there are around 130 in Bird folder).
To Reproduce
Steps to reproduce the behavior:
For the GUI:

Go to Train
Load traning data, set output directories...
Start training and wait for data to be loaded
Error is shown in the plot square

Expected behavior
I expected the train to start
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Win10

Additional context
I have original audios of 1 min and the annotations with start_time and end_time of the bird songs/calls, I created a script to cut them and save them in the specie_name folders.

I achieved to load data moving Bird folder outside the training root folder (so other classes and subclasses are in this folder but Bird). It started training (loading data from cache file):

But just before finishing it gives an error:

Also, I tried to look for a json or log with the error but I couldn't find anything

I can't really tell where it went wrong.
In the installed version, you should look at %APPDATA%/BirdNET-Analyzer-GUI for the log files. If it happens again please send us the file or copy atleast the last few exceptions.

I can't really tell where it went wrong. In the installed version, you should look at %APPDATA%/BirdNET-Analyzer-GUI for the log files. If it happens again please send us the file or copy atleast the last few exceptions.

I can't really tell where it went wrong. In the installed version, you should look at %APPDATA%/BirdNET-Analyzer-GUI for the log files. If it happens again please send us the file or copy atleast the last few exceptions.

I closed the GUI and reopened it, try training without the Bird class and it worked. So it seems that the problem wastrying to train after alerady trying to train and getting an error. Also if a train finished and I want to start a new one I have to reopen de GUI, if I don't I get an error.

I can't reproduce this error on the current version. If it happens again please provide the logs, if you are using the installed version they are found at AppData/Roaming\BirdNET-Analyzer on win or /Users/<user>/Library/Application Support on mac. Otherwise they are found in the root directory

There has been no activity on this issue so I'm closing it. Please get back to us if there is still a problem and provide the error logs.


Running on macOS

I would like to run the code on my mac. Would you be able to provide either a mac version or some compilation instructions?
Thank you!

Hi, I added a macOS executable. Let me know if you have any problems. Thanks!


[FLOC-3137] Always restart containers

Resolves: https://clusterhq.atlassian.net/browse/FLOC-3137
Flocker is currently documented as implementing the equivalent of the restart=never Docker policy. However, this is not the current behaviour, nor is it desirable behaviour. Currently, Flocker does restart containers when they are stopped. This PR removes the line of code which attempted -- but failed -- to stop these restarts previously, and updates the documentation to accurately reflect the actual behaviour. It also updates the unit test which tested the previous code in what must have been an unrealistic context (because it never worked in practice) and adds an acceptance test which verifies that the desired behaviour is actually correct.
Behaviour with respect to node reboots is out of scope for this PR.
@wallrj and I paired on this branch.

This looks good. Please merge once buildbot is green.
I think we should, if possible, address the UI issue of reporting an unused restart policy before releasing this. Please file an issue to track that.

Review status: 0 of 6 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

docs/reference/api_examples.yml, line 383 [r1] (raw file):
It seems like we should have containers always report that they have a restart policy of always then?

Comments from the review on Reviewable.io

As an aside, I think i would have been inclined to start a new branch for this change, rather than reusing the branch that was done for restarts, since they share almost no code. (Not worth worrying about at this point, though.

Comments from the review on Reviewable.io

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

Comments from the review on Reviewable.io

Thanks for the review, @tomprince!
I've filed the follow-up issue you asked for here: https://clusterhq.atlassian.net/browse/FLOC-3153


Subclass method throwing exception gives type error (wrong return type)

TypeScript Version:  2.7.2. Also reproduced on TS Playground 2018-04-10
Search Terms: exception subclass abstract, error subclass abstract
Code:
abstract class LifeForm {
    abstract getAge(): number;
}

class Dog extends LifeForm {
    private actualAge: number;
    getAge() {  // This is valid
        return 7 * this.actualAge;
    }
}

class Immortal extends LifeForm {
    getAge() {  // This gives a type error (below)
        throw Error("Immortals are ageless");
    }
}

Expected behavior: Immortal is a valid subclass of LifeForm.
Actual behavior: Error:
Property 'getAge' in type 'Immortal' is not assignable to the same property in base type 'LifeForm'.
  Type '() => void' is not assignable to type '() => number'.
    Type 'void' is not assignable to type 'number'.

I'm not sure if this is a bug or just misuse on my part. Even if it is a bug, it's easily worked around, as Immortal2 below does work fine. But I suspect it's a bug, because myFunc below is analogous but also works fine.
class Immortal2 extends LifeForm {
    getAge(): number {
        throw Error("Immortals are ageless");
    }
}

let myFunc: () => number;

myFunc = () => {
    return 3;
};
myFunc = () => {
    throw Error("Invalid")
};

Playground Link: link

This is an outcome of some historical decisions we can't change without causing a fairly large breaking change. The correct workaround is to add a type annotation:
class Immortal extends LifeForm {
    getAge(): never {
        throw Error("Immortals are ageless");
    }
}

I see, thank you!


Incorrect version message installing WSL

Version
Microsoft Windows [Version 10.0.19045.2251]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
N/A
Distro Version
N/A
Other Software
No response
Repro Steps
Got excited about WSL now including WSLg on Windows 10 so I wanted to give it a try.
wsl --update says:
Checking for updates...
No updates are available.
Kernel version: <IP_ADDRESS>

so I thought I'd get it from the Windows Store as recommended.

I get WSL from Windows Store
I click "Open" on Windows Store

I get this error

https://learn.microsoft.com/en-us/windows/wsl/install was updated yesterday and it says "You must be running Windows 10 version 2004 and higher (Build 19041 and higher)". I'm running build 19045 but it doesn't work?

Expected Behavior
WSL working
Actual Behavior
WSL not working
Diagnostic Logs
No response

Please make sure your system satisfies the conditions

You will need to be running Windows 10 version 21H1, 21H2, or 22H2, or on Windows 11 21H2 with all of the November updates applied. You will know you have this update when you check that KB5020030 is installed on Windows 10, or KB5019157 on Windows 11.

https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/

Thanks for the quick reply. So you're saying my version 10.0.19045.2251 is not "Build 19041 and higher"?
Windows Updates shows me no pending updates.

I just got some "optional" update, now my version is 10.0.19045.2311 and WSL works fine.
Seems to me the error message is incorrect? I've edited the title of this issue accordingly.

The message is correct, but it looks like https://learn.microsoft.com/en-us/windows/wsl/install hasn't been updated for the requirements for the Store-distributed version. As mentioned in the blog post and comment above you need the November 2022 "C" releases, i.e. 1904X.2311 aka KB5020030 or later. The same functionality should be included in the December "B" release (non-optional) assuming no issues are found during its preview period.
Due to the way Windows 10 is versioned (specifically, the feature-pack releases), 10.0.19045.2251 is indeed older than 10.0.19041.2311.

Hi, thanks for the explanation!

10.0.19045.2251 is indeed older than 10.0.19041.2311.

:confounded:
Well, the scope of the issue now has grown to "Windows versioning makes no sense" so I'll close this :slightly_smiling_face:


ARROW-17348: [C++] Add support for building bundled LZ4 with Visual C++ 2019 or later

LZ4 provides CMake configuration. We can add support for building
bundled LZ4 with Visual C++ 2019 or later by using it.
But this needs CMake 3.7 or later because
ExternaProject_Add(SOURCE_SUBDIR) is supported since CMake 3.7.

@pykello You may want to test this on your environment.

@github-actions crossbow submit -g nightly-tests -g nightly-packaging -g nightly-release

@kou this built successfully in my environment with LZ4 enabled & with both Relwithdebinfo & Debug configs. So this solves the problems I faced earlier. Thanks.

@pykello Thanks for confirming this! I merge this.


Ld index bugs

In testing out indexing capability with our product's custom IndexDriver, I found a bug. The following query would incorrectly return only a single result on an indexed column for an IndexLookup that didn't implement the Mergeable interface:
SELECT col1 from table where col1 = 1 or col1 = 2;
When the two index lookups couldn't be merged, the first one was returned as the sole lookup for that table. This lookup then got pushed down to the table by the analyzer.
Verifying that this bug was actually fixed ended up being pretty difficult, because engine_test doesn't use an IndexDriver. So I moved the test index types out of assign_indexes_test.go into the memory package, then implemented the Values() method for them so that they could return matching rows from the memory tables. Then I implemented an IndexDriver for the memory package which can be seeded by hand for tests. Finally, I changed TestQueries to test every combination of partitions, index driver, and parallelism, for a total of 12 runs.
The biggest change here is how MergedIndexLookups are handled in the assign_index_tests.go file. What I have now is (I think) more understandable and correct than the previous method of tracking unions and intersections, but did substantially increase the amount of boilerplate in the test code.
Finally, I fixed an unrelated bug in time_test.go, which would fail in my timezone after 4pm due to timezone differences in date calculation.

Hi friends at src-d,
Can we get some eyeballs on these outstanding pull requests? We have a bunch of additional changes we've been building on top of these (including work on views based on https://github.com/src-d/go-mysql-server/pull/860) and it's going to become difficult contribute them back if these sit unmerged much longer.

Any chance we can get this reviewed soon? We are continuing to stack changes on top of this one, and it's going to be really challenging to merge them back to you at this point.


I am using this library and looking for Pause Recording and Resume Recording feature. Is this library support these features ?

Version of react-native-audio-recorder-player
Platforms you faced the error (IOS or Android or both?)
Expected behavior
Actual behavior
Steps to reprodue the behabior

This isn't yet in our library.

Hope the team adds this lift soon.


Second Already Have An Account in Signup Doesnt Work

The already have an account button on the second page of the signup doesn't link anywhere currently

This is being fixed in  #239


Added support banner to README.md

Added support banner to README.md

🇵🇸 PALESTINE IS BEING ATTACKED BY ISRAELI ARMY. CIVILIANS ARE GETTING KILLED. RESIDENTIAL AREAS ARE GETTING BOMBED.

Help PALESTINE — SPREAD THE WORD — STOP THE GENOCIDE

Why ?


Minimum Throughput

Hi,
Is there a reason why the minimum throughput on the second tier is not 0.1*Tmax?
As the other tiers are consistent with this (1st tier 400-4000, 3rd tier 10k - 100k, 4th tier 50k - 500k) I would have expected the 2nd tier to scale between 2k - 20k, yet this tier scales from 4k to 20k.

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

ID: c5b2be67-25e0-a558-dae2-5fa149df2d96
Version Independent ID: e95519f3-80f7-37bf-e3fc-9ebbf5081f17
Content: Create Azure Cosmos containers and databases in autopilot mode.
Content Source: articles/cosmos-db/provision-throughput-autopilot.md
Service: cosmos-db
GitHub Login: @kirillg
Microsoft Alias: kirillg

@Jessejames106 We are checking this and will get back to you.

@Jessejames106 Please convey which document you are referring to and where this is displayed. Please also convey if you have found this info through different medium so that we can help regarding the same.
Also portal mentions the correct values so I am not sure where you checked this. Please provide this information so that we can correct the same.

@NavtejSaini-MSFT I've attached a screenshot of where i'm seeing these values on the Azure Portal (Containers > Scale)
We're using UK South/UK West as read regions and UK South as the write region if that helps with investigating this.

@Jessejames106 Thanks for getting back to us. we did create the Cosmos DB with config:

but still get the correct values:

Need further help from you to find out exactly where it is wrong. Can you please include the detailed steps to get to this error including the way of creating DB and containers and how you configure throughput for the same.

@Jessejames106 I have checked autopilot throughput ranges in both container and Database creation. And in both of them, the message says you can scale between 2,000 RU/s to 20,000 RU/s. I don't see the screen ou have.

In your screenshot looks like the informational message in the portal UI is incorrect. As Navtej mentioned, please share the path you have used so we can correct it. Or it's probably fixed already. Please try to create a new container and let us know if you still see the same experience.

@NavtejSaini-MSFT @SnehaGunda Hi, You were correct as this informational message has fixed itself!, thanks for your help in any case


Config UI - Basic Error Handling

Description
This Ticket is to cover error handling ux workflow related tasks on config-ui.

@e2corporation Please update the status of this issue

@klesh This is an old ticket and can be closed.


Fix drawing Group to RenderTexture

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Fixes a bug

Describe the changes below:
Group children (generic GameObjects) expect a 'camera' argument
in their 'willRender' function; that was missing in RenderTexture.batchGroup().

👍


Question: How to set different styles for each selected tab icon

Version

react-native-router-flux v3.35.0
react-native v0.32

I want to set different styles for each tab icon on select. For example giving them a different background-color etc..
Is there a way to set tabBarSelectedItemStyle for each individual tab?
Does anyone have any suggestions?

Just create a component for each tab scene and then set it on the scene using tab={mytabcomponent} look at the detailed example.


Cannot create a custom game even if you are not in all queues

Join to all queues (1v1, 2v2)
Leave all queues.
Try to create a custom game

Message will be displayed: Please leave all queues before joining a custom game
Client version: 2021.10.0

Duplicate of #2410. Fixed in 2021.11.0


Let users disable hide-watch-and-fork-count

I add a new class hide-watch-and-fork-count.
Or maybe should I just use btn.style.display = 'none'?
Closes #1843

@bfred-it Thanks for reviewing. I have updated it. Can you please check again?

Thanks @DanSnow 🍴

.btn-with-count[title^='Fork your own'],
[action='/notifications/subscribe'] .btn-with-count {
    border-radius: 0.25em; /* Matches GitHub's default */
}

should have its selectors changed too. https://github.com/sindresorhus/refined-github/commit/adb319bf0201276ff73f43b3326a32ac16721df5

Fixed: 0c35487

Thank you, all, for enabling this PR. I really appreciated your work here. <3

This is now released in https://github.com/sindresorhus/refined-github/issues/1137#issuecomment-478207420.
To disable:

Right-click the extension > Options > Features to disable > add hide-watch-and-fork-count

Thank you!


[Feature] Want to create the about us page

Description
I want to create the about us page as the link in the footer is not working correctly  so i want to create the about us page
Screenshots
https://github.com/pooranjoyb/popShop/assets/118350936/008059b2-41b5-422c-a1b5-8b9aac712b04
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

Congratulations, @Ayushmaanagarwal1211! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

Not needed as of now :)
Please have a look on the Admin Dashboard related issues. Those are more important now :/


ipsec: what to do with the mobile peer id

https://github.com/opnsense/core/commit/0dd120
via: https://forum.opnsense.org/index.php?topic=6194.0

I'm closing this, again, due to lack of feedback.

Any update on this? IPsec/IKEv2 road warrior VPN with EAP-TLS/Mutual RSA seems to need mobile peer id, at least on clients such as macOS and iOS.
Working in pfSense, as the setting is there


Error: Cancelled, when I use the cancel method in the node client

when i use call.cancel() in my node client, it throw a error :
,but it really can stop the connection from server.And I try grpc.getClientChannel(clientObj.client).close() it does not work

ping.

With streaming calls, you should be listening for the error event to handle to handle call failures.

@murgatroid99 the error event can also be triggered by grpc server as well. In that case, there is no way for grpc client to tell the difference. Is it possible to fix it? I asked under this issue:
https://github.com/grpc/grpc/issues/8023

The error event gives you an error object, which has a code property, which is a member of grpc.status. So for example, if you want to handle cancellations differently from other errors, you can check whether the code is equal to grpc.status.CANCELLED.


Change class reference to match image

Fixing references
Fixed the class name.
Summary
Class name in text doesn't match the one on an image.
Details
The text contains reference to a "TestClass1" when the image with the source code shows a class named "UnitTest1".

Hi @jfaustino, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

You're right. The right class name created by the template is UnitTest1. Thanks for fixing it @jfaustino!


Should we allow custom categories?

For example, we could allow for categories to be arbitrarily defined within a dataset, e.g.
{
    "name": "Grasses and Sedges", /* custom name, unique within a dataset */
    "role": "weed",
    "included_taxa": [
        {"name": "poaceae", "eppo": "1GRAF"},
        {"name": "cuperus", "eppo": "1CYPG"},
    ],
    "annotation_specification": "The annotations of these species should fully include their growing point, and not any leaves visibly protruding from that growing point.",
}

included_taxa would make it easier to share datasets with practical granularity of annotation, without trying to fit a square peg into a round hole. It makes it a little harder to use datasets, and would make it harder to combine multiple datasets. Instead of a 1-to-1 category mapping UI, we would need a more sophisticated UI for defining rich categories.
We could also consider excepted_taxa or excluded_taxa when we know some species are ignored or annotated under a different category.
How do we represent "broadleaves"?
annotation_specification would help us describe the intentions during annotation, particularly when broadleaves and grasses get different treatment for segmentation.

I like and don't like this. I don't like it mostly because it breaks the standards of the platform and isn't very granular, but I think it better addresses the reality of what people are likely to annotate and what we've seen annotated and is a good addition in flexibility to the site.
This approach would be acceptable only if it's possible to group by the hierarchy listed in included_taxa as you've described, the custom name is fairly arbitrary, though we could have naming standards for combination datasets. Alternatively, can standardised grouped class names be generated automatically if included_taxa are provided? I.e. we provide a dictionary mapping high level family names to accepted groups.
The broadleaves class is is an interesting one, they are more technically known as forbs (defined as non-graminoid plants) or dicots I guess. Wikipedia provides a list of orders/families so it would be possible to automatically group them based on taxonomical hierarchy.

annotation_specification is an important addition.

Plant parts could also come into a richer category spec.
But I'm not sure how we'd display these categories on the explore page....

I will admit that not knowing how to display/search this is not a good reason to not "address the reality of what people are likely to annotate".

We can also note instance vs semantic segmentation


Disabled the need to set all Query Store configuration items when executing the function

In this version not all Query Store configuration parameters need to be
supplied. The function will now only modify the configuration for
parameters supplied.

hey @Evdlaar  - this PR is causing a conflict so I'm going to take the resulting code, paste it in and submit it to development. I'm assuming it was created from an old branch -- please sync sqlcollaborative\development (sorry my screenshot is a bit off, I'm connected directly to the repo, pretend it says sqlcollaborative\development like the first screenshot)


beta-reports-active entitlement

Hi all!! I've managed to succesfully create and upload an ios build of my project, thank you very much, this is a really helpful tool. I just have a question about the entitlements, the 'beta-reports-active' has been necesary so far to upload the build, however, as far as I remember, I haven't set this entitlement anywhere, so, is it possible that this is set by gym?, if that's so, how can I remove it from the compilation?
Best Regards

hey @mgrilloteravisiongames apologies for the long time since you opened this issue. is this still something you are experiencing? there have been a lot of releases and updates to fastlane since this issue was opened, would you mind updating and trying again? if you are still having the issue, please reopen it and paste in any output that fastlane prints out for you upon the error.
thanks!


please video

please video we could not do it

hehe, maybe someone make Tutorial i don't have time now for this. Sorry : /


fix encoding errors

Turns out UPCAPI returns descriptions encoded as ISO-8859-1 strings, while
current version of script expects UTF8. This commit makes sure that descriptions
are converted properly.
Possibly fixes #44 without need of any additional python modules.
I have tested this on the only non-ascii product I have at home "Śliwka Solidarność", but unfortunately UPCAPI has the wrong encoding set on the database and it's returned as "�liwki Solidarno��" where the diamond question marks indicate that original characters were lost somewhere earlier.

Any chance you can redo this to avoid the conflicts?

@CloCkWeRX thanks for merging other PRs. I have just rebased this one on top of current master so it should be merge-able without conflicts.


Add updaters for Amazon Linux 2018.03 and Amazon Linux 2

We get vulnerabilities from ALAS (Amazon Linux Security Advisories) data, which can be found in updateinfo.xml from the repos.

Here's ALAS data in a human-readable format: https://alas.aws.amazon.com/
We don't use https://alas.aws.amazon.com/ for the updater. Instead, we use updateinfo.xml from the repos, which has the same information (and more) in XML format.
Here's how to get the URL of updateinfo.xml.gz. We have to do this because the hash in the URL changes whenever there's a push.

Get the mirror.list URL, which is found in the repo definitions in /etc/yum.repos.d. (In the code, this URL is hardcoded.)

e.g. http://repo.us-west-2.amazonaws.com/2018.03/updates/x86_64/mirror.list

Get the first line of mirror.list; this is the base URL.

e.g. http://packages.us-west-2.amazonaws.com/2018.03/updates/9f831135fa79/x86_64

Append repodata/repomd.xml to the base URL. This XML file defines the metadata available in the repo.

e.g. http://packages.us-west-2.amazonaws.com/2018.03/updates/9f831135fa79/x86_64/repodata/repomd.xml

Find a data element with type="updateinfo" and follow the location relative to the base URL.

e.g. http://packages.us-west-2.amazonaws.com/2018.03/updates/9f831135fa79/x86_64/repodata/updateinfo.xml.gz

We do this process in the code.
Question: I'd like the mirror.list URLs to be user-configurable (e.g. http://repo.us-east-2.amazonaws.com/2018.03/updates/x86_64/mirror.list instead of http://repo.us-west-2.amazonaws.com/2018.03/updates/x86_64/mirror.list). What's a good way to do this?

Currently, the updaters are not configurable. We can make updaters configurable per updater base in the future, but it's not the current goal.

I see; it's no problem :)

How can we get traction on this pull request? @jzelinskie @KeyboardNerd

This looks really cool.
What the license is the vuln source is under?
We'd like to enable people to use Clair in both commercial or non-commercial settings.

Hi, I work on Amazon Linux.

What the license is the vuln source is under?

The vulnerability data (updateinfo.xml files in our repositories) are free to use.
If you need a more specific answer I'll need to do a query to our legal folks, but there is certainly no non-commercial restriction on the data.

Thanks, we'll review the code.

Thanks @jzelinskie, I made the recommended changes.

edit: actually one more thing, you need to add Amazon Linux in the documentation for supported platforms along with the licensed for the data being used.

Ok, will do. I will ask @iliana about the license again.

@ericysim - Hi Eric is this now ready to be merged.

Hi @subash-canapathy, I got the license info this morning. I'm going to add Amazon Linux to the docs and push a commit by the end of the day :)

Hi @jzelinskie, I made the recommended changes.


Button not displayed properly on Android

When placing an button inside a DataTemplate on Android it renders as follows (on iOS it works normal):

Problems:

Text is not centered horizontally
Padding is gone

I tried adding both properties manually, however without any luck.
Only additional styling that was applied was via the App.xaml:
<Style TargetType="Button">
    <Setter Property="BackgroundColor" Value="{StaticResource ColorGreen}" />
    <Setter Property="TextColor" Value="{StaticResource ColorWhite}" />
</Style>

I tested this on multiple Android devices.

Can you provide a demo?


support more languages

currently only keras is supported, other languages would be nice!

Pytorch has begun! #15


[#85886858] Fallback to empty hash for creation_options in the event of ...

...missing parent
I'm not certain about this fix, as it is a bit of a patch on bad data.
I'm going to be fixing the actual problem underlying out current issues,
which is the wrong purpose being assigned to MX library tubes from certain pipelines.
This fix does make things more pleasant for the users, but could result in more
serious underlying issues getting overlooked.

Had a bit of a chance to look at the various issues in the db at the moment, and it seems that we have a number of orphan mx library tubes which will benefit from these changes. While some are empty, some have been actively used in sequencing, as are probably worth preserving.


#1586: avoid dependencies duplicity

Summary
This change introduces a way to avoid dependencies duplicity in the requirements.txt and setup.py files. Now, you only need to add the dependencies to requirements.txt.
Details and comments
Link to the issue #1586

 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.

 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.

@ajavadia perfect! :)

Shall we close this PR for now? It isn't merging and the change to do is just too different. Feel free to reopen if you disagree.


Compatibility with latest WML SDK changes

Made changes to make notebook compatible with latest WML SDK and also removed the upgrade of ibm-cloud-sdk-core page.

@arsuryan - Can you please review?


Added Binary search code

Added code for Binary search in C++

Can you remove the .exe and .o files please? :)

Looks good. Thanks!


Read the docs always serves the latest Zenodo DOI

Instead of the one corresponding to the currently viewed version. Not a big issue, but might be worth looking into one day. It's due to the fact that docs after this injection https://github.com/poldracklab/fmriprep/blob/master/circle.yml#L38 are not pushed to RTD, but built by RTD independently.

Maybe we could hack conf.py to do the substitution?

related to #1229

Was looking at the Zenodo API, and there's a prereserve_doi option, which could allow us to prepare the docs prior to tagging.
It might make sense to create a Makefile where make release does:

Reserves a DOI
Adds the DOI to documentation, changelog and zenodo config
Tags a release
Creates the release text from the changelog (the hub release command would be useful here)


Typescript compilation

node_modules/full-name-generator/src/index.ts:12:69 - error TS2304: Cannot find name 'Gender'.
12 const checkDataAvailability = (data: any, isoCode: string, gender?: Gender) => {

I can't replicate this error? Please show your code.


Yggdrasil on the GPU

Hi and Happy New Year!
In one of our chats, it was mentioned that:
"Inference on GPU of decision forests is very fast (but it requires a GPU). In some old experiments I did, I observed a ~30x speed-up when comparing the CPU version (single-threaded) with a basic GPU implementation"
Given such an improvement on speed, I'd be interested in exploring a GPU implementation. Currently I use a GBT model with the quickscorer algorithm. How should I go about changing this into a GPU implementation? Here I'm just looking for general guidelines since I haven't seen any obvious ways of doing this in the documentation. Are there any flags that I can set (either when compiling the lib or during implementation) to facilitate GPU compilation? Does the quickscorer algorithm allow for GPU implementation? I've read that specific engines are tied up to specific hardware (e.g. GPU), but I'm not sure if this also applies to a GradientBoostedTreesLearner?
Thanks in advance for your help.

Hi,
happy new year to you as well!
Unfortunately, our experiments with Yggdrasil on GPU have not yet been productionized / made available to the public, so there is nothing to try out yet. We hope to find time and resources to add GPU-code to Yggdrasil at some point, but we do not have a timeline for this.

@rstz That's ok then - thanks for the quick reply!

A quick follow up, if you don't mind?
The ~30x speedup mentioned above is in comparison to single threaded CPU. Might that mean that we can expect ~2x speedup compared to a 16 core CPU (using multithreading)? Or ~5x speedup compared to a 6 core CPU?
Thanks.

hi @JoseAF do you have some code to share which you run on a gpu?


ockam secure-channel-listener list --node n1 is inconsistent

Observed behavior
ockam secure-channel-listener list uses  --node as an optional flag while all the other commands (create/delete/show) for ockam secure-channel-listener use --at.
Steps to reproduce
ockam secure-channel-listener list --node n1
Expected behavior
ockam secure-channel-listener list --at n1 should be used instead
Ockam Version
0.87.0

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels -  https://github.com/build-trust/ockam/labels/good first issue or https://github.com/build-trust/ockam/labels/help wanted

@etorreborre Can I take this?

@leafoliage of course, let us know if you have any questions as you explore.

Hi. Where can I find the built binary file? I thought it's supposed to be in /target/release, and I've tried cargo build, but I can't find the binary in /target/release. (I've also tried make build, but it failed in the typescript part)

It seems that there is no existing examples or tests for secure-channel-listener list?

We have the documentation example
We don't have tests for each command since they are too much of a moving target, we have only tests for use cases, but there is no usage of secure-channel-listener list there.