Unclear on the use the jx module

I am have bound services needing other bound services.
My binding looks like this:
val kodein = Kodein {
    import(jxInjectorModule)
    bind<Properties>() with singleton { PropertiesLoaderUtils.loadProperties(ClassPathResource("application.properties")) }
    bind<FileContentProvider>() with singleton { FileContentProvider.default }
    bind<DistributionService>() with singleton { jx.newInstance<DistributionServiceImpl>() }
    bind<InnkeeperClient>() with singleton { jx.newInstance<InnkeeperClientImpl>() }
    bind<QuiltClient>() with singleton { jx.newInstance<QuiltClientImpl>() }
    bind<TessellateClient>() with singleton { jx.newInstance<TessellateClientImpl>() }
    bind<JsonService>() with singleton { JsonServiceImpl() }
    bind<RequestContext>() with singleton { RequestContextImpl() }
    bind<Authorization>() with singleton { AuthorizationImpl() }
}

The moment I hit the resolving of the DistributionService, it fails with this message:
com.github.salomonbrys.kodein.Kodein$DependencyLoopException: Dependency recursion:
       ╔═> bind<JxInjector>()
       ╠─> bind<DistributionService>()
       ╚═> bind<JxInjector>()

The constructor of my DistributionServiceImpl is:
class DistributionServiceImpl(
    private val jsonService: JsonService,
    private val properties: Properties,
    private val quiltClient: QuiltClient,
    private val innkeeperClient: InnkeeperClient,
    private val tessellateClient: TessellateClient
) : DistributionService {

When I debug with breakpoints in every one of the singleton lambda, I observe that the following are called:

JsonServiceImpl()
FileContentProvider.default
jx.newInstance<DistributionServiceImpl>()
Then it fails before entering the constructor of class DistributionServiceImpl.

I feel that I simply am not using this right. However, the documentation does not state a clear example of how to declare a binding block using the jx approach. It just states as an example:
val kodein = Kodein {
    import(jxInjectorModule)
    /* Other bindings */
}

I am interested in HOW to declare the other bindings here.
Thanks for whatever help you can provide.

Hi there,
this really looks like a bug :(
I;ll have a look as soon as I can

But @SalomonBrys , could you please first confirm that this is the expected recipe in the jx approach?
val kodein = Kodein {
    import(jxInjectorModule)
    bind<FooInterface>() with singleton { jx.newInstance<FooImplementation>() }
    bind<BarInterface>() with singleton { jx.newInstance<BarImplementation>() }
}

Certainly looks correct...

That was indeed a bug on the JxInject part.
It happend especially when using this construct (having dependencies with transient dependencies, all created via jx.newInstance.
The fix will be deployed with version 4.1.
Please note that, while this will work in 4.1, this construct is very much discouraged as it uses a lot more reflection than the standard construct.
Please consider using the standard construct, using instance() for each transient dependencies as it is much more kotlin idiomatic and optimised.
bind<FooInterface>() with singleton { FooImplementation(instance(), instance()) }

Note that you can also make FooImplementation implement KodeinAware so that it can use delegation to get it's dependencies (rather than from its constructor).
bind<FooInterface>() with singleton { FooImplementation(kodein()) }

We are exploring possibilities and have, with Kodein, 3 branches (to assert what we like the most):

Kodein as the only parameter of all dependencies (then, private val Foo: IFoo = kodein.instance() inside)
Normal constructor parameters and using the bind<IFoo> with singleton { FooImpl(instance(), instance() ,instance() } at wiring time
Normal constructor parameters using the jx extension version

I think so far that option 2 is the most pragmatic and does not require reflection nor extensions.
FYI, we are also playing with:

Guice, which looks great in Scala with the way Play! wrapped it up, but looks horrible in Kotlin without any proper DSL. 😩
Spring, that supposedly has a nice Kotlin DSL (haven't tried yet)


Restructure Extension Installer guide

Description:
In [1], the section with instructions for downloading and installing extensions via the command line should be moved up because that is the recommended method.
[1] https://ei.docs.wso2.com/en/7.1.0/streaming-integrator/connectors/downloading-and-Installing-Siddhi-Extensions/
Affected Product Version:
EI 1.1.0

Addressed this via [1].
[1] https://github.com/wso2/docs-ei/pull/1942


Include the metadata in the package

Coverage remained the same at 84.75% when pulling 826785f66d1cf4a3850e8636350705ecaaa32ea5 on metadata_fix into 1df3f7f9f5e457c5bd418f8c216fde96e10f8d82 on master.


Still pointing to JFK files after changing all settings.

I have changed all JFK related settings in the AppConfig.cs and Config.cs files to point to our company's Search Service, Storage Containers, Blobs, etc., but I am still pointed to the JFK files. The only thing left unchanged are the Azure Web App instance and Azure Function instance. Am I missing something?

Did you make these changes after building and deploying the website?
As part of creating the website, we write several of the secrets to a file for the website doing a find and replace type write, meaning that once you do it for the first time, if you want to change any of the secrets, you must reset that file to its original state for the find and replace of the new secrets to work.  The file that you would have to reset before running the demo with different secrets would be the frontend/.env file.
Also, just as a sanity check, if you are trying to point the demo at a different set of files, you likely need to change the provided JFKFilesBlobStorageAccountConnectionString and JFKFilesBlobContainerName variables in the App.config file as well, which can be easy to miss.  And you mentioned replacing the secrets in the Config.cs for the Azure Functions, if you are looking to change those details, you will also need to redeploy the Azure Function, as we deploy it with the secrets for the resources deployed with the initial ARM template, and running the JfkInitializer does not redeploy the Azure Function itself.

Yes I made the changes after building and deploying the website. Instead of modifying the front/.env file, I opted to make a fresh state of the solution and put our settings in the AppConfig.cs and Config.cs files before building and deploying the website. It is working well now. Thanks for your advice.


Cleanup App Descriptor files for Darwin

Non-releasable Apps should not be included in the train.

This is addressed.


Upgraded CLI to 1.4.4 and stockChart is not valid type anymore

Hi, Just upgraded my angular (4.4.3) project to use angular/cli 1.4.4 and get the error stockChart is not a known chart type, I've had to roll back to 1.0.6 of the CLI before the error goes away. Not sure why the cli would break this but has anyone else come across this and found a solution?

After revisiting #176 I've managed to fix this issue using:
//File: shared.module.ts
import { ChartModule } from 'angular2-highcharts';
import { HighchartsStatic } from 'angular2-highcharts/dist/HighchartsService';
export function highchartsFactory() {
const hc = require('highcharts/highstock');
const dd = require('highcharts/modules/exporting');
dd(hc);
return hc;
}
//Section: Imports
imports:[ChartModule],
//Section: Providers
providers:[
{
provide: HighchartsStatic,
useFactory: highchartsFactory
}
]`


Overlay fixes

The overlay using super for package dependencies means it was getting them from some earlier stage in nixpkgs' bootstrap and caused a rebuild of all dependencies (bash/find/etc). Using self instead properly allows installing it with the usual versions of these from the nix cache.
Using callPackage really doesn't matter much but it seemed appropriate so I figured I'd include it.

Looks fine to me

Thanks! Squashed and rebased to master in 2c07829be2bcae55e04997b19719ff902a44016d.


How to update overlay ?

I need to update overlay data, hide and show overlay when tap

update the overlay by updating the controller using the copyWith method


transformPresentationInput mutates the input object

I've created this failing test to show where the problem is.
https://github.com/decentralized-identity/did-jwt-vc/commit/99b09bd0c9dde2e00d4998cff59f5ffeff684999
@mirceanis I eventually got around this problem, by not calling this method directly https://github.com/uport-project/daf/commit/df40d7e12750b7016c693f1a3f86c83bda4a0e89#diff-d76fa3686d6633d10d70955ec9a764daL98

nice catch.


Added example on how to scale Azure Pipelines

Hope the info is enough. I added also a blog post link

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

#label:"aq-pr-triaged"

Any progress on this? I think this example can benefit many users already trying to adopt.

@craigshoemaker for review. Thanks!

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

@craigshoemaker added you suggestions!

@craigshoemaker is this now fine? If yes can this be merged now?

@ktoliver @craigshoemaker worked on the requested changes. Can we merge it?

I'm going to merge this because the author's feedback was incorporated and it LGTM. Thanks, all.


Multicast ethernet mask issue

@Kmotiko ,
Multicast ethernet mask's first octet is copied to all other octets due to hard-coded index. Added unit test and updated the code for the proposed fix.
OxmEth Serialize() is fixed to output the correct mask for multicast Ethernet.
Pull request for review: #17
Please review it.

nice

I merged your pull request #17 @jediMunees :)
Thank you for your contribution.

Issue is fixed with pull request #17 . So closing this issue. Thanks everyone.


Translation to Latin Spanish!

Please release translations under your name, not going to put translated versions here (even Turkish).


[BUG] relocate() with any_of() does not order column names correctly

datar version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of datar and its backends.

Issue Description
When a column (in this case 'x2') is not present, relocate() with any_of() does not respect the order passed.
import datar.all as d
from datar import f
import pandas as pd

df = pd.DataFrame({'x1': [1], 'x4': [4], 'x3': [3]})

df >> d.relocate(d.any_of(['x1', 'x2', 'x3', 'x4']))
#>        x1      x4      x3
  <int64> <int64> <int64>
0       1       4       3

Expected Behavior
The new order should be 'x1', 'x3', 'x4'
Installed Versions

python      : 3.10.8 | packaged by conda-forge | (main, Nov 24 2022, 14:07:00) [MSC v.1916 64 bit (AMD64)]
datar       : 0.11.1
simplug     : 0.2.2
executing   : 1.2.0
pipda       : 0.11.0
datar-numpy : 0.1.0
numpy       : 1.23.5
datar-pandas: 0.2.0
pandas      : 1.5.2

Fixed by datar-pandas v0.2.1


Forge dependency to interact with the L1 and L2

Description
The scroll-tech/contracts npm library  is used to interact with the contracts on L1 and L2,  how can I use it with Foundry/forge instead of npm?

I think the following approach will work, install on the foundry foder the npm library
npm install @scroll-tech/contracts

and then edit the foundry. toml modifying the libs definition from:
libs = ["lib"]

to
libs = ["lib", "node_modules"]

If this is a valid approach, I'm going to close this issue.


Fixes unresponsive click events on touchscreen devices

fixes #34 removes touchstart since click is already capturing touch events to prevent issues with smartboards and touch screen devices which also have a mouse.

I thought there was a reason why I used touchstart instead of click, but I really can't remember. Since you seem to have tested this properly (as described in #34) I'm going to merge this. Thanks!


[release/3.1] Move to 3.1.100 rtm sdk

Is this repo included in the graph?

Is this repo included in the graph?

Actually, I don't think so.  Closing for now.


potential file name issue in output

21fe3766_dev.js:189 Uncaught Package not found @client/app.module
filename of import is app.module.ts
original code:
import<EMAIL_ADDRESS>

That happens when your server is running and you hit save in alpha, right?
That's a know issue, it doesn't change the paths

this issue occurs on load of the page without any changes.
its as if the @client alias is being used to look in the external node packages folder
I have a few aliases that use the @ symbol prefix

Can u repro it ?

I found the culprit:
import { AppModule } from<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
Sure, not ideal, but the behaviour is still incorrect

Maybe an error saying an import has been done twice in the same file... I'm surprised typescript/tslint hasn't complained

@jpike88 can you please confirm if the issue still occurs with<EMAIL_ADDRESS>Also see here for info on major changes

this one is fixed ;-) closing it


MIDDLEWARE PUBLISH doesn't prevent .emit()

Hi,
I am doing some checks to prevent a subscription in the publish-middleware (checking against firebase-admin sdk). Validations works and I did understand how to properly use "next()" and "next('error')" or "next(true)" for silent block. While I can see the logs and authentication works, a "emit" still works. How is this possible? I thought a next(err) should be enough?
Do I really need to add another EMIT Middleware for prevention?

I also do receive the warnings in console:

When I try to emit inside that browser, I can see that "watch" never gets called but on another device, I can see the messages enter. So I guess the only way to prevent illegal accessing is to add another security layer inside of emit, am I right?

@Hirbod MIDDLEWARE_PUBLISH and MIDDLEWARE_EMIT are completely separate lines (or at least they should be). So if you want to block emit, you should setup a separate MIDDLEWARE_EMIT. Note that you can add the same function to both middlewares.

Hi @jondubois yeah I will do this then.. But to be honest, IMHO, a blocked user from subscribe should not be emitting anything. Thats just another overhead, cause I have to do so much cryptography (validating JWT) in every single request now

It worked, feel free to close or leave it open if you like to discuss @jondubois

@Hirbod Sometimes you don't trust the clients, so you don't want to let them .publish() anything. In such setups the only one trusted publisher is your sc-based app. At the same time you still want to communicate with clients via .emit().

I see your point, its legit.


fixed a warning and made an obnoxious new branch

Fixed a single warning in initialization of material_struct

I don’t accept pull requests into master at the moment. Master is far behind development, and will likely be getting a major update in a week or so. I’ll accept a pull request into development though!


Use openwebf/quickjs fork instead

It has about 40% faster performance than default quickjs. https://github.com/openwebf/quickjs. I believe it could get even faster than Hermes if you used it instead. I tried myself to replace the current engine with that one but I see you have added JS_Interceptor and exposed some other APIs from quickjs source so it crashes on launch but I think it's worth trying.

That sounds great. I will look into it.


Test - 6165

Test PR for 6165 - do not merge

@david-thaler can you try the artifacts from this PR? you can find them at https://github.com/liquibase/liquibase/actions/runs/10301554374/artifacts/1790519383 .  This comes from the issue https://github.com/liquibase/liquibase/issues/6164 .


suggestWidget doesn't clean suggestion in case for triggerCharacters if this._completionModel.items.length === 0

suggestWidget trigger another completion request in case the character is a triggerCharacter. This is fine, but in case - this._completionModel.items.length === 0 this cause a race condition since the until the language server respond to the completion request the widget is potentially open with a stale data.  If the user hits enter it will accept the stale suggestion and override the triggerCharacter.
For example: the completion provider sets "(" as trigger character.
User writes
foo

suggestion widget shows foo as suggestion.
Now the user writes
foo( --->

another request is sent to the language server. The user hits enter before the language server respond to the completion request and the parenthesis is overwritten with the stale suggestion of "foo" leaving the editor in this state:
foo

I think here it should call cancel() in case this._completionModel.items.length === 0
that would have cleared the suggestion list (as expected) from the foo suggestion and would avoid the race condition.
monaco-editor version: 0.22.3
Browser:
OS:
Playground code that reproduces the issue:

Any chance for update on this one? I think it is potentially a pretty annoying bug for any LSP that wants to enable "(" as trigger character.


Undefined variable: context in in custom/plugins/RecentlyViewedProduct/src/Service/RecentlyViewedProductService.php (line 223)

Undefined variable: context in in custom/plugins/RecentlyViewedProduct/src/Service/RecentlyViewedProductService.php (line 223):
     $this->saveRecentProductCollection(new RecentProductCollection($availableIds), $context);
Hi, Looks like $context is not being  passed to cleanNotAvailableRecentProducts method.

HI @jamapag
Thanks for the contribution :) I will check and merge it soon


Automatically disable voice when cheaters are on your team

For now you can use this python script to generate a mute list. https://gist.github.com/wgetJane/0bc01bd46d7695362253c5a2fa49f2e9#file-ingame_mute_bots-py

Added to project Enhancements


WithErrorCode does not add code to ModelState

System Details

FluentValidation version: 8.3.0
FluentValidatorAttribute version: 8.3.0
Web Framework version: ASP.NET Core 2.2

Issue Description
Hi. First of all FluentValidation is a great tool.
I faced with the issue during Model validation. ModelState doesn't contain error code at all.
Deeply about the issue:
I have validator:
public InvitationEditModelValidator()
        {
            RuleFor(m => m.Email)
                .NotEmpty()
                    .WithMessage("Email cannot be empty")
                    .WithErrorCode("10106");
        }

and test for the validator passes fine. Means error contains ErrorCode:
 [Fact]
        public void Validate()
        {
            // Arrange
            var validator = new InvitationEditModelValidator();

            // Act
            var result = validator.Validate(new InvitationEditModel());

            // Assert
            Assert.Equal("10106", result.Errors[0].ErrorCode);
        }

But, I don't want to use the validator explicitly.
I want to validate all the models on the action call to not inject all the validators into controllers.
        [HttpPost]
        public async Task<IActionResult> Post([FromBody] InvitationEditModel model)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

To do this. I inject all the validators:
Services.AddFluentValidation(validator =>
      validator.RegisterValidatorsFromAssemblyContaining<UserEditModelValidator>())

the ModelState in the controller doesn't have any references to ErrorCode.
I have only error message in the model and response

Do you know how to add error code during implicit model validation?

Hi there. This is expected. The error code is a FluetValidation concept that ModelState doesn’t support. ModelState only knows about property name and error message, so there’s nowhere for FluentValidation to store the error code.

@JeremySkinner  Thanks. Got it.

What you could do though is use an Interceptor to rewrite the error message to include the status code prior to being copied to ModelState.


Provide iwa as a connector due to the STS changes

Is your suggestion related to an experience ? Please describe.
With https://github.com/wso2-extensions/identity-inbound-auth-sts/pull/94 we have provided the WS-Trust functionality as a connector and because of this some of the https://github.com/wso2-extensions/identity-carbon-auth-iwa required packages will only be visible when the WS-Trust connector is added. So if the iwa jars are added then we should also add the WS-Trust connector to it else it will not work.
Describe the improvement
We can provide this as a connector where the WS-Trust functionality will be added with the iwa connector which will be easier for user.
Related Issues
https://github.com/wso2/product-is/issues/8557

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


[Color Picker] Magnify area under cursor

On the color picker tool (WIN + Shift + C) please magnified area to show what is under the mouse cursor.
Similar to:
https://annystudio.com/software/colorpicker/

You can do this by using the scroll wheel on your mouse.

https://github.com/microsoft/PowerToys/wiki/ColorPicker-Overview#color-picker-usage

Awesome works great!


Using vcpkg gives compilation errors in Visual Studio 2015

I am trying to compile (by porting) some code in Windows 10 that was originally developed for Linux.
The code depends on 2 external libraries: cppkafka and librdkafka.
I saw that vcpkg is able to get the libraries, compile them, and then make them automatically available in Visual Studio 2015 (through the vcpkg integrate install command).
I see that the vcpkg compiles the dependencies for windows 64 (cppkafka and librdkafka) properly, as the .dll, .lib... are all made available on the install folder of vcpkg.
When I try compiling my code in Visual Studio 2015, I see errors concerning the dependencies headers, which for me is unexpected. If vcpkg compiled them, why Visual Studio doesn't? From the vcpkg documentation, I assume they use the same compiler. Next I show some example errors I am getting:
1>------ Build started: Project: AndreKafkaDriver, Configuration: Release x64 ------
1>C:\...\vcpkg\installed\x64-windows\include\librdkafka/rdkafka.h(64): error C2371: 'ssize_t': redefinition; different basic types
1>  C:\Siemens\Automation\WinCC_OA\3.16\api\include\winnt\win32.h(47): note: see declaration of 'ssize_t'
1>c:\...\vcpkg\installed\x64-windows\include\cppkafka\header_list.h(265): warning C4267: 'argument': conversion from 'size_t' to 'ssize_t', possible loss of data
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2065: 'queue1': undeclared identifier
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2065: 'queue2': undeclared identifier
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2065: 'mutex': undeclared identifier
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2275: 'std::mutex': illegal use of this type as an expression
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): note: see declaration of 'std::mutex'
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2182: 'swap_queues': illegal use of type 'void'
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2470: 'cppkafka::BufferedProducer<BufferType,Allocator>::swap_queues': looks like a function definition, but there is no parameter list; skipping apparent body
1>C:\...\vcpkg\installed\x64-windows\include\cppkafka/utils/buffered_producer.h(1035): error C2072: 'cppkafka::BufferedProducer<BufferType,Allocator>::swap_queues': initialization of a function
1>kafkaHWService.cxx(29): fatal error C1083: Cannot open include file: 'execinfo.h': No such file or directory
...

Thanks in advance,
Nerea

@Nemoon, thanks for reporting this issue!
Could you please provide us the repro steps and repro code?

Hello,
Fortunately, I was able to fix those errors regarding cppkafka library by changing the Visual Studio version from 2015 to 2017.
Thanks anyways! :)

Great, thanks for your updates!

It would be nice to know how one can use vcpkg to install dependencies (and have it compile them) using the vs2015 toolset (for example if I need to install boost, log4cxx, apr, and apr-util, cryptopp, etc (to name a few dependencies I might need).


Unclear licence

Hey. I'd love to use this data in the LVFS, but I need to clarify the licence -- and in return I can contribute back what I have. Ideally I'd like to make this available as CC0-1.0, i.e. BSD-like, but for data. A COPYING or LICENCE file in the project root would be great. e.g. https://creativecommons.org/share-your-work/public-domain/cc0/ -- thanks.

@hughsie done


RRateLimiter allows permits exceeding

During first permits aquisition call RRateLimiter allows to acquire permits more than defined in rate.

Fixed


Update create-a-phone-system-auto-attendant.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/4767
Added information to the NOTE section.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@kenwith PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Correction for raw affiliation LS3MN2E-ENSAM, faculty of sciences, Mohammed V University, Rabat

Correction needed for raw affiliation LS3MN2E-ENSAM, faculty of sciences, Mohammed V University, Rabat
raw_affiliation_name: LS3MN2E-ENSAM, faculty of sciences, Mohammed V University, Rabat
new_rors: 00r8w8f84
previous_rors: 00r8w8f84;018pp1107
works_examples: W4385980757
contact: 2030f5004c394f926227b2ee9ba8bd58:c22d4bffb861527aca4a8bce04 @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


refactor(perp): Prefer Int over Dec

Context
Many types that we have as decimals could be more easily represented with sdk.Int types.
Smaller PRs Breakdown
Please tag this issue. This ticket combines a bunch of smaller ones that were creating noise.

[ ] refactor(perp)!: Change AMM reserves to Int
[ ] refactor(perp)!: margin as Int
[ ] refactor(perp)!: notional as Int
[ ] refactor(perp)!: size as Int
[ ] refactor(perp)!: express pnl as Int
[ ] refactor(perp)!: fees as Int
[ ] #1481

What should be a sdk.Dec?

Cumulative Funding
Leverage

De-prioritized


Timeseries information on CanberraAir site is broken

Are you referring to the text on the left being occluded? The sizing is a bit off, now that the numbers are 4 digits.

No i'm referring to it going "10:00 AM ... :20 :30: 40 .. 11:00 AM" etc

Oh, that's google charts being a little too smart with its labeling scheme. It's technically correct, but looks very odd. Have to play around with the API a bit more.

AQI is rounded. Raw PM2.5 is not...


fix: add orgId for filters endpoint as well

[ ] Ready for review
[ ] Linked to Jira ticket

What does this PR do?
Where should the reviewer start?
How should this be manually tested?
Any background context you want to provide?
Screenshots
Additional questions

asked about testing, but is only manually tested and code-client is 🤞 not likely to survive long-term

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Reenable distributed-process

I don't understand why it was disabled. I haven't changed anything since then.

Very likely disabled due to a dependency not being GHC 8 compatible.


Create Plugin: Dynamic webpack publicPath

What this PR does / why we need it:
Historically the plugins publicPath has been hardcoded to public/plugins/<plugin_id>. This came with the assumption that we always want to load the plugin from that location however these days that isn't always true. Being able to build a plugin once and host it from anywhere makes it much easier for us to move plugins around in different environments without fear of causing loading errors.
To solve this we can take advantage of __webpack_public_path__ and amd magic modules so at runtime Grafana (which knows where the plugin is loading from courtesy of the backend) can pass that information into the plugin via module.uri.
To support backwards compatibility we additionally check that module exists and has a uri property otherwise we fallback to the original hardcoded value of public/plugins/<plugin_id>.
To do this without expecting plugin developers to make changes to source code I've opted to create the publicPath file in the webpack config directory and then use imports-loader to add it to the top of the imports list in module.tsx?. Due to hoisting this will make sure the webpack publicPath property is set before any other code executes.

Which issue(s) this PR fixes:

Related grafana/grafana-community-team/issues/133
Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>

This is neat! Is the backend code that sets module.uri already in place?

Sorry I should have been a bit more clear on how all this comes together...

The backend sets module here which is passed to the frontend via frontendSettings/bootData. The frontend uses this like System.import(plugin.module).
This SystemJS PR introduced support for setting module.uri in its AMD extra. Here it's using the _context.meta.url which is resolved from plugin.module by systemjs and then setting it as module.uri. This was released in<EMAIL_ADDRESS>and bumped in this PR. This is already available in core and will be released in G11.1
This Grafana PR introduces the "magic modules" to the fe sandbox loader so we will have compatibility there as well.

graph TD
    subgraph Backend
        A[Set module in factory.go] -->|Pass to frontend| B[frontendSettings/bootData]
    end

    subgraph Frontend
        B --> C{Is Sandbox feature flag enabled?}
        C -->|No| D["System.import(plugin.module)"]
        D --> E[Resolve module.uri via SystemJS AMD extra]

        C -->|Yes| F[Sandbox AMD loader]
        F --> G[Resolve module.uri via Sandbox AMD define]
    end

So to take full advantage of this dynamic path setting we need to get that grafana/grafana PR merged for the sandbox. But
we're using the ternary so if the plugin is loaded in a version of Grafana where module is not available the publicPath will fall back to the original value. Given the e2e tests in this repo run against a scaffolded plugin using G10.3 I'm pretty confident this is working as expected.

Sorry I should have been a bit more clear on how all this comes together...

The backend sets module here which is passed to the frontend via frontendSettings/bootData. The frontend uses this like System.import(plugin.module).
This SystemJS PR introduced support for setting module.uri in its AMD extra. Here it's using the _context.meta.url which is resolved from plugin.module by systemjs and then setting it as module.uri. This was released in<EMAIL_ADDRESS>and bumped in this PR. This is already available in core and will be released in G11.1
This Grafana PR introduces the "magic modules" to the fe sandbox loader so we will have compatibility there as well.

graph TD
    subgraph Backend
        A[Set module in factory.go] -->|Pass to frontend| B[frontendSettings/bootData]
    end

    subgraph Frontend
        B --> C{Is Sandbox feature flag enabled?}
        C -->|No| D["System.import(plugin.module)"]
        D --> E[Resolve module.uri via SystemJS AMD extra]

        C -->|Yes| F[Sandbox AMD loader]
        F --> G[Resolve module.uri via Sandbox AMD define]
    end

So to take full advantage of this dynamic path setting we need to get that grafana/grafana PR merged for the sandbox. But we're using the ternary so if the plugin is loaded in a version of Grafana where module or module.uri is not available the publicPath will fall back to the original value. Given the e2e tests in this repo run against a scaffolded plugin using G10.3 I'm pretty confident this is working as expected.

Thanks for detailed explanation @jackw. Great work on this!


Fix navigation

The page rendering between Playlist (lastfm/topsongs/user) is bad or should be as smooth as switching between other sections..
Create separate Playlist sections for the Playlist in the theme.  Maybe We can use vue templates

...using a simple server side template generation with caching function

in progress in feature/navigation

fixed in v3.0


Which version of rabbitMQ server is used for this Plugin?

Hi,
I am currently working on RabbitMQ , looking for plugin which able to persist messages in mongoDB
before sending to queue, seems like your plugin does so,
So when I tried to used it in RabbbitMQ server 3.6.11 ,I didn't found your plugin in plugin list.
Is there any PR to support Current version RabbitMQ server?
looking forward to your reply.
Thanks and reagards
Indrani

Hi,
I haven't touched this for a while. I just pushed new branch - https://github.com/deadtrickster/rabbitmq_logs_exchange/tree/rabbitmq_v3_6_11. Try make run-broker.
Hope this will work for you. Unfortunately I can't provide further assistance on this repo.
Please let me know the result though.

Thank you for fast reply back , Let me try  your new branch, I have just a basic question ,since its a rabbitMQ plugins ,I should follow the same steps to create a dist out of it  using new branch.

That command, make run-broker will compile and assemble ez archives and also run rabbitmq instance so you can test. There are other targets like dist and so on.

Tried with make run-broker command get error:
IndraniS@PUNLP-INDRANIS MINGW64 ~/Downloads/rabbitmq_logs_exchange-rabbitmq_v3_6_11
$ make run-broker
*erlang.mk:26: Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html
File not found - .proto
FIND: Parameter format not correct
make: *** No rule to make target `run-broker'.  Stop.
I will install make 4, just to confirm have to use make run-broker command on the
/rabbitmq_logs_exchange-rabbitmq_v3_6_11/
where to run make run-broker command?


[BEAM-7467] Add dependency classifier to published pom

Previously, gradle dependency classifier is not picked up when publishing maven pom files. This PR fixes it.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @lukecwik

Guess this failure is not related ?
02:45:26 FAILURE: Build failed with an exception.
02:45:26
02:45:26 * What went wrong:
02:45:26 Execution failed for task ':sdks:python:test-suites:portable:py35:portableWordCountBatch'.
02:45:26 > Process 'command 'sh'' finished with non-zero exit value 1

Run Portable_Python PreCommit

Run Portable_Python PreCommit

Yeah, I guess Gearpump is also the only project built with SBT where shading and publising is not as fluent as in Maven.


Provide a better mechanism to refresh the Canvas component

Describe the Bug
When opening the Design pane in kaoto-next, there's a flash in the Canvas component.
Steps to Reproduce the Bug or Issue

Go to the Design pane
Notice the flash when loading the Canvas component for the first time

Screenshots or Videos
Screencast from 2023-09-12 12-46-37.webm
Platform

OS: [Linux]
Browser: [Firefox]

Fixed in https://github.com/KaotoIO/kaoto-next/pull/130


HTTP client builds the wrong request

Laravel Version: 9.51.0
PHP Version: 8.2.0
Database Driver & Version: Mysql

Description:
Steps To Reproduce:
I think there is a bug in the HTTP client because that fills the request body by default at line Illuminate/Http/Client/PendingRequest.php:727 as following
public function post(string $url, $data = [])
    {
        return $this->send('POST', $url, [
            $this->bodyFormat => $data,
        ]);
    }

this causes some errors in some matters. for example, at the last work, I try Paypal REST API to generate client tokens  by the following request and received the 400:
        Http::withHeaders(['Accept-Language' => 'en_US'])
            ->withToken($this->generateAccessToken())
            ->asJson()
            ->post($this->requestEndpoint().'/v1/identity/generate-token')

But when I sent the request by CURL I catch that is working:
curl -X POST https://api-m.sandbox.paypal.com/v1/identity/generate-token -H 'Content-Type: application/json' -H 'Authorization: Bearer A21AAJVJOCjtuu-dZZQEDwDo-b4BA3CeNiyV47jMDvz8tNjP37eFOyqqV7b5st0W6A1BQfKBmgbf4MKzpALWPh7w6AqgWqAMg' -H 'Accept-Language: en_US'

after debugging, I found that the HTTP client fills the request body with an empty array by default which causes the wrong response.
I solved this by the following solution:
Http::withHeaders(['Accept-Language' => 'en_US'])
            ->withToken($this->generateAccessToken())
            ->asJson()
            ->send('POST', $this->requestEndpoint().'/v1/identity/generate-token');

I think the solution like
empty($data) ? [] : [
    $this->bodyFormat => $data,
]

that is used in delete method in here: https://github.com/laravel/framework/blob/9.x/src/Illuminate/Http/Client/PendingRequest.php#L767-L772
is useful for other methods like post or put.

Given the failing tests from the above PR, I think this is working as intended. If you believe this needs to be changed, feel free to attempt a PR with passing tests 👍


Add a step for setting up recaptcha.

This helps to make sure first-time setups will also setup recaptcha before visiting the app.  Otherwise, user will see an error screen.

This change is

👍


watcher.Errors channel spamming  events (kqueue, OSX)

Howdy,
I'm implementing a very simple file watcher, almost identical to the example given in the repo. However immediately upon running I get spammed with incessant <nil> errors from the watcher.Errors channel.
Beyond the root cause it's puzzling to me that this could happen, since I checked the source and you guys do the standard if err != nil check for any place you send an error over the wire
Code:
func (dr *DiskRecieve) Run() error {
	watcher, err := fsnotify.NewWatcher()
	if err != nil {
		log.Fatal(err)
	}
	defer watcher.Close()
	fmt.Printf("monitor dir: %s \n", dr.monitorDir)
	go func() {
		for {
			select {
			case event := <-watcher.Events:
				if event.Op&fsnotify.Write == fsnotify.Write { // We only want write events, correct?
					log.Println("new write file event:", event.Name)
					dr.wd.Acquire()
					go dr.processEvent(event)
				}
			case err := <-watcher.Errors:
				log.Println("file watcher error:", err)
			}
		}
	}()

	err = watcher.Add(dr.monitorDir)
	if err != nil {
		log.Fatal(err)
	}
	return err
}

Output:
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
2015/02/11 18:37:50 file watcher error: <nil>
...

Wow, that is odd.
What is your import path and is fsnotify the very latest version?

import (
	"bufio"
	"fmt"
	"gopkg.in/fsnotify.v1"
	"log"
	"os"
)

go-get'd just a couple hours before I made the issue

That would happen when the goroutine dies. Sounds bad.

Thinking about it now, you're only getting stuff from Errors, so Events is still open.
I'd take a look at the code, but I won't see a computer until tonight.

Oh. I got it. It's in your code. You create the watcher, defer close, and wait for stuff in a goroutine... But then you return from the function that has the defer close.
A question might be, is the events channel being properly closed by the goroutine?

@pbdeuchler It's this line right here:
defer watcher.Close()

Nothing in Run() is blocking. When it returns we close down the channels, and closed channels always receive the zero value (which is nil for interfaces like error).
You probably want to define a separate func (dr *DiskRecieve) Stop() error function to call Close later on in your program execution.

event.Op&fsnotify.Write == fsnotify.Write will never succeed when Events is returning a zero-value Event struct.

@PieterD I like how we both saw the issue at the exact same time. :smile:

Hah! Sweet. I was in the train on my phone, so I had a few minutes.
By the wat, watcher.isClosed is racey in almost every case.

Ah that's how the events chan wasn't reporting. Duh. Thanks :D

Oh man... Facepalming pretty hard over here. Thanks for the help guys!

Happens to everyone. Good luck :)


Update MD file on new branch 2017-11-09_17-27-40

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Documentation and code not lining up.

from https://microsoft.github.io/autogen/docs/Use-Cases/agent_chat
from autogen import AssistantAgent, UserProxyAgent

# create an AssistantAgent instance named "assistant"
assistant = AssistantAgent(name="assistant")

# create a UserProxyAgent instance named "user_proxy"
user_proxy = UserProxyAgent(name="user_proxy")

So installed autogen newish release. and rain the above code. This is the result

pip install autogen==1.0.14
Collecting autogen==1.0.14
  Using cached autogen-1.0.14-py3-none-any.whl (30 kB)
Requirement already satisfied: setuptools in /home/chris/anaconda3/envs/autogen/lib/python3.11/site-packages (from autogen==1.0.14) (68.2.2)
Requirement already satisfied: docopt in /home/chris/anaconda3/envs/autogen/lib/python3.11/site-packages (from autogen==1.0.14) (0.6.2)
Requirement already satisfied: PyYAML in /home/chris/anaconda3/envs/autogen/lib/python3.11/site-packages (from autogen==1.0.14) (6.0.1)
Requirement already satisfied: autopep8 in /home/chris/anaconda3/envs/autogen/lib/python3.11/site-packages (from autogen==1.0.14) (2.0.4)
Requirement already satisfied: pycodestyle>=2.10.0 in /home/chris/anaconda3/envs/autogen/lib/python3.11/site-packages (from autopep8->autogen==1.0.14) (2.11.1)
Installing collected packages: autogen
  Attempting uninstall: autogen
    Found existing installation: autogen 1.0.1
    Uninstalling autogen-1.0.1:
      Successfully uninstalled autogen-1.0.1
Successfully installed autogen-1.0.14

starting python
(autogen) chris@FORGE:~/ai/aiprojects/ollama/autogen$ python
Python 3.11.3 | packaged by conda-forge | (main, Apr  6 2023, 08:57:19) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

first line from docs fails
>>> from autogen import AssistantAgent, UserProxyAgent
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'AssistantAgent' from 'autogen' (/home/chris/anaconda3/envs/autogen/lib/python3.11/site-packages/autogen/__init__.py)
>>>
>>> # create an AssistantAgent instance named "assistant"
>>> assistant = AssistantAgent(name="assistant")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'AssistantAgent' is not defined
>>>
>>> # create a UserProxyAgent instance named "user_proxy"
>>> user_proxy = UserProxyAgent(name="user_proxy")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'UserProxyAgent' is not defined
>>>

Please install pyautogen instead of autogen.

same result

pyautogen and autogen are two different packages. Please use pyautogen which is the right one for this project.

Thanks. That got me further. Seems like the whole system is slow, and code generated from llm is showing in litellm but not actually making its way to disk.  Documented in more detail https://github.com/jmorganca/ollama/issues/1277

@sonichi I have autogen uninstalled and pyautogen reinstalled. I tried to construct the agent in the autogen  notebook called: Automated Task Solving with Coding & Planning Agents
using the given code:
planner = autogen.AssistantAgent(
name="planner",
llm_config={"config_list": config_list},
# the default system message of the AssistantAgent is overwritten here
system_message="You are a helpful AI assistant. You suggest coding and reasoning steps for another AI assistant to accomplish a task. Do not suggest concrete code. For any action beyond writing code or reasoning, convert it to a step that can be implemented by writing code. For example, browsing the web can be implemented by writing code that reads and prints the content of a web page. Finally, inspect the execution result. If the plan is not good, suggest a better plan. If the execution is wrong, analyze the error and suggest a fix."
)
planner_user = autogen.UserProxyAgent(
name="planner_user",
max_consecutive_auto_reply=0,  # terminate without auto-reply
human_input_mode="NEVER",
)
def ask_planner(message):
planner_user.initiate_chat(planner, message=message)
# return the last message received from the planner
return planner_user.last_message()["content"]
But this error occurs:

NameError                                 Traceback (most recent call last)

 in <cell line: 1>()
----> 1 planner = autogen.AssistantAgent(
2     name="planner",
3     llm_config={"config_list": config_list},
4     # the default system message of the AssistantAgent is overwritten here
5     system_message="You are a helpful AI assistant. You suggest coding and reasoning steps for another AI assistant to accomplish a task. Do not suggest concrete code. For any action beyond writing code or reasoning, convert it to a step that can be implemented by writing code. For example, browsing the web can be implemented by writing code that reads and prints the content of a web page. Finally, inspect the execution result. If the plan is not good, suggest a better plan. If the execution is wrong, analyze the error and suggest a fix."
NameError: name 'autogen' is not defined
--
Do you know why this error is taking place?

did you "import autogen"?

@sonichi yes I imported autogen and the error occurs, so I uninstalled it and then installed pyautogen, when I have either or both of these installed the same error occurs. I am using Google Colab


Vishag profile 1

Adding profile page

Looks good, however, the layout is off. Do you want me to fix it or will you?


能否在顶部加上一个全部关闭的按钮

类似这种的全部关闭

Discussions in this repo should use English.
This library tries to emulate Visual Studio, which does not have such a feature. So, not likely this will be worked on.

Discussions in this repo should use English.
You might check out the sample project, which demonstrates how to achieve this via context menu on each document tab.

Sorry, my English is not good

Discussions in this repo should use English.
You might check out the sample project, which demonstrates how to achieve this via context menu on each document tab.

Thanks for your response.


[xas_viewer] current group highlight does not stay persistent

@newville I have observed an annoying behavior on xas_viewer (master on Linux) that seems a bug to me:

click on a group -> it gets highlighted in the left panel
push the plot button -> the highlight disappears

Can you reproduce this misbehavior from your side?

@maurov I do see that the "current group" loses its color on Linux... will investigate, but it might be an underlying widget problem....

@maurov I think this is now fixed -- at least for me on one Linux system ;).  Some wx GUI stuff is just weird!

@newville thanks for fixing it. I confirm now it works as expected.

@newville I reopen this issue because this bug shows again in the latest version in master.

@maurov  I see this as not being very consistent -- sometimes the current group is highlighted and sometimes not.  I'm not seeing much of a pattern to that.

@newville I confirm this misbehavior is persistent under Ubuntu 20.04, the Linux OS of choice here at ESRF and rather common Linux OS worldwide. I have the feeling that, since conda is built under CentOS Linux, there is a serious issue having wxPython correctly working under Ubuntu Linux.

@maurov Yeah, I see this on Fedora 30-something too.  I think it worse than "built on CentOS, run on Ubuntu".  I think that the  "keep focus color" on those windows is just being lost when you click on another window, and that it is something at the level of how wx interacts with Gtk.

@maurov I think this might actually be better now.  I am more aggressively moving "Focus" back to the List of Files after each plot.  For me on Fedora 34, this seems much better.
I'm running a few more tests, but hoping to tag and release 0.9.63 later today or tomorrow...


Deadlock extracting

url: https://omnieq.com
justtext lib seems to deadlock
res = trafilatura.bare_extraction(text, include_comments=False)
File "/usr/local/lib/python3.8/dist-packages/trafilatura/core.py", line 854, in bare_extraction
postbody, temp_text, len_text = compare_extraction(cleaned_tree_backup, tree_backup_1, url, postbody, temp_text, len_text, target_language, favor_precision, favor_recall, include_formatting, include_links, include_images, include_tables, config)
File "/usr/local/lib/python3.8/dist-packages/trafilatura/core.py", line 637, in compare_extraction
body2, text2, len_text2, jt_result = justext_rescue(tree, url, target_language, body, 0, '')
File "/usr/local/lib/python3.8/dist-packages/trafilatura/external.py", line 86, in justext_rescue
temppost_algo = try_justext(tree, url, target_language)
File "/usr/local/lib/python3.8/dist-packages/trafilatura/external.py", line 71, in try_justext
paragraphs = custom_justext(tree, justext_stoplist)
File "/usr/local/lib/python3.8/dist-packages/trafilatura/external.py", line 57, in custom_justext
revise_paragraph_classification(paragraphs, 200)
File "/usr/local/lib/python3.8/dist-packages/justext/core.py", line 333, in revise_paragraph_classification
prev_neighbour = get_prev_neighbour(i, paragraphs, ignore_neargood=True)
File "/usr/local/lib/python3.8/dist-packages/justext/core.py", line 295, in get_prev_neighbour
return _get_neighbour(i, paragraphs, ignore_neargood, -1, -1)
File "/usr/local/lib/python3.8/dist-packages/justext/core.py", line 280, in _get_neighbour
i += inc

Hi @vprelovac, thanks, this is a bug indeed.
On the command-line it is caught by the time limit exception Trafilatura uses on all webpages, so my part would be to apply this time limit to the Python extraction. For the bug in JusText let's see how the thread above evolves.


ML.net fail to run on Mac Apple M2 Pro x64

System Information (please complete the following information):

Model Builder or CLI Version:  ML.net 16.18.2
Visual Studio Version (if applicable):

Describe the bug

On which page of the tutorial did you run into an issue (URL): https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/install
Clear description of the problem: i get an error saying mlnet-osx-x64 assembly could not be loaded.

$mlnet
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'mlnet-osx-x64, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
[1]    8066 abort      mlnet
To Reproduce
Steps to reproduce the behavior:

Go to the tutorial for Mac OS: https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/install
Follow the instruction and choose to install for x64
$dotnet tool install -g mlnet-osx-x64
You should get a success response after installation
Close the terminal and reopen it again
try and run mlnet by tying "mlnet" in the terminal

I get this error

Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'mlnet-osx-x64, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
[1]    8066 abort      mlnet

Expected behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
First time using dotnet tool on this new macbook

Install mlnet-osx-arm64 if you are using m2 chip


loop->walk example doesn't compile

Attempting to do:
loop->walk([](auto &&h){ h.close(); });

as per the README fails to compile because the default case in Loop::walk invokes the callback with the uv_handle_t*, and so:
../external/uvw/src/uvw/loop.h:326:19:   required from ‘void uvw::Loop::walk(Func) [with Func = llarp::uv::Loop::stop()::<lambda(auto:44&&)>]’
../llarp/ev/ev_libuv.cpp:173:57:   required from here
../llarp/ev/ev_libuv.cpp:173:47: error: request for member ‘close’ in ‘handle’, which is of pointer type ‘uv_handle_s*’ (maybe you meant to use ‘->’ ?)
  173 |       m_Impl->walk([](auto&& handle) { handle.close(); });
      |                                        ~~~~~~~^~~~~

I can work around it with something like if constexpr (!std::is_pointer_v<std::remove_reference_t<decltype(h)>>) h.close();, but perhaps that fallback case should wrap in a generic uvw::Handle argument instead of passing the bare pointer?

uvwHandleis an intermediary class template, so we can't really use it here. However, the default case is only for when nouvw::*Handleclass is attached to the underlying handle. In what case is it returning auv_handle_texactly? Is it something not managed byuvw` itself?

It isn't actually making it into that code path, but because of the default: case it needs to compile for it anyway.


No documentation on attaching debugger?

How does one attach a local debugger (VS2019) to a remote ASP.NET Core WebApp (Linux) ?

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

ID: ef9002ed-c817-c615-fe32-05ad4cc78b61
Version Independent ID: 72295255-8d90-a2c6-0995-0e1208fcdcab
Content: Run code on default Linux containers - Azure App Service
Content Source: articles/app-service/containers/app-service-linux-intro.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@SidShetye , Thanks for reaching out to us. We will investigate it further and update you shortly.

Hello @SidShetye ,
Apologies for the delay here.
Currently Remote debugging is not supported for Linux OS.
I have tried to repro the scenario and this is what it says in the portal "Your Selected Runtime Stack does not currently Support Remote Debugging"
Please see the screenshot below:

I hope this information helps. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

"Remote debugging is not supported for Linux OS."
Where in the docs is this limitation reflected?
Here are some pages where this limitation is NOT reflected:

"Java Web Apps with Visual Studio Code"
https://code.visualstudio.com/docs/java/java-webapp#_run-and-debug-the-application
Debugging
https://code.visualstudio.com/docs/editor/debugging#_platformspecific-properties
states: "Valid operating properties are "windows" for Windows, "linux" for Linux and "osx" for macOS."
"Debugger for Java"
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug
"Running and debugging Java"
https://code.visualstudio.com/docs/java/java-debugging#_configuration-options
I wasted a lot of time on this. Can we please do better for others?
Please re-open this thread pending documentation changes (or fix). @MonikaReddy-MSFT

Why is this not mentioned in the documentation, or if it is, please point where. Nasty surprise in setting up everything, and only at that point finding out this limitation.

Same here, are there any plans to have debugging for Linux anytime soon?

Same here, are there any plans to have debugging for Linux anytime soon?

This is an extremely depressing post to find, it should REALLY be documented somewhere, or you could show a little disclaimer when selecting Linux OS

Please re-open pending documentation clarification. Thank you.

This is absolutely atrocious! Here we are 42 months later and we've just run into this problem.


DID method operations for did prism: Create/Publish

See https://github.com/roots-id/rootswallet/wiki/Roots-Wallet-Implementation-Proposal#layer-1-utilities-and-ledger-interface

We will only need prism did create (at least for our first release), the issuer/verifier role will be covered by WAL

thank you WAL :)

We have successfully created and published a DID as well as a credential, in this demo.
https://github.com/roots-id/rootschat/commit/d5a7be5d9d1b3550ed97abdd68120093fc496acb
It uses Wal-lib.


CMWP-1870 addressing misspellings and Gogland warnings.

What Are We Doing Here
There were a few misspellings and warnings my IDE identified. Just cleaning those issues up.
How to Verify

Check out this PR
Run Command X, Click Button Y
Profit

This code is not currently signed off on and can not be merged.


APIgateway performance testing for container's east-west communication

Creating this issue to make changes to the api/openapi.yaml and database/load.json file to include the prefix /eatl to the path to facilitate the east-west communication via APIgateway.
api/openapi.yaml :
Included the prefix /eatl to each path of the basic and individual service
Removed the ipv-4 pattern string to support domain name temporarily
database/load.json :
Included the prefix /eatl for all operation-name in operation servers
Included the prefix /ro for all RegistryOffice operation-name
Included the prefix /tar for all TypeApproval operation-name
Modified the ipv-4-address, port of ro,tar,eatl to "mwkibana.testmob.de" ,"80"
index.js :
Including the following code to the swagger router will help in hosting the swagger GUI and api file to /eatl/docs /eatl/api-docs
swaggerUI : {
        swaggerUIPath: '/eatl/docs',
        apiDocsPath: '/eatl/api-docs'
    }

This issue was created to document the changes required in the OAS , load and server side to include a APIGateway in the architecture.
This is a child issue for the https://github.com/openBackhaul/ApplicationPattern/issues/241. In that issue https://github.com/openBackhaul/ApplicationPattern/issues/241 , among the 3 proposals , we opted to go with the "Script to replace fake IPs with actual during docker image creation" , so , closing this current issue.


Model setup documentation for JOSS

This PR adds model setup documentation describing all the possible options the user has when setting up a model.
Right now it's still a mega-page work-in-progress but the more useful parts will describe how to set up different kinds of boundary conditions with several examples, how diagnostics work and how flexible they are, and also output writers including finally a little guide on how to checkpoint and restore from a checkpoint.
I think this PR is the last piece of work we agreed is needed before a JOSS submission.

Awesome, just got a couple more commits incoming then I'll merge.
Yeah I want to split this up into multiple pages and reorganize the documentation in general.


fix(tables): table column in responsive mode to have a min height

This is for fixing #267 - Added min height for the td in responsive mode. this prevents labels from  overlapping and shows empty cells instead.
The min height is same as the line-height used.
Before Fix:

empty cells cause column headers to overlap

_with all cells empty in a row_
After Fix:

_empty cells have min-height (and display as empty blocks) to prevent overlapping of column headers_

_with all cells empty in a row_
Closes #267

@sambhav-gore I'm seeing a small movement of the row when I remove or add content. Changing the min-height to 2.4 (same as the line height) seems to fix it.

@gabrielhl ok I will change it. Thanks fir checking.

@sambhav-gore I already pushed a change, hope that's OK

@gabrielhl I see u have commited it already. Thanks.

:+1:


Basis.get_rotation_quat() throws error saying I should use get_rotation_quat()

Godot version
v3.3.2.stable.official
System information
Windows 10, GLES3
Issue description
I'm procedurally animating a 3D rig through code, for which I use skeleton.get_bone_pose(index).basis.get_rotation_quat() all over the place. However, this line throws the following error:
E 0:00:03.352   get_quat: Basis must be normalized in order to be casted to a Quaternion. Use get_rotation_quat() or call orthonormalized() instead.   <C++ Error>   Condition "!is_rotation()" is true. Returned: Quat()   <C++ Source>  core/math/basis.cpp:791 @ get_quat()   <Stack Trace> :91 @ update_rotation()                 :111 @ update_child_rotations()                 :106 @ update_rotation()                 :111 @ update_child_rotations()                 smooth_rig.gd:55 @ _physics_process()
Changing my line to skeleton.get_bone_pose(index).basis.orthonormalized().get_rotation_quat() doesn't fix the error, and I'm clearly already using get_rotation_quat() as advised by the error.
Steps to reproduce
Import a 3D rig and add a script containing the line var rotation_quat = $Skeleton.get_bone_pose(0).basis.get_rotation_quat().
Minimal reproduction project
N/A

@robertzzz Please upload a minimal reproduction project to make this easier to troubleshoot.

@Calinou I'm working on a closed project, so I can't share the rig unfortunately. Would've attached one otherwise.

This expression is returning false with the basis:
bool Basis::is_rotation() const {
	return Math::is_equal_approx(determinant(), 1, (real_t)UNIT_EPSILON) && is_orthogonal();
}

If you examine the basis, you can work out what is going wrong. If you are not sure, post the contents of one of the basis that are failing and someone can take a look.

@lawnjelly get_rotation_quat() shouldn't throw any errors according to the error I'm getting (it explicitly mentions I should use that), but it does. That's what this bug report is about.

As I say, post the basis then we can take a look.
It is probably something that can't be normalized, like 0, 0, 0 on an axis. i.e. the basis is probably invalid. You can't do anything to such a basis to make it valid.

I'm not trying to get an error on my end fixed, I added this bug report because the thrown error makes no sense. It's a bug in the engine's error handling

I have also encountered this error, with the basis ((-1, 0, 1), (0, -1, 0), (0, 0, 0)).
I think that if is_rotation() is false when get_rotation_quat() is called, there should be an error message printing the basis and explaining why this basis is an invalid rotation.
The current error message is confusing and unhelpful because the suggested solution does not make sense.

I have also encountered this error, with the basis ((-1, 0, 1), (0, -1, 0), (0, 0, 0)).

I can confirm this on 3.3.3 with the following script:
extends Node

func _ready():
	var basis = Basis(Vector3(-1, 0, 1), Vector3(0, -1, 0), Vector3(0, 0, 0))
	print(basis)
	print(basis.get_rotation_quat())
	print(basis.orthonormalized().get_rotation_quat())


Creating comment failed: Error: No matching file found

I get this error when adding a comment.

Reliable repro steps:

Expand a pull request and open a file
Collapse the pull request
Click the button on the tree to refresh the pull request view
In the still open file, try to add a comment


Move bandit to dev-requirements.txt

Codecov Report

Merging #177 (85ebe31) into master (22394a6) will decrease coverage by 0.56%.
The diff coverage is n/a.

:exclamation: Current head 85ebe31 differs from pull request most recent head 5e971db. Consider uploading reports for the commit 5e971db to get more accurate results

@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
- Coverage   92.70%   92.13%   -0.57%
==========================================
  Files           6        6
  Lines        2672     2493     -179
==========================================
- Hits         2477     2297     -180
- Misses        195      196       +1

Impacted Files
Coverage Δ

pyodata/v2/model.py
92.69% <0.00%> (-0.72%)
:arrow_down:

pyodata/v2/service.py
90.37% <0.00%> (-0.29%)
:arrow_down:

Continue to review full report at Codecov.

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


fix: CPATH variable fix

Description

/intelci: run

@maria-Petrova  - if we would like to integrate it - probably worth validation via self-service prior to drop

What's reason for change? Please add description

/intelci: run


Fix usage of the A9S Store types instead of the TextAnnotationStore ones

Issue
When I was working on my custom plugin, I was following the TEIPlugin. And then I stumbled on a seemingly redundant coercion of the store:
https://github.com/recogito/text-annotator-js/blob/018eb1eda9a7590c9ff4c232a9ba4f0660c74ff4/packages/extension-tei/src/TEIPlugin.ts#L46-L54
When I dug deeper I found a weird Typescript behavior difference between the type and interface definitions on re-assigning their properties...

Moreover, after I replaced type TextAnnotatorState = ... with the interface TextAnnotatorState extends AnnotatorState<TextAnnotation> { - the TEIPlugin started to work w/o any coercions! 🪄 ✨ 🦄

Possible Solutions
Replace the:
export type TextAnnotatorState = AnnotatorState<TextAnnotation> & {
}

with the:
export interface TextAnnotatorState extends AnnotatorState<TextAnnotation> {
}

One of those moments where I think I will never understand TS... But, yes, looks good - thanks for figuring that out. (One lives and learns :-)

I'm also extremely surprised by such a sneaky difference 👀
Haven't seen it before and initially thought that it might be some older TS version bug. But no - we're using the latest TS already...

Gosh... This is not the end...


onmessage handler does not dispatch events for custom event types

Custom event types do not trigger onmessage handler
The issue is quite simple. If your backend sends a SSE-Event with a custom type, this type will be overwriten and you have to add an event-handler for this event.
But I think this is a bit missleading, because the default interface "only" supports a onmessage handler.
I would propose to also forward all events to this handler, so that developers then can check for event.type in a generalized implementation by themselves.
If this proposal would be fine, I would open a PR with this implementation and link this issue here.

I don't disagree, but unfortunately I think this would go against the EventSource specification. The type of the event being fired is meant to be defined by the SSE event type, defaulting to message if not set. You need to use addEventListener('my_event_type', ...) to handle custom event types.

I don't disagree, but unfortunately I think this would go against the EventSource specification. The type of the event being fired is meant to be defined by the SSE event type, defaulting to message if not set. You need to use addEventListener('my_event_type', ...) to handle custom event types.

Thanks for the reply.
Then I will leave it as is. I already did it the way you described, but I figured, it would be a confinience feature ^^
Will close this discussion.

I agree, I'm thinking about what's the best way to enable this. Maybe allowing for registering an event listener that gets all events, regardless of event type. It would help for use cases like https://github.com/mpetazzoni/sse.js/issues/61 for example.


I can't find console here

    "react": "^16.8.6", "@storybook/addon-actions": "^5.0.10",     "@storybook/addon-console": "^1.1.0",     "@storybook/addon-info": "^5.0.10",     "@storybook/addon-links": "^5.0.10",     "@storybook/addon-storysource": "^5.0.10",     "@storybook/addon-viewport": "^5.0.10",     "@storybook/addons": "^5.0.10",     "@storybook/react": "^5.0.10",     "@types/storybook__react": "^4.0.1",
.storybook/config.js
import '@storybook/addon-console';

@PlutoCA Check the readme. it states that the import is added to config.js instead of addons.js. That was the mistake in my case that the console logs didn't run up.

answered in #12


Does it discover seeds continuasly?

Hey, I saw you switched peer-discovery.js with this module in torrent-stream.
I had a fork of torrent-stream that used a method for a not-so-common occurrence in which a poorly seeded torrent gets all the seeds blacklisted by peer-wire-swarm for various reasons until none are left.
The only solution I found for this was to create a method that forces reconnecting to all known peers and also restarts the peer discovery in peer-discovery.js. Restarting peer discovery was important too as from various tests it proved that peer-discovery.js stopped searching for new peers for some reason, and in poorly seeded torrents and new torrents (in which seeds may be few but their numbers increase fast), rediscovery of peers is a must.
I'm curious if restarting peer discovery would still be needed with torrent-discovery or not.

If it was required before, I would guess that it's still required now. The code in torrent-discovery is largely the same as what was in peer-discovery.js.

This sounds like functionality that should be integrated into torrent-stream and webtorrent directly. If there are not enough peers, try contacting the tracker and DHT once more. Can you open a new issue?

I can't be sure if webtorrenthas the same issues as I haven't used it yet and proving this requires finding the right torrent and a lot of testing. But for torrent-stream there are PRs gathering dust for this for a long time already:
https://github.com/mafintosh/torrent-stream/pull/117
https://github.com/mafintosh/peer-wire-swarm/pull/15


Can't use isActive function from NavLink. Gets compile error

Sorry it was my problem with wrapper component


Quick question border radius is cutting off the focus border

Testing #191496
See the bottom left and right corners:

This might be just how the browser renders it 🤔

I think this is because the list item has focus but the quick pick container has the border radius.


The readmme file has a mistake

The readme file has a mistake in the gitclone part please check

✅


Remove Element.xtag

https://api.dartlang.org/dev/2.0.0-dev.40.0/dart-html/Element/xtag.html
Seems a mostly abandoned effort. Main package hasn't been touched in 2 years.
https://www.npmjs.com/package/x-tag
https://github.com/x-tag/core

CC @jmesserly @sigmundch
Looks like we haven't touched this since 2013 - https://github.com/dart-lang/sdk/commit/6a17da6b4ac4af5e5e00b162770d1d556dbd2199

yes it's super obsolete, I think it predated custom elements. It was even removed from Polymer.dart ages ago: https://github.com/dart-archive/polymer-dart/commit/179f9399b25ae1300d1895409abb4d5df6994510.

Yes, looks like it was hand coded in one of our templates should be removed.

I'll remove the custom code in  impl_Element.darttemplate
@Creates('Null') // Set from Dart code; does not instantiate a native type.
Element _xtag;
/**

Experimental support for web components. This field stores a
reference to the component implementation. It was inspired by Mozilla's
x-tags project. Please note: in the future it may be possible to
extend Element from your class, in which case this field will be
deprecated.

If xtag has not been set, it will simply return this [Element].

*/
// Note: return type is dynamic for convenience to suppress warnings when
// members of the component are used. The actual type is a subtype of Element.
get xtag => _xtag != null ? _xtag : this;
set xtag(Element value) {
_xtag = value;
}

SGTM!
On Fri, Mar 23, 2018 at 2:04 PM Terry Lucas<EMAIL_ADDRESS>wrote:

I'll remove the custom code in impl_Element.darttemplate
@Creates http:///Creates('Null') // Set from Dart code; does not
instantiate a native type.
Element _xtag;
/**

Experimental support for web components
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html.
This field stores a
reference to the component implementation. It was inspired by
Mozilla's
x-tags http://x-tags.org/ project. Please note: in the future it
may be possible to
extend Element from your class, in which case this field will be
deprecated.

If xtag has not been set, it will simply return this [Element].

*/
// Note: return type is dynamic for convenience to suppress warnings
when
// members of the component are used. The actual type is a subtype of
Element.
get xtag => _xtag != null ? _xtag : this;

set xtag(Element value) {
_xtag = value;
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/32659#issuecomment-375797739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCirVtU9fIhMxVxHKnICopEoEeqwY9ks5thWNBgaJpZM4S5UAM
.

Fixed https://dart-review.googlesource.com/c/sdk/+/48381


Timer not working

For me the timer is not working, I am using Controller As syntax and I do not see the timer working even what I have imported the angular-timer module along with humanize-duration. The hours, minutes and seconds are not even rendered. Is there any special consideration for using Controller As syntax?

After analyzing I found that the reason is this error
humanizeDuration is not defined

However I have installed it and referenced it . I am using system.js and jspm

+1

Well, I'm using controllerAs and the timer render right, but when I trying to set countdown attribute with a variable then the timer is not rendered.`
<timer interval="1000" countdown="timeLimit">{{countdown}} segundos</timer>

.config(function($stateProvider) {
            $stateProvider.state('state.name', {
                url: '/{id:[0-9]+}/preview',
                views: {
                    "form": {
                        controller: 'previewCtrl',
                        templateUrl: 'template-path.tpl.html',
                        controllerAs: 'vm'
                    }
                }
            });
        })
        .controller('previewCtrl', PreviewCtrl);

    function PreviewCtrl() {
        /* jshint validthis: true */
        var vm = this;

        vm.timeLimit = 20;
    }

According to the readme the module humanize-duration is required.


Access levels

We need three site access levels: user, super-user and administrator.
User: access to two interest areas
Super-user: user access + can start new threads
Administrator: full access

:exclamation: this is W3, but you might already need this in #11  (currently in W2!)

This is extended functionality for the forum. Technically, it is merely an addition to a control structure. That  said, moving all registration/authentication related issues to week 2 for workload balancing.

Complete


Docs for feature: CIS Security Scan

Ability to run CIS benchmarks on Kubernetes clusters.

Closing this issue because https://github.com/rancher/docs/pull/2112 was merged


Pickup and Interact Proximity value does not match VRChat's

CyanEmu's proximity requires a much closer distance compared to VRChat's. Proximity is not measured in standard unity units. This requires research on what the units represent and how they scale with the player camera.

Turns out that proximity is based on avatar/camera size. Using a few avatars, here are some numbers for s proximity of 1:
Dist		Camera size
1.233	0.1864
1.68		0.5475
2.162	0.9174
2.165	0.9322
2.42		1.1302
3.776	2.0706
5.463	3.5711
CyanEmu's player controller is about 2m tall. Comparing to camera scale for avatars around this height, the camera scale should be about 1.13 units. This means a proximity of 1, should be able to reach about 2.4 units away, compared to 1.

Hopefully solved with 0ef7a1f

Should be fixed in v0.3.0


Daily update

Automated changes by create-pull-request GitHub action

Build failed because of:
No cached entry, and Gemini Open Cloud Computing Inc, has issues with logo: gemini_open_cloud_computing_inc.svg, Error in parsing SVG: Non-whitespace before first tag.
Line: 0
Column: 1
Char: n
No cached entry, and Sollers College has issues with twitter: https://twitter.com/SollersEdu, 401 - {"request":"/1.1/statuses/user_timeline","error":"Not authorized."}
Empty twitter for CSIRO/DATA 61: https://twitter.com/CSIROnews
Empty twitter for Zhejiang Dahua Technology Co., Ltd: https://twitter.com/dahuasecurity
Empty twitter for TYNYBAY Inc: https://twitter.com/tynybayinc
Empty twitter for Truepic, Inc.: https://twitter.com/truepicinc
Empty twitter for Tectonic Labs Ltd.: https://twitter.com/cloud_ridge
Empty twitter for SVA System Vertrieb Alexander GmbH: https://twitter.com/SvaGmbh
Empty twitter for Surge: https://twitter.com/surgetech
Empty twitter for Rancher Federal: https://twitter.com/RancherFederal
No cached entry, and Mellanox Technologies, Ltd has issues with twitter: https://twitter.com/mellanoxtech, 404 - {"errors":[{"code":34,"message":"Sorry, that page does not exist."}]}
No cached entry, and JVC KENWOOD Corporation has issues with twitter: https://twitter.com/JVCKENWOOD_SR, 401 - {"request":"/1.1/statuses/user_timeline","error":"Not authorized."}
Empty twitter for eBaoTech International Pte Ltd: https://twitter.com/Ebaotech
Empty twitter for China Telecommunications Corporation: https://twitter.com/chinatelecom1
Item Gemini Open Cloud Computing Inc, has no image_data


Change clojure test to use test-vars

This switches the Clojure test runner command so it uses clojure.test/test-vars instead of clojure.test/test-var. Using test-vars causes any fixtures to be used in the test run.
If it helps, this is what vim-fireplace does. Here's a PR for that I found https://github.com/tpope/vim-fireplace/pull/231
I don't exactly know how to test this, but the change seemed straightforward enough :man_shrugging:

Merged to develop! Looks good to me! Thank you :smile:


bump Marathon to v<IP_ADDRESS>

High Level Description
What features does this change enable? What bugs does this change fix? High-Level description of how things changed.
Related Issues

MARATHON-7848 Fixes regression in which underscores were no longer permitted in network names

Checklist for all PR's

[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): changelog
[x] Test Results: ci
[ ] Code Coverage (if available): NA

@mesosphere-mergebot bump-ee

Is there a DC/OS JIRA ticket to be closed now that this landed?


Issue with reproducing the repo

Thanks for sharing your code.
I get the next error trying to run the train.py file:
TypeError: custom_kernel_init() got an unexpected keyword argument 'dtype'
Any hint?
Kind regards,

hey @terry07 in the custom_kernel_init function just add a parameter dtype = np.float. It worked for me.

Still it's giving TypeError: custom_kernel_init() got an unexpected keyword argument 'dtype' after using dtype = np.float.

currently using  tensorflow - 2.3.1, it's giving above dtype error.

Still it's giving TypeError: custom_kernel_init() got an unexpected keyword argument 'dtype' after using dtype = np.float.

currently using  tensorflow - 2.3.1, it's giving above dtype error.

@subrata-mettle my version of TensorFlow is 2.0.0 and replace the line of the corresponding def with the next:
def custom_kernel_init(shape,dtype):

@subrata-mettle my version of TensorFlow is 2.0.0 and replace the line of the corresponding def with the next:
def custom_kernel_init(shape,dtype):


LiquidOutputAgent should be able to act as a source; templating engine does not eval strings as truthy/falsy

I wasted a lot of time trying to output a html page from a stream of events, or even multiple streams - and finally found it in the LiquidOutput Agent, only to find that I cannot pipe it into a Digest email from there! What gives? This is such an obvious usecase.
The Javascript agent was not so useful because it was only receiving one event at a time, and I couldn't get this.memory() working.
Also, https://shopify.github.io/liquid/basics/truthy-and-falsy/ says that non-empty strings are falsy.
{% for event in events %}
  {% if event.price != "" %} // here, just saying event.price wasn't enough! That's not correct - it should be enough.

{{event.price}} {{ event.title }}

  {% endif %}
{% endfor %}

Why don't you use the Event Formatting Agent it should be able to do the exact same as the Liquid Output Agent except it outputs events instead of an output page.

Also, https://shopify.github.io/liquid/basics/truthy-and-falsy/ says that non-empty strings are falsy.

The page literally says the oposite:

All values in Liquid are truthy except nil and false.

Strings, even when empty, are truthy.


🔷 [Epic] Create updated versions of high-trafficked, older links & blog posts

What ?

High Level Goal:

Improve the relevancy of incoming traffic from google search results by replacing the following links with NearSocial blog posts of updated content.

https://near.org/blog/near-token-supply-and-distribution
https://near.org/blog/near-wallet-update-staking-and-withdrawing-tokens
https://near.org/about/network/validators
https://near.org/about
https://near.org/blog/staking-rewards-are-live
https://neartasks.ai/taskers

I can help pull an updated list of pages for whenever this gets picked up, for example:
https://near.org/blog/near-announces-the-blockchain-operating-system/
is still pretty popular landing page.


JavaScript implementations

This PR is for the JS implementations of my portfolio where I work on the hamburger menu pop-up.

Hi team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
You have submitted a project, that has no Future Features section on your README and have templated texts like below. Please remove all templated texts from your README sections. Please don't forget to add at least one future feature.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


cargo update may silently update dependencies

In some situations, cargo update can change the version of a dependency, but it won't tell you that it updated it.  I would expect that any changes to the lock file are accompanied with updating/removing/adding messages.
Repro:

Set up a workspace with the following members and dependencies:

a → bitflags="0.9"
b → bitflags="1.0"
c → bitflags="0.9"

cargo update to build the lock file.
Edit c's version of bitflags to be "1.0".
Run cargo update again.  c's dependency will be updated, but there is no output telling you it updated something.

Interesting! I think this can be summarized as cargo update prints new/deleted nodes in the dependency graph, but in general it doesn't inform you at all about updated/deleted edges if the number of nodes are the same


feat: autocomplete search

Closes #6

I think I need to add, REACT_APP_HEREAPI to the env for netlify production. Will check that out.

I think I need to add, REACT_APP_HEREAPI to the env for netlify production. Will check that out.
I can add it for you. Just DM me the key

@GrayFlash Please, work on the feedback left by @OjusWiZard. I also noticed that the weather information of any selected city does not get displayed. Please, look into this.

@grace-omotoso I think there is some issue on the main branch currently, when I start typing in the input box, it goes into infinite loading.

@grace-omotoso I think there is some issue on the main branch currently, when I start typing in the input box, it goes into infinite loading.

Thanks for noticing. I think the last Pr caused the issue, I will revert it

@GrayFlash Please, fix conflicts

@GrayFlash in the course of testing, this happened. Not sure why, please investigate. No data is displayed for that location and it is not that we exhausted our API call limit because it worked for another location.

@GrayFlash please, fix conflicts

@grace-omotoso even I see it now, that certain cities when searched for are not giving any weather output. Looking into if it is an issue with HEREAPI or WeatherAPI.

@grace-omotoso even I see it now, that certain cities when searched for are not giving any weather output. Looking into if it is an issue with HEREAPI or WeatherAPI.

But on the main repository, that is not the case. Please, investigate and let me know what you find.

On the main repo, if we enter Mumbai, Maharastra, IND it will throw this error, while Mumbai works

@grace-omotoso tried to fix it, by removing state name from the query. The reason being openweather API was not storing State name for some cities like Mumbai, West New York, and when we add state name to these it shows that the location is not found in log.
Remove state name helps us avoid doing it, so we now have city name and country code. Hope this works.

@GrayFlash I prefer you add state name. Here in the US, there are a lot of cities with the same names in different states. So that is important A user hardly notice the issue so please, let us add the state name back. Thanks


Change displayname

Background
Change this display name to better identify the rule's purpose.

Please merge on approval.


Noticed a couple of things within main CHLIB calls

So, I was doing a bit of testing with the CHLIB calls when I found a couple of bugs I figured you should be aware of.
with the def recvparticipant script it calls the group as a string which stops you using functions like group.sendPost.
Also, within the group, there's no way to simultaneously send a message to all groups within the bot. So for example, if you wanted to post an announcement about new updates, you can't unless you go into each group and say it yourself. The same fault of recvparticipant stops you here.
The code I am trying for both is:
    def recvpartifipant(self, bit, group, user, uid):
        if bit == 1:
           print("User Joined The Chat: "+user)
           group.sendPost("Welcome "+user)
        else:
           print("User left the chat: "+user)
           group.sendPost("Goodbye "+user)

    if cmd == "announcement and len(args) > 0:
        msg = args
        for _group in groups:
           _group.sendPost("ANNOUNCEMENT: "+msg+ " <i>From "+user.lower(), True)

Just thought it was best to let you know. I haven't gone through chlib to see if I can do anything about this myself yet.

def recvpartifipant(self, bit, group, user, uid):
change it to:
def recvparticipant(self, bit, group, user, uid):

@james-d-elliott I get the same error for both. No matter what you do, it always gives a string error for both the functions you recommended. I'm not sure if it's something in the library causing it but upon looking into the library about 15 minutes ago, it doesn't seem to have a code for _group so I don't think that would fix it unless it was added. Here's the error for both btw
     recvparticipant
     group.sendPost("Goodbye "+user)
    AttributeError: 'str' object has no attribute 'sendPost'

It's the same on both

Ah I see the issue: self.call(bites[0], group, bit, user, uid)
Do: def recvparticipant(self, group, bit, user, uid):

@james-d-elliott Yeah that fixed that one. Thanks very much :) I can deal with not having announcements for now, I'll figure it out later. :P

@LordYusei late post but, is it possible given your scenario to use the getGroup function located via self, self.getGroup(*groupname*) to obtain a group object?
Again, this is a really late reply but I am bored and I decided lets look at the uncertain if fixed issues.

No Problem at all Piks. The help is appreciated. I've been trying to figure this out for a while now with no luck. I shall try your idea now. If it works, you sir can have a beer on me as i've been stuck for a while with this. Lol

@piks No good either. I got this error with using self.groups and the group.name code. :
TypeError: 'NoneType' object is not iterable
I was using the code as below:
if cmd == "ann" and len(args) > 0:     group auth stuff here:         for group in self.getGroup(group.name):             group.sendPost("Announcement from "+user.lower()+": "+args)     else: return

@LordYusei If this code is inside one of the recvCommand, recvPost, etc. functions. You can iterate over self.cArray to get the list of group objects. self.groups is the list of group names.
if cmd == "ann" and len(args) > 0:
    # auth stuff here?
    text = "Announcement from "+user.lower()+": "+" ".join(args)
    for group in self.cArray:
        # can it post in this group?
        group.sendPost(text)

That works perfectly for what I wanted. Thanks very much bud. I suppose you could mark this as solved now. :)


test: more stable merge test

What have you changed? (mandatory)
Improve merge approximate size and keys test more stable
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
No need
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

/run-unit-test


filename not parsed correctly when request carrying 'filename*' param in 'content-disposition'

For compatibility reason many http client(like Postman) send two filename params('filename' and 'filename*') in content-disposition when filename include non ascii charactors，busboy parse the charset correctly but doesn't decode the 'filename*' value using the charset
also see
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
https://tools.ietf.org/html/rfc6266
Originally posted by @allenz8512 in https://github.com/mscdex/busboy/issues/218#issuecomment-618927923

seen it's fixed in master,


Fall through ground on spawn

First of all thanks for all your hard work! 👏
I got an issue that if the player spawn too close to the ground the player falls through.
PS: Can i use this in a project?

You can use it, yes :)
I'll have a look into the falling through ground. Leaving open for now.

Thanks! What kind of license?

MIT, so you can go and use it however you'd like. But if you release a production game maybe give me a small attribution :)
Bug fixed by the way. Very dirty but until I work out a better way it'll do.


Tracking ignores need to be enhanced

There is a need to ignore some special requests for applications, such as pulling services from the registry, pulling configurations  from the configuration centers, heartbeat requests, etc.

I agree that. And I think we are welcome to discuss and accept this filter mechanism as an optional plugin.

Merged. Thank you @SevenPointOld . Let's post a blog soon :) I think many people like this.


[Extras] Add Ghidra support

https://ghidra-sre.org/

If you want Ghidra as an app you can install from Scoop then you might want to suggest it over on the Extras Bucket Repo, make your own bucket or check out this Bucket that is all about Reverse Engineering tools.

Duplicate of https://github.com/lukesampson/scoop-extras/issues/1814


resolveUrl ignores baseURI when given absolute URL

Description
Polymer.ResolveUrl.resolveUrl when called with an absolute path, will return just the path without the baseURI. This means you can't construct paths for URLs with a different domain, or if you wanted to share around the full path URL.
I'm assuming it's just this line. Happy to make a PR, just want to confirm the expected behaviour.
Live Demo
http://jsbin.com/defave/edit?js,console
Steps to Reproduce
Call Polymer.ResolveUrl.resolveUrl with an absolute path, and any baseURI e.g.
Polymer.ResolveUrl.resolveUrl('/foo', 'http://localhost');

Expected Results
Expect the absolute path appended to the baseURI e.g. http://localhost/foo
Actual Results
Just the absolute path e.g. /foo
Browsers Affected
Just tested in these:

[x] Chrome
[x] Firefox
[ ] Edge
[x] Safari 10
[ ] Safari 9
[ ] Safari 8
[ ] IE 11

Versions
Polymer v2.0.2 - could be more, this is just the one I'm testing it on

It seems that this is expected behavior (https://github.com/Polymer/polymer/blob/master/test/unit/resolveurl.html#L72). I am not sure that if we would change this behavior what usage breaks.

Shame, seems weird to be able to point a relative resource to a baseURI with a different domain, but not an absolute. If it is indeed expected behaviour then understand this isn't an issue, would be great to have a way of doing it inside of the ResolveUrl utilities however.

@kevinpschaaf no worries - that makes sense. Appreciate the update!


ListBoxRow cannot easily be interacted with keyboard.

Using the arrow keys to navigate the following program the selection moves to the box, but it requires tab to move to the button then enter to interact with it.
import owlkettle

viewable App: discard

method view(app: AppState): Widget =
  result = gui:
    Window:
      default_size = (600, 400)
      proc close() = quit(1)
      ScrolledWindow:
        ListBox:
          for i in 0..10:
            ListBoxRow:
              Button:
                text = $i
                proc clicked() = echo i

brew(gui(App()))

I added support for the activate event, which should fix this issue. You will have to provide callbacks for both the Button.clicked and ListBoxRow.activate events however (if you still want to react to mouse input). https://github.com/can-lehmann/owlkettle/blob/main/docs/widgets.md#example-7

Damn you work fast, thanks yet again.


Potential bugs in calib3d interop

Hi, I think I found a couple of minor interop bugs, where using the wrong native methods call causes an AccessViolationException.
Are these changes useful as they are?

:+1:


Decide on a Rich Text solution

ActionText? Markdown? Something else?

I think for version 1 we're just going to go with Markdown here & handle this in #22


ManagedClient: message receiving hangs without any apparent reason

Describe the bug
After a random time (from a few minutes to several hours) message receiving hangs without any apparent reason
Which project is your bug related to?

ManagedClient

To Reproduce
Steps to reproduce the behavior:

Using this version of MQTTnet '3.0.15'.
Run provided example code for ManagedClient

Expected behavior
As long as messages keep on arriving they should be processed. Restarting application causes messages processing restart regularly.
Additional context / logging
Console .net core 5.0 application
Is there any best practice to check for unexpected conditions?

By default message processing is sequential. Is processAlleantiaSubscribedMessage stuck or running for a long time?
If these messages are QOS1 you might want to do:
static async void processAlleantiaSubscribedMessage(MqttApplicationMessageReceivedEventArgs e)
{
	// async void results in fire and forget, but without any throttling!
}

@maiorfi What mqtt server are you using?  I'm not using the managed client and use mosquito.
By the way, the await Task.WhenAny(handlerTask, timeoutTask); is really not a great pattern.
Its better to use a CancellationTokenSource and apply cooperative cancellation.
static async Task processAlleantiaSubscribedMessage(MqttApplicationMessageReceivedEventArgs e)
{
try
{
var topic = e.ApplicationMessage.Topic;
var payloadAsString = Encoding.UTF8.GetString(e.ApplicationMessage.Payload);
    var telemetry = TelemetrySet.FromJson(payloadAsString);

	using var cts = new CancellationTokenSource(MQTT_MESSAGE_HANDLING_TIMEOUT_MSECS);
    await processTelemetry(telemetry, cts.Token);
}
catch (Exception ex)
{
    _logger.LogWarning(ex, "Exception in processAlleantiaSubscribedMessage() : {0} while processing args\n{1}",ex.Message, ObjectDumper.Dump(e));
}

}

We're using https://www.emqx.io/ MQTT broker.

Hi. I think I could have got issue cause.
I realized I was using same clientid on different concurrent clients (very often 2 console apps instances, running on different machines).
Could described issue be related to such cause?
I updated apps in order to use a semi-random clientid and since then apps are running without hiccups (12 hours and running).
Finger-crossed!

@maiorfi if that happens you should see log entries indicating the client is disconnected. If you do not see these you should configure your logging to see these log events.

Indeed, I got many log messages about client being disconnected. At this time, it has been running for several days, so I'm going to close the issue. Anyway, could you explain why two concurrent clients, competing for same ClientId, actually ran as expected even for several hours before stopping? I guess disconnections happen to be in kind of interlaced way, but why did such pattern always come to an end where one of two instances stopped receiving messages, according to you? Thanks!

could you explain why two concurrent clients, competing for same ClientId, actually ran as expected even for several hours before stopping?

I have never seen this myself. The behavior I've observed is that they continuously compete to get an active connection until either process dies.

could you explain why two concurrent clients, competing for same ClientId, actually ran as expected even for several hours before stopping?

I have never seen this myself. The behavior I've observed is that they continuously compete to get an active connection until either process dies.

@ramonsmits  That's exactly the behaviour I experienced as well when using non unique client ids...


RIA-3218 Added exceptionalCircumstancesRemission enum to RemissionType

JIRA link (if applicable)
RIA-3218
Change description
Legal rep apply for a late remission
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Closed by the bot, re-opening the PR