Unmarshalling error

reading body {"code":-32603,"message":"json: cannot unmarshal number into Go value of type string","data":{"code":-32603,"message":"some other Call failed to unmarshal Reply"}}
failed to fetch block 1092

This must be closed already.


Duplicate lines

2 lines are duplicate in daemon.rs at 173
Is this because some function wont work until you duplicate the first 2 items, or its just a typo?

Just a mistake, will remove when on pc


Some small documentation fixes

This PR smooths out some of the wording in the documentation. You can see the commit messages for a summary of the changes.

Nice work, thank you!


[WIP] Add RBC tests

Add RBC tests from https://github.com/xnd-project/rbc

retest this please

retest this please

retest this please

Tested and working in Jenkins.
NOTE: RBC tests are only functional with the CPU-only db as of right now

@jclay should the rbc version be upgraded to 0.3.0?
https://github.com/omnisci/pymapd/blob/4a092d9fc409d4cb637bf1f52a82c0dc8fb98ade/setup.py#L21

@mikehinchey I will make that upgrade in a new PR.


Allow "in" operator  to check keys of maps.

Allow this for in operator:
key in {a: 1, b: 2}

Done in v1.0.3


Feature: Added support for opening ISO files

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue...

Validation
How did you test these changes?

[x] Built and ran the app
[x] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

/azp run


BXC-2930 - Set tika limit to 1million characters

Follow up for https://jira.lib.unc.edu/browse/BXC-2930

Ah, yes, that makes sense. This looks fine as is.
On Wed, Nov 25, 2020, 13:02 Ben Pennell<EMAIL_ADDRESS>wrote:

@bbpennel commented on this pull request.
In
services-camel/src/test/java/edu/unc/lib/dl/services/camel/fulltext/FulltextProcessorTest.java
https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/1151#discussion_r530557869
:

@@ -118,4 +118,19 @@ public void extractFromInvalidPdfTest() throws Exception {
processor.process(exchange);
assertFalse(finalDerivativeFile.exists());
}

@Test
public void extractFulltextExceedsCharacterLimit() throws Exception {

Do you mean check the log message warning? Not sure we're doing that
anywhere at the moment, but I think its possible
https://stackoverflow.com/questions/29076981/how-to-intercept-slf4j-with-logback-logging-via-a-junit-test
It is checking that the extracted text is truncated to the character limit
though, so it seems like if some other error occurs it probably won't pass
that case
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/1151#discussion_r530557869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVIVMPDTEKDJM3XR365SDSRVBDTANCNFSM4UCSAJ3Q
.


add more options for activation recomputation

Codecov Report
Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (3e842f6) 80.64% compared to head (4759b70) 79.58%.

Files
Patch %
Lines

llm_analysis/analysis.py
64.40%
21 Missing :warning:

llm_analysis/utils.py
77.77%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   80.64%   79.58%   -1.06%
==========================================
  Files           8        8
  Lines        1121     1156      +35
==========================================
+ Hits          904      920      +16
- Misses        217      236      +19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fixing video

Hello @ksigler7,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Finish NbtTagArgumentParser

Should support all kinds of completions and validations for SNBT.
Sub-issues:

[x] #28
[x] #27
[x] #31

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


addPostFrameCallback cannot be called

Getting the following error:
../../../dev/flutter/.pub-cache/hosted/pub.dartlang.org/phone_form_field-5.0.4/lib/src/widgets/measure_initial_size.dart:20:29: Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../dev/flutter/packages/flutter/lib/src/widgets/binding.dart').
Try calling using ?. instead.
    WidgetsBinding.instance.addPostFrameCallback((_) {
                            ^^^^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

Seeing this on Flutter stable (3.0.0).

Are you sure you are running flutter stable 3.0.0 ? The library has been updated already to be compatible with 3.0.0 and this error should happen if you are ==> not <== on 3.0.0.


LHN - "red" IOUs stay in LHN after switching to focus mode in preferences

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
. Go to https://staging.new.expensify.com/
and login
2. Make sure current account has both "red" IOUs (IOUs where you owe)
3. Switch to "focus" mode in preferences
Expected Result:
Only Unread, Pinned and Draft chats should stay in LHN in focus mode
Actual Result:
All "red" IOUs stay in LHN after switching to focus mode in preferences.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/228701350-38241600-076c-434b-b57c-8da807553867.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @dylanexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

reviewing today!

Discussed internally and found not to be a bug.


BUG: some token icons are not showing

There are several tokens for which we can't get an image.
E.g.
https://nest-service.palomachain.com/tokens/market-data?network=1&token=0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9 is valid, but the image for the token doesn't exist.
https://cdn.jsdelivr.net/gh/curvefi/curve-assets/images/assets/0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9.png

@verabehr @jamie088 This data is coming from coin gecko so if it's not working it's there data.. I'll open a ticket with them.

https://media.discordapp.net/attachments/1014207212954066975/1181700063915954207/Captura_de_Pantalla_2023-12-05_a_las_21.54.03.png?ex=658202f2&is=656f8df2&hm=ccdd9798aa3e1dd8fd37d6822bbc9f178ebcf62f5db6e36a8362f7db44e57473&=&format=webp&quality=lossless&width=757&height=780


typechecker: never is accepted in a match that yields void, leading to C++ compiler error

MVE:
fn panic(anon msg: String) -> never {
    eprintln("{}", msg)
    abort()
}
fn verify(anon x: i32) {
    match x {
        1 => panic("this causes a C++ error")
        else => {
            return
        }
    }
}

fn main() {
    verify(2)
}

Build log
Building: 1/13 (jakt__prelude__prelude_specializations.cpp)
Building: 2/13 (jakt__prelude__hash_specializations.cpp)
Building: 3/13 (jakt__prelude__prelude.cpp)
Building: 4/13 (jakt__prelude__iteration.cpp)
Building: 5/13 (jakt__prelude__iteration_specializations.cpp)
Building: 6/13 (jakt__prelude__string_specializations.cpp)
Building: 7/13 (__prelude___specializations.cpp)
Building: 8/13 (jakt__prelude__operators.cpp)
Building: 9/13 (jakt__prelude__string.cpp)
Building: 10/13 (jakt__prelude__operators_specializations.cpp)
Building: 11/13 (mvs_specializations.cpp)
Building: 12/13 (jakt__prelude__hash.cpp)
Building: 13/13 (mvs.cpp)
build/mvs.cpp:23:42: error: no viable conversion from returned value of type 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error') to function return type 'JaktInternal::ExplicitValueOrControlFlow<void, void>'
return JaktInternal::ExplicitValue(panic(TRY(DeprecatedString::from_utf8("this causes a C++ error"sv))));
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gsus/jakt/build-release/include/runtime/AK/Try.h:32:20: note: expanded from macro 'TRY'
            return _temporary_result.release_error();                                                \
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:35:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error') to 'const Jakt::ExplicitValueOrControlFlow<void, void> &' for 1st argument
struct ExplicitValueOrControlFlow {
       ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:35:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error') to 'Jakt::ExplicitValueOrControlFlow<void, void> &&' for 1st argument
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:42:5: note: candidate constructor not viable: no known conversion from 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error') to 'ExplicitValue<void> &&' for 1st argument
    ExplicitValueOrControlFlow(ExplicitValue<void>&&) requires(IsVoid<Value>)
    ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:58:5: note: candidate constructor not viable: no known conversion from 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error') to 'Jakt::LoopContinue' for 1st argument
    ExplicitValueOrControlFlow(LoopContinue)
    ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:63:5: note: candidate constructor not viable: no known conversion from 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error') to 'Jakt::LoopBreak' for 1st argument
    ExplicitValueOrControlFlow(LoopBreak)
    ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:37:5: note: candidate template ignored: could not match 'ExplicitValue<U>' against 'AK::ErrorOr<AK::DeprecatedString>::ErrorType' (aka 'AK::Error')
    ExplicitValueOrControlFlow(ExplicitValue<U>&& v) requires(!IsVoid<Value> && !IsVoid<U>)
    ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:48:5: note: candidate template ignored: constraints not satisfied [with U = AK::Error]
    ExplicitValueOrControlFlow(U&& v) requires(!IsVoid<Return> && !IsSpecializationOf<U, ExplicitValue>)
    ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:48:48: note: because '!IsVoid<void>' evaluated to false
    ExplicitValueOrControlFlow(U&& v) requires(!IsVoid<Return> && !IsSpecializationOf<U, ExplicitValue>)
                                               ^
build/mvs.cpp:23:8: error: no viable constructor or deduction guide for deduction of template arguments of 'ExplicitValue'
return JaktInternal::ExplicitValue(panic(TRY(DeprecatedString::from_utf8("this causes a C++ error"sv))));
       ^
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:12:5: note: candidate template ignored: substitution failure [with Value = void]: cannot form a reference to 'void'
    ExplicitValue(Value&& v)
    ^                  ~~
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:16:5: note: candidate template ignored: substitution failure [with Value = void]: cannot form a reference to 'void'
    ExplicitValue(Value const& v)
    ^                        ~
/home/gsus/jakt/build-release/include/runtime/Jakt/ControlFlow.h:11:8: note: candidate template ignored: could not match 'ExplicitValue<Value>' against 'void'
struct ExplicitValue {
       ^
build/mvs.cpp:27:1: error: non-void block should return a value
return;
^
3 errors generated.
Error: Compilation failed

The compiler errors out if we make the match yield a non-void value:
fn panic(anon msg: String) -> never {
    eprintln("{}", msg)
    abort()
}
fn verify(anon x: i32) {
    let a: i32 = match x {
        1 => panic("this causes a C++ error")
        else => 4
    }
}

fn main() {
    verify(2)
}

Error: Type mismatch: expected ‘i32’, but got ‘never’
───┬─ mvs.jakt:7:14
 6 │     let a: i32 = match x {
 7 │         1 => panic("this causes a C++ error")
   │              ────┬
   │                  ╰─ Type mismatch: expected ‘i32’, but got ‘never’
 8 │         else => 4
───┴─
Error: Type mismatch: expected ‘i32’, but got ‘never’
───┬─ mvs.jakt:7:9
 6 │     let a: i32 = match x {
 7 │         1 => panic("this causes a C++ error")
   │         ┬
   │         ╰─ Type mismatch: expected ‘i32’, but got ‘never’
 8 │         else => 4
───┴─

Interestingly so, inlining the match gives the expected behavior:
fn main() {
    match 1 {
          1 => abort()
          else => {}
    }
}

But it doesn't error if I introduce a return in the else branch:
fn main() {
    match 1 {
          1 => abort()
          else => {
              return
          }
    }
}

The error looks more like broken throws-y expression detection, that string "this causes ..." can throw, but the function containing it isn't marked throws

I discovered the bug when writing a function marked throws. The same first sample has the same issue after marking verify as throws.
fn panic(anon msg: String) -> never {
    eprintln("{}", msg)
    abort()
}
fn verify(anon x: i32) throws {
    match x {
        1 => panic("this causes a C++ error")
        else => {
            return
        }
    }
}

fn main() {
    match 1 {
        1 => abort()
        else => {
            return
        }
    }
}

Is this about the never though?
For me, seems like:
fn verify(anon x: i32) {
    match x {
        else => {
            return
        }
    }
}

fn main() {
    verify(1)
}

doesn't work as well.

Although something like this doesn't work as well
fn verify(anon x: i32) {
    match x {
        1 => abort()
        else => {
            // Do stuff
        }
    }
}

fn main() {
    verify(1)
}

error:
───┬─ ./own/test2.jakt:4:9
3 │         1 => abort()
4 │         else => {
│         ───┬
│                 ╰─ Type mismatch: expected ‘never’, but got ‘void’
5 │             // Do stuff

The second one is expected behavior, since something returning never should be wrapped in a block.

This behavior is expected: never returning expressions should be wrapped in a block.

Oh yeah, I forgot about that. An error would be nice 🤔


fix: PatchByFullSymbolName panic when Restore from unpatch

#15

As far as my concern, the restore method that is redundant, but I'd like to try to fix it (please wait a moment).

This is my way #17 @u2386

the restore method that is redundant

Restore is quite useful, e.g
var guard *supermonkey.PatchGuard
guard = supermonkey.PatchByFullSymbolName(time.Now, func() time.Time {
	guard.Unpatch()
	defer guard.Restore()

	actual := time.Now()
	manipulated := actual.Add(time.Hour)
	return manipulated
})

the restore method that is redundant

Restore is quite useful, e.g
var guard *supermonkey.PatchGuard
guard = supermonkey.PatchByFullSymbolName(time.Now, func() time.Time {
	guard.Unpatch()
	defer guard.Restore()

	actual := time.Now()
	manipulated := actual.Add(time.Hour)
	return manipulated
})

@Mutated1994

the restore method that is redundant

Restore is quite useful, e.g
var guard *supermonkey.PatchGuard
guard = supermonkey.PatchByFullSymbolName(time.Now, func() time.Time {
	guard.Unpatch()
	defer guard.Restore()

	actual := time.Now()
	manipulated := actual.Add(time.Hour)
	return manipulated
})

@Mutated1994

Sorry, I'm late.
@u2386 Dude, I've changed my mind. You are right in your case!
@u2386 @cch123 I've fix this issue. #17

https://github.com/cch123/supermonkey/pull/17 is merged, so close this ~


[7.41.x] Revert OpenTelemetry Collector bumps

What does this PR do?

Reverts two OpenTelemetry Collector versions done on this release (and two other PRs related to the Collector bumps), effectively leaving this dependency on v0.61.0 for 7.41.0:

Revert #14067

Revert #14072
Revert #14086

Revert #13860

Note that this PRs will be kept for 7.42; the fix on main will come from bumping to v0.64.1
Motivation

v0.62.0 and v0.63.0 are affected by open-telemetry/opentelemetry-collector/issues/6420, which can cause the Agent to crash if otlp_config.debug.loglevel or otlp_config.debug.verbosity are set to debug/verbose
Additional Notes

On main we will fix this by bumping to v0.64.1
Describe how to test/QA your changes

Run the Agent with otlp_config.debug.loglevel set to debug. Send some OTLP traces to it  and check that the Agent does not crash.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Since I am only deleting release notes as part of the revert I am going to merge this without docs approval


Install instructions don't work on LO 4 (macOS)

Following the instructions for macOS, after restarting LO there is still only the default theme under Application Colors.
Is there a new location to put the theme?
Also, does this skin the entire application or just the document itself?

same

This theme only provides a color palette at the moment, but I'll look into adding application colors.
See #3 for the continuation of this issue


Chef server uses 100% of CPU Usage

We have chef-server 12.9.1 installed on physical machines and we are seeing a constant CPU usage of around 95%.
Even after adding CPU cores, usage stays at around 95%.  Opscode is constantly spinning up new processes with new PIDs. Is there any way we can decrease CPU usage?
$ top
top - 16:26:41 up 13 days, 14:21,  2 users,  load average: 1143.86, 1007.47, 958.23
Tasks: 1596 total, 1163 running, 428 sleeping,   0 stopped,   5 zombie
%Cpu(s):  1.8 us, 98.2 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  8155036 total,   202528 free,  5563312 used,  2389196 buff/cache
KiB Swap:  4063228 total,  1852084 free,  2211144 used.  2051988 avail Mem
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
14886 opscode   20   0    4224    348    276 R  14.5  0.0   0:00.51 child_setup
14682 root      20   0  171792   4264   1936 R   6.8  0.1   0:02.45 top
14888 opscode   20   0    4224    352    276 R   4.3  0.0   0:00.14 child_setup
13776 opscode   20   0    4224    352    276 R   3.7  0.0   0:02.37 child_setup
13862 opscode   20   0    4224    348    276 R   3.7  0.0   0:01.83 child_setup
13905 opscode   20   0    4224    348    276 R   3.7  0.0   0:02.14 child_setup
14113 opscode   20   0    4224    352    276 R   3.7  0.0   0:01.36 child_setup
13159 opscode   20   0    4224    348    276 R   3.4  0.0   0:03.06 child_setup
Logs below:
/var/log/opscode/opscode-erchef/crash.log
chef_keygen_cache,keygen_timeout}
2020-03-05 20:20:02 =ERROR REPORT====
{chef_keygen_cache,keygen_timeout}
2020-03-05 20:20:02 =ERROR REPORT====
{chef_keygen_cache,keygen_timeout}
2020-03-05 20:20:02 =ERROR REPORT====
/var/log/opscode/opscode-erchef/erchef.log
2020-03-05 20:19:27.327 [info] {chef_keygen_cache,incr_worker_count,1.5}
2020-03-05 20:19:27.327 [error] {chef_keygen_cache,keygen_timeout}
2020-03-05 20:19:27.327 [info] {chef_keygen_cache,decr_worker_count,1}
2020-03-05 20:19:27.327 [info] {chef_keygen_cache,incr_worker_count,1.5}
2020-03-05 20:19:27.328 [error] {chef_keygen_cache,keygen_timeout}
2020-03-05 20:19:27.328 [info] {chef_keygen_cache,decr_worker_count,1}
2020-03-05 20:19:27.328 [info] {chef_keygen_cache,incr_worker_count,1.5}

I've moved this issue to the chef-server repository so it can be addressed there.

This might be a manifestation of an issue with the keygen worker we fixed here: https://github.com/chef/chef_authn/pull/35. Basically we were getting into a pathological state where we weren't finishing within the timeout, and it was timing out and starting new workers while not cleaning up the old one. So we could end up running large numbers of ssh-keygen processes, and that in turn would starve the workers for resources, guaranteeing they wouldn't finish in time, and perpetuating the situation.
Later versions of chef-server (after 12.17.33) have this fix. In the short term, you might increase the chef_authn  keygen_timeout value to be substantially higher. The default is 1000ms, I might choose something like 30000ms.

One last thought: do you happen to have FIPS turned on? The FIPS approved implementation of ssh-keygen doesn't use the crypto acceleration x86 instructions and is substantially slower. If so, definitely bump the timeout, on some machines keygen can take over 1s in that mode.

Note for future attempts to repro, this can often be triggered by starting in FIPS mode on a t2.medium or other CPU throttled host.

Thank you Marken for your response. I will verify settings and verify if we can bring down CPU Usage.

Hi Marken, I am trying to find how we can find chef_authn keygen_timeout value. We do not have Chef U configured.

updated /etc/opscode/chef-server.rb
we added these two lines to chef-server.rb
opscode_erchef['keygen_cache_workers'] = 1
opscode_erchef['keygen_timeout'] = 30000
and re-configure. This helped to bring spike down.

updated /etc/opscode/chef-server.rb
we added these two lines to chef-server.rb
opscode_erchef['keygen_cache_workers'] = 1
opscode_erchef['keygen_timeout'] = 30000
and re-configure. This helped to bring spike down.

Glad to hear that helped!


Dependabot switch to monthly

switch to monthly dependabot checks from weekly

I guess it's fine to do
I would suggest setting up automatic management of updates. In my https://github.com/Maxim-Mazurok/google-api-typings-generator project, I have the following setup:

weekly dependabot PRs: https://github.com/Maxim-Mazurok/google-api-typings-generator/blob/master/.github/dependabot.yml
kodiak automatically approves/rebases/merges them: https://github.com/Maxim-Mazurok/google-api-typings-generator/blob/master/.kodiak.toml
I also have these two actions, not sure if they needed: https://github.com/Maxim-Mazurok/google-api-typings-generator/blob/master/.github/workflows/rebase-pull-requests.yml and https://github.com/Maxim-Mazurok/google-api-typings-generator/blob/master/.github/workflows/add-automerge-label.yml
I also have email filters in gmail to delete all notifications from dependabot on that repo

As a result I have automatic ever-green dependencies, and I can be pretty sure nothing is broken badly because in that case tests wouldn't pass. As long as tests are passing - I'm fine with updates.
This means I might miss some deprecations sometimes, or new recommended ways of doing stuff, but it's probably for the best tbh, as my goal is not to spend much time on the project maintenance.

@Maxim-Mazurok would be happy if you want to implement that here.

@Maxim-Mazurok would be happy if you want to implement that here.

I don't have bandwidth at the moment, but happy to assist, should be relatively easy to do given my working config examples.


Setup frontend

Add password field to users.
first letter capital for Login, Logout
isAuthenticated used for conditional display

Approved!
The only thing is password field which is supposed to be received from Auth0 key ( Sub_id.password something like this but not sure how and for that we can ask mentor or request assistance ). Thanks Hamanpreet!


Integrate LLM configuration frontend

@appland/components is updated in the Navie view

A new event is emitted, select-llm-option, which indicates the user has selected to configure Navie with a new LLM provider
The first (and only) argument passed along with this event is the option type. It can be default, own-key, own-model.
If default is selected, all existing settings are cleared (environment variables, OpenAI key)
If own-key is selected, the user is prompted to input their own OpenAI API key.
own-model is unused. It'll open the browser to documentation automatically.

Users are prompted, via notification, to reload the window following edits to the AppMap environment variables settings

If possible, a button in the notification exists to immediately reload the window.
The notification should only appear once in a reasonable time period, even if the user edits many variables.

The frontend changes for this have not yet been merged: https://github.com/getappmap/appmap-js/pull/1722
Related PR for Visual Studio Code: https://github.com/getappmap/vscode-appland/pull/941

:tada: This issue has been resolved in version 0.66.0 :tada:
The release is available on:

v0.66.0
GitHub release

Your semantic-release bot :package::rocket:


chore(release): v5.6.1

Description

Related Issue

Type of Change

[ ] ✨ feat -- New feature (non-breaking change which adds functionality)
[ ] 🛠 fix -- Bug fix (non-breaking change which fixes an issue)
[ ] ❌ ! -- Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 refactor -- Code refactor
[ ] ✅ ci -- Build configuration change
[ ] 📝 docs -- Documentation
[ ] 🧪 test -- Test
[x] 🗑 chore -- Chore

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.73%. Comparing base (ad4055b) to head (9b23716).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #915   +/-   ##
=======================================
  Coverage   61.73%   61.73%
=======================================
  Files          33       33
  Lines        1061     1061
=======================================
  Hits          655      655
  Misses        406      406

Flag
Coverage Δ

win32
59.33% <ø> (ø)

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


add / cleanup tests

Description
Adds a few tests for missed lines in coverage reports.
Checklist

[x] Linter status: 100% pass
[x] Changes don't break existing behavior
[x] Tests coverage hasn't decreased

Affected core subsystem(s)
tests
Refers/Fixes
fixes #150

Pull Request Test Coverage Report for Build 571

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 88.752%

Totals

Change from base Build 569:
1.7%

Covered Lines:
381

Relevant Lines:
409

💛  - Coveralls


IC172

Checked known generators and havent found any with IC172.
How you get kA, kC or key value ?

DLL
If the vendor provides a security library that is embedded in the diagnostics file (CBF/SMR-D), the function may be reverse engineered. However, in the cases of some devices (IC172/204 etc.), there are no security libraries that are released, so there are no known public generators as far as I understand.

Obtaining key generation parameters
These values can be found from reverse engineering the security DLLs. When the client calls the GenerateKeyExOpt function, the DLL will check and initialize the key-generation parameters. From the parameter initialization, we can obtain the cryptographic constants (kA/kC/K etc.)
Take the below example of IC213, the constant K is created with the value F04A1023 for security level 11.

The DLL should also show security provider's name:

In this case, the provider DaimlerStandardSecurityAlgo is in use. In this project, I have already reverse-engineered and reimplemented most of the common security providers. The above parameters (K = F04A1023) is enough to create a new key-generation definition.
  {
    "EcuName": "IC213",
    "AccessLevel": 17,
    "SeedLength": 8,
    "KeyLength": 4,
    "Provider": "DaimlerStandardSecurityAlgo",
    "Origin": "IC213",
    "Parameters": [
      {
        "Key": "K",
        "Value": "F04A1023",
        "DataType": "ByteArray"
      }
    ]
  },

DLL
If the vendor provides a security library that is embedded in the diagnostics file (CBF/SMR-D), the function may be reverse engineered. However, in the cases of some devices (IC172/204 etc.), there are no security libraries that are released, so there are no known public generators as far as I understand.

Obtaining key generation parameters
These values can be found from reverse engineering the security DLLs. When the client calls the GenerateKeyExOpt function, the DLL will check and initialize the key-generation parameters. From the parameter initialization, we can obtain the cryptographic constants (kA/kC/K etc.)
Take the below example of IC213, the constant K is created with the value F04A1023 for security level 11.

The DLL should also show security provider's name:

In this case, the provider DaimlerStandardSecurityAlgo is in use. In this project, I have already reverse-engineered and reimplemented most of the common security providers. The above parameters (K = F04A1023) is enough to create a new key-generation definition.
  {
    "EcuName": "IC213",
    "AccessLevel": 17,
    "SeedLength": 8,
    "KeyLength": 4,
    "Provider": "DaimlerStandardSecurityAlgo",
    "Origin": "IC213",
    "Parameters": [
      {
        "Key": "K",
        "Value": "F04A1023",
        "DataType": "ByteArray"
      }
    ]
  },

@jglim @Feezex  hello, what program do you use to extract this information from the dll file? Where can I send you an ic204 cbf file?

Hello cityba, the above application is Ghidra.
IC204 CBF does not have high-level unlocking capabilities and only contains the algo for flashing, which is probably not what you are looking for.

@jglim hi, for levels 5 and 7 you expect not 4 pairs but 8 pairs of numbers. I attach the description to level 5. help to understand
Seed :
0.pos.-
SID, 1.pos-SecurityType,
2-10pos Hexdump8byte
what? Minlength:2 Maxlength:2 Number of Preparations:  2 ..Kombiinst.. eine 64 Bit..?
Key:
0.pos.-
SID, 1.pos-SecurityType,
2-10pos Hexdump8byte
what? Minlength:10 Maxlength:10 Number of Preparations:  3 ?
``
DS: DNU_Level5_Key_Send
|   |   |---Level5 Key: Send
|   |   |---Longname:  Level5 Key: Send
|   |   |---Qualifier:  DNU_Level5_Key_Send
|   |   |---Description:  Security-Level des Service : 3      Der Tester hat die angeforderte Zufallszahl umgerechnet und sendet den Schl  ssel an das Kombiinstrument zur  ck.    Ist der Schl  ssel ung  ltig antwortet das Komb
|   |   |---Desc.:  Security-Level des Service : 3     C1EBF4F94CA0A7A6 Der Tester hat die angeforderte Zufallszahl umgerechnet und sendet den Schl  ssel an das Kombiinstrument zur  ck.    Ist der Schl  ssel ung  ltig antwortet das Komb
|   |   |---Klasse:Function
|   |   |---Accesslevel:1
|   |   |---Securityaccesslevel:0
|   |   |---Is executable:  FALSE
|   |   |---Minlength:10 Maxlength:10
|   |   |---** Number of Preparations:  3
|   |   |---PREP-0 [Not available]
|   |   |   |---Type:CONSTANT
|   |   |   |------ Name:  SID-RQ
|   |   |   |------ Data type:  BYTE
|   |   |   |------ Byte position:  0
|   |   |   *------ Byte length:  1
|   |   |---PREP-1 [Not available]
|   |   |   |---Type:CONSTANT
|   |   |   |------ Name:  SecurityAccessType
|   |   |   |------ Data type:  BYTE
|   |   |   |------ Byte position:  1
|   |   |   *------ Byte length:  1
|   |   |---PREP-2 [PREP_HexDump_8Byte]
|   |   |   |------ Qualifier:  PREP_HexDump_8Byte
|   |   |   |------ Name:  Security-Key
|   |   |   |------ Long-Name:  HexDump (8Byte)
|   |   |   |------ Description:  Not available
|   |   |   |------ Semantic attribute:
|   |   |   |------ Unit:  Not available
|   |   |   |------ DumpLength: Standard=8
|   |   |   |------ LowLimit: Not available
|   |   |   |------ UpLimit: Not available
|   |   |   |------ Data type:  BYTE
|   |   |   |------ Byte position:  2
|   |   |   |------ Byte length:  8
|   |   |   |------ Bit mask:  -1 [0xffffffff]
|   |   |   |------ Type specifier:  STANDARD
|   |   |   |------ Code type:  2C
|   |   |   |------ Byte order:  HIGHLOW
|   |   |   |------ Upper limit:  Not available
|   |   |   |------ Lower limit:  Not available
|   |   |   |------ Limit Unit:  Not available
|   |   |   *------ Conversion selector:  Dump
|   |   *---CS: 27 0A 00 00 00 00 00 00 00 00
|   |---DS: DNU_Level5_Seed_Request
|   |   |---Level5 Seed: Request
|   |   |---Longname:  Level5 Seed: Request
|   |   |---Qualifier:  DNU_Level5_Seed_Request
|   |   |---Description:  Security-Level des Service : 3
Zur Erlangung eines höheren Security-Level wird vom Kombiinstrument eine 64 Bit große Zufallszahl angefordert.
|   |   |---Desc.:  Security-Level des Service : 3
Zur Erlangung eines höheren Security-Level wird vom Kombiinstrument eine 64 Bit große Zufallszahl angefordert.
|   |   |---Klasse:Function
|   |   |---Accesslevel:1
|   |   |---Securityaccesslevel:0
|   |   |---Is executable:  FALSE
|   |   |---Minlength:2 Maxlength:2
|   |   |---** Number of Preparations:  2
|   |   |---PREP-0 [Not available]
|   |   |   |---Type:CONSTANT
|   |   |   |------ Name:  SID-RQ
|   |   |   |------ Data type:  BYTE
|   |   |   |------ Byte position:  0
|   |   |   *------ Byte length:  1
|   |   |---PREP-1 [Not available]
|   |   |   |---Type:CONSTANT
|   |   |   |------ Name:  SecurityAccessType
|   |   |   |------ Data type:  BYTE
|   |   |   |------ Byte position:  1
|   |   |   *------ Byte length:  1
|   |   |---PRES-0  [PRES_HexDump_8Byte]
|   |   |   |---Name:  PRES_HexDump_8Byte
|   |   |   |---Long-Name:  HexDump (8Byte)
|   |   |   |---Description:  Not available
|   |   |   |---Semantic attribute:
|   |   |   |---Unit:  Not available
|   |   |   |---Data type:  BYTE
|   |   |   |---Byte position:  2
|   |   |   |---Byte length:  8
|   |   |   |---Bit mask:  -1 [0xffffffff]
|   |   |   |---Type specifier:  STANDARD
|   |   |   |---Code type:  UNSIGNED
|   |   |   |---Byte order:  HIGHLOW
|   |   |   |---Upper limit:  Not available
|   |   |   |---Lower limit:  Not available
|   |   |   |---Limit unit:  Not available
|   |   |   |---Conversion selector:  Dump
|   |   |   *---DumpLength: Standard=0
|   |   *---CS: 27 09
`

some time ago i solved 27 0D and 27 71 for ic172
dunno how to interpret it for UnlockECU
its tested and 100% working - all keys appear to be valid
27 0D  and 27 71
shared for jqlim, maybe this could help to find the real algo of calculation

@Feezex nice work, thanks. maybe you can @jglim embed it in the security folder?

@Feezex That's amazing — thanks for your contribution! I've added both algos (0x0D, 0x71) and matching definitions. If you want to try it out without building, the browser version has also been updated.
I'll find time to check against existing keypairs on youtube etc., and remove the "experimental" label afterwards.

@jglim @Feezex  hello, i read about IC_204 that it also needs the sw version to generate the key, could this be the K value? so can you calculate 8-8 key pairs? can you create a sw requester version as well?

@Feezex do you see what SW Block # 0 your IC_172 file contains? might the transposition be replaced by the sw number as a variable?

@jglim  @Feezex Did I find reference values, see any relationship between sw and key?
here again, perhaps the sw is inserted in the last 8 values as in IC172 ....... 57 49 4C 59?
sw0=<PHONE_NUMBER>
seed= 5C97A0A552FB0205   key5=D8F169D68D5D17BA
seed= C1EBF4F94CA0A7A6   key7=49D4BE45A0B6DFF3
sw0=<PHONE_NUMBER>
seed= 212A2F38F98A8BD7   key5=775588C8850CF244
seed= 28C1050F7B52C7CE   key7=1C12895D44EFDF54

i guess sw doesnt change anything . WSorban aka Aclonehasnoname uses only 2 level calculations for 172 and 204 not including sw version, and it works.
As of i think SW ver  - seed key relation refers to those units from which dll can be extracted\ or have single version cbf\smr-d , and if theres nothing to extract then theres only one algo

@Feezex  Hi, 204 en didn't get the key the key unfortunately I tried. Looking at the other calculators I thought it mattered the sw version or the security level.

@Feezex That's amazing — thanks for your contribution! I've added both algos (0x0D, 0x71) and matching definitions. If you want to try it out without building, the browser version has also been updated.
I'll find time to check against existing keypairs on youtube etc., and remove the "experimental" label afterwards.

It works perfectly on both levels 2771 and 270D, I did the calculations online because I don't know how to do them offline, and the calculations are correct. can you help me get it offline ??

@mgeguren Thanks for checking that it works. I haven't tagged a release yet, so you will need to grab the builds artifacts (offline Windows EXE) from here instead.

@mgeguren Thanks for checking that it works. I haven't tagged a release yet, so you will need to grab the builds artifacts (offline Windows EXE) from here instead.
Edit: The browser version has also been updated with offline support via service workers, which should work on most modern browsers. The application should still be able to load while offline if it has been loaded at least once (test it out first!).

Thank you very much, everything works fine, would it be possible to include the calculations for ic204 as mentioned above?
... my fault .... ic204  seed is really SW dependent

@Feezex @jglim Hi, i think it expects some kind of check for the last 8 numbers generated from these. Perhaps it cannot be inferred from the above formula?

need alot results to see the real formula, so that was only a sprinkle.
hint : sw block 0# is only influences the key

@Feezex it wasn't me who invented it, but the working seed calculators require a sw version. Unfortunately, I still can't interpret the key I received, they haven't answered yet. do I convert the hex code to decimal? or what format should it be? I got stuck here already asking above what the expected values mean.

@jglim @Feezex  if i knew what values the seed keys are made up of and what to expect for the key value, maybe you could count a bit here https://www.wolframalpha.com/

"Todo" list for ic204
here
See how much work must be done...
I think we must leave ic172 issue open untill it passed testing and create other one for ic204 where we can collect all useful information

what can do the klasse:Function ?!

Hello there,
@Feezex a big thank you for your contribution
@jglim a big thank you for the quick implementation.
On my own, I have some pairs of seeds / keys but there is one that do not matches...
SL:   0D
seed: 3C 5A 7D 65 C2 71 63 98
key:  37 2F 22 49 57 49 4C 59

your algorithms give: C3 34 98 58 57 49 4C 59
I have this pair since a long time, so may be it was wrong at the beginning, but it annoys me, because all of the other pairs I have are correct.
Could someone check this and tell me if my key was wrong or if the algorithm needs a little adjustment?

Well it's true, the correct pair would be: 37 2F 22 4D 57 49 4C 59
seed: 3C 5A 7D 65 C2 71 63 98
key ERROR: 37 2F 22 49 57 49 4C 59
KEY ERROR: C3 34 98 58 57 49 4C 59
KEY OK: 37 2F 22 4D 57 49 4C 59

not a bad news and not a good.
We still have place to enchant this algo.
Appreciate you reported wrong pair

@mgeguren how did you get this key? Are you 100% sure your computation is the good one?
@Feezex are you the owner of the website mbtools?

no WSorban is

so im not lonely with my problem

The website gives the same result as your reversed algorithm. So maybe it's a false alarm.

or we had done same mistake

I will start to use rhe algorithm soon for IC172. If I find an invalid pair, I will come back here.
Aside from that, do you also work on IC213 algorithm?

https://unlockecu.sn.sg/
its been done by @jglim

El sitio web da el mismo resultado que su algoritmo inverso. Entonces, tal vez sea una falsa alarma.
EDITAR: ¡fuiste más rápido que yo!
in the same mbtools page I calculated ..... I just did it again and it gives the result of this calculator .... I don't know what would have happened but before it gave me the other result

@Feezex only security level 17 for programming mode. I would like security level 61 for EEPROM access.
@mgeguren, so we are all in the same situation. The algorithm may have been updated since.

некоторое время назад я решил 27 0D и 27 71 для ic172, не знаю, как интерпретировать это для UnlockECU, он протестирован и на 100% работает - все ключи кажутся действительными 27 0D и 27 71 общие для jglim, возможно, это может помочь найти настоящий алгоритм расчета

работает отлично на 100%

I can try the algo tomorrow on my own car by the way it has also the IC172 cluster in it.

Algo worked perfectly fine on my ic172.
Thanks for your Work 👍
Are there some News about ic_204 ?

Я окуеваю от вас Ребята - вы реально крутые
для 213 нужны пары?

Я окуеваю от вас Ребята - вы реально крутые
для 213 нужны пары?

Да если генератор не умеет их делать.
https://unlockecu.sn.sg/
для отдельных типов щитков советую открывать отдельные Issues

Good job on the reverse (Y)
Though it's a different implementation, it seems to have the same flaw as ours

Well ive done some job but all medals are yours! thanks to access to the generator.
Well it wasn't an easy task to reverse the reversed by you algo.

whats the (Y) stands for?

whats the (Y) stands for?

:+1:

I am just wondering @WSorban, how do you know that some keys are not valid?

I am just wondering @WSorban, how do you know that some keys are not valid?

I know that our IC172 level 71 algo is not 100% accurate, on real case scenarios (accuracy is around 95%), so I took some of the failing seeds, and compared them against other providers, which, in those cases, gave different keys.
Still, given the high accuracy, you could just request a new seed, and input the newly generated key, and chances are, it will work.

@Flo354 check this picture and try it with the generator. As you can see, this output is working but from the Generator on unlockecu the output seems wrong

.

71 is fine,
0D is wrong

ill push issue reopen,  lets try to improve algo by known fail pairs

Thank you all for the examples and explanations!

uint p27 = 0x27;
uint p0d = 0x0E;
uint p1 = V1+V2;
uint p2 = V3+V4;
uint p3 = V5+V6;
uint p4 = V7+V8;
uint p5 = 0x57;
uint p6 = 0x49;
uint p7 = 0x4C;
uint p8 = 0x59;
end of key is always same - this how algo works
i dont understand where you got that. And if so -ill suggest that it doesn't matter even if you just fill it with FF

 uint p27 = 0x27; uint p0d = 0x0E; uint p1 = V1+V2; uint p2 = V3+V4; uint p3 = V5+V6; uint p4 = V7+V8; uint p5 = 0x57; uint p6 = 0x49; uint p7 = 0x4C; uint p8 = 0x59;
end of key is always same - this how algo works i dont understand where you got that. And if so -ill suggest that it doesn't matter even if you just fill it with FF

That's actually a signature
It's Hex representation of ASCII

so its "WILY" and "offo" =)

So should we ask someone name Wilhelm - does he ascii'ed that tail )

That makes sense :)
So, can we just focus on security level 71?
Since we only got wrong keys on this one.

That makes sense :)
So, can we just focus on security level 71? Since we only got wrong keys on this one.

sure

Good job on the reverse +1
Though it's a different implementation, it seems to have the same flaw as ours

IC172 SEED REQ 27-71: 00100000
KEY RESPONSE  27-72: FB59CBB9
maybe your data have a mistake with 1 position?

Indeed, it seems to have something to do with position.
seed: 00 00 01 00
Key: FB 49 CA B9

And for the first example, here is the seed that gives the expected key according to @WSorban  :
Seed: E3 BE 58 2E
Key: 1E CF F3 DB
0x8 => 00001000
0xB => 00001011

Hi folks, hope y'all have been safe and well.
IC172Algo2 (level 0x71/113) has been tidied up and updated, which attempts fix the mismatch mentioned here : https://github.com/jglim/UnlockECU/issues/2#issuecomment-1028035906 .
The refreshed implementation has been checked with a recently released seed-key generator from Sergey Klenov (thank you!) and seems to be matching so far. If anyone runs into issues with the updated version, please let me know and I will look into it and potentially roll back to the previous implementation.


Update 08-wasm documentation and migration docs for v0.3.x

Documentation for 08-wasm and migration docs for v0.3.x with ibc-go v9.0 should be updated/added with changes from https://github.com/cosmos/ibc-go/pull/6088, https://github.com/cosmos/ibc-go/pull/6164, https://github.com/cosmos/ibc-go/pull/6176, https://github.com/cosmos/ibc-go/pull/6177.

Document also the change of Path to commitmenttypesv2.MerklePath if we finally decide to make it (ref).

Document also the change of Path to commitmenttypesv2.MerklePath if we finally decide to make it (ref).

We can use this as reference: https://github.com/cosmos/ibc-go/pull/6757


Clean up Pixie pipeline

What is the purpose of this PR?
Closes #845. See issue for all the changes; we want to introduces some new file naming schemes, as well as some basic data reformatting.
How did you implement your changes
See issue page.

Notebook reorganization changes have been addressed.

@cliu72 final documentation request has been addressed.

@ngreenwald old notebook names are fixed, example dataset loading functionality has been moved in the notebooks. @srivarra has the flowchart image on the README.md, so he opened #869 to address that.


Accordance Extension

Accordance Bible Software has a few nifty ways that text can be transformed when copying. This extension allows PopClip to both Copy as Citation and Copy without Superscript.

merged via git-am in 1b6a6a4
I'm sorry for the very long delay getting to this pull request, and for this copy-and-pasted message:
Thanks for your contribution! To get through my backlog, I'm now merging all reasonable pull requests.
Once done, I'm going to move all user-contributed extensions into a new contrib directory in the repo, so you will eventually find it there. After that, in due course, I will move some contributions back over to the main directory to be published.
Please bear with while I am working though a lot of pull requests at the moment.


Expose a method to Extract the property ids of a placeholder

In the ExpandSimpleConcatenation.cs a regex (ExtractPlaceholders) is used to extract property ids (and other stuff) from a configuration placeholder (using ids, aliases or guids etc...) then a function : ToPropertyIds is used to get the collection of these Ids and the to get the corresponding values of the object.
It could be great to have an exposed method to get these property ids (list or array) from a placeholder. e.g.  In order to react to a change of one of these properties.

The current internal ExpandSimpleConcatenation method uses ToPropertyIds to retrieve an array of property IDs for each match.  ToPropertyIds takes a single match and returns the property ID "path" to iterate over to retrieve the value.  This is potentially called multiple times by ExpandSimpleConcatenation, once for each "grouping" (between %% characters). For example:

The input string "%PROPERTY_1078.PROPERTY_1094%" would end up calling ToPropertyIds once, with that call returning an array with two items (1078, 1094).
The input string "%PROPERTY_1078% %PROPERTY_1094%" would end up calling ToPropertyIds twice, with the first call (for the first group) returning a single value for 1078 and the second call (for the second group) returning a single value for 1094.

In the case of your requirements, what would you expect to pass into this method and what would you expect to get back?

The input is a placeholder object from configuration.cs (with id, alias or guid style) like this
[DataMember] [JsonConfEditor(TypeEditor = "placeholderText")] public string InputPlaceholderCriteria;
It give a thing like that %PROPERTY_1234.PROPERTY_{PD.Projet}.PROPERTY_{7792C958-7DF6-4A63-BA57-437F7B5A6E82}%
The function you develop create a matchcollection using regex with different "type" like "objecttypeid", "property", "objecturl_web".... and in each of these case it return a value or a list.
So if the placeholder is a "property placeholder" as in my example the goal is to have an output like this [1234,1352,1406] which are the ids of the related properties choosen in the configuration placeholder.

The current (internal) method ToPropertyIds does exactly this, although it operates on a regex group rather than a simple string.  Potentially this could be exposed.
I don't think that it makes sense for the method to be able to handle strings that don't evaluate (exactly) to one "property path".  By that I mean the string %PROPERTY_1234% %PROPERTY_5678% should throw an exception, as there are two paths.  Similarly, paths that do not evaluate to properties (e.g. %OBJID%) should also throw an exception.  Do you agree?

Yes your right, especially since in a configuration placeholder used to get the content of a property information, usually the user do not use separated properties but often "chained" properties.


Works fine in localhost but throws 404 in production

First off, thank you for your work on this.
I have set up the report viewer in my .NET Core app and everything is working fine in localhost, but when I deploy to production and try to load the report I get this message: Report failed to load, check report parameters...
When I open the browser developer tools under the Network tab I can see the ViewReportPage method is not being found, thus returning a status code of 404
Request URL: https://mydomain.com/Report/ViewReportPage/?reportPath=%2FGearUpAlumni%2FAlumniData&page=1&
Request Method: GET
Status Code: 404 Not Found
Remote Address:
Referrer Policy: no-referrer-when-downgrade

So the issues is not that the report is expecting a parameter (again, works fine in localhost), but that is not finding ViewReportPage method.
Have you ran into a similar issue? or could you point me in the right direction to get this resolved?
Thanks

I got it working. Since my app is deployed to a subdirectory within the domain I needed to change the JavaScript to include the base path.
So basically from
$.get("Report/ViewReportPage/?reportPath=@Model.ReportPath.UrlEncode()&page=" + page + "&" + urlParams)

To
@{
    string pathBase = Context.Request.PathBase;
}
...
...
$.get("@pathBase/Report/ViewReportPage/?reportPath=@Model.ReportPath.UrlEncode()&page=" + page + "&" + urlParams)

Now the report works fine in localhost and production and is calling the correct URL
https://MYDOMAIN/SUBDIRECTORY/Report/ViewReportPage/reportPath=%2FGearUpAlumni%2FAlumniData&page=1&


Add PodLP client

Please consider adding PodLP for KaiOS feature phones. Client data set below:
{
    "Category": "Other Devices",
    "Name": "PodLP",
    "Developer": "Tom Barrasso",
    "Developer Location": "USA",
    "Website": "https://podlp.com",
    "Twitter": "@PodLP_App",
    "Support E-Mail"<EMAIL_ADDRESS>    "Platform": "KaiOS",
    "Known Limitations": null,
    "Notes": "Available on the KaiStore and JioStore",
    "Last Update": "2021-03-30",
    "Latest Version": "1.5.2",
    "Minimum OS version": "2.5.0",
    "UI Language": "multi",
    "Store/Download Link": "https://www.kaiostech.com/store/apps/?bundle_id=com.podlp.podlp",
    "Free": true,
    "Light Version": false,
    "Open Source": false,
    "Price": "$0",
    "Paged Feeds": false,
    "Chapter Mark Support": false,
    "MP3 Chapter Mark Support": false,
    "Auto-Chapter": false,
    "Chapter Duration": false,
    "Chapter Start Timecode": false,
    "Chapter End Timecode": false,
    "Chapter Pictures": false,
    "Shownotes for downloaded Episodes": true,
    "Shownotes w/o explicit Download or Playback": true,
    "Sleep Timer": false,
    "Radio mode": false,
    "Playback Speed": true,
    "Gapless Playback": false,
    "Volume Boost": false,
    "Bookmarks": false,
    "Personal Playlist": false,
    "Personal Smart Playlist": false,
    "Predefined Smart Playlist": false,
    "Explicit/Extended support for Video Podcasts": false,
    "Opus Support": true,
    "Explicit AirPlay support": "n/a",
    "Audio Scrubbing": true,
    "Tablet Version": "n/a",
    "Landscape Support": true,
    "Inline Browser": false,
    "Push for new Episodes": true,
    "Custom Subscription Sorting": false,
    "Alphabetically Subscription Sorting": false,
    "Touch Controls (Gestures)": "n/a",
    "Using OS-Built in Play/Pause Controls": true,
    "Skip Intro": false,
    "Play currently downloading Episode": false,
    "Multiple parallel Downloads": false,
    "Episode streaming": true,
    "Password protected Podcasts": false,
    "Automatic downloading Options": false,
    "Disk Space Mgmt": false,
    "Atom Feed Support": true,
    "Cross Device Syncing": false,
    "Sync Technology": "n/a",
    "Import from Music.app Library": "n/a",
    "OPML Export": false,
    "OPML Import": false,
    "Flattr (auto)": false,
    "Podcast Directory": false,
    "Comment Episode via AudioBoo": false,
    "Comment Episode via Text": false,
    "Social Sharing": false,
    "Individual Podcast Settings": false,
    "Add Episode to Playlist w/o subscribing": false,
    "App-specific subscription URI scheme": "n/a",
    "Wikidata ID": null
  }

Can you provide a pull request?

Can you provide a pull request?

Yes, see https://github.com/saerdnaer/podcast-features/pull/5


backport automation: to cherry-pick the signed commits

Expected Behavior
When backporting with https://docs.mergify.com/actions/backport/ the new PR contains the signed commits from the original author.
Actual Behavior
Mergify seems to be cherry-picking the squashed commit hence no verified badge
Steps to Reproduce the Problem

Create a PR with signed commits
@Mergifyio backport <your-branch>

Specifications

Pull Request URL: https://github.com/elastic/apm-server/pull/10227 is the original PR request and https://github.com/elastic/apm-server/pull/10521/commits is the automated backport happened with mergify
Mergify Config URL: https://github.com/elastic/apm-server/blob/main/.mergify.yml

Probably I messed up with some configuration and hence that's the expected behaviour, please bear with me and thanks so much for your great product!!

Gotcha, I understand there is a limitation with the git flow itself, so nothing we can do about it.
For now, since mergify can override the branch protection behaviour, we enabled to auto-approve  those backported PRs with mergify itself, so it works smooth and nice in our end.
Thanks Julien, I guess we can close this issue now

@v1v we spent time digging into that features, but it's not really clear the value of the whole signature system, especially with things like https://blog.mergify.com/un-signed-commits-how-we-found-a-non-security-bug-in-github/
Would it be possible to have more context about what's expected from the GitHub setting? Happy to schedule a chat with you or your (security) team.


Events are not posted to channel

Hi,
I set up the integration with Rocket.Chat 0.62.2 (can't use any higher version as long as the node problem is not fixed).
Everything went fine, including OAuth authentication. That is, I set up the integration as described in Rocket.Chat, I can run the python script, it finishes without error, and creates a file sentEvents with some cryptic content. However, the event is not posted to the corresponding channel.
Any suggestion for how to debug this?

Hi Andreas,
To debug it I would do the following:
a) Create a python file with just the following in it:
import requests
url = 'YOUR_CHANNEL_INCOMING_WEBHOOK_URL_HERE'
r = requests.post(url, 'TEST')

b) In RocketChat, in the script that processes your webhook, inside the process_incoming_request({request}) {  I would add the following two lines:
   	console.log('Andreas Debugging starts here);
    	console.log(request.content);
   	console.log('Andreas Debugging ends here);

c) Then I would run the python script, and see if it produces anything in the rocketchat logs.
If it does, then the problem is somewhere in the python script I have written and I would have to debug it step by step
If it does not, then your server does not send the request at all . Or maybe the url is wrong. Or maybe RocketChat cannot receive from the server you are sending (a firewall blocks requests).
I hope this helps.
Konstantinos

Hi @koyan
thanks a lot for your quick reply.
I did what you suggested and see the debug output on the console/logs.

Ok, in that case, your server is sending the messages.
To further debug it, delete the sentEvents file (it contains a log of what it has already sent, so that it does not sent it again), create a few events in <30 mins in the future, and run the script. If you see it creating the "sentEvents" file (and it has data inside), then check your RocketChat logs to see if it received the data. If it received them, then the problem is with the script that processes it in the RocketChat side.

Did as you suggested. The file gets created and has three entries (for the three events I created before. But no message in the logs (took out the debug message before)

I think we can close this - seems to work fine now. Sorry for the "wrong" issue...

Very glad it works.


Move Conan stuff to sub directory

To keep pegtl project clean, we should move build.py and test_package to a new sub-directory: conan
Conan solves the test directory by the names test or test_package, on same dir level, to use a custom path, the option -tf should be used.
Conan package tools has no support by env var to solve it, so we need to use the arguments.

Thinking about it: Conan should consider two use-cases and treat both as first-class citizens:

out-of-source
in-source

The latter means that you want to be as unobtrusive as possible to existing repositories. Dreaming up an ideal: Just a single, top-level file called .conan.yml. Second best candidate: .conan.py'. Third best option: .conan/` as a top-level directory with a defined structure and all conan-specific stuff in it. That third option is probably most realistic right now.

Good news @d-frey
The tool used to build Conan in this project was released with custom path for the test folder just yesterday. So I'll update this issue later.
Your concern about project flavor is right. Conan just released the version 1.4.4 yesterday, and it brought the feature workspaces. It's experimental and will be updated on next versions, but it shall be the feature that you asked.
Regards!


SoundJs can't load a file from URL.createObjectURL(blob)

If I create a url form a blob using
URL.createObjectURL(blob)
The SoundJS lib wont be able to able to register the sound.
Any workaround for that, or is it a known issue ?

Thanks for the report! Yes this is a known issue, you can watch #186 for updates.


fix(github-pages): add necessary --dotfiles to deploy commands

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Without --dotfiles gh-pages does not deploy .nojekyl
Ref: https://www.npmjs.com/package/gh-pages#optionsdotfiles
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Have you tried --nojekyll doesn't it adds the specific dotfile? Checking CLI:
  --nojekyll               Add a .nojekyll file to disable Jekyll

This should also work. Went with --dotfiles because the preset already creates .nojekyl file.

Main issue is that there might be dot files that are dangerous to be published. I think users they always have this choice and this is just a "hint" how to deploy. Sticking with safest is probably better while you might want to publish all dot files.

Following the current hint leads to broken deployment.
I have considered four solutions:

(a) add --dotfiles, align the behavior with gh action from docs
(b) add --nojekyll, different mechanics, the same result
(c) remove hint altogether, there is no point in having a command "hint" if user is required to read 3rd party docs
(d) update the hint to something more complicated

The mentioned docs already suggest deploying .output/public without care for dotfiles. To my knowledge dotfiles have not been a consideration before in any preset, despite the risk being shared across all options.
a seems to be the least invasive. It aligns the hint with existing documentation.
b achieves the same result which is satisfactory for me. It may cause issues for users expecting their dot-prefixed paths (eg. .well-known) to be published, but I'd say these are fairly easy to debug.

It is odd for GitHub pages that ignore .* by default we don't have such consideration for other providers because they also don't ignore dot files by default. (cloudflare pages ignores specific known ones for example)
But fair enough for other common dirs, it might came useful and hint is already clear what user is doing 👍🏼

gh-pages is not official package. I think ignoring dotfiles is not a conscious design decision. This is the glob matcher used underneath default behavior. The option dates back at least 11 years and seems to be added in response to need to include dotfiles, without introducing breaking change.


Build error ubuntu 14.04/indigo

I get this error when I try to build
'''
/home/athackst/cmu/src/or_ompl/src/OMPLPlanner.cpp: In member function ‘ompl::base::PlannerPtr or_ompl::OMPLPlanner::CreatePlanner(const or_ompl::OMPLPlannerParameters&)’:
/home/athackst/cmu/src/or_ompl/src/OMPLPlanner.cpp:259:41: error: ‘const class TiXmlElement’ has no member named ‘ValueStr’
std::string const key = it_ele->ValueStr();
^
make[2]: *** [or_ompl/CMakeFiles/or_ompl.dir/src/OMPLPlanner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
'''
Is there a specific version of TinyXml (or branch) I should be using?  I have libtinyxml2.6.2

I believe that is correct. TinyXML is a bit funny strange because libtinyxml-dev and libtinyxml2-dev are two completely separate packages. I believe or_ompl uses libtinyxml-dev, but I am not 100% sure because I have both installed on my machine.
The rosdep keys specified in the package.xml file are definitely correct, so you can also try using rosdep to install the dependencies.

Reinstalled things and I got everything to compile.  Yay!


Trouble linking on macOS

Maybe you can help me figure this out:
I compile with these arguments:
make \
                                    CXXFLAGS=" \
                                      -fmax-errors=1 \
                                      -I/usr/include/python2.7 \
                                      -I/Developer/Panda3D/include \
                                      -I/usr/local/Cellar/freetype/2.9.1/include/freetype2" \
                                    LDFLAGS=" \
                                      -L/Developer/Panda3D/lib \
                                      -lp3framework \
                                      -lpanda \
                                      -lpandafx \
                                      -lpandaexpress \
                                      -lp3dtoolconfig \
                                      -lp3dtool \
                                      -lp3pystub \
                                      -lp3direct \
                                      -pthread \
                                      -lpthread"

I receive this output https://gist.github.com/i-am-the-slime/8e34436d69b5024503f4061df69a7e62
Which complains about Undefined symbols for architecture x86_64. I am confused which headers are not there for 64 bits.

I actually get the same problem when forcing the architecture to i386.
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
Undefined symbols for architecture i386:

Okay, I finally managed. I compiled panda3d myself.

My radical solution is to the lib folder from the self-built panda3d to output.
After that:
dyld: Library not loaded: @loader_path/../Frameworks/Cg.framework/Cg
So on to install that bad-boy from here.
Finally I needed to also copy the etc folder over from panda3d due to
No graphics pipe is available!
Your Config.prc file must name at least one valid panda display
library via load-display or aux-display.

And then...

Hello @i-am-the-slime,
Thank you for trying it out on the Mac.
Nice work!
:+1:


Change default udev filtering rule as byname only

Move advanced filtering such as by device capacity or vendor to note

Helm installation script is updated. Note that "going beyond the demo" is not changed since that is assumed for experiment using real camera device.


Save Button In Blog Post and Everything That Involves Tinymce Not Working

Please, what can I do to correct this problem? I applied various fixes to Mezzanine, then i couldn't save blog posts and anything that involves the Tinymce widget any longer. Thank you.

Please use the mailing list for help requests. You'll also want to include your Python, Django, and Mezzanine version information when posting your question there.


does vincent support log scale?

The code I'm using is:
graph.scales['y'].type = 'log'
Is this how I should set the y axis to log scale? The scale renders nicely, it's just all the data disappears when I add that line (it appears fine with the default scale).
I will provide a simple repro case if I'm told I'm using the right code.

To follow up on this, it turns out that I have a vega developer across the room. He took a look at the JSON that Vincent produces, which has the following snippet:
              "y": {
                "field": "data.val",
                "scale": "y"
              },
              "y2": {
                "scale": "y",
                "value": 0
              }

There are (evidently) multiple ways to bound ymax/ymin in a Vega bar graph, and Vincent has chosen this particular way, having both a y and a y2. But when y2 gets the value 0, that makes the log function blow up, which disallows my use of a log scale for this graph. Perhaps Vincent could choose a different
method?
Full JSON generated by Vincent here: https://gist.github.com/jowens/ed45c92b91180754451c

@arvind Would you kindly consider explaining another way to do this that doesn't involve y2's value == 0?

Sure thing! Something like this should work:
"y2": {"field": {"group": "height"}}


Web - Multiline task title displayed as singleline while editing

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open ND and log in with any account
Click FAB and Assign Task
Enter first line in task field
Press Enter key
Enter second line
Click Next
Click on task field to edit

Expected Result:
Task title displayed in multiline
Actual Result:
Task title displayed in single line
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: v1.3.45-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/f607e907-fc8a-43a6-8124-4332c34a278f
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Multiline task title displayed as singleline while editing
What is the root cause of that problem?
Because of we didn't use autoGrowHeight for input of Title edit.
What changes do you think we should make in order to solve the problem?
We can give autoGrowHeight to TextInput of NewTaskTitlePage
https://github.com/Expensify/App/blob/82669ae1201f3778986ee26209fb80878f166cbd/src/pages/tasks/NewTaskTitlePage.js#L96-L103
What alternative solutions did you explore? (Optional)


how do i style it? i don't get it.

the docs don't give any insight on how to style the components.
What i want is to for a single Cropper, to make the selection area appear circular (so user has an accurate idea of how their profile picture will look)

The docs don't give any insight full stop


Style/ClassEqualityComparison autocorrect bug when comparing to Class.name

Input:
foo.class.name == Bar.name

Output:
app/untitled.rb:1:5: C: [Correctable] Style/ClassEqualityComparison: Use instance_of?(Bar.name) instead of comparing classes.
foo.class.name == Bar.name
    ^^^^^^^^^^^^^^^^^^^^^^

Autocorrect gives this:
foo.instance_of?(Bar.name)

Which is invalid, and causes instance_of? to throw a TypeError. It should autocorrect to
foo.instance_of?(Bar)

RuboCop version
1.10.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.4.1, running on ruby 2.7.3 x86_64-darwin19)
  - rubocop-minitest 0.10.3
  - rubocop-rails 2.9.1

This issue is a dup with #8875 and resolved by #8876. Please update to the latest RuboCop (1.13.0). Thank you.


import of stl files

uses numpy-stl
https://github.com/WoLpH/numpy-stl

So I ended up ignoring the mesh and normals for now.  I did not realize that stl files had duplicate vertex locations (duh).  The stuff in in there for it but I figured I would come back later.  I've written the test for it as well.

I also just added the binary stl test as well.

@threerivers3d-jc Would be happy to hear if you intend to continue this PR or not, no pressure


Jd/run stage with rebuld

Codecov Report

Merging #227 into master will decrease coverage by 0.3%.
The diff coverage is 4%.

@@            Coverage Diff             @@
##           master     #227      +/-   ##
==========================================
- Coverage   57.58%   57.27%   -0.31%
==========================================
  Files          62       62
  Lines        2407     2413       +6
==========================================
- Hits         1386     1382       -4
- Misses       1021     1031      +10

Impacted Files
Coverage Δ

src/routines/write_model.jl
0% <0%> (ø)
:arrow_up:

src/core/core_structs/canonical_model.jl
84.21% <0%> (-1.51%)
:arrow_down:

src/simulation_models/stage_update.jl
0% <0%> (ø)
:arrow_up:

src/core/build_simulations.jl
0% <0%> (ø)
:arrow_up:

src/routines/get_results.jl
60% <0%> (ø)
:arrow_up:

src/core/build_cache.jl
0% <0%> (ø)
:arrow_up:

src/routines/solve_routines.jl
26.53% <0%> (+0.53%)
:arrow_up:

src/core/core_structs/simulations_stages.jl
0% <0%> (ø)
:arrow_up:

src/core/core_structs/operation_model.jl
29.41% <50%> (ø)
:arrow_up:

.../devices/device_constructors/branch_constructor.jl
57.14% <0%> (-4.77%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

@daniel-thom I addressed all the comments but also added some code to enable some functionalities that I needed over the weekend


Crowdsec Insigths - no data

Hi there,
I have imported the Crowdsec dashboards from Grafana's website. Overview, Details per Machine and LAPI Metrics work fine but Insights (https://grafana.com/grafana/dashboards/19011-crowdsec-insight/) shows no data. Any ideas on what might be going on?

I would recommend watching this guide from minute 11: https://www.youtube.com/watch?v=Yr9-QMa7JHw
You have to enable a few things to have this running. It's not as straight forward as you would expect.

Some time ago I wrote a post about Crowdsec and Grafana: https://discourse.crowdsec.net/t/integrate-crowdsec-metrics-into-grafana-cloud/976.
It's for Cloud Grafana, but may still be of help...

You could try my PR to see if it's fixed.

Any chance to accept the PR ?

You could try my PR to see if it's fixed.

Thanks a lot, but it's still not fixed (


Fix wrong target path

Changes Unknown when pulling 63990f53e3cfe921ac64c34e1b6199901a9f73aa on rossmuir:patch-2 into ** on dirvine:master**.


fix: filter out unplugged devices

If the port is unplugged as in some HDMI connections, pads next fails silently. Not sure much pads can do since pactl set-default-sink fails as well. This skips over the devices where the port is unplugged.

Looks good to me. Thank you for taking the time to contribute!


FORUM Login infinite loop

My first time at the forum for freecodecamp following step #2. Instead of using the 'signup', I decided to use 'login' and I was redirected to github for authentication. This part was fine but after being redirected back to freecodecamp, a new window infinitely opened and closed. I had to force close, refresh and use the 'signup'.

I believe this is a problem with Discourse itself, and not with our implementation of Discourse. I'm going to close this ticket and we'll upgrade Discourse in the next week or two.


datapath/linux: Fix neighbor table index conversions

Make the FromString() method logic for the NeighborID index match the Key() method for that index - use the same index size and the same address to byte slice conversion method. Also include IP bit length in the index to allow for co-existence of IPv4 and the same IPv4-mapped IPv6 addresses in the neighbor table without conflicting (e.g. <IP_ADDRESS> & ::ffff:<IP_ADDRESS>).

/test


Update CODEOWNERS: add demo docs, and sort entries

/cc @open-telemetry/demo-approvers

Build is green now, so this is ready for review.


New catalog_name

If you know how to, could you give us an explanation on how to find the current/newest catalog_name or update the hardcoded one?

By sending an GetCatalog GET request with with a valid RSACCESS token in the Authorisation header

I usually get them by intercepting the games SSL traffic

If you have time, could you maybe update it to the current version? I am probably not competent enough to do that myself.

https://github.com/yubie-re/netcatalog
this has the code you need for it, you just need to dump the RSACCESS and the transaction server domain in the dump (shouldn't be too hard)


[Bug] Incompatibility issues with Quart and Quart-CORS due to unspecific version requirements

Environment Information:

OS: Ubuntu 18.04.6 LTS
Python Version: 3.6.9
Quart Version: 0.6.15
Quart-CORS Version: 0.1.3

Current Situation:
The versions are unspecific, leading to issues with Quart and Quart-CORS APIs when used. For instance:
Traceback (most recent call last):
  File "main.py", line 12, in <module>
    @app.post("/todos/<string:username>")
AttributeError: 'Quart' object has no attribute 'post'

Changing all @app HTTP method calls to this style:
@app.route("/todos/<string:username>", methods=["POST"])
allows successful execution of main.py.
However, it's unable to load the sample project "TODO Plugin (no auth)" at https://chat.openai.com/ and the following error is displayed:
[2023-05-17 15:08:42,918] ERROR in app: Exception on request GET /logo.png
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1451, in handle_request
    return await self.full_dispatch_request(request_context)
  File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1473, in full_dispatch_request
    result = await self.handle_user_exception(error)
  File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 892, in handle_user_exception
    raise error
  File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1471, in full_dispatch_request
    result = await self.dispatch_request(request_context)
  File "/usr/local/lib/python3.6/dist-packages/quart/app.py", line 1519, in dispatch_request
    return await handler(**request_.view_args)
  File "main.py", line 36, in plugin_logo
    return await quart.send_file(filename, mimetype='image/png')
TypeError: send_file() got an unexpected keyword argument 'mimetype'

This issue seems to be related to the versioning of Quart and Quart-CORS. Can we specify the versions in the requirements to prevent these issues?

@logankilpatrick PTAL

Simply cloning, installing dependencies and running python main.py fails.
Pinning dependencies may make this more stable.
(gpt-plugins) ➜  plugins-quickstart git:(main) python main.py
Traceback (most recent call last):
  File "/Users/rees/plugins-quickstart/main.py", line 4, in <module>
    import quart_cors
  File "/Users/rees/mambaforge/envs/gpt-plugins/lib/python3.11/site-packages/quart_cors/__init__.py", line 6, in <module>
    from quart.datastructures import HeaderSet, RequestAccessControl
ImportError: cannot import name 'HeaderSet' from 'quart.datastructures' (/Users/rees/mambaforge/envs/gpt-plugins/lib/python3.11/site-packages/quart/datastructures.py)

(gpt-plugins) ➜  plugins-quickstart git:(main) mamba list quart
# packages in environment at /Users/rees/mambaforge/envs/gpt-plugins:
#
# Name                    Version                   Build  Channel
quart                     0.18.3             pyhd8ed1ab_0    conda-forge
quart-cors                0.2.0                      py_0    conda-forge

@WiscEvan
How about taking a look at #30

I gave your code a try as well and this still resulted in the error.
The error seems to be a result of using quart-cors 0.2.0 rather than quart-cors 0.6.0
The code ran without any issues with these versions:
# packages in environment at /Users/rees/mambaforge/envs/gpt-plugins:
#
# Name                    Version                   Build  Channel
quart                     0.18.4                   pypi_0    pypi
quart-cors                0.6.0                    pypi_0    pypi

The conda-forge channel for quart-cors appears to be out of date. This was resolved by installing with pip rather than mamba
The quart-cors conda-forge package should be bumped from 0.2.0 to the latest version to install using the conda package manager. Otherwise, installation should be performed using pypi

I see.
Thanks for your explanation.
Let me update the PR( https://github.com/openai/plugins-quickstart/pull/30) to specify version of quart-cors


Added rosdeps for libqt5-printsupport.

Can you please provide the url of the added packages for all platforms added in this PR ? (see contribution guidelines for more information )

arch: https://www.archlinux.org/packages/extra/x86_64/qt5-base/
debian: https://packages.debian.org/wheezy-backports/libqt5printsupport5
fedora: https://apps.fedoraproject.org/packages/qt5-qtbase
ubuntu: https://packages.ubuntu.com/xenial/libqt5printsupport5
gentoo: https://packages.gentoo.org/packages/dev-qt/qtprintsupport
I am on Ubuntu 16.04, so I can only verify this one.


opensuse leap15.3无法加载页面

le@openSUSE:~/下载> '/home/le/下载/YesPlayMusic-0.4.0.AppImage'
[background.js] initializing
[background.js] creating express app
(node:5887) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `yesplaymusic --trace-deprecation ...` to show where the warning was created)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: getaddrinfo ENOTFOUND openSUSE
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
[background.js] app ready event
[background.js] creating app window
[background.js] checkForUpdates
Checking for update
(node:5887) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:5887) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'setMenu' of undefined
    at App.<anonymous> (/tmp/.mount_YesPlaHGE6Kk/resources/app.asar/background.js:2:2248243)
    at App.emit (events.js:315:20)
(node:5887) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:5887) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:5887) UnhandledPromiseRejectionWarning: Error: Could not connect
    at Socket.s (/tmp/.mount_YesPlaHGE6Kk/resources/app.asar/background.js:2:2106646)
    at Object.onceWrapper (events.js:422:26)
    at Socket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:5887) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
failed to open /usr/lib64/dri/hybrid_drv_video.so
Not using hybrid_drv_video.so
Error: connect ECONNREFUSED <IP_ADDRESS>:10754
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
[background.js] windows ready-to-show event
Error: connect ECONNREFUSED <IP_ADDRESS>:10754
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Error: connect ECONNREFUSED <IP_ADDRESS>:10754
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Error: connect ECONNREFUSED <IP_ADDRESS>:10754
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Error: connect ECONNREFUSED <IP_ADDRESS>:10754
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
Update for version 0.4.0 is not available (latest version: 0.4.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
[background.js] windows close event
[background.js] windows close event
le@openSUSE:~/下载>

應是暫時性問題。


Tidy concepts section post-Docsy

Tidy the Concepts section following the switch to Docsy.
Preview.

give every subsection directly below Concepts a description
Where an existing Concept section has an index and the first page is “Overview of X”, move the content of that overview into the index page itself.
and tidy one note to use a shortcode

Prompted by https://github.com/kubernetes/website/pull/21815#discussion_r443837430

Helps with https://github.com/kubernetes/website/issues/21755

@sftim , In the process of reviewing. This is more than a "tidy" up.
Generally, I like the descriptions as they work well with the docsy theme.

Example preview:
https://deploy-preview-21997--kubernetes-io-master-staging.netlify.app/docs/concepts/extend-kubernetes/

Looking at the descriptions on the rendered page.
Some descriptions could be reduced, otherwise, I think the text distracts with the rest of the page. Such as:
https://deploy-preview-21997--kubernetes-io-master-staging.netlify.app/docs/concepts/services-networking/
The description for Workloads doesn't read as well to me, Understand Pods.
https://deploy-preview-21997--kubernetes-io-master-staging.netlify.app/docs/concepts/workloads/

@kbhawkey I agree there probably is better wording. What's in this PR is already the best suggestion I have though.

@kbhawkey I agree there probably is better wording. What's in this PR is already the best suggestion I have though.

OK, I understand. Of note, the text appears in the page source meta data. Shorter strings seem better.
I think most of the descriptions work. I wonder if the problem (for me) is the placement of the
description on the page. The description appears first where as I would expect the title first and then the text snippet (functioning as an overview or snyopsis). If the snippet is one sentence, it is not as noticeable. If more than one sentence, readers may not want to continue reading the rest of the page.
Could the page layout include the title and then the description?

Could the page layout include the title and then the description?

That means changing the Docsy theme, right? I'm not opposed to that but it seems like quite a chunk of work. We can do this right away, or at least sooner.

I think the docs layout override of the theme could change:
website\layouts\docs\list.html

website/layouts/docs/list.html

Ah, yes!

The theme default behavior lists the title first followed by the "lead" div.

Before this is pushed through, I'd like to see these descriptions reduced in length:
Services, Load balancing, ...
 I'd like to see this come together with the page structure change.
/lgtm

Issue related to concepts section, #22110.

/approve

@sftim, some of the pages look OK. Should have asked for a rebase to show the description updates on the pages.
The Container _index page places the description in the wrong place.
See, https://kubernetes.io/docs/concepts/containers/

Created a follow-up PR #22113.


MediaControls does not implement Debug

this makes just putting it into another struct or referencing it in errors a little annoying

Fixed with 31b6783


Area tag helper - no error message until _ViewImports.cshtml is not included in Area/Views

I use in my project Areas. I have area folders as follows: Areas/MyArea/Views/Shared In folder Shared is Layout.cshtml file for MyArea. I use Tag helpers in this Layout, but if you do not include in Folder Areas/MyArea/Views/   this file:   _ViewImports.cshtml no error occured and tag helper are not rendered correctly. View engine render to browser this line:
 Statistics

instead of correct  html element.
I believe, that it can be nice to show some error message for this scenario...

From what you've said, your folders contain:
Areas/
  MyArea/
    Views/
      Shared/
        Layout.cshtml
      _ViewImports.cshtml

Where is the *.cshtml file that's referenced from your controller? Am I correct the _ViewImports.cshtml file sets the Layout property to "Layout"? And exactly what error is occurring or not occurring and when?

@DamianEdwards
I believe the feedback here is that it would be nice to get some sort of warning/error if you write Razor content that looks like it is using tag helpers, but you haven't actually enabled them.
I don't think there is much that we can do here. There isn't a way that we can accurately detect that the intent was to use tag helpers. The best we could do is heuristics.

Sorry for my delay.
@danroth27 Yes. This is right.
If is not included _ViewImports.cshtml in Area folder, you recieve no error message, until tag helpers are not generated properly...
If is difficult to show some error message, close this issue, Each one can see in html output, that tag helpers are not generated properly and solve this...

Yeah, I don't think there is realistically any error message that we can give in this case.


Missing tutorial: feature importance and normalization

This guide should cover feature importance and feature normalization.
It can help with performance in a few models, but in others it has no effect, we should explain why.

maybe feature selection? It's more general. we can include things such as using feature importance, and algorithms for feature pruning

closing in favor of https://github.com/ploomber/sklearn-evaluation/issues/287


Ensure label and checkbox are inline

Ensures the label and checkbox are displayed inline. By default in Bootstrap 2 for example, labels get a display: block property that means the label and checkbox are placed on different lines.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #44   +/-   ##
=======================================
  Coverage   99.25%   99.25%
=======================================
  Files           9        9
  Lines         535      535
=======================================
  Hits          531      531
  Misses          4        4

Continue to review full report at Codecov.

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

What does this do exactly? I'm not seeing a difference from my cursory testing.

It ensures that the checkboxes are displayed inline with their labels. At the moment, if you're bootstrap, in BS2 they run with a property label { display: block } and BS3 label { display: inline-block }. If you apply that on your example you can see the difference:

This ensures that the checkbox and label are displayed next to each other on such templates

I see. Thanks.

Thanks :)


Fixed Title display on showTitle = false error

In Microsoft PowerPoint 2007, even the absence of  tag in xml on setting showTitle=false is creating a title by default with a value of 'name' key of the JSON input. This can be fixed by setting <c:autoTitleDeleted val="1"/> tag when rel.opts.showTitle is false.
This problem does not exist in the later versions of PowerPoint but is present in PowerPoint 2007 and the fix works at all places.

Thanks @KrishnaTejaReddyV !


Added us/sc/orangeburg

Could you add postcode support using the ADD_ZIP field?  Otherwise it looks great!

👍


Unnecessary code for a "hello world" skill?

In recent months, I've found that some of the latest changes to this skill template are (at least in my mind) questionable. I've looked at the "Hello World" template as a barebones baseline skill project that can be used as the basis for almost any skill I might write. With that in mind, I'm wondering if there's opportunity for pruning (or if not, then an explanation of why some things are included):

The call to withCustomUserAgent() in index.js : What purpose does this serve? I know it affects the "userAgent" property in the response, but I find very little documentation or explanation around how this is useful.
Interaction models for ALL languages and locales : I'm all for supporting multiple languages and locales, but I find it easier to start with one language/locale and expand to others once the functionality of the skill has matured. Otherwise, anytime I create a new intent, I must make sure I declare it in all interaction model JSON files. It's much easier to start with one language/locale and then, when ready, copy that file for others and tweak it accordingly. Also, I've found that initially having models for all languages/locales makes the model compilation unnecessarily slower. Moreover, even if I plan to support multiple languages and locales, I might not be planning to support all of them, so having those extra model files around is waste and forces me to delete them.
Similarly, are all of the languages/locales in skill.json really necessary when getting started? I'd rather grow into those languages/locales as my skill matures than to have to think about them on day one.
lambda/custom/util.js : I can see how this module would be useful if my SSML responses need to reference a sound file stored in S3 or I'm building some APL that reference an image stored in S3. But the hello world template does neither of these. And, in fact, I can develop a fairly fully-functioning skill and never need util.js. Therefore, it seems to be dead weight in this project. Moreover, if it is potentially useful, then I'd rather it be baked into ASK or be a separate module that I could npm install, rather than be duplicated across all skill projects.
local-debugger.js : Now, I must say that I LOVE this little script and use it all of the time. But, should it be sitting in lambda/custom alongside my skill code? Could it not live in a separate folder so that it doesn't get deployed to AWS Lambda with my skill? (Yes, I cracked open the ZIP file that's uploaded and it's in there.)
"AMAZON.NavigateHomeIntent" in the models : This template in no other way demonstrates creating visual components for screen-enabled devices, so why is this intent even declared in the model(s) for this template?
(Small nit) I'd rearrange the intent declarations in the models such that all built-in intents are grouped together and stop and cancel are together, with the "HelloWorldIntent" declared either first or last (I'd favor first, but I'd be okay with it either way).

Again, I view the "hello world" template as the simplest possible example of a skill and some of the stuff I've mentioned strays from that. When cards were removed from the template, I initially was upset to see them go, but then justified their removal because they were unnecessary in the "simplest possible skill", so I'm fine with them being gone. But these other items I've listed above seem counter to the "simplest possible skill".
I'd be happy to do a little work and produce a PR to address these items, but given that these are mostly due to recent changes, I'd imagine that there might be a reason for them and I'd love to hear the reasoning behind these things.

All that said, I do like the addition of languageStrings.js and the request interceptor that adds the t() function to handlerInput. Even in a simple skill, externalizing strings like that puts the developer on the right path toward later supporting multiple languages. I'd just trim languageStrings.js down to one language and invite the developer to add additional languages as they see fit.

FWIW, given silence on this issue for over a week, I've created my own simplified "hello world" template at https://github.com/habuma/skill-template-nodejs-hello-world. If the official template isn't likely to be simplified, then I invite anyone who is interested to both use it and provide feedback.

Hey Habuma, I agree with a lot of this. To address the complexity problem, there are now separate branches for each locale (named after the locale) with simplified code. This will be used for Alexa hosted templates. We will be keeping the localization in other skill samples, but for hello world, this should be as simple as possible.
I am leaving the main branch as is in case others are relying on localization code being there for now until.

Closing because we created different branch.


Added backend for get in touch form

issue #1602

from get submitted successfully !1
Pull Request Checklist

[ X] I have added screenshots and videos to show before and after the working of my code.
[ X] I have ensured that the screen size is set to 100% while making the video.
[X ] I have synced the latest fork with my local repository and resolved any conflicts.
[ X] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[X ] I understand that if any the above conditions are not met , my PR will not be MERGED .

hey @Sawan-Kushwah great work on adding backend routes for all the forms in the website , in case you wish to make further issues i would prefer if you could -

make less issues at a single point of time - even though you can work on all of them simultaneously , its better to only have 1 or 2 issues assigned to you at a point of time
club some issues into a single issue - I understand that this might affect points  and levels ,  but even if you are solving various small issues in 1 issue , you can get a level 3 for the same !

thanks for all your awesome hard work !
keep it up

@ANSHIKA-26 thank you soo much for your appreciation!!, 🙂✨


Update doc for findOrNew method

This function returns \Illuminate\Database\Eloquent\Model and not a Collection in case the model exists.

Please send this to 5.1.

Sent.


Provide iOS framework download

As discussed in https://github.com/Azure/azure-mobile-services/issues/812 the Messaging Framework is no longer included in the iOS SDK downloads for mobile services/apps. iOS users need a convenient way to obtain the framework, such as a zip download from http://azure.github.io.

I was happy to find AzureSDK-iOS available as a pod. But then I realized it was without Messaging Framework and so useless in my context :S
Any idea if this will be included again? At least a little bit hard to understand why it isn't any longer?
If to be included again any approx ETA?
Thanks :)

Hey, this issue is pretty old, but we recently updated the iOS SDK to fix a bug and published the resulting framework as a GitHub Release:
https://github.com/Azure/azure-notificationhubs/releases/tag/viOS-2.0.1
We also make the .zip file available as a direct download:
http://aka.ms/aznh-ios-sdk
Hopefully this is a step in the right direction.
We'll look into supporting Cocoa Pods in the future, but as of right now do not have an ETA.


Using Llama3 and other models via Replicate

Hi @gokayfem, would you be open to a PR to this repo to add support for using Replicate as an API provider for various LLM and VLM tasks?

+1

I have different plans for this. Thanks for your suggestion.