Update conda yml file env name

Closes https://github.com/kakaobrain/NeRF-Factory/issues/7
Changing the conda env name from base -> nerf_factory for 2 reasons:

Running conda env create --file nerf_factory.yml gives an error CondaValueError: prefix already exists: /home/mishig/miniconda3 because base is a "reverved" name
Docs suggest that the name should be nerf_factory

Thanks a lot! 👍

Thanks. We will merge it after double-checking your commits.

thanks a lot! Please let me know if you need anything else from my side 👍


[1.12] Silicon smelting recipe registered too late (can't remove via CraftTweaker)

Issue description:
When attempting to remove the smelting recipe for Silicon from Quartz in the furnace, I'm consistently unable to with CraftTweaker
What happens:
Nothing short of a thrown error on CT's side
What you expected to happen:
The smelting recipe to vanish!
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12
Forge: <IP_ADDRESS>3
Refined Storage: 1.5.13

Does this issue occur on a server? [yes/no]
yes
Proposed (and tested) solution:
Move this to PreInit. I've done this & compiled it, and it worked flawlessly with and without CraftTweaker changing the recipe - and was done early enough for CT to access and remove it. Could this be remedied by CraftTweaker too? Probably - might be worth investigating if this is an issue with many other mods, because it's not uncommon to register recipes in init or even - if you're insane - postInit, but I thought this might be a simple "bandaid" for now.. if you decide to forego this and redirect me to jaredlll08 I'd totally understand.

CC'ing @jaredlll08 - this is what I was talking about today with Ellpeck during his stream.

Smelting recipes aren't a registry and aren't locked down, so technically I can register them when I want but point taken, I'll move the call.

This has already been fixed anyway... yesterday though, @raoulvdberge you can register them anywhere before postinit

Lol


Error while creating issue using Sidekiq worker

When I run an Sidekiq worker to create an issue, the error below happens. If I run the same code on a controller (or a model), no error happens.
WARN: ArgumentError: wrong number of arguments (given 2, expected 1)
WARN: /usr/local/rvm/gems/ruby-2.4.1/gems/gitlab-4.0.0/lib/gitlab/objectified_hash.rb:26:in `method_missing'

Funny detail: the issue is created sucessfully... but the error made the worker repeat indefinitely, creating a lot of similar issues.
Issue creation code:
    Gitlab.create_issue(
      294,
      "Relato de Abuso #{hashid_mensagem.present? ? hashid_mensagem : ' sem HashID'}",
      {
        description: issue_descricao,
        assignee_id: 2
      }
    )

Gem version: gitlab (4.0.0)
GitLab version: Community Edition 9.1.1 d3123f6
Ruby version: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
Rails version: rails (5.0.2)
Sidekiq version: sidekiq (5.0.0)

Nevermind -- this error happens only by my (very stupid) mistake. Sorry.


Not an issue, but request

Can you tell me a bit about how to make mods compatible? I'm making an RPG modpack and I wanna make ParCool use the Paragliders stamina system, also want to eventually configure mana

parcool already uses paragliders stamina when climbing, running and jumping

also don't know if you use the rpg series from daedelus / simply skills but i use rpg mana for the mana config, you can set up the starting mana and increase it with items

Not gonna open a new ticket just to say this but is it possible to use datapacks to assert stamina consumption from other mods interactions, such as Sword Blocking Mechanics?

So, I have been working with the author of ParCool a bit and have a branch out to fix some of the issues in their mod when using the Paraglider stamina system. In the upcoming release of my mod (V0.6.0) I'll have built in support for ParCool, but it is entirely dependent upon that newer version of ParCool being released with the changes I want to merge in. If the changes get merged in, then the latest version of my mod will have very smooth support of almost all of the ParCool actions as well as attribute support to decrease the amount of stamina consumed from those actions if any authors want to work with that.
It is possible to create a datapack to manually assert stamina consumption for other mod weapon attacks, but I haven't tried the Sword Blocking Mechanic mod out. I can test that a bit in the future to see how easy it would be to integrate with my mod. However, as of now it will not work since my looks specifically for blocking with any item labeled as "shield"

All the parts on my end are merged. Once ParCool's latest update is released, then this issue should be resolved.


Integrating ImOnline pallet via runtime upgrade fails.

Basically, when integrating ImOnline pallet as a runtime upgrade does not initialise the session keys for it. As a result, if it's integrated with ValidatorSet pallet the heartbeats are not sent all the validators get kicked out of the next session.

The solution to this is that you write your own custom migration.
struct IncludeImOnline;

impl OnRuntimeUpgrade for IncludeImOnline {
    fn on_runtime_upgrade() -> Weight {
        //set your keys
       weight
    }
}

And then set this IncludeImOnline as part of your Executive as custom runtime upgrade handler.

It's not the nicest solution, unfortunately, but I guess it's going to have to do.
I have tried to do this:
struct CustomOnRuntimeUpgrade;
impl frame_support::traits::OnRuntimeUpgrade for CustomOnRuntimeUpgrade {
    fn on_runtime_upgrade() -> frame_support::weights::Weight {
        <pallet_session::Module<Runtime>>::rotate_session();
        0
    }
}

Which should in theory update keys, but it does not do the initialisation bit.
It still feels somewhat weird that ImOnline pallet integration requires a custom migration to initialise the keys though. Any particular reason for it?

@bkchr an update: after running the wasm update on the two nodes I'm testing I started getting this:
2022-02-01 17:46:01 Parsing mdns packet failed: LabelIsNotAscii
2022-02-01 17:46:01 Parsing mdns packet failed: LabelIsNotAscii
2022-02-01 17:46:01 Parsing mdns packet failed: InvalidType(29)
2022-02-01 17:46:01 Parsing mdns packet failed: InvalidType(29)
2022-02-01 17:46:02 Parsing mdns packet failed: LabelIsNotAscii
2022-02-01 17:46:05 Parsing mdns packet failed: LabelIsNotAscii

That same node code works perfectly fine when running native afresh.

What you mean by this?

That same node code works perfectly fine when running native afresh.

What you mean by this?

I mean that if one runs the node code with no data - ImOnline works, but if one runs it via setCode - it starts throwing errors similar to above.

The one scenario I still need to test is trying the native (non-wasm) upgrade without deleting data.
What works:

Starting the node with new spec version and ImOnline integrated, that works, because session keys are initialised through genesis hook

What does not work:

Integrating ImOnline and uploading the new wasm runtime code via setCode.

What I did not test:

What happens if I upgrade the native node code too.

Integrating ImOnline and uploading the new wasm runtime code via setCode.

As I said above, you will need some migration to add the keys.

It still feels somewhat weird that ImOnline pallet integration requires a custom migration to initialise the keys though. Any particular reason for it?

Why is that weird? How should it know the keys?

https://github.com/paritytech/polkadot/blob/70e53b30b0915a6144ee177d1cb6091a78ebe5e4/runtime/rococo/src/lib.rs#L192 here you see some similar migration for Rococo.

https://github.com/paritytech/polkadot/blob/70e53b30b0915a6144ee177d1cb6091a78ebe5e4/runtime/rococo/src/lib.rs#L192 here you see some similar migration for Rococo.

Going to try to adapt that to our needs, thanks.

Why is that weird? How should it know the keys?

Why not initialise the keys on_new_session if they haven't been previously initialised?

You could for example add the pallet, but "disable" aka provide an implementation that does nothing for https://github.com/paritytech/substrate/blob/0a92e3eeb6568cee34bcccdf34529f77db767c46/frame/im-online/src/lib.rs#L355-L359
And then in a later upgrade, fill that type with something that slashes.

Going to try that, see if that solves the issue. Thanks!

I'm still not sure if that will resolve the original issue with keys not being initialised, but if they do get set on rotation - that might work out.

I said it already and will say it again, you will need a migration that intializes the keys. I mean you can only use some dummy key for all and will need to request all validators to set a new key, but there is no way around this.

I said it already and will say it again, you will need a migration that intializes the keys. I mean you can only use some dummy key for all and will need to request all validators to set a new key, but there is no way around this.

Yep, understood!

Ah, I guess I have to do author.rotateKeys and then session.setKeys.
Unfortunately this results in a Codec error for some reason. Investigating.

Polkadot UI Keys overridden with SessionKeys3
While trying to submit the rotateKeys output to session.setKeys:
1002: Verification Error: Runtime error: Execution failed: Wasmi(Trap(Trap { kind: Unreachable })): RuntimeApi, Execution failed: Wasmi, Trap, Trap { kind: Unreachable }

Interestingly, that same thing happens when I try to run purgeKeys. It reports a codec error. Investigating

I'm guessing it might have to do with the polkadot.js version incompatibility with the substrate 3 we're running. Going to try an older version and report here if it all works out. Would be nice to have a fully documented solution, even if in a github issue.

Here's a pallet_session::Config snipper for anyone who might find all this info useful:
impl pallet_session::Config for Runtime {
    type SessionHandler = <opaque::SessionKeys as OpaqueKeys>::KeyTypeIdProviders;
    type ShouldEndSession = pallet_session::PeriodicSessions<SessionPeriod, SessionOffset>;
    type SessionManager = ValidatorSet;
    type Event = Event;
    type Keys = opaque::SessionKeys;
    type NextSessionRotation = pallet_session::PeriodicSessions<SessionPeriod, SessionOffset>;
    type ValidatorId = <Self as frame_system::Config>::AccountId;
    type ValidatorIdOf = pallet_validatorset::ValidatorOf<Self>;
    type DisabledValidatorsThreshold = ();
    type WeightInfo = ();
}

@ruseinov nice for having solved and it :) and much better to have reported back :) ty

dps://p?url=https%3A%2F%2Fdetail.m.tmall.com%2Fitem.htm%2F_____tmd_____%2Fpage%2Flogin_jump%3Frand%3DS3WxGHAgAt756EpznwfNzJq2AFA2qBNla3j6EINUS8We9dazM_iKElp8DwVSHZUevpC41Bx7RzivXIj9RnZgdg%26_lgt_%3D87b4cd7292add4d1ad19620c933348ba___151901___9020e8fabcd48bdb71e3dbbf86ea2e8b___99083bda5d56ec87266c4ce0569daf06d9efd52f47f617f024cf50637fbdfbbae16115a68e64e9bc5e9dadbea0db0b394f577549a96e3db10daaf43b1b7c335a4e94fda0166db6adec8b2bda2da5e36089e343e0ca39bb97bf99be920e3563f2747c42bf8b8e7c9854d60dda9c043dcd%26x5referer%3Dhttps%253A%252F%252Fdetail.m.tmall.com%252Fitem.htm%253Fspm%253Da215s.7406091.recommend.12%2526id%253D599669047542%2526scm%253D1007.18975.227744.0%2526pvid%253D64fecf39-3c66-4f7a-b536-5dd6294d8cdf%2526utparam%253D%25257B%252522ranger_buckets_native%252522%25253A%252522%252522%25252C%252522x_object_type%252522%25253A%252522item%252522%25252C%252522mtx_ab%252522%25253A9%25252C%252522mtx_sab%252522%25253A0%25252C%252522scm%252522%25253A%2525221007.18975.227744.0%252522%25252C%252522x_object_id%252522%25253A%252522599669047542%252522%25257D%2526bbid%253Dundefined%2526isNew%253Dfalse%2526downgradesource%253Dh5_2%2526isH5SkuDegrade%253Dtrue%26e%3DWSLaU9ONkio2T0z6ig4HM019M0stqi_KCwc8Eko0uS31EIIB_uW_i4YCcm_VoFIlEiM_lSG_bZQpinvSPRT_-ePt74YTAbCzbcxOcXXKfgOqBA0GlwnHSl160FxxSJ7nTv41e33e2mQtwdmaYzj4cxzPGqKJV_Q9WF43S76Spp1Fdxpz2iymAVxvN2bhNbGapabsGXJw0wmZN7YocbqocZ_Z-jQYenEtgEAPOA_j3M-OkYt45Gx9Je6E3iYaIOScP-FwmFZb-EzGhuW0odmMIpUkR2qKV64v%26type%3D2%26slk_gid%3Dgid_er_er&slk_sid=OO37FPfa7EACAXWfxOYaW87y_1648371210463

发件人: Bastian Köcher @.>
发送时间: 2022年2月11日 23:12
收件人: paritytech/substrate @.>
抄送: Subscribed @.***>
主题: Re: [paritytech/substrate] Integrating ImOnline pallet via runtime upgrade fails. (Issue #10770)
I'm still not sure if that will resolve the original issue with keys not being initialised, but if they do get set on rotation - that might work out.
I said it already and will say it again, you will need a migration that intializes the keys. I mean you can only use some dummy key for all and will need to request all validators to set a new key, but there is no way around this.
—
Reply to this email directly, view it on GitHubhttps://github.com/paritytech/substrate/issues/10770#issuecomment-1036738442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQH4D34SQ4O2EL5EPO5X663U2WJW7ANCNFSM5NI2SHYQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Delete sky_snapshot from engine repo

After https://github.com/flutter/flutter/pull/8631 is submitted, Flutter will not be using the sky_snapshot binary anymore. We should delete it from the engine repo after Fuchsia stopped depending on it.
@abarth Who's the contact point on Fuchsia's side for migrating them off sky_snapshot?

@chinmaygarde would know who to talk to, or @pylaligand would.

This is actually completed. Marking as closed.


feat: add support for eslint v7

:tada: This PR is included in version 7.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add migration Instructions to Wiki

I'm currently updating one of my projects to this version of friendsofsymfony1/symfony1. Currently everything went pretty easy, so thanks for your great work! My plan is to migrate ~10 more legacy projects, with significantly more code.
If you want, I would start updating the Wiki with install and upgrade instructions.

It would be great if you could write a proper summary of the migration process. That could close issues #260 and #244

Sounds great, thank you! Maybe updating https://github.com/FriendsOfSymfony1/symfony1/blob/master/UPGRADE.md in a pr with any advices and hints?

One of my projects needs to be migrated, I will do this issue.

First draft
https://github.com/FriendsOfSymfony1/symfony1/wiki/Migrations

@connorhu that's a good start.


support ArrayBuffer, TypedArray and Array of Number.

modify WebSocket Server supported ArrayBuffer, TypedArray and Array of Number.

PR #366 comments apply there.
Great PR by the way!

I will rewrite code after merge #366.

PR #366 has been merged.

I tried write comment.
    // WebSocket must specify opcode when send frame.
    // The opcode for data frame is 1(text) or 2(binary).

If this comment is crazy English, do you modify comment.

Thanks You so much!
I've bumped manifest version and updated webstore item at https://chrome.google.com/webstore/detail/websocket-server-test/pkbpddppnkjmlbgliipgmhjeialadokj

I found missing link in Chrome Web Store.
place "作成者: Chrome App Samples" by Japanese.
current link -> https://github.com/GoogleChrome/chrome-app-samples/tree/master/websocket-server
correct link? -> https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/websocket-server
screenshot

forcus link

Just fixed it. Thanks!


On navbar, click on to navigate home page issue

On navbar, after clicking on the text BookShelf it should redirect to home page. But whenever it is already on home page, after clicking on that, it is reloading.

Fixed on PR


No attribute 'StatefulBrowser'

Hello. I have the latest version of MechanicalSoup installed (0.6.0) and python 3.5
I try to use StatefulBrowser like this:
import mechanicalsoup
browser = mechanicalsoup.StatefulBrowser()

And I get the exception:
Traceback (most recent call last):
  File "main.py", line 12, in <module>
    browser = mechanicalsoup.StatefulBrowser()
AttributeError: module 'mechanicalsoup' has no attribute 'StatefulBrowser'

Please see other issues about the same message posted here.


[Question] When using direct parsing, what happens if a key in the JSON is not in the struct?

Let's say we have struct B. B has three attributes. Now let's say I want to parse_into a string s with 4 keys, and 3 of them are attributes of B. Will the parsing succeed?

This is considered an error by the parser.

Is there a way to turn it off? I have some JSON with some extra keys I use for logging purposes, but shouldn't matter to the underlying struct, as it could change. As far as I can tell, both glaze and daw_json_link support this, but I would like to not have to add another dependency (I'm only direct parsing for some of the JSON strings).

The way to allow missing keys is to use an optional as the member's type. E.g.
struct S {
  int n; // required
  std::optional<std::string> s; // not required
};

If that doesn't work for you, you can write a tag_invoke overload and convert with value_to.

As it turns out, I can rework my system to not have any unused keys, but that could be useful if it later becomes a hard dependency. Thanks.


Explore how to make work with HTML streaming

Currently the rendering if a single tree is sync - well async in terms of it returning a promise, but for all intents and purposes, it's still one big sync process. We should explore how we can stream the output as components are rendered.

We're currently working on other ways to make things compatible with SSR, such as a single base class that provides fallbacks when in node and then each framework is responsible for rendering to string, or streaming, thus taking the onus off of any sort of SSR library. This will likely make the SSR lib unnecessary when used in production, and only for testing web components in environments like Jest.


Code Auditor - Broken Links

Hi @christianmorfordwaitessw ,
do you know why when I do curl https://www.ssw.com.au/rules/rules-to-better-javascript-and-jquery I get this html here (see the section is hidden)
Why is it hidden? it contains a link to the broken link reported below

AB#59978

many of the reported broken links are because of this issue . CodeAuditor can't detect the html is "hidden"

Hi @nvhoanganh,

do you know why when I do curl https://www.ssw.com.au/rules/rules-to-better-javascript-and-jquery I get this html here (see the section is hidden)
Why is it hidden? it contains a link to the broken link reported below

This hidden section is the blurb of the rule or the intro text. This allows us to use the filters at the top to show and hide these HTML sections with View Title/Blurb/Everything.

Figure: View Blurb - https://www.ssw.com.au/rules/rules-to-better-javascript-and-jquery

Figure: HTML section is visible when using the View Blurb filter

Figure: View everything filter - https://www.ssw.com.au/rules/rules-to-better-javascript-and-jquery

Figure: Blurb HTML section is hidden when using the View Everything filter


fix always diff in testdata

Describe the PR
diff comes out for every go test

Codecov Report

Merging #168 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #168   +/-   ##
=======================================
  Coverage   89.04%   89.04%
=======================================
  Files           5        5
  Lines         913      913
=======================================
  Hits          813      813
  Misses         62       62
  Partials       38       38

Continue to review full report at Codecov.

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


Same parameter in path and requestBody

Is it possible to make sure the same generated path parameter also comes back in an attribute in the requestBody before this is send to the server.
This is for example required for JSON:API requests:
https://jsonapi.org/format/#crud-updating
Could this be possible with hooks for example?
I have setup links so the id from the response of the POST request is in the parameter of the PATCH request, but i can not seem to get the id in some part of the requestBody changed.
For example i tried the example below but the requestBody is not changed
    UpdateDocument:
      operationId: updateDocument
      parameters:
        id: '$response.body#/data/id'
      requestBody: '$response.body'

Schemathesis command:
	schemathesis run --junit-xml=junit.xml --stateful=links --hypothesis-suppress-health-check=too_slow
	--hypothesis-max-examples=3 --store-network-log=schemathesis-log.yaml --checks all --verbosity \
	--hypothesis-verbosity=quiet --hypothesis-deadline=None --hypothesis-phases=reuse,generate,target,shrink \
	--base-url=http://localhost/api dist/document-api.yaml

Hi @m-develops
Thank you for reporting this, and sorry for the late reply. Unfortunately, there is no direct way to do so in CLI at the moment.
I believe that it could be done via a hook planned in #700 or similar. Probably from the Hypothesis point of view, it would be better to have a hook that will allow the user to add a map to the strategy. May be some before_generate_case hook similar to other before_generate_* hooks:
@schemathesis.hooks.register
def before_generate_case(context, strategy):

    def tune_case(case):
        if context.operation.method == "PATCH" and context.operation.path == "/users/":
            case.path_parameters["id"] = case.body["data"]["id"]  # Or vice-versa
        return case

    return strategy.map(tune_case)

I'll work on this hook soon.
Re: links. It is a bug :( I forgot to process the collected body variants; now, only non-body parameters are processed in CLI. Additionally, '$response.body' is parsed into a string, which is wrong and should preserve the original body type - otherwise "{}" will become "\"{}\"".  I'll create separate issues for these problems.

All the mentioned changes are implemented in Schemathesis 3.5.0. The hook from my previous comment can be attached like this:
schemathesis --pre-run hooks run ... # other CLI options & arguments

Assuming hooks.py available in the directory where schemathesis is invoked.
Feel free to open a new issue if those changes aren't sufficient for your use case.


Non compressed audio output

I found that output audio streams non compressed as WAVE format, that uses 1.6 Mbits of local network. That may cause sound lags when wifi network is not clean. Can you change it to MP4 or MP3?

Better that way for streaming FLAC or 24-bit songs, that's one of the Chromecast goals


Add e2e tests for IpAddress, Prefix, and IpRange

What would you like to be added?
Add e2e tests for IpAddress, Prefix, and IpRange. Focus on the happy path, and for both IPv4 and IPv6
Why is this needed?
Cover happy path, to improve code stability and reduce manual testing time before merging every time

Test cases for PrefixClaim https://github.com/netbox-community/netbox-operator/issues/91


serializers.items ... module object has no attribute 'items'.

pydal\base.py line 477. for k, v in self.serializers.items():
There has been some discussion (web2py-users) about an issue in April, but its been throwing this error on the latest version.

Hi @Sashley, I'm sorry about that. The issue comes from a change in pyDAL's API from v15.05.
So, if you're using weppy 0.3, just install pyDAL 15.03 manually with pip before installing weppy.
0.4 (should be released by the end of the month) will be compliant with latest pyDAL.


Would you help check the expression tree parsing?

Hi @theY4Kman ,
Have a good day.
I have a trouble to parse the dendrol outputted python structures to AND-only logic. More details here (https://stackoverflow.com/questions/56849478/how-to-pprse-one-stix-pattern-to-generate-mulit-patterns-for-or-logic). Would you give me some help ?

I closed this ticket since this is not dendrol issue.  dendrol is great parsing tool which helps me a lot.
Any one has any idea about this issue is highly welcomed.  :)

I just saw this. Interesting usage; I wonder what you're up to ;)
I posted an answer on the StackOverflow question, for internet points: https://stackoverflow.com/a/56910033/148585


Update to<EMAIL_ADDRESS>

Includes a few fixes already in 2.9.9 for presentation and a fix to tile generation that requires a tile version bump.

@calebmshafer Linux build is failing on that same test that was failing on master. Cherry-picked the fix (#426) onto this branch.


Nuxt SSR build: Lexical error when importing default theme scss version

Describe the bug
I'm using Nuxt in SSR mode. To prevent console warnings about css map not found, I am importing theme style from lib/theme/default.scss instead of theme/default.css. Like mentioned here: https://github.com/NightCatSama/vue-slider-component/issues/114#issuecomment-891886672
When doing a build, it fails with the following error (also see screenshot below):
JisonLexerError: Lexical error on line 1: Unrecognized text.
Erroneous area:  $size * 0.5
PostCss seems to doesn't like the plain sass vars inside a calc function in _triangle.scss (see screen below).
Writing it as border-width: calc(#{$size} * 0.5); fixes the problem.
Additional context

Offending line:

Environment

OS & Version: macOS
Vue version: v2.6.14
Nuxt version: v2.15.8
Component Version: 3.2.18

calc(#{$size} * 0.5) compiled css will be calc(10px * 0.5).

You can also use interpolation in a calculation. However, if you do, nothing in the parentheses that surround that interpolation will be simplified or type-checked, so it’s easy to end up with extra verbose or even invalid CSS. Rather than writing calc(10px + #{$var}), just write calc(10px + $var)!

https://sass-lang.com/documentation/values/calculations

This error can be bypassed by referring directly to the css file.

@NightCatSama thx for the quick reply. Really appreciate it!
When using the css file, I get warning in console about missing css source map (in dev mode). Like mentioned here: https://github.com/NightCatSama/vue-slider-component/issues/114#issuecomment-891886672

DevTools failed to load source map: Could not load content for http://localhost:3000/default.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
There is a reference-comment to a source map file at the bottom of the css file.
My workaround: I copied said css file into my src dir, removed the comment and use this now.
If you know a better way, I'm all ears :)

BTW: great slider, really enjoying it!

I can't think of a better solution.
Maybe can copy default.scss and triangle.scss for local use, that is also a recommended way to customize the theme. 😃

Okay, then I'll add more comments to our project so teammates know why this was done. 😄


Travis: Test linux and osx builds

Currently requires explicit setup of the python env via homebrew and apt.

Looks great


BLD: download_openblas for musllinux closes #17321

This is a draft fix for #17321. However:

It bumps the OpenBLAS version to 0.3.20, a consequence of the build OpenBLAS binaries available from https://anaconda.org/multibuild-wheels-staging/openblas-libs. It should be possible to use 0.3.19 as well. Changing OpenBLAS versions has wider consequences.
It assumes that packaging is installed.

Tagging @mattip as he would be interested in this with his work on musllinux wheels for numpy (or OpenBLAS wheels in general).

Is superseded by #17950.


Add Example Usage

what

Add example invocation

why

We need this so we can soon enable automated continuous integration testing of module

addressed in https://github.com/cloudposse/terraform-aws-iam-system-user/releases/tag/0.5.0


Deployment metrics not coming up

Checklist:

[x ] I've searched in the docs and FAQ for my answer
[x] I've included steps to reproduce the bug.

Describe the bug
Deployment metrics are not coming up on deployment metrics page for any of the applications
To Reproduce

Deploy any app to a production designated environment.
Go to deployment metrics page

Expected behavior
Deployment metrics should show up upon selecting correct environment
Current behavior
No deployments found error is displayed
Screenshots

Logs
{"level":"error","ts":1651246099.5784636,"caller":"pkg/IngestionService.go:222","msg":"error in saving initial event ","event":{"Id":0,"AppId":74,"EnvironmentId":39,"CiArtifactId":16798,"ReleaseId":78,"PipelineOverrideId":44997,"ChangeSizeLineAdded":0,"ChangeSizeLineDeleted":0,"TriggerTime":"2022-04-29T15:28:19.571861217Z","ReleaseType":0,"ReleaseStatus":0,"ProcessStage":0,"CreatedTime":"2022-04-29T15:28:19.578251434Z","UpdatedTime":"2022-04-29T15:28:19.578251494Z","LeadTime":null},"err":"pg: database is closed","stacktrace":"github.com/devtron-labs/lens/pkg.(*IngestionServiceImpl).saveAppRelease\n\t/go/src/github.com/devtron-labs/lens/pkg/IngestionService.go:222\ngithub.com/devtron-labs/lens/pkg.(*IngestionServiceImpl).ProcessDeploymentEvent\n\t/go/src/github.com/devtron-labs/lens/pkg/IngestionService.go:59\ngithub.com/devtron-labs/lens/client.NatsSubscriptionImpl.Subscribe.func1\n\t/go/src/github.com/devtron-labs/lens/client/NatsSubscription.go:47\ngithub.com/nats-io/nats%2ego.(*Conn).waitForMsgs\n\t/go/src/github.com/devtron-labs/lens/vendor/github.com/nats-io/nats.go/nats.go:2677"}
Paste any relevant application logs here.

There were multiple issues with PG upgrade. All are fixed now. Reducing the estimate to 1 as the actual effort was not more than 1 day.

Not all deployment being shown under deployment history page were getting showed up on deployment metrics. Put some time to investigate it and it turned out to be some data mismatch issues between deployment history and deployment metrics related tables. Data mismatch could be because of nats/network connection or some other bug. This needs to be investigated in a separate ticket. Have increased the efforts put back to 2 again. Closing this ticket.


Configurable route paths

According to the docs, "By default, if you don't pass any route, we'll use some kinda slug that is a filepath of your file with a route format."
I think there should be an overridable function inside doczrc.js which would allow transforming file paths based on custom rules:
// doczrc.js
export default {
  transformRoute: (extensionlessRelativeFilePath) =>
    `/${extensionlessRelativeFilePath.toLowerCase().replace(/\//g, '-')}`,
};

For instance, the transformRoute function could receive src/components/Box as an example and transform it to /components/box:
// doczrc.js
export default {
  transformRoute: (extensionlessRelativeFilePath) =>
    extensionlessRelativeFilePath.includes('/components/') &&
      `/components/${extensionlessRelativeFilePath.split('/').slice(-1)[0].toLowerCase()}`,
};

Returning a falsey value would cause the default slug transform to be applied.

want this

Yep this is a great idea, happy to help/review/merge if someone would like to submit a PR for it.

Or use the default Gatsby routing which does segmented paths which are imo nicer than hyphenated everything


Adding mistral 7B to README.md

Thank you for submitting this! Mistral already got added w/ @mchiang0610 's commit 5f4008c2.

Linking to that commit for the curious: https://github.com/jmorganca/ollama/commit/5f4008c29697c6248ddbe1fcc6b6053a210d8e5e


Blocked "*"

Hi,
Is it possible to block adding * to nickname?
Example: /lp user NICK permission set *

LP doesn't manage chat at all.
Please check your chat plugin's configuration file.

Hey may also mean, blocking the usage of /lp user <user> permission set *, I think.
If so, then Argument-based-command-permissions with Verbose would be your best try.


[1.8.x] Refs #27132 -- Added pylibmc to test requirements.

Backport of 5d978c46216df53884fbca590a9abe660a739774 from master
See: https://github.com/django/django/pull/7168#issuecomment-242986039

So we don't have to fix the pylibmc test failures on 1.8/1.9 (there are some conflicts when backporting your recent commits that I couldn't quickly resolve), I'm going to put this in the Jenkins settings file.
if django.VERSION < (1, 10):
    del CACHES['pylibmc']


[GHSA-347x-877p-hcwx] Information Disclosure in Password Reset

Updates

Affected products
References
Source code location

Comments
Referenced committed fix

Hi there @ohader! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


ion-datetime does not allow to select 31 day of a month

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x] 4.x
"@ionic/core": "0.1.5-2",

I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request

Current behavior:

The month selector prevents non-valid day of month inputs but uses an old month to determine day of month range.
Expected behavior:

Being able to select the correct day of month after changing the month.
Steps to reproduce:

Select a month with 30 days per month e.g.: Apr 30, 2018
Close with "Done"
Try to select a date with 31 days e.g. March is not possible.
Related code:

<ion-item>
  <ion-label>Date</ion-label>
  <ion-datetime></ion-datetime>
</ion-item>

I have same problem. But I want to add that this problem is only then I change mouth to one before or after. For example from Feb to March or from Feb to Jan but if I change from Feb to May it works in correct way.

Same here

Same here

Hi there,
Thanks for opening an issue with us. I am going to close this for now, but we will be re-evaluating the ion-datetime functionality and bugs soon during which we will take a closer look at this issue.
Thanks for using Ionic!


List actions that cause Task fault to be "observed"

This page makes it clear that exceptions thrown from Tasks should be "observed", but it is not clear what actions actually "observe" it.  As far as I know, the list of ways includes :

awaiting a task
Calling Wait()
Accessing Result property
Accessing Exception property

@stephentoub's original TPL-in-net45 announcement (https://devblogs.microsoft.com/pfxteam/task-exception-handling-in-net-4-5/) gives some examples but does not have a complete list.  Is there more?

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

ID: 25bdb110-7ada-3817-bc40-9c11cab6513c
Version Independent ID: 9476dc46-d4f0-e7f4-c21e-faaafe0433ea
Content: Exception handling (Task Parallel Library)
Content Source: docs/standard/parallel-programming/exception-handling-task-parallel-library.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

It's anything that provides the exception to the consumer, which means direct access via Task.Exception or the propagation of the exception via .Wait/.Result/await/.GetAwaiter().GetResult().

Another doc page mentions that standalone discard also observes/suppresses task exceptions, is that correct? https://github.com/dotnet/docs/blob/b5ad8e857b35819d5b6a071bed1e4cc4da56495e/docs/csharp/discards.md#a-standalone-discard

Another doc page mentions that standalone discard also observes/suppresses task exceptions, is that correct?

If it means:
_ = task;

then, no, the doc is wrong.  If it means:
_ = task.Exception;

then, yes, that's fine, but it has nothing to do with the discard, but rather the access to Exception.


group6: add unit-test for proxy/useProxy

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1822      +/-   ##
==========================================
+ Coverage    56.3%   56.52%   +0.21%
==========================================
  Files         200      200
  Lines       15657    15659       +2
==========================================
+ Hits         8816     8851      +35
+ Misses       5745     5713      -32
+ Partials     1096     1095       -1

Flag
Coverage Δ

#critest
33.49% <ø> (+0.01%)
:arrow_up:

#integrationtest
37.66% <ø> (ø)
:arrow_up:

#unittest
20.52% <ø> (+0.19%)
:arrow_up:

Impacted Files
Coverage Δ

daemon/containerio/cio.go
62.5% <0%> (-1%)
:arrow_down:

cri/v1alpha2/cri.go
66.13% <0%> (+0.17%)
:arrow_up:

daemon/mgr/container.go
53.46% <0%> (+0.31%)
:arrow_up:

ctrd/container.go
50.17% <0%> (+1.37%)
:arrow_up:

ctrd/image_proxy_util.go
50% <0%> (+40.62%)
:arrow_up:


Win32 - Ensure owner topmost flag is set if its topmost when showing a owned window

What does the pull request do?
If a window with an owner is being shown, and the owner is Topmost, ensure the flags for topmost window is set for that owner.
What is the current behavior?
Topmost flag on owner isn't being respected for owned windows when being shown, making them appear behind the owner.
This is the behavior currently

Main Window.Topmost is true
Main Window shows, Topmost flag is set
Main Window remains topmost
Child window is created, shown with main window as owner
Child window appears behind main window
Main window still has Topmost flag and appears above every window. Child doesn't have topmost exstyle flag

On Wpf, child will appear above main window in 5, and will have the topmost ex style flag in 6, but not the Topmost window flag
What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?
If the owner window is Topmost, the HWND_TOPMOST is set once more before the owned window is shown. This only needs to be set once.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Seems like integration tests are failing


Interval trainer app

Hi there. This is my first app. Just playing around but I think it could be quite useful to people that likes to train using interval training. Feel free to make any comments if something is not up to standards.

Looks great - thanks for submitting this!

Looks great - thanks for submitting this!


[3.x] Sort and group theme properties in docs, improve formatting for theme and enums

A backport of https://github.com/godotengine/godot/pull/55520, adjusted for 3.x.
It's mostly the same, differences are mostly because of a different theme and different text rendering logic in some places.

Thanks!


Matrix Radio Buttons do not scroll properly with React platform

Are you requesting a feature, reporting a bug or ask a question?
Reporting a bug
What is the current behavior?
When rendering a survey using the React build, if the survey is placed in a container that scrolls and the survey has  a matrix with radio buttons, the radio buttons will not scroll properly.
It appears that the  element that contains the  element for the radio button has an inline styling of "position : absolute" which is causing the rendering error.
I believe that this can be fixed by removing the "absolute" styling from line 81 of the "reactquestionmatrix.tsx" file.
What is the expected behavior?
The radio buttons should scroll properly to maintain its position in the survey.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here

Specify your

browser: chrome
browser version: latest
surveyjs platform (angular or react or jquery or knockout or vue): react
surveyjs version: latest (pulled from main)

@tscott1213 It has been fixed on Oct 10 with this commit: https://github.com/surveyjs/surveyjs/commit/9a288d1e9c29683a945b68e5df53cea4e05cbe33#diff-09d28bb65676639fc1544d1e8c1e0556

Hi Andrew,
That actually didn't fix it.
If you remove the absolute positioning from this line, then it is fixed:
'.sv_qstn label.sv_q_m_label': 'position: absolute; margin: 0;'
Thank you.
Todd

@tscott1213 ok I will try to find out, why we use here absolute position. If I do not see the reason, I remove it.
Thank you,
Andrew

@tscott1213 Hello! Sorry for the late answer. I think that we don't have this problem with our new theming. Could you please check it https://surveyjs.io//Examples/LibrarySinglePage?id=questiontype-matrix&platform=Reactjs&theme=default ? In "default" and "bootstrap" themes it looks ok

Parent <td> has relative position now. So there is no scrolling issue for me.


Fixes #543 Docker multi-stage build for native image should not cache…

This PR fixes issue #543
Motivation
This tiny change reduces the size of the final Docker image, since it does not include the package tar downloaded by apk update within the Docker image. It is a common practice to avoid unnecessary data in the Docker image.
Description
Using version 3.5.3 of the Gradle plugins produces a DockerfileNative such as.
FROM ghcr.io/graalvm/native-image:ol7-java17-22.2.0 AS graalvm
WORKDIR /home/app
COPY layers/libs /home/app/libs
COPY layers/classes /home/app/classes
COPY layers/resources /home/app/resources
COPY layers/application.jar /home/app/application.jar
RUN mkdir /home/app/config-dirs
COPY config-dirs/generateResourcesConfigFile /home/app/config-dirs/generateResourcesConfigFile
RUN native-image -cp /home/app/libs/*.jar:/home/app/resources:/home/app/application.jar --no-fallback -H:Name=application -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.configure=ALL-UNNAMED -H:ConfigurationFileDirectories=/home/app/config-dirs/generateResourcesConfigFile -H:Class=ch.onstructive.www.Application
FROM frolvlad/alpine-glibc:alpine-3.12
RUN apk update && apk add libstdc++
COPY --from=graalvm /home/app/application /app/application
ENTRYPOINT ["/app/application"]

In the final stage the Dockerfile updates the apk index and adds libstdc++ to the Docker image. The index isn't thrown away and remains in the image.
Instead of calling
RUN apk update && apk add libstdc++

the plugin should add the --no-cache option, which will purge the data afterwards. (see https://stackoverflow.com/a/49119046/960875)
RUN apk --no-cache update && apk add libstdc++

can you explain the motivation and create an issue describing it that this PR fixes?

@graemerocher Of course. I have updated the PR description.

Can you rebase this PR onto 3.6.x so that it makes it into the next patch release? Also please make sure to fix the tests which verify the contents of the docker files.
Thanks for your contribution!

@melix it's now 3.6.x based.
Regarding the tests. It seems that there are no tests that cover the dockerfileNative task. As far as I understud the plugin MicronautDockerPlugin requires the plugin io.micronaut.graalvm in order to register the dockerfileNative task.
I tried to implement a test to cover it, but I'm guess I missed something, since it cannot find the io.micronaut.graalvm plugin.
I'd love to contribute further tests and here is what I did so far.
class NativeImageDockerfileSpec extends AbstractGradleBuildSpec {

    @Issue("https://github.com/micronaut-projects/micronaut-gradle-plugin/issues/543")
    def "Run apk update with --no-cache option"() {
        given:
        final String dockerfileNativeTaskName = 'dockerfileNative'
        settingsFile << "rootProject.name = 'hello-world'"
        buildFile << """import io.micronaut.gradle.docker.DockerBuildOptions

            plugins {
                id "io.micronaut.minimal.application"
                id "io.micronaut.docker"
                id "io.micronaut.graalvm"
            }

            micronaut {
                version "3.4.0"
            }

            $repositoriesBlock

            mainClassName="example.Application"

            tasks.withType(DockerBuildOptions).configureEach {
                targetWorkingDirectory = "/home/alternate"
            }

        """
        testProjectDir.newFolder("src", "main", "java", "example")
        def javaFile = testProjectDir.newFile("src/main/java/example/Application.java")
        javaFile.parentFile.mkdirs()
        javaFile << """
package example;

class Application {
    public static void main(String... args) {

    }
}
"""

        when:
        def result = build(dockerfileNativeTaskName, '-s')

        then:
        def dockerfileTask = result.task(":${dockerfileNativeTaskName}")
        dockerfileTask.outcome == TaskOutcome.SUCCESS

        and:
        def dockerfile = new File(testProjectDir.root, 'build/docker/main/Dockerfile').text
        dockerfile == """<DockerfileNative content to be compared>
"""
    }
}

Can you show me the directions? How can I make this test get working?

Thank you @saw303 ! I have simply updated existing tests, which lived in the functionalTests source set. See 1611d51417f6f99899020f3ef78460249d7258ce

@melix Ah I see. I missed these. Thank you


Insert ard after qmmm check

Now insert ard is independent with QM/MM calculation.
First
In some case the QM/MM calculation will fail but these job still generate the further generations.
This is not reasonable right!?
Second
The filter can not characterize the reactant overlap with the MM region.
These cases will fail in QM/MM calculation.
So, insert ard after QM/MM is more right way!!

QM/MM --> Insert ARD
Don't forget to add QM/MM bool into insert ard for non-catalytic reactions

Already done! #1


RNG-120: Fix security issues in serialization code for Random instances.

Coverage increased (+0.002%) to 99.481% when pulling 7f9a5a4bb750b3d8467cc30a82285439b6fee499 on aherbert:improvement-RNG-120 into b47c7c3164858e84485aa15d649039d5102bf130 on apache:master.


Add dtypes.void for UOps

You need to update codegen/* and remove the cast(DType, stuff in renderer/*.

I can take this up

Could I have a bit more detail on what needs to be done?

Also interested in this. Would be down to pair.

I would like to work with @jackhwalters  and @Lazarus42  on this issue. Its my first one also!

#6471


Create a build pipeline with Azure Pipelines

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: jamescorry2005 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Merging with master


fix test_server and reorganize requirements files

Hi! Before anything else, I would like to say I read all the code from this repo and I really enjoyed it. There is some few issue here and there (it seems some things like test_client.py worked well locally on the developer's machine -- but only there), but overall I realy liked how everything was made.
I'm happy I'm able to contribute back somehow! :)
So, with this PR one will:
1- Reorganize (and add missing packages to) requirements files in a quite standard way that allow not installing everything, including test libraries, all the time.
2- Fix test_server to use MuxRPCAPI instead of (I believe now deprecated) ssb.protocol.streams.stream_api.
3- Add .pytest_cache to .gitignore, since new versions of pytest now create this directory.
4- Comment out the blobs.get part on test_client.py, since this blobs is not previously saved/created (so this part didn't work on third parties machines).
(4) is not the best solution, I know, but for more hasty people, at least, the script won't crash in the end, appearing to have failed completely.
Thanks for your time! Let me know if you want some changes on this pull request.

Looks good. Thank you very much!


bug: Chiado has not transitioned to proof-of-stake

What
See https://docs.gnosischain.com/about/networks/chiado
"...it is the first network transitioned to Proof of Stake..."
I believe the current plan is to test the merge on Chiado before the mainnet, so this statement is probably not
correct.  (I'm willing to be be corrected myself if I've got this wrong!)

solved already. thanks @plato-gno !

Thank you @peter-gnosis for being a QA!!!


check d3d process with MS example

refactor code with d3d exmaple:
https://github.com/walbourn/directx-sdk-samples

 Refactor Engine

#11


[WIP] Split deploy steps in separate playbooks: part1

Step1:

Init-hosts
Container-engine

ci check this

I’m unable to comment in code as I’m on the cell
But the dpkg -l | grep you made in the Ubuntu. Wouldn’t it fail if you have python-apt but no python etc. ? (Just as an example)

@riverzhang is it ok to merge ?

/lgtm
/approve


125 molar amount missing in solution

Resolves #125
Summary by Sourcery
Add 'amount_of_substance' to the SolutionComponent class and enhance mass calculation logic. Improve description formatting for concentration fields in MolarConcentration.
New Features:

Introduce 'amount_of_substance' as a new quantity in the SolutionComponent class, allowing automatic calculation if mass and molecular mass are available.

Enhancements:

Improve the description formatting for 'calculated_concentration' and 'measured_concentration' in the MolarConcentration class for better readability.
Enhance the mass calculation logic in the SolutionComponent class to automatically compute mass if volume and density or amount of substance and molecular mass are available.

@schumannj Can you check if it works as intended? You can pull this branch and create solution entries.

Hi Sartak. I had a look at the code and it looks good so far. I will try out locally now.

I think NOMAD does not provide a way to keep track of what came from the user and what is written by the normalizer.
Every time the normalizer runs, self gives the current state (which usually contains data entered from the ELN). But it also might contain data from a previous normalization. Both of these data are indiscernible. You are right, this can be confusing. Ideally, quantities that are interactable should not have a lot of automation.
Currently mass and amount_of_substance can be changed by the normalizer. Do you think this can lead to confusion and we should remove some of the automation?

I find this is a difficult question. and really depends on how it is used. Initially I was thinking of having nomad calculate the mass from a desired concentration/amount_of_substance and then correcting the mass accoring to the real value that was measured on the balance. But maybe this is to much overthinking. I guess the most important thing is for the community plugins to represent the final data for publishing.

I just tested the branch. Looks in principle good. I noticed that when I create a solution with 1L of H2O and 1.5 mol NaCl, the mass of the total solution is only given as the mass of the solute.

Ah I see, there is a warning in the logs, it is missing the mass, of course. should this rather be an error? so it flags up more visibly? But maybe not, once the density is picked up from pubchem it should be resolved anyway.

Yeah, thing is we are not getting density from the PubChem, so you have to supply either the mass, or both volume and density, to calculate the mass

Oh why not? it is marked as a todo in the code. I thought this was planned.

Exactly, it depends on the external factors like temperature and pressure. So it's much safer to get this input from the user

Or they can simply add mass and volume. The final density of the solution will be computed based on these values for all the components.

Makes sense. Then you can remove the line 171.
The default value of density is a bit strange. In the main solution section it is g/ml, which is more standard compared to 'gram/liter'. I wondered why my solution is so light, with a density of 1

I will make all the units for density to be g/ml as it seems to be the standard

The options for the units of mass are very diverse, I have never seen all those crazy units, where are they suddenly coming from? has nomad.units been updated? but I cannot find mg or mikro gram. (Probably not an issue for here.)
I will approve the review. Looks good!

Ah yeah, there's a bunch of new empirical units. Like bag? No idea where they came from.


Encountering an issue where the code does not seem to be running

Hello, I would like to thank you for your excellent work. However, I encountered the following problem when I ran your code:
Global seed set to 23
Traceback (most recent call last):
File "/SceneInformer/scripts/train_lightning.py", line 247, in
trainer_kwargs["callbacks"] = [instantiate_from_config(callbacks_cfg[k]) for k in callbacks_cfg]
File "SceneInformer/scripts/train_lightning.py", line 247, in
trainer_kwargs["callbacks"] = [instantiate_from_config(callbacks_cfg[k]) for k in callbacks_cfg]
File "/SceneInformer/sceneinformer/utils/utils.py", line 22, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "/SceneInformer/sceneinformer/utils/utils.py", line 30, in get_obj_from_str
return getattr(importlib.import_module(module, package=None), cls)
File "/home/anaconda3/envs/sceneinformer/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'src'
How can this issue be resolved?
Thanks,

Hi! Thanks! There was a typo in the callback config (https://github.com/sisl/SceneInformer/blob/032c959eee4b6cf9fbd3f05883513c5f9200c06d/scripts/train_lightning.py#L217). It's been addressed now. Thanks for catching it!
We will be updating this repo with occlusion dataset processing scripts (it's quite complex, hence the delay).

The repo was updated!

Hello, I would like to thank you for your excellent work. However, I encountered the following problem when I ran your code:
Global seed set to 23 Traceback (most recent call last): File "/SceneInformer/scripts/train_lightning.py", line 247, in trainer_kwargs["callbacks"] = [instantiate_from_config(callbacks_cfg[k]) for k in callbacks_cfg] File "SceneInformer/scripts/train_lightning.py", line 247, in trainer_kwargs["callbacks"] = [instantiate_from_config(callbacks_cfg[k]) for k in callbacks_cfg] File "/SceneInformer/sceneinformer/utils/utils.py", line 22, in instantiate_from_config return get_obj_from_str(config["target"])(**config.get("params", dict())) File "/SceneInformer/sceneinformer/utils/utils.py", line 30, in get_obj_from_str return getattr(importlib.import_module(module, package=None), cls) File "/home/anaconda3/envs/sceneinformer/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1004, in _find_and_load_unlocked ModuleNotFoundError: No module named 'src'
How can this issue be resolved?
Thanks,

Hi. Can you please tell me which version of the dataset you are using, and which version of waymo-open-dataset-tf?


Calling with multiple bams with well-defined read groups

Hi,
I previously followed a GATK pipeline, which I have abandoned in favour of freebayes. However, one thing that did make sense to me in GATK, was the notion that the read group identifier should be the same for all reads run on the same flowcell and the same lane, i.e. we can expect these reads to have the same error distribution caused by sequencer cycle. The SM tag can then be used to differentiate reads from different samples that have been multiplexed into the same lane.
In freebayes, it seems that the read group ID tag uniquely identifies reads from a particular sample by also  (for instance) including the sample name in the ID tag. So in my case I have a BAM file with reads from the same sample, which was run across multiple lanes, and actually multiple flowcells, so I have read groups for each flowcell.lane combination:

@RG	ID:AC6K7AANXX.1	SM:02.OZ	PL:ILLUMINA	LB:ngs07_02.OZ
@RG	ID:AC6K7AANXX.2	SM:02.OZ	PL:ILLUMINA	LB:ngs07_02.OZ
@RG	ID:AC6K7AANXX.3	SM:02.OZ	PL:ILLUMINA	LB:ngs07_02.OZ
@RG	ID:AC8GC2ANXX.8	SM:02.OZ	PL:ILLUMINA	LB:ngs07_02.OZ

You'll notice the ID tag is <FLOWCELL>.<LANE>. I have another sample which was run on the same flowcell and same lanes, and it's read groups are set up like so:

@RG	ID:AC6K7AANXX.1	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC6K7AANXX.2	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC6K7AANXX.3	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC8GC2ANXX.8	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ

Currently (as stated in the docs) freebayes appears to require each of these read groups to be unique. Is there some way for freebayes to be updated to also use the SM tag to create unique read groups if duplicates are found. In this way the read groups will maintain compatibility with the GATK model of specifying read groups?
Many thanks for such an excellent piece of software!
Cheers,
Simon

When you try running freebayes you observe that there is one sample output
per read group? I believe this would be a serious bug so please let me
know. If not, then the bug is in the documentation and we need to resolve
that so that it correctly explains what it is doing.
On Tue, Jan 31, 2017, 10:51 AM simonohanlon101<EMAIL_ADDRESS>wrote:

Hi,
I previously followed a GATK pipeline, which I have abandoned in favour of
freebayes. However, one thing that did make sense to me in GATK, was the
notion that the read group identifier should be the same for all reads run
on the same flowcell and the same lane, i.e. we can expect these reads to
have the same error distribution caused by sequencer cycle. The SM tag
can then be used to differentiate reads from different samples that have
been multiplexed into the same lane.
In freebayes, it seems that the read group ID tag uniquely identifies
reads from a particular sample by also (for instance) including the sample
name in the ID tag. So in my case I have a BAM file with reads from the
same sample, which was run across multiple lanes, and actually multiple
flowcells, so I have read groups for each flowcell.lane combination:
@RG ID:AC6K7AANXX.1 SM:02.OZ PL:ILLUMINA LB:ngs07_02.OZ
@RG ID:AC6K7AANXX.2 SM:02.OZ PL:ILLUMINA LB:ngs07_02.OZ
@RG ID:AC6K7AANXX.3 SM:02.OZ PL:ILLUMINA LB:ngs07_02.OZ
@RG ID:AC8GC2ANXX.8 SM:02.OZ PL:ILLUMINA LB:ngs07_02.OZ
You'll notice the ID tag is .. I have another sample
which was run on the same flowcell and same lanes, and it's read groups are
set up like so:
@RG ID:AC6K7AANXX.1 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC6K7AANXX.2 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC6K7AANXX.3 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC8GC2ANXX.8 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
Currently (as stated in the docs) freebayes appears to require each of
these read groups to be unique. Is there some way for freebayes to be
updated to also use the SM tag to create unique read groups if duplicates
are found. In this way the read groups will maintain compatibility with the
GATK model of specifying read groups?
Many thanks for such an excellent piece of software!
Cheers,
Simon
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ekg/freebayes/issues/359, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI4EaUZ2f1OcoHXWyNTbnVQO3aSRCL7ks5rXxJHgaJpZM4LyesU
.

Hi Erik,
No, I observe just one sample output in total. What freebayes does do is ignore any remaining BAMs. If I specify the BAMs on the command line, freebayes does this silently (ie. it will output a VCF file for a single sample - the first BAM specified on the command line):
freebayes -f my_ref.fa 02.OZ.bam 03.OZ.bam
I will get a nice VCF for 02.OZ, but 03.OZ is ignored and does not appear in the output. If I instead specify both the files and the sample names like so and capture the debug output (note in the output below I ran this example on a small region for debug purposes):
freebayes -f my_ref.fa -L my.bams.txt -s my.samples.txt -d 2> fb.debug
I see this:

loading fasta reference my_ref.fa
Opening 2 BAM fomat alignment input files
done
Number of ref seqs: 69
will process reference sequence Supercontig_1.1:1..5000
Number of target regions: 1
ERROR(freebayes): sample 03.OZ  listed in sample file /home/sohanlon/fb.samples is not listed in the header of BAM file(s)

However the sample 03.OZ really does exist in the header of the 03.OZ.bam BAM file:

$samtools view -H 03.OZ.bam | grep ^@RG
@RG	ID:AC6K7AANXX.1	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC6K7AANXX.2	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC6K7AANXX.3	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC8GC2ANXX.8	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ

So I assume that freebayes does not like that the ID tag of the @RG fields are the same between the different samples (because they were run on the same flowcells and same lanes). It is the SM tag that differentiates them (you can see how my actual @RG lines are set up in my OP above).
As a workaround I am going to reheader my bam files so the @RG:Id for 03.OZ will look like this:
@RG	ID:AC6K7AANXX.1.03.OZ	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC6K7AANXX.2.03.OZ	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC6K7AANXX.3.03.OZ	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
@RG	ID:AC8GC2ANXX.8.03.OZ	SM:03.OZ	PL:ILLUMINA	LB:ngs07_03.OZ
But this will have the annoying side-effect that any tool in the GATK pipeline would not be able to include covariates at the level of flowcell lane in things like base quality score recalibration for instance. I hope my explanation makes sense?

So the rule you'd suggest would be to identify alignments by sample, read
group, and file, merging cases where sample and read group are the same?
Is there any way that this might cause problems for existing users?
On Tue, Jan 31, 2017, 2:36 PM simonohanlon101<EMAIL_ADDRESS>wrote:

Hi Erik,
No, I observe just one sample output in total. What freebayes does do
is ignore any remaining BAMs. If I specify the BAMs on the command line,
freebayes does this silently (ie. it will output a VCF file for a single
sample - the first BAM specified on the command line):
freebayes -f my_ref.fa 02.OZ.bam 03.OZ.bam
I will get a nice VCF for 02.OZ, but 03.OZ is ignored and does not appear
in the output. If I instead specify both the files and the sample names
like so and capture the debug output (note in the output below I ran this
example on a small region for debug purposes):
freebayes -f my_ref.fa -L my.bams.txt -s my.samples.txt -d 2> fb.debug
I see this:
loading fasta reference my_ref.fa
Opening 2 BAM fomat alignment input files
done
Number of ref seqs: 69
will process reference sequence Supercontig_1.1:1..5000
Number of target regions: 1
ERROR(freebayes): sample 03.OZ listed in sample file
/home/sohanlon/fb.samples is not listed in the header of BAM file(s)
However the sample 03.OZ really does exist in the header of the 03.OZ.bam
BAM file:
$samtools view -H 03.OZ.bam | grep ^@RG
@RG ID:AC6K7AANXX.1 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC6K7AANXX.2 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC6K7AANXX.3 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC8GC2ANXX.8 SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
So I assume that freebayes does not like that the ID tag of the @RG
fields are the same between the different samples (because they were run on
the same flowcells and same lanes). It is the SM tag that differentiates
them (you can see how my actual @RG lines are set up in my OP above).
As a workaround I am going to reheader my bam files so the @RG:Id for
03.OZ will look like this:
@RG ID:AC6K7AANXX.1.03.OZ SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC6K7AANXX.2.03.OZ SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC6K7AANXX.3.03.OZ SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
@RG ID:AC8GC2ANXX.8.03.OZ SM:03.OZ PL:ILLUMINA LB:ngs07_03.OZ
But this will have the annoying side-effect that any tool in the GATK
pipeline would not be able to include covariates at the level of flowcell
lane in things like base quality score recalibration for instance. I hope
my explanation makes sense?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ekg/freebayes/issues/359#issuecomment-276379507, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAI4Ed0Hkzg7H3svZOQtXUoESIFv9XrZks5rX0b5gaJpZM4LyesU
.

I seem to have some issue related to this problem.
$ ERROR(freebayes): multiple samples (SM) map to the same read group (RG)
 samples SF_Trt02 and SF_Trt03 map to SF
As freebayes operates on a virtually merged stream of its input files,
it will not be possible to determine what sample an alignment belongs to at runtime.

To resolve the issue, ensure that RG ids are unique to one sample
across all the input files to freebayes.

See bamaddrg (https://github.com/ekg/bamaddrg) for a method which can
add RG tags to alignments.

Is there any update on this thread?

I'm just going to throw my hat into the ring and say that our group was experiencing the same issue - we had prepped files for GATK and when running freebayes we encountered a 'duplicate ID' issue.  I think it would be valuable to at least have a optional flag that allows the user to select what piece of readgroup information to use as a unique identifier.  According to the GATK specification, Platform Unit (PU) seems to be the most specific specification, but Sample ID also makes sense to me.

Each sample (SM) can contain a number of read groups (RG). This has been a
typical usage of these tags for a long time. The alignments aren't tagged
with their sample, but with the read group. This is unfortunately how
things were done, because many tools were using read groupings for
recalibration or in their variant calling model, so sample was too coarse a
division.
Does your data setup require you to have multiple samples in the same read
group? Did you intend to do this? And if so, what is the reason for your
change in the interpretation of @SM and @RG?
Note that the GATK documentation isn't the standard for the BAM format. You
should refer to the specs here:
https://github.com/samtools/hts-specs
If you are having this problems, use a read group setter in Picard or
bamaddrg which the error message suggests you use. I'm not inclined to
change this behavior unless there has been a change to the standard.
On Thu, May 9, 2019 at 7:31 PM dminkley<EMAIL_ADDRESS>wrote:

I'm just going to throw my hat into the ring and say that our group was
experiencing the same issue - we had prepped files for GATK and when
running freebayes we encountered a 'duplicate ID' issue. I think it would
be valuable to at least have a optional flag that allows the user to select
what piece of readgroup information to use as a unique identifier.
According to the GATK specification, Platform Unit (PU) seems to be the
most specific specification, but Sample ID also makes sense to me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ekg/freebayes/issues/359#issuecomment-490995569, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABDQENHXFU5TMY54U7XKV3PURNYNANCNFSM4C6J5MKA
.

Thanks for the quick response!
We didn't intend to change the definition of any of the tags - we were just going off of what the GATK documentation says (which I now appreciate is NOT the standard).  In that case ID is .; SM corresponds to the actual sample individual/source; LB corresponds to the actual sample prep; and PU corresponds to ..
I take your point that @SM doesn't make much sense - my understanding was that GATK would use this as a group identifier for recalibration purposes in the absence of something more specific (eg PU).  We do indeed have some cases where we have multiple read groups within a sample, which in our case would be differentiated based on both the ID (the read groups came from different lanes) and PU.
Our issue comes from GATK defining ID as ..  This implies that different samples could have the same RG ID (in our case in different bam files corresponding to different samples) if they were multiplexed in such a way that different samples were processed in the same lane.  In this case being able to use something like PU would allow different read entities to be uniquely differentiated.
I know my discussion of GATK's practice isn't especially relevant to freebayes (and is probably frustrating), and the approach you've taken seems to make more sense TBH.  We're already in the process of re-naming our IDs to work with freebayes so it's not a huge issue by any means.  My intention was to just add my support to the list of other uses who have encountered the same issue/circumstances.

Similar issue here.
I totally agree that freebayes is implement correctly, and these are data issues as the BAM file do not satisfy the uniqueness requirement in SAM Spec. However, in the real world, people generated data with these violations, and it is very difficult to fix read group ID in BAMs.
I am wondering if it is possible to implement a feature that can allow users to specify uniqueness of read group, that could maximize the compatibility of freebayes with those imperfect data input. just my 2 cents


WinGetUI not displaying updates or installed packages but winget cli works

Brief description of your issue
When I first installed WinGetUI it was working.
However, now it does not display installed packages or software updates.
I can discover packages successfully though.
I don't know what has changed for it to stop working.
Steps to reproduce
Start WinGetUI and click on Software Updates and Installed Packages
Expected behavior
I expect to see a list of upgradeable packages, and a list of installed packages.
Actual behavior
I see zero software updates and zero installed packages
(but winget CLI works)
wingetui log:
🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
🔵 It took 0.0030019283294677734 to load all language files
🟢 checkQueue Thread started!
🟡 Chocolatey was not found on the default location, perhaps a portable WingetUI installation?
🔵 Language file up-to-date
🔵 Starting main application...
🔵 Looking for alive instances...
🟡 Found lock file(s), reactivating...
🔵 Reloading Winget sources...
🔵 Loading WingetUI AUMID...
🔵 Starting update check

Serving Flask app 'WingetUI backend'
Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Running on http://localhost:7058
Press CTRL+C to quit
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\winge...
🔵 Adding chocolatey to path...
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Scoop is disabled', 'PipFound': False, 'PipVersion': 'Pip is disabled', 'NpmFound': False, 'NpmVersion': 'Npm is disabled', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool is disabled', 'ChocolateyFound': True, 'ChocolateyVersion': '', 'WingetFound': True, 'WingetVersion': ''}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Starting winget source search...
🟢 Starting winget source search...
🟢 Settings tab loaded!
🟢 winget source search finished
🟢 winget source search finished
🟢 About tab loaded!
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🔵 Starting Chocolatey search for updates
🔵 Starting Winget search for updates
🟢 Winget search for updates finished with 0 result(s)
🟢 Main application loaded...
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟡 Can't get custom interval time! (got value was '')
🟢 Total packages: 0
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🟢 Searching for string ""
🟢 Searching for string ""
🟡 Can't get custom interval time! (got value was '')
🟢 Total packages: 0
🟢 Starting winget source search...
🟢 winget source search finished
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/translate.png
🟢 Found reactivation lock file...
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🟢 Starting winget source search...
🟢 winget source search finished
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/translate.png
🔵 Loading WingetUI log...
🔵 Reloading Package Manager logs...
🔵 Loading WingetUI log...
🔵 Loading WingetUI log...
🔵 Copying log to the clipboard...
🔵 Loading WingetUI log...

Package manager logs
Outputs from package managers on the current session:
---------Winget---------Winget---------Chocolatey
Chocolatey v2.2.2
0 packages installed.
---------Winget
---------Chocolatey
Chocolatey v2.2.2
0 packages installed.
---------Chocolatey
Chocolatey v2.2.2
Outdated Packages
Output is package name | current version | available version | pinned?Chocolatey has determined 0 package(s) are outdated.---------Winget
---------Winget---------Chocolatey
Chocolatey v2.2.2
0 packages installed.
---------Chocolatey
Chocolatey v2.2.2
0 packages installed.
CLI output:
C:\Users\Stephen>winget list
Name                                          Id                                            Version                    Source
Windows Driver Package - Google, Inc. (WinUS…<PHONE_NUMBER>92C6959D2596D612F52DCA71881CA2      08/28/2014 11.0.0000.00000
The Witcher Enhanced Edition Director's Cut<PHONE_NUMBER>_is1                                <IP_ADDRESS>
The Witcher 2 - Assassins of Kings Enhanced …<PHONE_NUMBER>_is1                                <IP_ADDRESS>g
Cyberpunk 2077: Phantom Liberty<PHONE_NUMBER>_is1                                2.02
<>
C:\Users\Stephen>winget update
Name                                                           Id                           Version       Available     Source
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501   Microsoft.VCRedist.2013.x64  12.0.30501.0  12.0.40664.0  winget
Microsoft Visual C++ 2005 Redistributable (x64)                Microsoft.VCRedist.2005.x64  8.0.56336     8.0.61000     winget
Microsoft Visual C++ 2005 Redistributable                      Microsoft.VCRedist.2005.x86  8.0.56336     8.0.61001     winget
Microsoft Visual C++ 2005 Redistributable                      Microsoft.VCRedist.2005.x86  8.0.59193     8.0.61001     winget
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.36.… Microsoft.VCRedist.2015+.x86 14.36.32532.0 14.38.33130.0 winget
Python Launcher                                                Python.Launcher              < 3.12.0      3.12.0        winget
<>
Environment
C:\Users\Stephen>winget --info
Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0

Winget Directories
------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputD…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.js…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

https://github.com/marticliment/WingetUI/ would be the correct place to file this issue.


Implement localised fires from International Handbook of Structural Fire Engineering

Document: International Handbook of Structural Fire Engineering.
Reference: Chapter 4. Section 4.5
Equations 4.11 and 4.12 (which require an implementation of 4.13 and 4.14). Also equations 4.21 and 4.22 (which require 4.15 to 4.19)

@simonsantama I have lots of questions on this one. We will need to spend some time together on this one I think.

Yes. Can you also have a read at the section after on travelling fires?
That one will also require is to go through it together I think
On Thu, Dec 12, 2024, 23:12 Jamie Maclean @.***> wrote:

@simonsantama https://github.com/simonsantama I have lots of questions
on this one. We will need to spend some time together on this one I think.
—
Reply to this email directly, view it on GitHub
https://github.com/fire-library/openfire/issues/14#issuecomment-2540192068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGI6OOXDWJBPFYLIPB5F63L2FIJ5BAVCNFSM6AAAAABTHDVC36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBQGE4TEMBWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


List Controller methods from parent class

Currently only the methods present in the topmost controller class are detected by jsonDoc.
However in some applications there is a lot of repetitive logic in the controllers so I moved them to a shared parent class. However now they will no longer be detected by jsonDoc. it would be nice if methods from parent classes will be detected by jsonDoc as well.
This can be fixed by adding a parent class check/recursion to this method:
AbstractSpringJSONDocScanner#jsondocMethods()

Example fix:
@Override
public Set<Method> jsondocMethods(final Class<?> controller) {
	// NEWLY ADDED - START
	if (controller == null) {
		return new LinkedHashSet<>();
	}
	// NEWLY ADDED - END
	final Set<Method> annotatedMethods = new LinkedHashSet<>();
	for (final Method method : controller.getDeclaredMethods()) {
		if (method.isAnnotationPresent(RequestMapping.class)) {
			annotatedMethods.add(method);
			System.out.println(controller.getSimpleName() + " " + method);
		}
	}
	// NEWLY ADDED - START
	annotatedMethods.addAll(jsondocMethods(controller.getSuperclass()));
	// NEWLY ADDED - END
	return annotatedMethods;
}

@ST-DDT Since controller methods are public, it would actually be much simpler and achieve the same purpose if we used controller.getMethods() instead of controller.getDeclaredMethods().

@joffrey-bion AFAIK Spring does not require Controller methods to be public (although they should be IMO) thus is approach is nessesary

Unfortunately my solution/the parent scanning shows some other issues, because the @RequestMapping from the controller class is not present on parent classes thus the paths are wrong:
It will be displayed as /{id} instead of /myController/{id}
This can be fixed by

Changing AbstractJSONDocScanner#initApiMethodDoc(...)

from
public abstract ApiMethodDoc initApiMethodDoc(Method method, Map<Class<?>, JSONDocTemplate> jsondocTemplates);

to
public abstract ApiMethodDoc initApiMethodDoc(Class<?> controller, Method method, Map<Class<?>, JSONDocTemplate> jsondocTemplates);

Changing SpringPathBuilder#buildPath(...)

from
public static Set<String> buildPath(Method method) {
Class<?> controller = method.getDeclaringClass();

to
public static Set<String> buildPath(Class<?> controller, Method method) {

PS: @joffrey-bion AFAICT your impl is likely to be also affected from this

@ST-DDT Thanks for pointing it out. I'll double check Spring's implementation to see how paths are actually read. Or maybe you know already?
Suppose we have this situation:
@Controller
@RequestMapping("/parent")
public class ParentController {

    @RequestMapping("/parentMethod")
    public void parentMethod() { }
}

@Controller
@RequestMapping("/child")
public class ChildController {

    @RequestMapping("/childMethod")
    public void childMethod() { }
}

What API does Spring generate? I would say:

/child/childMethod
/child/parentMethod

Usually the parent would neither be annotated with @Controller nor with @RequestMapping. But yes the child wins.
For clarification:
// @Controller
// @RequestMapping("/parent")
public class ParentController {

    @RequestMapping("/parentMethod")
    public void parentMethod() { }
}

@Controller
@RequestMapping("/child")
public class ChildController extends ParentController {

    @RequestMapping("/childMethod")
    public void childMethod() { }
}

Will provide the following request urls:

/child/childMethod
/child/parentMethod

@Controller
@RequestMapping("/parent")
public class ParentController {

    @RequestMapping("/parentMethod")
    public void parentMethod() { }
}

@Controller
@RequestMapping("/child")
public class ChildController extends ParentController {

    @RequestMapping("/childMethod")
    public void childMethod() { }
}

Will provide the following request urls:

/child/childMethod
/child/parentMethod
/parent/parentMethod

// @Controller
// @RequestMapping("/parent")
public class ParentController {

    @RequestMapping("/parentMethod")
    public void parentMethod() { }
}

@Controller
@RequestMapping("/child")
public class ChildController extends ParentController {

    @Override
    @RequestMapping("/childMethod")
    public void parentMethod() { }
}

Will provide the following request urls:

/child/childMethod

package a;

// @Controller
// @RequestMapping("/parent")
public class ParentController {

    @RequestMapping("/parentMethod")
    void parentMethod() { }
}

package b;

@Controller
@RequestMapping("/child")
public class ChildController extends ParentController {

    @RequestMapping("/childMethod")
    void parentMethod() { }
}

Will provide the following request urls:

/child/childMethod
/child/parentMethod

Method paths are resolved here:

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.getMappingForMethod(Method, Class<?>)

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping, RequestCondition<?>)

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping, RequestCondition<?>)

This produces an org.springframework.web.servlet.mvc.method.RequestMappingInfo and there you can extract all those paths and other stuff from. Unfortunately you will probably have to create a fake sub class of that class that exposes the RequestMappingHandlerMapping.getMappingForMethod(Method, Class<?>)
On the other hand you might be able to read all registered methods from:
org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerMethods()'s keys.
Maybe this article helps: https://stackoverflow.com/questions/11082818/spring-mvc-get-all-request-mappings

@joffrey-bion Does this help you? Maybe we should move the discussion over to your fork.

@ST-DDT Yes, thanks a lot for the detailed reply.
Let's carry on the discussion there


Feat page index adjustment

Proposition of textual changes on the title page: Lead paragraph and feature list.

The general idea stands on the messaging we created for the ICCC marketing materials.
The wording in the individual feature sections is heavily based on the original wording.
The collapsibles in the feature blocks were dropped as multiple people found it counter-intuitive that the opened text would contain important links.
It's not ideal, but I believe an improvement over the current state.

Unfortunately, I don't have currently set up the local development environment, so cannot guarantee it will compile flawlessly (apologies!).

Looks good, though the texts for the vulnerability and notifications features are quite a bit longer than the other ones, giving it an unbalanced look. I will shorten them (the notifications mainly) and add appropriate small buttons for the vuln one to go to CVE/CPE search.

You're right, thanks. Adjust as you see fit.

Message ID: @.***>

Made it nicer.

Huh, this somehow broke the logo display at the index page.
Not sure what happened but will fix it.

Ok fixed.


[BUG] Ollama Connection

Describe the bug
I installed Flowise locally and Ollama in a docker container. Ollama API is reachable from other PCs in the same network. Also it is possible to reach Ollama API from the PC where flowise is installed. But in flowise I get 404 when i want to use the API.
I used the url http://<IP_ADDRESS>:11434/ for bot inside the node and with curl.
Expected behavior
A tought ollama should be reachable with the node when it is reachable with curl.
Setup

Installation Flowisefrom PackageManager, ollama in Docker
Flowise Version 1.8.3
OS: Linux

If they are both running in docker containers you need to use docker to give them each access unless you use something like host.docker.internal (Mac / Windows). Otherwise docker separates the containers from being able to access each other.
Add them to the same docker network or make one depend on the other inside docker compose and use the container names as their hostnames.
eg https://stackoverflow.com/questions/41093812/how-to-get-docker-containers-to-talk-to-each-other-while-running-on-my-local-hos

Hi!
Flowise is running in docker. But Ollama not. Ollama is running direct on the server.

Then you need to refer to ollama with host.docker.internal:port for MacOS/Windows. For Linux you'll need to setup a host network for the container. Replace port with the port number.
Can you please close this issue?


Export HTML rendering functions

Hello, I would like to re-use your HTML rendering functionality (like here) in a Remark Plugin, so that I can support Hexo's embed tags in other systems (like Docusaurus or Astro). 😀
Currently I am doing it like this:
import { visit } from 'unist-util-visit';
import { youtubeTag } from 'hexo-tag-embed/dist/tags/youtube';

export default function plugin(options) {
  const transformer = async (ast) => {
    visit(ast, 'text', (node) => {
      const { value } = node;

      if (value.startsWith(`{% youtube `)) {
        node.type = `html`;
        node.value = youtubeTag(['TEST-VIDEO-ID', 'video', false]);
      }
    });
  };

  return transformer;
}

The path of hexo-tag-embed/dist/tags/youtube looks a little funky. Would it be possible to re-export that youtubeTag function (and related) from your index.ts file as well so I could do the following?
import { youtubeTag } from 'hexo-tag-embed';

@yoshinorin do you know how a code like {% youtube 62J_eQsK0e0?start=531 'video' false %} is actually parsed into ['62J_eQsK0e0?start=531', 'video', false]? Is there a hexo utility library available?

Ah, the syntax is coming from Swig, that's interesting to know! 💡 Thank you! 🙇


Pattern styles not compiled in monorepo

Description
When I use patterns in the UI library package in my monorepo, I expect the styles to be generated when running my app but no styles are generated. I have closely followed the example here, but I've amended the reproduction to closely match our project.
Other Panda functions like css are generating styles correctly.
It looks like I'm having a similar issue to this but as far as I can see I have the paths set up correctly.
Link to Reproduction
https://stackblitz.com/~/github.com/robcostello1/panda-pattern-monorepo
Steps to reproduce

Go to stackblitz reproduction
View compiled page
The element containing the text should have a column-span of 6 (half the page width)
Instead, no column-span is applied

JS Framework
React (TS)
Panda CSS Version
0.33.0
Browser
Chrome 121
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

you're currently using importMap: "@eonnext/styled-system", but the imports from the styled-system seems to be coming from @scootch/styled-system
import { cx } from "@scootch/styled-system/css";
import {
  type GridItemProps as StylesGridItemProps,
  type HTMLStyledProps,
  styled,
} from "@scootch/styled-system/jsx";
import { gridItem } from "@scootch/styled-system/patterns";

so you need to set the importMap to the same thing, e.g importMap: "@scootch/styled-system"

Aha. Thank you. That was a typo in converting to the minimal reproduction. Changing that does fix the issue in the reproduction.
Unfortunately the path is correct in the actual project so there's something else causing the issue there. I'll investigate further and update here.


fix(patients): fix issue with patient duplicating on update

Fixes #1783
Changes proposed in this pull request:

fixes issue with wrong revision number in the save or update method
fixes issue where new related person was being added to a immutable array

There seems to be a bug with node 10 :|


Make style changes to contributing file

Demote most of the headings one level, as h1 is generally used for the title of a page.
Change letter based sub lists to be unordered lists, as letter-based lists are not rendered in GitHub markdown.
Make a few fixes to the "Adding language support" section.
Change all text-based emoji to GitHub-supported emoji.
Fix broken link in the "Contributing code" section.

:+1:
Thank you :smile:

:+1: Great stuff, cheers.


Dockerfile request

Regarding the compile issues described in issue #2:
If someone is able to get an environment set up that enables them to build the project, and is feeling generous, please create a Dockerfile that builds it, perhaps using the official "golang" Docker image as the base.
This would allow more people to contribute to the project, especially those who have trouble dealing with the dependencies, or simply don't want to add the various dependencies to their own machines.

Hi @ShawnMilo - I've made a couple of pushes today that mean GLEW is no longer a dependency, arial is now the default font, and the OS font directory is now searched. Please give this a try - let me know if there's still issues for you.

Thanks. In a fresh golang container, the build fails due to GL dependencies. I'm going to see if there's an easy fix. In the meantime, here is the output from my attempt:
$ docker run -it --rm golang /bin/bash
root@e4feff5f8ad7:/go# go get github.com/google/gxui
root@e4feff5f8ad7:/go# cd src/github.com/google/gxui/samples/progress_bar/
root@e4feff5f8ad7:/go/src/github.com/google/gxui/samples/progress_bar# go get
# github.com/go-gl/glfw/v3.1/glfw
In file included from ../../../../go-gl/glfw/v3.1/glfw/context.go:4:0:
glfw/include/GLFW/glfw3.h:185:21: fatal error: GL/gl.h: No such file or directory
   #include <GL/gl.h>
                     ^
compilation terminated.
# github.com/go-gl/gl/v3.2-core/gl
../../../../go-gl/gl/v3.2-core/gl/procaddr.go:52:21: fatal error: GL/glx.h: No such file or directory
  #include <GL/glx.h>
                     ^
compilation terminated.

Update:
Was able to install gl.h by installing mesa-common-dev. Then it was missing Xrandr.h. Fixed by installing libxrandr-dev. Then missing Xcursor.h, needed libxcursor-dev. Then xf86vmode.h (installed libxxf86vm-dev). Then XInput2.h. Installed libxi-dev. Then Xinerama.h. Installed libghc-x11-dev.
After all that, now I get this error, and I don't know how to fix it. I did a Google search on the error and found similar issues, but wasn't able to adapt them to solve this issue.
root@e4feff5f8ad7:/go/src/github.com/google/gxui/samples/progress_bar# go get
# github.com/go-gl/gl/v3.2-core/gl
/usr/bin/ld: cannot find -lGL
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
# github.com/go-gl/glfw/v3.1/glfw
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status

Have you tried the libgl1-mesa-dev package?

Thanks, Ben. That solves my go get problems. I'm now getting an execution error due to the Arial font, but I'll open a separate ticket for that.
 Replace gxui with anything you like.
docker build -t gxui
To use (will delete container upon exit):
docker run -it --rm gxui
To mount a volume (so you can compile a binary and copy it to the host system):
mkdir /tmp/gxui
docker run -it --rm -v /tmp/gxui:/gxui gxui

There is now a Dockerfile that allows a build, so this issue is satisfied.


Feature request: Print out all nested describe() hooks for a failing it() hook

Just found that for wdio-dot-reporter using mocha, when a test with nested describe hooks like the one below fails:
describe('Button -', function () {
  describe('When clicked -', function () {
    it('Should turn red', function () {
      ...
    });
  });
});
The error printed out only includes the immediate parent of the it hook like this:
1) When clicked - Should turn red
I was able to make a small change to reporter.js so that it would print out all the nested describe hooks like this:
1) Button - When clicked - Should turn red
Does anyone want this new behaviour? If yes, i can create a PR for it... Otherwise, there must be a good a reason why it was made to behave like that, right?
I asked in Gitter about this: https://gitter.im/webdriverio/webdriverio?at=5af514fa862c5e33e9270e6c too.

Feel free to provide a PR

@christian-bromann I need to override the listFailures method in the BaseReporter class but I'm not sure how to do it. If I just assign this.baseReporter.listFailures to a new function lib/reporter.js, I'm afraid that it will also change the same function in the BaseReporter class and affect other kinds of reporters, right? Any ideas on how I can do this correctly?
Basically, I'm going to make this line  https://github.com/webdriverio/webdriverio/blob/master/lib/utils/BaseReporter.js#L220 print the all the nested parents instead of just test.parent.


data not saved(in rtc memory) in deep sleep mode

int check;
void startup(void *pv){
int data = 55;
int temp = 0;

sdk_system_rtc_mem_read(64, &check, 4);
TRACE("check : %d",check);
if(check){
	TRACE("Writing in rtc memory");
	if(sdk_system_rtc_mem_write(68,&data,4)){
		TRACE("rtc memory write successful!");
	}
	else{
		TRACE("rtc memory write failed!");
	}

	check = 0;
	if(sdk_system_rtc_mem_write(64,&check,4)){
		TRACE("check flag:rtc memory write successful!");
	}
	else{
		TRACE("check flag:rtc memory write failed!");
	}
}
else{
	TRACE("Reading from rtc memory");
    check = 1;
    sdk_system_rtc_mem_write(64, &check, 4);
	if(sdk_system_rtc_mem_read(68,&temp,4)){
		TRACE("rtc memory read successful!");
		TRACE("data = %d",temp);
	}
	else{
		TRACE("rtc memory read failed!");
	}

}
TRACE("ESP entering deep sleep mode");
sdk_system_deep_sleep((uint32_t)10000000);
while(1){
	vTaskDelay(500);
}

}
I've been trying to save data in rtc memory but when the esp enter in deep sleep mode and after it wakes up, the data is lost. Is there anything that i'm doing wrong? And also instead of showing rst cause : 5(due to Deep Sleep), it shows rst cause : 2 (due to fatal exception)

Finally i got it. To use the rtc memory in esp one should use the memory address from 67 not 64 since it is used in rboot.c


adds audio/comments icon to annotations

also fixes annotation delete buttons hide issue.

@TS-Stefan is this ready for review or are you working on it?

I am done


Consider ET Book for body text

https://github.com/edwardtufte/et-book

Tried it, not convinced.


Add #[serde(skip_serializing_if = "Option::is_none")] to progress rel…

…ated messages and format
Note that there has been some renaming from Done -> End on the protocol side so this shouldn't be released until new npm packages are out.

Closing in favor of #119