Documentation of this web page is not correct.

I notice that I can no longer add a Windows Forms User Control to a Windows Form because it is removed from the menu of Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.5.3. Windows Forms User Control no longer exists.  This web page just says, "Add a User Control".  Bad documentation.

@CBrauer -- Charles, thank you for your feedback.  Which learn.microsoft.com article are you following?  Meanwhile, please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

Hi William,
Thanks for the reply.
The web page in question is: Create a Windows Forms user control with data binding - Visual Studio (Windows) | Microsoft Learn https://learn.microsoft.com/en-us/visualstudio/data-tools/create-a-windows-forms-user-control-that-supports-complex-data-binding?view=vs-2022&tabs=csharp  dated 03/09/2023.
In the section: “Add a User control to the project”, item 1. Says “From the project menu, choose Add User Control”.
A few days ago, menu included “WinUI User Control” and “Uno User Control”, but no “Windows Forms User Control”.
Today it is different.  These choices have been removed.  Oh well. I should have captured a screen shot of the menu.  I did not.
I get the impression that things are changing very rapidly.
Please ignore my previous email.
Charles
From: William Anton Rohm @.>
Sent: Monday, March 27, 2023 3:01 PM
To: MicrosoftDocs/visualstudio-docs @.>
Cc: Charles Brauer @.>; Mention @.>
Subject: Re: [MicrosoftDocs/visualstudio-docs] Documentation of this web page is not correct. (Issue #9091)
@CBrauer https://github.com/CBrauer  -- Charles, thank you for your feedback. Which learn.microsoft.com article are you following? Meanwhile, please consider these resources:

Ask a question or find an answer on the Microsoft Q https://learn.microsoft.com/en-us/answers/tags/176/vs &A page for Visual Studio.
Check the Visual Studio MSDN Forum https://social.msdn.microsoft.com/Forums/vstudio .
Stack Overflow https://stackoverflow.com/search?q="visual+studio"
Reddit https://www.reddit.com/r/VisualStudio

—
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/visualstudio-docs/issues/9091#issuecomment-1485914893 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKBS4WVK7LR4M3Z7XZ7ZCLW6IEX5ANCNFSM6AAAAAAWJJFYE4 .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AAKBS4SY4FGPYLJL4TJNX7DW6IEX5A5CNFSM6AAAAAAWJJFYE6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSYSFBQ2.gif Message ID: @.*** @.***> >

@CBrauer -- Charles, thank you for your followup, and best wishes for a resolution.
cc @ghogen for awareness.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-24-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1066

Questions ?
Please refer to the Backport tool documentation


[Feature] 'Find' functionality across all TextEditorModels. "Ctrl + Shift + f"

The FindAlls code is this feature.
https://github.com/Luthetus/Luthetus.Ide/tree/main/Luthetus.TextEditor/Source/Lib/Luthetus.TextEditor.RazorLib/FindAlls


Integrated into Bettergist Collector

I've implemented this into the Bettergist Collector project.
2024 Q2 doesn't end for another 52 days, but I've already tested it on the Top 100 projects from the results of 2024 Q1, and it behaves awesomely!!
By July 7th, I will have analyzed the top 25,000 PHP projects with this phpstan-bodyscan project, and maybe more. Long-term, it takes about 1 month to run PHPStan against all 345,000+ packagist packages.
Just wanted to let you know.
If you keep this thread open, I will update it with lists of PHP packages for which this library is not compatible, if any.  Phpstan itself fails to run altogether on about 1% of all projects, I won't count those.
This is how I found a lot of edge cases in phpstan over the years. It helps because I might be the only person on this planet (or any other) that frequently runs static analysis, phpunit and more against many thousands of PHP packages on a routine basis.

Hey, thanks for heads up :+1:
If the PHPStan runs there, so this package as it only uses PHPStan process to analyse code .
What do you plan to do with the results? Some visualisations? :)

For sorting PHP packages by "fitness" with your package's output as new fitness parameters.


Issue with k8s.io/docs/concepts/workloads/controllers/replicaset/

This is a Bug Report

Problem:
Rolling update section is missing.
Proposed Solution:
Add rolling update section.
Page to Update:
https://kubernetes.io/...
https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/

v1.14

PR - #14462, there's a couple options to fix this.

Looks like signposting readers to Deployment is enough to explain how to get rolling updates.
/language en
/close


CatLight notification plugin

Repository URL
https://github.com/catlightio/catlight-plugin
New Repository Name
catlight-plugin
Description
CatLight is a notification app that can monitor Jenkins build pipelines and show desktop alerts. By default, the app will poll Jenkins server for updates. This plugin will add push notifications to reduce the polling frequency, reduce load on Jenkins server and deliver notification faster.
GitHub users to have commit permission
@aplex
@catlightio
Jenkins project users to have release permission
alexk
catlight
Issue tracker
GitHub issues

Security audit, information and commands
The security team is auditing all the hosting requests, to ensure a better security by default.
This message informs you that the security team was notified about the request and will soon participate in this issue to assist.
The team is usually starting by a quick superficial audit and if it's not sufficient, they are planning a deeper audit.
Commands
Security team only:

/audit-ok => the audit is complete, the hosting can continue :tada:.
/audit-skip => the audit is not necessary, the hosting can continue :tada:.
/audit-required => the superficial audit was not sufficient, a deeper look is necessary :mag:.
/audit-findings => the audit reveals some issues that require corrections :pencil2:.

Anyone:

/audit-review => the findings from the audits were corrected, this command will ping the security team to review the findings :eyes:.
	It's only applicable when the previous audit required changes.

Only one command can be requested per comment.

(automatically generated message)

Code seems fine to me security wise.
I'm unsure about https://github.com/catlightio/catlight-plugin/blob/586bd2c998dfb5d34e1543580157df3668be8b29/pom.xml#L55-L64 though. Comment above says those are test dependencies, yet scope isn't set and I can't see any actual usage of those libs in unit tests. Is there something that I'm missing, or are those unused?

@yaroslavafenkin, I removed those dependencies. There was some configuration issues with JDK, where I was getting errors about missing fips-compliant bouncy castle provider during test execution, but look like it has resolved itself at some point during development.

Hey @aplex,
I have some general feedback for your hosting request:

https://github.com/catlightio/catlight-plugin/tree/main/src/main/java/io/catlight/plugins/jenkins The recommended file structure for new plugins follows the scheme io.jenkins.plugins.<etc>
https://github.com/catlightio/catlight-plugin/blob/31ef31d6257078ff7e3ee707ce9ed1a07966898c/pom.xml#L11 The recommended groupId for new plugins follows the scheme io.jenkins.plugins. No additional identifier is needed.
https://github.com/catlightio/catlight-plugin/blob/31ef31d6257078ff7e3ee707ce9ed1a07966898c/pom.xml#L16-L22 fits better into https://github.com/catlightio/catlight-plugin/blob/main/src/main/resources/index.jelly, because the  block isn't displayed anywhere, but the index.jelly content is visible to the end user in the plugin manager.

@NotMyFault , thanks for suggestions. I've updated the repo.

/audit-ok

/hosting host


Find a solution without using /etc/hosts

/etc/hosts work well for now, but they require sudo. Probably there is a way to block list of domains using a firewall.

The simple solution is to keep the mind in control. Yoga can really help in that matter.

/etc/hosts work well for now, but they require sudo. Probably there is a way to block list of domains using a firewall.

A DNS over HTTPS might be a solution, but then it requires to update the browser conf.
Another could be solution like dnsmask, but the service start/stop might require a sudo.

@ccoVeille it already requires a sudo to edit /etc/hosts so it's fine.


.sbtopts doesn't get picked up when sbt server gets started by Metals

If I manually start sbt and then start vscode everything works fine. But if I start vscode first and Metals starts the sbt server, the JVM options from the .sbtopts file in my project folder don't seem be used.
This is the .bsp/sbt.json file that sbt generates:
{"name":"sbt","version":"1.5.2","bspVersion":"2.0.0-M5","languages":["scala"],"argv":["/Users/jasper.moeys/.sdkman/candidates/java/11.0.11.hs-adpt/bin/java","-Xms100m","-Xmx100m","-classpath","/Users/jasper.moeys/.sdkman/candidates/sbt/1.5.1/bin/sbt-launch.jar","xsbt.boot.Boot","-bsp","--sbt-launch-jar=/Users/jasper.moeys/.sdkman/candidates/sbt/1.5.1/bin/sbt-launch.jar"]}

This is on OS X. I think this did work on Ubuntu a while ago, but then that was with different versions of sbt, vscode and metals.
@tgodzik

That's related to #6476 and #6468.
I think we should fix this by giving the NetworkClient class the ability to read the .sbtopts and .jvmopts files (also the JVM_OPTS and SBT_OPTS env var) when the --sbt-launch-jar is given.

When sbt shell script is not on IntelliJ PATH (https://github.com/sbt/sbt/issues/6176) it makes sense to downgrade to java -jar sbt-launch.jar, but when using from Metals, why not use sbt if it's on PATH?

The idea of the .bsp/sbt.json discovery file is that it could be used by any build client. So when we generate it we don't know if it will be used by Metals, IntelliJ or both. Also, having it completely independent of the environment is a good way to start the server consistently every time: same java version, same launcher, same options.


Order TagHelperExecutionContext.TagHelpers without .OrderBy.

By using linq we created several OrderedEnumerable allocations.

Before:

After:

Result: Roughly a 2.3% reduction in overall allocations.
#601

/cc @rynowak

Razor also uses OrderBy in TagHelperDescriptorComparer and CaseSensitiveTagHelperDescriptorComparer. One of those are likely responsible for the remaining allocations. Suggest cleaning them up too if possible.

:watch:

Razor also uses OrderBy in TagHelperDescriptorComparer and CaseSensitiveTagHelperDescriptorComparer. One of those are likely responsible for the remaining allocations. Suggest cleaning them up too if possible.

Talked offline about this. Those classes are compile time only and not a worry for their OrderBys. The remaining OrderedEnumerables are actually caused by this method in MVC.

:up: :date:

:shipit: from me

:shipit:


workloads: add hwuitest

Port automation for hwuitest (Android's libhwui microbenchmark) from
WA2.

Comments addressed.


Adds preset for Railing

Today I learned I've been tagging barrier=guard_rail when I should have been tagging barrier=fence; fence_type=railing...
This adds the preset for the correct way of tagging pedestrian-oriented direction-less railing versus the vehicle road-side direction-based guard rails. That is, this vs this.

The conflict here is that both can be validly called "guard rail", but they have different OSM meanings. And the guard rail has an actual direction, which means all incorrectly tagged railings are now obvious thanks to https://github.com/openstreetmap/iD/pull/5529.

Awesome, thanks @RudyTheDev 👍
I love that the linear direction rendering is already paying dividends 😄


Support -r inside requirements.txt files

safety version: 1.8.1
Python version: 2.7.15rc1
Operating System: Ubuntu 18

Description
safety doesn't seem to handle -r {file} lines inside requirements.txt files.
What I Did
$ safety check -r requirements/development.txt
...
│ checked 0 packages, using default DB                                         │
│ No known security vulnerabilities found.                                     │
...

$ cat requirements/development.txt
-r common/project.txt

$ safety check -r requirements/common/project.txt
...
│ checked 60 packages, using default DB                                        │
...
│ django                     │ 1.8.18    │ >=1.8,<1.8.19            │ 35797    │
│ django                     │ 1.8.18    │ >=1.8,<1.8.19            │ 35796    │
...

We are not actually using dparse with recursive parsing, but at least we can now minimally handle -r option.


GraphQL Support

Although in beta, I will add support for it.
At a glance, this will involve making an abstract class for the base, with an interface; then, creating a new class for the graphQL which extends the base; then, modifying the original class to extend the base.
The GraphQL functions pretty similar. High level its just a different endpoint, and different limits to grab (costs).
Will be investigating this in a new branch. There should be no breaking changes for this.

Branch is now https://github.com/ohmybrew/Basic-Shopify-API/tree/graph-ql
This actually will cause a breaking change since its now under a new namespace... will bump version to major on release.
Code is still being developed.

great news, I was actually just researching this. I wasn't too familiar with graphQL, it sounds great though.
Thanks @ohmybrew  🎉

@ncpope Its great, really lets you get the data you need without multiple calls like with their REST API.
It'll be pretty basic (to keep with the library's initial goal). Example:
$api = new GraphAPI();
$api->setShop('example.myshopify.com');
$api->setApiPassword('!@#');

$query =<<<QL
{
    shop {
        products(first: 2) {
            edges {
                node {
                    id
                    handle
                }
            }
        }
    }
}
QL;

$res = $api->request($query);
foreach ($res->shop->products->edges as $data) {
  echo $data->node->handle; // Returns product's handle as per requested in query
}

Both the Graph class and Rest class will have the same interface so they can both be used at the same time for projects.
I'll probably have it finalized next week (currently it basically working, just need more tests). Given its marked BETA by Shopify, things may change down the road but I don't foresee it changing enough to affect this feature build.


merge from arlac77/template-arlac77-github,arlac77/template-esm-only

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 14.3.0 remove 14.2.0 (jobs.include.node_js)

:tada: This PR is included in version 2.1.17 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Updates in Ticked stats [wip]

This change will remove the TickedObject and move Ticked to cpu/minor/ as it is only used by MinorCPU and update the stats style of Ticked class.

This still has some problems. Basically, even before the third commit in the above change is applied (the updated stats one), I get some pybind errors while compiling gem5:
"ext/pybind11/include/pybind11/pybind11.h:1057:5: error: static assertion failed: Unknown/invalid class_ template parameters provided
static_assert(detail::all_of<is_valid_class_option...>::value,
"
Will appreciate any input.

How did you test? I'll try to figure out your error on my machine :)

This is not even compiling yet. I tried to compile for ARM (as it compiles for MinorCPU by default)

Ok. With those two changes, I'm now seeing the same error you described.

Ok, so I understand the problem now.
You have class Ticked(ClockedObject) in the SimObject description file, but in C++ you have class Ticked : public Serializable, public Stats::Group.
You have to match the hierarchy in Python and C++. In Python Ticked inherits from ClockedObject, but in C++ it doesn't. Which one of these inheritances is correct?

You have to match the hierarchy in Python and C++. In Python Ticked inherits from ClockedObject, but in C++ it doesn't. Which one of these inheritances is correct?

Sorry, my bad. Ticked inherits from Serializable and not from ClockedObject. TickedObject was inheriting from Ticked and ClockedObject. When I moved TickedObject to Ticked, I did not take care of this

Does it work now? :)

Does it work now? :)
This compiles now but ticked and idle cycles stats do not show in the stats file when a simulation is run

We're getting somewhere! I can look at this a bit tomorrow :).


try bumping PSY 2.0

I will mark this PR ready for review since there is just one test having problems and it is a large change


Authz module integration - more granularity for WasmExecuteMsg authorizations

Currently, it's possible to grant permission for an address to perform the WasmExecuteMsg against any contract. This not a very useful granularity.
It would be nice to grant an account permission to execute only against a specific contract. Even better, if the message could be optionally specified.
This could be useful for DAOs, that want to grant a user permission to execute a contract on behalf of the DAO. For example, granting a user (or cron bot) permission to claim rewards on behalf of the DAO.

I have not looked into authz much. I assume we need a custom permission extension.
If you could add more context to the sdk modules and a design of what you need, that would help us evaluate and prioritise this

Here is some stubbed out code to do this. I'll work on this more later this week but if we could specify exactly what we need here the code will fall right out.
https://github.com/CosmWasm/wasmd/pull/817

I had a chance to talk with @the-frey and @JakeHartnell about this issue at gateway Prague and explained the problem that the message content can be a slice or an object in json. This makes it complicated to build logic for message filtering.
Therefore the idea was to descope this part and do authZ for contract addresses first. The message filter can be a second PR but would require some discussion and refinement before to make it work for all CosmWasm chains.
Btw. It was nice to meet you!

Hi,
This is looking like a great PR, I'm wondering if I could outline a use case for JunoSwap:
Claim RAW > Swap RAW into 2 Tokens > Add Liquidity to a pool > Bond said Liquidity
Claim RAW: rewards executes a claim msg in contract: juno1s43j4ct4tp3s5ywk0j4flr6e5ev74ce2lnuv8xwtzx2yfr6kmwaqmxfkdt
Swap: Rewards are paid out in RAW, so two swaps need to be made to be able to deposit the liquidity back into the pool. Which are increase_allowance and swap msgs in contract: juno15u3dt79t6sxxa3x3kpkhzsy56edaa5a66wvt3kxmukqjz2sx0hes5sn38g
Add liquidity: executes increase_allowance and add_liquidity msgs in contract juno168ctmpyppk90d34p3jjy658zf5a5l3w8wk35wht6ccqj4mr0yv8s4j5awr
Bond: the above liquidity executes a send msg in contract juno12sulrvp220gpsp8jsr7dpk9sdydhe8plasltftc6fnxl7yukh24qjvqcu9
What would be design/structure required to be issued the least amount of privilege's to be able to do the above? Thanks!

Hey @alpe,
This is awesome, thank you for taking the time. I had one question about 2), is there a way to also limit the tokens that can be swapped to? Say RAW can only be used to buy a list of tokens? Thanks!

@george-aj

is there a way to also limit the tokens that can be swapped to?

The current filters are not able to handle this kind of payload checks. Either you can grant authz for a concrete binary representation of the json message, all or a first level object key. Your use case would specify the object content with a mixture of fix and variable fields. The problem here is not the authz model but how to describe and ensure the content + CLI integration.
An idea would be a jq like description language to declare accept or reject rules. In tgrade system tests, I had good experience with gjson as library on client side for example. But it is stable and deterministic enough to run on a chain? Let's iterate on what we have and extend the limits and filters in coming versions.
I would be happy to have more use cases defined in an issue so that we can extend the filters and limits.

This is massive. Thanks, Jake, and Confio for pushing us forward a significant leap. I've been DM'ing with several people about this, who have found this issue, so for the sake of discoverability, want to link the amazing new protobuf.
https://github.com/CosmWasm/wasmd/blob/main/proto/cosmwasm/wasm/v1/authz.proto
Incredible potential. 🥇

@mikedotexe thank you for your warm words! 💐
I had created https://github.com/CosmWasm/wasmd/issues/1090 + https://github.com/CosmWasm/wasmd/issues/1093 to follow up and improve authz for wasm even more. If you have ideas or feature requests, please add them to the issues.
And please spread the word.


Fix plot-navigator.

Currently all requests return a 503 from nginx, and don't seem to ever reach panel. No messages in the logs.

Switching the service to use selectorLabels did the trick; I guess the deployment got DRY-ized without the service's selector.


FragmentTestRule could not found

Added this line in build.gradle
androidTestCompile 'com.21buttons:fragment-test-rule:1.0.0'
Inside MyUiAutomatorTest.Java
@Rule
public FragmentTestRule<?, MyVideoFragment> fragmentTestRule =
FragmentTestRule.create(MyVideoFragment.class);
Error:- Could not resolve symbol 'FragmentTestRule'

Is it in your androidTest directory? Did Android Studio find the import?

Yes, it's androidTest` directory.

I can't imagine why this is happening... Can you create a mini project to reproduce this error?

Okay,  I will create


Reorganize and update USBL plugin and tutorial.

This PR modifies the USBL sensor plugin and examples.
Only these last commits are pertinent:

adding addtional arguments to tutorial launch file 0874592
Replacing gazebo tags with sdf tag 2509197
Moving USBL plugin and example out of legacy 964a1a1
Changing names of source naming to be consistent with Gazebo and Dave style 39e2089

I don't understand why all the other commits are showing up in this PR.  I suspect that it has to do with the recent rebase of the v3.1_reorganization branch.
To test this branch, run the tutorial: https://github.com/Field-Robotics-Lab/dave/wiki/usbl_tutorial

@dtdavi1 I'm not sure what needs to be done to clean up the git history here.  I messed around with merging and/or rebasing this branch into your v3.1_reorganization branch - without success.

@bb808 Enough things have moved around that I'm not surprised (similar issue when I tried to rebase v3.1_reorganization on the master branch after the Noetic update).  I would suggest closing the pull request and just cherry picking the individual commits directly into the v3.1_reorganization branch.  If you want to assign it to me, I can take care of it but probably not until Tuesday.

@bb808 Enough things have moved around that I'm not surprised (similar issue when I tried to rebase v3.1_reorganization on the master branch after the Noetic update). I would suggest closing the pull request and just cherry picking the individual commits directly into the v3.1_reorganization branch. If you want to assign it to me, I can take care of it but probably not until Tuesday.

Okay - closing this PR and adde https://github.com/Field-Robotics-Lab/dave/pull/136


Run request init and signing on a NIOThreadPool

We are doing this to take the generation of requests off the EventLoop as it not a cheap operation.
Add optional NIOThreadPool to AWSClient.Options
If thread pool is non-nil then use it for running the creation and signing of Requests

Closing. While this releases pressure on EventLoop. result tend to indicates overall this degrades performance


Does not work on Xcode 8.1

Error log
/Applications/XcodeGr8.app/Contents/MacOS/Xcode - /Applications/XcodeGr8.app/Contents/MacOS/Xcode.unsignedreading infile: /Applications/XcodeGr8.app/Contents/MacOS/Xcode
Assertion failed: (dataoff != 0), function macho_unsign, file /Users/harryng/Documents/workspace/osx/opensource/MakeXcodeGr8Again/MakeXcodeGr8Again/Unsign/unsign.m, line 176.
(lldb)

+1

Everything works fine on release build Version 8.1 (8B62)

I'm on Xcode 8.1 8B62, macOS 10.12.1 (16B2657) and MacBook Pro (Retina, Mid 2012)
It does not work, when I drag Xcode into this

+1

You're dragging your XcodeGr8.app, this error normally occurs when the Xcode is already great, did you try installing any plugins? (This assertion failure means: the precondition of Xcode not being failed)

@fpg1503 Tried to delete plugins still crashing. BTW I'm not draggint eh XcodeGr8.app but the Xcode.app (updated from appstore)

Same here....

Tried dragging Xcode 8.1 into the XcodeGr8.app window but it crashes!

In my case, I downloaded Xcode archive from Apple Developer not from the AppStore

Version 8.1 (8B62) not working for me.  I run XcodeGr8, patch 8.1 and launch it.  All looks good.  But as soon as I try to load an existing project into Xcode, the IDE hangs and I have to force-quit.  This is very repeatable.  Have tried it on earlier builds - same result.
I am still running El Capitan.  Maybe this is the problem?  Are other people running Sierra with success?  I actually tried all this myself two or three months ago, but rather than SteakKnife, I was using the macho-unsign.py script.  This has the advantage that the unsigning can be restored: i.e. you can essentially resign Xcode because the original code signature is never discarded: it's just disabled.
Regardless of technique used, I haven't been able to reliably unsign Xcode since 8.x was introduced.  A shame: would be good to figure out what the problem is.  Dave

Experiment shows that the unsign works for Xcode 8.1 downloaded from Archive, the one on the left side. They both are Xcode 8.1 (8B62)

Thanks Harry.  Further to my previous comments, I have got Version 8.1 (8B62) working - after a fashion (see below).  Last night, I tried podkovyrin's suggestion of downloading directly from Apple Developer rather than AppStore.  This made no difference for me.
To be more specific, I can run the IDE, use my old plugins, build projects, etc >>PROVIDED<< that I take great care not to do anything that would invoke the standard open/save dialogs (NSOpenPanel, etc) from within the IDE.  If I try to open a project using File|Open..., then I get a hang.  But if I double-click the same project from the IDE, it loads up just fine. The call to NSOpenPanel is consistent with the Xcode .diag dumps in /Library/Logs/ DiagnosticReports.   Deeply strange.

With Xcode 8.1 I was not able to get XcodeGr8.app to run.  I'm now using the solution from Xvim and my plugins are working again.
https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md

Thanks Tim - will check out the XVim solution.

Gosh - this is fun!  I tried creating a specific certificate exactly as per the XVim instructions.  All went well until codesign burped and said:
"SecKey API returned: -25293, (null)/Applications/Xcode.app: unknown error -1=ffffffffffffffff"
Despite this, Xcode ran fine but - as before - refused to load my plugins.
At this point, I decided to go for broke.  I ran codesign again, but tried signing Xcode with my own, existing Mac Developer Application authority, as issued by Apple.  Somehow, I didn't expect this to work, but codesign seemed happy, and reported no error.  I can now load my existing plugins, and Xcode is rock-solid.  Kudos to Timothy and the XVim guys...

Woah! That's really awesome, I'll try to automate the XVim solution and add it to MakeXcodeGr8Again since it's working so well!

Any update already?

Same here. I can't use this for Xcode8.1. It crashes when Xcode was dragged and dropped in it.

I'd STRONGLY encourage people to try the XVim technique discussed earlier.  It's fast, it's reliable and - at the end of the day - it's using Apple's own development tools to do the job.  Whether it's using those tools in a manner approved by Apple is less certain!
I'm currently using Xcode 8.2 beta (8C30a) and it works just fine.

I have just used XVim technique on Xcode 8.1 on elCapitan and unfortunately plugins are still invisible...

OK - the usual questions: have you double checked that:
a) Plugins are in the correct place.  Eg:
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeExplorer.xcplugin
b) Checked that you've updated info.plist in your plugin to have a UUID that's compatible with Xcode 8.1?  I don't have 8.1 installed right now (I'm using 8.2) otherwise I'd give you the UUID but basically just copy the DVTPlugInCompatibilityUUID key from Xcode's own info.plist.
If none of the above, then did you get an error reported when you used the XVim technique to re-sign Xcode?  Have you looked in the Console log for any clues there?
Dave

Now, I used XVim on Xcode 8.2 beta on Sierra and no changes. Any errors in console, but Package Manager is still invisible in menu.
In /Library/Application Support/Developer/Shared/Xcode/Plug-ins/ I haven't XcodeExplorer.xcplugin...  DVTPlugInCompatibilityUUID key is correct.

Personally, I wouldn't start with Package Manager (I assume you're talking about Alcatraz) because it's a relatively complex plugin.  There's potentially a lot to go wrong when moving to a new version of Xcode.    Just compile it "as-is" without making any changes, update the UUID for Xcode 8.2 and it should just work.
If you still have problems, go to ~/Library/Preferences, open the file com.apple.dt.Xcode.plist and have a look in this file.  Tell me what you see in the section that I've expanded out in my screenshot (attached).
Dave

I did the following steps:
Version 8.2 beta (8C30a)

Remove all Xcodes from:
/Application
/Application Shared
/Developer
/Preferences

Remove Alcatraz

Restart mac

Copy Xcode to Applications (Xcode: 12 330 151 465 B (12,94 GB))

Create certificate

sudo codesign -f -s XcodeSigner /Applications/Xcode.app

/Applications/Xcode.app: replacing existing signature
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
Hit the Enter key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'
Apple Inc.
Xcode and Apple SDKs Agreement
.
.
.
By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel]
You can view the license agreements in Xcode's About Box, or at /Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf
/Applications/Xcode.app: the codesign_allocate helper tool cannot be found or used

Open Xcode, Agree terms and close Xcode. Again:
sudo codesign -f -s XcodeSigner /Applications/Xcode.app

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer

XVim-master daniel$ sudo make
** BUILD SUCCEEDED **

Launch Xcode

Install Alcatraz
curl -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh

TEST

Library/Application Support/Developer/Shared/Xcode/Plug-ins
ls -a
.
AutoIndentWithSave.xcplugin
DefaultMarginDisabler.xcplugin
Refactorator.xcplugin
XcodeColors.xcplugin
..
CocoaPodUI.xcplugin
FixCode.xcplugin
SwiftJsonToObj.xcplugin
Alcatraz.xcplugin
CocoaPods.xcplugin
GitDiff.xcplugin
XCSwiftr.xcplugin

~/Library/Preferences, open the file com.apple.dt.Xcode.plist

(screen)
Xcode: 12 357 566 024 B (12,97 GB)

Hmmm... at this point, all I can do is highlight the differences between your methodology and mine.  Hopefully, something is significant:

I am running Sierra 10.12.1 (16B2657) not El Capitan, or Yosemite.
Where you say "Create certificate", I think this is maybe the most significant point.  As I said 3 weeks back, I found that creating a certificate specifically for the purpose of resigning Xcode did not work for me.  What DID work was to use my existing Mac Developer certificate, issued by Apple.  If you are a Mac developer, you should maybe try that.
XVim-master daniel$ sudo make.  It should not be necessary to build XVim.  The only point is that the XVim guys came up with this technique for re-signing Xcode.
Install Alcatraz.  Like I said, forget about Alcatraz for now and try something simpler.  Even if Xcode was not signed, I have no either whether Alcatraz would work with 8.2.  I do know that Xcode-Explorer works fine with 8.2.  See my accompanying screenshot: this shows Xcode-Explorer running inside 8.2, displaying a small extension to the plugin which I wrote.
When you talk about "Library/Application Support/Developer/Shared/Xcode/Plug-ins", hopefully you mean: "~/Library/Application Support/Developer/Shared/Xcode/Plug-ins"  :-)   You should clear out this directory!  How can you expect to find the problem if you have nearly a dozen plugins in there???
Looking at the plist dump you supplied, I can't see references to DVTPlugInManagerNonApplePlugIns.  It's as if Xcode isn't seeing any of your plugins at all.

Bottom line: clear out the plugin directory, test with just ONE simple plugin which is know to work, re-sign Xcode using your developer certificate, (which of course is signed by Apple).  Also, don't simply use curl to install an old binary for your plugin.  Download the Xcode-Explorer source and build it from scratch using 8.2.
If you still can't make it work, I can tell you how to activate verbose logging options for Xcode which will hopefully give us more of a handle on what is going wrong.
Dave

Ok I update my mac to Sierra and I used my Mac Developer certificate and it's work! In Xcode I have access to my plugins. Thank you very much davejewell for your time to me.

Yay!  That's great Daniel.  Delighted that you got it working.  :-)

Have you tried using the non-GUI version?


channel.NewCommandClient: NewClient error = wait timeout on Gitlab CI

I have been pulling my hairs out to get docker-slim working on gitlab CI.
Here is my .gitlab-ci.yml file:
stages:
  - test
  - build-amd64

variables:
  DOCKER_DRIVER: overlay2

test:
  image: python:3.7
  script:
    - pip install flake8
    - flake8 .

build-amd64:
  image: docker
  stage: build-amd64
  dependencies:
    - test
  timeout: 2 hours
  services:
    - name: docker:18.09.7-dind
  before_script:
    - wget https://downloads.dockerslim.com/releases/$DOCKER_SLIM_VERSION/dist_linux.tar.gz && tar zxvf dist_linux.tar.gz && cp -R dist_linux/* /usr/local/bin/
  script:
    - docker build -t local -f Dockerfile.cpu .
    - mkdir $(pwd)/viso
    - docker volume ls && docker images
    - docker-slim build --http-probe=false --continue-after 1 --network=host --mount $(pwd)/viso:/viso --include-path /usr/local/lib/python3.6/dist-packages/certifi --show-clogs local

But it fails to build. Output is:
<Docker image build here>
... ... ...
Successfully built 34c6a82094c3
Successfully tagged local:latest
$ mkdir $(pwd)/viso
$ docker volume ls && docker images
DRIVER    VOLUME NAME
local     374a844866318ca84fa87f7677b980266933e8d5ca8e320faaf38dcb5799ecbc
local     runner-7sma5fqk-project-15065848-concurrent-0-cache-3c3f060a0374fc8bc39395164f415a70
local     runner-7sma5fqk-project-15065848-concurrent-0-cache-c33bcaa1fd2c77edfc3893b41966cea8
REPOSITORY                    TAG               IMAGE ID       CREATED                  SIZE
local                         latest            34c6a82094c3   Less than a second ago   2GB
gitlab/gitlab-runner-helper   x86_64-4e1f20da   60efe6e10bba   12 minutes ago           60.9MB
docker                        latest            6e081696197d   4 hours ago              241MB
python                        3.7               eb8410fd55d8   6 hours ago              876MB
tensorflow/tensorflow         2.3.1             a6528f3f080b   7 weeks ago              1.47GB
docker                        18.09.7-dind      25a1e57c7741   19 months ago            184MB
$ docker-slim build --http-probe=false --continue-after 120 --network=host --mount $(pwd)/viso:/viso --include-path /usr/local/lib/python3.6/dist-packages/certifi --show-clogs local
docker-slim: message='join the Gitter channel to ask questions or to share your feedback' info='https://gitter.im/docker-slim/community'
docker-slim: message='join the Discord server to ask questions or to share your feedback' info='https://discord.gg/9tDyxYS'
docker-slim: message='Github discussions' info='https://github.com/docker-slim/docker-slim/discussions'
cmd=build state=started
cmd=build info=params target=local continue.mode=timeout rt.as.user=true keep.perms=true
cmd=build state=image.inspection.start
cmd=build info=image id=sha256:34c6a82094c31dcd49a2bae532de2fe9a0bc2d96d842e60473c0f9dff9e56332 size.bytes=2002330020 size.human=2.0 GB
cmd=build info=image.stack index=0 name='tensorflow/tensorflow:2.3.1' id='sha256:a6528f3f080b6af82fccae4eb82f2b7f040ae7c78ec18523b3068574136668bd'
cmd=build info=image.stack index=1 name='local:latest' id='sha256:34c6a82094c31dcd49a2bae532de2fe9a0bc2d96d842e60473c0f9dff9e56332'
cmd=build state=image.inspection.done
cmd=build state=container.inspection.start
cmd=build info=container status=created name=dockerslimk_66_20210202062113 id=737640414a71772f212d29067a7fa7e29b81c6747309919ac87297b5cdae77b4
time="2021-02-02T06:22:13Z" level=error msg="channel.NewCommandClient: NewClient error = wait timeout"
time="2021-02-02T06:22:13Z" level=error msg="ipc.NewClient init error = wait timeout"
time="2021-02-02T06:22:13Z" level=fatal msg="docker-slim: failure" error="wait timeout" stack="goroutine 1 [running]:\nruntime/debug.Stack(0xc00008b740, 0x8, 0xc0002e9c40)\n\truntime/debug/stack.go:24 +0x9d\ngithub.com/docker-slim/docker-slim/pkg/util/errutil.FailOn(0xedd6a0, 0xc000184430)\n\tgithub.com/docker-slim/docker-slim/pkg/util/errutil/errutil.go:28 +0x54\ngithub.com/docker-slim/docker-slim/internal/app/master/commands/build.OnCommand(0xc0003121e0, 0x7ffc0749e8f5, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\n\tgithub.com/docker-slim/docker-slim/internal/app/master/commands/build/handler.go:299 +0x167f\ngithub.com/docker-slim/docker-slim/internal/app/master/commands/build.glob..func1(0xc0002d0580, 0x0, 0xc000153a60)\n\tgithub.com/docker-slim/docker-slim/internal/app/master/commands/build/cli.go:361 +0x1eb1\ngithub.com/urfave/cli.HandleAction(0xc55720, 0xdd9b40, 0xc0002d0580, 0xc0002d0580, 0x0)\n\tgithub.com/urfave/cli@v1.22.4/app.go:526 +0x11a\ngithub.com/urfave/cli.Command.Run(0xd97677, 0x5, 0x0, 0x0, 0x155c570, 0x1, 0x1, 0xdcdf56, 0x6c, 0x0, ...)\n\tgithub.com/urfave/cli@v1.22.4/command.go:174 +0x57a\ngithub.com/urfave/cli.(*App).Run(0xc0002d4380, 0xc0000ac000, 0xc, 0xc, 0x0, 0x0)\n\tgithub.com/urfave/cli@v1.22.4/app.go:279 +0x7c7\ngithub.com/docker-slim/docker-slim/internal/app/master.Run()\n\tgithub.com/docker-slim/docker-slim/internal/app/master/app.go:15 +0x54\nmain.main()\n\tgithub.com/docker-slim/docker-slim/cmd/docker-slim/main.go:8 +0x20\n" version="linux|Transformer|1.34.0|a5cb54043b3ab3cf747165aad745f19db680434e|2021-01-29_10:00:49PM"
ERROR: Job failed: exit code 1

Using the latest 1.34.0.
Any idea to fix this issue?
Cheers.

Using --network=host in a dind environment like Gitlab CI is an interesting combination... Are you able to run your image on its own with --network=host in Gitlab? How do you use the host network in the target image you have?
docker-slim also needs to be able to talk to the Docker daemon. By default, it happens using the Docker socket, but in the dind environments it's not always available. When the Docker socket is not available docker-slim needs the DOCKER_HOST configured. Here's my old Gitlab example (it also uses the containerized version of docker-slim): https://gitlab.com/k.q/sandbox/-/blob/master/.gitlab-ci.yml
Having the temporary container logs will be useful too (wonder if there's anything you get in your Gitlab logs).

Volume mount issue - https://gitlab.com/gitlab-org/gitlab-foss/-/issues/41227

Hey @openedhardware - can you elaborate on the solution or provide a link to a working example?


chore: travis - upgrade on new version Ubuntu 16.04

Since of May 2019 by default start Ubuntu Xenial 16.04
https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
and also since Ubuntu 16.04 you can start xvfb as services
https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui

The same thing as https://github.com/karma-runner/karma-coverage/pull/386

close and reopen to trigger appveyer

I've open a bug with github on appveyor UI in PR pages, Ticket ID: 406647

retriggering appveyor with new config

...and again now that the config landed....


time.sleep() cripples handle_data

Dear Catalyst Maintainers,
Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
I noticed including time.sleep(1) in handle_data causes it to stall forever. Though I am using version 0.5.18

What did you expect to happen?
sleep for one second
What happened instead?
catalyst stalled

Here is how you can reproduce this issue on your machine:
Reproduction Steps

include time.sleep(1) as the first line in handle_data
run a backtest using minute frequency

...
What steps have you taken to resolve this already?
tried different sleep times including 0.05
...
Anything else?
...
Sincerely,
$ demontamer

Hi @demontamer ,
I wasn't able to reproduce the issue you've described.
The addition of the sleep interval to each minute tick will increase the period of the entire backtest.
You can easily suspect the addition of the sleep interval by adding a print before/after the sleep command: by playing with different intervals you will see the delay between each print.
Lena

@demontamer , I am closing this. Feel free to reopen if you feel otherwise.


Update jdk18 installers to jdk-18.0.2+9

Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Resynced and waiting for tests to run ...


Added Prettier package to main project file

Fixes #73
Changes proposed in this pull request:

Added Prettier package and config files
Added config based on my personal preference, so feel free to change/add/remove
Formatted all files with current .prettierrc.json settings

Yeah, I was definitely confused when I pushed that up. I had seen a few different resources disagreeing on the need for a package.json. I started the process over and added the husky and lint-staged packages, so now when someone tries to commit, it will automatically run prettier with the .prettierrc.json configurations. It seems to work properly. I also resolved the merge conflicts in the subfolder package-lock.json files. Let me know if there's anything else that seems off.


added GymsoWebsite Landing Page

kindly merge my PR ..here is the live preview of the website https://surieya.github.io/GymWebsite/

Nice project! Add your information to the root index.html! Also are you on discord? If so send me a message 0silverback0


Reyax Library - More Verbose Message Parsing

Thank you so much for the library and update.  Could you give an example of how to use the message parsing?  I have everything working on both receiver and transmitter but I am unsure how to used the message parsing so that I can extract just the data that I have sent.

I looked at your examples and got my answer!  Thanks so much again for the library.  You are the only resource that I have found that has provided code and a library for the Pico and the Reyax.


Precision not being committed as FLAT

Configuration information
<ehrbase_version>0.17.3-SNAPSHOT</ehrbase_version>
<openehr_sdk_version>1e26bf1</openehr_sdk_version>
<archie_version>1.0.4</archie_version>
<jvm_version>Ubuntu 11.0.11+9-Ubuntu-0ubuntu2.18.04</jvm_version>
<os_version>Linux amd64 5.4.0-90-generic</os_version>
<postgres_version>PostgreSQL 14.0 (Ubuntu 14.0-1.pgdg18.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, 64-bit</postgres_version>
Steps to reproduce
Commit quantity value along with precision using FLAT format
"vital_signs/vital_signs:0/blood_pressure:0/any_event:0/systolic|magnitude": 120.00,
“vital_signs/vital_signs:0/blood_pressure:0/any_event:0/systolic|unit": "mm[Hg]",
"vital_signs/vital_signs:0/blood_pressure:0/any_event:0/systolic|precision": 2

Actual result
Throws error saying that could not consume the precision path
Expected result (Acceptance Criteria)
Should commit and return
Definition of Done

[ ] The defect is checked by an unit or an integration test (Robot)
[ ] Merge Request approved
[ ] Unit tests passed
[ ] Build without errors
[ ] Release notes prepared
[ ] No additional runtime warnings

This works now on dev
see
sdk
DbConformanceTest.testRoundTrip:
EHRBASE_CONFORMANCE_DATA_TYPES_DV_QUANTITY


age-plugin-tpm requires access to the TPM when encrypting

As far as I understand (from reading the source, as well as having worked with TPM 2.0 itself) the plugin generates identities as TPM-bound NIST P-256 keys, used with ECDH to wrap the age session key.
Assuming this is the case, encrypting to a TPM recipient should only require knowledge of that P-256 point/pubkey, yet age-plugin-tpm attempts to access /dev/tpmrm0 and fails if permission is denied.  This is an issue in my usecase in two different ways:

I'm managing secrets in a distributed environment, so encryption might be done on a system which does not have access to the recipient's TPM, or any TPM at all ;
unprivileged users should be able to introduce new secrets (i.e. encrypt) without being granted decryption privileges, let alone full access to the TPM device.

I'm aware of this issue and mostly just waiting on this to be standardized and implemented in age.
https://github.com/C2SP/C2SP/pull/96
If you want to implement the encryption inside the plugin without a TPM feel free to send patches :)

There doesn't seem to be much activity on that PR, but hopefully it can happen soon.

Filippo will work on this at some point.


Codemirror 6 Support

Currently under development.

Any word on this?

Thanks for the comment. Update.
As noted in the README, this library may no longer be needed as it has been modularized in CodeMirror 6.


Support Datadog plugin in (cluster) output

Is your feature request related to a problem? Please describe.
We use Datadog as final destination for our log events. Right now this means we need to maintain a second, external Fluentd installation that we forward to from the logging-operator-managed one.
Describe the solution you'd like
Support the Fluentd Datadog Plugin in the output and clusteroutput resources.
Describe alternatives you've considered
Alternatively, open up output resources for generic plugins - as long as the container image has them installed which could be done by users maintaining an appropriate downstream image.
Additional context
Fluentd Datadog plugin docs at https://www.rubydoc.info/gems/fluent-plugin-datadog

I was able to circumvent the missing Datadog plugin by using the out_http plugin and configuring that with the necessary details. Sample snippet below:
apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterOutput
metadata:
  name: datadog
spec:
  http:
    content_type: "application/json"
    endpoint: https://http-intake.logs.datadoghq.com/v1/input
    headers:
      DD-API-KEY: MY_DATADOG_KEY
    buffers:
      chunk_limit_size: 5MB
      compress: gzip
      flush_mode: interval
      flush_interval: 10s

I would still appreciate direct support of the plugin, but for us this is a viable alternative.


add HeatmapGraph

Description
Add support for heatmap and use it for visualization of diversity p-values.
Changelogs

add HeatmapGraph to support heatmap visualization (plot.graphs.heatmap)
use heatmap visualization when analyzing groups in diversity. Can choose to visualize or not with show_pval option.

Issue(s)
Fixes #55
Definition of Done

[ ]  New code is tested with unit tests
[ ]  Documentation has been updated
[ ]  Pull Request has been revised by a maintainer of the project

converted to draft to handle output_file option for pvalue graph

Just one question related to the p-value correction I'm working on, what kind of input does Heatmap take? Only symmetric dataframe?

Just one question related to the p-value correction I'm working on, what kind of input does Heatmap take? Only symmetric dataframe?

@AgnesBaud HeatmapGraph takes whatever dataframe you give it to represent it. You will have indexes as y and columns as x and the content of each cells as z. So for the context of p-value, you need to make sure it is a dataframe.


Add infrastructure to set a seed

... for all modules that are using the random module. This is needed for testing, also in Galaxy.

not relevant any more


Meltano multi-file config falls if top-level element missing from main file

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3047
Originally created by @aaronsteers on 2021-11-06 01:01:32

Found while prepping to record the live coding demo...
When environments are defined in an included file, Meltano fails unless environments: [] is present in the main file.

View 5 previous comments from the original issue on GitLab


How to avoid distributing credential with a web page?

Hello, if I use this library client-side, how can I do so without giving users my key used to access the API? It seems that I can't prevent that. So then, does the browser API have any use? Node.js support is nice though.

Yes, it's mentioned: https://github.com/huggingface/huggingface.js/blob/main/packages/inference/README.md#usage

Note that this API key should be kept private and used exclusively for experimental purposes on the web. If you need to protect it, we suggest setting up a proxy server since we currently do not provide an OAuth solution.

So you need to proxy, or use no token (but then you are rate limited pretty heavily)

Ok, should have read the README. Proxies seem very useful for that.

@runvnc @coyotte508. I know this is closed but what is wrong with a text box to enter your token? I have gone the extra step to store it locally even though I know that is not very secure.
https://hpssjellis.github.io/my-examples-of-huggingfacejs/public/hug04-local-token-storage.html


Can Grounded SAM support Grounding DINO 1.5 or 1.6

Hi LexiPang, we support GroundingDINO 1.5 and SAM2.1 in this repo

Got it! Thanks for the great work!


CQD Connector Limitation - GCC support with the connector in the Power BI service

My understanding is the connector is now supported in GCC, but not GCCH or DOD.
The documented limitation should reflect that.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 067e8376-df94-9a44-5263-cd1fc84879bf
Version Independent ID: 924240c8-52c5-42db-36b8-28751f838784
Content: Install Power BI Connector to use CQD query templates - Microsoft Teams
Content Source: Teams/CQD-Power-BI-connector.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

@greganth1  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@SerdarSoysal

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Torchvision functional rotate should have a fill option

torchvision.transforms.functional.rotate should have a fill option, or something to let us choose black or white. Padding and random crop all have a fill option,

Thank you! Although it is not necessary for my application, perhaps there should be a fill option on transforms.RandomRotation as well.

The change for transforms.RandomRotation is already included in the PR.


⬆ Upgrade analytical-platform-development cluster development-aWrhyc0m to 1.29

[!CAUTION]
Standard support until November 26, 2024

User Story
As a platform engineer
I expect my clusters to be up to date
So that they don't whither and die, or end up on extended support because 💰
Useful Contacts
Gary, Jacob, Julia, Emma.
Proposal
Upgrade the cluster - analytical-platform-development cluster development-aWrhyc0m
Additional Information
kubernetes-release-calendar
Definition of Done

[x]  Research the components that make up the cluster and understand if the impact/dependencies of upgrading.
[x]  Understand and document how to test the cluster functionality for when this is done in Production
[x]  Upgrade the cluster to 1.28 from 1.29
[x]  Document findings and present to the team

Done, documented in the main channel.


Handle CLOB hibernate exception

When using postgres as DB Hibernate has got a Probelm with @CLOB annotation
2019-11-13 19:18:53.361  INFO 7 --- [           main] o.h.e.j.e.i.LobCreatorBuilderImpl        : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_201]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_201]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_201]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
	at org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl.useContextualLobCreation(LobCreatorBuilderImpl.java:113) [hibernate-core-5.2.17.Final.jar!/:5.2.17.Final]

This is an hibernate issue:
https://hibernate.atlassian.net/browse/HHH-12368
and was fixed with hibernate 5.4.0.CR1
When we would jump to spring boot 2.2.0 this should be automatically fixed, because this version uses hibernate 5.4 as dependency (and no longer 5.3 as spring boot 2.1)


How can I get the code rocm-dkms 1.8 or 1.8.3 Debian?

sorry,i have a question.
I need to get the previous version for some reasons, but these files are all deleted on the official Debian repository. I wonder if there is still a chance to download version 1.8 or 1.8.3 Debian
Do you know how to get?
Only the oldest historical version is only retained until 1.9.3
http://repo.radeon.com/rocm/apt/1.9.3/

I wonder is there a political reason Debian to be not supported despite the name "Debian" is cited thousand times in the documentation ?

Hi @nuu9323226
Thanks for reaching out.
We are not officially supporting debian OS. But you can tweak things on ubuntu debs and sue accordingly.
Thank you.


Implement zero-configuration overlay forming

http://en.wikipedia.org/wiki/Zero-configuration_networking.

Zero configuration is enabled by providing zero-config as a value of racks. In such case multi region support is not available, every gossip_interval, a broadcast message is sent. Replies happen the same way as in normal gossip.

To be implemented:

[ ] sending multicast to form an overlay
[ ] if multicast, additional socket to handle local connections
[ ] do not allow reconfiguration between non-multicast and multicast

The reason for an additional, local socket in case of multicast: a member publishes the message to a gossip member. If the member is bound to a multicast message, a client publishing to multicast address would result in this message being broadcast to all gossip members, which should not be the case.
An additional, local bound socket is required. Local clients will communicate with gossip member via <IP_ADDRESS> on port (by default) #overlayConfig.port+1. This local port is a configurable option.

Still left to implement:

[ ] in case of a multicast overlay, choose the right socket for the local communication
[ ] test coverage


Opening no-more-existent mail crashes K9

Did delete a Mail from my IMAP account while my device running K9 had no internet connection. Then (once the device was connected to the internet again) tried to open this Mail => Crash.
Might this be the root cause of Bug #814?
Expected behaviour
If I try to open a no-more existing mail I would expect to be returned to the current thread and, if the current thread does no more exist, as well, to the inbox.
Actual behaviour
K9 sometimes (about 10% of the time) crashes
Steps to reproduce

Use an IMAP account
Make sure that K9 cannot see immediately that an e-mail has been deleted
Delete an E-Mail from outside K9
Try to open this E-Mail using K9.

Environment
K-9 Mail version:
Android version:
Account type (IMAP, POP3, WebDAV/Exchange):
Thanks a lot,
and kind regards,
 Gunter

Can you please provide a debug log containing a stack trace of the crash. See https://github.com/k9mail/k-9/wiki/LoggingErrors

Seems to be no more reproducible => Closing this bug.


validator:status command should have a flag to view all validators

Expected Behavior
A --all flag should be added to the validator:status command to show status information for all elected signers.
Current Behavior
Only a single specified validator can be viewed

Fixed by #2285


Remove ???-dev-07fccb9-dirty from top bar

Hi! I compiled the redist and also the normal jar and when I open it I get this on the top.

is there a way to remove it like in the jar in releases?

See dev.figboot.olauncher.launcher.LauncherVersion. Make sure you have a git tag created in your local olauncher repository.


WARNING in<EMAIL_ADDRESS>

Stack trace

Reproduction steps

Install react-native-web
Configure webpack file and other necessary files
Add the following scripts in package.json

"build": "rm -rf dist/ && webpack --mode=production --config webpack.config.js",
"web": "webpack serve --mode=development --config webpack.config.js"

Run the following command on terminal:

yarn run web

Volume
100
Affected SDK versions
^2.1.1
Latest working SDK version
^2.1.1
Does the crash manifest in the latest SDK version?
Yes
React Native Version
0.72.6
Package.json Contents
{
"name": "openforce",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest",
"postinstall": "patch-package",
"build": "rm -rf dist/ && webpack --mode=production --config webpack.config.js",
"web": "webpack serve --mode=development --config webpack.config.js"
},
"dependencies": {
"@apollo/client": "^3.8.10",
"@datadog/mobile-react-native": "^2.1.1",
"@datadog/mobile-react-native-apollo-client": "^2.1.1",
"@datadog/mobile-react-navigation": "^2.1.1",
"@gorhom/bottom-sheet": "^4.6.0",
"@notifee/react-native": "^7.8.2",
"@react-native-async-storage/async-storage": "^1.21.0",
"@react-native-community/datetimepicker": "^7.6.2",
"@react-native-community/netinfo": "^11.2.1",
"@react-native-community/slider": "^4.5.0",
"@react-native-firebase/app": "^19.0.0",
"@react-native-firebase/messaging": "^19.0.0",
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/native": "^6.1.9",
"@react-navigation/stack": "^6.3.20",
"@reduxjs/toolkit": "^2.1.0",
"axios": "^1.6.5",
"graphql": "^16.8.1",
"i18next": "^23.7.16",
"moment": "^2.30.1",
"react": "18.2.0",
"react-i18next": "^14.0.0",
"react-native": "0.72.6",
"react-native-auth0": "^3.1.0",
"react-native-blob-util": "0.19.1",
"react-native-compressor": "^1.8.24",
"react-native-config": "^1.5.1",
"react-native-document-picker": "^9.1.1",
"react-native-drag-sort": "^2.4.4",
"react-native-draggable-flatlist": "^4.0.1",
"react-native-gesture-handler": "^2.14.1",
"react-native-image-crop-picker": "^0.40.3",
"react-native-image-to-pdf": "^1.2.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-linear-gradient": "^2.8.3",
"react-native-modal-datetime-picker": "^17.1.0",
"react-native-pdf": "^6.7.4",
"react-native-permissions": "^4.1.4",
"react-native-reanimated": "^3.6.1",
"react-native-safe-area-context": "^4.9.0",
"react-native-screens": "^3.29.0",
"react-native-select-dropdown": "^3.4.0",
"react-native-splash-screen": "^3.3.0",
"react-native-svg": "^14.1.0",
"react-native-swiper": "^1.6.0",
"react-native-toast-message": "^2.2.0",
"react-native-vector-icons": "^10.0.3",
"react-native-web": "^0.19.10",
"react-native-zendesk-messaging": "^0.2.1",
"react-redux": "^9.1.0",
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.11",
"@svgr/webpack": "^8.1.0",
"@tsconfig/react-native": "^3.0.0",
"@types/react": "^18.0.24",
"@types/react-native-vector-icons": "^6.4.18",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"babel-loader": "^9.1.3",
"babel-plugin-react-native-web": "^0.19.10",
"eslint": "^8.19.0",
"html-webpack-plugin": "^5.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.8",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.4.1",
"react-dom": "^18.2.0",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4",
"url-loader": "^4.1.1",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"engines": {
"node": ">=16"
}
}
iOS Setup
No response
Android Setup
No response
Device Information
Browser
Other relevant information
No response

We are investigating this issue and we will get back to you soon! In the meantime, would it be possible for you to share your webpack.config.js?

We are investigating this issue and we will get back to you soon! In the meantime, would it be possible for you to share your webpack.config.js?

const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const appDirectory = path.resolve(__dirname);
const {presets} = require(${appDirectory}/babel.config.js);
const compileNodeModules = [
// Add every react-native package that needs compiling
'react-native-gesture-handler',
'react-native-reanimated',
'@datadog/mobile-react-native',
'@datadog/mobile-react-native-apollo-client',
'@datadog/mobile-react-navigation',
'react-native-compressor',
'react-native-document-picker',
'react-native-drag-sort',
'react-native-image-zoom-viewer',
'react-native-linear-gradient',
'react-native-pdf',
'react-native-select-dropdown',
'react-native-swiper',
'react-native-toast-message',
'react-native-vector-icons',
'react-native',
'@react-native'
].map((moduleName) => path.resolve(appDirectory, node_modules/${moduleName}));
const babelLoaderConfiguration = {
test: /.js$|tsx?$/,
// Add every directory that needs to be compiled by Babel during the build.
include: [
path.resolve(__dirname, 'index.web.js'),
path.resolve(__dirname, 'App.web.tsx'),
path.resolve(__dirname, 'src'),
...compileNodeModules,
],
use: {
loader: 'babel-loader',
options: {
cacheDirectory: true,
presets,
plugins: ['react-native-web'],
},
},
};
const svgLoaderConfiguration = {
test: /.svg$/,
use: [
{
loader: '@svgr/webpack',
},
],
};
const imageLoaderConfiguration = {
test: /.(gif|jpe?g|png)$/,
use: {
loader: 'url-loader',
options: {
name: '[name].[ext]',
},
},
};
const ttfLoaderConfiguration = {
test: /.ttf$/,
use: [
{
loader: 'url-loader',
},
],
};
module.exports = {
entry: {
app: path.join(__dirname, 'index.web.js'),
},
output: {
path: path.resolve(appDirectory, 'dist'),
publicPath: '/',
filename: 'rnw_blogpost.bundle.js',
},
resolve: {
extensions: ['.web.tsx', '.web.ts', '.tsx', '.ts', '.web.js', '.js'],
alias: {
'react-native$': 'react-native-web',
'../Components/AccessibilityInfo/legacySendAccessibilityEvent': 'identity-obj-proxy',
'../Utilities/Platform': 'react-native-web/dist/exports/Platform',
'../../Utilities/Platform': 'react-native-web/dist/exports/Platform',
'./Platform': 'react-native-web/dist/exports/Platform',
'./RCTAlertManager': 'react-native-web/dist/exports/Alert',
'../../Image/Image': 'react-native-web/dist/exports/Image',
'../../StyleSheet/PlatformColorValueTypes': 'react-native-web/dist/exports/Animated',
'./PlatformColorValueTypes': 'react-native-web/dist/exports/StyleSheet',
'../Utilities/BackHandler': 'react-native-web/dist/exports/BackHandler',
'./BaseViewConfig': 'identity-obj-proxy',
'./RCTNetworking': 'identity-obj-proxy',
'../DevToolsSettings/DevToolsSettingsManager': 'identity-obj-proxy',
'../../../../../../datadog-configuration.json': 'identity-obj-proxy',
'react-native-linear-gradient': 'react-native-web-linear-gradient'
},
},
module: {
rules: [
babelLoaderConfiguration,
imageLoaderConfiguration,
svgLoaderConfiguration,
ttfLoaderConfiguration
],
},
plugins: [
new HtmlWebpackPlugin({
template: path.join(__dirname, 'index.html'),
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
DEV: JSON.stringify(true),
}),
new webpack.ProvidePlugin({
process: 'process/browser',
}),
],
};

Hi @marco-saia-datadog ,
I am using React Native version 0.65.2 and have one app running in production. During the initial release of the dd-sdk-reactnative(version ^1.0.0-beta3), I installed it in my application, but when I tried to upgrade to a recent version my app crashed in the simulator with the same issue.
Additional Info:

React native version - 0.65.2
Currently, I installed Datadog version - 2.3.2

I checked the issue part, located in the path<EMAIL_ADDRESS>In line 65, a file path is mentioned that is not found in the consent directory. Is it automatically created during the project build?

const resolveJSONConfiguration = (
    userSpecifiedConfiguration: unknown
): Record<string, any> => {
    if (
        userSpecifiedConfiguration === undefined ||
        userSpecifiedConfiguration === null
    ) {
        try {
            // This corresponds to a file located at the root of a RN project.
            // /!\ We have to write the require this way as dynamic requires are not supported by Hermes.
            // eslint-disable-next-line global-require, @typescript-eslint/no-var-requires

> /* -----> The issue is trigger from here --->*/
           const jsonContent = require('../../../../../../datadog-configuration.json');

            if (
                typeof jsonContent !== 'object' ||
                !jsonContent['configuration']
            ) {
                console.error(`Failed to parse the Datadog configuration file located at the root of the project.
Your configuration must validate the<EMAIL_ADDRESS>JSON schema.
You can use VSCode to check your configuration by adding the following line to your JSON file:
{
    "$schema"<EMAIL_ADDRESS>}`);

                return {};
            }

            return jsonContent.configuration as Record<string, any>;
        } catch (error) {
            console.error(`Failed to read Datadog configuration file at the root of the project.
If you don't have a datadog-configuration.json file at the same level as your node_modules directory,\
please use the following syntax:\n
new FileBasedConfiguration({configuration: require('./file/to/configuration-file.json')})
`);
            return {};
        }
    }
    if (
        typeof userSpecifiedConfiguration !== 'object' ||
        !(userSpecifiedConfiguration as any)['configuration']
    ) {
        console.error(`Failed to parse the Datadog configuration file you provided.
Your configuration must validate the<EMAIL_ADDRESS>JSON schema.
You can use VSCode to check your configuration by adding the following line to your JSON file:
{
    "$schema"<EMAIL_ADDRESS>}`);

        return {};
    }

    return (userSpecifiedConfiguration as any)['configuration'] as Record<
        string,
        any
    >;
};

Can you suggest which version of datadog will work, with this React native version?

Hey @PrasathRV, can you show me how you are initialising the SDK?
The datadog-configuration.json file is supposed to be created by you in the root folder of your project when using the file-based initialisation.
Normally, you would create the datadog-configuration.json file and set it up like this:
{
  "$schema"<EMAIL_ADDRESS>  "configuration": {
  }
}

You would then define your configuration parameters.
The "$schema" attribute allows modern IDEs to show errors if the configuration is incomplete or invalid and add autocompletion.
This change was introduced in version 2.3.0 to allow native initialization, therefore I believe you should be able to use v2.2.0 to avoid this issue.
However, I strongly recommend refactoring your implementation to keep Datadog SDK up to date.

Thanks @marco-saia-datadog for the suggestion. I will update my dd-sdk-reactnative version to the latest version 👍
Can you provide me a sample datadog-configuration.json for my reference, please

@PrasathRV
No problem!
Here is an example:
{
  "$schema"<EMAIL_ADDRESS>  "configuration": {
    "applicationId": "<app-id>",
    "clientToken": "<client-token>",
    "env": "<env>",
    "verbosity": "DEBUG",
    "batchSize": "SMALL",
    "uploadFrequency": "FREQUENT",
    "trackingConsent": "GRANTED",
    "trackInteractions": true,
    "longTaskThresholdMs": 100,
    "nativeCrashReportEnabled": true,
    "trackResources": true,
    "trackErrors": true,
    "telemetrySampleRate": 100,
    "serviceName": "com.myapp.test"
  }
}

Also, feel free to show me how you are initialising the SDK - after redacting your App ID and Client Token.

Hi 👋 I am closing this issue since there has been no activity for a while. Feel free to re-open it if the issue persists on your side!


Update Release-Iron-Irwini.rst

Noticed we were lacking examples of matched events ahead of the Iron release, it took 30 minutes to find them, figured this might help.

@clalancette @Yadunund can you take a look?

@kscottz can you point this PR to rolling branch? and then we can backport.

@Mergifyio backport rolling humble foxy

@clalancette we can backport the fix to rolling! that is good to know! thanks 👍


Correcting the statement regarding scaling

The following statement is incorrect. "If you run multiple function apps in a single Premium plan or dedicated (App Service) plan, these apps are all scaled together."
Each app scales separately and each app can override the number of 'Always Ready Instances' and even Enforce Scale Out Limit.
Each function in a single app, on there other hand, Does scale together with other functions in the same app.

@slavkaz001 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@slavkaz001 thanks for correcting this! #sign-off


Bindings for Java

Let's start the equivalent of osm2street-js, but for Java. At an extremely cursory glance, https://github.com/jni-rs/jni-rs looks popular, but there are likely many options out there

https://blog.frankel.ch/start-rust/7/ and https://docs.rs/jni/latest/jni/ look straightforward to me. I'll try exposing the same osm2streets-js API like this. Not sure how packaging / publishing works, but not important yet

Actually, https://github.com/dushistov/flapigen-rs might be a higher-level approach

I am able to build and run the build native library locally! My next challenge is to using it as a library in the JOSM2Streets plugin. I have the JOSM plugin building using gradle, but I only just have a grasp of how that build system is working, and don't know how distributing the built plugin will work yet. Including the native library will be tricky, but I think I there is a satisfying solution:
It looks like we can package the native libraries in a .jar while building osm2streets-java, and modify the JNI class to load the appropriate library out of the JAR, according to a couple of the answers at https://stackoverflow.com/questions/2937406/how-to-bundle-a-native-library-and-a-jni-library-inside-a-jar. Maybe this library will be good: https://github.com/scijava/native-lib-loader?
Then I can copy the .jar into the JOSM plugin project and add it as a dependency in the standard way (which I hope is easy). Publishing the bundled JAR to Maven should also be "straight forward".

native-lib-loader indeed looks great. Do callers need to depend both on it and our jar with all the native builds, or can we have a single library that depends on this loader and calls it? I'm still a bit confused how this all wires together; I wonder if there's a real example of a project out there with everything set up.
Another question is how to build for all the platforms sanely. We can do this with Github actions, but I've never attempted to automatically bundle resulting files from each platform into one final asset.

My understanding is that the result is a completely self contained .jar, with all of the JNI stuff as an implementation detail.
The idea is that System.loadLibrary(libName) loads the native lib by finding it in the system paths, but System.load(absolutePath) loads a lib from a specific absolute path. A .jar is actually just a .zip file, so resources can be packaged in alongside the Java bytecode. The solution for "statically linked" JNI dependencies, is to package the native libs in the .jar, then at runtime, extract the appropriate lib into a temp dir and System.load() it (with a fallback to System.loadLibrary() if the current system's lib isn't packaged, so people can compile their own). This answer to that SO question has an implementation. I believe native-lib-loader provides that logic.
Packaging a .jar with resources is a pretty standard thing for java build systems to do I think. If I get to it first, I'll look into doing it with Gradle, because that's what I've got working with JOSM2Streets.

Packaging the .jar is as easy as jar cf StreetNetwork.jar StreetNetwork.class -C ../target/debug/ libosm2streets_java.so. I'm gonna stick with bash scripts for building, gradle is not going to make our lives easier at this stage. I'm working on a proof-of-concept version of generating the .jar and using it in the JOSM plugin.

Next steps: improve API exposed in the bindings, and publish (with multiple platform support)


Require setuptools on runtime, mako.util uses pkg_resources

The pkg_resources module is only available when setuptools is installed.

@hroncok , are you still interested in picking this up? I can take it if not. Thanks!

@bourke This has somehow slipped from my TODO. Feel free to go ahead.

Closing this; superseding issue (#347) solved by 87c102ca4612109db54cdf95e7f7a044e087d25a.


(PUP-3960) Fix installed rpm package helper

This commit changes the validation of an rpm package install to
use yum to perform the query.
Prior to this commit, the helper assumed that the package installed
a binary of the same name.

CLA signed by all contributors.


V3 to master. Do not merge, please.

Rebased version of v3 client library.

@sunloverz could you please test this version. Thanks!

https://github.com/iron-io/iron_mq_python/pull/40

Everything works fine except alerts, can't remote alerts, but it is backend issue

Seems, need to move featalion:v3 -> iron_mq_python:v3 first ( :

Will be reopened from current repository's v3 branch to master.


kiss: fix dependency issues

Should fix #29, #30, circular dependencies
Note: This is a draft. Please try it and let me know if there are any issues.
I plan to make additional changes. Will make it known once it's ready.

This doesn't solve circular dependencies problem. Note that you did this before but removed it because this actually doesn't work.
mkdir -p repo_cycle/package{1,2,3,4} # sorry, bashism

# package1->package2->package3->package4->package1
echo package2 > repo_cycle/package1/depends
echo package3 > repo_cycle/package2/depends
echo package4 > repo_cycle/package3/depends
echo package1 > repo_cycle/package4/depends

# trigger stack overflow
KISS_PATH="$PWD/repo_cycle" kiss b package1

I think we should cooperate to solve these dependency handling issues.

I pushed a commit which should fix the issue. Thanks for pointing it out.

This is ingenious trick! Good job.  I'll cancel my previous work rn...

shellcheck can't parse the case statement. Will push a fix shortly.

I've botched the rebase. Give me some time.

OK. Fixed the issue with #29. Again, the other test failure is contrary to how the package manager works. ie, it would have to be made aware of updates during kiss b rather than only during kiss u. This is for later if we want to do this.

Seems to be some sort of regression here...
kiss b xorg-server xf86-input-libinput liberation-fonts reports that the latter two are explicit, xorg-server is implicit; xorg-server builds successfully, but kiss does not attempt to install it before moving on to xf86-input-libinput. Problem doesn't exist on master without this patch.


Synchronization backends should be plugable

In my opinion watson should not support only one (relatively unknown) service for synchronizing frames with a remote storage, but give the means to users to choose alternatives and to developers to implement support for them. For example, there could be synchronization Backends for Dropbox, Google Drive, iCloud, etc.
Please excuse the long text below, but I think this issue warrants some thorough discussion and I would be glad to hear your thoughts on it.
To not bloat the watson distribution with too many sync backends (and their dependencies), I propose to use a plugin framework to load backend implementations and to specify the API that they have to support.
As a fist step, the existing backend implementation for artich.io should be refactored as a plugin and a framework for loading it implemented in watson. For the latter I propose to use setuptools entry points since it allows to implement backend plugins in separate distributions and it can be supported in watson without adding additional dependencies and very little code. A good brief introduction to using entry points can be found here.
As a Proof of Concept I have started a new branch called syncplugins on my fork of watson. I plan to add a backend plugin using Dropbox to it soon.
The branch has the following changes:

Moved pull, push, _get_request_info and _get_remote_projects methods of watson.watson.Watson into a new class ArtichIOSync in the new module watson.artichio.
Added an entry point group watson.sync in setup.py
Added the entry point artichio with the implementation in watson.artichio:ArtichIOSync to it
Added a new method _load_backend to the Watson class to load the sync backend specified in the configuration option backend.name (defaults to artichio)
Re-implemented Watson.pull and Watson.push to call _load_backend and then delegate the actual pushing and puling of frames to the backend plugin.
I've kept the logic to decide which frames to add and upload in those methods, since this will probably be the same for all plugins (but see discussion below about using several backends at the same time). This means that push and pull just return a list of frames, they do not modify Watson.frames themselves.
To support this better, I've added a __contains__ method to frames.Frames to test for existing frames by ID.
Added some tests for Watson._load_backend and fixed others to account for moved methods.

Since I don't have an artich.io account, I can't really test wether the changes broke the synchronization, but the tests still pass. The way the artich.io responses are mocked, leads to few questions, though:

Do the frames returned by artich.io not contain an updated_at timestamp? IMHO this should be always required to enable watson to recognise editing conflicts.
Is there a way to pass information about deleted frames (in both directions)?
Currently watson keeps a global timestamps when the last sync was performed and this is passed to artich.io. If we want to allow the user to synchronize with several services at the same time, this timestamp must either be saved per backend or it should be the backend's responsibility to save and retrieve it.

The current API for plugins looks like this:
class BaseSyncBackend:
    def __init__(self, config):
         self.config = config  # a configparser.ConfigParser instance

   def pull(self, last_sync):
       return received_frames  # a list of frames.Frame instances

   def push(self, frames):
       return uploaded_frames  # a list of frames.Frame instances

Does this need to be extended / changed somehow? If backends should become responsible for keeping their state (last_sync), do we need to pass a storage path?

Hi @SpotlightKid! Thanks for your work and thoughts on this point. We are actually working on it, and it is semi-related to #29. We need more time to come up with a good plan I guess, but what you did so far makes perfectly sense!

Note that my comment still apply too: https://github.com/TailorDev/Watson/issues/29#issuecomment-148961321.

@willdurand regarding the integration with a Watson dashboard mentioned #29, I think the same would apply: it should be implemented as as plugin and the API should specified, so third-party implementation of both clients and servers can be created.

I'd :heart: to be able to write a bridge to use watson with Jira. I name my Watson projects after Jira tasks, so I could call their api and log my time.

Hello !
Any news about that issue ?

Well, since the backend (artichio), which the current code is written for, never materialized, there is no real need to follow the synchronization protocol it implements. Especially, since it has some conceptional flaws, IMHO.
So what's needed is, that somebody writes a synchronization backend or an adapter for existing system. The integration into Watson could still be done within the framework laid down by this PR, though. But it doesn't make much sense to merge it, before there is a matching backend.

I'd heart to be able to write a bridge to use watson with Jira. I name my Watson projects after Jira tasks, so I could call their api and log my time.

If anyone is still waiting for this feature specifically for Jira syncing, I wrote a CLI layer on top of Watson to tide me over until then:
https://github.com/medwig/watson-jira


setDefaultBackTransition issue

Hi. I use verison 0.6.2. I have a problem about setDefaultBackTransition. I use like below:
  $ionicNativeTransitionsProvider.setDefaultTransition({
      type: 'slide',
      direction: 'left'
  });

 $ionicNativeTransitionsProvider.setDefaultBackTransition({
     type: 'slide',
     direction: 'right'
 });

backtransition  works same as defaulttransition. I tried other transition styles also. It did same thing. I made research but I did not fix this problem. Thansk in advance.

I have the same issue, only physical back button is doing the good transition, and setDefaultBackTransition has no effect. @miyamotomusashi you closed it so I assume you solved your issue, can you maybe post how ?


Hyprland crash while gaming

System Info and Version
 System/Version info
Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

System Information:
System name: Linux
Node name: arch
Release: 6.9.2-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
Played a game through steam, both displayed turned off and I was thrown to sddm
How to reproduce
Not sure, first time it happened
Crash reports, logs, images, videos
hyprlandCrashReport1137.txt
coredump_hyperland.txt

symbols stripped, can you compile manually in debug and repro?
Also try on git.

I experienced the same behaviour with a similar stacktrace. My laptop was in fullscreen mode playing a video when hyprland crashed. Will try to reproduce on the weekend.

Bump. Does it still happen?

Yes it does,
Sorry about the delayed response, real life issues
I will re-compile in debug tomorrow and upload the result

nms_debug_hyprland.log
hyprland_nms_stack.txt
Hi attached recent crash,
Pretty sure I enabled the debug option but not 100% sure.

nms_debug_hyprland.log
hyprland_nms_stack.txt
Hi attached recent crash,
Pretty sure I enabled the debug option but not 100% sure.


VGG training example seems learned nothing

Hi, I have training VGG - faster-rcnn example follows the Readme.md
with
python ./faster_rcnn/train_net.py --gpu 0 \
    --weights ./data/pretrain_model/VGG_imagenet.npy \
    --imdb voc_2007_trainval --iters 70000 \
    --cfg  ./experiments/cfgs/faster_rcnn_end2end.yml \
    --network VGGnet_train --set EXP_DIR exp_dir

and tested with
python ./faster_rcnn/test_net.py --gpu 0 --weights ./output/exp_dir/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt --imdb voc_2007_test --cfg ./experiments/cfgs/faster_rcnn_end2end.yml --network VGGnet_test

AP for aeroplane = -1.0000
AP for bicycle = -1.0000
AP for bird = -1.0000
AP for boat = -1.0000
AP for bottle = -1.0000
AP for bus = -1.0000
AP for car = -1.0000
AP for cat = -1.0000
AP for chair = -1.0000
AP for cow = -1.0000
AP for diningtable = -1.0000
AP for dog = -1.0000
AP for horse = -1.0000
AP for motorbike = -1.0000
AP for person = 0.0183
AP for pottedplant = -1.0000
AP for sheep = -1.0000
AP for sofa = -1.0000
AP for train = -1.0000
AP for tvmonitor = -1.0000
Mean AP = -0.9491
I have edited the test.py  to skip model exist checking
(since tf r1.1 saving as  .index .meta .data three file instead one)
But I didn't think that is the reason fail training.
Are there anyone with this similar problem??
my tensorflow version r1.1

I had the similar issue with the kitti dataset.

Me too. Have you solved the problem? HOW?

same issue.how to solve this problem?

@Asiapenolove  Have you solved the problem?


Make email templates loaded from filesystem instead of classpath and make email templates in english

Load tempaltes like /uploads and /db-resources
Probably to make after file management feature

Finished in #214


Fix Integration tests

Summary of the changes

This is an attempt to learn more about what's failing and hopefully t hen fix it.

Fixes: https://github.com/dotnet/razor/issues/8036

Current status: Diagnostics seems to be the most currently unstable, I've got a PR out to WebTools to fix an apparent concurrency issue in their diagnostics handler WRT a non-concurrent Dictionary. I've also got a comment on that PR asking for info about a possible issue which causes HTML0210 to get returned when the document only has <DocType` once.
I'm going to try re-running a couple more times and if those are the only issues I run into I may call the "Quelling" good for now and try to get this out to increase stability.

Here's a fun one that comes out of Rename_ComponentAttribute_BoundAttribute:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.VisualStudio.Text.Operations.SelectionState.EditToDataMap(ITextView view)
at Microsoft.VisualStudio.Text.Operations.SelectionState..ctor(ITextView view)
at Microsoft.VisualStudio.Text.Operations.Implementation.BeforeTextBufferChangeUndoPrimitive.Create(ITextView textView, ITextUndoHistory undoHistory)
at Microsoft.VisualStudio.Text.Operations.Implementation.EditorOperations.AddBeforeTextBufferChangePrimitive()
at Microsoft.VisualStudio.LanguageServer.Client.SnippetUtilities.ApplyDefaultTabStopSnippetTextEdit(JoinableTaskContext joinableTaskContext, TextEdit snippetTextEdit, SnapshotPoint triggerLocation, ITextBuffer textBuffer, ITextView textView, ITextUndoHistoryRegistry undoHistoryRegistryService, IAsyncCompletionBroker completionBroker, IOvertypeManagerFactory overtypeManagerFactory, IEditorOperationsFactoryService editorOperationsFactoryService)
at Microsoft.VisualStudio.LanguageServer.Client.FormatOnTypeCommandHandler.<HandleOnAutoInsertAsync>d__16.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.LanguageServer.Client.FormatOnTypeCommandHandler.<ExecuteCommandHelperAsync>d__18.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Shell.VsTaskLibraryHelper.<>c__DisplayClass35_0.<<FileAndForget>b__0>d.MoveNext()

Created https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1715306/ to track the above issue.


PreciseDuration in Data.Time.PreciseDuration.Internal

I'm not sure why this is, and it seems wrong given that PreciseDuration is  in the types of adjust and diff.

I think this was to prevent a circular dependency. This was moved in #23.


Dropped Node v6 support for 1.x

no issue

Node v6 has come to EOL as of 2019-04-30 (ref. nodejs/Release#end-of-life-releases)

Note: updating travis to run on Node v10 caused build to fail - https://travis-ci.org/gargol/Ghost-Admin/builds/549962391 . Left it on v8 for now as it wasn't a priority. @kevinansfield did see similar fails when upgrading Travis environment to Node v10 in current master?

Coverage remained the same at 72.405% when pulling 89e50dd68c8e1b90eefa32ec055880e44317385f on gargol:node-v6-drop into d7ee611a1d98de0a097ee42bb0c4afd092aa5c35 on TryGhost:1.x.


[Blazor server-side] Better server-side limits

We rely on signalr for handling delivery and order of messages.
Currently we continue rendering when a client disconnects in case the client connects back and simply queue pending batches.
We should have a limit on the number of batches that we are willing to produce once a client disconnect and "pause" the rendering
after that.

Pausing the rendering process means:

We stop processing the render queue and instead we place render requests into a separate pause queue.
We process the pause queue only when the client reconnects (by dispatching the paused elements into the regular queue).
When a component requests a new render:

We place it on the queue if there is no existing pending request for that component.

We replace the old render request with the new one if it is already on the queue.

Pausing the rendering has the following advantages:

We don't keep adding batches and increasing the consumed memory as a consequence.
We don't do unnecessary work when the client is not connected.
We limit the memory consumed per client to at most the number of components rendered in the app.
We can pause the rendering during prerendering to produce the output without buffering it before.

We'll consider these items as part of https://github.com/aspnet/AspNetCore/issues/10472

Reopening, as this still need to happen.


Developer's icons should show a placeholder while they load

It's a little jarring to watch each image appear randomly as they load, so it might be a good idea to have a loading placeholder using either CSS or a GIF (like something from here).

totally agree! Good tip! will fix. Thanks for the feedback @cyrozap


What should a UWP developer that uses Map Control, Win2D and Ink Canvas do considering UWP .NET and C# are 2 full versions behind?

What should a UWP developer that uses Map Control, Win2D and Ink Canvas do considering UWP .NET and C# are 2 full versions behind?
Why should Desktop apps that are currently in development using UWP or WPF (Desktop Bridge) move to WinUI3 and WindowAppSDK considering the huge number of bugs and missing functionality in them?
What are the current requirements for Desktop apps to be submitted to the Windows store?

@ryandemopoulos @MikeHillberg

Crickets.....

What should a UWP developer that uses Map Control, Win2D and Ink Canvas do considering UWP .NET and C# are 2 full versions behind?

If the UWP developer is happy with those controls & capabilities, they should feel free to just keep using them.  If there is a desire to move to newer versions of .NET/C#, then WinUI 3 is planning to add support for most/all of these in future releases – our roadmap can be found here.  Of the technologies you mentioned, I suspect Win2D will be the first to be made available for WinUI 3 apps, and we’ll address MapControl and InkCanvas as soon as we can do so while weighing the many other asks from our customers.

Why should Desktop apps that are currently in development using UWP or WPF (Desktop Bridge) move to WinUI3 and WindowAppSDK considering the huge number of bugs and missing functionality in them?

It’s worth stating upfront that developers should pick the best platform for their needs, which may not be WinUI 3.  Existing investments in UWP and WPF – or even new investments – make sense for many situations; people should use WinUI 3 if it offers them some benefit they care about that WinUI 3 doesn’t yet have.
As to why someone might target WinUI 3 today, there are several reasons and advantages: the mixture of Win32 support (for example, so you can use libraries & APIs that can’t be used in UWP), plus a modern set of Fluent controls & styles, plus Webview2, plus modern .NET, is a compelling combination for some app authors already.  Later this year we’ll also be adding unpackaged support (for those that don’t want to use MSIX) and other enhancements found on the roadmap I linked above.  A lot has changed – and continues to be changed – under the hood for WinUI 3.  Decoupling from the OS involves a ton of re-architecture to how pixels are drawn, how input works, how we ship and service the product, tooling, and more – all this change has resulted in bugs that we’re trying to address as quickly as possible.

What are the current requirements for Desktop apps to be submitted to the Windows store?

This repo – and my expertise specifically – focuses on WinUI 3, but I chatted with some colleagues and they gave me a few links that may be useful to you.  Let me know if this isn’t quite what you were looking for or if your question meant something else:

Submit your MSI or EXE app to the Microsoft Store | Microsoft Docs

Specific requirements captured in here: The MSI or EXE app certification process | Microsoft Docs

This article includes a video walking through the publication process
Review Microsoft Store Policies and App Developer Agreement (see “Exhibit E” for specifics on Win32 apps)

Thank you for the the response.  I guess its time to abandon UWP and hope for a stable Windows App SDK 1.0.

Thank you for the the response. I guess its time to abandon UWP and hope for a stable Windows App SDK 1.0.

Or continue supporting your UWP apps until Windows App SDK has the features you need, then begin transferring the codebase and XAML.


Classpath not correct with platform bom

Running gradle tests fail with a class not found exception, even though the class is on the classpath. Changing platform to enforcedPlatform allows the tests to pass, even though that should have no impact because there is no conflict.
Also what seems to be related is a failure in IntelliJ to load the project:
<ij_msg_gr>Dependency graph model errors<ij_msg_gr><ij_nav>/Users/jameskleeh/IdeaProjects/sample-projects/temp/build.gradle<ij_nav>root project 'temp'<eol>Details: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':testCompileClasspath'.<eol>Caused by: java.lang.RuntimeException: Problems reading data from Binary store in /private/var/folders/n0/tf0_z4wj0b14g5rdg6qwxhww0000gn/T/gradle5413559650647014364.bin offset 27963 exists? true<eol>Caused by: java.lang.IllegalStateException: Corrupt serialized resolution result. Cannot find selected module (123) for constraint apiElements -> io.micronaut:micronaut-messaging:2.0.1

That failure also goes away when the change from platform to enforcedPlatform is done
Expected Behavior
The tests should pass
Current Behavior

> Task :test FAILED

TempSpec > initializationError FAILED
    io.micronaut.context.exceptions.BeanInstantiationException at DefaultBeanContext.java:1540
        Caused by: io.micronaut.context.exceptions.BeanInstantiationException at DefaultBeanContext.java:1918
            Caused by: java.lang.NoClassDefFoundError at DefaultBeanContext.java:1889
                Caused by: java.lang.ClassNotFoundException at URLClassLoader.java:382

1 test completed, 1 failed

FAILURE: Build failed with an exception.

Context
I'm trying to run tests.
Steps to Reproduce
https://github.com/jameskleeh/gradle-bug
Execute ./gradlew test
Your Environment
OSX
JDK8
Gradle 6.5.1

Also note that we experienced similar issues with Gradle 6.5 in other applications and upgrading to 6.5.1 allowed some of them to work


Mixed-mip recipes dont work uless patching _recipe.py

Recipes that need a number of mip's, e.g.: https://github.com/ESMValGroup/ESMValTool/blob/REFACTORING_autoassess/esmvaltool/recipes/recipe_autoassess_conservation.yml don't work with current _recipe.py because the mip is assigned by the code to variable dictionary and not kept from raw_variable dictionary. Patch is here: https://github.com/ESMValGroup/ESMValTool/pull/493/commits/b9686dc260808416e534d0b2917bb69011d4d4da

The PR above should fix this issue. Note that there is an error in recipe https://github.com/ESMValGroup/ESMValTool/blob/REFACTORING_autoassess/esmvaltool/recipes/recipe_autoassess_conservation.yml that should be fixed as well before it actually works, this:
datasets:
  - {dataset: MPI-ESM-LR,  project: CMIP5,  mip: Amon, Lmon,  exp: amip,  ensemble: r1i1p1,  start_year: 1995,  end_year: 2003}
  - {dataset: MPI-ESM-MR,  project: CMIP5,  mip: Amon, Lmon,  exp: amip,  ensemble: r1i1p1,  start_year: 1995,  end_year: 2003}
  - {dataset: inmcm4,      project: CMIP5,  mip: Amon, Lmon,  exp: amip,  ensemble: r1i1p1,  start_year: 1995,  end_year: 2003}

should be replaced by
datasets:
  - {dataset: MPI-ESM-LR,  project: CMIP5, exp: amip,  ensemble: r1i1p1,  start_year: 1995,  end_year: 2003}
  - {dataset: MPI-ESM-MR,  project: CMIP5, exp: amip,  ensemble: r1i1p1,  start_year: 1995,  end_year: 2003}
  - {dataset: inmcm4,      project: CMIP5, exp: amip,  ensemble: r1i1p1,  start_year: 1995,  end_year: 2003}

In fact, I think this issue can be solved by just fixing the recipe. However, with the above PR you'll get a better error/log message.

@bouweandela you are absolutely correct, making the change in the recipe and removing the patch I put in works fine; the PR makes a nice addition to the error tho so yay. Cheers, dude!


client: fix client.GetClients() for multiple clients

fix for #150
Signed-off-by: Matt Vinall<EMAIL_ADDRESS>

Could you please add a test case as discussed in gitter? It would be awesome to automate the check :)

nvm, I'll create one myself. Thanks for this!

sorry, just catching up again, thanks. If I get time then I'll add one in a bit..

already on it

see #152