Plugin doesn't seem to be listed?

Please excuse me if I am making a really basic beginner error, but I am unable to get Dialogic to show up as a plugin in Godot! I have followed the documentation -- i.e. opening a new project, then downloading the zip, unzipping it and copying the 'addons' folder over to my empty Godot project, then checking in Project Settings>Plugins -- but Dialogic isn't listed there as a plugin to enable?
I have tried both the very latest build (0.8) and also v0.7 and it's not showing up in either.
I'm using Godot 3.2.3 on a Mac (Catalina 10.15.6).

Ah .. I seem to have it working now! I don't know if I was doing something incorrectly, but by creating my own 'addons' folder in my project rather than dragging in the existing one, it seems to be showing up as a plugin that I can enable now. Sorry for cluttering up your GitHub issues with such a basic thing - I was just excited to dive in with Dialogic because it sounds perfect for my project! :)

Ah .. I seem to have it working now! I don't know if I was doing something incorrectly, but by creating my own 'addons' folder in my project rather than dragging in the existing one, it seems to be showing up as a plugin that I can enable now. Sorry for cluttering up your GitHub issues with such a basic thing - I was just excited to dive in with Dialogic because it sounds perfect for my project! :)

no worries! glad you were able to resolve it. I'll try to reproduce it and see if I can update the readme. Once Dialogic gets to the Godot AssetLib it will probably be easier to install

no worries! glad you were able to resolve it. I'll try to reproduce it and see if I can update the readme. Once Dialogic gets to the Godot AssetLib it will probably be easier to install


Odd Error With Lastest Windows EXE ? - "unable to unmarshal config values error"

I downloaded the latest Windows EXE and placed into its own directory.. however, it's generating the following error:
C:@DMARC\Test>dss-windows-amd64 scan globalcyberalliance.org github.com google.com -f CSV
2024-08-28T14:09:54-04:00 FTL unable to unmarshal config values error="yaml: unmarshal errors:\n  line 1: cannot unmarshal !!str <IP_ADDRESS> into []string"
Prior DSS EXE downloaded from Jan 2024 is working well wtih the following command to process a file of domains:
$ dss.exe scan < domainsin.csv -fCSV -t120 -n<IP_ADDRESS>,<IP_ADDRESS> > results.csv
Could you please advise how best use the latest DSS working in a simliar manner?

Hi @OrlandoMD, I'm out of the office this week so am unable to look into this properly, but I believe your issue can be fixed by deleting the following directory on your system (which will wipe your existing config file for DSS):
~/.config/domain-security-scanner

On Windows, the full path would look like:
C:\Users\YourUser\.config\domain-security-scanner

Hello - thank you, that cleared up the error message, and is working fine except for -f CSV option.
Could you please further advise on the very handy, prevously available CSV output formatting option ?

@OrlandoMD my apologies for taking so long to get around to this! I was on holiday when you initially opened the issue, and promptly forgot about it. I found the bug preventing -f csv from working, and so you should be good to go now.
Please re-open if you continue to experience issues. Thank you!


vesktop: 0.4.2 -> 0.4.3

Description of changes
https://github.com/Vencord/Vesktop/compare/v0.4.2...v0.4.3
I feel like at this point I'm maintaining this package more than the actual maintainers I'll just add myself as a maintainer I guess
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Maybe don't merge until #265108 is merged for now.

Ah, I accidentally used alejandra on this repo... Istg lemme fix this rq

A couple of force pushes later... There, all good now


Use DNS name from the Service instead of the Pod IP

I've a PodMonitoring resource using mTLS to authenticate to an application, the issue is that GMP is using the IP address of the pod to call the application but the IP is not in DNS names of my certificate.
Get "https://<IP_ADDRESS>:8443/nifi-api/flow/metrics/prometheus": tls: failed to verify certificate: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs
Is there a way to make it call the DNS name of the Service exposing the pod instead of the  IP address?

Thanks for the bug report! If you were using vanilla Prometheus, you may be able to use a relabel config. Replace __address__, changing only the hostname and keeping the URL path and port numbers.
Unfortunately, it seems like GMP forbids replacing the special __address__ label (see documentation https://github.com/GoogleCloudPlatform/prometheus-engine/blob/main/doc/api.md#scrapeendpoint). GMP tries to be opinionated to prevent footguns.
In this case, I can envision something like this becoming a flag in the future, where setting it automatically adds the relabeling config.


Calico/VPP NSM integration

Calico allows for a choice of dataplanes.  VPP is one of them.
Normally cmd-forwarder-vpp, normally cmd-forwarder-vpp starts its own instance of vpp in its own Pod.
In response to a request for integration between NSM and Calico/VPP, the process for integration was described.
This issue is about actually trying (and shaking the bugs out of) such integration.
This breaks down into a number of steps:

[ ] Calico/VPP NSM integration testing on kind
[ ] Calico/VPP NSM integration testing on gke
[ ] Calico/VPP NSM integration testing on aks
[ ] Calico/VPP NSM integration testing on aws
[ ] Calico/VPP NSM integration testing on packet
[ ] Calico/VPP NSM integration testing on packet with Calico/VPP binding to the interface with vfio.

This fix is needed for Calico/VPP to work in Kind:
https://github.com/projectcalico/vpp-dataplane/pull/204
Even though that PR has not been merged, the docker images have been pushed and these steps should work:
https://github.com/projectcalico/vpp-dataplane/pull/204/files#diff-9004d08acd588e7b7e93a8ff6fbe357d4eba3adc003d48ab4b7bed0186af1a11R1

Hi @edwarnicke , just an note that testing the integration in GKE will be complex at this stage, because we haven't found a way to override the default CNI in GKE, so Calico/VPP doesn't work there for now.
Also, why are you making a difference in the last two steps between Calico/VPP owning or not the main interface? Calico/VPP has relatively strong assumptions that it owns the main interface (= the interface that has the k8s Node address). Giving Calico/VPP an other interface will likely result in a non-functional cluster. As a side note, we are starting to look at giving more than one interface to VPP in a Calico/VPP deployment, but that isn't supported yet.

Also, why are you making a difference in the last two steps between Calico/VPP owning or not the main interface? Calico/VPP has relatively strong assumptions that it owns the main interface (= the interface that has the k8s Node address). Giving Calico/VPP an other interface will likely result in a non-functional cluster. As a side note, we are starting to look at giving more than one interface to VPP in a Calico/VPP deployment, but that isn't supported yet.
@AloysAugustin You are correct, I should have phrased the last one differently.  I was thinking in terms of 'attaches to the interface with vfio' vs 'attaches to the interface with AF_XDP'... the idea being to attach with the highest performance option.

Ah, sounds good then :+1:

Calico uses VPP v21.xx, so probably we need to first update used VPP version in Forwarder and after make a new try:
https://github.com/networkservicemesh/cmd-forwarder-vpp/issues/284

@edwarnicke
We are still facing issues with with VPP/govpp versions used in Calico and used in VPP Forwarder. Currently to make it work I need to:

Build special Calico version with all our VPP patches applied - https://github.com/Bolodya1997/vpp-dataplane/blob/nsm/vpplink/binapi/vpp_clone_current.sh
Replace github.com/edwarnicke/govpp/binapi with github.com/projectcalico/vpp-dataplane/vpplink/binapi/vppapi in VPP Forwarder.

Probably [2] step is not actually needed and can be fixed with changing used govpp version in [1] - needs to be tested.
But it actually looks like if we want to support such integration, we need to provide Calico images, k8s configuration files.
Is it OK?

[ ]  Calico/VPP NSM integration testing on packet

Failing to start k8s cluster with Calico on packet, so created an issue to the Calico team - https://github.com/projectcalico/vpp-dataplane/issues/217.

[ ] Calico/VPP NSM integration testing on gke
[ ] Calico/VPP NSM integration testing on aks

Vladimir Popov Yesterday at 5:38 PM
---
Hi, I am trying to use vpp-calico with different cloud providers: [AKS, GKE, AWS].
On project wiki I have found page only for AWS integration. Does it mean that [AKS, GKE] currently can’t
be configured to use vpp-calico?

Aloys Augustin  2 hours ago
---
Hi Vladimir, at this point only EKS is officially supported.  We're working on AKS support which may come
in the near future. GKE is less likely to be supported soon because GKE doesn't allow to swap the CNI,
however there is always the option to deploy a self-managed cluster on google cloud as well.

@edwarnicke
Looks like it can be hardly possible to test NSM with Calico VPP on GKE, AKS.

[x] Calico/VPP NSM integration testing on packet with Calico/VPP binding to the interface with vfio.

Used https://docs.projectcalico.org/reference/vpp/uplink-configuration Using DPDK -> With available hugepages. @edwarnicke is it exactly what you mean by binding interface with vfio?
All basic scenarios except Memif2Memif currently work. Tested additionally with Vfio2Noop scenario to make sure that there is no problem with VFIO - also works well.

[x] Calico/VPP NSM integration testing on aws

Tested with the abstract sockets solution. All basic scenarios except Memif2Memif currently work.

@edwarnicke
Do we want to have any CI running for this issue?

Yes

@edwarnicke
Please, take a look at the following schemes and algorithms. Are all of them OK or do we need something to be implemented in some other way?
Node scheme

VPP Forwarder uses node VPP instance aka Calico VPP.
NSC, NSE uses their own VPP instances.

memif to xxx

NSC requests Forwarder for a memif connection.

netns file

Forwarder requests NSE (probably remote over remote Forwarder) and creates a NSE-side connection.
Forwarder requests VPP to create a memif server socket.

abstract socket path
netns file

Forwarder creates xconnect with VPP.
Forwarder responses back to NSC.

abstract socket path

NSC requests VPP to create a memif client socket.

abstract socket path

xxx to memif

NSC (probably remote over remote Forwarder) requests Forwarder for some connection.
Forwarder requests NSE for a memif connection.
NSE requests VPP to create a memif server socket.

abstract socket path

NSE responses back to Forwarder.

abstract socket path
netns file

Forwarder requests VPP to create a memif client socket.

abstract socket path
netns file

Forwarder creates NSC-side connection.
Forwarder creates xconnect with VPP.
Forwarder responses back to NSC.

memif to memif

NSC requests Forwarder for a memif connection.

NSC netns file

Forwarder requests NSE for a memif connection.
NSE requests VPP to create a memif server socket.

NSE abstract socket path

NSE responses back to Forwarder.

NSE abstract socket path
NSE netns file

Forwarder creates memif proxy socket on proxy abstract socket path in NSC netns and starts transferring all data between NSE abstract socket path in NSE netns.
Forwarder responses back to NSC.

proxy abstract socket path

NSC requests VPP to create a memif client socket.

proxy abstract socket path

This looks about right yes :)

@edwarnicke
Calico has integrated all needed for NSM patches to their VPP, but we still have different VPP version, so cmd-forwarder-vpp cannot be directly used with Calico VPP.
Should we create a new cmd-forwarder-vpp-calico with govpp generated for Calico VPP version?
Or maybe we should use last release Calico VPP as a base for the NSM VPP applications and so just update govpp?

@Mixaster995 You will probably need this: https://github.com/networkservicemesh/cmd-forwarder-vpp/pull/421

@edwarnicke
We have tested Calico Integration PR and we have the following suggestions:
1. Сluster on which we will do the integration
1.1 Packet
This PR does the integration Calico on Packet. Problems:

setup is not stable - not all runs are successful
we use 2 clusters per test run (without Сalico and with it). It's wasteful and will make it difficult to integrate other CNI plugins later. It would be better if we use one cluster: Tests without Calico - cluster cleanup - Tests with Calico

1.2 Kind
A cursory test found problems with the setup - Calico-Vpp doesn't start. Need more time to research. The problem can be related to Calico or to Kind.
2. Forwarder configuration
Currently, we have 2 version of tests - usual and for Calico. We need to consider use only one version.
We can try to use External VppAPISocket as default (https://github.com/networkservicemesh/cmd-forwarder-vpp/blob/main/internal/config/config.go#L49) and mount this socket from host to a specific folder on forwarder (vpp-ext for example).
Forwarder will check for the default VPP API socket on startup.
So, if we have one - use it (Calico case), if not - create a new vpp instance (current behavior).
3. Healing.
As I remember there are many chain elements that (explicitly or not) assume that forwarder death == vpp death. It's not right for the Calico case. We need to come up with a correct VPP cleaning when the forwarder is restarted:

check all forwarder's chain elements
or create a new one, which will clear VPP completely

Questions

What do you think about Kind integration?
Is it fine to use external VPP socket as default for Forwarder?
Any thoughts about Healing solutions?

Description
There is a problem with forwarder configuration. It is related to network namespaces - Calico-VPP doesn't have grpcfd. For example, when we connect to the Endpoint, forwarder receives network namespace fd using grpcfd. But Calico-VPP doesn't have that one, therefore knows nothing about NSE's network namespace. And when we try to create network interface - we receive an error.
Solutions

The simplest solution - Use hostPID:true for the forwarder by default - see comment - https://github.com/networkservicemesh/sdk-vpp/issues/354#issuecomment-904665828
Use shared directory between Forwarder and Calico, where we can create namespace fds. But here we need to know at the stage of creating the network interface whether we use our own VPP or from Calico.
Create a proxy sidecar for Calico. This sidecar will handle some vpp api calls differently. We can send inode to the sidecar and create a unix connection between forwarder and sidecar to send fd

We think that 1 is the preferred solution at the moment. We can create an issue to use a different approach in future releases.
@edwarnicke
What do you think? Is https://github.com/networkservicemesh/sdk-vpp/issues/354#issuecomment-904665828 still actual and we can use hostPID:true by default?


Fix inaccuracies in GHSA-5mwm-wccq-xqcp.json about CVE-2023-27043

Hi @gpshead, would you mind elaborating on what package you're trying to attach to this advisory?

I'm correcting inaccuracies in the existing text, not attaching anything.

@gpshead ok so that would leave this advisory out of scope then.
https://github.com/github/advisory-database/#supported-ecosystems
We only review advisories as they related to packages in our supported ecosystems and opening a PR is essentially a request for review.

meta level question: If you refuse to allow mistakes in your GHSAs to be corrected because you declare them to not be in your ecosystem, why do you allow such GHSAs to exist in the first place?
That does a disservice to the world.
I understanding you needing to constrain what you spend time on.  But I can't understand you at the same time publishing apparently unmaintainable unvalidated information for things you won't spend maintenance time on.

So, we do a bulk import of CVEs as they're published. This allows users to suggest contributions via PRs like this one here and then we can filter those into what works for our data scope. I do get where you're coming from and I'm sorry that we don't have a route to address it 😞

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


MOve 3d Object

How to move to this 3D object in real world?

Hi, sorry I don't think I understand your question.
Once you put a 3D object in the scene, its position is fixed. But you can move it programmatically by changing either the position or transformation attributes on the SCNNode.

How do I move, rotate and scale based on touch action in a 3D object?
Can you alter this example to move the object in real time, and rotate the object using two fingers touch. Scale the 3D object's width and height.

Sorry, I don't have time to modify this project. I'll consider making a tutorial about how to do that in the future.
I think the official Apple's demo has some code to handle one and two fingers gestures in ARKit: https://developer.apple.com/sample-code/wwdc/2017/PlacingObjects.zip


chore(dep) Rebuild

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Changes

Rebuild for a republish with recent base model changes

Coverage remained the same at 95.401% when pulling 97bbcb2623175d826ee86efa50b434d6c8c6c230 on js-alpha.4 into 64f77e7312db9ad999938d882aafbdef83c02293 on master.


Openvpn authentication with otp as suffix

Authentication server as Local and LDAP with TOTP have an option which permits to enter the TOTP code after the password (default is as prefix)
In this case if you enable the TOTP question in Openvpn Client (static-challenge) the authentication fails as the PIN is presented as prefix and not as a suffix.
I currently have many configurations where static-challenge is not enabled and thus the users write the password and  the PIN in the password input on the client.
Migrating to support the static-challenge would require them to be changed all at the same time.
I propose the move of the check (and how the password is composed) based on the Authentication method settings.

#8058


Clarify RateLimit Source IP Client Selector docs

Codecov Report

Merging #1145 (39c2b16) into main (27d14f8) will increase coverage by 0.12%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1145      +/-   ##
==========================================
+ Coverage   62.55%   62.68%   +0.12%
==========================================
  Files          72       72
  Lines        9596     9596
==========================================
+ Hits         6003     6015      +12
+ Misses       3179     3168      -11
+ Partials      414      413       -1

see 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

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

AWS CodeBuild CI Report

CodeBuild project: DDKIntegrationTestsD8472609-5SCHWjldmWcf
Commit ID: 8d601e0b90726e47624e8d1797dbfe1b270650ad
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: DDKIntegrationTestsD8472609-5SCHWjldmWcf
Commit ID: cb1655ab675e7a9fa745253e58a27b348f3091e6
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: DDKIntegrationTestsD8472609-5SCHWjldmWcf
Commit ID: 8a1b556db885e82a68a9ef374a5c3671cdfe2116
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Component installation in reactjs but not updated version

You have not updated the file inside the 'lib' folder, maybe it's better to update it when you release an update on npm.
I had to download the repo separately and get the build.
Thanks

Oops, you're entirely right.
Should be fixed by now, could you confirm ?
Thanks for pointing that out

ok now it seems okay, thanks


adapter fix does not update max/minUserIndex

I am using adapter.fix to try to update max index after adapter.update. But the max/minUserIndex does not get updated here: https://github.com/dhilt/vscroll/blob/49e5e3090e7f0b64b851af69a4f759a4f3e57aae/src/processes/adapter/fix.ts#L72
This causes an issue when we later on try to do adapter.reload with a startIndex equal to or greater than what we set the maxIndex to with adapter.fix, since it calls reset internally, which checks the maxUserIndex. https://github.com/dhilt/vscroll/blob/49e5e3090e7f0b64b851af69a4f759a4f3e57aae/src/processes/adapter/reload.ts#L12

@tmartinsson The Adapter.update method provides all necessary internal changes, including min/max and absMin/absMax indexes adjustments (but not the user ones, which is intended, because they come from the user settings and retain the original values). So, I would not expect the App to update any internal Scroller params after the update is done, expect the virtual updates case. Since the Adapter.update method works only for the items that are present in the Scroller's Buffer (non-virtual items), updating virtual items (that are not in the Buffer) will have no effect. Internal indexes will not be updated as well.
Another point is synchronization of the Scroller's update with the Datasource at the App level, which should be done super carefully. So, the only situation when you may need to update internal indexes is when you update the Datasource and don't update the Scroller (because the Adapter.update doesn't deal with virtual items).
The easiest approach in such situation would be not to use the Adapter.update method and provide virtual updates using the Adapter.insert/remove methods with index signatures instead. The Adapter.insert/remove methods maintain min/max indexes for both virtual and in-buffer changes. But they are less performant, because they need to be run one by one. From the other hand you may use the approach consisting of Adapter.update + conditional Adapter.fix({ maxIndex }) for virtual case. Conditional means you need to make sure that you deal with virtual update before using fix.
I implemented all the requirements described above in the following demo: https://stackblitz.com/edit/ngx-ui-scroll-udapter-sync.  It has the Update button which

provides the remove/insert updates in the Datasource at the App level (via splice),
provides both removing and inserting at the Scroller level (via Adapter.update),
checks if the update is virtual & shifts the internal max-index if necessary (via Adapter.fix).

I believe, you don't need to change user min/max indexes. But if you could update the demo and provide a scenario when you think it might be necessary, I would keep thinking.

Thanks for the quick response!
I see, then I think I understand my problem. We are using the user setting and trying to update like you mentioned. If I remove the maxIndex from the setting, it looks like it is working.
If you want to reproduce the problem we had I forked the stackblitz: https://ngx-ui-scroll-udapter-sync-bhhhmb.stackblitz.io
If you do update then reload, you can see that the last few items get cut off. But if we remove the setting, like the original stackblitz, it works fine.
So the solution then is to not use the user setting in this scenario.

@tmartinsson Ah, I got it. Your understanding and the fix are correct.


Loading remote data in Dropdown List

Hello BForms-Team,
first of all thank you for this powerfull piece of work ;-) As i didn't see where i could add a Feature Request i use this way to file one... Is there a simple way to load remote data to a Dropdown List, like in the examples on the select2 Website (https://select2.github.io/examples.html) ?  I miss a bit the ability to interact while in the editable forms. If its possible an example would be also very usefull.
Regards meister-d

Hello,
First of all, please update to the latest package version. We just added a new BsControlType.DropdownListRemote.
You will find an example in the demo register page (the countries list).
Quick demo:
Model:
[Required(ErrorMessageResourceName = "RequiredField", ErrorMessageResourceType = typeof(Resource))]
[Display(Name = "Location", Prompt = "PromptLocation", ResourceType = typeof(Resource))]
[BsControl(BsControlType.DropDownListRemote)]
public BsSelectList<string> CountriesList { get; set; }

View:

        @Html.BsLabelFor(m => m.CountriesList)

            @Html.BsSelectFor(m => m.CountriesList, null, new
                            {
                                url = Url.Action("GetCountriesPaged", "Login", new { area = "Demo" }),
                                pageSize = 10
                            })
            @Html.BsValidationFor(m => m.CountriesList)

As you can see, you need to specify the remote data url and a pageSize.
Controller:
public BsJsonResult GetCountriesPaged(int page, string search)
        {
            var pageSize = 10;
            var ddlWithSelected = Lists.AllCounties<string>();

            var items = ddlWithSelected.Items
                .Where(x => x.Text.ToLower().Contains(search.ToLower()))
                .Skip((page - 1) * pageSize)
                .Take(pageSize)
                .ToList();

            return new BsJsonResult(new
            {
                Count = ddlWithSelected.Items.Count(),
                Items = items
            });
        }

The remote data controller action must return the total elements count, and the list of items  that match the search term, paginated,  in the form of a List<BsSelectListItem>.
Javascript:
No need to do anything else, just the old $form.bsInitUI().

Hope it helps!
PS: TagListRemote will be coming soon (multiple choices remote data dropdown list).

Hi Cristi, many thanx for your fast reply!
Today I have integrated the DropDownListRemote into my project and it works like a charm :-)
During the Implementation some suggestions / questions came up:
Is there a possibility to show kind of error Message if the remote Call is unsuccessfull (eg "Server is unavailable, pease try agin later...").
What also would be nice is if the initialisation could be more simple for the initial Values.
Something like :
@Html.BsSelectFor(m => m.CountriesList, null, new
{
initUrl = Url.Action("GetInitialUser/m.UserId", "Login",  ),
url = Url.Action("GetCountriesPaged", "Login", new { area = "Demo" })
})
In the  Select2 js they provide such a possibility:
initSelection: function (element, callback) {
// the input tag has a value attribute preloaded that points to a preselected repository's id
// this function resolves that id attribute to an object that select2 can render
// using its formatResult renderer - that way the repository name is shown preselected
var id = $(element).val();
if (id !== "") {
$.ajax("http://localhost:8090/api/User/" + id, {
dataType: "json"
}).done(function (data) { callback(data); });
}
},
Another Question that came up is wether it is possible to have a custom ResultFormat with BForms?
        formatResult: function (user) {
            var markup = '
' +
               '

' +
               '
' +
                  '
' +
                     '
' + user.UserId + '
' +
                     '
 ' + user.FirstName + '
' +
                     '
 ' + user.LastName + '
' +
                  '
';

            if (user.description) {
                markup += '
' + user.description + '
';
            }

            markup += '

';

            return markup;
        }, // omitted for brevity, see the source of this page

Btw. I'm really looking forward to test the ListBoxRemote ;-) Can you say when that this feature would be available?
Thank you for your reply
Regards meister-d

Hi Cristi, one more Question...
Is it possible to get the actual Values of the Editable Model and to pass them to the Remote Call? Like this it would be possible to interact with the other controls on the form and to make the search filter more granular and dependent of the values of the EditableModel.
Something like :
public BsJsonResult GetCountriesPaged(int page, string search, EditableModel model)
{
var pageSize = 10;
var ddlWithSelected = Lists.AllCounties();
        var q = ddlWithSelected.Items
            .Where(x => x.Text.ToLower().Contains(search.ToLower()) && x.Property == model.Property);

        var items = q.Skip((page - 1) * pageSize)
            .Take(pageSize)
            .ToList();

        return new BsJsonResult(new
        {
            PageSize = pageSize,
            Count = q.Count(),
            Items = items
        });
    }

Regards meister-d

*Error message in case the ajax request fails.
*Allow formatResult option - templating based on {{id}}, {{text}} for now


Extension bundled code size is large causing deployment failure for lambda functions

Hi @serkan-ozal, thank you for developing MerLoc.
CloudFormation error:
 An error occurred: XXXFunction - Resource handler returned message: "Function code combined with layers exceeds the maximum allowed size of 262144000 bytes. The actual size is 290683493 bytes. (Service: Lambda, Status Code: 400, Request ID: xx)" (RequestToken: xx, HandlerErrorCode: InvalidRequest).
I have downloaded extensions zip from s3. This lambda extension(v3) size(54MB compressed and 207MB uncompressed) is huge as compared to the layer size of merloc-java(6.3MB compressed) which causes deployment failure of lambda function of ~90MB(compressed) because of deployment package size limit(https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
root@e29f69e50280:/workspace# ls -lh
total 60M
drwxr-xr-x 1 501 dialout  160 Oct 10 05:17 extensions
-rw-r--r-- 1 501 dialout  54M Oct 10 05:17 merloc-gatekeeper-738e498a-0628-4eec-9093-f2af8cff0a17.zip
drwx------ 1 501 dialout  160 Oct 10 05:17 merloc-java-c41cfcd8-e2df-48a5-b3dc-2d50c34dfb68
-rw-r--r-- 1 501 dialout 6.3M Oct 10 05:16 merloc-java-c41cfcd8-e2df-48a5-b3dc-2d50c34dfb68.zip

root@e29f69e50280:/workspace# du -h -d 2 merloc-java-c41cfcd8-e2df-48a5-b3dc-2d50c34dfb68
7.0M	merloc-java-c41cfcd8-e2df-48a5-b3dc-2d50c34dfb68/java/lib
7.0M	merloc-java-c41cfcd8-e2df-48a5-b3dc-2d50c34dfb68/java
7.1M	merloc-java-c41cfcd8-e2df-48a5-b3dc-2d50c34dfb68

root@e29f69e50280:/workspace# du -h -d 2 extensions/
79M	extensions/merloc-gatekeeper-ext/bin
244K	extensions/merloc-gatekeeper-ext/dist
129M	extensions/merloc-gatekeeper-ext/node_modules
207M	extensions/merloc-gatekeeper-ext
207M	extensions/

root@e29f69e50280:/workspace# du -a -d 1 extensions/merloc-gatekeeper-ext/node_modules | sort -n -r | head -n 15
131212	extensions/merloc-gatekeeper-ext/node_modules
67912	extensions/merloc-gatekeeper-ext/node_modules/typescript
15532	extensions/merloc-gatekeeper-ext/node_modules/prettier
8284	extensions/merloc-gatekeeper-ext/node_modules/@typescript-eslint
6000	extensions/merloc-gatekeeper-ext/node_modules/es-abstract
4040	extensions/merloc-gatekeeper-ext/node_modules/eslint
2368	extensions/merloc-gatekeeper-ext/node_modules/@types
1468	extensions/merloc-gatekeeper-ext/node_modules/eslint-plugin-import
1224	extensions/merloc-gatekeeper-ext/node_modules/object.assign
1156	extensions/merloc-gatekeeper-ext/node_modules/ajv
1064	extensions/merloc-gatekeeper-ext/node_modules/esquery
844	extensions/merloc-gatekeeper-ext/node_modules/source-map
824	extensions/merloc-gatekeeper-ext/node_modules/@eslint
716	extensions/merloc-gatekeeper-ext/node_modules/js-sdsl
672	extensions/merloc-gatekeeper-ext/node_modules/tsutils

It seems dev dependencies are included in node_modules.
I have tried to build extension in local and generated lambda extension zip is 31MB as compared to pushed extension v3(54M).
Local generated extension zip doesn't include dev dependencies in node_modules. I am not sure why pushed extension have dev dependencies.
root@7088b2a1f0e0:/workspace/workspace# ls -lh
total 31M
drwxr-xr-x 1 501 dialout 160 Oct 10 06:19 extensions
-rw-r--r-- 1 501 dialout 31M Oct 10 06:19 merloc-gatekeeper.zip

I think just removing dev dependencies or node_modules from the extension zip will reduce unzipped size by ~57% and will work fine for many use-cases.
BTW the unzipped local generated extension size is ~87 MB of which node binary is 82.2MB.
root@419ae71951ef:/workspace/workspace/extensions 2# du -a  . | sort -n -r | head -n 15
87580   .
87564   ./merloc-gatekeeper-ext
80296   ./merloc-gatekeeper-ext/bin
80292   ./merloc-gatekeeper-ext/bin/node
6892    ./merloc-gatekeeper-ext/node_modules
1944    ./merloc-gatekeeper-ext/node_modules/@types
1724    ./merloc-gatekeeper-ext/node_modules/@types/node
852<EMAIL_ADDRESS>616     ./merloc-gatekeeper-ext/node_modules/axios
412     ./merloc-gatekeeper-ext/node_modules/iconv-lite
372     ./merloc-gatekeeper-ext/node_modules/uuid
348     ./merloc-gatekeeper-ext/node_modules/iconv-lite/encodings
312     ./merloc-gatekeeper-ext/node_modules/uuid/dist
276     ./merloc-gatekeeper-ext/node_modules/qs
272     ./merloc-gatekeeper-ext/node_modules/axios/dist

I have developed few lambda extensions in Golang to interact with AWS SSM/DDB in the past and the generated binary is ~12MB so I think if we want to reduce the unzipped extension size then maybe better to port this extension to compiled language: go, rust or native java binary using GraalVM.

Hi @bharatsb,
Yes, dev dependencies should be excluded from the final bundle. In fact that was my intention already and it was working in that way (dev dependencies are excluded). But seems that I broke excluding dev dependencies. Anyway, I will fix it, release new version and let you now.
Also as you said, this extension should be implemented in Golang or Rust to get rid of runtime binary. Since I don't have much experience with Golang and Rust, I have implemented it with Node.js at first. but when ı find time ı think to implement with Golang or Rust to reduce binary size.

Hi @bharatsb,
I have published a new layer version: 4
Can you check it out and let me know that it excluded dev dependencies and reduced bundle size dramatically?

Hi @serkan-ozal, thank you for fixing and bundle size reduced as expected.
root@fbf26f058356:/workspace/extensions# du -h -d 2 .
79M	./merloc-gatekeeper-ext/bin
236K	./merloc-gatekeeper-ext/dist
6.8M	./merloc-gatekeeper-ext/node_modules
86M	./merloc-gatekeeper-ext
86M	.

BTW I got following error when executing lambda functions on arm64 architecture.
/opt/extensions/merloc-gatekeeper: line 5: /opt/extensions/merloc-gatekeeper-ext/bin/node: cannot execute binary file
--
EXTENSION	Name: merloc-gatekeeper	State: Started	Events: []

It is working fine on x86_64 architecture.
I think need to create two different layers to support both architectures.

Hi @bharatsb, yes currently only x86_64 architecture is supported because of embedded Node binary in the extension. Until I have another layer for  arm64 architecture, I will mark extension as available only for x86_64 architecture

@serkan-ozal just out of curiosity, is there a specific reason to bundle the node binary inside the layer? is /usr/local/bin/node not accessible by the bootstrap scripts?

Hi @jaypea,
Since this Lambda extension is runtime agnostic, node binary is not available on other runtimes (python, java, ...).
It is the reason of why I have embedded node binary into the extension.
But after you question, I realized that maybe a separate layer for Node.js runtime without embedded node binary might be better in terms of reducing extension layer size at least for most common AWS Lambda runtime Node.js.

@jaypea
Apart from that, had you a chance to play with MerLoc. I would love to get your feedbacks if you have.

@serkan-ozal thanks for the explanation.
I haven't used merloc yet because a) the layer size is to big and b) we are using CDK, not SAM nor Serverless Framework. So I couldn't try it out of the box.

Hi @jaypea,
I have released Node.js runtime specific MerLoc Gatekeeper layer which doesn't include Node binary: arn:aws:lambda:${region}:269863060030:layer:merloc-gatekeeper-nodejs:${version}
https://github.com/thundra-io/merloc-gatekeeper-aws-lambda-extension/blob/master/README.md#layer-setup-for-nodejs-runtime
So, layer size decreased drastically:

Compressed size: ~1.5 MB
Uncompressed size: ~ 6.5 MB

Hi @jaypea,
Forgot to mention in the above comment. I have also started MerLoc AWS CDK integration. I think it will be available soon.


Allow editing mocked URL and specifying regex

Working on it already...

What do you mean by specifying regex? What is the use case?

you can write:
PUT /api/posts/*
And it will catch all following requests:
PUT /api/posts/1
PUT /api/posts/2
PUT /api/posts/3
etc...
...
ᐧ
--

Adam Klein http://il.linkedin.com/in/adamklein500
CTO @ 500Tech.com http://500tech.com/ - Web and Mobile development
hackademy.co.il http://hackademy.co.il/angularjs/about - AngularJS,
Ruby on Rails training
(+972) 52 747 5633

On Sat, Jan 23, 2016 at 8:19 PM, Maayan Glikser<EMAIL_ADDRESS>wrote:

What do you mean by specifying regex? What is the use case?
—
Reply to this email directly or view it on GitHub
https://github.com/500tech/bdsm/issues/121#issuecomment-174240263.

Implemented ability to use wildcards in URL, still no full regex support.


reproject has Locus issues

It seems to give slightly different results if shiftlocus(Center, rast) is used before or after reproject. This could be intrinsically from shiftlocus being weird on an Irregular lookup. But it needs investigation.

mwe?

Just updated the example btw

Yeah. I guess for Intervals we should do the interval bounds properly and make them Explicit then do the center as well separately.

Hmm that is only necessary if the intervals are Center I think.  For start or end, since the transform is invertible we already get this for free with irregular but implicit intervals.

Yeah the center moving is the problem. I guess instead it could just never return Center intervals


Mac OS DMG Versions for 1.2.0 and 1.2.2 do not open, stuck at connecting to wallet

Mac OS DMG Versions for 1.2.0 and 1.2.2 do not open, stuck at connecting to wallet.
They do not create any entries in the log files.
Roll back to 1.1.5 and it works fine.

Any error output in debug.log?

if I delete the log file, it does not create a new one, if I erase the contents it doesn't log anything...  Even on INFO....

Try deleting ~/.sit_keys and restart the app. Before you do this, please backup all your keys first. Hope this can help.


do_midi_stop() error

Hi, after trying to compile this error occurs. All I've done was to comment line 6 (#define JUKEBOX)

Hi, thanks for the signal. You can either comment this line or download the updated midi_handler.ino .
Any further info is welcome.

Thanks, that works!
Are you considered to add support for buttons to play directly the drums for example?
It would be nice to make perform on the fly

Yes, initially I thought of making some kind of acid dnb toy that will work on battery, be compact and allow performing live. AcidBox is kind of proof of concept, cause i wasn't sure that esp32 is able of running such amount of dsp in realtime. And at first the jukebox was just a tool for debugging, letting me test the synths without using a daw. Later I added automatic CC ramps, so sound became more reach. Also I liked the simple way of generating bass and drum lines with straight routines using a dose of random values. At the moment I am working on a stand-alone acid-oriented sequencer with generative abilities. But the stage is quite early. At the moment you can try Aciduino v2 (search on github). I wanted to merge this thing, but after testing I find it to be rather complicated, and now am going to build some smarter sequencer with more helpers.

Nice! that sound REALLY good. Eager to try it! This project is awesome

Nice! that sound REALLY good. Eager to try it! This project is awesome

Nice! that sound REALLY good. Eager to try it! This project is awesome


Store the Docker Compose configuration in this project

🗣 Description
This pull request changes this Ansible role to use a specific docker-compose.yml file configured in this repository instead of relying on the docker-compose.yml and docker-compose.override.yml files currently stored in cisagov/client-cert-update.

💭 Motivation and context
The use of this role is to deploy the cisagov/client-cert-update image with a specific Docker Compose configuration. It makes more sense to make the Compose configuration independent of the Docker image's configuration. This means that the image can change significantly without impacting this role or it's deployment until it is updated to use a newer image tag.

🧪 Testing
Automated tests pass.

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

I think this makes a lot of sense.
Do you intend to clean up cisagov/client-cert-update as well? At a minimum the Docker composition files there can be removed and/or simplified.

Yep I have a branch with the docker-compose.override.yml file removed that I'm going to PR into the improvement/modernize_project branch that I've already been cooking. I just wanted to make sure everyone was on board with this change in the Ansible role. I plan on doing the same thing for cisagov/ansible-role-code-gov-update as well.


display number instead of name on popup for case, contract workorder ...

it is hard to found the list of field to replace Name on some object.
issue is that isNameField on FieldDefinition is sometimes false whereas we have a name field but no other field (example with changeEvent).
An analyze on that show me that it is really a mess:
518 object have no Name field  (event, share, hsitory, feed....)
152 object have a name field but isNamefiels is false... WTF
then we have a lot of DeveloperName and few other kind of pattern. I can not store it on SFI so best is to try and if no name catch exception and run another request to get FieldDefinition with isNameField = true

Field name
count object without is name field
count object with is name field

AssetRelationshipNumber
1

AssociatedLocationNumber
1

CaseNumber
1

ContractNumber
2

DeleteLog
1

DeveloperName
66

Domain

1

EventRelayNumber
1

FriendlyName
1

FunctionName
1

InvoiceNumber
1

Label

1

LineNumber
1

LocalPart

1

Name
152
286

OrderItemNumber
1

OrderNumber
1

ProcessExceptionNumber
1

QuoteNumber
1

SolutionName
1

Subject

7

TestSuiteName
1

Title

10

@Dufgui I reopen this issue.
restCallForRecordDetails have an exception because name is not found so it call it again without name.
Best, is to use
import {DescribeInfo} from "./data-load.js";
let describeInfo = new DescribeInfo(this.spinFor.bind(this), () => {
//TODO call here rest api and filter field with same test to get namefield
//then model.didUpdate()
});
describeSobject(useToolingApi, sobjectName)

another option is to use SELECT FIELDS(STANDARD) FROM Case
if name failed. So yes it will be slow because we get all field but it is on a single record so it is enough and it avoid describeinfo to get more info


conversion error .... can't train with any custom models..please help me out ...

can't convert models like... protogen,deliberate,dreamshaper etc...

Send me the links to the models

https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release/resolve/main/ProtoGen_X3.4-pruned-fp16.ckpt,
https://civitai.com/api/download/models/11925
https://civitai.com/api/download/models/5636
THESE DOWNLOADS FINE BUT
THEN
conversion error
conversion error
....

for Protogen, use this link in "path_to_huggingface" instead : darkstorm2150/Protogen_x3.4_Official_Release
for the civitai models, try finding them in huggingface

thank you very much for the help,it worked without any errors
thanks for the BLAZING FAST REPLIES  👍


Add DeepFlow to Observability.

The ebpf.io website has already added the DeepFlow project in the application module. We hope to add the DeepFlow description in awssome-ebpf as well.

Thanks @qmonnet
the description has been updated.


IntelliJ Plugin Causes IntelliJ to freeze when selecting "Generate" for commit message.

What happened?
I'm using local Ollama with Code Gemma model. This works fine sending chats and code explain etc. However when I select generate for the check in submit it simply crashes and I cannot recover. It just freezes the IDE.
Relevant log output or stack trace
No response
Steps to reproduce
On latest release of ItelliJ Idea, install CodeGPT plugin and set up to use local LLM (Ollama) with Code Gemma or Mistral 7b models. Then go to check in some code (for SVN) and select the generate button on the prompt. Note how the UI freezes and does not recover.
CodeGPT version
1.16.0
Operating System
Windows

same thing. open ai is used

Commit message generation has undergone many improvements. Please reopen the ticket if the issue still persists.


Promise#then and Promise#catch must returns an instance of Promise

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then

Perhaps we should return !this instead of +Promise. I don't know that.


Localization Bug

Fix is needed in localization, there is no check to see if the client sends no HTTP_ACCEPT_LANGUAGE.
Becomes a problem when clients like wget or curl is used.
This can be circumvented in by turning off the localization:
const USE_LANGUAGE = false;

Close


Multiple parameters / input tables per endpoint

"The xyz parameter takes the following keys"
https://developer.github.com/v3/enterprise-admin/global_webhooks/#create-a-global-hook
https://developer.github.com/v3/enterprise-admin/global_webhooks/#edit-a-global-hook
https://developer.github.com/v3/git/tags/#create-a-tag-object
https://developer.github.com/v3/git/trees/#create-a-tree
https://developer.github.com/v3/orgs/hooks/#create-a-hook
https://developer.github.com/v3/orgs/hooks/#edit-a-hook
https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review
https://developer.github.com/v3/repos/hooks/#create-a-hook
https://developer.github.com/v3/repos/hooks/#edit-a-hook
https://developer.github.com/v3/repos/branches/#update-branch-protection (multiples)
https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch
"Alternative Input"
https://developer.github.com/v3/pulls/comments/#create-a-comment
https://developer.github.com/v3/pulls/#create-a-pull-request
"Optional Parameters"
https://developer.github.com/v3/git/commits/#create-a-commit
https://developer.github.com/v3/repos/contents/#create-a-file
https://developer.github.com/v3/repos/contents/#update-a-file
https://developer.github.com/v3/repos/contents/#delete-a-file

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rpc_pre_upgrade can not run with self signed cert apis

Do NOT include any confidential information, this issue will be created on a public repo
This section is completed by the issue reporter
On which version(s) do you encounter this issue?
Please provide the output to 'git describe --all' for  all deployments where you have confirmed it occurs.
What type of issue is this? Please tick the appropriate box.

[x] bug - existing functionality that does not work for you as documented
[ ] feature - new functionality that you would like to see added

What is the expected behavior?
Allow ostack api calls to be made against self signed cert apis
What is actually happening?
TASK: [rpc_pre_upgrade | Gather nova service-list] ****************************
failed: [localhost ->infra03_utility_container-1588bacf] => {"changed": true, "cmd": "source ~/openrc; nova service-list", "delta": "0:00:00.581531", "end": "2016-11-21 20:46:21.218308", "rc": 1, "start": "2016-11-21 20:46:20.636777", "warnings": []}
stderr: /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
ERROR (SSLError): SSL exception connecting to https://xxxx.net:5000/v3/auth/tokens: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

FATAL: all hosts have already failed -- aborting

What were you attempting to do when you encountered this error (give as much detail as possible)?
How can we reproduce this issue?
Run rpc_pre_upgrade play against self signed cert protected API
How can we verify your issue is addressed?
No more error
If you are using or know of a workaround please describe the necessary steps?
Just adding --insecure to the roles/rpc_pre_upgrade/tasks/gather_stats.yml play
What is your evaluation on the importance of this issue, and why?
Prio 2 since we have a lot of public api running with self signed certs

This section is completed during the issue resolution process. If you are reporting an issue, please do not modify the section below.
Which branches are impacted by this issue?
Remove branches that are not impacted.
For each pull request, update the branch line to reference it.

[ ] master
[ ] mitaka-13.1

Upgrade impact. Consider the impact on moving between major, minor and patch releases.

[ ] This change does not impact upgrades
[ ] This change addresses a potential upgrade impact
[ ] The upgrade impact is being tracked by another issue.

The issue tracking the upgrade impact is:
Testing impact

[ ] An issue/pull-request has been create or exists to track the testing gap, and is referenced below
[ ] This change includes additional testing
[ ] This change is tested by the existing setup

Additional testing links:
Release note

[ ] This change includes a release note.
[ ] This change does not require a release note.

Doc Impact
Does your change require documentation?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[ ] No documentation required for this change

Additional documentation links (please add links if you have ticked yes):

@BjoernT I've created a PR to resolve this issue. Please let me know if this works.

This will also need a backport to the newton-14.0 branch. Thanks!


Marking within comment and doom/forward-to-last-non-comment-or-eol

Observed behavior
In COMMIT_EDITMSG (committing via magit), within the comments, marking (C-space), specifically after #, C-e does not move the cursor to the end of line.
I believe this is due to doom/forward-to-last-non-comment-or-eol.
Use case is to copy the filename of the file(s) to committed.
|# This is a comment inside COMMIT_EDITMSG
^
|
 \  Cursor is here. C-space then C-e works fine

#| This is a comment inside COMMIT_EDITMSG
 ^
 |
  \  Cursor is here. C-space then C-e works does NOT work. Nor does it work after any chars after the #.

Expected behavior
C-e should work within comments (after #).
Steps to reproduce
Explained above.
System information

Click to expand

OS: darwin (x86_64-apple-darwin18.0.0)

Emacs: 26.1 (Oct 04, 2018)

Doom: 2.0.9 (develop 390edee702f86d6f8c20d5934764a22c7b8959f8)

Graphic display: t (daemon: nil)

System features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2

env bootstrapper: envvar-file
elc count: 0
uname -a:  Darwin --- 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64
modules:   (:feature eval file-templates (lookup +docsets) snippets workspaces :completion company ivy :ui doom doom-quit evil-goggles hl-todo modeline nav-flash treemacs (popup +all +defaults) unicode vc-gutter vi-tilde-fringe window-select :editor fold multiple-cursors rotate-text :emacs dired electric imenu vc :tools editorconfig flycheck flyspell magit rgb :lang assembly common-lisp csharp data emacs-lisp lua markdown (org +attach +babel +capture +export +present) python (sh +fish) :config default)
packages:  (window-numbering highlight-symbol magit-gitflow page-break-lines)
exec-path: (/usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/local/share/dotnet ~/.dotnet/tools /Library/Frameworks/Mono.framework/Versions/Current/Commands /usr/local/Cellar/emacs-plus/26.1/libexec/emacs/26.1/x86_64-apple-darwin18.0.0/)

I see the issue. git-commit-mode doesn't mark those as comments, it merely highlights them as such. consider that a git-commit-mode bug.
As of 2346737 this should be fixed. Let me know if that isn't the case and I will reopen this issue.
Thank you for the detailed bug report and for bringing it to my attention!


Tableview with multiple selections.

When selected two features from the same layer all related tabs are opened which results in duplicate names. How about including selection index letter to the tab header?

Quick and easy solution would be to make the text colour match the selection colour.

Now selection colours linked to new tabs if they refer to selected location.


Implement custom component spec for each component

Problem Statement
[Describe the problem or need that the feature aims to address. Provide background information and any relevant context.]
Reusable components are currently associated with one component specs defining what the component accepts and what it produces. While this might make sense for transform components since they do accept and produce a specific input and output, it is not the case for the Data reader and writer component which can produce varying subsets and fields.
Proposed Approach
[Explain the high-level approach you plan to take to implement this feature. ]
In order to tackle this issue, the user needs to be able to define custom component specs for Reader and Writer components (e.g. load_from_hub and write_to_hub). Currently, the component specs is harcoded within a components inside the docker image which is passed to the component as part of the build process.
component = CaptionImagesComponent.from_file(../fondant_component.yaml)

this makes it difficult to modify for different use cases. It needs to be passed dynamically as part of a component argument during the pipeline definition to the Component class.
component_spec = ComponentSpec(specificiation=<specification as a component argument dict>)
component = CaptionImagesComponent(spec=component_spec)

This can be done by adding the component spec as an additional required input to the component arguments and passing it to the component during the pipeline definition similar to the metadata and manifest.
The last issue that remains to be solved is the fact that we need to parse the arguments prior to defining the Component to extract the component_spec dict. We can implement an additional classmethod for the Component class to initialize it from the arguments. This would requires changing the _add_and_parse_args() to a class method.
class Component(ABC):
    """Abstract base class for a Fondant component."""

    def __init__(self, spec: ComponentSpec) -> None:
        self.spec = spec
        self.args = self._add_and_parse_args()

    @classmethod
    def from_file(
        cls, path: t.Union[str, Path] = "../fondant_component.yaml"
    ) -> "Component":
        """Create a component from a component spec file.

        Args:
            path: Path to the component spec file
        """
        component_spec = ComponentSpec.from_file(path)
        return cls(component_spec)

    @classmethod
    def from_args(cls) -> "Component":
        """Create a component from a component spec file.

        Args:
            path: Path to the component spec file
        """
        component_spec = cls._add_and_parse_args()['component_spec']
        return cls(component_spec)

Implementation Steps/Tasks
[List the specific tasks or subtasks involved in implementing the feature. The tasks can be broken down into additional tickets]
### Tasks
- [ ] Change pipeline class and component specs class to accept a `component_spec` as an argument
- [ ] Add a class method the `Component` class to enable initializing it from an argument
- [ ] Update reusable components to use the new component definition

Potential Impact
[Identify and describe the aspects of the repository that may be affected by the feature implementation. This may include codebase  dependencies (manifest, component spec, component class, pipeline class, schema...), reusable components,  or any other relevant parts of the codebase]
This change will only need to be implemented for the Read/Write components. However, since we do not have a way of distinguishing which is which in the pipeline, all components will now be defined with the from_args instead of the from_file method. All the current existing components need to be updated.
Testing
[Outline the testing strategy for the implemented feature. Describe the different test cases that should be considered to ensure the feature works as expected. Specify the expected outcomes for each test case.]
Test initializing components with the custom component spec with the from_args methods and check similar to this
Documentation
[Explain how the new feature will be documented. Specify the files or sections that need to be updated to provide clear instructions on using the feature. Consider updating the README file, inline code comments, or any other relevant documentation.]
Update the custom component docs with a description on how to implement a custom component.
Feedback and Suggestions
[Encourage others to provide feedback or suggestions on the proposed feature implementation. This can promote collaboration and help refine the approach before proceeding.]
Dependent features
[Specify if the implementation of this feature is dependent on another feature or functionality within the repository. Describe the nature of the dependency and provide any necessary context for understanding its impact on the current feature implementation.]
Dependent on the DataWriter feature #138. Not a hard dependency but easier to validate if this feature is implemented beforehand.
Additional Notes
[Add any additional notes, suggestions, or considerations that are relevant to the feature implementation but haven't been covered in the previous sections.]
We might need to remove the .from_file() method altogether if it's no longer used.

Thanks for the clear description of the issue @PhilippeMoussalli!
Maybe we can take another approach as well:
The user can define the Read/WriteComponent as a custom component only containing the component spec:
|- components/
   |- custom_load_component
      |- fondant_component.yaml
pipeline.py

The fondant_component.yaml just needs to refer to the general image and define its custom consumes / produces:
name: CustomLoadComponent
description: Custom component that loads a specific dataset from the hub
image: ghcr.io/ml6team/load_from_hf_hub:latest  # General image

produces:  # Custom produces
  images:
    fields:
      data:
        type: binary
      width:
        type: int16
      height:
        type: int16
  captions:
    fields:
      data:
        type: string

args:  # Inherited
  dataset_name:
    description: Name of dataset on the hub
    type: str

In the pipeline, the user can then include the component as follows:
from fondant.pipeline import ComponentOp

my_load_component = ComponentOp(
    component_spec_path="components/CustomLoadComponent/fondant_component.yaml"
)

I think this should already be possible with the current implementation and feels a bit like "subclassing" the component.
Am I missing something why this would not work?

This could work but the fondant_component.yaml needs to be also consumed by the component during run time (link). We're currently copying it during the build process. (link).
This means that you would have to rebuild your image everytime you want to produce different subsets/fields which is not optimal. I proposed passing the specs as a pipeline argument to avoid rebuilding everytime.

Nice! I think that should do it


Fix sass complaint due to missing var

Using the color var request importing all wds and local color
variables.

Travis looks like its just freaking out and cannot connect to the network. Circle CI is also running npm run lint which is returning with no errors. I restarted the travis build to see if there is another issue, but if there isn't I'll merge when that build finishes as it is green on Circle and we're removing Travis anyway (#132)

Travis PR build turned green, merging now.


Typescript supported

What is the point of this exactly? Why is the entire code file duplicated?

Hello, I just want the TypeScript project to be successfully introduced
| |
gdream
|
|
@.***
|
签名由网易邮箱大师定制
On 6/22/2021 01:52，Matt @.***> wrote：
What is the point of this exactly? Why is the entire code file duplicated?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ok. Well, this is a JS project and we don't need/use TypeScript. I think this would be more suitable in a fork or something, but I'm not sure why we need this.

Oh，oh，thanks
| |
gdream
|
|
@.***
|
签名由网易邮箱大师定制
On 6/22/2021 23:47，Matt @.***> wrote：
Closed #96.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Emacs: rust-indent-method-chains indents beginning of line oddly

 Issue by ProjectMoon
Monday Jan 26, 2015 at 10:29 GMT
For earlier discussion, see https://github.com/rust-lang/rust/issues/21650
This issue was labelled with: A-infrastructure in the Rust repository

Trying out rust-mode in emacs, and set rust-indent-method-chains because I like me some aligned dots.
It does what it advertises, but for some reason shoves the beginning of the line (and thus the lines underneath it) over one more tab.
I'm using spaces for tabs, configured to width 4.
What I expect:
let x = thing.do_it()
             .aligned()
             .more_alignment();

What I get:
    let x = thing.do_it()
                 .aligned()
                 .more_alignment();

I am using el-get to install rust-mode so it should be pulling off the latest master.

Yes, I've observed this as well and it made me sad because the option is so beautiful when it works.

I'm having problems identifying just when this problem arises. It's not as simple as presented in the topic here. A standalone example would be helpful.

Ah, hmm, maybe it is. I just didn't have the option fully enabled.

I have a kind of working patch for this. It's sort of ad-hoc. I'm going to use it for a bit locally and submit it if it seems to be going ok.


Add Maven framework support to project.

Add service main usage example
Add db main usage example

#2


YoutubeVIS Evaluation

Thank you for sharing the repo!
We are trying to reproduce the YoutubeVIS 2019 results based on your code experiments/youtube_vis.sh.
Without training first,  we used coco_seg.pth to get an idea on how to infer, but the results seemed unsatisfactory: just random dots/regions. We'd like to know 1) if this is expected, and it'd be much improved after finetuning; 2) whether this code will reproduce the published YoutubeVIS result (aka AP 32.6).
Thank you very much for your help.

Same question! QAQ

If you use coco.pth for testing, you may want to make sure use coco.py in dataset, because coco and youtubevis have different classes, where coco has 80 classes and youtubevis has 40 classes. I remember I tested it before by directly using coco pretrained model, and the predictions are not good but look reasonable.

In our experiments, we observed that the results fluctuated a lot on youtubevis. The possible reason is that the AP metric which is built upon tracklet IOU, which can vary a lot if identity switches or one mask missed.


switch to constrained CSR signer for kubelet verification

kube-ca shouldn't be used and this switches us to the one the installer wires
/assign @sanchezl

/retest

/lgtm


RFC: lake exe variant without compilation

Proposal
add option to lake exe which simply execute an already existing binary file, without compilation.

User Experience: How does this feature improve the user experience?

lake exe command running time improvement

Beneficiaries: Which Lean users and projects benefit most from this feature/change?

repos depend on other lean packages
Community Feedback
https://leanprover.zulipchat.com/#narrow/stream/217875-Is-there-code-for-X.3F/topic/Omit.20compilation.20and.20run.20the.20executable.20binary.20in.20the.20.2Elake
Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.

lake exe ... command is very slow compared to simply run binary file
lean-by-example on  main [$!]
❯ Measure-Command { .lake/packages/mk-exercise/.lake/build/bin/mk_exercise.exe Examples/Solution Exercise }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 19
Ticks             : 193731
TotalDays         : 2.24225694444444E-07
TotalHours        : 5.38141666666667E-06
TotalMinutes      : 0.000322885
TotalSeconds      : 0.0193731
TotalMilliseconds : 19.3731

lean-by-example on  main [$!]
❯ Measure-Command { lake exe mk_exercise Examples/Solution Exercise }

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 837
Ticks             : 8375452
TotalDays         : 9.69381018518518E-06
TotalHours        : 0.000232651444444444
TotalMinutes      : 0.0139590866666667
TotalSeconds      : 0.8375452
TotalMilliseconds : 837.5452


Use worker API for built-in code quality tasks

Dogfood worker API for more built-in plugins.
Code quality plugins:

Checkstyle
PMD
CodeNarc
FindBugs (deprecated)
JDepend (deprecated)

Checkstyle and CodeNarc are both used by the gradle/gradle build, so we should be able to see some improvement here since we run multiple checkstyle/codenarc tasks on each subproject.  These need to run sequentially right now.

We are now planning on deferring this, pending the outcome of the "instant execution" work.

@bigdaz I discussed this today with @adammurdoch. I'm not sure that waiting is the right strategy. He and @big-guy are going to discuss next week.

oh god this is SUCH A BAD IDEA PLEASE DONT DO IT IT WILL BREAK EVERYTHING
See https://github.com/spotbugs/spotbugs-gradle-plugin/issues/149

@bigdaz @ldaley Anything to push this forward ?

@jvandort can this be closed now?

Checkstyle, PMD, and CodeNarc are all now implemented via the worker API.


Add a brand to Function to help distinguish resolved values from resolvers in the types

I'm honestly not sure if I want to land this. It feels gross but helps to avoid legitimate errors 🤷♂

Closing per @Andarist's request


Building over a tower replaces the tower

Requirements

Check for building underneath (disable the can't be built notification)
Replace tower
Refund original tower

disable buying over tower, remove if you want new


kibana image can't access network

I don't see how this can be an issue with my infrastructure since other containers work fine:
# docker run --rm -it alpine:latest ping -c1 google.com
PING google.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=51 time=59.334 ms

--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 59.334/59.334/59.334 ms

# docker run --rm -it docker.elastic.co/kibana/kibana:6.4.0 ping -c1 google.com
ping: socket: Operation not permitted

# docker run --rm -it --name kibana docker.elastic.co/kibana/kibana:6.4.0
dns.js:246
    this._handle = new ChannelWrap();
                   ^

Error: EFILE
    at new Resolver (dns.js:246:20)
    at dns.js:377:23
    at NativeModule.compile (bootstrap_node.js:600:7)
    at NativeModule.require (bootstrap_node.js:545:18)
    at net.js:45:13
    at NativeModule.compile (bootstrap_node.js:600:7)
    at NativeModule.require (bootstrap_node.js:545:18)
    at tty.js:25:13
    at NativeModule.compile (bootstrap_node.js:600:7)
    at NativeModule.require (bootstrap_node.js:545:18)

This does not reproduce for me on Mac OS X:
$ docker run --rm -it docker.elastic.co/kibana/kibana:6.4.0 ping google.com                                                                                16:56:35
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from muc11s03-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=37 time=417 ms
64 bytes from muc11s03-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=2 ttl=37 time=504 ms
...
^C
--- google.com ping statistics ---
18 packets transmitted, 18 received, 0% packet loss, time 20485ms
rtt min/avg/max/mdev = 122.481/1035.099/3047.139/1062.122 ms, pipe 3

Though my first guess for this issue would be permissions. What's your host operating system, Docker version, and do you have any other specific settings?
Also the second issue doesn't reproduce for me:
docker run --rm -it --name kibana docker.elastic.co/kibana/kibana:6.4.0                                                                                16:57:58
  log   [14:58:28.260]<EMAIL_ADDRESS>Status changed from uninitialized to green - Ready
  log   [14:58:28.318]<EMAIL_ADDRESS>Status changed from uninitialized to yellow - Waiting for Elasticsearch
...

Thank you for looking into this for me.
# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial

# docker --version
Docker version 18.03.1-ce, build 9ee9f40

As far as I know there is nothing special going on in my system, as I said I'm running other containers no problem.

I don't think the issue is that the image can't access the network, it's more that the default user in the image can't run ping on your system. The Kibana image runs as the non-privileged user kibana (UID 1000) by default. It's not uncommon for non-privileged users to have ping fail because they don't have permission for the appropriate raw socket operations.
Try this and see what happens:
docker run --rm -it --user=root docker.elastic.co/kibana/kibana:6.4.0 ping -c1 google.com

Running as root will guarantee that you have sufficient privileges. To allow nonprivileged users to run ping, some systems, like my Ubuntu laptop, make the ping binary setuid root:
$ stat --format='%A' /bin/ping
-rwsr-xr-x

But the CentOS image on which the Kibana image is based doesn't work that way:
$ docker run --rm -it centos:7 stat --format='%A' /bin/ping
-rwxr-xr-x

Instead, it uses Linux capabilities to grant specific privileges to the ping command:
$ docker run --rm -it centos:7 getcap /bin/ping
/bin/ping = cap_net_admin,cap_net_raw+p

So, my guess is that the kernel you are running is sufficiently old that it doesn't respect/support the cap_net_admin or cap_net_raw capability that is set on the binary. Which kernel version are you running?

Hmm... cap_net_raw and cap_net_admin are pretty old-school, so I would expect them to be in your kernel. I'm still interested in what happens when you run as root, though.
This  is also interesting, and rather surprising!

I see that the Alpine image has neither the setuid bit, nor cap_net_* set on /bin/ping, and non-privileged users can't run ping there either.
$ docker run --rm -it alpine:latest
/ # adduser -D jarpy
/ # su - jarpy
a01de0ebc9ba:~$ ping google.com
PING google.com (<IP_ADDRESS>): 56 data bytes
ping: permission denied (are you root?)

Of course, this does not explain why Node is crashing, but I wan't to focus on ping first.

My kernel version is 4.4.0-128-generic. I had tried  cap_net_raw and cap_net_admin and cap_net_all to zero effect.
I had noticed that the image ran as kibana user and suspected that was the problem but I wasn't aware of the --user=root switch. Running with --user=root solves the ping and kibana crashing problem.
So it looks like there's some sort of incompatibility between the Ubuntu 16.04 kernel and the Centos based docker image. Since the user switch unblocks me I'll just use that for now but would love to hear about a "better" solution.
I can close this issue if you'd like?

Thanks for the update and for the interesting problem!
I think it would be best to pursue a proper explanation through the Centos image project. To be honest, I'm quite at a loss now.
If you do discover a solution, I'd be very grateful if you report back.
Thanks.


feature: add response chunks rspec matchers

Pull Request Test Coverage Report for Build 173

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.043%

Totals

Change from base Build 170:
0.0%

Covered Lines:
414

Relevant Lines:
418

💛  - Coveralls


Add ability to access underlying database

This PR adds a GetUnderlyingDatabase method to LiteDatabaseAsync, so that one can retrieve the wrapped ILiteDatabase.
This is useful, because ILiteDatabase exposes various operations not available otherwise – e.g. the ability to rebuild the database with another collation:
var collation = new Collation(CultureInfo.InvariantCulture.LCID, CompareOptions.Ordinal);

database.GetUnderlyingDatabase().Rebuild(new RebuildOptions {Collation = collation});

this way providing a way to make the database's string comparisons case sensitive.

Instead of a method we should have a read only property.
See the answers to this stack overflow question
https://stackoverflow.com/questions/16829732/to-use-a-read-only-property-or-a-method
Also please target the new incoming branch I expect you wil need a new PR.

Oh yeah, sure thing 🙂 I added it as a method because I thought it matched GetUnderlyingCollection of LiteCollectionAsync  nicely, but if you prefer a read-only property I can definitely change it into that.

I should probably change that too. Just an old habit from when I was a C++ programmer


Is wifi calling supported?

Hi, I was wondering if this IOS shadowsocks client would vpn the wifi calling system service?

@mohammad-aliB Thanks for trying Outline. I have no idea! @alalamav Do you know the answer to this?

I haven't tested this, but it is my understanding that WiFi calling should be routed through the VPN.

I haven’t tried with this perticular VPN client but in my expirence some VPN clients will route wifi calling through a VPN and some won’t. Any chance you could test it then get back to me?

tldr; I believe that WiFi Calling bypasses the iOS Outline client's VPN.
I tested this on an iOS device connected to WiFi on airplane mode (no cellular connectivity). The words "Wi-Fi" appeared in the status bar, next to the carrier.  I then connected the VPN to a server that I control. I verified that traffic was routed through the proxy. I placed a call to a local number and I was able to have a conversation.
If the call was being routed through the proxy, I hypothesized that stopping the connection from the server should drop the call. However, that was not the case.
I don't understand precisely how WiFi Calling works, but it seems like the OS is bypassing the VPN for this type of traffic. We need to investigate if it would be possible to intercept the call in the VPN and if other apps out there support it.

My school blocks the wifi calling ports and/or protocol and I can confirm that the VPN app “hotspotvpn” allows me to get around the block

I'm going to close this due to inactivity - @shaomeng thanks for giving us some confidence that Outline does actually route wifi calls.


Switch to assertFailsWith

Saw some out-of-order imports. Probably need a spotApply run/

The whole repo needs some Spotless love. It’s currently misconfigured and broken. I’ve got that on my queue for demultiplatform cleanup.


feat: add dcterms:issued and dcterms:modified properties in Dataset catalog output

Feature Request
In the catalog output, we need to know the issuance date and last modification date for each dcat:Dataset.
These are covered by dcterms:issued and [dcterms:modified](https://www.w3.org/TR/vocab-dcat-3/#Property:resource_update_date fields) of the  dcat:Resource, from which Dataset is a child class.
Which Areas Would Be Affected?
Entity related stores and mapping.
Why Is the Feature Desired?
Know first issuance and last modification date of each dataset.
Solution Proposal
Add and populate modifiedAt field in Entity class.

I don't think these should be put in a dataspace-specific extension, not in the EDC. Can't this be implemented using an event subscriber and updating the asset with a custom property?


Panel arrow does not change after maximized

Testing #141357
It stays the same:

also can't repro this one :(

same here, the issue repros when the panel is empty (or when there is no active panel)

this one is strange. the icon is controlled by a context key which is correctly updated. the same key controls the tooltip which correctly displays "Restore Panel Size". somehow the icon is disconnected but only sometimes.


bug(badge): matBadgePosition non-compound values defaults the cross axis to "after" or "above"

Is this a regression?

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

The previous version in which this bug was not present was
No response
Description
matBadgePosition accepts the following values:

above after
above before
below before
below after
before
after
above
below

When the value is either "before" or "after" the style mat-badge-above is added.
When the value is either "above" or "below" the style mat-badge-after is added.
Reproduction

Expected Behavior
When the position is either "before" or "after", then the badge should be neither "above" nor "below".
When the position is either "above" or "below", then the badge should be neither "before" nor "after".
Actual Behavior
When the position is either "before" or "after" the badge is also positioned above.
When the position is either "above" or "below" the badge is also positioned after.
Environment

Angular: 14.1.3
CDK/Material: 14.1.3

The issue is that the position styles are applied as positive and negative checks (isAbove() and !isAbove()) instead of checking applying the "below" style only if a separate below check succeeds.
https://github.com/angular/components/blob/36af2a3fbec56ef96b0f0f4fa93f770464e92a7d/src/material/badge/badge.ts#L54-L57
And the isAbove and isAfter should be checking if "above" or "after" is found instead of checking if the opposite value was not found.
https://github.com/angular/components/blob/36af2a3fbec56ef96b0f0f4fa93f770464e92a7d/src/material/badge/badge.ts#L152-L160

Hi, this appears to be working as intended. The badge defaults to the most common use case when values are unspecified while still allowing users to configure for specific use cases


Problem with the ninja generator

HI,
I try to build an existing project with the studio code on windows 10. The project is using cmake, gcc 8.1.0 and ninja. I can run cmake from command line withtout problem. When I try to use the plugin, I got this error on the output log
[cms-client] Configuring using the "ninja" CMake generator
[rollbar] Unhandled exception: Unhandled Promise rejection: configure [cmake-server] Failed to activate protocol version: Generator "ninja" not supported. {}
Platform and Versions

Operating System: Windows
CMake Version: 3.14.1
VSCode Version: 1.33.1
CMake Tools Extension Version: 1.1.3
Compiler/Toolchain: Gcc 8.1.0

What need to do ?
Jonathan

Hi,
I found the Issue,
The generator by default on windows look to be 'ninja'. Cmake 3.14.1 doesn't like it since the good name for the generator is 'Ninja'. Changin the generator With the capital letter N fix the issue.


Thought I was home free on this implementation of ProcessingHistory, but accidentally uncovered a fundamental problem I'm not totally sure yet how to solve.  I hope I don't have to go back to the drawing board, but I do have a possible solution I'll get to after I explain the problem I uncovered.
I was working on a test_history C++ program that would take ProcessingHistory data and build a general tree class specialized for this problem from the contents.  I got to the point that I created a proper tree that I could examine with graphviz.  I created trees that properly demonstrated the relations for three key methods:  set_as_origin, new_map, and new_reduction.   The problem surfaced when I naively tried to use clones on a subsequent step.  i.e. I ran a different case of new_reduction where some of the inputs had components in common from the application of copy constructors to create a set of inputs for new_reduction.  The woops this uncovered is that the copies rendered the multimap ambiguous because key-values got duplicated from clones carrying a common chain of node data.   That created duplicate, ambiguous links to common records from the different copies.
The solution I think will solve this will require a bit more work by the new_reduction method.   Since the problem is completely limited to new_reduction I believe the solution is to have it simply check for a duplicate before it adds a node to the nodes multimap.   If that works as I think it will we will be fine and I'll be almost done with this.  Hopefully, I will not uncover something else in the process.
This will also require some more complexity to the add_inputs method.  I will have to do the same checks.
So, I'm relatively confident I can still make this work, but I wanted to put this update here for the record.

For the record I think the idea noted in the last comment worked.   That is, I added a small amount of code to new_reduction that eliminates duplicate node entries and at least with the tests I have running right now it seems to work.
I'm writing this to start a discussion on how we should plan to expose this to python?  Writers will need to dump the history multimap somehow and we will need readers that are capable of retrieving and reconstucting a full history chain that (optionally) includes intermediate saves.   I think we concluded it was probably best done with some custom C++ code that will interact with pybind11 to translate the multimap into something more pythonic that can be written and retrieved from Mongo.   Do you have a specific idea in mind you could describe here?
The thing that has bogged me down on this testing exercise much more than fixing ProcessingHistory bugs is the design of the tests.   I have really stuggled with the implementation of a "general tree" structure as described, for example, here.  I wish I could find a source with a better approach than what I'm doing here with a recursive function.   I read one source that echoed my experience with this.  The source said recursion was dangerous because it was almost always challenging to impossible to understand how they work and fix bugs when they don't.   I can certainly echo that right now.   I have double jeopardy trying to understand how to make a graphical representation of the tree with graphviz as I think I'm getting artifacts purely from not representing the stucture correctly.
Do you have an experience that could help me out on this?   Don't look at what I sent you during our last call as it isn't even close to right.   I don't want to put this messy thing I have in the test suite as it could prove to be a maintenance headache.   I found this simple algorithm that uses an std::queue that might be less confusing, but it seems kind of limited.   That is, it seems to kind of build the tree structure manually, while what I need is a way to build it from the multimap - why I have this ugly recursive function.
Suggestions?   I'm kind of drowning in this.


Broker config parser should return a parse error if the JSON root type is not an object

Wayne's efforts to set up the broker service revealed an inconsistency in the code that parses the config file: Invalid JSON such as a trailing comma in an object would be rejected with a parse error, but something that looks like this would be silently replaced with a default config (note the lack of outer braces):
"log_level": "debug",
"enable_broker": true,
// ...

This is because the JSON library is pulling that first string from the stream and considering it to be valid JSON. A single JSON element of any type (e.g. string, array, number, boolean) is valid JSON, but of course the broker is only interested in objects. And the contains() method when called on a JSON value that is not an object will just always return false. Solution is to check that the parsed JSON is an object.

This has been merged. Thanks again!


Jedi Language Server not launching on v2024.14.0

Type: Bug
Behaviour
Python extension displays Uncaught Error : "Launching Jedi language server using python failed, see output.". There isn't anything printed to the output tab...
This error is not present in the previous extension version (2024.12.3)
Steps to reproduce:

Open a Python file or project in VSCodium

View the Python Extension

Go to the Features tab and view the info under Runtime Status

Extension version: 2024.14.0
VSCodium version: VSCodium 1.89.1 (a045dcfceda27f896936bfd8cbf524f6a93a2f46, 2024-05-09T18:30:40.866Z)
OS version: Linux x64 6.2.0-26-generic snap
Modes:

Python version (& distribution if applicable, e.g. Anaconda): 3.10.12
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default

User Settings

languageServer: "Jedi"

Installed Extensions

Extension Name
Extension Id
Version

JavaScript Debugger
ms-vscode.js-debug
1.89.0

JavaScript Debugger Companion Extension
ms-vscode.js-debug-companion
1.1.2

Python
ms-python.python
2024.14.0

Python Debugger
ms-python.debugpy
2024.8.0

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.9

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz (4 x 3092)

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

Load (avg)
2, 1, 1

Memory (System)
7.62GB (4.56GB free)

Process Argv
--no-sandbox .

Screen Reader
no

VM
0%

DESKTOP_SESSION
Lubuntu

XDG_CURRENT_DESKTOP
LXQt

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
x11

The language server log shows [info] The language client requires VS Code version ^1.91.0 but received version 1.89.1, so it looks like the latest version of the python extension needs to be marked incompatible with VSCode <1.91?

@haplionheart have you tried updating as @tmchartrand suggested?

The minimum is now set to 1.94.* so this should be addressed. Please try the latest version and let us know.


⚠ ClamAV has degraded performance

In 7610c12, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 115 ms

Resolved: ClamAV performance has improved in 058cbec.


the electron app should package the cli

Currently you can only use the npm module foragepm as the cli (unless you're running directly from source).
It'd be great to be able to add a foragepm command line that points at the electron app itself so you don't need node installed to use the cli if you have the electron app installed.

This article has some pointers on how to get the electron app to recognize if it's being ran from the cli. Then the menu bar will need a prompt to install a symlink to the app into the terminal, ipfs-desktop can be an example, adding windows support makes it more complex: https://github.com/ipfs/ipfs-desktop/tree/main/src/ipfs-on-path
An alternative approach may be to have the electron app prompt to install the command line node module, again ipfs-desktop has an example: https://github.com/ipfs/ipfs-desktop/tree/main/src/npm-on-ipfs

I think having a menu option the user can click to get the cli is a reasonable pattern. I kinda prefer to have the cli tool and the app always be at the same version / be holistically in sync. But a prompt that just says "go do npm i -g foragepm" is less work to implement, and may appeal to the kinds of folks who would also be interested in running the cli anyway (at this early stage)


password CLI option and ENV variable don't work

Basically, password doesn't work properly in the CLI.

EdgeDB Version: "3.3+d5734dd"
EdgeDB CLI Version: EdgeDB CLI 4.0.2+500be79
OS Version: MacOS 13.3.1 (a)

Steps to Reproduce:

Make a new edgedb instance
Set an edgedb password -- the below script sets it to "your_new_password"
Unfortunately:

The EDGEDB_PASSWORD env variable doesn't work
the --password option doesn't actually take arguments. Ie, I have to hit --password and type it in every time, instead of saying --password "your_new_password"

# Clones a repo into a new instance

PROJECT_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && git rev-parse --show-toplevel)

# Variables
SCHEMA_PATH="$PROJECT_ROOT/dbschema/"
INSTANCE_NAME="intergration_tests"
VERSION="3.5"

echo $SCHEMA_PATH

# 1. Delete the db instance, if it exists... we want to start fresh.
if edgedb instance list | grep -q $INSTANCE_NAME; then
  echo "Deleting existing database instance: $INSTANCE_NAME"
  # TODO: include a `--version` flag
  edgedb instance destroy --force -I $INSTANCE_NAME
else
  echo "Database instance $INSTANCE_NAME does not exist. Moving on to creation."
fi

# 2. Create a db instance, using the most up-to-date schema available.
# Note: EdgeDB creation, and project linking, are different things.
echo "Creating database instance: $INSTANCE_NAME with version $VERSION"
edgedb instance create $INSTANCE_NAME  --non-interactive --version $VERSION

# 3. Optionally, we also introduce test data in there here.
# Replace /path/to/schema.esdl with the path to your schema file.
echo "Loading schema into $INSTANCE_NAME"
edgedb -I $INSTANCE_NAME migrate --schema-dir=$SCHEMA_PATH --instance=$INSTANCE_NAME

# Set the password, do this last because it makes everything else painful.
edgedb -I $INSTANCE_NAME query "ALTER ROLE edgedb { SET password := 'your_new_password'; }"

This is due to how connection parameter priority levels work.  Command-line and environment variables generally don't mix.  The rationale is to reduce ambiguity leading to wrong configuration and to avoid sending credentials to the wrong instance accidentally.
You can fix your script by setting EDGEDB_INSTANCE alongside EDGEDB_PASSWORD, e.g:
export EDGEDB_INSTANCE=intergration_tests
export EDGEDB_PASSWORD=<your-password>

and omitting -I when running queries or migrations (instance create/destroy still takes an explicit instance name)

Interesting. Maybe it would be good to put a warning about that in the edgedb cli (ie if some of your parameters are being ignored)? Strikes me as a 'gotcha'.

Closing this due to the existence of https://github.com/edgedb/edgedb-cli/issues/1179


Can't build from source

System:

OS version: Ubuntu22.04
SAPIEN version (pip freeze | grep sapien): 2.2.1 or dev

Describe the bug
CMake Error at 3rd_party/kuafu/CMakeLists.txt:34 (find_package):
By not providing "FindSDL2.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2", but
CMake did not find one.
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake

Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
"SDL2_DIR" to a directory containing one of the above files.  If "SDL2"
provides a separate development package or SDK, be sure it has been
installed.
To Reproduce
./docker_build_wheels.sh

not yet, I’m having troubles for other things so did not look into this problemSent from my iPadOn May 15, 2023, at 3:39 AM, Zhenyu Jiang @.***> wrote:
Hi, I got the same error, have you found a fix?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>

I got the same error, have you solved it?


[dart fix] Exceptions thrown during fixing

This tracker is for issues related to: Analyzer
PS X:\Coding\Garages\AstroxGarage\agent_dart> dart fix --apply lib
Computing fixes in lib...
Error from the analysis server: Exception while getting bulk fixes: Exception generating fix for sort_constructors_first in x:\coding\garages\astroxgarage\agent_dart\lib\bridge\ffi\ffi_bridge.dart
Null check operator used on a null value
#0      SortConstructorFirst.compute.<anonymous closure> (package:analysis_server/src/services/correction/dart/sort_constructor_first.dart:35:40)
#1      ChangeBuilderImpl.addDartFileEdit (package:analyzer_plugin/src/utilities/change_builder/change_builder_core.dart:144:20)
#2      SortConstructorFirst.compute (package:analysis_server/src/services/correction/dart/sort_constructor_first.dart:33:19)
#3      BulkFixProcessor._applyProducer (package:analysis_server/src/services/correction/bulk_fix_processor.dart:236:22)
#4      BulkFixProcessor._generateFix (package:analysis_server/src/services/correction/bulk_fix_processor.dart:401:11)
#5      BulkFixProcessor._fixSingleError.bulkApply (package:analysis_server/src/services/correction/bulk_fix_processor.dart:365:17)
#6      BulkFixProcessor._fixSingleError.bulkApply (package:analysis_server/src/services/correction/bulk_fix_processor.dart:360:27)
#7      BulkFixProcessor._fixSingleError (package:analysis_server/src/services/correction/bulk_fix_processor.dart:375:15)
#8      BulkFixProcessor._fixErrorsInLibrary (package:analysis_server/src/services/correction/bulk_fix_processor.dart:292:15)
<asynchronous suspension>
#9      BulkFixProcessor.fixErrors (package:analysis_server/src/services/correction/bulk_fix_processor.dart:176:11)
<asynchronous suspension>
#10     EditBulkFixes.handle (package:analysis_server/src/handler/legacy/edit_bulk_fixes.dart:48:27)
<asynchronous suspension>

#0      BulkFixProcessor._fixSingleError (package:analysis_server/src/services/correction/bulk_fix_processor.dart:391:7)
<asynchronous suspension>
#1      BulkFixProcessor._fixErrorsInLibrary (package:analysis_server/src/services/correction/bulk_fix_processor.dart:292:9)
<asynchronous suspension>
#2      BulkFixProcessor.fixErrors (package:analysis_server/src/services/correction/bulk_fix_processor.dart:176:11)
<asynchronous suspension>
#3      EditBulkFixes.handle (package:analysis_server/src/handler/legacy/edit_bulk_fixes.dart:48:27)
<asynchronous suspension>

The original file for fix: ffi_bridge.dart.txt
Or you can use the repo with 1982da6 to reproduce.

I can't reproduce with Dart SDK version: 2.19.0-183.0.dev (dev) (Fri Sep 9 08:47:43 2022 -0700) on "windows_x64", please specify which version was used to produce that error.

I'm at 2.17.6 (stable) (not upgraded to Flutter 3.3), will check later if the new stable 2.18.x can reproduce this.

Doesn't seem to be reproducible on 2.18.0. Closing. Thanks!


Update CRI Proxy to v0.0.3

This update doesn't affect any functionality and
only has to deal with CRI Proxy repository fixes.

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


getbootstrap.com link points to old blog post

When you click on the V4 teaser link at the top of the getbootstrap.com home page it points to the blog post from August 2015.  You might want to update it to point at the December 2015 blog post.

Duplicate of #18913. The docs will be redeployed when 3.3.7 is released.


License?

Greetings, amesar!
I want to use your project as the part of my PoC on my job. Can I do this? Have you thought about under which license you would like to open your code?
Thanks in advance!

Great idea. Thanks for the reminder. Added the Apache license.

Andre


Use of NPM ?

Hi guys, this is great work !
It would be pretty cool if we could manage vue-crop with npm, so we can stay up to date and make things easier, you know ?

+1

+1

Thanks for the interest guys!


Enable prefix in output S3 files for unload_to_files

Issue #, if available:
#717
Description of changes:
The UNLOAD Redshift operation takes "name-prefix" as a parameter, prepending the output S3 objects with a prefix.
This behavior can be enabled for the unload_to_files Wrangler method, but not the unload call. This is because unload makes a subsequent calls to read parquet files from S3 and expects a specific prefix to read from.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID:<PHONE_NUMBER>f5f1863253a4e347c91b6d091d667b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: 39dbb552ee5252845550fcb49dc7dab3b2e62ad9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository