Tip to load large number of points and Lines

Hi
My app is for marine use and it need to load large amount of tracks, each tracks have more than 50 positions. i place 2 points at the ends and draw lines for the tracks.
There are more than 2000 tracks and some times more than 4000 tracks.
The app can load it and at lower zoom levels the mapview seems to get Strucked sometimes freezes at lower devices with 2gb ram, but 4gb ram devices can handle it smoothly and sometimes they also get freezed at lower zoom levels.
Any tip to handle large number of tracks?
while the large number of markers are handled smoothly by using the clustering.
Thanks

I do not know how the line objects are created, but 4000 * 50 line segments should not cause performance issues. If you use VectorLayer for displaying your tracks, you should try to re-use styles for tracks as much as possible. If this does not help, I suggest looking into VectorTileLayer and GeoJSONVectorTileDataSource. VectorTileLayer should scale much better with large datasets.

just found that there are 1,250,000 line segments, so around 600 segments for 2100 tracks. will this create any performance issue and yes i am using VectorLayer with LocalVectorDataSource.
i tried to display just the track with first and last point during the low zoom values (0 to 12)
after zoom level 12 i remove the above layer and display the full layer with all segments.
This method works well.
any other way?
Thanks

@binu8051 use GeoJSONVectorTileDataSource as @mtehver suggested

@farfromrefug thanks, will try it.

Hi @farfromrefug @mtehver is there any sample code which use GeoJSONVectorTileDataSource, cant find any.
Also will there be a lot of change in code for converting LocalVectorDataSource to GeoJSONVectorTileDataSource?

@binu8051 Unfortunately our sample projects do not include any relevant samples. But you could follow the discussion in https://github.com/CartoDB/mobile-sdk/issues/344 to get some hints. This thread includes links to snippets that can be used.

Thanks,
@farfromrefug can you share the cartocss code and program code which you have used in this video
https://github.com/CartoDB/mobile-sdk/issues/453#issuecomment-907790253
Since i want to create tracks only,
i have the map positions on database and i am using a for loop to create line on LocalVectorDataSource.
Also weather the GeoJSONVectorTileDataSource support element click event, since i want to display the track details once it got touched.
Any help will be appreciated thanks.

@binu8051 I dont use it in Java but within Nativescript using a JS wrapper so the code i use wouldnt help you that much. But can search in this repo https://github.com/Akylas/alpimaps. Everything is in there

ok thanks, i managed to load the tracks and now need to change the track color.

@mtehver Hi, your sample code at https://gist.github.com/mtehver/991e4e4e7de8a524ded62a4edc88ed62 helps me alot.
Now i can display the tracks on the map.
But all the tracks are in same color. i have total 24colors.
how to select the color of the tracks as per the value.? i am confused in this part.
i have given the code which i am using.
singletrack.color; holds a value from 0 to 23
How to set this color to the tracks, please help me.
private Realm realm = null;
ZippedAssetPackage assetPackage = new ZippedAssetPackage(AssetUtils.loadAsset("style.zip"));
CompiledStyleSet styleSet = new CompiledStyleSet(assetPackage);
final MBVectorTileDecoder decoder = new MBVectorTileDecoder(styleSet);
GeoJSONVectorTileDataSource dataSource = new GeoJSONVectorTileDataSource(0, 19);
FeatureVector features0 = new FeatureVector();

realm = Realm.getDefaultInstance();
realm.refresh();
RealmResults<TrackModelR> allTracks = realm.where(TrackModelR.class).sort("start_time", Sort.DESCENDING).findAll();
MapPosVector linePosess;
long track_id;
long track_color;
for(TrackModelR singletrack : allTracks) {
	MapPosVector poses = new MapPosVector();
	track_id = singletrack.id;
        track_color = singletrack.color;
	//add Green Point on start point
	poses.add(new MapPos(singletrack.start_lon, singletrack.start_lat));
	RealmResults<TrackPositionsModelR> selTracks = singletrack.locations.sort("timestamp", Sort.ASCENDING);
	for(TrackPositionsModelR selTrack : selTracks) {
		poses.add(new MapPos(selTrack.longitude, selTrack.latitude));
	}
	poses.add(new MapPos(singletrack.end_lon, singletrack.end_lat));

	LineGeometry poly = new LineGeometry(poses);
	VariantObjectBuilder builder = new VariantObjectBuilder();
	builder.setLong("id", track_id);
	features0.add(new Feature(poly, builder.buildVariant()));
}
int layerId0 = 0;
try {
	layerId0 = dataSource.createLayer("line0");
	dataSource.setLayerFeatureCollection(layerId0, new EPSG4326(), new FeatureCollection(features0));
} catch (Exception e) {
	Log.e("", e.toString());
}
realm.close();
VectorTileLayer layer = new VectorTileLayer(dataSource, decoder);
mapView.getLayers().add(layer);

My style.json
{
  "layers": ["line0", "line1", "line2", "line3", "line4", "line5", "line6", "line7", "line8", "line9", "line10", "line11", "line12", "line13", "line14", "line15", "line16", "line17", "line18", "line19", "line20", "line21", "line22", "line23"],
  "styles": ["style.css"],
  "nutiparameters": {
    "selection_id": {
      "default": 0
    }
  }
}

My style.css
@color0: #F907E5;
@color1: #02F206;
@color2: #3E3F3A;
@color3: #F6FF05;
@color4: #D32A35;
@color5: #02F7EF;
@color6: #115CFF;
@color7: #05070C;
@color8: #E2A414;
@color9: #5FC0D8;
@color10: #00D300;
@color11: #CEB306;
@color12: #F27210;
@color13: #EAA612;
@color14: #353535;
@color15: #EF1321;
@color16: #76BC79;
@color17: #034A44;
@color18: #414206;
@color19: #CE5D3D;
@color20: #825D0C;
@color21: #3C018D;
@color22: #C60F53;
@color23: #2979FF;

#line0 {
	line-color: @color0;
	line-width: 8;
}
#line1 {
	line-color: @color1;
	line-width: 8;
}
#line2 {
	line-color: @color2;
	line-width: 8;
}
#line3 {
	line-color: @color3;
	line-width: 8;
}
#line4 {
	line-color: @color4;
	line-width: 8;
}
#line5 {
	line-color: @color5;
	line-width: 8;
}
#line6 {
	line-color: @color6;
	line-width: 8;
}
#line7 {
	line-color: @color7;
	line-width: 8;
}
#line8 {
	line-color: @color8;
	line-width: 8;
}
#line9 {
	line-color: @color9;
	line-width: 8;
}
#line10 {
	line-color: @color10;
	line-width: 8;
}
#line11 {
	line-color: @color11;
	line-width: 8;
}
#line12 {
	line-color: @color12;
	line-width: 8;
}
#line13 {
	line-color: @color13;
	line-width: 8;
}
#line14 {
	line-color: @color14;
	line-width: 8;
}
#line15 {
	line-color: @color15;
	line-width: 8;
}
#line16 {
	line-color: @color16;
	line-width: 8;
}
#line17 {
	line-color: @color17;
	line-width: 8;
}
#line18 {
	line-color: @color18;
	line-width: 8;
}
#line19{
	line-color: @color19;
	line-width: 8;
}
#line20 {
	line-color: @color20;
	line-width: 8;
}
#line21 {
	line-color: @color21;
	line-width: 8;
}
#line22 {
	line-color: @color22;
	line-width: 8;
}
#line23 {
	line-color: @color23;
	line-width: 8;
}

Also how can i add/delete a single track?
Thanks for your time.

@binu8051 Regarding coloring your tracks, you can define rules based on the properties of your features. Also, it makes more sense to define 1 layer with appropriate property you can use for coloring your tracks, instead of 24 layers.
Regarding adding/updating individual features - there is no direct API support for this as changing a single feature requires rebuilding vector tiles this feature affects. So you simply need to update all the features even if only a single feature changes. Thus with vector tiles there is a tradeoff between rendering speed and data synchronization speed.

Thanks, the GeoJSONVectorTileDataSource  is very smooth even with 10k tracks.
For adding i have created a new layer and display it, but for editing/deleting i have to reload all tracks and it take around 30seconds to reload all.
Is creating 24layers will create any performance issues?
if not i can reload only that layer which matches that color of edit/delete tracks so it will take less time to reload.
any other way?
Is there any plan for direct support for edit/delete a individual features?

@mtehver any help.

@binu8051 Regarding 24 layers, most likely this will be ok, unless you target really low-end devices. Regarding support for editing individual features for GeoJSONVectorTileDataSource - no, this is not planned. VectorTileLayer is intended for maximum performance for large static datasets and there are no plans to change that.

Thanks for the Tips

Hi
i used the above code and few users complaint that the tracks are blinking and i have attached the sample videos.
Can't guess the problem, can @mtehver check it please.
https://user-images.githubusercontent.com/8043738/220123791-4de6d4fa-b771-4d21-935c-957d0d435598.mp4
https://user-images.githubusercontent.com/8043738/220123806-8d10754e-92bf-4631-ac82-0da6c14b530b.mp4

@mtehver please check this issue.

is there a sample to use GeoJSONVectorTileDataSource in android ?
I encountered the same problem, I need to display a large number of line segments, and using localVectorDataSource will result in faults

`
Feature feature = new Feature(line.getGeometry(), new Variant(line.getMetaData()));
featureVector = new FeatureVector();
featureVector.add(feature);
    GeoJSONVectorTileDataSource mGeoJsonDataSource = new GeoJSONVectorTileDataSource(10, 24);
    FeatureCollection featureCollection = new FeatureCollection(featureVector);
    try {
        int index = mGeoJsonDataSource.createLayer("test");
        mGeoJsonDataSource.setLayerFeatureCollection(index, projection, featureCollection);
    } catch (Exception e) {
        LogF.e("TAG", e.getMessage() + "", e);
    }
    CartoCSSStyleSet css = new CartoCSSStyleSet(TrackCss.INSTANCE.lineStyle(10);
    MBVectorTileDecoder tileDecoder = new MBVectorTileDecoder(css);
    VectorTileLayer geoJsonPointsVectorLayer = new VectorTileLayer(mGeoJsonDataSource, tileDecoder);
    geoJsonPointsVectorLayer.setSynchronizedRefresh(true);
    MapViewTools.addLayer(geoJsonPointsVectorLayer);

`
Can the VectorTileLayer‘s  width be synchronized and scaled proportionally ?

@baneyue Can you be more specific? Do you mean line widths being proportional to zoom level in some way? In that case yes, you can use expressions in your CartoCSS.  For example:
line-width: linear([view::zoom], (1.0, 0.0), (10, 5.0));

This would create a linear line widening effect starting from zoom level 1 (width 0) up to zoom level 10 (width 5).

We need to do a high-precision display to show the true width of the car, such as a 3-meter wide car. We need to draw a 3-meter wide driving trajectory on the map instead of using pixels. When scaling, the trajectory can also be scaled synchronously. Do you have any good plans.

@baneyue Can you be more specific? Do you mean line widths being proportional to zoom level in some way? In that case yes, you can use expressions in your CartoCSS. For example:
line-width: linear([view::zoom], (1.0, 0.0), (10, 5.0));

This would create a linear line widening effect starting from zoom level 1 (width 0) up to zoom level 10 (width 5).

I know what you mean, but this width's unit maybe pixels，that not precision of the map, i need display on map a true width.
actually, True width in map plane coordinates.  Do you know what I mean？

@baneyue You can use any expression for width. If you want your line width to be proportional to the actual scale, use something like this:
line-width: pow(2.0, [view::zoom] - 14.0);

This makes the width to be 1.0 at zoom=14, 0.5 at zoom=13 and 2.0 at zoom=15.

@mtehver could be nice to have a utility method to convert pixel to meters in cartocss. Dont you think ?

@farfromrefug Unfortunately for 'planar' maps that would be a function depending on geographic coordinates, which may differ for very large features (for example, a line from equator to near pole).

@mtehver you are right ! Though would that method be linear depending on the zoom? I mean seeing the view size we never see a big area so that the line would have a different width at top and bottom of the screen (I think). So maybe a approximation would be enough (like using the focus lat Lon to compute)

Hi, whats the use if setSimplifyTolerance.
Whats the value i can set for low ram devices.
I am using this code
if (Utils.getRam(MainActivity.this) >= 2)
           geotracksdataSource.setSimplifyTolerance(2.0f);
else
           geotracksdataSource.setSimplifyTolerance(5.0f);

will it help me with large points and lines.

@binu8051 setSimplifyTolerance does not help much with memory usage - all the data inserted into data source is still kept at original resolution. Just for rendering purposes the geometry is dynamically simplified based on zoom level.


How to check if file already exists ?

Hey Tony !
You're very helpful so far,I want to check if the downloading file already exists or not ? Is there  any method ? If exists do share with me .

When a download request has been completed; all FetchListeners attached to an instance of Fetch will be notified.
fetch.addFetchListener(new FetchListener() {
    @Override
    public void onUpdate(long id, int status, int progress, int error) {

        if(id == downloadId && status == Fetch.STATUS_DONE) {
            //download is now completed.
        }
    }
 });

Fetch also has other methods you can uses to get the status of a request.
//example 1

RequestInfo requestInfo = fetch.get(downloadId);

if(requestInfo != null && requestInfo.getStatus() == Fetch.STATUS_DONE) {
    //download is complete.
}

//example 2

File file = fetch.getDownloadedFile(downloadId);

if(file != null) {
    //download is complete.
}


li/edit eligibility

Edit Eligibility
This PR incorporates Khusbu's changes. It then changes the info submission page to pull data from MongoDB. The actual MongoDB code is a bit buggy and our edits may have caused breaking changes. We need to create a new issue to handle this.
Related Github Issues

#50

#87


Feature Request: Gateway Load Balancer Support

Implementing support for Gateway Load Balancer would provide the ability to horizontally scale out fck-nat instances and also simplify some of the HA deployment options.
I have had good experiences in the past integrating GWLB support into my own NAT instances using the AWS sample tunnel handler here: https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler
Handler already supports both x86 and graviton instances already so should be relatively simple to drop in place.
If there is an appetite for this feature to be included I am happy to take a look at adding support.

I would love to see something like this as part of fck-nat. I think this allows for a great advanced option for users who need more resiliency than the current setup can provide without making things overly complex for those who don't. Users that need a basic NAT instance can still do so and users who want resiliency at a higher-than-instance-but-lower-than-gateway cost can use a GLB solution.

Have opened an initial PR against the 1.4 release branch https://github.com/AndrewGuenther/fck-nat/pull/95
I have done a reasonable amount of testing across both the x86 and ARM instances but mostly testing this feature in isolation. Haven't evaluated the impact against any of the existing features, however given the scope of this change I think it's unlikely.
There is a reasonable amount of doco that could be added around how to build out GWLB, not sure if thats something that would be suited to diving into here given the existing resources available.


save and report dalle.pt at the end of each epoch

also add a parameter to allow specifying a different name to avoid overwriting
if running 2 dalle on the same folder
this solves:

avoid using a lot of disk with one model every 100 steps under wandb folder
avoid confusion and errors while running 2 models in the same folder

@rom1504 nice! do you want to exclude the .pt from the filename? (otherwise looks good!)

@lucidrains changed!

Hi. Should I change more things here ?

sorry for the delay for making the last changes
I think this is now ready for review/merging

@lucidrains you have a look at this yet


Add uzlopak to performance team

Well, why not :)

You are doing an awesome job. Welcome!

cc @nodejs/performance

thanks :)


Cannot get the blob for thumbnail url

Current behavior
I unable to retrieve the blob type for the created thumnail, I need to upload the thumbnail as a blob to server.
Expected behavior
How do I get the blob type.
This is my code for getting the blob for thumbnail url.
const image = await fetch(uri).catch((error) => {
console.log('There has been a problem fetching blob: ' + error.message);
throw error;
});
const blob = await image.blob();
console.log(blob)
This is my blob response:
{"_data": {"__collector": {}, "blobId": "cf8102e6-9c46-434e-aaeb-37e304a2476f", "lastModified": 0, "name": "thumb-235f0a83-7bdd-4362-9678-b70dd5eb9bf2", "offset": 0, "size": 20835, "type": ""}}
Platform

[X] Android
[X] iOS

React Native Version
0.71.7
React Native Compressor Version
1.8.22
Reproducible Steps And Demo

I found the solutin, it's because of the extention missing in the thumbnail url. It would be nice if we can have a props to change the file name like cacheName in this plugin https://github.com/souvik-ghosh/react-native-create-thumbnail.


terraform deployment

Hello! Has anyone tried deploying this with terraform?  I have been able to deploy into vsphere, but it looks like it is trying to deploy as a "frontend" haproxy and not the "default" configuration option.  After deploying, I run ifconfig on the command line and see a "frontend" NIC and a "workload" NIC.  If I deploy manually through the vsphere GUI, everything works as expected.  Here's the code I'm working with.  I'm looking for help please =)
haproxy.tf
data "vsphere_datacenter" "dc" {
name = var.datacenter_name
}
data "vsphere_datastore" "datastore" {
name          = var.datastore_name
datacenter_id = data.vsphere_datacenter.dc.id
}
data "vsphere_resource_pool" "pool" {
name          = "${var.cluster_name}/Resources"
datacenter_id = data.vsphere_datacenter.dc.id
}
data "vsphere_network" "management" {
name          = "Tanzu Management Network"
datacenter_id = data.vsphere_datacenter.dc.id
}
data "vsphere_network" "workload" {
name          = "Tanzu Workload Network"
datacenter_id = data.vsphere_datacenter.dc.id
}
data "vsphere_host" "host" {
name          = "vmhost"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource "vsphere_virtual_machine" "tanzu-haproxy" {
name             = var.vm_name
datacenter_id    = data.vsphere_datacenter.dc.id
resource_pool_id = data.vsphere_resource_pool.pool.id
datastore_id     = data.vsphere_datastore.datastore.id
host_system_id   = data.vsphere_host.host.id
folder           = "Tanzu"
wait_for_guest_net_timeout = 0
wait_for_guest_ip_timeout  = 0
wait_for_guest_net_routable = false
ovf_deploy {
local_ovf_path = "./haproxy-v0.2.0.ova"
disk_provisioning         = "thin"
ip_protocol               = "IPV4"
ip_allocation_policy      = "STATIC_MANUAL"
ovf_network_map = {
"management" = data.vsphere_network.management.id
"workload"   = data.vsphere_network.workload.id
}
}
network_interface {
network_id   = data.vsphere_network.management.id
}
network_interface {
network_id   = data.vsphere_network.workload.id
}
vapp {
properties = {
"root_pwd"                       = "12345"
"permit_root_login"              = "True"
"hostname"                       = "tanzu-haproxy"
"nameservers"                    = "<IP_ADDRESS>, <IP_ADDRESS>"
"management_ip"                  = "<IP_ADDRESS>/27"
"management_gateway"             = "<IP_ADDRESS>"
"workload_ip"                    = "<IP_ADDRESS>/25"
"workload_gateway"               = "<IP_ADDRESS>"
"service_ip_range"               = "<IP_ADDRESS>/28"
"dataplane_port"                 = "5556"
"haproxy_user"                   = "dataplane-api"
"haproxy_pwd"                    = "12345"
}
}
}

It seems like we need a userconfigurable option in the OVF to set "configuration" to "default" or "frontend"?
We could put that in the vapp code block.


Return Empty(T) from copy(xf, T, foldable) instead of nothing

close #79

Codecov Report

Merging #80 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   84.26%   84.31%   +0.04%
==========================================
  Files          17       17
  Lines        1112     1109       -3
==========================================
- Hits          937      935       -2
+ Misses        175      174       -1

Impacted Files
Coverage Δ

src/processes.jl
91.42% <100%> (+0.51%)
:arrow_up:

src/core.jl
68.38% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


 I think this caused the following:

I'm pretty sure that ninja does not expect or handle the build file changing while it is executing it?
Ninjas job output "[jobs_complete/total_jobs]" for me seemed to be one less than the number of build statements in the file (for doing a single design).
Anyway, I think once the build file was rewritten, ninja starts the build count over again. Also, sometimes it replaces the current line, so you do not notice that it is happening, and sometimes it creates a new line like shown in the image.

Everything done by these lines in the build.ninja file is done before ninja is ran here

Fails unittests because there is now one less build statement for every ninja file. But I notice that the unittest specifically checks for the configure rule.
I see that the rule is marked as a generator, which means ninja re-invokes itself. So I think this is actually a feature, but I'm not sure why.


Release logging 1.7.0

/cc @liyanhui1228.
Bumping to second-dot because of new Python version support, plus trace / span_id support.

Via #5926


BetterChannelList 1.1.9

Added option to hide the limited channel icon next to the channel name.
Closes #112

https://github.com/arg0NNY/DiscordPlugins/issues/112#issuecomment-2464813357


Home

I am trying the hug-theme-learn and I have a little problem :
I work with subdomains in apache , so for  this site I use hugo as subsite ,
it means access with https://mysite.com/hugo or when in local : http://localhost:1313/hugo
The problem is :
All adresses in the navigation bar (left) reflect the good URL : http://localhost:1313/hugo/...... ,
exept  for Home , which has adress http://localhost:1313 , here is the subsite "hugo" missing.
Can you indicate where I can correct it ?
I am newbie .
Thanks
Jean Vermeulen

Thereby , all files in  content directory CANNOT be accessed , content of subdirs CAN.

When modifying '/' to '/hugo/' or replacing it with .URL in layouts/partials/menu.html in line 17 , the adress for Home is correct , but can stil NOT access files in content direcroty

The same is also the case with me. The logo has a wrong url and the home button. are we doing something wrong here or have we overlooked something?
My config.toml looks like:
baseURL = 'https://localhost:1313/utils/rc-logger'
languageCode = "en-US"
defaultContentLanguage = "en"
title = 'RC-Logger Dokumentation'
theme = 'hugo-theme-learn'

[params]
  editURL = "XXX"
  description = "Dokumentation für Logging-Targets des NLog Frameworks."
  author = "Michael Maier"
  showVisitedLinks = true
  disableBreadcrumb = false
  disableNextPrev = false
  disableLandingPageButton = false
  disableLanguageSwitchingButton = false
  disableMermaid = false
  customMermaidURL =<EMAIL_ADDRESS>  titleSeparator = "-"

[outputs]
home = [ "HTML", "RSS", "JSON"]

[Languages]
[Languages.en]
title = "Documentation for Hugo Learn Theme"
weight = 1
languageName = "English"
landingPageURL = "/"
landingPageName = " Home"

[[Languages.en.menu.shortcuts]]
name = " GitHub repo"
identifier = "ds"
url = "https://github.com/matcornic/hugo-theme-learn"
weight = 10

[[Languages.en.menu.shortcuts]]
name = " Showcases"
url = "showcase"
weight = 11

[[Languages.en.menu.shortcuts]]
name = " Hugo Documentation"
identifier = "hugodoc"
url = "https://gohugo.io/"
weight = 20

[[Languages.en.menu.shortcuts]]
name = " Credits"
url = "/credits"
weight = 30

All Page links are correct but only the logo url and the landing page url is "http://localhost:1313/". The Credits menu item is also correct "http://localhost:1313/utils/rc-logger/credits".
Is there some thing wrong?

+1.


[Bug]

Bug report
What I did
Use range filter
What I expected to happen
Clear button in range filter has to clear filter.
What happened
Clear button in range filter doesn't work.
What I've already tried to fix it
FIX:
Change line 123 in file range.blade.php
from> $('li[filter-name={{ $filter->key }}]').trigger('filter:clear');
to> $('li[filter-key={{ $filter->key }}]').trigger('filter:clear');
Backpack, Laravel, PHP, DB version
v8.24.0@d16e9f875e4d7609a05d5007393e22ba95efd1fc
When I run php artisan backpack:version the output is:
4.1.30@62856b1f01fc3e05c80140fc22f85ea2aac8368c

Thanks @pcipov for the time spent to bring this to our atention.
I'v just created a PR #3512 to fix it. It should soon be merged and tagged.
Wish you the best,
Pedro

Merged! Will be tagged later today 🥳 Thanks @pcipov & @pxpm .


How to declare params?

Hi,
I am trying to build API for some other usecase where Instead of files, I  need to pass normal int and float values. I tried using
#cuttle-environment-get-config API request
It is not working, can you please help?

Hey! Can you post your cuttle.json file here?


Add AWS-managed alternative JavaScript runtime(s)

Problem
Running an alternative JavaScript runtime is practically impossible due to an extreme difference in the cold starts.
Why:

the latest versions of alternative JavaScript runtimes on Linux weigh 32MB for Bun 0.6.13, 38MB for Deno 1.35.0
the size of the alternative runtimes, distributed as a Lambda Layer will be the cause of a higher cold start and it's unlikely Bun & Deno would decrease the size dramatically in the next couple of years

Request
There are alternative runtimes, such as Deno custom runtime & Bun custom runtime for AWS Lambda.
Given Deno now supports aws-sdk, please consider to provide customers with AWS managed Deno runtime.
Bun runtime will not be useful for the majority of the customers in the near future, as aws-sdk is not supported yet.

@jtuliani
cc @Jarred-Sumner @Electroid
The extreme cold starts for JavaScript custom runtime layers is proven by data in this PR https://github.com/maxday/lambda-perf/pull/604

no matter how fast Bun, Deno would be, the non-provided by AWS JavaScript runtimes would always be slower for most of the use cases

Please consider to

+1


Hide console

Hi,
How i can show transfer console ?
Best Regards
Quentin Laffont

a solution ?

solution ?

same question, thanks

I have the same question. How do I open the console once its closed other than restarting Atom?

You don't. The fix for this is part of my pull request #254. Now we should wait for it to be accepted.


I heard good things about GoMap!! for Apple devices

tested for just minute, but seemed really nice
https://github.com/osmlab/awesome-openstreetmap#mobile-editors

Seems to be very well liked, and we are missing editors for iOS.
Thanks!

It's awesome, I made about 20% of my changesets with it.

It's awesome, I made about 20% of my changesets with it.

Nice, then we have an awesome editor for iOS now as well!


timeout out taking longer than expected

A retrieval that froze at 12:07 yesterday never seems to have timed out.
It's still in "Stage": "FirstByteReceived" on the controller.
Nothing got logged after that 12:07 "DealStatusOngoing" stage transition > 24hrs ago

The 24 hour timeout should work irrespective of #28.  Regardless of reason for the hang, it should terminate after 24 hours of inactivity.

fixed with #147


context.GetChildContentAsync() => output.GetChildContentAsync()

in sample EmailTagHelper.cs

@hakenr  I think the entire sample needs to be updated, not just this line - right?

@Rick-Anderson I think the sample is already updated (see #970), this was the last occurrence I did not catch earlier.

@hakenr  thanks. Merged


UE4 discord plugin crashes after closing Play In Editor and making one action in the editor

I'm using UE4 4.20.3. I haven't made any changes to the plugin. I've only used the exposed blueprints in my Game Instance.
Steps to reproduce:

Do something similar to the UE4 Example where you initialize connection. I did it in an Actor which I construct from the Game Instance.
Open PIE
Close PIE
Engine should crash soon

Engine stopped crashing once I stopped executing "Check for all Callbacks" in event tick of the Actor which I have my Discord logic in.

Fixed once I stopped checking for callbacks:

I've been able to replicate this using PIE while developing. I haven't been able to replicate on a shipping build of my game.

What are these pictures for ants

This is a very late reply, but I think if you're still seeing issues and want to integrate, you'd be best to move to our GameSDK, which should be perfectly compatible with newer Unreal versions.
https://discordapp.com/developers/docs/game-sdk/sdk-starter-guide
If you need help, come join us in the Discord at https://discord.gg/discord-gamesdk !


consider signing up for Core Infrastructure Initiative badge

Just FYI, I heard recently about https://bestpractices.coreinfrastructure.org/ and thought of you :grinning: The guy from there was talking about it on https://changelog.com/215/, sounded possibly relevant for you.  You can see the criteria at https://github.com/linuxfoundation/cii-best-practices-badge/blob/master/doc/criteria.md

awesome, thanks for the suggestion. hydra is basically doing almost everything already: https://bestpractices.coreinfrastructure.org/projects/364

Cool!  On the static analysis thing, you could maybe try https://github.com/HewlettPackard/gas - I've not used it myself on anything yet but heard it mentioned on https://changelog.com/gotime-14/

nice! I will!

currently blocking:

https://github.com/HewlettPackard/gas/issues/51
https://github.com/HewlettPackard/gas/issues/50

done!


Syslog4j dead?

This project uses old syslog4j from maven, which is at version 0.9.30. No new versions of syslog4j are available in maven under "org.syslog4j" even though 0.9.46 is available as JAR download from http://syslog4j.org/
There's https://github.com/Graylog2/syslog4j-graylog2 from https://www.graylog.org/ which continues where original syslog4j stopped and it has maven repo at http://mvnrepository.com/artifact/org.graylog2/syslog4j with recent releases.
Could you try upgrading this project to either 0.9.46 or the graylog port?
Anyway, original syslog4j is dead and graylog fork doesn't aim to deliver any production quality. So what do we use with papertrail now?

Pretty late response, but anyhow...
Leon (Papertrail customer service) pointed me to their (PT) custom version of syslog4j jar which is not the ideal outcome as there is no corresponding source and the jar is not available in a public maven repo, but still better than dead syslog4j project itself.
How about adopting syslog4j project, papertrail? Or at least publishing the source with your changes in a GH repo like graylog did.

All, just a note regarding this:

How about adopting syslog4j project, papertrail?

I'm afraid we don't have the expertise, time, or release/repo control to do this. Just creating this syslog4j adaptor itself was a non-trivial amount of time and effort to test, mostly for community good rather than because it had any kind of benefit for Papertrail (it didn't; we just wanted it to exist and saw an opportunity). So, while I appreciate that "How about adopting syslog4j project" was written in good spirit, that's not practical for us to do nor reasonable to request.
Regarding upgrading to a newer or different syslog4j, pull requests doing this are gladly accepted. Obviously if Papertrail's team has time and interest, we'd try to do so as well, but there's no reason to block on that.


Add an AnsiTerminal and rewrite significant portions of ANSI-support

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

107 of 162 (66.05%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.3%) to 70.035%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/src/ansi/ansi_terminal.dart
0
9
0.0%

lib/src/ansi/ansi_terminal_driver.dart
12
23
52.17%

lib/src/ansi/ansi_escape.dart
95
130
73.08%

Totals

Change from base Build<PHONE_NUMBER>:
2.3%

Covered Lines:
395

Relevant Lines:
564

💛  - Coveralls


Support for Jalali Calendar

Is your proposal related to a problem?
Currently, wagtail admin only supports dates that are based on Gregorian Calendar. There are a few other systems that are widely used. for example: Jalali Calendar, Chinese Calendar, Hebrew Calendar, ...
Describe the solution you'd like
It would be really amazing if wagtail could support some other calendar systems, including Jalali calendar.
I think overriding AdminDateInput and AdminDateTimeInput could let users to choose which calendar system they want.
Describe alternatives you've considered
Or, Provide a standard mechanism for people like me to add new calendar systems for their own projects.

Hi @HsnVahedi. We would love for Wagtail to be more accommodating for all non-western locale requirements, but the sad fact is that pretty much most development ecosystems are not quite there yet.
To truly support and non-gregorian calendars, you need support at all levels, because each level needs to be able to reliably store, interpret, have a clear definition for, compare, and possibly even run calculations on non-gregorian date and time values. Existing solutions meant to handle gregorian dates/times just won't do, because they aren't capable of representing the same range of values, and calculations would need to work differently:

SQL (column types and calculation rules)
Python (Separate versions of the datetime and dateutil modules from the standard library)
Django (Model fields and ORM level support)
Front end (Choosers, widgets, and basically anything that works with the dates in-browser

Wagtail would really only come into play on that last point. Even then, would likely want to make use of existing/established JS libraries for most of things because, as a Python/Django app, it wouldn't make a lot of sense for Wagtail to write/maintain/bundle its own bespoke JS libraries for this.
So, as much as this is somewhere we'd like to be more accommodating as a CMS, as you can see, there's a lot more to it, and most of is really out of Wagtails hands right now (expert-level input/resource investment at all levels). We're happy to keep this issue here as a reminder to add support once the necessary bits and peices exist, and also feel free to use this as a place to record progress in each area (if that's something that you keep track of). But for now at least, this isn't something we can support at this time.

Hi @HsnVahedi. We would love for Wagtail to be more accommodating for all non-western locale requirements, but the sad fact is that pretty much most development ecosystems are not quite there yet.
To truly support and non-gregorian calendars, you need support at all levels, because each level needs to be able to reliably store, interpret, have a clear definition for, compare, and possibly even run calculations on non-gregorian date and time values. Existing solutions meant to handle gregorian dates/times just won't do, because they aren't capable of representing the same range of values, and calculations would need to work differently:

SQL (column types and calculation rules)
Python (Separate versions of the datetime and dateutil modules from the standard library)
Django (Model fields and ORM level support)
Front end (Choosers, widgets, and basically anything that works with the dates in-browser

Wagtail would really only come into play on that last point. Even then, would likely want to make use of existing/established JS libraries for most of things because, as a Python/Django app, it wouldn't make a lot of sense for Wagtail to write/maintain/bundle its own bespoke JS libraries for this.
So, as much as this is somewhere we'd like to be more accommodating as a CMS, as you can see, there's a lot more to it, and most of is really out of Wagtails hands right now (expert-level input/resource investment at all levels). We're happy to keep this issue here as a reminder to add support once the necessary bits and peices exist, and also feel free to use this as a place to record progress in each area (if that's something that you keep track of). But for now at least, this isn't something we can support at this time.

Hello @ababic
You mentioned different layers:

SQL (column types and calculation rules)

Python (Separate versions of the datetime and dateutil modules from the standard library)

Django (Model fields and ORM level support)

Front end (Choosers, widgets, and basically anything that works with the dates in-browser

Isn't it possible to just change the front end layer? As far as I know dates in Jalali Calendar can be easily converted to dates in Gregorian Calendar and vice versa. I think that's also true for other calendar systems.
Isn't it possible to use the standard Gregorian Calendar in the first three layers and just convert them to other calendar systems?

Hello @ababic
You mentioned different layers:

SQL (column types and calculation rules)

Python (Separate versions of the datetime and dateutil modules from the standard library)

Django (Model fields and ORM level support)

Front end (Choosers, widgets, and basically anything that works with the dates in-browser

Isn't it possible to just change the front end layer? As far as I know dates in Jalali Calendar can be easily converted to dates in Gregorian Calendar and vice versa. I think that's also true for other calendar systems.
Isn't it possible to use the standard Gregorian Calendar in the first three layers and just convert them to other calendar systems?

Isn't it possible to just change the front end layer? As far as I know dates in Jalali Calendar can be easily converted to dates in Gregorian Calendar and vice versa. I think that's also true for other calendar systems.

If you literally only care about the Admin UI level, and are happy to treat the value as gregorian everywhere else, Wagtail technically already supports this. You can inplement your own Django form widget and specify in your panel declarations where that widget should be used. E.g.
class EventPage(Page):
    start_date = models.DateField()
    end_date = models.DateField()

    content_panels = Page.content_panels + [
        FieldPanel("start_date", widget=JalaliDateWidget()),
        FieldPanel("end_date", widget=JalaliDateWidget()),
]

The missing element here is JalaliDateWidget - which you would have to create yourself, or you may be able to find something existing you can reuse.
Though, thinking about this from an editors perspective, this kind of this would probably be better indicated as a "Preferred calender format" for each user (stored in a profile model), rather than being hardcoded for everybody - In which case, you'd really want a single calender widget, capable of detecting this preference for each user, and presenting itself in the correct format.

Isn't it possible to just change the front end layer? As far as I know dates in Jalali Calendar can be easily converted to dates in Gregorian Calendar and vice versa. I think that's also true for other calendar systems.

If you literally only care about the Admin UI level, and are happy to treat the value as gregorian everywhere else, Wagtail technically already supports this. You can inplement your own Django form widget and specify in your panel declarations where that widget should be used. E.g.
class EventPage(Page):
    start_date = models.DateField()
    end_date = models.DateField()

    content_panels = Page.content_panels + [
        FieldPanel("start_date", widget=JalaliDateWidget()),
        FieldPanel("end_date", widget=JalaliDateWidget()),
]

The missing element here is JalaliDateWidget - which you would have to create yourself, or you may be able to find something existing you can reuse.
Though, thinking about this from an editors perspective, this kind of this would probably be better indicated as a "Preferred calender format" for each user (stored in a profile model), rather than being hardcoded for everybody - In which case, you'd really want a single calender widget, capable of detecting this preference for each user, and presenting itself in the correct format.


Unable to download git

I have a strange issue, that none of the machines in my house are able to download git.
I have tried I.E. and firefox, and the following behaviour is exhibited:
The download initially starts at 50kB/s.
After ~10 seconds, it reduces to 15kB/s.
After about 5 minutes the download gets completely stuck; the download speed does not update, and the progress bar does not advance at all. After another 5 minutes, firefox reports the download has failed. I.E. doesn't report it to fail, but when I try to run the downloaded executable, Windows pops up a message stating that the executable is of unknown type (from which I infer that the download did not finish properly).
I am not really sure what to do; downloading other files from other websites works just fine, and I get ~3MB/s.
Are there perhaps official mirrors from which I could use?

Problem was on my end; after resetting my router, everything is OK.


Backup exports fails when static channel backups is updated

Background
When subscribing to changes to static channel backups using the SubscribeChannelBackups method, sometimes an error event is raised:
unable to fetch all static chan backups: link node with target identity not found

Your environment

lnd 0.12.1

Steps to reproduce

Subscribe to backups sub
Receive a backups event

Expected behavior
No error events should be raised
Actual behavior
An error is published to the subscription:
2 UNKNOWN: unable to fetch all static chan backups: link node with target identity not found

I looked into this and found that it could happen when multiple channels with a peer are closed cooperatively and they confirm within the same block. A subscription update is sent within MarkChannelClosed for each channel, which causes us to fetch all open channels to update our backups. If the other channels haven't had MarkChannelClosed invoked yet, they'll show up in that list of open channels. Once all the channels are fully closed, the link node for that channel will be pruned, since there aren't any open channels left with that peer. If that happens before assembleChanBackup, which does another pass on each open channel to retrieve all addresses for the peer, then the error above is possible.

Haven't seen this issue reported anywhere else. Closing for now.

Reopening as confirmed by @alexbosworth that this issue still occurs


feat(linter): implement typescript/consistent-generic-constructors

Merge activity

Nov 27, 4:20 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
Nov 27, 4:20 AM EST: A user added this pull request to the Graphite merge queue.


chore: backports for leanprover/lean4#4814 (part 18)

see https://github.com/leanprover-community/mathlib4/pull/15245

bors r+


java_requirement: don't consider macOS Java stub

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Fixes #2231. I don't know what tests to write for this, but I blew away my Java installs with sudo rm -rf /Library/Java/JavaVirtualMachines/* (extremely satisfying) and then ran:
 $ brew info plantuml
plantuml: stable 8057
Draw UML diagrams
https://plantuml.sourceforge.io/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/plantuml.rb
==> Dependencies
Required: graphviz (uninstalled)
==> Requirements
Required: java (uninstalled)

Switching back to the master branch the same command instead says java (installed).
Alternatively, we could just not include the line that says which("java"). CC @rwhogg

Thanks for getting this started @jonchang!


[PE-D][Tester A] Inconsistent output

When I input add i/Monitor i/Mouse e/2020-02-02 a/311, Clementi Ave 2, #02-25, S120300 c/$100000000000 s/not delivered t/Difficult address to deliver t/Best before Wednesday, the output is as shown above, which can be considered inconsistent as the cost of the delivery that I input is not the same as the cost of the delivery output.

Labels: type.FunctionalityBug severity.Medium
original: Edwin1022/ped#5

This should be a bug fix as stated in #245.


Scripts for Cloud Performance Profiling

Scripts used to profile AWS/GCP/Fabric performance.

@zlion is there a way you can rebase so it does not show so many commits especially the ones that are old ...?


0.2.0

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 33.33333% with 10 lines in your changes missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/window.py
15.45% <25.00%> (+0.77%)
:arrow_up:

src/factory.py
36.36% <36.36%> (ø)


Document MTLS

done. have a look, please, @leastprivilege: http://docs.identityserver.io/en/latest/topics/mtls.html


Is it possible to make it faster?

Expected Behavior
Keys are captured without any significant delay.

Current Behavior
There is a delay of 200-1000ms (or even more).

Possible Solution
Increase the speed of polling if it uses polling.

Steps to Reproduce (for bugs)
Console.log events and you can see that there is some delay.

Context

Your Environment

Version used: 0.6.2
Environment name and version (e.g. Chrome 39, node.js 5.4): node v12.13.0
Operating System and version (desktop or mobile): Windows 7 64
Link to your project:

I've tried "mousemove" and "keydown", but they seem to have some delay, around 300-1000ms (I'm working on a script to control two computers with the same keyboard).
Especially when I'm writing fast, it waits a second or two before sending the keys.
Is it using polling to capture events?
Could it be made faster or poll at higher frequencies? Or this is the maximum possible speed?

It's fast on windows 10 though, there is no noticable delay.

Same here. No Delay

Yes, sorry, now I don't see any delay either. It was probably something else.


execution depends on file order

What version of CUE are you using (cue version)?

$ cue-0.6.0 version
cue version v0.6.0

go version go1.20.6
      -buildmode exe
       -compiler gc
       -trimpath true
     CGO_ENABLED 0
          GOARCH amd64
            GOOS linux
         GOAMD64 v1

Does this issue reproduce with the latest stable release?
yes
What did you do?

testscript:

exec mv z.cue a.cue
exec cue-0.6.0 export .

-- b.cue --
package kube
oAuthProxy: [ID=_]: {name: ID}
for _, obj in oAuthProxy {(#oAuthProxy & {in: obj}).out}
#oAuthProxy: {
	in: {name: string}
	out: {deployment: "\(in.name)-proxy": {}}
}

-- c.cue --
package kube
oAuthProxy: prometheus: {}

-- z.cue --
package kube
deployment: {}
for _, deployment in deployment {}

What did you expect to see?
PASS
What did you see instead?
deployment: field "prometheus-proxy" not allowed by earlier comprehension or reference cycle
Comment
disabling the first line (exec mv...) make this test pass, so failure depends on the file order (alphabetical)

Did you by any chance test older CUE versions? It would be interesting to see if this was a regression between v0.5.0 and v0.6.0, for example.
Certainly a bug to be fixed, either way.

I also wonder why the earlier fix at https://review.gerrithub.io/c/cue-lang/cue/+/542725 wouldn't be enough here; we should be sorting the files as we load them, so the order they are fed in should not matter at all.

cue 0.5.0 also shows this issue

I also wonder why the earlier fix at https://review.gerrithub.io/c/cue-lang/cue/+/542725 wouldn't be enough here; we should be sorting the files as we load them, so the order they are fed in should not matter at all.

On second thought, what you're doing here is not swapping the order of files in the command line, you're renaming one so that it ends up in a different lexicographical order. So the earlier CL is unrelated.

Yes, sorting seems to work. It's about order of parsing/executing that is influenced by order of reading.


tBTC dApp: Internet Explorer Shows Blank Page

Description:
Internet Explorer browser showed me a blank page when I visited tBTC dApp address.
Steps to reproduce the behavior:

Open Internet Explorer
Visit https://dapp.test.tbtc.network/
See error

Expected behavior:
The explorer should show the page as intended.
Environment details:
OS: Windows 10, 64 bit OS
Web Browser: Microsoft Edge 20.10240.16384 (64-bit)
Screenshots
See screenshot below

Does this happen to you consistently? Wondering if you hit the page during a deploy or something of the sort.

It happened to me consistently, I just tried it.
I went directly to the dApp address without doing anything.


Add checks for KCP and MD replicas to ensure cluster creation is complete

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Refactor PhaseSpacePosition

PhaseSpacePosition now includes the time and cleans up the inheritance hierarchy.
The longer-term plan is to have the orbit integrator understand the time of the PSP, which is different than the return times specified in the integrator.

@adrn I actually need this PR and a few of the others. Now that it's the same inputs and variable names as in gala, I'm going to merge. It would be great to meet to discuss plans.


work mongo.events on top of activities

base it on the nagios logic

we'll work this on elasticsearch (very likely) but not the mongo.  this is because we want to run analysis of off events


Possibility to release Fabric as ComfyUI node for SDXL model?

It would be great if somebody did it. ComfyUI at the moment is the best choice to run SDXL models/Loras.

Contributions are very welcome, as I currently don’t have capacity to look into it myself. The code in this repo should serve as a good starting point.

Here's my attempt: https://github.com/ssitu/ComfyUI_fabric
The results look different but similar to what you get on the sd-webui. The differences might just be from how things are done differently behind the scenes in the two UIs.


add completed challenge count back in and link to nonprofit playlist

Looks good! Tastes good! Is good!


If we get 5xx from backend, we should be showing some message on signup page

Currently, if we get 5xx from APIs for the initial GET /users/self call, nothing is shown on the page, need to fix it
We could simply show an alert box saying "Our system is seems to be having some troubles, please check sometime later!" or something similar

I would like to work on it. Sending a pull request soon :)


Llm adblock

This PR implements LLM based by using VPNservice to allow or block on the domain level.
It works by intercepting packets on the android phone using a local VPN and sending a POST request to the puppet backend (/adblock_filter endpoint) with the domain name, the puppet backend then uses the LLM and responds with a JSON object
{"data":[{"allow":false,"full_response":"no the domain ads.google.com should not be allowed","error":null}],"is_generating":false,"duration":5.0021200180053710938,"average_duration":5.5438201588171499746}

The json is then parsed by the android app and then the network request is either blocked or allowed.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.urbit-pilled seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

solves #35

@urbit-pilled can you rebase and squash the fixes into the previous commits?

rebased back to second commit on this PR, is this fine, or do you want me to squash back to the first?

rebase/squash is already better unless breaking it into different commits makes it more clear


Cannot read property '0' of undefined

HI!  THE PACKCAGE IS PERFECT!
I founded a error when I tried to move a pane to a direction where is not another pane. For example, if you have two panes in a single row and try to move one of them to above/below, appears the following error:
Atom Version: 1.12.6
Electron Version: 1.3.9
System: Unknown Windows Version
Thrown From: 'move-panes' package, vundefined
Stack Trace
Uncaught TypeError: Cannot read property '0' of undefined
At C:\Users\jorge\.atom\packages\move-panes\lib\move-panes.coffee:31

TypeError: Cannot read property '0' of undefined
    at Object.move (file:///C:/Users/jorge/.atom/packages/move-panes/lib/move-panes.coffee:31:6)
    at Object.moveRight (file:///C:/Users/jorge/.atom/packages/move-panes/lib/move-panes.coffee:11:18)
    at atom-workspace.atom.commands.add.move-panes:move-right (file:///C:/Users/jorge/.atom/packages/move-panes/lib/move-panes.coffee:4:70)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\jorge\AppData\Local\atom\app-1.12.6\resources\app.asar\src\command-registry.js:259:29)
    at C:\Users\jorge\AppData\Local\atom\app-1.12.6\resources\app.asar\src\command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\jorge\AppData\Local\atom\app-1.12.6\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:587:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\jorge\AppData\Local\atom\app-1.12.6\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:382:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (C:\Users\jorge\AppData\Local\atom\app-1.12.6\resources\app.asar\src\window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (C:\Users\jorge\AppData\Local\atom\app-1.12.6\resources\app.asar\src\window-event-handler.js:3:59)

Commands
     -1:12.9.0 window:focus-pane-above (atom-text-editor.editor.is-focused)
     -1:11.2.0 move-panes:move-down (atom-text-editor.editor.is-focused)
     -1:09.8.0 move-panes:move-up (atom-text-editor.editor.is-focused)
  2x -1:09.1.0 move-panes:move-right (atom-text-editor.editor.is-focused)
     -0:57.4.0 move-panes:move-left (atom-text-editor.editor.is-focused)
     -0:43.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -0:25 maximize-panes:maximize (atom-text-editor.editor.is-focused)
     -0:22.4.0 editor:add-selection-below (atom-text-editor.editor.is-focused)
  2x -0:21.2.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:21 core:cancel (atom-text-editor.editor.is-focused)
     -0:20.8.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:20.8.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:20 move-panes:move-down (atom-text-editor.editor.is-focused)
     -0:19 move-panes:move-up (atom-text-editor.editor.is-focused)
     -0:18.1.0 move-panes:move-left (atom-text-editor.editor.is-focused)
     -0:16.5.0 move-panes:move-right (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "wrap-guide",
      "pigments",
      "alignment",
      "php-cs-fixer",
      "open-on-github"
    ],
    "excludeVcsIgnoredPaths": false,
    "openEmptyEditorOnStart": false,
    "packagesWithKeymapsDisabled": [
      "close-tags",
      "emmet"
    ],
    "telemetryConsent": "no",
    "themes": [
      "atom-material-ui",
      "atom-material-syntax-dark"
    ]
  }
}

Installed Packages
# User
alignment, v1.1.5 (inactive)
atom-material-syntax, v0.4.6 (inactive)
atom-material-syntax-dark, v0.2.5 (active)
atom-material-ui, v1.3.8 (active)
auto-encoding, v0.6.2 (active)
close-tags, v0.6.0 (inactive)
color-picker, v2.2.3 (active)
emmet, v2.4.3 (active)
file-types, v0.5.4-p1 (active)
highlight-selected, v0.11.2 (active)
less-than-slash, v0.16.0 (active)
linter, v1.11.18 (active)
linter-csslint, v1.3.3 (active)
maximize-panes, v0.2.0 (active)
minimap, v4.25.7 (active)
monokai, v0.18.0 (inactive)
move-pane, v0.1.0 (active)
php-cs-fixer, v4.0.0 (inactive)
pigments, v0.37.0 (inactive)
split-diff, v1.1.0 (inactive)
two-light-ui, v1.1.2 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (inactive)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (inactive)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (inactive)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Again. Thank you very much.

Thrown From: 'move-panes' package, vundefined

It seems that you were navigated to a wrong repo.
I'm considering renaming the package to avoid confusion.


DockLayout out of screen children not visible any more in 5.0

Just upgraded to 5.0 final.
My screen has several layouts stacked, and labels inside, but the labels that start ofscreen (scrollable) never become visible. They are available in the elements navigator in chrome. Also, if I add labels before, I can clearly see that the labels which are offscreen do not get rendered.
Is there any "smart" detection of wether something should be visible implemented in NS?
My screen is roughly:
<GridLayout>
  <ScrollView>
    <StackLayout orientation="vertical">
      <StackLayout *ngFor>
        <Label text="these remain visible" />
        <StackLayout orientation="vertical">
          <StackLayout orientation="vertical" *ngFor>
            <Label text="these also remain visible" />
            <StackLayout *ngIf>
              <DockLayout stretchLastChild="true">
                <Label dock="left" text="not visible when starting offscreen" />
                <Label dock="right" text="not visible when starting offscreen" />
                <Label text="not visible when starting offscreen" />
              </DockLayout>
              <Slider /> <!-- is visible -->

The problem seems to be the docklayout.
I've replaced it with FlexboxLayout, and it's fine.

Hi @jrz,
I have tested the described scenario with the latest tns-core modules and nativescript-angular, and the issue seems to be resolved. For your convenience, I am attaching a sample project. You can test it on your side and check if you will be able to recreate the issue.
Archive.zip


RASA X 0.33 error on Windows 10 EOFError: Ran out of input

Rasa version:
2.0.2
Rasa SDK version (if used & relevant):
na
Rasa X version (if used & relevant):
0.33
Python version:
3.6.8
Operating system (windows, osx, ...):
Windows 10 - 1809
Issue:
Rasa x is not able to load model trained by rasa. This is a fresh project created by rasa init and rasa train.
What I have already tried and did not work :
Created one virtual environment . Installed only RASA in it. Used the same for training model.
Created separate virtual environment for RASA X. Used this virtual environment to launch rasa x.
Error (including full traceback):
error logs: Starting Rasa X in local mode… ?? Traceback (most recent call last): File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasa\cli\x.py”, line 454, in run_locally args, project_path, args.data, token=rasa_x_token, config_path=config_path File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasax\community\local.py”, line 233, in main _start_event_service() File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasax\community\local.py”, line 139, in _start_event_service fn=_event_service, args=(LOCAL_ENDPOINTS_PATH,), daemon=True File “c:\comp\myc-rpa-conversation-rasa2assisstant-api\venvx\lib\site-packages\rasax\community\utils\common.py”, line 855, in run_in_process p.start() File “C:\comp\Python\Python36\lib\multiprocessing\process.py”, line 105, in start self._popen = self._Popen(self) File “C:\comp\Python\Python36\lib\multiprocessing\context.py”, line 322, in _Popen return Popen(process_obj) File “C:\comp\Python\Python36\lib\multiprocessing\popen_spawn_win32.py”, line 65, in init reduction.dump(process_obj, to_child) File “C:\comp\Python\Python36\lib\multiprocessing\reduction.py”, line 60, in dump ForkingPickler(file, protocol).dump(obj) File “C:\comp\Python\Python36\lib\multiprocessing\connection.py”, line 939, in reduce_pipe_connection dh = reduction.DupHandle(conn.fileno(), access) File “C:\comp\Python\Python36\lib\multiprocessing\connection.py”, line 170, in fileno self._check_closed() File “C:\comp\Python\Python36\lib\multiprocessing\connection.py”, line 136, in _check_closed raise OSError(“handle is closed”) OSError: handle is closed

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: https://forum.rasa.com/. Traceback (most recent call last): File “”, line 1, in File “C:\comp\Python\Python36\lib\multiprocessing\spawn.py”, line 105, in spawn_main exitcode = _main(fd) File “C:\comp\Python\Python36\lib\multiprocessing\spawn.py”, line 115, in _main self = reduction.pickle.load(from_parent) EOFError: Ran out of input

Command or request that led to error:
rasa x

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

Thanks for raising this issue, @ArjaanBuijk will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

I've been able to reproduce this issue in both Python 3.8 (latest) and Python 3.7 (latest) on Mac OS 10.15.6.

Tested today with new release. The issue is still present with RASA X 0.34.0 and RASA 2.1.2 combination.

I am also seeing this with these versions;
> rasa --version
Rasa Version     : 2.2.2
Rasa SDK Version : 2.2.0
Rasa X Version   : 0.34.0
Python Version   : 3.7.7
Operating System : Darwin-19.3.0-x86_64-i386-64bit
Python Path      : /Users/vincent/Development/breakoutbot/venv/bin/python3.7

@amardeep2006 this is a bug with the way we disable our telemetry. If you run rasa telemetry enable before running rasa x, it should work. Disabling telemetry using rasa telemetry disable appears to cause this error

It will be likely done as part of this ticket

@amardeep2006 this is a bug with the way we disable our telemetry. If you run rasa telemetry enable before running rasa x, it should work. Disabling telemetry using rasa telemetry disable appears to cause this error

I have tested after enabling telemetry and rasa X started after that without any issues

Closing as will be fixed within ticket we are tracking in Rasa X repo - https://github.com/RasaHQ/rasa-x/issues/3724


Store std schema and reflection schema in the same pickle

The reflection schema is a thin modification of the std schema so them
sharing the same serialization container basically halves the memory
consumption of cached schema (saving about 20MiB).

Do you know if the data path that gets stdschema/reflschema to the compiler pool preserves this?

It does, RPC args are pickled wholesale.

Do we want to backport this to 4.x? I think the approach would be to put the combined schema in a new field in the database, and fall back to loading from the old ones if it isn't present.

Yeah, sure!  Perhaps I should rename the field here then.

Should I do the backport, or do you want to?

As an aside: this preserves sharing between the keys and values, but doesn't preserve the HAMTs internal sharing of nodes. Probably that's much smaller, though. I don't know if there's an easy way to manage that just using pickle's mechanisms, since the internal nodes aren't pyobjects

As an aside: this preserves sharing between the keys and values, but doesn't preserve the HAMTs internal sharing of nodes. Probably that's much smaller, though. I don't know if there's an easy way to manage that just using pickle's mechanisms, since the internal nodes aren't pyobjects

If memray is to be believed that overhead is minimal.


Typing mistakes in code + missing dialog in VS

@nielsenvancura commented on Mon Mar 04 2019

class is called - "name the new file PhoneTranslator", but inside class you have "public static class PhonewordTranslator"
I am at Mac with Visual Studio Community 7.8.2 - can not find Project Option dialog as stated in "After all the icons are copi ..", only Project - Solution Option where "Android aplication" is missing

Podrobnosti dokumentu
⚠ Neupravujte tuto část. Vyžaduje se k propojení problémů docs.microsoft.com ➟ GitHub.

ID: 660b0f7c-9941-2db3-63bf-fc8a97765b1e
Version Independent ID: 5aa1e6f6-534a-05b9-c44a-1f62b24c201a
Content: Hello, Android: Rychlý start - Xamarin
Content Source: docs/android/get-started/hello-android/hello-android-quickstart.md
Product: xamarin
GitHub Login: @conceptdev
Microsoft Alias: crdun

@conceptdev commented on Mon Mar 04 2019

Thanks for your feedback. The filename does seem confusing, since the class name won't match the documentation. The sample code has the same filename, so we'll need to update both the sample & the doc, but we will update it.

This does not refer to the Project menu, you must "open the Project Options dialog by right clicking on the project in the Solution Pad". If you right-click on your Android project node in the solution, you will see the Project Options dialog.

@CeciAc commented on Mon Mar 04 2019
Thanks for stepping in, @conceptdev
I'm moving this issue to the en-us repo.
You can follow up from there
Kind regards,

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


WIP: Fix denols textDocument/definition in deno v1.7.5

fix #761
lua vim.lsp.buf.definition() works in normal buffer, but doesn't work in deno:// buffer.
lua require('lspconfig').denols.definition() or :DenolsDefinition works in deno:// buffer.

@kitagry Thanks for all this deno work!
I don't fully understand the code, but looking at the comments, are you adding backward compatibility for 1.7.4? If so, I don't think it is needed. It might be a good idea to add a minimum requirements deno 1.8 version to the docs?
Could you test your code with the new version of Deno 1.8 https://github.com/denoland/deno/releases/tag/v1.8.0 ?

I'm sorry for the late reply.
Yes, you are correct. I'll fix the comment.
I'd tested this with Deno1.8, and it works well:tada:


Mega menu variation 1: hide caret if no items

Currently proposed mega menu variation 1 always shows the caret even if the menu has no child items, as would happen with the Spanish menu.
This change hides the up/down carets if no children exist.
Testing
This can't be tested on the Spanish menu without using #5471, but can be tested in English by deleting all contents from one of the submenus.
First, enable the proposed menu variation 1:

Go to http://localhost:8000/admin/flags/create/ and create a feature flag named MEGA_MENU_VAR_1.
Enable it at http://localhost:8000/admin/flags/MEGA_MENU_VAR_1/ by clicking "ENABLE MEGA_MENU_VAR_1 FOR ALL REQUESTS".
Visiting a page on the site like http://localhost:8000/ should show the proposed variation 1, including down and up carets when menus are opened.

Now, delete all content from one of the menus to see how this change looks:

Edit the "Consumer Tools" menu at http://localhost:8000/admin/v1/menuitem/edit/2/ and delete all menu items by clicking the trash can icon to the right of COLUMN 1, COLUMN 2, COLUMN 3, COLUMN 4, and NAV FOOTER:

Now revisit a page and notice that the Consumer Tools item no longer shows a caret, but does function as expected:

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[x] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated
[x] Reviewers requested with the Reviewers tool :arrow_right:

We'll also need to adjust the styles so that the space allocated for the caret is removed when the caret is not present. See how on "Consumer Tools" the gap on the right is wider than the gap on the left. Is this something we want to adjust in this PR?

@anselmbradford ah, right. Sure -- is it a change in here somewhere? You should have permission to push to this branch if you want/have time to take a look.


AI回答问题不能承接上下文

Type: Bug
"I haven't finished asking my question, and the robot completely forgets the previous sentence. I have to re-ask each time, which is very troublesome. It can't follow up on the previous question."

Chat
Editor Inline Chat
Copilot Edits
Quick Chat

A screenshot would help a ton.

你的眼睛会笑
@.***

I'm using the Copilot chat function in Visual Studio Code, not CopilotEdits.
------------------ 原始邮件 ------------------
发件人:                                                                                "microsoft/vscode-copilot-release"                                                                                @.>;
发送时间: 2024年12月24日(星期二) 中午12:05
@.>;
<EMAIL_ADDRESS>主题: Re: [microsoft/vscode-copilot-release] AI回答问题不能承接上下文 (Issue #3531)
What Copilot entrypoint are you using?
Chat
Editor Inline Chat
Copilot Edits
Quick Chat
A screenshot would help a ton.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

History should be remembered in the chat, can you please provide steps to reproduce?

Hi :) sometime this happens to me when I copy and Paste a super large text into the chat. Did you by any chance do the same?


RFC: Thoughts on Postcard 2.0?

Due to some of the dependency stuff, I am considering doing a 2.0 breaking change to the postcard crate. This would allow me to make public API changes to make dependencies, particularly for those that are required for flavors, like heapless, or embedded-io, to be versioned, so that updating them does not cause future breaking changes.
This would not be a breaking change to the wire format: Postcard 1.x and Postcard 2.x users would be able to mutually send messages with no compatibility issues, but there WOULD be breaking API changes, so some code changes could be required for updating.
As I see it, the options today are:

Don't do a breaking change, but add support for new version of libraries like heapless and embedded-io

This will likely be awkward, and have complicated feature flags
I'd probably deprecate certain APIs (like to_vec() that is for heapless v0_7)
I don't really want to spend time on this.

Do a breaking change to the LIBRARY API, but not the BINARY WIRE FORMAT.

This means we can't fix issues like #101, but we can fix the other stuff
I'll probably isolate the "flavor" impls better, either as feature-flagged modules, or maybe even as external crates.
This way people can update when they want, and if they really want to backport flavors (like for heapless-v0_8) to postcard 1.0, they can.
This is my preferred option

Break both the library API AND the binary format

this would let me fix the char issue, but we don't actually have any other open issues AFAIK
this would be unfortunate, and FORCE users to update, and might cause compat issues.

If you use postcard, I'd like to hear your opinion! Unless someone is willing to do the work for option 1, or willing to sponsor the work for 1, or makes a suggestion for another option, I'll probably go with 2.
Tagging some related issues:

#124
#123
#126
#121
#103

The cost of option 2 seems very low to users. Each project I update would only be looking at 2-5 lines to change, and the changes would be very similar from project to project. If it makes maintenance easier and opens the door to more features it seems like an obviously good choice to me.
The cost of option 3 is higher, but the cost of making that change is only ever going to go up. This seems to me like a "best time to plant a tree" type situation. Personally, when I make a change around postcard it's because I'm changing the data. Since that means changing both sides of the communication, there isn't actually any cost to a wire protocol change. On the other hand I don't think I've ever sent a char with postcard, so the char issue doesn't actually seem like that much of an issue.

Yeah, there is IMO so little urgency for a breaking wire change, I almost want to skip it out of principle.

Personally, when I make a change around postcard it's because I'm changing the data.

I'm a little less convinced of this: if people have devices in the field, and they want to update their host and SOME devices, I don't want them to be worried about compat issues, and have to manually audit that they never use char.

I don't disagree with anything there.
For more context, currently I only use postcard to communicate between a linux host and a 2040 on the same board. If I'm deploying an update to the micro, I have to send it through the linux host, and I'll always be sending a new binary for the linux side anyway.

I'd vote for Option 2 and due to a reliance on postcard in channel-bridge
v0.8.0 I'm blocked in upgrading one of my projects to rust 1.75...

Hi @bsodmike, the current answer is "at some point when I have time".

Adding as a bit of a wishlist item: I'd love to be able to do CRC+COBS+magic number header simpler. Right now I'm just using a copypasted version of CobsAccumulator with necessary changes, but it's not ideal.

I put up a blog post calling for sponsors for postcard v2.0: https://onevariable.com/blog/postcard-2-sponsors/

Hi James, how goes the hunt for sponsors btw?
I'm happy to lend a hand, I'm still picking up the ropes but keen to learn etc. This is my most recent work but it's just a wrapper over Embassy https://github.com/bsodmike/rv8803-rs
Best,
Mike


Missing data for version 2 of the dataset

Hi,
The version 2 of the dataset contains 74 audio files, but only 23 of them have info about activation. Am I looking in the wrong place?
Thanks a lot!

I also encountered many missing activation files and also many activation files missing corresponding audio files. I am wondering if there is another place to obtain the dataset as well.
Any help would be great :)

I contacted the author and got feedback.
If there is a bleed in the audio, there is no activation annotation provided.
And many of the audio in V2 are live recordings and have bleed so this is why :)
Hope it helps someone in the future.


Added delete shopcart endpoint

Made the following changes:

Created delete shopcart endpoint in routes.py
Added test case for delete endpoint

@alvaroperezc did the test-case pass?

Didn't merge because the implemented functions were not tested


Bintray

Add to https://bintray.com/adjohnson916/maven.

Closing since this is now on Maven Central.


Keyboard Lock

Spec: https://w3c.github.io/keyboard-lock/
Chrome: https://www.chromestatus.com/feature/5642959835889664
Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=700123

Probably covered via MDN now:

https://caniuse.com/mdn-api_keyboard
https://caniuse.com/mdn-api_keyboard_lock
https://caniuse.com/mdn-api_keyboard_unlock
https://caniuse.com/mdn-api_keyboard_getlayoutmap

The first entry is not well discoverable though it seems, but the other three are: https://caniuse.com/?search=Keyboard Lock
But oh well, jumping over to MDN the general entry is only one click away, so…


Gradle should minimize the number of IDE files that are regenerated

IDEs typically use the timestamp or content of the IDE metadata files as an indicator of "up-to-date-ness".
With the changes to VS solution generation #410, whenever we generate the IDE for a multi-project build, we rewrite all metadata files.  This causes VS to reload all projects, even if the files are effectively the same.
We should investigate if the metadata actually changes (I think it shouldn't) but also if we can avoid retriggering expensive reloading in the IDE if a subset of projects actually change by not rewriting all of the files.
Some test cases:

Adding a new subproject (does it reload everything?)
Removing a subproject (does it reload everything?)
Changing the baseName/generated name for something built by Gradle in one project (does it reload everything?)

This is ready for review: https://github.com/gradle/gradle/pull/4531
@lacasseio Do you mind taking a look?

Code review completed!

Merged.

The implementation feels too complex and not reusable. I would think about simply change the base generator task to assemble the new text content as normal in memory, compare it against the content of the existing output file, and update the file only if the content is different. This means the capability will work for any generation tasks.


Flag issues for older versions of Cabal / Use transformers-compat 0.4

First of all, thanks for getting ExceptT adoption going with this package! It seems there is now less need for it to exist, but I'll leave that decision to you.
https://github.com/ekmett/lens/pull/523#issuecomment-74207812
With transformers-compat 0.4 the only thing this package can/needs to do is provide the Control.Monad.Except module.
If mtl-compat is updated it should use the same trick as transformers-compat does, provide several versions instead of using flags, to prevent bugs in older Cabal versions.
It's also no longer necessary to use mtl-compat, to get a warning free build and get all the instances you  can import Control.Monad.Trans.Except; import Control.Monad.Error.Class.

:+1: -- it would be great if transformers-compat 0.4.x would be supported, as we don't have older versions any more in NixOS and thus cannot build mtl-compat at all at the moment.

Wow, a lot happened while I was asleep. I'm extremely glad that transformers-compat has mtl instances now, since that relieves me of having the burden of maintaining them :).
As a result, I'm thinking of semi-deprecating mt-compat. It's functionally useless at this point, since transformers-compat backports all instances for ExceptT now. I suppose some might find a backported Control.Monad.Except useful, but I'll recommend transformers-compat in the package description.
Also, I wasn't aware of the versioning trick that transformers-compat uses—I'll update mtl-compat to do something similar, using `transformers-compat-0.4.

@peti: The build issues for NixOS should be fixed. Let me know if there are any issues.
Closed in b030c599cfe835edf69c04cd94bb6d28516b0b78.

Awesome, thanks!


@enum fails under @lends with NPE?

I am seeing NullPointerExceptions when I do a @lends when extending a class with static members.  A workaround I found to avoid the NPE was to make the enum a top level type (not a static class member) or append the @enum to the class with a simple assignment rather than extends/@lends.
I see the NPE on the current version of the CLI compiler at http://dl.google.com/closure-compiler/compiler-latest.zip and on the closure compiler appspot app.  Here's a link where you can see the NPE in action:
http://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540output_file_name%2520default.js%250A%252F%252F%2520%2540formatting%2520pretty_print%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F%252F%2520ADD%2520YOUR%2520CODE%2520HERE%250Afunction%2520extend(obj%252C%2520extendWith)%2520%257B%250A%2520%2520var%2520prop%253B%250A%250A%2520%2520%252F%252F%2520jshint%2520-W116%250A%2520%2520if(obj%2520%2526%2526%2520extendWith%2520%2526%2526%2520obj%2520!%253D%2520extendWith)%2520%257B%250A%2520%2520%2520%2520for(prop%2520in%2520extendWith)%2520%257B%250A%2520%2520%2520%2520%2520%2520if(extendWith.hasOwnProperty(prop))%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520obj%255Bprop%255D%2520%253D%2520extendWith%255Bprop%255D%253B%250A%2520%2520%2520%2520%2520%2520%257D%250A%2520%2520%2520%2520%257D%250A%2520%2520%257D%250A%257D%250A%250A%252F**%250A%2520*%2520%2540constructor%250A%2520*%252F%250Afunction%2520MyClass()%2520%257B%250A%257D%250A%250Aextend(MyClass%252C%2520%252F**%2520%2540lends%2520%257BMyClass%257D%2520*%252F%2520%257B%2520%250A%2520%2520%252F**%2520%2540enum%2520%257Bnumber%257D%2520*%252F%250A%2520%2520MyEnum%253A%2520%257B%250A%2520%2520%2520%2520VALUE_1%253A%25201%252C%250A%2520%2520%2520%2520VALUE_2%253A%25202%250A%2520%2520%257D%250A%257D)%253B%250A%250A%252F**%250A%2520*%2520%2540param%2520%257BMyClass.MyEnum%257D%2520enumValue%250A%2520*%252F%250AMyClass.prototype.memberFunction%2520%253D%2520function(enumValue)%2520%257B%250A%2520%2520console.log(%2522memberFunction%2520%2522%2520%252B%2520enumValue)%253B%250A%257D%253B%250A%250Avar%2520myObject%2520%253D%2520new%2520MyClass()%253B%250A%250AmyObject.memberFunction(MyClass.MyEnum.VALUE_2)%253B%250A%250A

Generally, the compiler recognizes types when they are declared at the top level, or as a property of a namespace. In your example, the type is passed as an argument to a function, and the typechecker doesn't handle it properly. You could write instead:
/** @enum {number} */
MyClass.MyEnum = {
  VALUE_1: 1,
  VALUE_2: 2
};

I assigned a low priority because there is an easy workaround, and we are mostly working on the new type checker these days, so we are fixing very few things in the old one.

Yes, I stumbled upon exactly what you described, and it did work for me.  Thanks for the explanation and thanks for assigning a priority to this.  I suspect there are a couple of @enum related corner case bugs as they interact with externs and inner types that I'm hoping will be uncovered and cured with the eventual fix to this bug.
Ultimately, I promoted my enum to being a top-level class.  I have found through experimentation that inner class and namespace definitions can have unpredictable effects on the advanced optimizer and on any warnings my code generates.  When I promote my inner types to top-level types, the optimizations work seem to work reliably and any warnings my code generates are easier to understand and cure.  I like inner types because it makes my source files more dense, but I like predictable compiler behavior more.  ;)
Looking forward to playing with the new type checker when it's ready!


Adapt enabling of continuous testing to new DEV UI

Summary
Adapts enabling of continuous testing to new DEV UI added by https://github.com/quarkusio/quarkus/pull/32491.
HtmlUnit doesn't handle Vaadin correctly (likely because of importmaps), I decided to use PlayWright as Phillip Krüger suggested that's what he eventually plans to use and Aleš Justin also experiments with it: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Testing.20in.20Dev.20UI
It turned out that HtmlUnit dependency brought in also Apache Commons utils we used in past, however I could easily avoid using this dependency (they are just simple util methods), so I dropped it from here. If anyone needs this in the future (e.g. in TS etc.), they should add it directly and only the dependency they really need.
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Dependency update
[x] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[ ] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

The failure is unrelated, it is the same thing as in the TS https://github.com/quarkus-qe/quarkus-test-suite/pull/1148


Updated data for Czechia and Dominica female population percentage

Hi, I have added the requisite data for Czechia and Dominica.
Closes #34
source - ( for Czechia) https://data.worldbank.org/indicator/SP.POP.TOTL.FE.ZS?locations=CZ
( for Dominica) https://data.worldbank.org/indicator/SP.POP.TOTL.FE.ZS?locations=DM

Thanks!


Better names for sampling methods from trees

See https://github.com/TuringLang/AdvancedHMC.jl/commit/26aabb59c819d6b238aa70b80b692fdb51462934#commitcomment-34976303

Related discussion: https://github.com/TuringLang/AdvancedHMC.jl/pull/91#issuecomment-522636114

Maybe we can remove Slice and Multinomial from exports? These exports are only useful for expert-users, so we might not want to export anyway.

I prefer to rename them for several reasons.

Users have to use AdvancedHMC.Slice if we don't export them.
AdvancedHMC IS for "expert-users".

Some options:

Go for the simplicity: Multinomial -> Multi
Go for self-contained: TrajectoryMultinomialSampler and TrajectorySliceSampler

Any thoughts?

Option 3:
Define @enum TrajectorySampler slice multinomial and somehow dispatch over them. (Might be tricky?)

I mean in most cases we will use the default NUTS configuration, so maybe it’s ok to remove Slice/Multinomial from exports. Also, the user can still explicitly import these names if needed.

we can consider create a sugar syntax, e.g. NUTS(...) will create a NUTS sampler with Multinomial sampler.

Alternatively, we can shorten SliceTrajectorySampler to SliceTS, similarly MultinomialTS and MetropolisTS.

I like this ???TS proposal! Let's do this.

Closed by #114.


react/require-default-props false positive with destructured properties

Since 7.29.x (still working fine with 7.28.x) I get the following errors
  4:3  error  propType "legacyApi" is not required, but has no corresponding defaultProps declaration  react/require-default-props
  6:3  error  propType "title" is not required, but has no corresponding defaultProps declaration      react/require-default-props

for
import React from 'react';

export interface ChartOptions {
  legacyApi?: boolean,
  query: string,
  title?: string,
  type: string,
}

export default ({
  legacyApi = false, query, title = '', type,
}: ChartOptions) => (

    {{ legacyApi }}
    {{ query }}
    {{ title }}
    {{ type }}

);

Is this a bug or am I doing something wrong here? If the latter than sorry for the spam. I can't figure out what I'm doing wrong.

This is a correct warning; function defaults aren’t the same as defaultProps. Your component needs a defaulProps property, which is an object containing the defaults.

Oh.
Ok, thx for the fast response and sorry for the noise then :)


Coveralls repo token to be provided for the repositories.

Requesting COVERALLS_REPO_TOKEN for the repositories:

[x] ProjectManagementUI
[x] ProjectManagementService
[x] LibraryServiceStatusSystemUI
[x] LibraryServiceStatusSystemService
[x] CAP
[x] MetadataAssignmentToolUI
[x] MetadataAssignmentToolService
[x] GIFMButtonUI
[x] GIFMButtonService
[x] IRIIIFService

Closing. Is not necessary.


Bug report

Versions

SPT-AKI Server version 3.7.0
SPT-AKI Profile Editor version 2.8
List of installed mods

-bluehead aio

joshj5hawk super ammo and super items
-keep your equipment
priscilu and priscilu extra items
gigachad profile
door breacher
-ms stola
all clothes rai rai
black module armoured vests
hephaestus
just nu core
pnk gear
saria shop

Describe the bug
Whenever I attempt to save any change, I'm greeted with the message:
"Error
Object reference not set to an instance of an object"
In particular changing all the quests to success.
Additional context
SPT-AKI Profile file
d865a389504c0131606fb51e.json

Extra note, I've tried this with default profiles from SPK and get the same error.

I'm having the same issue that Nate 25561 descibed.

Fixed


Rarity of loot on multiple tables is not calculated correctly

My buddy kept getting rune spear notifications from basilisk knights because the plugin thinks the rarity is 1/13312. But the item is on 2 tables, the main roll is 1/52, and then the gem table has it at 1/13312
So the rarity should actually be 1/52 + 1/13312

Example logic to account for multiple drop rates: https://github.com/iProdigy/DinkPlugin/blob/88331ec8f35cface89444d6c4575a0e5127c439e/src/main/java/dinkplugin/util/NpcDropTable.java#L33-L40


[tests] Use a pre-compiled move library for tests

The PR defines a cached_default_genesis function to be used in tests, that computes the genesis compiled packages once, and then writes them to a file move_lib_tmp. Subsequent calls will deserialize from the file. This speeds up incredibly tests in sui_core making them usable again.
The root cause of the slowdown is that the function build_move_package in the genesis, calls compile_package:
https://github.com/diem/move/blob/2ab0b168c28504a3a586e64f9ae10f97f4b40b69/language/tools/move-package/src/lib.rs
That in turn calls compile_package_with_caching_info which takes a global thread and process PackageLock::lock(). In effect this means that only a single package at a time can be compiled in the whole system, which is unfortunate and impacts the startegy of re-compiling genesis with each test. I suspect slowdowns in other parts of our tests are also due to this, in particular in the move transactional tests.

I think there is also this: https://github.com/MystenLabs/sui/blob/8a88c19f2b86f19ec6617eff08f261f80e0f6423/crates/sui-adapter/src/genesis.rs#L14-L16
Not sure if this can be reused.

I think there is also this:
https://github.com/MystenLabs/sui/blob/8a88c19f2b86f19ec6617eff08f261f80e0f6423/crates/sui-adapter/src/genesis.rs#L14-L16

I have now also optimized the code paths using sui-adapter / genesis, and totally replaced that logic with the cached one.

@gdanezis mind trying out https://github.com/MystenLabs/sui/pull/2148 to see if it solved the issues you're seeing with overly compiling the sui-framework?


Improve navigation to previous & next pages by adding arrowRight & arrowLeft event listener

Hi @phuoc-ng , can you add Hacktoberfest label to this PR. Thank you in advanced. 😀

This is great! Thanks @AzrizHaziq 👍

@AzrizHaziq Thank you https://twitter.com/nghuuphuoc/status/1312734551513456642 ❤


Cannot install a peg leg

Ars Magica 2 adds a wooden leg (a reference to Diablo 2). It would be amazing if you could replace one of your legs with this.

That would be amazing


Fix two separate but related problems with watch retry handling

This PR contains two commits which each fix an aspect of retry handling with WATCH/MULTI.

First patch:  https://github.com/redis-rb/redis-cluster-client/commit/954668291e665a59e264f906355fa86f064abf37

It's important that all of a transaction actually happens on the same connection, with no transparent reconnection allowed inside ::RedisClient. So, we wrap a watch transaction in ensure_connected_cluster_scoped(retryable: false).
We don't need to call UNWATCH on connection errors (since the connection state is already broken). redis-rb and RedisClient don't do this either.

Second patch: https://github.com/redis-rb/redis-cluster-client/commit/99de3d3b06deeb0a598b2d8a3308b89bf55d8401
If we have a WATCH, then the MULTI must exec on exactly that node; it should not be allowed for that to be redirected to a different node, because then the MULTI isn't on the same connection as the WATCH anymore!
The first part of this patch fixes this by disabling redirection handling in transaction.rb if we are in a watch. I also added a test test_the_state_of_cluster_resharding_with_reexecuted_watch for this.
That means that the user block is also re-executed in this case; that's actually what we want. If WATCH is re-executed, then it's also vital that the user code which does redis reads is also re-executed, so that the code can make the decision about what to put in the transaction again (based on potentially updated information).
However, the second part of this patch is a lot trickier...
This change causes a different test, test_the_state_of_cluster_resharding_with_transaction_and_watch, to
break. That test is asserting that

if we watch something where the slot is in the middle of migrating between nodes,
and all the keys we wanted to watch are on the new node,
that the client correctly retries the transaction with ASKING against the new node

Disabling redirection handling obviously makes this stop working, and it is possible to handle this case correctly. We need to record whether or not we had to issue an ASKING on the WATCH for the transaction, and if so, pre-emptively issue an ASKING on the MULTI too. That's because this slot is not yet actually assigned to the node we're connected to (it's IMPORTING).
It may well not be worth it, and I'm also OK with just failing WATCH/MULTI on slots which are currently migrating. That would imply:

Keeping test_the_state_of_cluster_resharding_with_reexecuted_watch
Deleting test_the_state_of_cluster_resharding_with_transaction_and_watch

Thank you!


[REQUEST] check if someone has the role to run the Command

Describe the feature.
example: if Carlo has the hello role he can execute the command if he doesn't have the hello role he will not be able to execute the command
Code of Conduct

[X] I agree to follow the contribution requirements.

This can be implemented like this:
async def func(ctx): #command function
	if hello_role_id not in ctx.author.roles:
		return await ctx.send("You are missing the hello role to run this command", ephemeral=True)

	# rest of the command

Another possibility would be that you update the bot command permissions in the integration tab of your server or use an extension library.
But there (probably) won't be a decorator to check such things in the main library


ter

IP pa to dont approve

IP pa to dont approve

You cana make this pull request into a draft if it's in progress.

Understood.


Make Default Module Action Menu Configurable

Follow-up to RFC #2700
Description of problem
Currently, the path to the default Module Action menu control (/admin/Menus/ModuleActions/ModuleActions.ascx) is hardcoded within the C# in the Container base class and does not allow a developer to configure the site to use a different action menu control by default on a per site basis.
The default action menu can be overridden on a per module basis by using a container that uses it's own action menu control. However, it would be ideal if we could define the action menu at a portal level and override the default action menu regardless of the container being used across the site, unless the container supplied it's own action menu as you can today.
Description of solution
Add a new Portal Setting called DefaultActionMenu, similar to how the default skin path, container path, etc. are stored.
Have the setting defaulted to the existing action menu path and allow users to swap this behaviour out by changing the setting value to point to an action menu control of their choosing.
This change would include the SQL to include the new portal setting in the DB, change the container base class to read from the portal setting instead of the hardcoded path, and changes to the Portal Settings and Portal Settings Controller to add the new setting into the API.
Affected version
This is net new functionality targeted for DNN v9.4.
Affected browser
This is a server side feature and is therefore browser agnostic.

Closing issue as PR was merged.