1.21 update

With Minecraft 1.21 scheduled to be released on June 13, I thought I'd share my ideas on how the new items could be made renewable:

Trial spawners, vaults, and ominous vaults generate in their normal locations, much like some other structures already do. This makes breeze rods, trial keys, and ominous trial keys renewable, and removes the need for the “Glow Berries Craftable” and “Spider Jockeys Drop Cobwebs” datapack features (I would suggest keeping them but disabling them by default).
Feeding a diamond block into a vault or ominous vault using a hopper resets its list of players that have looted it. This makes flow and guster banner patterns, flow and bolt armor trims, Creator and Precipice music discs, and heavy cores renewable, all without making it possible to farm diamonds using vaults. It also removes the need for the “Cats Gift Enchanted Golden Apples” datapack feature.
A creeper killed by a skeleton inside a trial chamber can drop the Creator (Music Box) music disc.
Guster and scrape pottery sherds are added to the loot tables for regular vaults, and flow pottery sherds to ominous vaults.

Good idea, wish to update

Neat idea, I did it a little differently for my 1.21 server.

Please complete it as soon as possible, thanks.

it is complete

is the code shared somewhere?

1.21 is and other recent updates centered around exploration do not integrate smoothly with SkyBlock style worlds. The point of SkyBlock is to use the mechanics to get things, rather than going out and looking for them, like with Iron, Gold, Copper, Cobblestone, Deepslate, Lava, etc. That's why I hesitate to add new structures that generate in the world. Additionally, new gen also doesn't integrate with old worlds like new gameplay features do -- you always have to go to unexplored chunks to find the new things.
Issues:

Trial Chambers are a very common structure (around 20-25 times as common as strongholds, and much bigger) and with the "underground" visibility that an empty world gives, you would almost always see Vaults/Trial Spawners in some direction if they generated.

Possible Solution: Decrease the commonality of the structure substantially. This would make it so the structures don't line up with their normal generation counterparts and would not be correctly listed on ChunkBase.

There is no barrier to entry, so you can fight them as soon as you start a skyblock world. The fight would not be difficult because it is easy to cheese the system by pushing mobs into the void.  You can even get golden apples which almost immediately unlocks villagers, bypassing foxes, pigs, water, and drowneds.

Possible Solution: Remove golden apples from the loot table.
Possible solution: Add a barrier to entry in some way. This might be confusing.

But I don't think solving these issues is worth it. I do like that the Trial Chambers provide a vanilla way of getting enchanted golden apples and Glow Berries, but that is probably all the trial chambers would add to a SkyBlock world. And Glow Berries are only in the loot chests, not vaults.
Seeing as the vaults can only really be looted once (per person unless you have a huge server), they are basically just loot chests that need a key. And the trial chambers are essentially just mob spawners. Both loot chests and mob spawners are naturally generating features that are not included in this mod up to this point.
The whole "gear up, fight the mobs, and get rewarded with loot" system doesn't work when the mobs just spawn on top of the trial spawner (the only spawnable space), can't move, and can be knocked into the void with arrows or a punch. Breezes can spawn in mid air, so spawn in the void and immediately fall. I'm thinking I will just leave the vaults and trial spawners out of the mod gameplay.
That leaves the question of how to get the new items that they provided, namely:

Breezes / Breeze Rods / Wind Charges

Trial Keys / Ominous trial keys (as a trophy)

Music Disc Precipice (from Vaults)

Music Disc Creator (from Ominous Vaults)

Music Disc Creator (Music Box) (from Pots)

Bolt Armor Trim Smithing Template (from Vaults)

Flow Armor Trim Smithing Template (from Ominous Vaults)

Flow, Guster, and Scrape Pottery Sherds (From breaking decorated pots)

Guster Banner Pattern (from Vaults)

Flow Banner Pattern (from Ominous Vaults)

Heavy Core (from Ominous Vaults)

Current Ideas:
-Breezes:

Breeze trial spawners could still generate. This would provide the Breeze mob and drops, as well as Trial Keys / Ominous keys. This would provide the same breeze rod farming system as Vanilla. Because this would be a much smaller generated size than every spawner and vault, it wouldn't be as easy to spot them everywhere.

Music Discs:

These could mirror the other music disc methods eg the skeleton killing a creeper in the Trial Chamber structure. Maybe the Music Box version could require a Charged Creeper.

Smithing Templates:

I could add challenge advancements to get these like the other smithing templates.

Banner Patterns:

The Guster pattern could be crafted from a Banner Pattern with a Wind Charge.
The Flow pattern could be crafted from a Banner Pattern with a Breeze Rod.

Pottery Sherds

Maybe these could be added to the trial spawner loot table?

Heavy Core

In vanilla, you have to loot an average of 13.3 ominous vaults to find one, so they're meant to be difficult to obtain. It would make sense to be able to buy them from a weaponsmith for a hefty fee. Maybe a Netherite block can be "forged" into a heavy core for the price of some emeralds.

Any feedback would be appreciated.

I just made the trial spawners generate with just the spawners and vaults. I've been running it since Skyblock came out and it works fine. I do think they are fairly common, but, they also are infrequent enough that finding them is exiting. It does allow you to skip some progress but it also keeps it more "vanilla" and I think it is kind of interesting to have multiple paths to get things.  To keep things simple, yeah I just added things you got in pottery to the vault loot table. I believe the only things I needed to add were a music disk and a trial key for everything to be obtainable.
I was going to open-source the 1.21 update I did under a new fork because a lot of people were saying you abandoned the mod, but if you plan on updating this one I wouldn't really bother.

There is no barrier to entry, so you can fight them as soon as you start a skyblock world. The fight would not be difficult because it is easy to cheese the system by pushing mobs into the void.  You can even get golden apples which almost immediately unlocks villagers, bypassing foxes, pigs, water, and drowneds.

This is a very good point that I hadn't considered. This modpack essentially has its own progression at this point, which vaults would break. I agree that finding a way to make everything available without vaults would be better.

Current Ideas:

I like these.

Pottery Sherds

Maybe these could be added to the trial spawner loot table?

I'd suggest requiring an ominous trial spawner for the flow pottery sherd.

1.21 is and other recent updates centered around exploration do not integrate smoothly with SkyBlock style worlds. The point of SkyBlock is to use the mechanics to get things, rather than going out and looking for them, like with Iron, Gold, Copper, Cobblestone, Deepslate, Lava, etc. That's why I hesitate to add new structures that generate in the world. Additionally, new gen also doesn't integrate with old worlds like new gameplay features do -- you always have to go to unexplored chunks to find the new things.

Any feedback would be appreciated.

@jsorrell
Personally I am not a fan of the trial chambers at all. As per Whitelight's "Another Serious Critique of Minecraft" video, it feels like Microsoft are moving Minecraft further towards a generic "dungeon crawler" style game, without the built-in, subtle incentives to progression that existed in the original game.
As fenhl points out above - at this point carpetsky has it's own progression system already, revolving around the "find location where structure generates, think of ingenious way to use mechanic to farm item" but trial chambers break this completely - as Xisuma, Docm77 and impulseSV have already done on Hermitcraft, the trial chambers are so INCREDIBLY easy to abuse, I would much prefer the (in my mind) more "vanilla" feel.....of this modpack.
Suggestion for the long-term: make new spawn rules for skeletons / zombies (e.g. water within 5 blocks block the spawning of creepers+spiders - or at least something that follows from the mechanic that "undead" mobs sink in water) so it's possible to create farms specifically for those 2 mob types (to match existing creeper-only and spider-only) and from that point add in new spawning mechanics for newly added mobs - e.g. phantoms can only spawn in "peaks" biomes, breeze can only spawn on top of a cobweb during a thunderstorm etc.

I haven't looked into how difficult/possible it would be but would it be an option to create a game rule to allow or disallow the generation of trial chambers in newly generating chunks? If the rule was off by default then the chunks immediately surrounding the start island would generate without any trial chambers still leaving a grind to get over to newly generated chunks should the rule be optionally enabled.

I haven't looked into how difficult/possible it would be but would it be an option to create a game rule to allow or disallow the generation of trial chambers in newly generating chunks? If the rule was off by default then the chunks immediately surrounding the start island would generate without any trial chambers still leaving a grind to get over to newly generated chunks should the rule be optionally enabled.

In addition to my comment above, this comment from SWR-DMaster is really good. Although maybe rather than it being solely "trial chamber or no" it could modify the world creation menu to allow/dissalow any structure (instead of all structures on/off you could pick and choose which structures would generate in your world - e.g. turn villages off, leave ruined villages on)
Thus allowing the player more choice in what type of game they would like to play.

After playing on my public server with Trial Spawners generating, I can say that having Trial Spawners generate is actually not great. They are far too frequent in the world and easy to find everywhere on 32-render distance. The gameplay isn't fun fighting them in the sky and far too trivial.

1.21.1 version

+1

@jsorrell
What about adding everything in 1.21 but none of the trial spawners?
This way, most of the mechanics of 1.21, especially the auto-crafter would be available.
As for the trial spawners, maybe make them "spawn" only in certain biomes, like a the rare ice spikes biome.
This way, if anyone wants to bridge 10-15k blocks or more then I guess let them!
Of course people can and will look for seeds with these in close proximity, but maybe there could be a parameter that only spawns them overs a radius of 10k blocks from 0,0 ?!?
I am curently playing v.1.20.6 and would love the 1.21 features a lot.
I can do some testing if you are looking for someone to beta test.
Cheers!

1.21.1 version

I am getting books and boots with random enchantments rather than soul speed. Is this happening for others playing TreeOfSelf's mod?


"Beliș" is listed in the drop-down menu

Description:
When user writes "Beliș" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Beliș"
Expected results
The location appears in the drop-down menu as "Comuna Beliș, CLUJ"


Fixes to initial version (sync main with master)

Signed-off-by: Mark Riddoch<EMAIL_ADDRESS>

@YashTatkondawar please delete master and make develop default. see fledge-support jira needed or May be @MarkRiddoch can help


Move route modification to Route

This PR moves Route::Node::swapWith and Route::Node::insertAfter to Route. This allows use to incrementally update the nodes list, ensuring it is always up-to-date. That lets us remove the linked list representation.
This PR:

[x] Is part of #96.
[ ] Adds and passes relevant tests.
[x] Has well-formatted code and documentation.

Benchmark on VRPTW
This PR (593d4181361130e95e457c3f067a0bc8ad56d596; job ID 3346130; 10x seeds):
RUNNING

Fairly recent main (few days; see #298):
                mean      min       max
      inst
obj   C1     41359.8  41334.3   41385.0
      C2     16191.6  16186.3   16195.0
      R1     47309.9  47246.8   47351.0
      R2     27709.4  27695.4   27726.6
      RC1    44229.4  44200.8   44251.0
      RC2    23220.1  23205.1   23228.5
iters C1     67607.0  59160.1   72707.3
      C2    114033.6  97355.1  130571.2
      R1     35821.4  30369.2   38830.0
      R2     51190.2  44466.3   54158.0
      RC1    41248.0  35409.3   46337.5
      RC2    57659.0  51814.0   63145.3

Notes:

It is essential that you add a test when making code changes.
This keeps the code coverage level up, and helps ensure the changes work as intended.
When fixing a bug, you must add a test that would produce the bug in the master branch, and then show that it is fixed with the new code.
New code additions must be well formatted. Changes should pass the pre-commit workflow, which you can set up locally using pre-commit.
Docstring additions must render correctly, including escapes and LaTeX.

The next step after this is probably to move startDepot and endDepot into the nodes list.

This PR is about 20% slower than current main. That's because we spend a lot more time in pyvrp::search::n, pyvrp::search::p and pyvrp::search::Route::size() right now. I suspect that's largely due to the branches in p()/n(). The branches go away once we have nodes include the start/end depots, so this will probably resolve itself quickly in the next PR.


Add sample .bicep file for Windows 10 VM for live-streaming

As @satyavel asked me on a social media 😉,
https://twitter.com/satya_vel/status/1300600673831018497
I'm adding this sample .bicep file.

Codecov Report

Merging #425 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
- Coverage   91.93%   91.91%   -0.03%
==========================================
  Files         199      199
  Lines        6708     6688      -20
==========================================
- Hits         6167     6147      -20
  Misses        541      541

Flag
Coverage Δ

#dotnet
91.91% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Bicep.Cli.UnitTests/PathHelperTests.cs
100.00% <0.00%> (ø)


Replace button with TV functions

Thank you for this app!
Is it possible to replace a button with TV functions that are not tied to a specific button? I would love to have a button with the function "turn off screen".

yes, you can do this by setting the action to execute
the command to turn off the screen is:
`luna-send -n 1 "luna://com.webos.service.tvpower/power/turnOffScreen" '{}'``
https://webostv.developer.lge.com/develop/references/luna-service-introduction
any luna service can be called with `luna-send -n 1 "luna://serviceName/method" '{...parameters}'``


implement rerouteble network request

when a request is failed, reroute the request to other peers

this is a lower priority issue, would focus on it in future for a better solution.


Don't build docs on every pr

Currently this clocks in at 4 minutes, meaning a do-nothing build has to wait that long. We could do this
    "rebuildPatterns": [
      "^docs/",
      "^.*\\.cpp",
      "^.*\\.ts"
    ],

Although that's still a lot of files. We could consider a .docinput.x extension, or something else.

cc @Maddiaa0


if ANSIBLE_FILTER_PLUGINS set, provisioner create.yml can't find molecule_instance_with_scenario_name

Issue Type

Bug report

Molecule and Ansible details
$ ansible --version
ansible <IP_ADDRESS>
$ molecule --version
molecule, version <IP_ADDRESS>rc6

Molecule installation method: pip
Ansible installation method: OS package

Desired Behaviour
If ANSIBLE_FILTER_PLUGINS is set in molecule.yml file (provisioner.env), molecule provisioning is still working and docker container are destroyed/created.
Actual Behaviour (Bug report only)
If ANSIBLE_FILTER_PLUGINS is set in molecule.yml file (provisioner.env), molecule provisioning of docker container fails with:
template error while templating string: no filter named 'molecule_instance_with_scenario_name'. String: {{ item.name | molecule_instance_with_scenario_name(molecule_yml.scenario.name) }}

Reproducer
Take one of the examples in https://github.com/metacloud/molecule/tree/v2/test/scenarios/driver/docker directory and set the env. E.g.:
...
provisioner:
  name: ansible
  env:
    ANSIBLE_FILTER_PLUGINS: ../../../../filter_plugins
...

When the ansible-playbook command for provisioning is created [1], all available env variables inside the provisioner are handed as well. So even if the generated ansible.cfg file is correct and ANSIBLE_FILTER_PLUGINS is set to /usr/lib/python2.7/site-packages/molecule/provisioner/../../molecule/provisioner/ansible/plugins/filters:$ANSIBLE_FILTER_PLUGINS, the command is run as:
ANSIBLE_FILTER_PLUGINS=../../../../filter_plugins /usr/bin/ansible-playbook ...

Given the ANSIBLE_FILTER_PLUGINS has higher precedence than the same env set in the ansible.cfg file, the molecule/provisioner/ansible/plugins/filters is always skipped.
I would suggest to check if the env variable is set inside molecule.yml file and if so, just filter it out from the constructed command.
[1] https://github.com/metacloud/molecule/blob/v2/molecule/provisioner/ansible_playbook.py#L71

Re-examing the generated ansible.cfg file again:
# Molecule managed
[ssh_connection]
scp_if_ssh = True
[defaults]
filter_plugins = /usr/lib/python2.7/site-packages/molecule/provisioner/../../molecule/provisioner/ansible/plugins/filters:$ANSIBLE_FILTER_PLUGINS
roles_path = ../../../../:$ANSIBLE_ROLES_PATH
host_key_checking = False
retry_files_enabled = False
library = /usr/lib/python2.7/site-packages/molecule/provisioner/../../molecule/provisioner/ansible/plugins/libraries:$ANSIBLE_LIBRARY
ansible_managed = Ansible managed: Do NOT edit this file manually!
nocows = 1

If ANSIBLE_FILTER_PLUGINS is not set, the filter_plugins path from ansible.cfg takes affect. However, user can not use its own custom filters.
If ANSIBLE_FILTER_PLUGINS is set, the filter_plugins path from ansible.cfg is ignored as the env has higher preference. So user can use its own custom filters but the molecule filter directory path molecule/provisioner/ansible/plugins/filters path is ignofed so molecule_instance_with_scenario_name is not found.
Given the ansible.cfg is generated each time the molecule test is run, the env inside the cfg can be replaced by their value. Unless there is something else that changes envs between playbook-ansible runs within single molecule test instance.

@ingvagabund I may have gone about this the wrong way.  I actually didn't realize the ANSIBLE_ environment variables have a higher priority.
The main reason I placed filter_plugins, roles_path, and library in ansible.cfg, was for ansible-lint.  For ansible-lint to properly validate a role, it requires these settings be set.
With that said.  This seems like a tricky issue.  We always want to set our custom filter and libraries.  However, we also want to allow the user to specify their own.  Maybe a better approach is to move these settings from ansible.cfg and to use these env vars anytime we shell out.

Implemented at 38e8acb.

My knowledge of the molecule code is still limited. Thanks for finishing this.

@ingvagabund no problem.  Thanks for the bug report and giving me a good idea to fix it.


Feature Request/Discussion: analytical DCF

Do we want to have analytical DCFs?
Where to put them?
Belongs  somewhere close to the trajectory calculation....

Analytical DCFs exist only for very few trajectories (e.g. regular radial sampling schemes) which we hardly ever use. I don't think we really need that functionality. If we add it it should be in utilities because it actually does not really depend on the trajectory (e.g. for regular radial sampling it depends on the number of points along a radial line and the angular step but not on the actual k-space locations).

We also can use an analytical DCF for golden angle sampling. Or any trajectory that factorizes.
The dcf for a golden angle radial is the product dcf_spoke * dcf_angle.
dcf_spoke  is 1/r, dcf_angle is how a single circle is cut into pieces by the spokes.
Maybe we can either include this logic in the numerical dcf calculation or as a separate analytical_dcf calculator.
The current dcf logical is a bit conservative and only factorize in kx,ky,kz.
I think it should also be possible to factorize in k1,k0

For a golden angle radial, @mxlutz wants to try it for his stuff and will report back.

@mxlutz
Do you by any chance have code for a golden angle dcf?

sorry not yet. There is code for MATLAB that could be used as a reference/be translated but didnt look at it yet

Jipity:

import torch
import math

def fibonacci_up_to(n):
    fib = [1, 2]
    while fib[-1] < n:
        fib.append(fib[-1] + fib[-2])
    return fib

def goldcmp(k):
    k = k.squeeze()
    assert k.ndim == 2, 'k must be 2D'
    num_readouts, num_spokes = k.shape
    dk = torch.abs(k[-1, 0] - k[0, 0]) / (num_readouts - 1)

    phi = (math.sqrt(5) - 1) / 2
    fibonacci = fibonacci_up_to(num_spokes)

    idx = len(fibonacci) - 1
    while fibonacci[idx] > num_spokes:
        idx -= 1
    m = num_spokes - fibonacci[idx]

    ang_comp = torch.ones(num_spokes)

    if m == 0:
        ang_comp[:fibonacci[idx-2]] = 1 + phi
        ang_comp[fibonacci[idx-2]:fibonacci[idx-1]] = 2
        ang_comp[fibonacci[idx-1]:] = 1 + phi
    else:
        ang_comp[m:num_spokes-m] = 1 + phi
        ang_comp[:m] = 1
        ang_comp[-m:] = 1
        if m <= fibonacci[idx-3]:
            ang_comp[fibonacci[idx-2]:fibonacci[idx-1]] = 2
            ang_comp[m:fibonacci[idx-2]+m] = 1 + phi
        else:
            ang_comp[m:fibonacci[idx-1]] = 1 + phi
            ang_comp[fibonacci[idx-1]:fibonacci[idx-2]+m] = 2 * phi

    ang_comp /= ang_comp.sum()

    comp = ang_comp.repeat(num_readouts, 1)
    comp[k == 0] = 1 / (4 * num_spokes)

    comp *= torch.abs(k) / dk
    comp[k == 0] = 1 / (4 * num_spokes)

    return comp


DBAAS-364: update the values for instance phase according to the api restriction

With the new restriction enforced for the api of instance phase in PR https://github.com/RHEcosystemAppEng/dbaas-operator/pull/133, the code for setting instance phase need to be updated accordingly.
All Submissions:

[ ] Have you signed our CLA?
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
[ ] Update docs/release-notes/release-notes.md if your changes should be included in the release notes for the next release.

Mongo Atlas provider operator update for https://github.com/RHEcosystemAppEng/dbaas-operator/pull/133


Remove the prototype

As discussed with the group.

Please keep in mind that the dev setup currently depends on the prototype
being available as a second peer, so we need to either come up with an
alternative or remove the network setup from the dev env.
Bob van Luijt<EMAIL_ADDRESS>schrieb am Mi. 6. März 2019 um
13:04:

As discussed with the group.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/creativesoftwarefdn/weaviate/issues/766, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AIjwj2s5uwXMYw58rIwJ587tQIPTjcQQks5vT67rgaJpZM4bgulR
.

--
—
Etienne Dilocker, Inhaber
Dilocker IT
Grundwiesenweg 30a
D-67434 Neustadt an der Weinstraße
Mobil: +49 (0)<PHONE_NUMBER>
<EMAIL_ADDRESS>www.dilocker.de
https://www.xing.com/profile/Etienne_Dilocker
USt-ID-Nr: DE269867749

Aha, that's good to know.


Css Customization & Support

Hi Folks,
I would say tremendous effort to bring up such a fine and precise work.
For sure a re-usable and easy to implement component.
Would request the team to provide help on the following enhancements:

The parameter/prop list supplied to CoverFlow to hold custom updates to css like background color/fonts/etc.
Have navigation buttons on the sides rather than bottom(other related customization options if possible.)

Thanks a ton,
Shalabh

Hello, any update on this? I would like to customize the background of the container and the colours of the alt text. Pretty clueless about how to proceed here.

Hi @nojaf , I still haven't heard back from @Shailth about implementing this feature. If you'd like to send a PR and contribute to the project you're more than welcome to make additions

Hi @Asalem1 , I currently have a version where I skip the entire Radium thing. Modifying the scss file directly better fitted my workflow. Would that be an option as well?

@nojaf , definitely. I mentioned in #53 that I'm looking to remove the project's dependency on Radium so that would be great!


Looking forward to get involved and contribute to the community 🎉

First Name
Anubhav
Last Name
Gupta
Discord Username (if applicable)
Anubhav#6463
Let us understand your motive.
I have always passionate about open source and it's organization. I love to be a part of these organization because they motivate me guide me toc contribute more to open source and enhance my skills. I want to join the community because communities are vast and inclusive and we got a opportunity to interact with different and experienced folks and mentors who guide us to right path which motivates me a lot to contribute to open source. I will be glad to part of the community it will be a golden opportunity for me to showcase my talents and got opportunity to interact with different amazing folks.

@siddharthdayalwal


Change numeric footer over to the new numeric footer.

LIVE:

DEV:

 New Layout/Template Addition: PR #73


Ambiguity fixed. [API-1511]

Documentation is improved.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.


Allow creation of shared library for libTink

This commit enable to cross compile the libTink by creating a shared library.

@chaudhryusama @morambro
I have tried this building creation of shared library for libtink.
I am getting following error in step
cmake --build .
My Cmake command:
$ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -DTINK_BUILD_SHARED_LIB=ON
$ cmake --build .
[ 83%] Linking CXX shared library libtink.dylib
**clang: error: invalid linker name in argument '-fuse-ld=gold'**
make[2]: *** [tink/libtink.2.1.1.dylib] Error 1
make[1]: *** [tink/CMakeFiles/tink.dir/all] Error 2
make: *** [all] Error 2
(base) itadmin@ITs-MacBook-Pro build %


fix incompatibility issue with sensu >= 0.24

Pull Request Checklist
Is this in reference to an existing issue?
https://github.com/sensu-plugins/sensu-plugins-rabbitmq/issues/35
https://github.com/sensu-plugins/sensu-plugins-rabbitmq/issues/23
General

[x] Update Changelog following the conventions laid out on Keep A Changelog

[x] Update README with any necessary configuration snippets

[x] Binstubs are created if needed

[x] RuboCop passes

[x] Existing tests pass

Purpose
Since sensu >= 0.24 updated to sensu-transport v6.0.0 which in turn requires amq-protocol v2.0.1, and the plugin requires amq-protocol v1.9.3 which isn't used anymore in sensu core, it's better to update amq-protocol, and bunny to latest versions which are used by sensu.

bump bunny version to 2.5.0
bump amq-protocol version to 2.0.1
update CHANGELOG.md file with changes
bump plugin version to 1.3.2

Known Compatibility Issues

New plugin version is compatible with sensu >= 0.24
For sensu < 0.24 previous version of plugin works fine.
Drop support of ruby v1.9.3 since latest amq-protocol, and bunny versions doesn't support ruby v1.9.3 anymore.

Looks good, thanks!

is the new gen released?

Will cut a new release soon.


Fix rustdoc warning about unclosed HTML tag

nightly rustdoc is warning about <name> being an unclosed HTML tag. Fix by using backticks instead of single quotes.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @epage (or someone else) soon.
Please see the contribution instructions for more information.

@bors r+

:pushpin: Commit c99e9732f95329e6191a51296067e9b6f8d927d7 has been approved by weihanglo
It is now in the queue for this repository.

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 35162068fbf715b5b5dea077a0090ca0e6c9e877 to master...


Deviation csv file size as compared to index size

Hi Team,
Is there any size compliance .. i see around 10 to 15 % increase in size when converted to csv as compared to actual Index size .. Is this an expected behaviour and is this the limit of size can vary more that 10 to 15 %.

No. It depends on your index.


VMS: correct the logic around linking executables

Checklist

[x] CLA is signed

Description of change

The logic around avoiding MULDEF warnings was flawed.  Simplifying it
makes it better.

Without these changes, VMS builds currently fails.

Merged


Adding Transitions

While clicking rules button popup got some transitions ...but clicking ok doesn't have any so i added the same fadeout transition after clicking ok ....check PR

i can make it better by  adding attractive styling ?
can you assign me to make this effective @malivinayak

@ashfaque-mustaque this issue is find out by @Mouli-3542 and he has already made PR
You can enhance or resolve any other issue
Thank You for your interest


Perf

Object.prototype.hasOwnProperty has performance problem in many Browse. Here is my test in jsperf(https://jsperf.com/test-in-and-hasownproperty81/1). It has an about 10%  performance gap，and It is more in some mobile phone browsers，such as UC，QQ Browser. In this case I think we can use in operator,and I use to pass all tests.
I try to merge some judgement  in the  patchKeyedChildren function. In some case it can reduce the numbers of judgement than before.

Thanks for the PR, but hasOwnProperty is semantically different from the in operator. The latter checks for properties on the prototype chain and this change can potentially lead to different behavior.
I also don't see the refactoring of the renderer code bringing real improvements - it alters the original flow of the code and affects readability for those who are already familiar with the algorithm, and the perf benefits is most likely negligible.


Stabalization - roadmap to v1.0

Tracking issue for what is needed for us to be able to stabalize the bitcoinconsensus crate.
If #67 merges is there anything else we want to do to stabalize this crate? If we stabalise this crate I think we can then start supporting LTS versions, one for each of the last 4 Bitcoin Core versions.
If #67 goes in then the rust-bitcoinconsensus API will be tightly coupled with the vendored Core version, this implies that to update the vendored Core version there will be changes to the Rust code too.
I rekon that once we are happy to stabalize we should release 4 LTS versions of this crate, one for each of the last 4 versions of Core. We can use the same version number as Core for major and minor, leaving patch version for us.
So rust-bitcoinconsenus v23.x.y vendors Bitcoin Core v23.x, includes patches specific to that Core version, and leaves room for security patches from us as needed. Same for 24, 25, 26.
Issues that might apply

Consider issues described in https://github.com/rust-bitcoin/rust-bitcoin/discussions/2160

We could state in the docs that the versioning in use is strange and that we reserve the right to do breaking changes in patch releases, justifiable by the fact that we flat-out should not be doing this unless its a security issue anyway (I'm thinking of perhaps some serious foot gun as an example of a fuzzy "security issue"). But I'm with you, I don't see why we would need to do this. Typically folk will be using this crate by way of rust-bitcoin so if someone is depending on this crate directly its kind of niche anyway, right?

As it is, the current versioning is not fitting in with "usual" cargo so people have to think about it. E.g cargo add adds version 0.17.1.

Ref: https://github.com/bitcoin/bitcoin/branches for why I thought we should do LTS for Bitcoin Core 23, 24, 26, 26

if we use Core major version then we have to update the depending crates every time we upgrade. It could also mean that bitcoin can never be stable.

No matter what, Core may break its API between updates so that updating Core will require a major version bump here. Maybe sometimes it would be avoidable if we were using Rust versioning but not always.
For this reason I think in bitcoin we need to encapsulate bitcoinconsensus so that users aren't exposed to such breakage.

AFAIU Core is not using the patch version number, they are only using major.minor, I don't know how (or if) they do security updates? As long as they follow the semver rules we can use core-major.core-minor.rust-patch and be totally semver compliant. If I'm correct then we get rid of the 0.21.2-0.6.0 format which is the reason #73 was a problem. Or am I missing your point totally @Kixunil?

For this reason I think in bitcoin we need to encapsulate bitcoinconsensus so that users aren't exposed to such breakage.

I thought we had done this but using the check public api script I found these three, will fix:
impl core::convert::From<bitcoinconsensus::Error> for bitcoin::consensus::validation::BitcoinconsensusError
pub extern crate bitcoin::bitcoinconsensus
pub fn bitcoin::consensus::validation::BitcoinconsensusError::from(e: bitcoinconsensus::Error) -> Self

Yep, and its trivial to remove, working on it now!

https://github.com/rust-bitcoin/rust-bitcoin/pull/2278

As long as they follow the semver rules we can use core-major.core-minor.rust-patch

They don't. And even if they did, it's one version for multiple unrelated APIs - e.g. RPC. So we would get breaking number bump even if they changed RPC which is ridiculous.
Really, let's not drag other projects into our versioning and lets' use the tools provided to us as designed. I see no problem with our-semver+core-major.core.minor, do you?

this is super subtle

Heh, I'm pretty sure I already complained about hidden conversions but can't find it. Exactly because if issues like this. And unlike other hidden APIs, this one is super-easy to use by accident simply using the ? operator.

We are well on our way to getting to Core 26 with the new versioning number scheme, then once we do 27 we'll likely archive this repo. This issue is mute now.


add missing qt5base-dev build depend to rviz2

This necessary to work around issues with building the debs and finding libraries on the library path at runtime.

lgtm :+1:

I've started a ci packaging jobs to test if this fixes the linking:

Linux:
macOS:

Simultaneously, @nuclearsandwich is testing the deb's being built. In all three cases I'll spot check rviz for library path issues.
If the debs build and the library paths look ok, then we can either merge this directly or I can start a round of normal CI and merge after that (assuming it's green), but I wanted to do the packaging jobs first since they're faster.

Unfortunately that doesn't seem to have fixed the yaml-cpp issue with the binary on macOS. Looking into it now.

http://build.ros2.org/view/all/job/Abin_uX64__rviz2__ubuntu_xenial_amd64__binary/9/
First successful build of rviz2! 🎉

Ok, I had to make the env hooks relocatable. I messed it up when I was originally trying to do the env hooks without ament. New packaging jobs:

Linux:
macOS:

@mikaelarguedas Is this related to the rosidl pr that just went in?
http://ci.ros2.org/job/ci_packaging_osx/20/console

Ok, fixed the tag, CI:

Linux:
macOS:

The macOS packaging is done and seems to work fine (for rviz2_app at least).

I'd like to wait for the linux job to finish and then test it, but I have high confidence that it will work since the mac one does.

Ok, fixed the tag

thanks ! sorry about that

This allows the entire suite rviz packages to build on AMD64.

Ok, rviz runs, but doesn't open up for me because of a known issue with rviz2 on VM's (lacks required glx version), can someone else test the latest linux binary real quick?

Ok, I tested on my desktop, lgtm.


Screenshot feature needs setBeforeScreenshotCaptureCallback

Problem Statement
SDK's Screenshot feature does not have the callback setBeforeScreenshotCaptureCallback
Users were telling me they'd like to decide if they want to send the screenshot or not, based on data from the event in the callback (event,hint,debounce).
Solution Brainstorm
Add the callback function as a feature, like how Android SDK has it.
https://docs.sentry.io/platforms/android/enriching-events/screenshots/
Are you willing to submit a PR?
None

Hi, thank you for the issue and for letting us know that you would like to have this feature.
We are already tracking this here -> https://github.com/getsentry/sentry-dart/issues/1540


Odd use of goog.object functions in KML format

The changes in #4316 introduced some odd use of goog.object.clone() and goog.object.isEmpty().
The KML format uses goog.object.clone() to "clone" a ol.style.Text instance.
In addition, the format uses goog.object.isEmpty() to try to determine something about the ol.style.Text instance.
If we need to have a method to clone a text style, then we should add one.  And this format should use a different way to determine if a text style is "empty" (it is unclear what that means from the current use).
cc @marcjansen and @tamarmot.

Thanks for pointing that out, I'll take a look and submit a fresh pull
request with improvements.
On Wed, Feb 3, 2016 at 6:32 AM, Tim Schaub<EMAIL_ADDRESS>wrote:

The changes in #4316 https://github.com/openlayers/ol3/pull/4316
introduced some odd use of goog.object.clone() and goog.object.isEmpty().
The KML format uses goog.object.clone()
https://github.com/openlayers/ol3/blob/473cbba26e005cf200acc779e2d69f0ba9524d13/src/ol/format/kmlformat.js#L335-L336
to "clone" a ol.style.Text instance.
In addition, the format uses goog.object.isEmpty()
https://github.com/openlayers/ol3/blob/473cbba26e005cf200acc779e2d69f0ba9524d13/src/ol/format/kmlformat.js#L334
to try to determine something about the ol.style.Text instance.
If we need to have a method to clone a text style, then we should add one.
And this format should use a different way to determine if a text style is
"empty" (it is unclear what that means from the current use).
cc @marcjansen https://github.com/marcjansen and @tamarmot
https://github.com/tamarmot.
—
Reply to this email directly or view it on GitHub
https://github.com/openlayers/ol3/issues/4781.

Would you prefer I add methods to clone text style and to see if a style has a text style, or would you prefer I put the code just in kmlformat.js?  Seems like generic methods in style.js might be useful for other code as well.

Would you prefer I add methods to clone text style and to see if a style has a text style

I think style.getText() === null would be the way to check if a style has a text symbolizer.
For cloning, a method would make it more convenient, but since there is only one use for it now, it could be an easier change to just do what needs to be done in the KML format.
Here's what is there right now:
if (!goog.object.isEmpty(foundStyle.getText())) {
  textStyle = /** @type {ol.style.Text} */
    (goog.object.clone(foundStyle.getText()));
  textStyle.setText(name);
  textStyle.setTextAlign(textAlign);
  textStyle.setOffsetX(textOffset[0]);
  textStyle.setOffsetY(textOffset[1]);
}

So, I'm guessing that the intention of this code is
if the foundStyle instance has a text symbolizer, then
  create a new text symbolizer with all the same properties
  and set new text, textAlign, offsetX, and offsetY properties

Which could be written like this:
var foundText = foundStyle.getText();
if (foundText) {
  textStyle = new ol.style.Text({
    text: name,
    textAlign: textAlign,
    offsetX: textOffset[0],
    offsetY: textOffset[1],
    font: foundText.getFont(),
    scale: foundText.getScale(),
    rotation: foundText.getRotation(),
    textBaseline: foundText.getTextBaseline(),
    fill: foundText.getFill() || undefined,
    stroke: foundText.getStroke() || undefined
  });
}

The things that suck about the code above are that it is fragile (it wouldn't necessarily do all you want in the future if new text properties are added) and it is weird that you have to provide undefined for fill and stroke if they are absent in the original (this could be improved with a small change to the text symbolizer constructor).
But it is still less code than you'd have to write for a clone method.  And I imagine people would ask about clone methods for other style things.  And is it deep clone (e.g. do fill and stroke get cloned for text)?
Does the code above look like it would do what you want?  It is not clear to me why some things like textAlign would get overridden and other things like rotation would not.  But I haven't looked where this gets called.

Hi, sorry for the radio silence.  So this code is all within the kml format -- so what I was trying to do was see if there was a style in the KML that was read in.  For example, in Google Earth if you create a placemark and give it a name, that name is rendered next to the placemark as a label.  You can also add a style to that placemark for the label, so yes your interpretation is correct.
This style definition should come from https://developers.google.com/kml/documentation/kmlreference#labelstyle
and this is parsed by the ol.format.KML.LabelStyleParser_
So it has color, colorMode,  and scale.
I think what would be more flexible / better would be to iterate through the keys in the javascript  dictionary coming in and copy their values.  How about I take a crack at it and do another pull request?
Tamar

any progress on this? This is the only place in the library still using goog.object.

Hi, sorry for the radio silence -- I've been overly busy.
Realistically I will not be able to start working on this until 7/1 or so
-- if you want to fix it yourself that is completely fine with me.
I will put it on my calendar to start the work on 7/1.
Thanks for the reminder
Tamar
On Thu, Feb 4, 2016 at 3:35 PM, Tim Schaub<EMAIL_ADDRESS>wrote:

Would you prefer I add methods to clone text style and to see if a style
has a text style
I think style.getText() === null would be the way to check if a style has
a text symbolizer.
For cloning, a method would make it more convenient, but since there is
only one use for it now, it could be an easier change to just do what needs
to be done in the KML format.
Here's what is there right now:
if (!goog.object.isEmpty(foundStyle.getText())) {
textStyle = /** @type {ol.style.Text} */
(goog.object.clone(foundStyle.getText()));
textStyle.setText(name);
textStyle.setTextAlign(textAlign);
textStyle.setOffsetX(textOffset[0]);
textStyle.setOffsetY(textOffset[1]);
}
So, I'm guessing that the intention of this code is
if the foundStyle instance has a text symbolizer, then
create a new text symbolizer with all the same properties
and set new text, textAlign, offsetX, and offsetY properties
Which could be written like this:
var foundText = foundStyle.getText();if (foundText) {
textStyle = new ol.style.Text({
text: name,
textAlign: textAlign,
offsetX: textOffset[0],
offsetY: textOffset[1],
font: foundText.getFont(),
scale: foundText.getScale(),
rotation: foundText.getRotation(),
textBaseline: foundText.getTextBaseline(),
fill: foundText.getFill() || undefined,
stroke: foundText.getStroke() || undefined
});
}
The things that suck about the code above are that it is fragile (it
wouldn't necessarily do all you want in the future if new text properties
are added) and it is weird that you have to provide undefined for fill
and stroke if they are absent in the original (this could be improved with
a small change to the text symbolizer constructor).
But it is still less code than you'd have to write for a clone method.
And I imagine people would ask about clone methods for other style things.
And is it deep clone (e.g. do fill and stroke get cloned for text)?
Does the code above look like it would do what you want? It is not clear
to me why some things like textAlign would get overridden and other
things like rotation would not. But I haven't looked where this gets
called.
—
Reply to this email directly or view it on GitHub
https://github.com/openlayers/ol3/issues/4781#issuecomment-180082908.

I have just initiated a pull request with the fixes for this issue, and also fixed rendering of icons and labels for KML placemarks.

I had to review the tests after my changes, and I discovered some more inconsistencies in the way OpenLayers rendered placemarks.  I have modified kml.js to now support placemarks with no icon, as that is one of the options in KML. Now, however, there are a bunch of code changes in this one commit so I'm not sure it'll pass muster.

#5745


Difference between static and dynamic routing

Topic Suggestion
Difference between static and dynamic routing
Writing sample(s):
N/A
Proposed title of article
Difference between static and dynamic routing
Proposed article introduction
In most cases, upcoming networkers and even networkers themselves fail to recognize the difference between static and dynamic routing. I was faced with the same challenge initially and thought it would be wise to share the knowledge I have grasped over the years. This article will be very crucial in guiding you on the difference between these two. It will be done through identification of the advantages and disadvantages of these two. We will also identify the similarities between them. We will also see some practical simulation of the the two in cisco packet tracer.
First, we need to understand Routing. What is routing? It is the process of identifying and choosing a path/route to deliver packets from one network to another. It is crucial in transmitting data packets fast. It also helps in avoiding traffic in the network. Routing is then categorized into two; Static and Dynamic routing. What is static routing? It is a process in which we manually add paths/routes to the routing table. Dynamic routing is a technique of finding the best path for data packets on a computer network. We will deeply dwell in these issues to ensure that you get the difference between static and dynamic routing.
Key takeaways
These article will help the reader in the following ways;

Understand static and dynamic routing.
Differentiate between static and dynamic routing.
Working with cisco packet tracer.

Article quality
This article will help you get a deep understanding of static and dynamic routing, their comparison as well as differences between them. We will also have a privilege to see their simulation on cisco packet tracer.
References
N/A

Happy learning!

Thank you for submitting your topic.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


[AVM Module Issue]: enable policy_assignments_to_modify to contain referenced resource outputs

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Module specific issue

[X] I confirm that this issue is about this AVM module and not about the resource itself, or how to use Terraform.

Issue Type?
Feature Request
(Optional) Module Version
0.5.0
(Optional) Correlation Id
No response
Description
The new work towards using the alzlib is great, and being able to reference policy assignment adjustments through HCL is fantastic.
However, I need to pull in referenced TF controlled resources (used within the same root module using the ptn alz module). However, when used on first run (nothing in state), the alz module will fail a plan. Only when the referenced resources exist in state, does it allow me the ability to specific referenced resources within the policy_assignments_to_modify. I'm circumventing this by using -target for now, to create the resources first.
Error Details
Only errors when there are two Management Groups linked to the Root Group
terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = ">= 3.74.0"
    }
  }
}

provider "azurerm" {
  features {
  }
tenant_id                    = "a41a5ab6-e484-4ea6-adcd-f90808559e04"
subscription_id      = "70743c4f-c37c-4d70-bdad-b06a14e2260d"
}

# This allows us to get the tenant id
data "azurerm_client_config" "current" {}

resource "azurerm_resource_group" "update_manager" {
  name = "rg_test"
  location = "uksouth"
}

resource "azurerm_maintenance_configuration" "this" {
    name = "ring1"
  resource_group_name = azurerm_resource_group.update_manager.name
  location            = azurerm_resource_group.update_manager.location
    scope = "InGuestPatch"

  window {
        start_date_time = "2024-01-03 00:00"
        duration = "03:55"
        time_zone = "GMT Standard Time"
        recur_every = "Week"
  }

  install_patches {
    windows {
        classifications_to_include = ["Critical", "Security", "Definition"]
    }
    reboot = "IfRequired"
  }
}

module "alz_archetype_root" {
  source  = "Azure/avm-ptn-alz/azurerm"
  version = "0.5.0"
  id                                 = "root"
  display_name                       = "root"
  parent_id                          = data.azurerm_client_config.current.tenant_id
  base_archetype                     = "root"
  default_location                   = "uksouth"

  policy_assignments_to_modify = {
    Update-Ring1 = {
      parameters = jsonencode({
        maintenanceConfigurationResourceId = azurerm_maintenance_configuration.this.id
      })
    }
  }
}

module "alz_archetype_platform" {
  source  = "Azure/avm-ptn-alz/azurerm"
  version = "0.5.0"
  id                                 = "plat"
  display_name                       = "plat"
  parent_id                          = module.alz_archetype_root.management_group_name
  base_archetype                     = "platform"
  default_location                   = "uksouth"
}

module "alz_archetype_landing_zones" {
  source  = "Azure/avm-ptn-alz/azurerm"
  version = "0.5.0"
  id                                 = "landing_zones"
  display_name                       = "landing_zones"
  parent_id                          = module.alz_archetype_root.management_group_name
  base_archetype                     = "landing_zones"
  default_location                   = "uksouth"
}

│ Error: Unable to add management group
│
│   with module.alz_archetype_landing_zones.data.alz_archetype.this,
│   on .terraform\modules\alz_archetype_landing_zones\main.tf line 5, in data "alz_archetype" "this":
│    5: data "alz_archetype" "this" {
│
│ multiple root management groups: plat and landing_zones

╵

Just fyi, I'm simplifying the config as per above - I'm actually using a custom lib to specify a policy assignment for applying the Azure Update Manager config as an example.
Further to example above for sake of testing;
Override achetype =
{
  "base_archetype": "root",
  "name": "root_override",
  "policy_assignments_to_add": [
    "Update-Ring1"
  ]
}

{
  "name": "Update-Ring1",
  "type": "Microsoft.Authorization/policyAssignments",
  "apiVersion": "2019-09-01",
  "properties": {
    "description": "You can use Azure Update Manager in Azure to save recurring deployment schedules to install operating system updates for your Windows Server and Linux machines in Azure, in on-premises environments, and in other cloud environments connected using Azure Arc-enabled servers. This policy will also change the patch mode for the Azure Virtual Machine to 'AutomaticByPlatform'. See more: https://aka.ms/umc-scheduled-patching",
    "displayName": "Schedule recurring updates using Azure Update Manager - Ring 1 (Tuesday Midnight)",
    "notScopes": [],
    "parameters": {
      "maintenanceConfigurationResourceId": {
        "value": ""
      },
      "tagValues": {
        "value": [
          {
            "key": "Update Manager Policy",
            "value": "Ring1"
          }
        ]
      }
    },
    "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ba0df93e-e4ac-479a-aac2-134bbae39a1a",
    "nonComplianceMessages": [
      {
        "message": "Azure Update Manager Update not applied"
      }
    ],
    "scope": "${current_scope_resource_id}",
    "enforcementMode": null
  },
  "location": "${default_location}",
  "identity": {
    "type": "SystemAssigned"
  }
}

Hi @phx-tim-butters thanks for reporting this
In our alzreference demo, we do supply defaults in from resources in the same root module and this works.
The error you are getting is strange and I will try to reproduce

I have managed to reproduce, it seems Terraform is trying to creating the plat and landing_zones before the root.
Because the provider can't find the root MG in its memory, it assumes that the plat and landing_zones MGs have external parents.

As a workaround, for now, if you remove the dependency between the policy assignment parameter and the resource, then it will work.
You can interpolate the resource id using locals, e.g.:
/subscriptions/${local.subscription_id}/resourceGroups/${local.resourceGroupName}/providers/...

Hi @phx-tim-butters
I have fixed this now, upcoming release of 0.6.0 should resolve - I also took your example and published it as a demonstration.

fixed by #35

Awesome stuff Matt thank you.


#117 : improve text of tailing the flex log file in the pod (adding d…

…ate for correlation and more details)
Missing few messaging:

a message about running the tail -F command including the date you run the tail (because tail by default show you X lines before, so it is confusing if you don't provide the current date)
a message about the flex responsible on the log rotation of the flex log file.

This change is

close PR without merge
The content of this will be part of PR #127


切换图例造成的滚动条问题（可重现）

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce

滑动x轴数据；
切换图例；

What is expected?
在切换图例的时候，滚动条不会到最右边，数据显示也要正确
What is actually happening?
滚动条到最右边，数据显示也不正确

Environment
Info

f2
3.6.3

System
win10

Browser
Chrome


Networks are not being detected?

Hi I am using react-native 0.59.9 and I installed the example of react-native-zeroconf. I have configured various devices including a raspberry pi to detect it but it's showing null. Can you guys tell me how to setup the devices or is there something wrong?
Thanks
@balthazar

Have you proved it's discoverable with something like dns-sd?
dns-sd -L "my-service" _http._tcp local

One thing. I have noticed while creating my react native app is that it will only pick it up if I start my zeroconf service after the scan has started. Still trying to get to the bottom of this.

One thing. I have noticed while creating my react native app is that it will only pick it up if I start my zeroconf service after the scan has started. Still trying to get to the bottom of this.

Did you find a way to solve it? I'm having a similar issue.

One thing. I have noticed while creating my react native app is that it will only pick it up if I start my zeroconf service after the scan has started. Still trying to get to the bottom of this.

Did you find a way to solve it? I'm having a similar issue.


K-9 crashes at startup after exporting/importing settings from Nougat --> O

K-9 crashed after restoring exported settings and then clicking on the Inbox. Afterwards, it will crash on every startup.
Expected behavior
Export/Import works between major OS versions and doesn't crash the client.
Actual behavior
K-9 crashes.
Steps to reproduce

Export settings from 7.1.2 or earlier
Upgrade phone to 8.0 (O Dev Preview)
Import settings, enter password, choose the inbox
Profit?

Environment
K-9 Mail version: 5.300-SNAPSHOT (built from current master)
Android version: 8.0 (Android O Developer Preview 2)
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
05-17 22:55:03.781 E/AndroidRuntime(21282): FATAL EXCEPTION: main
05-17 22:55:03.781 E/AndroidRuntime(21282): Process: com.fsck.k9, PID: 21282
05-17 22:55:03.781 E/AndroidRuntime(21282): java.lang.LinkageError: Method android.view.LayoutInflater com.fsck.k9.fragment.MessageListFragment.getLayoutInflater() overrides final method in class Landroid/app/Fragment; (declaration of 'com.fsck.k9.fragment.MessageListFragment' appears in /data/app/com.fsck.k9-8rLXJQdRANND4GVTfWN6Mg==/base.apk)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at com.fsck.k9.activity.MessageList.actionDisplaySearch(MessageList.java:103)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at com.fsck.k9.activity.Accounts.onOpenAccount(Accounts.java:683)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at com.fsck.k9.activity.Accounts.onItemClick(Accounts.java:1239)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.widget.AdapterView.performItemClick(AdapterView.java:317)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.widget.AbsListView.performItemClick(AbsListView.java:1165)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3134)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.widget.AbsListView$3.run(AbsListView.java:4049)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.os.Handler.handleCallback(Handler.java:769)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.os.Handler.dispatchMessage(Handler.java:98)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.os.Looper.loop(Looper.java:164)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at android.app.ActivityThread.main(ActivityThread.java:6535)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at java.lang.reflect.Method.invoke(Native Method)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
05-17 22:55:03.781 E/AndroidRuntime(21282): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

I think this is a bug in Android O as we aren't actually overriding that method.

We do have a method getLayoutInflater() in MessageListFragment. Renaming it should solve the problem.

Yeah I goofed and looked and the wrong file.
Should be a simple fix then

Changed the title and updated the issue description to better describe the actual issue. This looks super easy to me, so I'll take a crack at a rename PR if nobody has any objections. Any opinions on the new name? I was thinking something like getLayoutInflater2() lol

Well try just deleting it. The new method seems like it might do what we want.
If not getOriginalLayoutInflater() seems to match what we actually mean.


Full page error when a connected key doesn't have data associated

"If you have a party that does not exist on the Vega blockchain (i.e. create a new key) and connect to that key, if you then attempt to click on a validator you get this error message. The party not existing should show that noting is staked for that party, it shouldn't be a full page error message." (<- reported by @dexturr )
Core returns a 404 for requests where there's no data for a certain key, we'd want to treat this on the frontend as just no data to show (with potentially a generic message, we use No data at some places i believe), and not treat this as an error.
Example failing query on the validators page:
{
  "operationName":"Delegations",
  "variables":{
    "partyId":"<PUBLIC_KEY_WITH_NO_DATA>",
    "delegationsPagination": {
      "first":50
    }
  },
  "query":`
    query Delegations($partyId: ID!, $delegationsPagination: Pagination) {
      epoch {
        id
      __typename
    }
    party(id: $partyId) {
      id
      delegationsConnection(pagination: $delegationsPagination) {
            edges {
              node {
                ...WalletDelegationFields
              __typename
            }
            __typename
          }
          __typename
      }
      stakingSummary {
            currentStakeAvailable
          __typename
      }
      accountsConnection {
            edges {
              node {
                asset {
                  name
                id
                decimals
                symbol
                source {
                    __typename
                  ... on ERC20 {
                      contractAddress
                    __typename
                  }
                }
                __typename
              }
              type
              balance
              __typename
            }
            __typename
          }
          __typename
        }
        __typename
      }
    }
    fragment WalletDelegationFields on Delegation {
        amount
      node {
          id
        name
        __typename
      }
      epoch
      __typename
    }`,
}

No longer reproducible


[App Request] Streamio

App Information

Name:
Short Description: <Stremio is a modern media center that's a one-stop solution for your video entertainment. You discover, watch and organize video content from easy to install addons.>
Official Website: https://www.stremio.com/
GitHub Repository: https://github.com/Stremio/stremio-web
Docker Image: https://hub.docker.com/r/stremio/server

Why do you want this app?
As an extra media player and streaming service.
Additional information?
No response

waiting on this too

same problem here!
it seems related to HTTPS and HTTP connection, 'cause a while ago Ive bypassed that using http to connect to the port 11470 directly. however, now that doesnt work


Wrong typing for color tokens in variant functions

Current Behavior
There is a wrong typing for color tokens inside of the variant function:
Create a following styled component:
const CheckboxSelectorFrame = styled(View, {
  variants: {
    error: {
      true: (_, { props, tokens }) => ({
        borderColor: tokens.color['$color-border-destructive-bold-hover'], // this works but it's not consistent with TS
      }),
      false: {
          backgroundColor: '$color-bg-destructive-default', // this works perfectly, why can't the above scenario work the same way?
      },
    },
  } as const,
});

TypeScript suggests the color tokens under the tokens.color prop without the '$' sign, which appears to be incorrect as that object contains the color keys with the '$' sign included. Adding the '$' sign fixes it. However, TypeScript still doesn't complain for some reason, which means that you can provide whatever key you want and TypeScript won't throw an error.
Question:
Why the function variant cannot work the same way as inline variants, so you can pass token string without accessing from  any additional object?
Expected Behavior
Ideally if tokens would be available directly as a string values instead of getting it from the object that comes from the upper function
Tamagui Version
"tamagui": "1.89.20"

Platform (Web, iOS, Android)
Web/iOS/Android

Reproduction
-

System Info
No response

@TheEhsanSarshar any update on this by chance? Can I help you somehow to get that fixed?

@arekkubaczkowski this PR https://github.com/tamagui/tamagui/pull/2398 should fix it

@TheEhsanSarshar btw. is there any way to get font tokens of out react context similarly how getToken is doing it? as getToken has not included fonts for some reason

there is a getFontSize() function
import { getFontSize } from '@tamagui/font-size'

@TheEhsanSarshar nice, but what about the rest of properties like weight, lineheight?  is it accessible somehow?

if not, I can give a try to implement it based on getFontSize helper. Let me know

I was able to achieve like this, I will create a PR in a spare time, if you have any remarks about the API please let me know

it suggests both for me. having it without $ sign is wrong?
ok I'll check it today


Removed ugly code - Converted if/elses to switches

Hello!
Also putting the methods and requests URI in switch cases allows anyone to add his/her own custom URI to the server and test it.
Regards,
Vijayant

Thanks for you r contribution.
Personally I don't think this is more readable. Also, switches are slower than ifs, so this is bad from a performance optimization point of view.

Closing as it adds no real benefits. Thank you for the contribution though.

Okay! Thanks BTW.


Regenerate aws-sdk SQS interface (v1.26.0)

New SQS client version released from aws-sdk-go-v2 - v1.26.0
See full changelog.

Codecov Report

Merging #8 (abf631f) into main (c03a75d) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines          408       408
=========================================
  Hits           408       408


Animate Radial Progress

Any tips on animating radial progress to go for on 0 to the css var defined value? Would also be a neat addition to the radial progress element.
Btw love this UI Library! Keep up the awesome work!

This is not currently possible unless we use JS to animate the value number


Get develop into master

In models.File, add field mime_type to store the Content-Type as set by
the browser during file upload.
For extended Django Filer models, adopt the classmethod matches_file_type to its
new signature.
Add attribute download to the download link in order to offer the file
under its original name.

@jrief and @yakky here to PR to get it into develop

After this is merged, I can release - any other PRs to merge as well?

@jrief is much more up to date than me regarding important PRs to be merged

After this is merged, I can release - any other PRs to merge as well?

I just went through all open pull requests. The only one, I would consider to merge is #958. This however has to be slightly changed (requested by @yakky, but never done by the original author).
Otherwise I'm OK with merging this pull request.
Just one side-note: I would really appreciate, if we could add a JSON field to the File class in the future. With Django-3.1 this wouldn't even required any third party dependency. Such a field would allow us to store arbitrary data, such as EXIF-headers, and other useful stuff without having to override the class. – just my two cents

@jrief that's probably best to discuss with @divio/django-cms-core


Fix warnings at the top

Closes https://github.com/influxdata/docs-v2/issues/3097
Fixed the warnings in Cloud's "Experimental" doc so it doesn't sound as aggressive.

[ ] Signed the InfluxData CLA
(if necessary)
[ ] Tests pass (no build errors)
[ ] Rebased/mergeable

Thanks for this @mluu12. I'm closing this PR in favor of #3128 which ports these changes to the Flux restructure branch. That docs that this PR updates will be removed with the restructure.

@sanderson - thanks for updating the Flux restructure branch!
Any reason/conflict why @mluu12 shouldn't push these changes out anyway, so we can close the priority issue?

@kelseiv I'm planning on pushing my change out tomorrow with the flux-restructure branch. These changes will cause a merge conflict with my branch since I'm removing all the files that are updated by this PR.


Fix cromwell slurm config

Redo cromwell config.

Error out if non dockerized task
Fix sbatch command and make more clean
Add s3 filesystem

Error
[2024-11-27 00:11:31,88] [error] Error parsing generated wdl:

Cromwell just hangs

Why isn’t this just in the headnode?

Oh right, it’s cluster specific


pip install

It seems pip installation is not working, not even from repository directly:
(env) skmac:izclibot fopina$ python --version
Python 3.4.3
(env) skmac:izclibot fopina$ pip --version
pip 7.0.3 from /Users/fopina/Documents/djangoapps/izclibot/env/lib/python3.4/site-packages (python 3.4)
(env) skmac:izclibot fopina$ pip install git+https://github.com/datamachine/twx
Collecting git+https://github.com/datamachine/twx
  Cloning https://github.com/datamachine/twx to /var/folders/2_/jkg8hd9s4qd74528tk_rxvpm0000gn/T/pip-9v7ej75w-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/var/folders/2_/jkg8hd9s4qd74528tk_rxvpm0000gn/T/pip-9v7ej75w-build/setup.py", line 37, in <module>
        raise Exception('Unkown target: {}', sys.argv)
    Exception: ('Unkown target: {}', ['-c', 'egg_info', '--egg-base', 'pip-egg-info'])

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/2_/jkg8hd9s4qd74528tk_rxvpm0000gn/T/pip-9v7ej75w-build

It looks like a local check that was supposed to only run on my system was running on pip installations as well. I removed that check, you may installing the latest version now.

Confirmed, thanks.


Feature request: Add pre/post command for docker build

In case of a dependency that requires native binaries before pip install command,
so currently I'm handling it like this way:
    pythonBin: >-
      curl --silent -L https://example.com/source.tar.gz | tar xzf &&
      docker run -v "$(pwd):/var/task:z" -u 0 sls-py-reqs-custom ./source/make install &&
      docker run -v "$(pwd):/var/task:z" -u 0 sls-py-reqs-custom python3
    pipCmdExtraArgs:
      - && docker run --rm -v "$(pwd):/var/task:z" -u 0 cp -R /build .serverless/requirements

but if we have something like preDockerCmd / postDockerCmd, we can achieve it like this way:
    preDockerCmd:
      - curl --silent -L https://example.com/source.tar.gz | tar xzf
      - ./source/make install

    postDockerCmd:
      - cp -R /build .serverless/requirements

reference:
https://stackoverflow.com/a/26274399/2305379

Not a bad idea. For situations like yours where you seem to be ok with separate docker run invocations, it might make sense to add have the plugin fire off custom lifecycle events which can then be more easily tapped into with plugins like serverless-plugin-scripts.
then you could (with that plugin) do something like this:
custom:
  scripts:
    hooks:
      'before:requirements:pip:install': curl --silent -L https://example.com/source.tar.gz | tar xzf && docker run -v "$(pwd):/var/task:z" -u 0 sls-py-reqs-custom ./source/make install
      'after:requirements:pip:install': cp -R /build .serverless/requirements

@dschep Yeah but things like sls-py-reqs-custom and .serverless/requirements is kind of a hack into  serverless-python-requirements's internal (which means they might be highly likely changed without any announcement.)
So it's better to have that hooks with custom.pythonRequirements variable.
I think it can be applied to both docker / without docker environment
e.g.
custom:
  pythonRequirements:
    # hooks can be applied to both environment with/without docker
    hooks:
       # accepting both string or string array
      'before:requirements:pip:install': ...
      'after:requirements:pip:install':
         - ...
         - ...

+1 on this. Are there any updates on if we'll see this in the near future?

@MrTeale, AFAIK no one is working on this. Sorry.

Hey 👋 I'm closing this ticket as it looks like it's heavily outdated, we can of course reopen it if needed 👍


[BUG]: OPT30B CUDA out of memory

脚本：
set -x
export BS=${BS:-1}
export MEMCAP=${MEMCAP:-40}
export MODEL=${MODEL:-"30b"}
export GPUNUM=${GPUNUM:-8}

mkdir -p ./logs

export MODLE_PATH="facebook/opt-${MODEL}"

torchrun \
  --nproc_per_node ${GPUNUM} \
  --master_port 19198 \
  train_gemini_opt.py \
  --mem_cap ${MEMCAP} \
  --model_name_or_path ${MODLE_PATH} \
  --batch_size ${BS}

Environment
torch: torch1.13cu117
GPU: 8*A100 48G
python: 3.9

The GPU memory is not enough. Please try smaller models such as opt1.3b and see if it works.

OPT13B是可以的，但是OPT-30B日志显示应该是出错在模型加载那里

Hi @iMountTai The most likely cause is insufficient CPU memory.
This issue was closed due to inactivity. Thanks.


error running monitor.py

seeing the following error when running monitor.py
I am running the package in a docker container as described by Andre1Becker
`Idea is that thereafter you can analyze the information over time,
e.g. with Excel:

odometer over time
average drive per day/week/month over time
SOC over time
12V battery over time
charging pattern over time
visited places
: No such file or directory
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/346.
./monitor.py: line 39: from: command not found
./monitor.py: line 40: from: command not found
./monitor.py: line 41: from: command not found
./monitor.py: line 42: from: command not found
./monitor.py: line 43: syntax error near unexpected token (' ./monitor.py: line 43: from monitor_utils import ('
`

so i may be a muppet.. ran python monitor.py
python monitor.py Traceback (most recent call last):   File "/opt/hyundai_monitor/monitor.py", line 42, in <module>     from hyundai_kia_connect_api import VehicleManager, Vehicle, exceptions ImportError: cannot import name 'VehicleManager' from 'hyundai_kia_connect_api' (unknown location)

See README:
move the hyundai_kia_connect_api subfolder of hyundai_kia_connect_api-[version] underneath hyundai_kia_connect_monitor.
So you will have the structure hyundai_kia_connect_monitor/hyundai_kia_connect_api

yeah.. I kindda figured out some stuff after posting..
However it seems to run now. But..
I keep getting a login error..
I think it may be because I have a   "     in my password.
I tried escaping with "
but to no avail.. is this the wrong way of doing it?

I think this is a restriction of the hyundai_kia_connect_api, so probably it is best to avoid " and ' in the password.
The escape character is \ but do not know if this would work. You can also try \u0022 instead of "
If that does not work, it is better to change your password not to contain "and '

I changed the pw.. that helped.


stop: Error while Killing

I am seeing the following error:
% fin mutagen stop
Disconnecting project network...
Stopping services...
[+] Running 4/4
 ⠿ Container myproject_web_1            Stopped                                                      1.1s
 ⠿ Container myproject_elasticsearch_1  Stop...                                                      0.7s
 ⠿ Container myproject_db_1             Stopped                                                      1.0s
 ⠿ Container myproject_cli_1            Stopped                                                      0.1s
[+] Running 0/0
 ⠿ Container myproject_cli_1  Error while Killing                                                    0.0s
Error response from daemon: Cannot kill container: befc96a1ebbc70ec050e39a3b666657bce9ed7edf20006979457863caa64c546: Container befc96a1ebbc70ec050e39a3b666657bce9ed7edf20006979457863caa64c546 is not running

This happens on any project that I stop, and every time.
I am running the develop version of Docksal, as well as the latest Docker Desktop for Apple Silicon.

My guess is that the new Docker just doesn't allow for fin rm cli to run when the container is stopped/exited.
docker rm <container-name> seems to do the trick.

This project is only a wrapper around the fin command to start/stop a mutagen project before/after executing a fin command.
When you start a project it will start your Docksal project first, and when it's running, a mutagen project will be started. If you stop your project, the mutagen project will be stopped first, after which the Docksal project is stopped.
The error you see comes from the fin command and not from this wrapper, so it's best to report this in the docksal repository, especially since you are running the development version of Docksal.

I can confirm this problem exist for new versions of Docksal, because containers cannot be removed after docksal project is stopped.
I will release a new version which will just invert the order of actions executed on fin mutagen stop removing cli container first of all and then stopping docksal project.


YouTube embedded player in webview

I've set the option 'mediaPlaybackRequiresUserGesture': false, but youtube player still doesn't autostart. I'm emeding YouTube player in webview by opening a url https://www.youtube.com/embed/Mz3kHQxBjGg?autoplay=1
Any ideas on how to make it autoplay in the webview?

Same issue!

@pichillilorenzo

I encounter an issue when I click on full screen button inside the youtube video. the app crush after that. what is the solution for this?

@maltub9 please post the error log you get, otherwise I can't fix it. Also, if possible, post the code you are using to show the youtube video in order to debug it. Thanks

I still have the same issue. Is there a solution for this?

Same here. Here's the code:
  InAppWebViewGroupOptions options = InAppWebViewGroupOptions(
      crossPlatform: InAppWebViewOptions(
        useShouldOverrideUrlLoading: true,
        mediaPlaybackRequiresUserGesture: false,
      ),
      android: AndroidInAppWebViewOptions(
        useHybridComposition: true,
      ),
      ios: IOSInAppWebViewOptions(
        allowsInlineMediaPlayback: true,
      ));

  @override
  Widget build(BuildContext context) {
    return InAppWebView(
      key: webViewKey,
      initialUrlRequest: URLRequest(
        url: Uri.parse('https://www.youtube.com/embed/q_dsgjGRBsw?autoplay=1'),
      ),
      initialOptions: options,
      onWebViewCreated: (controller) {
        webViewController = controller;
      },
    );
  }


PreviewLayer view sometimes doesnt Fill Screen

@Awalz
This happens randomly, but when I load the CameraViewController, from time to time, the previewLayer frame doesnt not extend to the bounds of my screen.
I havent done any modification to the library, simply subclassed SwiftyCamViewController with these settings in viewDidLoad
Update** I dont know if this could perhaps be the problem previewLayer = PreviewView(frame: self.view.frame). I once read somewhere that you should always use view.bounds not frame but I have yet to test.
// In viewDidLoad
func cameraSettings() {
        cameraDelegate = self
        defaultCamera = .front
        videoQuality = .medium
        pinchToZoom = false
        flashEnabled = false
        doubleTapCameraSwitch = false
    }

Hey Martin,
Good find! I have not run into this. I have never personally experienced an issue with using the frame, but I could see how it is possible.
Are you presenting the View Controller by itself, or is it embedded in another ViewController?

@Awalz
Hey I use storyboards and yes I present it by itself.
My CameraViewController is in its own storyboard.
DispatchQueue.main.async {
            self.performSegue(withIdentifier: Segue.camera, sender: self)
        }

One thing to test would also be if this changes if you explicitly set a resolution, say:
 resolution = .resolution1280x720

@Awalz
I did record earlier today and it recorded in 4:3 mode, It played back in 4:3 mode aswell.
I havent done any resolution changes. Theres are the only settings I have which I run at viewDidLoad
func cameraSettings() {
        cameraDelegate = self
        defaultCamera = .front
        videoQuality = .medium
        pinchToZoom = false
        flashEnabled = false
        doubleTapCameraSwitch = false
    }

Did you by chance see the resolution the video recorded?
This is very strange. I do not believe the .medium setting should include any 4:3
Since the preview and the video recording are the same aspect ratio, I do not believe this issue is the frame. The preview frame does not impact the actual recording. The fact that the recording was 4:3 points to an issue with the AVCapturePreset.
For a temporary fix, I would change your preset  to  .resolution1280x720 (which for most devices is the same as .medium.
Also, what device were you able to reproduce this on?
Thanks
Andrew

I changed to .resolution1280x720
Im using iPhone 6

Ok. I will try to do some testing with an iPhone 6.

@Awalz Yea i will post as soon as I get results, Its hard to reproduce because it happens randomly
But I will be printing out, View.frame, view.bounds, previewLayer.frame, previewLayer.bound and video metadata

@Awalz i've only been able to replicate this while device is disconnected from my macbook. very odd!

@Awalz
So this issue still happens but for some reason I cant get it to show up when device is connected to macbook. Here are the info on the outputed video which I downloaded to my computer.
Kind: MPEG-4 movie
Dimensions: 360 × 480
Codecs: AAC, H.264
Hope its usefull somehow

Are you converting the video at all?
It should be QuickTime video, not MPEG-4 movie. Very strange

@Awalz
Yes I convert to MP4

@Awalz
Slight update on this issue.
Theres another issue that sprung up recenly which is in viewDidLoad i set my front camera as default
func cameraSettings() {
        cameraDelegate = self
        defaultCamera = .front
        videoQuality = .medium
        pinchToZoom = false
        flashEnabled = false
        doubleTapCameraSwitch = false
    }

However from time to time, it loads the rear camera instead.
So as a temporary patch job in viewDidAppear I do a check then switch camera incase the rear cam loads. Bare in mind I want to force the use of front camera without option to use rear.
if self.currentCamera == .rear {
            self.switchCamera()
        }

An interesting thing that happened is when I was loading the app, the original issue appeared which is the 360 x 480 preview layer instead of fullscreen. And the camera was also rear facing. Then when the switchCamera code ran, it switched to front-camera and loaded to the full iPhone 6 screen.
Hope that provides some hints.
FYI I commented out this code in viewDidDisappear because I want the session to keep running when the PreviewViewController loads after didFinishRecordingVideo because when user goes back to CameraViewController, I dont want there to be lag.
// If session is running, stop the session
        /*if self.isSessionRunning == true {
            self.session.stopRunning()
            self.isSessionRunning = false
        }*/

I have also same experience with this issue. My face camera was not full screen using this camera.

I have been unable to reproduce this issue. I have tested with multiple devices running different software versions.
If someone could provide a sample project or more code snippets, it would help to narrow this down


UserProfile "hideNavigation" and "only" not working

[x] Review the documentation: https://docs.clerk.dev/
[x] Search for existing issues: https://github.com/clerkinc/javascript/issues
[x] Go through package changelog files.
[ ] Provide the Frontend API key from your application dashboard.

Package + Version

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[x] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/clerk-expo
[ ] @clerk/backend-core
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] other:

Version:
4.1.3

Description
No matter what values are used for UserProfile.hideNavigation or UserProfile.only, the entire user profile component is being rendered. UserProfile.appearance seems to work fine.
import { UserProfile } from '@clerk/nextjs';

export default function AccountSettings() {
  return (
    <UserProfile
      appearance={{
        variables: {
          colorPrimary: '#f00',
        },
      }}
      hideNavigation
      only="security"
    />
  );
}

Hello @slowbaker , many thanks for the report.
These options were v3 specific so they shouldn't work with the new v4 components. Looks like these 2 types were not updated accordingly - I'll be fixing this as soon as possible.
However, can you please provide more info about your actual use case? I'd like to discuss with the team above the possibility of re-introducing these for the v4 components as well :)

Thanks for the fast response. In my opinion, at least hideNavigation should be supported so that we can remove the sidebar.
Currently, if the main content area is short (almost always the case), nothing happens when you click on one of the navigation links. That's a UX issue.

Thanks for the fast response. In my opinion, at least hideNavigation should be supported so that we can remove the sidebar.
Currently, if the main content area is short (almost always the case), nothing happens when you click on one of the navigation links. That's a UX issue.

My understanding is that you're using the mounted version of the UserProfile, not the default modal so that makes a lot of sense. I will forward this thread to the team so we can discuss further and I'll report back here when I have more details.
For now, do you think hiding the navbar using the appearance api would be an acceptable workaround? Eg:
<UserProfile
  appearance={{
    elements: {
      navbar: { display: 'none' },
    },
  }}
/>


OS Failure - not so failure

Right now if the OS isn't Ubuntu 20.04, tt-smi reports a failure.  This isn't EXACTLY a failure, more a warning that it's not supported / untested.  This should likely get moved to softer language of "Warning - OS not supported" or something similar.

Fixed in release tt_tools_common 1.1.0


Document changes to getHealth status on RPC

What problem does your feature solve?
Please update the documentation of the getHealth endpoint to reflect the recent changes in the endpoint. The documentation should be part of the official docs: https://developers.stellar.org/network/soroban-rpc/methods/
What would you like to see?
What alternatives are there?

Cám ơn bạn.
NMS(Sang Nguyễn)
Vào 0:04, Th 4, 24 thg 4, 2024 sydneynotthecity @.***>
đã viết:

What problem does your feature solve?
Please update the documentation of the getHealth endpoint to reflect the
recent changes in the endpoint. The documentation should be part of the
official docs: https://developers.stellar.org/network/soroban-rpc/methods/
What would you like to see? What alternatives are there?
—
Reply to this email directly, view it on GitHub
https://github.com/stellar/stellar-docs/issues/515, or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHVEEEDWG4NMFV7TXHKZT5LY62ICLAVCNFSM6AAAAABGVKRS76VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TSMZVHAYTEOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Fix CI for Rust 1.61 doesn't use rustc 1.61 compiler

Hi,
I investigated why #136 was not caught by CI. And I found that CI workflows for Rust 1.61 was actually using the latest stable toolchain.
This PR fixes the issue. I could confirm 1.61 was used properly on my fork.
info: syncing channel updates for '1.61-x86_64-unknown-linux-gnu'
info: latest update on 2022-05-19, rust version 1.61.0 (fe5b13d68 2022-05-18)

https://github.com/rhysd/arboard/actions/runs/8135373857/job/22229818914
Please note that CI will break after merging this PR. This is because wayland-backend crate requires Rust 1.65 or later.
error: package `wayland-backend v0.3.2` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.61.0

I didn't bump the MSRV of this crate in this PR because I'm not understanding the process. (If you prefer bumping MSRV in this PR, please let me know. I'll include the changes.)

Sure. Thank you for your response with the advices. I'll try to update this branch when I have time, hopefully within a few days.

After resolving the Rust 1.65 MSRV error, it turned out that more recent version was required by other crate. image crate requires 1.67.1 or newer.
To meet the requirement, I bumped this crate's MSRV to 1.67.1.

Thank you again for catching this and putting up a fix.


make rye show works with symbolic linked pyproject.toml

I just noticed that, when pyproject.toml is a symbolic link other than a real text file, rye show will not find my project in a rye managed workspace.
Here is the background: In order to use pipx, I am using poetry together with rye. Thus I maintain two toml files, namly pyproject.poetry.toml and pyproject.rye.toml, and I switch between them using symbolic linked pyproject.toml, when I want to use pipx, I point it to the poetry version.

#232 would solve it in its current shape. Why show in particular, why not other commands? Will you need the others down the line?

$ rye init rye-test
$ cd rye-test
$ mv pyproject.toml py.toml
$ ln -s py.toml pyproject.toml
$ rye show
project: rye-test
path: /Users/dsp/src/rye-test
venv: /Users/dsp/src/rye-test/.venv
target python: 3.8
venv python<EMAIL_ADDRESS>virtual: false
configured sources:
  default (index: https://pypi.org/simple/)

This works now. Can we close out the issue @time4Wiley?


Add test RNA-Seq dataset?

The current tests run on pushing to remote repos only have TempO-Seq data. Maybe we should have a second set of tests that use RNA-Seq data, to check that changes to the code work with both types.

Agree, in fact we have discussed the idea in #3, but no progress on it really, yet! An important to-do.

I have a test dataset made, but we need to figure out how/when to implement it. Nothing is currently added to the test_data repo, but I will do so. Running RNA-seq data through the pipeline is much slower than TempO-seq because it takes so long to make the STAR and RSEM index files. So we probably don't want to have it run on every push. Is there a way to flag which workflows to run when giving the push command?


HAL_UARTEx_ReceiveToIdle_DMA has inconsistent behavior

When using ReceiveToIdle, there seems to be a different behavior for when IDLE and FT happen at the same time. With the HT, we get both interrupts(HT and IDLE), but when FT and IDLE happen to be at sizeof(buf), the code decides the buffer is full and cancels the idle interrupt.
This seems strange when using the DMA in circular buffer mode, there should be no concept of a location being more significant compared to another. I would expect to get both interrupts.
In the case when the incoming data wraps the buffer, we get the FT and IDLE.  So now there is no way to just detect IDLE interrupts. If it was consistent and we always received the IDLE interrupt, that would make it easier to discard the HT and FT.
Maybe it could check if the DMA is using CIRCULAR mode and send both  interrupts.
To explain our use case, we are receiving packets of variable size. Therefore, the size of the data cannot be used to determine when all the data is received. I am aware there are lots of ways of framing the data to detect the packets, but just being consistent with the IDLE interrupts would make it much easier.
I have read this issue https://github.com/STMicroelectronics/stm32f1xx_hal_driver/issues/4 and read the example code, but it does not solve my issue.
The issue also states:

Use of HAL_UARTEx_ReceiveToIdle_DMA service, will generate calls to
user defined HAL_UARTEx_RxEventCallback callback for each occurrence of
following events :

DMA RX Half Transfer event (HT)
DMA RX Transfer Complete event (TC)
IDLE event on UART Rx line (indicating a pause is UART reception flow)

According to this text, we should get an interrupt for EACH occurrence, but it appears we don't always get the IDLE events.

jesus i got the same problem and it cost totally two days for me to figure it out. i debugged step by step and found that it seems that there is no solution to tell which event has happened under this set of design... i have to modify the source code but once i click "generate code" in CubeMX they just gone ! so now i am using a make-shift : read the register of IDLE FLAG, which is not HAL-styled at all! it's far less elegant ...

Hi @gittymonkey, @NeoZng,
Thank you for this report. We have implemented a new function HAL_UARTEx_GetRxEventType in the frame of this commit that provides the Rx Event type (Half transfer event, Transfer complete event or IDL event) which has lead to RxEvent callback execution.
As when HAL_UARTEx_ReceiveToIdle_IT() or HAL_UARTEx_ReceiveToIdle_DMA() API are called, the progress of reception process is provided to application through the calls of Rx Event callback and given that several types of events could occur, this function will allow thus to get the source of the Rx Event type that drove the call of the Rx Event callback.
With regards,

Hi @gittymonkey,
Please allow me to close this thread as no activity. You may reopen it at anytime if you have any details to share with us in order to help you to solve the issue. Thank you for your comprehension.
With regards,


added code to fix docker-onnx-external

Describe your changes
I added changes to utils.py to determine the correct model path based on some conditions and generates the path to where it should be mounted in a container.
Checklist before requesting a review

[ ] Add unit tests for this change.
[ ] Make sure all tests can pass.
[ ] Update documents if necessary.
[ ] Format your code by running pre-commit run --all-files
[ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

could the description of the PR have more information like the scenarios?


Formly is overlapping the number 0 with the label

Question
I am using formly and passing in a number value. The default value in my model is 0 so when formly sees this it gets confused. It is overlapping the number and the label together. If the value is anything other than 0 it works as expected.
See the stackblitz below
https://stackblitz.com/edit/angular-formly-demo-rmeezs?file=src%2Fapp%2Fapp.component.css

Either use ViewChild which mark matInput as MatFormFieldControl implementation or override empty inside your custom field type to take account of 0 value:
get empty() { return this.value === undefined || this.value === null || this.value === ''; }

I just noticed that the provided stackblitz example uses an old version of Formly, make sure updating it to the latest one v5.5.15 which is already fixed that issue.


Refactor SingerTarget to own bookmark writer

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2868
Originally created by @pandemicsyn on 2021-07-23 20:44:36

As a first step towards starting the meltano elt refactor (undefined##undefined) we should move the bookmark writer out of SingerRunner and into SingerTarget. To do so we can leverage a before_invoke hook on SingerTarget, which would then call back to the invoker and attach the bookmark writer as an additional output handler.

View 4 previous comments from the original issue on GitLab


[Minor] Spawn weight fluctuating

The rolling giants spawn weight seems to go up or down in the console logs every time something is spawned. It also seems to be adding more onto whatever the weight is set to in the config. (e.g. 45 becomes 57. I was testing with a weight of 1000 and it started at 1111) Not sure if this is intentional or not but thought it was odd that it wasn't consistent with the config settings.

Log
LogOutput.log

Hello 👋
I don't do anything with spawning outside of the initial config options. Vanilla spawns fluctuate over time, so that looks normal to me. In that case, the game basically lowers the chance so other things have a chance to spawn.