CDK Integration

[x] Automated execution (possibly with waitcondition)
[x] Correct branch / version discovery
[x] Version discovery for Quick Start (set special github repo and version)
[x] remove SC stuff
[x] Delete CDK on stack deletion
[ ] Sync with QuickStarts team if the CDK integration is fine with them

Definition of done (v0.0.2)

[x] Automated integration test

as discussed internally we will close this draft and continue with the approach from #328


Document setting up CRC in Actions

Resource requirements prevent CRC from working in GitHub hosted runners.
But we can write and document steps to get CRC working in a self-hosted environment, and detail the requirements we'd need for GitHub hosting.

Moving from To Do to Backlog as I think we will have other areas of focus for the next few sprints.


FEATURE: More explicit CheckpointStorageInterface exceptions

This has become obsolete with #13 but can be considered when integrating this to ContentRepository.Core


Clearing the key cache when deleting dataframe items

OK, apparently the self._cached_keys is more then just a cache :)

OK, so there are a couple of issues here:

While it's true that dask array caches keys, dask dataframe doesn't. It recomputes them each time.

https://github.com/dask/dask/blob/67fb5363009c583c175cb577776a4f2f4e811410/dask/dataframe/core.py#L290-L291

Also, while dask array uses the term name to point to the prefix of the key that it uses, dask dataframe doesn't.  This is because .name is also a common attribute for Series and DataFrame objects (imagine df[df.name == "Alice"]).  So instead dask dataframe uses the attribute ._name.

So, now I'm curious about what the underlying issue here was that this PR was intended to solve.

So, now I'm curious about what the underlying issue here was that this PR was intended to solve.

With this PR, I see a performance speedup. But I guess it is because some calculations were skipped?

Perhaps, yes.  This PR makes changes that would negatively affect correctness.


Moving from php tot node and in need of some assistance getting started

So I recently moved from php / laravel to nodejs. According to the internet Bookshelf seems to be the orm to use so I got started at figuring out how it works.
Now I am shure that I am missing something big here because I can't seem to figure out how to do some seemingly simple stuff in a nice clean way:
PHP example:
DB::beginTransaction();

$newChapter = new Chapter(['title' => 'Awesome chapter']);
$chapterPages = [
    new Page($pageData),
    new Page($pageData),
    new Page($pageData)
]

$book = Book::findOrFail($book_id);
$book->chapters()->save($newChapter); // Inserts the chapter with the book_id filled

foreach($chapterPages as $page) {
    $page->save();
    $newChapter->pages()->attach($page, ['extra pivot data'] // this fills the pivot table
}

// $newChapter now also contains the newly created pages, pivot data etc.

DB::rollBack();

Pretty simple and very readable right?
Now here is what I came up with for node
const pages = [
 new Page(pageData),
 new Page(pageData),
 new Page(pageData)
];

bookshelf.transaction((t) => {
    return new Book({ id: book_id })
       .fetch({ require: true, transacting: t })
       .then((book) => {
        return new Chapter({ title: 'Awesome chapter' })
            .save(null, {transacting: t})
            .tap((chapter) => {
                 return Promise.map(pages, (page) => {
                    return page.save(null, {transacting: t})
                }).then((result) => {
                    return Promise.map(pages, (eventHandle) => {
                        return new ChapterPage({
                            page_id: eventHandle.event.id,
                            chapter_id: action.id,
                            // extra pivot data
                        }).save(null, { transacting: t })
                    })
                })
            })
        })
})
.then((chapter) => {
   // Chapter does not have the pages attached here :'(
})

So pretty much stuck in some very ugly callback code and I don't know how to get my new pages in the chapter.
I'm pretty sure I have no idea what I'm doing and the documentation is not very enlightning. So maybe you can help me in the right direction with this? If I figure it out I will be glad to contribute some more practical examples for the documentation.
Thanks in advance!

@Speedrockracer
bs.transaction((t) => {
  let options = { transacting: t }

  return new Book({ id: book_id })
    .fetch({ require: true, ...options })
    .then((book) => Promise.all([
      // save the chapter
      book.related('chapters').create({ title: 'Awesome chapter' }, options),

      // and save the pages
      Promise.map(pages, (page) => page.save(null, options))
    ]))
    .spread((chapter, pages) => {
      return Promise.map(pages, (page) => {
        return new ChapterPage({
          page_id: page.id,
          chapter_id: chapter.id,
          // extra pivot data
        }).save(null, options)
      })
      // add this line to load the chapter related pages
      .then(() => chapter.load(['chapterPages'])
    })
})
.then((chapter) => {
  // chapter will contain now the related pages
})

Hope it helps

@Speedrockracer Do you still have any question regarding this or was @absolux able to answer your questions?


Add SelectionChanged event to the TreeView control

Description

This PR is adding a SelectionChanged event to the TreeView control:
TypedEventHandler<TreeView, TreeViewSelectionChangedEventArgs> SelectionChanged

class TreeViewSelectionChangedEventArgs
{
    IVectorView<Object> AddedItems { get; };
    IVectorView<Object> RemovedItems { get; };
}

Because of the current multi selection implementation in the TreeView control, there are 2 code paths depending if the selection is in single or multiple mode.

Single mode

This is the easy path. We just rely on the SelectionChanged event of the ListView and we forward the event args.

Multi select mode

This is the harder path. The approach I took is to track changes made to the vector of selected items in the ViewModel type.
I did minor refactoring so that adding/removing selected items is now only happening in ViewModel. Before this responsibility was spread between the TreeView and the ViewModel classes (which was preventing a proper tracking of changes made to the underlying vector)

Note: as proposed in #2091, there are also discussions to overhaul the TreeView control so that it uses ItemRepeater and SelectionMode instead of a ListView which could in theory simplify the work needed to have this new SelectionChanged event.
Motivation and Context

As requested in #322, the TreeView control currently expose no API to track selection changes.
How Has This Been Tested?

API tests have been added and manual tests done in the sample app.
Open items
[ ] Clarify what is needed regarding the API definition to be able to merge this PR?
[ ] Clarify if we want to refactor/cleanup the API exposed by the ViewModel type (simplify if possible SelectItem(), SelectNode() and SelectByIndex())

/azp run

@japf A few TreeView tests seem to be failing with this change. You can try running them locally. Instructions can be found here

Will there also be SelectionChanging events?

How should that work/when should this be raised?

How should that work/when should this be raised?

That is a good question.  There are other controls which have this kind of intermediate event, and developers can begin reacting before the event happens.
For a TreeView used for navigating, it could hold back a SelectionChanged event until it displays a confirmation dialog.  Or to display a ProgressRing as the next set of Tree nodes are loaded?
Take my earlier question and change it to be:
Should there also be a SelectionChanging event, and for what purposes could it be useful?

ListView, GridView and NaigationView don't have a SelectionChanging event, only a SelectionChanged event.
When you mentioned navigation, I briefly thought about a file explorer. What if you want to select a folder whose content you cannot display? Take C:\Program Files (x86)\WindowsApps for example. You cannot see its content in the file explorer but you can still select it and there might be some valid operations you can do on it. So at least in this case no SelectionChanging event is required.
Since you are proposing this and seeing that the other controls don't have such an event (and one is used for navigation too) can you show an existing problem where such an event would be vital to have?

/azp run

/azp run

@japf The tests look to be in a good place, but I still have a couple of open questions. Could you see if you have an answer to them?

/azp run

/azp run

/azp run

@StephenLPeters can you please have a look at the most recent changes and queue a new build?

/azp run

@japf awesome! thanks for that

@StephenLPeters it looks like some tests are failing but the weird thing is that they are also failing on my machine when I checkout the master branch. Any idea how I can investigate those failures further?

@japf looking at the logs and screenshots the tests appear to be having real issues (not infrastructure ones) and the CI run that ran last night (https://dev.azure.com/ms/microsoft-ui-xaml/_build/results?buildId=69810&view=results) didn't have any test failure on master.

@StephenLPeters it looks like the latest recent refactoring I did is indeed breaking something regarding the selection. I'll investigate further and post an update here.

@japf Could you update the description of the PR to include "Fixes #322" or something like this, so that the GitHub bot can add the "workin on it" label to the issue and so issue will be automatically closed when this PR gets merged. :)

@StephenLPeters I ended up reverting the commit that refactored the API exposed by the ViewModel type. I hit 2 issues:

I suspect there is a bug in ViewModel.cpp regarding how we use the m_itemToNodeMap map. What I experienced if that it looks like we don't add the root item to this map. This was breaking few scenarios as my refactoring was relying on NodeFromItem which is using the m_itemToNodeMap map internally.
My refactoring did not take into account SelectedItem can be set to null.

You can see the revert commit here: https://github.com/microsoft/microsoft-ui-xaml/pull/2063/commits/744af629c6f917ed823270f18b17ca998f8d2dd2
Could you please run another build?
I think it might be easier to merge this and create an issue to track the refactoring of the API exposed to handle selection in the ViewModel type. Wdyt?

/azp run

@StephenLPeters can you please queue another build? A build error happened after my revert :/

/azp run

@StephenLPeters can you please queue another build? A build error happened after my revert :/

@japf Just an FYI, there seems to be some instability in the PR pipeline that is causing timeouts that is being currently investigated.

This is now failing on another control...

##[error]Failing tests:
##error]debug.x86.Windows.UI.Xaml.Tests.MUXControls.InteractionTests.TabViewTests.GamePadTest
##[error]Windows.UI.Xaml.Tests.MUXControls.InteractionTests.NavigationViewTests-D Work Item

Is that a known issue? Should I merge master into this branch maybe?

This is now failing on another control...

##[error]Failing tests:
##error]debug.x86.Windows.UI.Xaml.Tests.MUXControls.InteractionTests.TabViewTests.GamePadTest
##[error]Windows.UI.Xaml.Tests.MUXControls.InteractionTests.NavigationViewTests-D Work Item

Is that a known issue? Should I merge master into this branch maybe?

merging with master is fine. We are still hitting the timeout issue.

@japf, please merge the latest from master into your branch. We were hitting some issues with test execution. Picking up the latest changes should help resolve that.

@kmahone done. I also rebased all my commits into one.

/azp run

RunTestsInHelix Debug_x86 was cancelled apparently after 120min :(

RunTestsInHelix Debug_x86 was cancelled apparently after 120min :(

Please hang tight. Pipeline reliability is still being investigated. See here.

@ranjeshj thanks for the feedback. I just merged master again.

/azp run


[CircleGraph] Revise require

This will revise require for javascript source used to process model files.

we cannot use dynamic node changes in DOM cause of security
circle.js and circle-schema.js are added in index.html as static
this change will make callers to work as expected

ONE-vscode-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

from draft #482


inputmask_1.default is not a constructor

Using inputmask with angular and material, with angular 4 all works fine
With angular 5 i get this error:

ERROR TypeError: inputmask_1.default is not a constructor

import Inputmask from "inputmask";

const inputMask = new Inputmask({})....

4.0.0-beta.38 or 3.3.11 - same behavior
How can i fix that?

Workaround:
import * as Inputmask from "inputmask";
Found answer here:
https://github.com/angular/angular-cli/issues/9243


Request detours.h in nuget package

Add detours.h into nuget package so that we can use it in C++ projects directly.
(Because I don't know how to use original method after hook it in .NET 😂...

Hey, adding include file is probably not enough, as the native Nuget package requires a different folder structure (build/native) and (probably) a .targets file. Another thing is that C++ developers were not my intended audience. I personally preferred to use vcpkg when developing in C++. However, if you think it's worth the effort and have time to adopt this package to work for both managed and native audience, feel free to prepare a PR. Thanks

Ah, and I plan to soon publish a video showing how I use this package to prepare a hook in C#. So stay tuned :)

You can add .h to the root of package and add a target file with other name. Then we can add the nuget and add the target by self.


.env containing duplicates provides confusing outcome

Hello! Thanks for your library - it's very helpful.
I recently came across a confusing situation, where I had inadvertently set the same variable twice in a .env file with different values (as part of a Laravel deployment).
Example:
APP_DEBUG=false
....
APP_DEBUG=true

Results in APP_DEBUG=false after loading.
I totally realize that it's my responsibility to ensure that I'm not setting these twice, however I was surprised that there wasn't something that would either warn me about a duplicate, or use the last-set value, since it was set later?
Is this something that should be handled in the library? I couldn't find an associated test that expresses this concept.

Thanks for getting in touch. We have no mechanism of issuing a warning. We can either crash, or do nothing. It's interesting that the last value wasn't the one that ended up being used. I'll have a think about what is the best approach to address this.

The last value should always be used.
There should NOT be a crash.

Right. I wonder why the last value is not being used in this case...

Each name-value entry is processed in the order they were found:

https://github.com/vlucas/phpdotenv/blob/v3.3.3/src/Loader.php#L152-L175

If you're processing one line at a time, and not in overload mode, then the first value encountered will take precedence, correct? Maybe you need to enforce overload mode while processing lines?

Since overloading is an option that you may not want to enforce, maybe the loader can keep track of the keys already loaded (during a single load()), and only go into overload mode when it encounters an existing key.

Right, I see. Maybe the behaviour we have is correct, and if people want to have the other behaviour, they should run in overload mode?

If this is to emulate shell Environment varialbes, so that one can do . .env; mysql -u $DB_USER --password=$DB_PASS and easily load into docker environment variables, then you should strive for bash compatibility, which means that the last overwrites former.
If this project's goal is NOT to emulate shell env scripts, then we will have a situation like how the Laravel devs decided, unilaterally, in v5.8 to stop reading the env variables from, you know, the environment. That's why I created phpexpertsinc/Laravel57-env-polyfill (plus you can now use env() with vlucas/phpdotenv without needing Laravel).

As a developer, I expect the last value to override the first one OR a crash. Anything else is counter-intuitive.

hat's why I created phpexpertsinc/Laravel57-env-polyfill

I don't understand why you created that? Laravel 5.8 behaves in exactly the same way as 5.7 for environment variable reading (after an initial wobble that was reverted).

in v5.8 to stop reading the env variables from, you know, the environment

That change was revered, but you misrepresent the motive for the change in Laravel. It change was just to avoid calling non-threadsafe functions. It still read from both the server and env superglobals. Anyway, as I said, out of the box, Laravel 5.8 does now behave just as 5.7 did.

Alright, this is fixed in v3.4.0, by 5084b23845c24dbff8ac6c204290c341e4776c92. Thanks for the report @miketheman. The issue was due to load not overriding existing variables by default, but it was mistaking also not overriding variables that were originally unset, but were set in the env file. This has been fixed now, so if a variable was initially unset, and was set by the env file, it can then be overwritten again later in the env file. The behaviour should be explained by the new test I've added. :)

Thanks @GrahamCampbell and everyone else who put effort into this. Very happy with the resolution.

🚀🚀🚀

@GrahamCampbell isn't this a breaking change? Given order is treated differently that it was before, configurations that relied on that are not working anymore.

I'd regard this as a bug fix. The intended behaviour was definitely for the last item to persist.
Even if we regard it as breaking, if we change it back, this will also break people's code, since there release has been out for a bit now. :/

Fair enough, but I think there could be far more projects depending on pre 3.4 order than there are post 3.4. Even if intended behaviour was for last to persist it 3.4 has a major braking change and simple composer update just breaks apps in some cases. It took us 16 days to notice this, quite a pong time, but its not that every day we update dependancies. We rely on order in .env files because we load config values from various sources - app specific and global, and wanted app specific to be more powerful. Also, the order of persistance was not documented when we built upon this library, so by testing behaviour we assumed its first occurance wins.
Can I suggest reverting to pre 3.4 behaviour and making order configurable, and having post 3.4 behaviour for 4.x?

Can I ask, why do you have more than one entry of the same result in a file?

I'd like to understand the use case for this.

We populate .env file with values from various sources.

Let me elaborate, on deployment, we have a script that creates .env file by populating it with values from various sources. The sources are app specific values stack values and global values in that order. Pre 3.4 behaviour guaranteed that we can "override" global values in app context as app values are before global values in .env. file.

Hmmm. I'm still unsure what to do. The order of loading was not documented or tested until v3.4, so one could argue the behaviour was never properly specified.. Reverting it in v3.5 could be very confusing.

I do see your point, but having the change in behaviour also is very confusing.

Given both are confusing, I would propose we move forward with the change that makes sense and is intuitive, document it, and forget about it. :)

Of course we can use older version, but essentially this can be considered a braking change and given semantic versioning is used (which is industry and community approved standard) having this behavioural change in 3.x is regression.

It could also not be considered a breaking change, because the correct behaviour was never specified. This is why bug fixes are not considered breaking changes.

Bug fix or not this drastically changes the behaviour in non backwards compatible way, all versions prior 3.5 (including 2.x) used reverse order. I'm not arguing that this should not be fixed. Furthermore, we will stick to 3.4 and update our scripts to fix order.
At the end of the day, there are 70 millions of installs of this library and simple composer update breaks the behaviour as it was observed before. Even if this has not been documented before I think it's false to assume that this is simply a "bug fix", given how many people this can affect.

70 million downloads, true, but we are only talking about an extreme edge case here. Variables override is not a common use case for this library.


update: bump to 0.7.0

:tada: This PR is included in version 1.0.0-semantic-release.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


GA4: Fix ecommerce tracking of searches without query

What
The GA4 ecommerce tracking for search results doesn't currently work if the user is searching for an empty query, as the check for whether the ga4-search-query data attribute is present uses loose Javascript boolean logic (i.e. returning false for an empty string).
This amends it to strictly check for null instead (data attribute not present at all), and adds some tests for the search ecommerce data being properly set with the query present and absent.
Why
So we can actually track empty searches like all other searches.

Needs a CHANGELOG entry probably 👍


Can't get notification from other netconf client except from netopeer2 cli.

Hi,
I can't get notification from other netconf client
for example:
step1 ssh netconf@localhost -p 830 -s netconf
step2 then send hello message:
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
       <capabilities>
               <capability>urn:ietf:params:netconf:base:1.0</capability>
   			<capability>urn:ietf:params:netconf:capability:notification:1.0</capability>
       </capabilities>
</hello>
]]>]]>

step 3 send subscribe and server reply ok
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
    <create-subscription xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
    </create-subscription>
</rpc>
]]>]]>

step 4 use sysrepocfg --notification=/home/sdn/notification.xml
from netopeer cli,after subscribe,I can get the notification;
but from ssh client,I can't get the notification
from odl netconf client I can't get the notification either.
can you help me to find the reason?

Hi,
did you check netopeer2 output? Try running it with -d -v2. Also, it is difficult to use ssh(1) and NETCONF correctly, so I would advise against that.
Regards,
Michal

Hi,
Michal,I connect using ssh client or odl client and then I can't recieve the notification.Below is the log,after send sysrepocfg --notification=/home/sdn/upgrade_noti.xml ,there are some error logs.
root@sdns:/home/sdn# [INF]: LN: Accepted a connection on <IP_ADDRESS>:830.
[INF]: SR: Session 3 (user "root") created.
[2020/07/15 00:59:20.835504, 2] ssh_pki_import_privkey_base64:  Trying to decode privkey passphrase=false
[2020/07/15 00:59:20.838710, 1] ssh_server_connection_callback:  SSH client banner: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
[2020/07/15 00:59:20.838747, 1] ssh_analyze_banner:  Analyzing banner: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
[2020/07/15 00:59:20.838764, 1] ssh_analyze_banner:  We are talking to an OpenSSH client version: 7.6 (70600)
[2020/07/15 00:59:20.864335, 2] ssh_server_curve25519_init:  SSH_MSG_KEX_ECDH_REPLY sent
[2020/07/15 00:59:20.864402, 2] ssh_server_curve25519_init:  SSH_MSG_NEWKEYS sent
[2020/07/15 00:59:20.869008, 2] ssh_packet_newkeys:  Received SSH_MSG_NEWKEYS
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[2020/07/15 00:59:20.870138, 2] ssh_message_auth_interactive_request:  Warning: Got a keyboard-interactive response but it seems we didn't send the request.
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: User "netconf" authenticated.
[INF]: LN: Received an SSH message "request-channel-open" of subtype "session".
[INF]: LN: Received an SSH message "request-channel" of subtype "env".
[INF]: LN: Received an SSH message "request-channel" of subtype "subsystem".
[2020/07/15 00:59:34.086732, 2] grow_window:  growing window (channel 43:0) to 1280000 bytes
[INF]: SR: Session 4 (user "root") created.
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 1 priority 0 succeeded.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Accepted a connection on <IP_ADDRESS>:830.
[INF]: SR: Session 5 (user "root") created.
[2020/07/15 00:59:48.219999, 2] ssh_pki_import_privkey_base64:  Trying to decode privkey passphrase=false
[2020/07/15 00:59:48.222509, 1] ssh_server_connection_callback:  SSH client banner: SSH-2.0-APACHE-SSHD-2.2.0
[2020/07/15 00:59:48.222573, 1] ssh_analyze_banner:  Analyzing banner: SSH-2.0-APACHE-SSHD-2.2.0
[2020/07/15 00:59:48.246154, 2] ssh_server_ecdh_init:  SSH_MSG_KEXDH_REPLY sent
[2020/07/15 00:59:48.246264, 2] ssh_server_ecdh_init:  SSH_MSG_NEWKEYS sent
[2020/07/15 00:59:48.254784, 2] ssh_packet_newkeys:  Received SSH_MSG_NEWKEYS
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[2020/07/15 00:59:48.298597, 2] ssh_message_auth_interactive_request:  Warning: Got a keyboard-interactive response but it seems we didn't send the request.
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: User "netconf" authenticated.
[INF]: LN: Received an SSH message "request-channel-open" of subtype "session".
[INF]: LN: Received an SSH message "request-channel" of subtype "subsystem".
[2020/07/15 00:59:48.308721, 2] grow_window:  growing window (channel 43:0) to 1280000 bytes
[INF]: SR: Session 6 (user "root") created.
[INF]: SR: Published event "notif" "ietf-netconf-notifications" with ID 1 priority 0 for 1 subscribers.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: SR: Processing "notif" "ietf-netconf-notifications" event with ID 1.
[INF]: SR: Successful processing of "notif" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 2 priority 0 for 1 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 2 priority 0 (remaining 1 subscribers).
[ERR]: LN: Session 1: failed to write notification (would block).
[ERR]: NP: Sending a notification to session 1 timed out.
[INF]: SR: Successful processing of "rpc" event with ID 2 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 2 priority 0 succeeded.
[INF]: NP: Session 2: thread 3 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/ietf-netconf:get" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf:get" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
[INF]: SR: Published event "operational" "/ietf-netconf-monitoring:netconf-state" with ID 1.
[INF]: SR: Processing "ietf-netconf-monitoring" "operational" event with ID 1.
[INF]: SR: Successful processing of "operational" event with ID 1.
[INF]: SR: Event "operational" with ID 1 succeeded.
[INF]: SR: Successful processing of "rpc" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 1 priority 0 succeeded.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: NP: Session 2: thread 3 event new RPC.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/ietf-netconf:get" with ID 2 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf:get" "rpc" event with ID 2 priority 0 (remaining 1 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 2 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 2 priority 0 succeeded.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: NP: Session 2: thread 4 event new RPC.
root@sdns:/home/sdn#
root@sdns:/home/sdn#
root@sdns:/home/sdn#
root@sdns:/home/sdn# sysrepocfg --notification=/home/sdn/upgrade_noti.xml
[INF]: SR: Processing "notif" "netconf-upgrade" event with ID 1.
[INF]: SR: Successful processing of "notif" event with ID 1 priority 0 (remaining 0 subscribers).
root@sdns:/home/sdn# [ERR]: LN: Session 1: failed to write notification (would block).
[ERR]: NP: Sending a notification to session 1 timed out.
root@sdns:/home/sdn#
root@sdns:/home/sdn# [ERR]: LN: Session 1: inactive read timeout elapsed.
[INF]: NP: Session 1: thread 0 event session terminated.
[INF]: SR: Published event "notif" "ietf-netconf-notifications" with ID 2 priority 0 for 1 subscribers.
[INF]: NP: Generated new event (netconf-session-end).
[INF]: SR: Processing "notif" "ietf-netconf-notifications" event with ID 2.
[INF]: SR: Successful processing of "notif" event with ID 2 priority 0 (remaining 0 subscribers).

Hi,
okay, I made the effort of debugging this but it turns out I was right in my first reply. I have not tried the ODL client but it seems it is not sending correct NETCONF messages, I can illustrate with ssh(1) although I have already explained this several times.
When you connect, you receive the hello message and send yours. However, you can only send a message by writing the XML manually and finish it with a newline, otherwise the message is not sent. However, that last newline is not a part of a NETCONF message so netopeer2 (libnetconf2) thinks that you are sending another message. Unless you finish the message in 20s by default, you get disconnected with an error that inactive read timeout elapsed, this is the reason. However, if you manage to subscribe and receive a notification until then, you see the would block error. The reason being that netopeer2 is still waiting for you to finish writing the previous message (which you started by the spare newline) and so it is holding a lock on that session.
So, there is nothing for us to fix.
Regards,
Michal

Hi Michal，
the question you mentioned I have met sometime.now I know the reason.
This time When I send hello and then send subscribe,got the rpc reply ok,so it seems that the hello works.
But from the client can't get the notification,and some seconds later,the ssh client broke.

]]>]]>
]]>]]>r
[INF]: LN: Accepted a connection on <IP_ADDRESS>:830.
[INF]: SR: Session 3 (user "root") created.
[2020/07/15 08:10:11.898206, 2] ssh_pki_import_privkey_base64:  Trying to decode privkey passphrase=false
[2020/07/15 08:10:11.902472, 1] ssh_server_connection_callback:  SSH client banner: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
[2020/07/15 08:10:11.902522, 1] ssh_analyze_banner:  Analyzing banner: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
[2020/07/15 08:10:11.902553, 1] ssh_analyze_banner:  We are talking to an OpenSSH client version: 7.6 (70600)
[2020/07/15 08:10:11.923175, 2] ssh_server_curve25519_init:  SSH_MSG_KEX_ECDH_REPLY sent
[2020/07/15 08:10:11.925449, 2] ssh_server_curve25519_init:  SSH_MSG_NEWKEYS sent
[2020/07/15 08:10:11.929766, 2] ssh_packet_newkeys:  Received SSH_MSG_NEWKEYS
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[2020/07/15 08:10:11.970697, 2] ssh_message_auth_interactive_request:  Warning: Got a keyboard-interactive response but it seems we didn't send the request.
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: User "raisecom" authenticated.
[INF]: LN: Received an SSH message "request-channel-open" of subtype "session".
[INF]: LN: Received an SSH message "request-channel" of subtype "env".
[INF]: LN: Received an SSH message "request-channel" of subtype "subsystem".
[2020/07/15 08:10:26.603966, 2] grow_window:  growing window (channel 43:0) to 1280000 bytes
[INF]: SR: Session 4 (user "root") created.
[INF]: SR: Replay file "ietf-netconf-notifications.notif.1594777274-1594800482" renamed to "ietf-netconf-notifications.notif.1594777274-1594800627".
[INF]: SR: Notification "netconf-session-start" stored for replay.
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Published event "rpc" "/notifications:create-subscription" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/notifications:create-subscription" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 1 priority 0 succeeded.
[INF]: NP: Session 1: thread 1 event new RPC.
root@sdns:/home/sdn# sysrepocfg --notification=/home/sdn/upgrade_noti.xml
[INF]: SR: Processing "notif" "raisecom-upgrade" event with ID 1.
[INF]: SR: Successful processing of "notif" event with ID 1 priority 0 (remaining 0 subscribers).
root@sdns:/home/sdn#
root@sdns:/home/sdn#
root@sdns:/home/sdn#
root@sdns:/home/sdn#
root@sdns:/home/sdn# sysrepocfg --notification=/home/sdn/upgrade_noti.xml
[INF]: SR: Processing "notif" "raisecom-upgrade" event with ID 2.
[INF]: SR: Successful processing of "notif" event with ID 2 priority 0 (remaining 0 subscribers).
root@sdns:/home/sdn# [ERR]: LN: Session 1: inactive read timeout elapsed.
[INF]: NP: Session 1: thread 1 event session terminated.
[INF]: SR: Replay file "ietf-netconf-notifications.notif.1594777274-1594800627" renamed to "ietf-netconf-notifications.notif.1594777274-1594800659".
[INF]: SR: Notification "netconf-session-end" stored for replay.
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-end).

Hi,
I have nothing new to tell you, I have mentioned everything that fully explains this behavior.
Regards,
Michal

Change another way to verify why can‘t recieve the notification，close this issue’


Addressed several issues and refreshed code to work with Node 16 LTS

Updated travis to use Node 16 LTS
Fixed/updated tests throughout the project
Addressed current security vulnerabilities by updating all packages to latest
All tests are passing now - https://app.travis-ci.com/github/atul898/node-sql
Logo: https://app.travis-ci.com/atul898/node-sql.svg?branch=master

Going to close this pull request, since I published this change here - https://github.com/atul898/node-sql and we can use it from there for our project. If anyone else needs to address the current security vulnerabilities when using this package with node 16 and above, you are welcome to use my changes.


Ensure @arXiver will show our M15 abundance comparison when the paper goes on arXiv.

To specify which figures you want to appear alongside your paper, please leave a comment in any .tex file before uploading to arXiv, as in this example:
%@arxiver{fig1.pdf,fig4.png,fig15.eps}
Note: do not include the path to the figure (just the name and extension) – the arXiver code will find nested figures automatically. See the FAQ for more details!


Running GitHub Actions without MacOS/Windows Certs

I'd like to use the GitHub actions pipeline to build the plugin for VST/AU, and generate installers as well if possible. However I don't yet have the MacOS or Windows certificates that are used in the GitHub actions script. Do you recommend an approach for this situation, before the certificates have been obtained?
Thank you!

Hi there!
I would simply comment out the calls to code signing and notarization -- on windows that'll pop a malware warning, however on a mac that'll make life pretty frictionfull for anyone else trying to install (including yourself).
I'll publish a post soon about how to pop the mac cert in, its straightforward.

Thanks! As you suggested, commenting out all the calls to code signing and notarization for Windows and Mac worked. I can't speak for Linux, because I removed that pipeline in my repo.
Following this change, I then needed to update the project name in dmg.json and installer.iss to the exact same as ProjectName in CMakeLists.txt; after making that change, the Mac/Windows GitHub Actions pipelines succeeded.
I will close this issue now. However, the Windows installer generated by the doesn't seem to work correctly - I will detail this in another issue. Thanks again!


minor fixes

Hi Tobias,
some minor fixes.
Best,
Jens

Tobias, any comment? Is it possible to merge the PR?


Add dispatcher as parameter to the middleware - Fix #8

This PR fix issue #8 .

Cool, I played around with making the store available to the middleware in the past but couldn't figure out a clean solution. Just providing the dispatcher actually seems pretty reasonable. 👍


GHES Cluster HA/DR

Summary
We are enabling Enterprise Server cluster customers to provision a secondary cluster that is configured to asynchronously replicate from the primary. This will provide a high availability configuration for cluster setups. We are planning to ship this in the 2.22 release.
Intended Outcome
These changes will reduce upgrade time by enabling customers to eliminate backup and restore tasks from the upgrade process, and reduce Recovery Time Objectives (RTO) and Recover Point Objectives (RPO) by enabling failover.
How will it work?
We will add support for a passive cluster replica. Customers will be able to break replication for upgrades, and manually trigger failover to the replica.

https://enterprise.github.com/releases/2.22.0/notes


[TEMP] temp updater to force download from purple-a11y repo

Closed as transition build is complete but not for merging into main


fix(sbb-toggle): supress warnings on SSR

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

Comparison is base (638977d) 92.61% compared to head (ab22c53) 95.96%.
Report is 68 commits behind head on master.

Files
Patch %
Lines

...nents/core/common-behaviors/slot-child-observer.ts
93.33%
5 Missing :warning:

src/components/core/dom/breakpoint.ts
42.85%
4 Missing :warning:

src/components/autocomplete/autocomplete.ts
70.00%
3 Missing :warning:

src/components/card/card-action/card-action.ts
70.00%
3 Missing :warning:

src/components/core/dom/dataset.ts
25.00%
3 Missing :warning:

src/components/core/dom/host-context.ts
40.00%
3 Missing :warning:

src/components/header/header/header.ts
50.00%
3 Missing :warning:

src/components/tooltip/tooltip/tooltip.ts
25.00%
3 Missing :warning:

src/components/calendar/calendar.ts
86.66%
2 Missing :warning:

src/components/core/dom/find-referenced-element.ts
60.00%
2 Missing :warning:

... and 26 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2228      +/-   ##
==========================================
+ Coverage   92.61%   95.96%   +3.35%
==========================================
  Files          53      329     +276
  Lines        2409    39095   +36686
  Branches      254     2178    +1924
==========================================
+ Hits         2231    37519   +35288
- Misses        176     1530    +1354
- Partials        2       46      +44

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


private(set) var Component.state

Right?

Whaaaaaaat. So this makes state publicly readable by only privately settable?

Yezzur! We live in an incredible age

Oh yeah it might be good if users could read component states, I guess.

:boom:


balena-yocto-scripts: Update to v1.17.12

Update balena-yocto-scripts from v1.17.11 to v1.17.12
Change-type: patch
Changelog-entry: Update balena-yocto-scripts to v1.17.12
Signed-off-by: Anton Belodedenko<EMAIL_ADDRESS>

@resin-jenkins test this please

@resin-jenkins jenkins build please

@klutchell @alexgg any ideas why this build fails?

qemu-generic-aarch64 is a new job I created last week, and it's not in a position yet where it will ever pass as it's still under development.
Feel free to self-certify.

@balena-ci I self-certify!


python310Packages.jax build failure on x86_64-linux as of 7b5ac19d

Issue description
Build of python310Packages.jax failed on x86_64-linux as of 7b5ac19d7b5f6e029001b101cab7b73b7a45ed71. This is currently breaking python3Packages.augmax.
error: builder for '/nix/store/maxv1bjcsl8lg4plddyklinqvs503vkn-python3.10-jax-0.3.6.drv' failed with exit code 1;
       last 10 log lines:
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[5,5]
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[5,8]
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[8,5]
       > FAILED tests/sparse_test.py::cuSparseTest::test_csr_fromdense_ad_float32[8,8]
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGrad - KeyError: dtype(...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradInf - KeyError: dty...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradNan - KeyError: dty...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradNegInf - KeyError: ...
       > FAILED tests/nn_test.py::NNFunctionsTest::testSoftplusGradZero - KeyError: dt...
       > ========= 59 failed, 14190 passed, 1447 skipped in 1435.33s (0:23:55) ==========
       For full logs, run 'nix log /nix/store/maxv1bjcsl8lg4plddyklinqvs503vkn-python3.10-jax-0.3.6.drv'.
error: 1 dependencies of derivation '/nix/store/v197qyylpyg285cal6k7pbp5dk1r4wfw-python3.10-augmax-unstable-2022-02-19.drv' failed to build

full build log
python3Packages.augmax maintainers cc: @samuela
python310Packages.jax maintainers cc: @samuela
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit 7b5ac19d7b5f6e029001b101cab7b73b7a45ed71
Run nix-build -A python310Packages.jax

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-1014-azure, Ubuntu, 20.04.4 LTS (Focal Fossa), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - nixpkgs: `/nix/store/6gjy11zcb894vs8j22wgifkxp7l3vpsp-source`

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tags: -4168978265584779453 -3399608223963293385

dup of https://github.com/NixOS/nixpkgs/issues/183173


Mat-Datepicker this._overlay.position(...).flexibleConnectedTo(...).withTransformOriginOn is not a function

Bug, feature request, or proposal:
<mat-form-field>       <input formControlName="birthdate" #birthdate id="birthdate" matInput [matDatepicker]="picker3" placeholder="Birth date">        <mat-datepicker-toggle matSuffix [for]="picker3"></mat-datepicker-toggle>        <mat-datepicker #picker3></mat-datepicker>  </mat-form-field>
When opening the calendar through the mat-datepicker-toggle, An error is reported in the console.

"ERROR TypeError: this._overlay.position(...).flexibleConnectedTo(...).withTransformOriginOn is not a function"
What is the expected behavior?
I expect the calendar pop-up to be opened.
What is the current behavior?
No calendar pop-up opens, in console there is a error report stating the following.
"ERROR TypeError: this._overlay.position(...).flexibleConnectedTo(...).withTransformOriginOn is not a function"
What are the steps to reproduce?
unable to reproduce
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
dependencies
"@angular/animations": "^6.0.0",
"@angular/cdk": "6.0.1",
"@angular/cli": "^6.1.5",
"@angular/common": "^6.0.0",
"@angular/compiler": "^6.0.0",
"@angular/compiler-cli": "^6.0.0",
"@angular/core": "^6.0.1",
"@angular/forms": "^6.0.0",
"@angular/http": "^6.0.0",
"@angular/material": "^6.4.7",
Is there anything else we should know?

You should update your version of @angular/cdk to match the version of @angular/material.


broken "Example 1: Amplitude Damping" (Noise documentation)

"Example 1: Amplitude Damping" in the file https://github.com/rigetticomputing/pyquil/blob/master/docs/source/noise.rst
won't run because of the line  cxn.random_seed= int(num_I)

QVMError: The value
0
is not of type (INTEGER 1<PHONE_NUMBER>)

replacing this with
cxn.random_seed = int(num_I+1)
works.

cc #515


Subaru can2 lanenudge

Choose one of the templates below:
Fingerprint
This pull requests adds a fingerprint for <Make - Model - Year - Trim>.
This is an explorer link to a drive with the stock system enabled: ...
Car support
This pull requests adds support for <Make - Model - Year - Trim>.
This is an explorer link to a drive with the stock system enabled: ...
This is an explorer link to a drive with openpilot system enabled: ...
Feature
This pull requests adds feature X
Description
Explain what the feature does
Testing
Explain how the feature was tested. Either by the added unit tests, or what tests were performed while driving.

Lane nudge uses stock LKAS when subaru LKAS button is active


Target netstandard2.0

Various changes based on the initial efforts of @kblohm. Both Deedle and Deedle.RProvider compiles targeting dotnet standard now.

Trigger travis build.

THis is great work.  @kblohm Could you do a post-hoc review? thanks

Sure i can.
Just a few minor notes:

all the Tests should probably target netcoreapp2.1 instead of 2.0.
the fix for the documentation-test does not work for non-english languages because the error messages get translated. I, for example, can not run them.
i can not run the RPlugin-Tests or even compile them (not even on net45). Not sure if i am missing something there or if you have the same problem.
in my opinion, the the RPlugin should not target netstandard until the RProvider actually supports it. At least if you plan on releasing a version 2.0.0-alpha soon, i would just release Deedle without it and provide the RPlugin later.

@kblohm Thanks for your review. I've done a pull request to address some problems. Please take a look and let me know what you think.
https://github.com/fslaborg/Deedle/pull/393

All Deedle tests target netcoreapp2.1 and net45
RPlugin.tests target net45
Documentation.tests target net461 because of fsharp.formatting

I don't know how to force locale of error messages to en-us. I've tried some tricks but didn't succeed. Maybe a short-term solution is to turn off documentation test on your local machine so that build can pass.
RPlugin.Tests is really a pain. My environment has R-3.4.3 (with zoo package installed) installed at C:\R\R-3.4.3\bin\x64. I add this to path environment variable. I also set R_HOME to be C:\R\R-3.4.3. With those setting, RPlugin.Tests shall be able to build.
But in order to run RPlugin.Tests, I couldn't get it working via dotnet test as it always look for x86 version of R by default. For now, I enforced RPlugin.Tests to be run via nunit.consolerunner.
I also changed the default setting in build.fsx. By default it will only build allcore which exclude rplugin and rplugin tests so that we can focus on Deedle itself until the picture of RProvider is clearer.
I did remove netstandard from Deedle.RPlugin. We shall keep it at net45 until RProvider is on netstandard.


[Single Machine Performance] Send nightly builds to SMP ECR

What does this PR do?
This commit introduces a new nightly job that will publish Agent amd64-a7 to Single Machine Performance's ECR, in preparation for a new nightly-only tool to be introduced in a follow-up PR. We have added COMMIT_TIME to the publish job definition to allow us to order imagines in time.
Motivation
We intend to introduce a new nightly-only tool, see this page for details.
REF SMP-673

I'll wait to merge this until I get a sign-off from someone on @DataDog/container-integrations.


How to show a tooltip?

Is it possible to show a tooltip when the mouse pointer is over a state?
I want to show some infor when the user passes the pointer over a state, each state has a different tooltip content.
I am trying to use something like this plugin:
http://www.opentip.org/
my current code looks like this:
$('#map').usmap({
            'mouseover': function(event, data)
            {
                console.log('Mouse over: ' + data.name);
                //I need to show a tooltip here, this tooltip should be shown for the hovered state
            }
        });

Can someone please help me I am trying to display a tooltip in my map and no matter how I try it seems to never work. I have the following code:
'mouseover': function(event, data) {
//console.log('Mouse over: ' + data.name);
var title = data.name;
$('').text(title).appendTo('body').fadeIn('slow');
$('#map').mousemove(function(e) {
var mousex = e.pageX - 10; //Get X coordinates
var mousey = e.pageY - 30; //Get Y coordinates
$('.tooltip').css({ top: mousey, left: mousex })
});
},
'mouseout': function(event, data) {
$('.tooltip').remove();
},
enableToolTips: true
My map div id is "map" and it never goes into the $('#map').mousemove() function

Tried the above with no avail:
            mouseover: function(event, data) {
                var title = data.name;
                $('

').text(title).appendTo('body').fadeIn('slow');
                $('#map').mousemove(function(e){
                    var mousex = e.pageX - 10; // get x coords
                    var mousey = e.pageY - 30; // get y coords
                    $ ('.tooltip').css({top: mousey, left: mousex});
                });
            },
            mouseout: function(event, data){
                $('tooltip').remove();
            }

Am I missing something?

Just to report back, if anyone needs help, the following works for me:
            // Show tooltip when hovering over state
            mouseover: function(event, data) {
                $('#tooltip').text(data.name).show();
                $('#map').mousemove(function(e){
                    var mouseX = e.pageX -10;
                    var mouseY = e.pageY -30;
                    $('#tooltip').css({
                        top:mouseY,
                        left:mouseX,
                        'position': 'absolute',
                        'border':'1px solid black',
                        'background': '#fff'
                    });
                });
            },

Hi Kj I am trying to add a tooltip.  But its not woking. Can you please look at my code and give me an advice.

Can you format your code? It will be easier to troubleshoot. Use the "<>" button in the text editor.

Thanks for your quick response.

Hi Kate thanks a lot for your help. So now I have a working code with tooltip. Inside the tooltip I want to have dirrerent text for different states. How I can implement it. Below is my woking code:

The data.name part should be where the information for each state is taken from.  If you create an array in the code you could probably alter the text if needed.

Thanks a lot for your quick response.

So if I want to display the tooltip text like this, how can I code it?
For
ME = "Hot" ,
WI = "Cold",
MT= "Normal".
What are the changes needed in my code?

Thansk my code is working. I am using a conditional statement.

How can i show FULL state name on tool tip ?

@bmanu Make an array somewhere and then use the abbreviation to get the value. E.g.:
let nameList = {
"AL" : "Alabama"
"AK" : "Alaska"
...
}

And then call it in the mouseover function as above using the tooltip code:
$('#tooltip').text(nameList[data.name]).show();

@kjrhody  .. thank you very much... I have done it. But already one array in JS file named 'otherStates' , why we cant use it like 'otherStates[state].full' ?
Also is any way to make all state color full ? :), Thanks

@kjrhody .. can you help me one more .. I want to add different color to each state . I tried like
'stateSpecificStyles': {
'TX' : {fill: '#999966'}
},
'stateSpecificHoverStyles': {
'TX' : {fill: '#999900'}
},
'stateSpecificStyles': {
'CA' : {fill: '#B12401'}
},
'stateSpecificHoverStyles': {
'CA' : {fill: '#E32F02'}
},
'stateSpecificStyles': {
'AZ' : {fill: '#B12401'}
},
But its working only at end of the code ... Thanks

@bmanu You have to put all the states in the same call, not make separate ones for each state:
'stateSpecificStyles': {
'AZ' : {fill: '#B12401'},
'CA' : {fill: '#B12401'}
},

@kjrhody ..Oh lovely .. thank you very much. I tried this. One more . I created an array like you said first 'nameList ' . Can I add these 3 items 'Name of state' ,its 'stateSpecificStyles' & 'stateSpecificHoverStyles' with single key 'State short text' for ex 👍
var stateNamelist = {
CA: {full: "California", fillstyle:"#B12401", fillstyle_H:"#E32F02"}, AZ: {full: "Arizona", fillstyle:"#B12401", fillstyle_H:"#E32F02"}, TX: {full: "Texas", fillstyle:"#999966", fillstyle_H:"#999900"}, etc...
And then call this an array.. how can we ?
Thanks

@bmanu Good idea! But you're on your own for that one - I haven't implemented anything like that yet.

Thanks @kjrhody  how can we make an array ?
,stateSpecificStyles: {
'AL': {
fill : '#B12401'
},
'AK': {
fill : '#B12401'
},
'AZ': {
fill : '#B12401'
}
How to make an array here for State code (AL, AK, AZ) & its fill values ?
Thanks

@bmanu I suggest reading the documentation, all of that information is in there:
https://newsignature.github.io/us-map/#demo


Hi, is there any way to change month and year columns position?

I want to display the year column which is before the month column like 2022 February instead of February 2022, is it posible?
thank you...

Hello @scsman! thanks for using the lib. That could be a nice enhancement. I can work on it after solving a couple of issues.


Emscripten support

With some tweaks, threepp can be compiled to webassembly through Emscripten.
I can confirm that it works, but needs a little effort implementing in a good way.

@markaren Looking forward to seeing your compilation of threepp for the web and the tutorials, it's great.


Add Connected Components from zero / one adjacency matrix

Describe the feature and the current behavior/state.
Add function to extract the Connected Components of an adjacency matrix of an undirected graph.
API:
num_components, components_indexes = extreact_connected_components(adjacency matrix)
adjacency matrix: Tensor[batch, num nodes, num nodes]
num_components: Tensor[batch]
components_indexes: Tensor[batch, num nodes] - each node component index
Relevant information

Are you willing to contribute it (yes/no): Don't have enough knowledge
If you wish to contribute, then read the requirements for new contributions in CONTRIBUTING.md
Are you willing to maintain it going forward? (yes/no):
Is there a relevant academic paper? (if so, where):
Does the relavent academic paper exceed 50 citations? (yes/no):
Is there already an implementation in another framework? (if so, where):
Was it part of tf.contrib? (if so, where): No

Which API type would this fall under (layer, metric, optimizer, etc.)
Graph?
Who will benefit with this feature?
Anyone who works on graph structures
Any other info.
Should be easy to implement via BFS / DFS until all nodes are reached

Thank you for the request but probably It Is better If you will try to propose this in:
https://github.com/aimat-lab/gcnn_keras
Or
https://github.com/danielegrattarola/spektral


local pod repository for testing

Is there a way to use new_pod_repository with a locally modified version of a pod, similar to how local_repository works? I tried using a relative file in the url field, and I then the podspec file could not be found. I provided a value for podspec_url, but it expects a label, so I had to copy the podspec into the repo. I saw some code related to url being a file, but maybe I'm not using it as intended. For now, I am pushing changes to a fork and bumping the version for each change.

If I understand what you're asking -- I managed to get this working with vendored pods declared like in https://github.com/pinterest/PodToBUILD/blob/master/Examples/React/Pods.WORKSPACE, but it doesn't seem possible otherwise.


introduction/onboarding

https://user-images.githubusercontent.com/1469198/185236130-4e0094a5-3544-44fa-9596-a193d21b6aeb.mp4
you can also read my articles that are listed in this readme.
it might help you to get more understanding about what we are doing here.
cc @nadiakhoptiuk

@nadiakhoptiuk sorry for buzzing, was you able take a look this onboarding video that I shared with you? not sure if you get notified or something


Problem with submitting application to Google Play because of the usage of getLine1Number inside the library

Summary
The issue lies in the utilization of TelephonyManager.getLine1Number() within the library's code (accessible via this link).
The problem stems from receiving notifications from Google for several applications we are developing, prompting the implementation of Prominent Disclosure. This requirement arises due to the inclusion of this function within the codebase. We speculate that Google flags this through static code analysis. The issue surfaced during Google Play's application verification process, where Google's automated systems detected the function's presence. Despite not actively collecting phone numbers, the function's existence necessitates a Prominent Disclosure and a revision of our data collection policies. Attempting to address this, we forked the code and successfully published a version devoid of this function.
Consequently, we propose offering a version of the library without this function. Notably, the getLine1Number function is deprecated, and alternative methods for retrieving phone numbers from SIM cards are recommended. However, access to phone number retrieval typically requires specific "carrier" permissions or designation as the default "SMS application." Thus, we believe retaining this function may hinder the seamless publication of many applications with react-native-device-info library inside on Google Play.

Version
All versions

Affected OS
Android

Indeed, as the platforms become more privacy-oriented there aren't that many good ways to handle this. The ideal way is to perhaps split the project in to sub-modules but that's a difficult user experience and a difficult maintainer experience.
However, for the telelphony APIs specifically, we're in luck as there appears to be a library that looks currently maintained and handles things better then we do already: https://github.com/odemolliens/react-native-sim-cards-manager
If you proposed a PR that removes the all telephony features that are present in react-native-sim-cards-manager we can issue a breaking change release that no longer has them here


TST, MAINT: test_maxiter_worsening on Python 3.9 + Linux ARM64

test_maxiter_worsening[gmres] was observed to fail in the wheels repo CI for Python 3.9 + Linux ARM64: https://travis-ci.com/github/MacPython/scipy-wheels/jobs/422619853
That's the only remaining failure I see before we're in good shape for 3.9 wheels across the board. I'm going to go ahead and restart that job now, but I'll paste the summary error output below in case I'm not lucky with the restart:
_______________________ test_maxiter_worsening[gmres] _________________________

[gw5] linux -- Python 3.9.0 /venv/bin/python

/venv/lib/python3.9/site-packages/scipy/sparse/linalg/isolve/tests/test_iterative.py:482: in test_maxiter_worsening

    assert_(error <= tol*best_error)

E   AssertionError

        A          = array([[-0.11127953+0.j        ,  0.        +0.j        ,

         0.        +0.j        ,  0.16127953+0.j        ],

 ...,

       [ 0.11127953+0.j        ,  0.        +0.j        ,

         0.        +0.j        , -0.16127953+0.j        ]])

        best_error = 0.001979511632724729

        error      = 0.05633679479248356

        info       = 7

        maxiter    = 7

        solver     = <function gmres at 0xffff74623040>

        tol        = 7

        v          = array([1., 1., 1., 1.])

        x          = array([-1.18884429e+15+3.26937190e+09j, -3.44234853e-03-1.59087294e-01j,

       -3.44394082e-03+1.59079391e-01j, -8.20277894e+14+2.25579878e+09j])

Failure is repeatable--persisted after restarting job.

gh-13022 proposes to xfail the gmres parameter of the test in this specific scenario for now, to remove that block from the next release

I'm also seeing this test fail with Python 3.10 on Linux ARM64. Any updates on this?


Revert "Disable Omnibus git cache for Windows builds (#32289)"

What does this PR do?

Motivation
Re-enabling omnibus cache now that the issue from #incident-33348 has been fixed
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

/merge


Doesn't work with 2.4.0

Not able to install with composer on 2.4.0. Gives below error -
Using version ^3.0 for veriteworks/cookiefix
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install veriteworks/cookiefix 3.0.1|remove magento/product-community-edition 2.4.0|install magento/framework 102.0.6-p1
- Conclusion: don't install magento/framework 102.0.6-p1
- Conclusion: don't install veriteworks/cookiefix 3.0.1|don't install magento/product-community-edition 2.4.0|install magento/framework 102.0.6-p1
- Installation request for magento/product-community-edition 2.4.0 -> satisfiable by magento/product-community-edition[2.4.0].
- Conclusion: don't install veriteworks/cookiefix 3.0.1|install magento/framework 102.0.6-p1
- Conclusion: don't install veriteworks/cookiefix 3.0.0|remove magento/framework 103.0.0|install magento/framework 102.0.6-p1
- Conclusion: don't install veriteworks/cookiefix 3.0.0|don't install magento/framework 103.0.0|install magento/framework 102.0.6-p1
- Installation request for veriteworks/cookiefix ^3.0 -> satisfiable by veriteworks/cookiefix[3.0.0, 3.0.1].
- veriteworks/cookiefix 3.0.0 requires magento/framework ~102.0.6-p1||~103.0.1 -> satisfiable by magento/framework[102.0.7, 103.0.2-p1, 103.0.2, 103.0.1-p1, 102.0.6-p1, 103.0.1].
- Can only install one of: magento/framework[102.0.7, 103.0.0].
- Can only install one of: magento/framework[103.0.2-p1, 103.0.0].
- Can only install one of: magento/framework[103.0.2, 103.0.0].
- Can only install one of: magento/framework[103.0.1-p1, 103.0.0].
- Can only install one of: magento/framework[103.0.1, 103.0.0].
- Installation request for magento/framework (locked at 103.0.0) -> satisfiable by magento/framework[103.0.0].
Installation failed, reverting ./composer.json to its original content.

@amolagre
Please use CookieFix 2.4.2. Magento 2.4.0 doesn't have native same site cookie feature.

Ok.. yup I saw that and upgraded to 2.4.2


Add chdir

Closes #15

Yeah, posix_spawn and chdir is finicky.... especially with the darwin implementation.
https://github.com/05nelsonm/kmp-process/actions/runs/8077617801/job/22068267162?pr=63#step:8:756
Maybe macos should throw unsupported operation and fall back to using fork & exec?


Search API Error Signalling/Formatting

This PR will close #296
Description
This PR adds a decorator so 4xx/5xx responses are formatted as per the specification (see the linked issue for what that should be). This decorator is applied to each of the search API endpoint functions in search_api_endpoints.py. This is a similar solution to handling errors for DataGateway API (@queries_records).
Testing Instructions
The automated tests follow the same mechanism as the queries_records decorator so I've the same thing for this code. For manual testing, try and get 4xx/5xx responses and check the response body matches the format in the original issue.
poetry run semantic-release print-version shows 4.1.0 which is what I expect the version bump to be.

[ ] Review code
[ ] Check GitHub Actions build
[ ] If icatdb Generator Script Consistency Test CI job fails, is this because of a deliberate change made to the script to change generated data (which isn't actually a problem) or is here an underlying issue with the changes made?
[ ] Review changes to test coverage
[ ] Does this change mean a new patch, minor or major version should be made? If so, does one of the commit messages feature fix:, feat: or BREAKING CHANGE: so a release is automatically made via GitHub Actions upon merge?

Agile Board Tracking
Connect to #296

Consider the following request:
http://{{datagateway-api}}/search-api/documents?
it returns:
{
    "error": {
        "message": "attempt to return more than 10000 entities",
        "name": "PythonICATError",
        "statusCode": 500
    }
}

While the error message that comes from ICAT is useful (as it is) to someone using the Search API, I don't think the error name is. They probably do not know anything about ICAT so the error name is not relevant to them. I think we just need to catch PythonICATError in our calls to ICAT and raise an exceptions that is more suitable (perhaps SearchAPIError)? I do not expect finding the places where this error is raised to be an easy job because Python sadly does not enforce the handling of exceptions like Java does with checked exceptions.
The following request:
http://{{datagateway-api}}/search-api/datasets?filter={"include": [{"relation": "datasets"}]}
returns:
{
    "error": {
        "message": "Bad PaNOSC to ICAT mapping: ('datasets',)",
        "name": "FilterError",
        "statusCode": 400
    }
}

I think the error message needs to be reworded because, again, someone using the Search API probably does not know anything about ICAT.

I can see your point, but I'm not sure where the name of the response body will actually be used in the federated search frontend. I'm reluctant to spend time on neatening up the names unless there's demand for it from the frontend - I feel like there's tasks of higher priority to be working on.
Also, if we are sent bug reports when the API is used in production, I guess they'll send us the response body so having the actual API exception might actually be more useful for us? It might make it easier to investigate and resolve said bugs

I'm reluctant to spend time on neatening up the names unless there's demand for it from the frontend - I feel like there's tasks of higher priority to be working on.
I totally agree which is why I said it should be addressed separately at some point in future (if needed) rather than as part of this PR.


Gh 1564 hbase reducer

Codecov Report

Merging #1583 into develop will decrease coverage by 0.96%.
The diff coverage is 12.82%.

@@              Coverage Diff              @@
##             develop    #1583      +/-   ##
=============================================
- Coverage      66.29%   65.33%   -0.97%
+ Complexity      1824     1642     -182
=============================================
  Files            757      676      -81
  Lines          24663    22800    -1863
  Branches        3194     2982     -212
=============================================
- Hits           16351    14896    -1455
+ Misses          7041     6714     -327
+ Partials        1271     1190      -81

Impacted Files
Coverage Δ
Complexity Δ

...q/gaffer/hdfs/operation/reducer/GafferReducer.java
0% <0%> (ø)
0 <0> (?)

...peration/hdfs/reducer/AccumuloKeyValueReducer.java
80% <100%> (ø)
0 <0> (ø)
:arrow_down:

...ation/hdfs/handler/AddElementsFromHdfsHandler.java
63.02% <0%> (-1.69%)
0% <0%> (ø)

...asestore/operation/handler/GetElementsHandler.java

...store/operation/handler/GetAdjacentIdsHandler.java

...essor/processor/PreAggregationFilterProcessor.java

...quencies/binaryoperator/LongsSketchAggregator.java

...sketches/theta/serialisation/SketchSerialiser.java

...ap/function/aggregate/RoaringBitmapAggregator.java

...rdinality/predicate/HyperLogLogPlusIsLessThan.java

... and 73 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 c8de234...7f473a9. Read the comment docs.


Add README.md Spanish version

Pre-Submission Checklist

[ ] Your pull request targets the staging branch of freeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[x] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #XXXXX
Description
Adds Spanish translation for the READ.me file

:sparkles: :sparkles: AWESOME! LGTM. :sparkles: :sparkles:
Thanks @luisbd , for this pull request and contributing to the code-base for the first time.
We will be looking forward for more contributions in future.
Cheers and happy contributing!


IAnime

Source name
IAnime
Source link
https://i-anime.org/
Source language
French
Other details
This source contains popups
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #3384


Add a configure option that delete file will move file to .Trash with a TTL instead of delete

Describe the solution you'd like
Add configure options like alluxio.user.path.remove.direct=true and alluxio.user.path.remove.ttl=10000.
When alluxio.user.path.remove.direct=true alluxio fs rm /path will remove the path directly, when alluxio.user.path.remove.direct=false alluxio fs rm /path will move the path to .Trash with a TTL configured with alluxio.user.path.remove.ttl=10000.
Describe alternatives you've considered
When users run alluxio fs rm /path command, they will input wrong path. In this sense, we need a recover method.
Urgency
Remove importent files by accident brings a big lost.

@JySongWithZhangCe Could you add more details about this feature request in the Issue description?

@JySongWithZhangCe Could you add more details about this feature request in the Issue description?

OK！

OK！

@JySongWithZhangCe Could you add more details about this feature request in the Issue description?

I have updated!

@JySongWithZhangCe Could you add more details about this feature request in the Issue description?

I have updated!

One challenge with this kind of feature is needing to support it in the underlying storage system as well. This may not be possible and/or can cause consistency issues (for example if the underlying storage supports another kind of trash). Conversely, if you are using an underlying storage system that supports this, this functionality is still available, just not at the Alluxio level.

One challenge with this kind of feature is needing to support it in the underlying storage system as well. This may not be possible and/or can cause consistency issues (for example if the underlying storage supports another kind of trash). Conversely, if you are using an underlying storage system that supports this, this functionality is still available, just not at the Alluxio level.

One challenge with this kind of feature is needing to support it in the underlying storage system as well. This may not be possible and/or can cause consistency issues (for example if the underlying storage supports another kind of trash). Conversely, if you are using an underlying storage system that supports this, this functionality is still available, just not at the Alluxio level.

I agree

One challenge with this kind of feature is needing to support it in the underlying storage system as well. This may not be possible and/or can cause consistency issues (for example if the underlying storage supports another kind of trash). Conversely, if you are using an underlying storage system that supports this, this functionality is still available, just not at the Alluxio level.

I agree

One challenge with this kind of feature is needing to support it in the underlying storage system as well. This may not be possible and/or can cause consistency issues (for example if the underlying storage supports another kind of trash). Conversely, if you are using an underlying storage system that supports this, this functionality is still available, just not at the Alluxio level.

Hi calvinjia, can you explain why/or give an example of consistency issues.
I am using alluxio.hadoop.FileSystem, because there is no namenode, then no one can cleaning the content in trash folder (e.g. /user/hive/.Trash) automatically. Or, is there exists an machanism to clean the trash?

Will close it for now, feel free to reopen it and contact us if this is a strong request.


Persist backstack entries viewstate gracefully

See #67 for details

Thanks for the bug report and the PR. You've probably noticed that the API is being updated, and I don't think what you've proposed here is quite what @loganj has in mind. But we'll make sure to cover this case.

No sure, but #72 seems to me make no change at problem of not persisting
ViewState. I’d like to use newest api but don’t want to strugle for
ViewState problem. So let me update pr to latest api changes, and maybe
@loganj could join discussion? Would be great!
On Thu, Apr 2, 2015 at 6:58 PM rjrjr<EMAIL_ADDRESS>wrote:

Thanks for the bug report and the PR. You've probably noticed that the API
is being updated, and I don't think what you've proposed here is quite what
@loganj https://github.com/loganj has in mind. But we'll make sure to
cover this case.
—
Reply to this email directly or view it on GitHub
https://github.com/square/flow/pull/68#issuecomment-88958130.


Add cross tool for windows

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.

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

Project coverage is 66.00%. Comparing base (1ecd94c) to head (7653164).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
- Coverage   66.17%   66.00%   -0.17%
==========================================
  Files         187      188       +1
  Lines       23171    23470     +299
==========================================
+ Hits        15334    15492     +158
- Misses       7837     7978     +141

Components
Coverage Δ

crashtracker
19.34% <ø> (ø)

datadog-alloc
98.37% <ø> (ø)

data-pipeline
51.45% <ø> (ø)

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
81.52% <ø> (+0.29%)
:arrow_up:

ddcommon-ffi
74.93% <ø> (ø)

ddtelemetry
53.72% <ø> (ø)

ipc
81.27% <ø> (ø)

profiling
76.83% <ø> (ø)

profiling-ffi
60.05% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
31.75% <51.32%> (+2.07%)
:arrow_up:

sidecar-ffi
0.00% <0.00%> (ø)

spawn-worker
54.98% <ø> (ø)

trace-mini-agent
69.12% <ø> (ø)

trace-normalization
97.79% <ø> (ø)

trace-obfuscation
95.74% <ø> (ø)

trace-protobuf
25.64% <ø> (ø)

trace-utils
68.85% <ø> (ø)


Updating dependencies

@votruk Did you have this issue with policy-as-code scanner Workflow before?

@tomaszpolanski nope, it was not there when I created this package


remove #include of services_dune.fcl in protodune reco fcl

wirecell_dune.fcl already includes services_dune.fcl and it gets included twice.  services_dune.fcl itself causes many duplicate includes of other files, but removing this include heads off a lot of multiple inclusions

trigger build with DUNE/duneana#31 DUNE/dunereco#64 DUNE/dunereco#62

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e20:prof -- details available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c7:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c7:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for e20:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

trigger build with DUNE/duneana#31 DUNE/dunereco#64 DUNE/dunereco#62 DUNE/dunecore#83

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c7:prof -- details available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e20:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c7:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for e20:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

trigger build with  DUNE/dunereco#64 DUNE/dunereco#62

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c7:prof -- details available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e20:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c7:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for e20:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

trigger build with  DUNE/dunereco#64 DUNE/dunereco#62 DUNE/dunecore#83

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e20:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c7:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:warning: CI build for DUNE Warning at phase ci_tests DUNE on slf7 for e20:prof -- details available through the CI dashboard
:rotating_light: For more details about the warning phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard


Support 'custom' tag

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-custom
I think we should just merge the info from the metadata (probably a legacy thing) and the custom tag.
Maybe add support for reading custom into the existing metadata field for now and make a braking change in the future to name it custom to align with the standard?

PS: Both tags exist in Flathub data


Fix bug in router where composing routers with similar routers can lead to them being overridden

For example, with the following code:
let router1 = Router { route in
     route.get("/path") { _ in return Response() }
}
let router2 = Router { route in
     route.post("/path") { _ in return Response() }
}
let mainRouter = Router {
    route.compose(router: router1)
    route.compose(router: router2)
}

GET /path will go through, but POST /path will return 405 Method not allowed because router1 is not taking the routes from router2 into account.
We have to brainstorm how to solve this - the obvious solution is to propagate up the routes when composing routers and ignoring the matchers of the composed routers, but this is not a good solution for obvious reasons.

I think the fix would be just a matter of checking if a route with a given path already exists and then append the actions to the existing route.

Turns out this was actually not a bug... The code I was using to trigger it had its own issues. I wrote a test in Zewo/Router just in case so this issue can be closed now.


The nargo execute command should support contracts

Problem
Contract packages aren't supported by the nargo execute command.
Happy Case
They should be supported.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Maybe
Support Needs
No response

cc @rahul-kothari would you consider this relevant for Aztec.nr? Will close this as stale if not.


Record types problem in F# interactive on Mono

I'm having problems with F# interactive 4.1 on mono 4.8. When creating a record type and running some code using that type, F# interactive throws an exception that it can't load the record type.
I've seen the same error on several different mac laptops at the F# tutorials last week, so it's not an isolated problem.
Repro steps
Run the following code in F# interactive on mono:
type Foo = { Bar : string }
let xs =
    [| "a"; "b" ; "c" |]
    |> Array.map (fun x -> { Bar = x })

Actual behavior
F# interactive throws the following exception:
System.TypeLoadException: Could not load type 'FSI_0002+Foo[]' from assembly 'FSI-ASSEMBLY, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Syste
m.Globalization.CultureInfo culture) [0x00038] in <829ce140006e4cad9124766ee7f51179>:0
Stopped due to error

Known workarounds
Surprisingly, when the record type is instantiated first, F# interactive works as expected. For example:
type Foo = { Bar : string }
let x = { Bar = "x" }
let xs =
    [| "a"; "b" ; "c" |]
    |> Array.map (fun x -> { Bar = x })

The code above works correctly in F# interactive and writes out:
type Foo =
  {Bar: string;}
val x : Foo = {Bar = "x";}
val xs : Foo [] = [|{Bar = "a";}; {Bar = "b";}; {Bar = "c";}|]

Also surprisingly, if I replace the Array with List, the code works correctly without instantiating the record first:
type Foo = { Bar : string }
let xs =
    [ "a"; "b" ; "c" ]
    |> List.map (fun x -> { Bar = x })

Related information

Operating system : OS X El Capitan 10.11.6
F# Interactive for F# 4.1
Mono: Mono JIT compiler version 4.8.0 (mono-4.8.0-branch/f5fbc32 Mon Nov 14 14:18:03 EST 2016)
Editing Tools: VS Code and fsharpi run in the command line

I just tried this on a brand new Mac running :-
OS X Sierra
F# Interactive 4.1
and Mono JIT compiler version 4.6.2 (mono-4.6.0-branch/08fd525 Thu Nov 10 20:28:28 EST 2016)
Same result.

I can confirm I have encountered the same problem as well; saw it for the first time around mid November, had totally forgotten about it.

Some more information :-
In ParseInteraction...
returned from ParseInteraction...calling runCodeOnMainThread...
In MainThreadProcessParsedInteraction...
Typecheck implementation FSI_0001
Mono: Assembly Ref addref FSharp.Core[0x7fa46ac12530] -> System.Core[0x7fa46aeb3930]: 3
Mono: GC_MINOR: (Nursery full) time 2.28ms, stw 2.28ms promoted 970K major size: 32464K in use: 30903K los size: 15664K in use: 14555K
Generating ILX code...
Creating main module...
System.TypeLoadException: Could not load type 'FSI_0001+Foo[]' from assembly 'FSI-ASSEMBLY, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in <428752aa303e4231a4d15aef4a0abd18>:0
Stopped due to error
Just called runCodeOnMainThread, res = (Microsoft.FSharp.Compiler.Interactive.Shell+FsiDynamicCompilerState, Microsoft.FSharp.Compiler.Interactive.Shell+FsiInteractionStepStatus)...

I noticed that there were many failed attempts to load kernel32.dll which sounds like it could be related. Will try and diagnose later (currently on hols)
I also tried compiling the script to an exe and it worked fine there. This bug only affects fsi.

@nosami Could you make sure a Mono bug is raised for this issue?
It almost certainly has to do with System.Reflection.Emit and type loading over "Builder" types.  We may need to construct a standalone repro which involves nothing but System.Reflection.Emit calls.  You can do that partly by turning on logging in ilreflect.fs in a fresh compile of fsharp/fsharp and testing with that fsi.exe

I built fsi.exe from both FCS (emit log)  and this repo. Both work fine but fsharpi from the mono distribution does not. I can only assume that this is an old bug that has subsequently been fixed here.
10:10 $ mono ./lib/release/fsi.exe ~/src/fsibug.fsx
[|{Bar = "a";}; {Bar = "b";}; {Bar = "c";}|]

@nosami OK, thanks

@nosami Is there anything we need to be fixing in this repo for this? thanks

@dsyme I built fsi from this repo and the bug was gone, so just need to wait for the next mono release.

I just double checked that the next mono will use <IP_ADDRESS> and this version is working fine for me.

@nosami Thanks!

<IP_ADDRESS> had to be reverted temporarily as it's not building against Mono 4.9 :(

Just realised that I wasn't clear in the last message. The bug reported here is fixed in the latest stable (Mono 4.8) .. it's currently just Mono 4.9 that has issues.
✔ ~/src/fsharp [:d395eb3|✚ 2⚑ 1]
23:13 $ mono --version
Mono JIT compiler version <IP_ADDRESS> (master/2811e6d Mon Mar 20 16:48:17 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen (concurrent by default)
✔ ~/src/fsharp [:d395eb3|✚ 2⚑ 1]
23:13 $ fsharpi ~/src/fsibug.fsx

error FS0193: Specified method is not supported.

✔ ~/src/fsharp [:d395eb3|✚ 2⚑ 1]
23:13 $ cat ~/src/fsibug.fsx

type Foo = { Bar : string }

let xs =
    [| "a"; "b" ; "c" |]
    |> Array.map (fun x -> { Bar = x })
printfn "%A" xs

✔ ~/src/fsharp [:d395eb3|✚ 2⚑ 1]
23:14 $ mono --version
Mono JIT compiler version 4.8.0 (mono-4.8.0-branch/e4a3cf3 Fri Feb 17 16:06:00 EST 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen
✔ ~/src/fsharp [:d395eb3|✚ 2⚑ 1]
23:14 $ fsharpi ~/src/fsibug.fsx
[|{Bar = "a";}; {Bar = "b";}; {Bar = "c";}|]

I just saw this same thing happening again on Mono <IP_ADDRESS>. Can someone please check that this is still working?

Try a Mono 5.2 or 5.4.

@nosami When you get a chance could you check this out?

I looked at these versions that I had already downloaded on my machine.
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg.1
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg
<EMAIL_ADDRESS>
Up to and including <IP_ADDRESS> there was a different error
19:51 $ fsharpi ~/src/fsibug.fsx
System.ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
  at (wrapper stelemref) System.Object:virt_stelemref_sealed_class (intptr,object)
  at <StartupCode$FSI_0001>.$FSI_0001.main@ () [0x000a5] in <8bffc63b2c3e432e83b042a85dd4aa6e>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <472ca267860547a4986b481b64c54dbe>:0
Stopped due to error

<IP_ADDRESS> is the first version on my machine that works
19:53 $ fsharpi ~/src/fsibug.fsx
[|{Bar = "a";}; {Bar = "b";}; {Bar = "c";}|]
✔ ~/src/monodevelop/main/external/fsharpbinding [master|✚ 1]
19:54 $ mono --version
Mono JIT compiler version <IP_ADDRESS> (2017-04/2ad9ba1 Fri Jun  2 10:35:50 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          yes(3.6.0svn-mono-master/8b1520c)
	GC:            sgen (concurrent by default)

I think this bug should be closed. It was fixed a long time ago.

@nosami Thanks!!


Apply trim to create user

In the conf used as a store, string containing spaces is recognized for the different instance key.
For example, the keys in the following strings are taken as different keys.
const Conf = require('conf');

const config = new Conf();
config.set('unicorn', 'case 1');
config.set(' unicorn', 'case 2');
config.set('unicorn ', 'case 3');
config.set(' unicorn ', 'case 4');

Therefore,  I think that all answers received from users should be trimmed.
As well as, I think that it is necessary to prevent the case where the user who uses git-user accidentally enters a space.
However, if you think that need to set Local partially, I'll remove the 989222e commit.

@geongeorge please check it

@geongeorge please check it

Looks good


Deprecate hellonode, add hello-app sample

cc: @jeffmendoza

Thanks. Will merge.
@broady copying you for Go review, if you have comments feel free to leave them, I'll address in a separate PR.


dataGrid unselected

When clicked out of grid row still selected.I think row should be unselected

I suggest opening edit instead of removing selection. Removing selection is a kind of meaningless.


[frameit] how use emoji for keyword ot title?

Discussed in https://github.com/fastlane/fastlane/discussions/21198

Originally posted by Gorniv April 15, 2023
Example not working:
"1.png" = "💾 TitleExample";

There might be a syntax issue or a problem with the way it's being used in your code.


Add backtick to avoid bigquery error

Some columns are named like bigquery keywords "group" "order" "date"... This solution can this kind of issue
This is a:

[x] bug fix PR with no breaking changes — please ensure the base branch is master
[ ] new functionality — please ensure the base branch is the latest dev/ branch
[ ] a breaking change — please ensure the base branch is the latest dev/ branch

Description & motivation

Checklist

[x] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[x] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake

[ ] I followed guidelines to ensure that my changes will work on "non-core" adapters by:

[ ] dispatching any new macro(s) so non-core adapters can also use them (e.g. the star() source)
[ ] using the limit_zero() macro in place of the literal string: limit 0
[ ] using dbt_utils.type_* macros instead of explicit datatypes (e.g. dbt_utils.type_timestamp() instead of TIMESTAMP

[ ] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Hey @hcylia, thanks for opening this! Good news: you can get the behaviour you're describing without a change to the dbt-utils macro.
When you're passing arguments into the macro, you can enclose them in backticks yourself like this:
with something as (
    select
      {{ dbt_utils.surrogate_key(['order_id', '`group`']) as surrogate_key,
      ...
    from {{ ref('some_table') }}
)

and the backticks around
'`group`'

will come through.
Because of this, and because a quick Google implies that other databases don't support backticks around columns, I'm going to close this out.


[Jelastic] Submission of MicroProfile Group Committer Quote

Quote:
"The growing demand in microservice architecture and containers led to the increasing necessity in MicroProfile. This initiative helps to develop and run Java applications in an easily, scalable and resilient way using dynamic cloud environments offered by such providers as Jelastic PaaS. MicroProfile framework will bring a deeper interoperability across cloud platforms and the emergence of portable vendor agnostic solutions."
Author: Ruslan Synytsky, CEO and co-founder of Jelastic
Twitter: https://twitter.com/siruslan
Photo:

Hola beautiful Tetiana,
Thank you for resubmitting to the Prospect's quote by Jelastic. We now have a cool pic :) Can you drop the pic under your logo folder, please?
Actually, I wonder if you, as MicroProfiler Tetiana, would like to submit your very own quote as an individual?
This is a voluntary activity by individuals.  Please check the individuals' quote, which is different than the formal ORG quotes https://docs.google.com/spreadsheets/d/14iCNpzj7BpvntOKG3u2ooEa-7LFceZTqk9OmqVqbDog/edit#gid=1946347003
No pressure. You could submit it at any time in the future.

Tetiana, Ruslan quote is being updated with Jelastic logo!
If Ruslan and you would like to submit new quotes as individual contributors in an informal manner, please create a new ticket. :) Super fun!
Ryan is updating your quote today! :)
closing this ticket!

Great, thank you!
On Thu, 10 Dec 2020 at 16:27, Amelia Eiras<EMAIL_ADDRESS>wrote:

Tetiana, Ruslan quote is being updated with Jelastic logo!
If Ruslan and you would like to submit new quotes as individual
contributors in an informal manner, please create a new ticket. :) Super
fun!
Ryan is updating your quote today! :)
closing this ticket!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-marketing/issues/355#issuecomment-742591268,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJHFTS5277Z4SFUNQND6E7TSUDSGXANCNFSM4TRNQBAA
.

--

https://jelastic.com/blog/email-banner/*
Tetiana Fydorenchyk
VP of Marketing @ Jelastic https://jelastic.com/?utm_source=footer
https://twitter.com/tetiana_ftvTwitter https://twitter.com/tetiana_ftv
Facebook https://www.facebook.com/tetiana.ftv LinkedIn
https://www.linkedin.com/in/tetiana-fydorenchyk-95603125/


Downloading the data

[x] 1. Download the data from figshare to your local computer using the figshare API (you can make use of requests library).
[x] 2. Extract the zip file, again programmatically, similar to how we did it in class.

You can download the data and unzip it manually. But we learned about APIs, and so we can do it in a reproducible way with the requests library, similar to how we did it in class.

There are 5 files in the figshare repo. The one we want is: data.zip

Closing this as it has been addressed.


⚠ Bofrost.be has degraded performance

In 07e557d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1877 ms

Resolved: Bofrost.be performance has improved in 5f84706.


Update to 1.3.9

Kindly requesting that you update npm to 1.3.9 from the github repo.
Thanks!
Chris

Please use this instead:
https://github.com/KoenLav/cordova-plugin-chrome-apps-sockets-tcp

Thanks, closing.