Set up declarative backups

Set up backups via syncthing and duplicati
Resolve #72

Currently vultr's broken but I think this is because of some stateful configuration. I think it's cool to merge

Currently vultr's broken but I think this is because of some stateful configuration. I think it's cool to merge

Resolve #55 as well
Notable that duplicati is /not/ declarative; i have to set the passwords for backblaze myself.
in the future, use duplicity and configure them in a config file

Resolve #55 as well
Notable that duplicati is /not/ declarative; i have to set the passwords for backblaze myself.
in the future, use duplicity and configure them in a config file


Can VPLM Arrange the Items Evenly on the Screen?

Can VPLM automatically arrange the lists items on screen so that they look asymmetrical and not biased. To put it simply, for example, I have three items, then VPLM should scroll to item 1 (second item) and not item 0 (1st item). If I have only one item, then the item should be centered by default, and so on.
I want this:
! [Desired ]
(https://ibb.co/n5AqsG)
But, I see this:
! [Bad]
(https://ibb.co/hXVemb)

You can use RecyclerView's scrollToPosition or SmoothScrollToPosition to scroll to position 1 at the first beginning. And if there is less than 3 items, you do not scroll it.


Suggestion: Automatically switch in last Pokemon when only one is left.

As there is no choice to decide on for the player, automatically switching in the last Pokemon would slightly speed up battles.

We don't even automatically attack when you're locked into a single move. This seems unnecessary.
The reasoning is something along the lines of: It's generally better if controls are consistent.
A lot of clicking in games is just busywork that could easily be automated away by computers (in StarCraft that's called "macro"!) We don't partially because some people think it's fun, and mostly because it's easier to play a game in which the rules are consistent "you have to click to switch in" rather than context-sensitive "you have to click only if it's not your last pokemon".

To be fair, PTCGO does automatically do things when there's no choice to make, so that is a valid option when designing a game. But that's a game with waaaay more clicking per turn so the tradeoff is different.


box: Implement link sharing

Please not that I'm on vacation right now. I will address the points in the review but it might take a few days.

Please not that I'm on vacation right now. I will address the points in the review but it might take a few days.

No worries - happy vacation!

I'm pretty sure this has been done for a while unless there's something else you want me to change.

Hey that looks great thank you!
I'll merge it now :-)

How difficult is it to access the raw data URL instead of the box preview page? I'd like to share a link to a file without going through the Box preview.

How difficult is it to access the raw data URL instead of the box preview page? I'd like to share a link to a file without going through the Box preview.

What we provide is the shared link.  I had a quick look through the docs to see if there was something better but I couldn't see one - can you?


Adding university

I am adding my university to the domains list. I appreciate if you prefer to merge.Thank you!

Thank you!

@NodirDeveloper First stage of verification passed, official domain is itpu.uz as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@NodirDeveloper Pull request merged. Thank you.


add this option "-IgnoreCustomHostNames" in the document to avoid unexpected problem

Due to known issue:
https://supportability.visualstudio.com/AzureAppService/_wiki/wikis/AzureAppService/359628/Clone-App?anchor=known-issues
It's better add this option "-IgnoreCustomHostNames" in the document to avoid unexpected problem.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: daf14087-1765-4636-805c-6faec03d8a9b
Version Independent ID: 4a6b910d-403e-997a-b010-0942e8ef624c
Content: Clone app with PowerShell - Azure App Service
Content Source: articles/app-service/app-service-web-app-cloning.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@rachelxj-ms Thanks for the feedback! We are currently investigating and will update you shortly.

@rachelxj-ms Thank you for bringing this to our attention. We have added a note highlighting this. The change should be public within 24 hours.


Document process.platform check in example

This was strange to me when I was first learning Electron, and I assumed it was a cross-platform quirk needed for everything to shut down correctly.
In fact, it is more of a usability thing, and dependent on the app. For example, Chrome and iTunes stay active in the background even if you close all windows. On the other hand, iPhoto, System Preferences, and several other apps quit when all windows are closed, since they have nothing left to do.
Hopefully this comment will shed a bit more light on the matter.

Looks good to me, thanks!


Update Travis CI/CD to use stages

Our build process is too much long and reaches travis timeout.

Build process seems to be correct. Closing the issue


Duplicate label names are possible in different cases

Its possible to add multiple labels with the similar names by changing the case of characters.
For e.g. 'my label 1' and 'My label 1' are possible.
Expectation: Label duplicacy check must be case insensitive.

Tracking via https://openshift.io/openshiftio/openshiftio/plan/detail/1538


bazel_to_go: do not overwrite the files if the generated ones are same

What this PR does / why we need it:
Currently bazel_to_go.py overwrites the generated files, but that could be problematic, sometimes the generated files have meaningless differences, like the name of the source files. With this PR, bazel_to_go.py checks their contents and makes the copy only when there's changes, and it explicitly exclude the contents for source files.
With this PR, I think now presubmit should always invoke bazel_to_go and then check if there are meaningful changes on the generated files -- presubmit should fail in such case; that would be done by another PR.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): updates #1515
Special notes for your reviewer:
Release note:

none

@mandarjog, please try this on your environment -- I actually haven't set up the environment of different source paths yet.

/retest

@jmuk there is always changes in the FileDescriptorProto, so just checking the proto.RegisterFile is not enough.
I have verified that this is indeed the case.

😢 it's harder to ignore the part of descriptor bytes in the go file with this scheme let me think.

@mandarjog
added a few more patterns, I think this captures your points. Please take another look.

I'm confused - which files are the problem ? The .pb.go files have relative paths, simply cp from baze-genfiles is enough and git will not find changes.

ask @mandarjog for the details; I've heard that some path relatives can be different on some platform (like starting from bazel-genfiles or including local-fastbuild or not, etc). I haven't seen this on my environment though.

@jmuk: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
906a40ec46dc28ba81975f4f4758f13d394268c9
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jmuk: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
906a40ec46dc28ba81975f4f4758f13d394268c9
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
906a40ec46dc28ba81975f4f4758f13d394268c9
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm
@jmuk it works on a Mac now. Thanks.

/test e2e-suite-rbac-auth e2e-suite-rbac-no_auth


Visual Studio Code can't find itself

Report Issue to prefill these. -->

VSCode Version: 1.35.1
OS Version: Microsoft Windows10PRO v1803 compilation17134.706 (vsCode description said: "Windows_NT x64")
Electron: 3.1.8
Node.JS: 10.2.0

Steps to Reproduce:

Generate vsCode extension using Yeoman.
Open extension.js file.
Open "debugging" (the crossed bug icon) menu.
Make sure to BOTH check "All Exceptions" and "Uncaught Exceptions" under "Breakpoints" submenu.
Start debugging by pressing the "play" button on top of the "debugging" menu.
Wait until it crashes, saying, it can't find itself (i. e. Cannot find module 'vscode').

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

This may sound foolish, but my vsCode can't find itself.
Backend story

I was in the middle (actually closer to start) of creating a vsCode extension for Minecraft Bedrock scripting API since there are many for the .mcfunction language, but none of those supports the Bedrock Scripting API. And probably many of you have reached the point when you notice, that there is WAY too much code in extension.js and decide to split it between a few files. And I decided to do the same.

Node.JS problems

But when I created 3 files with copied parts of extenstion.js (including functions' definitions to provide a point of reference) and tried to refer to them by using include('./src/fileName.js').functionName(argument, or, more, arguments); , my JS lint, said Property 'functionName' does not exist on type 'typeof import("c:/location/repoName/extension-id/extensionName/src/fileName")'.ts(2339). And then I started debugging session, to see what's going on. I don't remember the stack trace and I can't get it anymore (I'll later explain why), but I can tell, it (of course) didn't help me. So after about an hour, I figured out, I need to add module.exports = {functionName} on the bottom of every file (I guess, I should Google it before doing everything, not when I run out of ideas). So I did it. And JS lint errors disappeared.

Unexcepted error

But then, I decided to debug and check for errors not detected by JS lint. And there was one error. But the one I personally least excepted. I honestly didn't except such thing at all. My vsCode said, that it can't find itself. Really, I'm not kidding. Debugger threw: Error: Cannot find module 'vscode'. Also, after enabling "All Exceptions" and "Uncaught Exceptions" under "Breakpoints" submenu on "Debugging" screen (here you can also see, why did I mention it on "Steps to reproduce"), I can see this:

and after continuing, I see this:

The stack trace in text form:

Debugger listening on ws://<IP_ADDRESS>:12102/19fe94d7-32a0-4e96-9bee-8422257097ea
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'vscode'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (c:\path\to\extension.js:1:78)
    at Module._compile (internal/modules/cjs/loader.js:686:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Waiting for the debugger to disconnect...
Error: Cannot find module 'vscode'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (c:\path\to\extension.js:1:78)
    at Module._compile (internal/modules/cjs/loader.js:686:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
After trying to do anything (completely wiping content of "activate()", removing module.exports = {functionName} to get another error (I mentioned it before), creating new extension - but I'll mention it in a minute, disabling all extensions by typing code --some-parameters-i-will-check-later in command prompt, e. t. c),  I couldn't get rid out of this error (and here you can see, why I said:

I don't remember the stack trace and I can't get it anymore.

No matter, what I do, I ALWAYS get Cannot find module 'vscode' error).
NOTHING can help

Then, I decided to start a new extension via Yeoman and manually copy-paste my changes. But before even opening any file, I decided to launch and check, did it fix anything, but my vscode said '${file}' cannot be resolved. Please open an editor.. So I launched extension.js and tried again. But nope, creating new extension also did not help. No other option left. I honestly have no idea what to do. I guess, I bricked extension development on my vscode and I can only reinstall it. Anyway, you can now see, why I said

Generate vsCode extension using Yeoman.

on "Steps to reproduce" (because newly generated extensions also have the same problem),

Open extension.js file.

on "Steps to reproduce", too (because otherwise, you'll see '${file}' cannot be resolved. Please open an editor.) and

After trying to do anything ([...] creating new extension - but I'll mention it in a minute, [...]),  I couldn't get rid out of this error

on "Unexpected error" (because I just mentioned it).

Anyway, I hope I helped you to find and fix problems with vscode by submitting this short issue. I tried to cover everything on "steps to reproduce" to make everything clear for you (I can see, that I didn't mention point 3 and 5, but I guess it's logic, you need to open "debugging" menu to configure debugger settings and start debugging [nr. 3] and you need to start it, to see what's going on [nr. 5]). I guess I'll need to reinstall vscode to un-brick extensions development. Or maybe, I'll just need to wait 1 or 2 days until someone more experienced will help me by giving probably the most logical explanation possible. Or I just helped you find an important problem with your IDE and very soon we'll all see an important update, that will fix it. I don't know, but I hope you enjoyed. See you later. (Hopefully with the solution.) Bye!

VSCodeBot is broken...
There was (almost) about "new release"...

Did you run npm install in the extension directory?

Well, I don't know, what Yeoman generator was installing there, but after setting up everything, it said

I'm all done. Running npm install for you.

Also, as I said

I was in THE MIDDLE of developing my extension

so I was rather debugging it earlier, right? As I said, this happened actually suddenly, after my problem with module.exports.

Make sure to BOTH check "All Exceptions" and "Uncaught Exceptions" under "Breakpoints" submenu.

Why do you need to do that? VS Code would attempt to load various modules upfront, and errors are handled.
I suggest putting a breakpoint in activate function. Once it's hit, you can turn on All Exceptions.

Ok, I'll try doing that.

Actually, not even try, since it simple. I should say

OK, I'll do that.
Just wait a second.

So happened EXACTLY, what I excepted - it didn't even reach this error:

I think, now you know, why I said

Make sure to BOTH check "All Exceptions" and "Uncaught Exceptions" under "Breakpoints" submenu.

Because if you don't do that, it will crash before entering activate. Look at an error log:

Error: Cannot find module 'vscode'.

It can't find module 'vscode'. So the problem is with the require() function because this it place where all modules are coming from. However, I'm not sure why I said "BOTH" since "All Exceptions" overrides "Uncaught Exceptions" mode, so if you check only the second one, you'll get exactly same error anyway, as long as you don't catch it (which is impossible, because you can't modify loader.js, which is place, where the error is thrown). Also, if you put a breakpoint (as you suggested), but not in activate - on const vscode = require('vscode'); line, then you'll actually prevent this error from appearing...

...as long as you don't hit "continue":

And I'm just curious: why isn't it labeled as a "bug", since it is? While I know, why you added "needs more info", I'm not sure, why "bug" isn't added.

This is wrong. You need to copy over the .vscode folder as well. It contains a launch.json, which is needed for debugging your app.
See here for an illustration. Notice it has "Run Extension" whereas you have "No configuration".
https://code.visualstudio.com/api/get-started/your-first-extension#debugging-the-extension
You can also copy from this sample: https://github.com/microsoft/vscode-extension-samples/blob/master/helloworld-sample/.vscode/launch.json

Thank you so much! Just please please, don't close it yet. I'll check this later, since now I'm busy. And then I'll give there result and eventually close.

It's WORKING!!!!

However!

OK, it turns out, I'm simply dumb. Now I remember, that I removed that file because I thought it was autogenerated after I clicked "open launch.json" instead of "Cancel" button when I was on a different file than the extension.js script. So I removed it. And it stopped working. And then I generated a new extension. And there was no active editor, so after starting debugging, it showed "open editor" message box again. And I clicked

"open launch.json" instead of "Cancel" button,

because I thought it was autogenerated

So I removed it.

So... Now I guess the only remaining problem is debugger not showing (

) due to this error message:  on "preLaunchTask": "npm: watch" piece of code.
Yay!

###Well...
#Good news!!!
I decided to check out, what does the "configure tasks" button does, cause I was sure, that the solution is simple and hidden under it. And it was. Thanks to this (look at what is my mouse focused): . Sweet! So there is another .json file, which I'll need to copy from https://github.com/microsoft/vscode-extension-samples/blob/master/helloworld-sample/.vscode/! Niiiiice!
...oh. Wait. It does NOT work. Check this out (look on left, bottom corner): . After clicking "Cancel" to hide this evil message of doom, and clicking "Show output" to... well... see the output, I see this: , which look like this:
Error: The npm task detection didn't contribute a task for the following configuration:
{
    "type": "npm",
    "script": "watch",
    "problemMatcher": "$tsc-watch",
    "isBackground": true,
    "presentation": {
        "reveal": "never"
    },
    "group": {
        "kind": "build",
        "isDefault": true
    }
}
The task will be ignored.
in text form.

UPDATE!!!! VScode in DEV mode starts, but I just noticed, that my extension is not detected.

I just noticed, that my extension is not detected.

Before starting everything from scratch, can you read through the beginner sections? You need to run the "Hello World" command in the newly opened window to activate it.

https://code.visualstudio.com/api/get-started/your-first-extension (this page even has a video of it)
https://code.visualstudio.com/api/get-started/extension-anatomy

"preLaunchTask": "npm: watch"

That corresponds to this line: https://github.com/microsoft/vscode-extension-samples/blob/master/helloworld-sample/package.json#L30

Btw I closed because my last reply should answer all your questions. Feel free to reopen if that's not the case.

Hell yeah!!!
OK. I was idle for a while, but now I decided to check one thing. At this point, I need to reveal you my repo link. It's github.com/GuzioMg/McIDE.js. But why I did it? Well, if you open up that repo, you're not going to see vscode extension folder structure. You're going to see the mcide-4jsapi folder instead. Why? Because I generated my extension there. And  mcide-4jsapi is my extension ID. The 4jsapi stands there, to inform that this is 4 ([OR:] for) the JS (Bedrock Scripting) API, to avoid mistaking my extension with mcide, which is targeted to .mcfunction (a.k.a. Minecode) language instead. And inside that folder, there is another one, called mcide. It was autogenerated by Yeoman because I typed "McIDE.js" and .js was cut and the entire phase was lowercased. Not sure why, though. Anyway, if you open that folder, you're going to see the normal structure of VSC extension. INCLUDING .vscode folder. And node-modules. And everything else required for this extension to work

Booting-up "McIDE.js"...
Registring commands...
Registring command [1/3] - "Sync MC events in this file" (ID: "extension.syncmceventregistry")...
Registred  command [1/3] - "Sync MC events in this file" (ID: "extension.syncmceventregistry").
Registering command [2/3] - "Autogenerate new MC event code here" (ID: "extension.createminecrafteventcode")...
Registered  command [2/3] - "Autogenerate new MC event code here" (ID: "extension.createminecrafteventcode").
Registering command [3/3] - "McIDE.js" (ID: "extension.mcide-4jsapi")...
Registered  command [3/3] - "McIDE.js" (ID: "extension.mcide-4jsapi").
Registered commands. 0 errors caught. Initialization took 0 ms.
"McIDE.js" fully loaded successfully! 0 errors caught. Initialization took 0 ms.

SO, everything I can say you, @octref, is simple "Thank you!".

It turns out, I'm simply dumb.

EVERYTHING, I should do was simply open VSC workspace on another folder. I'm not sure, why I say "thank you" since (after years of trying) I figured it out myself. But thank you for your attention. And time. And totally 20 comments on this issue, which it took us to figure it out. I guess, now you can remove the "*question" label since this wasn't question. It was my mistake. This comment is actually a filler, just to reach 20 comments because I could say "Thak you" on the previous one. But I did not.
Thank you!
Hopefully, see you soon. And hopefully not on another issue, but during verifying McIDE.js (if extensions are verified).
Goodbye!!!!!
-Guzio

Booting-up "McIDE.js"...
Registring commands...
Registring command [1/3] - "Sync MC events in this file" (ID: "extension.syncmceventregistry")...
Registred  command [1/3] - "Sync MC events in this file" (ID: "extension.syncmceventregistry").
Registering command [2/3] - "Autogenerate new MC event code here" (ID: "extension.createminecrafteventcode")...
Registered  command [2/3] - "Autogenerate new MC event code here" (ID: "extension.createminecrafteventcode").
Registering command [3/3] - "McIDE.js" (ID: "extension.mcide-4jsapi")...
Registered  command [3/3] - "McIDE.js" (ID: "extension.mcide-4jsapi").
Registered commands. 0 errors caught. Initialization took 0 ms.
"McIDE.js" fully loaded successfully! 0 errors caught. Initialization took 0 ms. Or 10 days. If you consider date of issue creation.


two new notebooks: get_devices and qubit allocation

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I made suggestions for many strings of text, to bring them into better alignment with AWS style. I had just a few questions in some comments. This looks very good overall!

Thank you! I have made all the changes, except for the one remains unresolved, as I need to wait for Cody to confirm. I made a new commit with the updated notebooks.

I made suggestions for many strings of text, to bring them into better alignment with AWS style. I had just a few questions in some comments. This looks very good overall!

Thank you! I have made all the changes, except for the one remains unresolved, as I need to wait for Cody to confirm. I made a new commit with the updated notebooks.

I made another commit for the last comment.


Add MS Office font sets

Incluing the fonts installed by MS Office (and maybe other common software?) would be very useful:

The fonts loaded & installed by MS Office contribute a large component of the "system fonts" for many Windows users, particularly for Latin script.  Compare Office 2010 fonts with Windows 8 system fonts.

MS Office is quite common on Windows systems, so many (if not most) Windows users will have these fonts.

Many users, including designers, might not realize that they aren't part of the core operating system.  We didn't install the font, so we just assume it came with the OS.  Then we can't figure out why it isn't listed on your site (e.g., issue #43 on Gill Sans MT), and we don't realize that some users on the same OS won't have it.

Since the font list is available from the same Microsoft site you're already scraping (https://www.microsoft.com/typography/fonts/), I hope that getting the data wouldn't be too much extra work.
Displaying it, however, is a little more complicated.  The current streamlined display assumes, fairly enough, that every user is on one and only one operating system.  Add in fonts loaded by software, and it gets messy.   You'd need some sort of nested list structure to factor in the different OS + software combinations.
PS. Glad you're working on this service & keeping it up to date!  Most references on web-safe CSS font stacks are starting to get dated...

oh, good idea! I agree on all 3 bullet points there.
Just speaking logistically getting the font lists probably won’t be difficult but I use Browserstack for these font support tests so it will be a little tricky to get access to a stock Windows machine with Office installed.
For display purposes I imagine I’d add another support level, a la:

Maybe something like “Installed with…”
Anyway a hearty 👍  from me


Autoformat support

I currently have a tip about autoformatting in the readme, but would be nicer to bundle it in the plugin somehow.
Anyone know how I could do that?
// @gautaz @arthurvr

Perhaps the best way would be to make a PR to vim-autoformat to add xo as a default formatter.
AFAIK defaults.vim and the README.md have to be modified.
As an example, this as been done previously for standard in this commit.
Doing the whole autoformatting process directly in vim-xo would basically mean implementing again what is done in vim-autoformat in a simpler manner.
But as vim-xo uses syntastic for syntax checking, I guess this is kinda binding the syntax checker to the autoformatter which is not always what vim people want (I use for instance neomake under neovim for syntax checking).
Hope this helps...

I've just read again my previous comment and my last sentence is misleading. Instead of "binding the syntax checker to the auto-formatter", I should have said "binding the plugins in charge of launching both syntax checker and auto-formatter".

@gautaz Thanks for the tip. I did a PR on vim-autoformat: https://github.com/Chiel92/vim-autoformat/pull/160

Cool ! You're welcome.


Update integration-test.py

Summary of the Pull Request
Update integration-test.py

Codecov Report

Merging #3592 (04a25ec) into main (8224382) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3592   +/-   ##
=======================================
  Coverage   28.84%   28.85%
=======================================
  Files         136      136
  Lines       14758    14758
  Branches     1721     1721
=======================================
+ Hits         4257     4258    +1
  Misses      10181    10181
+ Partials      320      319    -1

see 1 file with indirect coverage changes


Lastest Block launcher crashes while openine

Hi everyone. When I open block launcher after the 16.0 update, it simply crashes while being opened. I reinstalled it several times, but still the same issue. I am on a Samsung device. Help meeeeee plzzzzzz!!!!

First: Blocklauncher is the equiv. of what Minecraft Forge is for Java-based Minecraft.
When MC:PE updates, BL must also update to work with the version or it will not work.
Yet, if BL eventually gets to the title screen after a few tries, it is possibly a bad mod, BL add-on... or MC:PE add-on.

У меня когда я допускаю блок ваучер у меня стоит НО английский


Port LibGuide materials

This is the meta-issue to track porting over the materials from LibGuide: https://libguides.vu.nl/rdm

[x] #64
[x] #65
[x] #66
[x] #67
[x] #68
[x] #69
[x] #70
[x] #71

Porting these over is about getting them in Markdown format and in the order. This is not about editing, updating, or otherwise processing them.

The port is completed per 292592d - refinement and revisions will need to happen in the future.


Increase in type mismatches on webrender and diesel

These went yesterday from 16 and 84 to 23 and 116, presumably because of a change in 1.59.

Repro for the webrender errors:
fn foo() -> i32 {
    unreachable!();
 // ^ Expected i32, got ()
}

This is because the definition of unreachable! changed from:
#[macro_export]
#[stable(feature = "rust1", since = "1.0.0")]
macro_rules! unreachable {
    () => ({
        $crate::panic!("internal error: entered unreachable code")
    });
    ($msg:expr $(,)?) => ({
        $crate::unreachable!("{}", $msg)
    });
    ($fmt:expr, $($arg:tt)*) => ({
        $crate::panic!($crate::concat!("internal error: entered unreachable code: ", $fmt), $($arg)*)
    });
}

to:
#[cfg(not(bootstrap))]
#[macro_export]
#[rustc_builtin_macro(unreachable)]
#[allow_internal_unstable(edition_panic)]
#[stable(feature = "rust1", since = "1.0.0")]
#[cfg_attr(not(test), rustc_diagnostic_item = "unreachable_macro")]
macro_rules! unreachable {
    // Expands to either `$crate::panic::unreachable_2015` or `$crate::panic::unreachable_2021`
    // depending on the edition of the caller.
    ($($arg:tt)*) => {
        /* compiler built-in */
    };
}


[QUERY] - Sample to use spring.cloud.azure.keyvault.secret.property-sources[0].secret-keys

Query/Question
I'm using Spring Boot 3.3.2 with Azure KeyVault and I've noticed that when I only want to specify certain secrets using:
spring.cloud.azure.keyvault.secret.property-sources[0].secret-keys=secret1,secret2 that no secrets are loaded. If I remove the line completely the application will have access to the secret.
What's the correct way to use secret-keys to limit the amount of secrets?
Why is this not a Bug or a feature Request?
Not a bug because I'm not sure what's the correct syntax.
Information Checklist

[ x] Query Added
[ ] Setup information Added

@andre-uoft, how does the secret keys look like? Are they equal to secret names you store in the Key Vault?

@saragluna Yes, they are exactly the same names stored in Key Vault. One example name is: non-prod-mongo-uri.

@andre-uoft which version are you using?

@saragluna These are the dependencies being used:

Spring Boot 3.3.2

	implementation "com.azure.spring:spring-cloud-azure-dependencies:5.14.0"
	implementation "com.azure.spring:spring-cloud-azure-starter-keyvault:5.14.0"
	implementation "com.azure.spring:spring-cloud-azure-autoconfigure:5.14.0"

@andre-uoft I can not reproduce this issue, please try with below two ways to specify the secrets:

Closed in https://github.com/Azure-Samples/azure-spring-boot-samples/pull/760


Update some notebook headings and move powder to broken

the powder calibration example is causing nbconvert to raise, as it is currently a version 3
notebook.  It is not immediately clear to me how to convert a version 3
notebook to a version 4 notebook.

Self-merging so that the scikit-beam docs will continue to build. Not sure when this notebook started causing problems.


Authentication not remembered between SilverBullet upgrades

The login session is not maintained when upgrading from one SilverBullet version to the next. This results me in having to re-login on all of my clients.
I'm running SilverBullet 0.9.4 using Podman (with root) and Docker Compose.

Does #1132 fix this?


fix [GreaterThan,LessThan,Equals] HavingSpecs

to do the comparison based on floats and longs appropriately.
See https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/druid-user/n9x5YyhRcl4/SnvSDyqOCwAJ

Is there any performance degradation due to the extra checks?

@drcrallen  haven't done any perf testing but it appears that checks are hard to avoid in this situation to fix the bug.

@himanshug I looked at the way groupBy queries work and I think you are correct. Since they are row-based instead of column-based the filtering methods used elsewhere don't immediately apply.

:+1:

@himanshug can you cherry-pick a backport PR into the 0.8.2 branch?

@drcrallen done


chore: Align generator options

Deprecate and add options with compatibility notes, reflect the updated names

Closes SAP/cloud-sdk-backlog#506.

[x] I know which base branch I chose for this PR, as the default branch is v2-main now, which is not for v3 development.
[ ] If my change will be merged into the main branch (for v3), I've updated (V3-Upgrade-Guide.md)[./V3-Upgrade-Guide.md] in case my change has any implications for users updating to SDK v3

LGTM, but I think another review would be good.

I reviewed it, triggered through your addition of packageJson I found that there was no link between generatePackageJson and the new packageJson. The replaceBy was missing, I added it for all the options.


Cant use with waveform graph

Hello,
Is there an easy way to use this (awesome) extension with wavform graphs? I'm using daqmx to log data and want to use these graph extensions as part of a producer/consumer loop.

Not directly no as the reference is strict diet xy graph.  However the easy
way is to just convert your waveform data into xy data and then plot that
and use the extension.  Once you have the same data type the xy graph is
more flexible which is why I built it for xy.
On Dec 15, 2016 10:23 AM, "claypip"<EMAIL_ADDRESS>wrote:

Hello,
Is there an easy way to use this (awesome) extension with wavform graphs?
I'm using daqmx to log data and want to use these graph extensions as part
of a producer/consumer loop.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/unipsycho/Graph-Extensions-LabVIEW/issues/5, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMFE2Fvk-pFaHLmlAJ0Agb9-4i9J_ZR1ks5rIXeegaJpZM4LOWcE
.

Okay that makes sense. I apologize for bothering you with this... but I can't seem to get more than one set of xy data to work with the graph. I've tried using bundle and/or buildarray but neither work to feed two streams of xy data into the graph. Any ideas?

Check out any of the samples in the project, they each build an XY graph with 2 plots on them.  As long as you have the same datatype for the XY graph converted from your waveform data, it will work.

For converting your waveform, you need to separate the points into arrays of points for the XY Graph.


Hello world gradle

Only one file is changed that is greeter.java in order tp check merging concept in github

Hi sam
Can you please change it to gradle hello world


cf service does not list apps bound to it

cf services includes a column for apps bound to each service, but cf service SERVICE does not. What is the proper way of getting this information? Can this be included in the cf service SERVICE output?
CLI Version
cf version 6.15.0+fa1bfe2-2016-01-13
Error
Stack Trace
CC API Version
CF Trace
For bugs related to HTTP requests, please run the command with env var CF_TRACE=true
Platform Details
Debian Jessie
Shell
e.g. Terminal, iTerm, Powershell, Cygwin, gnome-terminal, terminator

Hi @erjoalgo
We'll look at adding it to cf service SERVICE output.
Thanks!
Dies Koper
CF CLI PM

This was added in cf CLI 6.18.1.


Select size changes slightly upon open

When a select component is expanded the content below it moves up a pixel.

Can't seem to replicate this. @antictor is this still happening?


Human review required evaluation in Lab 3

fixes #1

Tested with these scenarios:
Scenario 1: OK
{
  "name": "test",
  "document": false,
  "address": false,
  "amount": 1000
}

Scenario 2: OK
{
  "name": "test",
  "document": true,
  "address": true,
  "amount": 1000
}

Scenario 3: OK
{
  "name": "test",
  "document": true,
  "address": false,
  "amount": 1000
}

Scenario 4: OK
{
  "name": "test",
  "document": false,
  "address": true,
  "amount": 1000
}

All tests succeeded. Merging this PR.

Thanks for your tests and contribution to this repo! 🤘🏻


Treat zero as a valid input value

Fixes #52

please merge this!

@AmpersandJS/core-team

@cdaringe

overall looks good.  does this similarly warrant an update to: https://github.com/AmpersandJS/ampersand-input-view/blob/treat-zero-as-valid/ampersand-input-view.js#L180
i.e.  if (this.inputValue !== '' && this.changed) {

+1

+1

Patch release
Shipped as v4.0.2


Investigate continuously testing Colab notebooks and other samples

discussion on Discord: link
Some of our user-facing samples are valuable to have in the main IREE repo but are not tested on our infrastructure. These samples are prone to bit rot and we currently rely on developers or users running them periodically to report issues.
Some ideas:

Execute Colab notebooks via some mechanism like jupyter nbconvert --execute <notebook> and check for exceptions

diffing of outputs will be unreliable since we have so much variance in our outputs (version numbers, randomness / imprecision in model weights, logging from TF and IREE, etc.)

include a run.sh or test.sh script with samples that runs any applicable cmake commands, notebooks, etc. and check those on our CI

Once we have tests to run, we can figure out where/when to actually run them. The Colab notebooks in particular depend on Python packages that could either be sourced from a build (using our release pipeline?) or from the GitHub releases. There may be no (reasonable) way to make a code change to the compiler and test/update affected Colab notebooks in the same commit. Something running nightly that alerts but does not block PRs would still be an improvement over what we have now.

+1 to nightly/per-release - anything is better than nothing!

+1 to nightly/per-release - anything is better than nothing!

Both have pros/cons, and ways to trigger using github actions (https://docs.github.com/en/actions/reference/events-that-trigger-workflows#release). Probably similar story for Buildkite.

Early signs are good for testing our Colab notebooks, as well as any samples that depend on their outputs.
I'm still putting something together, but the Colab bits look roughly like:
# Run under a virtual environment to isolate Python packages.
python -m venv .venv
source .venv/bin/activate
# TODO(scotttodd): deactivate at the end of the python steps
#                  (try/catch/finally around fn)

# Install general Jupyter notebook requirements.
python -m pip install --upgrade pip
python -m pip install jupyter_core nbconvert ipykernel

# Install specific requirements for this notebook.
python -m pip install tensorflow

# Run the notebook, discarding output (still fails if an exception is thrown).
jupyter nbconvert --to notebook --execute variables_and_state.ipynb \
  --stdout > /dev/null

We could measure the overhead of using a separate venv for each notebook's test. I like the isolation, and system-wide caching of downloads will help, but some installs can be slow :D

I've got some scripts that test the things I want to test, and now I'm figuring out how to run them on Buildkite. I'm tempted to hook these scripts up via iree_py_test and iree_run_binary_test in CMake to be able to run them through ctest and get nice summary tables for passes/fails. However, the scripts do rather invasive things like pip installing packages (after trying to create python venvs) and running full CMake configure + build commands.
I could gate some ctest targets behind a new top level CMake option, or just keep the tests as loose scripts that aren't integrated into the build system. Thoughts?
It's also looking like I'll need to update our Docker images to include some extra dependencies.

If they are run as a separate post-submit test it seems like it'd be consistent to have them as a separate manual script (which ideally would be just what the CI invokes) - especially if it's doing things like invoking cmake/bazel or may conflict with normal configurations (would want to be thrashing the cmake cache). Would also mean that we could support them on a smaller set of platforms (instead of trying to run them on windows/etc).

Yeah, the Buildkite pipeline is basically
- label: "Test Colab notebooks"
  commands:
    - docker run ... colab/test.sh

- label: "Test Samples"
  commands:
    - docker run ... iree/samples/variables_and_state/test.sh

right now. I'm also only planning to test the notebooks on Linux, but the samples could be tested on other platforms.

I rewrote my colab/test.sh into colab/test_notebooks.py, to create one "test case" per notebook with cleaner support for expected failures and skipping. Still tuning the verbosity (script commands, TF logging, pip output, etc.), but here's some sample output: https://gist.github.com/ScottTodd/a64109502ffad29ab8beb5264af6bd50
Next I need to modify the Docker image used, probably by inheriting from https://github.com/google/iree/blob/main/build_tools/docker/cmake-python-swiftshader/Dockerfile.

Another idea: we may be able to test code (build instructions, configuration samples, etc.) that we include in our documentation in a similar way. https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#embedding-external-files may help with that.

that'd be awesome - like python doctests.

https://buildkite.com/iree/iree-samples is now set up to run our Colab notebooks and the two samples (variables and state, dynamic shapes) that use Colab and CMake commands. I have it running on a daily schedule with no alerting for now, and will add alerting and some more documentation once I've determined it to be stable.
I have thought of, but not yet starting implementing

testing on presubmit
triggering after each GitHub release
testing on release candidates prior to publishing

Going to close this since the builds have been stable. Not sure if it would be worth adding alerts to the whole team.


Add generic pipe filters

There's an input and an output filter that can be configured to execute an external command passing the file as a parameter. I've called them pipes although I'm not using system pipes.
In the input filter, the dependencies setting changes how dependencies are handled. We can choose not having dependencies calculated but use the source file timestamp (none), use CSS dependency calculation (css), or always run the filter (other).

Codecov Report

Merging #60 into master will increase coverage by 3.70%.
The diff coverage is 90.47%.

@@             Coverage Diff              @@
##             master      #60      +/-   ##
============================================
+ Coverage     73.16%   76.87%   +3.70%
- Complexity      445      453       +8
============================================
  Files            50       52       +2
  Lines          1226     1241      +15
============================================
+ Hits            897      954      +57
+ Misses          329      287      -42

Impacted Files
Coverage Δ
Complexity Δ

src/Output/FreshTrait.php
92.30% <75.00%> (-3.35%)
13.00 <0.00> (+1.00)
:arrow_down:

src/Filter/PipeInputFilter.php
92.85% <92.85%> (ø)
6.00 <6.00> (?)

src/Filter/PipeOutputFilter.php
100.00% <100.00%> (ø)
1.00 <1.00> (?)

src/Filter/AssetFilter.php
46.15% <0.00%> (+23.07%)
11.00% <0.00%> (ø%)

src/AssetProcess.php
94.28% <0.00%> (+94.28%)
10.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

As discussed in markstory/asset_compress#344.

Codecov Report

Merging #60 into master will increase coverage by 3.70%.
The diff coverage is 90.47%.

@@             Coverage Diff              @@
##             master      #60      +/-   ##
============================================
+ Coverage     73.16%   76.87%   +3.70%
- Complexity      445      453       +8
============================================
  Files            50       52       +2
  Lines          1226     1241      +15
============================================
+ Hits            897      954      +57
+ Misses          329      287      -42

Impacted Files
Coverage Δ
Complexity Δ

src/Output/FreshTrait.php
92.30% <75.00%> (-3.35%)
13.00 <0.00> (+1.00)
:arrow_down:

src/Filter/PipeInputFilter.php
92.85% <92.85%> (ø)
6.00 <6.00> (?)

src/Filter/PipeOutputFilter.php
100.00% <100.00%> (ø)
1.00 <1.00> (?)

src/Filter/AssetFilter.php
46.15% <0.00%> (+23.07%)
11.00% <0.00%> (ø%)

src/AssetProcess.php
94.28% <0.00%> (+94.28%)
10.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


Need documentation for verifying extension is installed correctly.

Summary
I put the undertow-core-2.0.jar file in the extensions directory and restarted the server but I can't tell if it's installed correctly. I'm not seeing undertow traffic in the web transactions nor anything in the logs/newrelic_agent.log file. Can someone show me how to verify the extension is installed correctly?
Possible Solution
The documentation should include information how to verify the extension is installed correctly.

Added comments to Getting Started section on verifying that the instrumentation was loaded


Error when creating new group

I get this when trying to create a new group
PHP Fatal error:  Call to a member function getConfig() on a non-object in /var/www/localhost/restrictedobjects/code/extensions/RestrictedGroupExtension.php on line 14, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP Stack trace:, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   1. {main}() /var/www/localhost/framework/main.php:0, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   2. Director::direct() /var/www/localhost/framework/main.php:177, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   3. Director::handleRequest() /var/www/localhost/framework/control/Director.php:153, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   4. AdminRootController->handleRequest() /var/www/localhost/framework/control/Director.php:370, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   5. LeftAndMain->handleRequest() /var/www/localhost/framework/admin/code/AdminRootController.php:93, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   6. Controller->handleRequest() /var/www/localhost/framework/admin/code/LeftAndMain.php:443, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   7. RequestHandler->handleRequest() /var/www/localhost/framework/control/Controller.php:153, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   8. RequestHandler->handleRequest() /var/www/localhost/framework/control/RequestHandler.php:222, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP   9. GridField->handleRequest() /var/www/localhost/framework/control/RequestHandler.php:222, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  10. GridFieldDetailForm->handleItem() /var/www/localhost/framework/forms/gridfield/GridField.php:798, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  11. RequestHandler->handleRequest() /var/www/localhost/framework/forms/gridfield/GridFieldDetailForm.php:102, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  12. RequestHandler->handleAction() /var/www/localhost/framework/control/RequestHandler.php:200, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  13. GridFieldDetailForm_ItemRequest->edit() /var/www/localhost/framework/control/RequestHandler.php:288, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  14. GridFieldDetailForm_ItemRequest->ItemEditForm() /var/www/localhost/framework/forms/gridfield/GridFieldDetailForm.php:303, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  15. Group->getCMSFields() /var/www/localhost/framework/forms/gridfield/GridFieldDetailForm.php:389, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  16. Object->extend() /var/www/localhost/framework/security/Group.php:217, referer: http://localhost/admin/security/EditForm/field/Groups/item/new
PHP  17. RestrictedGroupExtension->updateCMSFields() /var/www/localhost/framework/core/Object.php:1002, referer: http://localhost/admin/security/EditForm/field/Groups/item/new

Have just created 2.4.4, give that a try

Success!


observable.off doesn't unsubscribe observable.once callback

According to the document, using observable.off can unsubscribe a callback of observable.on or observable.once.
The off method works fine with on, but it doesn't work properly with once, here is my example code:
var observable = require("proxy-observable")

const obs = observable({});
const callback = obs.once('sub', value => {
    console.log('sub changed to: '+ value);
});

const success = obs.off(callback);

obs.sub = '123';

console.log("is off success: "+ success);

// expect output:
// - is off success: true

// actual output:
// - sub changed to: 123
// - is off success: false

Expecting the callback should be unsubscribed but it doesn't
I'm working on version 4.0.4

Take a quick look into the source code, I think the problem is here
  once(e, fn) {
    const method = (value, prev, prop) => {
      fn(value, prev, prop);
      this.off(method);
    };
    this.on(e, method);
-    return fn;
+    return method;
  }
}

it should be returning method not fn

Take a quick look into the source code, I think the problem is here
  once(e, fn) {
    const method = (value, prev, prop) => {
      fn(value, prev, prop);
      this.off(method);
    };
    this.on(e, method);
-    return fn;
+    return method;
  }
}

it should be returning method not fn


2109: add/remove school from rb pools when it changes responsible body

Context
See card 2109: Totals wrong for responsible body virtual pool
Changes proposed in this pull request

Add tests to make sure recomputing pool allocations is done properly
Remove school from pool when it leaves a responsible body. Recompute rb remaining allocations
Add school to pool when it is moved to a different responsible body. Recompute rb new allocations

Guidance to review

 Totals wrong for responsible body virtual pool

BTW @markhallen changes to the school RB now included in the timeline

Ok, methods renamed


add support for custom CSR root

Apps that are using CSR only can't set custom head tags in dev.. for prod you can create your own custom index.html but you have to setup your client entry manually
This adds another root file root-csr.tsx. if one is present in CSR mode it will be used. if its not present default to CsrRoot.tsx
some things to note

any children on Body will be ignored
you can use solid-start Meta & Title to match what the client is rendering

if you use a normal meta tag that is also rendered with a Meta on the client it will be duplicated
if you don't include the same Meta or Title on the client it will be removed on render

anything else under Head will not be hydrated

// root-csr.tsx

import { Body, Head, Html, Meta, Title } from "solid-start";

export default function Root() {
 return (
   <Html lang="en">
      <Head>
       {/* these will be "hydrated" (removed and re-rendered) on the client */}
       <Title>SolidStart - Bare</Title>
       <Meta charset="utf-8" />
       <Meta name="viewport" content="width=device-width, initial-scale=1" />
       {/* this will be persevered */}
       <meta name="test" content="test" />
       {/* this will be duplicated since we are rendering it with Meta as well */}
       <meta name="viewport" content="width=device-width, initial-scale=1" />
     </Head>
     <Body />
   </Html>
 );
}

looking for suggestions on the file name. I'm not super sold on the root-csr.tsx name to me that implies this is the root for client side routing.

Looks like the lock file is out of sync due to this commit.. for now i just added it to this PR so tests will run

@nksaraf I want your thoughts on the general direction. My understanding was our intention was to render index from root.tsx The fact that index.html works is incidental? We did do something perhaps odd in dev to allow for isolation but I want to get an idea of what the preferred solution is so we can build towards that. Atleast to understand what you were envisioning.

In setting up for SolidStarts next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed in mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See https://github.com/solidjs/solid-start/pull/1139 for more details.


Packaging request: BigBlueButton

Project description
From their GitHub page:

BigBlueButton is an open source web conferencing system.
BigBlueButton supports real-time sharing of audio, video, slides (with whiteboard controls), chat, and the screen. Instructors can engage remote students with polling, emojis, multi-user whiteboard, and breakout rooms.
Presenters can record and playback content for later sharing with others.
We designed BigBlueButton for online learning (though it can be used for many other applications).

Would be nice to have it packaged and then NixOS service definition, so one could easily set up a server running BBB.
Motivation: This is currently very useful because of schools and other facilities being closed and online conferencing/learning tools are needed.
Metadata

homepage URL: https://demo.bigbluebutton.org
source URL: https://github.com/bigbluebutton/bigbluebutton
license: couldn't find yet.. should be open source though
platforms: linux at least

The components developed by the BigBlueButton project are available under the GNU Lesser General Public License.

https://bigbluebutton.org/open-source-license/
You can also see it in the header of the actual code: https://github.com/bigbluebutton/bigbluebutton/blob/develop/video-broadcast/src/main/java/org/bigbluebutton/app/videobroadcast/VideoApplication.java

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/package-services-for-schools-covidsupport/6335/9

Closing this with the same reason as #83072

we have packaged this and written modules for this here: https://github.com/helsinki-systems/bbb4nix
as you can see, it's several thousand lines of packages and modules
I'm convinced this software cannot be packaged to a standard fit for nixpkgs


Make AWS work with env variables, not just files

It's quite convenient for various reasons to run Cartography inside a Docker container. When doing so, the obvious question becomes how to pass in the AWS region and credentials.
One way to do this is to mount the .aws folder containing config and credentials into the container. This works.
Another option could be to pass in the necessary configuration/credentials as environment variables. This includes:

AWS_DEFAULT_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

Unfortunately, this doesn't work because of Cartography's reliance on AWS profiles, which seem to be native to the configuration/credentials file.
It would be nice if Cartography could be made to work by passing the necessary configuration/credentials as environment variables, even if this might restrict it to a single account.

Not sure if I completely understand, but cartography uses boto3 for AWS calls and boto3 uses both env vars and files with this order of precedence: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials
If you are able to pass env vars to the Dockerfile, then cartography will create the default boto3 session here: https://github.com/lyft/cartography/blob/739187096a012a56888b598da6799c24c561e669/cartography/intel/aws/init.py#L201 which will then detect creds based on the order in the link above.
Please let me know if I missed something but I don't think we do anything to specifically require files.

If you are able to pass env vars to the Dockerfile

I've tried that, and it doesn't work, because there are several places that create the boto3 Session with a profile, e.g.:
https://github.com/lyft/cartography/blob/739187096a012a56888b598da6799c24c561e669/cartography/intel/aws/__init__.py#L156
That's what I meant by "Cartography's reliance on AWS profiles" earlier.

Ah, now I understand.
Unfortunately I can't commit to working on this, but I am supportive of accepting and merging in a PR that enables this scenario as long as the existing profile-reliant flow remains intact.
Side note: As additional reference, here are our setup instructions where they do say the config file profiles are necessary: https://lyft.github.io/cartography/modules/aws/config.html#modules-aws-config--page-root. The PR would have to update this as well.


Create Mobile Navigation

Create Mobile Navigation at the bottom of the page… give it a mobile app like feel

Going to start with
home page (feed) (bottom nav)
messages page (bottom nav)
browse page(bottom nav)
notifications tab (bottom nav)
profile page (top nav will disappear when scrolling down)


Location screen closes instantly after open

Is the bug present in the demo Chat SDK project?
No
What modifications have you made to the Chat SDK?
Nothing, and it's working perfectly there
Android Version:
8.0.0
Steps taken to reproduce the problem:
Using ChatSDK UI chat Activity, I'm trying to send the location, once click the + Button and choose 'Location', the location opens successfully but closes instantly once it is getting opened (it takes less than a sec), which not allows me to send the location.
Expected result:
To send the location successfully from the chat Activity screen
Actual result:
Location Closes instantly after opening the location screen
Comments:
I'm initiating the chatSDK like:

        Configuration.Builder builder = new Configuration.Builder(context);
        // setting the path
        builder.firebaseRootPath(SVPreferences.CHAT_DB_ROOT_PATH);
        builder.googleMaps(SVPreferences.GOOGLE_API_KEY);// enabling maps messaging
        builder.facebookLoginEnabled(false);
        builder.twitterLoginEnabled(false);
        builder.googleLoginEnabled(false);
        builder.defaultName(dbManager.getMyProfile().getName());
        builder.defaultUserAvatarUrl(dbManager.getMyProfile().getPhotoId());
        builder.setMessageTextColorMe(Utils.getColor(MainActivity.this, R.color.icons));
        builder.setMessageColorMe(Utils.getColor(MainActivity.this, R.color.schoolvoice_blue));
        builder.pushNotificationColor(Utils.getColor(MainActivity.this, R.color.schoolvoice_blue));
        builder.pushNotificationImageDefaultResourceId(R.mipmap.ic_push_logo);
        builder.build();
        // Initialize the Chat SDK
        try {
            ChatSDK.initialize(builder.build(), new FirebaseNetworkAdapter(), new BaseInterfaceAdapter(context));
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        // File storage is needed for profile image upload and image messages
        FirebaseFileStorageModule.activate();
        FirebaseModule.activate();
        FirebasePushModule.activate();
        UserInterfaceModule.activate(MainActivity.this);
        AppBackgroundMonitor.shared().setEnabled(true);

And opening the Chat UI Activity screen using:
ChatSDK.ui().startChatActivityForID(getActivity().getApplicationContext(), thread.getEntityID());

This is a problem with the Google Maps API keys. You need to make sure that you have enabled both Google Places and Google Static Maps APIs as per the docs.

@MuhammedRefaat , there is no problem with the Location screen. It is the absence of your SHA1 key on  your firebase cloud computing console that is responsible for your issue. Simply get your sha1 release key from google developer playstore console and add it to:

The firebase console project
The restriction area in the console.developer.google.com console area

Google now generates a new signing key that is different from your signing key when you release your apk.
You can

put both SHA1 key from your keytool on your system and
put the SHA1 key generated by Google play store console

on

Firebase console area
Google cloud computing console developer area
One this is done, this issue automatically disappears without further action.

@tobimichigan Thank you for your reply, actually I'm already including my app in firebase console, and I'm already using maps in a couple of places in the app and they are working perfectly, only when using the send Location functionality in ChatSDK I'm getting that issue, when debugging a fast return for onActivityResult is being done with an empty intent.

@tobimichigan Actually you was right regarding the console, the maps functionality was enabled but the places wasn't, so that's why it was behaving like that.
All I had to do is to add Google Places feature to the project dashboard, and getting the new key, then everything is not perfect, thank you.


Unable to connect to AP R2500 V2.0

Unfortunately I'm unable to connect to AP R2500 V2.0.
Bluetooth address has been found, but failed to connect message appears.

The exact same problem with an AP R600 V2.0,
HA discovers the device

But when we try and connect

it thinks about it for a while

And the fails

Here is the error log:
`This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/allpowers_ble/allpowers.py:232
integration: allpowers_ble (documentation)
First occurred: 07:02:44 (7 occurrences)
Last logged: 08:56:46
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 363, in establish_connection
await client.connect(
File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 310, in connect
connected = await super().connect(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bleak/init.py", line 615, in connect
return await self._backend.connect(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bleak/backends/bluezdbus/client.py", line 254, in connect
assert_reply(reply)
File "/usr/local/lib/python3.12/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.Failed] Operation already in progress
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/allpowers_ble/allpowers.py", line 248, in _reconnect
await self._ensure_connected()
File "/config/custom_components/allpowers_ble/allpowers.py", line 232, in _ensure_connected
client = await establish_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 472, in establish_connection
_raise_if_needed(name, device.address, exc)
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 339, in _raise_if_needed
raise BleakConnectionError(msg) from exc
bleak_retry_connector.BleakConnectionError: AP R600 V2.0 - 2A:02:01:39:8A:63: Failed to connect after 6 attempt(s): [org.bluez.Error.Failed] Operation already in progress`

Hi I configured an esp32 bluetooth proxy I added r2500 it does not update the data after a while it goes into lock I try to turn on and off the various sockets I get this error:
Unable to perform action: switch/turn_on Characteristic 0000FFF2-0000-1000-8000-00805F9B34FB was not found!
could you help me how to solve thanks


Seo improvements

Something went wrong here, now I have two feature branches in one PR? Nevermind, this PR includes only small changes.


[Discussion] tinylibs/tinylet or jimmywarting/await-sync?

@Aslemammad @jimmywarting
I just found out that there's https://github.com/jimmywarting/await-sync and that got me thinking... It'd be cool if there was one way of doing things with regard to synchronous worker magic. Right now there is:

https://github.com/jimmywarting/await-sync
(this package) https://github.com/tinylibs/tinylet
https://github.com/un-ts/synckit
https://github.com/abbr/deasync
https://github.com/sindresorhus/make-synchronous
https://github.com/Kaciras/deasync

I can acknowledge that some of the more low-level Node.js-specific ones are in a "different class" but there's https://github.com/jimmywarting/await-sync and https://github.com/tinylibs/tinylet which seem to do the same thing(ish)...
If possible, I think it'd be great for either this package or https://github.com/jimmywarting/await-sync to be "the one". I'm perfectly OK with deprecating (or yanking since this package has <10 weekly DLs and no dependants) in favor of https://github.com/jimmywarting/await-sync and contributing my changes there, or it could go the other way around. 🤷♂
TLDR: I think that these two packages overlap enough that I'd like to combine them. Is this a good idea? 🤔 @jimmywarting thoughts? I don't know if I'm overstepping etiquette or anything here.

IMO (this is biased) I like the idea of this tinylet package.

It has (at a glance) a more active maintainer than the other greenlet() that this was inspired by: https://github.com/developit/greenlet
It's part of an org which means no single-person bottleneck (thanks Aslemammad for tinylibs! ❤)

Competition and Collaboration would always be the case. I'd like to have you and your package in tinylibs and at the same time compete and collaborate with other similar packages! So please continue you amazing work since I believe this is a neat idea and a neat API you're developing for tinylibs.

If you want to contribute and ship the missing equivalent greenlet function into my pkg then i'm willing to accept some help. my pkg dose not use any NodeJS specific stuff like node:worker_threads or node:buffer instead it loads another whatwg worker spec compatible and uses the same api. using https://github.com/jimmywarting/whatwg-worker instead.
whatever you decide to do is up to you...
before you making any decision i would suggest that you try and measure the performance of both... if it turns out one is a lot faster than something else.
don't test it with remote http calls like fetch, instead use stuff like fs or something else.
also test doing repeated calls. like doing a warmup and calling the same function over and over again. my solution is persistent. see: https://github.com/jimmywarting/await-sync#misc

my pkg dose not use any NodeJS specific stuff like node:worker_threads or node:buffer (to be more cross env friendly) and not having to code platform specific things using node:worker_thread instead of using web worker. instead mine loads another whatwg worker spec compatible dependency (only in nodejs) and uses the same underlying api. using https://github.com/jimmywarting/whatwg-worker instead. maybe you want to use this instead, and remove redlet-node.js & greenlet-node.js?

Yeah, I originally wanted to do that, but I realized it could "specialize" the function for Node.js to hopefully avoid paying shim perf price. I figured the specialized implementation was worth it in this case, as long as it achieves rough feature-parity with the non-Node.js impl that needs JSON-like serialization (it doesn't YET; I still need to buff up that JSON-like serialization)

As for benchmarks, here's what I got:

From this code: https://github.com/tinylibs/tinylet/blob/83eee3371feef310a1ec13b20bb0ed299d78c063/test/redlet-node.bench.js
I note that there might be something I'm missing with the "await-sync: create + invoke worker" one. I don't know if I'm using the library wrong or what 😵 2 ops/sec doesn't sound right

vs "redlet: create + invoke worker" which is somehow wayyyy far and away better 🤣 idk what's happening 4000 vs 2 ops/sec is massive.

Here's another run with the same lopsided benchmark result... 🆘😱😩 what is happening

General comments on the benchmarking stuff though is that redlet() seems WAYYYYY faster. Here's a comparison chart that I collected from ☝☝ bench results:
code excerpt for your reading pleasure
bench.add("redlet: create only", () => {
  redlet(() => {});
});

bench.add("await-sync: create only", () => {
  awaitSync(() => new Uint8Array(1));
});

bench.add("redlet: create + invoke worker", () => {
  const f = redlet(() => {});
  f();
});

bench.add("await-sync: create + invoke worker", () => {
  const f = awaitSync(() => new Uint8Array(1));
  f();
});

{
  const f = redlet(() => {});
  bench.add("redlet: invoke worker only", () => {
    f();
  });
}

{
  const f = awaitSync(() => new Uint8Array(1));
  bench.add("await-sync: invoke worker only", () => {
    f();
  });
}

redlet
await-sync

create only
23x
1x

create + invoke worker
1611x
1x

invoke worker only
22x
1x

I included the tinylet into my own benchmark code...
import { readFileSync } from 'node:fs'
import { Buffer } from 'node:buffer'
import { createWorker } from '../mod.js'
import makeSynchronous from 'make-synchronous'
import { createSyncFn } from 'synckit'
import { redlet } from 'tinylet'

// the worker path must be absolute
const workerPath = new URL('./synkit-worker.js', import.meta.url).toString().slice(7)
const awaitSync = createSyncFn(workerPath, {})

const sin = makeSynchronous(async path => {
  const fs = await import('fs/promises')
  return fs.readFile(new URL(path))
})

const path = new URL('./bench.js', import.meta.url) + ''

const jim = createWorker()(async path => {
  const fs = await import('fs/promises')
  return fs.readFile(new URL(path))
})

const control = Buffer.from(readFileSync(new URL(path))).toString()
console.assert(Buffer.from(awaitSync(path)).toString() === control, 'should return the same data')
console.assert(Buffer.from(jim(path)).toString() === control, 'should return the same data')
console.assert(Buffer.from(sin(path)).toString() === control, 'should return the same data')

let i

// Runs in a worker thread and uses Atomics.wait() to block the current thread.
const redletReader = redlet(async (path) => {
  const fs = await import('fs/promises')
  return fs.readFile(new URL(path))
})

i = 100
console.time('fs.readFileSync')
while (i--) readFileSync(new URL(path))
console.timeEnd('fs.readFileSync')

globalThis?.gc()

i = 100
console.time('redletReader')
while (i--) redletReader(path)
console.timeEnd('redletReader')

globalThis?.gc()

i = 100
console.time('synkit')
while (i--) awaitSync(path)
console.timeEnd('synkit')

globalThis?.gc()

i = 100
console.time('await-sync')
while (i--) jim(path)
console.timeEnd('await-sync')

globalThis?.gc()

i = 100
console.time('make-syncronous')
while (i--) sin(path)
console.timeEnd('make-syncronous')

tried reading the same file 100 times:
fs.readFileSync: 1.222ms
redletReader: 29.41ms
synkit: 12.134ms
await-sync: 23.294ms
make-syncronous: 3.592s

same thing for reading it only 10 times:
fs.readFileSync: 0.411ms
redletReader: 18.303ms
synkit: 1.929ms
await-sync: 3.609ms
make-syncronous: 360.146ms

and 400 times:
fs.readFileSync: 4.624ms
redletReader: 61.453ms
synkit: 46.748ms
await-sync: 92.214ms
make-syncronous: 14.330s


Arch Linux ARM 4.19 RPi4B Install Instructions

This issue is to report the success and failure of the kivy install on Arch Linux ARM 4.19 Desktop. The non-desktop (aka desktopless) installation does not work with these instructions due to limitations of compiling to include an X window provider.
Versions

Raspberry Pi: Model 4B, 4GB System RAM
Python: 3.7.4
OS: Arch Linux ARM 4.19, Exton RaspArch Build 190809
Kivy: v2.0.0.dev0
Kivy installation method:

sudo pacman -S sdl2 sdl2_gfx sdl2_image sdl2_net sdl2_ttf sdl2_mixer python-setuptools cython python2-pillow
git clone https://github.com/kivy/kivy.git
cd kivy
make

Description
Although the desktop version of kivy works, there has not been extensive tests to confirm other modules needed are available.
Code and Logs
Here was what I added to /etc/environment to try the same install without the desktop (from the console):
DISPLAY=:0.0
USE_X11=1
VIDEOCOREMESA=1
KIVY_GRAPHICS="gles"
PYTHONPATH="/home/archpi/kivy"

NOTE: In a previous post, I used pip to install kivy and other packages. This resulted in a corrupted package management issue when attempting to install other Arch Linux ARM apps. This version has been confirmed to install and run the settings example app.

@frankgould could you test if the cross compiled wheel works on Arch Linux: https://github.com/kivy/kivy/suites/364981942/artifacts/751103?
Simply follow these instructions on how to install all the dependencies: https://github.com/kivy/kivy/issues/6474#issuecomment-542679712, but instead of compiling Kivy from source you should be able to install it using the precompiled wheel:
pip install Kivy-2.0.0.dev0-cp37-cp37m-linux_armv7l.whl

@Lauszus I cannot install kivy using pip because pacman will not recognize it when upgrading system using pacman -S. I know because I've had kivy fail to operate after using pip which may or may not install properly after the ALARM upgrade. If you want me to try it using the compile install, I can test that.

@frankgould you can use pip without installing in the system, you can either use --user to install in user directory (which shouldn't disturb pacman), or use virtualenvs, which are even more separated.


Confusing error message running crc on Windows 10

General information

OS:  Windows 10.0.19044.3930
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop

CRC version
CRC version: 2.28.0+e1f42d
OpenShift version: 4.13.14
Podman version: 4.4.4
CRC status
Machine does not exist. Use 'crc start' to create it
CRC config
- consent-telemetry                     : no
- cpus                                  : 8
- disk-size                             : 120
- ingress-http-port                     : 8088
- memory                                : 20480

Host Operating System
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.19044 N/A Build 19044
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:
Registered Organization:
Product ID:                00329-00000-00003-AA941
Original Install Date:     2/8/2023, 9:19:47 AM
System Boot Time:          2/6/2024, 11:47:28 AM
System Manufacturer:       HP
System Model:              HP ZBook Fury 15.6 inch G8 Mobile Workstation PC
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 141 Stepping 1 GenuineIntel ~2496 Mhz
BIOS Version:              HP T95 Ver. 01.15.00, 10/11/2023
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume2
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     65,200 MB
Available Physical Memory: 51,764 MB
Virtual Memory: Max Size:  74,928 MB
Virtual Memory: Available: 60,113 MB
Virtual Memory: In Use:    14,815 MB
Page File Location(s):     C:\pagefile.sys
Logon Server:              N/A
Hotfix(s):                 18 Hotfix(s) Installed.
                           [01]: KB5033909
                           [02]: KB5003791
                           [03]: KB5012170
                           [04]: KB5019180
                           [05]: KB5034122
                           [06]: KB5020372
                           [07]: KB5022924
                           [08]: KB5023794
                           [09]: KB5025315
                           [10]: KB5026879
                           [11]: KB5028318
                           [12]: KB5028380
                           [13]: KB5029709
                           [14]: KB5031539
                           [15]: KB5032392
                           [16]: KB5032907
                           [17]: KB5005699
                           [18]: KB5034441
Network Card(s):           8 NIC(s) Installed.
                           [01]: Intel(R) Ethernet Connection (14) I219-LM
                                 Connection Name: Ethernet
                                 Status:          Media disconnected
                           [02]: Intel(R) Wi-Fi 6 AX201 160MHz
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     <IP_ADDRESS>
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                           [03]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [04]: Cisco AnyConnect Virtual Miniport Adapter for Windows x64
                                 Connection Name: Ethernet 2
                                 Status:          Hardware not present
                           [05]: VirtualBox Host-Only Ethernet Adapter
                                 Connection Name: Ethernet 3
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                           [06]: VirtualBox Host-Only Ethernet Adapter
                                 Connection Name: Ethernet 4
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                           [07]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
                           [08]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Internal)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: <IP_ADDRESS>
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce
  1. Install crc, run crc on non-administrator shell
  2. Run "crc startup --log-level debug"
     time="2024-02-07T12:15:19-05:00" level=fatal msg="Got 0 bytes hash, expected 8"
  3. Run "crc status --log-level debug"
     time="2024-02-07T12:16:13-05:00" level=fatal msg="Got 0 bytes hash, expected 8"

Expected
crc should run on non-administrative shell.
Actual
crc failed to run. The error message doesn't reveal exactly what blocked crc from running.
Logs
Before gather the logs try following if that fix your issue
all crc commands running on non-administrator shell have one line log:
time="2024-02-07T12:16:13-05:00" level=fatal msg="Got 0 bytes hash, expected 8"
Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

Did you use crc on this machine before or is it a fresh install of crc?
This error comes from the segment package, could you please share the content of the ~\.crc directory:
PS> ls -a ~\.crc

inside ~\.crc there should be a file called segmentIdentifyHash which is reported as empty in the error, removing that would probably fix your issue

level=fatal msg="Got 0 bytes hash, expected 8"

telemetry should never be a fatal situation. can we reproduce this?

it is reproducible if the file ~/.crc/segmentIdentifyHash is edited and its content is removed by hand, but i don't know how it could be empty without modifying it manually
the fatal error comes from: https://github.com/crc-org/crc/blob/76e7517be00536b3d7f6b6dfc1f004d8f4ba6dc9/cmd/crc/cmd/root.go#L62-L65

Why is this marked as Windows? I believe this isue would also occur on macOS in this form, right? Let's see if this can be reproduced

right it will occur in all platforms, thanks for correcting the label

This might be a nice issue for a newcomer to the team. The workaround for now would be to remove the file, right?

This might be a nice issue for a newcomer to the team. The workaround for now would be to remove the file, right?

yes, i tested removing the file after getting the error and it created a correct file, so removing it fixes the issue

We will schedule to work on this issue later. Most likely second half of Sprint 253 (from the 1st of March).

crc was installed and running find on un-admin user before
a security update was adminitered on my machine (which could have corrupted ~/.crc/segmentIdentifyHash)
after that running any "crc" command will trigger the error message
after the removal of ~/.crc/segmentIdentifyHash crc is runnable once again.

What should the app behavior be in the case the hash file is malformed? It should obviously continue running, but I’m not sure what to do with the telemetry collection.

If the hash file can't be parsed, I'd just delete it and make sure it gets regenerated with a proper hash when the telemetry code runs.

Right, an invalid hash should be discarded and have it generate a new one.

Note: under no circumstance should the execution (success) of the command be prevented by a failure in telemetry.

Regarding this, I propose implementing a "mock" segment client that will be returned if the initialization of the real segment client fails. This way, the execution of the command is not interrupted by any error in telemetry. If this happens, the mock client will return a warning stating that telemetry will not be available in current session and its methods will do nothing.

I propose implementing a "mock" segment client that will be returned if the initialization of the real segment client fails.

Could you create a follow-up issue to address/work on this? It feels out of scope of this issue, but a valuable improvement.

Regarding this, I propose implementing a "mock" segment client that will be returned if the initialization of the real segment client fails.

Can be a separate "NoopClient" which is returned when there is an error, or can be the real client which has an "error" state where most ops become noop. Your suggestion would probably give clearer code. But I agree with Gerard that this can be a followup.

Original error got resolved by merge


Runnable Pipelines

This will hook up pipelines to the actual command line interface.
Please read the code fully for this PR, it's a big one!

Will also close #7


Membership property renderer

Instead showing the IRI of the membership, show the Organization name. This probably requires a custom Property renderer.

However, this is only relevant when https://github.com/openstate/open-raadsinformatie/issues/180 is closed


merge two networks

I want to fuse two different networks with different weights. And the weights computed by another network. I could not find  any function or api to fuse them. Should I multiply and add them？Could you help me? Thank you for your help.

What do you mean by fuse? Given 2 models of the save config, you can create a "mean" model like this:
model1 = ...
model2 = ...

W1 = model1.get_weights()
W2 = model2.get_weights()

W_mean = []
for w1, w2 in zip(W1, W2):
    avg = np.mean([w1, w2])
    W_mean.append(avg)

model3 = keras.models.load_model(model1.get_config())  # create a copy
model3.set_weights(W_mean)

@farizrahman4u Hi, I want to use the network 'weight compute' to compute the weights to fuse the network1 and network2. For example the outputs of the network 'weight compute' are (w1 and w2). I wanna w1 multiply the output of network1 and w2 multiply the output2 of network2 and add the results.Then connect to layer Dense and use softmax to classify .I want to merge two networks by different weights( not fixed weights) when compute different samples. What should I do ？Thank you for your help.

Thanks for the detailed description and diagram.. Here you go:
net1 = ....
net2 = ....
weight_compute = ...

inp = Input(....)   # (batch_size, input_dim)

net1_out = net1(inp)   # (batch_size, dim)
net2_out = net2(inp)   # (batch_size, dim)
w1_w2 = weight_compute(inp)  # (batch_size, 2)
w1 = Lambda(lambda x: x[:, :1], output_shape=lambda s: (s[0], 1))(w1_w2)  # (batch_size, 1)
w2 = Lambda(lambda x: x[:, 1:], output_shape=lambda s: (s[0], 1))(w1_w2)  # (batch_size, 1)
net1_w1 = multiply([net1_out, w1])
net2_w2 = multiply([net2_out, w2])
weighted_sum = add([net1_w1, net2_w2])
dense_out = Dense(....)(weighted_sum)
softmax_out = Activation('softmax')(dense_out)

model = Model(inp, softmax_out)


Download is not allowed on locked devices

After waiting the 168 hours, I was disappointed when the unlocking failed.
Here's the output:
Press Enter to unlock bootloader

Sending 'encryptData' (0 KB)                       FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
FAILED (remote: 'Command not supported in default implementation')
fastboot: error: Command failed

________________________________________________________

(version: 1.5.0) For issues or feedback:
- GitHub: github.com/offici5l/MiUnlockTool/issues
- Telegram: t.me/Offici5l_Group

Press Enter to exit ...MiUnlockTool.py

Why is this happening? How do I fix it?
Thank you

use the command (in bootloader mode): fastboot flashing get_unlock_ability
is the result 1 or 0?

The result is 1
I think my original problem was caused by using using an old fastboot binary (I had adb/fasboot in PATH since forever and forgot about it). I replaced it with the one you included but I have to wait another 150 hours.
I do have another issue. I use python 3 on Windows 10. The script produces weird characters as you see in the screenshot bellow. Do have any idea why?

( the symbol that appear are only to change the color of some text, It seems that there is a problem with not recognizing colors ...In your Windows ...! Because ANSI are not activated , You can search in google : "how enable ansi" )
But that doesn't matter, so this can be ignored for now, And wait 150 hours to unlock the bootloader

Thank you. I will report back in a week.

( the symbol that appear are only to change the color of some text, It seems that there is a problem with not recognizing colors ...In your Windows ...! Because ANSI are not activated , You can search in google : "how enable ansi" )
But that doesn't matter, so this can be ignored for now, And wait 150 hours to unlock the bootloader

Hello again
I tried to unlock again but it failed. Please see the image:


urlscan: Feature - Add option for custom user agent and handling null values for response data

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] Testing of all the changes has been performed (for bug fixes / features)
[x] The readme.html has been reviewed and added / updated if needed (for bug fixes / features)
[x] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[x] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[x] Verify all checks are passing.
[x] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[x] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[ ] New App
[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[ ] Other (please describe):

Security Considerations (REQUIRED)

[ ] If you are exposing any endpoints using a REST handler,
please document them in the readme.html.
[ ] If this is a new connector or you are adding new actions

[ ] Please document in the readme.html all methods (eg, OAuth) used to authenticate
with the service that the connector is integrating with.
[ ] If any actions are unable to run on SOAR Cloud, please document this in the readme.html.

[ ] Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
[ ] Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
the Vault API.
[ ] Are you are marking code to be ignored by Semgrep with nosemgrep?
If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.

What is the current behavior? (OPTIONAL)

Describe the current behavior that you are modifying.

What is the new behavior? (OPTIONAL)

Describe the behavior or changes that are being added by this PR.

Other information (OPTIONAL)

Any other information that is important to this PR such as screenshots of how the component looks before and after the change.

Pay close attention to (OPTIONAL)

Any specific code change or test case points which must be addressed/reviewed at the time of GA release.

Screenshots (if relevant)

Thanks for contributing!

@gary-phantom Attaching screenshots and link of action passing on SOAR version 5.3.3+: https://<IP_ADDRESS>/mission/346/analyst/action_run/9465

https://<IP_ADDRESS>/mission/4/analyst/action_run/257

Also, we are able to reproduce with normal action run so we have added the same case in playbook as well. So in future if same case will occurred, we can catch that in advance.
Link of pytest here
Merging this PR and assigning next to main for review. please let us know in case of any queries.
Thanks!


[type:refactor] refactor redis blocking get method

Fixes #3548

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3554 (41edbc3) into master (ad84b54) will decrease coverage by 0.36%.
The diff coverage is 62.50%.

@@             Coverage Diff              @@
##             master    #3554      +/-   ##
============================================
- Coverage     62.83%   62.46%   -0.37%
+ Complexity     5574     5536      -38
============================================
  Files           842      842
  Lines         23351    23357       +6
  Branches       2118     2116       -2
============================================
- Hits          14672    14591      -81
- Misses         7331     7412      +81
- Partials       1348     1354       +6

Impacted Files
Coverage Δ

...g/apache/shenyu/plugin/cache/redis/RedisCache.java
50.00% <62.50%> (+5.55%)
:arrow_up:

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...controller/ShenyuClientHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...ruptor/RegisterClientServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
54.25% <0.00%> (-9.58%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

... and 38 more

Continue to review full report at Codecov.

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


Modes > Start/Stop/Clean menu needs to update to reflect changes in configuration without having to leave the menu

Problem: Although the screen refreshes on movement, the menu (data) being loaded to the screen does not.
Solution Approaches: We need to force reload of menu.

After getch()

Could do this by passing function name as well:
Ex: if function name == get_status: menu = python2.7 path_dirs.data_dir get_status --all

Independent of user input --> as another process running parallel


status display on jobs and runs list

Coverage decreased (-0.1%) to 81.926% when pulling 0cd38dd9dc29d986646e9567741880f57ac940d9 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage decreased (-0.1%) to 81.926% when pulling 90f41791bfb599660a54bd0a079abdd1aa5e1ab8 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage decreased (-0.3%) to 81.786% when pulling f63a0f0f23e67c57984d608d67bf37850bd3d7b2 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage decreased (-0.3%) to 81.786% when pulling 8a21a982253dddb31997ae1cc4e9df558c1817ba on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage decreased (-0.3%) to 81.786% when pulling 54da4e3238cb5d6653c13b7009166adedbe349bd on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage increased (+0.003%) to 82.066% when pulling 5320a3b3487c6ffead54dda1f3b893dbaa2c2ee3 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage increased (+0.003%) to 82.066% when pulling 5320a3b3487c6ffead54dda1f3b893dbaa2c2ee3 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage decreased (-0.07%) to 81.996% when pulling 7316a1ac48d56f8d5acfa87211748caca15be764 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage increased (+0.003%) to 82.066% when pulling 224d24628315d79ae9d119882f1c31a9c0f95b80 on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.

Coverage decreased (-0.1%) to 81.926% when pulling c4b882d3a1a03367e4c9e594b2d8f7d1301d3b6f on mikestopcontinues:deps into ac6ca86ab7d74b257765c4eb416fb4a4ad746467 on aol:master.


Optional parameters type missmatch on push and popstate back navigation

Reproduction
https://github.com/tragid/vue-router-popstate-bug
Steps to reproduce the bug

Create route with optional parameter

{
  path: '/debug/:paramId?',
  name: 'debug',
}

Push to route with optional parameter by name without param router.push({ name: 'debug' })
Watch that route.params.paramId is undefined.
Push to same route with parameter router.push({ name: 'debug', params: { paramId: '123' } })
Watch that route.params.paramId is '123'.
Go back by browser navigation
Watch route.params.paramId is empty string instead of undefined.

Expected behavior
Optional parameter should by of one type rather undefined or empty string, when pushing to it or going back with browsers navigation.
Actual behavior
Optional parameter is undefined when is direct router.push, and empty string when going back with browser's navigation.
If having some watcher on this parameter, it has false positive triggering.
Uploading Screen Recording 2024-04-16 at 12.18.58.mov…
Additional information
No response

The param can be parsed in different ways so it can end up as either undefined or '' (empty string). In the end I decided to not normalize the value since both are usually check with if (!route.param.id).
In the future this will likely be overruled by a way to parse params like https://github.com/posva/unplugin-vue-router/discussions/303


fix(core): format project name without .

Fixes the Nx warning Project 'xxx.xxx' contains extension with invalid name (type).

@AgentEnder I'm pinging you in case you missed the notification

Hey @edbzn - I think this warning is actually because we are returning projects with type instead of projectType

Hey @AgentEnder, I updated the PR accordingly.

Can we have this released anytime soon? I just upgraded nx from 17.2.8 to 18.3.4 and nx-dotnet from 2.1.2 to 2.2.0 and got a bunch of these errors for all my dotnet projects:
Project 'ghos-browser-playwright-bridge' contains extension with invalid name (type).
Project 'ghos-browser-tests-webserver' contains extension with invalid name (type).
Project 'ghos-spoofing-engine-tests' contains extension with invalid name (type).
Project 'ghos-cli-infrastructure' contains extension with invalid name (type).
Project 'ghos-cli-application' contains extension with invalid name (type).
Project 'ghos-spoofing-engine' contains extension with invalid name (type).
Project 'ghos-browser-tests' contains extension with invalid name (type).
Project 'ghos-cli-domain' contains extension with invalid name (type).
Project 'ghos-cli-tests' contains extension with invalid name (type).
Project 'ghos-cli' contains extension with invalid name (type).

@edbzn don't worry about failing tests, they were unrelated to this PR. I need to spend some time getting this repo back into good shape 😅