Ios notify camera fix

Description:
This is an attempt to fix #8693 I am looking for insight as this is would be a breaking change requiring all message identifiers to be changed to lowercase.
The issue with the current IOS code looks for the camera message type to be lowercase however the HASS ios.py converts all message types to upper. An eaiser fix would be to change the IOS app code to look for uppercase identifiers but I am not sure if the code is maintained anymore or can be updated.
Can any of the more experienced devs chime in?
The IOS app code is here:  https://github.com/home-assistant/home-assistant-iOS/blob/f4b7789cbd46c38f9bc1a47fa9186742b24a41df/APNSAttachmentService/NotificationService.swift#L49
Related issue (if applicable): fixes #8693
Forum post. https://community.home-assistant.io/t/ios-actionable-notification-with-camera-image-attached/13581/24
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

The docs also need to be updated to reflect the changes. It is not clear right now which one should be lowercase and which one should be upper case. Thanks!


Seems VERY unreliable with Atom 1.18.0 (on Windows)

There doesn't appear to be a clear indication whether the plugin is enabled or not. The toggle menu item doesn't seem to change anything visually or operationally. The only way I could seem to get it to do anything was to open the elastic-tabstops.js and play with that a bit - but that seemed to stop working if I edited the file much.
Has this version of Atom broken the plugin (beyond #9?)

Please let this not be true. I'm on 1.17 now and I cannot live without this plugin. :p

The toggle should work now. And this plugin is ok until Atom 1.18.0, but not work with 1.19.0 beta.


Create iter8 k docs hidden command

Currently, there is  a separate package (cmd/docs/main) meant only for generating docs. Remove this package and instead introduce iter8 k docs hidden command instead.
This eliminates a needless extra package, and also makes RootCmd into  rootCmd.
This is the approach taken by Helm.

Closing .. in the spirit of ... "don't fix what is not broken"


Source code included in package

I've just noticed that when installing @json2csv/node, the package includes the src folder with the typescript files as well as the compiled javascript code in the dist folder.
Is this intentional?
I notice that the package.json files for the packages in this repo don't have a files option specified.

The version of @json2csv/node I have installed is 7.0.1 and I'm using node v18.16.0.
To replicate, run npm install @json2csv/node or yarn add @json2csv/node and browse to the node_modules/@json2csv/node folder.

Hi @lohart13 ,
This is intentional indeed.
Together with the compiled version and the typings, this package also use source maps so debugging tools can be use on the typescript.
Do you see any problem having the source in the package?

This is fine.
It just increases the size of the packages thats all.
If this is intentional, I'll close the issue and PR.


Implementing XMTP

You can add XMTP here too.
https://github.com/kaguraswap/monorepo/issues/128#issuecomment-1178548064

We know much about XMTP, so no need to investigate.

https://miro.com/app/board/uXjVOoCNSfQ=/?moveToWidget=3458764529072373606&cot=14

@Aqrare
Hi, can you tell me how we should implement XMPT in the current design?

I tried XMTP, and we can add

XMTP sending modal for share
Message to NFT owner function
Mailbox in mypage

@taijusanagi

Message to NFT owner function
This is the best use like OTCSWAP !

XMTP sending modal for share
I think sharing orders like Twitter is not much with XMTP

Mailbox in mypage
Integrate chat functions into Kagura and complete in KAGURA without moving to other pages like DAOPanel is the best way! However, it seems to take a little more time to develop, so how about we'll add a message function at an initial release, then add a chat function after?

we'll add a message function at an initial release
sound's nice

I tested XMTP and it only accepts sending message registered addresses.
Can you change this? I think it is not useful only to accept messages to registered users.

We can't change that model......
I think that's what makes XMTP difficult to use.
I'll ask XMTP guys are there any other ways or plan to update

He told me that they have a plan to update that and users will be able to send messages to any addresses!


HiBitSoftware.HiBitUninstaller version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Submission containing materials of a third party:
Author: Mohammed Raee
Publisher: HiBitSoftware
PublisherUrl: https://www.hibitsoft.ir/
PublisherSupportUrl: https://www.hibitsoft.ir/About.html
License: Proprietary
Copyright: Copyright @ 2017-2023 HiBitSoft.IR All Rights Reserved

Microsoft Reviewers: Open in CodeFlow

/azp run


The SourceBreakpoint parameters definition is incomplete

The definition of SourceBreakpoint parameters contradicts the definition of interface TextDocumentPositionParams in LSP protocol. Both structures have the same purpose - map central  source code window with other EDI parts. Source code window is implemented once, for example Monako editor and UI5 Editor control. What is already developed for LSP should be re-used for debugger UI. Line breakpoint position can be described by Position with offset coordinate =  0. Exception point position may need both X and Y coordinate.

It is wrong proposal - to display breakpoints at editor view Marker structure is used: { line, kind }. Marker kind is translated into icon image. Active and inactive breakpoints are visualized differently.


Report AD checkpoint contexts

Issue: #4997
Display checkpoint context structures for functions with non-empty contexts:

Enabled with the flag -report-checkpoint-intermediates
At the moment writes to a file checkpoint-report.txt
Includes a lot of sourceLoc copies so that the source locations can be displayed

output for reverse-loop.slang
checkpointing context generated for function: test_simple_loop
    defined at tests/autodiff/reverse-loop.slang:12
    size of context: 24 bytes

    20 bytes used for field of type: float [5]
    generated to checkpoint the following item defined at tests/autodiff/reverse-loop.slang:14
    float t = y;
          ^
    4 bytes used for field of type: int
    generated to checkpoint loop counter created for loop at tests/autodiff/reverse-loop.slang:16
    for (int i = 0; i < 3; i++)
    ^~~

output for reverse-loop-checkpoint-test.slang
checkpointing context generated for function: computeLoop
    defined at tests/autodiff/reverse-loop-checkpoint-test.slang:49
    size of context: 20 bytes

    4 bytes used for field of type: float
    generated to checkpoint the following item defined at tests/autodiff/reverse-loop-checkpoint-test.slang:51
    float w = 0;
          ^
    12 bytes used for field of type: vec3
    generated to checkpoint the following item defined at tests/autodiff/reverse-loop-checkpoint-test.slang:52
    float3 w3 = float3(0, 0, 0);
           ^~
    4 bytes used for field of type: int
    generated to checkpoint loop counter created for loop at tests/autodiff/reverse-loop-checkpoint-test.slang:54
    for (int i = 0; i < 8; i++)
    ^~~

Overall, this looks good!
However, we really need tests for this. I would suggest that we use the diagnostic sink to report these diagnostics as 'notes' (use Severity::Note in the diagnostic info) and use file-check to write the tests.

We need to test for nested functions calls too.
If f calls g which has x byte of context, how is that reported?

@csyonghe The following is what it looks like for nested calls:
tests/autodiff/reverse-nested-calls.slang(19): note: checkpointing context of 4 bytes was generated for function: 'f'
float f(float x)
      ^
tests/autodiff/reverse-nested-calls.slang(21): note: 4 bytes (float) used to checkpoint the following item:
    return 3.0f * g(2.0f * x);
                   ^


Tune Juliet networking settings

The juliet node configuration is currently way too liberal with its buffer space (i.e. the settings in the chainspec found for juliet, as well as the memory buffer configuration found on the node). As soon as the "essentially unlimited" configuration runs stable, it should be retried with more conservative settings, until a better set of values is found.
This requires the conman branch to be merged, see #4551 for details.

Housekeeping: Removing the automated sprint assignments.


Correct typo

Correct the typo is OK, just remember to open the PR with the three versions of the notebook: .ipynb, .py and .html ; )

Sorry.
Should I delete this branch?

Should I delete this branch?

No need for that. Just add the typo fix in the other files (.html and .py) and this branch can be merged ; )


Cow: Watch treasuryanalytica(!?.com)

Cow requests the watch of the watch_keyword treasuryanalytica(!?\.com). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

treasuryanalytica(!?\.com) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Self-rejected by Cow in Charcoal HQ. Reason: 'stop it cow you're making wrong stuff again, please check your six'


TROCR for Rectangular images

Is TrOCR good choice for handwritten text Recognition for images with large W/H ratio of 5-6. E.g. 600*100 size images ?
TrOCR resizes input image to square image of 384*384 which distorts the image a lot.

same question

I think its there - https://github.com/microsoft/unilm/blob/b60c741f746877293bb85eed6806736fc8fa0ffd/trocr/data_aug.py#L34 But I have not got the time to explore it any further.


Can I use this library to emulate HID mouse drivers without additional hardware?

No this is not possible.


Python tweaks

This PR includes a set of minor Python related fixes that I noticed while starting to look around.

LGTM -- I added an issue to get lint and CI running too, to hopefully prevent some of that cruft in the future.  Thanks Russel!


Add property based tests for the VotingPower calculator

Followup to #303
In the exploratory work of #815, our focused application of PBT surfaced an edge case that could produce fatal errors. Consequently, in discussion with @thanethomson, we decided it was worth investing in further application of PBT, both to improve the depth of tests and to continue building up a library of combinators to expedite writing PBT of future development.
The proposed target for the next step of this work is the VotingPowerCalculator.
This work item decomposes into two principle parts:

Defining combinators for generating arbitrary inputs to voting_power_in.
Identifying the essential properties of this computation that should be checked, and writing the tests.

What's the definition of "done" for this issue?

There are combinators for generating arbitrary values of the following types:

[ ] SignedHeader: /src/block/signed_header.rs

[ ] Header: /src/block/header.rs

[x]  Version: /src/block/header.rs
[x] Height: /src/block/height.rs
[x] Time: /src/time.rs
[ ] Hash: /src/hash.rs
[ ] AppHash: /src/hash.rs

[ ] Commit: /src/block/commit.rs

[ ] ValidatorSet: /src/validator.rs

[ ] Info: /src/validator.rs

[ ] ID: /src/account.rs
[ ] PublicKey: /src/public_key.rs
[ ] Power: /src/vote/power.rs
[ ] ProposerPriority: /src/validator.rs

[ ] TrustThresholdFraction: /src/trust_threshold.rs

There are property based tests for essential properties of the calculation written, and these are tagged with the logical unit they are derived from.

Yesterday we talked about where these generators might live, given that:

they will likely need to be used by tests that outside of the tendermint crate
we don't want to bloat tendermint with code that is only used in tests.

@romac advised that the best course of action would be to put the generators in a model guarded by a disjunctive feature that's satisfied either by test or proprest (or whatever other name we'd like here) using https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg-attribute. E.g.,
#[cfg(any(test, proptest)]

Tests that need these generators can then specify the proptest feature when they depend on the tendermint crate.

Absolutely! Although I think we want proptest to be a feature rather than a config flag, so the attribute would look like:
#[cfg(any(test, feature = "proptest")]

Yes indeed. Thank you for the correction!


Daily lectionary in early Lent shows two sets of lessons

If there is a commemoration the heading still works.

If there is a commemoration the heading still works.


Terminal Services version: 6.3.9600.18928 is not supported

Please add support for
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017
[*] Notice to user:

By using all or any portion of this software, you are agreeing
to be bound by all the terms and conditions of the license agreement.
To read the license agreement, run the installer with -l parameter.
If you do not agree to any terms of the license agreement,
do not use the software.
[] Installing...
[] Terminal Services version: 6.3.9600.18928
[-] This version of Terminal Services is not supported.

THX!!

Confirmed: is Fixed with:
[6.3.9600.18928]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=8B25D
LocalOnlyCode.x64=nopjmp
SingleUserPatch.x64=1
SingleUserOffset.x64=36C09
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=45495
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=5D830
SLInitFunc.x64=New_CSLQuery_Initialize
[6.3.9600.18928-SLInit]
bFUSEnabled.x64 =FA054
lMaxUserSessions.x64 =FA058
bAppServerAllowed.x64 =FA05C
bInitialized.x64 =FA060
bMultimonAllowed.x64 =FA064
bServerSku.x64 =FA068
ulMaxDebugSessions.x64=FA06C
bRemoteConnAllowed.x64=FA070
Please add to INI
THX

Duplicate of #418.

Confirm ... win8.1x64 ... after add this sections to ini everything is working! Please add to INI

Hi!
Tried the modified ini-file on a german Windows 8.1 Pro x64 [Version 6.3.9600] with all updates, but it is not working though it reads "[fully supported]". Also tried the one from #418 and the 1nd1g0 commit.

The second user get's a message that a user is already logged-in and that he will be disconnected.

Can you please let me know which ini file needs to update and where it is. I am not much aware about all discussing but having same issue.


History not loading in Run History and Trigger History

Describe the Bug with repro steps

Go to QA-API-PostOrder-ESL
click on Workflows
Go to PostOrderScale2016 (for example)

What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
None of the history is showing - on multiple computers and accounts.
Also some elements of Logic App Designer is not opening.
Browser
Chrome
Additional context
Restarting machines and clearing cache not fixing issue.

Customer has reported they restarted the app service and the issue was cleared up.
Closing this issue.


Use strict versions for internal depedencies

🐛 Bug Report
Jest currently uses ^ for all it's internal dependencies which causes issues if there is a bug in a minor/patch release and you want to revert.
E.g. jest has a dependency on @jest/core ^26.5.3, so installing from scratch without a lockfile isn't deterministic if you are using an outdated version of jest.
Most of this can be solved by a lockfile but then you can't refresh the lockfile for other dependencies.
To Reproduce
Steps to reproduce the behavior:

Install<EMAIL_ADDRESS>Open yarn.lock and see that<EMAIL_ADDRESS>was installed

Expected behavior
I think it would be reasonable if the internal packages would use strict versions, e.g @jest/core 26.5.3 instead of @jest/core ^26.5.3
Which results in the consumer's desired version being installed
Link to repl or repo (highly encouraged)
N/A
envinfo
  System:
    OS: macOS 10.15.7
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
    Yarn: 1.22.5 - /usr/local/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm

Yep, this is actually a change I was planning to make for Jest 27 🙂 Haven't discussed it with the team yet, tho.
@jeysal @thymikee thoughts?

Lerna bumps deps in package.json in sync with the real ones, so whenever a user upgrades jest, our transitive dependencies will be updated as well and reflected in the lock file. I'm in favor of this.

I'm not convinced. If it were 26.x.x i.e. any version of the same major, including lower versions, that would of course be a problem since you may be missing out on new features (and also it'd sometimes just break since Jest packages depend on new features in other Jest packages), but allowing higher versions seems okay to me.
I'm aware locking the version of the packages will usually only force duplication if someone else also does (or wants at least a higher version, e.g. jest and all deps are locked at 27.1.2 and someone else wants jest-worker@^27.2.0), but even then I wouldn't say we have more of a right to do that because we're Jest itself.
I understand that in the case of bugs it can be annoying, but I don't want such accidents to make us abandon a benefit of semver. It sets a bad precedent - as soon as a second major dependent of jest-worker or pretty-format or something does this everyone gets duplication.

We could do it selectively on different packages. We've had bugs with people using a jest-runtime on a newer version of jest-runner and getting weird bugs.
But "commonly consumed" (whatever that means) packages like pretty-format, jest-diff and jest-worker could probably still use ranged? Not sure.

I'm more concerned about reducing bugs than reducing bloat in node_modules - the consumer can dedupe if they want

the consumer can dedupe if they want

Well that's the thing, as soon as one other dependent specifies a different fixed version, they can't just dedupe anymore because the versions ranges don't overlap. yarn dedupe won't catch it anymore, and if you even notice, only overriding what the package.jsons say via resolutions or packageExtensions would actually dedupe. This would cancel out a big part of what semver usually achieves - allowing different versions of a package in a tree, but avoiding everyone in the tree getting a distinct one at the same time.

@jeysal I see your point, but the problems that come with that are not worth it imo. E.g. right now we're struggling hard with https://github.com/facebook/jest/issues/10716 and pinning jest to a prior version won't work since it automatically installs the latest version.
I'd guess that there will be more of these situations in the future too, e.g that<EMAIL_ADDRESS>has subtle bugs when used with<EMAIL_ADDRESS>etc

Please re-open.   I'll direct your collective attention to #13909 for a real-world example of why the current behavior is harmful.
tl;dr: When a BREAKING CHANGE goes out in a minor release, there is no viable way of pinning jest to a non-broken version.
attn: @SimenB


Use str.casefold() instead of str.lower() for comparison.

I'm reading Fluent Python right now and the author introduced me to using casefold() instead of lower() for string comparison. This seems to be the general recommendation. See https://stackoverflow.com/questions/45745661/lower-vs-casefold-in-string-matching-and-converting-to-lowercase.
It seems like we could have a rule like this:
s1.lower() == s2.lower()  # Error: Use str.casefold() for caseless string comparison
s1.lower() != s2.lower()  # Error: Use str.casefold() for caseless string comparison

I tested the performance and it looks like they are about the same.
Performance testing
import random
import timeit

long = bytes(random.randint(0, 255) for _ in range(1_000_000)).decode("utf-8", errors="ignore")
short = bytes(random.randint(0, 255) for _ in range(1_000)).decode("utf-8", errors="ignore")
tiny = bytes(random.randint(0, 255) for _ in range(10)).decode("utf-8", errors="ignore")

print(f"Length of long: {len(long)}")
print(f"Length of short: {len(short)}")
print(f"Length of tiny: {len(tiny)}")

long_lower_time = timeit.timeit("long.lower()", globals=globals(), number=100)
long_casefold_time = timeit.timeit("long.casefold()", globals=globals(), number=100)
print(f"{long_lower_time=}")
print(f"{long_casefold_time=}")

short_lower_time = timeit.timeit("short.lower()", globals=globals(), number=100_000)
short_casefold_time = timeit.timeit("short.casefold()", globals=globals(), number=100_000)
print(f"{short_lower_time=}")
print(f"{short_casefold_time=}")

tiny_lower_time = timeit.timeit("tiny.lower()", globals=globals(), number=10_000_000)
tiny_casefold_time = timeit.timeit("tiny.casefold()", globals=globals(), number=10_000_000)
print(f"{tiny_lower_time=}")
print(f"{tiny_casefold_time=}")

# Length of long: 533764
# Length of short: 543
# Length of tiny: 2
# long_lower_time=0.7035579030052759
# long_casefold_time=0.7010332670179196
# short_lower_time=0.6138628749758936
# short_casefold_time=0.5890167159959674
# tiny_lower_time=0.5530402820440941
# tiny_casefold_time=0.5944054980063811

The main risk seems to be other classes with a .lower() method that someone might use for comparison. It seems that should be unlikely enough that a rule would be OK. I searched private codebase and the results for lower.*[!=]=.*lower were all string comparisons.

To me, casefold and lower have different semantics and you shouldn't just replace one with another. For example, in python packaging, the casing of package names generally doesn't matter, e.g. asgiref, Asgiref and AsgiRef will both give you the desired package, since "asgiref".lower() == "Asgiref".lower() == "AsgiRef".lower(). aßgiref otoh is an invalid package name and should not be accepted. This is also represented by pypi:
Works: https://pypi.org/project/asgiref/
Works: https://pypi.org/project/Asgiref/, redirects to https://pypi.org/project/asgiref/
Broken: https://pypi.org/project/aßgiref/
(Personally, i find "ß".upper() == "SS" a strange semantic already and one that does not match my feeling for language, plus the captial ß now exists (https://en.wikipedia.org/wiki/ß#Development_of_a_capital_form), but i can see how that's something you want to support now that it's a fixed part of unicode, especially when dealing which natural language rather than identifiers)

I've never seen anyone actually use this but it does seem like a reasonable suggestion.


feat: replace Litestar SQLAdmin with SQLAdminPlugin.

Following  sqladmin-litestar readme, replace the link with sqladmin-litestar-plugin.

BTW, there is a whole bunch of changes coming from pre-commit hook. Am I the first to actually run it? :D

BTW2 There's a whole bunch of python-specific hooks that require download and slow down the first commit.


Add Usage page to remove nodes

Fixes #312
Docs to address https://github.com/projectcalico/canal/issues/11
I'm not sure about the page title, some alternatives:

Cleaning up unused nodes
Cleaning up removed nodes
Cleaning up decommissioned hosts
Removing unused nodes
Removing old nodes

How about "Decommissioning a Calico Node" for the title?

I think that could work.  I'm wondering if the title should represent what we want the users to be thinking ahead about or will they be coming to look for addressing a situation they are already in.  This consideration may be less of a concern once the Usage landing page is merged as it can help connect the two situations.

@robbrockbank PTAL

@robbrockbank How about now? :grinning:
I also removed the 'Calico' from the page title.

@robbrockbank and @caseydavenport How does that suit your fancy?  Maybe something like this should be a format we strive to have in these usage docs.  (I feel like this has been brought up before that we should do something like that.)

LGTM - can you squash please

Of course.
Should I backport to v2.2 also?  I did for the new usage/calicoctl docs so I'm assuming yes.


Attempt to add support for CSF3 render preset

Issue: N/A
What I did

[x] Add a render preset similar to how it's done in webpack https://github.com/storybookjs/storybook/blob/next/lib/builder-webpack4/src/preview/virtualModuleEntry.template.js#L36
[x] Update the react example to test it out

What I need
Trying to test it out, but the example is failing with the error:
Uncaught SyntaxError: The requested module '/node_modules/.vite/@storybook_client-api.js?v=c67b5dc5' does not provide an export named 'setGlobalRender'

This is strange because AFAIK that export exists, even in 6.3

Should we bump the Storybook version?
https://github.com/eirslett/storybook-builder-vite/blob/main/packages/example-react/package.json#L18-L21
Seems like the Github Action installed 6.3.3.

Hi @shilman, what's the status on this PR?

Looking forward to make use of this feature.
Keep up the great work! 🙂

I rebased this on master and tested it out.  But the story seems to render fine with and without the changes in this PR. It would be good to have an example of a story example that fails without this PR and which should work correctly with it.

Well, I think this PR is "working", but I'm not really sure what it's supposed to be doing.  I thought this would allow us to use automatic title generation, but that doesn't seem to be the case.  I've removed the storyStoreV7 flag from the react example, and also removed the title, and the story no longer appears, and I get this message in the browser console:
Unexpected default export without title in 'exports-map-1': {"argTypes":{"backgroundColor":{"control":"color"}}}

closing in favor of #194


Reusing stagingRepositoryId from close task bypasses retry mechanism and fails

When repository ID is read from server retry mechanism is able to wait for the repo to be effectively closed. This effectively breaks closeAndPromoteRepository task...
:closeRepository (Thread[Daemon worker Thread 9,5,main]) started.
:closeRepository
Putting task artifact state for task ':closeRepository' into context took 0.0 secs.
Executing task ':closeRepository' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
Getting staging profile for package group 'io.gitlab.nexus-at'
Getting 'open' repository for staging profile '5027d084a01a3a'
Closing repository 'iogitlabnexus-at-1014' with staging profile '5027d084a01a3a'
Repository 'iogitlabnexus-at-1014' with staging profile '5027d084a01a3a' has been closed
:closeRepository (Thread[Daemon worker Thread 9,5,main]) completed. Took 5.408 secs.
:promoteRepository (Thread[Daemon worker Thread 9,5,main]) started.
:promoteRepository
Putting task artifact state for task ':promoteRepository' into context took 0.0 secs.
Executing task ':promoteRepository' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
Using configured staging profile id: 5027d084a01a3a
Promoting repository 'iogitlabnexus-at-1014' with staging profile '5027d084a01a3a'
POST response failed. 500: Server Error, body: [errors:[[id:*, msg:Unhandled: Repository: iogitlabnexus-at-1014 has invalid state: open]]]
:promoteRepository FAILED
:promoteRepository (Thread[Daemon worker Thread 9,5,main]) completed. Took 1.531 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':promoteRepository'.
> 500: Server Error, body: [errors:[[id:*, msg:Unhandled: Repository: iogitlabnexus-at-1014 has invalid state: open]]]

This is a regression in 0.6.0 in which reusing repo id has been introduced - #36.

Reusing stagingRepositoryId has been temporary disabled as a workaround. The issue with be fixed by #21.


Odoc-based improvements

I added a target so that you can just do make gh-pages and it will upload the dev documentation to $URL/doc/dev/.
dune-release will upload to $URL/doc/$VERSION.

How does dune-release upload anything anywhere, does it actually commit? :slightly_frowning_face:
I used to have complicated targets for docs but in my experience they break more often than not, which negates any gain in time…

It commits to gh-pages if you ask it to, yes.
I've used the target I pushed for several years, without really any changes. It doesn't do much and it's pretty reliable.


Add support for GL_EXT_robustness

Would allow us to recover from GPU resets. We'll need to trash all of our renderer state and re-create it.
See:

https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_create_context_robustness.txt
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_robustness.txt

On amdgpu, a manual GPU reset can be triggered with /sys/kernel/debug/dri/0/amdgpu_gpu_recover.

You will have to trash renderer state and also client buffer textures. This means that you will need to keep a wl-shm client buffer referenced even after uploading data to the opengl texture.

Support for robustness could look like this:

In wlr_renderer_bind_buffer, check glGetGraphicsResetStatusEXT. If it doesn't return NO_ERROR, busy-wait with some sleep interval and a timeout to wait for the GPU to be ready again.
Re-initialize the renderer's internal state: EGL contexts, shaders
Destroy all wlr_gles2_buffer
Re-import all wlr_texture from their original wlr_buffer, if any (needs https://github.com/swaywm/wlroots/pull/2851). Otherwise make the texture "inert": destroy the GL texture but keep the wlr_texture alive to avoid crashing compositors.

This means that you will need to keep a wl-shm client buffer referenced even after uploading data to the opengl texture.

Indeed. We can't re-upload the buffer after we've released the buffer, because the client might be in the process of rendering to it, so its contents can be garbage.

Emit a wlr_renderer.events.reset event so that compositors can […] re-create their own GL state if any

This might be slightly more complicated: we need compositors to destroy their old GL state before we destroy the EGL context, and re-create it after we've established a new EGL context. We might need two events (meh API), or to keep the old EGL context alive up to wlr_renderer.events.reset.

Indeed. We can't re-upload the buffer after we've released the buffer, because the client might be in the process of rendering to it, so its contents can be garbage.

Beware though, there are applications in the wild that assume the compositor will release a shm buffer after uploading its data to an opengl texture, most prominent example is Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1693472

Oh, wow. That's pretty gross.

This means that you will need to keep a wl-shm client buffer referenced even after uploading data to the opengl texture.

Is there no way around this? I completely agree that clients cannot assume a buffer is released immediately. But it does enable very nice optimizations when it is released immediately, especially considering rendering is done on the CPU.
Being able to recover from GPU resets is of course an extremely nice thing to have. It just seems somewhat weird to incur this kind of performance penalty for something that should, ideally, never happen.
But I guess one could argue that performance critical applications should use GL, not shm...

One way around this would be to add a protocol to let the compositor ask the client to submit a new frame. wl_surface.frame isn't enough, because it's (1) requested by the client (2) doesn't require the client to submit a new buffer (e.g. if nothing changed on screen, no need to redraw).
Immediate release shouldn't have too much of a CPU usage cost, I think? It does have a memory cost though.

How about sending a configure to all surfaces? That is likely to provoke a new frame.
Granted, it's not guaranteed to work, but clients might not use a dedicated recovery protocol either, so a backup plan might be in order...

Non-immediate release shouldn't have too much of a CPU usage cost, I think? It does have a memory cost though.

Clients can choose between a couple of strategies I think.

Re-render the new frame from scratch. Potentially very expensive.
memcpy() the old frame, then apply current frame's damage.
Try to re-apply the damage from the old frame, before applying the new frame's damage.

("damage" refering to the client's internal damage tracking)
For reference, foot currently does 2), but I'm going to test 3). I should have some performance numbers after that (see https://codeberg.org/dnkl/foot/issues/478).

One way around this would be to add a protocol to let the compositor ask the client to submit a new frame.

How about sending a configure to all surfaces? That is likely to provoke a new frame.

Both alternatives crossed my mind as well. I think a new protocol would be more robust? But like @kennylevinsen said, perhaps a configure event can be used as a fallback mechanism for clients not implementing the new protocol?

How about sending a configure to all surfaces? That is likely to provoke a new frame.

Yeah, but some clients might just realize the configure event doesn't change anything, and ack it without attaching a new buffer.
For clients that don't support the "please redraw" protocol, we could always hold the wl_buffer longer, just as described above. The protocol could be designed with a per-surface addon object, so that the compositor knows exactly which surface can be redrawn on-demand.

(3) Try to re-apply the damage from the old frame, before applying the new frame's damage.

This seems like the best solution.


What will be internal URL when target application URL is like this https://hostname:port/path

hi Team,
I need to know what will be the internal URL in this (when integration application proxy with pingaccess) when target URL is like this https://hostname:port/path. And we will use external URL to access this application.

@abhishek0818 Thank you for your feedback! Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.

@abhishek0818 We haven't heard back from you. Could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.

@abhishek0818 I will now proceed to close the issue. Please feel free to create a feedback item on the relevant doc to continue the discussion.


Added support for BSC.

Fixes #388  .
Changes proposed in this PR:

update the network maps to include BSC;
add the BSC chain id;
do a lookup for account balance on BSC.

I wanted to do a quick lookup for the account balance when I reproduced the beginning of the marketplace-flow README, but it crashed at the config.ini file. I retrived those URLs from here.

 Config file - config.ini

[eth-network]
network = bsc

[resources]
metadata_cache_uri = https://aquarius.bsc.oceanprotocol.com
provider.url = https://provider.bsc.oceanprotocol.com

 BSC Marketplace-flow Logs - AttributeError: 'NoneType' object has no attribute 'get'

>>> from ocean_lib.config import Config
>>> from ocean_lib.ocean.ocean import Ocean
>>> config = Config('config.ini')
>>> ocean = Ocean(config)
Traceback (most recent call last):
  File "/home/maria/Desktop/test3/venv/lib/python3.8/site-packages/enforce_typing/decorator.py", line 29, in wrapper
    return func(*args, **kwargs)
  File "/home/maria/Desktop/test3/venv/lib/python3.8/site-packages/ocean_lib/ocean/ocean.py", line 102, in __init__
    addresses.get(MetadataContract.CONTRACT_NAME),
AttributeError: 'NoneType' object has no attribute 'get'

The issue is that the contract addresses for BSC are inexistent.

Also the provider address (0xc2544d3Db1b4026bD3144399b9687832841fd21e) from here does not exist neither on Bscscan, neither Etherscan.

I tested with pure web3 just to check if I can connect to the public RPC that BSC has and it worked successfully to check the balance for my account.

 Test account balance using pure web3 on BSC - Logs

(venv) maria@maria-VirtualBox:~/Desktop/test3$ python
Python 3.8.10 (default, Jun  2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from web3 import Web3
>>> w3 = Web3(Web3.HTTPProvider('https://bsc-dataseed.binance.org'))
>>> w3.isConnected()
True
>>> w3.eth.accounts
[]
>>> import os
>>> my_account = w3.eth.account.privateKeyToAccount(os.getenv('TEST_PRIVATE_KEY1')[2:])
>>> my_account.address
'0xaa350D05F253a939Ec7fa5A4A8be522372d49b19'
>>> w3.eth.get_balance(my_account.address)
0


docs: use capa as capi operator example

Description
The existing example in Turtles' CAPI Operator docs for installing a CAPIProvider refers to upstream's CAPI Operator book and Azure Provider. As CAPZ is not yet an officially supported provider in Turtles, we should use a supported provider in the example instead. This changes it from CAPZ to CAPA.

Looks good, it seems there is another mention of azure here https://turtles.docs.rancher.com/contributing/install_capi_operator/?_highlight=azure#install-manually-with-helm-alternative that needs update

Thanks for noticing @furkatgofurov7. I updated those references too.


Benchmarking

Draft benchmarking MR.
Closes #32.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.174%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
318

Relevant Lines:
345

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.174%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
318

Relevant Lines:
345

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.174%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
318

Relevant Lines:
345

💛  - Coveralls


Amdroid compilation error: was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.

Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
The class is loaded from /.gradle/caches/transforms-2/files-2.1/4b55b22db84b23a44d8b73ce89e328cd/jetified-kotlin-stdlib-1.5.20.jar!/kotlin/Unit.class

Same here

Please check "/android/build.gradle" and change "ext.kotlin_version" to 1.5.20.
Like this
buildscript {     ext.kotlin_version = '1.5.20'     repositories {         google()         jcenter()     }

How to update kotlin by Android Studio bro?


remove doom/open-manual, fix doom/describe-module

The doom/open-manual function seems to no longer exist. The doom/describe-module key binding is fixed since SPC h d is the doom help prefix. Under this prefix is doom/describe-module.
I am not aware if doom/open-manual was replaced by something else, but I'm happy to include that in the PR if someone can point me to it :)
Thanks for all the work on Doom Emacs!

A few more updates were needed for that section, which were done in 9518852 and fc2634d. Also, doom/open-manual is now doom/help. In any case, thanks for bringing it to my attention!


Fix header styling for long article titles

The breadcrumb pushes down the Edit on Github link when the article section + title gets too long.

For example: https://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html in a narrow browser window. Edit on GitHub wraps below the title. I would expect the title to wrap and Edit on GitHub to stay in place.

@ardalis  closing this. I don't think this applies to MD format.


Aug 17 15:14:26 docker-07 docker[27936]: /usr/local/go/src/reflect/asm_amd64.s:29 +0x36
Aug 17 15:14:26 docker-07 docker[27936]: github.com/docker/docker/cli.(*Cli).Run(0xc820417710, 0xc82000a0b0, 0x9, 0x9, 0x0, 0x0)
Aug 17 15:14:26 docker-07 docker[27936]: /root/rpmbuild/BUILD/docker-engine/.gopath/src/github.com/docker/docker/cli/cli.go:89 +0x383
Aug 17 15:14:26 docker-07 docker[27936]: main.main()
Aug 17 15:14:26 docker-07 docker[27936]: /root/rpmbuild/BUILD/docker-engine/docker/docker.go:63 +0x43c

Describe the results you expected:
Docker daemon should not crash (duh)
Additional information you deem important (e.g. issue happens only occasionally):
Issue happens only occasionally.

Thanks for the report, this is not possible in 1.12 so closing...
However I am really concerned that this was even possible as it is panicking in go's sync.Once

@cpuguy83 It's a forced panic from go stdlib because we are trying to unlock an already unlocked mutex.

@mrjana Yes, but it's happening when sync.Once is doing it's unlock... so the panic is likely from a race in sync.Mutex.

Ahh.  Missed that little bit of information. That is strange indeed.

Opened golang/go#16762


[1864] Move export link above trainees list

Context
Moving the Export these records link to above the trainees list.
Guidance to review

Navigate to the trainees page and inspect the Export these records link
Check that it still exports filtered results
I couldn't pass the filter_params to the view so ended up redefining it in view.rb, if you can think of another way please let me know.

Screenshot

 [S] Trainee list - Move 'Export' link

All good


devlib/utils/ssh.py: Fix set terminal window size

Ensure that the terminal window size is set to 500x200, if not long
commands (prompt + command > 80 chars) will fail because the pexpect
search to match the command string in order to get the result and the
command is wrapped to first 80 chars.
In order to fix this scenario enables checkwinsize in the shell and use
stty to set the new terminal window size.
Signed-off-by: Aníbal Limón<EMAIL_ADDRESS>

Related to,
https://github.com/ARM-software/workload-automation/pull/725

@marcbonnici That code has been replaced by the paramiko connection for quite a while now, so I think we can close this PR. A similar problem probably exists in the telnet connection but I honestly don't think telnet works at all in the current state.
If we wanted to resurrect it, we would need to be able to multiplex multiple command output in the same terminal (for background command API), which is challenging. And at that rate, it may just be simpler to setup SLIP (IP over serial port) and use SSH


Document scaling out with new NodeSet

This method of scaling out is needed to support heterogeneous node
configuration. But it has some important quirks due to the global
ssh-known-hosts service.
Related: https://issues.redhat.com/browse/OSPRH-6738

rdo-check

/approve


It's possible use aggregate or values?

hi! exist any way to use values() and aggregate() with a json field?
Would be a really nice feature!

Yes, you can use it with RawSQL expression only.


Impact reversion

Fixed some code breaking issues introduced in commit #533. Function definitions had been changed without modifying function calls, call to migrad was removed so no minimisation was performed.
Some print statements also removed.

Sorry, I didn't notice the change was more than cosmetic.  Can you add some unit tests to make sure this is checkedfor ? All tests passed. Though I guess we might need to add some very simplistic test model somewhere that we can load to test the more complex parts. It doesn't have to be real data, just some dummy model that can be used to test that the mechanism works, even if not a scientific test, similar to the test of the EnergyRegressor.

I think it is correct that some things were confusingly not used (like the zenith and azimuth parameters to image_prediction(), which were overwritten by other data in the function call

Yes fully agreed. That's my bad I'll try to write some better test functions. I just went on leave though so that'll have to wait until November :-).

note sure why landscape.io is not running today, but I'll accept this anyhow


[doom-horizon] Bug: brighter comment not working (PR on the way!)

In doom-horizon, setting doom-horizon-brighter-comments has no effect on the foreground, and the background is a bit too bright for the comments to be readable. Here's my proposal with before-and-after screenshots
Before (notice that comments are hard to read

After (adhere more to the brighter-comments idea)

I love that you always bring almost always a PR when you open an issue haha! Awesome!


node version in "Your First Substrate chain" tutorial

I followed the Creating Your First Substrate chain and encountered some minor issues.
First it might help to mention that yarn install should be run before yarn run dev.
The second issue I had was that I got some errors when using the latest node version (v13.1.0).
In the README of the substrate-ui project it says that Node v11 and Python 2.7 are required. But the tutorial instructs to install the latest node version.

@weichweich Thanks for reporting and using the tutorial. I've made a PR to fix the issues you reported.
I also wanted you to know that the doc you're referencing is about Substrate v1.0 which will be deprecated soon. You may enjoy trying this new tutorial for Substrate master. https://substrate.dev/docs/en/next/tutorials/creating-your-first-substrate-chain/


Set vsync on window creation when using GLES3

This is necessary so that the vsync settings actually take effect when the scene is loaded. This is what we did in 3.x as well. We just missed this as OpenGL wasn't available when we overhauled vsync for 4.0.
Also adds vsync to Windows platform.
Tested on Windows and Linux

This causes a segmentation fault on startup for me on linux, nvidia drivers (520.56.06)
Thread 1 "godot.linuxbsd." received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000555555ff7e2f in GLManager_X11::set_use_vsync(bool) ()
#2  0x0000555555fd6b14 in DisplayServerX11::window_set_vsync_mode(DisplayServer::VSyncMode, int) ()
#3  0x0000555555fe395a in DisplayServerX11::_create_window(DisplayServer::WindowMode, DisplayServer::VSyncMode, unsigned int, Rect2i const&) ()
#4  0x0000555555fec3cc in DisplayServerX11::DisplayServerX11(String const&, DisplayServer::WindowMode, DisplayServer::VSyncMode, unsigned int, Vector2i const*, Vector2i const&, Error&) ()
#5  0x0000555555fed3ff in DisplayServerX11::create_func(String const&, DisplayServer::WindowMode, DisplayServer::VSyncMode, unsigned int, Vector2i const*, Vector2i const&, Error&) ()
#6  0x000055555600e604 in Main::setup2(unsigned long) ()
#7  0x00005555560170f3 in Main::setup(char const*, int, char**, bool) ()
#8  0x0000555555fba40b in main ()

@Lateasusual Can you please test out https://github.com/godotengine/godot/pull/68714 and see if that fixes the issue for you? I am not able to reproduce the crash, but I noticed some suspicious code (or lack thereof) when comparing the vsync code with the 3.x equivalent.


Add IPyRunCell function to execute a cell.

I added wmvanvliet's wmvanvliet's run_cell function, to emulate a cell mode.
The collection of lines is implemented in python which should be faster. Please check if I adjusted the code the right way, as I only tried to emulate your ipy_run function with his code and I actually don't know how neovim plug-ins work.
The cell separators should probably be refactored into a vimscript variable, to be configurable.

I implemented cells vimscript side on master. See the "Cells" section in readme.


Fixed #29576 -- Corrected the test client's HTTP_COOKIE header.

This existing implementation wrongly constructs cookies into:
' sessionid=helloworld; Domain=None; expires=None; Max-Age=None; Path=/'
For the given example, this fix will correct the construction to be:
'sessionid=helloworld'

Could you add a test in test_client or test_client_regress?

Test added in https://github.com/django/django/pull/10212.


Add rultor for continuous integration and fast release

Let's add rultor for continuous integration and for fast release to rubygems, take inspiration from here

Job #35 is now in scope, role is DEV

Bug was reported, see §29: +15 point(s) just awarded to @emilianodellacasa/z

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@emilianodellacasa/z everybody who has role DEV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)


Proposal of channel discussion

Hi, I took the liberty of creating a public chat in the discord facing React-Native. With the intention of uniting the React-native community and improving communication.
I'm creating a channel for public discussions about your project. To avoid flooding "chat" on your github. If you can support the initiative, great! Just share the link below xD
I'm adding RN only projects to this public chat service. And I commit myself to manage chat rooms.
You would just need to observe the chat related to your project.
here's the link
https://discord.gg/RvFM97v
Cheers.

Sounds great, I appreciate the initiative.
I added a small badge on top of the README.md, feel free to send a PR if you have any better ideas.


[v0.3 DeNas]refine CNN and VIT trainer

Conflicts had been resolved. Please help to merge @xuechendi


this may or may not be of use...

...for replacing expandMapping.
https://github.com/tkellen/js-configfiles
If you want to use the code directly here--cool. If you want to consume it as a third party lib, cool. If you don't want to use it at all, that's fine too!

yeah I had that in mind, thanks. I'm a fan of using external libs whenever it makes sense. Do you remember off-hand if there are any feature/API differences?

Backwards compatibility was my aim, but it hasn't been tested in the forge of the Grunt community yet (this is used in grunt-next). I'll add you as an author on the repo and npm.

k, I'm still working through unit tests, and will probably not be doing any major changes here in the near term, but will take a look at configfiles when we get to that point.

:+1:


Problem in library libswiftQuartzCore

I'm trying to use a library that needs the libswiftQuartzCore library. Is there any support forecast for this library?
Thanks,
Homero.

Hey @homerokzam
Just updated all packages to support Xcode 8.1
QuartzCore was introduced in it.
You can find the package in https://www.nuget.org/packages/Xamarin.Swift3.QuartzCore/

Thank you Lucas.


8T batching and compression: reconcile gRPC GitHub Issue feedback with our gist

We've received a reply to https://github.com/grpc/grpc/issues/31497 that explains that enabling the "minimal stack" configuration option will disable gzip compression. We must stop using that option to leverage compression.
We should take this discovery and rework our reproduction gist to confirm that making that change works.

The gist has now been updated so that the standalone tester can be ran with or without compression enabled. Via tcpdump, we were able to confirm that we see consistent bandwidth savings that we can attribute to the compression working as desired. This one's done.


Missing Decorators in Rascal ADT

Fails to capture python Decorators during AST generation

@BlackHart98 thanks for your patience :-) finally fixed.


[zh-cn] updated /access-authn-authz/kubelet-tls-bootstrapping.md

Try to improve this topic:
content/zh-cn/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md

possibly a dup of https://github.com/kubernetes/website/pull/34784 ?

lol, this can be closed.
/close


Status

[ ] Move to @reakit organization.
[x] Change the package name to reakit.
[x] Add a deprecate warning on reas package.
[x] Launch new website.

Branch: reakit

I'm really impressed how this project, which started as something highly experimental, has evolved so much. And this is certainly due to the fact that so many people have believed on it, either collaborating directly or just testing it on their projects.
This project is one of the reasons I quit my job a few months ago. Improving it is my highest priority right now.
I'm opening this issue to tell you guys what I'm planning for Reas in the near future, to say thank you for collaborating on this project, and to invite you to participate in what's to come.
@Thomazella @Andarist @jyash97 @wordofchristian @joao-alberto @Thebigbignooby @BoyWithSilverWings @mgmgpyaesonewin @menor @nathanforce
ReaKit

When I first designed Reas, its only focus was composability. as was the main method responsible for ensuring high composability, and every component was built around it. So, the name of the library was an obvious combination of "React" and "as".
Let me give you a brief example of what I mean by composability. Let's create some styled components:
import { styled, Base, Button as BaseButton } from "reakit";

const Button = styled(BaseButton)`
  text-transform: uppercase;
  font-weight: 600;
`;

const ButtonRounded = styled(Button)`
  border-radius: 1.25em;
  padding: 0 1.375em;
`;

const ButtonPrimary = styled(Button)`
  background-color: #fc4577;
  border: none;
  color: white;
`;

Now, we can render each one separately:
<Button>Button</Button>

<ButtonRounded>Rounded</ButtonRounded>

<ButtonPrimary>Primary</ButtonPrimary>

Finally, we can leverage composability and combine them:
<ButtonPrimary as={ButtonRounded}>Primary + Rounded</ButtonPrimary>

As the project evolved, it became more ambitious. Not only it needed to be composable, but also accessible, and a focus on interactivity was emerging with Containers. It turned out that calling it a "Toolkit" was more appropriate.
And, as you have noticed, I like the obvious:
React + Toolkit = ReaKit

Keeping the tradition of #40, I also don't know how to pronounce it. 😆

Changing the repository name should be seamless. Commit history and everything will be kept. GitHub will automatically redirect diegohaz/reas to diegohaz/reakit and the latter to reakit/reakit.
Migrating to https://www.npmjs.com/package/reakit should be as easy as just replacing all instances of reas to reakit or creating an alias.

Thanks to @brunomacf and @marco-souza from @nosebit for the npm package name.

The new website is being built in the reakit branch and should be done by the next few weeks. Here are some screenshots of it:

The work on master will continue as normal during this time. Nothing will change.
If you like what you read and would like to follow or contribute to this future, join us on https://reakit.slack.com (message me your email address and I'll send you an invite).
Thank you, guys.

🚀💫🎉🎉 Great.

Hey,
The new site looks awesome. Reakit sounds good. Would surely contribute.
Please send me an invite to<EMAIL_ADDRESS>.

Awesome!
I'm glad to participate in this project and anxious to contribute more. 🤘

🚀

Do u plan any API changes (or additions)? Would love to see a draft of what you have in mind.

I would like to contribute as well. This looks interesting

hello! latecomer here. can i get an invite? (alternately, can you move to spectrum because slack sucks)


cannot access the link for downloading dataset

hello, I cannot get access to the link of provided data  to download the dataset. Does this link work well? Thanks!

Our storage is currently under maintenance due to some unexpected errors. We will inform you later when we have finished the process. Sorry for the inconvenience.

ok, thanks!

We have finished the maintenance. The data can be downloaded now.

Thanks for your help!


BeagleSoftware.BeagleEditor version 2024.4

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 896.)

If failed, how can I setup a silent installer in Inno Setup?

If failed, how can I setup a silent installer in Inno Setup?

iirc, it is /SILENT or /VERYSILENT switch


Use wellknown to discover the IS of a custom HS

Kamino cloned this issue to vector-im/riot-ios

Done. Not that the Identity server field is populated, but my stay hidden, depending on the HS configuration

https://github.com/matrix-org/matrix-android-sdk/commit/d65225fe04d361a9b2fed4993d852d37478fa04e
and https://github.com/vector-im/riot-android/commit/78226f46e17f2c0be3beb0f422a050eb572269a6


241 cleanup marketo code

Fix #241
Test URLs:

Before: https://main--cn-website--netcentric.hlx.page/lets-talk
After: https://241-cleanup-marketo-code--cn-website--netcentric.hlx.page/lets-talk

(Not tested in all forms)

great job, thanks a lot for this cleanup!
not really related to your changes but could you add the eslint exception to https://github.com/Netcentric/cn-website/pull/250/files#file-scripts-scripts-js-L219 and fix the typo in the message?


Fix braces in shell strings

This is my attempt to fix #13
foo(){
    echo '}'
}

(recipe [0, 0] - [2, 1]
  (function_definition [0, 0] - [2, 1]
    (identifier [0, 0] - [0, 3])
    (shell_content [1, 4] - [1, 10])
    (shell_content [1, 10] - [1, 12])))

This is not perfect. We'd rather have a single shell_content. But for now this is the best I could do, and it is better than having errors.

I've fixed this to have it retain one node - basically we'll disregard the balancing of braces if we're inside quotes.

Just an FYI - you might benefit from injecting bash inside shell content nodes to get better parse output - on nodes where you detect a ${ anywhere, or any shell content. I would really look into this as injections might save you a huge amount of time with just letting the bash parser parse those bits.
I'll leave out on adding that PR's commit on top of this

Nice improvements on my PR!
What do you call "injecting bash inside shell content node"?
I noticed the python.js looks like a modified version of grammar.js on tree-sitter-python. Are you suggesting to add a bash.js file from the grammar.js file of tree-sitter-bash?

What I mean is using an injections.scm query, I was actually going to do that for here with python, by just injecting python into python content nodes, but it became impossible to just arbitrarily parse python code and know when to stop, so I embedded a mini-python grammar here, which is not something you'll probably see anywhere else (similar concept done with my Cairo grammar though for Cairo 0.x and 1.0 being so different)
You should check out the docs here:
https://tree-sitter.github.io/tree-sitter/syntax-highlighting#language-injection
You can set specific ranges to re-parse using another language, e.g. shell_content nodes using bash. You will then get a mini bash CST inside the bitbake tree, which allows you to leverage a full-blown bash parser instead of adding hacky workaround here!


Implement a compiler or compiler backend

implement a compiler or compiler backend that generates bytecode for this VM. Possibility: Make GCC output Tagha bytecode using a custom GCC Backend but will take alot of effort. Maybe use Clang/LLVM backend to output Tagha bytecode?

alternative, quick build a compiler via flex + bison?

writing down some advice someone gave me considering this.
"You don't embed clang though. You build a backend so you can write binaries for tagha in any llvm language. You write an os kernel for tagha, allowing the compiler to be run in the machine.
A kernel is a program written for the machine that manages the filesystem, peripherals, and programs running on the machine. With a kernel, you can run compiling systems that are entirely contained in the machine.
Otherwise, you use an external machine to compile the binary, then move the binary into the machine to be run as its program."

saving this for later -> https://github.com/lowRISC/riscv-llvm/tree/master/docs


Add Data Structures and Algorithms in A- Arrays file.

Description
Hi, I am Nikhil Raj. I'm a GSSoC participant.
I want to add all the Data Structures and Algorithms related to Arrays in A-Arrays file with proper documentation as the file is empty. I'm really want to contribute in this
Can you please assign it to me?
Domain
CPP
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

Hey @Lakhankumawat . Please assign it to me

@Lakhankumawat kindly have a look

@Lakhankumawat kindly have a look

Yes, I checked. The A-Array folder is empty. There is no Kadane's Algorithm or Dutch National Flag Algorithm in that folder. Even the readme file is empty. I would like to add all those in a structured manner. So can you please assign it to me?

@nikhil25803, pick one algorithm that you wish to implement, and no else has raised an issue and assigned the same.
You can work on one algorithm at a time, so just one issue at a time.
Either mention the algorithm that you will be working on here, or create a new issue with proper description of the algorithm that you wish to implement, along with time complexity and other details.

I want to add Kadane's Algorithm which is used to find the maximum possible sum of a contiguous sub-array. It will be of time complexity O(N), where N is the number of elements in the array.

@nikhil25803 kandes have already been taken up by someone earlier , you need to go with something else


Issue with docker-machine create on npm start

Steps I follow to reproduce the error:

git clone the repo

run npm install

run npm start

here I had a problem where it couldn't find the docker-machine binary in the resources directory
I solved that my manually copying it from my /usr/local/bin

reran npm start to get the error in the attached image

I'm not sure if there is any dependancy on a particular node version, but I have tried this on both 0.10 and 0.12 versions.

Thank for the issue.
It looks like this version of docker-machine is not the same as the one Kitematic downloads on npm install.
Would it be possible to clone the repo, run npm install and paste the output here?

@jeffdm this is what I get is I do a fresh clone then, npm install and npm start

this is all I see in the resources directory

Was able to resolve this by manually doing a wget of the docker machine and naming it to docker-machine-0.1.0-kitematic-0.5.10 as well as doing a chmod +x on it

I tried something a little differrent:

did a clean git clone
ran npm install
checked resources for docker-machine -- no docker-machine binary
ran npm install a second time
checked resources and docker-machine is now present

weird :monkey_face:

Fixed this on master. Sorry about that - the initial npm install would accidentally remove docker-machine after downloading it.


Stable/2.2.x

class PasswordResetView(...), in file django/contrib/auth/views.py has attribute html_email_template_name which is None by default. And there is another attribute email_template_name which is 'registration/password_reset_email.html' by default. I think html_email_template_name should be assigned to 'registration/password_reset_email.html' and email_template_name to 'registration/password_reset_email.txt'. So if you don't override these attributes, there will be always sent text email, even if you have html code in password_reset_email.html

IMO the current behavior is correct. Henceforth please use trac for reporting an issue, PR is not a right place.


install: anchor pkill regex

"kv" is a rather short string; let's make sure it matches exactly.
Possibly fix #60.

I can no longer repro #60 (shrug), but this seems worth doing anyway.

This change is

Superseded by #74.


VSCode not resolving index.js when using custom path aliases

Issue Type: Bug
Situation
I am using the jsconfig.json file to specify custom aliases for my project like so:
{
    "compilerOptions": {
        "target": "es6",
        "baseUrl": ".",
        "module": "commonjs",
        "paths": {
            "$config/*": ["./config/*"],
            "$models/*": ["./src/models/*"],
            "$helpers/*": ["./src/helpers/*"]
        }
    },
    "exclude": ["**/node_modules/*", "build", "coverage"]
}

In app.js, I try to do the following:
const models = require("$models"); // resolved to "src/models/index.js"

const mediaType = new models.MediaType();
// ...

There is a file src/models/index.js which is imported and contains this:
module.exports = {
    MediaType: require("./Mediatype"),
    // ...
};

What happens
Inside the app.js file, the require clause works and vscode understands that it uses an alias as shown on this screenshot:

However, I have no intellisense on the variable models whatsoever. If I do models.<Ctrl+Space> I get a list of non relevant things showing every symbol available in the current file.
Moreover, if I put my cursor on the import and press F12 (Go to) it simply says that no definition is found.

Note: If I explicitly use const models = require("$models/index");, everything works exactly as expected.
What should happen
const models = require("$models");

and
const models = require("$models/index");

should both be equivalent if the former resolves to a directory.
Specs
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:38:57.434Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.74GB (6.05GB free)

Process Argv
C:\Users\Telokis\AppData\Local\Programs\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.3.0

bracket-pair-colorizer
Coe
1.0.59

vscode-eslint
dba
1.5.0

vscode-new-file
dku
4.0.2

es7-react-js-snippets
dsz
1.8.5

gitlens
eam
8.5.6

prettier-vscode
esb
1.6.1

code-runner
for
0.9.4

code-guid
jam
1.0.1

docthis
joe
0.7.1

csharp
ms-
1.15.2

sublime-keybindings
ms-
4.0.0

vscode-icons
rob
7.25.0

partial-diff
ryu
1.3.0

code-settings-sync
Sha
3.0.0

vscode-nginx
sha
0.5.0

quokka-vscode
Wal
1.0.140

@mjbvz Excuse-me for tagging you but is this issue going to be resolved? Thanks!

This issue was moved to Microsoft/TypeScript#27579


New Feature:  Add dark mode functionality

This will enhance the look & feel of the https://eos-icons.com/

@chinmaym07 that would be amazing! I'll assign you to this issue (but if you don't want to work on it please let me know)

Hey @cyntss. I don't think there's active work happening on this issue. This is a big change that I think can only happen in chunks. Would love to discuss it with you.
I think we should start page-by-page and first start with the teams page since that has static data, it'll be the easiest to migrate. What do you think about it?

Hey @cyntss. I don't think there's active work happening on this issue. This is a big change that I think can only happen in chunks. Would love to discuss it with you.
I think we should start page-by-page and first start with the teams page since that has static data, it'll be the easiest to migrate. What do you think about it?

Great idea @sarthakkundra, I agree that it will be much easier to solve this issue in smaller chunks. Do you want me to assign this issue to you?

Yeah sure but I'd like to have a thorough discussion to clarify the requirements before beginning work on this. Is there a periodic call that I can join? If not, can we set one up?

Yeah sure @vinayaksh42 but I'd like to have a thorough discussion to clarify the requirements before beginning work on this. Is there a periodic call that I can join? If not, can we set one up?

Sure, let's schedule a call. Can you dm me on Slack so that we can fix a time for the call?

Can i work on this issue,if it is available


return to previous step

Hello,
i want to return back to previous step when i call other js function..
How i can do this?

I want to return to the same step after reload page ?


SPIKE: store API key as a git deploy environment variable potentially

implemented this ... storing as a git env variable.


Bullet gem config

Let the repo see the bullet 🔫

Review app deployed to https://teaching-vacancies-review-pr-3025.london.cloudapps.digital


Unable to flash Firmware with AIOC

Hello,
First many thanks for this very useful device !
All is working perfectly with my Qaunsheng UV K5-6 : Chirp reading and writing, audio card... except firmware flashing.
I'm using google Chrome to flash with this link (working with official programming cable) :
https://egzumer.github.io/uvtools/
But with AIOC, It does nopt work. The browser return this :

CRC check passed...
Detected firmware version: *EGZUMER 9816c1
Firmware uses 96.33% of available memory (59184/61439 bytes).
Connecting to the serial port...
No data received, is the radio connected and in flash mode? Please try again.

Thanks for working on it if you can and have time for.
David (F4BPP).

I had the same problem with a board I just had made with JLCPCB (running 1.2.0 firmware), using the uvtools website and Brave web browser on Ubuntu Linux (with web serial enabled). It would fail at random times all throughout the download from 2% to 85%, so I swapped to a dedicated cable I had for the baofengs and it was fine.
FWIW, I noticed the blue light came on with the dedicated cable, but not with the AIOC adapter.

Interesting.. I have a few suspects on what the problem could be.. I think I will put out some testing firmware for you to narrow down the problem and fix it for good

I switched course and I have bought a Quansheng UV-K5 myself, so I can debug this much more easily :-) They are so cheap..

Hi Simon,
We have already chatted via email and you asked me to write down my experience with your adapter, so here goes.
I am having the same problems with flashing my Quansheng, both via the browser and the Quansheng flash software that comes with it. The update stops randomly and it looks like there might be a timing issue.
Also, the Adpater seems to reset when I try to PTT via the Quansheng Dock software. However, with the Quansheng Dock the serial link works fine and I can read the memory and send commands to the radio.
Thank you for this great project and all your efforts. I know how much work it is.
Best regards
Patric

Thanks for the report Patric! I just programmed the egzumer firmware to my new Quansheng UV K5-8 using the browser flasher without any issues.. I am running on Linux so I am currently thinking that it must be an OS problem.
Do (all of) you guys use Windows per chance? In order to narrow down the issue, I have attached a few test firmwares that you can try. Let me know if you have success with one of the firmwares. I tried changing a few settings and also increasing serial buffer size.
aioc-fw-1.3.0-rc.1-noserialptt.zip (PTT from RTS/DTR signals is disabled)
aioc-fw-1.3.0-rc.1-rxignptt-none.zip (RX ignore when PTT asserted disabled)
aioc-fw-1.3.0-rc.1-serialbuf.zip (Serial buffer size doubled)

Thank you for your investigations but the initial problem for me was not an interrupted flash but a flash impossible to start because the Chrome browser under Kubuntu 22.04 systematically returns this error:

CRC check passed...
Detected firmware version: *EGZUMER 9816c1
Firmware uses 96.33% of available memory (59184/61439 bytes).
Connecting to the serial port...
No data received, is the radio connected and in flash mode? Please try again.

So should I try one of the three firmware to solve my problem, and if so, which one?

Did you put the radio in firmware flashing mode (PTT key during power up)?
Are you on Windows or Linux?

Of course I  put the radio in firmware flashing mode. I'm flashing my Quansheng with a new firmware every week at this time (the one of F4HWN based on egzumer, updated once a week) . I have no problem with the original flashing cable but only with AIOC. That's not a problem for me since I have both but I would like to talk about AIOC on my website and tell people that they don't have to buy the original cable to flash the quansheng and buy an AIOC instead so they can do all with it.

Can you try the group thing? The AIOC is a CDC device,  which can by default only be accessed by the root user.

Do a ls -la /dev/ttyUSB*' with the AIOC connected, and see what group it is assigned to. If like me it was 'dialout', then check with groupsif your username is in that group also. If not, do asudo usermod -aG dialout your_username` to add your user to the dialout group, and then either logout and login again, or simply restart the computer, to apply the group changes.

I don't think it matters and don't know how to manage that.

Given that I had the same issues, I think it matters a lot. Thanks @pfeerick for the instructions

Do a ls -la /dev/ttyUSB* with the AIOC connected

It should be ls -la /dev/ttyACM* but other than that youre correct! You can also go to the User/Groups Editor of the operating system, select your user and add your user to the group 'dialout'.
If you don't want to, you can alternatively create a udev rule for the AIOC device that allows anyone on the system to use it. Put SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="7388", MODE="0666"  in a file 90-AIOC.rules under directory /etc/udev/rules.d.
See here for more information:
https://askubuntu.com/questions/15570/configure-udev-to-change-permissions-on-usb-hid-device

Finally I got my an AIOC and start testing ...
In am using latest v1.3.0-rc.1
The interface works ok on Q-dock and Chirp. Both on Windows-11.
Now testing Online flash-tool of Egzumer with using Windows-11 and Google Chrome..

But when Flashing is NO Suc6,
I did some retries with increasing Volume. (Had to ReBoot UVK5 every time)

Loading file from url: https://github.com/egzumer/uv-k5-firmware-custom/releases/download/v0.22/egzumer_v0.22.packed.bin
CRC check passed...
Detected firmware version: *EGZUMER v0.22
Firmware uses 98.19% of available memory (60328/61439 bytes).
Connecting to the serial port...
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 3.0%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 7.6%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 3.0%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.

Flashed radio now with CH340 interface and UVtools correctly and than next test ...
Also No suc6 with K5Prog-Win V1.27

Loaded 60346 (0xEBBA) bytes (max 0xF000) from ..
D:\egzumer_v0.22.packed.bin
firmware file de-obfuscated
firmware file version '*EGZUMER v0.22'
'COM4' opened at 38400 Baud
Uploading firmware to the radio ..
listening for firmware update mode packet ..
Bootloader version '2.00.06'
write_flash  offset 0000  len 256
write_flash  offset 0100  len 256
write_flash  offset 0200  len 256
write_flash  offset 0300  len 256
write_flash  offset 0400  len 256
write_flash  offset 0500  len 256
write_flash  offset 0600  len 256
write_flash  offset 0700  len 256
write_flash  offset 0800  len 256
write_flash  offset 0900  len 256
write_flash  offset 0A00  len 256
write_flash  offset 0B00  len 256
write_flash  offset 0C00  len 256
write_flash  offset 0D00  len 256
error: k5_write_flash() [0]
'COM4' closed
'COM4' opened at 38400 Baud

Yeah, can you try the firmware aioc-fw-1.3.0-rc.1-serialbuf.zip from above?

As you can see above... I works a litte bit and than fault.
So I decided to test aioc-fw-1.3.0-rc.1-serialbuf.zip (Serial buffer size doubled)
As the AIOC is already programmed, I do not need the wire and can use the command ...
dfu-util -d 1209:7388 -a 0 -s 0x08000000:leave -D aioc-fw-1.3.0-rc.1-serialbuf.bin
I got an error

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device...
Device ID 1209:7388
Run-Time device DFU version 0101
Claiming USB DFU (Run-Time) Interface...
Cannot claim interface 6: LIBUSB_ERROR_NOT_SUPPORTED

Here  I found the tip, to use ZADIG  again and install Libusb-WinUSB

And now Programming without the Wire works with command
dfu-util -d 1209:7388 -a 0 -s 0x08000000:leave -D aioc-fw-1.3.0-rc.1-serialbuf.bin

dfu-util 0.11
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device...
Device ID 1209:7388
Run-Time device DFU version 0101
Claiming USB DFU (Run-Time) Interface...
Setting Alternate Interface zero...
Determining device status...
DFU state(0) = appIDLE, status(0) = No error condition is present
Device really in Run-Time Mode, send DFU detach request...
Device will detach and reattach...
Opening DFU USB Device...
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(10) = dfuERROR, status(10) = Device's firmware is corrupt. It cannot return to run-time (non-DFU) operations
Clearing status
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Downloading element to address = 0x08000000, size = 128000
Erase           [=========================] 100%       128000 bytes
Erase    done.
Download        [=========================] 100%       128000 bytes
Download done.
File downloaded successfully
Submitting leave request...
Transitioning to dfuMANIFEST state

So now I can test loading firmware agaian....
My findings .... Indeed now it works BUT only with little volume
Just switch on radio and do not use more volume than 9 o'clock
Than is works fine.
Here my logging:

Loading file from url: https://github.com/egzumer/uv-k5-firmware-custom/releases/download/v0.22/egzumer_v0.22.packed.bin
CRC check passed...
Detected firmware version: *EGZUMER v0.22
Firmware uses 98.19% of available memory (60328/61439 bytes).
Connecting to the serial port...
Failed to connect to the serial port.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 100%
Successfully flashed firmware.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 100%
Successfully flashed firmware.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 100%
Successfully flashed firmware.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 21.6%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 13.2%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 31.4%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 100%
Successfully flashed firmware.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 100%
Successfully flashed firmware.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 1.3%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 66.2%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 4.2%
Flash command rejected. Aborting.
No data received, is the radio connected and in flash mode? Please try again.
Connecting to the serial port...
Radio in flash mode detected.
Bootloader version: 2.00.06
Version check passed.
Flashing firmware...
Flashing... 100%
Successfully flashed firmware

So bigger buffer works, but programming is very sensitive to volume of radio

Thanks a lot for the detailed testing! Yeah, windows is very picky with the DFU util stuff. For some people it just works, others have to use weird tricks. I don't know why it's all over the place. Unless someone can tell me a specific problem, I am leaving it as is, because there is not much that is more painful than debugging Windows issues and also because I don't have any Windows machine anymore at home.
The volume thing is odd. Can you or anyone confirm that this is only a problem with the AIOC and not with an official cable? What if you have the volume at minimum?

v1.3.0-rc.2 now has the doubled buffer size fix included.
https://github.com/skuep/AIOC/releases/tag/v1.3.0-rc.2
I will close this issue for now, just reopen if you need more help.


Firewalls: update submission of IP addresses

A change made in the API means that an empty address list is not accepted. Therefore if there are no ipv6 addresses for example, we don't include the ipv6 field at all.
I also made ports optional since that was changed in the API as well.
To test, use the dev API and check FW rule submission/editing thoroughly.

@Jskobos good catch. Addresses are now required, so I pushed up that change.

@Jskobos good catch. Addresses are now required, so I pushed up that change.


question: usage of @angular/dev-infra-private

This might be an unusual question; Is it alright to use the @angular/dev-infra-private package?
I am aware of the "INTERNAL USE ONLY" notice, which is why I'm asking via this issue.
Is the "INTERNAL USE ONLY" declared, because usage might tax the build infrastructure of the Angular dev environment or is it more along the lines of "You're on your own"?
The reason for this question is the bazelbuild/rules_webtesting hasn't created a release since september 2019 and we're starting to run into potential problems.

I believe that it's more of a "You're on your own situation" since we don't consider it a public package and we'll make changes to it based on the requirements of our projects.

Thank you for the reply.
Since our project is heavily inspired by the angular/components setup, we will test if this would be an improvement to our current situation. We do not expect any support and will contribute any improvement/fix back to angular/components, as we have previously done (although they were/might be small).


Using username in a TLS context is inappropriate

Describe your issue or feature request
Today, authentication is mainly based upon username (at least for MQTT). Ok, fine.
In TLS context you don't need username since you have the certificate to authenticate the device.
Then, AFAIK, MQTT is made for connecting millions of objects.
How can you imagine managing millions of usernames like that?
You'll have 3 databases to manage: the usernames' one, the clientIDs' one and the certificates' one (serial number) which is managed by the CA.
10k objects => 30k items to manage! Insane, isn't it?
Describe the solution you'd like
That's not at all the way it should work, above all in a TLS context where certificate is used AS the main authenticator.
In MQTT, at least, the id used for managing client is the ... clientID. That the ID used for managing client sessions.
And, as you may know, you can perfectly separate queues through ACLs using %c in order for one client to not be able to see other client's queues.
In a TLS context, be able to extract the clientID from the certificate as it's possible to do it with username.
Thus,
CN (for example) => clientID
and SAN (email, DNS, whatever) => username..
This way, it's then possible to separate queues using the /%c/ pattern.
No need to manage thousands of usernames, clientIDs are dynamically managed by the Server and we only have to manage serial numbers through the CA. Only one database and every one is happy.
Authentication can still occur against the username but this one can be unique for a pool of hundreds of devices.
Describe alternatives you've considered
Can't see other since managing thousands of usernames is insane if there is an alternative to separate queues.
Environment

VerneMQ Version:
OS:
Erlang/OTP version (if building from source):
Cluster size/standalone:

Add any other context, code samples or screenshots about the issue report here.
No response
Code of Conduct

[X] I agree to follow the VerneMQ's Code of Conduct

@dblas thanks, labeling this a feature request to extract ClientID from ClientCert Common Name (instead of Username, but it'd be a global once set)

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

Thank to you but not INSTEAD, at the same time!
My request is NOT to replace username by clientID but to offer another proposal to those, like me, who want to use clientID instead of or in addition to username.
db

@dblas : I can understand the need, and it would also be an easy enhancement (implementation-wise, non-proxy case). There are some things to consider:

The client id is not optional according to spec. So what should be done if there is a client_id?
Proxy protocol needs to be checked what is there and what is not
We would need some new config e.g. instead of

listener.ssl.use_identity_as_username
we could have something like
listener.ssl.cert_username_as = [mqtt, cn, san] listener.ssl.cert_client_id_as = [mqtt, cn, san]
or similar. I'd be willing to implement that if you would come up with a nice proposal (which is approved by @ioolkos) on how the  configuration would look like and how to handle edge cases.


Can't seem to compress gltf files using the gltf-pipeline tool

Hello,
I have tried to compress my sample gltf files using the gltf-pipeline tool. I tried various flags but usually got the empty results like shown below.
Could someone please tell me what's the right flags to use for compression purpose ?
Here is what I typed:
gltf-pipeline -c -i scene.gltf -o output.gltf --stats
Results:
Statistics for scene.gltf
Total size of all buffers: 4724320 bytes
Images: 35
Draw calls: 38
Rendered primitives (e.g., triangles): 70008
Nodes: 42
Meshes: 38
Materials: 35
Animations: 0
External requests (not data uris): 36
Statistics for scene-optimized.gltf
Total size of all buffers: 0 bytes
Images: 0
Draw calls: 0
Rendered primitives (e.g., triangles): 0
Nodes: 1
Meshes: 0
Materials: 0
Animations: 0
External requests (not data uris): 0
optimize: 2652.645ms
There is a only a single gltf file under the output dir. It contains pretty much 0 attributes - this is not correct.

It seems like you might be running a glTF 2.0 model through either the npm package or the master branch here, which is still using glTF 1.0.
Make sure to checkout the 2.0 branch and then run:
node bin/gltf-pipeline.js -i model.gltf -d --stats
This will apply Draco compression to your model.


Update specs2-core, specs2-scalacheck to 4.20.2

About this PR
📦 Updates

org.specs2:specs2-core
org.specs2:specs2-scalacheck

from 4.19.2 to 4.20.2
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.specs2" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, version-scheme:semver-spec, commit-count:1

Superseded by #559.


Monitoring with Prometheus and Grafana

The guide for installing prometheus and grafana has to be updated to the latest helm 3.0 version.

Hello, the workshop now uses Helm V3.
Thank you for the feedback


Objective listbox shows different format than Objectives.txt

This is listbox shows objectives, but they're formatted with four digits for each level.
The Objectives.txt file shows them with only two digits.
So in this case list box shows M1601 but the objective file only lists them as M16
The result is the list box does not highlight the listed object as expected.

This screenshot is from HAB_ShoppingCentre M16 script_storymission.
I'm not sure if this is global or only showing like this for this file.

On further exploration this issue seems only limited to this list box called "additional_information".

Note to self: I should be using the LEVEL_TEXT_DATABASE file to populate these sorts of things, as that's what is available in-game


Update glob string to find all python files

The current glob string doesn't find all of the required files to put in the python wheel.

/merge


Add duckdb delta lake support

Now that duckdb has delta make support available thru functions, it would be good to add support for this to TidierDB.
Unsure of this should go into copy_to or elsewhere.
Also need to find a delta_lake file to test with

Unfortunately, until Julia has duckdb and 1.0 this won't be possible to add. Currently duckdb is v.10.4


Get rid of LS Adapter for Nitrogen Messaging

As @felixrieseberg mentioned, we should refactor nitrogen to work on messaging from the vehicle model instead of having it sit in auxiliary code which doesn't really fit well.
This will also make things simpler by just having 1 adapter for the rest api, instead of maintaining 2, one for local storage and the other for the rest api.

Awaiting @timfpark for comment.

I'm actually quite happy with the current implementation - given that devices will now come from Nitrogen, we can keep it around.


Fixed misspelled name: Miran Lipovaca => Miran Lipovača

What does this PR do?
The author of Learn you a Haskell for great good was misspelled.
Checklist:

[x] Read our contributing guidelines.
[x] Used an informative name for this pull request.

Thanks, and welcome to free-programming-books!