added horizon to termination in Env

also updated the default horizon in EnvParams to be infinity so that it by default does not affect anything
resolves #442

Pull Request Test Coverage Report for Build 2931

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 88.395%

Files with Coverage Reduction
New Missed Lines
%

flow/core/kernel/vehicle/traci.py
1
89.46%

Totals

Change from base Build 2929:
0.0%

Covered Lines:
7617

Relevant Lines:
8617

💛  - Coveralls

What is the rationale behind defaulting horizon to infinity?

this is so that it can be backwards compatible, in case people still want to specify the horizon from num_steps in the Experiment.run(...)


Can edit the web page before login

In my instance I can edit the page before and after logging in.
Is there something obvious that I am doing wrong?

NVM, I see the changes are not saved if not logged in.
I'll disable the edit button, prior to logging in.


added version.rb

@rultor merge

@rultor merge

@doldrums OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@doldrums Done! FYI, the full log is here (took me 7min)

@rultor release, tag='0.1.0'

@rultor release, tag=0.1.0

@rultor release, tag=0.1.0

@doldrums OK, I will release it now. Please check the progress here

@rultor release, tag=0.1.0

@doldrums Oops, I failed. You can see the full log here (spent 7min)
Fetching http 5.0.4
Installing http 5.0.4
Fetching sassc-rails 2.1.2
Installing sassc-rails 2.1.2
Fetching sass-rails 6.0.0
Installing sass-rails 6.0.0
Fetching simplecov-json 0.2.3
Installing simplecov-json 0.2.3
Bundle complete! 25 Gemfile dependencies, 95 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
+ pdd -f /dev/null
\u001b[33mWarning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.3.22). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.3.22`.
\u001b[0mResolving dependencies...
+ git remote add dokku dokku@dokku.0capa.com:capa
+ rm -rf /home/r/.ssh
+ mkdir /home/r/.ssh
+ mv ../id_rsa ../id_rsa.pub /home/r/.ssh
+ chmod -R 600 /home/r/.ssh/id_rsa /home/r/.ssh/id_rsa.pub
+ echo -e 'Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null'
+ git fetch
Warning: Permanently added 'github.com,<IP_ADDRESS>' (ECDSA) to the list of known hosts.

+ sed -i s/BUILD/0.1.0/g ./version.rb
+ git add ./version.rb
+ git commit -m 'build number set'
[__rultor 33099d3] build number set
 1 file changed, 1 insertion(+), 1 deletion(-)
+ cp ../config.yml config/secrets.yml
+ bundle exec rake
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/r/repo/config/config.yml
/home/r/repo/config/application.rb:33:in `initialize'
/home/r/repo/config/application.rb:33:in `open'
/home/r/repo/config/application.rb:33:in `<class:Application>'
/home/r/repo/config/application.rb:13:in `<module:Tom>'
/home/r/repo/config/application.rb:12:in `<top (required)>'
/home/r/repo/Rakefile:6:in `require_relative'
/home/r/repo/Rakefile:6:in `<top (required)>'
/home/r/.ruby/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/home/r/.ruby/bin/ruby_executable_hooks:24:in `eval'
/home/r/.ruby/bin/ruby_executable_hooks:24:in `<main>'
(See full trace by running task with --trace)
container 1bbd706457ce1644b5389b9b3fdf8cd4cfb4fb087eab48bbefc9b0aa357b2162 is dead
Sun 30 Oct 2022 10:41:28 PM CET


Tool unable to detect XSS

Am I doing something wrong? Looking for help, I am sure I am not using the tool properly!

While the tool cannot detect it (working payload on top of the list).

test again after new update !


spacing needed

add spacing to the cards in home page under gssoc-ext

this issue has been solved, so we are closing this issue.


Flatten lists and fix !reference recursiveness

closes #306
closes #426

npm run build fails on my machine.
git show-ref flatten-lists

8b98aa51fb448d742ba40dc6590af13295fb3793 refs/heads/flatten-lists
8b98aa51fb448d742ba40dc6590af13295fb3793 refs/remotes/origin/flatten-lists

npm install works.
Output from npm run build: https://gist.github.com/atc-cegodk/819aea27ed6854193a693cf653338982
My machine:
macOS 12.3 Monterey (x86_64 Intel CPU)
node --version ; npm --version

v16.15.0
8.5.5

npm run build fails on my machine.
git show-ref flatten-lists

8b98aa5 refs/heads/flatten-lists
8b98aa5 refs/remotes/origin/flatten-lists

npm install works. Output from npm run build: https://gist.github.com/atc-cegodk/819aea27ed6854193a693cf653338982
My machine: macOS 12.3 Monterey (x86_64 Intel CPU) node --version ; npm --version

v16.15.0
8.5.5

Hmm... Works on my machine :laughing:
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npm install && npm run build
added 608 packages, and changed 1 package in 3s

<EMAIL_ADDRESS>build
rm -f src/.js src/.d.ts && tsc

mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ git clean -fdx -e .idea
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npm --version
8.5.5
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ node --version
v16.15.0

npm run build fails on my machine.
git show-ref flatten-lists

8b98aa5 refs/heads/flatten-lists
8b98aa5 refs/remotes/origin/flatten-lists

npm install works. Output from npm run build: https://gist.github.com/atc-cegodk/819aea27ed6854193a693cf653338982
My machine: macOS 12.3 Monterey (x86_64 Intel CPU) node --version ; npm --version

v16.15.0
8.5.5

Hmm... Works on my machine 😆 mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npm install && npm run build
added 608 packages, and changed 1 package in 3s

<EMAIL_ADDRESS>build
rm -f src/.js src/.d.ts && tsc

mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ git clean -fdx -e .idea
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npm --version
8.5.5
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ node --version
v16.15.0
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npx tsc

I think that I first ran npm install with the newest nodejs (v18.0), then downgraded to the current LTS (v16.15).
after a git clean -fdx and retrying, it works 🤷  Something funky on my machine. Ignore this thread 😅

npm run build fails on my machine.
git show-ref flatten-lists

8b98aa5 refs/heads/flatten-lists
8b98aa5 refs/remotes/origin/flatten-lists

npm install works. Output from npm run build: https://gist.github.com/atc-cegodk/819aea27ed6854193a693cf653338982
My machine: macOS 12.3 Monterey (x86_64 Intel CPU) node --version ; npm --version

v16.15.0
8.5.5

Hmm... Works on my machine laughing mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npm install && npm run build
added 608 packages, and changed 1 package in 3s

<EMAIL_ADDRESS>build
rm -f src/.js src/.d.ts && tsc

mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ git clean -fdx -e .idea
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npm --version
8.5.5
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ node --version
v16.15.0
mjn@mjn-laptop:~/workspace/firecow-gitlab-ci-local$ npx tsc

I think that I first ran npm install with the newest nodejs (v18.0), then downgraded to the current LTS (v16.15).
after a git clean -fdx and retrying, it works shrug Something funky on my machine. Ignore this thread sweat_smile

I'm added the two missing types to package.json dev dependencies

Thank you for this 😊


System.InvalidCastException: Unable to cast object of type ClassNameDtoTypeConverter to type 'System.Text.Json.Serialization.JsonConverter`1[CFValue]'

Trying to get issues with custom field with "Issue List" type
my code: https://pastebin.com/2jHbnPC1
stacktrace: https://hastebin.com/raw/xowezokevu
System.InvalidCastException: Unable to cast object of type 'JetBrains.Space.Common.Json.Serialization.Polymorphism.ClassNameDtoTypeConverter' to type 'System.Text.Json.Serialization.JsonConverter`1[JetBrains.Space.Client.CFValue]' while trying to get custom fields

Forgot to mention that it only occurs on .NET5
With .NETCORE3.1 it works

A new version of the package is now available on NuGet, please give it a try and let us know how it goes?

Working! Thank you for fast fix :)


stdenv setup: Run setup hooks and other processing after accumulating deps

Motivation for this change
Dependencies are now just accumulated in findInputs, and and their setup hooks and other side-effectual stuff run after. Some packages, along with work by @sjmackenzie IIRC, used findInputs separately. I'm a bit dubious of this in general, but this makes it better by having findInputs just, you know, find the inputs. In any event, I find the separation of concerns more readable, especially once I complicate the propagation logic in my yet-to-be-merged cross work.
This is a part of https://github.com/NixOS/nixpkgs/pull/31414 that currently actually works, heh.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

@nixborg build


Preprocessing LLVM IR?

Hi again! 👋
The cclyzer++ docs do a great job explaining unsupported language features. Given this, is a recommended set of passes that should be run over the LLVM IR before running cclyzer++? For example, the clam abstract interpreter provides the clam-pp tool to get the IR into a state amenable to clam's abstract interpreter. Is it necessary/preferable to do something similar before running the fact-generator/static analysis? For example, one of the unsupported is exception handling (e.g., via the resume and landingpad instructions). However, if you preprocess the IR with LLVM's LowerInvoke pass these instructions go away.
Is this a useful feature? Are there any performance benefits to be gained from this?

I hadn't really thought about it! You can pass -fno-vectorize to Clang to avoid some of the vectorization issues, we should recommend that in the docs if we don't already. I hadn't heard of LowerInvoke, but it sounds useful! I'm amenable to adding that to the docs as well.
Lastly, I'll say that the effect of the current sources of unsoundness depends a lot on what exactly you care about analyzing. For a lot of our use-cases, exceptional data-flows aren't critical (hence, we haven't prioritized fixing them). That being said, I'm of course not satisfied as long as there's obvious unsoundness.

Are there any performance benefits to be gained from this?

In general, the more unsound the analysis, the faster it goes :smile: So there are probably performance detriments

Thanks @langston-barrett!

In general, the more unsound the analysis, the faster it goes 😄 So there are probably performance detriments

Hehe yeah ok makes sense.
I just submitted a PR to include some discussion on how to reduce the impact of these unsupported code constructs. Let me know what you think!


UX | Using all content and features to improve LU ML (LUIS, QnA, etc)

Managed LU - UX
4. Composer helps to improve language understanding by automatically using all content and features, independent of the associated recognizers (LUIS, QnA, etc)

@mareekuh I don't know what this means but leaving this as a UX/Design task.

I have no idea either. I think this came from one of Brenda's items in the project list. (-;


Ports in wrong column

In rows 1-2 of the table, ports appear (correctly) in the "Port" column, but in rows 3-6, they appear incorrectly in the "URL or IP Address" column.

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

ID: 02995860-63e0-47fa-91f8-35e7898116d1
Version Independent ID: 39939a47-0efc-5632-11ad-05d1e91b4bde
Content: Azure Sphere OS networking requirements
Content Source: AzureSphere/articles/network/ports-protocols-domains.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

Thank you the feedback. We’ll fix this.
From: Josh Mandel<EMAIL_ADDRESS>Sent: Friday, February 1, 2019 11:36 AM
To: MicrosoftDocs/azure-sphere-issues<EMAIL_ADDRESS>Cc: Penny Orwick<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [MicrosoftDocs/azure-sphere-issues] Ports in wrong column (#77)
In rows 1-2 of the table, ports appear (correctly) in the "Port" column, but in rows 3-6, they appear incorrectly in the "URL or IP Address" column.

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

ID: 02995860-63e0-47fa-91f8-35e7898116d1
Version Independent ID: 39939a47-0efc-5632-11ad-05d1e91b4bde
Content: Azure Sphere OS networking requirementshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure-sphere%2Fnetwork%2Fports-protocols-domains%23feedback&data=02|01|Penny.Orwick%40microsoft.com|6fe41d94899f427690a108d688742c76|72f988bf86f141af91ab2d7cd011db47|1|0|636846429875549723&sdata=Qknkg%2FCVI9oEHBMDcPTU1w8H3oQMCC6UMIkufQ36TeA%3D&reserved=0
Content Source: AzureSphere/articles/network/ports-protocols-domains.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FAzure-Sphere-Docs-pr%2Fblob%2Flive%2FAzureSphere%2Farticles%2Fnetwork%2Fports-protocols-domains.md&data=02|01|Penny.Orwick%40microsoft.com|6fe41d94899f427690a108d688742c76|72f988bf86f141af91ab2d7cd011db47|1|0|636846429875559718&sdata=17ubWNE8JEXJyXihWqKtV6aggJUDGJIcGDOCPSuRWIQ%3D&reserved=0
Product: azure-sphere
GitHub Login: @pennyohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpennyo&data=02|01|Penny.Orwick%40microsoft.com|6fe41d94899f427690a108d688742c76|72f988bf86f141af91ab2d7cd011db47|1|0|636846429875559718&sdata=Prl%2BcdJH8moNGJ0eSlyoSGtQjU%2Fdcoaw30Jd2JoMDaE%3D&reserved=0
Microsoft Alias: azurespheredocs

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-sphere-issues%2Fissues%2F77&data=02|01|Penny.Orwick%40microsoft.com|6fe41d94899f427690a108d688742c76|72f988bf86f141af91ab2d7cd011db47|1|0|636846429875569712&sdata=PBfzZtbI8u85OnTO9PJTBNNXx8rmNGn9JGIwJl9K%2FA0%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAbObxY7KeUkpq004pDKojBY22hI71qxoks5vJIkpgaJpZM4ae25o&data=02|01|Penny.Orwick%40microsoft.com|6fe41d94899f427690a108d688742c76|72f988bf86f141af91ab2d7cd011db47|1|0|636846429875579705&sdata=zR7bZ%2Fa3aMQhJCuEYCssgrNIekVA%2Febbo%2BRpwiWrrYs%3D&reserved=0.

Fixed in 19.02 release.


Expand URLs in profile bio too

Currently the URLs in profile bios are not expanded, for instance https://respublicae.eu/@peterliese contains

Impressum: https://t.co/gOXDmFJjsx

which is a link to https://peter-liese.de/index.php/impressum . I think the reason for this is that URLs in bios count against the character limit. So I guess there are two possibilities if you want to change this:

expand the URL but keep the t.co short URL if it wouldn't otherwise fit in the space;
support URL shortening via kutt.it (https://pypi.org/project/kutt/ ), add a configuration variable to pick a kutt instance.

Good suggestion, I pushed the changes needed to 1.0.3rc12:
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pleroma-bot==1.0.3rc12

On this version, the URLs are expanded if the bio length does not exceed the Fedi instance's limit.
Regarding the use of third-party url shorteners, apparently "URLs in text always count for 23 characters":
https://docs.joinmastodon.org/client/guidelines/
I haven't tested it specifically with the bio text but I assume it gets treated the same way.
So I don't see the value of providing a way to use custom url shorteners with the bot as of right now.

Thanks!

I haven't tested it specifically with the bio text but I assume it gets treated the same way.

I only did a simplistic test on my own bio and it seemed to be capped at 500 characters including the "real" URL length, maybe because the bio text is shown as is in the profile previews.


How to Recover Deleted Text Messages on samsung s8?

Samsung galaxy s8 the curved, 5.8-inch Infinity Screen stretches all the way to the edges, so you'll get the biggest picture possible, without added bulk. Get rich, deep contrast and vibrant color with the world's first HDR-certified smartphone display‡, and multi-task like a pro in split-screen.
Method to Restore lost Text Messages on Samsung Galaxy S8:
Samsung Data Recovery is a professional tool to recover data from android devices. It can recover deleted videos, photos, contacts, text messages, WhatsApp messages, Viber messages, etc. from different android devices including Samsung, Sony, Huawei, LG, HTC, and more.
More info:
Recover Deleted Photos from Samsung Galaxy S8

Samsung Data Recovery as the world's No.1 data recovery tool which can directly Recover Deleted Text Messages, Contacts, Videos, Photos, Call logs, Whatsapp Messages and other Document Files from Your Samsung Galaxy Phone and SD card. So, you can easily to recover deleted messages from Samsung S8/S8+ by using this tool.


Ensuring that admin commands run only on partitions on the node

Codecov Report

Merging #772 into master will increase coverage by 0.04%.
The diff coverage is 80%.

@@             Coverage Diff              @@
##             master     #772      +/-   ##
============================================
+ Coverage     65.67%   65.71%   +0.04%
- Complexity     3908     3913       +5
============================================
  Files           342      342
  Lines         25932    25931       -1
  Branches       3240     3239       -1
============================================
+ Hits          17030    17041      +11
+ Misses         8001     7992       -9
+ Partials        901      898       -3

Impacted Files
Coverage Δ
Complexity Δ

.../com.github.ambry/tools/admin/ServerAdminTool.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.server/AmbryRequests.java
68.88% <88.88%> (+0.5%)
56 <0> (+1)
:arrow_up:

...b.ambry.network/BlockingChannelConnectionPool.java
64.03% <0%> (-2.2%)
8% <0%> (ø)

...in/java/com.github.ambry.network/SocketServer.java
82.78% <0%> (-0.41%)
13% <0%> (ø)

.../main/java/com.github.ambry.store/HardDeleter.java
81.93% <0%> (ø)
42% <0%> (ø)
:arrow_down:

...java/com.github.ambry.router/GetBlobOperation.java
88.59% <0%> (+0.26%)
31% <0%> (+1%)
:arrow_up:

...in/java/com.github.ambry.store/BlobStoreStats.java
86.12% <0%> (+0.71%)
93% <0%> (ø)
:arrow_down:

.../com.github.ambry.router/GetBlobInfoOperation.java
81.25% <0%> (+1.38%)
31% <0%> (+1%)
:arrow_up:

...c/main/java/com.github.ambry.network/Selector.java
82.07% <0%> (+3.58%)
45% <0%> (+1%)
: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 8eb66f8...c1f5b8a. Read the comment docs.

@cgtz comments addressed


Update README

Codecov Report
Patch and project coverage have no change.

Comparison is base (884e6da) 100.00% compared to head (182ca61) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #41   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          300       300
  Branches        46        46
=========================================
  Hits           300       300

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[API] Not correct  end-point PUT ubs/management/blockOrders

Environment: Windows 11 IoT Enterprise, Firefox 115.0.2 (64-bit)..
Reproducible: always.
Preconditions
Must be opened https://greencity-ubs.greencity.social/swagger-ui.html#/
Must be opened Postman
Opened [admin-ubs-controller]
Must be created Sign-In request to use this end-point
Steps to reproduce

(Postman) Choose method PUT
(Postman) Enter link - https://greencity-ubs.greencity.social/ubs/management/blockOrders
(Postman) Enter the data as described in Swagger - /ubs/management/blockOrders
(Postman) Save and send requiest.

Actual result
Response - 500 Internal Server Error
Expected result
Response - 200 OK
Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

Bug retesting needed.
End-point /ubs/management/blockOrders works correctly.
Preconditions
Must be opened https://greencity-ubs.greencity.social/swagger-ui.html#/
Must be opened Postman
Opened [admin-ubs-controller]
Must be created Sign-In request to use this end-point
Steps to succeed during testing:
1)(Postman) Choose method PUT
2)(Postman) Enter link - https://greencity-ubs.greencity.social/ubs/management/blockOrders
3)(Postman) Enter the data as described in Swagger - /ubs/management/blockOrders
3.1) listOfOrdersId NOT recommeded to add as Params in Postman. As it it is not a parameter, but a requested Body. (if will be added as a param - URL looks like  :
https://greencity-ubs.greencity.social/ubs/management/blockOrders?listOfOrdersId=
Inthis view it will lead to Error Status Code:500.
3.2)Add to Body in Postman listOfOrdersId in form of:
[
26
]
(inside of brackets should be one ore more orderId, in database you may choose any from (11,12,13,14,23,24,25,26,30,31)
If there will be not existing orderId or empty body added - Error with Status Code:500.
4)(Postman) Save and send requiest.
Expected result
Response - 200 [OK]
Actual result
Response - 200 [OK]
Photo with execution of end-poin work is added below. Please mention, I have worked with local database and my parameters are those that are present in my database.


update to latest karyon3 and better integration for eureka-server-karyon3

NetflixOSS » eureka » eureka-pull-requests #521 SUCCESS
This pull request looks good


Decrease the width of logo link

Fixes nav issue mentioned #67

alternately, if you have time you could fix the issue in the source repo: https://github.com/reactjs/reactjs.org/issues/1817


[Feature request] Basic payloads generator

Hi, currently, I'm wanting to replace Burp Intruder with FFUF at some points. But, Burp Suite Intruder allows you to select the payload set: Numbers, dates, characters, files, available simple payload lists, ... but FFUF doesn't. Of course, I don't need to have FFUF with all of those options (Many options are really complex, like working with bytes), but sometimes, I will need to brute-force the ID, or some simple other things like that, right? So I really want FFUF to have an option, is payload generator, allows me to generate payloads by numbers (from 1 to 1000) or set the payloads by regex ([a-z]{4})!
Thanks

Hi @shelld3v :)
FFUF is very different than Turbo Intruder, i use FFUF for almost everything but it need a good work to make it works in some scenarios, probably only valuable for long-term usages...
FFUF have two parallel projects which could give you some insights:

https://github.com/ffuf/pencode
https://github.com/ffuf/ffuf-scripts

The first work with encodings and the seconds "create/parse" the data you will send to FFUF.
In ffuf you can use normal -u URL/FUZZ or can use HTTP RAW Requests too, where you can set the payloads injection points, combined with ffuf-scripts.
If you need some specific ffuf-scripts please ask here and we see what we can do.

Well, this is just a suggestion!

Probably to do what you suggest or what intruder does, a GUI will be useful, since you need control a lot of inputs and manipulations of data, a big effort to do.

I think we can do this within the command line:

ffuf -payload [1-1000] -u https://example.com/?id=FUZZ -t 30 -c
ffuf -payload [A-Z][a-z]{4} -u https://example.com/api/user/FUZZ (Admin, Jobert, Guest, Bsopy, ...)

It's something like regex

Got it,
This case is simply solved with ffuf-scripts, you want help doing that?
Complex ones is the problem =]

I think this could help you. https://github.com/asciimoo/exrex I think that utility is not a bad option or create it as an independent project (exrex in go)

I think this could help you. https://github.com/asciimoo/exrex I think that utility is not a bad option or create it as an independent project (exrex in go)

thinking a bit, I think it would be a little useful if ffuf has the option of null payloads. In my spare time I will do my best to create a tool in go like the one from exrex. I already did it with the pencode contribution and it went well, I hope to repeat the instance. as always, i'm not the best developer but i hope to help with logic a bit.

thinking a bit, I think it would be a little useful if ffuf has the option of null payloads. In my spare time I will do my best to create a tool in go like the one from exrex. I already did it with the pencode contribution and it went well, I hope to repeat the instance. as always, i'm not the best developer but i hope to help with logic a bit.


App crashes if there are no image by uri (iOS)

Hi, I faced with an crash during handling downloaded image. (Xamarin.Forms, iOS)
I investigated this a little time and decided that it is native code-error.
Check attached Application output, pls
I will send pull request with fix (check it)
https://github.com/luberda-molinet/FFImageLoading/pull/529
Thanks a lot

upd.
This issue appearing when Server (namely .NET-server) returns EmptyResult by our Url

Check it, please

Hi I reviewed the change and it is fine. However this shouldn't lead to a crash, only to failing image loading.
What did you face?

Oh, sorry. You are right.
Probably, crashes in my app aren't related with this code.
I think, your can close this thread.
Thanks a lot.


add UST tag stablecoin

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
We need to add the tag stablecoin at UST

#17708

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

@keone please :)

merged


Add getting started section

I don't know why I didn't just open a PR. 😞
Closes #58

I don't think we should list both transitland and transitfeeds in the Getting Started section.
They're both listed later in the page.
To me, the Getting Started section should be as short as possible and should be the things you should look at if it's your first time hearing about GTFS.
I don't think beginners need to know about both transitland and transitfeeds. They're so similar. And transitfeeds has more data than transitland.

Ok, works for me. Thanks!


Sporadic/inconsistent erroneous DUPLICATE_TRANSACTION errors in testnet.

When submitting CryptoTransfers using async calls in rapid succession that differ only in memo (same sender/recipient/amount), I'm getting sporadic DUPLICATE_TRANSACTION results.
Sometimes they happen, sometimes they don't.
A modified examples TransferCrypto.java (edit SET_YOUR_RECIPIENT_ID_HERE):
package com.hedera.hashgraph.sdk.examples.advanced;

import com.hedera.hashgraph.sdk.HederaException;
import com.hedera.hashgraph.sdk.HederaThrowable;
import com.hedera.hashgraph.sdk.TransactionRecord;
import com.hedera.hashgraph.sdk.account.AccountId;
import com.hedera.hashgraph.sdk.account.CryptoTransferTransaction;
import com.hedera.hashgraph.sdk.examples.ExampleHelper;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;

public final class TransferCrypto {
    private TransferCrypto() { }

    private static final int CONCURRENT_TRANSACTIONS = 10;

    public static void main(String[] args) throws HederaException, InterruptedException {
        var operatorId = ExampleHelper.getOperatorId();
        var client = ExampleHelper.createHederaClient();
        var recipientId = AccountId.fromString(SET_YOUR_RECIPIENT_ID_HERE);
        var amount = 1;

        var latch = new CountDownLatch(CONCURRENT_TRANSACTIONS);

        var senderBalanceBefore = client.getAccountBalance(operatorId);
        var receiptBalanceBefore = client.getAccountBalance(recipientId);
        System.out.println("" + operatorId + " balance = " + senderBalanceBefore + " , " +
                recipientId + " balance = " + receiptBalanceBefore);

        Consumer<TransactionRecord> onSuccess = (record) -> {
            System.out.println(System.currentTimeMillis() + " " + record.getMemo() + " completed " +
                record.getConsensusTimestamp());
            latch.countDown();
        };

        Consumer<HederaThrowable> onError = (e) -> {
            System.out.println(e);
            if (e instanceof HederaException) {
                var he = (HederaException)e;
                System.out.println(he.getMessage());
                System.out.println(he.responseCode);
                he.printStackTrace();
            }
            latch.countDown();
        };

        for (var i = 0; i < CONCURRENT_TRANSACTIONS; ++i) {
            var memo = "async-test-" + System.currentTimeMillis(); // i;
            var cryptoTransfer = new CryptoTransferTransaction(client)
                    .addSender(operatorId, amount)
                    .addRecipient(recipientId, amount)
                    .setMemo(memo);
            System.out.println(System.currentTimeMillis() + " " + memo + " sent.");
            cryptoTransfer.executeForRecordAsync(onSuccess, onError);
            Thread.sleep(5);
        }
        try {
            latch.await(20, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        var senderBalanceAfter = client.getAccountBalance(operatorId);
        var receiptBalanceAfter = client.getAccountBalance(recipientId);
        System.out.println("" + operatorId + " balance = " + senderBalanceAfter + " , " +
                recipientId + " balance = " + receiptBalanceAfter);
    }
}

Exceptions seen:
com.hedera.hashgraph.sdk.HederaException: DUPLICATE_TRANSACTION
DUPLICATE_TRANSACTION
DUPLICATE_TRANSACTION
com.hedera.hashgraph.sdk.HederaException: DUPLICATE_TRANSACTION
    at com.hedera.hashgraph.sdk.HederaException.throwIfExceptional(HederaException.java:39)
    at com.hedera.hashgraph.sdk.QueryBuilder.mapResponse(QueryBuilder.java:173)
    at com.hedera.hashgraph.sdk.QueryBuilder.mapResponse(QueryBuilder.java:13)
    at com.hedera.hashgraph.sdk.HederaCall$1.onNext(HederaCall.java:40)
    at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onMessage(ClientCalls.java:421)
    at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
    at io.grpc.ForwardingClientCallListener.onMessage(ForwardingClientCallListener.java:33)
    at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:519)
    at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
    at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

Using latest master 07d41ada0dd2cbe273bc5df75001fd85c99b3ed5 and testnet (the new one).

@mike-burrage-hedera this is almost certainly due to multiple transaction IDs being created with the same validStartAt; I would expect this to be the case if the minimum clock granularity of the system you're running this on is greater than 5ms, which is apparently the case on Windows (if that is the case then sleeping 5ms is probably meaningless as well and Thread.sleep() is probably returning immediately).
The Java clock API makes no guarantees about monotonicity, but we can wrap java.time.Clock ourselves to always return an instant that is at least 1 nanosecond ahead of the previous one. I don't know what clock granularity the network requires though.

Yes, the clock should be wrapped so that every start time is at least 1 nanosecond later than the previous one.
That 1 nanosecond is enough to prevent the Hedera services from treating two transactions as duplicates. All the bits of the nanosecond field are treated as significant.

From: Austin Bonander<EMAIL_ADDRESS>Sent: Wednesday, June 12, 2019 1:36 PM
To: hashgraph/hedera-sdk-java
Cc: Subscribed
Subject: Re: [hashgraph/hedera-sdk-java] Sporadic/inconsistent erroneous DUPLICATE_TRANSACTION errors in testnet. (#130)
@mike-burrage-hederahttps://github.com/mike-burrage-hedera this is almost certainly due to multiple transaction IDs being created with the same validStartAt; I would expect this to be the case if the minimum clock granularity of the system you're running this on is greater than 5ms, which is apparently the case on Windows (if that is the case then sleeping 5ms is probably meaningless as well and Thread.sleep() is probably returning immediately).
The Java clock API makes no guarantees about monotonicity, but we can wrap java.time.Clock ourselves to always return an instant that is at least 1 nanosecond ahead of the previous one. I don't know what clock granularity the network requires though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/hashgraph/hedera-sdk-java/issues/130?email_source=notifications&email_token=ABDBYW5WIAB5ZOWJZG3GI63P2E64HA5CNFSM4HXJFDN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRMWCY#issuecomment-501402379, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABDBYW5CAMTAFK5DAQM3ZVTP2E64HANCNFSM4HXJFDNQ.

Will do.

@mike-burrage-hedera I we had a very similar issue with the .net sdk and had solved it as you suggest above.  We haven't had that problem crop up since.

@abonander that's not the case. In the example I provided, I print the system time just before making the async call, and they're all different.

@abonander but do you have control over when/how the SDK creates the transaction ID?  I've not read the code, but it seems plausible the SDK might create them all within the resolution of the system clock resulting in duplicate timestamps unless there is an explicit lock and check to check for that case.

Right now it's just referencing the system clock, yes. That's in the constructor of TransactionId: https://github.com/hashgraph/hedera-sdk-java/blob/master/src/main/java/com/hedera/hashgraph/sdk/TransactionId.java#L31
It's subtracting 10 seconds to make sure the validStartAt is in the past; this combined with clock adjustments and granularity issues could still be producing duplicate IDs.

So it is what I thought, but in a bit of a roundabout way:

The actual transfer transaction isn't getting duplicate IDs, @mike-burrage-hedera you were right about that. However:
Querying for a record requires a payment (correct?) which is automatically set in QueryBuilder.toProto() if not provided: https://github.com/hashgraph/hedera-sdk-java/blob/master/src/main/java/com/hedera/hashgraph/sdk/TransactionId.java#L31
However, we query for the receipt first and wait for it to become known before issuing the record query: https://github.com/hashgraph/hedera-sdk-java/blob/master/src/main/java/com/hedera/hashgraph/sdk/Transaction.java#L233-L237
https://github.com/hashgraph/hedera-sdk-java/blob/master/src/main/java/com/hedera/hashgraph/sdk/Transaction.java#L303-L333
For some reason, AsyncReceiptHandler appears to be calling onReceipt.accept() multiple times in quick succession which is what's producing our duplicate transaction IDs because of the granularity issues we've been discussing. I'm getting this even on Linux because it seems that the clock granularity is 1 microsecond.

I think it's when the cost gets added by the QueryBuilder.toProto().
https://github.com/hashgraph/hedera-sdk-java/blob/master/src/main/java/com/hedera/hashgraph/sdk/QueryBuilder.java#L41-42
grpc executor thread is serializing a bunch of requests in a row immediately (thus hitting the granularity issue).

Something like that, probably. I added prints in TransactionBuilder.build() and found that multiple payments were being constructed for each transfer but couldn't pin down why. I'm adding several mitigations:

Only constructing one TransactionRecordQuery per executeAsync call
Throwing IllegalStateException if execute() or executeAsync() is called more than once for a given HederaCall implementation
Ensuring Instants are at least always increasing


Improve handling of NaN values

Description
This PR is following up on #88, which settled on representing invalid or threshold-ed phasor coordinates as NaN (a special floating point number):

Many Cython ufuncs now return NaN if certain input values (such as phasor or polar coordinates, or apparent single lifetimes)  are NaN.
The unused mask parameter was removed from _is_ functions.
The behavior of phasor_filter is currently undefined (#87).
The phasor_to_principal_plane function does not work with NaNs.
The behavior of phasor_to_signal likely depends on the FFT implementation.
The phasor_from_signal and phasor_from_lifetime functions remain unchanged.

Release note
Summarize the changes in the code block below to be included in the
release notes:
Improve handling of NaN values

Checklist

[x] The pull request title, summary, and description are concise.
[x] Related issues are linked in the description.
[x] New dependencies are explained.
[x] The source code and documentation can be distributed under the MIT license.
[x] The source code adheres to code standards.
[x] New classes, functions, and features are thoroughly tested.
[x] New, user-facing classes, functions, and features are documented.
[x] New features are covered in tutorials.
[x] No files other than source code, documentation, and project settings are added to the repository.

Hi @bruno-pannunzio : can you suggest tests for NaN-handling of the functions in the cursors module?

Hi Christoph, excellent, I will look through the changes you proposed and also into testing the components module. Will let you know when I have something.

I implemented a couple of simple tests for the components module, based on you proposed tests in this PR

Thanks. I applied your changes.

I didn't test for NaN in fractions or the components since I don't think they should be there in the first place.

I agree. Same for lifetimes, cursor coordinates, etc. We would want to see warnings or get exceptions if anything else but measured/filtered phasor/polar coordinates (or single apparent lifetimes derived from those) are NaN.
Many of the test cases were passing already, not raising warnings with NaNs. The conditionals for NaNs in the Cython functions also avoid unnecessary trigonometric calculations.

Sorry I didn't reply earlier Christoph. I think this can be merged and will be good to have already in place.


Merge Swift42 branch changes

Summary of Changes
This incorporates a variety of updates to generated Swift code. Objective-C generated code is not affected by this PR. Changes are listed in the updated README and below.
This does not include Codable support for NSManagedObject subclasses, which has been shelved for now.
Addresses

[NEW] Update Swift templates for better Swift style (Aleksandar Vacić)

[FIX] Fixed invalid call of NSManagedObject.fetchRequest() (Vincent Esche)

[NEW] Add support for URI and UUID attribute types (Trevor Squires)

[NEW] Expose information when custom type is set through userInfo (Aleksandar Vacić)

[NEW] Add Codable property support via a new attributeCodableTypeName user info key (Tom Harrington)

[CHANGE] Nullability annotations for generated primitive accessors (Michael Babin)

[FIX] Support for “Uses Scalar Type” (Rok Gregorič)

[FIX] Swift 3 NSData to Data (Christopher Rogers)

[FIX] Add specialized fetchRequest() func to Swift's machine generated files (0xpablo)

[FIX] Correct Swift machine template for singleton (fetchOne…) fetch request results (Warren Burton)

[FIX] Expose allAttributes and allRelationships (Trevor Squires)

👋🏻 Hi, what's the status on this PR? I'm building it locally and the generated code is working well though it has warnings with Swift 5.
If you're still planning on doing merges I can take a stab at updating the templates for Swift 5 and submitting a PR.

Hi @dginsburg! This PR is more or less ready to merge, I've just been needing someone to test it. If it seems good to you, that's probably all we need. I'll get things moving this week.

I'm happy you feel it's good enough to merge, but you may not want to base that on my experience. I mean it's been fine but this is for a new project and my usage has been basic.

Is there a status update for this? Getting started on a new project and would love to use all the  Swift features :)


Use double quotes for ~c sigil

Double quotes are more commonly used. This adds a test for embedded double quotes in the original string, but Elixir handles this case already.

[x] Please sign Adobe's CLA if this is your first time contributing to an Adobe open source repo. Thanks!

cheers frank! now that you've seen how easy it is to add your own little rules, won't be long til you just fork it so i don't slow you down ;)

Thanks! But, lol, you respond immediately to my PRs and issues. Thank you!!!

But, lol, you respond immediately to my PRs and issues

bored in airports on the way home from gig city, what else is there to do?
this second time was a freak coincidence of timing i swear xD
0.7.11 released


requirements didn't get automatically downloaded by extension in marketplace

Python debugger wouldn't start even after several reinstalls and reboots. I finally traced the problem back to this line:
C:\Python37\python.exe c:\Users\allis\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_folder_name.py  Traceback (most recent call last):      File "c:\Users\allis\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_folder_name.py", line 53, in <module>                      ptvsd_folder_name()                                                                                File "c:\Users\allis\.vscode\extensions\ms-python.python-2019.10.41019\pythonFiles\ptvsd_folder_name.py", line 22, in ptvsd_folder_name                                                                                with open(REQUIREMENTS, "r", encoding="utf-8") as reqsfile:                                                         FileNotFoundError: [Errno 2] No such file or directory: 'c:\\Users\\allis\\.vscode\\extensions\\ms-python.python-2019.10.41019\\requirements.txt'
Manually adding the requirements.txt from the github repo fixed the issue

Hi @allisonChilton 👋 Thank you for reporting this issue, investigating it and adding the workaround! requirements.txt is indeed not shipped in the extension package, so we'll have to add a fallback.

For anyone looking, the workaround is to add requirements.txt file with this content:
jedi==0.15.1
parso==0.5.1
isort==4.3.21
ptvsd==5.0.0a5
pyparsing==2.4.0
six==1.12.0
packaging==19.2

to this location on windows:
%USERPROFILE%/.vscode\extensions\ms-python.python-2019.10.41019\
or this location on Linux/Mac:
$HOME/.vscode/extensions/ms-python.python-2019.10.41019/

For anyone looking, the workaround is to add requirements.txt file with this content:
jedi==0.15.1
parso==0.5.1
isort==4.3.21
ptvsd==5.0.0a5
pyparsing==2.4.0
six==1.12.0
packaging==19.2

to this location on windows:
%USERPROFILE%/.vscode\extensions\ms-python.python-2019.10.41019\
or this location on Linux/Mac:
$HOME/.vscode/extensions/ms-python.python-2019.10.41019/

requirements.txt


[opencl] No device available

A guy was doing that
alignPlan = sift.LinearAlign(img1, devicetype='CPU')

And thre output was:
Traceback (most recent call last):
  File "align.py", line 9, in <module>
    alignPlan = sift.LinearAlign(img1, devicetype='CPU')
  File "/usr/local/lib/python2.7/dist-packages/silx/opencl/sift/alignment.py", line 130, in __init__
    self.ctx = pyopencl.Context(devices=[pyopencl.get_platforms()[self.device[0]].get_devices()[self.device[1]]])
TypeError: 'NoneType' object has no attribute '__getitem__'

In fact silx.opencl.ocl.select_device() returns None if the requested constrain is too high.
In his case he ask for a CPU, but only have a GPU device. It would be nice to raise an exception from select_device to avoid this kind of problem. select_device have enough information do display something very useful.

@vallsv can this be closed?

No it was not fixed.
If PyOpenCL is not available, the error message is not explicit.
It have to be checked.


Auto-detect baud rate and chip type

At initialization, the firmware should determine the baud rate to use, and the type of chip (M8 or M10 based). Currently, supporting different chips is done by setting flags in the code, which is adequate for initial development, but not distribution.
Baud rate can be determined by sending "get info" commands, and checking that an "ACK" response as well as the expected content is received, trying different baud rates.
Basically, this means that the software verifies at the start that communication with the GPS works as expected. This should be done, anyway, but becomes essential when supporting different GPS chips and chip generations.

Is now in the latest  SW 5.73. Auto detect start with 9600bd, message MON VER to ublox. HW-version is evaluated, if not readable, switch to 38400 bd and evaluate MON VER again. Tested with Beitian BN (M8 9600bd), Beitian BE (M10 38400bd), Mateksys (M10 9600bd) and Bainianxing (M10 38400 bd).


Add CONTRIBUTING.md File to this Repo

Please fill in the fields below to submit an issue or feature request.  The
more information that is provided, the better.
Description of issue or feature request:
The repository currently lacks a CONTRIBUTING.md file. This file is essential as it guides new contributors on how to get started with the project, outlines the code of conduct, provides guidelines for submitting issues and pull requests, and includes other relevant information for contributors.
Current behavior:
There is no CONTRIBUTING.md file present in the repository, which might lead to confusion for new contributors regarding the contribution process and guidelines.
Expected behavior:
A CONTRIBUTING.md file should be added to the root of the repository. This file should include:

Instructions on how to set up the development environment.
Guidelines for submitting issues and pull requests.
Code of conduct.
Style guides for coding, commits, and documentation.
Any other relevant information for contributors.

This will help streamline the contribution process and ensure that all contributors

/assign i will solve this issue.

Hi @Ayush9026, We already have it in developer documentation -> contribute section.

@h4l0gen it is on website i want to add in python-tuf repository.

CONTRIBUTING.md is in the docs/ directory of this repo, which is one of the canonical places according to GitHub community standards

@lukpueh seems good. @Ayush9026 you would like to add this?

Hi @lukpueh sir,
Thank you for the clarification. I agree that adding a link to the README would be very helpful. It would make the CONTRIBUTING.md file more accessible to new contributors who may not immediately think to look in the docs/ directory.
I'll go ahead and update the README to include a link to the CONTRIBUTING.md file, along with a brief description directing contributors to the relevant section of the developer documentation.
Thank you for your support and guidance.
Best regards,
Ayush

I think specific action items were not found on this attempt so I'm closing for now: The contribution docs are linked from the README already, adding the same links again in another paragraph was not seen as useful.
To be clear, we do welcome improvements in docs as they certainly are not as good as they could be. Thanks for the work you did


pricing import service is down after runtime update

Block 10424836
2023-05-09 17:33:02,523 INFO Getting events from block 10424836
Traceback (most recent call last):
  File "run_node_processing.py", line 263, in async_main
    block_hash, events, res, grouped_events = get_events_from_block(
  File "run_node_processing.py", line 78, in get_events_from_block
    events = substrate.get_events(block_hash)
  File "/home/app/.local/lib/python3.8/site-packages/substrateinterface/base.py", line 1526, in get_events
    storage_obj = self.query(module="System", storage_function="Events", block_hash=block_hash)
  File "/home/app/.local/lib/python3.8/site-packages/substrateinterface/base.py", line 1462, in query
    obj.decode()
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/base.py", line 677, in decode
    self.value_serialized = self.process()
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/types.py", line 830, in process
    element = self.process_type(self.sub_type, metadata=self.metadata)
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/base.py", line 760, in process_type
    obj.decode(check_remaining=False)
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/base.py", line 677, in decode
    self.value_serialized = self.process()
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/types.py", line 2735, in process
    'module_id': value['event']['module_id'],
KeyError: 'module_id'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "run_node_processing.py", line 564, in <module>
    asyncio.run(async_main_loop(async_session, args))
  File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "run_node_processing.py", line 527, in async_main_loop
    await async_main(async_session, args.begin, args.clean, args.silent)
  File "run_node_processing.py", line 267, in async_main
    block_hash, events, res, grouped_events = get_events_from_block(
  File "run_node_processing.py", line 78, in get_events_from_block
    events = substrate.get_events(block_hash)
  File "/home/app/.local/lib/python3.8/site-packages/substrateinterface/base.py", line 1526, in get_events
    storage_obj = self.query(module="System", storage_function="Events", block_hash=block_hash)
  File "/home/app/.local/lib/python3.8/site-packages/substrateinterface/base.py", line 1462, in query
    obj.decode()
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/base.py", line 677, in decode
    self.value_serialized = self.process()
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/types.py", line 830, in process
    element = self.process_type(self.sub_type, metadata=self.metadata)
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/base.py", line 760, in process_type
    obj.decode(check_remaining=False)
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/base.py", line 677, in decode
    self.value_serialized = self.process()
  File "/home/app/.local/lib/python3.8/site-packages/scalecodec/types.py", line 2735, in process
    'module_id': value['event']['module_id'],
KeyError: 'module_id'

Need to update the substrateinterface library (Python).

Fixed by @pakrentos


Added documentation for typescript-type-graphql

Plugin has been released but documentation was still missing

Thank you @borremosch !


fix for ma_fetch

The ma_fetch test has been written in a way that implementations with and without "C" support should generate the same signature. The aim is to avoid
j fail

at multiple places.
However, currently the signatures generated by implementation with and without C support are different. This is because the trap handler sets the return address in mepc to point to
SWSIG(?, TESTNUM)

instead of
li TESTNUM, ?

This merge request fixes that and also updates the signature. Has been verified with e-class, riscvOVPsim and spike.

Closed by #14


Implement info function

It is often desirable to get information about a sound file without reading all its data.

This should probably help people to get information about marker times and labels for WAV files.
See http://stackoverflow.com/q/29895360/500098

I would prefer info to be machine-readable. There is a lot of interesting information in that information string, though.

What do you think about this implementation?
I also tried making it a dict subclass, but that was confusing in practice. The only issue I have with the current implementation is that the __repr__ is usually meant to be somewhat machine-readable, while __str__ is supposed to be human-readable. Still, the current implementation is awfully convenient.

The idea with __repr__() works really well, I like it!
Now it can be actually used by machines and by humans. I didn't think this was possible ...
Did you consider making a namedtuple?
This wouldn't make a huge difference, but it has some advantages: immutability, automatic conversion to OrderedDict.
Are there any disadvantages?
There are a few formatting things which I don't like ...
The indentation is annoying, please remove it.
The SoundFile() stuff isn't necessary. I think it should be a plain list, it can simply start with the name property, no need for any framing/decoration.
I don't really like the equals signs, but that's of course very much a matter of taste.
But if you keep them, you should add spaces on both sides.
I think I would prefer colons, but I find spaces before them ugly (as in extra_info).
The commas at the line endings are unnecessary and distracting.
The extra_info should also not be indented.
Probably we should have some separation line between the other (one-line) properties and the extra_info lines?
I think I would display the format strings as strings (e.g. {0.subtype!r}) and it would probably look better if you drop the parentheses around format_info and subtype_info.
For comparison, this is how the output of sndfile-info may look like:
$ sndfile-info myfile.wav
========================================
File : myfile.wav
Length : 456748
RIFF : 456740
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 2
  Sample Rate   : 44100
  Block Align   : 4
  Bit Width     : 16
  Bytes/sec     : 176400
data : 456704
End

----------------------------------------
Sample Rate : 44100
Frames      : 114176
Channels    : 2
Format      : 0x00010002
Sections    : 1
Seekable    : TRUE
Duration    : 00:00:02.589
Signal Max  : 32630 (-0.04 dB)

__repr__ is usually meant to be somewhat machine-readable

I don't see this as a problem at all, since this is only the __repr__ of a helper class, not of our main SoundFile class.

I have implemented most of your suggestions:
Mann_short.wav
samplerate: 44100 Hz
channels: 1
duration: 2.14 s
format: WAV (Microsoft) [WAV]
subtype: Signed 16 bit PCM [PCM_16]endian: FILE
sections: 1
extra_info: """
    File : Mann_short.wav
    Length : 188540
    RIFF : 188532
    WAVE
    fmt  : 16
      Format        : 0x1 => WAVE_FORMAT_PCM
      Channels      : 1
      Sample Rate   : 44100
      Block Align   : 2
      Bit Width     : 16
      Bytes/sec     : 88200
    data : 188416
    LIST : 20
      INFO
        ISFT : Fission
    *** ID3  : 44 (unknown marker)
    End
    """

To be honest, I still prefer the original, indented style. But this is a workable compromise, and it doesn't hint at an actual SoundFile object existing.
I don't want verbose=True to be the default though. Especially the extra_info is almost never relevant, and can be of arbitrary length.
I also experimented with different styles for the duration. timedelta is too verbose for my taste, and datetime is more complex to use for our use case than simply writing my own formatter, which is what I ended up doing.
Lastly, I experimented with namedtuple, but I was not happy with the resulting code. I think the current solution works well enough.

I still prefer the original, indented style.

Then go ahead an use it!
This is a subjective decision.

I don't want verbose=True to be the default though.

Fair enough, I don't know any strong argument either way.

simply writing my own formatter, which is what I ended up doing.

Cool!
You could make the implementation a bit nicer by using divmod().
Is there a reason why you use exactly 2 digits after the decimal point?
I think it would be easier to differentiate between HH:MM:SS and MM:SS.ss with 3 digits, i.e. MM:SS.sss

I experimented with namedtuple, but I was not happy with the resulting code.

OK, I see now that this gets quite complicated because of the presence of the verbose argument.
Without it, it would be easy-peasy.
Given your example from above, let me show how I would "improve" it:
file: Mann_short.wav
samplerate: 44100 Hz
channels: 1
duration: 2.14 s
format: WAV (Microsoft) [WAV]
subtype: Signed 16 bit PCM [PCM_16]
endian: FILE
sections: 1
*** extra_info ***
File : Mann_short.wav
Length : 188540
RIFF : 188532
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate   : 44100
  Block Align   : 2
  Bit Width     : 16
  Bytes/sec     : 88200
data : 188416
LIST : 20
  INFO
    ISFT : Fission
*** ID3  : 44 (unknown marker)
End

This is what I changed:

add "file" in the first line

remove triple quotes

un-indent extra_info and use a separation line (could of course be more creative)

I don't like the spaces before colons nor the initial capital letters, but probably we should use them for consistency?
Or as a tribute to libsndfile?
File : Mann_short.wav
Samplerate : 44100 Hz
Channels : 1
Duration : 2.14 s
Format : WAV (Microsoft) [WAV]
Subtype : Signed 16 bit PCM [PCM_16]
Endian : FILE
Sections : 1
*** extra_info ***
File : Mann_short.wav
Length : 188540
RIFF : 188532
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate   : 44100
  Block Align   : 2
  Bit Width     : 16
  Bytes/sec     : 88200
data : 188416
LIST : 20
  INFO
    ISFT : Fission
*** ID3  : 44 (unknown marker)
End

add "file" in the first line

I like the slight bookending by the file name. Just a plain list with no "header" looks strange to me.

remove triple quotes
un-indent extra_info and use a separation line (could of course be more creative)

The triple quotes (and to a lesser extent, the indentation of extra_info) serve a purpose: They make it clear that this is not "parametric" metadata, but just a string. I think that this is quite useful, especially since we really don't have any control over the contents of that string.
I would prefer to keep it the way it is now.

I like the slight bookending by the file name.

I don't. I find it very inconsistent and somewhat confusing.

Just a plain list with no "header" looks strange to me.

It doesn't to me, but I see your point.
What about adding some kind of fancy purely decorative header-line (without adding indentation afterwards)?

They make it clear that this is not "parametric" metadata, but just a string.

In my suggestion, this part is done by the separation line.
As I said, this can be more creative, what about adding an empty line and a hint that a string is following?
File : Mann_short.wav
Samplerate : 44100 Hz
Channels : 1
Duration : 2.14 s
Format : WAV (Microsoft) [WAV]
Subtype : Signed 16 bit PCM [PCM_16]
Endian : FILE
Sections : 1

##### extra_info string from libsndfile #####
File : Mann_short.wav
Length : 188540
RIFF : 188532
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate   : 44100
  Block Align   : 2
  Bit Width     : 16
  Bytes/sec     : 88200
data : 188416
LIST : 20
  INFO
    ISFT : Fission
*** ID3  : 44 (unknown marker)
End

I would prefer to keep it the way it is now. Can we merge?

If find the indentation and the triple quotes butt-ugly, but that's only my unfounded personal subjective opinion.
So sure, go ahead and merge it, you have the last say on subjective decisions.
Except for the missing newline before endian, you should probably add this before merging.

Now that I'm seeing my previous example, I see a possible header:
##### SoundFile properties #####

But in this case we would have to make sure that those are actually properties of  the SoundFile class, i.e. we'd have to add duration as a property (but I guess it's better to have it there as a number of seconds instead of the fancy formatted string).
And we should go back to small letters (like the actual property names) and more repr()-like display of format/subtype/endian:
##### SoundFile properties #####
file : 'Mann_short.wav'
samplerate : 44100 Hz
channels : 1
duration : 2.14 s
format : WAV (Microsoft) ['WAV']
subtype : Signed 16 bit PCM ['PCM_16']
endian : 'FILE'
sections : 1

##### extra_info string from libsndfile #####
File : Mann_short.wav
Length : 188540
RIFF : 188532
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate   : 44100
  Block Align   : 2
  Bit Width     : 16
  Bytes/sec     : 88200
data : 188416
LIST : 20
  INFO
    ISFT : Fission
*** ID3  : 44 (unknown marker)
End

And then we might as well get rid of the spaces before colons again:
##### SoundFile properties #####
file: 'Mann_short.wav'
samplerate: 44100 Hz
channels: 1
duration: 2.14 s
format: WAV (Microsoft) ['WAV']
subtype: Signed 16 bit PCM ['PCM_16']
endian: 'FILE'
sections: 1

##### extra_info string from libsndfile #####
File : Mann_short.wav
Length : 188540
RIFF : 188532
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate   : 44100
  Block Align   : 2
  Bit Width     : 16
  Bytes/sec     : 88200
data : 188416
LIST : 20
  INFO
    ISFT : Fission
*** ID3  : 44 (unknown marker)
End

BTW, why not add seekable?

We might even have a duration_hms property on the SoundFile ...?

My priority right now is to get the next release out the door. I am still interested in a better way though. Maybe the idea with "SoundFile properties" is a good one, and we should add duration and seekable to the SoundFile object. At that point, we can also re-evaluate the layout of the output of the info function.
Feel free to continue this discussion in either a pull request to that effect, or here.

The right thing to do now would be:

revert the merge
re-open this issue
remove it from the milestone 0.8.0
release 0.8.0
then, calmly continue discussing this

I'm not a fan of pushing half-baked stuff into a release in a hurry.
And there is no need for it, either.


Run test suite on browsers

We're currently running the test suite in Node.js only. We should also run it in the browser.

That would be great! Can confirm that there is a regex error for this plugin in safari but not other browsers.
SyntaxError: Invalid regular expression: invalid group specifier name

What version of Safari and what version of Mac OS?

Safari Version 15.4 (176<IP_ADDRESS>.13)
Monterey 12.3.1

@ajb413 Can you get us as stack trace of the error?

Breaks on line 1172 of a fresh common js build of Highlight.js v11.5.0 (git: 6fc781508b). I added a log line so you can see the bad input of value.
-?((?<!\$)\b0[xX]([a-fA-F0-9]_?)*[a-fA-F0-9]|((?<!\$)\b[1-9](_?\d)*(\.((\d_?)*\d)?)?|\.\d(_?\d)*)([eE][-+]?\d(_?\d)*)?|(?<!\$)\b0)(?!\w|\$)

That's trying to put together a regex with negative look-behinds... but the library has a check for that, so I'm not sure what is going on there.

I had some time to dig on this. I got my minified version (@2.0.5/dist/solidity.min.js) from jsdelivr.com. It looks like there was a build issue. You can see that file here.
The negative look behind check is simply omitted from the minified build.

You can see it is the first function at the top, after the "use strict" in the minified file.

If you change the try/catch in the minified file to this:
function e(){try{new RegExp('(?<!.)');return!0
}catch(e){return!1}}

then that check actually happens, and that Safari error goes away, and the package works properly

Perhaps minified build needs different minifier arguments to not compile out the check?


Correction for raw affiliation Sciences Pour l'Oenologie

Correction needed for raw affiliation Sciences Pour l'Oenologie
raw_affiliation_name: Sciences Pour l'Oenologie
new_rors: 04w07sc25
previous_rors: 04w07sc25;05fe7ax82
works_examples: W4225134081;W4288034192;W4214695519
contact: e598c6d4decfdbbadc6769dd98694309:128897e07c8309d041b9500b4d0aaf3c87d9 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Added the BBC micro:bit implementation of a physical web beacon

An implementation of Eddystone url for the BBC micro:bit.

I signed it!

Thanks!


How to change the color of the links in a network?

Hi Dave,
I tried to change links color using shapeConfig, but it didn't work
 shapeConfig: {
  Line: {
    stroke: "red"
  }
}

this is the full config obj
       const methods = {
            links: this.state.links,
            nodes: this.state.nodes,
            color: (d: any) => d['color'],
            label: (d: any) => d['OccupationTitle'],
            hover: (d: any) =>  d['id'],
            zoom: true,
            tooltipConfig: {
            title: (d: any) =>  d['OccupationTitle'] + '
',
            body: (d: any) => {
                let info: string = `
${d['sector']}

 Automation Risk: ${d['AutomationRisk']}

 Education Level: ${d['EducationLevel']}

                `
                return info
           },
           shapeConfig: {
            Line: {
              stroke: "red"
              }
            }
          }
        }

But, if I changed the path stroke color in CSS, it will work. In my case, I want link color to be based on a function, so CSS will not work.

@AlmahaAlmalki you're right, that's my bad. My example snippit in #28 should have been referencing Path and not Line:
shapeConfig: {
  Path: {
    stroke: "red"
  }
}

And it should work with an accessor function, but I'm not sure what data is provided to it (since the line refers to 2 data points).


feat: Support adding additional cluster dns ranges to bottlerocket template

Description
Adding support for providing multiple cluster ips into the bottlerocket template.
This resolves https://github.com/terraform-aws-modules/terraform-aws-eks/issues/3050
Motivation and Context
Utilities like node local dns may require multiple cluster-dns-ip values to run properly on bottlerocket. Support in bottle rocket has been available since 1.18 https://github.com/bottlerocket-os/bottlerocket/releases/tag/v1.8.0
Breaking Changes
No
How Has This Been Tested?

[ x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ x] I have tested and validated these changes using one or more of the provided examples/* projects
[ x] I have executed pre-commit run -a on my pull request
This has been replicated on existing community-based module in-house

I don't know that we will be accepting this change:

The EKS CoreDNS addon now supports autoscaling so is node local DNS still needed?
I believe you can already pass this value yourself through user data which means we don't have to bake this weird/funky logic into the module:

  bootstrap_extra_args = <<-EOT
      [settings.host-containers.admin]
      "cluster-dns-ip" = ["<IP_ADDRESS>", "<IP_ADDRESS>"]
   EOT

eh, scratch that. we set the IP here in this module. one sec

eh, scratch that. we set the IP here in this module. one sec
yeah its hard-coded to a single ip. Pulling that out completely would also work, users can generate it themselves as an extra arg for the template

I don't know that we will be accepting this change:
1. The EKS CoreDNS addon now supports autoscaling so is node local DNS still needed?

2. I believe you can already pass this value yourself through user data which means we don't have to bake this weird/funky logic into the module:

  bootstrap_extra_args = <<-EOT
      [settings.kubernetes]
      "cluster-dns-ip" = ["<IP_ADDRESS>", "<IP_ADDRESS>"]
   EOT

Sorry, closed by accident

This PR is included in version 20.12.0 :tada:


Color Pages shows as 404 NOT FOUND

Fix issues with pages/[id].js not resolving.
For example, https://colorpunx.io/colors/656361 should load the product page. It should be a static page created by getStaticProps and

In previous version,  we can go those page by clicking avatar in red area.  But we don't have those avatars now.

yeah - should change so that we go to this page if click in the color (instead of going to opensea)
Sent from my iPhone

On Jan 18, 2022, at 8:52 PM, talentd1223 @.***> wrote:

In previous version, we can go those page by clicking avatar in red area. But we don't have those avatars now.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


 Issue seemed to be related to the loading or parsing of test results. It went away after I cleared my build directory and configured again.

I'll try that again. I'm pretty sure I tried it, but I'll try again

Crash is in ctest.ts line 175.  If you can provide a sample test log, that would help us solve the problem more quickly.  Thank you!

It's been long enough since this happened that I am unable to provide a sample test log. I no longer have something which can reproduce this.

Sorry about the delay in getting to it.  We'll see if we can cook something up that does.

Yep, thanks for this thread. Cleaning the build folder works for me on Linux platform.


[WIP] Add profiling to checkout service

Adds Go Push mode profiling to the checkout service.
There are three env variables that configure Pyroscope:

GRAFANA_PYROSCOPE_ADDR the address of the Pyroscope instance
GRAFANA_PYROSCOPE_AUTH_USER the username to authenticate with Pyroscope
GRAFANA_PYROSCOPE_AUTH_PASS the password to authenticate with Pyroscope

Here is a screenshot of it sending profiles to our dev instance of Pyroscope:

Closing in favor of https://github.com/grafana/opentelemetry-demo/pull/22. Something go messed up between the remote and my local repo and it was easier to scrap this branch than to keep trying to fix it.


Syncing journal name as a property

Hi, I find this Notero add-on very useful for my Ph.D. work.
Thank you so much for creating it!
I'm just guessing that it would be even better if it extracts "Journal Name" of the items in a collection, just like it extracts author names, DOI and so on.
Would it be possible?
I'd be appreciate it if you consider about this.
Best regards,
Daisuke

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi, @GitCats-061! I'm glad you're finding Notero useful!
It's definitely possible to sync journal, and some other folks have asked about it as well. It's on my todo list along with some related issues in this milestone.

Happy holidays! I've just released v0.5.5 which adds support for syncing a text property named Publication—which I believe should be the equivalent of Journal.
I also want to add support for customizing the properties that can be synced. I'm tracking that work in #355, so please follow along there if you're interested!


Cannot trigger menu and choose item with mousedown/mousemove/mouseup sequence

With a native context menu, it is possible to trigger the menu and choose an item from it with one fluid sequence of pressing the mouse, keeping it held down while moving to the desired item, and releasing the mouse over that item.  With react-contextmenu, this behavior is not supported: it is necessary to click once to trigger the menu, then click again to choose an item from that menu.

Thanks for opening the issue.
To be clear, I'm not trying to replicate the exact behaviour of a native contextmenu.
Moreover, implementing such behaviour will be a nightmare (using JS). Many people use this component on touch-based devices so what you suggest may not work out for them.


Update taxonomy forms

Closes https://github.com/ethyca/fides/issues/998
Code Changes

[x] Extends the forms for DataSubjects and DataUses based on the updated requirements

[x] Adds a new prop extraFormFields and renames the original form to TaxonomyFormBase so other forms can build off of it
[x] Adds more props to the hooks now that there are more unique fields between taxonomy types

[x] Does this via typescript generics... this is my first time somewhat successfully using them, so very open to suggestions if I'm doing it weirdly 😅

[x] Updates a few of the form inputs to take data-testid the same way as everyone else
[x] Adds cypress tests

Steps to Confirm

[ ] Go to the /taxonomy page and try editing the forms for DataSubjects and DataUses

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation Updated:

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[ ] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created

https://github.com/ethyca/fides/issues/1001

[ ] Update CHANGELOG.md

Description Of Changes
https://github.com/ethyca/fides/pull/977 was clever about reusing the same component and isolating unique attributes to hooks. This worked well back when the edit form was the same across every taxonomy type. Now that they're no longer the same, we are still able to use the same pattern, but it might make things a little harder to grok, in exchange for cleaner components.

DataCategory and DataQualifier forms still look the same.

@allisonking this is a random thought and unrelated to this ticket, but I didn't want it to get lost and potentially we could open another issue for it.
The UX here feels a bit weird to me. When I click on an item from the list nothing happens. No feedback at all, instead I have to use the edit button to get the item to pop up in the side drawer (I think that's what it's called?) to see more info.
I think my preferred behavior here would be to click on the item in the list, and have it immediately open to the side. There is no need for an edit button if it automatically opens, and we could add a red delete button next to the update button.
Thoughts? The current method felt immediately unintuitive to me

@allisonking this is a random thought and unrelated to this ticket, but I didn't want it to get lost and potentially we could open another issue for it.
The UX here feels a bit weird to me. When I click on an item from the list nothing happens. No feedback at all, instead I have to use the edit button to get the item to pop up in the side drawer (I think that's what it's called?) to see more info.
I think my preferred behavior here would be to click on the item in the list, and have it immediately open to the side. There is no need for an edit button if it automatically opens, and we could add a red delete button next to the update button.
Thoughts? The current method felt immediately unintuitive to me

Yeah I definitely see where you're coming from. I have two concerns with this approach but maybe we can work around them:

If users don't click on the item at all, they won't know the edit/delete features are available
The parent fields, when clicked on, open up to reveal their children fields. This feels intuitive to me. If we wanted "edit on click" like you're describing, we'd have two things that happen when clicking on a parent field: opening up the children, and also opening up the side drawer. The children elements would only open up the side drawer as you're describing which works well, but the parents have a bit more going on. It seems like it'd be annoying if you're just trying to open up parents, for the side edit drawer to appear for each of them on each click.

Perhaps @mfbrown can weigh in, or we can ask the design team? Adding a video for easy reference
https://user-images.githubusercontent.com/24641006/185950199-bd0f93f1-09c8-4ca9-bd0a-debf86c045ae.mov

Made a ticket for Thomas' suggestion here: https://github.com/ethyca/fides/issues/1003
Going to merge this in the mean time to keep work flowing


[dev] Upgrade Shinigami to Cairo 2.7.0

Cairo and scarb 2.7.0 have released, and we will need to upgrade in order to take advantage of some of the changes. Including the integration of sha256 hashing.
https://community.starknet.io/t/cairo-v2-7-0-is-coming/114362
The scarb version will need to be changed in tool-versions, and if there are any breaking changes they will need to be resolved.

Hi @b-j-roberts  can I be assigned to this?

hehe, can I claim this.

@b-j-roberts can I work on this?

Hello @b-j-roberts can I work on this issue ?

@supreme2580 Thanks for showing interest. I'll assign you, let me know if you run into any issues.

@b-j-roberts can I work on this?

Thank you @b-j-roberts


Affinity map for atom type O_A is not present.

Hello,
I am using AutoDock Vina and I am facing an issue stating that "ERROR: Affinity map for atom type O_A is not present." How should I handle this issue? I prepared my ligands with meeko package.
I really appreciate your help.

Hello, you'd have to write the maps first, or use the receptor pdbqt instead. Reading the maps with vina scoring, as opposed to reading the receptor, is to enable modifications to the maps.

Thank you for the answer. I believe I need to ask my question more specifically:
My receptor has coenzyme (NADPH) and I am having difficulty to prepare the receptor with coenzyme (receptor_coenzyme.pdbqt). The coenzyme residue is deleted during the preparation. Here is the error that I get. Without coenzyme, I am not able to move forward to make the map.
[sg6615@della-gpu binding]$ prepare_receptor -r mytarget.pdb -A 'checkhydrogens' -U 'nphs_lps_waters' -e 'False'
Unable to assign HAD type to atom N
Unable to assign valence to atom mytarget:A:ALA2:N type = N
Unable to assign HAD type to atom N
Unable to assign valence to atom mytarget:A:LEU5:N type = N
Unable to assign HAD type to atom N
Unable to assign valence to atom mytarget:A:ALA6:N type = N
Sorry, there are no Gasteiger parameters available for atom mytarget:A:MET1:O
Unable to assign MAP type to atom N
Sorry, there are no Gasteiger parameters available for atom mytarget:A:ALA2:N
Sorry, there are no Gasteiger parameters available for atom mytarget:A:ALA2:O
Sorry, there are no Gasteiger parameters available for atom mytarget:A:ARG3:O
Sorry, there are no Gasteiger parameters available for atom mytarget:A:PRO4:O
Unable to assign MAP type to atom N
Sorry, there are no Gasteiger parameters available for atom mytarget:A:LEU5:N
Sorry, there are no Gasteiger parameters available for atom mytarget:A:LEU5:O
Unable to assign MAP type to atom N
Sorry, there are no Gasteiger parameters available for atom mytarget:A:ALA6:N
'Deleting non-standard residues:ANAP0_ from mytarget

Hi @SoodabehGhaffari,
I can think of two possible reasons for "Unable to assign HAD/valence/MAP type to (a common atom in a standard residue)":
(1) heavy atoms are missing in the input pdb structure.
(2) alternate locations are assigned to the atom (due to fractional occupancy), but not labeled as expected in the 17th column.
One possible way to keep NAP ligand as a nonstandard component in the output pdbqt: remove the "-e 'False'" argument in the command. By default, the NAP in chain A you showed should be retained.
It would be really helpful if you could post the ligand SDF file that didn't work for meeko. Bonds are explicitly specified in normal SDF files. You might want to visualize and check the number of atoms/bonds around the questioned oxygen atom.

I can't see the attachment, could you upload it on the GitHub webpage?
Also, you shared a link to unsubscribe from email notifications, I deleted that link.

Hi @SoodabehGhaffari,
I couldn't find the attachment from the email either :'( Out of curiosity, have you tried the Model SDF of NADPH from here:
https://www.rcsb.org/ligand/NDP
^The Model SDF works for me.

Thank you for the help!
On Thu, Jun 15, 2023 at 5:48 PM Amy He @.***> wrote:

Hi @SoodabehGhaffari https://github.com/SoodabehGhaffari,
I couldn't find the attachment from the email either :'( Out of curiosity,
have you tried the Model SDF of NADPH from here:
https://www.rcsb.org/ligand/NDP
^The Model SDF works for me.
—
Reply to this email directly, view it on GitHub
https://github.com/ccsb-scripps/AutoDock-Vina/issues/212#issuecomment-1593763382,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANASVCRKSK5XS63TA7DC5J3XLN7JDANCNFSM6AAAAAAZGZG5TM
.
You are receiving this because you were mentioned.Message ID:
@.***>

These are errors from RDKit, they indicate a problem with the SDF
[14:08:32] Explicit valence for atom # 67 O, 3, is greater than permitted
[14:08:32] ERROR: Could not sanitize molecule ending on line 157
[14:08:32] ERROR: Explicit valence for atom # 67 O, 3, is greater than permitted

I pasted my sdf file below: Could you please see what the problem with the sdf is? I open it with Pymol and I cannot see any issue.
NAP
PyMOL2.4          3D                             0
74 78  0  0  0  0  0  0  0  0999 V2000
10.8303   -1.2273  -26.6391 H   0  0  0  0  0  0  0  0  0  0  0  0
1.4900   -3.8058  -20.0181 H   0  0  0  0  0  0  0  0  0  0  0  0
10.6851    6.0111  -26.0950 H   0  0  0  0  0  0  0  0  0  0  0  0
0.4541   -7.9109  -19.1034 H   0  0  0  0  0  0  0  0  0  0  0  0
10.8072    4.2689  -26.1949 H   0  0  0  0  0  0  0  0  0  0  0  0
8.5235   -2.0535  -22.9430 H   0  0  0  0  0  0  0  0  0  0  0  0
10.8614   -0.9613  -23.1892 H   0  0  0  0  0  0  0  0  0  0  0  0
8.4166    2.1674  -21.0850 H   0  0  0  0  0  0  0  0  0  0  0  0
4.1484   -7.1219  -20.1904 H   0  0  0  0  0  0  0  0  0  0  0  0
10.5835    0.5014  -25.8032 H   0  0  0  0  0  0  0  0  0  0  0  0
-3.9633   -2.6062  -17.2083 H   0  0  0  0  0  0  0  0  0  0  0  0
2.2930   -8.3127  -22.1515 H   0  0  0  0  0  0  0  0  0  0  0  0
9.0274    0.1691  -22.4541 H   0  0  0  0  0  0  0  0  0  0  0  0
1.9065   -6.3647  -17.3386 H   0  0  0  0  0  0  0  0  0  0  0  0
8.0912   -3.4800  -23.8882 H   0  0  0  0  0  0  0  0  0  0  0  0
8.4672   -2.3269  -25.9647 H   0  0  0  0  0  0  0  0  0  0  0  0
0.0716   -9.0527  -17.7243 H   0  0  0  0  0  0  0  0  0  0  0  0
3.6362   -5.9394  -22.2920 H   0  0  0  0  0  0  0  0  0  0  0  0
10.7141    2.6360  -25.4861 H   0  0  0  0  0  0  0  0  0  0  0  0
-2.2955   -6.4491  -15.3385 H   0  0  0  0  0  0  0  0  0  0  0  0
2.6335   -4.7910  -21.4529 H   0  0  0  0  0  0  0  0  0  0  0  0
12.5749    0.1232  -24.1178 H   0  0  0  0  0  0  0  0  0  0  0  0
8.8954    4.4326  -22.0126 H   0  0  0  0  0  0  0  0  0  0  0  0
10.6358   -3.1202  -24.4767 H   0  0  0  0  0  0  0  0  0  0  0  0
1.2332   -6.8047  -21.1218 H   0  0  0  0  0  0  0  0  0  0  0  0
-2.8216   -2.1175  -18.4403 H   0  0  0  0  0  0  0  0  0  0  0  0
9.7710    1.3410  -24.0790 N   0  0  0  0  0  0  0  0  0  0  0  0
10.5580    5.1000  -25.6780 N   0  0  0  0  0  0  0  0  0  0  0  0
5.2660   -3.6290  -23.0160 O   0  0  0  0  0  0  0  0  0  0  0  0
1.7930   -6.2130  -18.4120 C   0  0  0  0  0  0  0  0  0  0  0  0
-1.9680   -5.7810  -16.1350 C   0  0  0  0  0  0  0  0  0  0  0  0
1.4810   -7.5460  -19.0830 C   0  0  0  0  0  0  0  0  0  0  0  0
1.9860   -7.2930  -20.5030 C   0  0  0  0  0  0  0  0  0  0  0  0
-0.4100   -5.2110  -17.7700 C   0  0  0  0  0  0  0  0  0  0  0  0
3.2690   -6.4800  -20.2430 C   0  0  0  0  0  0  0  0  0  0  0  0
-1.1440   -4.0780  -18.1100 C   0  0  0  0  0  0  0  0  0  0  0  0
3.4870   -5.4570  -21.3260 C   0  0  0  0  0  0  0  0  0  0  0  0
-2.3440   -3.8250  -17.4330 C   0  0  0  0  0  0  0  0  0  0  0  0
0.7120   -4.0910  -19.3100 C   0  0  0  0  0  0  0  0  0  0  0  0
-2.7480   -4.6910  -16.4380 N   0  0  0  0  0  0  0  0  0  0  0  0
-0.8060   -6.0650  -16.7830 N   0  0  0  0  0  0  0  0  0  0  0  0
-3.1050   -2.7630  -17.7170 N   0  0  0  0  0  0  0  0  0  0  0  0
-0.4280   -3.4100  -19.0770 N   0  0  0  0  0  0  0  0  0  0  0  0
0.7290   -5.2080  -18.5030 N   0  0  0  0  0  0  0  0  0  0  0  0
6.0080   -2.7100  -20.7410 O   0  5  0  0  0  0  0  0  0  0  0  0
3.5680   -2.5350  -21.4240 O   0  0  0  0  0  0  0  0  0  0  0  0
2.2800   -8.4680  -18.3580 O   0  0  0  0  0  0  0  0  0  0  0  0
2.3140   -8.4830  -21.2070 O   0  0  0  0  0  0  0  0  0  0  0  0
2.9610   -5.7560  -19.0540 O   0  0  0  0  0  0  0  0  0  0  0  0
4.6810   -4.7590  -20.9090 O   0  0  0  0  0  0  0  0  0  0  0  0
0.3340   -9.9680  -17.8470 O   0  0  0  0  0  0  0  0  0  0  0  0
2.6510  -10.6500  -17.1940 O   0  5  0  0  0  0  0  0  0  0  0  0
1.9770  -10.5820  -19.6410 O   0  0  0  0  0  0  0  0  0  0  0  0
4.8430   -3.2520  -21.4880 P   0  0  0  0  0  0  0  0  0  0  0  0
1.7790  -10.0260  -18.2380 P   0  0  0  0  0  0  0  0  0  0  0  0
10.0440    0.1620  -24.9190 C   0  0  0  0  0  0  0  0  0  0  0  0
10.1540    2.5500  -24.5550 C   0  0  0  0  0  0  0  0  0  0  0  0
10.9170   -0.9210  -24.2770 C   0  0  0  0  0  0  0  0  0  0  0  0
9.8090    3.6810  -23.8160 C   0  0  0  0  0  0  0  0  0  0  0  0
10.3800   -2.1820  -24.9690 C   0  0  0  0  0  0  0  0  0  0  0  0
9.1710    3.5430  -22.5790 C   0  0  0  0  0  0  0  0  0  0  0  0
8.8840   -1.8530  -25.0760 C   0  0  0  0  0  0  0  0  0  0  0  0
8.8840    2.2820  -22.0630 C   0  0  0  0  0  0  0  0  0  0  0  0
8.0840   -2.3900  -23.8820 C   0  0  0  0  0  0  0  0  0  0  0  0
9.2130    1.1730  -22.8360 C   0  0  0  0  0  0  0  0  0  0  0  0
10.0640    4.9950  -24.4520 C   0  0  0  0  0  0  0  0  0  0  0  0
6.0340   -3.9210  -25.3310 O   0  5  0  0  0  0  0  0  0  0  0  0
4.3410   -2.0780  -24.6980 O   0  5  0  0  0  0  0  0  0  0  0  0
12.3030   -0.7030  -24.5240 O   0  0  0  0  0  0  0  0  0  0  0  0
10.8580   -2.1330  -26.3220 O   0  0  0  0  0  0  0  0  0  0  0  0
8.7800   -0.4240  -25.1290 O   0  0  0  0  0  0  0  0  0  0  0  0
6.7610   -1.9150  -24.0100 O   0  0  0  0  0  0  0  0  0  0  0  0
9.6810    6.0960  -23.7650 O   0  0  0  0  0  0  0  0  0  0  0  0
5.5330   -2.8730  -24.3650 P   0  0  0  0  0  0  0  0  0  0  0  0
27 56  1  0  0  0  0
27 57  4  0  0  0  0
27 65  4  0  0  0  0
3 28  1  0  0  0  0
5 28  1  0  0  0  0
28 66  1  0  0  0  0
29 54  1  0  0  0  0
29 74  1  0  0  0  0
14 30  1  0  0  0  0
30 32  1  0  0  0  0
30 44  1  0  0  0  0
30 49  1  0  0  0  0
20 31  1  0  0  0  0
31 40  4  0  0  0  0
31 41  4  0  0  0  0
4 32  1  0  0  0  0
32 33  1  0  0  0  0
32 47  1  0  0  0  0
25 33  1  0  0  0  0
33 35  1  0  0  0  0
33 48  1  0  0  0  0
34 36  4  0  0  0  0
34 41  4  0  0  0  0
34 44  4  0  0  0  0
9 35  1  0  0  0  0
35 37  1  0  0  0  0
35 49  1  0  0  0  0
36 38  4  0  0  0  0
36 43  4  0  0  0  0
18 37  1  0  0  0  0
21 37  1  0  0  0  0
37 50  1  0  0  0  0
38 40  4  0  0  0  0
38 42  1  0  0  0  0
2 39  1  0  0  0  0
39 43  4  0  0  0  0
39 44  4  0  0  0  0
11 42  1  0  0  0  0
26 42  1  0  0  0  0
45 54  1  0  0  0  0
46 54  2  0  0  0  0
47 55  1  0  0  0  0
12 48  1  0  0  0  0
50 54  1  0  0  0  0
17 51  1  0  0  0  0
51 55  1  0  0  0  0
52 55  1  0  0  0  0
53 55  2  0  0  0  0
10 56  1  0  0  0  0
56 58  1  0  0  0  0
56 71  1  0  0  0  0
19 57  1  0  0  0  0
57 59  4  0  0  0  0
7 58  1  0  0  0  0
58 60  1  0  0  0  0
58 69  1  0  0  0  0
59 61  4  0  0  0  0
59 66  1  0  0  0  0
24 60  1  0  0  0  0
60 62  1  0  0  0  0
60 70  1  0  0  0  0
23 61  1  0  0  0  0
61 63  4  0  0  0  0
16 62  1  0  0  0  0
62 64  1  0  0  0  0
62 71  1  0  0  0  0
8 63  1  0  0  0  0
63 65  4  0  0  0  0
6 64  1  0  0  0  0
15 64  1  0  0  0  0
64 72  1  0  0  0  0
13 65  1  0  0  0  0
66 73  2  0  0  0  0
67 74  1  0  0  0  0
68 74  2  0  0  0  0
22 69  1  0  0  0  0
1 70  1  0  0  0  0
72 74  1  0  0  0  0
M  END

<pdb_header>

$$$$


Want to add contact page in the website

Is your feature request related to a problem? Please describe.
There is no contact page in the website so i want to add one .
Describe the solution you'd like
I will a good responsive contact page
Describe alternatives you've considered
i can also  improve the hero section of website
Additional context
Below is an sample design of contact page

@J0SAL  Please assign me this issue

Actually, there is a plan to implement a chatbot that can resolve doubts, or email any queries to the project owners, so we don't need the contact page as of now.


Transfer: batch payment link not working properly

I was creating batch payments in Transfer and also I wanted to create a link. But when you add two addresses with a VARIOUS amount of DOT/USD and create a recurring link, the link is not working properly because it changes the amount so it's the SAME for both addresses. Check this video:
On production
https://github.com/kodadot/nft-gallery/assets/104380776/55b5a980-6c48-49b3-9775-e270274af387

👋

thanks for reporting, i've been experiencing too and reported it yet not on github :D


store: add kube_node_role metric

Cherry-picks https://github.com/kubernetes/kube-state-metrics/pull/877
@LiliC @paulfantom @s-urbaniak

/hold
Until we test this.

cc @chambridge @fabianofranz @smarterclayton

/lgtm

just in case :)

/retest

I've tested a cluster-bot cluster with this, and it works as expected.

/lgtm

/hold cancel
🎉 :shipit:


Improve i18n process

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
The i18n process is not really easy to use, especially in the react application. We have a mapping made in front application that can be easily broken.
Describe the solution you'd like
Copy what we made in richie by creating a more reliable mapping in the backend application

Done in #279


Fix seg names

This pull request contains two majors updates:

Correct segmentation names in volume files, labels and stats files from aparc+aseg to aparc.DKTatlas+aseg. DL-prediction is based on aparc.DKTatlas+aseg which should be reflected in the recon-surf output files to avoid confusion.

Create symbolic links to original FreeSurfer names from mapped volumes and labels which allows smooth transition in subprocessing steps with FreeSurfer (i.e. sub-segmentation of hippocampus/thalamus or TRACULA)

Sym links should not be created if --fsaparc is used. We need IF blocks.

I moved the symlink for aparc.DKTatlas+aseg.mapped.mgz and wmparc.mapped.mgz into if statements. The symlink to the label files were already included in an if block.


Omnibus F4SD: switch over mpu6000 to new driver

I'm seeing 'mpu6000: FIFO empty: 49 events' increasing, but that is expected as there's no DRDY.
What's unfortunate is that it only goes to 1kHz rate loop due to the accel.
Tested on the BetaFPV Whoop.

What's unfortunate is that it only goes to 1kHz rate loop due to the accel.

I was wondering if someone was going to notice that. It's not a big deal to change if you want to track accel samples between FIFO reads.
In https://github.com/PX4/Firmware/pull/14473 there's an Omnibus board_dma_map.h (untested).

The other minor thing to note is that so far I've intentionally limited these drivers to what's actually in the datasheets (nothing undocumented, at least not yet).
For the mpu6000 that currently means the DLPF is currently still on, but I believe you can disable it just like the others with DLPF_CFG = 7.

I was wondering if someone was going to notice that. It's not a big deal to change if you want to track accel samples between FIFO reads.

Exactly, would be good to have, given the IMU is still widely used.

For the mpu6000 that currently means the DLPF is still on, but I believe you can disable it just like the others with DLPF_CFG = 7.

Ah I thought you have done that, I only saw https://github.com/PX4/Firmware/blob/master/src/drivers/imu/invensense/mpu6000/InvenSense_MPU6000_registers.hpp#L95.
Ok let's stick with 256Hz then.


Batch Ingestion from Delta Table

Currently, Pinot cannot perform batch ingestion from a delta table. It would be an excellent feature since the project is open-sourced and has many users.
We can build a new RecordReader interface for delta tables utilizing the delta-standalone library.

Yes, this would be a great feature to add. cc: @xiangfu0

I just read a bit about the delta lib. A simple flow may look like below, where we can open the delta table with the lib and loop through all the records. The lib also supports data filtering, and that can be some advanced options for data ingestion.
import io.delta.standalone.data.RowRecord;
import io.delta.standalone.Snapshot;

DeltaLog log = DeltaLog.forTable(new Configuration(), "/data/sales");
CloseableIterator<RowRecord> dataIter = log.update().open();

try {
    while (dataIter.hasNext()) {
        // We get a delta record here, and can convert to pinot GenericRow as far as I can tell
        RowRecord row = dataIter.next();
        int year = row.getInt("year");
        String customer = row.getString("customer");
        float totalCost = row.getFloat("total_cost");
    }
} finally {
    dataIter.close();
}


set up react router and update webpack setting

Now the front end would run in port 3001, and the backend would run in port 3000. If front-end and back-end run in the same port react router won't work.

Looks good! Did you do this in 10 minutes?
Do you mind posting some resources for the Router in Slack. I think some people may need it in their code.

Looks good! Did you do this in 10 minutes?
Do you mind posting some resources for the Router in Slack. I think some people may need it in their code.

I can talk about it during the group meeting


Transform should debounce

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Open https://master--toolpad.mui.com/_toolpad/app/clcdobvof0008n99jpx86fede/pages/331kqzd
Fetch the data
Try to type in:

Current behavior 😯
It's laggy
Expected behavior 🤔
Behaves like in bind property view, with a debounce:

Context 🔦
No response
Your environment 🌎
v.0.0.33

I wonder if the undo/redo changes are affecting this - will take a look.


Fix and re-enable perf profiler test.

Summary: We fix and re-enable the flaky perf profiler test. The underlying issue was stack trace aliasing due to missing stack frames. We document this issue in https://github.com/pixie-io/pixie/pull/896. In brief, because the stack trace walker sometimes skips a stack frame, the test logic could find two different stack traces that matched by leaf symbol. We previously did not realize this, and hence we used assign (vs. accumulate) when building the leaf symbol histogram. In this patch, we accommodate the missing stack frames by accumulating when building the leaf symbol histogram.
To reduce test run time, we can remove some of the Java test cases in a different PR.
Relevant Issues: https://github.com/pixie-io/pixie/issues/719
Type of change: /kind bug fix.
Test Plan: Tested locally using --runs_per_test=16. All tests passed. Verified that all 16 failed using the same methodology but without the fix.

Seems like the test is still flaky?

I looked at the 3 failed builds. It seems that it is Java test #8 failing in the same way each time on kernel 5.19. That is disabled now with a note to investigate.

Seems like the test is still flaky?

I looked at the 3 failed builds. It seems that it is test Java/8 failing in the same way each time on kernel 5.19. That is disabled now with a note to investigate.

I'm going to update the comment to reflect that the issue is specific to kernel v5.19.

@JamesMBartlett
Test 377
Test 378
passed twice now with Java/8 disabled.

Observed more flakiness with local testing.


Two remotes, one is seen the other is not.

Hi I have 1 awning and two remotes.
Both remotes operate the awning perfectly.
ESPsomfy operates the awning perfectly.
Only one of the remotes is seen by ESPsomfy, the other one is not, no matter what I do or how I scan.
please advice, regards Jurgen

The remote that does not work may be a little bit out of tune,  Slowly increase the RX bandwidth and press save in between until you get a signal from the remote.

hmm its either one controller or the other when I move the RX.
Could it be they are that far apart, while the shade responds to both?

Unfortunately, the tolerances on the CC1101 appear to be a bit tighter than the receiver on the motor.   Also reduce your frequency deviation to see if it picks them both up.  You will find that the Somfy remotes really do not transmit at very high power.  Reducing the deviation will make the CC1101 interpret weaker signals if you do not have a whole lot of interference.

I just wanted to say one more thing about this.  I have had a couple of E07-M1101 transceivers that were a little weak.  I don't know if they just have a manufacturing defect or if there was some component that was goofy on them.  One looked like there was a dent in the crystal.

@jurgen2005 did you come to any conclusions on this?

Hi, no I gave up :) its not that big of a problem.

I'm not sure how I would accommodate that in the firmware.  You may be able to get something like that done in HA where you issue a stop when it reaches a certain percentage and it is opening.

I am going to close this one for now.