Upgrade embulk-util-* dependencies

Updating to :

embulk-util-config:0.3.3
embulk-util-file:0.1.4
embulk-util-text:0.1.2
embulk-util-timestamp:0.2.2
embulk-util-rubytime:0.3.3
embulk-util-csv:0.2.2
embulk-util-guess:0.3.1
embulk-util-json:0.2.1

Along with those updates, it removes NOTICE files as they do not have any special license notice.
(One note for embulk-util-guess, but it does not have a license notice by itself. Its dependency has a license notice, then a packager with it may need a license notice, though.)

Thanks!


add autopep8 to Contributions guide

What does this PR do?
Fixes #53. Adding usage autopep8 to guidelines
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@hadim ^^ something like this?

Looks good to me. Thanks!

In my test autopep8 -v --in-place *.py seems to be sufficient since it uses the various configurations present within the root folder of the repo.
Also running autopep8 -v --in-place *.py brings no modifications on master for me (which means that the code is correctly formatted).

Actually my command is wrong since it does not process the files... doing more tests now.

Here is the correct command: autopep8 -v -r --in-place .

Running it on master modify 3 files:
        modified:   pytorch_lightning/loggers/comet.py
        modified:   pytorch_lightning/loggers/neptune.py
        modified:   pytorch_lightning/trainer/trainer.py

Edits are minor. Maybe you could include this in the PR.

Sure, I have already applied the command as part of this PR but it creates change in the if statement which violate fake8 check...

Here is the correct command: autopep8 -v -r --in-place .

That's better, thx

You should be able to ignore specific lines of code with # noqa (haven't tested).

You should be able to ignore specific lines of code with # noqa (haven't tested).

Sure, we are already using it in deprecated inits, but we shall not use this local fix for systematic issues lol

Of course! Only for things that autopep8 and/or flake8 don't understand properly.

the problem was the if statement was not properly aligned on the next line so autopep8 fix it but the fix was not correct according to flake8...


could do make the library not to depend on Android libs?

eventually, we can use it in non-android kotlin project
thanks

Seeing as fakeit library has not been maintained for several years - check out kotlin-faker instead if you're still looking for similar functionality ;)


Need to delay the PUBACK or PUBREC message until a permissions check has been done

Describe the feature request
For QoS > 0, there should be a permissions check prior to returning either the PUBACK or PUBREC message so that if publication would later be denied because of a permissions error then there is no surprise for the client and it will be advised of the fact.
There is a difference of behavior here between v3.1 and v5.  In v3.1 the connection should be closed in this case while in v5 there is the ability to return a reason code as part of the PUBACK/PUBREC message to the client.
Which project is your feature request related to?

Server

Describe the solution you'd like
The PUBACK/PUBREC should be deferred until the MessageIntercepter callback function is executed.  This keeps the processing of incoming publish messages in order and for v3, the channel would not be closed until after all of the earlier messages have had a chance to start processing.  It is possible that a QoS 2 publication would not finish prior to the channel being closed.  For v5, the reason code for not publishing would be returned in order as well.
This does potentially slow down the generation of the ACK back to the client in the event that it is publishing at a high rate relative to the speed that the server is processing messages.  Clients should already be prepared to deal with the fact that they may want to publish messages prior to the ACK processing being returned to it.
Describe alternatives you've considered
A different way would be to create a new callback function at the point where messages are enqueued for processing that does the permissions check.  This has two downsides, first it allows for a potentially slow operation to occur in the read from the channel code and secondly it means that one may need to close a v3 session at that point and thus orphaning all of the messages which have been queued but not yet processed.
I am willing to work on this if you have a preferred method of dealing with this.

The event handler is already synchron running so that you can deny the publication of the message via using the interceptor. Please keep in mind that you must return a Task and await all async methods in the handler. Otherwise the event handler will run asynchronous in another thread and the PUBACK is sent in all cases.


Add ability to create classes without creating an object.

This will be useful for schemas API POST.

@drew-gross reviewed what I could.

Hmmm this PR now includes a bunch of random commits somehow. I'm going to close this and make a new one.


Where is the documentation?

Please share a documentation to use this plugin. I had downloaded it and kept under includes/plugins directory. But it shows nothing in OST backend.

I just wanted to acknowledge that I have seen your issue. I currently don’t have osTicket installed, so it might take a while for updates. Maybe @hannsen can jump in and help.

For me it shows up under the plugins list. We are on v1.17 .
We have it under /include/plugins/osTicket-Drupal-Authenticator

Maybe it‘s a file permission problem. Make sure that the user for PHP can read the .PHP files. For example with Apache HTTP server, the default user is www-data. You might have to use the chmod or chown command.


Import Error with non-admin ipython shell

Version: Redis-py version 3.2
Platform: Windows 10
Hi - I am getting an error when I try to import redis-py module. The error only happens when I do the import in an ipython shell running in a non-administrative command prompt on Windows 10. A command prompt running as an administrator doesn't give the import error.
C:\Users\john>ipython
Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import redis
AttributeError                            Traceback (most recent call last)
 in
----> 1 import redis
C:\Anaconda3\lib\site-packages\redis_init_.py in
----> 1 from redis.client import Redis, StrictRedis
2 from redis.connection import (
3     BlockingConnectionPool,
4     ConnectionPool,
5     Connection,
C:\Anaconda3\lib\site-packages\redis\client.py in
10 from redis._compat import (basestring, bytes, imap, iteritems, iterkeys,
11                            itervalues, izip, long, nativestr, safe_unicode)
---> 12 from redis.connection import (ConnectionPool, UnixDomainSocketConnection,
13                               SSLConnection, Token)
14 from redis.lock import Lock
C:\Anaconda3\lib\site-packages\redis\connection.py in
36     import hiredis
37
---> 38     hiredis_version = StrictVersion(hiredis.version)
39     HIREDIS_SUPPORTS_CALLABLE_ERRORS =
40         hiredis_version >= StrictVersion('0.1.3')
AttributeError: module 'hiredis' has no attribute 'version'
In [2]:

It looks like you have hiredis-py installed but a well known attribute of the hiredis-py module is missing. How did you install hiredis-py?
You mentioned this happens on non-administrative shells. Does everything work fine when you run in an administrative shell? If so, perhaps you installed hiredis-py as an admin and for some reason it’s inaccessible to your non-privileged user.

I looked at my installation and hiredis was missing. It started working in non-admin shell after hiredis was installed.
I  used Anaconda/conda to install redis. I am not sure why it missed the hiredis, or why it worked in admin shell but not in non-admin without hiredis.


Resize from center

Fixes #612
Adds logic to resize from the center of the cropper when pressing the Option key, and supports using both that and locking ratio at the same time
This is a WIP. Getting a PR up so other people can download the build and test it

The resizing logic seems to work perfectly. I was not able to make it break.
I noticed there's a red dot in the middle now. Is that intentional? The size text is a bit too close to the red dot and the text is invisible on light backgrounds.

The red dot etc. is just for testing purposes @sindresorhus, can you remove that now @karaggeorge, if we’re all done testing?

@sindresorhus Yes, that dot was for debugging purposes. It helped me verify that the center was indeed not changing when resizing. I've removed that part of the code. Should be good to go


SCSS Compile problem: The tag is endowed with the wrong attribute ?

[x] bug report -> please search issues before submitting

> ng --version
@angular/cli: 1.1.3
node: 6.10.3
os: win32 x64

I added a component: SplashComponent, like this:
@Component({
  selector: 'page-splash',
  templateUrl: 'splash.html',
  styleUrls: ['splash.scss']
})
export class SplashComponent {
}

you can see selector is page-splash
but in scss:
page-splash {
    ....
}

It doesn't work!
Then I saw the style tags in the Chrome:
<style>
page-splash[_ngcontent-c1]   .scroll-content[_ngcontent-c1] {
  background-image: url(splash.d63b0b2b8679d146cafc.png);
  background-size: 100% 100%; }
</style>

And page-splash tag :
<page-splash _nghost-c1 class="ion-page show-page" style="z-index: 100;">
    <ion-content _ngcontent-c1 class="page-splash content content-ios" no-bounce="" scroll="false">
    </ion-content>
</page-splash>

Why _ngcontent-c1 in ion-content tag,
but after scss compiling, _ngcontent-c1 belongs to page-splash tag ???
Why not page-splash[_nghost-c1] ???

@Component({
selector: 'page-splash',
templateUrl: 'splash.html',
styleUrls: ['splash.scss'],
encapsulation: ViewEncapsulation.None,
})
Add encapsulation, it do not generate [_ngcontent-c1] in scss.
Although this method works, the scss generated is really strange...

This is not a CLI issue, so I will be closing it.
The answer you're looking for is to set styles on that component you can remove encapsulation: ViewEncapsulation.None and put the styles you wish applied to the entire component using :host this represents the host DOM element which in this case will be <page-splash>...</page-splash>
// splash.scss
:host {
  border: 5px solid red;
  background: pink
}

Note: please follow the selector example and not the CSS styles provided, LOL.


SSH connection hangs and stops responding after some time, effectively freezing WSL

Windows Version
Microsoft Windows [Version 10.0.19045.4412]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 22.04
Other Software
OpenSSH_8.9p1 Ubuntu-3ubuntu0.7, OpenSSL 3.0.2 15 Mar 2022
Repro Steps
Default configuration and setup is being used.

Use ssh to connect to a server
Successfully log into the server
Run a command on said server
Let WSL run on the background for some time
Try to run a command

Expected Behavior
It was expected to run the command successfully.
Actual Behavior
You can neither type nor run anything, you have to close the window to interrupt WSL.
Diagnostic Logs
No response

WslLogs-2024-06-19_09-15-31.zip

... And also happens on PuTTY. Seems like SSH is just broken on Windows 10.

This looks like either a networking issue, or an issue with the machine you're connecting to. Unfortunately this isn't something that can be solved from the WSL side.


i am trying to reach you

Hi erick-otenyo i am actually from Tanzania, and there is no way i could reach you, please contact me through +255768897171 i have project to discuss.
Thanks and apologies for posting here

Use https://www.linkedin.com/in/erick-otenyo/ maybe ?


fix: create custom namedInputs inside createNodes

What happened?
As discussed in #48, I encountered problems using custom namedInputs within the Nx plugin to detect when package targets should be triggered. Which forced me to fall back on default named input (an evil choice I know...)
What would you expect to happen?
No response
What steps did you take?
It turns out this is an Nx issue. See this discussion in Discord for reference.
I can confirm after creating another plugin on Nx 20 here.
After upgrading to Nx 20, use your own namedInput!
Code PushUp package version
No response
What operation system are you on?
MacOS
Node version
No response
Relevant log output
No response

related #57


Update repositories.txt

Added URL to a new library that we will use for an Arduino-based high-altitude weather balloon.

@ArduinoBot


Better Textual repr of dask.array.

Our users are constantly confused when they 'print' on a dask.array.
They expect to see some description of the data, e.g. first few items, and last items, like a numpy array.
But instead they only see a <dask.array ...>  textual representation that only describes the meta information of the data.
Should repr trigger compute()?

Should repr trigger compute()?

That sounds dangerous, as compute could be really expensive. Instead we might imitate the repr for dask.dataframe and provide more information. There's already an open issue for this at #1676.

Closing as duplicate of #1676. Continuing discussion there.


Dist shouldn't be checked in to source control

The dist directory is a build artifact. It should not be checked in to source control and should instead be added to .gitignore. It's too easy for dist to fall out of sync when it's in source control, and it makes people significantly more likely to hit merge conflicts.
The dist directory should be included as part of the npm package (which allows usage via Unpkg, and for people to download it), but should not be in the Git repo.

@Daniel15 Thanks for comments. However, the inclusion of the dist directory is intentional. We have automated processes for ensuring distributable files are updated whenever we publish a new package version. While npm is the dominant package registry, it is not the only means for consuming packages; I, and others, have frequently needed to consume the project independently of the official npm releases. We do so by installing from GitHub. Lastly, committing to source control and hosting on GitHub allows us to freely host static files which individuals can copy to their projects without needing to explicitly install anything.
In short, we acknowledge that some people will disagree with our decision, but we believe the benefits outweigh the costs.

You can load static files from npm packages using unpkg though.
Wouldn't it make more sense to use the "releases" section of Github?
Sent from my phone.
On Fri, Apr 13, 2018, 10:59 AM Athan<EMAIL_ADDRESS>wrote:

Closed #155 https://github.com/stdlib-js/stdlib/issues/155.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stdlib-js/stdlib/issues/155#event-1573828275, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFnHQLyjt5NVrGC6AXRMcff1PDLWs-Oks5toOeIgaJpZM4TTvW5
.

Re: npm pkgs. No argument there. The point is that we also want a means for consuming distributable files independent of npm. Meaning, we don't want to create a special npm release in order to consume distributable files.
Re: releases. Not interested in tucking away the distributable files. In this case, we prefer them being more readily accessible on, say, GitHub, and immediately available upon cloning the repository. For instance, these bundles are used when launching the browser REPL which is commonly used during development. As the bundling process can consume time and resources, we want to avoid introducing this overhead for particular development workflows.


Ignore unrecognized Transform property values

 <svg style="transform: translate(10px, 10px);" xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" >
     <rect width="200" height="200" fill="green" />
  </svg>

This is feedback from resvg-js users: https://github.com/yisibl/resvg-js/issues/214
In previous 0.28.0, resvg-js could receive warning messages, but not in 0.29.0, I think this causes resvg-js to render as transparent. Maybe it's the changes here https://github.com/RazrFalcon/resvg/commit/41aef9edafe5b14fdfa534a5260138b830c404ed that caused it.
[2023-03-01T11:21:11Z WARN  usvg::svgtree::parse] Failed to parse transform value: 'translate(10px, 10px)'.

cargo run --release -- --width 300 test.svg test.png
    Finished release [optimized] target(s) in 0.10s
     Running `target/release/resvg --width 300 test.svg test.png`
Warning (in rosvgtree:303): Failed to parse transform value: 'translate(10px, 10px)'.

It was already fixed by f146503f84c48875f39a159a8ca4a41833abd090

Thanks!


[BUG] MultiLayer Includes

I know there is a way to do the Includes right now with the specifications. But there is a problem or I dont know how to do it.
Let say I have Planets that have multiple Units which have multiple Sectors.
Now I can do the Include for Plants with function Includes. But then I cannot do the ThenInclude for the Sectors as well. This feature would be good if those Sectors have lets say documents that I can then go Documents.Include(x => x.Sector). ThenInclude (x => x.Unit). ThenInclude (x => x.Plant) to get the data for whole document without multiple calls to the API.
Am I missing something?
Best regards!

You can do Documents.Include(x => x.Sector.select(x => x.Unit.select(x => x.Plant)

From: Zigimun @.>
Sent: Friday, January 7, 2022 3:11:25 AM
To: fullstackhero/dotnet-webapi-boilerplate @.>
Cc: Subscribed @.***>
Subject: [fullstackhero/dotnet-webapi-boilerplate] [BUG] MultiLayer Includes (Issue #340)
I know there is a way to do the Includes right now with the specifications. But there is a problem or I dont know how to do it.
Let say I have Planets that have multiple Units which have multiple Sectors.
Now I can do the Include for Plants with function Includes. But then I cannot do the ThenInclude for the Sectors as well. This feature would be good if those Sectors have lets say documents that I can then go Documents.Include(x => x.Sector). ThenInclude (x => x.Unit). ThenInclude (x => x.Plant) to get the data for whole document without multiple calls to the API.
Am I missing something?
Best regards!
—
Reply to this email directly, view it on GitHubhttps://github.com/fullstackhero/dotnet-webapi-boilerplate/issues/340, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALFFSLSZSRINQ2DICDCHJDUU2N23ANCNFSM5LOHXUQQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Does this include the other way around? So.
Plant.Include(x => x.Units.select(x => x.Sectors.select(x => Documents). Collections of Units with Collection of Sectors ...

Yes

From: Zigimun @.>
Sent: Friday, January 7, 2022 8:59:00 AM
To: fullstackhero/dotnet-webapi-boilerplate @.>
Cc: dsoltesz @.>; Comment @.>
Subject: Re: [fullstackhero/dotnet-webapi-boilerplate] [BUG] MultiLayer Includes (Issue #340)
Does this include the other way around? So.
Plant.Include(x => x.Units.select(x => x.Sectors.select(x => Documents). Collections of Units with Collection of Sectors ...
—
Reply to this email directly, view it on GitHubhttps://github.com/fullstackhero/dotnet-webapi-boilerplate/issues/340#issuecomment-1007427307, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALFFSKS2WGJZ2MFUTHD7NTUU3WSJANCNFSM5LOHXUQQ.
You are receiving this because you commented.Message ID: @.***>

Thank you will give it a try.


az login error

Describe the bug
Command Name
az login
Errors:
Unsupported wstrust endpoint version. Current support version is wstrust2005 or wstrust13.

To Reproduce:

az login -u<EMAIL_ADDRESS>-p abc123

Expected Behavior
To be able to login using the method that's used in the 2nd example here.
Environment Summary
Windows-10-10.0.18990-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.70 *

Extensions:
interactive 0.4.3

Additional Context

Your account may require interactive login. Could you try az login and see if that works?
If you need silent login, you may use service principal: https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli

Executing az login with an arity of nil works as expected. But that does change the behavior slightly as it requires a browser window to be interacted with.
However, executing as I mentioned in my original post, worked recently. And according to the doc link I provided, it's still supported. You mentioned:

Your account may require interactive login

How can I remove this requirement? Or can I?

The error comes from https://github.com/AzureAD/azure-activedirectory-library-for-python/blob/094812ca3b7651d87d637e4719a3a5f546d21ec0/adal/wstrust_request.py#L131
@marckassay, is it a Microsoft account or Work or school account?
I can reproduce with my outlook.com email address. Per MSAL's wiki:

By design and policy, the username/password authentication works only for Work and school accounts, but not for Microsoft Accounts (MSA).

Also see: https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/33#issuecomment-481843088
This information is shown under az login -h:
Log in with user name and password. This doesn't work with Microsoft accounts or accounts that
have two-factor authentication enabled.
    az login -u<EMAIL_ADDRESS>-p VerySecret

We will improve the error message.

It's a Microsoft account.
On Mon, Oct 28, 2019, 10:32 Jiashuo Li<EMAIL_ADDRESS>wrote:

The error comes from
https://github.com/AzureAD/azure-activedirectory-library-for-python/blob/094812ca3b7651d87d637e4719a3a5f546d21ec0/adal/wstrust_request.py#L131
@marckassay https://github.com/marckassay, is it a Microsoft account
or Work or school account?
I can reproduce with my outlook.com email address. Per MSAL's wiki
https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki/Username-Password-Authentication
:
By design and policy, the username/password authentication works only for
Work and school accounts, but not for Microsoft Accounts (MSA).
Also see: AzureAD/microsoft-authentication-library-for-python#33 (comment)
https://github.com/AzureAD/microsoft-authentication-library-for-python/issues/33#issuecomment-481843088
This information is shown under az login -h:
Log in with user name and password. This doesn't work with Microsoft accounts or accounts that
have two-factor authentication enabled.
az login -u<EMAIL_ADDRESS>-p VerySecret
We will improve the error message.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/10979?email_source=notifications&email_token=AADQHEMDAURS6L3B4UON6EDQQ3ZXNA5CNFSM4JE5RWB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECNCOHY#issuecomment-546973471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADQHEI5BLELVGKOIJIMQYLQQ3ZXNANCNFSM4JE5RWBQ
.

Improved error in MSAL https://github.com/AzureAD/microsoft-authentication-library-for-python/pull/34

From another mail thread, I was reminded again that the azure-cli and MSAL integration was started but not yet finished. That's why our customers are not yet seeing those improvements. @jiasli feel free to contact us when you plan to pick up that work. Thanks!


RowLookupScript and CascadFrom

Hi! Help me please!
How can I get the value of a cascading field in a RowLookupScript?
e.g.  int orgId= CascadeFild["OrganizationId"]
public class LookupServicesLookup : RowLookupScript<Entities.ServicesRow>
    {
        protected override void PrepareQuery(SqlQuery query)
        {
            base.PrepareQuery(query);
                UserRow user;
                using (var connection = SqlConnections.NewFor<UserRow>())
                {
                    user = connection.TryById<UserRow>(Authorization.UserId);
                }

            OrganizationRow org;
            using (var connection = SqlConnections.NewFor<OrganizationRow>())
            {
                int orgId= **CascadeFild["OrganizationId"]**
                org = connection.TryById<OrganizationRow>(orgId);
            }

            if (org != null) query.Where(ServicesRow.Fields.CategoryClientId.Like("%"+org.CategoryClientId.Value+"%"));

        }

    }

Or the standard cascade can filter on the third field?

Looking in the sample or the manual.  There is an example somewhere, but you shouldn't have to mess with the codes.  That can be done using the decorator in the row file.
    [DisplayName("Top Dog"), Size(25), QuickSearch, NotNull, QuickFilter, ForeignKey("[dbo].[TopDog_DBTAble]", "TopDogName"), LeftJoin("jTopDog"), TextualField("MoreDescriptiveName")]
    [LookupEditor(typeof(MyNameSpace.MyModule.Entities.TopDogRow))]

    public String TopDogLocation
    {
        get { return Fields.TopDogLocation[this]; }
        set { Fields.TopDogLocation[this] = value; }
    }
	[LookupEditor(typeof(MyNameSpace.MyModule.Entities.BottomDogRow), CascadeFrom = "TopDogLocation", CascadeField = "TopDogName"), QuickSearch]
    [DisplayName("Bottom Dog"), Size(25)]
    public String BottomDogLoc
    {
        get { return Fields.BottomDogLoc[this]; }
        set { Fields.BottomDogLoc[this] = value; }
    }

Hi @wirble !
does not work, there is not a direct link.
public class ServiceInOrganizationForm
    {
        [LookupEditor(typeof(LookupOrganizationLookup), InplaceAdd = true, DialogType = "LK.ContragentDialog")]
        public Int32 OrganizationId { get; set; }

        [LookupEditor(typeof(ServicesRow), CascadeField = "CategoryClientId", CascadeFrom = "OrganizationId")]
        public Int32 ServiceId { get; set; }

        [LookupEditor(typeof(PersonRow), InplaceAdd = true, Multiple = true, Delimited = true, CascadeField = "OrganizationId", CascadeFrom = "OrganizationId")]
        public String Users { get; set; }
        [LookupEditor(typeof(ServiceInOrganizationStateRow))]
        public Int32 ServiceInOrganizationStateId { get; set; }
        public DateTime DateStart { get; set; }
        public DateTime DateEnd { get; set; }
        public Double Price { get; set; }
        [TextAreaEditor]
        public String Description { get; set; }
        public String Results { get; set; }
    }

maybe your requirement is different.  The cascade in Serenity I am using is from a drop down.  Yours is a multi-select.  I am not sure how to do that in Serenity.  I have not seen an builtin samples that does that.

Multiple choice works fine in the box below, and the problem in the field ServiceId

export class ServicesEditor extends Serenity.LookupEditorBase<ServicesRow,any> {

        protected FromValue: number;

        constructor(hidden: JQuery) {
            super(hidden);

            var editor = Q.findElementWithRelativeId(this.element, "OrganizationId").tryGetWidget(Serenity.LookupEditor);
            if (editor != null) {
                var self = this;
                editor.element.on("change." + this.uniqueName, () => {
                    this.FromValue = Number(editor.value) || 0;
                    this.updateItems();
                });
            }

        }

        protected getLookupKey() {
            return ServicesRow.lookupKey;
        }

        protected getItems(lookup: Q.Lookup<ServicesRow>) {
            let results = super.getItems(lookup);
            if (this.FromValue != null) {
                var o = OrganizationRow.getLookup().itemById[this.FromValue];
                if (o.CategoryClientId!=null) results = results.filter(x => x["CategoryClientId"].includes(o.CategoryClientId));
            }
            return results;
        }

Hi
Multiple selection is not working fine after i implemented the Lookupscript

It is allowing user to reselect the same option again. How i can restrict it?


Can you share the resnet 18 "vanila" config for Tiny-imagenet?

Hello! Thanks for sharing the great repo!
I coudn't find the  resnet 18 "vanila" config for Tiny-imagenet. Could you share it if you have?

Hi, @jeeyung. Thanks for using OpenMixup! You can modify model.mix_mode to change the mixup method. Taking r18_mixups_CE_none.py as an example, please modify line 11 as follows:
model = dict(mix_mode="vanilla")

Moreover, I can modify an existing config file with auto_train.py. For example, you can generate new config files of mixup with alpha=1 and alpha=0.2 based on ResNet-18 on Tiny-ImageNet by running auto_train_mixups.py.
# modify line 19 in auto_train_mixups.py
python configs/classification/tiny_imagenet/mixups/auto_train_mixups.py

I hope this will help you. Feel free to ask me if more questions occur.

I will close this issue if there is no more question. Feel free to open a new issue when new questions occur.


update a tag to 1.1.3

hi, would you please update the tags to the latest version so that we can add your lib to https://cdnjs.com with git auto-update.
thank you very much!
https://github.com/cdnjs/cdnjs/issues/6261

@maruilian11, what exactly do we need to do for this to work? As best I can tell there already is a 1.1.3 tag, which is how Bower also determines the version.

@maruilian11 I just published the 1.1.4 release along with its tag. Perhaps this is what you required us to do in order to make the release available with cdnjs. Please close this issue if it is resolved.

Completed.


Don’t use Microsoft product icons to represent your product or service

Hi there,
is there any source for an Azure Icon set which can be used for product presentational purpose?

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

ID: 6624d44c-f9f6-02f8-2c67-0f0637fed62e
Version Independent ID: 9346a8ff-bab5-be2c-9dc1-d546fda1efa9
Content: Azure Icons - Azure Architecture Center
Content Source: docs/icons/index.md
Service: architecture-center
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 409769

@Scharnhusen I believe the intent of the statement is that you should not use as specific Azure Service icon to represent your solution in part or in whole.   If you use the azure service icon to represent that specific azure service in the diagram, that is acceptable.  Does that help clarify?

closing as there has been no response.


feat: display day on session description + minifix

Feature
When reading the description of a session (such as {site}/sessions/webassembly_pas_que_frontend/), the visitor can now read the day (Thursday/Friday) alongisde the time and duration.
Before

After

Note
The list of all the sessions remains unaffected by these modifications:

Minifix
fix: removed a misplaced comma.
On the page that lists all the sessions, a comma was displayed before "vendredi"

Merci :)


How to avoid false positive

Hi Team , I would like to use DJL API for our Automated testing areas to achive visual Testing.
Here we are trying to compare two images where each images contains dynamic test data so how we can handle such false positive scenarios ??
As you mentioned it is built on ML , so can you please confirm it is above pixel to pixel comparison??

Can you elaborate more on your scenario? What kind of images you are trying to compare?
For General ML purpose, we build image embedding and use certain Nerual Network to do classification


Docs graph seems to be broken

Hello. It seems there's graph missing on the docs page: https://line.github.io/centraldogma/concepts.html
I'm just guessing, judging by the image which displays the message:

Dot Executable: /opt/local/bin/dot
File does not exist
Cannot find Graphviz
...

Oops 😅    Thanks for letting us know

Fixed by #848


Sprint report for Sprint 19

merged now. We can change remove the sprint numbers later, if we want to.


New release

Hello, I feel like there have been many fixes and additions worthy of being in a new stable release. Is there anything stopping a new release, or is it just that not enough has been changed? It could be a simple minor version increase to 3.1.5.

Yeah I'll try to do it soon. I'm just overwhelmed 😉

Release is in progress

Thanks!


Unicode operator support missing from PureScript

Information

Language: PureScript
Plugins: none

Description
While I did open a merge request for ∀ for the lowest hanging fruit as a keyword, there are issues with PureScript and unicode operators. ∷→←⇒⇐ are natively supported as operators in the compiler, but also users can define their own operators (such as ≡ for ==) (see: Lexer.hs). Anything that is considered as a "symbol" according to
isSymbolChar :: Char -> Bool
isSymbolChar c = (c `elem` (":!#$%&*+./<=>?@\\^|-~" :: [Char])) || (not (Char.isAscii c) && Char.isSymbol c)

is 100% valid PureScript. As PureScript extends the Haskell, syntax and Haskell has the mention of . being an issue for  function composition in its comment (with . being used for records in PureScript), how best to modify the regex was not immediately apparent to me.
Code snippet

Test page

The code being highlighted incorrectly.
readBooleanOrIntAsBoolean ∷ Foreign → Foreign.F Boolean
readBooleanOrIntAsBoolean value =
  Foreign.readBoolean value
    <|> (toBool =<< Foreign.readInt value)
  where
  toBool ∷ Int → Foreign.F Boolean
  toBool = case _ of
    0 → pure false
    1 → pure true
    int → Foreign.fail (Foreign.ForeignError ("Invalid integer: " <> show int))

isSuccessResponse ∷ ∀ a. AX.Response a → Boolean
isSuccessResponse { status } = status >= (StatusCode 200) && status < (StatusCode 400)

infix 4 eq as ≡

isMempty ∷ ∀ m. Monoid m → Boolean
isMempty = _ ≡ mempty

∷→←⇒⇐ are natively supported as operators in the compiler, but also users can define their own operators (such as ≡ for ==) (see: Lexer.hs).

Hmmm, this will be difficult. I don't think that we will be able to match the behaviour of isSymbolChar. It's possible but impractical.
Don't get me wrong, it's easy to create a regex that matches isSymbolChar:
/[:!#$%&*+./<=>?@\\^|\-~]|(?![\0-\x7F])[\p{gc=Math_Symbol}\p{gc=Currency_Symbol}\p{Modifier_Symbol}\p{Other_Symbol}]/u

But we can't use this regex. We support browsers that do not support Unicode property escapes or the u flag. "Inlining" the Unicode property escapes results in a very long regex (2.8kB):
/[:!#$%&*+./<=>?@\\^|\-~\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd\u{10137}-\u{1013f}\u{10179}-\u{10189}\u{1018c}-\u{1018e}\u{10190}-\u{1019c}\u{101a0}\u{101d0}-\u{101fc}\u{10877}\u{10878}\u{10ac8}\u{1173f}\u{11fd5}-\u{11ff1}\u{16b3c}-\u{16b3f}\u{16b45}\u{1bc9c}\u{1d000}-\u{1d0f5}\u{1d100}-\u{1d126}\u{1d129}-\u{1d164}\u{1d16a}-\u{1d16c}\u{1d183}\u{1d184}\u{1d18c}-\u{1d1a9}\u{1d1ae}-\u{1d1e8}\u{1d200}-\u{1d241}\u{1d245}\u{1d300}-\u{1d356}\u{1d6c1}\u{1d6db}\u{1d6fb}\u{1d715}\u{1d735}\u{1d74f}\u{1d76f}\u{1d789}\u{1d7a9}\u{1d7c3}\u{1d800}-\u{1d9ff}\u{1da37}-\u{1da3a}\u{1da6d}-\u{1da74}\u{1da76}-\u{1da83}\u{1da85}\u{1da86}\u{1e14f}\u{1e2ff}\u{1ecac}\u{1ecb0}\u{1ed2e}\u{1eef0}\u{1eef1}\u{1f000}-\u{1f02b}\u{1f030}-\u{1f093}\u{1f0a0}-\u{1f0ae}\u{1f0b1}-\u{1f0bf}\u{1f0c1}-\u{1f0cf}\u{1f0d1}-\u{1f0f5}\u{1f10d}-\u{1f1ad}\u{1f1e6}-\u{1f202}\u{1f210}-\u{1f23b}\u{1f240}-\u{1f248}\u{1f250}\u{1f251}\u{1f260}-\u{1f265}\u{1f300}-\u{1f6d7}\u{1f6e0}-\u{1f6ec}\u{1f6f0}-\u{1f6fc}\u{1f700}-\u{1f773}\u{1f780}-\u{1f7d8}\u{1f7e0}-\u{1f7eb}\u{1f800}-\u{1f80b}\u{1f810}-\u{1f847}\u{1f850}-\u{1f859}\u{1f860}-\u{1f887}\u{1f890}-\u{1f8ad}\u{1f8b0}\u{1f8b1}\u{1f900}-\u{1f978}\u{1f97a}-\u{1f9cb}\u{1f9cd}-\u{1fa53}\u{1fa60}-\u{1fa6d}\u{1fa70}-\u{1fa74}\u{1fa78}-\u{1fa7a}\u{1fa80}-\u{1fa86}\u{1fa90}-\u{1faa8}\u{1fab0}-\u{1fab6}\u{1fac0}-\u{1fac2}\u{1fad0}-\u{1fad6}\u{1fb00}-\u{1fb92}\u{1fb94}-\u{1fbca}^]/iu

And getting rid of the u flag will make it even longer (probably around 6kB).
That's too long. Prism language definitions are supposed to be lightweight.
Could we somehow limit the symbol used? Are there symbols that are commonly used?

As PureScript extends the Haskell syntax and Haskell has the mention of . being an issue for function composition in its comment (with . being used for records in PureScript)

Could you please give an example of this problem?

Could you please give an example of this problem?

Literally just quoting:
{
    // ...
    //
    // Most of this is needed because of the meaning of a single '.'.
	// If it stands alone freely, it is the function composition.
	// It may also be a separator between a module name and an identifier => no
	// operator. If it comes together with other special characters it is an
	// operator too.
	'operator': /\s\.\s|[-!#$%*+=?&@|~:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,
    //
    // ...
}

I get what this means, but I can't immediately follow the RegExp itself.  . <> is okay as is <>? I could be wrong, but it may be the case that this check is useless in PureScript as compose is <<< and not . like Haskell (though I and others have a Unicode alias of ∘ as is the "proper" composition operator).

That's too long. Prism language definitions are supposed to be lightweight.

I suppose a symbol expression could either be something everyone using the library could use? Maybe perhaps there's some common Unicode ranges that could suffice. I don't know what a long-term solution is though outside of fully supporting all possibilities to get good support. I put in some realish examples in my shared example from code I'm using and it definitely looks unsupported.
Looking for a actionable solutions with limitations:

support the bare minimum ∷→←⇒⇐ which are built-in to the compiler (no user definitions required)

something like one person's unicode Prelude and some basic math operators ∘×÷≡≠⫽⩓⩔∧∨↝⨁⊹ could cover a lot of basic cases.

Sorry for the delay @toastal. I made a PR (#3020) that fix this issue, I think. Could you please verify that everything works?

lgtm :+1:


Windows not responding

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:  1.78.0
OS Version: Windows 11 version 22H2

Steps to Reproduce:

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

McAfee Antivirus might be the cause. See https://github.com/microsoft/vscode/issues/178733#issuecomment-1500812938

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Grafana update

To summarize additions to the adapter:

functions can be applied to create table panels for timeseries and non timeseries data
functions can be applied to create graph panels for timeseries data only
Previously if you selected "t.trades" or "t.trades.MSFT" for your query in a table panel, this would only work if you had also selected timeserie from the response dropdown; now, if you select table, this will create a table as expected
Keyed tables can now be displayed.

Things that are not yet working/implemented:

Creating a graph from non-timeseries data is not yet implemented. Further modification of tbfunc will be needed to return the right grafana response.

For review by @FionaMorgan & @Joe-Griffiths

Thanks for neatening up, I'll let the appropriate parties comment on the functionality.

Looks good! You can squash and merge.


Update CODEOWNERS

Codeowners from Telefonica added
What type of PR is this?
Add one of the following kinds:

subproject management

What this PR does / why we need it:
Codeowners from Telefonica added.

Please make sure that the new codeowners are part of the Sub Project before merging this PR!
Both Ruben and José are not it in the moment.

Hi, in order to be able to write access to this repo Markus has commented to me to be also codeowner.
So adding myself.


Update tutorial_quantum_chemistry.py

The method has been renamed: https://pennylane.readthedocs.io/en/stable/code/api/pennylane_qchem.qchem.convert_observable.html
https://github.com/PennyLaneAI/pennylane/blob/master/qchem/CHANGELOG.md#improvements-2

It was more of a manual find (related to a user question). Hmm, that could perhaps involve some sort of parsing of sphinx directives (e.g. :func:) and checking if their names appear in the codebase as a definition? :thinking: Not sure if there would be a more sophisticated way of doing it :smile:


fix: ValueError: Expected metadatas to be a list, got ({'url': 'local'},)

Fixes #108.
Tested by using the built of the clone instead of pip in prod where I got the error.

this is a good catch @cachho


Hello,
I was just using sail, but was not able to find where to close the sail instance (docker container) without killing it via docker kill (image id). Shouldn't this be done when the app window closes?

You want sail rm.
We don't close it when the app window closes in case you're reloading and want to resume with your session intact.

Understandable, but... with code-server, you do not know the exact port (a random one is selected). How would you go about reloading?

sail ls

Ah, didn't realize that. Thanks.

Hey Robert, thanks for trying out Sail!
If you exit out of your app window, you should be able to load a new window with the running environment by calling sail run <org/repo>.
If you want a clean and new environment, you can run sail run --rm <org/repo> to remove the original container and environment, then launch into a new one.

Ah, thanks.  My bad. :eyes:! Thanks!


JSON locale files

Many translation services will provide you with data structures such as JSON or YAML. It'd be a nice addition so that this process can be automated easier.

JSON is actually supported now if thats what you are asking

https://github.com/dockyard/ember-cli-i18n#overriding-the-locale-lookup-handler


Cannot read property 'focus' of undefined

Hi just implementing react-toggle, with ES6 - import Toggle from 'react-toggle' and getting a error
-- Cannot read property 'focus' of undefined --    appears for checkbox.focus() so looks like it can't find this.refs.input
Wondering what I am doing wrong. I basically just added  on the view without passing anything.

I am facing the same issue,... can someone guide on why we are facing this?

I've just update my app to React 0.14 and I know have the same issue.
"Uncaught TypeError: Cannot read property 'focus' of undefined", source: file:///Users/Manos/Projects/gitify/build/js/app.js (4691)

Okay after some debugging I got a solution for this one:
react-toggle requires react 0.14.3 while my app was based on 0.14.2 so there was a conflict between the two versions as you can also see at https://gist.github.com/jimfb/4faa6cbfb1ef476bd105#multiple-copies-of-react
So in order to solve the problem, I updated my package.json to require react 0.14.3, removed node_modules/ and then again npm install. Hope it helps!

@ekonstantinidis I am using React 0.14.3 and still encountering this issue.

Did you try to do npm ls | grep react so you can check whether you have more than 1 version of React installed?

I did not see more than one version of React installed. However, I completely wiped my node_modules directory and ran npm install. I had some seemingly unrelated versioning issues with other packages but once I resolved everything, react-toggle now works! Note that I am actually on 0.14.6 of React.

I'm still facing this issue of loading two React versions. I'm using React 15.2.1.

Maybe you should add ref property to checkbox component.
such as <input type="text" ref="myTextInput" />

@lalexx appears to have this fixed in their branch - I wonder if they'd be prepared to make a pull request?

I also have two React version loaded at the same time because React-toggle has React as a dependency.
I suggest to set React as a peerDependency of React-toggle.

Looks like this is fixed and merged, just not published. I'll look into publishing a new version to npm this week.

this is still an issue.  did a new version get published?

No, we have a few more PRs to close before publishing the next version. I've been meaning to get too it, but have had a lot on my plate the last two weeks. I'd promise to get to it next week, but I wouldn't be able to guarantee that, but I do promise to try :)


get coordinate on click on line chart

Hi.
I made a line chart with Apex Chart, and i can't find any solution for my question.
I would like to set my chart a little interactive, ie, i would like the user to click on the chart (whatever they want), and it draws an annotation.
I know how to draw an annotation with addYaxisAnnotation, but i can't take the y value from a click on the chart.
Any idea ?

The chart.events.click will return normal event attributes, not the x/y coordinates.
Hence, it's not possible to directly get the y values from a click event.
There is another event called chart.events.dataPointSelection where the user has to click on the marker. Clicking on the marker will give you the y values or the value selected. This way it will be possible to draw annotation.

Is there a way to indirectly derive the Y coordinate that the user clicked on? In JAVA there are some way of transforming chart x, y to Plot X and Y. I am just wondering if you have ever encountered or a way to actually retrieve Y point the user clicked on? The reason Is I want a way for user to define a point which they may want to fix the chart data? or liek shlma29 said add an annotation.


Conflict between packages in the flow environment.yml

I tried to run that file : https://github.com/flow-project/flow/blob/master/environment.yml in a dockerfile and I found some conflicts packages ( see the image)

Is the version of matplotlib really important ?

No, can you submit a PR with a valid version?

this has finally been resolved


Either alert text or fix the technology so Google Workspace works Configure federated sign-in for student assigned devices

Please do one of the two following for both websites
https://learn.microsoft.com/en-us/education/windows/federated-sign-in?tabs=intune
https://learn.microsoft.com/en-us/education/windows/configure-aad-google-trust

update this documentation with a notice
update the technological solution so in some way this works such as getting windows login off of basic authentication ws-fed/ws-trust

I setup federation with Google Workspace https://learn.microsoft.com/en-us/education/windows/configure-aad-google-trust then set up the sign in https://learn.microsoft.com/en-us/education/windows/federated-sign-in?tabs=intune only to later find out it doesn't work. If there was an alert on the page others would be saved from the PITFA I just dealt with in then after thorough testing to roll everything back.

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

ID: d4889cf2-86cb-9607-32d5-2851f68f63f6
Version Independent ID: d4889cf2-86cb-9607-32d5-2851f68f63f6
Content: Configure federated sign-in for Windows devices - Windows Education
Content Source: education/windows/federated-sign-in.md
Product: windows-client
Technology: itpro-edu
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Closing as this is a duplicate


Reconnected default build task is sometimes not used

Testing #188684

Have default build task in VS Code repo running (I also installed the Java extension pack like in https://github.com/microsoft/vscode/issues/173384)
Reload window
Hit Ctrl+Shift+B a few times
:bug: get two sets of default build tasks. They are both reconnected, if I edit a file and hit save, both sets of tasks display log updates

Duplicate https://github.com/microsoft/vscode/issues/186373


test.js needs to be imported once Elm object is no longer global under node

This PR should only be accepted when and if elm-lang/elm-make#43 is. That PR adds support for node, and so the elm-io-ports code should no longer be prepended to test.js, but instead require test.js as a node module.

Is this pull request still relevant? It looks like it might be overridden by https://github.com/elm-lang/core/pull/447.


Support the Heterogenous(different type of) Intel GPU cards in the same OCP cluster

Summary
Support the heterogeneous (different) Intel GPU cards in the same OCP cluster.
Detail
In the Scenario,  When in the same cluster, different Intel GPU cards like Max-1100, Flex-140, and Flex-170 are provisioned. A mechanism should be provided for the users to pick up the proper GPU card they want to run the workloads on.
To align with the taints/tolerance mechanism from Red Hat OpenShift AI accelerator Profile, We will use the same taints/tolerance mechanism for this feature.
To properly label(taint) the nodes in the cluster automatically, we will rely on the NFD node tainting feature.
So this feature rely on issue https://github.com/openshift/cluster-nfd-operator/issues/356
Note
The feature is for the heterogeneous (different) Intel GPU cards in the same OCP cluster.
The different Intel dGPU cards in the same node are not supported.

/cc @tkatila

The different Intel dGPU cards in the same node are not supported.

This is only because of GAS support, won't rely on NFD labelling taints/tolerations, correct?
How does this align with future resource requests via DRA? It does seem divergent at first glance


New package: JuMag v0.3.0

Registering package: JuMag
Repository: https://github.com/ww1g11/JuMag.jl
Created by: @ww1g11
Version: v0.3.0
Commit: ba47df8a8861063c252a721c54962123d262bca3
Reviewed by: @ww1g11
Reference: https://github.com/ww1g11/JuMag.jl/issues/3

This looks like a very nice package, but I think you should try to find a better name without the Ju prefix (unless you can come up with an explanation where Ju doesn’t stand for “Julia”). Long and descriptive names are usually encouraged, but if you can find a nice “clever” name, that can work too.
BTW, it looks like you are trying to have some bibliographic references in the documentation. You might find the DocumenterCitations plugin useful for that.

This looks like a very nice package, but I think you should try to find a better name without the Ju prefix (unless you can come up with an explanation where Ju doesn’t stand for “Julia”). Long and descriptive names are usually encouraged, but if you can find a nice “clever” name, that can work too.
BTW, it looks like you are trying to have some bibliographic references in the documentation. You might find the DocumenterCitations plugin useful for that.

Hi Michael,
Thank you for the suggestion. However, we began this project 5 years ago, and it has already been cited in some publications, for
instance, [https://arxiv.org/abs/1906.00648]. Therefore, if possible, we would prefer not to change its name.
It seems that DocumenterCitations.jl is very helpful, we will use it in our project.
Best,
Weiwei

Unfortunately, it's not up to me. Only a full registry maintainer can override the rule for the Ju prefix. But you really shouldn't publish papers about an unregistered package. If I were a maintainer, I would not be inclined to make exceptions based on that: It's pretty unfair to other registrations. Note that if you rename the package, the link in paper will still work. GitHub automatically forwards the URLs for renamed repositories.

 If you really want to keep it, you can make the argument in the Slack channel, and see if there’s a maintainer willing to merge, after the three-day period.

Unfortunately, it's not up to me. Only a full registry maintainer can override the rule for the Ju prefix. But you really shouldn't publish papers about an unregistered package. If I were a maintainer, I would not be inclined to make exceptions based on that: It's pretty unfair to other registrations. Note that if you rename the package, the link in paper will still work. GitHub automatically forwards the URLs for renamed repositories.

I hope the package will merged automatically rather than manually, so I will follow the auto-merging rules. I am not sure if the link will work after renaming, but I guess I can create a new package.

You can follow the steps in the FAQ. Definitely use the GitHub rename feature. This will ensure that any link to the old repository will forward to the new name.
When you register the renamed package, it will create a new registration PR. Leave a comment here pointing to that new PR, and then we close this here.

You can follow the steps in the FAQ. Definitely use the GitHub rename feature. This will ensure that any link to the old repository will forward to the new name.
When you register the renamed package, it will create a new registration PR. Leave a comment here pointing to that new PR, and then we close this here.

Thank you so much. I tried my best and can not think of a better name than JuMag, so I gave up registering it, please close this PR.

Ok… maybe just give it a bit of time. As I said, this looks like a nice package, so if you can come up with a suitable name, it would be great to see it registered.


helm-service 0.9.2 crashes with OOM

I just installed helm-service on an existing Keptn 0.9.2 (also 0.10.0-next.0) installation using
helm install helm-service https://github.com/keptn/keptn/releases/download/0.9.2/helm-service-0.9.2.tgz -n keptn

And two multi-stage blue-green deliveries (dev -> staging -> prod-a, prod-b)

edit: With Keptn 0.10.0-next.0 it was harder, but I managed to do it with three parallel stages: prod-a, prod-b, prod-c
helm-service crashed after two triggered deliveries with an OOM:

How to reproduce

Install Keptn 0.9.2 with continuous-delivery
Install istio
Create a project with the following multi-stage shipyard (part of our CD integration tests): https://github.com/keptn/keptn/blob/b3cd48f5d40fc37145dccae7b279517ed6e07393/test/go-tests/continuous_delivery_test.go#L10-L119
Onboard a service (e.g., carts, carts-db, whatever...)
Trigger delivery of a service (e.g., v1)
Shortly after that (within one to three minutes), trigger another delivery (e.g., v2)

Current behaviour
It seems that the problem occurs because of the multi-stage parallel delivery in prod-a and prod-b. Once the canary deployment went through in prod-a and prod-b, we trigger another delivery.
At this point, helm-service is running the following tasks concurrently:

release v1 in prod-a
release v1 in prod-b
0.10.0-next.0: release v1 in prod-c
deploy v2 direct in dev

In the end, helm-service crashes with an OOM, loses the current state of deployment, and I have two delivery sequences that are hanging:

Expected behaviour
helm-service must not crash with an OOM and delivery sequences need to go through with a finished event.
Useful Tools

Dynatrace Monitoring
watch -n1 "kubectl -n keptn top pods --containers=true | grep helm
kubectl get event -owide (without any namespace) and look for OOM

Just tried this out with Keptn v0.10.0 - during my tests I set up my project to deploy to 3 different stages (prod-a,prod-b,prod-c) after first deploying to dev and staging. After triggering the first delivery sequence I waited ~1min before I triggered another two instances of that sequence - meaning that eventually there were 5 deployments happening by the same time. The resulting memory consumption graph of the helm service looks as follows:

Closing this issue now since the current resource limit seem to be dimensioned reasonably high to handle a number of parallel helm deployments at the same time - of course, this might need to be configured individually if there is a need for being capable of a higher number of parallel deployments, but this can be done by applying the correct values in the helm-service's helm chart


Include sources for shaded client artifact

[This is a manual PR to cherry-pick committed PR #10233 into target branch branch-1.8]

@LuQQiu is the PR in the description correct?

@calvinjia Thanks for pointing out, update the PR link now

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6816/
Test PASSed.

alluxio-bot, merge this please.


Problem installing CocoaPods on MacOS

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Try to install cocoapods via (macOS Sonoma 14.1.1 on MacBook Air and MacMini):
sudo gem install cocoapods
Actual results
It trys to install cocoapods but runs into an error because the version of ruby, that is delivered with macOS, seems to be too old for installing the latest version of cocoapods.
The solution for me was to install an older version of cocoapods which seems to be based on Ruby 2.6.* (the version macOS ist delivered with). While executing the command I was asked to install a few other things, so the final order was:

sudo gem install drb -v 2.0.5
sudo gem install activesupport -v <IP_ADDRESS>
sudo gem install cocoapods -v 1.13.0

Logs

Logs

ERROR:  Error installing cocoapods: There are no versions of cocoapods-downloader (>= 2.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for? cocoapods-downloader requires Ruby version >= 2.7.4. The current ruby version is <IP_ADDRESS>.

Flutter Doctor output
Flutter just complained that cocoapods is not installed - which actually wasn't the case

While working on flutter I also encountered the same issue recently but was able to tackle it and install cocoapods required for macOS. Can u assign me this issue? I'm sure to help you find the solution.

Thanks for your input @kaimacuser.
@kaimacuser. Can you try out https://github.com/flutter/flutter/issues/138293#issuecomment-1807079638 to see if it works in your case?

Thank you for the quick answer!
I haven't installed brew yet (I should definitely catch up)
I have found an open issue on the cocoapods GitHub
Their advise was to install a newer version of ruby.

Yeah, Let me know if it works for you.


bug report: video metadata refuses to download

also please port all the settings from open video downloader to yt-dlp-compose. i've never used the terminal app so i have no idea how this all works.

nevermind, i realize this is an alpha and look forward to the stable release. thank you for all your hard work.


Different folder and package names causes errors messages

VSCode Version: Version 1.13.1
OS Version: Ubuntu 16.04

Steps to Reproduce:

Give a name to name property of package.json
Give a different name from package name property to root folder
intellisense for Javascript will stop to work and tsconfig.json will give strange errors.

Is it intentional?
Example:
Folder structure
   -> root-folder
       -> file1.ts
       -> package.json
       -> tsconfig.json

*Package snnipet
{
   "name": "root-folder-different",
   ...
}

This issue was moved to Microsoft/TypeScript#16589


plugin: Friendly error when run without arguments

What Need Does It Address?
Users of plugins who attempt to run the plugin binary directly will get a friendly error message instead of panic and backtrace. I noticed this while repeatedly testing whether a dynamically linked plugin would work on Alpine Linux.
Before:
➜  cf-blue-green-deploy git:(master) ✗ ./cf-blue-green-deploy
panic: runtime error: index out of range

goroutine 1 [running]:
code.cloudfoundry.org/cli/plugin.Start(0x1594860, 0xc42011b560)
        /Users/dcarley/projects/gocode/src/code.cloudfoundry.org/cli/plugin/plugin_shim.go:16 +0x3bd
main.main()
        /Users/dcarley/projects/gocode/src/github.com/bluemixgaragelondon/cf-blue-green-deploy/main.go:198 +0xe9

After:
➜  cf-blue-green-deploy git:(master) ✗ ./cf-blue-green-deploy
This cf CLI plugin is not intended to be run on its own

Possible Drawbacks
None that I'm aware of.
Why Should This Be In Core?
This is core functionality used by all plugins.
Description of the Change
Returns an error message and non-zero exit code if a plugin is run with less than one argument.
Alternate Designs
I considered printing a usage message describing the required and optional arguments. I don't think this is useful for the majority of plugin users though, because they needn't know about the RPC internals of plugins and cf-cli. I think the message is appropriate, because the only time a plugin is likely to be called without any arguments is by someone running it directly from the command line.
Applicable Issues

bluemixgaragelondon/cf-blue-green-deploy#24

Thanks!
We tend to refer to the CLI as "cf CLI" or "Cloud Foundry CLI". I believe we only use "cf-cli" in package managers or ids where "cf" by itself may clash with other tools out there. Would you mind using "cf CLI" in your error message?

We tend to refer to the CLI as "cf CLI" or "Cloud Foundry CLI". I believe we only use "cf-cli" in package managers or ids where "cf" by itself may clash with other tools out there. Would you mind using "cf CLI" in your error message?

No problem. I've updated it now.

Awesome!
I'll ask my team to take a look when they come in tomorrow.


Is anyone using the Hbase Store?

We are looking to do a number of version upgrades in Gaffer 2.0 including moving to Hadoop 3. HBase does not support Hadoop 3 out the box (it needs to be built from source using a profile). If someone is using the Hbase Store, we can take steps to include it in version 2. However, if no one is using it, we would benefit from removing support for the Hbase store until HBase releases a compatible version

We use HgraphDb for graph but we have some problems(performance, no community etc.) with it. It uses Hbase for graph store. So we gained experience on Hbase and we use Hbase 2.1.
Nowadays, we test Gaffer to decide if it is right tool for us or not. If we decide to use it in production and migrate from Hgraphdb to Gaffer, we may change graph store to Accumulo. But we are not sure it can handle our critical issues that are depend on our business logic and data.

We use HgraphDb for graph but we have some problems(performance, no community etc.) with it. It uses Hbase for graph store. So we gained experience on Hbase and we use Hbase 2.1.
Nowadays, we test Gaffer to decide if it is right tool for us or not. If we decide to use it in production and migrate from Hgraphdb to Gaffer, we may change graph store to Accumulo. But we are not sure it can handle our critical issues that are depend on our business logic and data.

Thanks @rwer81
Let us know how you get on with your experiment. We have found Accumulo a highly performant store especially leveraging the iterators for business logic. We've got docker project which might be of use to you when trying it out.

Thanks @rwer81
Let us know how you get on with your experiment. We have found Accumulo a highly performant store especially leveraging the iterators for business logic. We've got docker project which might be of use to you when trying it out.

Thank for your reply. The points below may be out of subject, but I consider them to be useful considering the scope of our conversation.
Our special cases;
1- We have 1PB of linked data and it grows by about 1TB daily. It has to handle this traffic.
2- There are some super-vertices that may have +1 million edges, so we limit edges when traversing.
3- There are a lot of DML operations on data. These operations are happening in real-time.
4- 90% of our data consists the same edge. So, edge sharding/distributing is important.
5- Generally, We are creating the ID of edges manually. We use these IDs in upsert operations. When inserting data via bulk-loading, HBase overwrites keys, so that we don't have to check whether the key exists or not. This method improves loading performance in some specific cases.
6- We don't store vertex properties in graph-for now, they are stored at ElasticSearch-. For that reason, we are focused morely on traversals in graph. There are cases which requires us to execute 4-depth traversals.
It would be greatly appreciated if we could use some of your insight and help during our experiments.
Thanks.

Thank for your reply. The points below may be out of subject, but I consider them to be useful considering the scope of our conversation.
Our special cases;
1- We have 1PB of linked data and it grows by about 1TB daily. It has to handle this traffic.
2- There are some super-vertices that may have +1 million edges, so we limit edges when traversing.
3- There are a lot of DML operations on data. These operations are happening in real-time.
4- 90% of our data consists the same edge. So, edge sharding/distributing is important.
5- Generally, We are creating the ID of edges manually. We use these IDs in upsert operations. When inserting data via bulk-loading, HBase overwrites keys, so that we don't have to check whether the key exists or not. This method improves loading performance in some specific cases.
6- We don't store vertex properties in graph-for now, they are stored at ElasticSearch-. For that reason, we are focused morely on traversals in graph. There are cases which requires us to execute 4-depth traversals.
It would be greatly appreciated if we could use some of your insight and help during our experiments.
Thanks.

Your scale shouldn't be a problem as Accumulo is capable of scaling to that kind of size. You could use something like Spark or AddElementsFromHDFS to deal with your data ingest. To limit your edge traversal, we'd recommend using HyperLogLogSketches as a property on an entity as it can be easily generated and aggregated. Gaffer offers its sketches library to help with this. The bulk import capability in Accumulo should work similar to hbase, avoiding the query-update-put sequence.

Your scale shouldn't be a problem as Accumulo is capable of scaling to that kind of size. You could use something like Spark or AddElementsFromHDFS to deal with your data ingest. To limit your edge traversal, we'd recommend using HyperLogLogSketches as a property on an entity as it can be easily generated and aggregated. Gaffer offers its sketches library to help with this. The bulk import capability in Accumulo should work similar to hbase, avoiding the query-update-put sequence.

Thanks for your explanation.
You encouraged me to use Gaffer. I continue to test.
I conclusion, If we decide to use Gaffer, we use Accumulo presumably.

Thanks for your explanation.
You encouraged me to use Gaffer. I continue to test.
I conclusion, If we decide to use Gaffer, we use Accumulo presumably.


Update cabal-doctest.cabal

Bump upper Cabal dependency version

As it turns out, GHC HEAD now depends on a newer version of Cabal which doesn't currently build with the latest cabal-doctest on Hackage (1.0.3). In the meantime, I've submitted a patch at head.hackage.

Superseded by https://github.com/phadej/cabal-doctest/pull/36.


Make address translation happen only upon opening new connection

Motivation
The logical route to a node being subject to address translation might undergo frequent changes. For instance, an IP of a proxy that the node resides behind may change. The user-provided AddressTranslator instance may handle this situation correctly, and this is good. However, the driver's implementation forces Node struct to be immutable, disallowing for adjusting the change inside Node.address field. To mitigate the problem, we recreate the Node instance if its translated IP changes. This necessarily leads, however, to recreation of the whole NodeConnectionPool and establishing all connections once again.
The issue is especially detrimental in case of Serverless, where a new DNS query is issued for each peer upon Metadata query, in order to get current address of proxy in the node's DC. Then, we likely receive a different IP each time (thanks to DNS round robin, for example), which leads to the recreation of node connection pool described above. This behaviour was observed during tests on serverless cluster.
Proposed solution
Move address translation from Metadata query (query_peers()) to PoolRefiller::start_opening_connection(). This way, Node struct will not require any alterations if only a translated address changes.
In case of Serverless, a proxy of one DC will have a single NodeConnectionPool and PoolRefiller, which will contact it through possibly multiple IPs.

Work on this is being done, a PR will be opened shortly.

@wprzytula quick question - if DNS returns multiple address (and indeed, in different order), shouldn't we walk over all addresses and store them?

@wprzytula quick question - if DNS returns multiple address (and indeed, in different order), shouldn't we walk over all addresses and store them?

We could, but how would we benefit from it?

@wprzytula quick question - if DNS returns multiple address (and indeed, in different order), shouldn't we walk over all addresses and store them?

We could, but how would we benefit from it?

You'd connect to all its IPs, instead of only some of them? (long term, MPTCP could be cool, but that's futuristic)


Nightly flake job names were invalid

Codecov Report

Merging #10646 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #10646      +/-   ##
==========================================
- Coverage   60.63%   60.62%   -0.02%
==========================================
  Files         583      583
  Lines       31548    31551       +3
  Branches     4487     4487
==========================================
- Hits        19130    19127       -3
- Misses      11446    11450       +4
- Partials      972      974       +2

Impacted Files
Coverage Δ

src/client/common/utils/localize.ts
95.19% <ø> (ø)

src/client/telemetry/index.ts
87.38% <ø> (ø)

src/client/datascience/constants.ts
99.71% <100.00%> (+<0.01%)
:arrow_up:

src/client/datascience/gather/gather.ts
34.84% <100.00%> (+2.03%)
:arrow_up:

src/datascience-ui/react-common/arePathsSame.ts
75.00% <0.00%> (-12.50%)
:arrow_down:

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
: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 7f24ef7...84bc80e. Read the comment docs.


Adding actions to the Visit method

I have a case where I need to add several cookies to the browser before tests run.
This cannot be added into the Hooks, because it has to occur after the website under test loads.
I dont see anywhere I can add this in besides jamming it into every pageobject which would be really ugly.
The only common place i can see to put it would be within the Visit call.

@Githraine , sorry for not having a response for so long. Is this still an issue for you?
Maybe I'm mis-understanding the problem, but couldn't you set the cookies where you initialize the browser?

Jo, thank you.  We found a way to make this work.  Thanks.


Opinionated library cleanup

Since we're already making breaking changes to the v7 release, I thought I'd go all out and introduce more breaking changes that I think should be made.
Some changes are very opinionated, and I am 100% open to not making them at all.
Having said that, allow me to elaborate on the specific breaking changes:

IsLocal is now a private method because I don't think we should expose this logic to developers, and we should only use it for the library itself.
HttpStatusCodeResult class has been deleted because ASP.NET and ASP.NET Core both provide an identical implementation of this class, which is now used in the request validation attribute.
TwiMLResult now only accepts TwiML, and no longer accepts string or XDocument. If users of the library generate their own string or XDocument, I think they should use different action results that are already available in the framework.

The remaining changes are non-breaking, only style and documentation changes.
Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

I agree, I'll provide guidance on how to use the XDocument and string approach.


Adding Issue/Bug template.

Adds a template for issues and bugs, i've disabled blank issues for now.

Thanks for the fix!


Enable JDK matrix in Travis

Can (a part of) NetBeans be built on JDK11? Trying to find out...

It seems that rat report has /home/jenkins/jenkins-slave/workspace/incubator-netbeans-linux/platform/libs.javafx/external/lib-javafx-13.03-beta.nbm

Shouldn't jdk-8-check be removed from nbbuild/templates/projectized.xml for this to work?


ios not working

hello friends
i tried for ios but not getting notification.
any special setting i have to do ?
i already set notification mode on and added certificates into app for GCM and its working fine.

I'm curious about this issue as well. Any updates?

Its working with me now

Closing as it's working.


Update some ZE GIF files to be more current

Describe your pull request here:
Updates some Zowe Explorer Gifs to be more current
List the file(s) included in this PR:
ZE-Configuration2.gif
ZE-copy-member.gif
ZE-cre-pds-member.gif
ZE-del-pds-member.gif
ZE-download-edit.gif
ZE-mult-profiles.gif
ZE-show-attributes.gif
ZE-submit-job.gif
After creating the PR, follow the instructions in the comments.

It appears the link checker is failing because the domain asarkar.org no longer exists (expired April 14, 2024) and it is referenced in the APIML doc docs/extend/extend-apiml/onboard-direct-eureka-call.md

It appears the link checker is failing because the domain asarkar.org no longer exists (expired April 14, 2024) and it is referenced in the APIML doc docs/extend/extend-apiml/onboard-direct-eureka-call.md

@janan07 -- FYI


ENV variables passed from docker-compose to php-fpm not exposed

Something in your docker-compose.yml like...
api-php:
    image: phalconphp/php-fpm:7
    container_name: api-php
    environment:
      - DB_HOSTNAME=somehostname
      - DB_PORT=3306
      - DB_DB_NAME=SomeDbName
      - DB_USERNAME=SomeUser
      - DB_PASSWORD=SomePassword

Won't be available in PHP, i.e.:
print_r($_ENV);
is empty.
PHP-FPM requires clear_env = no to be set. See how it is set here, for the same reason:
https://hub.docker.com/r/phpdockerio/php7-fpm/~/dockerfile/
Suggest adding this to your repo, impossible to use as-is.

A lot of of the Docker images located in the phalconphp/dockerfiles repository are educational and/or experimental. In addition, these Docker images need a maintainer as well as constant updating. We would like to leave in this repository only those Docker images that we need to build DEBs and RPMs: https://github.com/phalcon/dockerfiles/tree/master/build  I recommend you to create your own Docker images that meets your needs. Please feel free to ask any questions regarding creating own Docker images.


Proposal: support embedded protos for literal serialization

Literals in RDF can sometimes store quite a lot of data by themselves, which can bog down the serialization, transmission, and parsing if not done efficiently. Examples of this are:

With RDF 1.2, we will get the new rdf:JSON datatype for JSONs.
The recent CDT proposal includes datatypes for lists and maps.
GeoSPARQL uses the geo:wktLiteral which typically contains lists of numerical data (potentially very long).
RDF 1.1 includes the xsd:hexBinary and xsd:base64Binary datatypes that inefficiently encode binary data as ASCII strings.
RDF 1.1 contains numerical literals (e.g., xsd:double) possibly could be represented more efficiently as bytes.

In all of these cases, the data in question could be represented more efficiently, if a binary format was used. Note that this would not make sense in every possible use case, as Jelly uses the lexical space of literals for reason. Many RDF libraries will simply refuse or make it very hard to work with the value space of the literal directly, instead of the lexical space. Additionally, lexical<->value space conversions are already included in these libraries, and we don't have to reimplement them, which would surely introduce many bugs. This is the reason why Jelly currently doesn't use value encodings for numerical datatypes.
However, in some cases (e.g., when transmitting data from IoT sensors), such specialized encodings would make a lot of sense.
Scope:

As this feature is expected to be applied on a case-by-case basis, it should be designed in such a way that the information about how the literal is encoded should be included in the stream itself.

The RdfDatatypeEntry would be extended with an optional field that would specify how to parse fields with this datatype. This information could be for example a string with the fully-qualified named of a Protocol Buffer that should be used to read the binary data.
If the consumer doesn't have a matching decoder registered, it can simply throw an error and refuse to read the message.

The lex field of RdfLiteral should be changed to be of type bytes instead of string.

This is a backwards-compatible change, because these two types are encoded exactly the same in Protobuf.
If there is no registered handler for the datatype in question, the lex field would be treated as UTF-8 (as normal).
If there is a matching handler, the consumer should read the field tag to get the size of the field and hand off parsing to the registered handler. The handler is informed how many bytes it should read (we know it from the tag). After it finishes parsing, the main consumer code resumes work.
During serialization, this will require the handlers to inform the producer how many bytes do they intend to use to encode the field, so that the field tag can be written correctly. This may be a tricky performance problem (see below).

In principle, the datatype handlers could be any code (including a raw byte array copy). I think we should make it RECOMMENDED that the handler name is the FQN of a protobuf message that should be read/written without delimiting (the delimiter is already present in RdfLiteral).

Implementation & performance:

This feature should be disabled by default, because it relies on the consumer having available the specific datatype handlers. In Jelly-JVM, this should only be enabled per-datatype when the user requests it explicitly.
The producer/consumer hand-off should be doable, but may require some digging in the protobuf library internals to realize well.

The simplest solution is to simply buffer the entire literal in a byte array and later parse it from memory. This would work, but would absolutely kill the performance for very large literals (e.g., several MB).
A better solution would be to create a "child" byte stream that is only able to write/read a walled-off portion of the main byte stream. I'd have to do some prototyping to see how elegant could we make this. Is there any prior work on dynamic nesting of protos?

In serialization we may have the problem that the length of the nested message must be known ahead of time. This will range from "easy" to "very hard" depending on the data in question, and may potentially be a large performance problem.

In practice, we will have to run something like computeSerializedSize just like Protobuf does before the actual serialization.
Tricks like rewinding the output stream to update the size will not help. This would require buffering everything written, at which points it's simpler to just write the nested message to a byte array.

The resulting proto will be limited to 2GB in size by most protobuf implementations (int32 addressing, I guess). I don't think it's a huge problem...
As a guiding scenario for exploring the performance issues, let's use this: In the RDF stream have a literal of size 100MB which is just a binary blob. Upon receiving the blob, we want to stream it directly to disk, without storing the thing in RAM.

One thing came up when I discussed this with someone else – for this to work, the consumer would have to FIRST read the datatype field in RdfLiteral, and then the content of the field. This is tricky, because protobuf allows fields to be serialized in any order, and one field can even be repeated multiple times – in that case, the last occurrence is the one that should be used. If we kept this approach, it would have the following consequences:

"Naive" implementations would have to always buffer the byte content of the literal, which would incur a performance penalty.
To get better performance, it would be required that the producer saves the field in a specific order (which would most likely require modifying the protoc-generated code, so "meh"), and the consumer would also require similar adjustments in protoc-gen'd code.

I'm not sure if it's such a good idea, as this leaves you with the choice of either sacrificing performance or maintainability.
One alternative I could think of is to place the binary blob in a subsequent RdfStreamRow, and only leave a small binary mark in RdfLiteral that the blob is there.

Regarding the SOTA of this, I only found this: https://protobuf.dev/programming-guides/proto3/#any https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/any.proto
It's a somewhat similar idea, but it would require us to specify the nested message FQN with every literal... which is not very efficient, to say the least. It also suffers from the same field ordering issue that I outlined above. So, as far as I understand the protobuf-java code, the implementation simply reads the entire nested message into a byte buffer and then parses it from memory. Not great.
Note that the FQNs in Google's Any message are URLs to allow for dynamic fetching of protos and binaries to decode them... which sounds like a security nightmare. Let's NOT do this.

Open question: how to handle compatibility negotiation in the gRPC pub/sub protocol?
Maybe we could add an optional field to RdfStreamOptions that lists all supported datatype IRI -> binary handler mappings? This would also be possible to include in other contexts, as an entirely optional thing.

We should also gather the information on the FQNs used by the community in the wild and how should they be interpreted. Something similar to this: #15


Implement multi-master mode

Support multi-master mode in afl-multicore.
Replace slave_only=<bool> in config file with master_instances=<int>

master_instances not specified in config: default to single master mode
master_instances = 0: slave only mode
master_instances = 1: single master mode
master_instances > 1: multi-master mode

After testing this in two fuzzing projects I can confirm that the changes are working as expected. Another fuzzing project is finished and another one is still processing, but zero problems regarding afl-utils.


Not enable to view the image after upload

Hello,
In trying to test this framework with php. The upload is running and the image dialog box close normally. The image file is save in the server. It's OK.
But the image is not visible. In the source code, the width and the height are not transmit.
I've try to delete all unneeded js/css file but I've the same issu : image do not appear.
I've take the last version, follow the instructions on this page : http://getcontenttools.com/tutorials/handling-image-uploads but nothing....
Here is my online code : http://portekoi.com/contentools/
My "form.php" php file :
$postData = $_FILES;
$target_dir = "";
$temp_file = $target_dir . basename($_FILES["image"]["name"]);
$uploadOk = 1;
$imageFileType = pathinfo($temp_file,PATHINFO_EXTENSION);
$file_name = "";
$file_name = basename($_FILES["image"]["name"], "." . $imageFileType) . "-" . rand(0, 10000) . "." . $imageFileType;
$target_file = $target_dir . $file_name;
// Check if image file is a actual image or fake image
if(isset($_POST["submit"])) {
    $check = getimagesize($_FILES["image"]["tmp_name"]);
    if($check !== false) {
        echo "File is an image - " . $check["mime"] . ".";
        $uploadOk = 1;
    } else {
        echo "File is not an image.";
        $uploadOk = 0;
    }
}
// Check if file already exists
if (file_exists($target_file)) {
    echo "Sorry, file already exists.";
    $uploadOk = 0;
}
// Check file size
if ($_FILES["image"]["size"] > 1500000) {
    echo "Sorry, your file is too large.";
    $uploadOk = 0;
}
// Allow certain file formats
if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg"
&& $imageFileType != "gif" ) {
    echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed ==> " . $imageFileType;
    $uploadOk = 0;
}
// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
    echo "Sorry, your file was not uploaded.";
// if everything is ok, try to upload file
} else {
    if (move_uploaded_file($_FILES["image"]["tmp_name"], $target_file)) {

        $arr = array('size' => array('width' => 600, 'height' => 400 ), 'url' => 'http://www.portekoi.com/contenttools/'.$file_name.'');
        echo json_encode($arr);

    } else {
        echo "Sorry, there was an error uploading your file.";
    }
}

and my save php file :
$items = list($width, $height) = getimagesize($_POST['url']);

$arr = array('url' => $_POST['url'], 'width' => $_POST['width'],
 'alt'=> "Image", 'size' => array('width' => $items[0], 'height' => $items[1] ));
echo json_encode($arr);

Sample result in json :
{"url":"http:\/\/portekoi.com\/contentools\/test-2703.jpg","width":"600","alt":"Image","size":{"width":775,"height":587}}

Can you help me?
I've done something wrong maybe but I don't know what.

I've found my mistake. In the save.php, change this :
$arr = array('url' => $_POST['url'], 'width' => $_POST['width'],
 'alt'=> "Image", 'size' => array('width' => $items[0], 'height' => $items[1] ));

by this :
$arr = array('url' => $_POST['url'], 'width' => $_POST['width'],
 'alt'=> "Image", 'size' => array($items[0], $items[1] ));

Hi @Portekoi thanks for updating the issue and letting me know and sorry I hadn't gotten around to answering the question sooner.

Hi @anthonyjb thanks for your reply. No problem. I really want to use your project but my interface is using bootstrap and as you can see on this link, http://portekoi.com/contentools/ , if you edit the button "view detail", you lost the Bootstrap style button :(
So, i don't know how to do that. Thanks again. Really nice work.

Hi @Portekoi can you explain the issue you're having a little further, I managed to edit the content s without too much issue:

Having said that if you remove all content from the button then it will disappear, one way to solve this is to add a style to the editor for the button (http://getcontenttools.com/getting-started#configure-styles) so that user can convert the block to a button (rather than an inline element).

It's ok with the lastest version.


Make Jest’s Test Runner configurable.

Summary
This change adds a runner option to ProjectConfig that points to jest-runner but can be customized per project to any test runner. To ensure performance doesn't suffer with this new feature when using the MPR, multiple contexts that point to the same runner are merged and tests are run in the same runner instance, rather than creating a new instance per context. This means that there should be no performance penalty for existing MPR projects.
This is conflicting somewhat with the testRunner option that allows to pick jest-jasmine2 or jest-circus, however in this new world ProjectConfigs will be entirely jest-runner specific and variadic, and out of Jest's immediate control, so I don't think this matters long term and there are pending changes to be made to configs to support that. I think it makes more sense to consider this option the runner, add an option library (for lack of a better name) which replaces testRunner. I think we can make this decision later and I expect there to be more runners than testRunners going forward, so we may even want to kill the setting entirely and make the runner as compose-able as possible.
Test plan
jest + manual verification that it only creates one runner for the MPR right now.

You need to update the config snapshot


Error while using SSM Paramater store in URL

I'm currently using MSK Config Providers 0.1.0 along with Mongo Kafka Connector 1.10.0 to create my custom plugin in AWS MSK Connect.
When deploying the MSK connector and providing the mongodb connection.uri in plain text I have no issues and the connector comes up and working perfectly fine between AWS MSK and AWS DocDB.
However, when inputting the MongoDB credentials using SSM Parameter store (created as Type secureString) the connector is failing.
My relative code snippet is:
connector.class=com.mongodb.kafka.connect.MongoSinkConnector
config.providers=ssm
config.providers.ssm.param.region=us-east-1
config.providers.ssm.class=com.amazonaws.kafka.config.providers.SsmParamStoreConfigProvider
connection.uri=mongodb://myuser:${ssm::/docdb/mypassword}@myhost:27017/?ssl=true&retryWrites=false

The error I'm getting is:
There is an issue with the connector
Code: InvalidInput.InvalidConnectorConfiguration
Message: The connector configuration is invalid. Message: Connector configuration is invalid and contains the following 1 error(s):
Invalid value mongodb://myuser:${ssm::/docdb/mypassword}@myhost:27017/?ssl=true&retryWrites=false for configuration connection.uri:
The connection string contains an invalid host 'myuser:${ssm::'. Reserved characters such as ':' must be escaped according RFC 2396.
Any IPv6 address literal must be enclosed in '[' and ']' according to RFC 2732.

I've ran loads of tests trying to wrap up the mongodb connection string in SSM but I was getting pretty much the same error.
Any help would be much appreciated.

thanks for your question, I will need to change the documentation. Config providers need to be defined in the worker config and not in the connector config. then connection.uri will be working properly.

That's true! It works if it defined in worker configuration.

the documentation has been updated to mention that for MSK Connect, the providers needs to be configured in the worker configuration rather than connector config.


Can disque handle RPC?

I have created a node client which is disqueue-node. I have implemented a RPC. My concern is that I have achieved this using 3 tcp connections for request, response and replyQueue. In the reason that get jobs waits until it gets jobs then hangs up the rest of the commands. Do you think it can be achieved using 1 tcp connection?

Hello, for Disque general questions are handled via Stack Overflow. Please could you send your question there, tagged disque, and ping me here when you did? I'll reply promptly. Thanks.

Hi, heres the stackoverflow question

Thanks @gideonairex I just replied.


Add support for passive joints - joints with only state interfaces

The PR if functional but the code is not tested against all use cases, especially those with mimic joints.
I don't think there are any issues, but this changes has to be extensivelly tested before merging.

I tested this successfully with the basic examples in this repo, but what is the goal of this change @destogl? Passive joints with state interfaces only worked already before?

I tested this successfully with the basic examples in this repo, but what is the goal of this change @destogl? Passive joints with state interfaces only worked already before?

This PR separates commanding and state joints. The issue I was having was crashing of plugin when joint didn't have command interfaces, but only state interfaces. But you said this was working… Have to test this again then. I was using Gazebo Sim later for the project, so I am not sure anymore what the exact details behind it.

See #172 : This is the way I used it since foxy up to now.. Never had problems with that.


Crash in WebView when clicking links

Almost certainly related to #1502:
Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   Slack Framework               	0x0000000104bd9cc9 atom::api::WebContents::TitleWasSet(content::NavigationEntry*, bool) + 41
1   Slack Framework               	0x0000000104bd9d00 non-virtual thunk to atom::api::WebContents::TitleWasSet(content::NavigationEntry*, bool) + 16
2   Slack Framework               	0x00000001053e6a0d std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 7837629
3   Slack Framework               	0x00000001053e9494 std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 7848516
4   Slack Framework               	0x00000001051e81a0 std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 5746512
5   Slack Framework               	0x000000010530ca09 std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 6944697
6   Slack Framework               	0x00000001058311c8 _CTFontManagerUnregisterFontForData + 2875336
7   Slack Framework               	0x0000000104cc16f8 std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 345256
8   Slack Framework               	0x0000000104ce055f std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 471823
9   Slack Framework               	0x0000000104ce0968 std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 472856
10  Slack Framework               	0x0000000104cb9451 std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::__swap_out_circular_buffer(std::__1::__split_buffer<unsigned short, std::__1::allocator<unsigned short>&>&, unsigned short*) + 311809
11  com.apple.CoreFoundation      	0x00007fff8c511a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

Can you provide a small crashing example, unable to reproduce it. Although the cause is NavigationEntry returned null here . Just want to know which case causes it before writing the patch :)

@deepak1556 It seems intermittent, it's not immediately on every link, but it seems basically guaranteed to happen after about 2-3mins or so. I don't have a repro example, my repro steps in the Slack Electron app are:

Open the app
Hit Cmd-Left Arrow by accident, which ends up refreshing the page
Keep using the app, eventually click a link
Kablooey


Proposal: Declarative Build Strategy with Mustache Template

Description
While I was working on #12 and #14, I noticed that there was an opportunity to utilize a template-based build strategy instead of relying on string manipulation & concatenation as of now. This PR implements that. Please note that it changes the codebase significantly and I hope that doesn't come across as too ignorant. Happy to respect whatever decision you make as code owner.
As for benchmark, this new build strategy does not provide, nor aim at, any improvement over speed...
CPU | Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
Runtime | Deno 2.1.1 (x86_64-unknown-linux-gnu)

benchmark   time/iter (avg)        iter/s      (min … max)           p75      p99     p995
----------- ----------------------------- --------------------- --------------------------
old build           32.1 ms          31.1 ( 28.9 ms …  35.1 ms)  32.9 ms  35.1 ms  35.1 ms
new build           31.8 ms          31.5 ( 29.4 ms …  33.9 ms)  32.5 ms  33.9 ms  33.9 ms

summary
  old build
     1.01x slower than new build

View benchmark script
import * as path from 'jsr:@std/path';

Deno.bench('old build', { baseline: true }, async () => {
	await new Deno.Command('deno', {
		args: ['task', 'run', 'build'],
		cwd: path.resolve(import.meta.dirname ?? '', '../<path_to_git_worktree_at_main_branch>'),
	}).output();
});

Deno.bench('new build', { baseline: true }, async () => {
	await new Deno.Command('deno', {
		args: ['task', 'run', 'build'],
		cwd: path.resolve(import.meta.dirname ?? '', '../<path_to_git_worktree_at_pr_branch>'),
	}).output();
});

... but rather tries to make the codebase more maintainable down the line.
Quick Overview of Build Strategy
The build routine takes a list of configs, each essentially maps templates to corresponding build targets. All configs share the same interface.

In general, I like the idea of using templates. It should make it easier to add more build targets.
One thing, could you please move snapshots back to their folder - it makes things easier to review.

@11bit no problem. Do you prefer to co-locate the test file right next to source file as well? Although there are some tests that do not correspond to one specific source file so those will stay in the tests folder.

Yep, I prefer to colocate them. Thanks!

@11bit fixed via https://github.com/evilmartians/harmony/pull/16/commits/6091caf63c69f05e3e3397eb550469d6fd7fef7d. Let me know if that's good. Thanks a lot!