Straw python is slow when accessing URLs

Should be investigated - seems much slower than warranted just by URL / network.

Is this still an ongoing issue?


QoS extensions

Hi, I've created a bunch of QoS extensions to Kue this would be useful to incorporate into the master if you're interested.  There are three main extensions that I added:

watchdog+heartbeat to auto-restart stuck/dead jobs (useful if, for example, a server that's processing jobs reboots without a graceful shutdown).
dependencies to allow jobs to wait for other jobs to complete before starting to give more granular controls of execution ordering even with a large pool of available workers (dependencies even work across different job types).
serialized execution to ensure that only one of a related group of jobs can execute at the same time (so, for example, you could use this to ensure that no two jobs related to the same user run at the same time across all workers).  As with dependencies, this works across different job types.

+1 for job dependencies, i need that right now :)

+1 for serialized execution


error

ERROR: unable to decode the server's answer: Missing fields in the server's answer: 'Field 'url_encoded_fmt_stream_map' is missing in url.Values source'

Duplicate of #1


Wrong error message for activity_type and operational_status

The following error is thrown when activity_type is being read from the ACDD variable 'source':
The ACDD attribute 'activity_type' must follow a controlled vocabulary from MMD (see https://htmlpreview.github.io/?https://github.com/metno/mmd/blob/master/doc/mmd-specification.html##activity_type).

Problem is that the error message claims that activity_type and operational_status are ACDD variables, but they are mmd-fields read from other ACDD variables


APEX-92 #Comment #resolve

Fix for adding failed nodes to blacklist, after failure is observed for the same node more than MAX number of tries

Please merge the latest devel-3. It has lower number of violations.

What kind of testing has been done here?


BOSH : Achieving zero downtime (eg: OS upgrades) using Canary in real world

Canaries is a very useful feature that can really stop a big mess. When using Bosh in conjunction with vsphere (IAAS), I had a question on canary approach. If for example I deploy a mysql (no of instances =1 ) and canary parameter set as "1". Can a failed OS upgrade be stopped? because in this case for mysql we are using only one VM for deployment. How can failed OS upgrade be saved, by using canaries as the line of defence ? Does using canary by which bosh instructs the deployment to happen in the first VM and then pass on the changes to the remaining VM if it is successful ?
Any information would be very helpful

The OS upgrade is not an "upgrade" in the sense of using apt-get. When upgrading a stemcell, the Director will stop the Jobs on the Instance, detach the persistent disk, if present, then terminate the vm. It will then create a new VM with the new image, attach the disk, copy over the Jobs and tries to start them.
The Canary in this case is the first VM to be upgraded, and if it runs all other machines of those instance groups go through the same process, this time the amount of instances that do that is limited by max_in_flight.

Thanks @schmidtsv
So in this case Canary, is also dependent on the original number (number of instances) of VMs or containers.
For canary to actually be effective, there  must be more than one instance deployed right ?

If you want a no-downtime upgrade you always need to use something with either Clustering or Replication. In case of MySQL, you need a cluster which fails over when the master shuts down for upgrade. If you just have 1 instance in an instance group the whole group will be down during upgrade. (You should also consider, that a node may fail, so for production you should always have some form of failover/duplication)

Thanks again for the prompt response.
One last question, you mentioned that when we do a OS/stemcell upgrade the persistent disk gets detached and a new VM gets created with the upgraded stemcell. Does the same process happen when we do a Application release upgrade ? say if mysql is getting an upgrade, are the steps similar ?

There are generally two types of changes in a VM's lifecycle...

network/VM/stemcell/IaaS-related which will result in a VM being recreated
software/persistent disk-related which will keep the existing VM (I think this is the "application release upgrade" you're referring to)

In both cases, there will be downtime due to processes being stopped during the update; but in the first case there will generally be a longer delay due to the underlying VM also being recreated by the IaaS.

In both cases, there will be downtime due to processes being stopped during the update

to clarify danny's note, downtime will happen in bosh of these cases if you just have 1 instance in an instance group.

Thank you very much guys. That was very helpful

oops. you snuck in an edit with another question :)
From the "glossary"...

Canary instances are first instances updated within an instance group. Any update error in a canary instance causes the deployment to stop. Since only canaries are affected before an update stops, problem jobs and packages are prevented from taking over all instances.

There aren't explicit test scripts to determine canary success - it's more: are all processes running successfully by the time we expect them to be up and running, and did the post-start scripts run successfully?


Provide an option to set max width and height

Hi,
Thanks for providing this assume package. I would like to ask if it's possible to add a feature to specify max width and height when compressing the image. This way we can set a limit on the size of the resulting file regardless of the size of the original image. The exact issue that I'm facing is that I don't know if the user will upload a 4MB image or a 100KB image that was already compressed somewhere else. Do you suggest making the quality parameter a function of the original size of the image as a temporary solution at least?
Best,

Both max and min have problems that involve priority.
So temporarily will not increase the max related attributes.

I think the max size is most needed, not min size.
I try to found someway to resize image by myself, but surprisingly, I can't find anyway to get image raw pixel size in flutter or dart... WTF..

@xpader give this a shot, given an Image originalImage:
import 'dart:ui';

final thumbnailImage = await instantiateImageCodec(event.rawImageData,
        targetHeight:
            originalImage.height <= originalImage.width ? 300 : null,
        targetWidth:
            originalImage.width <= originalImage.height ? 300 : null)
    .then((c) => c.getNextFrame())
    .then((f) => f.image);

If you're starting with a Uint8List, try:
import 'package:flutter/widgets.dart';

final originalImage = await decodeImageFromList(event.rawImageData);

@xpader give this a shot, given an Image originalImage:
import 'dart:ui';

final thumbnailImage = await instantiateImageCodec(event.rawImageData,
        targetHeight:
            originalImage.height <= originalImage.width ? 300 : null,
        targetWidth:
            originalImage.width <= originalImage.height ? 300 : null)
    .then((c) => c.getNextFrame())
    .then((f) => f.image);

If you're starting with a Uint8List, try:
import 'package:flutter/widgets.dart';

final originalImage = await decodeImageFromList(event.rawImageData);

Yes, I found this way too, and another way use image package, has a method copyResize to resize image, but this two way resize image used too much time. and after resize, the image file size is bigger than before..

This is still an issue. On Android I used
val bitmap = GlideApp.with(context!!)
    .asBitmap()
    .override(
        AppConstants.MAX_PICTURE_RESOLUTION_WIDTH,
        AppConstants.MAX_PICTURE_RESOLUTION_HEIGHT
    )
    .fitCenter()
    .load(uri)
    .submit().get()

I can't find an equivalent on Flutter. With those params
  var scale = calcScale(
    srcWidth: 4000,
    srcHeight: 2000,
    minWidth: 1920,
    minHeight: 1080,
  );

The current result is width = 2160.0, height = 1080.0. I need the result to be width = 1920.0, height = 960.0. Is there any way to achieve that?

Here is my work around to get the proper minWidth and minHeight:
Size getCompressionSize(sourceWidth, sourceHeight, minWidth, minHeight){
  double _width = sourceWidth;
  double _height = sourceHeight;
  final double scalew = sourceWidth/minWidth;
  final double scaleh = sourceHeight/minHeight;
  final double scale = math.max(1.0, math.min(scalew, scaleh));
  if (sourceWidth/scale > minWidth)
    _height = minHeight * minWidth/(sourceWidth/scale);
  if (sourceHeight/scale > minHeight)
    _width = minWidth * minHeight/(sourceHeight/scale);
  return Size(_width, _height);
}

The method will adjust the value to simulate the 'maxWidth' and 'maxHeight' params.

Here is my work around to get the proper minWidth and minHeight:
Size getCompressionSize(sourceWidth, sourceHeight, minWidth, minHeight){
  if (minWidth >= sourceWidth && minHeight >= sourceHeight) return Size(minWidth, minHeight);
  double _width = sourceWidth;
  double _height = sourceHeight;
  final double inputAspectRatio = sourceWidth/sourceHeight;
  final double targetAspectRatio = minWidth/minHeight;
  if (inputAspectRatio <= 1){
    _width = minHeight*inputAspectRatio;
  }else{
    //inputAspectRatio > 1
    if (inputAspectRatio > targetAspectRatio){
      _height = minWidth/inputAspectRatio;
    }else{
      _width = minHeight/targetAspectRatio;
    }
  }
  return Size(_width, _height);
}

The method will adjust the value to simulate the 'maxWidth' and 'maxHeight' params. The Size values are the values you pass to FlutterImageCompress.

any progress on this?

I solved it by using flutter_native_image
Future<File?> getMaxResizedImage(String imagePath) async {
  ImageProperties prop = await FlutterNativeImage.getImageProperties(imagePath);
  if (prop.width == null || prop.height == null) return null;
  var maxSize = 1024;
  var targetWidth = 1;
  var targetHeight = 1;
  if (prop.width! > prop.height!) {
    targetWidth = min(maxSize, prop.width!);
    targetHeight = (prop.height! * targetWidth / prop.width!).round();
  } else {
    targetHeight = min(maxSize, prop.height!);
    targetWidth = (prop.width! * targetHeight / prop.height!).round();
  }

  return await FlutterNativeImage.compressImage(
    imagePath, quality: 100,
    targetWidth: targetWidth,
    targetHeight: targetHeight,
  );
}


lack of fantasy-land compatibility

Readme says that it is compatible with fantasy-land while it is not. Simple proof:
import { map } from "ramda";
import { runEffects, periodic, tap } from "@most/core";
import { newDefaultScheduler } from "@most/scheduler";

const test = tap(x => console.log(x), map(() => "1", periodic(1000)));

runEffects(test, newDefaultScheduler());

https://codesandbox.io/s/stupefied-kapitsa-s48mp

Hey @krzysztofpniak thanks for reaching out! I don't currently see fantasy-land mentioned in this repository's readme. Correct me if I'm wrong, but do you mean the README for cujojs/most?
As for @most/core I don't think it's intended for us to add support for fantasy-land directly, but possibly through another library built atop of @most/core. cc @mostjs/maintainers to make sure I'm not off-base

hi @krzysztofpniak, thanks for the comment, check out https://github.com/mostjs/core/issues/239 where the discussion for adding fantasy was originally requested. So its probably because you thought of https://github.com/cujojs/most#interoperability which is the original mostjs.
let us know your thoughts

Hi, you are right, thanks for clarification. The Readme from cujojs/most caused my assumption that @most/core also implements it. Anyways, I think @most/core should implement fantasy-land because at the moment it is still more popular than static land. Currently both ramda and sanctuary have only fantasy-land support. This holds me from using @most/core, because I see it as an addition to the basic operations library that ramda or sanctuary provides. Don't get me wrong, I still think static land is simpler and better approach but in my opinion it is too soon to use it without fantasy-land backup.

@krzysztofpniak, in the mean time something like this might work for you - https://codesandbox.io/s/practical-ganguly-8jc13

@TylorS Thanks

Coming from BaconJS (which assembles everything in a huge Observable class), I appreciate mostjs's fp-style API of free-standing, auto-curried, stream-last-argument functions. It makes my stream (mostjs) and data-processing (ramda) code look very similar and pretty. 😃
In my code I'd like @krzysztofpniak 's example of using ramda's map with mostjs' Stream to work too. Because, who needs map, chain, ap, etc. imported in n versions anyway?
However I think creating a FantasyLand Stream type might be the wrong way. As already stated by @briancavalier  in #239:

It'd currently be much simpler for @most/core to implement static-land (it mostly already does, but of is named now) than fantasy-land 3.x, since @most/core streams don't share a common prototype (they only share an interface).

Another way would be to patch ramda's FL functions to dispatch to mostjs, as I've attempted for Promises. With that you can
import {chain, map, lift} from 'ramda';
chain(x => Promise.resolve(x + 3), Promise.resolve(2)) // ~> Promise 5
map(x => x + 3)(Promise.resolve(2)) // ~> Promise 5

const concat = lift((a, b) => a + b);
concat(Promise.resolve("A"), Promise.resolve("B")) // ~> Promise "AB"

Should be a no-brainer to do the same for mostjs and even straight-forward to do it for baconjs.
It should be the right place for the adapter too, since ramda switches implementations depending on the data type. Also such a general adapter layer was already mentioned in a ramda discussion.
Since that did not get much traction, sadly I have to tend my own fork of ramda. 😢

Closing in favor of #239

What about the FL laws?

@krzysztofpniak, in the mean time something like this might work for you - https://codesandbox.io/s/practical-ganguly-8jc13

@TylorS Its a nice code snippet.
Maybe add a warning that it does not satisfy the FL condition for deriving ap from chain ?
I mean
ap(mf, ma) ≡ chain(f => map(f, ma), mf)

is clearly not the case for @most/core, because ap ≅ combine(f => a => f(a)).
I don't know what implication this has, if one just employs a FL compatible utility library like Ramda.
Ramda not only dispatches to FL methods, but also derives a few functions such as lift from ap and map, and pluck from map. Those should work fine regardless or not?


Fix trace relogger ref

Causes grief in an ASP.NET Scenario.
The changes in EventPipeEventSource.cs are all whitespace and non-semantic.

Codecov Report

Merging #580 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #580      +/-   ##
==========================================
- Coverage   17.49%   17.49%   -0.01%
==========================================
  Files         215      215
  Lines      124730   124730
  Branches    12038    12038
==========================================
- Hits        21820    21818       -2
- Misses     102047   102048       +1
- Partials      863      864       +1

Flag
Coverage Δ

#2017
17.49% <100%> (-0.01%)
:arrow_down:

#Debug
17.49% <100%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

src/TraceEvent/EventPipe/EventPipeEventSource.cs
92.65% <100%> (ø)
:arrow_up:

src/PerfView/StackViewer/StackWindow.xaml.cs
25.62% <0%> (-0.08%)
:arrow_down:

Continue to review full report at Codecov.

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


Add Zia sun symbol for New Mexico shield

Changes the shields of Iowa, Kentucky, New Mexico and Virginia (secondary) to use circleShield() instead of roundedRectShield(). I intentionally left this out of the previous PR because it's a stylistic choice and it'd need more discussion.
For shields that are circle-shaped for 1 or 2 digits, behavior is different when expanding to 3 or more digits. Delaware, Mississippi and New Jersey use an oval. Kentucky uses a geometric stadium. Iowa, New Mexico, and the secondaries of Virginia maintain a circle and compress the text, though they have been assigned stadium shapes in this project.
In my opinion, this distinction is not worth keeping. All of these networks are just as recognizable if we stick to one shape for shields with 3 or more digits. I think ovals look better than stadiums for these cases.
(Note that this does not change network=CA:ON:private_toll, which would be unrecognizable without the stadium shape, and is probably a good candidate for an SVG shield anyway.)
before:

after:

before:

after:

We also considered standardizing all of the rounded shields on “elongated circles” (what you’re calling a “stadium”), but I guess we ended up implementing a mix for some reason. Either shape is recognizable to Kentuckians, but the ovals are more common on maps that don’t display state-specific shields.
If we ever get around to addressing issues like rectangular shields looking far too big compared to custom shields, then the rounded rectangle and oval shields will also be impacted. Even among maps that apply a generic state route shield, ovals tend to be less compact. That said, the current rounded rectangle implementation doesn’t represent the elongated circle faithfully, because the corner radius isn’t large enough.

Using a 9px radius instead looks a lot more circley. Though we still have issues with clipping (#301), and at 100% zoom, there's a lot of extra whitespace around the numeral.

In my opinion, this distinction is not worth keeping. All of these networks are just as recognizable if we stick to one shape for shields with 3 or more digits. I think ovals look better than stadiums for these cases.

I was arguing the same "standarize on one shape" line in #117 back in January, though I was pushing for elongated circles at the time.  However, with many shield designs moving closer to the real world signs and farther from abstract representation, I suppose I'm perfectly happy to see the slight distinction between ovals and elongated circles matching real world usage.  This is a map style by and for road geeks after all.

I'm perfectly happy to see the slight distinction between ovals and elongated circles matching real world usage. This is a map style by and for road geeks after all.

Good point. I'm okay with keeping this distinction, though this still leaves one question. Which design should we use for circles that don't expand for 3 digits? It looks like geometric stadiums were agreed upon for Iowa, New Mexico and secondary Virginia, but I introduced ovals for the Virgin Islands in #250. Whatever we decide upon, I just want to make sure it's consistent.

Which design should we use for circles that don't expand for 3 digits?

There are states that just cram a 3 digit number into a circle? 😱Heathens!  I think we can all agree that deviating from real world shields in these cases with a wide variant is a good idea.  Bit of a toss up, but I guess I'd say go with the geometric stadiums/elongated circles.  What do others think?

Either way, West Virginia county routes will need some special attention once we get around to fixing #13:

Shields originally stadium-shaped now have 9px corners as demonstrated above, and New Mexico has a new stadium-shaped Zia symbol:

American road atlases seem to heavily prefer geometric stadiums over ellipses, so I guess it makes sense to go with that. Though for the record, one state crams four digits inside a Zia symbol inside a circle:

The two NMDOT maps I have are no help: one stuffs three digits into a circle, while the other crams three digits into a Zia symbol.

The Zia spikes seem to blend in with the backdrop a bit, do they need some kind of halo?

Would we be applying a halo to the whole shield, or just the spikes? Either way, it'd be the first shield with a halo effect, and I worry it wouldn't look good in context.

Shields with light text on a dark background, like the interstate shields, have halos.  It definitely helps them stand out better when they have low contrast with objects below.  This one would be the first dark text on light background with a halo.  Seems worth seeing what it would look like at least.

We don't have many shields that are red on the outside.  Offhand maybe one of the Yukon ones, but they barely have roads to conflict with up there 😂.  To me, the red outline has a not-great contrast with charcoal or red roads.  Though I acknowledge that this is probably also a problem on the existing map.

Demo with white halo:

I think this looks good!

A cursory internet search indicates that the Zia Pueblo cares a lot about the usage of this symbol by non-natives (see PDF). While they don't own a trademark over the symbol, they do request that others ask for their permission before using it.
I can't find anything that says the New Mexico Department of Transportation's usage of the Zia symbol on highway shields is respectfully permitted. I'm hesitant to assume that the Zia symbol on highway shields is condoned, and regardless, I'd still like to ask permission before incorporating it into a new project.
I'll do some research on who to ask and how.

Need to resolve conflicts

Here's an email to the Zia Pueblo I've got drafted:

Hello,
I'm writing on behalf of the OpenStreetMap (OSM) community in the United States, as well as the maintainer team of OSM-Americana. OSM [1] is a freely editable online map run by a nonprofit organization (comparable to Wikipedia, but for maps), and OSM-Americana [2] is a map style being built by a team of mostly US-based volunteer mappers.
[1] https://www.openstreetmap.org/#map=12/35.4938/-106.7318
[2] https://zelonewolf.github.io/openstreetmap-americana/#13.35/35.50421/-106.7224
We've chosen to emulate a road atlas style familiar to a US audience for OSM-Americana, and we attempt to display route shields similar to their real-life appearance, where other OSM styles just put the route number in a rectangle. In the examples given above, OSM shows "US 550" in a rectangle, but OSM-Americana has "550" inside the actual white badge shape you'd see on the road. We'd like to have recognizable shields on state routes as well, including New Mexico.
Of course, the Zia sun symbol is used on state route shields in New Mexico. While researching these shields, we found out about the cultural significance of this symbol, but we couldn't find anything saying the New Mexico Department of Transportation's decision to use it had any input from the Zia Pueblo. And if NMDOT never sought permission to use the symbol, it wouldn't be right for us to decide to use it. So, to clarify, we have a few questions:

Was the Zia Pueblo ever consulted when the New Mexico Department of Transportation decided to use the sun symbol for state route shields? Are there any problems with NMDOT's usage of the symbol?

If NMDOT's usage of the sun symbol on state route shields is acceptable, is it okay for us to use it in OSM-Americana to represent New Mexico state routes? Are there any considerations about the dimensions and position of the circle and the 16 rays?

Regards,
Clay Smalley

Thoughts, additions, objections?

Since you’re linking to the demo page, consider emphasizing that it’s still a work in progress. After all, this style isn’t showing any reservation boundaries yet: #105.

Replacing the paragraph after the links:

Note that OSM-Americana is a work in progress. In the examples given above, aboriginal land boundaries (as a global concept, including, but not limited to, Indian Reservations in the US) are shown on OSM, but we are still working on adding support for them in OSM-Americana, and we hope to have them on the map before we publicly release it.
We've chosen to emulate a road atlas style familiar to a US audience for OSM-Americana, and we attempt to display route shields similar to their real-life appearance where other OSM styles just put the route number in a rectangle. For example, OSM shows "US 550" in a rectangle, but OSM-Americana has "550" inside the actual white badge shape you'd see on the road. We'd like to have recognizable shields on state routes as well, including New Mexico.

Here's the final version I sent:

Hello,
I'm writing on behalf of the OpenStreetMap (OSM) community in the United States, as well as the maintainer team of OSM-Americana. OSM [1] is a freely editable online map run by a nonprofit organization (comparable to Wikipedia, but for maps), and OSM-Americana [2] is a map style based on OSM being built by a team of mostly US-based volunteer mappers. We'd like to know more about the Zia Pueblo's perspective on the usage of the sun symbol on New Mexico state route signage, and whether it's appropriate for us to replicate that signage in OSM-Americana.
[1] https://www.openstreetmap.org/#map=12/35.4938/-106.7318
[2] https://zelonewolf.github.io/openstreetmap-americana/#13.35/35.50421/-106.7224
Note that OSM-Americana is a work in progress. In the examples given above, aboriginal land boundaries (as a global concept, including, but not limited to, Indian Reservations in the US) are shown on OSM, but we are still working on adding support for them in OSM-Americana, and we hope to have them on the map before we publicly release it.
We've chosen to emulate a road atlas style familiar to a US audience for OSM-Americana, and we attempt to display route shields similar to their real-life appearance where other OSM styles just put the route number in a rectangle. For example, OSM shows "US 550" in a rectangle, but OSM-Americana has "550" inside the actual white badge shape you'd see on the road. We'd like to have recognizable shields on state routes as well, including those in New Mexico (currently represented by a red circle).
Of course, the Zia sun symbol is used on state route shields in New Mexico. While researching these shields, we found out about the cultural significance of this symbol, but we couldn't find anything saying the New Mexico Department of Transportation's decision to use it had any input from the Zia Pueblo. And if NMDOT never sought permission to use the symbol, it wouldn't be appropriate for us to perpetuate such a mistake. So, to clarify, we have a few questions:

Was the Zia Pueblo ever consulted when the New Mexico Department of Transportation decided to use the sun symbol for state route shields? Are there any problems with NMDOT's usage of the symbol?

If NMDOT's usage of the sun symbol on state route shields is acceptable, would it be okay for us to use it similarly in OSM-Americana to represent New Mexico state routes? Are there any rules or guidelines about the size and position of the circle and the 16 rays?

Thank you for your time and consideration.
Regards,
Clay Smalley

How long should we wait for a response?

I'm comfortable with the email reach-out being sufficient and following NMDOT's lead if you want to proceed with this.

I re-sent the email. If I don't get a response in a week or so, I'll try calling them. Failing that, I'll close this PR—I think it's important for us to be certain that NMDOT is using this symbol with respect and permission before replicating it on a digital map.

There seems to be a request form here:
https://static1.squarespace.com/static/5cd0597b0cf57d0b7478c56a/t/657b6196a2e8a0581e072e64/1702584726764/Zia+Sun+Symbol+Request+Form+PDF+2023.pdf
It is linked from this page: https://www.ziapueblo.org/

I've resent the email to<EMAIL_ADDRESS>with the form and a few example screenshots attached.

Good news! The Zia Pueblo has generously granted us permission to use the Sun Symbol. Full response (with personal info and payment details redacted):

April 29, 2024
Clay Smalley
OpenStreetMap Americana
Dear Mr. Smalley,
On behalf of the Pueblo of Zia, we hereby grant you permission to use our most sacred Zia Sun Symbol, as you had requested for business to create digital maps. I would also like to take this opportunity to express my appreciation for your generous donation of $50.00 to the Pueblo of Zia Scholarship Fund.
I would also like to thank you for taking the time to reach out to the Pueblo of Zia, to request permission for the use of our Zia Sun Symbol.
Sincerely,
Delbert Pino
Lt. Governor
Pueblo of Zia

I'll just need to resolve some conflicts, and this PR will be ready.


Introduce a dedicated schema for wp/v2/pages

wp/v2/pages is the only REST API endpoint that uses a schema that doesn't match its name. This fixes that.

This is so complex.


Bower install throws ENORESTARGET error

Hello,
I was trying to use this module in my application but I failed to install it with bower.
I tried : bower install satellizer --save
Then I got this
bower satellizer#*              cached https://github.com/sahat/satellizer.git#0.15.0
bower satellizer#*             validate 0.15.0 against https://github.com/sahat/satellizer.git#*
bower angular#>=1.3.x && <= 1.5.x       not-cached https://github.com/angular/bower-angular.git#>=1.3.x && <= 1.5.x
bower angular#>=1.3.x && <= 1.5.x          resolve https://github.com/angular/bower-angular.git#>=1.3.x && <= 1.5.x
bower angular#>=1.3.x && <= 1.5.x     ENORESTARGET Tag/branch >=1.3.x && <= 1.5.x does not exist

Any way to resolve this ?
Additional information :

Node version : 4.4.7
Npm version : 3.8.3
Bower version : 1.7.9

the same problem
Available branches: master, unstable

This looks like an issue with the semver in bower.json in the latest update. It should be 1.3.x - 1.5.x or >=1.3.x <= 1.5.x, not >=1.3.x && <= 1.5.x. I'm using bower install satellizer#0.14.1 for now.

Fixed in #875.


Centralized-V between IPPO and MAPPO

Hi @jxwuyi @eugenevinitsky @zoeyuchao @akashvelu
Thanks for your work!
Just a quick question: is turning on or off the use_centralized_V only affects if the input is from local observations or the centralized state? Does it affect the structure of actual value network used? from the code what I can see is no matter use_centralized_V is true or false, the input size is always (num_agents, input_dim), and the output values are with size (num_agents, 1).  So the networks are not affected by use_centralized_V. And centralized value outputs will be the same for "num_agents", right?
Look forward to your reply! Thank you!
Best,
Xubo

Yes, the value network architecture is not affected by use_centralized_V. but i think the first dimension is related to the batch_size instead of num_agents.

Ok, yeah that makes sense! thanks!

Hi @zoeyuchao
Just a follow-up question, so if I use a separate runner, does that mean each agent has its' own policy and value network? so n agents means n policy and n value networks. And even though I set use_centralized_V, that means for each agent's value network, it accepts the same shared observation, and outputs the same value estimation, right? use_centralized_V does not mean there is only one value network for all agents (under separate runner), right?
just want to be more clear about this. Thanks!

@xubo92 yes, u are right:)


connect dns server before connect to websites

we all know that, we can access blocked sites if we use google dns
websites is simply unblocked

but, when i use ssl proxy server, the dns defined in network adapter is ignored, and websites will be blocked.
is there a openssl fucntion, that allow us to connect custom dns server (google dns) before connect to websites.
I searched for references from google, but not found.
they talk about dns certificate, but what i'm talking about is a dns server, for example google dns

is there a openssl fucntion, that allow us to connect custom dns server (google dns) before connect to websites.

There is no such function. OpenSSL doesn't perform DNS lookups. This is an application responsibility.


Update OyElementAttributes TS type to match React type

The type definition for OyElementAttributes does not match React's TS definitions for TdHTMLAttributes<HTMLTableDataCellElement>  as of @types/react 16.9. This causes errors like:
node_modules/oy-vey/index.d.ts:51:13 - error TS2320: Interface 'OyTDElementAttributes' cannot simultaneously extend types 'TdHTMLAttributes<HTMLTableDataCellElement>' and 'OyElementAttributes'.
  Named property 'valign' of types 'TdHTMLAttributes<HTMLTableDataCellElement>' and 'OyElementAttributes' are not identical.

51   interface OyTDElementAttributes
               ~~~~~~~~~~~~~~~~~~~~~

This PR updates Oy's type definition to satisfy React's expectations.

@revivek: I'd like to pick up these changes to get around build failures in our repo.
Could you publish a new version into npm please? Would be much appreciated.
Thanks,
Hari.

Sure thing—done! It's at version 0.11.2

Great thanks @revivek. Works now.


Remove deprecated tracker

Remove deprecated tracker and its reference because it's no longer supported.
Signed-off-by: Tomcli<EMAIL_ADDRESS>

Yeah, Travis is failing with some apt install errors.


[Feature-request]

What is it you want to add?
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
How will this help users?
A clear and concise description of what you want to happen.
Any idea how to implement it?
A clear and concise description of any alternative solutions or features you've considered.
Can you help us with the fix?
A clear and concise description of any alternative solutions or features you've considered.
Anything else you like to mention?
Add any other context or screenshots about the feature request here.

Safari

I believe Appla have a tool of their own to create extensions. They wouldn't leave this up to the wild.
Just find the webdev resources on apple.com


Have a reporter that combines the benefits of FindingsReporter and LiteFindintsReporter

It would be good to have a reporter that combines the easy to navigate layout structure of FindingsReporter with the extra details found on LiteFindingsReporter.
Expected Behavior
fun main() {
println("Hello World!")
}

It would be nice to have the output being as follows:
formatting - 5min debt
        Indentation - [Unexpected indentation (0) (should be 4)] at /Users/gabrielfv/Projects/detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt:23:1

Current Behavior
For FindingsReporter
formatting - 5min debt
        Indentation - [] at /Users/gabrielfv/Projects/detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt:23:1

Which omits details about the rule
For LiteFindingsReporter
/Users/gabrielfv/Projects/detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt:23:1: Unexpected indentation (0) (should be 4) [Indentation]

Which displays the information, but in a rather messy format, especially on large reports.
Context
Based on #4446.

Fixed by #4464


Misunderstanding example in the README.md

Hi!
val = await request.app.mysql.query('select 10')

When I first saw this line, I felt strange about the use of request.app . Later I tried to remove the request and it works out fine.
Without docs, I think it should be recorrected for less misunderstandings.

I can't agree anymore ! I think I really need a document .


broker is registered,but can't send msg by clusterRT

rocketMQ version is 4.7, use docker
my cilent can not connect to server by "No route info of this topic", "autoCreateTopicEnable=true",i check the broker and namesrv connect status by "clusterRT",can't send msg success

use console, can get cluster info like this

how can i check the connected status between broker and namesrv?

i got it, my code use mqadmin create a topic, when it trigger with broker register success on namesrv in 1 sec, some error happened,topic can't be create by send msg and consume


Feature: add non-live validators to the staking list

As a user, I want to be free to select the validator I'm going to stake.
However, the current interface won't allow me to manually type the name of my favorite validator unless it's already in the active set.
This feature would allow me to type the name of the validator (e.g. lowfeevalidation.poolv1.near), so I can stake with them even if they are not yet in the active set.
Acceptance criteria are:

the application should check if the staking pool is a valid poolv1.near
the validator should be displayed on the staking page normally after I staked to it
I should be able to stake whether I have liquid tokens, or I have a lockup contract
I should see a message which says "select from the list below or type the name of the staking pool"

@mattlockyer I believe this was shipped with the last release?

Yes thanks for flagging


Unused references

References [93] - [98] are not used in the guide.

Thanks! For this and the other one; fixing now.


Request for information on serial and parallel R jobs

Dear All,
I am a user of Saga and would like to ask you if you could please point me to some information regarding how to run R jobs in Saga. I have found some information (source code) but no examples of how to run R jobs from R scripts, rather than from bash scripts.
In a previous HPC I used, I would have an R script (.R or .Rmd) along with a .com script. In the .com script, there was a call to the R module and a call to the R script. An example of a .com script for a serial job is below:
#$ -S /bin/bash

#$ -q serial
#$ -N name_of_my_job

source /etc/profile

module add R/4.0.2

R CMD BATCH --no-save name_of_my_job.R

Last, the .com script (for instance, named name_of_my_job.com) would be run in the HPC terminal with the following command:
qsub -m e -M<EMAIL_ADDRESS>-l h_vmem=25G name_of_my_job.com
The system for parallel jobs was essentially the same, with subtle but important differences.
Thank you very much for your attention

Do you have a simple example for a parallel R script so that I can test it?

Thank you, Radovan. Please find below a simple example (basic math operations in a loop) from https://www.hpc.ntnu.no/parallel-r-for-hpc-system.
library(doParallel)
registerDoParallel(cores=20)
n<-20000
m<-100000

ls<-0.0
gsum<-foreach(i=istart:iend,.combine='+') %dopar% {
   for(j in 1:m) {
       ls<-ls+sqrt(i+j)+cos(i+j)+sin(i+j)
   }
   ls
}
sprintf("Sum %f",gsum)

Awesome. I am working on it and will hopefully have something later today.

Thank you very much!
I just edited the code to add istart and iend.

We have an example soon. I am only waiting for my change to get merged and then I will notify you.

That's great! Thank you very much

Here is an example:

https://documentation.sigma2.no/getting_started/R.html
https://documentation.sigma2.no/software/userinstallsw/R.html#installing-r-libraries

Brilliant. Thank you very much


Issue on page /notebooks/20-ModelFitting-NLLS.html

A more robust NLLS algorithm
Now let’s try it (using the same starting values as MM_model2 above):
for model2, the start = list(V_max = 12, K_M = 7))
which should be the same in model5
However,
MM_model5 <- nlsLM(V_data ~ V_max * S_data / (K_M + S_data), start = list(V_max = 2, K_M = 2))

So, according to the following results, the start list here in model5 should be changed.

Fixed, thanks!


[FeatureRequest]

Hello,
is there a feature where you can intergrade LME with AD login? i tried to find a setting for AD integration but couldn't find anything.
Any Ideas?
Thanks in advance

Active Directory integration is not part of the free license of the elastic stack for which LME is targetted against, we have no plans at the moment to support AD Authentication.
Thank,
Duncan


deps: update dependency org.easymock:easymock to v4

This PR contains the following updates:

Package
Update
Change

org.easymock:easymock
major
3.6 -> 4.2

Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Codecov Report

:exclamation: No coverage uploaded for pull request base (reproduce@97fbd5c). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             reproduce      #12   +/-   ##
============================================
  Coverage             ?   70.33%
  Complexity           ?      201
============================================
  Files                ?       23
  Lines                ?     1601
  Branches             ?       46
============================================
  Hits                 ?     1126
  Misses               ?      445
  Partials             ?       30

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 97fbd5c...0ad4533. Read the comment docs.


Replace SWF clippy with clipboardjs on repository page

Replace the outdated and broken Shockwave Flash way of copying text to the browser clip board with a modern JavaScript approach. This introduces the JS library clipboardjs.
There is some visual feedback in form of a tooltip. While this works fine for the main repository URL, it is less so for the copy buttons in the drop-down menus. The tool tip is attached to a element higher in the hierarchy so that it gets shown. But the height seems to be restricted, so the tooltip doesn't have the proper padding.

Has been merged. Status closed is incorrect.


Quickbank- A responsive bank website made using HTML, CSS and JS

Please assign me this issue.

hey @SparklinStar 👋🏻,
Please add more things in description for the bank website


Questions related to data format

[ ] Standardize names of entities. Use CamelCase
[x] Only fields that are in the data model are included. Exception is Files
[ ] Instead of having an object for identifier could we add a prefix to the identifier?
[ ] Negative days_to_birth?
[ ] Treatment?
[ ] Any way to track identical Diagnoses?

Identifier proposal
Instead of
  "identifier":
    - "value": "0067a0e0-63d8-11e8-bcf1-0a2705229b82"
      "system": "PDC"

PDC-0067a0e0-63d8-11e8-bcf1-0a2705229b82

standardize names of entities: currently done based on CCDH recommendations.
only fields in data model are included: Currently how it works - also will be that way when we switch to reading the YML file for mapping.
keeping identifier as is
negative days to birth - keeping as is for now. that is what is returned from GDC/PDC
Treatment - currently in output - will be updated with issue #36 and issue #61
identical Diagnoses? - as of now not yet. Will be followed closer when we decide how/what data to merge for R2


docs(fix): add alias since the page moved dirs in the migration

https://armory.atlassian.net/browse/DOC-188

redirects in the preview


Make tests and define behavior

We could use Criterion or some other library, not sure yet.

This is very important and should be done in priority after issue #25.
Defining behaviour is necessary to know which direction we're headed.
Tests are a good way to both ensure quality and guide us through implementation.


wip: Try narrowing type of Array#concat

Motivation

Test plan

See included automated tests.

Current dependencies on/for this PR:

master

PR #7015

PR #7016   👈

This comment was auto-generated by Graphite.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_NuGBhvIAaTbDQ9
→ https://go/builds/bui_NuGBgOOVyPxJt0
→ https://go/builds/bui_NuGBBjSCnhUvMC


Notebook integration tests failure

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=201086&view=logs&j=9833cdaa-2e92-5f8d-56a8-239fd18fd628&t=5e43d7ff-5b8d-51b4-ea10-68cb35d0fdb0

Merging into https://github.com/microsoft/vscode/issues/139078


Add loops

This adds support for loops, as seen below.

Multiple loops are permitted on an object.

This is facilitated by a new "add loop" button that appears on hover.

There is also the option to rotate the loop through 90°. The loop direction can also be reversed.

Resolves https://github.com/yishn/tikzcd-editor/issues/18.

I imagine there are probably some behaviours I've overlooked in the interaction with loops, so let me know if something doesn't seem natural, or doesn't work as expected.

Note that this depends on https://github.com/yishn/jsx-tikzcd/pull/5 to generate correct TikZ, so this will have to be updated before this is merged.

@varkor I've published a new version of jsx-tikzcd with your changes and updated the dependencies. Can you resolve the conflicts, please?

I've rebased and fixed the conflicts.

Is this now included in the new release, because I downloaded 0.60 and I can not find it?

This is not merged yet, so it‘s not in the official release yet. I‘m super busy atm and I don’t know when I‘ll have the time to look over this...


Improve multiple file deletion

Current Alternatives
Open file directory and possibly have to sort by modify/creation date or copy/move all current files out to another folder before hand. But those are kind of awkward.
Ideas
A) Select inside of OnlyM using the mouse/arrow keys and control button for instance and then have a delete button show up and/or use delete key.
B) Have a delete button at the top to delete all last added files.
C) An arrow at the top to open all side panels.
D) Add to OnlyM in sections with each having a delete section button.
Maybe you have some other neat ideas.
Reasoning
Something like the above would be better than having to click each arrow then click each delete button for each file - that's far too much work to clean it up while leaving some files intact.
If someone added 100 files by accident, it would take forever inside OnlyM.
Some may not understand how to deal with file directory sorting leaving them to the slow way and lots of clicking.
Approach
Something like delete last added might be the quickest as the application basically already has everything. But, if someone adds more files after and wants to remove both same way then that's a potential problem which would require saving multiple file lists maybe sequentially and then just moving onto the next after each use.
The others may require additional work with binding keys, creating sections, etc. but might be better solutions.
This may be nicely paired with the feature request for deleting to recycle bin or popping up a dialog each time to make sure.

@CodeFunction @ickydev Thnaks for your thoughts on this. I propose we have several additional commands on the main page (probably using a popup menu) as follows:

"Delete All" - removes all items (after a confirmation prompt). Includes hidden items.
"Hide All" - hides all items.
"Unhide" - unhides all hidden items (replaces the existing "Unhide" button).
"Undo Add" - removes all items in previous drag and drop operation. This command is only enabled after a drag and drop operation during the current session that has not already been undone.

Please let me know if you have any further suggestions.

Sounds good to me. Thanks for looking into it.
Will be a great to try it one of these days.


Absolute imports should come before relative imports

I'm getting this error from ESLint because this rule complains my import order.
Unfortunately atom-import-sort does not sort this way.

Hi there, I am currently working on the next version of import-sort and
atom-import-sort which will come with a eslint style that conforms to the
corresponding eslint rule. Stay tuned!
On Aug 30, 2016 18:05, "screendriver"<EMAIL_ADDRESS>wrote:

I'm getting this error from ESLint because this rule
https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md
complains my import order.
Unfortunately atom-import-sort does not sort this way.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/renke/atom-import-sort/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABjeHFIr8b7o1mwjYvqPLC6iE7FaLkpks5qlFNHgaJpZM4JwsOM
.

I released a new version of atom-import-sort which not by default sorts imports such that they conform to ESLint's sort-imports rule. I am not sure if that solves your problem. If it doesn't, you can now pretty easily write your own custom style.

Thank you for the update. Now I'm getting following error: Failed to sort imports: TypeError: import_sort_1.default is not a function

Can you try to re-install atom-import-sort? – Maybe the old import-sort package is still installed.

I installed your latest update and now it seems to work.

Hi there, maybe I'm missing something, but I'm using atom-import-sort and sort is not done following import/first (absolute-first) rule. Any help would be awesome ! Thanks !
my versions:
atom-import-sort v2.4.0
linter-eslint v8.1.2
eslint v3.15.0


fix: retrying 13 INTERNAL RPC errors

Retrying INTERNAL errors for Idempotent calls should help address https://github.com/firebase/firebase-functions/issues/536

@schmidt-sebastian Note that this file is auto-generated. It's OK to try this change here to see if it helps, but the ground truth is https://github.com/googleapis/googleapis/blob/82809578652607c8ee29d9e199c21f28f81a03e0/google/firestore/v1/firestore_gapic.yaml#L41-L42 (and it, in turn, gets auto-synced from third_party internal folder, which is the real place where this change must be done).

(what I mean is that the change made here will disappear after synthtool run - I'm approving it if you'd like to test it out here fast, but we won't see it here for long :) )

@schmidt-sebastian Note that this file is auto-generated. It's OK to try this change here to see if it helps, but the ground truth is https://github.com/googleapis/googleapis/blob/82809578652607c8ee29d9e199c21f28f81a03e0/google/firestore/v1/firestore_gapic.yaml#L41-L42 (and it, in turn, gets auto-synced from third_party internal folder, which is the real place where this change must be done).

Which, in turn, is generated from https://cs.corp.google.com/piper///depot/google3/google/firestore/admin/v1/firestore_gapic.yaml :)
I will commit this and release this ASAP. Changing the main GAPIC file has to be coordinated with the backend, which I will take care of after.


Create agent module and traits

[ ] Create agent.rs inside of simulation lib crate.
[ ] Define trait Agent with the methods execute_transaction and get_storage.

This looks good


Migrate to pana 0.7

I've been running it in staging for a few hours. Needed to tweak the logging, but otherwise working as expected.


Rename Azure.ResourceManager.StackHci to Azure.ResourceManager.Hci

Azure.ResourceManager.Hci 1.0.0-beta.1 is released on the release_stackhci branch as the main branch now depends on an alpha version of Azure.ResourceManager. This PR merges the changes back to the main branch.
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

there are 2 files conflicts


Remove stopwords from characteristics

There might be some backend work if we decide to add this information to the database.
Otherwise, just blacklisting certain frequent terms.

I've created a list of terms and added support in the backend for excluding terms. The set of terms is augmented with their subclasses.


remove directional switches sprite offsets

About the PR
doesnt change any functionality just makes sprite not evil
Why / Balance
it was evil
Technical details
no
Media
which one is directional who could tell...

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
no
Changelog
no cl no fun

👍

i prefered old sprite

why it was broken

I'm fairly impartial between them, but what was broken about it?

it was offset so it poked off of the wall... see the previous pr screenshot

it was offset so it poked off of the wall... see the previous pr screenshot

No, what was wrong with the old sprite? That's what BrainFood is talking about, I think

it was not centered it was the inverse just look at the screenshot

i prefered old sprite

old sprite had perspective which was the issue

it was not centered it was the inverse just look at the screenshot

Ai ai ai...before this it wasn't.

old sprite had perspective which was the issue

Ok, thanks, that was the answer I was looking for.
Just wondering if it should be centered now though for the non-directional switches?

Or perhaps the non-directional just aren't necessary? I left them in for 2 reasons, 1 was so maps didn't end up with wonky button placement, 2 was for some scenarios where you might want 360 access instead of mapping a bunch of buttons on one wall. 🤷♂ I could go either way.


Always use UTC to deploy AzureStack SDK

To be consistent with 1807+ deploys of AzureStack, always deploy ASDK in UTC timezone.

 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.:x: adepue sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Eliminating blockers for Minimal Fragmenting Relationships

RFC with a focus on the technical blockers for a hypothetical minimal fragmenting relationships implementation. Less time has been spent on the summary and motivation aspects as those have been well explored by Sander's articles (example) as well as prior RFCs, PRs, discord discussions etc.
RENDERED

This looks great! And I think it's also a more reasonable size than #78 (which I should probably close for now). One thing I would like slightly more clarification on is the 'fragmenting' part of 'fragmenting' relationships. Even in #78, I don't think it's adequately explained. My current guess, based on context clues, is that adding relationships means that every (component, entity) acts like a new component for the archetype system, so (component, entity1), and (component, entity2) would be in two different tables, hence splitting the tables, hence fragmenting the tables, which makes iteration speed for queries slower (less predictable access patterns).
I think that's it, but wouldn't that also mean that when you don't use relations, you don't encounter any extra fragmentation, so you shouldn't see performance regressions?

Your interpretation of the "fragmenting" part is correct, I took a quick edit to make it more explicit but it could use more detail. Iteration for queries could hypothetically be slower for a set of entities that previously would have occupied the same table however if the query is only iterating dense components we can still use dense iteration and shouldn't see any regressions. One advantage we have over flecs here is we already have split storage. Since this RFC doesn't cover data on the relationships iterating targets (which are stored in the archetype not component storage) will always be dense and when we do support them we opt for sparse storage when we don't want to impact iteration speed of dense queries that don't access the relationship.
Your also correct in that if you don't make use of relationships you won't have any increase to the fragmentation, however once you do it can increase quickly, especially if/when bevy_hierarchy uses them.

"Fragmenting"
I'd like to add some comments about "fragmenting" since that's bound to receive the most questions. In short, we should stop calling it "fragmenting" it places too much emphasis on the potential downsides of the feature. A better description for this is "archetype level". This is a tool which can have downsides but has many desirable upsides akin to the archetype ECS model we already have.
Other implementations
I do not think this RFC or any efforts towards this feature should deviate away from an archetype level implementation and generalizing to just "an implementation of relations" would be a mistake. The other big contenders for a relations implementation have been explored at this stage.

Indexed
"Non-fragmenting" (aery)

Indexed
To my knowledge there's no specific crate like aery that offers this as a standalone feature but this already exists in every other crate. Many crates have an "index" of some sort in a resource that creates relationships between entities or data stored outside the ECS. The problem with all of these is indexing is a very different data model to archetypes. This presents syncing problems and an even bigger ergonomic problems. Different data models create boundaries in your app that you have to cross every time you access data. Think getting stuff in & out of egui contexts for widgets.
Non-fragmenting
Aery was my attempt at this for my final year university project. It has less of the problems of indexed relations because it's closer to the archetype model (it just stores Entitys in components). It's serviceable for many usecases but it's very unoptimal for many more & has nowhere near the amount of query features I'd like. It originally started off as a fork of bevy but half way through I decided I didn't want it in bevy for two reasons.

The performance problems of highly fragmented scenes can be addressed
A better version of "non-fragmenting" relationships can be implemented on top of archetype level relationships.

TLDR
In short it makes the most sense for an ECS relationships impl to use the same data model as the ECS. Archetype level relationships are what we should aim for. The worst case scenario is you would have as many archetypes/tables as you have entities which is already how the vast majority of commercial games written in OO paradigms work.

The other two big contenders for a relations implementation in the context of an archetypal ECS have been explored at this stage:

There's also Flecs union relationships, which are a non-fragmenting relationships implementation that are widely used by flecs users in combination with fragmenting relationships.
A fourth non-fragmenting implementation has just finished and will land soon, which'll let you use component members as targets of relationships.

If it's useful in any way, we have some prior art on this over at Veloren that's been in use for a number of years and has proven itself under a number of different situations.
We call it the 'link system', and it's a generic framework for defining and maintaining relationships between ECS entities. It supports both 1:1 and 1:many relationships.
Currently, it is used to define:

Rider/mount relationships (like a player riding a horse)
Volume entity riding relationships (many players sat on seats in an airship, moving through the air)
Tethering (physics-based ropes that attach entities to one-another, or to the terrain)

I'm happy to answer any questions about it.


Fix compiler warnings under Emacs 25.1

I've address the comments.

Merged as d511e352c81ccdc08271024104d567b3bd15bf67 and 5056b857a90d732d78162b3263a1dd94f7c5afe3 – thanks for the PR and sorry for the delay in merging it.


bugfix for assignment when rhs has elements of lhs

def anytest():
    c = [3]
    while rand_cond:
        c = [c]  # <-- here
    return c

add to logic:

modify vars that are on both LHS and RHS: c = [c'] and as[c'] = as[c]

this also fixes #54


Tab creation size issue

When I click the plus button to create a new tab, the window show up in the center of the screen but with two layers of the icons that show up at the top right of windows (- box X) and I can't click on anything within the window unless I click the box icon. When I do that, the windows goes up to the top left of my monitor and one of the layers of icons goes away and I am able to click on selection items in the window.

can you provide a gif/webm/video/series of pictures describing this issue?

At the current moment I cannot because of another issue ticket I have opened up about how I cannot open Chatterino 2 because it keeps crashing. Once that is fixed then I will be able to provide a screenshot.

@maith1 https://github.com/fourtf/chatterino2/issues/889#issuecomment-443462696

I think this has been fixed in the latest nightly. if it hasn't, please open a new issue


Update golang x/crypto dependencies (#2923)

Backport #2923 and #2925 to v1.3

LGTM

LGTM

Make LG-TM work


Session cookies managment

Someone can help me Please,
How to save and return cookies to the web service?
i need to retrieve header values from the web service Authetification response. I would like to save any returned cookies in my shared preferences and return them in request header for the rest of services

It's definitely not supported out of the box. The only way I can think of to do it is to create your own version of https://github.com/AlexGilleran/IceSoap/blob/master/IceSoap/src/com/alexgilleran/icesoap/request/impl/HUCSOAPRequester.java and include the code to save/add the cookies. Info on using a custom SOAPRequester implementation is at https://github.com/AlexGilleran/IceSoap/wiki/Using-Custom-Ports-and-SSL#using-your-new-soaprequester-implementation


add react router

Game Plan
Business Requirements

As a traveler I would like to get information about a location or place
Display a results of Things to do and Food near me for the specific location

UI flow

Be able to search for a location
Searching takes me to a results page with Things to do and Food near me displayed
Not MVP - Have the results page be able to search for a different search term


Order endpoint update_shipment_status not supported by python-amazon-sp-api anymore?

Describe the bug
The endpoint update_shipment_status for the Orders API seams to be removed.
To Reproduce
Steps to reproduce the behavior:
Orders().update_shipment_status() throws an error that Orders() has not method called update_shipment_status.
Expected behavior
update_shipment_status should be callable.
Desktop (please complete the following information):

OS: [e.g. Linux/Mac/Windows]

Additional context
This endpoint was introduced by a PR https://github.com/saleweaver/python-amazon-sp-api/pull/541 and in previous versions (e.g. 0.14) it was available. In the current version (0.16) it is not available anymore.
If you have further questions, reach out to me

Please check https://github.com/saleweaver/python-amazon-sp-api/pull/724 to enable support for this.


Minor bug

Just wanted to point out a minor bug. The colors shift once you initially land on the website (default is dark mode), switch to light mode, then back to dark mode. The colors remain shifted. It looks great by the way but it's a bug.

Can you make a video capture and post it here?
Does same happen on this demo website?
https://astro-paper.pages.dev/posts/

https://github.com/user-attachments/assets/84998885-ee3a-447e-904a-d31f8a255e86

I tested it in the code (local run) and on your primary website. The same behavior is exhibited.

I see, good catch. I assumed something else from the original post, now I understand. This happens only for links color. I will have a look.

I found it, primary color was undefined for default dark theme. I it is a consequence of the fact that I have just set up system for dark modes and color themes and defined few colors to confirm it's working, but never really defined proper color palettes for color themes. I should do it soon I think. Thank you for catching this undefined color.
--th-primary: var(--var-color-blue-300);

Can you clear your browser cache Ctrl + F5 and confirm its working now? Website is redeployed.
https://nemanjamitic.com/

I cleared my cache in both Safari and Chrome. I still see the same behavior being exhibited.

You can inspect link and check that this --var-color-blue-300 variable is defined.

The commit is in the footer of your site. Not sure why I am seeing the same behavior across Chrome and Safari. I will try a different device. Happens the same on a mobile device running Safari and Chrome.

Are you seeing that there is no longer an issues per the video?

I can see its fine, its light blue that is almost gray.
Screencast from 08.09.2024. 11:29:04.webm

Yes I do see the colors are fine for dark and for light, however, if you have a look at the video again, when the page transitions from dark to light, the color is good. when it transitions back and forth from dark to light, light to dark the color does not stick, it alternates between green and light blue.
Example
0. Go to blog page

Initial dark mode, light blue
toggle to light mode, green
toggle to dark mode, green
toggle to light mode, light blue
repeat this over and over and the colors alternate with both dark and light mode being equally light blue and green

Default themes (both light and dark) have blue primary color, green themes have green primary color.

Ah ok, so it seems set to alternate every time the mode is toggled with each press. This then is the coded behavior?

Yes, you can add more themes with semantic colors of choice and border radius.

Thank you for the clarification, very much appreciated

thanks again


getEPG() encoding error...

System: QNAP server, x86_64 Linux.
Tvheadend version: 4.1-2141~g01c26fc
tvheadend-ng: Downloaded from git today. (https://github.com/realriot/tvheadend-ng.bundle)
Plex: <IP_ADDRESS>1
Debugging and epg debugging set to true.  Logs show this:
2016-08-06 00:04:33,674 (-b808470) :  DEBUG (networking:166) - Requesting 'http://<IP_ADDRESS>:9981/api/epg/events/grid?start=0&limit=2000' 2016-08-06 00:04:33,705 (-b808470) :  DEBUG (networking:161) - Fetching 'http://<IP_ADDRESS>:9981/api/epg/events/grid?start=0&limit=2000' from the HTTP cache 2016-08-06 00:04:33,706 (-b808470) :  INFO (__init__:132) - JSON-Request failed: JSON encoding error 2016-08-06 00:04:33,706 (-b808470) :  INFO (__init__:144) - Failed to fetch EPG!
I ran tcpdump and saved to pcap during this.  I then extracted the gzipped JSON response from the PCAP.  The response looks clean, and processing it through a JSON validator shows it to be valid.
Any clue what could be going on here?  There seems to be some type of problem with JSON.ObjectFromURL, however it's unclear what that could be. Maybe it cannot handle gzipped responses?
response.gz

Was following your post within the Plex forums and decided to do some digging within the Plex Framework.
The JSON.ObjectFromURL() default setup is as follows within the Plex Framework:
JSON.ObjectFromURL(url, values=None, headers={}, cacheTime=None, encoding=None, errors=None, timeout=GLOBAL_DEFAULT_TIMEOUT, sleep=0, follow_redirects=True, method=None, max_size=None)

After doing some digging I found that when the response is read it checks if the encoding value is filled.  If so, it then checks the errors value. Its setup as follows:
def __str__(self):
    self.load()
    if self._encoding:
      if self._errors:
        result = str(unicode(self._data, self._encoding, self._errors))
      else:
        result = str(unicode(self._data, self._encoding))
    else:
      result = self._data
    return result

This shows how the string encoding is done for the JSON response (as-well-as all URL responses within Plex Framework).  You might try adding errors="ignore" to line 124.  For more info on valid errors values, refer here.

Note: I do not use this channel nor have the means to do so.

More info -- After removing the exception that the author assumed would be the problem here (encoding), I discovered the real error:
"cannot concatenate 'str' and 'type' objects"
My assumption is a '+' character in one of the quoted strings is causing this error.
I.E.: 	"svcname": "KQED+",
Is the + character supposed to be escaped in JSON output?

After removing the raised exception that the author was looking for, this is the real error:
2016-08-06 01:27:02,755 (-b722470) :  INFO (init:127) - JSON-Request failed: <type 'exceptions.UnicodeDecodeError'>
As far as I can see from the PCAP output, the gzipped response isn't unicode.  Hmm.

After doing some digging I found that when the response is read it checks if the encoding value is filled. If so, it then checks the errors value. Its setup as follows:

Thanks for the input.  I'm not familiar enough with Python to know what are built-in functions and what belong to imports.  Your response has helped me drill down further.
As for your recommendation, if you look in the code at line 127 you'll see that he attempts to make another call with ObjectFromUrl without the encoding parameter.

Couple more notes about the usage with JSON.ObjectFromURL(), when it returns the json object, it will also try and use the encoding flag.
class JSON(SubComponent):
  def _init(self):
    self._lock = self._core.runtime.lock()

  def from_string(self, jsonstring, encoding=None):
    try:
      self._lock.acquire()
      return simplejson.loads(jsonstring, encoding)
    except simplejson.decoder.JSONDecodeError, e:
      self._core.log.warn("Error decoding with simplejson, using demjson instead (this will cause a performance hit) - %s" % str(e.args[0]))
      return demjson.decode(jsonstring, encoding)
    finally:
      self._lock.release()

All of that said, I download your response.gz and did some test outside of Plex's Framework (and recreated how Plex behaves to track down the error). I found from your data that it gives an error when including the encoding flag.  It gives the following error for me... (note my position will be different from others as I did some formatting to read the file easier, but didn't change the encoding)
'ascii' codec can't encode character u'\xed' in position 1386: ordinal not in range(128)

This happens when I try and recreate the following portion,
str(unicode(self._data, self._encoding, self._errors))

but if I skip the encoding it works fine.

As for your recommendation, if you look in the code at line 127 you'll see that he attempts to make another call with ObjectFromUrl without the encoding parameter.

Correct, but line 31 has the global cache time set to 1 second.  I'm assuming when the first JSON.ObjectFromURL() fails it is still caching the response and reusing the bad cache for the second requests before the 1 second cache time passes.
A workaround, could be to set the JSON.ObjectFromURL() cache time to zero, i.e.
json_data = dict()
  try:
    json_data = JSON.ObjectFromURL(encoding='utf-8', url=url, headers=headers, cacheTime=0)
  except:
    try:
      json_data = JSON.ObjectFromURL(url=url, headers=headers, cacheTime=0)
    except:
      raise Exception("JSON encoding error")

Notes:

I removed the values=None as it does not need to be included since the channel code never calls for values
Please do not copy/paste the above code blindly into the __init__.py file, as the spacing will be incorrect and Python will complain and not run.  Make sure to use tabs instead of spaces because the author of the __init__.py file used tabs.
You could also change each except: to except Exception, e: and then add a Log.Error(str(e)) after each except to log each exception and track down the errors

'ascii' codec can't encode character u'\xed' in position 1386: ordinal not in range(128)

Ah ha!  I searched for that byte and found it.  It is part of the description for a Spanish television show.

Correct, but line 31 has the global cache time set to 1 second. I'm assuming when the first JSON.ObjectFromURL() fails it is still caching the response and reusing the bad cache for the second requests before the 1 second cache time passes.

This is true, in fact you can tell this is the case because the log shows the work "fetching" when it uses the cache.
However, while working on this, I switched his code around -- starting without the encoding:
		json_data = ""
		try:
			json_data = JSON.ObjectFromURL(url=url, headers=headers, values=None, encoding=None)
		except:
			e = sys.exc_info()[0]
			if debug == True: Log("JSON-Request without encoding set failed: %s" % e)
			try:
				json_data = JSON.ObjectFromURL(encoding='utf-8', url=url, headers=headers, values=None, errors=None)
			except:
				e = sys.exc_info()[0]
				raise Exception("JSON-Request with encoding set failed: %s" % e)

	except Exception, e:
		if debug == True: Log(str(e))
		return False
	if debug == True: Log("JSON-Request successfull!")
	return json_data

Yet, the problem remains.
I've continued this discussion in the Plex forums, since it looks like the problem isn't with tvheadend-ng:
https://forums.plex.tv/discussion/227780/json-objectfromurl-unicode-issue#latest


Cost Calculation is consistent now between calculation from directory and calculation from DevoxxGenie panel

Both calculations take into account the gitignore file now

Thanks for the fix!

You are welcome, could not resist either :-)


Update document link because of HTTP 301 redirect

follow https://www.computerperformance.co.uk/powershell/index.htm
https://www.computerperformance.co.uk/powershell/index.htm -> 301
https://www.computerperformance.co.uk/powershell/index-13/ -> 200

@xtqqczze Please does not remove PR description template.


Migrate codecov action to v2

There's a new version and v1 support will be deprecated on 2022

Updated to v3 on #244


Font lagatures support missing in Tree sitter

Font lagatures support missing in Tree sitter
before

after setting
"editor.experimental.preferTreeSitter": ["typescript"]

//cc @alexr00

/duplicate of #229733


[SPARK-8238][SPARK-8239][SPARK-8242][SPARK-8243][SPARK-8268][SQL]Add ascii/base64/unbase64/encode/decode functions

Add ascii,base64,unbase64,encode and decode expressions.

Merged build triggered.

Merged build started.

Test build #34986 has started for   PR 6843 at commit b341b21.

Test build #34986 has finished for   PR 6843 at commit b341b21.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Ascii(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Base64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Decode(bin: Expression, charset: Expression)
case class Encode(value: Expression, charset: Expression)

Merged build finished. Test FAILed.

@adrian-wang @zhichao-li can you review the code for me?

Merged build triggered.

Merged build started.

Test build #34990 has started for   PR 6843 at commit 6a71481.

Test build #34990 has finished for   PR 6843 at commit 6a71481.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Ascii(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Base64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Decode(bin: Expression, charset: Expression)
case class Encode(value: Expression, charset: Expression)

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #35132 has started for   PR 6843 at commit 05cc18e.

Test build #35132 has finished for   PR 6843 at commit 05cc18e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Ascii(child: Expression) extends UnaryExpression
case class Base64(child: Expression) extends UnaryExpression
case class UnBase64(child: Expression) extends UnaryExpression
case class Decode(bin: Expression, charset: Expression) extends Expression
case class Encode(value: Expression, charset: Expression) extends Expression

Merged build finished. Test PASSed.

@rxin, any more comments on this?

Merged build triggered.

Merged build started.

Test build #35522 has started for   PR 6843 at commit a5e89b6.

Test build #35522 has finished for   PR 6843 at commit a5e89b6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Ascii(child: Expression) extends UnaryExpression
case class Base64(child: Expression) extends UnaryExpression
case class UnBase64(child: Expression) extends UnaryExpression
case class Decode(bin: Expression, charset: Expression) extends Expression
case class Encode(value: Expression, charset: Expression) extends Expression

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #36330 has started for   PR 6843 at commit da6a788.

Test build #36330 has finished for   PR 6843 at commit da6a788.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Ascii(child: Expression) extends UnaryExpression with AutoCastInputTypes
case class Base64(child: Expression) extends UnaryExpression with AutoCastInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with AutoCastInputTypes
case class Decode(bin: Expression, charset: Expression)
case class Encode(value: Expression, charset: Expression)

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #36341 has started for   PR 6843 at commit 947a88a.

Test build #36341 has finished for   PR 6843 at commit 947a88a.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ExpectsInputTypes
trait AutoCastInputTypes
abstract class BinaryExpression extends Expression with trees.BinaryNode[Expression]
abstract class BinaryOperator extends BinaryExpression
abstract class BinaryArithmetic extends BinaryOperator
abstract class BinaryComparison extends BinaryOperator with Predicate
case class Ascii(child: Expression) extends UnaryExpression with AutoCastInputTypes
case class Base64(child: Expression) extends UnaryExpression with AutoCastInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with AutoCastInputTypes
case class Decode(bin: Expression, charset: Expression)
case class Encode(value: Expression, charset: Expression)

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #36500 has started for   PR 6843 at commit 9d6f9f4.

Merged build triggered.

Merged build started.

Test build #36501 has started for   PR 6843 at commit 78dee7d.

Test build #36500 has finished for   PR 6843 at commit 9d6f9f4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Factorial(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Ascii(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Base64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Decode(bin: Expression, charset: Expression) extends Expression with ExpectsInputTypes
case class Encode(value: Expression, charset: Expression)

Merged build finished. Test PASSed.

Test build #36501 has finished for   PR 6843 at commit 78dee7d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Ascii(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Base64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Decode(bin: Expression, charset: Expression) extends Expression with ExpectsInputTypes
case class Encode(value: Expression, charset: Expression)

Merged build finished. Test PASSed.

I'm going to merge this first. Please submit a cleanup pr.


SA1119 reports incorrect unnecessary parenthesis in string interpolation

This snippet triggers SA1119:
bool flag = false;
string data = $"{(flag ? "yep" : "nope")}";

But this is actually correct syntax for using the ternary operator inside a C# 6.0 interpolated string; there's no way to write it without the parenthesis. The code fix (removing the parenthesis) causes the code to be uncompilable.

Nice catch! Im going to have a look at it

Would take a look myself, but still at work! :smile:

If you want to fix it go ahead!

I wouldn't be able to get to it until later, so unless I've specifically mentioned here that I'm looking at it, assume I haven't had time yet.

So who took it? :smile:

Im going to fix this now

Yeah, sorry... didn't have time to look at it yet. :disappointed: Go for it!


ts2c/src/types.js:625

https://gitlab.com/the-language/the-language/blob/dab7bd014e15d4f06e09fae039679a96a34945e9/core/pure/typescript/lang.ts
$ ts2c lang.ts
/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:625
            var propType = this.convertType(propTsType, declaration.name) || exports.PointerVarType;
                                                                    ^

TypeError: Cannot read property 'name' of undefined
    at TypeHelper.generateStructure (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:625:69)
    at TypeHelper.convertType (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:608:35)
    at TypeHelper.getCType (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:257:39)
    at /home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:526:80
    at Array.forEach (<anonymous>)
    at TypeHelper.resolveTypes (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:526:23)
    at TypeHelper.inferTypes (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/types.js:522:14)
    at newConstructor.CProgram (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/program.js:146:25)
    at new newConstructor (/home/zaoqi/.config/yarn/global/node_modules/ts2c/src/template.js:26:35)
    at Object.<anonymous> (/home/zaoqi/.config/yarn/global/node_modules/ts2c/bin/ts2c:14:14)
$ yarn global list
yarn global v1.15.2
warning package.json: No license field
info<EMAIL_ADDRESS>has binaries:
   - gulp
info<EMAIL_ADDRESS>has binaries:
   - hexo
info<EMAIL_ADDRESS>has binaries:
   - ts2c
Done in 0.65s.

The file is too huge, when reporting bugs, please provide an (MCVE)[https://stackoverflow.com/help/mcve].
Also, the file includes export statements. As I mentioned in (ES6 module issue)[https://github.com/andrei-markeev/ts2c/issues/27#issuecomment-475917138], you should compile entry point of the program rather than individual modules.

I don't know where ts2c is translating.
I will write a program to modify the result to get the module I want.

I don't know where ts2c is translating.

ts2c is experiencing an error while processing this huge file, so there's no output.
I tried to debug it with the latest dev version of ts2c, and now the error is completely different and happens when processing function make_error_v on line 936. But this function has many dependencies and it is totally impossible to understand what is happening there.
I appreciate the bug report, but at this point, let's not try to transpile such big real-world files. I need a very small example that I can work with.
As the original error no longer happens and because minimal example was not provided, I am closing this.


Android: Ability to copy only a part of a message (low priority)

Copying the whole message to the clipboard is nice but sometimes I need to copy only a part of it.

This conflicts with #471. I am not sure if we can achieve both.

That's true... hmm, what about:

tap to copy just the text (without timestamp because timestamp is rarely interesting for a single message)
tap and hold to allow text selection to copy any part of it
use [...] trippledot menu or a new  toolbar icon to switch into the multi-message selection, tap on messages to copy and get selected messages with timestamps

I review tickets every now and then, and honestly, this seems more trouble than it's worth. There is a long-tap action already and a single tap action. It's not that big of a deal to strip out the stuff you don't need later.
If there are many more people that like this feature, I may change my mind. For now, I'm going to close this.
Thank you for reporting this. Keep these ideas coming. :-D


Unable to join the server: free(): invalid next size (normal)

Everytime a player tries to join the server, the following message is shown in the log, making the server inaccesible:
free(): invalid next size (normal)
Looks like a C++ sort of problem, so I'm guessing it is a server related thing and not docker, but since I'm unsure, I'm bringing it up.
Everytime this happens, the only solution I find is deleting the world and starting a new one.
Just in case is relevant:

Architecture: ARM64
CPU: 16 threads
RAM: 16GB
Operating system: "Ubuntu 22.04.3 LTS"
Full log:DEBU[0000] Using /data to match uid and gid
DEBU[0000] Resolved 1000 from environment variable UID
DEBU[0000] Resolved 1000 from environment variable GID
Looking up latest version...
Setting allow list
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2024-01-14 23:49:14:025 INFO] Starting Server
[2024-01-14 23:49:14:025 INFO] Version: <IP_ADDRESS>
[2024-01-14 23:49:14:025 INFO] Session ID: ae4cdfb6-fe11-4add-b22f-7ea3127ef83d
[2024-01-14 23:49:14:025 INFO] Build ID: 20414424
[2024-01-14 23:49:14:026 INFO] Branch: r/20_u5
[2024-01-14 23:49:14:026 INFO] Commit ID: 62ad6027dc354090f841dd996363408bb43fdfd4
[2024-01-14 23:49:14:026 INFO] Configuration: Publish
[2024-01-14 23:49:14:031 INFO] Level Name: L@s Matapuercos
[2024-01-14 23:49:14:040 INFO] No CDN config file found for dedicated server
[2024-01-14 23:49:14:041 INFO] Game mode: 0 Survival
[2024-01-14 23:49:14:041 INFO] Difficulty: 2 NORMAL
[2024-01-14 23:49:14:052 INFO] Content logging to console is enabled.
[2024-01-14 23:49:16:294 INFO] Content logging to disk is enabled. Writing log to: ContentLog__Sunday__2024_January_14__23_49_16
[2024-01-14 23:49:16:301 INFO] Opening level 'worlds/L@s Matapuercos/db'
[2024-01-14 23:49:25:486 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-14 23:49:25:486 INFO] IPv6 not supported
[2024-01-14 23:49:25:608 INFO] Server started.
[2024-01-14 23:49:25:612 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-14 23:49:25:612 INFO] Server Telemetry is currently not enabled.
[2024-01-14 23:49:25:612 INFO] Enabling this telemetry helps us improve the game.
[2024-01-14 23:49:25:612 INFO]
[2024-01-14 23:49:25:612 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2024-01-14 23:49:25:612 INFO] to the server.properties file in the handheld/src-server directory
[2024-01-14 23:49:25:612 INFO] ======================================================
[2024-01-14 23:51:57:146 INFO] Player connected: KezoTheCabra, xuid: xxxxxxxxxxxxxxxxxx
free(): invalid next size (normal)
DEBU[0327] Forwarding signal                             signal=terminated
DEBU[0327] Sending message on stdin due to SIGTERM       message=stop
DEBU[0000] Using /data to match uid and gid
DEBU[0000] Resolved 1000 from environment variable UID
DEBU[0000] Resolved 1000 from environment variable GID
Looking up latest version...
Setting allow list
Starting Bedrock server...
NO LOG FILE! - setting up server logging...
[2024-01-14 23:54:53:829 INFO] Starting Server
[2024-01-14 23:54:53:829 INFO] Version: <IP_ADDRESS>
[2024-01-14 23:54:53:829 INFO] Session ID: 5e3ebb29-6d27-49e9-b9d3-e4ae522e8dc4
[2024-01-14 23:54:53:829 INFO] Build ID: 20414424
[2024-01-14 23:54:53:829 INFO] Branch: r/20_u5
[2024-01-14 23:54:53:829 INFO] Commit ID: 62ad6027dc354090f841dd996363408bb43fdfd4
[2024-01-14 23:54:53:829 INFO] Configuration: Publish
[2024-01-14 23:54:53:836 INFO] Level Name: L@s Matapuercos
[2024-01-14 23:54:53:845 INFO] No CDN config file found for dedicated server
[2024-01-14 23:54:53:845 INFO] Game mode: 0 Survival
[2024-01-14 23:54:53:845 INFO] Difficulty: 2 NORMAL
[2024-01-14 23:54:53:858 INFO] Content logging to console is enabled.
[2024-01-14 23:54:54:073 INFO] Content logging to disk is enabled. Writing log to: ContentLog__Sunday__2024_January_14__23_54_54
[2024-01-14 23:54:54:080 INFO] Opening level 'worlds/L@s Matapuercos/db'
[2024-01-14 23:55:01:388 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-14 23:55:01:388 INFO] IPv6 not supported
[2024-01-14 23:55:01:613 INFO] Server started.
[2024-01-14 23:55:01:626 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-14 23:55:01:626 INFO] Server Telemetry is currently not enabled.
[2024-01-14 23:55:01:626 INFO] Enabling this telemetry helps us improve the game.
[2024-01-14 23:55:01:626 INFO]
[2024-01-14 23:55:01:626 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2024-01-14 23:55:01:626 INFO] to the server.properties file in the handheld/src-server directory
[2024-01-14 23:55:01:626 INFO] ======================================================
[2024-01-14 23:55:28:027 INFO] Player connected: KezoTheCabra, xuid: xxxxxxxxxxxxxxxxxx
free(): invalid next size (normal)

Docker compose file:version: "3"
services:
  minecraft-server:
    container_name: minecraft-server
    image: itzg/minecraft-bedrock-server:latest
    tty: true
    stdin_open: true
    ports:
      - "<IP_ADDRESS>:19132:19132/udp"
      - "<IP_ADDRESS>:19132:19132/tcp"
    environment:
      EULA: TRUE
      VERSION: LATEST
      UID: 1000
      GID: 1000
      SERVER_NAME: 'L@s Matapuercos'
      SERVER_PORT: 19132
      GAMEMODE: "survival"
      DIFFICULTY: "normal"
      LEVEL_NAME: 'L@s Matapuercos'
      ONLINE_MODE: TRUE
      ALLOW_LIST_USERS: "KezoTheCabra"
    volumes:
      - ./minecraft-bedrock-server/losmatapuercos:/data'
    restart: always

Definitely unrelated to docker. You may want to search Mojang's issue tracker.
Otherwise try https://docker-minecraft-server.readthedocs.io/en/latest/misc/examples/#bedrock-compatible-server

Thanks for the answer!
I'll keep on looking through that path.
A new error showed up after deleting the docker volumes, which was:
libc++abi: terminating due to uncaught exception of type std::__1::system_error: Operation not permitted
So definitely a server error.


Widget doesn't show on second click with format YYYY-MM-DD

Hi, I created a fiddle ( http://jsfiddle.net/chanjarster/r450s3Lg/2/ ) to demonstrate the bug.
Steps of reproducing:

create a datetimepicker with format YYYY-MM-DD
click the input, widget shows
select a day, input updates, widget closes
click the input, widget doesn't show

I think there are two ways to solve this:

when widge closes, blur the input
or, keep the same behavior of format HH:mm. The time picker in the fiddle doesn't close unless you click other place

Thank you very much

we can blur the input in a future version. in the meantime, you can set the option keepOpen which will keep the picker open until the person clicks off

This also occurs if you use the showClose option and close the datepicker with the close button, the input field retains focus and will not open the date picker when clicked on a second time unless you click outside the input field.
Example can be seen here: http://jsfiddle.net/0Ltv25o8/1193/

please check the dev branch


Add deploy to docker button

Button for uploading to docker cloud

Will do it.

@gabru-md Sorry to say but i was ntrested to work on it.

No worries @S2606
You may do it. I'll look at other issues
Cheers!


Publish 7.1.1-20210714233557+0000

Publish 7.1.1-20210714233557+0000

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


(MAINT) Update due to re-release of WMF 5.0 RTM

Microsoft Windows Management Framework 5 (WMF 5) has been released.  This
commit updates the README.md file with information about the WMF 5.0
RTM, published by Microsoft at 2016-02-24

Update the link to a download page
Update the link to announcement on vendor blog
Update to known issue section (Windows 2008 is not supported since
RTM, the list of server software not supported with WMF 5.0)
Update to the prerequisites section

Updated original PR from @it-praktyk
https://github.com/puppetlabs/puppetlabs-dsc/pull/180

Minor *nit - this is documentation change - (doc) instead of (maint).

Commit msg updated

Thanks @it-praktyk and @glennsarti !


Release version 2.2.199

PDF.js version 2.2.199 used in the demo should be available in this repository, but there's only version 2.1.266 here.

The viewer at https://mozilla.github.io/pdf.js/web/viewer.html always contains the latest development version of the PDF.js library, hence that exact version is not expected to to be found at https://github.com/mozilla/pdf.js/releases since those are the official releases.
Please refer also to the FAQ, in particular https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#version for additional information.
This is thus, effectively, a duplicate of issue #10819.

Thanks for the fast response.
Sure, 2.2.199 is the development version, but stable Firefox 67.0 is using PDF.js 2.2.71, which has not been tagged or released here or at pdfjs-dist. It seems against the FAQ answer (unless Firefox grabbed the code without you pushing it out).

Yes, the release schedule has been changed a bit. I'll update the FAQ and close this as a duplicate of the other issue mentioned above that tracks the next release.


Unexpected long time importing blend files and other issues

Godot version
4.0 beta1
System information
Linux, Vulkan
Issue description
I'm trying to import a blend file in Godot 4 beta1, but Godot freezes and uses 100% CPU.
It took over 7 minutes to import while the file is only 12MB, seems abnormal.
Besides, the imported scene is missing all the textures.
The objects' translation are very different from the one I see in blender.
In blender:

In Godot4:

Example blend file:
cube_diorama_custom1.zip
Blender version
3.3.0
Steps to reproduce

Download the attached blend file
Try to import with Godot 4 beta1
Godot freezes and take a long time to import
Imported scene broken (missing textures, wrong object translation)

Minimal reproduction project
No response

You could try exporting GLTF manually from blender, that may illuminate the issue.  I know the "Keep Original" option that Godot users on export can cause some issues.  These settings will export similarily to what Godot does in the background:

Related to https://github.com/godotengine/godot/issues/65913.

Sorry, maybe I've wrote a improper title.
My problem is mainly on the import time, which is 7 minutes, way longer than expected.
@timshannon, after exporting .dae, .gltf and .glb format from blender itself, the results are at below:
dae

A little bit different(mostly textures) from blender but it's better.
glb, gltf
original

zoom in

It's more like what is imported by godot editor.

This is not a Godot bug.
If I export your .blend to .glb and then reimport into Blender, this is what I get:

It looks identical to what you are seeing in Godot, so this is really just an issue of Blender not being able to export your scene as a glTF. I assume this is at least partly related to Blender's Asset Browser.

Thanks! I'll issue to blender repo then.
Closing as this is not a godot issue.


"Visible Paths" ignores top_level.

Tested versions
Found in v4.2.1.stable.official [b09f793f5]
System information
Godot v4.2.1.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; <IP_ADDRESS>5) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
Debug > Visible Paths displays Path3D nodes with parent transform applied, even though top_level is true.
Steps to reproduce

Create Node3D.
Add child Path3D, set some curve, set "Top Level" to on
Change position of Node3D (Path3D does not move)
Enable Debug > Visible Paths
Run project
Observed: Path is displayed with its position being relative to the parent Node3D.
Expected: Path is displayed without parent transform (as in the editor).

Minimal reproduction project (MRP)
N/A

Can reproduce on 4.2.1 but can't reproduce on master most likely it was already reported and fixed.

Duplicate of #84290 and fixed by #84643


Scope validation fails when using OAUTH token type and Default API version

Description:
When using OAUTH as token type and calling and API in the default version (no version in the uri), the scope validation fails. If the same API is called with the version in the uri, the scope validation passes and the request is successful.
Steps to reproduce:

Create and API and mark it as default version (I used the Publisher Rest API)
Add a path to the API protected by a scope
Create an Application with tokenType OAUTH
Get a token with the expected scope
Call the API as default version : The call will fail
Call the API using the published version : It works

Affected Product Version:
WSO2 API Manager 3.2.0
Environment details (with versions):

OS: Linux -> docker.wso2.com/wso2am:3.2.0
Client:
Env (Docker/K8s): Docker

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

@girespro, What is the difference between the above two request flows. Could you please mention the sample requests that you have tried?

Well, the first call goes to <$gatewayUurl>/<$apiContext>/path while the second goes to <$gatewayurl>/<$apiContext>/<$apiVersion>/path.
During Debugging I was able to see that the failure happens in the DefaultKeyValidationHandler. Retriving the API by context and version returns null when the version is default***

@girespro Thank you for reporting the issue and found the root cause. We will try to reproduce it on our end and fix it.

@girespro  This is regarding your issue. Could you recheck the APIM version that error has occurred? because, from 3.2.0 onwards, we only support APPs with JWT token type. If I understood your issue correctly that has happened with an opaque token issued from APP of OAuth type.

I was upgrading from APIM 3.0.0 with IS-KM 5.9.0 to APIM 3.2.0 with IS-KM 5.10.0. My Applications from the old version all had the token type 'OAUTH'.
Also, the use of OAUTH token type is not really completely removed from the product. During my upgrade process, I was able to create new Applications with token type OAUTH by using the api#am#store#v1.0.war and copying it in the webapps directory of the new version.


Use wiremock-standalone instead of "ambient" server

Recent versions of Wiremock relocate Jetty in the "standalone" jar, so it wouldn't clash with anything on the classpath in Spring Boot any more. We could probably remove a bunch of code in Spring Cloud Contract Wiremock if we use that as a dependency.

Related to https://github.com/spring-cloud/spring-cloud-contract/issues/146 ?

It would make #146 redundant.


New translation - Spanish (Spain) || Español (España)

Thank you!

Hey @raulsmartin , I am currently in the process of relicensing Controllable to a more suitable license. I would like your permission to relicense your contributions to Controllable under MIT.

Yeah! You have my permission