Refresh the manifest on load

I think there might be a good case for triggering a refresh of the manifest as you load the project (or actually generate it if it doesn't exist yet)
the dbt ls command generates the artifacts which should be the fastest way to get it.
One caveat I see is that if people are using dbt from a venv then we might have to find what that venv is. One solution perhaps is offer a config option where people point to the venv so that it can be activated. A bit like what the Python extension is doing for its formatters and linters.
That'd be super neat!

With the python you need to select the python interpreter and then it will trigger the venv activation on each new terminal. It seems to work already since we added the delay as the venv activation is triggered on each terminal creation asynchronously in the vscode python extension and we have to let the JS engine switch to the venv activation before we run our dbt command. Haven't tested this enough as I don't currently use a venv setup.
I think the compilation could be implemented as following:

Detect if the packages are installed, if not offer the option to run 'dbt deps', if yes go to next step
Detect if code is compiled, if not offer the option to run 'dbt ls'

What do you think about that?

Oh yeah that makes sense that you could piggie back on the python extension, might be a good idea to make it a requirement or prompt people to install it if they don't already have it.
Regarding the steps, yep makes sense. For point 2 would you check if something has been compiled at all or would you do something a bit more involved such as "there are new models and they haven't been compiled would you like to compile? or --looks like you haven't compiled anything for a few days, wanna refresh? (the second option which is simple could get annoying so maybe we'd have to give people a chance to shut up the message.
Regarding venvs and testing, do you want me to give it a go? Is there a version on a branch somewhere that I could try out?

Also, although I wouldn't be super fast, I'd be super interested in contributing to that functionality with a bit of guidance if you feel like it

Hey @bastienboutonnet ,
You could have a look at https://github.com/microsoft/vscode-extension-samples/tree/master/task-provider-sample/src
that explains how to:

Setup a task provider
How to execute a task when certain files have changed.


help

Error:
[Server thread/CRITICAL]: Error: "Class "cooldogedev\libSQL\context\ClosureContext" not found" (EXCEPTION) in "plugins/Perks-main/src/flxiboy/Perks/provider/BedrockEconomyProvider" at line 44

Code:
use cooldogedev\BedrockEconomy\api\BedrockEconomyAPI;
use cooldogedev\libSQL\context\ClosureContext;

        BedrockEconomyAPI::getInstance()->getPlayerBalance(
            strtolower($player->getName()),
            ClosureContext::create(
                function (?int $balance): void {
                    var_dump($balance);
                },
            )
        );

you'll have to use this import due to how poggit library packaging works.
use cooldogedev\BedrockEconomy\libs\cooldogedev\libSQL\context\ClosureContext;

ah okay thx <3

See how I did it in here, https://github.com/cooldogedev/EconAPIToBE/blob/main/src/cooldogedev/EconAPIToBE/command/ConversionCommand.php#L31.

See how I did it in here,

okay, I just looked at the /balance command


Revert "Update gitignore file"

Reverts ballerina-platform/ballerina-lang#8834

These two entries are not needed as these tests are no longer there


Webviews not rendering

Electron version: 0.37.1
Operating system: OS 10.11.3

In my app, I have several webviews that are hidden (using display:none), and then shown (by removing the display:none). Since upgrading to electron 0.37.1, the webviews frequently don't render after they are hidden and then shown. They still take up the right amount of space, and the devtools still show the page source, but the webview is just a blank white square. When the webview is reloaded, the page is rendered again. This worked fine in 0.36.x.
Unfortunately, I don't have any steps to reproduce yet. I'll try and see if I can come up with a testcase that shows the issue.

Try avoiding using display:block on them when you want to re-show them. Set their display to 'flex' instead and it should work fine

Thanks, but I don't use display:block. I have some CSS like this:
[hidden] {
     display: none !important;
}

To show and hide the webview, I add and remove the hidden attribute. When the webview is supposed to be shown, there are no styles changing the display other than the display:flex that electron uses as the default.

I think I can reproduce this by hiding, and then showing, the webview between when the did-start-loading and did-stop-loading events occur.

A reproducible example would help here.

Likely caused by the upstream. More information

I had the same problem with rendering issues when trying to hide a webview using display:none, probably caused by the upstream issue mentioned above.
Try hiding with with a style using "width: 0px; height:0px;" and avoid hidden and display:none.

Thanks for the sugggestions! Using visibility:hidden appears to solve the issue. After adding this, I haven't seen the issue reoccur.


Use utf8mb4 in connections (if available)

This pull request addresses #7158.
Basically we use utf8mb4 instead of utf8, so that we can use the full range of Unicode characters.
See each commit message for a more detailed description.
PS: this pull request sets utf8mb4 for new installations only, nothing changes (and nothing should break) for already installed instances at the moment.
I've almost ready the code to migrate existing installations, but it still requires some more time (if I'll finish the migration before this PR gets accepted, I'll add it code here).

Please wait before merging this. I have to change some code in order to be able to implement a migration for existing installations

At first when I looked at this I was thinking we were validating the charset and collation on every request rather than just on installation. It definitely makes sense to me to set this to utf8mb4 whenever possible, we've been using in composer based concrete5 for awhile now and it works great.
I still think it's worth reducing the complexity in a couple of spots here. If you're concerned about how much state you'd need to pass around, I'd recommend creating a simple service object to manage the two things or break the thing into two separate sql queries.

Oh really? I didn't know we can use utf8mb4. We (people using CJK characters ) really need it. There's no option to choose charset in install process, right?

@hissy at the moment, this pull request reads the preferred charset from $config->get('database.preferred_charset') and $config->get('database.preferred_collation')

Everything should be ready now.
If you run the following code with the c5:exec CLI command (save it as utf-8 file or use this attachment):
<?php

use Concrete\Core\Database\Connection\Connection;
use Concrete\Core\Support\Facade\Application;

$app = Application::getFacadeApplication();
$db = $app->make(Connection::class);

echo "### Connection info\n";
$rs = $db->executeQuery("SHOW VARIABLES WHERE Variable_name in ('character_set_client', 'character_set_connection', 'character_set_results', 'collation_connection')");
while (($row = $rs->fetch(PDO::FETCH_ASSOC)) !== false) {
    echo array_shift($row), '=', array_shift($row), "\n";
}

function testString(Connection $db, $title, $phpString)
{
    echo "\n### {$title}\n";
    $tempTableName = 'MyTemporaryTable';
    $r = $db->fetchArray('SHOW CREATE TABLE btContentLocal');
    $createTable = preg_replace('/^\bCREATE\s+TABLE\b/', 'CREATE TEMPORARY TABLE', str_ireplace('btContentLocal', $tempTableName, $r[1]));
    $db->executeQuery($createTable);
    $db->insert($tempTableName, ['content' => $phpString]);
    list($dbString, $dbLength, $dbSize) = $db->fetchArray("SELECT content, CHAR_LENGTH(content), LENGTH(content) FROM {$tempTableName}");
    $db->executeQuery("DROP TEMPORARY TABLE {$tempTableName}");
    echo 'Original string              : "', $phpString, '"', "\n";
    echo 'Original length (in chars)   : ', mb_strlen($phpString), "\n";
    echo 'Original length (in bytes)   : ', strlen($phpString), "\n";
    echo 'Length for MySQL (in chars)  : ', $dbLength, "\n";
    echo 'Length for MySQL (in bytes)  : ', $dbSize, "\n";
    echo 'String read back from DB     : "', $dbString, '"', "\n";
    echo 'Read string length (in chars): ', mb_strlen($dbString), "\n";
    echo 'Read string length (in bytes): ', strlen($dbString), "\n";
}
testString($db, 'Character encoded with 1 byte in UTF-8', 'a'); // encoded as 0x61
testString($db, 'Character encoded with 2 bytes in UTF-8', 'à'); // encoded as 0xc3 0xa0
testString($db, 'Character encoded with 3 bytes in UTF-8', '語'); // encoded as 0xe8 0xaa 0x9e
testString($db, 'Character encoded with 4 bytes in UTF-8', '🌵'); // encoded as 0xf0 0x9f 0x8c 0xb5
testString($db, 'Sample string', 'cac🌵us'); // encoded as 0x63 0x61 0x63 0xf0 0x9f 0x8c 0xb5 0x75 0x73

you should have this output:
### Connection info
character_set_client=utf8mb4
character_set_connection=utf8mb4
character_set_results=utf8mb4
collation_connection=utf8mb4_general_ci

### Character encoded with 1 byte in UTF-8
Original string              : "a"
Original length (in chars)   : 1
Original length (in bytes)   : 1
Length for MySQL (in chars)  : 1
Length for MySQL (in bytes)  : 1
String read back from DB     : "a"
Read string length (in chars): 1
Read string length (in bytes): 1

### Character encoded with 2 bytes in UTF-8
Original string              : "à"
Original length (in chars)   : 1
Original length (in bytes)   : 2
Length for MySQL (in chars)  : 1
Length for MySQL (in bytes)  : 2
String read back from DB     : "à"
Read string length (in chars): 1
Read string length (in bytes): 2

### Character encoded with 3 bytes in UTF-8
Original string              : "語"
Original length (in chars)   : 1
Original length (in bytes)   : 3
Length for MySQL (in chars)  : 1
Length for MySQL (in bytes)  : 3
String read back from DB     : "語"
Read string length (in chars): 1
Read string length (in bytes): 3

### Character encoded with 4 bytes in UTF-8
Original string              : "🌵"
Original length (in chars)   : 1
Original length (in bytes)   : 4
Length for MySQL (in chars)  : 1
Length for MySQL (in bytes)  : 4
String read back from DB     : "🌵"
Read string length (in chars): 1
Read string length (in bytes): 4

### Sample string
Original string              : "cac🌵us"
Original length (in chars)   : 6
Original length (in bytes)   : 9
Length for MySQL (in chars)  : 6
Length for MySQL (in bytes)  : 9
String read back from DB     : "cac🌵us"
Read string length (in chars): 6
Read string length (in bytes): 9

Thanks!

@aembler WOOT! :DDD xCitre!

Can we get this attached to 8.5.0 milestone please?


Off switch

This is a replacement of #918.
I waffled on adding a separate command to siac, because I wasn't sure what to name it. If you come up with a good name, I'll add it.

What about siac host pause and siac host resume?

I like those better than siac host on/siac host off. Let's see what david thinks

it's better than on/off, but pause/resume is still poorly named - the host when 'paused' will still service uploads and downloads, and will still respond to other types of requests as well

I think that the current siac implementation is okay.

If using the off switch won't be a common need then having a siac command for it is unnecessary. What are the common reasons a host would want to use the off switch?

Pretty much the only reason that someone would turn off the host is if they are planning on repurposing the storage at some point in the future. They'd want to finish out their current contracts and then get the space back.
I don't think it's a common use case. Siac should be able to disable the host, but I don't think a separate command is necessary.

Agreed. I think siac host set acceptingcontracts false is sufficiently intuitive. Of course, it will be more user-friendly in Sia-UI.

siac host set sounds fine to me.

though we might want to think about solidifying the siac commands along with the api, to preserve compatibility with bash scripts and stuff


Remove extra space

Checklist

[x] All new and existing tests pass
[x] I've read the Contribution Guidelines

Motivation and Context
Too much space

Awesome, let's leave this PR open so I can do some automation testing 👨🔬 🔬


[spirv] Add support for linking SPIR-V modules

Actually, Vulkan flavored SPIR-V does not have linking in the
conventional sense. For example, there is no cross-module symbol
reference and symbol resolution and such. It's more just combining
all SPIR-V modules into the one, with multiple entry points.
This commit enables combining multiple SPIR-V modules into one and
serialize it. Right now we only combine SPIR-V modules using the
same interface (i.e., binding layout). This avoids handling
different descriptor set layouts and it also is forward looking,
as we would like to have two level of linking/combining eventually.
Fixes https://github.com/google/iree/issues/3604

Depends on https://reviews.llvm.org/D106886.

I believe this broke the android build: https://buildkite.com/iree/iree-android-benchmark/builds/3044#71c2f059-35f6-4467-9e2d-f42f5c3d468e. Posting in the builds channel also


51 data relocate

relocate data
service added dynamically
added redux and create store

get Provider on the top app level


exposed http client for web sockets

Solution for certificate pinning for web sockets.
Solves #34284

@athomas it was such minor code, I just created a new PR.

This fixes #34284 by opening up the http client used in the web socket code, allowing users to add a custom Security Context and cert failure callback to the web socket.  Currently, the only solution is to create a global http override, which isn't an ideal solution.

Code review is https://dart-review.googlesource.com/c/sdk/+/200262

The signature of connect has been changed in the implementation but this PR does not seem to make the corresponding change in the 'abstract class WebSocket' code in websocket.dart.
Another question, the code could have set a userAgent using the 'set userAgent' method, now with the static variable _httpClient being changed to this new value, the getter userAgent would return whatever the new client has set. Not sure if this would be a problem, should the userAgent set previously be transferred to the new object ?

@a-siva
The abstract webSocket shouldn't need changing, it's only the connection part that needs to have the changes.  The abstract webSocket has the appropriate connections, it's literally the httpClient being a private final that is preventing any sort of certificate pinning.
As for the second question, the user agent would get replaced if the new httpClient contains a user agent, however if it doesn't, the user agent gets set to what ever the private http client was set to.
_httpClient = customClient..userAgent ??= _httpClient.userAgent;
I suppose another approach would be to allow the httpClient to have exposed getters and setters for the webSocket as well.  I'm not sure if that would cause an issue though as I have not tested that, but I can verify, at least for my use case, this method does work for certificate pinning.

Yes, only Googlers can trigger tryjobs at this time.
On Thu, 9 Sep 2021, 18:22 Alexander Aprelev, @.***>
wrote:

@.**** commented on this pull request.
In sdk/lib/_http/websocket_impl.dart
https://github.com/dart-lang/sdk/pull/46040#discussion_r705502916:

static Future connect(
String url, Iterable? protocols, Map<String, dynamic>? headers,

 {CompressionOptions compression =

     CompressionOptions.compressionDefault}) {

 {CompressionOptions compression = CompressionOptions.compressionDefault,

 HttpClient customClient}) {

//overriding _httpClient if user specifies a custom http client.
if (customClient != null) {

 _httpClient = customClient..userAgent ??= _httpClient.userAgent;

@athomas https://github.com/athomas do you know if this is by design
where PR authors are not able to trigger dry runs in Gerrit?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/pull/46040#discussion_r705502916, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYRJB6ZWBWWT3G6X3VGO2LUBDNLXANCNFSM45A4APRA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

thank you @rnewquist once again!

I noticed that the status files has a skip
io/web_socket_error_test: Skip # Flaky
for [ $compiler == dartkp && $runtime == dart_precompiled ]
The new tests added here do not run in precompiled mode, is that intended ?
It appears the fix for setting up the resources done in
https://dart-review.googlesource.com/c/sdk/+/213524
does not work for configurations that have a two step process,
see https://github.com/dart-lang/sdk/issues/47239


Crash when recording certain items to queue

It seems that some items cause a crash when Lost and Fished tries to add them to the fishable queue.
Specifically, the alternate eyes of ender from End Remastered cause it.
Crash report attached.
crash-2023-04-07_15.18.25-server.txt

It seems like those items can exist with 0 durability, which I didn't expect to be possible. Should be patched with the next update.


1.0.5

Do you have some thinkgs when 1.0.5 will be released?
How i see it (1.0.5-SNAPSHOT) already have several good fixes after last release (1.0.4)...

We plan to publish v1.0.5-SNAPSHOT at 2018-11-05 ，you can see commit message at master branch to know what 1.0.5-SNAPSHOT changed. If you want to see a change log, please wait for 1.0.5 release.


[release-1.9] Fix unlimited retry when namespace is deleted earlier

This is an automated cherry-pick of #34555

@googlebot I consent


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In cdf1278, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 19738 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in 8c0969c after 11 minutes.


Crash in version 2.6.13

Hi Team,
We tried updating library to latest available version on web-site. (2.6.13).
App is crashing when we move activity to background.
Please help if I'm missing something.
Note: Using Zebra DS9308 scanner in SNAPI mode.

This is a duplicate of #9. Look there for workarounds.

Thanks !!


Clean up chat messages of special line characters prior to sending

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description
If you add a command that contains a new line in the message, it does not correctly send the message. It will only send the first line of the command. The issue does not occur if you manually input the message with new lines into the chat box and hit send. This behavior only seems to occur with commands.

For example, if you have a command set to the following (including the new line):
This line will be sent.
This line should not send.

The solution I found was to remove the new line characters from the message. Instead of removing it from the command itself when users add or update a command, it might be best to do so prior to sending the message as done in this PR. Also, I wasn't sure if messages would have a difference between \n and \r\n depending on their OS, so I found QString::simplified to be useful as it replaces escape characters with a space. This way ascii arts shouldn't be affected either, and text messages would be more readable too (no added space versus an added space).

Thanks for your contribution @Infinitay! As a first-time contributor, you can now add yourself to the contributors list that's shown inside the application.
To do so, open a new PR where you modify the resources/contributors.txt file and add yourself to the list. Make sure to read the comments at a top for instructions.


Bones game object mappings are lost when a state machine is running

Using rive.get_go() works on a Rive model only when no state machine is running. Once the state machine is started, two things happen:

Any game objects that were attached to bones lose their parent and are repositioned within the scene.
Using rive.get_go() now crashes, or returns ERROR:SCRIPT: main/main.script:19: the bone 'left_hand' could not be found.

Minimal project (including .rev file so the scene can be opened in Rive):
BoneToGameobject.zip
--
Rive extension 3.6.0
Defold 1.9.6
macOS 14.6.1 (Sonoma)

Video below. Expected behaviour is that the food stays attached to the left hand bone.
Once the state machine starts, the fruit gets removed for some reason.
https://github.com/user-attachments/assets/385096a5-56ca-4378-91dd-5f5c8d54fb20

After a bit of more digging, it looks like all bones move to 0,0 (top left) of the art board when the state machine starts.


Extremely slow compilation

Something's up with Civet 0.6.22  on macOS (or maybe on specifically Apple Silicon).
This:
let obj =
    irtiwo: ""
    fdsf: ""
    dfs: ""
    gdfgdf: ""
    fdfgdfg: ""
    fdssg: ""
    fgdfdgd: ""
    gdfgh: ""
    gjghj: ""
    zrz: ""
    vvd: ""
    oiul: ""
    ohgfh: ""
    plhd: ""
    bkd: ""
    rir: ""

compiles in 38 seconds with
civet < test.civet > out.ts
Compilation time seems to grow in a non-linear fashion with every added key/value pair.
The keys are distinct and the type of value I don't think matters. I got the same result with random numbers as values. The playground on the website seem to not have this issue.

Adding just 1 more key/value pair to the above code, the compilation reliably errors out after about a minute:
<--- Last few GCs --->
[1965:0x118008000]    59949 ms: Scavenge 892.6 (909.6) -> 876.7 (909.6) MB, 0.5 / 0.0 ms  (average mu = 0.912, current mu = 0.886) allocation failure
[1965:0x118008000]    59973 ms: Scavenge 892.6 (909.6) -> 876.7 (909.6) MB, 0.6 / 0.0 ms  (average mu = 0.912, current mu = 0.886) allocation failure
[1965:0x118008000]    59996 ms: Scavenge 892.6 (909.6) -> 876.7 (909.6) MB, 0.5 / 0.0 ms  (average mu = 0.912, current mu = 0.886) allocation failure
<--- JS stacktrace --->
FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
1: 0x101317585 node::Abort() (.cold.1) [/usr/local/bin/node]
2: 0x1000b25c9 node::Abort() [/usr/local/bin/node]
3: 0x1000b272f node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
4: 0x1001f6eb7 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
5: 0x1001f6e53 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
6: 0x1003a6eb5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
7: 0x10037e326 v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/local/bin/node]
8: 0x10050d132 v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastHoleyObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)3>>::GrowCapacity(v8::internal::Handlev8::internal::JSObject, unsigned int) [/usr/local/bin/node]
9: 0x1006d64b4 v8::internal::Runtime_GrowArrayElements(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
10: 0x100a8a919 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
zsh: abort      civet < test.civet > out.ts

The previous version I've worked with was 0.6.9 and it did not have this issue.
Civet: 0.6.22
uname -mprs: Darwin 22.5.0 arm64 arm
OS: macOS 13.4.1 (c) (22F770820d)
Hardware: M1 Macbook Air

I have a hunch it's also the reason I've been getting a lot of language server timeout messages from VSC when I restart the language server.

I'm able to reproduce locally on Windows so I don't think it's just MacOS or Apple Silicon. I think it's hitting some exponential backtracking in the parser with implicit object literals.
Is there an older version of Civet that didn't have this problem? If so we may be able to narrow down what change introduced it.

Yepp, 0.6.9 didn’t have this issue I think, that’s what I used in another project and I’ve never noticed something like this.
Sorry, I don’t have info on anything more recent.

Just confirmed, 0.6.9 works fine.

Presumably this is a consequence of an added no-caching rule that was needed for correctness. 😢 We should maybe try again at #341.

Released in 0.6.24


Notify user when starting jupyter times out and added Jupyter output panel

For #9086
Notify user when starting jupyter times out and added Jupyter output panel to display output from Jupyter.

Codecov Report

Merging #9091 into master will decrease coverage by 0.69%.
The diff coverage is 66.66%.

@@            Coverage Diff            @@
##           master    #9091     +/-   ##
=========================================
- Coverage   57.12%   56.42%   -0.7%
=========================================
  Files         551      551
  Lines       29100    28749    -351
  Branches     4395     4400      +5
=========================================
- Hits        16623    16222    -401
- Misses      11570    11619     +49
- Partials      907      908      +1

Impacted Files
Coverage Δ

...science/jupyter/liveshare/guestJupyterExecution.ts
18.86% <ø> (ø)
:arrow_up:

src/client/telemetry/index.ts
86.48% <ø> (ø)
:arrow_up:

...ascience/jupyter/liveshare/hostJupyterExecution.ts
50.9% <ø> (ø)
:arrow_up:

src/client/datascience/constants.ts
99.67% <100%> (ø)
:arrow_up:

...ent/datascience/jupyter/jupyterExecutionFactory.ts
60% <100%> (ø)
:arrow_up:

src/client/common/utils/localize.ts
94.66% <100%> (+0.03%)
:arrow_up:

src/client/datascience/jupyter/jupyterExecution.ts
53.37% <45.45%> (-0.64%)
:arrow_down:

src/client/datascience/jupyter/notebookStarter.ts
70.96% <71.42%> (-0.7%)
:arrow_down:

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-60%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
50% <0%> (-50%)
:arrow_down:

... and 52 more

Continue to review full report at Codecov.

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


Dot net credentials

As per discussion, not needed after all. If you need it at a later point in time, please reopen!


Update pre commit hadolint hook

Description
Upgrade to a version of trussworks/pre-commit-hooks that supports hadolint on M1 Macs
See https://github.com/trussworks/pre-commit-hooks/releases/tag/v1.1.1
Reviewer Notes
Having someone with an M1 and a non-M1 mac try would be helpful.
Setup
Make sure the following works with no errors
pre-commit run hadolint --verbose --all-files

Sample output
Run hadolint Dockerfile linter...........................................Passed
- hook id: hadolint
- duration: 0.3s

Code Review Verification Steps

[X] Request review from a member of a different team.

References

This slack thread for this change.
This slack thread explains more about the approach used.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 74c34ea5223bd2a01ceb4afe98ef1b6a6c0ea307


10.0.22631.2861 not support

@hony-tom Please uplod termsrv.dll

termsrv.zip

Duplicate of #2443

Duplicate of https://github.com/stascorp/rdpwrap/issues/2443


[open62541] Update to 1.3.15, fix android

For #42080.

The latest upstream version is 1.4.8, please update to the latest version.

1.4.8 also doesn't work with qtocupa so....

Are these patches submitted upstream and/or can you explain how to check that they are correct?

These patches are trivial. The PR is cherry-picked from #42080 where it fixes downstream linking (qtopcua). Upstream has similar changes in 1.4.
There is no lib rt on Android.
(Upstream has  AND NOT ANDROID_NDK_TOOLCHAIN_INCLUDED now, but that's not the right variable.)
There is no need to generally enable sanitizers in clang debug builds. In static builds, sanitizers impose transitive usage requirements.
The patch is just equivalent to if(0). (Upstream has UA_ENABLE_DEBUG_SANITIZER now.)

All feature test passed with x64-android triplet.

These patches are trivial. The PR is cherry-picked from #42080 where it fixes downstream linking (qtopcua).

Sure, I wasn't trying to claim that they were not trivial. Just because they're trivial doesn't mean I'm not taking responsibility for them when merged though, so I still want some understanding of what they're doing.

Upstream has similar changes in 1.4.
[...]
There is no lib rt on Android.
(Upstream has  AND NOT ANDROID_NDK_TOOLCHAIN_INCLUDED now, but that's not the right variable.)

OK, I'm happy that this is morally equivalent to https://github.com/open62541/open62541/blob/642cf4b59d9ac99675f3ccdc33ef1314c21b454a/CMakeLists.txt#L451

Upstream has similar changes in 1.4.
[...]
There is no need to generally enable sanitizers in clang debug builds. In static builds, sanitizers impose transitive usage requirements.
The patch is just equivalent to if(0).

I looked at upstream before asking about this and I don't see it:
https://github.com/search?q=repo%3Aopen62541%2Fopen62541+UA_ENABLE_SANITIZER&type=code
https://github.com/search?q=repo%3Aopen62541%2Fopen62541+UA_ENABLE_SANTITIZER&type=code

(Upstream has UA_ENABLE_DEBUG_SANITIZER now.)

Yes, I see https://github.com/open62541/open62541/commit/a820093aa97d08334147ecb85d8602f917d4f511 , but that's functionally always on in upstream, not off. Though looking now it looks like that stuff should come from the triplet. Unfortunately, patches don't contain all that context :(

Thanks for the update and for fixing Android!


Play/Pause Not working properly

After Pause audio player instance it is not getting played again
method used : playOrPause
on every play event below line printed twice
[+6039 ms] V/AudioManagerPlugin(28914): --playOrPause
[  +24 ms] V/AudioManagerPlugin(28914): --playOrPause

This happens to me only for the 1st item in the list & if that 1st item is the 1st one to play.

this will be fixed soon


feature/main-nav

Implement main-nav.
Add styles and functionality.
Implement interaction and animations.

This is how it looks like, without transitions:
Desktop

Mobile overlay

Mobile

you have conflicts

I think everything's fine... settle your conflicts and you have my approval.

you have conflicts.

Please give format to all documents.

you will do a presentation about this pr.


Consider using types that ensure ordering in elections-phragmen

As per noted here, after a number of bugs that were caused because of broken assumptions about the ordering of runners-up, it is worthy to consider using types that ensure order (i.e. SortedVec), at the cost of a bit less performance, to ensure veracity.
See the discussion here for more. https://github.com/paritytech/substrate/pull/7384#issuecomment-745546319

There are many other places should also use SortedVec such as the balances lock

Could also use a type for vec of maximum length, for things like strings, or other weight limit related stuff.


Does not work in Android 11 or 12

Since some revision of Android 11, Foreground Services are no longer allowed to access location if started from the background (https://developer.android.com/about/versions/11/privacy/foreground-services). Starting a Foreground Service from the onUnbind-callback of an activity binding, as in this code lab, is considered background. This example should probably be removed or updated since it is kind of confusing right now that the guide for the code lab claims to support Android 11 (https://codelabs.developers.google.com/codelabs/while-in-use-location?hl=ko#0).
The way we solved it was by starting the Foreground Service and generating the notification as soon as the user starts the location tracking feature in our app (while the app is still visible to the user). I hope this helps anyone in the same situation as I was in.

Then I don't see any point of binding and unbinding???


update OpenPolicyContainers.Policy-0.2.13

Checklist for Pull Requests

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

Manifests

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

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

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

Microsoft Reviewers: Open in CodeFlow

Hi @gertd,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 880.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-05-03 08:22:07.163 [FAIL] Installer failed security check. Url: https://github.com/opcr-io/policy/releases/download/v0.2.13/policy0.2.13_windows_x86_64.zip Result: 0x80004005

(Automated response - build 880.)

closing PR


Allow VFS components to work with concurrent select calls from several tasks. (IDFGH-1072)

Environment

Development Kit:      ESP32-DevKitC
Kit version (for WroverKit/PicoKit/DevKitC): v1
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):
// v4.0-dev-447-g689032650
Build System:         Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// xtensa-esp32-elf-gcc (crosstool-NG esp32-2019r1-rc2) 8.2.0
Operating System:     Linux
Power Supply:         USB

Problem Description
I'm currently using "simulated pipes" by connecting together two datagram sockets with ephemeral ports.
I'd like to implement my own VFS module to support signaling (set/clear flag) fds. Unfortunately the current interface involving start_select/end_select doesn't allow for it because end_select doesn't provide back any context pointer for the select call that just finished..
Expected Behavior
start_select / end_select calls should be linked together with some pointer or ID for the current select operation, so that simultaneous select operations can be signalled for relevant events.
Actual Behavior
A single select call can be supported at a given time by each VFS module (eg, one task can't be doing select() on uart receive while another does select() on uart send). The example uart VFS module just returns ESP_ERR_INVALID_STATE in start_select() when a previous start_select() was already ongoing.
EDIT: Completed Expected/Actual Behavior.

Hi @skandalfo! Thank you for pointing out this problem and sorry for the long silence regarding this. The fix is under internal review and got delayed. It will be published as soon as possible.

Hi, @dobairoland, thanks for letting me know :-)
My plans were use select-enable synchronization primitives to properly port cpp-async-rpc without having to use lots of sockets.


Vet-clinic management

Here's my all updating running for all Query
-- Find all animals whose name ends in "mon"
SELECT * FROM animals WHERE name LIKE '%mon';

-- List the name of all animals born between 2016 and 2019
SELECT name FROM animals WHERE date_of_birth BETWEEN '2016-01-01' AND '2019-12-31';

-- List the name of all animals that are neutered and have less than 3 escape attempts
SELECT name FROM animals WHERE neutered = true AND escape_attempts < 3;

-- List the date of birth of all animals named either "Agumon" or "Pikachu"
SELECT date_of_birth FROM animals WHERE name IN ('Agumon', 'Pikachu');

-- List name and escape attempts of animals that weigh more than 10.5kg
SELECT name, escape_attempts FROM animals WHERE weight_kg > 10.5;

-- Find all animals that are neutered
SELECT * FROM animals WHERE neutered = true;

-- Find all animals not named Gabumon
SELECT * FROM animals WHERE name <> 'Gabumon';

-- Find all animals with a weight between 10.4kg and 17.3kg (including the animals with weights equal to 10.4kg or 17.3kg)
SELECT * FROM animals WHERE weight_kg BETWEEN 10.4 AND 17.3;

@Olamarx  bro really check my pull request because I've made those changing


Subscribed models newer versions

Add newerVersions endpoint for published/subscribed models on local and remote catalogues
Fix to version link importing for subscribed models and subscribed model security
Extend federation client timeout

Have marked SubscribedModelFunctionalSpec test as ignore because these connect to the Continuous Deployment instance. However they can successfully from Jenkins.
Also N.B. V2_3_0__cleanup_subscribedmodel_securableresourcegrouproles.sql in mdm-security contains a reference to a table in mdm-plugin-federation.


Renamed Endpoint to AuthorizationServer

Codecov Report

Merging #7 (d3f4def) into master (6546b0a) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   99.25%   99.25%   -0.01%
==========================================
  Files          15       15
  Lines         540      538       -2
  Branches       55       55
==========================================
- Hits          536      534       -2
  Misses          3        3
  Partials        1        1

Impacted Files
Coverage Δ

src/aioauth/errors.py
100.00% <ø> (ø)

src/aioauth/grant_type.py
100.00% <ø> (ø)

src/aioauth/responses.py
100.00% <ø> (ø)

src/aioauth/base/server.py
100.00% <100.00%> (ø)

src/aioauth/constances.py
100.00% <100.00%> (ø)

src/aioauth/response_type.py
100.00% <100.00%> (ø)

src/aioauth/server.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


feat: add remove_view

Summary

close #425
Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.
[x] I have run task pyright and fixed the relevant issues.

[x] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Fix your description.

Do you not think users should be able to customise that message_id variable to remove views made using that?

Because of https://github.com/nextcord/nextcord/pull/682#issuecomment-1183046000, you were no longer able to make contributions to nextcord for the time being, so this PR is being closed as it would go stale from no updates.


[Bug]: LinkedIn IFrames not expanded in MaterializeCSS

Before submitting...

[X] I have searched for duplicate or closed issues.
[X] I have read the CONTRIBUTING document and my issue is following the guidelines.
[X] I have read the template completely before filling it in.

Context
LinkedIn IFrames are a great way to show featured posts on a website. I am trying to integrate some posts I have been featured in. However, they appear minimized in height instead of being longer like the other sections of websites
Current Behavior
LinkedIn posts/iframes don't expand in height
Expected behavior
The height be controllable so that I can set a base size and have it rescaled responsively
Possible Solutions or Causes
No response
Steps to reproduce
https://codepen.io/sisaha/pen/poZQMxe
Your Environment

Version used: Latest
Browser Name and version: Chrome
Operating System and version (desktop or mobile): Both
Additional information you want to tell us:

Hi @sisaha9, I would like to ask why you put the iframe inside video-container? This is clearly not a bug in materialize but rather a problem on your side. Please do understand the HTML language first before trying to do anything. The issue before this shouldn't be asked if you would understand your own code better. Please this is not a support page. If you need it, you can google it. There is a lot of resources online including stackoverflow to help you out with this issue. From what I've seen, this webpage has minimum width as well so it can't be restricted its width. And for the height, I don't quite understand why you put it inside the video-container div. The video container clearly has css that restrict it's height. So please do your own research first before opening an issue. Here is only if there is a bug regarding the materialize code set.
 CDNJS doesn't have ours version of materialize. Please recheck the documentation.
Thanks with regrads.


can not delete ipAddress field

I create my app using USER network mode, but can not use PUT to delete ipAddress filed when i want to change it to BRIDGE

I'll close this. Please reopen if it does not help


Question about force changing an option with lua

Describe your problem here.
how do i make it choose what i want it to choose if theres more than two options?
like, i tried, wont work.
https://github.com/JordanSantiagoYT/FNF-PsychEngine-NoBotplayLag/assets/145304742/e05a1029-a8ed-4e3a-97cc-fa04110f1dfb
used a different recording app also, idk how laggy or not it is
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.


Windows Port CI

vcpkg cmake 3.21 bug is now resolved

The CircleCI configuration is now working the way I want it to, but I've discovered that CircleCI has very low usage limits for Windows on their free plan, even for OSS projects. We get 2500 free credits per week, the smallest Windows VM costs 40 credits per minute, and our median Windows build seems to take ~7 minutes, which works out to 8 builds per week. This seems like it won't be enough for periods of any significant activity, unfortunately.
I'm going to look into using Appveyor for our Windows CI instead. From what I can tell, the usage limits on their free plan should be plenty for tangram-es.

github actions might be a thing, too. The binary caching of vcpkg  (uploading nuget packages to the account) works fine with github action (also available for PRs)

Also a good option! I am fairly sure that Pipelines and Actions run on exactly the same VMs, so I'll check which one has more convenient configuration options.


python3Packages.adafruit-platformdetect: 3.20.1 -> 3.21.0

Description of changes
https://github.com/adafruit/Adafruit_Python_PlatformDetect/releases/tag/3.21.0

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.adafruit-platformdetect
python39Packages.adafruit-platformdetect


vault: add ui

Since version 0.10.0 vault has a web ui which need yarn to be build. It looks like the derivation need to use yarn2nix but I can't wrap my head around how to do this inside this derivation. I didn't found any examples on doing this either.
Any help or orientation on how to achieve this is welcome.
This issue seems similar to #41378: træfik is written in go and also need yarn to build it's web ui.

I have a solution in that PR that works, but we decided not to merge it into nixpkgs  because the yarn dependencies would add too much 'bloat' to nixpkgs.
I wonder how we should handle this in the future, as more and more projects seem to bundle a JS web-ui these days, and building those with a fixed set of npm packages in nixpkgs is basically impossible.
Does the code in #49082 answer your question @bricewge  because in that case we can close this.

I have read your issues and PRs about JS assets a week or so  ago. Thanks to you I know how to bundle such a package now.
However I'm quite saddened by the answers on both sides of the aisle. Upstream don't want to vendor in the assets for vault despite the fact that the organization that manage it, HashiCorp, does it for a similar project: counsul. And here we can't merge your PR because it's too bloated... This situation frustrate me because it looks like we will never get the web-ui for those kind of packages in NixOS when upstream don't want to compromise.
Writing this comment just made me realize that we didn't ask upstream to make available the compiled assets archive for each release. Maybe it's the way to go since it won't bloat either of the git repo.
Anyway I don't think this issue should be closed because it's not resolved.

Writing this comment just made me realize that we didn't ask upstream to make available the compiled assets archive for each release, as Mic92 asked. Maybe it's the way to go since it won't bloat either of the git repo.

That's the best option really.
Another option is to create your own nixpkgs overlay for that type of packages. We have a few overlays appearing already, like nixpkgs-wayland.

Our current solution is https://github.com/obfusk/nix-vault-with-ui, which uses the hashes from yarn.lock to build the UI in the nix sandbox.

There is also the possibility to use vault-binary that includes the UI ( package)

Given that this is now packaged, can we close this?

@PsyanticY  thanks for the work!
How can I get services.vault to use this vault-binary?

use services.vault.package = pkgs.vault-bin;


bug(Virtual scrolling + Signals): When removing an element from the array it is not removed from the screen

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When trying to use Virtual Scrolling with Signals when removing element, it is not removed from the screen. The bug only occurs using *cdkVirtualFor. If you use *ngFor the element is removed correctly.
Reproduction
Ex:
HTML:
<cdk-virtual-scroll-viewport [itemSize]="150">
    <ng-container *cdkVirtualFor="let order of orderColumn().orders; trackBy: orderTrackBy" >
        <order-card [order]="order" (remove)="removeCard(order)"></order-card>
    </ng-container>
</cdk-virtual-scroll-viewport>

TS:
export type OrderColumn = { orders: Order[], total: number, page: number };
orderColumn: Signal<OrderColumn>;

Expected Behavior
I expected that when removing an element from the orderColumn().orders array it would exit the screen.
Actual Behavior
When removing an element, it continues to be rendered on screen.
Environment
Angular CLI: 16.0.5
Node: 18.12.1
Package Manager: npm 8.19.2
OS: win32 x64

Angular: 16.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1600.5
@angular-devkit/build-angular   16.0.5
@angular-devkit/core            16.0.5
@angular-devkit/schematics      16.0.5
@angular/cdk                    16.0.4
@angular/material               16.0.4
@schematics/angular             16.0.5
rxjs                            7.5.7
typescript                      5.0.4

Any news on this? Still seems to be an issue.

any updates? this is crucial


Wire dispatcher

This PR Wires new dispatcher into the grpcServer.
Mixer was tested locally to use a denier adapter and rule to correctly accept and deny requests.
integration tests will follow.
1. Deliver adapter inventory as data to top level functions.
2. Add configStore2URL and configDefaultNamespace command line args.
3. Add debug to store implementation.
4. Add attribute manifest processing to controller.
5. Add VocabularyChangeListener to IL evaluator.
6. Add tesdata/config directory with denier rules.

Release note:

NONE

This change is

/lgtm /approve

/lgtm
Bot won't recognize both in the same comment apparently.


Fixed docker files

Thank you for doing it. But I have fixed those files in my PR, it is not necessary to do it anymore. So I'll close this pr.


Consider store impl Iterator<Item = UnusedPhysFrame> into struct BootInfoFrameAllocator in Paging Implementation

As mentioned in the post:

This implementation is not quite optimal since it recreates the usable_frame allocator on every allocation. It would be better to directly store the iterator as a struct field instead. Then we wouldn't need the nth method and could just call next on every allocation. The problem with this approach is that it's not possible to store an impl Trait type in a struct field currently. It might work someday when named existential types are fully implemented.

I suggest to use generic type for usable_frames and use an unassociated fn to return the inited BootInfoFrameAllocator. So that impl Iterator<Item = UnusedPhysFrame> will be in the fn return type and it works.
Example:
// In src/memory.rs

pub struct BootInfoFrameAllocator<I: Iterator<Item = UnusedPhysFrame>> {
    usable_frames: I,
}

pub unsafe fn boot_info_frame_allocator_init(
    memory_map: &'static MemoryMap,
) -> BootInfoFrameAllocator<impl Iterator<Item = UnusedPhysFrame>> {
    BootInfoFrameAllocator {
        usable_frames: usable_frames_inner(memory_map),
    }
}

// Use an inner safe fn to show unsafety.
fn usable_frames_inner(memory_map: &'static MemoryMap) -> impl Iterator<Item = UnusedPhysFrame> {
    let regions = memory_map.iter();
    let usable_regions = regions.filter(|r| r.region_type == MemoryRegionType::Usable);
    let addr_ranges = usable_regions.map(|r| r.range.start_addr()..r.range.end_addr());
    let frame_addrs = addr_ranges.flat_map(|r| r.step_by(4096));
    let frames = frame_addrs.map(|addr| PhysFrame::containing_address(PhysAddr::new(addr)));
    frames.map(|f| unsafe { UnusedPhysFrame::new(f) })
}

unsafe impl<I: Iterator<Item = UnusedPhysFrame>> FrameAllocator<Size4KiB>
    for BootInfoFrameAllocator<I>
{
    fn allocate_frame(&mut self) -> Option<UnusedPhysFrame<Size4KiB>> {
        self.usable_frames.next()
    }
}

// In src/main.rs

fn kernel_main(boot_info: &'static BootInfo) -> ! {
	// [...]

    let mut frame_allocator = unsafe { rsos::memory::boot_info_frame_allocator_init(&boot_info.memory_map) };

    // [...]
}

A full example can be found at my repo following the tutorial: https://github.com/myl7/rsos/commit/ec844a86173c48dbbf66a5f52d528280cdaea549

This is pretty much what I wanted to do. Thanks for showing me the way -- I was goign to ask about it and then caught the flue and was "out of the count". :)

So, looking at your code, and I'm wondering how I'd use this in a static? I'd like to adapt this to my own kernel, but I need to hold it in a static:
static ref FRAME_ALLOCATOR: Mutex<Option<GlobalFrameAllocator<impl Iterator<Item = UnusedPhysFrame>>>> = Mutex::new(None);

How would I go about making this work?

As Rust currently does not support to use impl Trait in places other than return value, in these places we should use generic type to avoid the problem. But in lazy_static block I can not see an easy way to use generic type, so maybe we can only expect Rust to support broader impl Trait.

Do I have to wait for this? Or is there some other workaround? I'm not
on any kind of schedule, so I don't mind.
On 3/8/20, myl7<EMAIL_ADDRESS>wrote:

As Rust currently does not support to use impl Trait in places other than
return value, in these places we should use generic type to avoid the
problem. But in lazy_static block I can not see an easy way to use generic
type, so maybe we can only expect Rust to support broader impl Trait.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/phil-opp/blog_os/issues/736#issuecomment-596271781

--
Signed,
Ethin D. Probst

So far I have not found a solution to this (static varible typed by impl Trait). If I find it, I will post it here as fast as possible.
 Store the context required by frame generation and generate the frame one by one in method calls, other than using  map in usable_frames_inner method? I am not sure this will work. I will try it in next few days.


Unable to change default background color of gray

I added a margin to the tabview page from the example and the color behind is gray I inspected the element and it is part of the Animated component of the card in the stack navigator.  I have been unable to modify the background to white. I have tried changing the style using the getSceneStyle property of the router but it still does not work. The code I have implemented is shown below.
<Router createReducer={reducerCreate} hideNavBar  getSceneStyle={getSceneStyle}>
            <Scene key="root" hideNavBar={true} style={{backgroundColor: 'white'}} >
                <Scene key="launch" component={InitialScreen} initial hideNavBar style={{ backgroundColor:'white'}}/>
                <Scene key="login" component={Login} title="Login" duration={1}/>
                <Scene key="register" component={Register} duration={1}/>
                <Scene key="tabbar" hideNavBar tabs={true} style={{backgroundColor: 'white'}} >
                    <Scene key="tab1"  initial title="Home" hideNavBar>
                        <Scene key="tab1_1" component={TabView} title="Tab #1_1" onRight={()=>alert("Right button")} rightTitle="Right" />
                        <Scene key="tab1_2" component={TabView} title="Tab #1_2" titleStyle={{color:'black'}} hideNavBar={false}/>
                    </Scene>
                    <Scene key="tab2"  title="Stores" hideNavBar={true}>
                        <Scene key="tab2_1" component={TabView} title="Tab #2_1" onLeft={()=>alert("Left button!")} leftTitle="Left"/>
                        <Scene key="tab2_2" component={TabView} title="Tab #2_2"/>
                    </Scene>
                    <Scene key="tab3" title="Share" component={TabView}  hideNavBar={true} />
                    <Scene key="tab4"  title="My Accoount" hideNavBar={true}>
                        <Scene key="tab4_1" component={ProfilePage} title="My Account" />
                        <Scene key="tab4_2" component={ProfileUpdatePage} title="Tab #4_2"/>
                    </Scene>
                </Scene>
            </Scene>

    </Router>
)

const getSceneStyle = () => ({
      backgroundColor: 'white',
      shadowOpacity:1,
      shadowRadius: 3,
})

You can use this:
cardStyle: {
            backgroundColor: 'white'
      }

On your scenes config.

I will add support of getSceneStyle for upcoming release. Try cardStyle as @luco suggested

@aksonov The cardStyle solution that @luco suggested doesn't solve the issue, any other suggestions?

How are you setting your scenes configs?

you can check it out in the issue I opened before: #2039

I also noticed that barButtonTextStyle, barButtonIconStyle and leftButtonIconStyle don't work either.

Try this way:
 var sceneConfig = {
      cardStyle: {
            backgroundColor: 'white'
      }
}

<Scene key="home" {...sceneConfig}>
                          <Scene key="homeMain" component={Home}/>
                        </Scene>

It should work.

I know this issue was closed a few weeks ago, but I am having the same issue since upgrading to version 4 and haven't been able to find a solution. Can someone explain to me how sceneConfig works? I can't seem to make that solution work for me. I am currently <Router sceneStyle={{ backgroundColor: '#000000' }} > which worked fine in version 3, but now my app has the default gray color and I can't seem to change it.

do what @luco did exactly. An additional thing i had to do is also add the {...sceneconfig} line to all other routes beneath it too.

@luco worked for me too, can you explain as to how this works though? As in where does the cardStyle come from

@d7laungani , I've added this style to my router component and it has solved for me.
Example:
const RouterComponent = () => {
  return (
    <Router {...sceneConfig} >
      <Stack key="auth" hideNavBar >
        <Scene key="login" component={LoginForm}/>
      </Stack>
    </Router>
  );
};

var sceneConfig = {
  cardStyle: {
    backgroundColor: 'white'
  }
}


Clean up file paths

Spotted some file paths to local files in the example code. Will make edits so its more templatized.
https://github.com/aws-samples/genai-quickstart-pocs/blob/main/genai-quickstart-pocs-python/amazon-bedrock-rag-opensearch-serverless-poc/docs_to_openSearch.py

@trevorspires is this still an active work item or can we close this?


bump tribuo version to 4.2.1

Signed-off-by: Yaliang Wu<EMAIL_ADDRESS>Description
We fixed a bug in tribuo 4.2.0 https://github.com/oracle/tribuo/pull/224. Need to bump version to 4.2.1.
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #312 (7b0b0de) into main (b6f6116) will decrease coverage by 0.18%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #312      +/-   ##
============================================
- Coverage     92.16%   91.98%   -0.19%
+ Complexity      360      359       -1
============================================
  Files            51       51
  Lines          1111     1111
  Branches         51       51
============================================
- Hits           1024     1022       -2
- Misses           69       70       +1
- Partials         18       19       +1

Flag
Coverage Δ

ml-commons
91.98% <ø> (-0.19%)
:arrow_down:

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

Impacted Files
Coverage Δ

.../java/org/opensearch/ml/task/MLTaskDispatcher.java
96.22% <0.00%> (-3.78%)
:arrow_down:

Continue to review full report at Codecov.

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


Compatibility with Fish

As we're using the crate ansi_term to display colored/styled text, our current approach should work for all terminal emulators. However, we just assume that the user is using BASH, and the two shells have different ways of outputting formatted text.
Things that need to happen:

[ ] Either auto-detect the user's shell or (preferably) make the shell-type a command-line argument
[ ] Refactor the module-formatting code to allow for either BASH or Fish color escape sequences
[ ] Update README.md to include instructions for ~/.config/fish/config.fish and mention compatibility

Closing this issue because Fish is configured in a very different way than BASH and ZSH. It is probably not a good practice to modify the prompt in the same way as the other two shells.


Caused by: tinyb.BluetoothException: GDBus.Error:org.bluez.Error.NotSupported: Operation is not supported

Issue raised while invoking writeValue() of BluetoothLeGattCharacterisitic class..
org.eclipse.kura.KuraBluetoothIOException: Error during BLE IO activity.
at org.eclipse.kura.internal.ble.BluetoothLeGattCharacteristicImpl.writeValue(BluetoothLeGattCharacteristicImpl.java:100)
at org.eclipse.kura.example.BluetoothLE.BluetoothLeConnection.performScan(BluetoothLeConnection.java:218)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: tinyb.BluetoothException: GDBus.Error:org.bluez.Error.NotSupported: Operation is not supported
at tinyb.BluetoothGattCharacteristic.writeValue(Native Method)
at org.eclipse.kura.internal.ble.BluetoothLeGattCharacteristicImpl.writeValue(BluetoothLeGattCharacteristicImpl.java:98)
... 8 more

Hi,
What value are you trying to access? Characteristics have different properties: READ, WRITE, NOTIFY. If the characteristic is READ only or notify then you cannot write on this.

Hi,
I am trying to communicate a raspberry pi 3 bluetooth with the Bluetooth LE 4.0, but while i am trying to write the data to BLE from raspberry bluetooth using Kura.bluetooth.le package classes i am getting the above errror.
By the way, how to check wheather the service is READ only or not.

Hi again,
What kind of sensor (bluetooth device) are you dealing with?
Please check if the service you are looking for is listed here..
In the listed services you can check the property of every characteristic.

Hi again,
I am using the following Services and Characteristics -
public static final UUID SERIAL_SERVICE_UUID = UUID.fromString("0000fff0-0000-1000-8000-00805f9b34fb");
public static final UUID TX_CHAR_UUID = UUID.fromString("0000fff2-0000-1000-8000-00805f9b34fb");
public static final UUID RX_CHAR_UUID = UUID.fromString("0000fff1-0000-1000-8000-00805f9b34fb");
I just want to send a text message from my raspberry pi bluetooth to BLE. I have connected them but when i am using writeValue() or readValue(), i am getting the above the error.

Hi
The error is resolved. Actually, it was coming because of the unsupported functionality of the characteristics. The above mentioned characteristic(TX_CHAR_UUID) does not support read and write operations.
As i am communicating with HC-08 BLE, the right characteristic UUID for writing data is 0000ffe1-0000-1000-8000-00805f9b34fb  which comes under Custom service whose UUID is 0000ffe0-0000-1000-8000-00805f9b34fb
Thanks for your help @aplastiras .

Glad to hear that I helped
Cheers


Provide official NuGet versions packages

Hi team,
Thanks a lot for providing an official NPM package. That certainly comes in handy when building web apps on a lot of platforms.
However a lot of projects are using TypeScript in conjunction with Asp.NET and those projects typically already use NuGet for package management. It would be easier for those projects to use a single system.
I realize that providing NuGet packages will result in more cost to maintain two sets of packages but it may be worth it; please prioritize accordingly.
There are two different unofficial packages out there but neither has updated to v1.5 yet and it would perhaps be better to have at least one core team member as a collaborator on those.
Thanks.

+1 to this. It's a real need.
Regarding the unofficial packages, one of the has updated to v1.5, but unfortunately it's missing locale files, which ends up in an unsuccessful build.
Thanks,
Leo.

I'm curious why you'd need a TypeScript package for ASP.NET? In AspNet current you can use VS's built in MSBuild support and in AspNet you can use the NPM/Gulp/Grunt supper. A NuGet package almost seems redundant.

Well, when new developers join my development team, they only requirement is Visual Studio right now.
Other reason is that my build server already has VS installed, so packages just work, without the need of installing extra packages managers.
Besides, I really don't want to install NPM just to download Typescript compiler, and the only way available for my project is to use the supplied installer.
And also, since NuGet is the official Visual Studio package manager, It should already be there.

I'm also interested in this for the reasons stated above, for us trying to reduce setup and to rely solely on visual studio being installed would be very helpful.

Are you expecting NuGet to provide the msbuild support required for typescript?

I published a couple of NuGet packages to [https://www.myget.org/users/typescriptteam](the new TypeScript page on MyGet.org).
The following packages are published:

Microsoft.TypeScript.Compiler, this contains just the compiler
Microsoft.TypeScript.MSBuild, this contains the MSBuild tasks, target files, and the compiler

Although the version of the packages is 1.7-rc, the components are the 1.7 RTM components. I marked the packages as RC, since this is their first release and we're explicitly looking for feedback on them. In the future we plan to publish the RTM bits to NuGet and have nightly builds on MyGet.org.
With that, let me know how we can make them better and more useful for you.
You can access the packages in VS by adding a 'package source' in Tools > Options.

Official stable packages are available here:

Microsoft.TypeScript.Compiler
Microsoft.TypeScript.Build

And nightly packages here:

TypeScript-Preview


Using flyway to do continuos integration with mysql.

Which version and edition of Flyway are you using?
I am using Flyway 6.0.0
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
I am using Jenkins with Flyway plugin.
Which database are you using (type & version)?
I am using Mysql 5.7 currently.
Which operating system are you using?
Ubuntu server 18.04
What did you do?
I might be wondering is there is a way that flyway can handle this or not. I am doing a backup of my database always in any migration, this way I wont lose any data. After that I am doing changes to my database, like changing the name of the table or the name of an attribute itself. I would like to restore that data into the new database but I dont know if this is possible or not.
What did you expect to see?
I will expect to see my data in the new database after the restore without losing any data.
What did you see instead?
Got error because the table doesnt exist currently. Does flyway can keep track of this or not really?

@joseagt1994 I'm not sure I understand your request. Would you like to create a backup of your database before each migration is run? If that's the case, could you explain why do you need this?

@joseagt1994 Would you mind clarifying your request?

Closing due to lack of response.


Document Java.Worker

When looking at:
https://github.com/graalvm/graal-js-archetype/blob/master/archetype/src/main/resources/archetype-resources/src/main/js/launcher.js#L52
You'll see:
var executor = new Java.Worker();

And that it looks be allow scheduling tasks on the engine thread using a single thread executor.
This is an alternative to spawning threads but it is not documented, from the code, it looks that the executor has a method submit that returns a Promise but it is not totally clear what inputs it take.
Further analysis of the node wrapper, it seems that it can replace the Worker factory with a custom executor, so it feels like this could be overloaded also by other projects namely vert.x to match the threading model.
Finally is this Worker used internally? if overloaded what are the side effects?
These answers should be documented somewhere...

Hi Paulo,
thanks for your question.
Java.Worker is an experimental feature that can be used to offload a Java method call from a JS thread to a "worker" Java thread when Graal.js is embedded in Node.js (to avoid blocking Node's event loop).
The API is not documented, as we plan to remove it during our transition to Node.js v10.5+. In fact, Node.js v10.5+ introduced (initial) support for Worker threads (see: https://nodejs.org/api/worker_threads.html), which would allow users to obtain the same functionality provided by Java.Worker simply by combining a Node.js worker thread and Graal.js' Java interoperability (e.g., via Java.type()). We plan to start migrating to Node v10 once it is in active LTS status.
Thanks,
Daniele

Thanks @eleinadani, for vert.x I've added an initial experimental support for the Worker API (not based on Java.Worker but on the vert.x threading model so removing it won't affect me.
https://github.com/reactiverse/es4x/blob/develop/docs/WORKER.md
Thanks for the clarification.


Debug does not stop executing when trying to stop debugging after hitting a breakpoint.

Type: Bug
Debug does not stop executing when I tried to stop debugging after hitting a breakpoint. I found this problem reported Aug 18,2020 and the solution from Microsoft was to install the most recent release. But I have the most recent 1.79.2. Visual Studio Code
My app is written in python/Django. It used to work three months ago but since I have returned to the app for some changes my VSC must have updated to 1.79.2 and now this issue has appeared.
Details: When I set a breakpoint and it is tripped, the code execution stops normally. I can step, I can continue, all is good. But when I STOP (the red button on the ribbon) the program continues executing. If I hit stop a second time the program does stop but a great deal of code has been executed between the first and second clicks.
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:59:55.818Z)
OS version: Linux x64 5.15.0-76-generic snap
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 3600 6-Core Processor (12 x 2800)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
2, 1, 1

Memory (System)
62.73GB (56.54GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id e7718076-72e9-4f77-8582-28e46196ba60

Screen Reader
no

VM
0%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
x11

Extensions (10)

Extension
Author (truncated)
Version

isort
ms-
2022.8.0

python
ms-
2023.10.1

vscode-pylance
ms-
2023.6.40

jupyter
ms-
2023.5.1101742258

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

django-intellisense
sha
0.0.2

ayu
tea
1.0.5

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30776702
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30766890
pythongtdpath:30769146
bgfeh915:30780428
pythonnosm12tcf:30779713
pythonidxptcf:30772540
pythonnoceb:30776495
cmakestatusbarv2:30779594

Please file this on the vscode-python repo


Double-clicking on table fails with error for DB2 database

Hello,
I'm using version 4.2.2 x64, (which I have to run from a shared folder on a file server in case that matters). I have several database connections of different types, including DB2 and Oracle. Originally, I could double-click on a table in any database and have it display the table's data. At some point, however, I stopped being able to do this for my DB2 / DB2 LUW connection. When I double click on one of those tables, I get this error:
Query execution failed
Reason: The command or statement was not executed because the following functionality is not supported in the current environment: "RID functions".. SQLCODE=-5115, SQLSTATE-560378, DRIVER=3.57.82.
If I click Details, I see messages like this:
An error occurred during implicit system action type "2" ... tokens "RID functions" ... SQLCODE=-727 .. SQLSTATE=56098. (I've removed some of the parts that are included in the original error.)
I can see the table contents if I run a SELECT * query on it. I am still able to browse my Oracle tables just by double-clicking on them. Other people within my organization are able to browse the DB2 tables just fine, while at least one other person is having this same issue. Does anyone know how to fix this?

Update: I was able to fix this issue by creating a new connection using the DB2 LUW 8.x driver instead of the other LUW driver. I don't know why this was necessary since it used to work, but making that change fixed the issue.


workflows: compile and run unit tests on MSVC

The build does not succeed, even with #66, but it seems useful to add the job anyway for visibility.

Agreed.


Support Workers using CommonJS syntax

Feature request

What is the expected behavior?
For Webpack to support workers using CommonJS syntax when targeting node.
The following works in Node:
const { Worker } = require("worker_threads");
const path = require("path");

const worker = new Worker(path.join(__dirname, "./worker.js"));

But is not currently transformed by Webpack.
What is motivation or use case for adding/changing the behavior?
https://github.com/pinojs/pino/issues/1465
Essentially looking for a way that pino could support bundling it's workers without needing a specialized plugin for each existing bundler.
P.S. It could be useful for libraries starting workers dynamically to be able to get the URL/filename of a transformed worker module bundle instead of just immediately starting it or receiving a custom class that starts it.
How should this be implemented in your opinion?
Recognize that as an additional syntax and transform it appropriately in a similar way the existing worker syntax is transformed.
Are you willing to work on this yourself?
yes (But I'm not familiar with Webpack internals, and not sure where to start learning them in the docs).

We analyze only static new Worker(...) syntax, other things are impossible/hard to implement, sorry, we can't analize path.join(__dirname, "./worker.js") and undestand URL to worker, you can write a custom plugin to implement this

Yeah. I know it currently doesn't do that. This is a feature request to add support for that to the internal WorkerPlugin. Assuming it is reasonable to try and match such syntax.

Why do not use new URL(...)? It will work for commonjs too

We can I guess. But I think import.metal.url won't work in CommonJS.

@segevfiner anyway you can create a custom plugin, it is not hard - https://github.com/webpack/webpack/blob/main/lib/dependencies/WorkerPlugin.js
@vankop in theory we can add a hook here for better DX, so it will be easy to use own syntax with the worker plugin

@alexander-akait what you mean? maybe something like:
class MyPlugin {
  apply(compiler) {
       compiler.hooks.compilation.tap("my", (compilation, normalModuleFactory) => {
          normalModuleFactory.hooks.parser.get("javascript/auto").tap("my", parser => {
              // detect worker
              const request = "./user-request.js";
              const options = {};
              const range = [1, 10];
              WorkerPlugin.addWorker(compilation, request, options, range);
          });
       });
   }
}

this could be very specific I guess..

maybe we need api to create dynamic entries? sounds like this is correct one...

Yes, I think small and clear API will be great here


Enable rules search by rule number

The discord bot currently has a method for showing a specific rule (@hud rules [RuleNumber]), but if the students are used to using the search subcommand, they might do @hud rules search [RuleNumber].  Rules search currently only looks for string matches in the rule title or details.
Example Usage
@hud rules search r401

Expected Result
Same output as @hud rules r401

test comment

completed


Investigate how to use expo native module integration.

##Add Native Code
https://docs.expo.dev/workflow/continuous-native-generation/

npx expo prebuild
expo run:ios

###Build Install binary
npm i -g eas-cli
eas build:configure
eas build --platform ios
###Publish Install binary

Sign in to App Store Connect
Upload Binary (.ipa file) to App Store Connect using Transporter
Use TestFlight to distribute the app


DB records not importing

Hello! I've got an issue and I need some help, please.
Using Elasticsearch: 7.4
Laravel 6.6
I've created a ProductsIndexConfigurator that looks like this:
'analysis' => [
                'filter' => [
                    'english_stop' => [
                        'type' => 'stop',
                        'stopwords' => '_english_'
                    ],
                    'english_stemmer' => [
                        'type' => 'stemmer',
                        'language' => 'english'
                    ]
                ],
                'analyzer' => [
                    'rebuilt_english' => [
                        'tokenizer' => 'standard',
                        'filter' => [
                            'lowercase',
                            'english_stop',
                            'english_stemmer'
                        ]
                    ]
                ]
            ]

then in Product model I've got the following mapping:
protected $mapping = [
        'properties' => [
            'id' => ['type' => 'integer'],
            'title' => ['type' => 'text', 'analyzer' => 'rebuilt_english'],
            'asin' => ['type' => 'keyword'],
            'manufacturer' => ['type' => 'keyword'],
            'link' => ['type' => 'keyword'],
            'image_url' => ['type' => 'keyword'],
            'description' => ['type' => 'text', 'analyzer' => 'rebuilt_english'],
            'sales_rank' => ['type' => 'integer'],
            'price' => ['type' => 'integer'],
            'features' => ['type' => 'text', 'analyzer' => 'rebuilt_english'],
            'review_value' => ['type' => 'float'],
            'review_count' => ['type' => 'integer'],
            'category_index' => ['type' => 'integer'],
            'updated_at' => ['type' => 'date', 'format' =>  'yyyy-MM-dd HH:mm:ss']
        ]
    ];

and I'm placing the following commands in the terminal:
php artisan elastic:create-index "App\Elastic\ProductsIndexConfigurator"
php artisan elastic:update-mapping "App\Models\Product"
php artisan scout:import "App\Models\Product"

However, nothing gets in the index. What am I doing wrong?
P.S I've set the scout queue to false, tried flushing cache, config and scout. Still can't import records

Solved. I've edited the vendor config file for some reason.

sail artisan scout:import "App\Models\Document"
Error
Class "App\Models\Document" not found
at vendor/laravel/scout/src/Console/ImportCommand.php:37
33▕     public function handle(Dispatcher $events)
34▕     {
35▕         $class = $this->argument('model');
36▕
➜  37▕         $model = new $class;

Solved. I've edited the vendor config file for some reason.

how did you do in the vendor config file?

I made a mistake - I opened the file using quick file search in phpstorm and for some reason it opened the vendor file instead of the published one.


gnomeExtensions.appindicator: 30 -> 32

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnome-shell-extension-appindicator/versions.
meta.description for gnomeExtensions.appindicator is: "AppIndicator/KStatusNotifierItem support for GNOME Shell"
meta.homepage for gnomeExtensions.appindicator is: "https://github.com/Ubuntu/gnome-shell-extension-appindicator"

Quoted meta.homepage for RFC 45

Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 32 with grep in /nix/store/9qcnf0b1g9xcjbyh9jwds5px6cdnqz5y-gnome-shell-extension-appindicator-32

directory tree listing: https://gist.github.com/bb6d4654f80f2f05e82a9e0ace8dea26

du listing: https://gist.github.com/20763ed0026d8917c99b5e0384e33eee

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gnomeExtensions.appindicator

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9qcnf0b1g9xcjbyh9jwds5px6cdnqz5y-gnome-shell-extension-appindicator-32 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnomeExtensions.appindicator https://github.com/r-ryantm/nixpkgs/archive/4a2d13297e4d77b31973dfb61284f4df205aee10.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9qcnf0b1g9xcjbyh9jwds5px6cdnqz5y-gnome-shell-extension-appindicator-32
ls -la /nix/store/9qcnf0b1g9xcjbyh9jwds5px6cdnqz5y-gnome-shell-extension-appindicator-32/bin

cc @jonafato for testing.

I guessing this maybe should be backported if extensions.gnome.org would distribute the same version?

Yep, backported in d61616bfe5dbe5d2668e6e865e585b5fda8be2ee.


Is there Direct Line API V3.0?

I found Direct Line API V1.0 is not working after upgrading Bot Framework Version 3.0. So please clarify.

Direct Line API V1.0 is not working in Bot Framework Version 3.0?
There will be Direct Line API V3.0?

Thanks!

Are you using the latest nuget package?
https://www.nuget.org/packages/Microsoft.Bot.Connector.DirectLine/
It should be working, as far as I know.  Do you see a specific error message?

I didn't use nuget package. I got "(500) Internal Server Error" when I send Message. So should I use the latest nuget package released on 2016/7/8?

Yes, I would use the latest nuget package.

Okay. I will try it later today. And may I know that is there any change to Direct Line after Bot Framework Version V3.0 released?

The existing version of Direct Line will work with v1 and v3 Bot Framework bots. We'll release a new version of Direct Line in the future.
Cheers
--Dan

Hi, unfortunately Microsoft.Bot.Connector.DirectLine v1.0.2 uses Microsoft.Rest.ClientRuntime v1.8.2, but Microsoft.Bot.Builder v3.2.1 is using Microsoft.Rest.ClientRuntime v2.3.2. So any solution that references both DirectLine and Bot.Builder will have a compatibility problem with the Rest.ClientRuntime.
I have this problem as my API project provides endpoints for client apps using DirectLine as well as being the final destination for the bot calls.
Can we have an ETA on the updated DirectLine package?

@JasonBSteele you may want to open a new top level issue for the ClientRuntime issue so we can triage it separately.

HI @willportnoy, thanks for the suggestion. There is a top level issue logged at https://github.com/Microsoft/BotBuilder/issues/138. It includes a workaround for including both versions of Microsoft.Rest.ClientRuntime in your solution.

Hi guys, I have a question: I have custom storage for my bot, configured through the ChatConnector, ie replaced state.botframework.com with a custom endpoint; our client uses direct client api; does direct line store data, maybe temporarily? I mean, when I start a conversation, then invoke get messages, it appears direct line gives me messages without hitting my bot connector's api getData, which makes me think it somehow has received it at some point through some interaction direct-line and my bot app; is there a way to know how the whole flow works? I also invoked get message directly for a conversationId:
userMessageSet = userConversations.GetMessages(conversationId);
and it didn't hit the bot connector from my app at all, which seems to tell that direct client (https://directline.botframework.com) somehow stored or cached the answer to a previous conversation.
Thanks.

@alin-nemet you should probably open a top-level issue for new questions.
To try to answer your question, DirectLine and the Bot State service are unrelated services, so calling DirectLine shouldn't have much to do your custom Bot State service.

thanks for answering, but can you please elaborate a bit? How does direct line interact with the bot app, is direct http calls, or do they happen through microsoft botframework hub (where we register the bot, with appid and secret)? Does direct line store converastion data somewhere in the cloud or just in memory, and for how long? Thanks a lot!

DirectLine uses the same web service bot endpoint that other channels use.  There is an intermediate "Direct Line" service.  It stores conversation data for a short period of time (to enable queuing) in the cloud (for fault tolerance), for that short period of time.  I think the "short period of time" is something less than a day, but it's subject to change over time.
Open a new issue for further questions please - we don't necessarily pay attention to closed issues.

that clarifies it, thanks a bunch :) sure, no more posting here.

Hi @JasonBSteele, the latest release of Microsoft.Bot.Connector.DirectLine uses Microsoft.Rest.ClientRuntime 2.3.2

@dandriscoll - that's great news - thanks for letting me know! 😃


Fixing Service Bus issues when disposing session receivers

Closing scheduler after disposing of the receiver since pending closing work is scheduled on it.
Implementing AsyncAutoCloseable.

/azp run java - servicebus - tests

/azp run java - servicebus - tests

/azp run java - servicebus - ci


AppBar covers rest of content?

[x ] This is a v1.x issue (v0.x is no longer maintained).
[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior
Just started a new project, with standard AppBar at the top. I would expect an AppBar to be positioned above, but not overlapping with, the rest of the page content. However, even with position="sticky" or "static" or anything else, it's covering up the content at the top of the page?

Expected Behavior
Is manually adding padding / margin required whenever using an AppBar? (I feel like this kind of defeats the purpose of position="sticky" or "static")
Steps to Reproduce (for bugs)
<div>
        <AppBar>
          <Toolbar>
            ...
          </Toolbar>
        </AppBar>
        <MainPageContent>
          ...
        </MainPageContent>
      </div>

Context
AppBar with position="sticky" should not cover up any of the rest of the page layout until the user is scrolling.

Tech
Version

Material-UI
v1.2.3

React
16.4.1

browser
Chrome

etc

It was an issue with inheritance: position="sticky" MUST come after any className or other styling to be inherited properly!

it works tnx


Fixes the error message for the TextMapExtractAdapter to refer to the…

The current message for the TextMapExtractAdapter is currently referring to the wrong class. This PR changes it from TextMapInjectAdapter to TextMapExtractAdapter.

Coverage remained the same at 73.368% when pulling 7f705fd6084a63b21e83014730ad4b91f76c5f78 on sebsandberg:fix_error_message_for_TextMapExtractAdapter into 58846260a696f3cc06ae7c4ef1798d95a170300c on opentracing:master.

@sebsandberg thanks!

Shall we get this merged?
cc @yurishkuro


Separate bundle

Separation into 2 bundles: "core" and "optionnal" #112

I will correct the merge problem beforehand

Sorry, a bit of confusion on my part. I was not seeing the latest commit.
I had to skip some test. Switching to fecha and removing deprecated fields


[PE-D][Tester B] Delete Command Documentation

Delete Command Message usage not consistent with User Guide. Delete Command allows more than one INDEX parameter as stated in the user guide but not clearly reflected in the command message.

Labels: severity.Low type.DocumentationBug
original: jicsontoh/ped#9

Fixed