Minimal example incorrect?

Description
It seems, the minimal example under User Guide / Getting Started / Usage in the docs imports from_toml from the wrong place.
It says from hdl_registers.parser import from_toml but it should say from hdl_registers.parser.toml import from_toml.
Btw: As far as I can see, all other examples in the docs do this correctly.
Furthermore, it would be handy for a beginner to have the referenced caesar_registers.toml available. I cannot find such a file in the repository. Using the file e.g. regs_test.toml instead, or linking to it, would reduce confusion.
How to reproduce?

Run python3 -m pip install hdl-registers
Have hdl_registers version 5.2
Paste example code and run it.

Observe complaint: `cannot import name 'from_toml' from 'hdl_registers.parser' (xxx/.local/lib/python3.10/site-packages/hdl_registers/parser/init.py)

Fix by inserting .toml after from hdl_registers.parser.

Context

Operating system: Ubuntu 22.04.4
Python version: 3.10
hdl-registers origin:

[x] Released package.
[ ] Git repository.

hdl-registers version: 5.2.0

@cweickhmann Thanks for pointing this out, fixed now!

In the name of future-noob: Thank you! ;-)


Expose libbpf_num_possible_cpus

To fetch the number of "possible" (/sys/devices/system/cpu/possible) CPUs.
This is needed in various PERCPU structures to compute the value size. More details in https://github.com/parca-dev/parca-agent/issues/1696#issuecomment-1568736923
Fixes: https://github.com/aquasecurity/libbpfgo/issues/195

@javierhonduco thanks for your contribution. It was shipped in v0.4.9-libbpf-1.2.0.


Routes API send content-type: xml add 4 spaces at top level of the response

Laravel Version
11.0 and 11.25
PHP Version
8.2.22
Database Driver & Version
No response
Description
After calling my custom api route and asking an xml response, it return every time at the first line 4 spaces following by a \n.
During my tests, I use the followin XML: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms762271(v=vs.85)
the code in the API route file:
Route::any('exports/{channel}/{type?}', fn () => response(
    content:$content,
    code: 200, headers: [
    'Content-Type' => 'application/xml',
]))->name('exports');

The answer:

<?xml version="1.0"?>
<catalog>
    <book id="bk101">
        <author>Gambardella, Matthew</author>
        <title>XML Developer's Guide</title>
        <genre>Computer</genre>
        <price>44.95</price>
        <publish_date>2000-10-01</publish_date>
        <description>An in-depth look at creating applications
      with XML.</description>
    </book>
    [...]
</catalog>

But when I remove the header Content-Type, the first line is correctly <?xml version="1.0"?>, but the Content-Type is text/html; charset=UTF-8.
Steps To Reproduce
Add the following route in the routes/api.php file:
Route::any('exports/{channel}/{type?}', fn () => response(
    content:<<<'XML'
<?xml version="1.0"?>
<catalog>
   <book id="bk101">
      <author>Gambardella, Matthew</author>
      <title>XML Developer's Guide</title>
      <genre>Computer</genre>
      <price>44.95</price>
      <publish_date>2000-10-01</publish_date>
      <description>An in-depth look at creating applications
      with XML.</description>
   </book>
   <book id="bk102">
      <author>Ralls, Kim</author>
      <title>Midnight Rain</title>
      <genre>Fantasy</genre>
      <price>5.95</price>
      <publish_date>2000-12-16</publish_date>
      <description>A former architect battles corporate zombies,
      an evil sorceress, and her own childhood to become queen
      of the world.</description>
   </book>
   <book id="bk103">
      <author>Corets, Eva</author>
      <title>Maeve Ascendant</title>
      <genre>Fantasy</genre>
      <price>5.95</price>
      <publish_date>2000-11-17</publish_date>
      <description>After the collapse of a nanotechnology
      society in England, the young survivors lay the
      foundation for a new society.</description>
   </book>
   <book id="bk104">
      <author>Corets, Eva</author>
      <title>Oberon's Legacy</title>
      <genre>Fantasy</genre>
      <price>5.95</price>
      <publish_date>2001-03-10</publish_date>
      <description>In post-apocalypse England, the mysterious
      agent known only as Oberon helps to create a new life
      for the inhabitants of London. Sequel to Maeve
      Ascendant.</description>
   </book>
   <book id="bk105">
      <author>Corets, Eva</author>
      <title>The Sundered Grail</title>
      <genre>Fantasy</genre>
      <price>5.95</price>
      <publish_date>2001-09-10</publish_date>
      <description>The two daughters of Maeve, half-sisters,
      battle one another for control of England. Sequel to
      Oberon's Legacy.</description>
   </book>
   <book id="bk106">
      <author>Randall, Cynthia</author>
      <title>Lover Birds</title>
      <genre>Romance</genre>
      <price>4.95</price>
      <publish_date>2000-09-02</publish_date>
      <description>When Carla meets Paul at an ornithology
      conference, tempers fly as feathers get ruffled.</description>
   </book>
   <book id="bk107">
      <author>Thurman, Paula</author>
      <title>Splish Splash</title>
      <genre>Romance</genre>
      <price>4.95</price>
      <publish_date>2000-11-02</publish_date>
      <description>A deep sea diver finds true love twenty
      thousand leagues beneath the sea.</description>
   </book>
   <book id="bk108">
      <author>Knorr, Stefan</author>
      <title>Creepy Crawlies</title>
      <genre>Horror</genre>
      <price>4.95</price>
      <publish_date>2000-12-06</publish_date>
      <description>An anthology of horror stories about roaches,
      centipedes, scorpions  and other insects.</description>
   </book>
   <book id="bk109">
      <author>Kress, Peter</author>
      <title>Paradox Lost</title>
      <genre>Science Fiction</genre>
      <price>6.95</price>
      <publish_date>2000-11-02</publish_date>
      <description>After an inadvertant trip through a Heisenberg
      Uncertainty Device, James Salway discovers the problems
      of being quantum.</description>
   </book>
   <book id="bk110">
      <author>O'Brien, Tim</author>
      <title>Microsoft .NET: The Programming Bible</title>
      <genre>Computer</genre>
      <price>36.95</price>
      <publish_date>2000-12-09</publish_date>
      <description>Microsoft's .NET initiative is explored in
      detail in this deep programmer's reference.</description>
   </book>
   <book id="bk111">
      <author>O'Brien, Tim</author>
      <title>MSXML3: A Comprehensive Guide</title>
      <genre>Computer</genre>
      <price>36.95</price>
      <publish_date>2000-12-01</publish_date>
      <description>The Microsoft MSXML3 parser is covered in
      detail, with attention to XML DOM interfaces, XSLT processing,
      SAX and more.</description>
   </book>
   <book id="bk112">
      <author>Galos, Mike</author>
      <title>Visual Studio 7: A Comprehensive Guide</title>
      <genre>Computer</genre>
      <price>49.95</price>
      <publish_date>2001-04-16</publish_date>
      <description>Microsoft Visual Studio 7 is explored in depth,
      looking at how Visual Basic, Visual C++, C#, and ASP+ are
      integrated into a comprehensive development
      environment.</description>
   </book>
</catalog>
XML,
    code: 200, headers: [
    'Content-Type' => 'application/xml',
]))->name('exports');

Call backend.laravel.vm/api/exports/demo and you're result should be:

<?xml version="1.0"?>
<catalog>
    <book id="bk101">
        <author>Gambardella, Matthew</author>
        <title>XML Developer's Guide</title>
        <genre>Computer</genre>
        <price>44.95</price>
        <publish_date>2000-10-01</publish_date>
        <description>An in-depth look at creating applications
      with XML.</description>
    </book>
    <book id="bk102">
        <author>Ralls, Kim</author>
        <title>Midnight Rain</title>
        <genre>Fantasy</genre>
        <price>5.95</price>
        <publish_date>2000-12-16</publish_date>
        <description>A former architect battles corporate zombies,
      an evil sorceress, and her own childhood to become queen
      of the world.</description>
    </book>
    <book id="bk103">
        <author>Corets, Eva</author>
        <title>Maeve Ascendant</title>
        <genre>Fantasy</genre>
        <price>5.95</price>
        <publish_date>2000-11-17</publish_date>
        <description>After the collapse of a nanotechnology
      society in England, the young survivors lay the
      foundation for a new society.</description>
    </book>
    <book id="bk104">
        <author>Corets, Eva</author>
        <title>Oberon's Legacy</title>
        <genre>Fantasy</genre>
        <price>5.95</price>
        <publish_date>2001-03-10</publish_date>
        <description>In post-apocalypse England, the mysterious
      agent known only as Oberon helps to create a new life
      for the inhabitants of London. Sequel to Maeve
      Ascendant.</description>
    </book>
    <book id="bk105">
        <author>Corets, Eva</author>
        <title>The Sundered Grail</title>
        <genre>Fantasy</genre>
        <price>5.95</price>
        <publish_date>2001-09-10</publish_date>
        <description>The two daughters of Maeve, half-sisters,
      battle one another for control of England. Sequel to
      Oberon's Legacy.</description>
    </book>
    <book id="bk106">
        <author>Randall, Cynthia</author>
        <title>Lover Birds</title>
        <genre>Romance</genre>
        <price>4.95</price>
        <publish_date>2000-09-02</publish_date>
        <description>When Carla meets Paul at an ornithology
      conference, tempers fly as feathers get ruffled.</description>
    </book>
    <book id="bk107">
        <author>Thurman, Paula</author>
        <title>Splish Splash</title>
        <genre>Romance</genre>
        <price>4.95</price>
        <publish_date>2000-11-02</publish_date>
        <description>A deep sea diver finds true love twenty
      thousand leagues beneath the sea.</description>
    </book>
    <book id="bk108">
        <author>Knorr, Stefan</author>
        <title>Creepy Crawlies</title>
        <genre>Horror</genre>
        <price>4.95</price>
        <publish_date>2000-12-06</publish_date>
        <description>An anthology of horror stories about roaches,
      centipedes, scorpions  and other insects.</description>
    </book>
    <book id="bk109">
        <author>Kress, Peter</author>
        <title>Paradox Lost</title>
        <genre>Science Fiction</genre>
        <price>6.95</price>
        <publish_date>2000-11-02</publish_date>
        <description>After an inadvertant trip through a Heisenberg
      Uncertainty Device, James Salway discovers the problems
      of being quantum.</description>
    </book>
    <book id="bk110">
        <author>O'Brien, Tim</author>
        <title>Microsoft .NET: The Programming Bible</title>
        <genre>Computer</genre>
        <price>36.95</price>
        <publish_date>2000-12-09</publish_date>
        <description>Microsoft's .NET initiative is explored in
      detail in this deep programmer's reference.</description>
    </book>
    <book id="bk111">
        <author>O'Brien, Tim</author>
        <title>MSXML3: A Comprehensive Guide</title>
        <genre>Computer</genre>
        <price>36.95</price>
        <publish_date>2000-12-01</publish_date>
        <description>The Microsoft MSXML3 parser is covered in
      detail, with attention to XML DOM interfaces, XSLT processing,
      SAX and more.</description>
    </book>
    <book id="bk112">
        <author>Galos, Mike</author>
        <title>Visual Studio 7: A Comprehensive Guide</title>
        <genre>Computer</genre>
        <price>49.95</price>
        <publish_date>2001-04-16</publish_date>
        <description>Microsoft Visual Studio 7 is explored in depth,
      looking at how Visual Basic, Visual C++, C#, and ASP+ are
      integrated into a comprehensive development
      environment.</description>
    </book>
</catalog>

@diogo-vf  are you sure above code works for you ? i had to make few changes to run it locally. I don't see any spaces.
Route::any('exports/{channel}/{type?}', function ($channel, $type = null) {
    $content = <<<XML
<?xml version="1.0"?>
<catalog>
   <!-- Your XML content goes here -->
</catalog>
XML;

    return response($content, 200)
        ->header('Content-Type', 'application/xml');
})->name('exports');

@vjaykoogu Hi,
I have 'auth:sactum' middleware at the top level of my api.php, but the rest is the same.
Route::middleware(['auth:sanctum'])
    ->group(function () {
        Route::any('exports/{channel}/{type?}', `myCallback` )->name('exports');
        Route::post( [...] );
        [...]
    });

@diogo-vf  could you please try in different browser?, This is what i see on my machine.

@diogo-vf  Forgot to add Safari Result, I dint make any changes i can see the same on safari too. (my previous screenshot is from Brave browser)

I use Firefox as my main browser

I tried with chrome and have also the 4 spaces problem.

I've also comment all my routes in my api.php and move
Route::any('exports/{channel}/{type?}', function ($channel, $type = null) {
    $content = <<<XML
<?xml version="1.0"?>
<catalog>
   <!-- Your XML content goes here -->
</catalog>
XML;

    return response($content, 200)
        ->header('Content-Type', 'application/xml');
})->name('exports');

to first line and same result, always 4 spaces 🫤


wl-clipboard: Missing dependency xdg-mime from xdg-utils

Describe the bug
wl-clipboard needs the xdg-mime program, provided by xdg-utils, to automatically detect the mime-type of the copied data.
Steps To Reproduce
Steps to reproduce the behavior:

Copy an image using wl-copy. eg. cat image.png | wl-copy
Open a text editor.
Paste the contents of the clipboard.
Note the raw bytes.

(Optional)

Open an image editor. eg. gimp
Paste the contents of the clipboard.
Note there is no image available.

Expected behavior
The contents of the clipboard should have the appropriate mime-type ("image/..."). Thus, when pasted into an image editor, should yield an image.
Notify maintainers

@dywedir
Maybe relevant: @kashw2
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.11, NixOS, 23.11 (Tapir), 23.11.20230819.d680ded`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I'll take a look at this if no one else gets to it

Thank you!


extract temperature info from flir video

Hi!
Thank you for your works which I could extract thermal info numpy from flir image with 👍
Actually I need to analyze flir video.  How can I extract meta data from flir video (.MP4) as you extract meta data from jpg image?

Hey, did you figure it out how to do that?

Hi! Thank you for your works which I could extract thermal info numpy from flir image with 👍
Actually I need to analyze flir video. How can I extract meta data from flir video (.MP4) as you extract meta data from jpg image?

Hey, did you figure it out how to do that?I think I need your help. thank you.


batch_request_queue and parallel_request_queue

After updating images to new versions of MLServer (version 1.3.0.dev4),batch_request_queue and parallel_request_queue are not showing up on my K8S prometheus when deploying them on SeldonDeployments V1. Other parameters like model_infer_request_success are showing as before. I'm using grpc inference requests. What might be the problem?

Hey @saeid93 ,
That's strange. Could you try with the 1.3.1 release that we published last week?


Parallel deploying resources which share the same images result in build thrashing

When running _deploy targets in parallel, if any of those targets share the same built images, Please does not hold a lock to prevent the target being built by duplicate Please processes. We create a build/deploy pipeline process to funnel this all into to do deduplication and fan-out.

This should be partially mitigated by #4 as we've now added all resources used by the _deploy target to data so they should be built before _deploy runs and thus Please should only be checking if targets are already built (which they are) when it fans out.


[Critical] hot-reload AND refreshing the page in iOS Safari does not show any updates

Version
3.0.0-rc.1
Reproduction link
https://github.com/ethanchiu10/vuecli-basic-setup-bug
Steps to reproduce

run 'vue ui'
create a new project with the default preset
open the site in mobile safari (tested on iP7  and iPX on ios 11.3.1 and ios 12)
change something in HelloWorld and save (e.g. change the first word from "For guide" to "4 guide")
press refresh in safari

What is expected?
a. Updates should be hot-reloaded
b. Refreshing the page should definitely show updates
What is actually happening?
No updates are shown

Demo on 2 different machines
https://youtu.be/bqV2SWcixzo
https://youtu.be/knw53evSvdg

Are you using the UI to run serve?

After deleting the .npm folder, and re-installing it, it worked again. I guess one of the cached modules was causing the issue.

@ethanchiu10 Where did you find the .npm folder? Which OS are you using?
Got the same isssue but can't figure out where the folder is.

@VetBoard On my mac, its at ~/.npm

@VetBoard On my mac its at ~/.npm


Keys functions

Needed functions for:

Private random key generation;
Public key from private;
Checking private key conformity with public key.

Oh, seems there is another eosjs for keys https://github.com/EOSIO/eosjs-keygen

All three can be done with this one: https://github.com/eosio/eosjs-ecc
npm i eosjs-ecc


Update interactive challenge

See JIRA Train-1661. Enabling JavaScript and cookies on the browser is required for interactive challenge.

I updated the text to mention the JS and cookies requirement for all types of challenges, and also gave more visibility to this information.
Can you please check again, @migueldemoura?


PR previews don't use branch's amplify.yml

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.

[X] I have searched for duplicate or closed issues.
This may be related to #1880 and #1134

[X] I have read the guide for submitting bug reports.

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3inl0muob87le
Region
us-east-2
Amplify Console feature
Build settings, Previews
Describe the bug
When testing amplify.yml changes in a PR, those changes aren't used in the Build step – it appears that the amplify.yml from the main branch is instead.
Expected behavior
I expect that I can test changes to amplify.yml in a PR prior to merging to prevent broken production deployments on main.
Reproduction steps

Have main with an amplify.yml
In a new PR, update amplify.yml with some new build steps (e.g. nvm install)
Watch Amplify Console's GitHub Check progress and notice how the new build steps aren't executed
git checkout main && git cherry-pick <your commit that introduced new steps> && git push origin main to add these changes to main
git checkout - && git merge main && git push to add a new (redundant) commit to the PR branch & push it
Notice how the PR preview runs the new build steps – because it's on main now?

Build Settings
No response
Additional information

https://us-east-2.console.aws.amazon.com/amplify/home?region=us-east-2#/d3inl0muob87le/pr-43/3

This is a problem for us too. We need to be able to preview and test changes to the build config before merging, which is impossible if the builds always use the main version of amplify.yml and not the branched version.

@ericclemmons this sounds like a bug. Your PR should be using the amplify.yml checked into your repo.

A fix for this has been checked into all waves


feat(diag) expose fallback objects

What this PR does / why we need it:
The bit requested in https://github.com/Kong/kubernetes-ingress-controller/pull/6101#discussion_r1618977291
Which issue this PR fixes:
Fix https://github.com/Kong/kubernetes-ingress-controller/issues/5932
Special notes for your reviewer:
Nothing re https://github.com/Kong/kubernetes-ingress-controller/issues/4473 as requested, and no tests at present, nor a fix for the bit that's broken per https://github.com/Kong/kubernetes-ingress-controller/issues/5932#issuecomment-2150188021, but putting something up given requested timeline.
Unfortunately didn't see the design edit on #5932, but this at least provides the piping needed to ship stuff to the diag server to try and reshape it into that.
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

We should make sure that no fallback objects are reported after we successfully push non-fallback configuration.

Alright, so discarding all the hash stuff and separate problem endpoint,
$ curl -sv localhost:10256/debug/config/fallback | jq
{
  "objects": [
    {
      "resource": "configuration.konghq.com/KongPlugin",
      "namespace": "default",
      "name": "key-auth",
      "id": "52fd9412-56c9-4d09-94cf-55860e34e080",
      "status": "excluded",
      "cause": "configuration.konghq.com/KongPlugin:default/key-auth"
    },
    {
      "resource": "gateway.networking.k8s.io/HTTPRoute",
      "namespace": "default",
      "name": "httproute-testing2",
      "id": "dd336bc8-1978-4185-a819-293ac666f87b",
      "status": "excluded",
      "cause": "configuration.konghq.com/KongPlugin:default/key-auth"
    }
  ]
}

I'm not sure if there are currently or would ever be cases where we'd have a mix of excluded and backfilled objects--the code suggests we can only have one or the other for the current fallback state.

As a result of the review, I prepared a suggested changes set, but we agreed with @pmalek to merge it to feat/diag-fallback-more already to save time and review it as a whole in this PR.


[Enum Request] TAB 5065 - Document Type

Please provide enum support on field Document Type in table 5065 Interaction Log Entry.
Please also provide OnAfterShowDocument publisher with access to Rec in function ShowDocument.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Step Over doesn't step over LDIR but has to be used BC times.

Build: July 14th 2023
Mode: 128k (same not tested in 48k mode)
Current  behaviour:
With LDIR, Step Over has to be used BC times. Step Into has the same behaviour.
Expected behaviour:
Step Over to execute LDIR and go to the next line. Step Into has to be used to transfer for every address, BC times.

Stepping over LDIR works now


bruh moment

help

@rettlebot also respond

@rettlbot nvm

@rettlbot you should have the correct permissions now

@rettlbot final test?

@rettlbot, also reply here I mean

@rettlbot rep

@rettlbot, nice

@rettlbot help


Fixes #168 by spliting down and stop commands

In docker-compose, stop and down commands are different, and so should they in libcompose. This is spliting down and stop commands 🐼.

stop just stops the services
down stops the services and remove the related containers

/cc @kunalkushwaha @ibuildthecloud @dnephin @joshwget
🐸
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

Tested and verified, All good :)
Output msg (stoping and removing) will get fixed with https://github.com/docker/libcompose/issues/155
$ libcompose down
WARN[0000] Note: This is an experimental alternate implementation of the Compose CLI (https://github.com/docker/compose)
INFO[0000] Project [sample]: Stopping project
INFO[0000] [0/2] [web]: Stopping
INFO[0000] [0/2] [redis]: Stopping
INFO[0000] [0/2] [web]: Stopped
INFO[0000] [0/2] [redis]: Stopped
INFO[0000] Project [sample]: Project stopped

$ docker-compose down
Stopping sample_redis_1 ... done
Stopping sample_web_1 ... done
Removing sample_redis_1 ... done
Removing sample_web_1 ... done


Add 100 Search Engines to Search Engines category

https://medium.com/week-in-osint/week-in-osint-2018-42-e8a980e86f50

Are you getting good results with this one? I tried a handful of test searches with it today and the results I got were pretty bad honestly.

¯\_(ツ)_/¯ its nice to have options


Refactor Engine/DB Key/KeyID handling

Separate database key IDs from engine keys to reduce database queries
while holding the engine key table lock
Add support for directly accessing the byte array of BinaryEncoding

In the synthetic llvm ninja build benchmark this is not a clear win.  Indeed, it seems to make the test more variable, rather than always good or always bad.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Axe Disfunction

Minecraft Version
1.20.1
Fabric Version
Quilt 0.26.3
Fabric API Version
7.6.0
Hephaestus Version
1.20.1-<IP_ADDRESS>9
Describe your issue
None of the axes added by Hephaestus are compatible with any tree-chopping mod. Tested tree chopping mods include:
Panda's falling trees
Falling Tree
HT Tree Chop
Tree Harvester
Interestingly, HT Tree Chop shows an icon near the crosshair when the player is targeting a natural tree and holding an appropriate tree-chopping tool. Hephaestus hand axes show this icon and take an extended amount of time to cut the tree, as is a feature of the mod, but still only destroys one log.
Crash Report
No response
Other mods
I tested each tree chopping mod above with exclusively its libraries and Hephaestus.
I also tried using fabric instead of quilt.
Tried reproducing with just Tinkers?
Yes
Performance Enchancers
None of the above
Searched for known issues?
Checked pinned issues, Searched open issues, Searched closed issues, Checked the FAQ

Hello, I'm the author or FallingTree that was mentionned above. I had a report mentionning that compatibility too on Discord.
In the case of my mod, it hooks itself with PlayerBlockBreakEvents.Before (API provided by fabric), however in the case of the axes provided by Hephaestus this method is never triggered. Probably the block is simply removed from the world without attributing it to the player.
This is probably linked, but breaking logs with axes also doesn't increase the number of logs bloken in the Statistic tab of the player.

Probably a duplicate of https://github.com/Alpha-s-Stuff/TinkersConstruct/issues/82.

Thanks for your help!


Fixed channel, section and product option for fixtures

Don't really got much to say about this commit. I updated needed fixtures to use the assigners.

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
Yes. Products is no longer an integer option but an array option

Related tickets

License
MIT

I have not run into a scenario yet where I need it, but I just think it a great feature to add allowing the user to have the flexibility to chose specific products.
I can't really find a way from the documentation of the config definitions: https://symfony.com/doc/current/components/config/definition.html
We can make a way where you could put an integer into the array and it would do the same functionality as before? But this would ofcourse still break the enviroment.

In this case, it'll break our current feature and I simply cannot let it happen. It, of course, makes sense to have such a feature. I think we can either add it as a secondary option or customize the current association or provide a new configuration field.
I am leaving this PR as opened. We will customize it once we have time but if you need it right now, we will appreciate a PR 😄

Now fixtures for blocks and pages again support the old products integer attribute.

Thank you!


MINOR: add architecture section and configure / execution for streams

Added an architecture section.
Added a configuration / execution sub-section to developer guide.

Minor tweaks and a bunch of missing fixes from kafka-site repo.

ping @derrickdoo for reviews. It seems there are some extra steps needed to make 0.10.2 the default version. Will sync up with you offline.

Some of the fixes / refactoring is based on the rendering results on localhost.
As for PAPI, let's discuss about it before making it to official web docs.

It has also incorporated a bunch of fixes that are needed for correct rendering that was lost on the kafka repo.

Where is the version for {{version}} coming from? And are we definitely always rendering this? I tried rebuilding site-docs with this and copying it over to 0102/ and it's just linking to URLs with {{version}} in them...

Hmm, perhaps the issue is that for some files the .html file hasn't been changed to something like <script id="design-template" type="text/x-handlebars-template"> so we are not applying the template parameters? @derrickdoo is that right?

@ewencp {{version}} is coming from /docs/js/templateData.js that gets loaded on top of all the main "root files" (files that are used to serve up entire page layouts).
Right now there's just 3 root files for docs (this may expand over time):

/[version]/documentation.html
/[version]/streams.html
/[version]/quickstart.html

All of these root files when used on kafka-site, load up a partial "/includes/_footer.htm" which runs through the file and swaps in the context variables from "templateData.js". Since there's a different copy of templateData.js for every version of our docs, each version gets the right stuff swapped in.
Note:
To support legacy URLs out there for kafka-site, (quickstart.html) is technically is used as a partial for the path "/documentation" (served by /[version]/documentation.html) as well as being it's own page for the path "/introduction" (served by /introduction.html). This isn't really important - just in case you were wondering why that file is slightly different.

@ewencp and yes to answer your other question if you don't see that script tag on the page, then it's definitely not going to do the replacement logic (sorry if I missed stuff). Here's the pages that are currently setup:
/docs/introduction.html
/docs/implemenation.html
/docs/design.html
/docs/api.html
/docs/configuration.html
/docs/ops.html
/docs/security.html
/docs/connect.html
/docs/streams.html
/docs/quickstart.html

LGTM, modulo the rat failure which is due to a missing header in streams.html. I am going to commit this and add the header during commit (and test before pushing). It actually requires some changes in kafka-site to render correctly, but this has been true of these docs now for awhile -- those will go into kafka-site with the next <IP_ADDRESS> RC. This will be committed to trunk and 0.10.2 since this has fixes that will make the RC and release docs render properly (and is a low risk doc improvement).


Error: Cannot enlarge memory arrays.

Thanks for this great work. In the most cases it runs perfectly, but in 2 of 10 times I get this error:
Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.
What have I am to do to fix this problem ?
Any proposals ?

I'm having the same problem here.

Set TOTAL_MEMORY to a larger value than 16777216.
Mp3LameEncoderConfig = {
  memoryInitializerPrefixURL: "../vendor/",
  TOTAL_MEMORY:<PHONE_NUMBER>,
}

@meowtec:
it seems that your proposal fixed this problem.
Many thanks.
Is there a possibility to have a error-handling for this kind of errors ?
So I can send a error-message to the user of the script.
Now, I can only see this error in the developer-tools.


Disable volume control using mouse wheel on episode list (fix #315)

Add active flag judgment processing to mouse-wheel event handler method. This flag is set to false when the mouse cursor is on the episode list and to be true when leaving.
It seems that the indent setting of editorconfig and the indent of this file do not become consistent.

yay! great fix :) thanks!

This is great @fuji44, a fix I've been a big fan of!
One small bug I noticed: this breaks Streama for non-TV shows. An exception is thrown because movies don't have an episode selector!
vendor.unminified.js:25497 TypeError: Cannot read property 'addEventListener' of null
    at J (streama.unminified.js:7833)
    at r (streama.unminified.js:7436)
    at streama.unminified.js:7420
    at vendor.unminified.js:23268
    at vendor.unminified.js:27811
    at r.$eval (vendor.unminified.js:29073)
    at r.$digest (vendor.unminified.js:28889)
    at r.$apply (vendor.unminified.js:29181)
    at e (vendor.unminified.js:23561)
    at v (vendor.unminified.js:23759)

Here's the code in question:
...
var playerMenu = document.querySelector('#player-menu-episode-selector');
playerMenu.addEventListener('mouseenter', function (event) {
    isMouseWheelVolumeCtrlActive = false;
});
...

I think this could be simply fixed with the following:
...
var playerMenu = document.querySelector('#player-menu-episode-selector');
if (playerMenu == null) {
    return;
}
playerMenu.addEventListener('mouseenter', function (event) {
    isMouseWheelVolumeCtrlActive = false;
});
...

I could submit a PR with this quick fix, I'll be honest though I have not been able to set up the dev environment (mostly because web development is not my area of expertise at all), so it'll be a change without much testing, which isn't great.

@jguerinet Thanks for the feedback!
I will find a time and investigate the bug.
Since this PR has already been merged, I will create an Issue.


Added some details to custom menu documentation

This PR contains:

[ ] bugfix
[ ] feature
[ ] refactor
[ ] tests
[x] documentation
[ ] others

Breaking Changes?

[ ] yes
[x] no

Checklist

[ ] commit messages follow the Conventional Commits pattern

A feature commit message is prefixed "feat:"
A bugfix commit message is prefixed "fix:"
A document related commit is prefixed "docs:"

[x] docs have been added / updated (for bug fixes / features)

Describe Your Changes
Added some details for Custom Menu. There wasn't anything missing from the existing documentation but I've added some explicit details.
Does this PR affects any existing issues?

[ ] yes
[x] no

Incorporated your suggestions.
I changed the line to Create 'customMenu' as a template variable using the newly created custom-menu component. I'm not sure adding newly created might fix the confusion.

Incorporated your suggestions.
I changed the line to Create 'customMenu' as a template variable using the newly created custom-menu component. I'm not sure adding newly created might fix the confusion.

I made some changes to the custom menu part. I hope it is explanatory.
Also, please follow the commit guidelines. I will squash merge this for now.

I made some changes to the custom menu part. I hope it is explanatory.
Also, please follow the commit guidelines. I will squash merge this for now.


SonicBoom Bug

SonicBoom doesn't show that it doesn't effect Ghost Type Pokemon.

Merging this with #48


Inference

Hello, I was checking the code and I have a doubt about the inference. Why do you iterate over epochs in the inference part?

In some experiments, we iterate over epochs in the inference to generate multiple predictions for each input data, then we can slightly improve the results via voting.
You can set the number of epochs to 1  if voting is not needed.


Could you provide the original tflite model before quantization?

Hi @jiuqiant @chuoling ,
Mediapipe is really efficient and powerful for developing Mobile AI applications. Many thanks for your great work!
We recently tested the pose detection and landmark models released just a few days ago which performed very well for our application. But the problem is that the models are quantized so it is not flexible to refine the network structure and retrain the model for our application. Could you send me the original tflite model before quantization for pose detection and landmark?  Thanks in advance : )  My email<EMAIL_ADDRESS>

Hi @ivan-grishchenko , any comment?

Hi @jizhu1023,  Please find the github code.

There are two ways to convert a Float16 or INT8 quantization model back to Float32.

tensorflow-onnx https://github.com/onnx/tensorflow-onnx Support: Float16 / INT8, tflite->ONNX
tflite2tensorflow https://github.com/PINTO0309/tflite2tensorflow Support: Float16, tflite->ONNX,tflite float32/16/INT8, TFJS, TFTRT, OpenVINO, Myriad Blob, CoreML

However, the problem is that even if both methods can generate saved_model and onnx, they cannot bring them back to a state where they can be retrained. It is just a model format conversion.
I am a little concerned that this work might antagonize the great developers of MediaPipe. :crying_cat_face:


Microphone events and threshold inconsistency

I got frustrated with microphone.set_threshold seemingly to make no difference to a project, so decided to run some test code to see whether sound events were being triggered at different levels.
I got some very strange inconsistent results with loud/quiet events. It seems like the loud event only triggers above a much higher threshold than the one set, and the quiet event seems to be triggering whenever the loud event is not, making the threshold set for that irrelevant? I apologise if I am not correctly understanding how these events work.
Here's the code I used and some sample outputs
from microbit import *

microphone.set_threshold(SoundEvent.LOUD, 80)
microphone.set_threshold(SoundEvent.QUIET, 20)

for _ in range(10):
    if microphone.current_event() == SoundEvent.LOUD:
        print('loud event: {}'.format(microphone.sound_level()))
    elif microphone.current_event() == SoundEvent.QUIET:
        print('quiet event: {}'.format(microphone.sound_level()))
    sleep(1000)

The events are raised when the thresholds are crossed, so if you are in a quiet room below the quiet level, and make loud short noise, the "loud" event will be raised first and the "quiet" event will follow.
Using the microphone.current_event() will always returned the last recorded event, independently of how long ago it was. So, in the previous example, microphone.current_event() will first return a LOUD event, then a QUIET event, and it will keep to return QUIET until the next LOUD event.
Using the microphone.was_event(SoundEvent.LOUD) will return True or False if the event was raised since the last time microphone.was_event() was called, so that is more likely what you'll want to use.
Hope that helped, let us know if you have any other questions 👍

Thanks for that clarification. I still don't think that explains the behaviour I'm seeing here.
In the very first example a loud sound was made and held. The loud threshold is crossed so we get a loud event (151), but then we see a quiet event when the sound is still above both the loud and quiet thresholds at 107.
In the second example the loud threshold was clearly crossed when the sound was 82 and 96: it should not have dropped below the quiet threshold of 20 at any point, yet we get only quiet events, no loud ones.
I take your point about using was_event: I was really only using the current_event method to try and figure out why changing the thresholds was having no effect by trying to take readings and measurements as close together as possible. I still think that changing the thresholds doesn't affect the behaviour when using was_event, it's just more difficult to show evidence of this!

Here's some further proof that things are not working correctly with microphone threshold setting and events. This code just takes 20 samples over 2 seconds and spits out the sample levels and any events that were recorded. In the first example we never see a loud event despite the threshold clearly being crossed. In the second example we see a second quiet event despite the sound never falling back below the threshold once it is crossed. I am sure there is a bug here you can find with a bit of further experimentation.
from microbit import *

microphone.set_threshold(SoundEvent.LOUD, 80)
microphone.set_threshold(SoundEvent.QUIET, 20)

samples = []
for _ in range(20):
    samples.append(microphone.sound_level())
    sleep(100)

print(microphone.get_events())
print(samples)


Concurrency runtime never calls swift_task_enqueueMainExecutor_hook

Description
The hook swift_task_enqueueMainExecutor_hook is exported for users to implement custom main executor behavior but the concurrency runtime never calls this hook even though someone assigns a closure to it. On the other hand swift_task_enqueueGlobal_hook works as expected.
Steps to reproduce
swift_task_enqueueGlobal_hook = { job, original in
    print("enqueueGlobal")
    original(job)
}

swift_task_enqueueMainExecutor_hook = { job, original in
    print("enqueueMainExecutor")
    original(job)
}

@MainActor
func someMainActorFunc() async {
    print("Main actor function")
}

Task { @MainActor in
    print("Main actor task 1")
}

Task.detached { @MainActor in
    print("Main actor task 2")
}

Task.detached {
    print("Non main actor task")
}

await Task.detached {
    await someMainActorFunc()
}.value

To reproduce clone the package and swift run.
Expected behavior
It is expected that enqueueMainExecutor would be printed a couple of times.
Actual behavior
The output doesn't have any enqueueMainExecutors printed. The actual output is of the form:
enqueueGlobal
enqueueGlobal
enqueueGlobal
enqueueGlobal
Non main actor task
Main actor task 1
Main actor task 2
Main actor function
enqueueGlobal

Environment

Swift compiler version info: from 5.5 to 5.7.3 to nightly January 18, 2023
Platforms: macOS, Windows, Linux

Related forum thread.

Your reply in the forum thread is important here. In particular the realisation that the current implementation of MainActor calls
func enqueue(_ job: UnownedJob) {
     _enqueueOnDispatchQueue(job, queue: self)
}

(which doesn't provide any runtime hook), instead of:
public nonisolated func enqueue(_ job: UnownedJob) {
    _enqueueOnMain(job)
}

which appears to be what swift_task_enqueueMainExecutor_hook was implemented for initially.
One workaround would be to avoid the combination of swift_task_enqueueMainExecutor_hook with the DispatchGlobalExecutor and use the NonDispatchGlobalExecutor instead. We may indeed want to do that eventually (e.g. on Android), but for now it'd be helpful to only override MainActor invocations and leave the others to run on a global dispatch queue.


gen_maven_deps.sh issue

The instructions in the README to build bazel_deps state:
# Build the ParseProject binary
cd $BAZEL_DEPS
bazel build //:parse

but this appears to build parseproject_deploy.jar rather than the parseproject.jar referenced in the gen_maven_deps.sh script.
building with
bazel build //src/scala/com/github/johnynek/bazel_deps:parseproject_deploy.jar

works. It seems that either docs or build should be updated to work cleanly.

Happy to accept a PR.
I think users should be directed to use bazel run actually, and not bother with the deploy_jar in many cases.
But some folks want the deploy jar because they run in a repository rule. This is a style I don’t prefer, but others seem to.

I'm not sure I understand. I tried to follow the README steps, below. Are you suggesting I use bazel run instead of some of these?
# Build the ParseProject binary
cd $BAZEL_DEPS
bazel build //:parse
# Run parseproject on the dependencies.yaml in MY_PROJ_DIR, generating the 3rdparty/ dir.
cd $MY_PROJ_DIR
$BAZEL_DEPS/gen_maven_deps.sh generate --repo-root "$MY_PROJ_DIR" --sha-file 3rdparty/workspace.bzl --deps dependencies.yaml

hi @cfredhart, sorry for the confusion. I updated the README to add these steps, you're right that the steps should say bazel build //src/scala/com/github/johnynek/bazel_deps:parseproject_deploy. instead of bazel build //:parse.
The confusion comes from how you execute the parseproject binary. If you run it from a checkout of bazel-deps, you can do
cd $BAZEL-DEPS
bazel build //:parse
bazel run //:parse <...>

In this case, running bazel build will only compile the sources for the //:parse target. Running it like this will only work from within the bazel-deps project because the built Java JAR will not include any dependencies, and the bazel workspace is responsible for providing them when you do bazel run.
$ tar -tf bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject.jar
META-INF/
META-INF/MANIFEST.MF
com/
com/github/
com/github/johnynek/
com/github/johnynek/bazel_deps/
com/github/johnynek/bazel_deps/ParseProject$.class
com/github/johnynek/bazel_deps/ParseProject.class
templates/
templates/jar_artifact_backend.bzl

If you build the deploy jar, it includes all dependencies and can be run from any context. This is necessary if you want to run the generator from outside the context of a checkout of this repo.
$ tar -tf bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject_deploy.jar | wc -l
   24990

$ ls bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject*.jar
-r-xr-xr-x  1 kostar  wheel   4.5K Apr  6 10:43 bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject.jar
-r-xr-xr-x  1 kostar  wheel    35M Apr  6 10:44 bazel-bin/src/scala/com/github/johnynek/bazel_deps/parseproject_deploy.jar

When https://github.com/johnynek/bazel-deps/issues/160 is fixed there will be a self-contained manner in which you can use bazel-deps from you WORKSPACE.

@cfredhart  I think #249 is addressing this.


Creating a file to store resources

For now we're looking at a simple file or folder to hold the links discussed in the virtual coffee slack channel. Something along the lines of a resources.md
If it starts off as just a data dump that's okay, but hopefully soon we can settle on a simple template with instructions on how to update the list.
A good start would be just if we had the link and the associated person who shared it.
e.g.
Step by Step to contributing on github - Submitted by TK

Handled by https://github.com/Virtual-Coffee/open-source/pull/13


TERM environment variable not set

Hi :
When I execute prox_config_backup.sh in crontab schedule, "TERM environment variable not set" appears, how can I solve it?

Since no one has responded yet I was about to suggest something, but this link has even more possible solutions.  Stack OverFlow Question/answers

I edited the script like this to work with crontab
#!/bin/bash -p
export TERM=xterm

and commented out this line:
#read dummy

Finally, in crontab I set up mine to output to null so I'm not getting emails every time it runs.

thanks~~ i will try it


How to get to the Co-sell with Microsoft section

To navigate to the Co-sell with Microsoft section, select Commercial Marketplace -> Overview (you must be enabled as a publisher), then select an existing offer (you must have already created an offer), then you will find "Co-sell with Microsoft" at the bottom of the center grey menu area.

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

ID: 3d32eb9e-b415-3a82-0a0e-3e577d73ea51
Version Independent ID: ac36495d-420f-0ac7-48fd-e6536fc4eddc
Content: Co-sell option in Partner Center
Content Source: articles/marketplace/partner-center-portal/commercial-marketplace-co-sell.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @ChJenk
Microsoft Alias: v-chjen

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

#reassign:dsindona

@mathewhtaylor Thanks for the input. the UX is slightly different depending on the offer type. I will forward the recommendation for some procedural guidance to the related team.
#please-close


Inquiry regarding immediate evaluation of variables and batch processing

I would like to express my sincere appreciation for providing such an excellent extension.
I have a question regarding the use of immediate evaluation of variables and batch processing.
I have noticed that when performing batch processing using immediate evaluation of variables, the evaluation results from the first batch processing are carried over to the second and subsequent batch processing. Is this behavior intended or is it a specification? Furthermore, is there any way to avoid this behavior?
For your reference, I am currently using the following environment:
sd-dynamic-prompt: v2.11.1
dynamicprompts: 0.23.0
Thank you for taking the time to read this post.

I think this issue related to #395 - I'm closing this - if you think it's different then feel free to re-open this one.

It was indeed the same!
My apologies for my lack of confirmation.
Thank you for your reply.


Member vs owner

Add details on why you would make a user eligible to be a member of a PAG vs an owner of the PAG.  What is the use case for owner?

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

ID: f4da66b2-36f2-753f-4170-bcbf51824033
Version Independent ID: c9e72e4f-effc-37f0-f418-c92af00f0523
Content: Assign eligible owners and members for privileged access groups - Azure Active Directory
Content Source: articles/active-directory/privileged-identity-management/groups-assign-member-owner.md
Service: active-directory
Sub-service: pim
GitHub Login: @curtand
Microsoft Alias: curtand

@danmyhre Thank you for your feedback. We will investigate and update the thread .

Hi @danmyhre
Thanks for your contribution!!! We have published a new article that describes role-assignable groups in Azure AD and privileged access groups and scenarios in PIM. https://docs.microsoft.com/azure/active-directory/privileged-identity-management/concept-privileged-access-versus-role-assignable
#please-close


Upgrade to v0.9.40

Upgrade Trappist's runtime from v0.9.37 to v0.9.40.

[x] Upgrade DEX pallet to v0.9.40
[x] Consult Polkadot v0.9.38 release report for important changes that may impact Trappist's runtime.
[x] Consult Polkadot v0.9.39 release report for important changes that may impact Trappist's runtime.
[x] Consult Polkadot v0.9.40 release report for important changes that may impact Trappist's runtime.
[x] Upgrade Chess pallet to polkadot-v0.9.40
[x] Apply PR#2108 from Contracts on Rococo chain's runtime
[x] Upgrade Trappist runtime & node to v0.9.40. See Parachain template update to v0.9.40 PR for guidance.
[x] Review Runtime config for any misconfigurations.
[ ] Review XCM config for any miconfigurations.
[ ] Change WeightToFee struct to charge for proof size weight. #169

@valentinfernandez1 please take this one into account: https://github.com/paritytech/trappist/issues/147
is an easy one though.

@stiiifff , i wonder if we should perform each runtime upgrade from 0.9.37 to 0.9.40 and do not directly jump to 0.9.40. I think is not the case for these ones, but skipping versions in the runtime upgrade might lead to not run storage migrations present on specific releases.

@hbulgarini Can you verify the last assertion about storage migrations ? this sounds a bit scary to tbh.

@hbulgarini Can you verify the last assertion about storage migrations ? this sounds a bit scary to tbh.

it is not the case for these upgrades but anyway i would try to avoid jumping versions in the future. At least i would recommend to go to 0.9.38 (xcm v3) and maybe jump to 0.9.40.

That's a great question, there has to be a better approach once the chain is live on rococo. It makes sense to avoid skipping versions, but it seems odd once the chain is running to create a proposal and approve it only to increase the versions (if the upgrades are done though referendums of the democracy pallet) .

it is not the case for these upgrades but anyway i would try to avoid jumping versions in the future. At least i would recommend to go to 0.9.38 (xcm v3) and maybe jump to 0.9.40.

Let's upgrade to v0.9.40 in one go this time, we'll upgrade to every release after that when the chain is live.

The upgrade requires to regenerate the weights.rs files since Weight::from_ref_time() to include a call that also has the proof_size. Egg:
fn create_exchange() -> Weight {
  Weight::from_parts(25_000_000, u64::MAX)
  ...
}

Should this be done here or as part of #141 ?

What is the current purpose of pallet_randomness_collective_flipon trappist? Since this pallet changed name in 9.39, and now is marked as insecure.
https://substrate.stackexchange.com/questions/8268/why-has-the-pallet-randomness-collective-flip-been-removed-in-polkadot-v0-9-39/8269#8269

@valentinfernandez1 Good question.
It's only used to provide a source of randomness to the smart contracts layer (see here).
As mentioned in the pallet-insecure-randomness-collective-flip's readme, it should not be used for high-stake production use-cases. But as Trappist is only used as an experimental / development environment, I think this is acceptable. Even when deployed on Rococo, Trappist will not be an incentivised network. So, contracts deployed on it should be experimental / prototypes in nature, we just need to make that very clear. @hbulgarini do you agree ?
As mentioned in the PR that added the -insecure moniker to the pallet's name, to make it even more apparent, there is currently no alternative other than to bridge to a secure randomness source.

@valentinfernandez1 Good question. It's only used to provide a source of randomness to the smart contracts layer (see here). As mentioned in the pallet-insecure-randomness-collective-flip's readme, it should not be used for high-stake production use-cases. But as Trappist is only used as an experimental / development environment, I think this is acceptable. Even when deployed on Rococo, Trappist will not be an incentivised network. So, contracts deployed on it should be experimental / prototypal in nature, we just need to make that very clear. @hbulgarini do you agree ? As mentioned in the PR that added the -insecure moniker to the pallet's name, to make it even more apparent, there is currently no alternative other than to bridge to a secure randomness source.

I agree that at this point there is no need to replace the pallet-insecure-randomness-collective-flip. The reason why it was renamed was because this randomness pallet was included in the node template and as a consequence most of the chains are using it without acknowledging the security implications.
In the future i think it would be a nice showcase to implement a custom pallet that is able to get the randomness from the relay chain/Babe. This code can work as inspiration:
fn relay_chain_state_proof() -> RelayChainStateProof {
	let relay_storage_root = ParachainSystem::validation_data()
		.expect("set in `set_validation_data`")
		.relay_parent_storage_root;
	let relay_chain_state =
		ParachainSystem::relay_state_proof().expect("set in `set_validation_data`");
	RelayChainStateProof::new(ParachainInfo::get(), relay_storage_root, relay_chain_state)
		.expect("Invalid relay chain state proof, already constructed in `set_validation_data`")
}

In the future i think it would be a nice showcase to implement a custom pallet that is able to get the randomness from the relay chain/Babe. This code can work as inspiration:

If you could add that issue, I can work on it after this task is done.

@hbulgarini I will be creating a new branch called xcmv3-dev to consolidate all the changes intended for the upcoming milestone. We should try to keep the main branch only for changes that will be on the initial deploy on Rococo .
This means that any modifications planned to be added via the runtime upgrade can now be worked on within the xcmv3-dev branch until Trappist is deployed on Rococo.

Closed by #171, PR merged into dev branch xcmv3-dev.


[1.11.2] Misc.scala ModDetect functions not detecting Mods for Advanced Generators

ic2 version: 2.7.72
[13:32:18] [Server thread/INFO] [advgenerators/advgenerators]: IC2 Version: NOT FOUND

I'm closing this issue as part of a spring cleaning of my issue trackers from old stuff.
If you believe it's a bug that is still relevant in Minecraft 1.12 - Feel free to reopen it.


Sign Apache2.0 License NOTICE text

Don't forget to sign your notice, otherwise the LICENSE doesn't do a whole lot for you!

Good catch! I'll have to go through my repos at some point and make sure the license is correct.


Incorrect unreachable code error with function hoisting

The following code produces said incorrect error:
/* @flow */

function a(a:number) {
	return b(a);

	function b(b) { return b + 1; }
}

Function hoisting is the one example where there would be no unreachable code, and it should not fail for this.
The use-case for this is internal helper functions. Since you do not have to read well-named functions to know what they do, I use this pattern a lot to make the main flow understandable (you only have to read to the return statement).

Merging with #125.


Update service deployer to support both end user and ISV credentials

[ ] When the service template has isSelfHosted: false, then the deployer must get the ISV credentials from the credential center and use it for deployment.
[ ] Use it for terraform and terraform-boot deployments.

I will do it


PLAT-9151: Cities in 2 different time zones showing same time

Fixes Enyo platform detection as well as binary synchronous zoneinfo fetching.
Enyo-DCO-1.1-Signed-off-by: Jason Robitaille<EMAIL_ADDRESS>

I don't have access to the bug system any more, but there are multiple reasons why two cities in two different time zones might have the same wall time:

neighbouring time zones may have the same time at some points of the year if one of them observes DST and the other one doesn't. An example would be Arizona (no DST) and California (normal DST).
sometimes two time zones are separate for historical reasons but currently observe the same rules
sometimes neighbouring time zones may have 2 hours DST instead of 1, putting them at the same wall time as their neighbours

Having said that, I can't say what the problem here was or what the solution is, or why this fix would fix it. I'm just adding my $0.02 worth.

@ehoogerbeets just to fill you in, the issue was a few small bugs which each resulted in ZoneInfo files from being read. The particular issues (if you were curious):

enyo-ilib's glue.js was expecting ZoneInfoFile object as the exports itself rather than exports.ZoneInfoFile
The platform detection for Enyo was incorrect for Enyo 2.6 which does has enyo global, so was being mis-labelled in zoneinfo.js as node platform.
Having req.responseType = "arraybuffer" on a synchronous XMLHttpRequest results in an exception in Chrome/Blink. Adjusted for alternate synchronous byteArray parsing without that responseType.


Get-AzRecoveryServicesVault throws Assembly "Microsoft.Azure.PowerShell.Authentication, Version=<IP_ADDRESS>

Hi.
I am getting this error with new modules 5.4.0 using "Get-AzRecoveryServicesVault":
Get-AzRecoveryServicesVault : Operation failed.
Die Datei oder Assembly "Microsoft.Azure.PowerShell.Authentication, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" oder eine Abhängigkeit davon wurde nicht gefunden.
In C:\Users\am\vm-deployment\deploy-vm-code_V4.6.ps1:1157 Zeichen:24

    $choicearray = Get-AzRecoveryServicesVault | where {$_.Locati ...

                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [Get-AzRecoveryServicesVault], Exception
FullyQualifiedErrorId : Microsoft.Azure.Commands.RecoveryServices.GetAzureRmRecoveryServicesVaults

This issue is not with Version 5.3.0.
Could please someone look into this?

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

ID: 1f87d802-0d3b-602c-4e4e-b519bb003063
Version Independent ID: 92f67fd1-c7b3-7afb-0009-9a2cc19187b8
Content: Azure PowerShell release notes
Content Source: docs-conceptual/azps-5.4.0/release-notes-azureps.md
Service: azure-powershell
GitHub Login: @mikefrobbins
Microsoft Alias: mirobb

@andreasmarx Thanks for the feedback. We're investigating this and will get back to you shortly.

@andreasmarx Thanks for the feedback. We're investigating this and will get back to you shortly.

@andreasmarx I could not reproduce the issue on my end. Here are the modules I have installed on my machine:
PS C:\> Get-InstalledModule -Name Az, Az.Accounts, Az.RecoveryServices

Version              Name                                Repository           Description
-------              ----                                ----------           -----------
5.4.0                Az                                  PSGallery            Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This mo...
3.3.0                Az.RecoveryServices                 PSGallery            Microsoft Azure PowerShell - Recovery Services cmdlets for Azure Resource ...
2.2.4                Az.Accounts                         PSGallery            Microsoft Azure PowerShell - Accounts credential management cmdlets for Az...

However, it seems like similar issues with the Az.RecoveryServices module were reported in the past:

https://github.com/Azure/azure-powershell/issues/8417
https://github.com/Azure/azure-powershell/issues/12230
https://github.com/Azure/azure-powershell/issues/12468

Please run the following:
Install-Module -Name Az.Accounts -Force
Install-Module -Name Az.RecoveryServices -Force

and then try Get-AzRecoveryServicesVault in a new PS session. Do let me know what you see.

@andreasmarx Hope the above inputs help. Are there any further questions here?

@BhargaviAnnadevara-MSFT  I had the issue with AZ 5.4.0 and az.recoveryServices 3.3.0. The issues was reproducable. With AZ 5.3.0 and az.recoveryServices 3.2.0 it is working fine.

@andreasmarx As mentioned in the GitHub issues reeferenced above, there seem to be some assembly conflicts between Az.RecoveryServices and Az.Accounts modules, which is why I suggested you test with the latest version (2.2.4) of Az.Accounts module.
Have you had a chance to run this:

Please run the following to get the latest versions of Az.Accounts and Az.RecoveryServices:
Install-Module -Name Az.Accounts -Force
Install-Module -Name Az.RecoveryServices -Force

and then try Get-AzRecoveryServicesVault in a new PS session. Do let me know what you see.

If the problem still persists, please open a new issue with the Azure PowerShell repo for our Engineering Team to investigate further: Az module bug report.
Also, on a side note, I'd like to let you know that this channel (the Azure PowerShell Docs repository) is only for driving improvements related to documentation on the Azure PowerShell module. The best place for specific answers about implementations is going to be the Microsoft Q&A and Stack Overflow platforms. We actively look through posts in the forums and will do our best to get you going in the right direction.

@BhargaviAnnadevara-MSFT As I already mentioned the issue happens with the newest modules. Downgrading to the previous versions works for me. Sorry, I don't have time at the moment to reproduce the issue again and provide all the details requested. From my side you can close this. If I run into the issue again, I will open a bug report and provide details. Thanks for your support.

@andreasmarx Thanks for the response. We will now proceed to close this thread, but if there are any further questions regarding the Azure PowerShell documentation, please tag me in your reply and we will be happy to continue the conversation.


Support for Azure and gcp

Hey guys,
I see in the readme that this chart only supports AWS. Can anyone expand on what might be needed for support to be extended to Azure and/or GCP?
Thanks

Even though we don't support it, We've run a few deployments on GCP. We haven't tried Azure yet.
The only thing very specifically required is an S3 (compatible) api for the backup, everything else should work on any Kubernetes deployment.
It's a bit dated, but here for example is a trial with GKE on GCP:
https://github.com/timescale/timescaledb-kubernetes/pull/35

@lukekhamilton I don't think there's anything in this Chart that would not make it work on Azure/GCP, Can we close this issue?

Yeah close away.
Thanks
On Mon, 18 May 2020 at 6:11 pm, Feike Steenbergen<EMAIL_ADDRESS>wrote:

@lukekhamilton https://github.com/lukekhamilton I don't think there's
anything in this Chart that would not make it work on Azure/GCP, Can we
close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/timescale/timescaledb-kubernetes/issues/143#issuecomment-630019372,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWDI2W7MIQK5SAQ24UBLDRSDUS5ANCNFSM4MKNOLRQ
.

--
Regards,
Luke Hamilton
Adviser & Consultant | Senior Software Engineer | Solution Architect
(+61) 488 113 380
Stone and Chalk, The Goods Shed North, 710 Collins St, Docklands VIC 3008,
Australia
This message is intended for the addressee named above. It may contain
privileged or confidential information.
If you are not the intended recipient of this message you must not use,
copy, distribute or disclose it to anyone
other than the addressee. If you have received this message in error please
return the message to the sender
by replying to it and then delete the message from your computer. Internet
emails are not necessarily secure.
MettaData does not accept responsibility for changes made to this message
after it was sent.


Batch ingestion entries by prefix for processing

Description
Now batching ingestion entries by prefix to reduce the risk of collisions while updating blobs.
Checklist:

[X] I confirm that my submission adheres to the Code of Conduct.
[X] I have tested that the code works with sample data and verified all tests are passing
[X] I have verified that any tests that I have supplied with this Pull Request work and I have fixed any code which caused pre-existing tests to fail.
[ ] I have updated the README with any changes in dependencies/configuration values.
[X] I have linted my code to ensure that it is formatted correctly.

Codecov Report

Merging #127 (92204ba) into main (b1616f2) will increase coverage by 0.03%.
The diff coverage is 0.00%.

:exclamation: Current head 92204ba differs from pull request most recent head 82b1ec5. Consider uploading reports for the commit 82b1ec5 to get more accurate results

@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
+ Coverage   22.72%   22.76%   +0.03%
==========================================
  Files          26       26
  Lines         594      593       -1
==========================================
  Hits          135      135
+ Misses        459      458       -1

Impacted Files
Coverage Δ

...s/Functions/Ingestion/ProcessPwnedPasswordEntry.cs
0.00% <0.00%> (ø)

...unctions/Functions/Ingestion/ProcessTransaction.cs
0.00% <0.00%> (ø)

Functions/Implementations/Azure/QueueStorage.cs
0.00% <0.00%> (ø)

Functions/Implementations/Azure/TableStorage.cs
0.00% <0.00%> (ø)

Functions/Models/QueuePasswordEntry.cs
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Internal Server Error when logging in as Obrien

STR-
Go to https://ci-latest.amlng.di2e.net/center/
When prompted for username and password, type obrien / password
RESULTS - Internal Server 500 error
EXPECTED RESULTS - Should log user in without error

@mannyrivera2010 - please review and advise how to proceed. - thank you,

just tested this and it is working on DI2E

Works on latest  Will need to test with username containing an apostrophe on staging.


[opendistro-1.13][backport] Return HTTP 409 if get parallel put request

(cherry picked from commit ea382b41d1132480139204d5bfead84f831900c4)
opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Github Issue # or road-map entry, if available:

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1313 (c75a516) into opendistro-1.13 (3012475) will decrease coverage by 0.04%.
The diff coverage is 33.33%.

@@                  Coverage Diff                  @@
##             opendistro-1.13    #1313      +/-   ##
=====================================================
- Coverage              64.69%   64.65%   -0.05%
  Complexity              3187     3187
=====================================================
  Files                    246      246
  Lines                  17167    17169       +2
  Branches                3039     3040       +1
=====================================================
- Hits                   11106    11100       -6
- Misses                  4514     4520       +6
- Partials                1547     1549       +2

Impacted Files
Coverage Δ

...arch/security/dlic/rest/api/AbstractApiAction.java
76.89% <33.33%> (+0.98%)
:arrow_up:

...relasticsearch/security/rest/TenantInfoAction.java
77.61% <0.00%> (-10.45%)
:arrow_down:

.../dlic/auth/ldap2/LDAPConnectionFactoryFactory.java
56.48% <0.00%> (-0.77%)
:arrow_down:

...search/security/tools/OpenDistroSecurityAdmin.java
47.52% <0.00%> (-0.27%)
:arrow_down:

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 3012475...c75a516. Read the comment docs.


Script file will not run.

[When I run test.ps1, I get the message:
test.ps1 : The term 'test.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1

test.ps1

  + CategoryInfo          : ObjectNotFound: (test.ps1:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException]

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

ID: 06ef4bd7-7012-8afd-721a-a4c31db20202
Version Independent ID: d942d65a-87e4-1525-bd94-b005f1b7cbac
Content: Main() and command-line arguments
Content Source: docs/csharp/fundamentals/program-structure/main-command-line.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

I finally got it to run. I had to change the directory and also use ".\test.ps1" to get the correct output.


test: add some more tests

[x] tests: add some more test cases

Cc @evilebottnawi @hiroppy, this pr is ready for landing.

Thanks


Instaloader on AWS

Have there been any known issues regarding using Instaloader on an AWS EC2 instance?
When using both the Python Module and CLI Instaloader on an EC2 Ubuntu 18.04 LTS the 429 error is received after just 1 request:
HTTP redirect from https://www.instagram.com/[profile]/ to https://www.instagram.com/accounts/login/?next=/[profile]/
JSON Query to [profile]/: 429 Too Many Requests: redirected to login [retrying; skip with ^C]
HTTP error code 429 was returned because too many queries occurred in
the last time. Please do not use Instagram in your browser or run
multiple instances of Instaloader in parallel.
The request will be retried in 666 seconds, at 23:28.
GraphQL requests:
  other
    last 10 minutes: 1 requests
    last 11 minutes: 1 requests
    last 15 minutes: 1 requests
    last 20 minutes: 1 requests
    last 30 minutes: 1 requests
    last 60 minutes: 1 requests
[profile]: JSON Query to [profile]/: 429 Too Many Requests: redirected to login

Errors occurred:
[profile]: JSON Query to [profile]/: 429 Too Many Requests: redirected to login

However, when the same command or script is executed on a local machine, it works as intended, on Ubuntu, Windows, and MacOS. I've read the Docs regarding the 429 - Too Many Requests section however I am just a bit stumped regarding this situation.
I've also tried this on a DigitalOcean Droplet with Ubuntu but ended up with the same result as AWS.
Thanks in advance.

I am encountering exactly the same issue here. I used EC2 for crawling a few months ago. Back then, the scraping on EC2 works fine. But when I tried the same thing this morning, I keep getting 429.

We are facing the same issue when querying through Google Colab. 429 is triggered multiple times and the data collection is very slow.

We are facing exactly same issue across all cloud-servers (AWS & Azure). When running in a local machines, seems to be working fine. Looking for an alternative.

Probably related to #654
I cannot even wget a profile or a post from these servers. I have tried many server providers, all seem to be blocked. Maybe they just whitelisted access provider IPs?

Same issue on my ec2 instance

There seems to be a separate IP restriction policy.
It also happens on company public IP.
I have one more company public IP and I changed it and it works fine again. Blocked IP is still not working.

Hey guys, so I've spent the past couple of days attempting to find a work around for this. I'll explain further down how I came to the conclusion for anyone that is curious.
What I've concluded is that if you are using a cloud hosting service or even a VPN you will need to provide login credentials when using Instaloader.
So what I might do is use a throwaway Instagram account I have from a while back and test it to see if it gets flagged and/or blocked. I'll update y'all if this happens.

The reasoning I found is that when attempting to connect to Instagram from an IP that is known to be related to a VPN or cloud-hosting service, Instagram redirects you to a log-in page, as the now-obvious error:
HTTP redirect from https://www.instagram.com/[profile]/ to https://www.instagram.com/accounts/login/?next=/[profile]/
states for us lol.
I attempted to re-engineer the library to utilize this requests wrapper which allows you to use the Tor network when using the requests library, I think I got close but couldn't figure it out so I switched over to attempting to use a VPN.
I used ExpressVPN and manually installed it on my AWS instance using OpenVPN but at the end of the day I believe Instagram has flagged any traffic from these Cloud and VPN services and force them to log in before accessing any account on Instagram.com (probably to be able to analyze unknown traffic).
This was confirmed with a simple test, locally on my machine I browsed to instagram.com/github:

VPN Off, No login: I can view GitHub's Instagram Page
VPN On, No Login: I am redirected to a login page
VPN On, Login: I can view GitHub's Instagram Page

Hope this helps anyone!

I attempted to re-engineer the library to utilize this requests wrapper which allows you to use the Tor network when using the requests library, I think I got close but couldn't figure it out so I switched over to attempting to use a VPN.

Like VPNs, Tor is also blocked from looking at profile pages. This may be a deliberate block at Tor IPs specifically, or it may the generic IP rate limit rules and there are just too many people trying to use Instagram on the Tor network.

For me it appears to be working again. Instagram has maybe changed the rules.

My server from Vultr is still blocked even though it has not made any requests this month. @datanizing what provider are you using?

@cloudrac3r I am using Hetzner, a German cloud provider (highly recommended if you need physical hardware BTW). OVH also works for me.
A freshly started AWS server is however still blocked.
So it looks like they have relaxed the rules.

My OVH in Singapore is blocked without making any requests. What region was yours in?


Update to allow different chunk_limit_size for kinesis

This issue details why this PR was made.  https://github.com/fluent/fluentd-kubernetes-daemonset/issues/325
Allows the user to set different chunk_limit_size based on env var

@shiftky - could you please take a look at this guy?

@repeatedly or @ganmacs - Thanks for the help!  How do we go about getting this merged?  Not sure on the process after approval.

Sorry for the delay. Just merged!


Enable-WriteCore-feature-for-storageactions

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.StorageActions


Update index.md

Docs Build status updates of commit 7bf7195:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


tour: invalid "many implementations" link on /methods/21 page

Context: https://tour.golang.org/methods/21
The "many implementations" link on the page uses a "/search?" functionality that doesn't seem to exist.

Thanks for reporting this; closing as a dup of #1140.


Refresh token grant may issue ID token

Closes gh-287

Thanks for the PR @anoopgarlapati ! This is now in main.


When the command "pip install -e ." is executed, I get the huggingface-hub version error.

When the command "pip install -e ." is executed, I get the following error.
"pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
llama-index-llms-huggingface 0.2.5 requires huggingface-hub<0.24.0,>=0.23.0, but you have huggingface-hub 0.24.6 which is incompatible."
I think it would be better to mention the huggingface-hub version as well in the requirements.

Thanks for sharing this issue. In setup.py, I haven't tied bonito to huggingface-hub to 0.24.6. It just installs the latest version because of transformers:
https://github.com/huggingface/transformers/blob/0a7af19f4dc868bafc82f35eb7e8d13bac87a594/setup.py#L120
Notice they transformers installs the version huggingface-hub>=0.23.2,<1.0. That might be the root cause of your issue.

I have opened a PR for setting the huggingface-hub to 0.23.5 which solves the problem.


⚠ pishem-otzivi has degraded performance

In 9db9fed, pishem-otzivi (https://пишем-отзывы.рф/) experienced degraded performance:

HTTP code: 200
Response time: 14184 ms

Resolved: pishem-otzivi performance has improved in 232569f.


expect ochard2

Very happy to join ORCHARD enthusiasts! But would like to know when to publish a beta version of it?

As @Jetski5822 said on gitter

I would say this week. We are super close, just cleaning up the codebase.

Will some doc release together?

@xiaoyc : For the moment, we use the Readme.md files in some modules to generate this documentation site: http://orchardcore.readthedocs.io

@agriffard  thanks very much .


Update starting-a-project.md

[ ] Have you followed the contributing guidelines?
[ ] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

讓我考慮一下 謝謝
發自 iPhone 版 Yahoo 郵箱
星期二, 四月 20, 2021, 22:48 於 Aof1983 @.***>寫道：
@Aof1983 requested changes on this pull request.
Duplicate of #

[ ]  Have you followed the contributing guidelines?
[ ]  Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.


v0.81 doesn't work with CLion 2018.2.4

idea.log
After installing the plugin on CLion and restarting, I do see this option:  Tools->Open Flameviewer. However, clicking on it doesn't open any GUI to upload the profiler file. PFA the logs from CLion

@vaibhav1618 hi,
thanks for submitting issue
I've just tested v0.8.1 with CLion 2018.2.4 on macOS and it worked
Attached log file also does not say anything
What os do you use?
Could you start CLion and open this page in browser: http://localhost:63342/FlameViewer/outgoing-calls?project=uploaded-files (also try 63343 port)?