The paths are not suitable.

Hi guys,
When I try to test on icdar13table, I have followed the guides in REAME.md. However, I face a problem when run the test_icdar13table.sh .

In files: text.txt, train.txt, and val.txt in folder icdar13table, the paths to pkl files are not suitable to the construction that you guide in README, for example: /data/xuewenyuan/data/icdar13table/gt/eu-012_3_1_0.pkl. I think it should be './datasets/icdar13table/gt/eu-012_3_1_0.pkl'. Fortunately, this problem can be easily solve by replace method.
The other problem appear in the following stacktrace, I beleive that the paths in pkl file are wrong.

Traceback (most recent call last):
  File "test.py", line 27, in <module>
    evaluator = IC15Evaluator(opt)
  File "/home/ubuntu/trihuynh/TGRNet/util/evaluator_vis.py", line 19, in __init__
    self.gt_dict, self.scale_dict, self.gt_box_sum, self.masks = self.create_gt_dict(self.data_list)
  File "/home/ubuntu/trihuynh/TGRNet/util/evaluator_vis.py", line 141, in create_gt_dict
    table_img  = Image.open(table_anno['image_path']).convert("RGB")
  File "/home/ubuntu/anaconda3/envs/pytorch_p38/lib/python3.8/site-packages/PIL/Image.py", line 2953, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/data/xuewenyuan/data/icdar13table/image/eu-012_3_1_0.jpg'

These problem could be handle by refactor the structure of datasets. Besides, I suggest you change instructions in README or provide the other pkl 😃.
I didn't try on the others dataset so I don't know the status in them.

@hmtrii  Thank you for pointing it out. I'm too busy to update these recently. However, I think this is not a problem for most researcher and engineers.

Hi guys, When I try to test on icdar13table, I have followed the guides in REAME.md. However, I face a problem when run the test_icdar13table.sh .

In files: text.txt, train.txt, and val.txt in folder icdar13table, the paths to pkl files are not suitable to the construction that you guide in README, for example: /data/xuewenyuan/data/icdar13table/gt/eu-012_3_1_0.pkl. I think it should be './datasets/icdar13table/gt/eu-012_3_1_0.pkl'. Fortunately, this problem can be easily solve by replace method.
The other problem appear in the following stacktrace, I beleive that the paths in pkl file are wrong.

Traceback (most recent call last):
  File "test.py", line 27, in <module>
    evaluator = IC15Evaluator(opt)
  File "/home/ubuntu/trihuynh/TGRNet/util/evaluator_vis.py", line 19, in __init__
    self.gt_dict, self.scale_dict, self.gt_box_sum, self.masks = self.create_gt_dict(self.data_list)
  File "/home/ubuntu/trihuynh/TGRNet/util/evaluator_vis.py", line 141, in create_gt_dict
    table_img  = Image.open(table_anno['image_path']).convert("RGB")
  File "/home/ubuntu/anaconda3/envs/pytorch_p38/lib/python3.8/site-packages/PIL/Image.py", line 2953, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/data/xuewenyuan/data/icdar13table/image/eu-012_3_1_0.jpg'

These problem could be handle by refactor the structure of datasets. Besides, I suggest you change instructions in README or provide the other pkl 😃. I didn't try on the others dataset so I don't know the status in them.

Hello, have you solved this problem yet?

Hey, I realized that datasets doesn't have a folder for graph_edge, how did you fix it?


AzureDevOps Windows 2019 - AZCopy missing

Description
Windows 2019 - according to the official documentation it's still there
https://github.com/actions/runner-images/blob/main/images/windows/Windows2019-Readme.md (azcopy 10.25.1)
whilst in fact it  has been removed :
https://github.com/actions/runner-images/commit/89d72011e0cd8e10a4f178a194c04f873bf3757d
Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[X] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
20240624.1.0
Is it regression?
no
Expected behavior
AZ copy present
Actual behavior
AC copy missing
Repro steps
cd "C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy"

@bartchojnacki We are looking into the issue, we will get back to you after investigating this issue, Thanks.

Hi @bartchojnacki ,
Could you please confirm What is the Azcopy version you're using ?

hi @kishorekumar-anchala ,
There is no version number available in the pre-update logs.
If i understand the agent specification correctly it used to be 10.25.1, although I presume it was was slightly older. The problem is that - since the agent runner update -  it's missing at all from "C:\Program Files (x86)\Microsoft SDKs\Azure" directory (can't see any version at all)

Hi @bartchojnacki ,

The removal of AzCopy 8 from our images has impacted , but it was never explicitly installed and only came with Visual Studio 2019 as a dependency, which has now been removed due to its deprecation and lack of support. The Visual Studio team has confirmed they won't reintroduce it.
To ensure future compatibility, we advise transitioning to AzCopy 10, which is already installed and accessible.

Kindly refer below documentation:
Migration Guide from AzCopy V8 to V10
Troubleshooting and usage information for AzCopy

Hi @kishorekumar-anchala  - that explains, thanks!


Added example informations in readme

https://aottech.atlassian.net/browse/FWF-1867
Added example informations in readme.

looks good

reviewed


Quoted pairs

I originally only wanted to add a as_str_repr, a to_content method and fix equality comparsion wrt. to quoted-pairs but because Name was used for both names and values and names should be usable in
patterns this was not possible (to be usable in patterns derive(PartialEq) is required so no custom eq implementation). So I also had to split it into Name+Value.

I also ran the benchmarks and there where basically no changes in performance (the new version was a bit faster but only in a degree which can be cause by noise)

Wups, travis is still testing a quite a old rust version... I will fix this (I my code, not travis)

It might make change to raise the minimal rust version from 1.15.0 to the first stable rust version which supports pub(crate) which then would allow you have multiple modules instead of pseudo modules separated with // Name ==============. I originally had Name/Value in sub modules but
hade to throw them back into lib.
If its fine with you I would go through the crate and clean thinks a bit up after bumping
the minimal rust version, like e.g. spliting up the parsing function into multiple ones or
even better use nom for it, rename some of the fields like e.g. slash to slash_idx
etc. but that would be another pull request.

Wow, this looks legit. I'll need a moment to review, but wanted to answer your questions: it seems that this is a breaking change, by splitting to a new Value type. In that case, it seems fine to include an increase to the minimum Rust version (preferably not the absolute latest).
For utf-8 vs utf8, would it be a good idea to encode that possibility in the Value type itself, such that UTF_8 will equal either version, without needing 2 constants?

The rust version I would like to bump it to would be 1.18.0 as it is the first which allows pub(crate) in stable.
Wrt. utf8 I currently consider 3 options:

make Value and enum ( Utf8 / Other { source: &'a str })
move all special handling of utf8 in a method (either has_utf8_charset() on Mime or is_utf8() on Value)
remove all special handling for utf8 from Value but something like Pattern trait + impl<T> PartialEq<T> for Value where T: Pattern and a zero-sized UTF_8 type implementing Pattern (this still needs to be flushed out more)

The benefit of 1. is a faster comparison of utf8 but a very slightly slower comparison for any other param.
(Through not slower then currently, more like the same performance for everything except comparing a utf8 Value to a utf8 Value (not string) which is much faster)
The benefit of 2. is no special handling of utf8 anywhere but in the one method.
The benefit of 3. is that people can create there own Patterns.

I think it's best to go with 1. charset=utf8 is basically the most used mime  parameter, so that should be fine.
I also noticed that I made a mistake by assuming the PartialEq implementations for Mime use Name (now Name/Value) to compare parameters, but they don't. So I still have to fix that.
I also noticed that:

the comparsion of two Mimes depends on the order of the parameters, just that in the spec they are order independent
I have to take another look into where you can place whitespaces (i.e. text/plain  ;charset=utf8, charset = utf8 etc.)

Through I would leaf this for another pull request (should be combined into a single braking change).

I think there is a better way to fix all this, which is to "normalize" while parsing.
We do copy the string anyway when parsing, so we could do so and
normalize it:

strip linear whitespaces
make all case insensitive letters lowercase
replacing any unnecessary quoted pair with a unquoted one,
remove quoted where possible
special handle utf8 to replace any form of utf-8 (UTF8, Utf-8, ...) with utf-8

This would:

this removes any problem with utf-8 and utf8 and case sensitivity of utf8 wrt. converting the mime back to an string / Deref<Target=str>

through a Value of utf8 compared to a string still needs special handling

it also removes the problem that the mime crate can accept mimes which are valid but unusual
and might be rejected by other tools (e.g. r#"param="a\bc""# can be used but r#"param="abc""#
or better r#"param=abc"#  should be preferred)
make some comparisons faster (mainly Value to Value as they can memcmp, but also more values which are not quoted and can use memcmp in a Value to str comparision)

I'm not sure why I didn't do that from the beginning...
I will prototype and benchmark it now, to see if parsing is slower.

What you say sounds very reasonable! Does that mean you'd like to edit this PR more, or should I merge and you'd like to explore separately?

I originally wanted to work a bit more on the PR.
While doing so I reread all relevant RFC (parts) and came to the conclusion that long term parser parameters are needed.
So I will now just fix the comparison of Media Types with string to use Name/Value for comparison  and conclude this pull request and then continue to work on a rewriting the parser in a way which accepts parameters.

Why parameters are needed:
see new issue: https://github.com/hyperium/mime/issues/73

I cleaned thinks up a bit, should now be ready to be merged.
Note that I for now removed all special "utf8" (instead of utf-8) handling,
as the best way to making it work complete correct is to normalize while parsing
thinks into the internal buffer (called Source in the crate). Which I moved
to a later pull request due to the thinks in #73.

Awesome, thank you! (Sorry, I was off the internet completely for over a week).


style ;user-select: none; not removed after removeUserSelectStyles

addUserSelectStyles may be called twice.
removeUserSelectStyles removes only one entry.
How to reproduce: Chrome. Try to drag something when is selected text.
After resize is stopped ";user-select: none;" still exists in body.style.
Simple fix (DraggableCore.es6):
if (style.indexOf(userSelectStyle) === -1)
body.setAttribute('style', style + userSelectStyle);

Thanks. I really dislike this hack anyhow and would really rather add a className, but that gets tricky.
Could you submit a PR?

Never mind; just added it in latest commit; thanks for the report. Will be in the next release.

You fix will not work in IE, due to missing leading ;
Notable that this bug does not affected in IE :)
I suggest this method:
const userSelectStyle = `${userSelect}: none`;
...
  if (style.indexOf(userSelectStyle) === -1)
    body.setAttribute('style', `${style};${userSelectStyle};`);
}

Ah, you're right; we'll just reuse the RegExp for this exact purpose. Thanks.


add bebop 1 support for pan_tilt_camera command

Looks good.  I'll update the pip release and comment in that thread once it is posted.  Thank you!


Roll Flutter Engine from 280e9a7becad to 8a1ab4692ae0 (1 revision)

https://github.com/flutter/engine/compare/280e9a7becad...8a1ab4692ae0
2022-08-16<EMAIL_ADDRESS>Display list multiplexer (flutter/engine#35421)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


keystone/enhancement/issue-16-standarizeAPI

Can one of the admins verify this patch?

@cxoltero per the CONTRIBUTING.MD, please reference the issue this resolves, using the #

ok to test

@cxoltero
Maybe i missed it, but why was this closed?

I submitted 2 PRs, one containing the code in this one. I believe...


Disable cron

What is the problem that this PR is trying to fix?
Disable the cron to check docker health due to unintended side effects.
What approach did you choose and why?
How can you test this?
What feedback would you like, if any?

Closing in favor of https://github.com/travis-infrastructure/terraform-config/pull/287


CSS and Javascript files for the Admin not loaded

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
I deployed my project on the server but the Admin is only HTML, I followed the steps in this link (https://aminalaee.dev/sqladmin/cookbook/deployment_with_https/) and added the uvicoorn options but also it still not working and I am getting the same problem
Steps to reproduce the bug
No response
Expected behavior
No response
Actual behavior
No response
Debugging material
No response
Environment
Python 3.10 ,FastAPI, SQLAdmin
Additional context
No response

I have this issue too. Our setup is sqladmin with fastapi. Deployed on AWS behind a load balancer. LB terminates the ssl and forwards x-forwarded-proto=https header to the application.
1 deployment is served on subdomain foo.example.com and works and another is served on bar-foo.bar.example.com and doesn't work.
uvcorn is configured to trust proxy headers, this doesn't help.
Docs served via the same fastapi server - work with https as supposed.

Let's close this off in favor of the other one.


Update org.cups.usb-quirks

Fix for low speed USB raw data exchange due to Canon slow back-channel

Fixed in OpenPrinting CUPS


Update it.toml

Some parts were still in English. I translated them into Italian.
Describe your changes
I translated into Italian some portions that were still in English.
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @ar406,
first of all, thank you for your contribution! Unfortunately, I think we cannot accept this PR because the process we usually follow is different. PRs related to a particular language should be opened to the correct localization branch, and not to the main branch. In this case, you should use the branch dev-it.
However, the dev-it branch is currently a little behind main, so you will not find there the changes you want to apply with this PR. We are planning to open a PR to push all the current edits in dev-it to main these days, so you will find them shortly.
In the meantime, please consider joining our Slack channel to meet the Italian localization team. We are always happy to welcome new members!


Revert "Exclude mdsmtls from image and package release pipelines unti…

…l rollout is finished (#1224)"
This reverts commit c70beb87458fe8526b036ff8971d22cf3f1208c5.
/cc @ChaitanyaKulkarni28

/lgtm


Prettier broke Nuxt 1.4

Version
v1.4.0
Reproduction link
https://github.com/prettier/prettier/issues/4567
Steps to reproduce
TL;DR: Nuxt 1.4 is now broken either dev or prod mode.
Prettier 1.13 had a regression in Vue: https://github.com/prettier/prettier/issues/4567
Now Nuxt 1.4 uses vue-loader 13.7 which depends and uses old versions of component-compiler-utils.
There was a fix yesterday in component-compiler-utils to fix the regression of Prettier: https://github.com/vuejs/component-compiler-utils/pull/15
The new stable version of component-compiler-utils is 1.3.0.
In order nuxt to work properly and use the version with the fix, it should migrate vue-loader to 15.2 (as is in Nuxt v2).
What is expected ?
No error
What is actually happening?
Compilation error in 1.4

This bug report is available on Nuxt.js community (#c7164)

Hope the explanation is clear. My brain melted trying to explain the dependencies here 😄

It's also possible to use vue-loader versions 13.7.2 or 14.2.3 those are also hotfixed. (See https://github.com/vuejs/vue-loader/pull/1323). Nuxt 1.4 has a dependency for "13.7.0" which should be "^13.7.0" so it will use 13.7.2

Ah thanks @denniszon! Didn't notice this one. Then nothing to do here, newer will get picked up from nuxt 👍

When this is going to be fixed and released for nuxt 1.4.0. In nuxt's  package.json vue-loader version is still 13.7.0 instead of ^13.7.0

@Diolor I think you misunderstood me. I ment to say that Nuxt 1.4 is using the syntax "vue-loader": "13.7.0" in the package.json. Which is wrong and should use "vue-loader": "^13.7.0" so when you use npm it will retrieve version 13.7.2 instead of version 13.7.0 which it will retrieve at the moment. So this problem is not fixed at the moment.

@Diolor please open the issue till it is fixed. so that other users can refer.

@shivgarg5676 you can manually set the Vue-loader version until this is fixed:
"vue-loader": "13.7.2"

for this problem ,I review all my nuxt project ,
seems like even nuxt fixed 1.4.x  ... but if my project lock nuxt verion on 1.0.0.rc.8 or else
it will be problem forever ,
so , if want fix this problem without update nuxt
for yarn , can add resolutions to package.json and execute yarn install
...
"resolutions": {
    "prettier": "1.12.0"
  }
...

for npm , can npm i<EMAIL_ADDRESS>--save-dev
....
btw , I fixed my about 20 project yesterday ... >"<

For our projects we fixed it with: yarn add<EMAIL_ADDRESS>--dev or npm i<EMAIL_ADDRESS>--save-dev. No need for resolutions with this solution in the package.json

npm i<EMAIL_ADDRESS> 这个是降版本    因为是更新成1.13.0崩的

This should be fixed with the latest release of vue-loader. Simply use yarn upgrade :)

@pi0 This is fixed from vue-loader(13.7.2). But It will not get solved in nuxt repositories using nuxt version 1.4.0. Because in package-json of nuxt 1.4.0 vue-loader version is explicitly specified as 13.7.0 instead of ^13.7.0. So yarn update won't install the new version of vue-loader(it will not install 13.7.2(fixed one))
Please see this link to verify that this will not update vue loader version.
https://github.com/nuxt/nuxt.js/blob/v1.4.0/package.json
@Diolor  @pi0  Please reopen the issue. So that others can refer

@Diolor  @pi0  How can we solve this issue? Should we create a separate branch from tag 1.14.0 and do the changes in that branch and then build and publish npm package from that branch?

That's the correct way to go @shivgarg5676 💪

Just freakin put that ^ in there so everyone is happy. When nobody sends a PR here, I will do.

On master it' s already fixed, "just" need to tag 1.4.1 and publish I think

@14nrv As far as I see, master is for development of nuxt.js v2 right now.

@jankal sorry, I was thinking that nuxt-edge was only on the dev branch because it s v2.0.0 on the package.json and v1 on master

@14nrv sorry, I just checked back on master. Master is at 1.2.0 as package.json states.

when new release?
536 commits to dev since 1.4.0 release.

@sky-code
2.0.0 will be released in June.


When accessing ingress, remote_addr showed difference source ip

When accessing ingress, remote_addr shows inconsistent source ip
The source IP is sometimes a node IP, sometimes a tunnl0 IP.


Cannot get a token by label with lib.get_token

I'm using a SmartCard-HSM-4K-Mini-SIM that I've initialized with:
pkcs11-tool \
    --module opensc-pkcs11.so \
    --init-token \
    --init-pin \
    --so-pin<PHONE_NUMBER>383830 \
    --pin 648219 \
    --new-pin 648219 \
    --label test

And the token label ended up being:
pkcs11-tool --module opensc-pkcs11.so --list-slots
Available slots:
Slot 0 (0x0): Alcor Micro AU9560 00 00
  token label        : test (UserPIN)
  token manufacturer : www.CardContact.de
  token model        : PKCS#15 emulated
  token flags        : login required, rng, token initialized, PIN initialized
  hardware version   : 24.13
  firmware version   : 3.1
  serial num         : X
  pin min/max        : 6/15

But when I try to call lib.get_token('test (UserPIN)') it fails with:
Traceback (most recent call last):
  File "main.py", line 8, in <module>
    token = lib.get_token(token_label=token_label)
  File "pkcs11/_pkcs11.pyx", line 1544, in pkcs11._pkcs11.lib.get_token
pkcs11.exceptions.NoSuchToken: No token matching {'token_label': 'test (UserPIN)'}

The actual problem was revealed after enumerating the token labels with:
#!/usr/bin/python3

import os
import pkcs11
import binascii

lib = pkcs11.lib(os.environ['PKCS11_LIBRARY_PATH'])
token_label = os.environ['PKCS11_TOKEN_LABEL'] # pkcs11-tool --module opensc-pkcs11.so --list-slots

#token = lib.get_token(token_label=token_label)

for slot in lib.get_slots():
    token = slot.get_token()
    stripped_token_label = token.label.rstrip('\x00')
    print(f"token_label: `{token.label}` ({binascii.hexlify(token.label.encode('utf8'))} {type(token.label)} {len(token.label)})")
    print(f"token_label: `{token_label}` ({binascii.hexlify(token_label.encode('utf8'))} {type(token_label)} {len(token_label)})")
    print(f"equals? {token.label == token_label}")
    print(f"equals? {stripped_token_label == token_label}")

Which returned:
token_label: `test (UserPIN)` (b'7465737420285573657250494e29000000000000000000000000000000000000' <class 'str'> 32)
token_label: `test (UserPIN)` (b'7465737420285573657250494e29' <class 'str'> 14)
equals? False
equals? True

So it seems that, for some odd reason, the token label is padded with zeros...
And it only works when we do a token.label.rstrip('\x00') before comparing with the the user provided token label.
Can lib.get_token be modified to strip trailing NUL characters?

Interesting. It feels like something has changed in the string implementation and we're no longer implicitly stripping nuls from the ends of strings. Can I confirm what Python version this is, and what Cython version (should appear in pip list).

Oh, I see what's happened. At some point we started forcing the length of strings we received from PKCS#11 in case they weren't properly null terminated (happens), and so Cython treats them like Pascal strings, and not like C strings. But it only comes up if your HSM does something like returns a null-terminated, but longer buffer.
Can you try installing an editable version of python-pkcs11 pip install -e and try changing the implementation of types.py:_CK_UTF8CHAR_to_str to include an rstrip(0x0)?

I've changed it to:

def _CK_UTF8CHAR_to_str(data):
    """Convert CK_UTF8CHAR to string."""
    return data.decode('utf-8').rstrip('\0')

And it now works!
I'm not sure how to go from here... will you want a PR? will you commit the change yourself?

Hi, yep, send a pull request, we can run the tests against it.
I wonder if it should be data.rstrip(b'\0').decode(...).rstrip()...
That should more closely preserve the original intent.

Interestingly enough the https://github.com/miekg/pkcs11 Go library also has this behavior, maybe this is some kind of bug in the HSM or its pkcs11 module.
Either way, I'll send a PR soon.
Does this project as a CI somewhere? Are you interested in having a GitHub actions workflow for this project?

Yeah there’s CI through Travis run against SoftHSM2.
You can also try running the test suite against your HSM but it can be fiddly depending on the features of your HSM. If you want to give it a go have a read of the test scripts. There’s decorators to mask out things we don’t correctly detect as unavailable. Make sure you can create session keys though. Else you’ll create 100s of objects on your HSM.
On 30 Aug 2020, 05:19 +1000, Rui Lopes<EMAIL_ADDRESS>wrote:

Interestingly enough the https://github.com/miekg/pkcs11 Go library also has this behavior, maybe this is some kind of bug in the HSM or its pkcs11 module.
Either way, I'll send a PR soon.
Does this project as a CI somewhere? Are you interested in having a GitHub actions workflow for this project?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Its in #90, but I quite puzzled to why the build only failed in Python 3.5. Can you take a look?
BTW, I also created #91 to make the travis build more discoverable.

I don't know why that failed on Python 3.5, it passed when I reran it. That's weird. That code shouldn't even be passing through your changes. Maybe it's due to a bug in one of our deps. It's probably time to drop Python 3.5 tbh.


How to change address data to route name

Dear all
Need your help to explain to me how to change the address to rout name instead of a map location

Do you have reverse geocoder set up on the server?

How to do this?

In the config file:
https://www.traccar.org/reverse-geocoding/


Implement zmq_proxy

See zmq_proxy. I do not know at this time if the draft socket types are supported by the proxy.

Closed by 50cf3695a5cf63ac38ec2e391881bfefda264648.


TreeView: allow keyboard shortcuts for delete etc even on inactive tree items

inactive doesn't mean non-deletable, etc.

done.  rootview inactivity is key for behavioral effects -- node inactive just affects display (by default)


Problem importing TDT tank

I am trying to import a TDT TTank into Neo, and I'm running into an ambiguous error. It's attached. I tried to debug, and it looks like what is happening in the tdtrawio file is that "data_index" is empty, because the mask on tsq used to create it is all False. I'm having trouble figuring out what could be causing that though.
The relevant code is just: r = io.TdtIO(tank_path)

Hi thank you for the report.
Could you send the file please, so I could help you help to debug this.
Yes the data_index seams empty, does it make sense ?
What do you with tdt software about data size ?

@Gittinator do you have an example you can send us, to help debug this problem?

Let's close this. @Gittinator, feel free to reopen if you try to use this again in the future and run into the same issue.


[INTEL_MKL] Threadpool changes with dnnl 1.4 release.

Adding const qualifier to a few functions inorder to keep up with the DNNL1.4 rls interface changes.

@penpornk Sorry, just realized i had the logic for balance reversed. Kindly approve again. :-)


Input and Glitches

When I open The App ( Latest Release by the time of 16/03/2021 ) When I try To click something It won't click and sometimes The Menu moves and kinda flashes... I cant explain it in words but It glitches

It shows both of these menus one after the other but fast

Can you try resizing the window a bit?


Hubble: use proper types in evm_logs

log_index and transaction_index fields are exposed as text, but it's actually a number. as a result many text-to-int conversions downstream

create a complete copy of v0_evm (v0_evm_fix) with the view changes.
change all the view depending on v0_evm to use v0_evm_fix
delete v0_evm
rename v0_evm_fix to v0_evm

all views and remaining tables changed to use

block_height - bigint
*index - int

only need to update the source tables


Suggestion regarding reporting issues

Perhaps have a button somewhere at the top of each page in the guide that links people to https://github.com/Plailect/Guide/issues/new where they can report issues if they feel it's necessary

You also should have a .github folder with an ISSUE_TEMPLATE.md in it (default text in an issues).

#822


MODE-2636 Fixes the missing behavior of parsing the table-name attribute for DB persistence on Wildfly

Looks good.


Pretty-printed while command indents too much

> let Right e = parse "<stdin>" "while true; do :; done;" in putStrLn $ prettyText e
while true; do
                :;
            done;

For reference, the output from bash's declare -f is:
$ f() { while true; do :; done }
$ declare -f f
f ()
{
    while true; do
        :;
    done
}

It seems like doDone l binds too tightly that the whole block is now beside the while p; text.

Thanks for reporting! :)


Error when running ionic serve in conference app

I updated to the latest version of ionic 2 and I am getting an error when I run the ionic serve command.
Please help!
Cordova CLI: 5.3.3
Gulp version: CLI version 3.8.11
Gulp local:
Ionic Version: 2.0.0-alpha.35
Ionic CLI Version: 2.0.0-alpha.25
Ionic App Lib Version: 2.0.0-alpha.24
OS:
Node Version: v5.1.0

Looks like https://github.com/driftyco/ionic2/issues/528#issuecomment-157536412, if you move your project to C: does it work?

@tlancina moving the project to C: works as expected. This is awesome, thank you!
P.S. Maybe in the future you can support having the project on different drives.

Closing this issue since it isn't related to the conference app. Please write any comments on the linked issue. Thanks. :)


Support delete with predicate functionality via /api/v2/delete

What
To ensure feature parity with Cloud 2.0, InfluxDB OSS 2.0 requires an implementation of the delete with predicate API via /api/v2/delete. This will require enhancements to the tsdb package and storage engine.
Background
The API was disabled per #19580 and returns 501 Not Implemented as there was no equivalent 1.x tsdb storage API to support this feature. The following DeleteSeries API was evaluated
https://github.com/influxdata/influxdb/blob/b917d8d9b069ffb416cb522c55bc1e7a82dcd34d/tsdb/store.go#L1266
however, due to differences between series keys in TSM 2.0 vs 1.x, it is unable to support fine-grained delete functionality for a predicate that targets a specific field:
_measurement = 'cpu' AND _field = 'usage_user'

Update: I'm in the thick of it and there's more code to move over from idpe than I expected. Hopefully this coming week it will be done.

Per discussions with the 2.0 GA team this is being de-prioritised in favour of backup and restore:
https://github.com/influxdata/influxdb/issues/19316

I'm sorry to ask a seemingly stupid question, but im trying to delete data using CLI for nearly an hour now (and also tried the curl method).
How exactly is it possible to delete data right now in Version 2.0.0 (37cc047)?

@cgfoed For OSS, this issue states that it isn't possible to selective delete data.  You have to drop the entire bucket until this issue is resolved.

When is this issue expected to be resolved? Not managing to delete data is a big issue.

I'm not even able to delete without predicate, and backup/restore is not really an alternative IMHO.
I understand that OSS is probably lower priority because we aren't paying, but please consider fixing this quickly.

While waiting, what we do is delete buckets :/
On Wed, Dec 2, 2020 at 4:23 AM Mihir Patil<EMAIL_ADDRESS>wrote:

I'm not even able to delete without predicate, and backup/restore is not
really an alternative IMHO.
I understand that OSS is probably lower priority because we aren't paying,
but please consider fixing this quickly.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/19635#issuecomment-736963869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQVJDU4RG75WXVULR475R3SSWXL7ANCNFSM4RYSBZFA
.

Pending PR for the fix: https://github.com/influxdata/influxdb/pull/20236

Thanks!

plan is to drop this into 2.0.3 early next week.

Thanks for fixing this. However, I must say that this is not the first "surprise" while using what is supposed to be "GA version". Seems like your marketing department runs far ahead of development. As a result: trying to migrate my project to Influx 2x looked like a premature decision in hindsight and I ended up wasting quite some time.


concat not seamless.

so i just tried the concat and the file it produced has a tiny seam/"hickup" where 2 audios are merged. in music very noticeable. is there a fix for that?
or what could i try?
quick test:
http://mrvv.net/scdl/fts/crunker.html

I think that the problem is with your sample 2, there is a little gap:


New Parser and Analyzer support  ShowProcesslistStmt （Easy）

Required work and output

Use antlr4 to complete parse statements. The generated statement must follow the original data structure, and should be compatible with the old statement.

In the original syntax file  sql_parser.cup, the new syntax needs to be compatible with the syntax of the old version, using the syntax file sql_parser.cup of the old version as the reference standard.

Remove the logic of analytic functions in the statement and move the relevant logic to the new Analyzer framework. The new Analyzer is in the SQL/Analyzer directory.

If the code related to Privilege Check exists in the original analyzer, move the code related to privilege control into PrivilegeChecker.

When submitting the PR, please make sure there is unit test coverage for related changes.

Task

[ ] ShowProcesslistStmt

How to participate?

Pick an issue you are interested in, click the issue link and leave a comment under the issue to sign up.  One person can only choose one issue and the first person who picks the issue will be assigned.

After the issue is assigned, you should complete the task in 14 days. If you are unable to complete it within the specified time, the task will be withdrawn and assigned to others.

Participants are required to produce two pieces of content (forms including but not limited to mind maps, study notes, blogs, and tutorials) in the course of the activity, each of which should be at least 200 words.

Got questions? Join our  Slack channel  and find channel:  #sql-planner.

Before you start

Read  Contributing.md  carefully to understand how to submit a pull request and how to configure BE and FE development environment.

Sign the  Contributor License Agreement  before you make a pull request.

To learn more about StarRocks, please refer to  StarRocks documentation.

Pull request requirements

Create a pull request (PR) after you complete the task.

PR title format: [SR SQL Planner Summer Camp] + PR title

After submitting PR, you can comment under the pinned Issue [SR SQL Planner Summer Camp].

Comment format: "I have finished Issue #" + PR link

Please assign to me, thanks.

I have finished Issue #8487

I have finished Issue #8671

@predator4ann I am cuicui from the StarRocks community.Would you mind add my WeChat account (WeChat ID:StarRocks-1) or share your WeChat account with me? I will mail you the gift of StarRocks SQL Planner Summer Camp.


generateTexture with wrong frame?

generateTexture on a 1px Pixi.Graphics line - will result in a 2px line.
see the jsfiddle
At the moment there are two solutions i have found:

setting the texture.frame manually by    texture.frame = new PIXI.Rectangle(0,0,200,1);
draw a line that is 0.9999999 px thick.

think this may be fixed in v4!


Comprehensive examples for documentation

I find it very difficult to learn how APIs work without clear examples of intended usage, even for very simple things. Would it be too much trouble to add examples to each part of the API so that the intended use is clear, please? Examples for demonstrating and discussing general use (e.g. sus::ptr's demo would go somewhere on the main sus::ptr page) and for each part of the API (e.g. sus::ptr::as_ref examples would be put in the sus::ptr::as_ref page) would be appreciated.
This is potentially a subtask of #321.

Agreeing more docs and examples are needed :) Only a few sections have gotten that higher level of attention so far, like option.


ci: add github-actions ecosystem to dependabot

:wave: It looks like you beat me to this repo for the majority of the CI update tasks. Thanks!
The only omission I noticed that might be worthwhile was configuring dependabot for github actions updates  If you wanted to avoid that on purpose for some reason that's OK too, please close as required.

Indeed, I tried updating the CI in this crate (if you have feedback on the resulting rust.yml do not hesitate to comment), and it seems to work fine.
I am wondering if I should add feature test matrix for more cases (like clippy), since for example I forgot to add --all-features, and it lead to catching a warning (fixed in 2d8419265659118e15392a38aaea17d11334a649).
The jobs can be a bit painful though, because it upgrades clippy to nightly, and several warnings were added since stable.
That said, it's a good thing :)

Merged, thanks!

I am wondering if I should add feature test matrix for more cases (like clippy),

SGTM. I left a comment on the pcap-parser PR suggesting we crib from this repo. If that works for you I'll update the others.


Train problem

Thank you for your contribution. May I ask what the batchsize settings were on different datasets during your model training process?

Thanks for your attention. We use a batch size of 1 and crop the image to 216*216 on a GTX 1080i GPU on different datasets. You can change the arguments based on your GPU.


Fix heap_buffer_overflow in mongo_proxy.

Signed-off-by: Manish Kumar<EMAIL_ADDRESS>Commit Message: Fix heap_buffer_overflow in mongo_proxy.
Additional Description: Please see #12708.
Risk Level:
Testing: Format and Unit
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features:
Fixes #12708

/retest

@jmarantz  Would you mind to take a look?

/wait


Issue with manual offset commit when using ConsumePartition and OffsetManager

I am encountering an issue with manually committing offsets when using the ConsumePartition method in Sarama. After consuming messages and calling OffsetManager.ManagePartition.MarkOffset to mark the offset, it seems that the offsets are not being properly committed, and the consumer continues to re-read messages from the beginning upon restart. I have verified that I am using the correct offset manager methods and committing the offsets manually, but the behavior persists.
Steps to Reproduce:
Set up a Kafka consumer group using Sarama with ConsumePartition.
Consume messages from a specific partition of a topic.
Use OffsetManager.ManagePartition.MarkOffset  MarkOffset to mark the offset for the next message after processing each message.
Call  Commit() on the OffsetManager to commit the offsets manually.
Restart the consumer.
Observe that the consumer reads messages from the beginning of the topic, even though offsets were committed manually.
Expected Behavior: After manually committing the offsets, the consumer should start from the last committed offset, not from the beginning of the topic, upon restart.
Actual Behavior: The consumer re-reads all messages from the beginning, ignoring the manually committed offsets.
Sarama Version: v1.43.3
go

config := sarama.NewConfig()
config.Consumer.Offsets.Initial = sarama.OffsetOldest
config.Consumer.Offsets.AutoCommit.Enable = false  // Auto-commit disabled
config.Consumer.Return.Errors = true

package main

import (
	"fmt"
	"github.com/IBM/sarama"
	"log"
)

func main() {
	config := sarama.NewConfig()
	config.Consumer.Offsets.Initial = sarama.OffsetOldest
	config.Consumer.Offsets.AutoCommit.Enable = false

	consumer, err := sarama.NewConsumer([]string{"localhost:9092"}, config)
	if err != nil {
		log.Fatal("Error creating consumer:", err)
	}
	defer consumer.Close()

	partitionConsumer, err := consumer.ConsumePartition("my-topic", 0, sarama.OffsetNewest)
	if err != nil {
		log.Fatal("Error consuming partition:", err)
	}
	defer partitionConsumer.Close()

	offsetManager, err := sarama.NewOffsetManagerFromClient("my-consumer-group", consumer)
	if err != nil {
		log.Fatal("Error creating offset manager:", err)
	}
	defer offsetManager.Close()

	offsetMgr, err := offsetManager.ManagePartition("my-topic", 0)
	if err != nil {
		log.Fatal("Error managing partition:", err)
	}
	defer offsetMgr.Close()

	for msg := range partitionConsumer.Messages() {
		// Process the message
		fmt.Printf("Consumed message: %s\n", string(msg.Value))

		// Mark the offset (next message to read)
		offsetMgr.MarkOffset(msg.Offset+1, "")

		// Commit the offset (mark the offset as committed)
		err := offsetManager.Commit()  // Commit manually
		if err != nil {
			log.Printf("Error committing offset: %v", err)
		} else {
			log.Printf("Successfully committed offset: %d", msg.Offset+1)
		}
	}
}

@krishnapal2545 in your sample code you're directly creating a low level consumer and initialising a partition consumer directly at the oldest offset — this code won't make use of the committed offsets because from a kafka perspective you're not using a consumer group
If you want to use committed offsets to choose the starting offset, you'd call NewConsumerGroup in samara to create a group and the starting offset will be assigned as part of the consumer group claim when Kafka assigns your client partition(s) to consume from


AstraDB delete_documents performs an unnecessary count

https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/astra/src/haystack_integrations/document_stores/astra/document_store.py#L406-L427
In delete_documents, an unnecessary check is being done, which is performing a full count of the collection as a naive check to ensure the collection is not empty. This is an extremely expensive operation and not one that is necessary, as performing a delete on nonexisting documents is not harmful. In reality, the existing check does not actually check if the document exists or not anyway.
The count_documents check should be removed.

Thank you @brendancicchi for opening this issue. I can see that you already worked on a fix. Would you like to open a pull request and contribute the fix to Haystack? 🙂 You can find our contributing guidelines here: https://github.com/deepset-ai/haystack/blob/main/CONTRIBUTING.md#contribute-code

@julian-risch Yes, I'll open a PR. Due to this test https://github.com/deepset-ai/haystack/blob/main/haystack/testing/document_store.py#L161C5-L163C61, it looks like I can't just change the logic to do the same on an empty collection as when no document_ids are deleted. So, instead, I'll grab any single document as a check for a non-empty collection, which will be much cheaper than the full count.


Channels

PR Details

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

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

Checklist

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly (index.d.ts).

Sorry, I did it accidentally!
Meant to do it in my forked version.


Add twoseven to list of services

instructions are buried at the end of their faq page

Thanks for all the new entries :)

Yeah! I was doing some digital spring cleaning and thought i'd pass it along. Thanks for maintaining this project, it's super helpful :)

I'm glad it was helpful! That's thanks to a lot of helpful folks like you out there ;)


setGuard and deleteGuard display as settings transactions

Description
For the setGuard and deleteGuard transaction types, both should be displayed as Settings transactions. Similarly to changeMastercopy transactions
Environment

Browser: Chrome
Wallet: MetaMask
Chain: Rinkeby

Steps to reproduce

Open rin:0x6cf158C37354d8da5396fb6d3e965318CCf119c1 safe and observe that the setGuard transaction

Expected result
setGuard and deleteGuard transaction should display as Settings transactions
Screenshots

@gnosis/safe-web @gnosis/safe-ios what happens if we add a new type to the SettingChange on the clients?

There would be a new version of the settingsInfo (see https://github.com/gnosis/safe-client-gateway/blob/main/src/routes/transactions/models/mod.rs#L129-L149)

I think we should be fine on the frontend. Would just need to update our types.

if CGW starts returning these types, the iOS client will display the transactions as "Unknown" settings change


Feature: Add Sound Effects to Game Actions

Feature: Add Sound Effects to Game Actions
Description:
We want to enhance the user experience of the Tic Tac Toe game by adding sound effects for key game actions such as placing a marker, winning, and resetting the game. Adding sound will make the game more interactive and fun.
Proposed Solution:

Move Sound (Click):

Play a sound when a player places a marker (X or O) on the board.

Win Sound:

Play a celebratory sound when a player wins the game.

Reset Sound:

Play a sound when the game board is reset for a new round.

Tasks:

Add audio files to the project (click.mp3, win.mp3, reset.mp3).
Create an HTML <audio> element or use the Audio object in JavaScript to handle the sound effects.
Trigger the appropriate sound on the following events:

Move: When a player clicks a cell.
Win: When the game detects a winning condition.
Reset: When the game is reset.

Ensure all sounds are loaded properly and handle any errors if the sound files fail to load.

Acceptance Criteria:

Sounds play correctly on all major browsers (Chrome, Firefox, Safari, Edge).
No lag or delay in sound playing during gameplay.
Optionally, mute or volume control can be added to the game for user control over the sound effects.

Kindly assign me this issue under hacktoberfest, i would love to work on this.

That sounds great to me. You can start with this.

Adding sound would of course sound good… haha, jk. I submitted a PR for this (#25). Now your game can finally make some noise!


Deprecation warnings for python 3.9

Just noticed these two warnings about upcoming deprecations concerning the run-control and plotting packages.

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

I have created https://github.com/IAMconsortium/pyam/pull/393 that fixes several other instances too.


Using top-level config file options causes KeyError exception

Using a config file with some top-level options causes a KeyError exception.
For example, using this configuration, saved as .rich-codex.yml:
---
# Any top-level config option in `self.class_config_attrs`
# will cause an exception. This one is in that list.
terminal_width: 88
# This one is not in that list and configs that only
# contain `outputs` will not hit the exception.
outputs:
  - command: "python -m pip list"
    fake_command: "pip list"
    title: Installed Packages
    img_paths:
      - docs/img/pip_list.svg

...causes this output:
❯ rich-codex --skip-git-checks
INFO     rich-codex ⚡📖⚡ version 1.2.4
INFO     Found 1 config file
Traceback (most recent call last):
  File "/Users/maxrake/dev/delme/rich-codex/.venv/bin/rich-codex", line 8, in <module>
    sys.exit(main())
  File "/Users/maxrake/dev/delme/rich-codex/.venv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/maxrake/dev/delme/rich-codex/.venv/lib/python3.10/site-packages/rich_click/rich_command.py", line 19, in main
    rv = super().main(*args, standalone_mode=False, **kwargs)
  File "/Users/maxrake/dev/delme/rich-codex/.venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/maxrake/dev/delme/rich-codex/.venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/maxrake/dev/delme/rich-codex/.venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/maxrake/dev/delme/rich-codex/src/rich_codex/cli.py", line 441, in main
    codex_obj.parse_configs()
  File "/Users/maxrake/dev/delme/rich-codex/src/rich_codex/codex_search.py", line 312, in parse_configs
    self.parse_config(config, yaml.safe_load(fh))
  File "/Users/maxrake/dev/delme/rich-codex/src/rich_codex/codex_search.py", line 321, in parse_config
    setattr(self, cls, config["cls"])
KeyError: 'cls'

Many thanks for these issues and fixes 🙌🏻  I really appreciate the time put into explaining the error and fix ⭐

Released in v1.2.5 - https://github.com/ewels/rich-codex/releases/tag/v1.2.5


Add storybook to make easier out of app component styling

Playing with storybook lately and it's been super useful to help in doing UI work on components in a nice isolated fashion from the rest of the app. There was some set-up in https://github.com/sqlectron/sqlectron-gui/pull/553, and so can use that as a base for adding it here. To start, will only focus on getting it done for the checkbox component as it's very simple and does not have any sort of complex chain we might need to mock out.
The one question I have is on preferred structure @maxcnunes. Do we want the stories to live in their own folder that's separate from source code (or within the source code folder) such as ./stories or ./src/renderer/components/stories or ..., or just place the stories immediately next to the component, like:
* ./src/renderer/components/checkbox.tsx
* ./src/renderer/components/checkbox.stories.tsx

I kind of like the latter as it makes it easy to find and how it works in my dayjob, but happy to go with alternatives.

I am fine with either options.
That would be quite helpful once we start working on https://github.com/sqlectron/sqlectron-gui/issues/546 and better supporting dark theme.


Skip some tests on gfx1151 APU that consume too much memory (#874)

Summary of proposed changes:

Cherrypick https://github.com/ROCm/rocSPARSE/commit/33af5ae77e0247ae53efdb05de422c341e0b8ba2 in 6.3

Not all libraries have this feature in their tests, but rocBLAS and rocFFT both have strategies for handling memory limits. I'm not sure precisely how they work, but I think rocFFT is probably the more sophisticated of the two.

That is to say that I don't know the best way to do things. I think it basically boils down to doing a memory query for whatever function is being tested, checking that value against the limit, and skipping the test if the reported memory required for the test is greater than the limit.
 So, I don't have direct hands-on experience with any implementation.


Fix diffbot position integration

The hardware interface for diffbot (example 2) integrates motor position data using the 2nd motor's position for both motors. This causes odometry to report movement along a single axis only. This PR fixes the issue and restores expected odometry behaviour.

I was wondering why this never was discovered before: The diff_drive_controller uses

the velocity feedback if position_feedback=false, or
in the default case like in this example, the change from the last position feedback devided by the time interval

for the odometry calculation, which is then transformed and published on the /tf topic.
This means, that the wrong position of the joint in the /joint_states topic isn't used anywhere.

@mergifyio backport humble


typo: labservices/resource-manager/Microsoft.LabServices

evironments -> environments

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java


take to long to create rarity

Checklist

[X] I have read COMMON_ISSUES.md
[X] I have searched existing issues

Description
if have many conditions (multiple different layerConfigurations) , it take too many time to create rarity, in my layer configuration have 143 configurations. and i'm waiting from 6 hours. but still not create rarity or not showing any error.
Steps to reproduce
No response
Expected result
No response
Actual result
No response
Environment
OS Version (uname -a on unix, systeminfo on windows):
Node.js version (node -v):

@sadun619 it's probably either stuck in a loop or you have a big collection.
Could you add console.log(1) on line 18, console.log(2) on line 43 and console.log(3) on line 60; then try to do rarity again and paste the output here please.

@sadun619 it's probably either stuck in a loop or you have a big collection.
Could you add console.log(1) on line 18, console.log(2) on line 43 and console.log(3) on line 60; then try to do rarity again and paste the output here please.

collection are 4489. but too may configurations, layers and traits have, (113 layer configuration, 65 layers, 876 traits)
i tried adding console.log, still take too may time time and no any respond.
PS D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main> node utils/rarity.js
1
(process:13652): GLib-GIO-WARNING **: 22:29:13.560: Unexpectedly, UWP app Microsoft.ZuneMusic_10.20122.11121.0_x64__8wekyb3d8bbwe' (AUMId Microsoft.ZuneMusic_8wekyb3d8bbwe!Microsoft.ZuneMusic') supports 20 extensions but has no verbs

@sadun619 what if you add console.log('config') on line 21, console.log('layer') after line 22 and console.log('element') after line 27.

@sadun619

try with previous added console.log + new console.log and just new console.log both not working and both showing just word "element" and "layer" like as bellow .

It's not meant to make it work; I'm just trying to figure out what's wrong.
Does it continue outputting or does it stop after that layer?

stop after layer

@sadun619

try with previous added console.log + new console.log and just new console.log both not working and both showing just word "element" and "layer" like as bellow .

It's not meant to make it work; I'm just trying to figure out what's wrong.
Does it continue outputting or does it stop after that layer?

stop after layer. but i cant run another command on that terminal. at least cannot type. it stuck.

@sadun619

i cant run another command on that terminal.

If you use CTRL + C you can interrupt the running command.

it looks like getElements is being really slow, it might have something to do with the warning you got.
This comment suggests running Get-AppXPackage Microsoft.ZuneVideo -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} to get rid of it.
It may also be caused if you still have the command running in different terminals.

Get-AppXPackage Microsoft.ZuneVideo -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

tried, warning still showing.
no. run only  one terminal.

@sadun619 could you try rebooting?

@sadun619 in src/main.js could you add console.log(1) after line 103 and console.log(2) after line 113?

after modified main.js
Node.js v17.4.0
PS D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main> node utils/rarity.js
1
config
layer
1
2
D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main\src\main.js:115
.forEach((i, index) => {
^
TypeError: Cannot read properties of undefined (reading 'forEach')
at getElements (D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main\src\main.js:115:5)
at D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main\utils\rarity.js:26:20
at Array.forEach ()
at D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main\utils\rarity.js:21:10
at Array.forEach ()
at Object. (D:\Project\NFT_project\09-15-07-2022 4489\hashlips_art_engine-main\utils\rarity.js:19:21)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)

@sadun619 could you paste lines 112-117 of your src/main.js please.


build(deps): ensure persistent bump of openssl from 0.10.32 to 0.10.48

Description
Upgrade dependencies in the Cargo.toml file not just the lock file as it was done by #2344 to remedy the same issue.
"ensure persistent" bump means that if the lockfile is deleted and regenerated the old openssl will be used once again without the necessary upgrades in the cargo.toml as well.
build(deps): bump openssl from 0.10.32 to 0.10.48 in ./packages/cactus-plugin-keychain-vault/src/cactus-keychain-vault-server/rust/gen #2344
The other PR opened by the robot which only uses the lock file to force the use of the newer versions: https://github.com/hyperledger/cacti/pull/2344/files
Acceptance Criteria

./packages/cactus-plugin-keychain-vault/src/cactus-keychain-vault-server/rust/gen/Cargo.toml is updated
The same vulnerability does not resurface in the event of us having to delete the lock file and then re-generate it.

Hi @petermetz can I work on this issue?

@Poonam1607 Yes, thank you for the offer! Assigning now.

Thank you! I am on it.


refactor: move jsonld transformers out of the dsp-transform module

What this PR changes/adds
Move the JsonLdTransformers regarding Policy and Catalog from dsp-transformer to json-ld
Why it does that
make these transformers available out of the dsp protocol (e.g. in data management)
Further notes

introduced a json-ld-spi module
I am trying to understand why do we have different interfaces for different transformers, this will block from using these transformers in management api.
the jsonld expansion/compaction procedure is done by two static methods that require direct module dependency, I think there should be a service registered on the runtime that can be easily injected.

Linked Issue(s)
Closes #2781
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

+1 on introducing a service for expansion/compaction.
Which interfaces are different?

+1 on introducing a service for expansion/compaction.
Which interfaces are different?

JsonLdTransformer and DtoTransformer.
True is that we could inject the JsonLdTransformerRegistry to the management-api modules, but I don't get what is the advantage of keeping them separated.

+1 on introducing a service for expansion/compaction.
Which interfaces are different?

JsonLdTransformer and DtoTransformer.
True is that we could inject the JsonLdTransformerRegistry to the management-api modules, but I don't get what is the advantage of keeping them separated.

We could move everything to JsonLdTransformer and get rid of DtoTransformer. @paullatzelsperger? @juliapampus?

JsonLdTransformer and DtoTransformer.
True is that we could inject the JsonLdTransformerRegistry to the management-api modules, but I don't get what is the advantage of keeping them separated.

We could move everything to JsonLdTransformer and get rid of DtoTransformer. @paullatzelsperger? @juliapampus?

I would just keep a single registry and a single interface for transformers (JsonLd, Dto, Ids) no real advantages in have them separated.

Yes sounds good. @paullatzelsperger you will need to account for that with the type alias dispatching you are working on adding to the Json-LD transformers.

Yes sounds good. @paullatzelsperger you will need to account for that with the type alias dispatching you are working on adding to the Json-LD transformers.

I'll just put the type-alias stuff on the TypeTransformerRegistryImpl instead of the JsonLdTransformerRegistryImpl

@ndr-brt I've lost track of the state of this PR. Is it ready for review and merge or do you want to make additional changes?

@ndr-brt I've lost track of the state of this PR. Is it ready for review and merge or do you want to make additional changes?

it achieves the scope of the issue, other PRs will come to address the other transformer stuff, and the jsonld service as well


Float from chars

@pdimov I think doing a separate PR for 80 and 128 bit long doubles is a good idea like we did for integers. Similar to how float uses the double implementation I am going to have 80 bit long double use the 128 bit implementation.


The query not have an operationName

Why does the query not have an operationName when there are no parameters passed in?
How can I always pass an operationName even when no parameters are passed?

This may be a bug or design issue in the current library. Graffle will not have this issue. I'll add a test case for this.


Minor improvements

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3201128) to head (270a5c5).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #171   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           58        58
  Lines         1353      1353
  Branches       143       143
=========================================
  Hits          1353      1353

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


slacklog: Unfurl links in slacklog command response

動かしてないけど大丈夫やろ！w

Codecov Report

Merging #130 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
+ Coverage   44.39%   44.47%   +0.07%
==========================================
  Files          39       39
  Lines        3892     3892
  Branches      794      794
==========================================
+ Hits         1728     1731       +3
+ Misses       1701     1698       -3
  Partials      463      463

Impacted Files
Coverage Δ

slack-log/index.ts
90.19% <ø> (ø)
:arrow_up:

mahjong/index.js
27.07% <0%> (+0.31%)
:arrow_up:

prime/index.js
17.51% <0%> (+0.56%)
:arrow_up:

Continue to review full report at Codecov.

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

やろ！w


SSL module is showing admin notification to all users on all pages

When Socure Sockets Layer module is enabled and not configured it will notify with message "You need to configure the SSL settings." ... This is clearly intended for administrators but is displayed to all users (including anonymous) on frontend.
public void OnActionExecuted(ActionExecutedContext filterContext) {
    var settings = _sslService.GetSettings();

    if (!settings.Enabled) {
        _orchardServices.Notifier.Warning(T("You need to configure the SSL settings."));
    }
}

I don't think this message is THAT important to have it displayed on all pages even for administrators, should probably appear only on administration for admins similarly to how "The SMTP settings need to be configured." message from Orchard.Email works.

It should always appear on the admin, and only on the admin side, there is an extension method for that (look at the SMTP settings) to check.

Are there news on this issue? I see it's not solved on the Master branch.

I've just taken a look, it seems like the two modules take a different approach but it should be a simple fix.
The SSL module just does the notice itself which is why its leaking out, but the email module uses an INotificationProvider which are automatically filtered to the admin panel.
I will submit a PR shortly.


Optional Use of Created KMS key for encryption in module resources.

Removed unwanted variables
Enhanced module by utilizing KMS key created in module for all encryption except cloudwatch-log-group (due to cyclic dependency issue)
Updated root README (docs)

closes https://github.com/ishuar/terraform-aws-eks/issues/22

added an example for cluster_encryption_config with created kms key.

[x] terraform apply tested
[x] terraform destroy tested


PMID:22150589

decreased H4-K20 dimethylation

decreased H4-K20 dimethylation FYPO:0005028

edit file: fd602879fa65355870ae8d5088ae34201572015f
release: 181b3899dabcbb4162464ba5e7afb857bd6e6776


Help PLZ

Hi i spent 2 day figuring out how to compile the app but i failed please can anyone send me the compiled apk cause i couldn't
                                                                                THX

i think the the project is obsolate as the coder as no time to maintain the project


ErrorExtension set SimpleObject as value

Lets say i a have implemented ErrorExtensions for AppError as follows:
impl ErrorExtensions for AppError {
    fn extend(&self) -> async_graphql::Error {
        async_graphql::Error::new(format!("{}", self)).extend_with(|_, e| match self {
            AppError::Duplicates { duplicates: Vec<Duplicate> } => {
                e.set("duplicates", duplicates);
                // this does also not work
                //e.set("duplicates", &duplicates);
            },
        })
    }
}

the Duplicate struct looks like this
#[derive(Default, Debug, Deserialize, Serialize, SimpleObject)]
pub struct Duplicate {
    source: String,
    duplicates: Vec<String>,
}

but this doesn't work. Replacing Vec<Duplicate> with a HashMap<String, Vec<String>> does also not work, even just setting a single Duplicate doesn't work.
My question is, am i doing something wrong, or is it just not expected to return something more complex then a String as an error extension?

Ok, found a workaround:
impl ErrorExtensions for AppError {
    fn extend(&self) -> async_graphql::Error {
        async_graphql::Error::new(format!("{}", self)).extend_with(|_, e| match self {
            AppError::Duplicates { duplicates: Vec<Duplicate> } => {
                let map: IndexMap<Name, Value> = duplicates
                    .into_iter()
                    .map(|d| (Name::new(d.commune), Value::List(d.services.into_iter().map(Into::into).collect())))
                    .collect();
                e.set("duplicates", map);
            },
        })
    }
}

If i construct my own Value aka ConstValue object, then it works.
If this is expected, then you can close this issue 🙂


conduit inject: Add flag to set proxy bind timeout

@siggy I think you had asked for this PR so I requested a review from you.
Note that #909 changes the syntax of configuration values to require a unit (e.g. "s" for "seconds") to be appended to time values.

I have no clue why rust test aren't passing since I don't touch any rust code

@sfroment Sorry about that, that test failure is one of a handful of proxy tests that sometimes fail spuriously (see issue #777). I've gone ahead and restarted your build.

Hello @klingerf,
Just rebased and added the parse you said.


The Voyage Process - Getting off to a Solid Start!

From voyage-template created by jdmedlock: chingu-voyages/voyage-template#16
Feature Description
Chingu has created a process for you to follow during the Voyage. This process helps you to get off on a solid start.
Major User Stories/tasks

[x] Step 1: 🤝 Meet your team & schedule Kickoff meeting #5
[x] Step 2: 🧑🤝🧑 Conduct Kickoff meeting #6
[x] Step 3: 👍 Choose a project & create a Vision Statement #7
[x] Step 4: 📤 Define & prioritize MVP features #8
[x] Step 5: 📋 Create a Project Backlog #9
[x] Step 6: 📝 Create a Low-fidelity wireframe #14
[x] Step 7: ⚙ Set Up a Team Workflow #10

Additional Considerations
N/a

Done


[concept] Browser extension as alternative to Electron app

Is your feature request related to a problem? Please describe.
Opinion: Browser use seems more intuitive and supports a lot of "standard" features out of the box, like

tabs
find on page (ctrl+f)
many more

Describe the solution you'd like
I'd like to know, what do you think about replacing/extending current LBRY-Desktop Electron app with something like this .. a background service + browser extension client?
Something similar IPFS Team has done. They have

Electron app as LBRY
Plus, background service & browser extension which consumes the service

Questions

Could it be possible with LBRY?
What do you think about such idea? Would you merge it?

Extra Context
Another benefit of that approach is better interoperability (?), user can run IPFS on BSD, because

the CLI tool is ported
Browser extension is just a browser extension it needs browser and "should work"

This is just a concept, so I'd like to know your opinion.

Thanks for the suggestion but don't think we'll be doing this anytime soon.


[BEAM-3042] Fixing check for sideinput_io_metrics experiment flag.

Fixing a bug that did not check for experiments properly in the worker. Experiments are read in as a list.

r: @chamikaramj

LGTM


uucore: add support for sparc64

Add support for sparc64 in uucore to avoid the following build failure with nushell:
error[E0308]: mismatched types
   --> /home/autobuild/autobuild/instance-7/output-1/build/nushell-0.85.0/VENDOR/uucore/src/lib/features/fs.rs:121:16
    |
111 |     pub fn number_of_links(&self) -> u64 {
    |                                      --- expected `u64` because of return type
...
121 |         return self.0.st_nlink;
    |                ^^^^^^^^^^^^^^^ expected `u64`, found `u32`
    |
help: you can convert a `u32` to a `u64`
    |
121 |         return self.0.st_nlink.into();
    |                               +++++++

For more information about this error, try `rustc --explain E0308`. error: could not compile `uucore` (lib) due to previous error

Fixes:

http://autobuild.buildroot.org/results/f9f0287a8e39c65895014ca513ed25071f020add

Thanks for your PR :)


Feature Request - Monitore single user

Good Job man, can you simplify it to monitore only a single user on instagram?

oh i forgot this tool monitore auth user


Roadmap for v1.0.0

Hello sir !
If you need help on that one, let's write here the things to do before releasing v1.0.0 to the public :smiley:
Todos

[x] Write Dockerfile.
[x] Write github action workflow to publish docker image.
[x] Use /usr/local instead of /usr for installing maintenance files and so on to not interfere with the os installed files.
[ ] Maybe that would be good to have a data disk for storing the docker volumes ?

most is done, server is running fine.


io.jl

Hi Tim,
What do you think about returning the filename in save_corr(). That would not change anything other than give the user the filename. We would like that for the AWS tools we are building.  Please let us know if you're open to that.
Thanks.

Hey Dylan,
This would be a pretty easy change. I'll try to get this done tomorrow - I have a bunch of (hopefully) improvements I've been putting off from adding to the module.

Hi Tim
In the new 0.5.2 SeisNoise version, save_corr() function send the error:
julia> save_corr(C,"JLD2s")
ERROR: type DataType has no field mutable ....
The structure of my cross-correlation data is
julia> C
CorrData with 1 Corrs
NAME: "LI.ST01..01.LI.ST02..02"
ID: "2014-09-29"
LOC: 19.4226 N, -99.1787 E, 0.0 m
COMP: "12"
ROTATED: false
CORR_TYPE: "PCC"
FS: 125.0
GAIN: 1.0
FREQMIN: 4.0
FREQMAX: 48.0
CC_LEN: 180.0
CC_STEP: 30.0
WHITENED: true
TIME_NORM: ""
RESP: a0 1.0, f0 1.0, 0z, 0p
MISC: 0 entries
NOTES: 7 entries
DIST: 0.00336239
AZI: 151.536
BAZ: 331.536
MAXLAG: 8.0
T: 2014-09-29T12:00:00                …
CORR: 2001×1 Matrix{Float32}
Thanks for yours comments

This is likely related to how JLD2 (https://github.com/JuliaIO/JLD2.jl/issues/320, https://github.com/JuliaIO/JLD2.jl/issues/337, https://github.com/JuliaIO/JLD2.jl/issues/365) interacts with newer versions of Julia. I need to bump the compat of JLD2 to the newest versions - will do that right now.

Thanks Tim
I just tried an older version of Julia (v1.6), JLD2 works. Please let me know if only updating SeisNoise solves the problem. Greeting

I updated SeisNoise to use the latest versions of JLD2. You should try updating SeisNoise - let me know if you're still having problems with JLD2 after updating, thanks!

yes, the problem persist with SeismicNoise V 0.5.3 running Julia 1.7
(@v1.7) pkg> update SeisNoise
Updating registry at ~/.julia/registries/General.toml
No Changes to ~/.julia/environments/v1.7/Project.toml
No Changes to ~/.julia/environments/v1.7/Manifest.toml
(@v1.7) pkg> status
Status ~/.julia/environments/v1.7/Project.toml
[6e4b80f9] BenchmarkTools v1.2.2
[052768ef] CUDA v3.7.0
[5789e2e9] FileIO v1.12.0
[033835bb] JLD2 v0.2.4
[91a5bcdd] Plots v1.25.6
[03de775e] SAC v0.3.2 https://github.com/anowacki/SAC.jl#master
[2da01664] SeisConvert v0.1.0 https://github.com/xtyangpsp/SeisConvert.jl#master
[7496752f] SeisDvv v0.1.0 https://github.com/tclements/SeisDvv.jl#master
[b372bb87] SeisIO v1.2.1
[8cc7c3c0] SeisNoise v0.5.3
ERROR: LoadError: type DataType has no field mutable
Stacktrace:

Looks like you have JLD2 v0.2.4 installed (an older version) - could you try removing and adding the newest version of JLD2:
pkg>rm JLD2
pkg> add JLD2

You might have another package that is preventing the newest version of JLD2 from being installed.

It's working, thanks !!

Great! closing this issue.


OAuth using client_credentials

Summary
Unable to create OAuth using client_credentials. The API fails for http://localhost:8000/oauth2/token with
{"request_path":"/oauth2/token","message":"API not found with these values","request_host":["localhost"]}
Steps To Reproduce
1.curl -i -X POST
--url http://localhost:8001/apis/
--data 'name=mockbin'
--data 'upstream_url=http://mockbin.com/'
--data 'request_host=mockbin.com'
{"upstream_url":"http://mockbin.com/","strip_request_path":false,"id":"378a5237-dcae-4b19-8124-da4cacd5eaa1","created_at":1470763256000,"preserve_host":false,"name":"mockbin","request_host":"mockbin.com"}

Added key-auth

3.Added consumer
curl -i -X POST \

--url http://localhost:8001/consumers/
--data "username=dinesh"
HTTP/1.1 201 Created
Date: Mon, 08 Aug 2016 13:28:41 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.8.3

{"username":"dinesh","created_at":1470763620000,"id":"605368ee-4a20-4d55-94fa-8ed8989c04e5"}

Enabled oauth plugin
curl -X POST http://localhost:8001/apis/mockbin/plugins --data "name=oauth2"     --data "config.scopes=email,phone,address"     --data "config.mandatory_scope=true"     --data "config.enable_client_credentials"

{"api_id":"378a5237-dcae-4b19-8124-da4cacd5eaa1","id":"6ea729ed-d6f4-470c-ad0e-472541f95168","created_at":1470765215000,"enabled":true,"name":"oauth2","config":{"mandatory_scope":true,"token_expiration":7200,"enable_implicit_grant":false,"scopes":["email","phone","address"],"hide_credentials":false,"enable_password_grant":false,"accept_http_if_already_terminated":false,"provision_key":"bd7414b03b904d49a0015b0ad8323025","enable_client_credentials":true,"enable_authorization_code":true}}

Create Application with following command
curl -X POST "http://localhost:8001/consumers/605368ee-4a20-4d55-94fa-8ed8989c04e5/oauth2" --data "name=mockbin" --data "client_id=mockbin" --data "redirect_uri=http://localhost:8080/"

Response -> {"consumer_id":"605368ee-4a20-4d55-94fa-8ed8989c04e5","client_id":"mockbin","id":"e9257bdb-25ce-443a-a545-5336e1af498f","redirect_uri":["http://localhost:8080/admin/"],"name":"mockbin","created_at":1470768256000,"client_secret":"mock bin"}
6.Get access token using following command which returns API not found with these values
curl http://localhost:8000/oauth2/token -d "client_id=mockbin&grant_type=client_credentials" -d "client_secret=mockbin"
{"request_path":"/oauth2/token","message":"API not found with these values","request_host":["localhost"]}
Additional Details & Logs
What am I doing wrong on Step 6?  What is the expected output of this command ? Will I get access_token after I run this command?

Kong version 0.8.3
Kong configuration (registered APIs/Plugins & configuration file)
Kong error logs (<KONG_PREFIX>/logs/error.log)

no errors seen while running these commands

Operating System OSX Yosemite

I also tried following
curl -X POST http://localhost:8001/oauth2/token -d "client_id=mockbin&grant_type=client_credentials" -d "client_secret=mockbin"
{"message":"Not found"}

Use:
curl http://localhost:8000/oauth2/token \
  -H "Host: mockbin.com" \
  -d "client_id=mockbin&grant_type=client_credentials" \
  -d "client_secret=mockbin"

I tried following command with no success
Request ->
curl http://localhost:8000/oauth2/token   -H "Host: mockbin.com"   -d "client_id=mockbin&grant_type=client_credentials"   -d "client_secret=mockbin"
Response
{"error":"access_denied","error_description":"You must use HTTPS"}
Is it true that Kong OAuth Plugin requires https to work?
I uncommented following line in kong.yml
proxy_listen_ssl: "<IP_ADDRESS>:8443"
curl --insecure https://localhost:8443/oauth2/token   -H "Host: mockbin.com"   -d "client_id=mockbin&grant_type=client_credentials"   -d "client_secret=mockbin"
Response
{"error":"invalid_scope","error_description":"You must specify a scope"}
Please advise how to proceed ?

The scope was defined while enabling auth plugin with the option config.scopes=email,phone,address
Enabled oauth plugin curl -X POST http://localhost:8001/apis/mockbin/plugins --data "name=oauth2" --data "config.scopes=email,phone,address" --data "config.mandatory_scope=true" --data "config.enable_client_credentials"

Waiting to get suggestion on OAUTH client_credentials support. I tried following as per suggestion but got error response
curl http://localhost:8000/oauth2/token
-H "Host: mockbin.com"
-d "client_id=mockbin&grant_type=client_credentials"
-d "client_secret=mockbin"
Response
{"error":"invalid_scope","error_description":"You must specify a scope"}

When you request the access token, you must specify a scope parameter. In your first comment you are only specifying grant_type, client_id, client_secret but no scope.

I am able to create access_token by specifying scope, however the APIs fails when token is passed. Please see request and response below
curl --insecure https://localhost:8443/oauth2/token -H "Host: mockbin.com" -d "client_id=mockbin&grant_type=client_credentials" -d "client_secret=mockbin" -d "scope=email"
{"token_type":"bearer","access_token":"a1d40be5f8674f3ebb063bf074599ffa","expires_in":7200}
curl -i -X GET   --header 'Authorization: Bearer 9199bf37a1f24ea685f9afee71a9a192' --url http://localhost:8000/   --header 'Host: mockbin.com'
HTTP/1.1 502 Bad Gateway
Date: Tue, 16 Aug 2016 18:35:16 GMT
Content-Type: text/plain; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Server: kong/0.8.3
An invalid response was received from the upstream server
What am I missing or doing wrong?

502 is usually an error returned when the upstream service is not reachable. Make sure the final API is up and running, it seems to be down or crashing.

Thanks for the response. I found out that the API returns an error with "HTTP/1.1 502 Bad Gateway" behind corporate firewall/proxy.
Here is the error.log
2016/08/17 11:30:29 [alert] 14271#0: send() failed (49: Can't assign requested address)
2016/08/17 11:30:29 [error] 14271#0: *179 peer closed connection in SSL handshake (54: Connection reset by peer) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: _, request: "GET / HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/docs/0.8.x/getting-started/adding-your-api/", host: "getkong.org"
2016/08/17 11:30:29 [alert] 14271#0: send() failed (49: Can't assign requested address)
2016/08/17 11:30:29 [crit] 14271#0: *179 SSL_shutdown() failed (SSL: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init) while SSL handshaking to upstream, client: <IP_ADDRESS>, server: _, request: "GET / HTTP/1.1", upstream: "https://<IP_ADDRESS>:443/docs/0.8.x/getting-started/adding-your-api/", host: "getkong.org"
2016/08/17 11:30:29 [alert] 14271#0: send() failed (49: Can't assign requested address)
I created following API
curl -i -X POST   --url http://localhost:8001/apis/   --data 'name=kong' --data 'upstream_url=https://getkong.org/docs/0.8.x/getting-started/adding-your-api/' --data 'request_host=getkong.org'
What settings are needed when kong gw is installed behind corporate firewall/proxy to reach external APIs?
Another question - How scope is used in Oauth authentication? I see that scope is mandatory parameter to create oauth token for client_credentials. It is not clear how scope can be be used for authorization.

How scope is used in Oauth authentication?

You can define available scopes and decide if they should be mandatory or not. When you authenticated a user with a specific scope, the authenticated scope is passed into a X-Authenticated-Scope upstream request header.
Please check the documentation at https://getkong.org/plugins/oauth2-authentication

In Kong, you can do one thing. You can terminate SSL(trusted , can use free SSL via ACM) on ELB of KONG and use the feature "Accept HTTP if already terminated" in OAUTH2 plugin. But keep in mind the ELB Listeners will be (Secure TCP 443)--> (Secure TCP 8443 [https port exposed by KONG]) . It worked for me. Cheers. My Oauth is working as expected on Kong.


Agent can cause memory issues when it runs after the window load event

Description
When the initial agent script (loader) executes after the load event, it will never load the second part of the agent. It will also continue buffering data indefinitely.
There is a failsafe mechanism to stop collecting data when the second part of the agent does not load within 30 seconds. But this mechanism is setup when the window load event fires. Therefore, if the event never fires, data will continue to be collected in a buffer causing the web page to eventually run out of memory.
Expected Behavior
The agent should detect if the window load event has already occurred, and either initiate the second script download or abort.

Not a confirmed problem. We will close this issue.


Update Part1 Step07Controller with logic for missing verification specification

Per email:
Question on Step07  in the specification:
For obd module: <IP_ADDRESS>.b.iv. Fail if CVN padded incorrectly (must use 0x00 in MSB for unused bytes)
For non-obd module: <IP_ADDRESS>.c.v. Warn if CVN padded incorrectly (must use 0x00 in MSB for unused bytes)
How do we determine if the CVN is less than 4 bytes?  The /73 project indicates this is determined by the length of the check sum but  how do we know the length of the check sum so we can determine if it has been padded?
Once clarification for this logic is recieved these step verification will need to be added to the controller and its unit tests.

Eric to update Spec to indicate how this should handled.

Eric to update Spec to indicate how this should handled.

Proposed Resolution: 1/21/2021 email
It would be ok to check all bytes for binary zeros.  It is highly unlikely to see 8 consecutive 0s in a completed CRC calculation. The probability of a false positive is guaranteed to be less than 1/256. This is not believed to be a pressing industry issue... let’s issue a warning message for excess zeros in any byte.
The text would then read:
<IP_ADDRESS>.b.iv. Warn if CVN provides an implausible value of 00 in any byte.
<IP_ADDRESS>.c.v. Warn if CVN provides an implausible value of 00 in any byte.
Rationale:
It is not worth the effort to query users as to the actual lengths of multiple CVNs, as the plurality are expected to be 32-bit CVNs. Figuring out which lengths apply to which CVNs will also be problematic.
Note: A 16-bit CRC will have two bytes of trailing zeros in little endian notation.  If it wasn’t packed right, it will have 2 bytes of leading zeros.  If we check both the first and last bytes for zeros, we can screen likely suspects.  It seems just as easy to check all 4 bytes.
These examples show 00h is uncommon

Was the proposal implemented?

We need to update to the documentation and note that this will be a future enhancement

Alternatively
a. Fail if total number of reported CAL IDs is < user entered value for number of emission or diagnostic critical control units (test 6.1.2).  b. For responses from OBD ECUs: i. Fail if <> 1 CVN for every CAL ID.  ii. Fail if CAL ID not formatted correctly (printable ASCII, padded incorrectly, etc.).  iii. Fail if any received CAL ID is all 0xFFh or any CVN is all 0x00h.  iv. Fail if CVN padded incorrectly (must use 0x00h in MSB for unused bytes). <IP_ADDRESS> Warn Criteria a. Warn if total number of reported CAL IDs is > user entered value for number of emission or diagnostic critical control units (test 6.1.2). b. Warn if more than one CAL ID and CVN pair is provided in a single DM19 message.  c. For responses from non-OBD ECUs: i. Warn if any non-OBD ECU provides CAL ID.  ii. Warn if <> 1 CVN for every CAL ID.  iii. Warn if CAL ID not formatted correctly (contains non-printable ASCII, padded incorrectly, etc.).  iv. Warn if any received CAL ID is all 0xFFh or any CVN is all 0x00h.  v. Warn if CVN padded incorrectly (must use 0x00h in MSB for unused bytes).
<IP_ADDRESS>.b.iv. Warn if CVN provides an implausible value of 00 in any byte.
<IP_ADDRESS>.c.v. Warn if CVN provides an implausible value of 00 in any byte.

Omitted from 17 March 2021 as built draft.

This proposal was not included in the 17 March 2021 as built draft

Add to enhancement draft

To clarify, the methods to check for invalid CAL IDs was not directly defined in SAE J1939-84.
The padding checks proposed provide a heuristic approach for error detection 16-bit padding with zeros is compelling evidence as 16 consecutive zero bits in a CRC is highly unlikely.

SOW Text
<IP_ADDRESS> Fail Criteria
a. Fail if total number of reported CAL IDs is < user entered value for number of emission or diagnostic critical control units (test 6.1.2).
b. For responses from OBD ECUs:
i. Fail if <> 1 CVN for every CAL ID.
ii. Fail if CAL ID not formatted correctly (printable ASCII, padded incorrectly, etc.).
iii. Fail if any received CAL ID is all 0xFFh or any CVN is all 0x00h.
iv. Fail if any received CVN is all 0x00h
v. Fail if CVN padded with 16-binary zeros (where either the 1st two bytes are both 00h or the last two bytes both 00h). Note HD OBD CVNs are required to be 32-bits.
<IP_ADDRESS> Warn Criteria
a. Warn if total number of reported CAL IDs is > user entered value for number of emission or diagnostic critical control units (test 6.1.2).
b. Warn if more than one CAL ID and CVN pair is provided in a single DM19 message.
c. For responses from OBD ECUs, warn if 00h is observed in either the first or fourth bytes.
d. For responses from non-OBD ECUs:
i. Warn if any non-OBD ECU provides CAL ID.
ii. Warn if <> 1 CVN for every CAL ID.
iii. Warn if CAL ID not formatted correctly (contains non-printable ASCII, padded incorrectly, etc.).
iv. Warn if any received CAL ID is all 0xFFh or any CVN is all 0x00h.
v. Warn if any received CVN is all 0x00h.
vi. Warn if CVN padded incorrectly (must use 0x00h in MSB for unused bytes).

Duplicate suggested text found


Grib reading issue

Dear maintaners,
I have a grib file named ****.grib2. I used ncl_filedump ***.grib2 to check the available variables, which are written as follows:

filename:	apcp_sfc_2009010100_c00
path:	xxxx/xxxx/apcp_sfc_2009010100_c00.grib2
file global attributes:
dimensions:
forecast_time0 = 40
lat_0 = 721
lon_0 = 1440
forecast_time1 = 40
variables:
float APCP_P11_L1_GLL0_acc6h ( forecast_time0, lat_0, lon_0 )
center :	US National Weather Service - NCEP (WMC)
production_status :	Operational products
long_name :	Total precipitation
units :	kg m-2
_FillValue :	1e+20
grid_type :	Latitude/longitude
parameter_discipline_and_category :	Meteorological products, Moisture
parameter_template_discipline_category_number :	( 11, 0, 1, 8 )
level_type :	Ground or water surface
level :	 0
type_of_statistical_processing :	Accumulation
statistical_process_duration :	6 hours (ending at forecast time)
initial_time :	01/01/2009 (00:00)
  float APCP_P11_L1_GLL0_acc3h ( forecast_time1, lat_0, lon_0 )
     center :	US National Weather Service - NCEP (WMC)
     production_status :	Operational products
     long_name :	Total precipitation
     units :	kg m-2
     _FillValue :	1e+20
     grid_type :	Latitude/longitude
     parameter_discipline_and_category :	Meteorological products, Moisture
     parameter_template_discipline_category_number :	( 11, 0, 1, 8 )
     level_type :	Ground or water surface
     level :	 0
     type_of_statistical_processing :	Accumulation
     statistical_process_duration :	3 hours (ending at forecast time)
     initial_time :	01/01/2009 (00:00)

  integer forecast_time1 ( forecast_time1 )
     long_name :	Forecast offset from initial time
     units :	hours

  float lat_0 ( lat_0 )
     long_name :	latitude
     grid_type :	Latitude/Longitude
     units :	degrees_north
     Dj :	0.25
     Di :	0.25
     Lo2 :	359.75
     La2 :	-90
     Lo1 :	 0
     La1 :	90

  float lon_0 ( lon_0 )
     long_name :	longitude
     grid_type :	Latitude/Longitude
     units :	degrees_east
     Dj :	0.25
     Di :	0.25
     Lo2 :	359.75
     La2 :	-90
     Lo1 :	 0
     La1 :	90

  integer forecast_time0 ( forecast_time0 )
     long_name :	Forecast offset from initial time
     units :	hours

This grib file has two precip variables APCP_P11_L1_GLL0_acc6h and APCP_P11_L1_GLL0_acc3h. I know one way to read the data is

grbs = pygrib.open(file)
for var in grbs.select(name='Total Precipitation'):
print(var)

But this method will mix **acc6h and acc3h teogether. I tried to read the acc6h variable with:

grbs = pygrib.open(file)
for var in grbs.select(name='APCP_P11_L1_GLL0_acc6h'):
print(var)

but end up with failure. I wonder what is the correct way to do so
Thanks.

You probably want to add the accumulation period to the select criteria.  Try running 'grib_list' on the file to see what the key name is for accumulation interval.


[WIP] abstract ServiceRegistryTests

Consolidates ServiceRegistry test classes
Left some tests alone as they seemed registry specific.

[x] Brief description of changes applied
[x] Any documentation on how to configure, test [none]
[x] Any possible limitations, side effects, etc
[x] Reference any other pull requests that might be related.

Resuming work here https://github.com/apereo/cas/pull/3375


Shrink heartbeat output so individual instance IDs are not listed for actors

For large or excessive numbers of actors in a given virtual host, the heartbeat size can become cumbersome, large, and occasionally even large enough to exceed the NATS default message size limit. One method for remediating this is to return an instance count with the actor rather than an itemization of each instance. If a consumer needs an itemized listing, they can obtain it with a "host inventory" call.
Mentioned in #503

Think we did this right @autodidaddict ?

Yep new heartbeat format was one of the many changes in 0.60


import-installation` call times out waiting for response from ops manager

Looks to be the same as issue #15
While running opsman upgrade via the pcf pipelines.
15m5s elapsed, waiting for response from Ops Manager...
15m6s elapsed, waiting for response from Ops Manager...
15m7s elapsed, waiting for response from Ops Manager...
15m8s elapsed, waiting for response from Ops Manager...
15m9s elapsed, waiting for response from Ops Manager...
15m10s elapsed, waiting for response from Ops Manager...
15m11s elapsed, waiting for response from Ops Manager...
15m12s elapsed, waiting for response from Ops Manager...
15m13s elapsed, waiting for response from Ops Manager...
15m14s elapsed, waiting for response from Ops Manager...
15m15s elapsed, waiting for response from Ops Manager...
15m16s elapsed, waiting for response from Ops Manager...
15m17s elapsed, waiting for response from Ops Manager...
could not execute "import-installation": failed to import installation: could not make api request to installation_asset_collection endpoint: Post https://<IP_ADDRESS>/api/v0/installation_asset_collection: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Running v0.15.2 on PCF Platform Automation with Concourse (PCF Pipelines)
Verified that om-linux within the container was running the latest v0.23

Hi @filidav,
Sadly, this is a timeout in the Ops Manager API itself, and not in om, so there is nothing we can do about it. We have already communicated this issue to the Ops Manager team, but it might be worth discussing it with them directly so that they are aware of the number of people it affects.
Regards,
Dave

Looks like this will be corrected.
https://github.com/pivotal-cf/pcf-pipelines/blob/5bed70e9a85484966bdb845b1059dacb931ded5b/tasks/import-opsmgr-settings/task.sh#L35
David Filippelli
On Jul 13, 2017, at 8:13 PM, Dave Walter <notifications<EMAIL_ADDRESS>wrote:
Hi @filidavhttps://github.com/filidav,
Sadly, this is a timeout in the Ops Manager API itself, and not in om, so there is nothing we can do about it. We have already communicated this issue to the Ops Manager team, but it might be worth discussing it with them directly so that they are aware of the number of people it affects.
Regards,
Dave
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pivotal-cf/om/issues/90#issuecomment-315235193, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWJsOjAPafhn56YGQQdx6dYR9D6cUN4iks5sNrKZgaJpZM4OVowv.
STATEMENT OF CONFIDENTIALITY The information contained in this email message and any attachments may be confidential and legally privileged and is intended for the use of the addressee(s) only. If you are not an intended recipient, please: (1) notify me immediately by replying to this message; (2) do not use, disseminate, distribute or reproduce any part of the message or any attachment; and (3) destroy all copies of this message and any attachments.

Hello @filidav;
Just so you are aware, the link you provided shows the --request-timeout in the wrong location.
It's an option, not an argument, which means it needs to be specified BEFORE the import-installation command.
The other group has already updated the task to reflect this change in at least the latest 0.15.3 release candidate.


[Question] Enable Volar syntax highlight for a block inside Pug file

Hi,
Currently, I have some Vue code inside a .pug file, it is a script block of pug and there is no highlighting at all (of course), please check the sample image to understand my situation.
So is there any way to get Volar works only inside that code block?
If not, is it possible to implement this feature? I am able to create a PR for it, but please give me some hints first.
Thanks a lot!

This feature should not be implemented by Volar as it is not specific to Vue, it is only need to support js embedded language syntax highlight for .pug.
You can see how to do this from VSCode document: https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#embedded-languages


[BUG]Merging cells will cause the content to disappear when cells has rich text.

Describe the bug
Merging cells will cause the content to disappear when cells has rich text
To Reproduce
Steps to reproduce the behavior:

Go to https://mengshukeji.github.io/LuckysheetDemo/
Copy content from sheet[0] cell[5][0] to sheet[0] cell[6][0]
Merge two cells
Cell has no content.

What is expected?
Expect cell[5][0] content shown in merged cell.
Screenshots or demo
If applicable, add screenshots or online demo to help explain your problem.We will be more accurate when we retest.

Environment

OS: MacOS
Browser Version: [Chrome Version  86.0.4240.80 (Official Build) (64-bit)]
Luckysheet Version: [latest]

any news?

fixed in update


drivers: NXP drivers not selecting PINCTRL when needed

This is an issue for more than NXP boards and drivers, but this tracking issue is for NXP platforms only as that is what the NXP platform maintainers will commit to fixing.
The issue is that many (maybe all) NXP boards are setting CONFIG_PINCTRL=y in the board conf file. This should not have to happen because any drivers that use the pinctrl should select it automatically.
Example:
https://github.com/zephyrproject-rtos/zephyr/blob/dc5f1bfb3f2eee3e3775175232d508660f5d6efe/boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu0_defconfig#L12
The only exception I found was the twr_ke18f board which does use pinctrl APIs in the board code itself:
https://github.com/zephyrproject-rtos/zephyr/blob/dc5f1bfb3f2eee3e3775175232d508660f5d6efe/boards/nxp/twr_ke18f/pinmux.c#L11-L27

The only exception I found was the twr_ke18f board which does use pinctrl APIs in the board code itself:

The board's Kconfig file would need to select it in that case

closing as duplicate of #78619


Bump parent pom from 6.2.0 to 6.7.0

In order to validate the plugin with Jetty 12, we need to get https://github.com/jenkinsci/plugin-pom/pull/693 which is included in 4.62 version. That bump occurred on the analysis-pom version 6.7.0.

Testing done
None. Relying on the CI to build this.

Submitter checklist

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

The plugin is deprecated and not used anymore. Wouldn't it make more sense to remove it from the tests?

I agree it would however, this is not something I can achieve as quickly as I would like to. And in the mean time, this would kinda resolve the problem I see in my Jetty 12 testing.

Do you need a release as well?

Yes that would be perfect if you could release this. Thank you @uhafner for your help on this.