Always try to canonicalize the list of paths to open

Attempting to open cwd crashes lapce-proxy:
hbina@akarin ~/g/lapce (master)> cargo run -- --wait .
   Compiling lapce-proxy v0.2.7 (/home/hbina/git/lapce/lapce-proxy)
   Compiling lapce-data v0.2.7 (/home/hbina/git/lapce/lapce-data)
   Compiling lapce-ui v0.2.7 (/home/hbina/git/lapce/lapce-ui)
   Compiling lapce v0.2.7 (/home/hbina/git/lapce)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 07s
warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 941`
     Running `target/debug/lapce --wait .`
[2023-04-06][07:02:59][lapce_data::keypress][ERROR] Failed to load from "/home/hbina/.config/lapce-debug/keymaps.toml": no keymaps
Unknown option --wait
[2023-04-06][07:03:00][druid::core][WARN] WidgetId(257) received an event (MouseMove(MouseEvent { pos: (382.0, 379.0), window_pos: (382.0, 379.0), buttons: MouseButtons(00000), mods: Modifiers((empty)), count: 0, focus: false, button: None, wheel_delta: Vec2 { x: 0.0, y: 0.0 } })) without having been laid out. This likely indicates a missed call to set_origin.
[2023-04-06][07:03:02][panic][ERROR] thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: ()': lapce-proxy/src/plugin/wasi.rs:190

[ ] Added an entry to CHANGELOG.md if this change could be valuable to users

Codecov Report

Merging #2325 (cd5a350) into master (8ebbbe2) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@          Coverage Diff           @@
##           master   #2325   +/-   ##
======================================
  Coverage    9.06%   9.06%
======================================
  Files         137     137
  Lines       59462   59462
======================================
  Hits         5393    5393
  Misses      54069   54069

Impacted Files
Coverage Δ

lapce-proxy/src/cli.rs
79.50% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


cmd/cover: pragmas treated differently than in cmd/compile

What version of Go are you using (go version)?
Go 1.9
Does this issue reproduce with the latest release?
Yes.
What did you do?
Suppose we have the following files:
package repro

type T struct{}

//go:nointerface

// NoInterfaceMethod has documentation that does not include the pragma above.
func (t *T) NoInterfaceMethod() {
}

package repro

import (
	"testing"
)

func TestNoInterface(t *testing.T) {
	x := interface{}(new(T))
	if _, ok := x.(interface {
		NoInterfaceMethod()
	}); ok {
		t.Error("type unexpectedly has method NoInterfaceMethod")
	}
}

This test passes normally, but fails with coverage enabled.
(NOTE: the field tracking experiment has to be enabled to turn on nointerface. This bug applies to function pragmas in general though; nointerface is just the easiest to observe).
Analysis
The problem is that cmd/compile and cmd/cover (and presumably other tools) treat pragmas differently.
In cmd/compile, pragmas are recognized by the lexer with minimal awareness of surrounding syntax. When lexer sees a pragma, it sets a bit in the parser. When a top-level definition is parsed, whichever pragma bits are set apply to that function. Pragma bits are cleared at the end of each top-level definition. See parser.go. Consequently, the compiler recognizes function pragmas even when there are comments and blank lines between the pragma and the definition it applies to.
In cmd/cover, pragmas are read from the syntax tree produced by go/parser. cmd/cover adds instrumentation to the source code. It removes most comments (since they are difficult to re-emit) but preserves pragma comments that were in the comment block for top-level definitions. Pragmas that were floating above a definition (as in the example above) are assumed not to apply to any specific definition and are moved to the top of the file. See cover.go. Here's the cover output for the example above:
//go:nointerface
package repro

type T struct{}

func (t *T) NoInterfaceMethod() {
	GoCover.Count[0] = 1
}

var GoCover = ...

Discussion
I'm not sure whether this should be considered a cmd/compile bug or a cmd/cover bug. It's surprising to me that the compiler recognizes function pragmas even when there are unrelated comments and blank lines between the pragma and the function definition. There aren't many public examples of pragmas used in this way. In cases where this happens, it seems like people are trying to avoid including the pragma in the documentation.
If this is a compiler bug, we should make the compiler consistent with cmd/cover, so that function pragmas must appear in the block of comments immediately above the definition. cmd/cover would not need to change. Existing examples of these floating pragmas would need to be fixed.
If this is considered a bug in cmd/cover, the comment processing functionality would need to be fixed so that function pragmas are attached to the following top-level definition. In general, any tool that rewrites source code while preserving semantics needs to watch out for this.

cc @gri and @mdempsky, who've worked on pragmas fro the compiler side.
cc @dhananjay92, who improved the pragma processing code in cover.

This is a cmd/cover bug.  See also #18285 (which I expect led to the current cmd/cover implementation).
It is a feature that compiler annotations are not required to appear in godoc output.

@ianlancetaylor Thanks for clarifying. I'll work on a fix for cmd/cover.

For what it's worth, I'm not a fan of how lax cmd/compile is in parsing pragmas, and I think it is unfortunate that it makes support in go/ast-based tooling more difficult. I'd be supportive of refining where it's valid to write pragmas. (So far, we've strived for strict backwards compatibility when reworking the lexer/parser.)

I think some formal standard for pragmas would avoid such bugs in future. I see two main types of pragmas.

Position sensitive : go:interface, go:noinline etc. Position of such pragmas relative to the associated code, is semantically important.

Position independent : go:cgo... etc. Position within a file isn't important.

If position sensitive pragmas are always placed directly before associated code, then it's easier for AST tools to preserve their relative-positions. Without that, AST tools may end up misplacing them (#17315).
Can we standardize along those lines?

@dhananjay92 The trick is that we generally do not want these comments to appear in godoc for exported functions, and we do not want to complicate godoc.


Describe the bug:

To reproduce:

Expected behaviour:

Screenshots:

Additional context:

Next steps:

[x] I intend to open a pull request later

https://github.com/danielmiessler/SecLists/issues/1057#issue-2420807112

Describe the bug:
To reproduce:
Expected behaviour:
Screenshots:
Additional context:
Next steps:

[x]  I intend to open a pull request later

Closing as its empty


Modifier -> SwiftUI -> Model data: onReceive(_:perform:)

Doc: https://developer.apple.com/documentation/swiftui/view/onreceive(_:perform:)

[ ] Swift implementation
[ ] Elixir implementation

This cannot be supported because it requires using Combine, which cannot be represented in a template.


[1.3] resumption of a deactivated secure thread session

Reproduction steps
A Thread accessory won't send messages on a deactivated secure session after it has been reactivated again.
Test-Setup:
Nordic nRF52840 Development Kit;
Home-Controller(s): Apple HomePod Mini, AeotecHub (SmartThings), Homeassistant on Raspi with OTBR
Used Firmware: Matter Door-Lock Sample
Scenario:

the accessory (Development Kit) looses the thread network connection --> "DETACHED"
the accessory tries to send a message (default 4 times) and sets the used secure session to --> "kDefunct"
the accessory reconnects to the thread network --> "CHILD"
the Home-Controller sends a message to the accessory (e.g. "LockDoor")
the accessory acknowledges this message and performs the operation but then doesn't send the updated cluster state via the reactivated secure session
you have to wait, until the home-controller establishes a new secure session
the accessory will automatically send its momentary cluster states on the new session

This behavior seems strange to me. Shouldn't the accessory send its cluster state messages after the old secure session has been reactivated?
Further more the time until the home-controller establishes a new secure session is a lot longer with the 1.3 version than it is with the 1.2, even though there shouldn't be a difference.
In the 1.2 door lock sample the home-controller sends a new CASE Session < 10s, after the secure session deactivates on the accessory. In the 1.3 sample this takes at least 30s most of the time more than 2 min.
The attached logs show the problem.
1_3_DK_ha_otbr.log
1_3_DK_apple.log
Log with 1.2 Door Lock Sample to show fast new CASE session establishment
1_2_apple.log
Bug prevalence
always reproducible
GitHub hash of the SDK that was being used
022f2c92f6fc04ddebeea443513d050a6bd1d222
Platform
nrf connect
Platform Version(s)
1.3
Type
Platform Issue
Anything else?
No response

@varnholtm Which message did the device fail to send in the "tries to send a message (default 4 times)" step?  If this is a subscription report, won't this tear down the subscription at that point, in addition to marking the session defunct?

@bzbarsky-apple You are right, the messages are subscription reports (IM: ReportData). But if the subscription will also be teared down when loosing the thread connection, why isn't there a mechanism that will get it working again in an acceptable timerange (within seconds)?
It would be logically to me that if the device reactivates an old secure session, on which it had sent out reports to a subscriber, it should also resume sending the reports again to the same subscriber. I'm not sure if there is such an mechanism or feature that would help with this problem.

why isn't there a mechanism that will get it working again in an acceptable timerange (within seconds)?

Devices can enable an optional feature to attempt to re-establish the subscription from their end.  But if that fails a few times, at some point the subscription is torn down, because you can't keep trying this sort of thing forever and need to reclaim resources at some point.

@bzbarsky-apple: I did check the "persistent subscription" option, which seems to improve the behavior a little bit, but as you said, after a certain amount of resumptions this wont't work anymore, until a new session was established.
One thing that is not clear to me is the different behavior in the version 1.2. To me it seems, that with this version the home controller is recognizing a lost accessory a lot faster, so that you always get an SIGMA Case messages right after the accessory has lost its thread network connection.
Do you know of any difference from 1.2 to 1.3 regarding that?
Thanks!

Do you know of any difference from 1.2 to 1.3 regarding that?

Not off the top of my head, no.


Possible deadlock in wait in async_std runtime

Code below may freeze on wait() call. It happens most of the time for me (macOS).
use async_std::task;
use stretto::AsyncCache;

fn main() {
    let max_cost = 10_000;
    let lru = AsyncCache::new(max_cost * 10, max_cost as i64, task::spawn)
        .expect("failed to create cache");

    task::block_on(task::spawn(async move {
        for i in 0..10_000 {
            println!("i = {i}, len before insert = {}", lru.len());

            let value = 123;
            let cost = 1;
            lru.insert(i, value, cost).await;
            lru.wait().await.unwrap(); // <-- freezes here
        }

        println!("done");
    }));
}

I also have a question. Is there an easy way to predict how many items a cache will fit (with parameters above) if we always use cost = 1? Seems like it's capping out at ~175 items in an example above (max_cost = 10_000, with each item cost = 1).

Hi, the freeze situation happens on async-std runtime. I will add some test cases for async-std and try to fix it.
There is an ignore_internal_cost configuration, when you build cache you can set it to true, If you want to store the exact max_cost items to the cache, you should build cache like this.
use async_std::task;
use stretto::AsyncCache;

fn main() {
        let max_cost = 10_000;
        let lru = AsyncCacheBuilder::new(max_cost * 10, max_cost as i64)
        .set_ignore_internal_cost(true)
        .finalize(tokio::spawn)
        .expect("failed to create cache");

        // your code here
}

Maybe it is caused by blow code:
    let waker;
    cfg_std_expr!(
        waker = self.inner.waker.lock().unwrap().take();
    );
    cfg_not_std_expr!(
        waker = self.inner.waker.lock().take();
    );
    if let Some(waker) = waker {
        waker.wake();
    }
    Some(0)
} else if val == 0 {
    None
} else {
    Some(val - 1)

the task has been woken and polled before updating count. So we should update count firstly and then wake up the Future.
I have created a PR in wg repository.


Remaining questions with respect to the commands

Meanwhile I have a quite good understanding of all the commands and events. But few ones are still not very clear to me.
What are these commands for?
CMD_SEED  : 0xB1 -> what is the seed used for and what is the
CMD_CHAL  : 0xB3 -> looks like a 'still alive ?' request
CMD_LEDSQ : 0xFF -> gave it a try, but nothing happend, don't know the correct payload

Seed and chal are the PRNG generator, it seeds it then verifies it. Used to authenticate the portal. Without it the console resets the portal

CMD_LEDSQ : 0xFF no idea, probably a leftover


bump travis docker to 1.12.0

Signed-off-by: Xin Cai<EMAIL_ADDRESS>add service docker restart
add docker info statements

rebased and merged with f031bb2f44b150b59db5a40cccbaab7d423d7dcd


Make sed command OS X/BSD-compatible

The sed command in the README for upgrading projects to Django 1.9 does not work on OS X and gives the following error, for example:
sed: 1: "./__init__.py": invalid command code .

This is because OS X uses BSD sed which either requires '' after the -i if there is no backup file extension or the use of -e. I used -e in the PR, because I think it looks cleaner than having extra quotes, but the following change also works:
find . -name '*py' | xargs sed -i '' 's/import autocomplete_light/from autocomplete_light import shortcuts as autocomplete_light/'

Update: I've actually switched the PR to use the ... sed -i '' ... approach, because the original approach I used created unintended backup files with a suffix of -e.

That fails with GNU's sed:

sed: can't read s/import autocomplete_light/from autocomplete_light import shortcuts as autocomplete_light/: No such file or directory

Does it work with -i'' for you? (with the space removed)

Could you maybe add that command to the docs rather than replacing the
existing one ?
Pretty cool, thanks for sharing !!

Apparently not: http://stackoverflow.com/a/5694430/15690

So I'd say to add a note for OSX/BSD users instead.

Yeah that's what i meant, add instead of replace

Which would you prefer:
# For GNU sed
find . -name '*py' | xargs sed -i 's/import autocomplete_light/from autocomplete_light import shortcuts as autocomplete_light/'

# For OSX/BSD sed
find . -name '*py' | xargs sed -i '' 's/import autocomplete_light/from autocomplete_light import shortcuts as autocomplete_light/'

Or this:
find . -name '*.xx' | xargs perl -i -pe 's/import autocomplete_light/from autocomplete_light import shortcuts as autocomplete_light/'

The shorter one.  It should not bloat the documentation, and instructions are clear / can be adopted.

Please force-push it as a single commit then.

Done. Thanks.

Thank you!


Add Fips_mode_set + add libctx into config loading.

Checklist

[x] documentation is added or updated
[x] tests are added or updated

This PR started out as adding support for FIP_mode and FIPS_set_mode, but when I went to test I found I also needed the configuration loading using a libctx..
Note that I left the OPENSSL_CTX_new() call alone and added a second call that allows you to load a config using this libctx. It is done this way so that it will be able to handle putting a set_self_test_callback() in between the new and the load..

Ok I had to change the query for fips to use a new function because the match function I was using was not fit for that purpose. Also changed any =true to =yes in the queries, because it silently ignores =true and treats it the same as =false.

Last commit fixes a memory leak if ossl_method_store_set_global_properties() is called multiple times with a non NULL prop_query.

Also changed any =true to =yes in the queries, because it silently ignores =true and treats it the same as =false.

Huh??? What?? That doesn't sound right...is that a bug?

Huh??? What?? That doesn't sound right...is that a bug?

We've always used yes and no rather than true or false.  Aliases have been mooted but not implemented.

We've always used yes and no rather than true or false. Aliases have been mooted but not implemented.

I think its more of an issue that it silently ignores rather than its not implemented.

Where should we draw the line though?

true, 1, affirmative, да, on, positive, ja, 3, mandatory, はい, required;
false, 0, nein, negative, нет, off, banned, いいえ, disallowed, vetoed.

All of these will silently be treated as something other than yes or no.  I think correctly.

All of these will silently be treated as something other than yes or no. I think correctly.

They should be an error if a boolean predicate has an invalid test-value.

After discussions with others it was decided that FIP_mode and FIPS_set_mode should be deprecated and no longer used as it would be a confusing interface.
There is now a merge method that allows fips to be turned on and off in the default property settings of a libctx.
Now that #11097 is merged this should be ready for review.

After discussions with others it was decided that FIP_mode and FIPS_set_mode should be deprecated and no longer used as it would be a confusing interface.

I'd ask for reconsidering this at least for the FIPS_mode() call. It is very useful to applications to have a simple interface to query whether the underlying crypto library is running in FIPS_mode or not. I suppose it could be easily emulated by querying the default properties. Of course it would also require a new API call which would allow supplying the libctx.

I have no major problem with deprecation of FIPS_mode_set(), although it means that FIPS-aware applications that explicitly set the FIPS mode with the old FIPS module will require code changes. As the API stability promise is only from 1.1 to 3.0 and not 1.0 to 3.0, this is acceptable.

You also need config changes to get the FIPS module loaded, right?  So a single  change pointing to the right config file should do it, no?

I thought it would be possible to load it somehow explicitly even without config changes. But that's no problem, as I said not having FIPS_mode_set is fine.
However there is another problem with the current commits - I do not think the FIPS_mode_set function should be there at all even as deprecated function returning error. There is no point in having a call that always returns error and not having it will actually properly signalize the callers that they must change which they have to anyway.

I thought it would be possible to load it somehow explicitly even without config changes. But that's no problem, as I said not having FIPS_mode_set is fine.
However there is another problem with the current commits - I do not think the FIPS_mode_set function should be there at all even as deprecated function returning error. There is no point in having a call that always returns error and not having it will actually properly signalize the callers that they must change which they have to anyway.

There are 2 new functions:
int EVP_default_properties_is_fips_enabled(OPENSSL_CTX *libctx);
int EVP_default_properties_enable_fips(OPENSSL_CTX *libctx, int enable);
The old functions still currently exist in 1_1_1..
I have no problem if the old functions are deleted - but that is not my decision to make.
The old functions no longer make any sense and are confusing now that there is a library context. Having a function that just tells you about the default context may not be that useful.

You also need config changes to get the FIPS module loaded, right? So a single change pointing to the right config file should do it, no?

I dont really understand what you are asking.

I thought it would be possible to load it somehow explicitly even without config changes.

It isn't.  The integrity checksum lives in the config file.

I agree with @t8m  -- FIPS_mode_set() should not be a symbol in the library at all.  Yes, this means applications will need to do more than recompile if they're using it, but the behavior changes between the 1.0.2 semantics and the 3.0 semantics are significant enough that attempting to provide it as a "drop-in" will do our users a disservice.  If acting just on the default libctx suffices for a given application, the change is easy enough to make.

I thought it would be possible to load it somehow explicitly even without config changes.

It isn't. The integrity checksum lives in the config file.

But is the path to a default config file somehow built-into the FIPS module or not? If not then this is perhaps something we will have to handle downstream in Fedora/RHEL - I do not want users to have to meddle with config files to enable FIPS mode.
And yes, we will patch-in support for automatic FIPS mode enablement based on /proc/sys/crypto/fips_enabled but I thought that just doing the equivalent of automatic call to EVP_default_properties_enable_fips() on initialization would be sufficient.

There are 2 new functions:
int EVP_default_properties_is_fips_enabled(OPENSSL_CTX *libctx);
int EVP_default_properties_enable_fips(OPENSSL_CTX *libctx, int enable);
The old functions still currently exist in 1_1_1..
I have no problem if the old functions are deleted - but that is not my decision to make.

Then we will have to call a vote I suppose.

The old functions no longer make any sense and are confusing now that there is a library context. Having a function that just tells you about the default context may not be that useful.

Why it would not be useful? Practically 99% of applications will not care about anything but the default context.

But is the path to a default config file somehow built-into the FIPS module or not?

Well, not built into the FIPS module, but built into libcrypto. The config file should be automatically loaded without the end application having to do anything.

Why it would not be useful? Practically 99% of applications will not care about anything but the default context.

"not useful" is perhaps too absolute.  A FIPS_mode() call that queries only the default library context is less useful than the FIPS_mode() API from 1.0.2, since the 1.0.2 semantics provide a solid compliance story.  If libcrypto reports that you're in FIPS mode, all calls to openssl are using the validated crypto, full stop.  With the default library context version, if you want to convince auditors that only the validated crypto is being used, then you now have to audit all your third-party dependencies to ensure that they are not creating additional library contexts (which would be using non-validated crypto).  The concern in this case is less about the local application than about the dependencies.

This PR has now been simplified to only contain the contentious changes for the fips_mode_set and fips_mode API's.
Other code has been moved to #11239.

"not useful" is perhaps too absolute. A FIPS_mode() call that queries only the default library context is less useful than the FIPS_mode() API from 1.0.2, since the 1.0.2 semantics provide a solid compliance story. If libcrypto reports that you're in FIPS mode, all calls to openssl are using the validated crypto, full stop. With the default library context version, if you want to convince auditors that only the validated crypto is being used, then you now have to audit all your third-party dependencies to ensure that they are not creating additional library contexts (which would be using non-validated crypto). The concern in this case is less about the local application than about the dependencies.

I do not really see this as a problem. This is a matter of the FIPS module security policy.

"not useful" is perhaps too absolute. A FIPS_mode() call that queries only the default library context is less useful than the FIPS_mode() API from 1.0.2, since the 1.0.2 semantics provide a solid compliance story. If libcrypto reports that you're in FIPS mode, all calls to openssl are using the validated crypto, full stop. With the default library context version, if you want to convince auditors that only the validated crypto is being used, then you now have to audit all your third-party dependencies to ensure that they are not creating additional library contexts (which would be using non-validated crypto). The concern in this case is less about the local application than about the dependencies.

I do not really see this as a problem. This is a matter of the FIPS module security policy.

I'm not sure I understand your point properly, as I see it as a matter of the application's security policy (e.g., if the application's security policy is that all crypto must be FIPS).  With the 1.0.2 semantics this application policy is easy to enforce, by doing coarse-grained auditing that openssl is the only crypto, and then having libcrypto enforce the fips status.  This cannot be done within the fips module with the 3.0.0 semantics, since the dispatch to providers is done outside the fips provider.  In order to get the same enforcement of the application policy, now there must be a more specific audit that looks for use of non-default library contexts.

You can have a config that loads only the FIPS module and not the default.  Using things with a separate context or go outside your policy and load the default module, seem out of scope.

I mean, the FIPS_mode() call has multiple uses and only one of them was something akin to ensurance that the application is using only FIPS validated crypto. BTW I do not think you could do away without code audits anyway if you wanted to be completely sure.
The other uses such as change of application behavior depending on the FIPS mode status are still valid.

This issue is in a state where it requires action by @openssl/otc but the last update was 30 days ago

@openssl/otc @openssl/omc So I see two potential votes needed here:

Vote about full removal of FIPS_mode_set instead of crippling it.
Vote about keeping at least some backwards compatible behavior for FIPS_mode instead of crippling it.
And if 2 does not pass and 1 does I'll immediately propose removing FIPS_mode completely as well.
Now the question is whether these votes are for OTC or OMC.
As I am OTC member I can only propose the votest to OTC however if those decisions should be done by OMC (and at least 1 seems to me to be rather an OMC topic) it does not make sense to propose them to OTC.

The vote for keeping the backwards compatible behavior of FIPS_mode did not pass. I would propose a vote to drop the functions completely because the crippled behavior of always returning an error does not make any sense. However it is rather an OMC vote and also I do not really care because I will be patching the FIPS_mode downstream anyway.

I've initiated an OMC discussion about removing these.

OMC vote is in progress to decide between this and #11680 so putting a hold on both.

The OMC vote decided in favour of removal rather than deprecation.
This PR will be closed.


There are NO EXAMPLES for this over-engeineered class.

You know what to do.

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

ID: e576df01-d2d3-133e-cbf9-71a91b707d6d
Version Independent ID: 06be3a2d-7461-a9ef-72a7-bd7452c66d26
Content: ClientSettingsSection.Settings Property (System.Configuration)
Content Source: xml/System.Configuration/ClientSettingsSection.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for your feedback., @txwizard. We prioritize examples based on page views, and this one tends to be low. We do have some examples in the documentation that read settings from an app.config file; the code is almost identical, except for a change of type names, if that helps. In the meantime, we'll add this issue to our backlog and to the community contributor's project.


Footer detailing

I would like to make a detailed, responsive looking footer for the website :)
Can this issue be assigned to me under hacktober label?

/assign

I have completed the issue and made a PR, let me know any feedback.


(MODULES-3632) Use json_pure always

https://github.com/puppetlabs/modulesync_configs/pull/103

https://github.com/puppetlabs/modulesync_configs/pull/104 also


MM-25357 Fix tests for formatGithubCodePaste

Summary
Fixing the expected variable which was from a mistake in an earlier PR on merge.
Ticket Link
https://mattermost.atlassian.net/browse/MM-25357

This can probably skip QA review and cherry-picking since it only affects unit tests

Skipping QA review as it is just unit test changes.


how to access a remote shared folder with credential in asp.net core if you're not using IIS?

How can you read/write to a protected, windows based, network share, if you're not using IIS hosting?

You either run the kestrel process as a user accounts with rights, or use impersonation in your code to become a user with rights. Note that impersonation does not support async.

@blowdart would you mind sharing a few more details? would you be able to provide a code sample? bear in mind that some people, like me, host the app on linux


Hint TypedDict key and value type when call using dict instead of in function

from typing import TypedDict, Optional

User = TypedDict("User", {
    "name": str,
    "age": Optional[int]
}, total = False)

def register(user: User) -> None: ...

register(User()) # (*, name: str = ..., age: int | None = ...) -> None
register({}) # not hinting

this is what I am seeing

I think PASUNX is pointing out that signature help is provided when adding arguments for the User() constructor, but no comparable signature help is provided when typing a dictionary literal expression that conforms to a User type (i.e. when the insertion pointer is within the {} curly braces). This is a valid observation, but I don't see anything we can do about this because "signature help" applies only to call expressions, not to other expressions like dictionary literals. We could conceivably provide completion suggestions in this context, at least for the dictionary keys.

Yeah, which would be #654.
@PASUNX Can you be clearer about the behavior you're looking for? Is #654 what you're interested in; TypeDict literal completion?

I'm going to close this in favor of #654, in the absence of a response.


docs: Add note on how to handle off-by-one validation record issue when upgrading to +v2.13.0

Description
Add readme note on how to handle off-by-one validation record issue when upgrading to +v2.13.0
Motivation and Context
Raise awareness of a potential issue when upgrading the module to +v2.13.0. Closes  #72
Breaking Changes
N/A
How Has This Been Tested?
N/A

Thanks @nickelozz !
v2.14.0 has been just released.


VB Script Language Support?

could it or is it implemented? please. thank you.

VB syntax highlighting should be working fine out of the box.
I've tested it and everything is colored correct.
But in order to enable VB for Atom you need to install the specific package. Atom supports many languages out of the box (core language packages), but VB must be installed as community package.
I used the community package language-vb created and maintained by  Gorea235.
If you're already using this package but would like to change parts of the syntax highlighting or found missing, non-colored elements you can post these suggestions here and I'll see if it fits the overall theme style.

i should have looked at  vanilla vbscript file, my apologies. a 3d program i use has their own flavor and i only have seen their flavor rendered. sorry.

No problem 😄
You can try to set the language for the file manually to VB to see if it also works for the specific flavor, Atom detects file by their extension which may be the reason the file has been colored as "Plain Text" because no package is linked to the file extension.
If you're familar with JavaScript/Coffeescript you could also fork the language-vb package and create a new one for this 3D tool flavor or maybe create a issue in the repository so the creator may add the file extension to the package 😃


python3Packages.renault-api: init at 0.1.4

Motivation for this change
Python library to interact with the Renault API
https://github.com/hacf-fr/renault-api
This is a Home Assistant dependency.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 139395 run on x86_64-linux 1

5 packages built:

home-assistant
python38Packages.marshmallow-dataclass
python38Packages.renault-api
python39Packages.marshmallow-dataclass
python39Packages.renault-api


updated soundcloud-downloader (2.6.4)

Merged as 5cbc35634962455608b36c2c952b26426889097d.

Merged as 481ff98e6090b775b83883aefaf50d8954ab79a4.


Add XChaChaPoly cipher

This adds the XChaChaPoly cipher to snow. The crypto used is the chacha20poly1305 crate, which also has a dependency on the aead crate. I added a simple test that follows the ChaChaPoly test. Likely more tests are needed.
I notices that XChaChaPoly is missing when trying to handshake with a hypercore-protocol stream from nodejs

Rad! Thanks for taking this on. I'd love to get this merged in.
Because XChaChaPoly isn't in the official Noise specification, I'm thinking this should be behind a feature gate. Thoughts?

This makes sense, I added a feature gate.

I rebased this on master and simplified the implementation similar to the ChaChaPoly cipher after the move to the aead crate.

Right, I added the feature to CI tests and updated the ring resolver to not crash.

Hei, can this be merged now that the CI changes are done?

Sorry for the delay and thanks for rebasing. Merged :).

Does this close #71 ?

Yes, it does! There's been no release though since it has been merged.


 Could you re-test please and close the issue if everything is Ok?

still failing, same error

check again lol. You already encountered this situation. Check if you have
a folder named "temp_TestServeStaticResources" under C:\temp and delete it.
On Thu Jan 22 2015 at 09:29:18 santiaago<EMAIL_ADDRESS>wrote:

still failing, same error
—
Reply to this email directly or view it on GitHub
https://github.com/taironas/route/issues/17#issuecomment-70986696.

I dont have a c:\temp folder I am in a mac

not my f*ing problem :). test are only for windows. Windows is god...
On Fri Jan 23 2015 at 11:24:24 santiaago<EMAIL_ADDRESS>wrote:

I dont have a c:\temp folder I am in a mac
—
Reply to this email directly or view it on GitHub
https://github.com/taironas/route/issues/17#issuecomment-71174125.

Tests passed on OS X and Windows. So close the issue.


Support for Sonoff 4CH Pro?

I see that you've added support for the Sonoff Dual. Will this also work for the Sonoff 4CH Pro? If not, is this something that you intend to add in the future?

To answer my own question - this excellent plugin already supports the 4CH Pro. Just need to Have a separate configuration for each channel in the config.json file. The Topic should be the same ifor all channels but command POWER1, POWER2 etc.

@timhng
Do you have an example config.jason that you can add here?


Update README.md

small comment about using aws-sdk v3 with migrations. If the client is a DynamoDBClient instance, any actions will fail with Cannot invoke getCurrentVersion: Cannot read property 'describeTable' of undefined.

Thank you!


fix deprecated semantic-conventions

@yukimotochern for this as well, once the CLA is signed we can review.

@open-telemetry/javascript-approvers PTAL

@yukimotochern thank you for your contribution!

@yukimotochern thank you for your contribution!

No problem!


Install Guide

Is there any reason why the install guide for code search is so hidden that it is almost undetectable?

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

ID: 974660d5-3253-709e-84bf-e21ca3a889d8
Version Independent ID: 26adb3d2-272c-daea-c96a-bad099fd9d99
Content: Semantic search - get started - Azure DevOps
Content Source: docs/project/search/get-started-search.md
Product: devops
Technology: devops-collab
GitHub Login: @chcomley
Microsoft Alias: chcomley

@MarRich1 - Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please let us know which article you’re referencing, or provide more context around the general task.

This one:
https://docs.microsoft.com/en-us/azure/devops/project/search/install-configure-search?view=azure-devops-2020
I tried to google it, but I wasn't able to find it. All google links lead me to
https://docs.microsoft.com/en-us/azure/devops/project/search/get-started-search?view=azure-devops
I know you can´t change google, but it looks to me that all links where forwarded from your site to the 2nd mentioned url
With best regards,
Markus Richtsfeld
Siemens Healthcare GmbH
Information Technology
Product Lifecycle Excellence
Development Platform Services
SHS IT LE ALM D
Siemensstr. 3
91301 Forchheim, Germany
Mobile: +49 1522 1828294
@.***
@.***D73AD5.83DB4770]
Siemens Healthcare GmbH: Management: Bernhard Montag, President and Chief Executive Officer; Darleen Caron, Jochen Schmitz, Christoph Zindel; Chairman of the Supervisory Board: Ralf P. Thomas; Registered office: Munich, Germany; Commercial Registry: Munich, HRB 213821 WEEE-Reg.-No. DE 64872105
Important notice: This e-mail and any attachment thereof contain corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank you.
From: Tim Sherer @.>
Sent: Monday, 26 April 2021 17:09
To: MicrosoftDocs/azure-devops-docs @.>
Cc: Richtsfeld, Markus @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-devops-docs] Install Guide (#10595)
@MarRich1https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMarRich1&data=04|01|markus.richtsfeld%40siemens-healthineers.com|56eeaef1d6664d45755008d908c5281c|5dbf1add202a4b8d815bbf0fb024e033|0|0|637550465157012619|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=LhU65J5NwX5DeWXW5jSBQb%2BtPw9fFDB7GE2vfzPD5rk%3D&reserved=0 - Thanks for your feedback; we appreciate it. To make sure we have all the information needed to address your issue, please let us know which article you're referencing, or provide more context around the general task.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-devops-docs%2Fissues%2F10595%23issuecomment-826912097&data=04|01|markus.richtsfeld%40siemens-healthineers.com|56eeaef1d6664d45755008d908c5281c|5dbf1add202a4b8d815bbf0fb024e033|0|0|637550465157012619|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=W2XaGhWhssla18YAbjyZo6KziFGzMB7MpidCBhj7B3I%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMB4CJHOYAM6LWMUI45LME3TKV6W5ANCNFSM43SKJS6A&data=04|01|markus.richtsfeld%40siemens-healthineers.com|56eeaef1d6664d45755008d908c5281c|5dbf1add202a4b8d815bbf0fb024e033|0|0|637550465157022617|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fCGtbvruPtx90%2FkGsYtqOtUKiPACDGG5VZ8fRJixUUw%3D&reserved=0.

@chcomley - Can you look at this. Installing code search needs to be enabled for Azure DevOps Services as well as on-prem.

Hi @MarRich1, Thanks for alerting us. I've added some metadata and updated a versioning header, so hoping this helps. This issue will automatically close when the PR gets published. Thanks again!


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_afs7lzarpo/clone/recipe/meta.yaml:1: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_afs7lzarpo/clone/recipe/meta.yaml:1: missing_python: For pypi packages, python should be present in the host and run sections. Missing in host
ERROR: /tmp/abs_afs7lzarpo/clone/recipe/meta.yaml:1: missing_python_build_tool: Python packages require a python build tool such as setuptools.
ERROR: /tmp/abs_afs7lzarpo/clone/recipe/meta.yaml:35: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_afs7lzarpo/clone/recipe/meta.yaml:39: incorrect_license: The recipe's about/license key is not an SPDX compliant license or license exception, closest match: BSD-3-Clause
WARNING: /tmp/abs_afs7lzarpo/clone/recipe/meta.yaml:44: missing_description: The recipe is missing a description
Errors were found


feat: bundle references into components

Description
Since we are using json-schema-ref-parser for referencing external refs we could use it to reference all the external references and keep internal references intact, which results in documents having only internal references, but to bundle external references to correct properties we need to write our custom resolving logic. This is what PR aims to add, a way to update the external references to point to an internal object and successfully bring only the part of the object needed from the external file.
Related issue(s)

Fixes #34

@jonaslagoni can you review this once, I am able to bundle the references into the components.
Bundling  https://github.com/Souvikns/bundler/blob/fix-issue-34/example/asyncapi.yaml from https://github.com/Souvikns/bundler/blob/fix-issue-34/example/main.yaml and https://github.com/Souvikns/bundler/blob/fix-issue-34/example/messages.yaml

As of now, we are only moving the messages, I think we can create an interface for adding rules for these operations and then reuse it to just add custom rules for schemas and anything in the future.
Should I do this in this PR or in the next one? I also think this would be the right time to move to typescript
cc @jonaslagoni @derberg

Should I do this in this PR or in the next one? I also think this would be the right time to move to typescript

Always split up the PRs into smaller ones, each with it's own feature 🙂

@jonaslagoni
I have made all the changes you have suggested in this PR
In the next PR, I will

Convert the project to Typescript
add linting
make an interface where adding rules for different bundling logic will be easier

I have added an option, so now to resolve external messages references into components the users can just pass in a flag otherwise it works as usual. I have also updated the readme, I think I am ready for review 🤞🏼.

Need approval from @derberg to merge

const fs = requrie('fs')
https://github.com/asyncapi/bundler/pull/46/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R245
because users will most probably copypaste it.

because users will most probably copypaste it.

Shall I remove it, if people are going to copy/paste won't having the import help?

because users will most probably copypaste it.

Shall I remove it, if people are going to copy/paste won't having the import help?

No, it simply is a one more typo.
- const fs = requrie('fs')
+ const fs = require('fs')

I meant that users will most probably copypaste it, and copypaste it with the error it contains.
Also, there are typos here:
const bundle = requrie('@asyncapi/bundler');
const path = requrie('path');

It might be a good idea to go through all PR proofreading it.

/rtm


expand: false --> Destination not written because compiled files were empty.

Should setting expand to false cause the files to be written to a single top-level directory? For me this option leads to the following error:
>> Destination not written because compiled files were empty.
>> Source file "components/browse/browse.jade" not found.
>> Source file "components/chat/content.jade" not found.
>> Source file "components/chat/conversations-list.jade" not found.
...

Questions go to http://stackoverflow.com/questions/tagged/gruntjs. Also this is not an issue with this plugin.


--seq Prepend a seq column to the table.

Check list

[x] I have read through the README (especially F.A.Q section)
[x] I have searched through the existing issues or pull requests
[x] I have performed a self-review of my code and commented hard-to-understand areas
[x] I have made corresponding changes to the documentation (when necessary)

Description

Type of change

[ ] Bug fix
[x] New feature
[ ] Refactor
[ ] Breaking change
[ ] Documentation change
[ ] CICD related improvement

Test environment

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Others:

@bingoohuang Thanks for the contribution.


db dsgnr-feature

add designer transaction (price, design Kirim inventory buyer, deadline, acc or not, assigned date)

erd added

erd added

query added

query added


Inverted photo

Centered image is reversed.

Please provide more details of the problem, for example: example input and output image.

Thanks for the detailed description. Looks like original software does a better job at stitching - proper vertical lines. BTW: inverted means for me with inverted colours or upside-down.
I see no serious problem with script generating "shifted" panorama. There's a possibility to "shift"/"rotate" final panorama while stitching in Hugin. The only advantage would be to be in line with the original software. I'll see if I can make a better template file and perhaps also mimic the original Samsung software.
Note: that I don't have access to original app (it doesn't work on my "old" phone), that's why I created this script in the first place.

Thank for your good work, I do not know how to use Hugin well, your writing is very helpful with lots of photos
Sorry for my english.

I have tried to invert the name of file in gear360pano2.cmd with no success, is the pto file to modify?
`echo "Stitching input images (enblend)"
cmd="enblend -o $OUTNAME \
     --compression=jpeg:$JPGQUALITY \
     $TEMPDIR/${OUTTMPNAME}0001.tif \
     $TEMPDIR/${OUTTMPNAME}0000.tif"
run_command $cmd`

Do this:

Rename your panorama to dummy.jpg (the one coming from Gear360).
Start Hugin and open gear360tmpl.pto file (it will open your panorama file).
Go to Fast Preview Panorama (icon with "GL").
Select "Move/Drag" tab.
As Drag Mode select "Normal".
Using left click you can shift panorama around using left click.

You should be able to make it similar to original Samsung stitcher.

Great!! Thanks


Added support for enabling video front camera mirroring

Hey, this looks fine to me. Thank you! Just incase: did you look at the "keepMirroringOnWrite"  property? This will keep the mirroring for previewing for write the buffers at if they were not mirrored, instead of completely removing the mirroring.

Awesome, glad to hear! Did play around with the "keepMirroringOnWrite" but getting only audio when exporting from front camera. Still debugging here - will let you know how it goes.

Hi, has there been any progress on fixing the audio only bug when using keepmirroringonwrite with front camera? Still having that issue using latest build

This property hasn't affect on photo, taken with -capturePhoto method. Maybe configuration video mirroring should contain setting video mirroring on photo output video connection. Correct me if I wrong.


Software Dev: C Programs to implement CG Algorithms : Fixes issue #75

This pull request Fixes issue #75
Following Programs are Added :

Digital Differential Analyzer (DDA) Algorithm
Bresenham's Line Drawing Algorithm
Midpoint Ellipse Generating Algorithm

Added under Software Dev directory since, @orvil1026 had added MidpointCircle.c in that directory.


Firefox crash when trying to open link from VSCODE

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.78.0
OS Version: Fedora 37

Steps to Reproduce:

Install vscode as snap
Try to open a link anywhere (terminal, github extension, Azure extension).
Watch firefox crash :(

Merging to https://github.com/microsoft/vscode/issues/179917


Can't promote guild members to battle master and assistant guild master

Describe the bug
As the title says when you try to promote guild members nothing happens.
To Reproduce
press g -> click on a guild member different from the GUILD MASTER -> click position -> select a position -> click ok -> nothing happens
Expected behavior
The selected players should have "Position" Battle Master or Assistant guild Master
Desktop (please complete the following information):

OS: win 11

Additional context
Add any other context about the problem here.

This feature is not implemented yet and is relevant for the castle siege event, which is also not implemented yet.


InMemoryRepository is under Services, but PersistedRepository is under Data/Repositories

My thoughts are that these two should both be in JabbR-Core.Data/Repositories/ instead of InMemoryRepository being under JabbR-Core/Services while PersistedRepository is under JabbR-Core.Data/Repositories/

InMemoryRepository is in under Services in the main JabbR-Core project because it still has references to ViewModels which it can't reference from the .Data project due to circular dependency issues between the projects
When the ViewModels are refactored out it will be moved to the .Data/Repositories folder


[Request] Pass additional data along with a Join request, such as SteamID

would be useful

that information can be encoded into your join secret

what Lachee stated is correct.

Well no, because the join request wont contain the secret of the other user.
If User A is hosting a party and User B selects "ask to join" - then User A will get a join request. But User A has no way of knowing User B's SteamID. So, the only choice User A has is to accept any network request from the next SteamID that asks, which is sort of a vulnerability for Steam users.

Maybe I'm misunderstanding, but it seems like the auth is a bit backwards in your case?
If I've got a Steam game that only a certain criteria of people can join—maybe the game is password protected—that password/key to join should be encoded within the joinSecret. That way someone who wants to play:

Launches the game
Gets the join secret
Has their client decode the secret to whatever special information is needed to join the game
Gives that info to the lobby to which they're connecting
Is denied/accepted

Perhaps there's a case of game that I'm not understanding?

Join secrets are generally a secret value representing the lobby a user can join into. While you can store metadata with the join secret to assist your game in locating the player's lobby, you cannot rely on the information being genuine (non-forged) without some form of encryption or backend server component. In general, if join secrets are implemented this way you shouldn't have to worry about user b's steam id since they used a secret value that can be validated as genuine.

But what about this case, where the session is entirely peer to peer, it is still useful to know the steamid of the player requesting to join, so then you will only allow incoming connection requests from that steamid.

If you are really concerned about validating a user's steamid, it can be done, albeit with some additional work.
When the SDK starts up, you get the user object of the connected user in the read callback. You could, if you wanted, store the mapping between steamid <--> discordid. Then, when someone Asks to Join, go find the steam id for that discord id and anticipate their joining.
I get your use case, but I think additional "auth" outside what is capable with the secrets is out of scope of SDK enhancements, and should be handled by individual developers.

I'm afraid I don't follow. How would you go about storing the mapping for the other player wanting to join? The problem is I don't see a way to get this info without having to host a server myself that relays this data

There's unfortunately not a way to do it without your own server. Discord doesn't have a user's steam ID just because they launch a steam game. We only have a user's steam ID if they link their Steam account to Discord, which is not required.

Right, which is why I was requesting allowing us to send over a string along with the join request.

After re-reading this a few times, I think maybe I'm misunderstanding your question. This stuck out to me:

User A's only information they're given is the discord ID and name of the user requesting to join their session. They have no way of knowing what that discord user's steamid is, though. They hit accept anyways

Is your concern that User A doesn't know who User B is when they get the request?
If so, note that in order for Ask to Join to work, you need to be friends on Discord. If Users A and B are friends on Discord, I think it's fair to assume they'd know who the person is requesting to join.

This is true, however it leaves a moment in time between the requests where anyone can connect to that users steam session, because User A doesnt have User B's steamid on hand, they just have to "trust" the next steam network request.

I am not familar with the Steam MatchMaking API, but I would imagine it would have a way to password protect games. If userC tried to connect, they wouldn't be able to because they dont have the password. You can then pass the password to userB via the JoinSecret, and they can use that to connect.

Yeah I think that's really the heart of it. If you're concerned about "anyone" joining the game that shouldn't be there, it should be password protected in some way, and that password should be sent as the joinSecret. If someone else also happens to have the password and joins "ahead" of User B...not really an issue I guess, since they have the password, so should be in the game anyway.

And if you are worried about avatars mismatch, OnReady gives a user object that you can tell the host about after you connect. OnReady will be called before the JOIN event


Authentication : create a user with access to only a specific datacenter

Is it possible to create a user with access to only a specific datacenter ?

Hello, I was wondering the same question. In order to have one uchiwa for multiple customer, this should be an awesome feature !

The RBAC (Role Base Access Control) feature is currently only available with Sensu Enterprise (https://sensuapp.org/docs/latest/enterprise-dashboard-configuration#role-based-access-controls-rbac).


Yay! Parser and gitignore is working!

Added a bit to make the parser work and gitignore is successfully hiding venv and pychache too!

If you're wondering what this Files Changed 1136 is about, I had to do some hacking (with that I mean browsing in SO, of course) and now venv and __pychache is hidden on Github. Should the .idea be hidden too?

@Tams-Tams  Yes.

@TheSecondComing123 The wait I'll add that too, don't merge yet.


Doc does not say when to run zowe-configure.sh

Description

The doc mentions zowe-configure.sh 4 times, but only to say "before you run zowe-configure.sh".
Pages to Update

Screenshots

Expected behavior

It should say "Now run zowe-configure.sh" somewhere, possibly just before "Stopping the ZOWESVR PROC".
Additional context

The whole install process is quite long and there's no checklist, so the user could easily forget to run this vital script.

Docs now include an installation roadmap that guides users to complete a list of installation and configuration tasks as well as the scripts/JCLs that should be run. This should address this issue where users might forget to run the required script. Closing.


Fix for Sybase ASE 15.7 identification string

Have you run the Sybase tests to see if they all pass with your version?

I have not run any Sybase tests because I am not able to build flyway unless skipping all tests.

Do they pass in your IDE?

I am sorry, but I am not a Java developer and running the tests in IDE is not something I know how to do either. I just am interested in Sybase ASE support in flyway.

Thanks! Merged.


Incorrect detection of Performance/FirstLastAfterFilter on custom class

When there is no find method on a class, ameba is still suggests using it
Example:
class Example
  def select
    yield "Hello, "
    self
  end

  def first
    puts "World!"
  end
end

print Example.new.select { |a| print a }.first

Yields:
[C] Performance/FirstLastAfterFilter: Use `find {...}` instead of `select {...}.first`

Ameba is only about static code analysis, it knows nothing about semantics and the type of the object the method sent to. In other words, right now, it is not possible to correctly process your case.
I am thinking about disabling by default these performance rules for a while. Once we do semantics analysis, we will be able to switch that back.

ok, no problem.


Add docs for Alibaba RocketMQ pubsub

Signed-off-by: Shubham Sharma<EMAIL_ADDRESS>Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[X] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[X] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[X] New file and folder names are globally unique
[X] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description

This is a copy of the previous PR #1405 that was reverted.
Issue reference

#2467

@berndverst would you be able to give this a quick review to make sure the spec matches the implementation of this component?

@msfussell, @nyemade-uversky I have updated this PR. This adds RocketMQ as a generic component. I also started digging into the actual implementation of the RocketMQ code and the original docs PR was not at all matching with the current implementation. I have updated the metadata specs and example. I also found a few issues with RocketMQ metadata which we will track with [TODO].

@shubham1172 - Great! So this PR still needs more work on the component code before updating here. I will mark this bug as wait on Code PR.

@msfussell the current docs are in-line with the functionality today. Once the code PR is checked in, the docs would also need update. Can we go ahead and merge this PR to start with?, and with the next code PR we can also expect a new docs PR.


Move contact information in Colombia outcome

The contact information was incorrectly being shown between the
consular_fees_table and link_to_consular_fees. Si Stephens confirmed that it
should be above the Fees section (see https://trello.com/c/K2bUzopZ).
I've run the regression tests, updated the artefacts and checksum data all in
this commit because it's such a small/easy to understand change.

This looks good to me.

Looks good, thanks 👍

Thanks for reviewing, @floehopper and @sistephens.
I've rebased on master and force pushed in preparation for merging. There weren't any commit comments so we've not lost anything by force pushing.


Migrate custom_m.html to new JsonConfig

We were able to hold the HTML style confog pages - especially for the custom configurations  working for many years and admin versions now. With the rewrite of Admin in React we need to break this functionaliyt because it will not be possible to integrate "html snipets" that way as in the past.
Admin5 allows to specify the fields in a JSON format and all the rest is handled by the Admin itsefl. This new format is optional for the normal admin configuration dialog,but mandatory for the custom configuration!!
The JSON format is described in https://github.com/ioBroker/ioBroker.admin/blob/master/src-rx/src/components/JsonConfigComponent/SCHEMA.md and we will also having soon a JSON-Schema for it hopefully. Also Adapters like sql, influxdb, history and telegram are already migrated and could be used to see an example (see admin folder).
If you use special components (Tables or other "non standard field types) or you need support on how to best migrate special needs that are not available in the specification above please open an isue in admin and describe exactly what you need and how it should behave - or implement it in admin react and provide a PR.
You can test it yourself by using the react GUI from Admin 5.
Thank you for your support. It would be awesome if you could find time to check and implement this within the next 2 weeks. Please responde if you can not do that, then we can think about supportive options.
Please use https://github.com/ioBroker/ioBroker.admin/issues/692 for any questions!

@Omega236 Please merge!!!


How to set response header in #[oai]

I'm trying to set a response header in this, but I don't know what type of value it is
#[derive(ApiResponse)]
pub enum HttpResponse {
#[oai(status = 200, header = "123")]
Ok(PlainText),
#[oai(status = 200)]
DownLoadSuccess(Attachment<Vec>),
}

do it like this:
https://github.com/poem-web/poem/blob/5ed753e8a73a105ed345778efa104857a6ce2d91/poem-openapi/tests/response.rs#L123C21-L123C21

do it like this:
https://github.com/poem-web/poem/blob/5ed753e8a73a105ed345778efa104857a6ce2d91/poem-openapi/tests/response.rs#L123C21-L123C21

Thanks


Backend setup fix

Description
Reworked docker-compose for backend, and swapped backend container to run using Nodemon. It is not working with hot reload yet.
Also

Added Mongodb container for dev
Moved DB stuff to separate directory, set up as per https://www.mongodb.com/compatibility/using-typescript-with-mongodb-tutorial so it exports collections for external use by model layer.
Set up TSConfig & added type dependencies + annotations for pre-existing code.

Also list if you add any new dependencies.
"@types/express": "^4.17.14",
"@types/node": "^18.11.9",
"nodemon": "^2.0.20",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
Fixes #36
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (if required)
[x] My changes generate no new warnings

yeah it's intended. It should be in readme, & probably in .env.example as well. I'll add that


Unable to load level Ingredient Identification

When I try to open the Ingredient Identification level I get the follow error:

I’ve tried all 3 buttons, no difference.
I’ve tried on Chrome and Edge, both the same result.
If I sign out, I can do the level, but as soon as I sign in again, it fails.
It also doesn’t remember my finishing the level, so I can’t progress.
Can I skip the level somehow?
Is it related to my account?
Discourse URL: https://discourse.codecombat.com/t/unable-to-load-level-ingredient-identification/15954

The answer on Discourse is that this level is probably not working with CoffeeScript syntax yet (so this Issue should remain open until that's fixed!), add ?codeLanguage=javascript to the URL to fallback to JavaScript.


0.4.7 broke support for passing extra arguments through llvm-lines

There's quite a bit of argument refactoring in the 0.4.6 to 0.4.7 diff, so I'm not sure of the precise commit, but previously cargo llvm-lines -- -Zverbose for example would've worked, passing the -Zverbose to rustc (like cargo rustc does). perf.rust-lang.org used this support.
I think this was likely unintentional -- perhaps we could re-add that support?

Sorry about the breakage. This was not intentional. Fixed in 0.4.9.


cannot execute APP

App has been in installation state without error

Can you post an error log?
What device are you running on?
Output of flutter doctor?


Adding Telemetry headers to public WIL package. These headers add con…

…venience macros for defining and logging telemetry events. These event can be used for local tracing.

#endif

This pattern is a little odd. Maybe instead of forking the macros, use an "expands to nothing" model, like:
#ifdef _GENERIC_PARTB_FIELDS_ENABLED
#define _TLG_GENERIC_PARTB_PARAMS _GENERIC_PARTB_FIELDS_ENABLED,
#else
#define _GENERIC_PARTB_FIELDS_ENABLED
#endif

And then use it like this in a single macro:
    #define DEFINE_TRACELOGGING_EVENT_PARAM3_CV(EventId, VarType1, varName1, VarType2, varName2, VarType3, varName3, ...) \
        template<typename T1, typename T2, typename T3> static void EventId(T1 &&varName1, T2 &&varName2, T3 &&varName3, PCSTR correlationVector) \
        { \
            TraceLoggingWrite(TraceLoggingType::Provider(), #EventId, _TLG_GENERIC_PARTB_PARAMS \
                TraceLoggingValue(static_cast<VarType1>(wistd::forward<T1>(varName1)), _wiltlg_STRINGIZE(varName1)), \
                TraceLoggingValue(static_cast<VarType2>(wistd::forward<T2>(varName2)), _wiltlg_STRINGIZE(varName2)), \
                TraceLoggingValue(static_cast<VarType3>(wistd::forward<T3>(varName3)), _wiltlg_STRINGIZE(varName3)), \
                TraceLoggingString(correlationVector, "__TlgCV__"), __VA_ARGS__); \
        }

So when the fields are set they're injected, otherwise they aren't

Refers to: include/wil/Tracelogging.h:1768 in 3fa3f39. [](commit_id = 3fa3f39c3b4771c21827001fc1fd280311359819, deletion_comment = False)

            TraceLoggingValue(static_cast<VarType2>(wistd::forward<T2>(varName2)), _wiltlg_STRINGIZE(varName2)), \

These part-b args should probably come after the caller-provided parameters but before the CV parameter.  Otherwise it makes scripts that use positional-indexed TLG content broken/variable when this is or isn't set.

Refers to: include/wil/Tracelogging.h:1734 in 3fa3f39. [](commit_id = 3fa3f39c3b4771c21827001fc1fd280311359819, deletion_comment = False)

            TraceLoggingValue(static_cast<VarType2>(wistd::forward<T2>(varName2)), _wiltlg_STRINGIZE(varName2)), \

Would this apply to the macros without CV as well?

In reply to: 871716427

Refers to: include/wil/Tracelogging.h:1734 in 3fa3f39. [](commit_id = 3fa3f39c3b4771c21827001fc1fd280311359819, deletion_comment = False)

@MythiliM is added to the review. #Closed

@benkuhn is added to the review. #Closed

@Wildisc is added to the review. #Closed


"Unsupported ImageFrame Format" when using GPU mode

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
MacOS
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
Python
MediaPipe version
0.10.9
Bazel version
No response
Solution
Pose Landmarker
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
During detect_async, the program crashes with "unsupported ImageFrame format". Behavior does not occur in CPU mode, only in GPU mode.
Describe the expected behaviour
No error.
Standalone code/steps you may have used to try to get what you need
import cv2
import mediapipe as mp
from mediapipe.tasks import python
from mediapipe.tasks.python import vision

def on_pose (result, frame, timestamp):
    print("pose received")

print("initializing mediapipe...")

base_options = python.BaseOptions(
    model_asset_path="pose_landmarker.task",
    delegate=python.BaseOptions.Delegate.GPU
)

options = vision.PoseLandmarkerOptions(
    base_options=base_options,
    running_mode=vision.RunningMode.LIVE_STREAM,
    result_callback=on_pose
)

landmarker = vision.PoseLandmarker.create_from_options(options)

print("retrieving a video frame...")

cap = cv2.VideoCapture(0)
ok, frame = cap.read()

print("converting image...")

mp_frame = mp.Image(image_format=mp.ImageFormat.SRGB, data=frame)

print("pose detection...")

landmarker.detect_async(mp_frame, 0)

Other info / Complete Logs
initializing mediapipe...
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1711457309.835664       1 gl_context.cc:344] GL version: 2.1 (2.1 Metal - 83.1), renderer: Apple M2 Pro
INFO: Created TensorFlow Lite delegate for Metal.
retrieving a video frame...
converting image...
pose detection...
 To make it work, switch the image format to SRGBA as below. We need to improve our documentation and need better error messages.
frame = mp.Image(image_format=mp.ImageFormat.SRGBA, data=cv2.cvtColor(frame, cv2.COLOR_BGR2RGBA))
Thank you!!

Thanks! It's working! Used cv2.COLOR_RGB2RGBA instead, just a minor thing.

Hi @JC3,
Thank you for confirming. Can we proceed to mark the status of the issue as resolved and close it?


Chore/fix typos

What's this PR do?

Hunts and fixes typos in the whole codebase

How should this be reviewed?

👀
Tests should have passes in wercker

Any background context you want to provide?

There were a good amount of typos. Taking care of them here to prevent cluttering future PRs.

Ah 💩, branched off production. Closing to branch off master.


Composer package

Hi, first of all, thanks for making this API public! =)
I've noticed that it's not a composer package yet. Since PHP community moved towards Composer, it would be really nice to have etsy/feature as a composer package. There's any way we could have it there? If any help is needed, let me know.
Thanks!

+1

+1

:+1:

Any news on submitting this on https://packagist.org/? :)

I'd accept a PR adding composer support at https://github.com/matt2000/feature, or else I'll add it myself eventually.

already done : https://packagist.org/packages/jowy/feature


Handle when user is not in the Bitcoin app on Ledger Nano S

We need to make sure that we give a proper error when the user is not in the Bitcoin app on the Ledger Nano S. I was unable to find a way to  detect this. It seems like what happens is that there's just an error that gets thrown with an unhelpful error message, so maybe we just need to make the error messages better?
@instagibbs Can you take a look?

sounds like better error codes aren't coming until 1.5 firmware update

Looks like some people are running into this: https://github.com/zkSNACKs/WalletWasabi/issues/3931#issuecomment-659412817
Any idea if there are better error codes now or a check we can do?

Have you tried to exchange "get app name" APDU cla=0xb0 ins=0x01?


bundles-path should be bundlesPath

So that it is consistent with the stealTools.build option.

For now I will make this change in the README.md since this will be fixed ASAP.

This goes for configPath as well

bundlesPath (where the glob stuff goes and steal) should be dest or destPath and should be dist/ by default.


Blazor Package Updates + Enable CodeQL

Update AspNetCore package for Blazor
Create codeql analysis workflow file

@gfs This PR was primarily focused on enabling CodeQL. The initial run failed because the Blazor project wouldn't build, but an update to the AspNetCore package fixed that. Pinging you for review mostly as a heads up regarding the package update.

Update the related "devserver" dependency that is on 3.2.1 as well
Sent from ProtonMail mobile
-------- Original Message --------
On Nov 25, 2020, 3:42 PM, David Alcantar wrote:

@gfs This PR was primarily focused on enabling CodeQL. The initial run failed because the Blazor project wouldn't build, but an update to the AspNetCore package fixed that. Pinging you for review mostly as a heads up regarding the package update.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


sidr wordpress plugin working?

Hello,
Does the sidr wordpress plugin works? Installed and put the needed sidebar links with ID and href link but not working, no errors at all.
Who's supporting this wordpress plugin?
Nothing in the wordpress plugin library.
Thanks, to help!

If something does not work show us the code.


Match CoreCLR GetHashCode on IntPtr and UIntPtr

The behavior of GetHashCode on IntPtr and UIntPtr changed to
respect the upper 32 bits in CoreCLR. This change matches that behavior.
Fix #978

Hi @vcsjones, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

/cc @jkotas.

LGTM. Thanks!


browser close from fullscreen causes black screen after opening it again.

Version

Phaser Version: 3.22

Operating system: Android Xiaomi

Browser: Chrome

Description

@samme
I start the game in fullscreen mode by using this.game.scale.startFullscreen().  All looks good. Then I click phone's middle button on the screen which closes the browser. After I open the browser, game still continues playing, but the whole screen goes black.
Any ideas ?

Due to the age of this issue and the legacy hardware / Phaser version involved, we're going to close it off, even though it wasn't officially addressed as resolved. If you can replicate this issue on modern hardware (and Phaser v3.70), then feel free to open a brand new issue with a code sample, and we'll look into it.


Check the permission of script when download

Hi there!
I think i found a issue, maybe you need to check that.
When you did a curl and download the file, this one dont have permission of execute the script. So, you can add bash chmod 777 to execute file or upload again the file with the correct permission.
I hope this help you . Be docker! Regards

Yup! Scripts that are downloaded from the web are usually marked non-executable by default!
A more common way to do this is
chmod +x myscript

Thanks!


SMF connection issues

When trying to connect a UE from UERANSIM, it's failing on one step which I think is related to the SMF not connecting. Below are the logs from the various NFs:
SMF (logs seem fine):
04/11 21:50:57.156: [app] INFO: Configuration: '/opt/open5gs/etc/open5gs/smf.yaml' (../lib/app/ogs-init.c:129)
04/11 21:50:57.275: [gtp] INFO: gtp_server() [<IP_ADDRESS>]:2123 (../lib/gtp/path.c:30)
04/11 21:50:57.275: [gtp] INFO: gtp_server() [<IP_ADDRESS>]:2152 (../lib/gtp/path.c:30)
04/11 21:50:57.275: [pfcp] INFO: pfcp_server() [<IP_ADDRESS>]:8805 (../lib/pfcp/path.c:30)
04/11 21:50:57.275: [pfcp] INFO: ogs_pfcp_connect() [<IP_ADDRESS>]:8805 (../lib/pfcp/path.c:59)
04/11 21:50:57.275: [sbi] INFO: nghttp2_server() [<IP_ADDRESS>]:7777 (../lib/sbi/nghttp2-server.c:144)
04/11 21:50:57.275: [app] INFO: SMF initialize...done (../src/smf/app.c:31)
04/11 21:50:57.276: [smf] INFO: PFCP associated (../src/smf/pfcp-sm.c:174)
04/11 21:50:57.279: [smf] INFO: [77e345b2-b9e1-41ec-bf78-4322aa4ff042] NF registred [Heartbeat:10s] (../src/smf/nf-sm.c:199)
04/11 21:50:58.755: [pfcp] INFO: ogs_pfcp_connect() [<IP_ADDRESS>]:8805 (../lib/pfcp/path.c:59)
04/11 21:50:58.755: [smf] INFO: PFCP associated (../src/smf/pfcp-sm.c:174)
04/11 21:50:59.301: [diam] INFO: CONNECTED TO 'pcrf.openverso' (SCTP,soc#22): (../lib/diameter/common/logger.c:108)
UE:
[2022-04-12 15:27:11.167] [nas] [info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE]
[2022-04-12 15:27:11.167] [nas] [debug] Sending Registration Complete
[2022-04-12 15:27:11.167] [nas] [info] Initial Registration is successful
[2022-04-12 15:27:11.167] [nas] [debug] Sending PDU Session Establishment Request
[2022-04-12 15:27:11.167] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2022-04-12 15:27:11.376] [nas] [debug] Configuration Update Command received
[2022-04-12 15:27:21.386] [nas] [error] SM forwarding failure for message type[193] with cause[PAYLOAD_NOT_FORWARDED]
[2022-04-12 15:27:21.386] [nas] [debug] Aborting SM procedure for PTI[1], PSI[1]
[2022-04-12 15:27:22.157] [nas] [debug] Sending PDU Session Establishment Request
[2022-04-12 15:27:22.157] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
NRF:
04/11 21:45:51.860: [nrf] WARNING: [af541f04-b9e0-41ec-88da-514d16886d4a] No heartbeat (../src/nrf/nrf-sm.c:228)
UPF:
04/11 21:50:57.275: [pfcp] INFO: ogs_pfcp_connect() [<IP_ADDRESS>]:8805 (../lib/pfcp/path.c:59)
04/11 21:50:57.276: [upf] INFO: PFCP associated (../src/upf/pfcp-sm.c:173)
04/11 21:50:58.755: [upf] WARNING: Retry to association with peer [<IP_ADDRESS>]:8805 failed (../src/upf/pfcp-sm.c:106)
04/11 21:50:58.755: [upf] INFO: PFCP associated (../src/upf/pfcp-sm.c:173)
04/11 21:51:02.250: [pfcp] WARNING: [54974] LOCAL  No Reponse. Give up! for step 1 type 1 peer [<IP_ADDRESS>]:8805 (../lib/pfcp/xact.c:618)
04/11 21:51:02.250: [upf] WARNING: No Heartbeat from SMF [<IP_ADDRESS>]:8805 (../src/upf/pfcp-sm.c:256)
04/11 21:51:02.250: [upf] INFO: PFCP de-associated (../src/upf/pfcp-sm.c:178)
AMF:
04/11 22:03:36.035: [gmm] INFO: UE SUPI[imsi-999700000000001] DNN[internet] S_NSSAI[SST:1 SD:0xffffff] (../src/amf/gmm-handler.c:1047)
04/11 22:03:39.091: [sbi] WARNING: [7] Failed to connect to <IP_ADDRESS> port 7777: No route to host (../lib/sbi/client.c:484)
04/11 22:03:46.039: [amf] ERROR: [1:0] Cannot receive SBI message (../src/amf/amf-sm.c:584)
04/11 22:03:46.039: [amf] WARNING: [suci-0-999-70-0000-0-0-0000000001] DL NAS transport (../src/amf/nas-path.c:573)
I'm not sure where the <IP_ADDRESS> address is coming from (not configured for any of the Core NFs), but according to UPF logs, it seems like it thinks that IP is for the SMF.
According to https://open5gs.org/open5gs/docs/troubleshoot/02-now-in-github-issues/, that error points to running the SMF without the NRF:
However, among these, SMF and UPF are used by both 4G EPC and 5G Core. And SMF has a protocol stack to interact with 5G NRF. Therefore, if you run SMF without running 5G NRF, the following WARNING occurs in SMF.
10/08 14:44:03.045: [sbi] WARNING: [7] Failed to connect to ::1 port 7777: Connection refused (../lib/sbi/client.c:450)
10/08 14:44:03.045: [smf] INFO: PFCP associated (../src/smf/pfcp-sm.c:174)
10/08 14:44:03.046: [diam] INFO: CONNECTED TO 'pcrf.localdomain' (SCTP,soc#16): (../lib/diameter/common/logger.c:108)
10/08 14:44:06.046: [smf] WARNING: [3c85dd06-0996-41eb-a985-476fa905aefc] Retry to registration with NRF (../src/smf/nf-sm.c:161)
10/08 14:44:06.047: [sbi] WARNING: [7] Failed to connect to ::1 port 7777: Connection refused (../lib/sbi/client.c:450)
Any ideas on why the SMF is getting assigned this .8 IP?

The resolution of IPs is through the names of the services. Could it be that you have that name mapped to an old IP?

I haven't configured any IPs in the config files. I shouldn't have to either right? Since as you mentioned the services are resolved through the name. Other than the mcc, mnc, and slice related parameters which need to be configured for the UE and Core, all other Core services should be able to connect without config changes?

The other components of the Core (AMF, UPF, UDM, NRF, etc) seem to establish connections just fine, so I'm wondering why the SMF is throwing a network related issue.

Can you tell me what steps you took to deploy your scenario?

Also, when I delete the gnB pod from ueransim and it gets re-created, the SMF pod crashes:
04/21 16:42:23.161: [app] WARNING: Try to discover [PCF] (../lib/sbi/path.c:110)
04/21 16:42:23.162: [smf] INFO: [6f598526-b71d-41ec-ba25-d5811f4a0332] (NF-discover) NF registered (../src/smf/nnrf-handler.c:284)
04/21 16:42:23.162: [smf] INFO: [6f598526-b71d-41ec-ba25-d5811f4a0332] (NF-discover) NF Profile updated (../src/smf/nnrf-handler.c:330)
04/21 16:42:23.166: [smf] INFO: UE SUPI[imsi-999700000000001] DNN[internet] IPv4[<IP_ADDRESS>] IPv6[] (../src/smf/npcf-handler.c:492)
04/21 16:42:23.166: [gtp] INFO: gtp_connect() [<IP_ADDRESS>]:2152 (../lib/gtp/path.c:58)
04/21 16:42:23.167: [nas] FATAL: ogs_nas_bitrate_from_uint64: Assertion `bitrate' failed. (../lib/nas/common/types.c:433)
04/21 16:42:23.167: [core] FATAL: backtrace() returned 12 addresses (../lib/core/ogs-abort.c:37)
/usr/local/lib/x86_64-linux-gnu/libogsnas-common.so.2(ogs_nas_bitrate_from_uint64+0xdc) [0x7ffb171d3dd3]
open5gs-smfd(+0x63841) [0x55d3cb58e841]
open5gs-smfd(+0x4c801) [0x55d3cb577801]
open5gs-smfd(+0x27224) [0x55d3cb552224]
/usr/local/lib/x86_64-linux-gnu/libogscore.so.2(ogs_fsm_dispatch+0x47) [0x7ffb179e7e34]
open5gs-smfd(+0x1cda1) [0x55d3cb547da1]
/usr/local/lib/x86_64-linux-gnu/libogscore.so.2(ogs_fsm_dispatch+0x47) [0x7ffb179e7e34]
open5gs-smfd(+0xb619) [0x55d3cb536619]
/usr/local/lib/x86_64-linux-gnu/libogscore.so.2(+0x1512f) [0x7ffb179db12f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8ea7) [0x7ffb16f73ea7]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7ffb16ea3def]
Any ideas on what is causing this?

I think your problem has to be related with connectivity issues because i followed your steps and it's working for me. Which CNI are you using?
On the other hand, SMF crash is "normal". It's reported for other users in issues of open5gs/ueransim, so i cannot do nothing there...


Changing the date of phone changes vaccination status

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[ ] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Technical details
Can't say what device or version was used, reporting this issue after seeing the effect happen in screenshots of a friend-group.
Describe the bug
After getting the first vaccine and scanning the code, you can change the date of the phone to receive the second vaccine right away. The device is showing "Sie haben nun alle Impfungen erhalten erhalten ..."
Please someone who was vaccinated can check? Or a dev with the right tools can reproduce this issue? (I don't think the guy faked the screenshot)

Steps to reproduce the issue

get vaccine
scan code/receive code/...
see the first vaccine registred
change phone date to a date after the second
see you have both injections

Expected behaviour
Not saying the person was vaccinated two times.

Possible Fix
Checking date online? If possible? Saving date in db and check if "last modified" is consistent?

Additional context
Sadly, I can't provide more information... The name and date of birth of the screenshot were legit.

Internal Tracking-ID: EXPOSUREAPP-7736

I noticed the App visually shows that the status goes to valid visually if the date is changed!
We all know how many restaurants will check the QR-code if a group of vaccinated people show up.
They will just have a quick look on the screen if it is valid and not bother with scanning! Time is money!
If the date check fails the status should also show invalid in the app visually!!

Related: BMG also responded to the issue with a tweet.
https://twitter.com/BMG_Bund/status/1410889759610843140

Corona-Warn-App Open Source Team

The tweet and everything is correct, and I get your point but this is still a problem. Restaurants don't scan the QR code, they see that it's green and they let you in. I personally know of people that abuse this.
As far as I know, the app shows the date of the vaccination. If hardening the green indicator code is too hard, why not just check time over the internet when the vaccination is added and display that in big in the vaccination proof box? It's still not great but better than nothing.

@jfwerner
With version 2.5 there is really no big difference anymore between full vaccination protection and not yet full protection, they are both shown with a blue background and only if you tap on the QR-Code and scroll down, then there is a little text saying when you reach full vaccination protection.

@Ein-Tim Ah yes I was wondering, then let's hope people have auto update on and don't have enough criminal energy to download the old apk. :) Glad this got fixed.

@jfwerner

As far as I know, the app shows the date of the vaccination. If hardening the green indicator code is too hard, why not just check time over the internet when the vaccination is added and display that in big in the vaccination proof box? It's still not great but better than nothing.

Because it offers no additional security. The same problem as discussed in https://github.com/corona-warn-app/cwa-documentation/issues/634#issuecomment-873108806 also applies for real-time checks.

Corona-Warn-App Open Source Team

The bug is still available
in v 1.72.6

@MyZeD

The bug is still available
in v 1.72.6

Presumably you are referring to the CovPass App not the Corona-Warn-App (current version 2.7.1). The repository here is for CWA only.

Oh, I'm so sorry ;)

I suggest to apply the https://github.com/corona-warn-app/cwa-documentation/labels/wontfix label here and close this issue now.

Closing as suggested.


It should probably be clearer that Ed25519 as described by RFC 8032 does not suffer from signature malleability

Ed25519 described by RFC 8032 is not malleable. This should probably be clearer on the demonstration page.

Fantastic tool.  Thank you for your work.
I used your tool to generate a test for Coze to ensure that the Go implementation wasn't malleable.  I also tested Paul's noble library using the Ed25519 Online Tool which also does not permit malleability.
I was unable to get (TweetNACL)[https://tweetnacl.js.org/#/sign] to validate a "high s" signature, but perhaps it was an encoding issue.  Do you perhaps have an example?
I've not dug too deep into the Rust code.  Was it dalek that's permitting malleable signing/verification of Ed25519?


block found / share found?

If i have found a share with higher diff like 218T shouldnt be a block found?

What miner and do you have a log?

i was testing lolminre 1.,58 and he is writting what hee has found as a share

lolminer had issues on their 1.59 release. Closing


⚠ GTru has degraded performance

In 907730c, GTru ($GTRU) experienced degraded performance:

HTTP code: 521
Response time: 7486 ms

Resolved: GTru performance has improved in 86a0932 after 17 minutes.


Duplicate AppDelegateController inside the MVVM Sample

Inside the MVVM Sample the class "AppDelegateController" is contained in the mobile module and in the core module. I'm a little bit confused. Could someone help me why this is necessary?
https://github.com/kejunxia/AndroidMvc/blob/master/samples/simple-mvvm/mobile/src/main/java/com/shipdream/lib/android/mvc/samples/simple/mvvm/controller/AppDelegateController.java
https://github.com/kejunxia/AndroidMvc/blob/master/samples/simple-mvvm/core/src/main/java/com/shipdream/lib/android/mvc/samples/simple/mvvm/controller/AppDelegateController.java

Thanks for pointing it out. The "core" module is unused in the mvvm sample. It was there by mistake. Please ignore the it. I have updated the master branching in which the core module is deleted.
The mvvm sample doesn't divide the app into two modules is because Android Data Binding library is coupled with Android SDK. e.g. @Bindable is in Android SDK instead of being in a stand alone library. If mvvm is purely based on event bus pattern. Then the core module in plain java is still doable. Or if the android data binding lib can be depended as a plain java lib later the "core" functions can be split into plain java module like the mvp sample

Ok thanks!


Ec2 Bastion Host

Added Ec2 bastion host with provisioners to copy a local private key and create a txt file

code runs


utils.dimensionJPG(chunk); returns undefined sometimes

In this block of code:
https://github.com/petersirka/node-filestorage/blob/master/index.js#L368-L373
size = utils.dimensionJPG(chunk);
if (size === null)
  return;
header.width = size.width;

There is a check if size is null, but I ran into a case where it returned undefined. The check should be that size is an object I think.

Hi @davidworkman9,
thanks ... can you create a small example with this problem? (please create a new issue).

Hi @davidworkman9,
thanks ... can you create a small example with this problem? (please create a new issue).


Meross MSG100

Can you add the Meross MSG100EU ?

If you can create a pull request for it. I can push it. I am just maintaining this Repo.

Hey @tippchopp,
Have you attempted to setup the MSG100 following the guide and it is not working?

Just released Version 1.1.0, if you want to give it a try.


stats: Request rewriting routine corrupts memory used

Signed-off-by: Long Dai<EMAIL_ADDRESS>
Commit Message:
Fix #16715
Copy string once the method/service is decoded and store it in the string-views to cruth-around it.
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

Could you add a test for this please?

sure, I would add a test.


add isReadable and isWritable APIs to FileSystem

motivation: users often need to check if a path is readable and / or writable
changes:

add isReadable and isWritable APIs to FileSystem
implement in relevant FileSystem implementations
add tests

https://github.com/apple/swift-package-manager/pull/4077
@swift-ci test

apple/swift-package-manager#4077
@swift-ci test

@tomerd / @jakepetroules this broke the API and thus should've been tagged as 0.3.0 not 0.2.5

@weissi @jakepetroules was not aware there is any semantic versioning done on this library! SwiftPM, Driver and LSP which are the main consumers both depend on it in a branch-revision-locked way (🙄 I know) so there isn't much effort put into evolving APIs in a clean semantic way. fwiw my goal is to deprecate this library all together and not continue to invest in it
@jakepetroules you seem to have been the one tagging this library? would be good to better understand to what end its being tagged, and how to better coordinate if such tagging is in fact needed and the implications on versioning and Api evolution

@weissi @jakepetroules was not aware there is any semantic versioning done on this library!

Well, it's 0.x so SemVer says "yolo", ie. you can say it's okay to break the API between 0.2.4 and 0.2.5. However, usually if you do do a breaking change, you'd increment the minor (ie. 0.2.4  -> 0.3).

SwiftPM, Driver and LSP which are the main consumers both depend on it in a branch-revision-locked way (🙄 I know) so there isn't much effort put into evolving APIs in a clean semantic way. fwiw my goal is to deprecate this library all together and not continue to invest in it

Totally cool, I'm not arguing for us trying to not break the API, I'm arguing for using a new minor version for breaking changes (and not just a patch bump).

@jakepetroules you seem to have been the one tagging this library? would be good to better understand to what end its being tagged, and how to better coordinate if such tagging is in fact needed and the implications on versioning and Api evolution

IMHO we should try to bump the minor for breaking changes but I don't think we need to have strict rules for API evolution. Breaking is fine by me but we should make that fact visible through version numbers.

this sounds fine, but I was not even aware its being tagged, so we need better coordination here


Ensure opentargets_validator works with python2 and 3

We can't be sure if users will be using python 2 or python 3. So we should make sure that the validator works with both, and make sure that both are part of the CI testing (e.g. via Tox or multiple docker containers).

Created branch opentargets/validator#af-237-py2_py3

This has been done in release 0.4.0


Frontend Project 'Travel Website Template' Content Alignment Enhancement

Title and Issue number
Frontend Project 'Travel Website Template' Content Alignment Enhancement
Close #3277
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md

@MohitGupta121


Fix backwards input in skeleton modification stack

Fixes #62876
Problem was also in SkeletonModification3DTwoBoneIK since bone_name setters work the same there. With these editor updates removed input works normal and still updates the editor values.
Related PR: #63667 (same problem)

SkeletonModifireStack will be removed (replaced as node) and probably those issues will be closed with the implementation of #63588.

Thanks for digging into it, and it's a good lesson to learn about excessive calls to notify_property_list_changed() causing bad text input. But I will be closing this since the modified code was removed for 4.0.
Thanks for the PR submission.


Failed to play audio

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
https://dict.youdao.com/dictvoice?type=0&audio=catastrophe
Failed to play audio
Expected behaviour
Normal playback
Steps to reproduce
 _audioPlayer = audio_player.AudioPlayer();

_audioPlayer?.play(audio_player.UrlSource(“https://dict.youdao.com/dictvoice?type=0&audio=catastrophe”));
Code sample
 _audioPlayer = audio_player.AudioPlayer();

_audioPlayer?.play(audio_player.UrlSource(“https://dict.youdao.com/dictvoice?type=0&audio=catastrophe”));
Affected platforms
iOS
Platform details
ios16.11
iphone XR
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Tools • Dart 3.0.5 • DevTools 2.23.1
AudioPlayers Version
audioplayers: ^5.1.0
Build mode
debug
Audio Files/URLs/Sources
https://dict.youdao.com/dictvoice?type=0&audio=catastrophe
Screenshots
No response
Logs
flutter: playUrl------https://dict.youdao.com/dictvoice?type=0&audio=catastrophe
flutter: ^[[31mAudioPlayers Exception: AudioPlayerException(
UrlSource(url: https://dict.youdao.com/dictvoice?type=0&audio=catastrophe),
PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)<…>
flutter: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)
flutter: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)
Related issues / more information
No response
Working on PR
no way

I am also getting issue while playing Audio from a local path. This is happening only on iOS and I noticed that this has started happening very recently as previously it was working really good.

@lurongshuang are you sure, it is not #1494 ?

I think it's actually #803 as no file extension is provided.


Fix extra characters appending

This PR should fix #70 and #71.
Tested on Atom 1.16.0 and macOS Sierra 10.12.4.

@Freyskeyd can you take a look ?

LGTM


"vim-scripts/restore_view.vim" conflict with "bling/vim-bufferline"

When switch to other buffer by ":bn/:bp/:b{number}", the Airline statusbar will disappear, must run ":AirlineRefresh" command to bring it back.
By adding "UnBundle vim-scripts/restore_view.vim" to .vimrc.bundles.local, then Run ":PluginClean" command to cleanup, the problem solved.

Thank you so much !


something about customization

Hey, I want to know if you will allow me to custom my own vision which only for myself to use. Standard code doesn't have the search engine that I want to use, so I want to modification your code to make it suitable for me. And if you don't mind, how can i realize my thinking? THX

Thanks for asking! It is open source, feel free to fork it and make your customizations. Just be aware that the current code is  a beta for the next update.
Also, what search engine are you wanting? Maybe I could add it as an option.


Cloud OIDC base guide and Oracle Cloud guide

I wasn't able to generate a native image so I commented that out of the Asciidoc and reported https://github.com/micronaut-projects/micronaut-security/issues/944
@sdelamo I can share valid values for OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, and OAUTH_ISSUER for testing

Guide PDF: oidc_oracle.pdf

@sdelamo could you get this into the proofreading queue?

@sdelamo could you get this into the proofreading queue?

@burtbeckwith  I will get on this now. sorry for taking this long

@kroegerk can you proofread it?

@sdelamo can you approve?

@sdelamo can you approve?

I reviewed the PR and I left many comments. I hoped @burtbeckwith could review those comments and address if appropiate.

@burtbeckwith can you address the comments?

@sdelamo I wasn't able to get views working in native image (tried , so I removed the TODO I had left. The guide should be ready to merge.

@burtbeckwith what issue did you have with JTE?