Cannot redeclare class [...]

I have a namespace loaded via composer.json PSR-4 like so: "Project\\Rocketeer\\": ".rocketeer/Rocketeer", and then I bind them something like this:
// I forgot why I added this conditional :)
if (isset($this) && isset($this->app)) {
    $app = $this->app;
    $app->singleton('rocketeer.paths', function ($app) {
        return new Project\Rocketeer\Services\Pathfinder($app);
    });

    $app->singleton('rocketeer.connections', function ($app) {
        return new Project\Rocketeer\Services\Connections\ConnectionsHandler($app);
    });
}

Pathfinder removes the last /stage from the app dir, and ConnectionsHandler shows me more information in the logs about what server Rocketeer is currently on (vs. numeric index based - there's 20 servers!).  Rocketeer\Facades\Console::run() /deploy/vendor/KrugerHeavyIndustries/rocketeer/bin/rocketeer:27
PHP   3. Illuminate\Support\Facades\Facade::__callStatic() /deploy/vendor/KrugerHeavyIndustries/rocketeer/bin/rocketeer:27
PHP   4. Illuminate\Support\Facades\Facade::getFacadeRoot() /deploy/vendor/illuminate/support/Illuminate/Support/Facades/Facade.php:200
PHP   5. Rocketeer\Facades\StandaloneFacade::getFacadeAccessor() /deploy/vendor/illuminate/support/Illuminate/Support/Facades/Facade.php:116
PHP   6. Rocketeer\RocketeerServiceProvider->boot() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Facades/StandaloneFacade.php:42
PHP   7. Rocketeer\RocketeerServiceProvider->bindConsoleClasses() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/RocketeerServiceProvider.php:68
PHP   8. Rocketeer\Services\Connections\ConnectionsHandler->syncConnectionCredentials() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/RocketeerServiceProvider.php:226
PHP   9. Rocketeer\Services\Connections\ConnectionsHandler->getConnection() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:374
PHP  10. Rocketeer\Services\Connections\ConnectionsHandler->getConnections() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:289
PHP  11. array_filter() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:241
PHP  12. Rocketeer\Services\Connections\ConnectionsHandler->Rocketeer\Services\Connections\{closure}() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:241
PHP  13. Rocketeer\Services\Connections\ConnectionsHandler->isValidConnection() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:240
PHP  14. Rocketeer\Services\Connections\ConnectionsHandler->getAvailableConnections() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:216
PHP  15. Rocketeer\Services\Connections\ConnectionsHandler->__get() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:190
PHP  16. Illuminate\Container\Container->make() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Traits/HasLocator.php:101
PHP  17. Illuminate\Container\Container->build() /deploy/vendor/illuminate/container/Illuminate/Container/Container.php:428
PHP  18. Rocketeer\RocketeerServiceProvider->Rocketeer\{closure}() /deploy/vendor/illuminate/container/Illuminate/Container/Container.php:501
PHP  19. Rocketeer\Services\Storages\LocalStorage->__construct() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/RocketeerServiceProvider.php:180
PHP  20. Rocketeer\Services\Storages\LocalStorage->getHash() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Storages/LocalStorage.php:72
PHP  21. Illuminate\Filesystem\Filesystem->getRequire() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Storages/LocalStorage.php:125

Fatal error: Cannot redeclare class Project\Rocketeer\Services\Connections\ConnectionsHandler in /deploy/.rocketeer/Rocketeer/Services/Connections/ConnectionsHandler.php on line 0

Call Stack:
    0.0010     237296   1. {main}() /deploy/vendor/KrugerHeavyIndustries/rocketeer/bin/rocketeer:0
    0.0081     315328   2. Rocketeer\Facades\Console::run() /deploy/vendor/KrugerHeavyIndustries/rocketeer/bin/rocketeer:27
    0.0081     315560   3. Illuminate\Support\Facades\Facade::__callStatic() /deploy/vendor/KrugerHeavyIndustries/rocketeer/bin/rocketeer:27
    0.0081     315608   4. Illuminate\Support\Facades\Facade::getFacadeRoot() /deploy/vendor/illuminate/support/Illuminate/Support/Facades/Facade.php:200
    0.0081     315704   5. Rocketeer\Facades\StandaloneFacade::getFacadeAccessor() /deploy/vendor/illuminate/support/Illuminate/Support/Facades/Facade.php:116
    0.0112     355008   6. Rocketeer\RocketeerServiceProvider->boot() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Facades/StandaloneFacade.php:42
    0.0151     430800   7. Rocketeer\RocketeerServiceProvider->bindConsoleClasses() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/RocketeerServiceProvider.php:68
    0.0299     743896   8. Rocketeer\Services\Connections\ConnectionsHandler->syncConnectionCredentials() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/RocketeerServiceProvider.php:226
    0.0299     744240   9. Rocketeer\Services\Connections\ConnectionsHandler->getConnection() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:374
    0.0312     757496  10. Rocketeer\Services\Connections\ConnectionsHandler->getConnections() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:289
    0.0329     809600  11. array_filter() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:241
    0.0329     809720  12. Rocketeer\Services\Connections\ConnectionsHandler->Rocketeer\Services\Connections\{closure}() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:241
    0.0329     809768  13. Rocketeer\Services\Connections\ConnectionsHandler->isValidConnection() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:240
    0.0329     809936  14. Rocketeer\Services\Connections\ConnectionsHandler->getAvailableConnections() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:216
    0.0329     810104  15. Rocketeer\Services\Connections\ConnectionsHandler->__get() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Connections/ConnectionsHandler.php:190
    0.0329     813096  16. Illuminate\Container\Container->make() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Traits/HasLocator.php:101
    0.0330     813232  17. Illuminate\Container\Container->build() /deploy/vendor/illuminate/container/Illuminate/Container/Container.php:428
    0.0330     813272  18. Rocketeer\RocketeerServiceProvider->Rocketeer\{closure}() /deploy/vendor/illuminate/container/Illuminate/Container/Container.php:501
    0.0341     834816  19. Rocketeer\Services\Storages\LocalStorage->__construct() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/RocketeerServiceProvider.php:180
    0.0344     836680  20. Rocketeer\Services\Storages\LocalStorage->getHash() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Storages/LocalStorage.php:72
    0.0475    1099096  21. Illuminate\Filesystem\Filesystem->getRequire() /deploy/vendor/KrugerHeavyIndustries/rocketeer/src/Rocketeer/Services/Storages/LocalStorage.php:125

[1]    62064 segmentation fault  bin/rocketeer deploy -vvv

I'm going to debug this at some point today if I don't get a reply, but I'm hoping someone out there can point out my mistake :)

To know when to clear its own cache Rocketeer serializes the contents of .rocketeer and makes an md5 of it. The issue is for that, it includes the files recursively, and in your case when it includes the files it starts eating its own tail and tries computing the cache again etc.
You need to put your custom classes in a separate folder from the .rocketeer folder

Fucking. Brilliant. Thank you much @Anahkiasen. I will be back! :D


Stream groupBy() values

Is there a non-terminal version of groupBy or some other neat way to stream through the resulting Map entries/values?
I find myself wanting to stream through the values after groupBy but the best I could come up with is not pretty:
StreamEx.ofValues(StreamEx.of(0, 1, 2, 4).groupingBy(i -> i % 2)).mapToInt(ii -> IntStreamEx.of(ii).sum())
// RESULT: [6, 1]

The correct way to do this is to use downstream collector:
Collection<Integer> result = StreamEx.of(0, 1, 2, 4)
        .groupingBy(i -> i % 2, Collectors.summingInt(i -> i)).values();

This is more readable as your solution and more efficient (as you don't collect intermediate lists, but sum elements directly).

Is there something like summingInt but for merging streams or collections instead of ints?

Please provide full example input and expected output.

We have sequences of numbers that we want to group together. However we only want to group number sequences that are in the same category A, B or C.
I wonder if there's a way to simplify this by nifty use of Collectors:
List<Entry<Character, List<Integer>>> ss = new ArrayList<>();
ss.add(new AbstractMap.SimpleEntry<>('A', Arrays.asList(1, 2, 3)));
ss.add(new AbstractMap.SimpleEntry<>('B', Arrays.asList(0, 6, 7)));
ss.add(new AbstractMap.SimpleEntry<>('C', Arrays.asList(8, 9, 0)));
ss.add(new AbstractMap.SimpleEntry<>('A', Arrays.asList(4, 5, 6)));

List<List<Integer>> list = StreamEx.ofValues(StreamEx.of(ss).groupingBy(e -> e.getKey())).flatMap((group) -> {
	return StreamEx.of(group).flatCollection(e -> e.getValue()).groupRuns((a, b) -> a + 1 == b);
}).toList();

// OUTPUT: [[1, 2, 3, 4, 5, 6], [0], [6, 7, 8, 9], [0]]
System.out.println(list);

I see. Quite unusual data transformation. In this case I would recomment to introduce an intermediate variable to explicitly show that the intermediate result is collected:
Map<Character, List<Entry<Character, List<Integer>>>> map = StreamEx.of(ss)
             .groupingBy(e -> e.getKey());
List<List<Integer>> list = StreamEx.ofValues(map)
        .flatMap(
                (group) -> StreamEx.of(group).flatCollection(e -> e.getValue())
                            .groupRuns((a, b) -> a + 1 == b)
                ).toList();

As stream is lazy, it's not very good idea to hide the fact that everything is collected into the intermediate collection. Here you explicitly show that map is created, so it's evident that additional memory is necessary. Also this way it's easier to debug as you have intermediate variable.
A slightly modified way to write the same which I would prefer (just a matter of taste):
Map<Character, List<Integer>> map = EntryStream.of(ss.stream())
        .flatMapValues(List::stream).grouping();
List<List<Integer>> list = StreamEx.ofValues(map)
        .flatMap(group -> StreamEx.of(group).groupRuns((a, b) -> a + 1 == b)).toList();


Fix errors in the kcm config API

For some unknown reason, the API group wasn't parsed correctly.

This is just regenerating the file right?
/lgtm

This is just regenerating the file right?
/lgtm

yes.


fix: add integrate flutter SDK guide in application detail page

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Summary
(describe what this merge request does)
Implementation highlights
(describe how the merge request does for feature changes, share the RFC link if it has)
Test checklist

[ ] add new test cases
[ ] all code changes are covered by unit tests
[ ] end-to-end tests

[ ] deploy web console with CloudFront + S3 + API gateway
[ ] deploy web console within VPC
[ ] deploy ingestion server

[ ] with MSK sink
[ ] with KDS sink
[ ] with S3 sink

[ ] deploy data processing
[ ] deploy data modeling

[ ] new Redshift Serverless
[ ] provisioned Redshift
[ ] Athena

[ ] deploy with reporting

Is it a breaking change

[ ] add parameters without default value in stack
[ ] introduce new service permission in stack
[ ] introduce new top level stack module

Miscellaneous

[ ] introduce new symbol link source file(s) to be shared among infra code, web console frontend, and web console backend

I remember we have two pages with SDK integration,

SDK integration guide after adding an application
application detail

Are both of them covered by those change?

You are right, fixed.


Add SEAL-euclidean-distance application

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

I created an Web-based UI that computes the Euclidean distance between two points on a Node.JS server using an Microsoft SEAL (WASM wrapper). The client is written in Angular and the server in Nest.JS.
The link is here: https://github.com/clnnn/SEAL-euclidean-distance

Nice demo, however not mature enough for this list.


Epic-REACHOUT

HTTPS
://@ERICTODDSAWYER`
outer/epicc
another>

<Real_JOSE>

This is my first time making myself 😁

#fuckenstupid> This is my first time making myself 😁


Remove unused line to fix Babel incompatibility

Hi,
This module doesn't work when it's processed with Babel, because of this line:
var previous_mymodule = root.mymodule;
By default, Babel's module 'transform-es2015-modules-commonjs' makes global object undefined, so root.mymodule fails with runtime exception. Also, it seems, that previous_mymodule variable isn't used anywhere, so it could be safely removed.

 The basic purpose is to make sure that if the user already had a library called "aes" (mainly for browsers), that it would be chained along so the original library was available and not simply clobbered (although, anyone relying on this behaviour is likely to be in trouble anyways).
I haven't dealt with Babel, but I don't quite understand the problem... I have corrected the library (at least for its original intention) in https://github.com/ricmoo/aes-js/commit/804988e85cf954e91720e4cb57f060ea6bf1e572; can you take a quick look and let me know if Babel still complains about this? Could you also provide a quick command line or guidance for a test case I can use in the future to make sure I don't break Babel?
Thanks!

Hi again,
The bug I had was caused by babels plugin transform-es2015-modules-commonjs which is a part of babel-preset-es2015 Babel’s preset. I am using Babel together with Browserify to make it possible to use ES6 features, like ES6-modules, in my front-end code.
The thing with transform-es2015-modules-commonjs plugin is that it replaces all top-level this to undefined. This is intended behaviour, you can read about it here: https://phabricator.babeljs.io/T3055#64877. Actually, this behaviour can be disabled using allowTopLevelThis, but it’s impossible while using plugin as a part of babel-preset-es2015 preset.
Your new code seems to work now, thanks for it. About reproducing: to check exactly this bug, you can try to do something like this:
npm install -g babel
npm install babel-plugin-transform-es2015-modules-commonjs
babel --plugins transform-es2015-modules-commonjs index.js | node

But the main point is that if you want to make you code works with ES6 Babel’s plugins, you need to make it compatible with ES6 semantic.
Anyway, thanks for you support!


Roll Modifier dialog should include UI for spellburn

Allow increasing or decreasing a modifier based on the relevant stats.
Track and limit stat spending appropriately.
Apply the stat changes to the character once the roll is made.

Actually, this is pretty important IMHO. I don't need it to automatically deduct stats or anything, just allow for a Spellburn option at casting time. I think the Judge and player should be able to work out the burn stats and limits ahead of time without much fuss - but it'd be nice to see the outcome modified by burn.

Please bear in mind you can already do what you're suggesting. One way is to Ctrl+Click the button when rolling the spell. The Roll Modifier dialog will give you the opportunity to modify the roll to account for spellburn by adjusting one of the existing modifiers. Alternatively you can use the buttons left of the spell check result in chat (if it was rolled through a spell item with a table) to adjust the check after the fact.

This task is to provide a fully fledged UI as part of the Roll Modifier that shows the scores for the burnable stats, and allows the player to adjust them down to increase the roll without taking them below zero.

Yeah - that works a treat  - didn't notice that before. I have only just bought Foundry this week and downloaded the module for DCC so I am a complete noob.
I'd love to get into the guts and tinker as well eventually (being a coder myself) but time is always my foe.
Thanks!
Will
On Saturday, September 11, 2021, 10:31:29 AM CDT, Steve Barnett<EMAIL_ADDRESS>wrote:

Please bear in mind you can already do what you're suggesting. One way is to Ctrl+Click the button when rolling the spell. The Roll Modifier dialog will give you the opportunity to modify the roll to account for spellburn by adjusting one of the existing modifiers. Alternatively you can use the buttons left of the spell check result in chat (if it was rolled through a spell item with a table) to adjust the check after the fact.
This task is to provide a fully fledged UI as part of the Roll Modifier that shows the scores for the burnable stats, and allows the player to adjust them down to increase the roll without taking them below zero.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Implemented in the v0.31.0 dev branch.


Why data/train.scp has same features in meeting EN2001a, EN2001d, EN2001e ?

I have found that EN2001a, EN2001d, and EN2001e meeting utterances have four times the features of the original.
Why is it like this?
from kaldiio import ReadHelper

feats = []
with ReadHelper('scp:data/train.scp') as reader:
    for key, numpy_array in reader:
        #if "0007881_0007913" in key:
        if "0056607_0056837" in key:
            print(key)
            feats.append(numpy_array)

#AMIXXX-00001-1EN2001a-XXXXXX-11_XXXXXXX_0056607_0056837
#AMIXXX-00001-3EN2001a-XXXXXX-11_XXXXXXX_0056607_0056837
#AMIXXX-00001-4EN2001a-XXXXXX-11_XXXXXXX_0056607_0056837
#AMIXXX-00001-5EN2001a-XXXXXX-11_XXXXXXX_0056607_0056837

print(np.array_equal(feats[0], feats[1]))
print(np.array_equal(feats[1], feats[2]))
print(np.array_equal(feats[2], feats[3]))

#True
#True
#True

Hi @gogyzzz, as written in the paper we constrain all of our training meetings to contain 4 speakers. "Since we limit the number of speakers to 4, each of the 3 five-speaker meetings is duplicated into 5 four-speaker meetings
by removing one speaker at a time, which yields 147 meetings."
This causes those meetings to have overlap in the features because they correspond to the same speaker at the same time-spot in the meeting. The meeting you found is one of those five-speaker meetings.


stop deleting test user

closes #2520
I can't find creation of user test. After removing the deletion statement he is not in /etc/passwd
Reduced logic complexity of sample-auth-data, which is never called for uninstall

install and update successful


Solver closure

Change solver not to be an instance but a callable solver(), can be either an anonymous () -> Solver(options...) or Solver for default options

Replaced by optimizer syntax


Updat to channels v4.2.0, Fix noarch Linters, Enable PiP Check

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@chrisbarber @swainn
could you consider reviewing & merging this PR, vs the bot PR to upgrade to v4.2.0

https://github.com/conda-forge/channels-feedstock/pull/18
I have made some edits to enable pip check, make the recipe consistent with source / pip install and address newer noarch recipe recommendations to use python_min

Thank you and Regards


Component Library selects should use generic select

overview
In the interest of UX unification, we'd like to move towards a place where very naive, flexible, reusable components live in CL and are subsequently instantiated in use-case specific components across the codebase.
Select boxes provide a good first case for unifying our UX across apps. Right now we have two components that integrate react-select's expanded select box functionality, PipetteSelect and SelectField. They duplicate a lot of customization (mostly styling) across their two definitions.  We should create a third component that acts as a thin wrapper of react-select with only the shared styling customizations plugged in by default. This component should be as flexible as possible given the baseline similarities in appearance between instances of it (read; passthrough props into different levels of react-select).
For the first pass, this new component should be used for both SelectField and PipetteSelect. The larger followup should see all dropdowns across the app use an instance of this generic component (probably through a use-case specific wrapping component similar to SelectField and PipetteSelect).

Calling this one closed by the addition of the <Select> component to the component library


Upmerge 09 March 2020

Regular upmerge.

Great work!
These downstream patches are no longer needed and should be reverted before the mergeup:

4f020657c5:  was merged upstream as 8629f0a4507b84480af1c6b5b1d298d392cc4e77
7f33c8036148a1d67042e78ee7870ad952549f1b:  was merged upstream as bdc535dba3d9dc8ac5e372aa01d2ec9912759f10

Otherwise, I've prepared a rebase branch here by cherry-picking the west ncs-loot output for this PR as of commit 5c4924ae01 on top of v2.2.0:
https://github.com/mbolivar-nordic/fw-nrfconnect-zephyr/tree/mergeup-288-rebase
I had to skip the cherry-picks for those two patches, but the trees are identical after doing that, so this looks good structurally other than that.
I needed a patch to west ncs-loot to get this output which I will post separately.

Great work!
These downstream patches are no longer needed and should be reverted before the mergeup:

4f02065:  was merged upstream as 8629f0a
7f33c80:  was merged upstream as bdc535d

Otherwise, I've prepared a rebase branch here by cherry-picking the west ncs-loot output for this PR as of commit 5c4924a on top of v2.2.0:
https://github.com/mbolivar-nordic/fw-nrfconnect-zephyr/tree/mergeup-288-rebase
I had to skip the cherry-picks for those two patches, but the trees are identical after doing that, so this looks good structurally other than that.
I needed a patch to west ncs-loot to get this output which I will post separately.
Edit: posted NordicPlayground/fw-nrfconnect-nrf#2087

I will revert those 2 patches You mentioned but I dont get what do You mean with that rebase branch? Should we actually update this at all or use Your upmerge branch or what?

I dont get what do You mean with that rebase branch? Should we actually update this at all or use Your upmerge branch or what?

No no, don't use it here; it's not time to rebase yet.
I post a rebase as a review comment every time we merge upstream, because:

I do it anyway while I'm reviewing to check for missing reverts, and it's a hint to the submitter for how they can do the same check in the future
It's evidence that the mergeup is good
So the submitter has a chance to see why they have to follow all of those silly sauce tag rules: "because it makes it possible to rebase easily, and this rebase is proof"
For my own benefit in case we have to rebase in an emergency, to have something to start with

Some checks failed. Please fix and resubmit.
Identity/Emails issues
01302ec4c51bd79b6695462934a41fc04a714e0b: author email (Emil Obalski<EMAIL_ADDRESS>needs to match one of the signed-off-by entries.
Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

Why build smp_svr @nrf52840_pca10056 is not multi-mage build anymore?
@hakonfam Any clue?
or @tejlmand
[edt]
at last nrf9160_pca10090 is affected as well :(

Sound wrong.
Will take a look.

Why build smp_svr @nrf52840_pca10056 is not multi-mage build anymore?
@hakonfam Any clue?
or @tejlmand
[edt]
at last nrf9160_pca10090 is affected as well :(

Sound wrong.
Will take a look.

This looks ok to me:
> cmake -GNinja -DBOARD=nrf9160_pca10090ns -Bbuild .
-- Zephyr version: 2.2.0
-- Selected BOARD nrf9160_pca10090ns
-- Found west: /home/tora/.local/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
-- Loading /projects/github/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
Devicetree header saved to '/projects/github/ncs/nrf/applications/asset_tracker/build/zephyr/include/generated/devicetree_unfixed.h'
Parsing /projects/github/ncs/nrf/applications/asset_tracker/Kconfig
/projects/github/ncs/nrf/lib/fprotect/Kconfig:28: WARNING: dt_hex_val is deprecated.
/projects/github/ncs/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration '/projects/github/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
Merged configuration '/projects/github/ncs/nrf/applications/asset_tracker/prj.conf'
Configuration saved to '/projects/github/ncs/nrf/applications/asset_tracker/build/zephyr/.config'
Kconfig header saved to '/projects/github/ncs/nrf/applications/asset_tracker/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc
-- Cache files will be written to: /home/tora/.cache/zephyr

=== child image spm begin ===
Changed board to secure nrf9160_pca10090 (NOT NS)
-- Zephyr version: 2.2.0
-- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.8", minimum required is "3.6")
-- Selected BOARD nrf9160_pca10090
-- Found west: /home/tora/.local/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
-- Loading /projects/github/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
-- Overlaying /projects/github/ncs/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
Devicetree header saved to '/projects/github/ncs/nrf/applications/asset_tracker/build/spm/zephyr/include/generated/devicetree_unfixed.h'
Parsing /projects/github/ncs/zephyr/Kconfig
/projects/github/ncs/nrf/lib/fprotect/Kconfig:28: WARNING: dt_hex_val is deprecated.
/projects/github/ncs/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration '/projects/github/ncs/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig'
Merged configuration '/projects/github/ncs/nrf/applications/asset_tracker/spm.conf'
Configuration saved to '/projects/github/ncs/nrf/applications/asset_tracker/build/spm/zephyr/.config'
Kconfig header saved to '/projects/github/ncs/nrf/applications/asset_tracker/build/spm/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /opt/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc
-- Cache files will be written to: /home/tora/.cache/zephyr
-- Configuring done
-- Generating done
-- Build files have been written to: /projects/github/ncs/nrf/applications/asset_tracker/build/spm
=== child image spm end ===

=== child image mcuboot begin ===


Load spec_helper before Rails

so that things in spec_helper, especially coverage tools,
have a chance to load before the Rails code loads

@kjg I'm not entirely sure about this. Can you explain your use case or need a little more?

@samphippen Simplecov, for example, says that it must be loaded before any of the application code in order to properly track code coverage.
If you have your Simplecov init in your spec_helper (which makes sense because you want coverage on all files, not just files that need rails_helper), you have Simplecov init at the top of spec_helper, but rails_helper is loading your Rails files before spec_helper and therefor before Simplecov.
Does that make sense?

@samphippen I would recommend this change as well to be honest, given spec_helper should be rails free I think it's safe to merge this. Thanks @kjg

TIL hitting merge doesn't also post your comment :)


Trying to use on a folder with multiple subfolders, each of the folders contains one image

I am using this:
!handprint /s google ./save/
and getting this:
+-----------------------------------------------------------------------------+
|           Welcome to Handprint: HANDwritten Page RecognitIoN Test           |
+-----------------------------------------------------------------------------+
Given 10 images to work on.
Will apply results of 1 service: google
Will use credentials stored in
C:\Users\sdunomir\AppData\Local\CaltechLibrary\Handprint/.
Will use up to 1 process threads.
Traceback (most recent call last):
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\sdunomir\finished assignments for ML\handprint.exe_main.py", line 7, in
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\handprint_main.py", line 585, in console_scripts_main
plac.call(main)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\plac_core.py", line 436, in call
cmd, result = parser.consume(arglist)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\plac_core.py", line 287, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\handprint_main.py", line 550, in main
alert_fatal(f'An error occurred ({ex_class.name}): {antiformat(str(ex))}')
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\bun\ui.py", line 101, in alert_fatal
ui.alert_fatal(text, *args, **kwargs)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\bun\cli.py", line 166, in alert_fatal
self._print_or_queue(text.format(*args), style = 'fatal')
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\bun\cli.py", line 127, in _print_or_queue
self._console.print(text, style = style, highlight = False)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich\console.py", line 1655, in print
self._buffer.extend(new_segments)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich\console.py", line 854, in exit
self._exit_buffer()
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich\console.py", line 812, in _exit_buffer
self._check_buffer()
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich\console.py", line 1960, in _check_buffer
legacy_windows_render(
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich_windows_renderer.py", line 17, in legacy_windows_render
term.write_styled(text, style)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich_win32_console.py", line 418, in write_styled
self.write_text(text)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\site-packages\rich_win32_console.py", line 379, in write_text
self.write(text)
File "C:\Users\sdunomir\Miniconda3\envs\tf2\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-78: character maps to
It seems like all the images are recognized, but them something seems to break...
Thanks in advance

It looks like this must be on Windows, based on the style of the path names.
The last error suggests there's something happening involving character sets, or possibly locales. Can you tell me more about the language you use and whether any of the file names might have special characters in them?

yea e gonna be regited a hunter ith ne target
jaken hagar


Digital Twins and IoT for Robotics

this closes #6014
Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hello @mumbi00
Thanks for submitting this PR.
Your PR has entered our reviewing queue. Please wait until a peer-reviewer pings you with the changes to be made.
Thanks.

Plagiarism check done ✅

Edits made @mbaabuones

Your article has really long sentences. Please cut them down into smaller ones. @mumbi00
cc @mbaabuones

@lalith1403 Revision done.

@lalith1403
If any other edits are needed - please close the PR

Checking it @lalith1403

Merged #6117 into master


SyncThing Integration

Hopefully it is possible in future updates to include a cloud syncing option such as SyncThing or a Google Drive plugin (similar to EmuDeck) to allow multiple devices to share cloud saves across multiple OS'.

Hello
It's delegated to end user
If you need you can install sync app as you want from play store / f droid / aurora / apk
We have a lot of server app so I think it's not relevant to include them all

What is the system EmuDeck puts in place that allows you to choose DropBox, Google Drive, OneDrive etc and have a command line automatically run a routine save folder upload? I'd have thought that's something GammaOS would be capable of and therefore give multiple devices such as Anbernic handhelds the ability to cross-save automatically.

I don't know emudeck but already play with Jelos and we have syncthing and Rclone I thinks it's something similar
If I check the doc, yes it's use syncthing
https://emudeck.github.io/community-creations/steamos/tools-and-guides/#how-to-set-up-syncthing
So all you need is to download syncthing app and configure it

Closing due to inactivity.


How to open tg://-like links

I need to open links like tg://user?id=12345678. So for example by pressing a button you can open someones profile.
I tried to use utils.openLink and openTelegramLink (just in case).

With openLink mini app crashed and I don't know how to fetch any debug information in this case.
With openTelegramLink I got an error about using only t.me links (as expected).

Code to reproduce crash (assuming you have <SDKProvider />)
// page.tsx
"use client";

import { initUtils } from "@telegram-apps/sdk-react";

function openUserProfile() {
	const utils = initUtils();

	utils.openLink("tg://user?id=12345678"); // put your own id here
}

export default function Home() {
	return (
		<button onClick={openUserProfile}>

Click me!

		</button>
	);
}

I also used nextjs <Link> &  but they don't seem to be working (just nothing happens on click).
I ran out of ideas how to implement this feature, maybe this even a bug. Will appreciate any help.

I am not sure, there is a way to open such kind of links. You could try opening them via usual way we use in browsers. In case, it works fine in all Telegram applications, we may add it in the SDK

I tried to open it via browser. It asked me to open telegram but didn't open requested chat.

Thats sad. But thank you for the response!

Accroding to documentation normal clients should ignore these links. Its telegram issue.


title attribute disabled by jquery-migrate

When utilizing jquery-migrate, the title attribute is disabled.
Neither:
<select class="selectpicker show-tick form-control" title="Select...">
nor
$('.selectpicker').selectpicker({         title: "Select...", });
will render if <script src="jquery-migrate-1.xx.js"></script> is utilized in the stack.

I changed line 564 to:
if (element.options[element.selectedIndex].outerHTML.includes(" selected")) titleOption.selected = true;
This makes the title appear all the time except if an item is marked "selected" in the html. This may break other things so I won't make it a patch.

Also the migrate plugin should not be used in production, it is there to help you spot migration issues.


Officially supported Docker container for running Windows Containers?

We have migrated our high throughput reading data from MS SQL server to CrateDB, and we use the Crate Docker image for deploying our product.  Being MS SQL based in the past, much of our customer base has is accustomed to deploying our .Net based solution on Windows servers only.  Would there be any interest in maintaining a Windows container image for CrateDB on DockerHub?
We are currently in the process of offering Docker container based deployment for our product, and having Crate as a Windows container would simplify our deployment story.

hi @dsmithson, sorry for the late response. somehow your issue slept throught.
do you mean a CrateDB container with a windows base image? what would you achieve with this? you should be able to use the CrateDB image on windows machines.
can you describe how having a windows based CrateDB docker image would simplify your deployment?

Hi @joemoe, sorry for my later response :).  I do mean a CrateDB container based on the WindowsServerCore base image (or '8-jdk-windowsservercore' to get a Java base image), allowing it to run inside a Windows container.  Our applications run on Windows, and for a fully container-based deployment of our application we use a combination of Windows Containers for our apps and Linux Containers for CrateDB.  Offering Crate in a Windows container image would enable a full container based deployment on Windows, and this is desirable for customers who prefer running Windows.
It would be easy enough for us to maintain our own CrateDB-Windows docker image based on the provided Crate Tar file, but we'd prefer an official Crate-built repository.


Add Notebook for Sentinel-5P L2 NetCDF dataset

I removed a couple JSON files in 8cecfd1fbf25ddde18bc2fab61401ce349383bd9. This looks good.

Thanks!


terminal scrolling speed is too slow

Issue Type: Bug
the scroll speed of the terminal window depends entirely on how tall the terminal window is.
repo:

open a wsl terminal window
$ echo "Hello World!" > file.txt
$ for i in {1..15}; do cat file.txt file.txt > file2.txt && mv file2.txt file.txt; done
make the terminal window as short as possible (2 lines tall):
$ time cat file.txt
   real 12.123s
make the terminal window as tall as possible (~75 lines):
$ time cat file.txt
   real 2m43.452s

vscode is taking 2 1/2 minutes just scrolling the window. that's about 92% of the time.
BTW: regular wsl bash in a native maximized conhost takes 7s.

What value do you have in terminal.integrated.rendererType?
Difference is quiet noticeable with dom as reported, however canvas and experimentalWebgl has minimal difference in times and are 4-5s when I launch wsl in Git bash (default terminal).
P.S. Using Remote-WSL and terminal in VS Code everything looks immediate and time reports <1s even for dom

yup, that was it. my rendererType was set to dom (not sure why). setting it to canvas brings the times down significantly.


4.10 downstream/upstream sync - first half

Attempts to sync the first half of #196
Superset of:

#201
#202

Subset of:

#196

/retest

Upgrade failing appeared to be due to some etcd instability. The single failure in the e2e suite is a known flake upstream.
/retest

/lgtm


Make Maze Solver Visualization

Left or right?
Generate a random maze and visualize how a pathfinding algorithm (like A* or BFS) solves it in real time.

Assign me please . I am working on this .

Please check created maze_solver_visualization.py #96 for issue #66


Add Token Caching Identity documentation.

API change check
API changes are not detected in this pull request.


Add the sidenavbar in the default.vue so it is global for all pages like the navbar.

ASSIGNED TO YOU !

Thanks


bump electron version

this PR updates Electron to use the newest version. :)

For reference it was on 0.36.7 because audio device listing was broken until 0.36.10 and the prebuilts for that were released literally a few hours before release so I didn't have time to test.
I'll see what happened on travis and then probably merge this

Actually I'm going to close this as this patch bump has no effect on the player.  I'll wait for the minor bump before updating


Usage in TabBarController

Can I use this inside a UITabBarController?

This is already a confirmed bug, check issue #102. No solution has yet been published by Mazyod but I found a fix that may be used if you would like to use it in a TabBarController. Remember that the fix was written for my own app to use TLYShyNavBar and may not work with your solution (depending on how your view is constructed). Here is my solution that i wrote as a comment on issue #102.
"Writing a comment about a possible fix/workaround for this issue. I haven't had the chance to test the solution perfectly so use the fix at your own risk. What I have tested is that the solution doesn't break anything else in the demo app and it is because of that reason I decided to comment the solution.
In the file "TLYShyScrollViewController.m", just after setting "insets.top = normalizedY;", allocate the insets bottom parameter aswell to 0. In other words, after "insets.top = normalizedY;", add "insets.bottom = 0;"
This worked for me in my own app, aswell as in the demo app provided by Mazyod."

Thanks by the way. I did what you suggested, but then the nav bar will not scroll up anymore.

Hmm, strange. Must be your setup then, because it worked for me in my own app aswell as in the demo-app. Have you tried the fix on the demo app? Did or work? Sorry that i cant be anymore of a help, it's hard to help you without any line of code im afraid.

Well, my table view is inside a navigation controller which is inside a tab bar controller.
I tried the fix by adding "insets.bottom = 0;" inside the TLYShyScrollViewController.m itself.
Please take a look at the FeaturedViewController.swift in my project:
Cineko


[Question] Injecting Rows and Columns on the fly?

What is your enhancement?
I'm using this boilerplate in conjunction with websocket as a dashboard for various backend scripts. Sometimes I want to inject results in DOM. I can do that using conventional methods, ofcourse. But it would have been so much more confortable to keep using the concepts of  and  for it.
I wonder if it's possible and if it is, then a few examples wouldn't harm in the documentation.

Hello there, @cthae ,
Unfortunately, I do not know how to help you in this matter.
I Will leave the issue open for 30 days, and if no one will be able to help you, I will close it.
Best,
Manu


Update start page (based on Jay's edits)

Continuation of https://github.ibm.com/IBM-Q-Software/iqp-channel-docs/pull/794

@jaygambetta to make it easier, see the preview of the page here: https://qiskit-docs-preview-pr-73.1799mxdls7qz.us-south.codeengine.appdomain.cloud/start

This would be my suggestion for dramatically cutting down the intro of this section while still keeping the utility tone:

The quantum community has explored quantum computing on the cloud since 2016.  Now the community has a new challenge: demonstrate useful quantum computation.
Through IBM Quantum, you can leverage performant and utility-scale (>100-qubit) quantum systems for your work, accessible using scalable and flexible quantum software. Whether you try out a no-cost plan or run your programs through a pay-as-you-go or premium plan, you can start doing useful work with quantum computing.
The sections at the core of our documentation are based on the stages of a typical quantum user’s journey. One where
you build quantum circuits and operators in Qiskit, then transpile and run on quantum systems using Qiskit Runtime primitives, a simplified interface for circuit execution. By pairing Qiskit with Qiskit Runtime, you benefit from seamless circuit execution powered by advanced runtime compilation, error suppression, and error mitigation techniques.
If you’re just getting started with IBM Quantum, you are in the right place. Use the topics in this section to get ready, then proceed to Build to create your first quantum circuit. Keep working through the sections in order, following the tabs at the top of this page.
etc. etc.

I liked some of the stats/references about the reliability of the hardware, but I think that shoutout could be moved to the intro of the run section. I also like the open source stats too, but think it could be better highlighted in a dedicated "What is Qiskit" page


Add explicit resolution capabilities to bsp

buildTarget/dependencySources is one of the most important requests in BSP. dependencySources allows language servers to manage dependencies' indices and provide language features like syntax highlighting, code navigation and autocompletions. These features are supported for both the projects of a build and the library dependencies (when you go to the definition of a method in a library, you want to be able to go to definitions of its body).
To achieve this full experience, IDEs extract all source/doc jars of the build via their custom integrations (think sbt, maven or gradle integrations in IntelliJ) and index the source code. This is a slow process that makes the "import project" experience poor. When developers clone projects and import them, the process can take easily more than 10 minutes because the build tool needs to download all jars (whose size can be in the order of GB for a medium-sized Scala project).
All Scala developers that want to contribute to a library for the first time need to go through this expensive process. I've noticed that in my case I've tried hard to avoid cloning projects locally and preferred making changes via the github interface to avoid the wait, but ultimately made the contributing experience even slower without the help of a local IDE to compile and browse.
A better solution
The problem here is that the download of jars (binary, source and docs) happens upfront when the user clicks "import project" in the IDE. In most of the cases, the download of source and doc jars are not necessary because users will most likely never browse all dependencies of a project!
I think we could address this problem by making the source and doc jar resolution lazy and letting the language server handle it. dependencySources would be free not to return any source jars, and IntelliJ, metals or Dotty IDE would ask the build tool to resolve the jar of a dependency when the user opens up a file that hasn't been indexed.
This approach will save disk space in people's computers and save time when doing the full import project in the IDE.
This enhancement would require the addition of a ResolutionProvider and a buildTarget/resolve endpoint (similar to `buildTarget/dependencySources). This endpoint would take a list of URIs (binary jars) and return a list of (resolved) source jars. The idea is that the build tool will only resolve the source jars for the requested binary jars. We may want to make some parts of this language-specific.
/cc @jastice

I am not convinced this is a good idea. Sources are used for more than goto definition, you need to sources to index docstrings and I think (but not 100% sure) IntelliJ scala uses sources to find parameter default values

Additionally, users expect goto definition to respond instantly so adding a several second delay to that experience would be a shame.
However, I think BSP already improves on the state of art by separate dependency sources into a custom endpoint. This allows IDEs to get critical information first (unmanagedSources, dependencyClasspath, ...) and then later fetch sources.

I am not convinced this is a good idea. Sources are used for more than goto definition, you also need sources to index docstrings and I think (but not 100% sure) IntelliJ scala uses sources to find parameter default values

That's implementation specific, I don't think it makes a good case against this feature. For example, parameter default values could be obtained from scala signatures in bytecode.

Additionally, users expect goto definition to respond instantly so adding a several second delay to that experience would be a shame.

Browsing dependencies code is not something that is done often, and so having to resolve all jars and have a slow import project that downloads the whole universe just to satisfy a feature it might not even be used is a pity.
I would prefer we optimize the IDE experience for the features that are used most, like a JIT only optimizes the code that is most executed.

Additionally, users expect goto definition to respond instantly so adding a several second delay to that experience would be a shame.

There are trade-offs and this is a one-time cost. The UI could show a nice progress bar saying it's resolving the jar. I think this is better than waiting minutes to import the project.
Another point in favor of this feature is that IntelliJ can use it to replace the current "Attach Sources" popup window that happens when you browse a dependency that doesn't have sources. Instead of showing that and asking the user to manually select the source jar for that dependency, IntelliJ can ask the build tool about it and the user just needs to wait and not think.

I see what you mean. I agree this might be a good idea, and one example of how client/server may be better than eagerly persisting all information to JSON/XML on disk. I would let it wait for a future version of BSP (maybe v2), I suspect it requires custom work on both sides (IDEs + build tools) to make this feature work well.

Agree, it would take some extra work on our side as well to support on-demand sources, considering they are also used for documentation. I do think a second-or-so delay is okay for intial resolving of a single source. We would have to see how it works out for large source artifacts.

@jastice With the existing protocol, would IntelliJ be able to defer the dependencySources query to a second pass, i.e. import the project without them, letting the user start editing, and then ask the BSP server for the dependency source JAR download?

@retronym technically yes, there even is an existing mechanism for first pass/second pass import, but we effectively skip the first pass so that the user can start editing even if the server fails completely. Adding a third pass to this might be more complicated though, and would be more resource-consuming. Partial updates of imports and attaching sources later is also possible, but makes things more complicated, too.


The dtype argument is deprecated and will be removed in late 2024.

AnnData will eventually drop the dtype argument to its constructor.

fixed in tables


Page unresponsive

After the steps in #22
Navigate to Sign Up
Activate Sign Up button
System displays Accounts page
Press the browser back button
Press Sign Up button again
Pressing the Link your GitHub account button results in 504 Gateway Time-Out (nginx/1.4.6 (Ubuntu)

unable to recreate
likely a small outaged of NodeJS


[Suggestion] Stick your baubles into Botania's "cosmetic" system

Rather, let them have cosmetic overrides. Mostly I am just imagining still being able to wear my Red Glasses, but it's secretly actually a Collar of Pain.

Sounds good.  Will try and make this a thing.
Having a kinky collar appear on the character also sounds appealing. x3

Sounds good.  Will try and make this happen.
Having a kinky collar model for the collar sounds good too. x3


Remove --repeat argument from patrol test

patrol test's  --repeat argument is no longer functional after #1004.

Fixed by #1294.


fix: changes in the query selectors

This request is broken.
Uncaught TypeError: Cannot read properties of null (reading 'style')
Line 184.


ERROR while compiling

I keep getting
ERROR: LoadError: UndefVarError: Postgresnot defined Stacktrace:  [1] include    @ ./client.jl:478 [inlined]  [2] top-level scope    @ /primal-caching-service/load.jl:16 in expression starting at /primal-caching-service/src/app.jl:1 in expression starting at /primal-caching-service/load.jl:1
Any solutions for this?

hi! this repo will be archived soon. the latest development is done in https://github.com/PrimalHQ/primal-server . that repo is not ready for easy deployment yet - but it will be soon. i'll let you know though this PR when it's ready. best regards!

can’t wait thanks 🙏

is it still ongoing ?

hi! we updated README with instructions how to start the latest version of primal-server. see this repo: https://github.com/PrimalHQ/primal-server  let me know if you have issues running it.


Computed bindings are not updated when using polymer's this.push to add elements

http://jsfiddle.net/3e3d8kzz/4/
In the example, the computed binding only updates when resetting the array using line 10-12 in the example.

This computed binding selected$="{{computeInArray(selected, item)}}" only recomputes when the property itself changes. To observe array changes, you can use selected.* or selected.splices:
http://jsfiddle.net/3e3d8kzz/1/

Can you please post an example? I think your jsfiddle url links to my example.

Sorry, not used to jsfiddle. Here it is:
http://jsfiddle.net/b4gdksu4/2/
I'm sure this could be more efficient, but it works. More information on observing this kind of change:
https://www.polymer-project.org/1.0/docs/devguide/properties.html#deep-observation

Thanks it works great!


Include standard classification along with sector names

From Lauren McNicoll,
On the page titled ‘Bank: company exposures’, NACE codes (or other standard classification) could be provided in addition to sector names

@benkirl do we have the NACE codes for the sectors, we can add as text or tooltips

Added


Too many open files durin state sync

What is wrong?
After some time (days) the state sync stalls and log is full of these:
DEBUG  11-18 20:55:36       StateDownloader  Task failure traceback
Traceback (most recent call last):
  File "/home/ubuntu/py-evm/p2p/service.py", line 141, in _run_task_wrapper
    await awaitable
  File "/home/ubuntu/py-evm/trinity/sync/full/state.py", line 218, in _request_and_process_nodes
    await self._process_nodes(node_data)
  File "/home/ubuntu/py-evm/trinity/sync/full/state.py", line 134, in _process_nodes
    await self.scheduler.process([(node_key, node)])
  File "/home/ubuntu/py-evm/trinity/sync/full/hexary_trie.py", line 227, in process
    await self.commit(request)
  File "/home/ubuntu/py-evm/trinity/sync/full/hexary_trie.py", line 237, in commit
    self.nodes_cache[request.node_key] = b''
  File "/home/ubuntu/py-evm/eth/db/backends/level.py", line 51, in __setitem__
    self.db.put(key, value)
  File "plyvel/_plyvel.pyx", line 331, in plyvel._plyvel.DB.put
  File "plyvel/_plyvel.pyx", line 88, in plyvel._plyvel.raise_for_status
plyvel._plyvel.IOError: b'IO error: /tmp/pyevm-state-sync-cachehygvcf44/006748.ldb: Too many open files'
 WARNING  11-18 20:55:36       StateDownloader  Task <coroutine object StateDownloader._request_and_process_nodes at 0x7f9011ec6b48> finished unexpectedly: b'IO error: /tmp/pyevm-state-sync-cachehygvcf44/006748.ldb: Too many open files'

This was reported before: https://github.com/ethereum/py-evm/issues/524
How can it be fixed
:see_no_evil: :hear_no_evil:

I suspect we may have to tweak our leveldb settings.
https://plyvel.readthedocs.io/en/latest/api.html#DB
I'd go look at the settings go-ethereum is using for it's database.

Correct! I just looked briefly into this (because it's the end of my working day) but if anyone wants to take a stab at it, Here's what I believe geth does:

Figure out the max open file supported by the OS per process

Reserve half of them for LevelDB https://github.com/holiman/go-ethereum/blob/ec28a58cc1cc1671a09061d5aa24d1c4c9c77b9f/cmd/utils/flags.go#L716-L730

Pass that to level db on init https://github.com/ethereum/go-ethereum/blob/d31f1f4fdb905acb3d7c766683e584bb17f8df0d/ethdb/database.go#L77

Notice that OpenFilesCacheCapacity is essentially  MaxOpenFiles
https://gitter.im/ethereum/go-ethereum?at=5547e9e1dfe856bc1179d8c7


Fix missing empty vars in $repeat while macro expansion

This PR fixes a bug we forget to collect an empty vars in $repeat patterns.
Related issues: #1240

bors r+
@edwin0cheng i continue to be amazed by the progress you’ve made with macro expansion, thanks!


[flink] support history partition compaction in dedicated compaction job.

Purpose

Linked issue: close #xxx

If a partition has not received any new data writes for an extended period, we consider it to be a history partition. To further reduce the number of small files, it is necessary to perform a full compaction on history partitions.
This pr is to support doing a full compaction for history partition with a dedicated compaction job. Compared to dedicated compaction before:
you can set history_time, if a partition don't receive any new data for history_time, it will be full compacted.
note: this feature is only supported in batch mode.
Tests

CompactDatabaseActionITCase#testHistoryPartitionCompact
API and Format

Documentation

Document this.
Support table compact too.
Support Spark SQL too.
Maybe we should find a better name for the new arguement.


TabView does not scroll horizontally when too many tabs

The issue is likely that the frame is fine but the tab bar is too wide..
various standard solutions:

elide more text in tabs
have scroll arrows
have a menu of non-visible tabs
write Flow layout and use that -- this was the original plan and still probably the best?

added flow layout -- works great!


larch -m not working under macOS Catalina

@newville I got a report from a user who is not able to run xas_viewer from the desktop icons under MacOS Catalina 10.15.6.
I recommended using larch -m to fix it. The command runs smoothly without errors and no effect at the end.  Nevertheless, the user can correctly run xas_viewer from the terminal once  $HOME/xraylarch/bin is added to PATH in .zshrc.
I do not have access to any MacOS machine, and no idea how/if you could reproduce this from your side. Anyway, this is not urgent. I put it here just to keep track of it.

@maurov thanks.  "larch -m" works for me on MacOS Monterey (and using zsh as the default shell).  I doubt that Catalina would actually be different  - it did work for me, and I don't know what would have changed there.
Feel free to have that user contact me, either here or by email.

@newville this is a low priority thing, because the user can run xas_viewer from the terminal. So I close the issue.
Anyway, if you are curious to dig it more, it seems that the other applications launch correctly, while xas_viewer not. I put here the  Larch directory, but I do not see anything different in the bash scripts.

@maurov Thanks - that's really odd.  All of those look OK, but the bash script has what looks like sort of recursive settings for paths, like
export PYTHONEXECUTABLE=/Users/blanchecollin/xraylarch/python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../bin/python
export EXE=/Users/blanchecollin/xraylarch/python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/../../../python.app/Contents/MacOS/python

I don't see that, but maybe that is the problem (or the path is too long?).  I'll see if it is easy to fix that.


Image in webview on Android not shown

[ X] Review the documentation: https://facebook.github.io/react-native
[ X] Search for existing issues: https://github.com/facebook/react-native/issues
[ X] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 499.04 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.0.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
Build Tools: 27.0.3, 28.0.2
API Levels: 19, 21, 22, 23, 24, 25, 26, 27, 28
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.4.2 => 16.4.2
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description
I am using a webview to display custom html taken from Cloud FireStore. In some cases there is an image in that html. On iOS the image shows, but on Android the image is not shown. I just get the alt text.
This is the image tag inside the html:
<img src="https://firebasestorage.googleapis.com/v0/b/sjaloom-connect.appspot.com/o/images%2Fdcf8ab78-e98f-46db-bdae-eab7b18ded1a.jpg?alt=media&token=e654671a-4320-464a-b1fd-7236170d48f7" alt="undefined" style="float:none;height: 100px;width: 120px"/>
Is this a bug in webview or is there a setting I miss.

Please try https://github.com/react-native-community/react-native-webview and file a bug there if you have issues. Thank you

Thanks, I have updated to the latest version for react-native. Issue still occurs.
And I am using: react-native-webhtmlview, which is using webview fro react-native directly.
It should be something in the webview component.

Hereby the updated react-native info:
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 24.10 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.0.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
Build Tools: 27.0.3, 28.0.2, 28.0.3
API Levels: 19, 21, 22, 23, 24, 25, 26, 27, 28
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
react-native: 0.57.4 => 0.57.4
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

Webview will be removed from React Native and it's recommended to use
react-native-webview, which is fork of RN webview but greatly improved.

ok, have installed react-native-webview and updated my code, but the result is still the same.
Image not shown. I use inline html (loaded from Firebase Firestore). And it works on iOS, but Android has an issue displaying the images.

I will post this same issue on their issues board as well.

I also met this problem.


better inactive screen, better indicator states, less crashing

Knowing that the simple colours for indicator state was a starting point, this PR expands on the original idea.

some custom PNGs for the different states
adding the fonts from the old scoreboard, for playing around with the look
dynamic time/date inactive screen (code from the orig scoreboard for the most part)

Also made more things async and async-safe.  Discovered that print statements are cpu-heavy.

Need to update the docs...


Client certificate credentials not recognized

I'm hoping another user can help me out with this one.  This may not be the correct place to be asking the question, because I'm not sure if I'm doing something wrong with my certificates or if I'm doing something wrong with MQTTnet, but here it is anyways.  I'm trying to connect to test.mosquitto.org's 8884 port that requires a client certificate.  I've done the following things:

Generated a private key:

openssl genrsa -out client.key

Generated the .csr:

openssl req -out client.csr -key client.key -new

Used test.mosquitto.org/ssl/ to generate the certificate using the .csr

Merged the key and certificate into a .pfx:

openssl pkcs12 -export -in client.crt -inkey client.key -out client.pfx

Set the certificates in the TLS options of MQTTnet:

List<byte[]> certificates = new List<byte[]>();

X509Certificate trustedCertificate = new X509Certificate(settings.TrustedCertificatePath);
certificates.Add(trustedCertificate.Export(X509ContentType.SerializedCert));

X509Certificate2 pfxCertificate = new X509Certificate2(settings.PfxCertificatePath, GetSecurePfxPassword(settings, encryptionService));
certificates.Add(pfxCertificate.Export(X509ContentType.SerializedCert));

MqttClientOptionsBuilderTlsParameters tlsOptions = new MqttClientOptionsBuilderTlsParameters();
tlsOptions.Certificates = certificates;
tlsOptions.SslProtocol = ConvertSecurityProtocolString(settings.Protocol);
tlsOptions.UseTls = true;
tlsOptions.AllowUntrustedCertificates = true;
tlsOptions.CertificateValidationCallback += CertificateValidationCallback;

options.WithTls(tlsOptions);

But when I run this, I get the following error:

The credentials supplied to the package were not recognized

I am using a password in the .pfx, but I have verified that the password is correct and that I get a different error if the password is incorrect.  As a shot in the dark I tried installing both certificates to my local computer as well as my user account, but this didn't work.  Has anyone else seen this before, and if so what am I doing wrong?

If I grab the certificate from the store rather than the file system, it hangs rather than errors out.  But, now it at least gets far enough to where it's calling my certificate validation callback so it's progress.  Although I don't see why it wouldn't work to point to the .pfx in the file system rather than the store.
X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadOnly);
X509Certificate2Collection certs = store.Certificates;
store.Close();
X509Certificate2 pfxCertificate = certs[2];

If it helps someone in the future, the trick that got it working for me was to use
X509KeyStorageFlags.PersistKeySet
when loading a client certificate from the file system.

Awesome. Thank you man! Helped me a lot!


the hover style for the “Which account?” row on the Transfer Balance doesn’t stretch to the full width of the sidebar

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

Action Performed:

Open app
Navigate to Settings >Payments > Transfer balance
Select account to transfer

Expected Result:
Transfer Balance should stretch to the full width of the sidebar
Actual Result:
Transfer Balance doesn’t stretch to the full width of the sidebar
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.40-0
Reproducible in staging?: Y
Reproducible in production?:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1644856613044179
View all open jobs on GitHub

Triggered auto assignment to @TomatoToaster (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Oooh nice catch, this can definitely be external.

Proposal
Proposing in reference to slack thread.

Remove the padding from content on this ScrollView https://github.com/Expensify/App/blob/3e674c42b27340b678ebc5f051395bc0e6c92cfe/src/pages/settings/Payments/TransferBalancePage.js#L194.

Then add the padding to the content above and below the which account menu item https://github.com/Expensify/App/blob/3e674c42b27340b678ebc5f051395bc0e6c92cfe/src/pages/settings/Payments/TransferBalancePage.js#L221.

Triggered auto assignment to @JmillsExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Whoops! This issue is 2 days overdue. Let's get this updated quick!

Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Looks good. @parasharrajat I saw from your message in the slack thread that you were going to fix this, shall I assign it to you?

This is not a regression so I think it would be a new job but you you can assign it to me. I will create the PR asap.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (Exported)

Triggered auto assignment to @Luke9389 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Perfect. Upwork job here: https://www.upwork.com/jobs/~01db3b53d2522d24ed

PR is ready.

I guess you've got the 🟢 green light 🟢 for that PR there, @parasharrajat 😅

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.1.42-6 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/7949

If no regressions arise, payment will be issued on 2022-03-22. :confetti_ball:

Settled the contract! 👍


RSS feed for updates

Could include all sorts of stuff

Link to app store
Link to commit
List out features
Call out contributions

Maybe make a bot that automatically posts to the GitHawk Twitter account?

Do we still need this now that we have https://github.com/GitHawkApp/Release-Notes?


Hi Everyone,

Hi Everyone,
I'm planning to enable Azure AD on APIM instance, to make sure Azure AD users to login the New Developer Portal.
From the various documents I've seen once Azure AD enabled then Legacy Developer portal will get the option "Sign-in with Azure AD"
But not sure on how to get that option on New Developer Portal - Could someone help me understanding this and gimme some options on this.
Also I need to know is there any impact with the existing users on APIM Instance with Auth Type : Basic, Azure - Please help me

@anil8623 Could you please help us with the document/article link you are referring to while facing this issue?

I've not got any useful document or article for this, because on APIM new developer portal there is no much documentation available.
So if you can see from APIM instance > portal overview > Developer portal > there will be a option to enable Azure AD
So once I enable this I know the users available on Azure AD can be able to login APIM developer portal.
Here if my users login to Legacy Developer portal then no issues - there will be a option "Sign in with Azure AD"
But in my case we are using New Developer portal which is fully customised, so how I can get the option "sign in with Azure AD" in new developer portal.
Please help me on this

@vladvino FYI feedback from customer on API management documentation.
@anil8623 Technical support on GitHub is limited to documentation issues only.
Please post this issue on Microsoft Q&A for better visibility to other community members who may have experienced a similar issue

@anil8623 We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Build the style guide (Components: Dropdown and SearchBar)

The design team has built the Style guide, which can be found here.
This issue is a chunk of #4, ensure to check it first.

Build the Dropdown and SearchBar component similar to the design and document all classes used
Build with great focus on all states and responsiveness.

Assign to me


Package path ./generated is not exported from package

I had to add this to package.json because I am unable to use latest version:
"npm": {
    "overrides": {
        "@opentelemetry/api": "1.4.1",
        "@opentelemetry/core": "1.13.0",
        "@opentelemetry/exporter-trace-otlp-grpc": "0.39.1",
        "@opentelemetry/resources": "1.13.0",
        "@opentelemetry/sdk-trace-base": "1.13.0",
        "@opentelemetry/sdk-trace-node": "1.13.0",
        "@opentelemetry/semantic-conventions": "1.13.0"
    }
}

Then the above error popped up. I have followed the guide on getting started section. Anyone facing this issue?
I am using nextjs 13.4.10 with app router.

Which OS are you using?

Windows 10, why?

Duplicate of #506


Left rotate an array k times

i would like to work on this.Can you please assign me?

@Ajit-53  You may start working on this and open a PR once done. Make sure to follow all the points of the contribution guidelines.

i have one doubt regarding this  i know bruteforce and most optimize
algorithm too.. what i have to submit both are most optimize..thanks for
your response.
On Sun, Sep 27, 2020 at 11:28 AM Amritansh Vajpayee <
<EMAIL_ADDRESS>wrote:

@Ajit-53 https://github.com/Ajit-53 You may start working on this and
open a PR once done. Make sure to follow all the points of the contribution
guidelines.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/issues/57#issuecomment-699590303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKWXI3UCXOXH4K7CVMRTBD3SH3IBLANCNFSM4R3JZYRA
.

@Ajit-53 You should definitely summit the optimized one.

@Ajit-53 Are you still up on this issue?

yaa i am working on this issues..since it is a part of  Hacktoberfest2020 . i will send a pr request between 1 to 31 october.

please assign this issue to me..my code is almost ready.

@Ajit-53 It is already assigned


The Cmd Prompt instantly close when i run the file

When i run MudaeAutoBot.py it just open the cmd prompt then instaly close it

havent recieved respone assuming issue has been self-resolved

Ran it in IDLE and this is what it shows

= RESTART: C:\Users\amanm\Desktop\Automation\Bots\MudaeAutoBot-main\MudaeAutoBot-main\MudaeAutoBot.py
Traceback (most recent call last):
File "C:\Users\amanm\Desktop\Automation\Bots\MudaeAutoBot-main\MudaeAutoBot-main\MudaeAutoBot.py", line 29, in
settings = json.load(jsonf)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 5 column 4 (char 150)

Show setting_.json I think you have a trailing comma somewhere
Plz black out user token b4 posting thanks you
Sent from my iPhone

On Jun 25, 2021, at 5:51 PM, NL1693 @.***> wrote:

Ran it in IDLE and this is what it shows
= RESTART: C:\Users\amanm\Desktop\Automation\Bots\MudaeAutoBot-main\MudaeAutoBot-main\MudaeAutoBot.py
Traceback (most recent call last):
File "C:\Users\amanm\Desktop\Automation\Bots\MudaeAutoBot-main\MudaeAutoBot-main\MudaeAutoBot.py", line 29, in
settings = json.load(jsonf)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 5 column 4 (char 150)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.


Tests corresponding to test_memcached_cache.py file are failing on the Linux platform.

I am building and testing cachelib on the Linux platform. I have followed the below steps to build and test cachelib:
BUILD STEPS:
$ git clone https://github.com/pallets/cachelib
$ cd cachelib
$ python3 -m venv env
$ . env/bin/activate
$ pip install -e . -r requirements/dev.txt
$ pre-commit install

TEST STEPS:
$ pytest

Build is successful, but tests corresponding to test_memcached_cache.py file are failing. Below is the short test summary after pytest:
E  TimeoutError: The provided start pattern server listening could not be matched within the specified time interval of 120 seconds

env/lib/python3.9/site-packages/xprocess.py:284: TimeoutError
======================================================== short test summary info ========================================================
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_clear - TimeoutError: The provided start pattern server listening could ...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_set_get - TimeoutError: The provided start pattern server listening coul...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_set_get_many - TimeoutError: The provided start pattern server listening...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_get_dict - TimeoutError: The provided start pattern server listening cou...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_delete - TimeoutError: The provided start pattern server listening could...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_delete_many - TimeoutError: The provided start pattern server listening ...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_add - TimeoutError: The provided start pattern server listening could no...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_inc_dec - TimeoutError: The provided start pattern server listening coul...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_expiration - TimeoutError: The provided start pattern server listening c...
ERROR tests/test_memcached_cache.py::TestMemcachedCache::test_has - TimeoutError: The provided start pattern server listening could no...
========================================= 34 passed, 1 skipped, 10 errors in 137.85s (0:02:17) ==========================================

Please find the detailed error logs here: cachelib_memcache_failing_tests_logs.txt
Memcache was not installed on my system, so these tests were getting skipped.
Then I successfully installed memcache, libmemcached-dev, zlib1g-dev, libmemcached-tools, memcached from the apt repo; and installed pylibmc, pymemcache and python-memcached using pip. But the issue is always the same, tests are failing.
I have restarted and checked the memcache service using service memcache restart...tests are failing even after memcache is in active state.
Can you please provide me with the pointers on how to pass these failing tests?
Please guide me if some more information is required.
Environment:

Python version: 3.8
Cachelib version: master branch

I have just tests this on Fedora, Ubuntu, MacOS and Windows and wasn't able to reproduce the issue. Apparently, pytest-xprocess is failing to match the given process starting patter, when this happens it's usually an issue with the environment so we will have to find out what is wrong. Could you please post the version of memcached installed in your system (memcached --version) and of all the python packages installed in your virtual environment (pip freeze command)? One other thing, are you able to start memcached manually in your shell with memcached -vv? Also, i'll need to know which linux distro you are on, since I'll mirror your environment using docker and try to reproduce the issue there. @odidev

Hi @northernSage .....Thank you for the response.
I ran the build and test commands in a Sudo user mode, and now all tests are passing. I think the issue was in running commands as a root user.
I will close this issue now as the tests are passing.

ran the build and test commands in a Sudo user mode

Absolutely never do this, for this or any other library. Installing to the system (as root) should always be a separate step from building or testing, neither of which need root.


make generate: 2021 edition

Frankly, I don't know why it is needed to make generate just because a
new year started. But clearly it blocks unrelated PRs.
Signed-off-by: Dan Kenigsberg<EMAIL_ADDRESS>NONE

/retest
/lgtm
/approve

/retest
/lgtm
/approve


[FLOC-4231] - create build scripts for golang and python unity

Unified the golang and python build, test scripts and tooling.
To use
go get github.com/ClusterHQ/dvol/

// create a virtualenv for python dependancies
virtualenv env
. env/bin/activate

// installs all of the golang and python tooling
make bootstrap

// build
make build

// tests - run the python tests using the golang binary
make test

// verify the golang code meets the standards for the ci
make verify

Thanks! This is the first time I've seen a Go build get set up, so I have a few questions. Please bounce back for another review before landing.

Seems good to me but I'll let @jml have the final word

Please address comment & merge.


Generate .psci file

It would be handy if a .psci file is generated.

:thumbsup: Yes please :)
I also want to thank you for creating purs-loader. I had a read through old issues and saw that you were at one point thinking of deprecating it, but as someone who prefers to use only webpack as their build tool, it's much appreciated that this exists.

Hope to add psci generation soon! And thanks for checking out the purs-loader. It's true I wasn't sure that it would fly originally, but I also prefer going the webpack-only route. Cheers!

Note: add an option to disable psci generation, but enable it by default.


Use .xcode.env properly instead of find-node.sh

Description
npm run ios inside the example directory currently fails with the following error:
Error: ENOENT: no such file or directory, open './node_modules/react-native/scripts/find-node.sh'

This is due to the find-node.sh script being renamed and deprecated in favor of using .xcode.env. This is described in this PR and the docs.
Checklist

[ ] I have tested this on a device/simulator for each compatible OS
[ ] I updated the documentation with running yarn generate in the root folder
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (index.d.ts)
[ ] I added/ updated a sample (/example)

@KiwiKilian can you rebase to current main? I think the lib/plugin is outdated and needs an expo plugin recompile. (Fixed on #main)

@mfazekas should be up-to-date with #main now.

Sorry @KiwiKilian, can you rebase once more? 😬 I'll merge right after. Thanks!

@naftalibeder no problem, done!


What's the state of OCaml Vulkan support?

Vulkan is a graphics API set to compete with OpenGL in the coming future. the Graphics tab under the Ecosystem heading doesnt mention it at all. how is progress in this area? (for instance, this project).

Vulkan is intended to provide a variety of advantages over other APIs as well as its predecessor, OpenGL. Vulkan offers lower overhead, more direct control over the GPU, and lower CPU usage.

a low-level graphics API plus OCamls HPC would be killer

Cool! AFAIK these are the first bindings for Vulkan. Looks like this code hasn't been released yet, but once it's released, it should definitely be added to Graphics.

I'm closing this because it's currently not actionable. The right forum for this is probably discuss.ocaml.org.


[PowerToys Run] Background on top of window when AccentColorInactive is set

Microsoft PowerToys version
0.87.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce

Set a custom accent color for inactive windows by adding the registry key AccentColorInactive (DWORD) in HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ with value ff262626.
Restart the computer to ensure that the change has taken effect.

This was not a problem prior to 0.87.0
✔ Expected Behavior
PowerToys Run window is not affected
❌ Actual Behavior
Accent color is visible through the window (even when focused)

Other Software
No response

I can repro this one. Not sure if it's fixable, but we should investigate. Thank you for opening the issue.


Add nvme module check to proceed with installation

get rid of useless tasks
add condition check for nvme module
change apt to package module for wide distribution support

Mapping script has been fixed due to issue with it


code_style: added more rules to flake8 and shellcheck

This patch is adding more code style rules for Python and enabling shellchecker rules for Bash code.
@juhlee-microsoft @simonxiaoss @lizzha let me know if I should add/remove rules.

@juhlee-microsoft that s why I asked you to confirm how many rules to be added. let me know and I will remove/add the ones that you prefer.

Ava and Tong can help on this. Since there're many errors, we need to split the fix into several PRs.

@juhlee-microsoft that s why I asked you to confirm how many rules to be added. let me know and I will remove/add the ones that you prefer.
That long line of rules are the excluded ones, as there is no way for the moment to include only the desired ones, we can only exclude them. pls check issue opened here: koalaman/shellcheck#1394

@ader1990 it is better for you to explain each rule in the PR and help others understanding why you proposed them. @lizzha team can handle each rule. Is it possible to post each rule's result in this PR instead of several PRs?

@juhlee-microsoft that s why I asked you to confirm how many rules to be added. let me know and I will remove/add the ones that you prefer.
That long line of rules are the excluded ones, as there is no way for the moment to include only the desired ones, we can only exclude them. pls check issue opened here: koalaman/shellcheck#1394

@ader1990 it is better for you to explain each rule in the PR and help others understanding why you proposed them. @lizzha team can handle each rule. Is it possible to post each rule's result in this PR instead of several PRs?

The explanations would be too long for this.
Those can be checked here for example, replace SC ID with the desired one.
https://github.com/koalaman/shellcheck/wiki/SC1000

Fix for flake8 done - see  PR 473

@ader1990 please resolve the conflict. I can merge this.

@juhlee-microsoft Don't merge this. We split this into two PR.
One is for python - #473 , it is merged.
The other is for shell check - code is ready, we are testing it locally, hopefully we can submit PR within this week.
Let know if you are clear now.

@ader1990 @LiliDeng how soon can you close this?

@juhlee-microsoft Today, we will create a PR for parts of them, since we can't run all scripts, like cluster cases etc.

@juhlee-microsoft Today, we will create a PR for parts of them, since we can't run all scripts, like cluster cases etc.

@LiliDeng @ader1990 any update of the completion ETA?

@juhlee-microsoft this PR will be updated after the refactor is merged

Part of the changes for shell are done in PR https://github.com/LIS/LISAv2/pull/546


User managment with provisioning tools

Hi,
what is the recommended way to manage users and databases using automated provisioning tools (like Ansible)?
I'm currently working on a provisioning script, which does the following (in an idempotent matter):

create admin user
for each user:

create database with same name
create user or set password
grant all privileges to user

Prior to execution of each step I have to query whether the thing-to-be-created already exists (by grep'ing through the output of, eg. show users). This, of course, is error prone and fails apart when the output format changes (even if that output was generated via influx ... -format csv).
Overall, this doesn't feel nice. Is there a better way?
—Dominik

@dmke I think your best option would be to use the influx commands JSON-formatted output. For example, you can get a JSON-formatted response with the users in the system by running:
influx -execute 'show users' -format json

And then throwing the output into whatever tool you are using (or just use jq) to extract what you need. The JSON output is not always pretty, but it will definitely beat attempting to scrape CSV or unformatted output.

Yeah, JSON would indeed be the format of choice, but when provisioning a database server (on any machine for that matter) i'd like to keep the complexity low (i.e. less dependencies = smaller attack surface), although this means that I usually have to resort bash scripts (I really need to improve my Python-fu, as Python is already present as dependency for Ansible...)
Ideally, I'd like to use some "influxdb_{user,db,priv}" modules, just like I could do with postgres_*. Do you know if something like that already exists?

@dmke No, unfortunately there aren't any Ansible plugins for InfluxDB available at the moment. That being said, I don't think it would be too hard to put one together since we already have a Python client available. I'm not familiar with what it would take to create an Ansible module with the existing Python client, but I'm assuming (maybe incorrectly) that it wouldn't be too difficult.

I see. Well, time to amp up my Python, I guess :-)
Just another question: Given http.auth-enabled set to true in the influxdb.conf, how can I create an admin user with a local shell (i.e. on the machine running the influxd binary), when the package was just installed?
I've encountered #2278 but that ticket seems to be stale.

@dmke You'll need to create a user prior to enabling authentication. The workflow should look like:

Install InfluxDB with default configuration
Start InfluxDB
Create admin with the influx CLI:
influx -execute 'CREATE USER admin WITH PASSWORD 'changeme' WITH ALL PRIVILEGES' (you can also use the HTTP API)
Enable authentication through the config
Restart the service
Authenticate with credentials above

It's not as ideal as the proposed solution in #2278, but it will work.

Well, thank you, anyway :-)


increment version to 1.3.0, and change Travis Xcode to 11.2.1

Background
increment version to 1.3.0, and change Travis Xcode to 11.2.1
Breaking Changes
None
Meta

Tied to Version Release(s):

PR Checklist

[ ] CI runs clean?
[ ] Appropriate label has been added to this PR (i.e., Bug, Enhancement, etc.).
[ ] Documentation has been added to all open, and public scoped methods and properties.
[ ] Changelog has been updated
[ ] Tests have have been added to all new features. (not a requirement, but helpful)
[ ] Image/GIFs have been added for all UI related changed.

I don't understand the Bundler version error I'm seeing from CI.  There's nothing in this change that looks to me to cause the error.
$ pod --version
1.5.3
4.83s$ bundle install --jobs=3 --retry=3 --deployment
You must use Bundler 2 or greater with this lockfile.

The command "eval bundle install --jobs=3 --retry=3 --deployment " failed. Retrying, 2 of 3.

You must use Bundler 2 or greater with this lockfile.

The command "eval bundle install --jobs=3 --retry=3 --deployment " failed. Retrying, 3 of 3.

You must use Bundler 2 or greater with this lockfile.

The command "eval bundle install --jobs=3 --retry=3 --deployment " failed 3 times.

The command "bundle install --jobs=3 --retry=3 --deployment" failed and exited with 20 during .

Your build has been stopped.