Take over official snappy package on npm

Hi!
Are you interested in taking over the snappy-package on npm?
snappy is the first serious npm module I ever published, so I gotta be honest that it'll be a bit difficult to let it go, but since this project is snappier than mine, I think it would make sense.
My suggestion would be that I add you as a maintainer to the snappy package and that you publish a new version of it (as version  7.0.0 so that no existing installations of snappy are affected).
I would than also deprecate my repo on github, sending them your way instead.
Let me know what you think about my suggestion, I think it would be a cool thing to do.

Oh it's very coooooooool!!
Thank you for being so much affirmation of my project, I'm very excited.

My suggestion would be that I add you as a maintainer to the snappy package and that you publish a new version of it (as version 7.0.0 so that no existing installations of snappy are affected).

Yes. after this I will write a migration guite in README to help people upgrade to this project.

@kesla Hey I've opened a pull request here to finish the package rename job: https://github.com/Brooooooklyn/snappy/pull/new/snappy-7
Feel free to review and leave some comments on it!

Very cool, the PR's looking good.
I added you as a maintainer to snappy on npm.
I'll deprecate my repo once you've published this as version 7 on npm!

I saw that you did a release of snappy 7, coming from this repo. Very cool!
I'm also referring people to your project from https://github.com/kesla/node-snappy - so I think that that means we're done & that this can be closed, right?

Yes，thanks again！

Doe to this change, something went wrong and this library does not work well with mongodb nodejs driver now in v7.0.

@adityapatadia I will take a look soon

@adityapatadia it might, as library API has slightly changed and ie. uncompressSync doesn't support returning string anymore. I've just fall for the same issue.

https://github.com/Brooooooklyn/snappy/pull/21

See https://github.com/Brooooooklyn/snappy/releases/tag/v7.0.2, { asBuffer: boolean } option landed

Oh it's very coooooooool!! Thank you for being so much affirmation of my project, I'm very excited.

My suggestion would be that I add you as a maintainer to the snappy package and that you publish a new version of it (as version 7.0.0 so that no existing installations of snappy are affected).

Yes. after this I will write a migration guite in README to help people upgrade to this project.

Hi , any chance you can point me to that migration guide for people using the old API?


[Feature Request] Please add middle-click on taskbar [tabsbar?] to create new tab.

I understand that I am weird, but I always add new tabs even to go to websites I am still on, and I use the middle mouse button to add/remove tabs. Clicking on the add tab button is really unnecessary and pointlessly precise, I just want to middle click on the space where there are no tabs and get a new tab open.
This is the ONLY reason Firefox is my main browser because no other browser does this.
I have used your browser for about 5-6 hours now, and I really like how snappy it feels. Please add this feature, I would appreciate it more than you might think.
P.S.- Yes I am a pleb with no knowledge of programming, and I got here after watching Chris Titus's video. I even made a github account specifically to say this, because I really like how this browser runs, and I would love to make this my main browser. Thank you!

Thanks for the advice.
@akhirkhopdikakharchakyahai

Well, this works on Mercury, so I am going to use that for now.


Code Quality: Suppressed NullReferenceException caused by EnableRaisingEvents

Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

https://files-org.sentry.io/issues/5497293589/events/97d0f7a7cda546d19e51e5ca2ebe4c3d/

Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

Opened Files ...
...

Is the crash report you mentioned correct? The link is to a FileNotFoundException.

I'm not sure if it fully solves the issue, but some of the events in that report include mention of this issue, so this should definitely help.


EDMM integration into Eclipse Winery

The pull request integrates EDMM into winery.
The module org.eclipse.winery.edmm has been added and it wraps the edmm core.
Some API endpoints have been implemented in the org.eclipse.winery.repository.rest module allowing to access the edmm module utilities via REST interface.
The edmm UI in the topologymodeler is the same as before, but now it allows to call also the transform function of the edmm core.

Can one of the admins verify this patch?

@miwurster is going to review this pull request.

Also, resolve the conflicts with master.

CQ has been created at https://dev.eclipse.org/ipzilla/show_bug.cgi?id=23001

CQ has been created at https://dev.eclipse.org/ipzilla/show_bug.cgi?id=23001


404 Not Found

With the latest version, I've started to receive the following error with each request:
eval        | INFO:     Waiting for application startup.
eval        | INFO:     Application startup complete.
eval        | INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
eval        | INFO:     <IP_ADDRESS>:46550 - "POST /command HTTP/1.1" 404 Not Found
eval        | INFO:     <IP_ADDRESS>:56596 - "POST /command HTTP/1.1" 404 Not Found
eval        | INFO:     <IP_ADDRESS>:54216 - "POST /command HTTP/1.1" 404 Not Found
eval        | INFO:     <IP_ADDRESS>:42932 - "POST /command HTTP/1.1" 404 Not Found
eval        | INFO:     <IP_ADDRESS>:42136 - "POST /command HTTP/1.1" 404 Not Found
On the client side, I'm simply getting the message:
{"detail":"Not Found"}
Sample prompt:
curl -X POST -H "Content-Type: application/json" -d '{"key": "sessionid", "files": [], "query": "Please develop and serve a simple web TODO app. The user can list all TODO items and add, delete each TODO item. I want it to have neuromorphism-style. The ports you can use are 4000 and 7000. Cannot use PORT variable in environment."}' http://localhost:8000/command

Hi! Sorry for inconvenience, we just updated the endpoint to distinguish between web pages and execution apis. https://github.com/corca-ai/EVAL#3-send-request-to-eval
I didn't expect someone would it use it this soon 😅 I mean no one knew this project just 2 days ago 😂 Sorry again, we'll write release note next time if there's significant changes like this.

Thanks for the quick response.  I'm still unclear what is different now.  If I used the exact command from your link I receive the same error:
curl -X POST -H "Content-Type: application/json" -d '{"session": "sessionid", "files": ["https://example.com/image.png"], "prompt": "Hi there!"}' http://localhost:8000/command

You have two options:

curl -X POST -H "Content-Type: application/json" -d '{"session": "sessionid", "files": [], "prompt": "Hi there!"}' http://localhost:8000/api/execute
connect to localhost:8000 and send your request using GUI.

Thanks for the quick response. I'm still unclear what is different now. If I used the exact command from your link I receive the same error: curl -X POST -H "Content-Type: application/json" -d '{"session": "sessionid", "files": ["https://example.com/image.png"], "prompt": "Hi there!"}' http://localhost:8000/command

Your url should be http://localhost:8000/api/execute, not http://localhost:8000/command.

Problem solved, you can close this issue.


Apply SwiftLint

Updated SwiftLint file to cover Example Frame folder.
Run swiftlint autocorrect at project level and commit all changes.

@ehab-al-cko @alex-ioja-yang-cko We can also now enable / update CI / CD to check for linting.


[DOCS] Add live website URL in about section

Add the hosted website URL in the about section.
The link is → https://collab-community.github.io/coding-youtubers

I usually do this but I forgot, sorry.
Done now

Thanks!


register parameters for Reduce

Very interesting, thanks a lot for your contribution! But I think this can sometimes lead to unwanted behavior, for example with Reduce(torch.add, 0) the 0 will change during training. I think it's better to keep the initializer as just an attribute, and, if necessary, pass it as a Parameter.

Yes,  after thinking about it, I attend to not register initializer (thow, operation submodule need registration). Initializer, If needed, is to registered on higher level.

Done, see commit 029c0b8


Fixed number with zero digits shows period

Now I found the following discrepancy.
When I try Trealla Prolog I get:
/* Trealla Prolog 2.7.24 */
?- format('~0f', [123123123123123123123.0]), nl.
123123123123123126272.000000

On the other hand SWI-Prolog gives me:
/* SWI-Prolog 9.1.2 */
?- format('~0f', [123123123123123123123.0]), nl.
123123123123123126272

My expectation would be rather something like
SWI-Prolog produces. i.e. no period and no zeros,
since the format control ~Nf had N=0.

Its better now, was testing this:
$ ./tpl -v
Trealla Prolog (c) Infradig 2020-2022, v2.7.29
$ ./tpl
?- format('~2f', [123.456]).
123.46   true.
?- format('~0f', [123.456]).
123   true.

Closing this ticket.


filter events with writes only to the status field for tsp

What type of PR is this?
Fixes https://github.com/gocrane/crane/issues/324
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/LGTM


Use a simple command for creating the namespace.

The yaml file will go away from mayastor repo.

Forcing the merge in the absence of a review by @gila, since this is a trivial change and the need for it it clear.


Msvechlas changes

Solved the conflicts, this might be relevant to https://github.com/ngalaiko/tree-sitter-go-template/pull/4, so take a look @baptman21.
According to the tests, this should fix some bugs, I just focused on fixing the conflicts for now, will take a look of the content of the changes later.

I'm still using my original branch here as a daily driver and its working great. I haven't tested this upstream version in a while though, so I will give it another try.
I might create a PR to add a few test cases with things that are working on my branch, which we can probably also solve in another way here.


Added UI testing environment variable set-up

Added UI testing environment variable set-up, with encryption password being available in 1Password.

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

The old commits are still there, you need to squash them all into one. The following hashes: 7941257, 28b1da7 and e80f8a2 should all be squashed into the same commit, so that in the end, this PR will only have TWO commits. (not four as it currently has).

@InfiniteRain can you please get in a call with @baugistoms and provide some guidance?


Poor quality when rendering close up object in wild scenes

Hi author, I recently tried to use nerfacto method to test on waymo dataset, I found that the hash encoding can easily reach 30+ psnr for far view in the test set, but the rendering quality is very bad for close view, for example, in the following case, the cylinder learns better from far view, but learns very bad in front view：

Also the near pavement was badly learned. I noticed that nerfacto was equivalent to replacing the IPE encoding in mipnerf360 with hash encoding, so I tested the same data directly on mipnerf360. (The difference is only in the network, ngp uses hash encoding, mipnerf360 uses IPE encoding with a larger dimension MLP, other things including the bounding box size, the number of ray samples and the range of contraction are the same.) I found that mipnerf360 does not learn as well as ngp for far-away views, but learns very well for near-range views (left is mipnerf360, right is nerfacto)

Here is a comparison of some other samples, you can see that compared to mipnerf360, nerfacto obviously learned badly in the near:(left is mipnerf360, right is nerfacto)

I'm confused about this, it feels like nerfacto doesn't seem to have learned the geometry of the close up objects, yet the only difference between the two methods is the difference in encoding, and the sampling range is the same, I don't know what causes this phenomenon, I'd like to ask for some advice, thanks a lot!

You have some misunderstanding of picewise sampling, nerfacto this sampling method in the closer the more sampling, the more distant the less sampling, I think this situation should be too concentrated in the near field resulting in the corresponding hash feature grid can not effectively learn to the near features(a same grid needs to learn too many points in close proximity)

I think this might be related to the Piecewise Sampler and Scene Contraction as stated in https://docs.nerf.studio/en/latest/nerfology/methods/nerfacto.html, the samping of nerfacto concentrates more on far objects, while NGP concentrate more on near objects.

You have some misunderstanding of picewise sampling, nerfacto this sampling method in the closer the more sampling, the more distant the less sampling, I think this situation should be too concentrated in the near field resulting in the corresponding hash feature grid can not effectively learn to the near features(a same grid needs to learn too many points in close proximity)

Hi, do you know how to solve this situation using nerfacto model? I ran into the same issue when using nuscenes dataset.

Hi, do you know how to solve this situation using nerfacto model? I ran into the same issue when using nuscenes dataset.

Maybe this is a drawback when using ngp to encode a close-by object as nearby sampling is too concentrated resulting in the same voxel grid needs to learn too much, making the near field not very well learned.
I tried to expand the translation matrix of the camera's pose to make the whole scene as large as possible, and the near voxel reduced the number of spatial points to be learned, and finally found that the quality of the near pose was effectively improved.

@YZsZY Thanks for the quick reply! How do you do it specifically? Could you share your code? I'm not very familiar with ngp hash encoding. Thanks!

@YZsZY Thanks for the quick reply! How do you do it specifically? Could you share your code? I'm not very familiar with ngp hash encoding. Thanks!

I haven't had time to organize the code lately, but it's pretty simple. When you load the data, there is a step to scale normalize the poses, and nerfacto's operation is to limit the translation vector to a region of [-1,1], and you just need to adjust this scale.
In addition, I found that this scale normalization operation is useful for general 360 inward scenes, but for outdoor driving data sets such as outward views may lead to some other bugs, so you need to adjust the scale yourself

thans, I will try it

@YZsZY Thanks for the quick reply! How do you do it specifically? Could you share your code? I'm not very familiar with ngp hash encoding. Thanks!

I haven't had time to organize the code lately, but it's pretty simple. When you load the data, there is a step to scale normalize the poses, and nerfacto's operation is to limit the translation vector to a region of [-1,1], and you just need to adjust this scale. In addition, I found that this scale normalization operation is useful for general 360 inward scenes, but for outdoor driving data sets such as outward views may lead to some other bugs, so you need to adjust the scale yourself

I try to implement your idea, stated as below, please check if I miss something.
For example, by changing the scale factor and scene scale to 5.0 in dataparser like below, the poses and scene are scaled into [-5, 5]
        # Scale poses
        scale_factor = 5.0 #1.0 will scale to [-1, 1]
        if self.config.auto_scale_poses:
            scale_factor /= float(torch.max(torch.abs(poses[:, :3, 3])))
        scale_factor *= self.config.scale_factor

        poses[:, :3, 3] *= scale_factor

...
        self.config.scene_scale = 5.0
        # in x,y,z order
        # assumes that the scene is centered at the origin
        aabb_scale = self.config.scene_scale
        scene_box = SceneBox(
            aabb=torch.tensor(
                [[-aabb_scale, -aabb_scale, -aabb_scale], [aabb_scale, aabb_scale, aabb_scale]], dtype=torch.float32
            )
        )
...

One question is that if your pose and scene are not in [-1, 1], can the default enabled scene contraction be used? should we close it and use scenebox to normalize the positions?

@YZsZY Thanks for the quick reply! How do you do it specifically? Could you share your code? I'm not very familiar with ngp hash encoding. Thanks!

I haven't had time to organize the code lately, but it's pretty simple. When you load the data, there is a step to scale normalize the poses, and nerfacto's operation is to limit the translation vector to a region of [-1,1], and you just need to adjust this scale. In addition, I found that this scale normalization operation is useful for general 360 inward scenes, but for outdoor driving data sets such as outward views may lead to some other bugs, so you need to adjust the scale yourself

I try to implement your idea, stated as below, please check if I miss something.
For example, by changing the scale factor and scene scale to 5.0 in dataparser like below, the poses and scene are scaled into [-5, 5]
        # Scale poses
        scale_factor = 5.0 #1.0 will scale to [-1, 1]
        if self.config.auto_scale_poses:
            scale_factor /= float(torch.max(torch.abs(poses[:, :3, 3])))
        scale_factor *= self.config.scale_factor

        poses[:, :3, 3] *= scale_factor

...
        self.config.scene_scale = 5.0
        # in x,y,z order
        # assumes that the scene is centered at the origin
        aabb_scale = self.config.scene_scale
        scene_box = SceneBox(
            aabb=torch.tensor(
                [[-aabb_scale, -aabb_scale, -aabb_scale], [aabb_scale, aabb_scale, aabb_scale]], dtype=torch.float32
            )
        )
...

One question is that if your pose and scene are not in [-1, 1], can the default enabled scene contraction be used? should we close it and use scenebox to normalize the positions?

It still works, you compress the whole scene [-5,5] to [-2,2], and then normalize the space for hash encoding to [-1,1].

@HrsPythonix In addition, remember to wrap the entire scene of the scene box to adjust the size of the box, so that the box wrapped around your scaled pose, my personal advice is to adjust the scene box as large as possible for this outward perspective

wrap

Do you mean that we should set scene_scale as large as possible?
Also should we set the scale_factor to scale pose the same as scene_scale or some value less that the scene_scale?

@YZsZY Thanks for the quick reply! How do you do it specifically? Could you share your code? I'm not very familiar with ngp hash encoding. Thanks!

I haven't had time to organize the code lately, but it's pretty simple. When you load the data, there is a step to scale normalize the poses, and nerfacto's operation is to limit the translation vector to a region of [-1,1], and you just need to adjust this scale. In addition, I found that this scale normalization operation is useful for general 360 inward scenes, but for outdoor driving data sets such as outward views may lead to some other bugs, so you need to adjust the scale yourself

@YZsZY I review the related code these days, and I found several facts:

SceneBox is only activated when SceneContraction is disabled.

    def get_density(self, ray_samples: RaySamples) -> Tuple[TensorType, TensorType]:
        """Computes and returns the densities."""
        if self.spatial_distortion is not None:
            positions = ray_samples.frustums.get_positions()
            positions = self.spatial_distortion(positions)
            positions = (positions + 2.0) / 4.0
        else:
            positions = SceneBox.get_normalized_positions(ray_samples.frustums.get_positions(), self.aabb)

The default implementation of SceneContraction in nerfstudio will map all samples outside the [-1, 1] cube (which means [1, inf] or [-inf, -1])  to [1, 2] and [-2, -1], while keeping the samples inside [-1, 1] unchanged. Then the samples in [-2, 2] will be mapped to [0, 1] to act as inputs for tcnn.HashGrid, specific code as below:

scene_contraction = SceneContraction(order=float("inf"))
...
def contract(x):
            mag = torch.linalg.norm(x, ord=self.order, dim=-1)[..., None]
            return torch.where(mag < 1, x, (2 - (1 / mag)) * (x / mag))
......

if self.spatial_distortion is not None:
            positions = ray_samples.frustums.get_positions()
            positions = self.spatial_distortion(positions)
            positions = (positions + 2.0) / 4.0
        else:
            positions = SceneBox.get_normalized_positions(ray_samples.frustums.get_positions(), self.aabb)

So, by default, the samples inside [-1, 1] will occupy [0, 0.5] in HashGrid, all other point outside will occupy [0.5, 1]  in HashGrid, and the camera pose are all scaled into [-1, 1].
If we enlarge the scale factor for pose, for example to [-5, 5], which means camera poses are put into [-5, 5], I think this equals to putting more scene into the contacted part ([0.5, 1] in HashGrid), while putting less scene into the foreground part ([0, 0.5] in HashGrid), so the quality of foreground can become better. But the background will suffer.

@HrsPythonix You seem to have somehow not understood. The first problem about contract area is that the invariant area set in contract should just encompass the near field, which you need to try to set yourself.
In addition, the pose is scaled to ensure that the corresponding hash grid in the near field does not learn many points at once, so I expand the range so that the sampling points are more discrete.
You need to make sure that after you scale the pose, the invariant area you set still contains the near field, which is not necessarily [-1,1], but [-0.5,0.5], or [-5,5], anyhow, you need to try it yourself!

@HrsPythonix In fact, you only need to focus on the following points:

adjust your pose so that the near samples are not too concentrated on a hash grid, the best way is to zoom in on the pose, in which case your outermost SceneBox also needs to be scaled up.
After scaling the pose, adjust your contract area instead of using the original [-1,1], which is no longer guaranteed to contain the close-up area, and adjust the area so that it only contains the close-up area generated after the pose scale.

You can see that if the overall sampling range is small, it will be too concentrated in the near, which will lead to a hash grid that needs to interpolate too many points, however, there is a lot of detail in the near, resulting in failure to learn the details of the near, so the easiest way is to adjust the pose scale, so that the sampling range is expanded in scale, reducing the density of sampling in the near

Just used the uniform sample.

You think too easy....The use of log sampling itself is for more concentrated sampling in the near, the use of uniform sampling will make the near field sampling is not sufficient

Maybe we should custom ourself sampler.

Hi author, I recently tried to use nerfacto method to test on waymo dataset, I found that the hash encoding can easily reach 30+ psnr for far view in the test set, but the rendering quality is very bad for close view, for example, in the following case, the cylinder learns better from far view, but learns very bad in front view：
Also the near pavement was badly learned. I noticed that nerfacto was equivalent to replacing the IPE encoding in mipnerf360 with hash encoding, so I tested the same data directly on mipnerf360. (The difference is only in the network, ngp uses hash encoding, mipnerf360 uses IPE encoding with a larger dimension MLP, other things including the bounding box size, the number of ray samples and the range of contraction are the same.) I found that mipnerf360 does not learn as well as ngp for far-away views, but learns very well for near-range views (left is mipnerf360, right is nerfacto)
Here is a comparison of some other samples, you can see that compared to mipnerf360, nerfacto obviously learned badly in the near:(left is mipnerf360, right is nerfacto)
I'm confused about this, it feels like nerfacto doesn't seem to have learned the geometry of the close up objects, yet the only difference between the two methods is the difference in encoding, and the sampling range is the same, I don't know what causes this phenomenon, I'd like to ask for some advice, thanks a lot!

@YZsZY Thank you for sharing your experience, I am deal with a similar scene datasets, can you share your nerfstuio parameter settings or the training command? I use the nerfacto model to reconstruct my scene but the result are so bad.

Hi, do you know how to solve this situation using nerfacto model? I ran into the same issue when using nuscenes dataset.

Maybe this is a drawback when using ngp to encode a close-by object as nearby sampling is too concentrated resulting in the same voxel grid needs to learn too much, making the near field not very well learned.
I tried to expand the translation matrix of the camera's pose to make the whole scene as large as possible, and the near voxel reduced the number of spatial points to be learned, and finally found that the quality of the near pose was effectively improved.

may you let me know what are the scale_factor and scene_scale you used to get the improved results? their default values are both 1


Semantic Highlighter not working in latest build of Atom? 1.0.11

I just updated my Atom version from 1.0.7 (i think) to 1.0.11, and lost the semantic highlighting in the process. no other packages seem to be affected. I restarted my machine, restarted Atom multiple times, event attempted to run with Shadow DOM off.

Apparently, Atom modified its internal line representation again. I'm getting tired of adapting my code to match an ever-changing, poorly documented internal format. Please add your voice to https://github.com/atom/atom/issues/8669 and push for a proper API that will enable packages like this to become stable and reliable.

I agree.  It's very frustrating.  My Package jumpy greatly slowed down recently due to the tiling changes.  (It's broken countless times before from changes, although more stable now).  I know we're supposed to really stick strictly to the API and less DOM manip, but I mean that's part of the appeal of doing a web tech Editor right?  For example, I pretty much have to utilize markers/decorations now.  That's cool, I was already using it in my new one, so I know how, but that I have to is a little weird.
BTW, I'm currently working on something very similar to this.  A friend pointed me to your project here :) !!!  Here's a link if you're curious:
https://github.com/DavidLGoldberg/qolor
Really big shame I can't use your highlighter now :-( (working on some Redux stuff, and it's probably the PERFECT use case heh)  I've clicked subscribe to get notified when it's fixed, but let me know if you think I can help!
Few other things:

I have to go through your architecture for ideas :)  Although, I don't have a parser like Acorn so I just kind of hacked up an MVP :\

I'm going to steal your "Prior Art" Section of the readme hope you don't mind (and add yours of course)

latest error with the package is has something to do with building, and with oniguruma. i've seen a bunch of other people adding their voice over the past few months to atom/atom#8669, but things are still not working on my end. debug included in case it helps.
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../node_modules/nan/nan.h:255:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../node_modules/nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:671:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:41:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:53:40: note: candidate function not viable: 2nd argument ('const char ') would lose const qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate isolate,
^
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:38:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:46:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:675:12: error: no viable conversion from 'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to 'const v8::Localv8::Object &' for 1st argument
class Local {
^
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to 'v8::Localv8::Object &&' for 1st argument
class Local {
^
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local that)
^
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:326:13: note: candidate template ignored: could not match 'S ' against 'v8::MaybeLocalv8::Object'
V8_INLINE Local(S that)
^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:682:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
TYPE_CHECK(T, S);
^~
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile*>(0)) = static_cast<S*>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:413:12: note: in instantiation of function template specialization 'v8::Localv8::Primitive::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile>(0)) = static_cast<S>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:423:12: note: in instantiation of function template specialization 'v8::Localv8::Boolean::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile>(0)) = static_cast<S>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1513:12: note: in instantiation of function template specialization 'v8::Localv8::Function::Localv8::Value' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/josh/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile>(0)) = static_cast<S>(0);
^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1631:12: note: in instantiation of function template specialization 'v8::Localv8::Object::Localv8::Value' requested here
return NanEscapeScope(handle->Get(NanNew(key)).Asv8::Object());
^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                         ^

9 errors generated.
make: *** [Release/obj.target/onig_scanner/src/onig-cache.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/josh/.atom/packages/language-javascript-semantic/node_modules/first-mate/node_modules/oniguruma
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 15.0.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/josh/.atom/.apm/.apmrc" "--userconfig" "/Users/josh/.atom/.apmrc" "rebuild" "--target=0.34.3" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the oniguruma package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls oniguruma
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/josh/.atom/packages/language-javascript-semantic/npm-debug.log

Atom.io updated to 1.4.1 - and the default colors for js highlighting (i think that came as part of 1.4.0) are even worse than before. atom.io is really screwing the pooch here... i miss the semantic highlighter more and more.
at current, i'm still on v0.2.1 of the language-javascript-semantic, with no errors to report, no errors being reported that i can tell, yet it's still not working. i've tried uninstalling and reinstalling to no avail.
i've done as others have suggested in #33 and updated my config.cson file to include the customFileTypes setting, which also does nothing to help the situation.
  core:
    customFileTypes:
      "source.js-semantic": [
        "js"
      ]
   ...

still no semantic highlighting, and enduring crappy atom.io highlighting... which seems to thing everything should be one of 5 colors lately... which is painful to look at.
any updates?


Duplicate H1s Conflict for microsoft.azure.core.spatial-readme

The following articles created from readme files are using the same H1 title header. Docs reports warnings when there are two articles with the same H1 text. This is happening because both the preview and release versions of the Docs articles were imported from the same readme: sdk/core/Microsoft.Azure.Core.Spatial/README.md
https://github.com/Azure/azure-docs-sdk-dotnet/blob/main/api/overview/azure/microsoft.azure.core.spatial-readme-pre.md
https://github.com/Azure/azure-docs-sdk-dotnet/blob/main/api/overview/azure/microsoft.azure.core.spatial-readme.md
One solution would be to append something like (Preview) to the end of the H1 for the preview topic when imported to Docs.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.21717176,Event Hubs:0.054108847,Service Bus:0.048638333'

Closing as a duplicate of #29204.

Addressed the issue. Closed.


⚠ Samsung has degraded performance

In 0633e9f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2299 ms

Resolved: Samsung performance has improved in f2911d3.


Always required

It seems the field is always required
final ValidationBuilder validationBuilder = ValidationBuilder().email('Wrong Email Format');
String? _errorText = validationBuilder.build()(null);

Result "The field is required"
final ValidationBuilder validationBuilder = ValidationBuilder().email('Wrong Email Format');
String? _errorText = validationBuilder.build()('');

Result "Wrong Email Format"

You can set optional parameter when constructing ValidationBuilder to set value as optional (not-required). In that case if null or empty string value is provided the validation will be passed.


Fails to work when using critical css technique

Respond seems to fail when using the critical css technique from addyosmani. All media queries are are in the critical css in the head of the document inside style tags. Is this normal behaviour for respond not to work this way?

Cancel that. The script nearer the top of the document I'm using to load my webfonts seems to be what was causing the issue. Respond now firing when that's removed. Thanks


BTEMPLOCAL

Just a placeholder for a test that works,,, I need to make it so that it doesn't say so when running the script.

fixed


Fix old tests to use register non-alteration helpers added in #24

#24 added helpers to verify that registers were not altered from their initial zero state. There may be older tests that could use that to improve brevity and clarity.

test_ixkk_instructions.py might be a good candidate for this, but it might be a good idea to figure out how to run only a subset of tests first.


Release 1.0.3

<EMAIL_ADDRESS>was released but master branch was not updated in repository
ping @calvinmetcalf

done


Broken Link in Section Nodes - Spanish Doc

This is a Bug Report
In Spanish Documentation, section nodes exists a broken link, specifically Objeto API

Problem:
[Object Node API](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#node-v1-core)
Proposed Solution:
Set param version to redirect successfully link.
Page to Update:
https://github.com/kubernetes/website/blob/master/content/es/docs/concepts/architecture/nodes.md#objeto-api

/language es
/kind bug


Scale <1

hello and thanks for this great simple stl viewer!
Unfortunately the scale does not seem to accept smaller values (e.g. 0.5 to display the object only half as large).
Auto_resize cuts off a bit from my figure, so I want to make it smaller. Even if Auto_resize is set to false, no negative zoom is accepted.
I would appreciate an update here!

Sorry for the long delayed answer ...
It is working fine in my tests - can you please post your code here?


Memory fix

We need this, VS Tricky got up to 5GB RAM

tricky's memory has nothing to do with this, also this isn't vs tricky. this is a shitty pr.

we still need the fix for kade so it doesnt get this problem


Tradebot crashes : minimum is not defined

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[ X] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
I'm trading using Gekko UI on Kraken with the EUR/ZEC pair and it used to run fine, but the bot crashed after almost 2 months. I changed my strategy and the tradebot constantly crashes.
I tried to change the minimum amounts on /utils/genMarketFiles/update-kraken.js but it didn't change anything.
I have the same problem on the ETH/EOS pair on Kraken. Some other bots run on Binance and I have no problem. I use the develop branch and I'm up to date.
Expected result (what you hoped would happen)
Trade if the minimum amount is available, otherwise do nothing.
Actual result (unexpected outcome)
The tradebot crashes and disappear from the UI.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
EUR/ZEC
  result:
   { ZUSD: '155.0091',
     ZEUR: '137.7853',
     XXBT: '0.0884483050',
     XXRP: '0.00000071',
     XLTC: '0.0000000000',
     XETH: '0.8195571400',
     XZEC: '0.0229425800',
     XXMR: '0.0000000000',
     EOS: '0.0000002600',
     BCH: '0.0000000000' } }
2018-05-09 17:53:50 (INFO):	trading at kraken ACTIVE
2018-05-09 17:53:50 (INFO):	kraken trading fee will be: 0.16%
2018-05-09 17:53:50 (INFO):	kraken portfolio:
2018-05-09 17:53:50 (INFO):		 EUR:<PHONE_NUMBER>00000
2018-05-09 17:53:50 (INFO):		 ZEC: 0.022942580000
2018-05-09 17:53:50 (INFO):	Setting up:
2018-05-09 17:53:50 (INFO):		 Performance Analyzer
2018-05-09 17:53:50 (INFO):		 Analyzes performances of trades
2018-05-09 17:53:50 (INFO):

2018-05-09 18:25:52 (INFO):	Trader Received advice to go short. Selling  ZEC
2018-05-09 18:25:52 (DEBUG):	portfolioManager : newTrade() : creating a new Trade class to  SELL ZEC / EUR
2018-05-09 18:25:52 (DEBUG):	created new Trade class to SELL ZEC/EUR
2018-05-09 18:25:53 (DEBUG):	[kraken.js] entering "setBalance" callback after kraken-api call, data: { error: [],
  result:
   { ZUSD: '155.0091',
     ZEUR: '137.7853',
     XXBT: '0.0884483050',
     XXRP: '0.00000071',
     XLTC: '0.0000000000',
     XETH: '0.8195571400',
     XZEC: '0.0229425800',
     XXMR: '0.0000000000',
     EOS: '0.0000002600',
     BCH: '0.0000000000' } }
2018-05-09 18:25:53 (ERROR):	[kraken.js] (getPortfolio) returned an irrecoverable error: minimum is not defined```

ETH/EOS
```2018-05-09 18:23:50 (INFO):	Trader Received advice to go long. Buying  EOS
2018-05-09 18:23:50 (DEBUG):	portfolioManager : newTrade() : creating a new Trade class to  BUY EOS / ETH
2018-05-09 18:23:50 (DEBUG):	created new Trade class to BUY EOS/ETH
2018-05-09 18:23:52 (DEBUG):	[kraken.js] entering "setBalance" callback after kraken-api call, data: { error: [],
  result:
   { ZUSD: '155.0091',
     ZEUR: '137.7853',
     XXBT: '0.0884483050',
     XXRP: '0.00000071',
     XLTC: '0.0000000000',
     XETH: '0.8195571400',
     XZEC: '0.0229425800',
     XXMR: '0.0000000000',
     EOS: '0.0000002600',
     BCH: '0.0000000000' } }
2018-05-09 18:23:52 (ERROR):	[kraken.js] (getPortfolio) returned an irrecoverable error: minimum is not defined```

Hi, maybe this workaround helps you: https://github.com/askmike/gekko/issues/2083

I updated the plugins/trader/trade.js as mentionned, but now I can't see my trades in the UI.
I have a buy ETH/EOS order recorded on Kraken this morning, but no green dot nor stats on the UI.

@glegarand Unfortunately this seems to be another problem that could be fixed with this PR https://github.com/askmike/gekko/pull/2181  , though I have not tried it out, since the bot trades fine and I'm analysing the logs instead looking at the ui.

Note that there are some bugs with the trader which I am currently improving, see #2118. But yes, @H256 is correct that this bug is fixed with #2181. Please download the latest develop branch from git to get the fix.


KAFKA-8800: Flaky Test SaslScramSslEndToEndAuthorizationTest#testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl

I dug out this problem and found the following.
The failing method, TestUtils#pollRecordsUntilTrue, was added with commit 1e92b703. However, it calls Consumer#poll(Duration) which throws timeout if the given period is expired while fetching both of the metadata and records. (i.e., dislike to deprecated Consumer#poll(long) method.) For this reason, it is easy to fail and making the related tests flaky.
It seems like there are two approaches to fix this problem:

Increase the timeout duration (current PR)
Use a dedicated method to fetch the metadata.

How do you think? cc/ @mjsax
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

#ould be great to get some test stabilized, but I don't know this part of the code very well. It's unclear if bumping timeouts is the right approach to me.
\cc @hachikuji @ijuma

However, it calls Consumer#poll(Duration) which throws timeout if the given period is expired while fetching both of the metadata and records. (i.e., dislike to deprecated Consumer#poll(long) method.)

What exception is thrown?

@ijuma TimeoutException -- cf the PR description

@mjsax I read the PR, but it didn't specify exactly what the exception was. I am a bit confused because poll should not throw that exception, right?

@mjsax @ijuma FYI: It seems like the timeout issue is potentially related to this issue.

@dongjinleekr I think what you're saying is that if the poll timeout is not long enough to retrieve the metadata, we will fail on each call to poll. And the time needed to fetch metadata increased somewhat and 50 ms is no longer enough. It seems fine to have this at 100 ms to reduce flakiness even after KAFKA-8806 is fixed.

Merged to master and 2.3 branches.

@dongjinleekr I summarized my understanding of the issue in the commit message https://github.com/apache/kafka/commit/784f7e84edea548ef76008dddc750ac650479755. Feel free to update the PR description if you agree.


[Proposal] Add Nats Streaming Parallel Concurrency Mode

Expected Behavior
As in version 1.0.1, sidecar should sends the events without any limitation on its side, for the previous event It should forward the event without waiting for a success or fail response. We make this limitation with the maxinflight parameter on the nats streaming side. If Nats does not receive an ack, it transmits the event itself.
Actual Behavior and Problem
Hi, We were using nats streaming as a service broker with dapr version 1.0.1. Two weeks ago we updated dapr to the 1.6.1 version and noticed pub/sub behaviors changed. We noticed sidecar is sending events to app one by one. Sending one and waiting for a response (success or failure) if success it is sending a second event but nats streaming component has max inflight parameter for this (unack message count). We are setting this parameter 5 and noticed at subscription log, nats is sending 5 messages to sidecar but sidecar is sending one by one and waiting for processing event. This behaviour impact concurrency I think.
Another problem is retry mechanism, nats streaming has retry mechanism natively. is it possible to close the retry mechanism on the subscription side? I tried Resiliency options and it does not affect. Sidecar keeps retrying for failed event forever
component.yaml
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: messagebus
spec:
  metadata:
    - name: natsURL
      value: >-
        localhost:4222
    - name: natsStreamingClusterID
      value: test-cluster
    - name: subscriptionType
      value: topic
    - name: deliverAll
      value: true
    - name: ackWaitTime
      value: 45000ms
    - name: maxInFlight
      value: '5'
  type: pubsub.natsstreaming
  version: v1

resiliency.yaml
apiVersion: dapr.io/v1alpha1
kind: Resiliency
metadata:
  name: myresiliency
# similar to subscription and configuration specs, scopes lists the Dapr App IDs that this
# resiliency spec can be used by.
scopes:
  - app
  - app2
spec:
  # policies is where timeouts, retries and circuit breaker policies are defined.
  # each is given a name so they can be referred to from the targets section in the resiliency spec.
  policies:
    # timeouts are simple named durations.
    timeouts:
      general: 5s
      important: 60s
      largeResponse: 10s

    # retries are named templates for retry configurations and are instantiated for life of the operation.
    retries:
      pubsubRetry:
        policy: constant
        duration: 10s
        maxRetries: 1

      retryForever:
        policy: exponential
        maxInterval: 15s
        maxRetries: -1 # retry indefinitely

    # circuit breakers are automatically instantiated per component and app instance.
    # circuit breakers maintain counters that live as long as the Dapr sidecar is running. They are not persisted.
    circuitBreakers:
      simpleCB:
        maxRequests: 1
        timeout: 30s
        trip: consecutiveFailures >= 5

      pubsubCB:
        maxRequests: 1
        interval: 0s
        timeout: 45s
        trip: consecutiveFailures > 3

  # targets are what named policies are applied to. Dapr supports 3 target types - apps, components and actors
  targets:
    apps:
      app:
        retry: pubsubRetry

    components:
      # for state stores, policies apply to saving and retrieving state.
      messagebus: # any component name -- happens to be a pubsub broker here
        outbound:
          retry: pubsubRetry
        inbound: # inbound only applies to delivery from sidecar to app
          # timeout: general
          retry: pubsubRetry

dapr's log:
time="2022-04-13T17:59:51.4039915+03:00" level=info msg="starting Dapr Runtime -- version 1.7.0 -- commit 3c4510a685470eb8a5403e9d9a451bc93e67e6c4" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.4039915+03:00" level=info msg="log level set to: debug" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.4039915+03:00" level=info msg="metrics server started on :9090/" app_id=app instance=PF1SE31X scope=dapr.metrics type=log ver=1.7.0
time="2022-04-13T17:59:51.4222667+03:00" level=debug msg="Found 2 resiliency configurations." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.4497547+03:00" level=info msg="standalone mode configured" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.4497547+03:00" level=info msg="app id: app" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.4497547+03:00" level=info msg="mTLS is disabled. Skipping certificate request and tls validation" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5046499+03:00" level=info msg="local service entry announced: app -> <IP_ADDRESS>:56653" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T17:59:51.5046499+03:00" level=info msg="Initialized name resolution to mdns" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5051636+03:00" level=info msg="loading components" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5108289+03:00" level=debug msg="found component. name: messagebus, type: pubsub.natsstreaming/v1" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5108289+03:00" level=info msg="waiting for all outstanding components to be processed" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5108289+03:00" level=debug msg="loading component. name: messagebus, type: pubsub.natsstreaming/v1" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5232512+03:00" level=debug msg="connected to natsstreaming at localhost:4222" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T17:59:51.5236309+03:00" level=info msg="component loaded. name: messagebus, type: pubsub.natsstreaming/v1" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5236309+03:00" level=info msg="all outstanding components processed" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5236309+03:00" level=info msg="gRPC proxy enabled" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5241076+03:00" level=info msg="enabled gRPC tracing middleware" app_id=app instance=PF1SE31X scope=dapr.runtime.grpc.api type=log ver=1.7.0
time="2022-04-13T17:59:51.5241076+03:00" level=info msg="enabled gRPC metrics middleware" app_id=app instance=PF1SE31X scope=dapr.runtime.grpc.api type=log ver=1.7.0
time="2022-04-13T17:59:51.5241076+03:00" level=info msg="API gRPC server is running on port 50001" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5244036+03:00" level=info msg="enabled metrics http middleware" app_id=app instance=PF1SE31X scope=dapr.runtime.http type=log ver=1.7.0
time="2022-04-13T17:59:51.5244036+03:00" level=info msg="enabled tracing http middleware" app_id=app instance=PF1SE31X scope=dapr.runtime.http type=log ver=1.7.0
time="2022-04-13T17:59:51.5252444+03:00" level=info msg="http server is running on port 3500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5252444+03:00" level=info msg="The request body size parameter is: 4" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5256154+03:00" level=info msg="enabled gRPC tracing middleware" app_id=app instance=PF1SE31X scope=dapr.runtime.grpc.internal type=log ver=1.7.0
time="2022-04-13T17:59:51.5257206+03:00" level=info msg="enabled gRPC metrics middleware" app_id=app instance=PF1SE31X scope=dapr.runtime.grpc.internal type=log ver=1.7.0
time="2022-04-13T17:59:51.5257206+03:00" level=info msg="internal gRPC server is running on port 56653" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:51.5257206+03:00" level=info msg="application protocol: http. waiting on port 5000.  This will block until the app is listening on that port." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.6773064+03:00" level=info msg="application discovered on port 5000" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.6773064+03:00" level=warning msg="[DEPRECATION NOTICE] Adding a default content type to incoming service invocation requests is deprecated and will be removed in the future. See https://docs.dapr.io/operations/support/support-preview-features/ for more details. You can opt into the new behavior today by setting the configuration option `ServiceInvocation.NoDefaultContentType` to true." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.7713156+03:00" level=info msg="application configuration loaded" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.7720306+03:00" level=warning msg="failed to init actors: no actor state store defined" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.8002235+03:00" level=debug msg="app responded with subscriptions [{messagebus EventTestTopic map[] [0xc0005a09e0] []}]" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.8028561+03:00" level=info msg="app is subscribed to the following topics: [EventTestTopic] through pubsub=messagebus" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.8028561+03:00" level=debug msg="subscribing to topic=EventTestTopic on pubsub=messagebus" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.8054396+03:00" level=debug msg="nats: subscribed to subject EventTestTopic" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T17:59:54.8054396+03:00" level=info msg="dapr initialized. Status: Running. Init Elapsed 3355.6849ms" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:54.8054396+03:00" level=debug msg="Processing NATS Streaming message EventTestTopic/1" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T17:59:55.0639973+03:00" level=warning msg="DROP status returned from app while processing pub/sub event 86ba42de-4874-46d1-8991-c36b78d56a51" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:55.0645752+03:00" level=debug msg="Processing NATS Streaming message EventTestTopic/2" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T17:59:55.2025044+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T17:59:55.2027688+03:00" level=info msg="Error processing operation component[messagebus] input. Retrying..." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:05.2527356+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:05.2529182+03:00" level=error msg="Error processing NATS Streaming message: EventTestTopic/2. Retrying..." app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:10.2671133+03:00" level=debug msg="Processing NATS Streaming message EventTestTopic/2" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:10.2879758+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:10.2879758+03:00" level=info msg="Error processing operation component[messagebus] input. Retrying..." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:20.3201225+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:21.4601797+03:00" level=debug msg="Refreshing all mDNS addresses." app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:21.4601797+03:00" level=debug msg="no mDNS apps to refresh." app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:25.3225501+03:00" level=debug msg="Processing NATS Streaming message EventTestTopic/2" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:25.3437858+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:25.3440371+03:00" level=info msg="Error processing operation component[messagebus] input. Retrying..." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:35.3779068+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:40.3867654+03:00" level=debug msg="Processing NATS Streaming message EventTestTopic/2" app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:40.4129234+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:40.4129234+03:00" level=info msg="Error processing operation component[messagebus] input. Retrying..." app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:50.4535369+03:00" level=warning msg="retriable error returned from app while processing pub/sub event b355dfa2-031b-4bc7-80aa-ef9ef4dc8f1f, topic: EventTestTopic, body: . status code returned: 500" app_id=app instance=PF1SE31X scope=dapr.runtime type=log ver=1.7.0
time="2022-04-13T18:00:51.4729261+03:00" level=debug msg="Refreshing all mDNS addresses." app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0
time="2022-04-13T18:00:51.4729261+03:00" level=debug msg="no mDNS apps to refresh." app_id=app instance=PF1SE31X scope=dapr.contrib type=log ver=1.7.0

@Admiralkheir this is now fixed and will come out in 1.8: https://github.com/dapr/components-contrib/pull/1760.

@Admiralkheir this is now fixed and will come out in 1.8: #1760.

ty for effort @yaron2


Update jsDelivr links

jsDelivr switched to a fully automated system, that can serve files from npm and GitHub. This means all future releases will be available automatically, but will use a new link structure.
I updated the links now so you don't forget to do it when you release a new version.
You can find links for all files at https://www.jsdelivr.com/package/npm/graphiql-workspace.
Feel free to ping me if you have any questions regarding this change.

Thanks! 👍


./scripts/lsync.sh cannot sync files under zh-cn correctly.

This is a Bug Report
./scripts/lsync.sh cannot sync files under zh-cn correctly.
This problem should exist with  $LOCALIZED more than 2 characters.
** When happened
when zh -> zh-cn
see https://github.com/kubernetes/website/pull/34215

Proposed Solution:
./scripts/lsync.sh needs to be updated
EN_VERSION=`echo $LOCALIZED | sed "s/content\/..\//content\/en\//g"`

to
EN_VERSION=`echo $LOCALIZED | sed "s/content\/.\{2,5\}\//content\/en\//g"`

/cc @temnqm @howieyuen
/language zh

/triage accepted

I found this problem when reviewing this PR https://github.com/kubernetes/website/pull/34556/files, the commit time of the en version is later than the zh-cn version, but ./script/lsync did not correctly find the difference between the 2 versions.

nice catch!


Bug : Have to connect with TIA to use library

Hello there,
I use the library for a project with ~10 S7-1212C. It works nearly fine, but it stills a bug :
The connection with the PLC works only if I was connected with it by TIA Portal at less one time. This means not to reboot the computer or I have to launch and connect each time with TIA.
I actually don't know why. If you have an answer or the same problem, please let me know right here.
Thank you
PS : sorry for my poor english

Up
Same here.

As a reminder, the solution is to update the firmware of the plc.

Closing as it is related to old firmware. Upgrading the plc firmware was the solution.


Support KNP Menu

AdminLTEBundle supported KnpMenu, which was nice.  It's a powerful library.
I see that the key for knp_menu support is in the config, but if it's enabled it fails, because knp-menu.yml is missing from the config.
I've added that file, but of course the rendering doesn't work.  @kevinpapst , is that something you can bring over from the old bundle?  Especially since it looks like we should have vertical menu support soon.

If someone wants to provide the code via PR 🎉 I don't mind testing and merging it.
It seems to be a well known and wide spread package...
But I don't use it and have no need for it, so I will not put my time into it.

But the question is, can we add this without add knp menu as dependency?

I think it's:)
https://github.com/kevinpapst/AdminLTEBundle/blob/master/composer.json

Yes, would go into require-dev


Fix renderer switching in MainApplication

I implemented a new renderer (the PhotoStudio one), but it's not yet possible to switch between renderers using the MainApp's combobox. I saw a lot of commented functions about this (in Viewer class and MainApp) but it seemed to be buggy when I uncommented them..
Have you got an idea about how we could handle renderer switching correctly ?

Is this related to #216  ?

Yes. this two issues are the same.
I'm closing this one.


NEWARRAY - set basetype, and set typecode to T_REFERENCE

op should set basetypecode.
op should set typecode to T_REFERENCE.

done.


fix: missing whitespace in Makefile when specifying LOCAL_VOLUME_ARGS

Checklist

[x] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[x] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

/ok-to-test

Hi @mayaCostantini
Thank you for fixing this. Unfortunately, our CI is set up in such a way that it does not look possible to get it to pass on your PR. I re-created your PR in https://github.com/stackrox/stackrox/pull/12938, that passed CI and I merged it.
I did something wrong there so your authorship did not get well attributed in the commit log (here). Sorry about that. That's something for me to do better next time.
I'm closing this PR as done.


GOverlay

Project description
GOverlay is a GUI to manage graphical overlays such as vkBasalt and MangoHud.
Metadata

homepage URL: https://github.com/benjamimgois
source URL: https://github.com/benjamimgois/goverlay
license: gpl3
platforms: linux

@TheEvilSkeleton I have GOverlay packaged in my NUR repo, but I don't think it would make sense to submit a pull request until MangoHud and vkBasalt are in nixpkgs.

@TheEvilSkeleton I have GOverlay packaged in my NUR repo, but I don't think it would make sense to submit a pull request until MangoHud and vkBasalt are in nixpkgs.

I appreciate it a lot. Unfortunately, I left NixOS and switched from NixOS due to having so many issues with gaming, Lutrix, GNOME, etc. I'm still looking forward to this. Thank you so much

@TheEvilSkeleton Aww that's frustrating, NixOS can definitely a pain some times, but I find it worth it. Hopefully we will see you back again when things are better. I'm not a huge gamer, but I've managed to deal with all the issues I've had so far with gaming.

@MetaDark I'm planning to join back anyway sooner or later. I love configuration.nix, and Flatpak has helped a LOT. The only the problem currently is that there's no official Lutris Flatpak, so I can't really play any games from Lutris since the official package in nixpkgs was quite broken

@TheEvilSkeleton My only issue I had with Lutris was that it crashed when the file dialog was opened, but that was fixed in https://github.com/NixOS/nixpkgs/issues/90645. Did you have any other problems?

@MetaDark Lutris was just not launching games, but I will try it someday, once I have the time for that.
I just realized that I could've and should've created an issue when I had this problem

Up!

Up!


Bug: Restarting rootless containers with published ports fails (coredump)

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When running a container with a published port (rootless) like so:
podman run -dt -p 8080:80 docker.io/library/httpd:2.4

And restarting the container afterwards:
podman restart -l

One will get an error like:
Error: failed to expose ports via rootlessport: "listen tcp <IP_ADDRESS>:8080: bind: address already in use\n"

and the container will be stopped. Starting the container via start afterwards works fine. A coredump will be created via systemd:
Mai 05 10:52:52 nb01 systemd-coredump[9161]: Process 9009 (exe) of user 1000 dumped core.

                                             Stack trace of thread 9019:
                                             #0  0x000055fc0cc93701 runtime.raise (podman + 0xb6d701)
                                             #1  0x000055fc0cc779ae runtime.sigfwdgo (podman + 0xb519ae)
                                             #2  0x000055fc0cc762e4 runtime.sigtrampgo (podman + 0xb502e4)
                                             #3  0x000055fc0cc93a73 runtime.sigtramp (podman + 0xb6da73)
                                             #4  0x00007f0c6728ca90 __restore_rt (libpthread.so.0 + 0x14a90)
                                             #5  0x000055fc0cc93701 runtime.raise (podman + 0xb6d701)
                                             #6  0x000055fc0cc7757a runtime.crash (podman + 0xb5157a)
                                             #7  0x000055fc0cc607f6 runtime.fatalpanic (podman + 0xb3a7f6)
                                             #8  0x000055fc0cc60191 runtime.gopanic (podman + 0xb3a191)
                                             #9  0x000055fc0cc31b29 runtime.chansend (podman + 0xb0bb29)
                                             #10 0x000055fc0cc31545 runtime.chansend1 (podman + 0xb0b545)
                                             #11 0x000055fc0dba359f github.com/containers/libpod/pkg/rootlessport.parent.func1 (podman + 0x>
                                             #12 0x000055fc0dba2ad8 github.com/containers/libpod/pkg/rootlessport.parent (podman + 0x1a7cad>
                                             #13 0x000055fc0dba3418 github.com/containers/libpod/pkg/rootlessport.init.0.func1 (podman + 0x>
                                             #14 0x000055fc0dee44ab main.main (podman + 0x1dbe4ab)
                                             #15 0x000055fc0cc62c2a runtime.main (podman + 0xb3cc2a)
                                             #16 0x000055fc0cc91b21 runtime.goexit (podman + 0xb6bb21)
-- Subject: Process 9009 (exe) dumped core

information

OS: Fedora 32 Silverblue
Podman: 1.9.1

Believe this is a dupe of #6018 - can you verify the fix there resolves this?

@mheon afaik, therefore I need to build podman on my own, correct?
Will have a look.

Should be fixed, closing


Get user gmail info

How can i get user info like id, email of user by this scope: " https://www.googleapis.com/auth/userinfo.email  " ?

In lib file (googleAuth.js), you can change tasks scope to this:
scope : (o.scope) ? o.scope : ['https://www.googleapis.com/auth/plus.login', 'profile', 'email', 'openid'],

I try to change scope but i can't find any information of user in response. Can you help me get this solution?

I also got the response only here: https://developers.google.com/oauthplayground/
Within app, there is nothing I got and still trying.

I have got this solution. After get the tokens, we must request 1 url to google server to get information type:
https://www.googleapis.com/oauth2/v1/userinfo?access_token=ACCESS_TOKEN&alt=json&v=2&key=DEVELOP_KEY

Hey, that worked. Thanks...
You got your problem solved?
Do you know how this url will work: https://www.googleapis.com/auth/plus/v1/people/ ?

Send request to :https://www.googleapis.com/plus/v1/people/userId
with param userId, method :get . You can see more at link:
https://developers.google.com/+/api/latest/people/get

I have write some code to get information of user after authorize:
/// in googleAuth.js
var API_URL = 'https://www.googleapis.com/oauth2/v1/';
var devKey = "YOUR_DEV_KEY";
var OAUTH_URL = 'https://accounts.google.com/o/oauth2/';
function callMethod(args, callback, getToken) {
var params = args.params;
var method = args.method;
var call = args.call;
	var paramsString = "";
	try {
		var xhr = Titanium.Network.createHTTPClient();
		if (params && method === 'GET') {
			for (var a in params) {
				paramsString += '&' + Ti.Network.encodeURIComponent(a) + '=' + Ti.Network.encodeURIComponent(params[a]);
			}
			if (_prop.accessToken !== null || _prop.accessToken !== undefined)
				var url = API_URL + call + '?access_token=' + _prop.accessToken + '&alt=json&v=2&key=' + devKey + paramsString;
			Ti.API.info('url: ' + url);
			xhr.open("GET", url);
		} else if (method === 'POST') {
			if (getToken) {
				xhr.open('POST', OAUTH_URL + call);
			} else {
				xhr.open('POST', API_URL + call + "?alt=json&v=2&access_token=" + _prop.accessToken + '&key=' + devKey);
			}
		}

		xhr.onerror = function(e) {
			Ti.API.error("GoogleService ERROR " + e.error);
			Ti.API.error("GoogleService ERROR " + e);
			if (callback) {
				callback({
					error : e,
					success : false
				});
			}
		};

		xhr.onload = function(_xhr) {
			if (callback != undefined) {
				callback({
					error : null,
					success : true,
					data : xhr.responseText
				});
			}
		};

		if (method === "POST") {
			xhr.send(params);
		} else {
			xhr.send();
		}
	} catch(err) {
		Ti.UI.createAlertDialog({
			title : "Error",
			message : String(err),
			buttonNames : ['OK']
		}).show();
	}

};

/// add this line in return:
callMethod: callMethod
///usage
sync.addEventListener('click', function() {
	googleAuth.isAuthorized(function() {
		Ti.API.info('Access Token: ' + googleAuth.getAccessToken());
		//user is authorized so do something... just dont forget to add accessToken to your requests
		var params = {
			params : [],
			call : 'userinfo',
			method : 'GET'
		};
		googleAuth.callMethod(params, function(e) {
			Ti.API.info('info ' + JSON.stringify(e));
		}, null);
	}, function() {
		//authorize first
		googleAuth.authorize(function(e) {
			Ti.API.info('function callback ' + JSON.stringify(e));
			var params = {
				params : [],
				call : 'userinfo',
				method : 'GET'
			};
			googleAuth.callMethod(params, function(e) {
				Ti.API.info('info ' + JSON.stringify(e));
			}, null);
		});
	});
});

Why whould you change scopes in lib file or something in the lib file? There is parameter in the googleAuth object for scopes
var googleAuth = new GoogleAuth({
    clientId : 'CLIENT_ID',
    clientSecret : 'CLIENT_SECRET',
    propertyName : 'googleToken',
    scope : ['https://www.googleapis.com/auth/tasks', 'https://www.googleapis.com/auth/tasks.readonly'],
    loginHint<EMAIL_ADDRESS>});

The library is only doing authentication and provides you with access token. This token then you can use for calling Google APIs to get information that you need.
There is example app that is getting google tasks for that account.

Thanks @ejci and @kimnamcham, your solutions worked for me.
For Request queries, we can use this: https://developers.google.com/apis-explorer/#p/

Thnx all for the great work. I am having problem to get userinfo. @kimnamcham I followed all the steps and the code will run without any error but at the end I wl get nothing.

Dont change the library. If you change it I cant help you because I don't know what you changes.
Library provides you only the authorization and gives you access token that you can use in your other requests.
Check the example app no how to get tasks/user info.

I really do appreciate your feedback @ejci Miroslav Magda. I did not change it I only changed the scope in global Alloy.js. However, if I even run the sample app, I would not get the tasks. It only provides login feature and then opens an empty window. I am sorry for bothering you and I hav to admit am newbie to titanium. Would greatly appreciate if you could give me a bit of hint on how to use the given access token. Thnx in advance

Did you configured everything properly in google console?

Yep. I was doing these for almost 10 days. Everything configured. Otherwise "login in" would not be possible. I would get the menu : sync or login. Then I wl click login it will redirect me google account login page and after login in, it will take me to an empty page. Btw am testing it on andriod S4 phone and In the google console I choose web. Is that a problem?

So thats the problem... You should use "installed application"
https://github.com/ejci/Google-Auth-for-Titanium/issues/4

Is it working? If not pls share your code so I can reproduce the behavior.

I am still doing it. Sure. I wl let you know.
On 16 April 2015 at 02:59, Miroslav Magda<EMAIL_ADDRESS>wrote:

Is it working? If not pls share your code so I can reproduce the behavior.
—
Reply to this email directly or view it on GitHub
https://github.com/ejci/Google-Auth-for-Titanium/issues/6#issuecomment-93532615
.

Yep. Great. It is working fine. Thanx you for your help. Much appreciated. However, I am still having problem on how to use token to display userinfo such as email


High CPU Usage

Hi,
Please I need your help.
Is RealtimeEventLoop  expected to consume more CPU usage than EventLoop?
Please see this issue from Chromely and my RealtimeEventLoop .
I will revert back to EventLoop but just want be sure that this is expected and not something that I am doing wrong.

Yes. RealtimeEventLoop will use 100% of the CPU. It's meant for games and the likes that wants complete control over the event loop. Please look at https://github.com/prasannavl/WinApi/blob/master/WinApi/Windows/EventLoop.cs#L62 vs https://github.com/prasannavl/WinApi/blob/master/WinApi/Windows/EventLoop.cs#L45 for the differences. It use the PeekMessage on a loop instead of GetMessage intentionally.

PS: I also looked at your HostEventLoop. You've basically re-implemented your own loop. All EventLoop variations in this library are just helpers to accomplish the same. So, you don't even need to derive it from EventLoopCore.  That aside, you're still looping through the message queue with PeekMessage constantly. When you use PeekMessage that way, it's your responsibility to wait, or it will use 100% of the CPU.
Look at this this way if it helps, if you have to override RunCore, you probably don't have to use any of the EventLoop anyway. It's your own loop now.

Thanks a lot!

Happy to help. But use caution if you pick the Peek + Get route, as it only works for one-shot. You're mostly better off with just using GetMessage, swallowing the message, and dispatching it on your own again if you want to do it for all messages.

I was trying to deal with Idle process and stepped on my foot in the process.
I will revert back to GetMessage and leave Idle part to user customization.
Thank you.


rule|text|BR-BT-00105-0108 - wrong message text in every SDK since 1.7?

the rule to which this message text is related looks as follows (in efx):
"value" : "{ND-ProcedureTenderingProcess} ${(OPP-070-notice in ('32','35') and BT-105-Procedure in ('neg-wo-call','oth-single','oth-mult')) or not(OPP-070-notice in ('32','35')) or not(BT-105-Procedure is present)}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00105-0108"
The message-text is like this:  If 'Notice type' (BT-02) is 'Contract award notice – general directive, standard regime' or 'Contract or concession award notice – light regime' and 'Legal basis' (BT-01) is 'Directive 2014/24/EU' or 'Directive 2014/25/EU', then 'Type of procedure' (BT-105) must be 'Negotiated without prior call for competition', 'Other single stage procedure' or 'Other multiple stage procedure'
It seems as if the rule should be given another message text.

Hi,
Indeed, the message should refer to Directive 23 instead; This is a known issue with few more similar cases that we aim o fix with SDK 1.10 and backport to previous versions.

Thnak you, I might have fo8und another in the rule itself. 'neg-w-call' should also be listed in the value-'s list.

Thanks,
Indeed, multiple messages were missed up in a previous labels update and we are looking into it for a bulk action.


AttributeError: 'VocabWeightHandler' object has no attribute 'name'

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras):
https://colab.research.google.com/drive/1BD9G1o7CNxAaKKyihCKx0wa1zW-tmn0r?usp=sharing
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below): 2.6.0
Python version: 3.8
Bazel version (if compiling from source):
GPU model and memory:
Exact command to reproduce:

Describe the problem.
Tensorflow profiler crashes when using string categorical layer, not allowing to profile models with those layers.
Maybe the same issue

Facing the same issue. I am not sure how to profile my model without it.


Add user feedback

After detection result is shown, discretely ask for user feedback. If feedback is negative, user should select one of the following wear codes as issue:

None
BuildupOnCuttingEdge
FlankFaceWear
CraterWear
Fractures
PlasticDeformation
NotchWear
ThermalCracking
Galling
MouldEdgeWear

Tasks:

[ ] User can select positive or negative feedback.
[ ] In case of positive feedback, send request to Feedback API immediately.
[ ] In case of negative feedback, require user to fill in most probable cutting tool issue, including no issue at all. User can provide optional textual comment. Send negative feedback to Feedback API.

Change after final design is submitted.


tooling: restoring runtime fatal-by-defaults and changing to fully qualified

Changing from relative name to absolute name, and fixing the fatal-by-defaults that were broken by the v3 switch.
The old way to allow fatal-by-defaults was
envoy.deprecated_features:proto_file.proto:field_name
the new way is
envoy.deprecated_features:full.namespace.field_name
When we switched to v3, all the hard-coded v2 names stopped working.  This reinstates them via hopefully more permanent proto annotation.
The only remaining ugly bit is that unfortunately the full namespace and field name are the v3 versions even if the original config was v2.  Between @htuch and I we should fix that before merging.
Risk Level: Medium
Testing: added new unit tests
Docs Changes: updated
Release Notes: n/a

I think I addressed reviewer comments.
Still trying to figure out how to propagate the new tags with the proto tools so I can actually annotate things.  Prior attempts were wiped out by fix_format :-(

Thanks this makes sense to me at a high level. Agree either (1) or (2) SGTM.

One more meta comment, I think if we're fully qualifying I'm inclined to drop the filename from the name.
When converting things over it turns out at least one thing has changed file locations.  I doubt it happens often but if we do that in future we'd break folks' guards.

I think removing filename is reasonable.

UGH, we have yet another problem.
Because of the way we convert protos, our warning and disabling is now based on whatever Envoy head thinks it's using
so now that we're fully qualifying the v2 test for the deprecated field "runtime key" complains that you're using the deprecated
envoy.deprecated_features:envoy.config.route.v3alpha.RouteAction.RequestMirrorPolicy.hidden_envoy_deprecated_runtime_key
which is pretty terrible, because every time we api upgrade we'll break folks runtime guards
paging in @htuch - even if we dropped the bit where we fully qualify, the field rename from foo to hidden_envoy_foo is pretty crummy.

Ok, a bit more context for @htuch
This PR is almost good to go.
The problem I'm encountering is visible in test/common/router/config_impl_test.cc
the test sends a v2 API proto, it hits source/common/protobuf/utility.cc
That determines that the v2 field "runtime_key" is no longer allowed and unhelpfully informs the user that they're using envoy.deprecated_features:envoy.config.route.v3alpha.RouteAction.RequestMirrorPolicy.hidden_envoy_deprecated_runtime_key
What would be good is if in checkForUnexpectedFields rather than use
absl::StrCat"envoy.deprecated_features:", field->full_name()),
I could swap full_name for full_original_name per the oracle we discussed.

@alyssawilk tracking the API oracle work at https://github.com/envoyproxy/envoy/issues/9612

Hm, so with @htuch's latest merged, I'm now getting runtime failures unless we flag both the v2 paht and v3 alpha path as OK.
Looking into it....

/azp run


Login

Endpoint: /api/auth/login
Method: POST
Description: Authenticates users by verifying their email and password.
Authorization Required: No
Parameters:
Email: User's email address.
Password: User's password.
Validations:
Email Address:
Must be in a valid email format.
Ensure the email is registered in the database before attempting to authenticate.
Password:
Must not be empty.
Validate the password against the hashed password stored in the database.
Feedback:
Provide clear messages for authentication failures, such as "Invalid email or password" without specifying which is incorrect for security purposes.
Note: Add test cases for all scenarios

@alexboateng I want to work on this issue

@alexboateng I want to work on this issue


Does ora support DRCP?

As titled ,does ora support DRCP(Database Resident Connection Pooling) ?
In my project, I need to specify the server type as POOLED via the connect string as shown below:
dsn := "my_oracle_host:1521/orcl/POOLED"
#dsn1 := "my_oracle_host:1521/orcl/sales:POOLED"
srvCfg := ora.SrvCfg{Dblink: dsn}
srv, err := env.OpenSrv(srvCfg)
if err != nil {
 log.Fatal("env.OpenSrv(srvCfg) occurs error:", err)
}
sesCfg := ora.SesCfg{Username: av.UserName,Password: av.Password}
sespool := srv.NewSesPool(sesCfg, size)

But this doesn't work. I got this error:
env.OpenSrv(srvCfg) occurs error:Env.OpenSrv Env.ociError ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

No matter use dsn or use dsn1, the error remains the same.
Someone show me how ?

I don't understand this "my_oracle_host:1521/orcl/POOLED" as a connection
string - neither does OCI.
Please use the string returned by "tnsping
your-desired-db-sid-as-your-tnsnames-ora-understands", that lispy thing.
Nancy<EMAIL_ADDRESS>ezt írta (időpont: 2017. márc. 27., H,
10:16):

As title ,does ora support DRCP(Database Resident Connection Pooling)
http://www.oracle.com/technetwork/articles/oracledrcp11g-1-133381.pdf ?
In my project, I need to specify the server type as POOLED via the connect
string as shown below:
dsn := "my_oracle_host:1521/orcl/POOLED"
#dsn1 := "my_oracle_host:1521/orcl/sales:POOLED"
srvCfg := ora.SrvCfg{Dblink: dsn}
srv, err := env.OpenSrv(srvCfg)
if err != nil {
log.Fatal("env.OpenSrv(srvCfg) occurs error:", err)
}
sesCfg := ora.SesCfg{Username: av.UserName,Password: av.Password}
sespool := srv.NewSesPool(sesCfg, size)
But this doesn't work. I got this error:
env.OpenSrv(srvCfg) occurs error:Env.OpenSrv Env.ociError ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
No matter use dsn or use dsn1, the error remains the same.
Someone show me how ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rana/ora/issues/178, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPoSrWWH3-A-8X34AOhIUgoNmcRhC4Kks5rp3BkgaJpZM4Mp7XU
.

Oh no, my_oracle_host just a alias for my database ip.
Actually I used "<IP_ADDRESS>:1521/orcl/sales:POOLED" as a connection string.
In my earlier code, I used "<IP_ADDRESS>:1521/orcl/", this works, but when I use the SQL select username, server from v$session where username is not null; , I found that my server type is DEDICATED, This is not I wanted, I need to  specify the server type as POOLED . According DRCP(Database Resident Connection Pooling),In this article, it shows that I can specify the server type as POOLED via the connect string as "myhost.dom.com:1521/sales:POOLED".  So I came up this  connection string :"<IP_ADDRESS>:1521/orcl/sales:POOLED", but is seems not right.

That's why I suggest you to use tnsping to get the canonical connection
string, and use that.
Nancy<EMAIL_ADDRESS>ezt írta (időpont: 2017. márc. 27., H,
10:33):

Oh no, my_oracle_host just a alias for my database ip.
Actually I used "<IP_ADDRESS>:1521/orcl/sales:POOLED" as a connection
string.
In my earlier code, I used "<IP_ADDRESS>:1521/orcl/", this works, but when
I use the SQL select username, server from v$session where username is
not null; , I found that my server type is DEDICATED, This is not I
wanted, I need to specify the server type as POOLED . According DRCP(Database
Resident Connection Pooling)
http://www.oracle.com/technetwork/articles/oracledrcp11g-1-133381.pdf,In
this article, it shows that I can specify the server type as POOLED via the
connect string as "myhost.dom.com:1521/sales:POOLED". So I came up this
connection string :"<IP_ADDRESS>:1521/orcl/sales:POOLED", but is seems not
right.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rana/ora/issues/178#issuecomment-289388259, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPoSppKdtKV7W595z2OUZDS68BXA2ZQks5rp3RugaJpZM4Mp7XU
.

See "Page 4" in the linked article.

But we don't have OCISessionPoolCreate yet.
Any suggestion about how to mark that you want such a pooled connection and not a normal?

Hmm. I need to OCIConnectionPoolCreate + OCIServerAttach + OCISessionBegin and must propagate the pool name throughout
OR just use OCIConnectionPoolCreate + OCISessionGet.
But the latter skips OCIServer altogether, so we should skip Srv too, merge SrvCfg to SesCfg.
Big undertaking, but maybe simplifies a lot of code, and the usage, too.
But this indicates ora.v5 ...

Why do you want DRCPool?
As I understand, that's a DB-side poor man's connection pool - I say it's inferior, because you have to create the TCP connection and authenticate anyway. It may help only for short lived processes - but you use a Go server, don't you?
A client-side connection pool is waaay more effective. And we have one right at hand: ora.Pool.

I know what you mean, and yes we use a Go server.
In the actual production environment, we have thousands of client-side applications, and the quantity of applications is growing fast. If each client-side application use a connection pool,that would be a disaster because the DB connection resource is limited. However, ora.Pool use default server type DEDICATED, this specify DB sever to run each connection as DEDICATED which is quite a wast of connection resource. To handle thousands of client-side applications cooperating with Oracle DB efficiently, we need to specify the server type as POOLED, this lead DB server allowing for sharing the pooled servers across different instances of the same application,which saves a lot.

Hum, ora doesn't have to provide DRCPool like SesPool 、SrvPool or Pool, just provide a way to let user tell DB Server run each connection as POOLED, this would be fine. I thought, maybe you can start with ora.SplitDSN(dsn string).

@Nany, that doesn't that simple: now we use ServerAttach + SessionBegin +
SessionEnd, for DRCPool we need SessionPoolCreate + SessionGet +
SessionRelease, as DRCPool is a hacked seasionpool under the hood.
But the end will be SplitDSN :)
Nancy<EMAIL_ADDRESS>ezt írta (időpont: 2017. márc. 29., Sze
3:55):

Hum, ora doesn't have to provide DRCPool like SesPool 、SrvPool or Pool,
just provide a way to let user tell DB Server run each connection as
POOLED, this would be fine. I thought, maybe you can start with ora.SplitDSN(dsn
string).
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/rana/ora/issues/178#issuecomment-289958447, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPoStiL1e_WY5A89TvlkQOy_ZxlX3b0ks5rqbn4gaJpZM4Mp7XU
.

@vamkaxifa You could test the "cpool" branch.
And it would be great if I could test some DRCPool, too!
Is it possible with Oracle XE? Can you give me the exact steps needed to create a DRCPool on an XE db?

@vamkaxifa Eventually I could test with DRCPool, fixed a few small errors, now all tests pass!

That's fantastic ! Maybe I'll have a try if I got time !


[Overlapping] Blurry graph ad weird automated min/max

Blurry Graph
When min is highly above max, the graph gets blurry
https://github.com/bancorprotocol/carbon-app/assets/8143464/7e1bdfb1-b66c-491a-83ef-2e6c73f9db75
Automated min/max
When setting min > max, max is updated but then min is updated again. I think the problem comes from the calculation for small values.
https://github.com/bancorprotocol/carbon-app/assets/8143464/c9a23db8-b7a5-47dc-9155-6f239730c62a

at this stage, not worth the time to fix. keeping this open until further notice

#1004


Search is not working on live

Hi team,
Automatic search popup is not working on live but its working on local.

live 👍

please let me know where i mistake.

It seems search only work for the primary language too.

Are you running in HTTPS mode, by any chance?
I ran into the same problem (#76) until I noticed that I had set baseurl to "http:..." instead of "https:...". Once fixed in config.toml, it all started to work brilliantly.

Thanks Both of you for help. Now search is working on live too.


#243: Replace 'eye' icons

What is the source / license of this icon?

@sini-maaria attached these icons, please see her comment
P.S. I'm not sure about the license


refactor: separate into crates

Summary

This PR breaks the wnfs crate into separate smaller crates and attempts to fix some of import cycles in the project
This is necessary to keep the core fs implementation lean and isolate concerns.
Test plan (required)
scripts/rs-wnfs.sh test

Closing issues
Closes https://github.com/wnfs-wg/rs-wnfs/issues/183

cargo doc generates two warnings for me:
warning: unresolved link to `crate::private::Node`
  --> wnfs-hamt/src/hamt.rs:23:82
   |
23 | ...de`](crate::private::Node).
   |         ^^^^^^^^^^^^^^^^^^^^ no item named `private` in module `wnfs_hamt`
   |
   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default

warning: unresolved link to `crate::HashOutput`
  --> wnfs-hamt/src/hash.rs:13:19
   |
13 | /// [HashOutput]: crate::HashOutput
   |                   ^^^^^^^^^^^^^^^^^ no item named `HashOutput` in module `wnfs_hamt`

warning: `wnfs-hamt` (lib doc) generated 2 warnings


when converting dataset to wds, data is getting larger.

this is my code:
with wds.ShardWriter(pattern.format(proc_id), maxsize=int(1e10), maxcount=int(1000000)) as sink:

    for i in tqdm(idx_list):
        text, image = old_ds[i]
        key = uuid1().__str__()
        sink.write({
            "__key__": key,  # uuid
            "input.jpg": image,  # PIL image
            "input.txt": text,  # a string
        })

My dataset is composed of 880k image-text pairs and it was 202G in LMDB format(same as small single image files on the disk, image stored as base64)
When converting to wds, it became 474G
I saw the issues before, but the dataset still getting larger when trying tar.gz ..

By default, you need at least as many shards as there are workers, since shards get split among workers. You can split your .tar file into multiple shards using tarp split. Alternatively, you can also use the same shard in each worker and then subsample training samples from each of the streams.

You have about 500k/image. The tar overhead per image is about 1k, so the dataset should be at most 0.2% larger.
Is it possible that you stored the images in JPEG format in LMDB and in PNG format in WebDataset? That would account for the difference.
You should pretty much always use JPEG format, since it's the fastest encoder/decoder and gives good compression.

Just want to add a comment here is that when I inspect my old webdataset tar files, I observe similar behavior: the tar files seem to be quite larger than the images stored inside. I did a small experiment: untar a shard packed by webdataset library, then tar it again using tar CLI -> the new tar file is ~20% smaller than the old one. I didn't investigate it much further. Might have to do with the tar format.
Not sure if the problem still persists for current webdataset version. I will investigate a bit more when I have time.


standard buffer

This was causing problems with my usage

@zwhitchcox, take a look at this note  in the documentation, it might help you.

I saw that, but I guess I just don't understand why not just eliminate the problem altogether?

@zwhitchcox, I am working on an overall dependency reduction that introduces this change. I will update this PR when it is ready.

Oh, ok, so shall I close this issue, or do you want me to keep it open?

@zwhitchcox, keep the PR open for now so I can check for reference.

Closed for #133