text:
LightGLue is slower than LoFTR

Hi,
I am doing keypoint matching with 1280x720 images, with a GTX 1080 Ti ( 11.2 GiB of memory ) and found that LightGlue is slower than LoFTR, while it's supposed to be ~x4 faster according to the paper.
LoFTR takes ~0.45s to match, while LightGLue took 0.05s (superpoint)+0.63s (lightglue). There was ~900-1000 keypoints.
What could be the reason ? Even if the hardware is old it should not change the fact that LoFTR should be slower ?
EDIT: I am using Pytorch 2.x

Hi, that should definitely not be the case. I suspect there is some overhead involved. Do you use compilation with LightGlue? If so, the compilation is done just-in-time, so when you call LightGlue the first time in your script it will take some time to compile, with the benefit of it being faster in the long run (assuming you run it over many pairs).

There is no way LightGlue is so slow, it usually takes like 0.02sec per 1024 points, unless you run on CPU (even though) or do the compilation.

I am running on the GPU. I used the base demo notebook and changed no code (except for for the input images).
I ran the model several times and the matching time has the same order of magnitude (~0.5 or 0.6s).
Maybe my GPU is too old ?

What is your GPU then? And how exactly do you measure time? Could you please put full code snippet here?

Hi, as I said earlier I have a  GTX 1080 Ti with 12 GB of VRAM.
I use the following code :
`from lightglue import LightGlue, SuperPoint, DISK, SIFT, ALIKED
from lightglue.utils import load_image, rbd
import time
import torch
device = 'cuda' if torch.cuda.is_available() else 'cpu'
SuperPoint+LightGlue
extractor = SuperPoint(max_num_keypoints=2048).eval().to(device)  # load the extractor
matcher = LightGlue(features='superpoint').eval().to(device) # load the matcher
# or DISK+LightGlue, ALIKED+LightGlue or SIFT+LightGlue
extractor = DISK(max_num_keypoints=2048).eval().cuda()  # load the extractor
matcher = LightGlue(features='disk').eval().cuda()  # load the matcher
load each image as a torch.Tensor on GPU with shape (3,H,W), normalized in [0,1]
image0 = load_image('./assets/sacre_coeur1.jpg').to(device)
image1 = load_image('./assets/sacre_coeur2.jpg').to(device)
WARMING GPU - 10 matching
for i in range(10) :
# extract local features
feats0 = extractor.extract(image0)  # auto-resize the image, disable with resize=None
feats1 = extractor.extract(image1)
# match the features
matches01 = matcher({'image0': feats0, 'image1': feats1})

feats0, feats1, matches01 = [rbd(x) for x in [feats0, feats1, matches01]]  # remove batch dimension
matches = matches01['matches']  # indices with shape (K,2)
points0 = feats0['keypoints'][matches[..., 0]]  # coordinates in image #0, shape (K,2)
points1 = feats1['keypoints'][matches[..., 1]]  # coordinates in image #1, shape (K,2)

Timing inference
start = torch.cuda.Event(enable_timing=True)
end = torch.cuda.Event(enable_timing=True)
start.record()
feats0 = extractor.extract(image0)  # auto-resize the image, disable with resize=None
feats1 = extractor.extract(image1)
matches01 = matcher({'image0': feats0, 'image1': feats1})
end.record()
Waits for everything to finish running
torch.cuda.synchronize()
print(start.elapsed_time(end), 'ms')`
I know I should run it several time to average-out the inference time but it always end up with ~450ms +- 50ms with the following images.

It seems you don't turn the gradients off.
How about following:
torch.cuda.synchronize()
with torch.inference_mode():
    feats0 = extractor.extract(image0)  # auto-resize the image, disable with resize=None
    feats1 = extractor.extract(image1)
    matches01 = matcher({'image0': feats0, 'image1': feats1})
torch.cuda.synchronize()

It is still roughly the same order of magnitude...

It seems you don't turn the gradients off. How about following:
torch.cuda.synchronize()
with torch.inference_mode():
    feats0 = extractor.extract(image0)  # auto-resize the image, disable with resize=None
    feats1 = extractor.extract(image1)
    matches01 = matcher({'image0': feats0, 'image1': feats1})
torch.cuda.synchronize()

I added your advice :
start.record()
torch.cuda.synchronize()
with torch.inference_mode():
feats0 = extractor.extract(image0)  # auto-resize the image, disable with resize=None
feats1 = extractor.extract(image1)
matches01 = matcher({'image0': feats0, 'image1': feats1})
Waits for everything to finish running
torch.cuda.synchronize()
end.record()
But I still have the same order of magnitude of inference.
Note that I have also tried on a T4 GPU from Google COlab with the same snippet, and it only took ~110ms this time, but still far from the expected latency...

Tried your code on 1080Ti without FlashAttention, it only takes 96.ms
/home/***/code/LightGlue/lightglue/lightglue.py:141: UserWarning: FlashAttention is not available. For optimal speed, consider installing torch >= 2.0 or flash-attn.
self.inner_attn = Attention(flash)
96.60598754882812 ms
Besides, I think you should exclude the timing of feature extraction when measuring LightGlue, since SuperPoint may be slower than expected.
After excluding feature extraction time, LG takes only 46.83689498901367 ms on 1080Ti.

feats0 = extractor.extract(image0)  # auto-resize the image, disable with resize=None
feats1 = extractor.extract(image1)
torch.cuda.synchronize()
start.record()
with torch.inference_mode():
       matches01 = matcher({'image0': feats0, 'image1': feats1})

# Waits for everything to finish running
torch.cuda.synchronize()

end.record()

Using pytorch 2.0 slightly speed up inference on 1080Ti.

Header
Header

With Extraction
Without Extraction

96.6
46.8

81.8
41.9

Well then I do not know where the overhead is coming from...

@tcourat are you sure that your machine doesn't do any background process at the time of bechmarking?

Hy, do you have any updates on this? I'm facing the same issue on RTX 3070 also

repo: cvg/LightGlue


text:
Asterisk prefixed CSS property name

A hack for IE. link
.yui-button .first-child
{
    display:block;
    *display:inline-block;
}

Done

source: gharchive/issue

license: mit

license_type: permissive

license_source: bigquery


text:
Support new team names

Fixes #462

@cwendt94 any change we could get this reviewed/merged before the start of the NFL season?

Yeah, I will have this in and publish changes today! Thanks for fixing this @dtcarls

@dtcarls @mkirby528 This fix should now be in version 0.31.0 pip install espn-api==0.31.0

Wonderful! Thank you both so much!

source: gharchive/pull-request

license: MIT

license_source: github-api


text:
Replace Ruby CLI in suite.yml

Desired Outcome
Replace the deprecated Ruby CLI with Go CLI
This depends on the first Go CLI release going out - until then the changelog parser will fail with a 404. For now we assume it will start at v8.0.0, the next major version after where the Python CLI left off.
Implemented Changes

Updated suite.yml
Updated artifacts

Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog

[x] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code
changes, or
[x] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: [insert issue ID]
[x] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[x] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[x] There are no security aspects to these changes

LGTM! Do we need to wait to merge this until the CLI is released?

I believe so. Otherwise having it in the suite.yml will cause a 404 error in the parse-changelog script for whoever does the next release, plus I believe there's a GH workflow which also uses that script to generate the release notes

repo: cyberark/conjur-oss-suite-release


text:
private network by pnet

https://github.com/libp2p/js-libp2p-examples/tree/main/examples/js-libp2p-example-pnet

https://github.com/cyberfly-io/cyberfly-node/commit/e47a536369a98f4cc46a1f2f2be3579f14bc54f8

repo: cyberfly-io/cyberfly-node


text:
add new python lib escapism to dockerfile

the usermapping for iguide deploy requires pip3 install escapism

Was resolved in https://github.com/cybergis/cybergis-compute-core/pull/52

authors: mitkotak zhiyuli

repo: cybergis/cybergis-compute-core


text:
Error SyntaxError

Hi.
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("File Created ..")?

┌──(kali㉿kali)-[~/Documents/vulnerabilities/CVE-2017-12617] └─$ python tomcat-cve-2017-12617.py -u http://<IP>   File "/home/kali/Documents/vulnerabilities/CVE-2017-12617/tomcat-cve-2017-12617.py", line 74     print "File Created .."     ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

authors: lolminerxmrig senseijohn


text:
chore: upgrade StyleLint version to 15

Upgrade StyleLint version from 14 to 15.
Ref: Migrating to 15.0.0 | Stylelint

@oguemon
Thank you!
Could you update the Node.js version on GitHub Actions? Let's remove 12.x and add 18.x instead.
https://github.com/cybozu/stylelint-config/blob/main/.github/workflows/test.yml#L17

@oguemon Could you fix the failing test?

@koba04
I fixed the failing test on Node.js 14! (Add Package https://github.com/cybozu/stylelint-config/pull/27/commits/10bc6c2f6bd49473bb6471030f046c1b9eb3ff04)
And I updated actions/setup-node@v2 -> @v3 (https://github.com/cybozu/stylelint-config/pull/27/commits/a90efef8b8054c53227b16275b025246968d8a07)
Prease check these changes!

repo: cybozu/stylelint-config


text:
"generate" no longer saves an input file

the dialog box to save one pops up but no file is written
any ideas @yarden-livnat or @FlanFlanagan?

stderr reports:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at edu.utexas.cycic.OutPut.archetypeSetup(Unknown Source)
	at edu.utexas.cycic.OutPut.output(Unknown Source)
	at edu.utexas.cycic.Cycic$32.handle(Unknown Source)
	at edu.utexas.cycic.Cycic$32.handle(Unknown Source)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Node.fireEvent(Node.java:8390)
	at javafx.scene.control.Button.fire(Button.java:185)
	at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
	at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
	at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
	at javafx.event.Event.fireEvent(Event.java:198)
	at javafx.scene.Scene$MouseHandler.process(Scene.java:3758)
	at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3486)
	at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2495)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:350)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$350(GlassViewEventHandler.java:385)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler$$Lambda$307/1593095825.get(Unknown Source)
	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:404)
	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:384)
	at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
	at com.sun.glass.ui.View.notifyMouse(View.java:927)
	at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139)
	at com.sun.glass.ui.gtk.GtkApplication$$Lambda$41/1364335809.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)

also an error with the amalgamation of my PR branches


text:
Autoscrolls to the right when output should wrap/hide based on width of pane

It seems that because the auto increment logic that I put in the append_data() method that it is auto scrolling horizontally when the Guard output is wider than the available panel width. Once it is done with the long line it jumps back to the far left with the next line. This is just a little annoying and it would feel more polished if this was fixed.

I talked with two of my co-workers today that are using and testing this plugin for me and they suggested that I simply implement hard wrapping either on the output panes width in characters or simply to a hard coded value of 80 characters as that is relatively standard.

The RubyTest plugin had some additional logic around their auto scroll implementation. It may be a useful to investigate it further.

Hmm, I added code to do a fixed 80 with character hard character wrap and that looks screwed up. We only really want to wrap the . characters that are output by rspec when running tests I think. Either that or we need to do some more intelligent work wrapping rather than character wrapping.

I have put a lot of thought into this tonight and played around with both word wrap and character wrap. The conclusion that I have come to specifically in the case of RSpec output is that I don't want word wrap for any of the words. I do want fixed width character wrapping for the test status dots which are either . or an F that way you can positionally identify tests.
I also want to adjust the autoscroll to only scroll down the left side even if text goes to the right. I think having things this way will be the best of both worlds.

I have the vertical only auto scrolling working. I am started thinking about the character wrapping just for the dots and I am not sure there is a decent way to implement it. Therefore, I am pushing that feature back to someday as it isn't that important.


text:
chore: add Node.js 16.17.0 and 18.6.0

Got some problems with Node.js specific versions like 16.17 and 18.6, eg
https://github.com/cypress-io/cypress/issues/22795
Need the correct docker images to be able to add regressions tests.

 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.

@admah thanks - I will start with 16.17 https://github.com/cypress-io/cypress-docker-images/pull/737 :pray:

repo: cypress-io/cypress-docker-images


text:
Updated requirements.txt and changed all as_matrix() to to_numpy()

Hi everyone,
To clarify my proposal regarding updated installation instructions for this repo (instapaper): I think it would help users if I indicate in the README for this repo that they should run pip install -r requirements.txt (that is, the file in this repo) and that they should follow the installation instructions in the README for the instapipeline repo. This repo (the instapaper repo) does not have its own setup.py file, so these instructions would help users avoid conclusion.
Do you think this would work?
Thank you!
Jenny

Hey @JennyVoPhamhi ! Thank you for this. I think this is really close. I think your suggestion to add instructions on how to set up the environment is a really good one. The current requirements.txt file is really strict (i.e., specific versions are specified for each dependency), which is good for reproducibility, but will make it difficult for people to install into their own environments without conflicts. Therefore, I suggest the follow:

Determine which are the main dependencies. That is, the dependencies a user would actually install (e.g, numpy, scipy) as opposed to the ones that are "subdependencies" (e.g., urllib3).
Add a note to the readme listing the main dependencies. Also give a one line codeblock to install then (e.g., pip install numpy scipy <rest of dependenies>)
Add a note that a requirements.txt file is included with the exact versions the paper figures were generated with for reproducibility. Include the line you suggested (pip install -r requirements.txt) to install the dependencies.

How does this sound?

Hi @kevinyamauchi !
This sounds great to me. Thank you for the detailed guidance! I will do these things and then ask for your feedback.
Thank you!
Jenny

Hi Kevin,
I have updated the README with the installation instructions as you described. Do you think I hit all the main dependencies?
Detailed requirements.txt: https://github.com/czbiohub/instapaper/blob/dependencies/requirements.txt
What I think are the main dependencies: ipython matplotlib numpy pandas scikit-image scikit-learn scipy starfish
Also, dependabot is asking us to bump urllib3 again to 1.26.4 in requirements.txt. Very recently, on March 26, it wanted us to bump to 1.26.3 (which we did). Should we go ahead and just bump urllib3 every time it asks us to bump it?
Thank you!
Jenny

What I think are the main dependencies: ipython matplotlib numpy pandas scikit-image scikit-learn scipy starfish

I think this looks good! can you please confirm by making a fresh environment with the "main dependencies" works?

Also, dependabot is asking us to bump urllib3 again to 1.26.4 in requirements.txt. Very recently, on March 26, it wanted us to bump to 1.26.3 (which we did). Should we go ahead and just bump urllib3 every time it asks us to bump it?

I would bump it this time in the requirements.txt. In the future, I think we can ignore it because that file is just so people can re-run the notebooks (i.e., the versions should be frozen for reproducibility). Maybe we can rename it to something else, so it doesn't get parsed by the dependabot. Maybe something like reproduce_paper_environment.txt?

Hi Kevin,
Just a quick update:
I renamed requirements.txt to reproduce_paper_environment.txt so it doesn't get parsed by the dependabot. The second part of the most recent commit message is now inaccurate. I will do that after I figure out this issue:
When I created a fresh environment with instapipeline and the main dependencies to confirm that the figure notebooks in instapaper run, I realized I actually have an issue. When I try to do pip3 install . in the instapipeline directory to install instapipeline in this fresh new environment, I get the following message about pandas:
ERROR: Could not find a version that satisfies the requirement pandas==1.0.1 (from instapipeline)
ERROR: No matching distribution found for pandas==1.0.1

However, pandas seems to be working fine. I'm going to see if I can figure out how not to get that pandas installation error message to go away. It might have to do with python versions or it might be an issue with my anaconda installation. I think I have encountered this problem in the past, so I will go through my notes.
Just wanted to update you!
Thank you,
Jenny

authors: JennyVoPhamhi kevinyamauchi ovynnej

repo: czbiohub/instapaper


text:
Specify minimum zarr-python version

Fix #78.

Thanks @ziw-liu.

authors: talonchandler ziw-liu

repo: czbiohub/iohub


text:
Vue 2 to Vue 3 migration

Describe the feature you'd like and what it will do
A clear and concise description of what you want to happen.
The DSP should be updated to use Vue 3 instead of Vue 2.
Why is this feature important?
A short description of the importance of this feature and what it will help you achieve.
Important for sustainability and forward compatibility. Vue 2 is bing deprecated.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...].
NA
Additional context
Add any other context or screenshots about the feature request here.
NA

The update to Vue 3 is almost complete, but we are waiting on a few bug fixes in one of our main dependencies.
https://github.com/vuetifyjs/vuetify/issues/19441
https://github.com/vuetifyjs/vuetify/issues/19533
https://github.com/vuetifyjs/vuetify/issues/19391

authors: Maurier horsburgh

repo: cznethub/dsp


text:
d3.append returns undefined when appending result from xml()

When d3.xml() is used to download an asset, selection.append(asset.documentElement) returns undefined rather than "a new selection containing the appended elements" (as described in the documentation.
var filename = "assets/game-interface.svg";

var assetLoadedPromise =
    d3.xml(filename);

assetLoadedPromise.then( asset => {
    // Insert asset
    var body = d3.select("body").node();

    var insertedAsset = body.append(asset.documentElement);

    // Check we have a reference to the inserted element
    if (insertedAsset === undefined) {
        throw "insertedAsset is undefined";
    }
});

You’re not calling selection.append in the provided code snippet. The body var is the return value from selection.node, so it would be the same as document.body, meaning you are calling append on an HTMLBodyElement.

Here is a working example:
https://observablehq.com/d/471ddc749870ec93
And here is the documentation for element.append, which returns undefined:
https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/append

Thank you for such a complete response.  It's greatly appreciated at this end.
Matthew

authors: mattgwwalker mbostock

license: ISC


text:
🛑 Dermazone is down

In bd38498, Dermazone (https://dermazone.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dermazone is back up in 6921bb0 after 11 minutes.


text:
GlideModule Deprecation

GlideModule, implemented here, appears to be slated for deprecation in Glide v4
Documentation of Glide v4’s new configuration method is here

Hi, found repo this on /r/Android. I can submit a PR for this soon.

Thank you!

authors: bobheadxi krissrex


text:
Cirqus with asp.net

Great framework, but I’m having difficulty integrating it into a asp.net application -  no issues on the command side, but either the event dispatcher is not dispatching events or view managers are not handling the events
Is Cirqus compatible with asp.net? I noticed that the view manager event dispatcher gets its own dedicated background thread - how to set this up in asp.net within each request? Has someone got a demo on how to set this up in asp.net?

oops I blindly copied : waitHandle.WaitForAll(...).Wait(); from the console demo into my asp.net application which caused the deadlock.
Should have used async -> await waitHandle.WaitForAll(...);


text:
How to train the Model on new dataset changing the vocabulary size

Hi,
I am training the Model on my own dataset which contains both uppercase and lowercase letter although it doesn't contains any wildcards so the new vocabulary is 26+26+10+3=65. The problem is the code only outputs Generating first batch instead of logging the loss and perplexity.
Any help would be appreciated.
thanks.

Hi,
If the system is only printing "Generating first batch", it means that the batch generation failed which resulted in skipping of the epoch. So "Generating first batch" would have been printed the number of epoch times.
Coming onto the issue, the reason might be different image size that you are providing to the system. Please check the argument 'img_width_range' and adjust it accordingly to your dataset in the script data_gen.py. Since you are training on a different set of vocabulary, also adjust the read_data function within data_gen.py. As soon as you will adjust the image sizes, the system will be able to load the batch and you will see the progress bar as expected.
Hope this helps.

Thanks for the reply,
actually the previous error has been resolved. Now the Error is in Dealing with Upper Case Letters. If you look at the following line of Code
word = [self.GO]
for c in lex:
assert 96 < ord(c) < 123 or 47 < ord(c) < 58
word.append(
ord(c) - 97 + 13 if ord(c) > 96 else ord(c) - 48 + 3)
from line 120-124 in data_gen.py its handling the Ascii Characters Especially lowercase and digits, i have changed the code to the Following and still i dint get satisfactory result after running the Code for three days. Its Still running
for c in lex:
if 96<ord(c)<123:
word.append(ord(c)-97+13)
if 47>ord(c)<58:
word.append(ord(c)-48 +3)
if 64>ord(c)<91:
word.append(ord(c)-25)

Actually i am trying to make the code working for both Upper and lowercase

The issue is in the above Code actually it should be written in this manner
for c in lex:
if 96< ord(c) <123:
word.append(ord(c)-97+13)
if 47< ord(c) <58:
word.append(ord(c)-48 +3)
if 64< ord(c) <91:
word.append(ord(c)-26)
Now the Ascii of the Characters and digits will occur in the range of 3 and 64

Still not Getting Satisfactory Result. How can i train the Model to predict both Uppercase and Lowercase characters.
Any Help would be appreciated.

@HidayatRahman how did you fix the image size issue? any progress regarding upper case training?
Thanks in advance

There was no issued in the Image size actually the issue was in my Conversion for uppercase letter. Anyhow i managed it and the code works for both upper and lower case, you have to add the  code in data_gen.py where the ascii conversion actually occurs.
for c in lex:
if 96< ord(c) <123:
word.append(ord(c)-97+13)
if 47< ord(c) <58:
word.append(ord(c)-48 +3)
if 64< ord(c) <91:
word.append(ord(c)-26)
And also you have to also do the decoding in model.py function manually.
hope it helps,

Hi @HidayatRahman ,
Could you please explain how to edit the model.py?  I tried to do it using your hints but it doesn't work. Maybe if you share how exactly you modified the model.py, I should understand where I have the mistakes.
Thank you!
Best regards.

Sorry Man i just lost My Virtual Machine in which i was running the Code. but you have to do the reverse step in Model.py in order to decode it Properly. line number 427 and 428 does the same
fword.write(' '.join([chr(c-13+97) if c-13+97>96 else chr(c-3+48) for c in ground_valid])+'\n')
fword.write(' '.join([chr(c-13+97) if c-13+97>96 else chr(c-3+48) for c in output_valid]))
Here you have to just add another condition  64<ascii<91. I guess its pretty simple now. Let me know if its still not working.
best wishes,

Hi @HidayatRahman ,
Yes, I tried to do just that but I don't quite understand those 1 liner.

hi @HidayatRahman  What is the vocabulary size used for training?

hi @shoaibahmed
Could you help me understand your comment? I am facing the same problem. The system is only printing "Generating first batch" and the bar is stuck at 0%. I am training on MJsynth dataset (Synthetic word dataset covering 9 million images and 90K words). What parameters do i have to change?

authors: Amschel Hidayat786 HidayatRahman kulkarnivishal pasha76 sabarinathandevanathan shoaibahmed


text:
Are you trying to mount a directory onto a file (or vice-versa)?

Got an error while executing command:
docker run -p 6969:8080 -v $(pwd)/externall-file-on-host.csv:/app/computer.csv dabondi/go-rest-wol
Error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/etc/docker/wol/go-rest-wol/externall-file-on-host.csv\" to rootfs \"/var/lib/docker/overlay2/362ba73c41a6dbeec788a61feaf4eea29a9f34391d21808d3d0415bd6f88d1b2/merged\" at \"/var/lib/docker/overlay2/362ba73c41a6dbeec788a61feaf4eea29a9f34391d21808d3d0415bd6f88d1b2/merged/app/computer.csv\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

Sorry for my late Answer and my inaccurate Issue.
I was just installing and running everything and this issue happened.
Do you know what i can do about that?
I tried to change the path but it didn't work for me.
Kind Regards,
Roman Lysser

Von: David Baumann notifications@github.com
Gesendet: Samstag, 28. März 2020 22:16
An: daBONDi/go-rest-wol go-rest-wol@noreply.github.com
Cc: Roman Lysser Roman.Lysser@bbzsogr.ch; Author author@noreply.github.com
Betreff: Re: [daBONDi/go-rest-wol] Are you trying to mount a directory onto a file (or vice-versa)? (#10)
Can you describe the problem what you mean a little bit better?
The Message you describe is from Docker itself, you need to mount the File to an existing file from Docker Commandline or whatever you use to spin the Container
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/daBONDi/go-rest-wol/issues/10#issuecomment-605520570, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJSIRIRTUF2FQJTITMXSV3LRJZSJTANCNFSM4LLKM6JA.

repo: daBONDi/go-rest-wol


text:
Commuter Patterns: Show secondary stats for commute on hover

In commuter patterns, now that you can click-to-lock onto a particular region, it seems a little strange that nothing changed when you hovered over other blocks. Now, after clicking a block, we show the count of trips to/from the hovered region (based on current filters).
Overview showing first the existing hover behavior without locking, then after locking, the new "hover" behavior:

Currently, I'm showing the label for zero counts too - it seems helpful. WDYT?

The number is hard to read over blocks with no traffic. I could add some kind of mask to the entire block under hover, but I thought it was useful to keep the original heatmap tone visible.
A couple options:

We could just not show the label at all for blocks with a zero count, but I personally think it's helpful information.
I could add some high contrast badge behind the label.
We could use something other than yellow for 0 counts in the heatmap.

Also, for the purposes of review, I responded with new commits, but I didn't write the greatest commit messages, in hopes that if you merge, you'd squash them all into the first.

Reading the diff got confusing, so I just went through the code as if I'm coming across it for the first time. Totally clear to follow it. I think this is ready to merge! Thanks for doing the big refactor on top of the new feature

authors: dabreegster michaelkirk

repo: dabreegster/abstreet


text:
🛑 Ireport is down

In 149d2b4, Ireport (https://irepartners.com/ireport/) was down:

HTTP code: 202
Response time: 881 ms

Resolved: Ireport is back up in 019db38 after 12 minutes.

repo: dadapunk/upptime


text:
Test Python 3.11

Fixes #3729
Signed-off-by: Helder Correia

Yes, we must test every Python version that we support. More will be added with:

#3700

From 3.10 to 3.11 these are considered major version bumps. There's sensibly a 1 yr cadence between these. The difference between 2.x and 3.x is in a class of its own. Probably will take a very long time for a 4.x to come.

repo: dagger/dagger


text:
[Update] Update to fit to Botright v0.3

Botright v0.3 released today, you can update the playwright_mock.
Especially the Mouse Movement is noticeably improved.

Thank you so much! I'll add it to my roadmap. I'm currently sick, but I'll get started on this asap ❤

Added in v0.8.0-beta. Should be rolled out with the next release. 👍

authors: Vinyzu daijro

repo: daijro/hrequests


text:
ACE fails to open an epub file (filename escaped char, percent encoding)

I have a file that appears to be a valid epub. Epubcheck reports No Problems and I can unpack and re-pack the file with eCanCrusher.
But when I try to run it through ACE, the wheel spins for less than a second and stops showing the attached screen capture

The error message is:
ENOENT: no such file or directory, open 'C:\Users\jhswi\AppData\Local\Temp\tmp-3088-08YPku72vtwS\Karma et chaos_unzipped_EPUB_\OEBPS\Karma%26chaos-Fr-ebook-v1.xhtml'
Is this a bug in ACE, or some kind of error in the file.
I have also attached the zipped epub file.
Thanks
Jim Swift
Karma et chaos.zip

Thank you for reporting this. I see that some files inside the EPUB zip container have an ampersand character in their filenames, encoded (escaped) as %26 inside XML attributes of the OPF package. This should indeed work, we need to fix how Ace handles escape sequences in filenames.

Thanks, Daniel.
Will the 1.3.2 executable for the GUI also be updated?
Jim
On Sunday, December 1st, 2024 at 3:32 PM, Daniel Weck @.***> wrote:

The original fix daisy/ace#290 was incorrect (handling of percent encoding/decoding in URLs / relative paths)
The updated fix is being pushed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Yes, the imminent release of both Ace command line (aka CLI) and Ace App (aka GUI) will be version 1.3.3
There are a couple of blocking issues with the DAiSY Knowledge Base and its translations, but this should take long to sort out.

Thanks, Daniel
Jim
On Sunday, December 1st, 2024 at 4:25 PM, Daniel Weck @.***> wrote:

Yes, the imminent release of both Ace command line (aka CLI) and Ace App (aka GUI) will be version 1.3.3
There are a couple of blocking issues with the DAiSY Knowledge Base and its translations, but this should take long to sort out.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

You can already try the automated builds at https://github.com/daisy/ace-gui/releases
(the installers are not code-signed, so the MacOS and Windows operating systems will give a warning message)

Many thanks, Daniel.
I tested 1.3.3 with the files that had the two problems I reported.
No problems now.
Jim
On Sunday, December 1st, 2024 at 6:23 PM, Daniel Weck @.***> wrote:

You can already try the automated builds at https://github.com/daisy/ace-gui/releases
(the installers are not code-signed, so the MacOS and Windows operating systems will give a warning message)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thank you for getting back to me. I assume you tested on Windows?

Yes, Daniel, on Windows 11.
Jim
On Sunday, December 1st, 2024 at 6:39 PM, Daniel Weck @.***> wrote:

Thank you for getting back to me. I assume you tested on Windows?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

authors: danielweck jhswift

repo: daisy/ace-gui


text:
Broken install

To reproduce:

From a blank repo/machine, add jshint to the Gemfile.
bundle exec jshint

Error message:
/Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/configuration.rb:86:in `initialize': No such file or directory - /Users/carl/Google Drive/Documents/W2015/ECSE 428/mcbuddy/config/jshint.yml (Errno::ENOENT)
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/configuration.rb:86:in `open'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/configuration.rb:86:in `read_config_file'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/configuration.rb:90:in `parse_yaml_config'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/configuration.rb:15:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/lint.rb:20:in `new'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/lint.rb:20:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/cli.rb:4:in `new'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/lib/jshint/cli.rb:4:in `run'
from /Library/Ruby/Gems/2.0.0/gems/jshint-1.3.1/bin/jshint:12:in `<top (required)>'
from /usr/bin/jshint:23:in `load'
from /usr/bin/jshint:23:in `<main>'

Based on your error message, it appears that your missing the jshint.yml configuration file that's documented as part of the installation process.
You can run the following generator to give you this configuration file in your codebase:
bundle exec rake jshint:install_config

I did try that, but this is what happens:
wpa151018:mcbuddy carl$ bundle exec rake jshint:install_config
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace)
wpa151018:mcbuddy carl$ bundle exec rake jshint:install_config --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:684:in `raw_load_rakefile'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/bin/rake:23:in `load'
/usr/bin/rake:23:in `<main>'

Hi @lilred,
It sounds like your missing a Rakefile from the root of your Rails project, it should contain the following:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks

Thanks for the update. I guess the issue is that the Rakefile doesn't get created+updated if it doesn't already exist.

That's correct. When you scaffold a new Rails project it generates a Rakefile for you, along with a bunch of other files / directories e.g.
Gemfile      README.rdoc  app          config       db           log          test         vendor
Gemfile.lock Rakefile     bin          config.ru    lib          public       tmp

So what if I want to use this in a non-Rails project :o

At present I'd hazard a guess that this gem isn't compatible with a non-Rails project. But I don't think it'd take too much work / refactoring to loosen this coupling so that it could be less Rails agnostic.
I've made a separate issue to loosen this dependency based on your feedback, as this is something that I'd like to see. If your able to chime in on that, with some requirements / thoughts that'd be great.

I added the Rakefile you provided and it worked fine for a non-Rails project.

Hehe happy days! :+1:

authors: damian lilred

repo: damian/jshint


text:
Have you ever tried using a model with better quality model  animatediff sdxl for training?

Hi, thank you for your outstanding work.
I noticed that you are training based on animatediff v2. Have you tried using a model with better quality model animatediff sdxl for training? Will replacing with animatediff sdxl improve the generation quality?
Thank you!

No more animate-diff, CogVideoX or Mochi will be your next choice

repo: damo-cv/RealisDance


text:
Support for relationships

Right now Gorethink supports nested structs and stores them as document/sub-document. In some complex cases though it is better to use plain old relationships using ID's (one-to-many). RethinkDB does support JOIN queries but it is impossible with Gorethink to map nested structs with document references.
I prepared an example. Run it and check the result on the RethinkDB Administration Console's Data Explorer:
r.db("test").table("writers")
{
	"id":  "c2182a10-6b9d-4ea1-a70c-d6649bb5f8d7" ,
	"name":  "JRR Tolkien"
}

r.db("test").table("books")
{
	"author": {
		"name":  "JRR Tolkien"
	} ,
	"id":  "eeb006d6-7fec-46c8-9d29-45b83f07ca14",
	"title":  "The Hobbit"
}
{
	"author": {
		"name":  "JRR Tolkien"
	} ,
	"id":  "ca882bde-b4c7-42d2-b0c3-11e07ccd15e3",
	"title":  "The Lord of the Rings"
}

This is weird: Gorethink copied the "author" data as a sub-document in the "book" documents. Later on, if I want to change the name of the author (from "JRR Tolkien" to "J.R.R. Tolkien") I have to retrive the author, modify the object, retrive all the books and reassign the "author" reference with the modified object.
The relational approach can be obtained implementing Marshaler/Unmarshaler interfaces in the objects that needs to store ID references instead of the copy of the referenced object's data. My proposal is to enhance Gorethink adding a keyword in the annotations of the struct's field like this:
type Writer struct {
	ID		string	`gorethink:"id,omitempty"`
	Name	string	`gorethink:"name"`
}

type Book struct {
	ID		string	`gorethink:"id,omitempty"`
	Title	string	`gorethink:"title"`
	Author	*Writer	`gorethink:"author_id,reference"` // <-----
}

In case the default marshaller finds this kind of annotation then it can use the writer's ID instead of copying the writer's data in the books' documents. The result should be something like this:
r.db("test").table("books")
{
	"author_id": "c2182a10-6b9d-4ea1-a70c-d6649bb5f8d7",
	"id":  "eeb006d6-7fec-46c8-9d29-45b83f07ca14",
	"title":  "The Hobbit"
}
{
	"author_id": "c2182a10-6b9d-4ea1-a70c-d6649bb5f8d7",
	"id":  "ca882bde-b4c7-42d2-b0c3-11e07ccd15e3",
	"title":  "The Lord of the Rings"
}

Also, when retrieving the documents from the database, Gorethink already knows that the "Author" field is a reference (because we tagged the field) and it can either perform a merge query to immediately get also the referenced document or get it later in a "lazy" fashion.

Hey, thanks for the suggestion. I will look into it adding this feature today (not sure how far I will get though).

I have pushed some code to the develop branch which should hopefully do what you want however I decided to not change the retrieval of the referenced document since I dont really want to start changing user queries.
https://github.com/dancannon/gorethink/tree/develop#references

I'll dig into this ASAP and I'll let you know. You've been astonishingly fast! O.O

Nice! It seems to work just fine. The encoder part seems to be ok but what about the decoder? If it finds the "reference" tag, does it just ignore it?

Currently I have left it up to the user to create the selection query. Assuming the query is correct (I have added an example of such a query to the README) the library should decode the results without any further changes.

This has now been released as part of 1.4.0

authors: axelgenus dancannon

repo: dancannon/gorethink


text:
Handle pointclouds with multiple scans

I don't know what will happen if we try to read a pointcloud containing multiple scans

This commit shows how to do this : https://github.com/cry-inc/e57/commit/1656b609a29ef3bb8f8d2451bacbcc795a22ab3a

This now works with the latest update - opening a 27M point pointcloud containing 6 scans gives 27M points


text:
Error generating DOI

I am trying to generate the DOI for a dandiset with this metadata:
{
  "id": "DANDI:000001/draft",
  "url": "https://dandiarchive.org/000001/draft",
  "name": "1",
  "about": [],
  "access": [],
  "license": [
    "spdx:CC0-1.0"
  ],
  "version": "draft",
  "@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.4.1/context.json",
  "citation": "d (2021) 1. Online: https://dandiarchive.org/000001/draft",
  "keywords": [],
  "protocol": [],
  "schemaKey": "Dandiset",
  "identifier": "DANDI:000001",
  "repository": "https://dandiarchive.org/",
  "contributor": [
    {
      "name": "d",
      "roleName": [],
      "schemaKey": "Organization",
      "contactPoint": [],
      "includeInCitation": false
    },
    {
      "name": "d",
      "roleName": [
        "dcite:ContactPerson"
      ],
      "schemaKey": "Person",
      "affiliation": [],
      "includeInCitation": true
    }
  ],
  "description": "1",
  "studyTarget": [],
  "assetsSummary": {
    "numberOfBytes": 5670812,
    "numberOfFiles": 1
  },
  "schemaVersion": "0.4.1",
  "ethicsApproval": [],
  "wasGeneratedBy": [],
  "relatedResource": [],
  "manifestLocation": []
}

I am getting a KeyError: contributorType from https://github.com/dandi/dandischema/blob/master/dandischema/datacite.py#L159.
I think that prepending dcite: to all of the elements in DATACITE_CONTRTYPE might resolve the issue?

the prefix dcite has to dropped. let me fix that in the current PR.

I think the actual issue is that the first contributor in the list had no roles (roleName: []). [] evaluates to False, so contributorType is not set, so it is not there to be pop'd.

authors: dchiquito satra

repo: dandi/dandischema


text:
Update bower.json

Fix #341 issue

That's OK now,
thanks for this fix.

authors: RCooLeR hmillet


text:
一个应用消费两个服务提供方 kryo SerializationOptimizer问题

provider1  的api jar包有个SerializationOptimizer 加了2个类 序号是 54和55
provider2  的api jar包有个SerializationOptimizer 加了个类 序号是 54
consumer 依赖这两个api jar  consumer合并两个provider的 SerializationOptimizer 造成 调用 provider2时候传入的classId=58(56+2) provider2找不到该class
我理解的consumer应该有配置区分的 但是没找到怎么设置

可是参考这种方式，我们现在就是这么解决的：https://github.com/ledotcom/le-dubbo/commit/ead44a8c91608bce457f97fa9660a54fcba7a49c

好的 我看看 谢谢

@dimmacro 加一个泛型，但是泛型里的类并未序列化，就和没序列化一样了，有没有更好的方法

@TingSky 加泛型是绕开kryo对class反序列化时的index问题，将真实的出参入参对象包裹在泛型里，这些对象肯定是可以序列化的，只要消费方和服务方的参数类型一致，这样包裹一下没有问题，我们这边线上的服务都是这样用的，经实测比hessian2的性能要好。不知道你那边是什么场景？

@dimmacro 泛型里的类你会放到SerializationOptimizer里面吗？如果没在里面貌似会用jdk的序列化吧

@TingSky 泛型里的类不会放到SerializationOptimizer里，里面应该走的还是kryo的序列化方式，因为从性能压测来看，这种使用方式比hessian2的性能是要好的，如果是jdk序列化方式，性能肯定不如hessian2。

authors: TingSky dimmacro zhaiyuyong

repo: dangdangdotcom/dubbox


text:
🛑 Danielbhost is down

In 3db87f3, Danielbhost (https://danielbhost.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Danielbhost is back up in bcc9151.

repo: danielbParadocs/rangeEventsStatus


text:
[feature request]  add a new column to show English speaking companies

add a new column to show English speaking companies, where German is not required.

probably the portion of those will be quite low

authors: CodingSpiderFox sadaqat-official

repo: danielbayerlein/remote-jobs-germany


text:
🛑 DevOps App Roadmap Prod is down

In fa82b14, DevOps App Roadmap Prod (https://roadmap-app.onrender.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DevOps App Roadmap Prod is back up in 568e896 after 16 minutes.

repo: danielitogomez/upptime


text:
Antiobs

Can you add some antiobs button like its in aimware or something like that? This is best cheat I  ever used but I want to record it :(

And also can you make something like sniper crosshair? (Crosshair on AWP, SSG-08, AUTOSNIPER)
Thanks

Antiobs would be pretty good

Antiobs would be pretty good

I think yes

@adriangames147 i think this better https://www.unknowncheats.me/forum/counterstrike-global-offensive/276438-stream-proof-visuals-method.html

@adriangames147 i think this better https://www.unknowncheats.me/forum/counterstrike-global-offensive/276438-stream-proof-visuals-method.html

But where should I put that code?

Stream Proof ESP has been added.

authors: JayneFrack NexSqaud adriangames147 danielkrupinski

repo: danielkrupinski/Osiris


text:
Saving a central server leads to a crash

Pressing the save button in the edit server menu leads to a crash that is attached below.
Whoopsies! An unhandled exception has occurred.

== Geode Information ==
Loader Version: v2.0.0-beta.19
Loader Commit: b78c6b1
Bindings Commit: b904f47
Installed mods: 21
Problems: 0

== Exception Information ==
Faulty Module: C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll
Faulty Mod: <Unknown>
Exception Code: c0000005 (EXCEPTION_ACCESS_VIOLATION)
Exception Flags: 0
Exception Address: 5542A370 (libcocos2d.dll + 6a370 (cocos2d::CCObject::release + 0))
Number Parameters: 2

== Stack Trace ==
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + 6a370 (cocos2d::CCObject::release + 0)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + f901f (cocos2d::CCTargetedTouchHandler::~CCTargetedTouchHandler + 223)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + 6a37c (cocos2d::CCObject::release + 12)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + 63c91 (cocos2d::CCArray::removeObject + 17)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + f8790 (cocos2d::CCTouchDispatcher::forceRemoveDelegate + 176)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + f8ce0 (cocos2d::CCTouchDispatcher::touches + 720)
 - 1A3333E6
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\geode\unzipped\maxnu.gd_mega_overlay\maxnu.gd_mega_overlay.dll + 83ef4
 - 1A33320F
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + be92c (cocos2d::CCEGLViewProtocol::handleTouchesEnd + 92)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + c7922 (cocos2d::CCEGLView::onGLFWMouseCallBack + 210)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + c794e (cocos2d::CCEGLView::onGLFWMouseCallBack + 254)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + 116cc9 (cocos2d::CCPoint::unrotate + 8073)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + 118819 (cocos2d::CCPoint::unrotate + 15065)
 - C:\WINDOWS\System32\USER32.dll + 4110b (AddClipboardFormatListener + 75)
 - C:\WINDOWS\System32\USER32.dll + 380ca (GetClassLongW + 1962)
 - C:\WINDOWS\System32\USER32.dll + 377a7 (GetSystemMetricsForDpi + 5959)
 - C:\WINDOWS\System32\USER32.dll + 3594b (CallWindowProcW + 27)
 - C:\WINDOWS\SYSTEM32\OPENGL32.dll + 4696f (glDebugEntry + 3631)
 - C:\WINDOWS\System32\USER32.dll + 4110b (AddClipboardFormatListener + 75)
 - C:\WINDOWS\System32\USER32.dll + 380ca (GetClassLongW + 1962)
 - C:\WINDOWS\System32\USER32.dll + 35e3a (DispatchMessageW + 586)
 - C:\WINDOWS\System32\USER32.dll + 35c00 (DispatchMessageW + 16)
 - C:\Program Files (x86)\Steam\gameoverlayrenderer.dll + 83090 (OverlayHookD3D3 + 121824)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + 117472 (cocos2d::CCPoint::unrotate + 10034)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\libcocos2d.dll + c4dd0 (cocos2d::CCApplication::run + 720)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\GeometryDash.exe + 3c12d8
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\Geode.dll + 16c264 (crashlog::setupPlatformHandlerPost + 3956)
 - C:\Program Files (x86)\Steam\steamapps\common\Geometry Dash\GeometryDash.exe + 3c267e
 - C:\WINDOWS\System32\KERNEL32.DLL + 200c9 (BaseThreadInitThunk + 25)
 - C:\WINDOWS\SYSTEM32\ntdll.dll + 67b1e (RtlGetAppContainerNamedObjectPath + 286)
 - C:\WINDOWS\SYSTEM32\ntdll.dll + 67aee (RtlGetAppContainerNamedObjectPath + 238)

== Register States ==
EAX: 00000000
EBX: 00000001
ECX: 00000000
EDX: 555003d0
EBP: 0073f674
ESP: 0073f658
EDI: 01372fd0
ESI: 0a4fa2f0
EIP: 5542a370

== Installed Mods ==
x | [v1.1.0] adam_729.deathmarkers
x | [v1.0.5] bitz.customprofiles
x | [v1.1.0] blackholemx.nomoregames
x | [v4.0.0] cvolton.betterinfo
x | [v1.1.1] dankmeme.globed2
x | [v1.0.3] firee.GoldenBest
  | [v1.4.2] firee.PrismMenu
x | [v2.4.0] fleym.nongd
x | [v1.2.15] gdutilsdevs.gdutils
x | [v1.5.2] geode.custom-keybinds
x | [v2.0.0-beta.19] geode.loader
x | [v1.5.1] geode.node-ids
x | [v1.0.5] hjfod.gdshare
x | [v1.0.5] hjfod.gmd-api
x | [v1.0.2] mat.run-info
x | [v2.5.0] maxnu.gd_mega_overlay
x | [v1.2.1] shineua.minecraft_splash
x | [v1.0.0] thesillydoggo.entersearch
x | [v1.0.2] weebify.coins_in_pause_menu
x | [v1.0.2] weebify.restartbtn
x | [v1.4.4] zilko.xdbot

😭 how did i not even test that
fixed in ef51b8d828004471cd8088f650c1a2a7885ffc16


text:
LLVM is not low level virtual machine

Слайд 2 лекции про LLVM:

LLVM = Low Level Virtual Machine

llvm.org:

Despite its name, LLVM has little to do with traditional virtual machines. The name "LLVM" itself is not an acronym; it is the full name of the project.

Да, на лекции я буду это говорить, что это было так названо, но ничего общего не имеет с реальностью и virtual machine


text:
get_account-is returning '1inch' as my main currency instead of USD

as stated in the title when  use the function instead of returning USD it gives me a list returning my "1inch" balance and availability

ok, so comparing the data from get_account() to get_accounts(), it looks like get_account just returns the first dictionary of get_accounts?

nevermind, I figured it out. Each currency has its own account id.

repo: danpaquin/coinbasepro-python


text:
get value from ListFormBuilderTypeAhead

hi , i got some problem , i have List<dynamic> from backend service that return on FormBuilderTypeAhead (ex : data = [{label:"camera",value:001 , label:"iphone",value:002}] , i want to get label show for user and value insert to database , how can i do that ?

This still an issue?

@deandreamatias yes , solved.

authors: YouSour deandreamatias


text:
Chips input focus

Removed the ChipsInput key because the rebuild was messing with focus. Resolves #612
Updated sample data with valid photo urls.

Codecov Report

Merging #640 (dc515f7) into master (5b4a7a7) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #640      +/-   ##
==========================================
+ Coverage   39.98%   40.01%   +0.02%
==========================================
  Files          36       36
  Lines        1453     1452       -1
==========================================
  Hits          581      581
+ Misses        872      871       -1

Impacted Files
Coverage Δ

lib/src/fields/form_builder_chips_input.dart
0.00% <ø> (ø)

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 5b4a7a7...dc515f7. Read the comment docs.

authors: awhitford codecov-io


text:
Maven support?

Heyo, I got a script that automates this (kinda) with gradle. Wanna give it a shot?

is it gonna have maven support?

Working on it, should take around 2 business day to create project so I can deploy: https://issues.sonatype.org/browse/OSSRH-18614

Its done, updated README.md with info.

thanks

authors: danysantiago elbuo8 sibeliusseraphini

repo: danysantiago/sendgrid-android


text:
filter() method not called correctly in degrade()

This doesn't look right:
https://github.com/dapphp/securimage/blob/master/WavFile.php#L1771-L1776
filter() takes an array as the first arg

Hi Rasmus,
Thank you for spotting that and pointing it out.  Error corrected and repo updated.
P.S.  I am honored you read my code and commented.  I can't even begin to thank you for everything you've done.

authors: dapphp rlerdorf

repo: dapphp/securimage


text:
Chocolatey package for cli install on Windows.

Describe the proposal
Provide chocolatey package for install on Windows.

Yes, please, much like https://chocolatey.org/packages/azure-functions-core-tools. A choco update all -Y makes live so much easier.

+1 pls

Agree with requesters that managing packages with Chocolatey is much easier as compared to running Powershell script.

Now that we have winget, do we still need this? Winget comes with the new Windows out of box (with App installer), so do we really need to support chocolatey now? I vote to close this issue in favor of #424

I for one built my dev machine installation around chocolatey long before winget was a thing (see https://gist.github.com/christophwille/87a88762e2fd79cf52e59deab7af93ff).

/assign

authors: NileshGule amanbha christophwille masters3d mikeee shubham1172

repo: dapr/cli


text:
Allow Kubernetes Events binding from all namespaces

The current implementation of the Kubernetes Events binding requires the namespace to be a mandatory field.
I would like to propose an enhancement that allows this binding to listen for events across all namespaces within the Kubernetes cluster.

Keep alive

authors: WhitWaldo johansja

repo: dapr/components-contrib


text:
Local env store: deny access to certain env vars

Changes the local env secret store to disallow access to certain variables used by Dapr's security features:

APP_API_TOKEN
DAPR_API_TOKEN
DAPR_TRUST_ANCHORS
DAPR_CERT_CHAIN
DAPR_CERT_KEY

@ItalyPaleAle please document this.

@berndverst  do you think this needs to be documented? Users shouldn't really be concerned with these env vars that are internal IMHO

Not sure this needs to be documented.

How about an error message that says accessing this Dapr internal environment variable is disallowed?

/ok-to-test

/ok-to-test

Added warning log

authors: ItalyPaleAle berndverst yaron2


text:
Dapr Name is Totally Confusing -- What the heck????  Conflicts with Dapper!!!

I am super surprised to see a project launch and get this far without realizing that there is already a well-established open source project with essentially the same name.  It seems like this is something that really has to be dealt with to avoid further embarrassment.
I'd be happy to help come up with some naming alternatives ... some tongue-in-cheek suggestions: Dckr, Swgr, Twtr, Ggl, Mcrsft

For the record: https://github.com/StackExchange/Dapper
Currently at 13.4k stars and 3.3k forks.

Hi @jboarman, we've had this discussed before. You can find all the info here: https://github.com/dapr/dapr/issues/715.
We've had a mutual understanding with Dapper maintainers and they do not have any concerns.
Closing this.

repo: dapr/dapr


text:
[FEATURE REQ] Authorization Component

In what area(s)?

/area runtime
Describe the feature
Authorization, as a cross-cutting concern is a highly required feature in microservices. It might be good to have authz in Dapr as a building block.
We can create a port for authz component and different authz implementations might plug into this port like pubsub or other components that can have different implementations.
With the authorization component, we can bring zanzibar (keto, spicedb, etc.) integrations into Dapr. And also any other authz solutions can be integrated with Dapr (for ex: keycloak). Or people might decide to plug a policy engine to make authorization decisions.
I've using Istio and it has various authorization solutions. One of them is the External Authorization feature. better-ext-authz
I imagine a component like the below for the most basic version of authorization:
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: x-authorization
  namespace: default
spec:
  type: authz.implName
  version: v1
  metadata:
  - endpoint: /users
    method: GET
    allowedRoles: ["user"]
  - endpoint: /admin
    method: POST
    allowedRoles: ["admin"]

I would love to develop this feature. WDYT?
Release Note
RELEASE NOTE:
ADD authorization component in Dapr.

Great proposal! Thanks.

How is it different from a middleware component?
Where are the roles defined?

An end-to-end example would help show a scenarios for this feature.

Great proposal! Thanks.

How is it different from a middleware component?
Where are the roles defined?

An end-to-end example would help show a scenarios for this feature.

Hi @artursouza, thank you for your response.
1- Actually, sounds eligible at first look. I imagined this feature like pubsub component, having a port to implement externally, so this is why I created the issue as a component. But it might be implemented as a middleware too.
2- I think authorization data should be handled by the user. It should not be a concern of Dapr at the first glance. If we did not think to implement authorization inside Dapr.
I imagined that we have authorization rules for our endpoints. And we have different authorization servers.
It might be Keycloak:

or might be Keto (or any other Zanzibar impl.):

Hi @artursouza,
It seems like many other users also need this building block component. WDYT about this?

Hi @artursouza, @yaron2 can we reopen this issue?

keep alive

authors: artursouza mstrYoda yaron2


text:
Discussion - make mTLS a first class citizen in Dapr

Posting a few thoughts on mTLS support in Dapr, for community feedback. Please share your thoughts.This does not include design details yet.
Current state of mTLS support in Dapr  :

No global policy to mandate mTLS in a cluster

--enable-mtls setting while installing Dapr is applicable for internal sidecar - sidecar traffic. For Dapr - external component communication, this policy does not apply. It is driven by individual configuration setup for the sidecar.

Non standard configuration for mTLS -

We use flags, which are component specific, e.g. enableTLS, disableTls etc

mTLS is not mandatory for production ready stable components

mTLS is an optional feature for a component today. mTLS is a well accepted method to authenticate connections. For certifying a component as stable - which means that it can run in production, mTLS support should be mandatory.

Documentation for understanding mTLS support

Once attributes are standardised it will be easy to specify mTLS Attributes in the configuration. Having a clear documentation on the support status for mTLS for a component will help developers assess the component capabilities better.

Proposed high level approach :

To enforce a global policy for mandating or flexing mTLS in the cluster, a centralised component should be setup to manage the 'enableMTLS' option. Dapr sidecar should be able to validate this setting, before connecting with the components with/without mTLS.

All components should adhere to a Least common denominator for mTLS settings to allow portability across components, standardise usage and simplify adoption. This will require change in many components

Clear documentation and tagging 'mTLS supported' along with the certification status of the component, will enable easier assessment of the component readiness for production scenarios.

Tagging @pravinpushkar

@akhilac1 May be we can enhance the api-allowlist configuration to provide more fine grained control on apis https://docs.dapr.io/operations/configuration/api-allowlist/.
For example -
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: myappconfig
  namespace: default
spec:
  api:
    allowed:
    - name: state
      version: v1.0
      protocol: http
      tlsMode: STRICT | PERMISSIVE // new option

Out of the 4 bullet points you outlined here, the second one re: TLS standardization in components and the third re: documentation make a lot of sense to me, and these should probably be transferred to components-contrib and docs respectively for further discussion.

No global policy to mandate mTLS/TLS in a cluster

You are conflating and mixing up two different concepts in this issue: mTLS  (or client side TLS) and server side TLS.
After you correctly edited your issue to change mTLS to TLS in some occurrences, this bullet point becomes irrelevant as Dapr has a global policy for mTLS where it is applicable, meaning - for sidecar to sidecar interactions. mTLS is not supported through the great majority of Dapr components irrespective of Dapr, with the most obvious example being AWS/GCP/Azure components.

Non standard configuration for TLS

I agree that we might want to (in a backward compatible way) change metadata keys across the relevant components to create a consistent naming scheme for those that do support TLS configuration.

For certifying a component as stable - which means that it can run in production, mTLS support should be mandatory.

As explained before, mTLS is not supported in the great majority of our components, irrespective at all of Dapr. If you want to suggest we add a requirement that a components that can support mTLS needs to support it in order to become stable, I think that makes sense. This would need further discussion in components-contrib.

To enforce a global policy for mandating or flexing mTLS, TLS in the cluster, a centralised component should be setup to manage the 'enableMTLS' option. Dapr sidecar should be able to validate this setting, before connecting with the components with/without mTLS.

Dapr should not enforce a global policy for components, as there is no consistent authentication scheme even between the components that do support TLS or mTLS. Dapr today has no knowledge of the different authentication schemes of its components and they are decoupled. Introducing a policy across a fraction of components that support different variations of TLS will result in a non-consistent UX and actually hamper portability, including giving developer and infrastructure teams the wrong notion that components support this policy as a blanket statement. In addition, it will create a strong coupling between the Dapr runtime and components metadata. This is unlike mTLS for sidecar to sidecar interactions, where mTLS is consistent, governed and controlled centrally, with a single implementation that sits inside the sidecar.

All components should adhere to a Least common denominator for TLS settings to allow portability across components

Portability in components is done via the Dapr runtime APIs, not through component specific authentication schemes. As described before, the majority of components do not support client side TLS, most of them probably support server side TLS, and trying to reason a least common denominator would result in the opposite effect and hamper portability.

Clear documentation and tagging 'TLS supported' along with the certification status of the component, will enable easier assessment of the component readiness for production scenarios.

This we can and should do.

In general, coupling the Dapr runtime to component metadata, specifically to different and unconjoined authentication schemes would result in a major UX/DX regression and might create the opposite effect by providing security "false positives" to Dapr users. Standardizing the TLS configuration for components that support it and making clear what type of TLS connectivity each component supports in documentation are both valid options and need to be opened for further discussion with relevant maintainers in components-contrib and docs.


text:
E2E Tailscale local run support

Description
Documentation and make-like commands to setup tailscale subnet router with a personal access key.
Issue reference

Please reference the issue this PR will close: #5053
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

It looks like some tests failed. I'll take a look.

Just fixed the lint problem!


text:
Added New Relic How-to docs

Thank you for helping make the Dapr documentation better!
If you are a new contributor, please see the this contribution guidance which helps keep the Dapr documentation readable, consistent and useful for Dapr users.
Note that you must see that the suggested changes do not break the website docs.dapr.io. See this overview on how to setup a local version of the website and make sure the website is built correctly.
In addition, please fill out the following to help reviewers understand this pull request:
Description
instructions describing how to set up Dapr with New Relic
Issue reference
#[949]

@orizohar I completely reworked the docs, pls. review

@tcnghia sorry to bother you with this, I think I have mistakenly asked your review again

Np @harrykimpel . Happy to help anytime

authors: harrykimpel tcnghia

repo: dapr/docs


text:
Revise readme so it aligns with new quickstarts

Signed-off-by: Nick Greenfield nigreenf@microsoft.com
Description
Revise readme so it aligns with new quickstarts and tutorials

Looks good to me!

authors: amulyavarote greenie-msft

repo: dapr/quickstarts


text:
Error while running the python app from the hello world sample

I am starting to learn DAPR. I started off with the first sample 1.Hello world. While running the python app with dapr, i am getting the following error.
Starting Dapr with id pythonapp. HTTP Port: 51906. gRPC Port: 51907
exec: "python3": executable file not found in %!P(MISSING)ATH%!(NOVERB)
I can run python app separately and it works fine. The error indicates that python is not available in path. But I can still execute python from a command prompt. So, not sure why it's not working with dapr. Appreciate your help on this

Hey @shankarmaha can you please refer to this issue and let me know if it still doesn't work.

@shankarmaha is the issue resolved now?

Feel free to re-open if the issue is not resolved using the resources provided above.

authors: pruthvidhodda shankarmaha

repo: dapr/samples


text:
Not able to install visual studio 2015 on Windows 2012R2

am getting some undefined method '[]' for nil:NilClass error. The output is below. Not sure if am doing something wrong. Please help
Cookbook Trace:
c:/chef/cache/cookbooks/visualstudio/recipes/install.rb:32:in block in from_file'   c:/chef/cache/cookbooks/visualstudio/recipes/install.rb:27:in each'
c:/chef/cache/cookbooks/visualstudio/recipes/install.rb:27:in from_file'   c:/opscode/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in instance_eval'
c:/opscode/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in from_file'   c:/opscode/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:228:in load_recipe'
c:/opscode/chef/embedded/apps/chef/lib/chef/run_context.rb:173:in load_recipe'   c:/opscode/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:140:in block in compile_recipes'
c:/opscode/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in each'   c:/opscode/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in compile_recipes'
c:/opscode/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:75:in compile'   c:/opscode/chef/embedded/apps/chef/lib/chef/run_context.rb:96:in load'
c:/opscode/chef/embedded/apps/chef/lib/chef/policy_builder/expand_node_object.rb:87:in setup_run_context'   c:/opscode/chef/embedded/apps/chef/lib/chef/client.rb:256:in setup_run_context'
c:/opscode/chef/embedded/apps/chef/lib/chef/client.rb:454:in run'   c:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:253:in run_with_graceful_exit_option'
c:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:230:in block in run_chef_client'   c:/opscode/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in with_server_connectivity'
c:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:213:in run_chef_client'   c:/opscode/chef/embedded/apps/chef/lib/chef/application/client.rb:402:in block in interval_run_chef_client'
c:/opscode/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in loop'   c:/opscode/chef/embedded/apps/chef/lib/chef/application/client.rb:392:in interval_run_chef_client'
c:/opscode/chef/embedded/apps/chef/lib/chef/application/client.rb:382:in run_application'   c:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:60:in run'
c:/opscode/chef/embedded/apps/chef/bin/chef-client:26:in <top (required)>'   c:/opscode/chef/bin/chef-client:63:in load'
c:/opscode/chef/bin/chef-client:63:in `'
Relevant File Content:
c:/chef/cache/cookbooks/visualstudio/recipes/install.rb:
25:
26:  # Install each specified edition/version
27:  installs.each do |install|
28:    version = install['version']
29:    edition = install['edition']
30:
31:    install_url = File.join(node['visualstudio']['source'],
32>>                           node['visualstudio'][version][edition]['filename'])
33:
34:    visualstudio_edition "visualstudio_#{version}_#{edition}" do
35:      edition edition
36:      version version
37:      install_dir node['visualstudio'][version]['install_dir']
38:      source install_url
39:      product_key node['visualstudio'][version][edition]['product_key']
40:      package_name node['visualstudio'][version][edition]['package_name']
41:      checksum node['visualstudio'][version][edition]['checksum']
Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 31.203136 seconds
PS C:>

Which edition of VS 2015 are you attempting to install? This cookbook currently only supports: 'professional', 'community', 'enterprise'.

community

I tried to run the cookbook from my vagrant box(Win 2012R2) still am getting the error. I have copied below..It may help to identify the issue?
NoMethodError
undefined method `[]' for nil:NilClass
Cookbook Trace:
C:\chef\cookbooks\visualstudio\recipes\install.rb:32:in block in from_file'   C:\chef\cookbooks\visualstudio\recipes\install.rb:27:in each'
C:\chef\cookbooks\visualstudio\recipes\install.rb:27:in from_file'   C:\chef\cookbooks\visualstudio\recipes\default.rb:32:in from_file'
Relevant File Content:
C:\chef\cookbooks\visualstudio\recipes\install.rb:
25:
26:  # Install each specified edition/version
27:  installs.each do |install|
28:    version = install['edition']
29:    edition = install['version']
30:
31:    install_url = File.join(node['visualstudio']['source'],
32>>                         node['visualstudio'][version][edition]['filename'])
33:  #  install_url = node['visualstudio']['source']
34:
35:    visualstudio_edition "visualstudio_#{version}_#{edition}" do
36:      edition edition
37:      version version
38:      install_dir node['visualstudio'][version]['install_dir']
39:      source install_url
40:      product_key node['visualstudio'][version][edition]['product_key']
41:      package_name node['visualstudio'][version][edition]['package_name']
Running handlers:
[2016-03-16T20:28:51+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-03-16T20:28:51+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 13 seconds
[2016-03-16T20:28:51+00:00] FATAL: Stacktrace dumped to C:/chef/chef-stacktrace.out
[2016-03-16T20:28:51+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-03-16T20:28:51+00:00] FATAL: NoMethodError: undefined method `[]' for nil:NilClass

In addition to setting the edition attribute to 'community', did you set the version attribute to '2015'?
node.override['visualstudio']['version'] = '2015'
node.override['visualstudio']['edition'] = 'community'

Yes I did set the version to 2015

Can't reproduce this and test-kitchen is passing with same configuration.

authors: rajeshapt sneal

repo: daptiv/visualstudio


text:
Command to allow for others to inspect other active guilds.

Would it be possible to add a command to allow others to check the info of a specific guild, such as how many members and guild master, without requiring the admin command to do so?

Added in latest release

authors: darbyjack mibby

repo: darbyjack/Guilds-Plugin


text:
Export broken in 2.0.3

The export function in the file menu does nothing in the newest version for me. Same for Annotate, that only opens a small overlay saying "Annotate", but nothing else happens, no matter where I click.
Win 10 latest update, Nvidia RTX 2080Ti with Studio Driver

Hi,
Both the export and annotate functionality are still WIP for the new version, hopefully I can get time for implementing them within the next few weeks.
Darby

Oh, thanks for the clarification! I guess at least Annotate worked in a previous version, so I was wondering. Cheers & keep up the great work!

Hi, I've decided to limit the scope of DJV and not include export functionality with the new version. Sorry for any inconvenience this causes!

authors: darbyjohnston tobkum

repo: darbyjohnston/DJV


text:
DJV 2.0.5 - Actual playback speed not displayed correctly if 240 FPS

DO:

load any clip
set playback speed to 240

HAPPEN:

playback speeds up but actual playback speed remains at around 24 FPS:

SHOULD:

show actual playback speed

NOTES:

seems to work okay for 120 FPS

Hi, do you have the "Play every frame" option enabled in the speed menu?

Hi, do you have the "Play every frame" option enabled in the speed menu?

No, I haven't

What kind of media were you playing back? It seems to work OK for me with image sequences and some movies, other movies I am getting the wrong FPS, though I'm getting half speed (120), not 24.

This should be mostly fixed, though there does need to be a minimum number of frames to playback. The current minimum is set to 30.

authors: aberkl darbyjohnston


text:
fix(types): handle non-null assertion

📚 Description

Hello!, I started type-checking one of my projects which makes use of this module and I noticed that my vue-tsc --noEmit command complains about two type-check errors coming from this module, the 1st one is about plugin types not being injected (I opened #221 solving the issue) and the 2nd one indicates that line below is possibly undefined
https://github.com/dargmuesli/nuxt-cookie-control/blob/a54e6cb0edde969b54dc4268d3a426d6f13f5d99/src/runtime/components/CookieControl.vue#L380
This PR suggests that if we know that the head array will never be undefined, then add a non-null assertion (!) to indicate it to the ts-plugin
Reproduction
I created a minimal reproduction here: https://stackblitz.com/edit/github-rdlsvu-jmfrqy?file=package.json

Click on the link to open the reproduction and wait for the container to run the commands
Look for the error in the terminal

Adding the non-null assertion seems to work, I tested it locally on my vscode, no errors showing up

📝 Checklist

[x] All commits follow the Conventional Commit format
[x] The PR's title follows the Conventional Commit format

I'd prefer something like if (!document.getElementsByTagName('head')[0]) return. What do you think?

I'd prefer something like if (!document.getElementsByTagName('head')[0]) return. What do you think?

I'd agree but seems like it doesn't do it, very strange... maybe it's related to a problem with the vuejs language-tools ts-plugin or vue-tsc

While ! or ? this does it

This way works, what do you think?
const headElement = document.getElementsByTagName('head')[0]
if (!headElement) return;
headElement.appendChild(script)

maybe it's related to a problem with the vuejs language-tools ts-plugin or vue-tsc update

I tend to believe that's a possibility. My developer tools show that document.getElementsByTagName('head')[0] is of type HTMLHeadElement, with no undefined alternative.
Do you only get the linter issue in projects depending on this module? As I don't get any errors linting this module itself.

@dargmuesli
Yes! The issue happens only in projects depending on this module, not the module itself 😂

Wow, why does it 😂 Do brackets help by any chance? Like if (!(document.getElementsByTagName('head')[0])) return.

It seems like it does not, it's a strange ts check behavior

Let's wait for a few days and see if some update to vue-tsc solves the issue. I had several issues with the last few versions. I'd expect their tests would've caught those, but yeah, here we are. If nothing happens, I'll debug further.

Just wondering, do you still see this issue occur in v8.4.4 released yesterday?

Just wondering, do you still see this issue occur in v8.4.4 released yesterday?

Yes! I still do after v8.4.4

Ok, so I see two issues:

the one reported here seems to be related to future: { compatibilityVersion: 4 }, without it the linting goes fine for me
then there is a second issue error TS7006: Parameter 'id' implicitly has an 'any' type. which started to appear with vue-tsc v2.0.24 (everything before that and starting with v2.0.20 has a bug), so downgrading to vue-tsc 2.0.19 for now also resolves that issue

Maybe the first issue should be reported in the nuxt repo so it is resolved before v4?

I think this is the corresponding issue:

https://github.com/vuejs/language-tools/issues/4249

Also potentially related:

https://github.com/vuejs/language-tools/issues/4391
https://github.com/vuejs/language-tools/issues/4218

Please also try to override the typescript version to be 5.4.5, e.g. for pnpm in the package.json like
"pnpm": {
    "overrides": {
      "typescript": "5.4.5"
    }
  }
`
Then delete the lockfile and reinstall all dependencies (seems like override wouldn't downgrade all typescript versions in the lockfile without deleting it first). That might also be a workaround for now.

Hi,
I have the same issue even with TypeScript 5.4.5, is it possible to merge this PR ?

@Reeska have you set the future.compatibilityVersion in your Nuxt project to 4?

@Reeska have you set the future.compatibilityVersion in your Nuxt project to 4?

No, I didn't

authors: Reeska Yizack dargmuesli

repo: dargmuesli/nuxt-cookie-control


text:
channel,ui: Add the 'Releases' tab to the channel view

These are separate from the channel playlists, and are usually much more nicely structured in e.g. music channels.

Very good, thank you for this PR. This will be merged after testing.

This PR is accepted, but won't be merged directly only due to being slightly nocompat with the new commits that are about to be pushed. However, I have adapted your patch to the new tree, and it will be pushed to remote shortly.
Many thanks, this PR will be closed.

The commit is here, for your reference: https://github.com/darkhz/invidtui/commit/3b9f50abe8f2287ac972748bd42f3b6b34f48abe

authors: alimpfard darkhz

repo: darkhz/invidtui


text:
树莓派报错

Traceback (most recent call last):
File "/usr/local/bin/musicbox", line 6, in
from NEMbox.main import start
File "/usr/local/lib/python2.7/dist-packages/NEMbox/main.py", line 16, in
from .menu import Menu
File "/usr/local/lib/python2.7/dist-packages/NEMbox/menu.py", line 24, in
from .api import NetEase
File "/usr/local/lib/python2.7/dist-packages/NEMbox/api.py", line 20, in
import requests_cache
File "/usr/local/lib/python2.7/dist-packages/requests_cache/init.py", line 6, in
from .response import AnyResponse, CachedHTTPResponse, CachedResponse, ExpirationTime
File "/usr/local/lib/python2.7/dist-packages/requests_cache/response.py", line 39
def init(self, original_response: Response, expire_after: ExpirationTime = None):
^
SyntaxError: invalid syntax

需要安装到Python3

Hi 请问下如何安装到Python3 呀，谢谢~

------------------ 原始邮件 ------------------
发件人:                                                                                "darknessomi/musicbox"                                                                                @.>;
发送时间: 2022年5月9日(星期一) 下午2:55
@.>;
@.@.>;
主题: Re: [darknessomi/musicbox] 树莓派报错 (Issue #950)
需要安装到Python3
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

搞定了，谢谢！

------------------ 原始邮件 ------------------
发件人:                                                                                "darknessomi/musicbox"                                                                                @.>;
发送时间: 2022年5月9日(星期一) 下午2:55
@.>;
@.@.>;
主题: Re: [darknessomi/musicbox] 树莓派报错 (Issue #950)
Closed #950.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

repo: darknessomi/musicbox


text:
Update example in documentation to be more informative

For example,  use an example that that highlight that matrices are row major.

Added in #40

repo: darnstrom/daqp


text:
When I installed dartlang package in atom, and opened my dart project, packages/ symlinks spammed throughout project

So when I opened my dart project in atom with dartlang package, I got a whole bunch of packages symlinks added to every directory under the project root
packages
web
web/packages => packages
web/css
web/css/packages => packages
Every single subdirectory had a symlink to packages now.

I shoudl says this a polymer dart project. And it appears this links were only created under web/

I think this is Dart's current behavior when you run pub get -- and you may only be noticing it now because the plugin doesn't explicitly hide the .packages directories from you.

No, its not .packages, but packages symlinks, no dot in front...

Yeah, pub get is doing it...
Pub is spamming packages symlinks into all subfolders of web...
These symlinks are labeled "packages" not ".packages".  Is this a pub regression then?

Sorry, I confused myself: at some point in the future there will be a single ".packages" file (or directory? can't remember) that will replace the dozens of "packages" symlinks that pub get litters your file tree with.

Why does it do it though? Seems to work fine if I remove all of them except for one in web/

https://www.dartlang.org/tools/pub/faq.html#what-are-all-the-packages-directories-for

Yup, this is the current behavior for the sdk. In the next release (SDK 1.12), we'll create a .packages file and the packages/ dir symlinks. The plan is that for the release after that one, we will no longer create the symlinks. The transition period will give tools time to update to the new, symlink-less world.

Thanks for the report! I'll close this issue - it's as designed for now.

authors: DanielJoyce devoncarew radicaled

repo: dart-atom/dartlang


text:
modify the route entry file name, resulting in an incomplete path

https://github.com/angular-examples/toh-6
modify the file name web/index.html to web/main.html
http://localhost:8080/main.html to http://localhost:8080/#dashboard
Refresh
wrong address http://localhost:8080/#dashboard Not Found
correct address http://localhost:8080/main.html#dashboard
click Heroes to http://localhost:8080/#heroes
Refresh
wrong address http://localhost:8080/#heroes Not Found
correct address http://localhost:8080/main.html#heroes

Yes, that is expected. If you rename the index.html file then that will impact the URL at which you access your app. That has nothing to do with Angular, it has to do with how index.html files are treated. Why are you renaming index.html? (I can't think of any use cases where you would need to do that.)

I was personally also surprise that "index.html" is treated differently than others html:
https://github.com/dart-lang/angular/blob/master/angular_router/lib/src/location/location.dart#L193
I spend hours tracking a bug because of this.
I have a web folder with plenty of entry points named other than index.html. And I actually advice to not use "index.html" because of this difference.

Yes, you are right that some web servers serve the index.html when requesting a directory. But not the other way: it doesn't redirect you to the directory you when you are requesting index.html.
The bug hit me when I was when trying to port my app to the new router. Lot of pieces were moving and I was switching between HashStrategy and PathStrategy to understand the new behavior. In the end the bug was on my end, but it was painful to understand that my 2 tests pages were behaving differently because of their name.

But not the other way: it doesn't redirect you to the directory you when you are requesting index.html.

You may have a point there, but I vaguely recall this behavior from the AngularTS router too (but I could be mistaken).
@leonsenft - any comment about https://github.com/dart-lang/angular/blob/master/angular_router/lib/src/location/location.dart#L193 and why it is there?

@chalin
Unfortunately no idea, we inherited it that way.

authors: chalin leonsenft no-if xavierhainaux

repo: dart-lang/angular


text:
unused dart:async

unused dart:async as Future and Streams are already implemented in dart:core as per Dart 2.1

I don't see any static analysis errors related to this any more. Re-open if you can point to anything specific.

repo: dart-lang/dart-pad