Cluster name and Kops

ALB ingress controller does not work if my cluster's name has points in it:

Error: ValidationError: The load balancer name 'p1.lt.cl-cef9a6cae1e748c' can only contain characters that are alphanumeric characters and hyphens(-)

BUT kops won't work if the cluster name isn't a fully-qualified DNS name:

example with 'p-cl':

Cluster Name must be a fully-qualified DNS name (e.g. --name=mycluster.myzone.com)

example with 'CL1':

Cluster Name must be a valid DNS name (e.g. --name=mycluster.myzone.com) errors: a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*')

How should I do to make this work?

I'm trying to get this to work with kops as well, but I'm choking on this error:
CLUSTER_NAME must be 11 characters or less

My cluster's called "development.x.tld" so there's no way it's going to fit inside 11 characters...

For this, have a look here.
On AWS you can create private hosted zones with the name you want. So you can create for instance 'my.cl' or even shorter if you wish: a.b.

Same problem. Using host names with kops is a common use case. How about adding alb.ingress.kubernetes.io/load-balancer-name ?

The CLUSTER_NAME being picked up is here: https://github.com/coreos/alb-ingress-controller/blob/master/examples/alb-ingress-controller.yaml#L55-L56
I'm just now noticing our example is > 11 characters. Is this actually an issue related to kops? Or are the defaults being used and it's exceeding the max?

Keep in mind this env var setup in the controller manifest is only used to name ALBs created by the controller. This way you can identify where an ALB came from.

I'm just now noticing our example is > 11 characters. Is this actually an issue related to kops? Or are the defaults being used and it's exceeding the max?

kops needs cluster name to be fully-qualified DNS name, which is not accepted by ALB. It's possible to bypass 11 char limit in kops with private hosted zones.

Unfortunately due to AWS naming requirements we cant allow . in CLUSTER_NAME. This doesn't have to be the same value as what Kops is using though, so feel free to choose something different.

Hey!
I completely love your way of creating ALBs. Using it for current EKS cluster without any issues.
Are you planning to add support for kops clusters?
Current approach does not allow me to use already existing infrastructure(VPC and SG) in predictable way.
Thanks!


Need i18n support for GeyserWiki Pages

As title, I hope everyone who has the ability and want to help translate this Wiki can make contributions to it. For me, I can help translate this Wiki into Chinese Simplified (China mainland) /zh_cn.

I think we discussed about that back then we used the old wiki but there was no point as we knew this one would come and make everyone's life easier...
@rtm516 do you think we could translate this wiki now ?

也许，你需要这个GeyserChineseWiki,虽然它还在施工中,但Geyser部分和Floodgate小部分已经翻译完毕,预览地址geyserwiki.qscraft.top

This will be possible once we migrate to Docusaurus.
We can use Crowdin as we do for other translations. Linking for future reference: https://docusaurus.io/docs/i18n/crowdin


Getting this error while running npm start

TypeError: Cannot read property 'env' of undefined
    at Object.config (D:\projects\partyfy\partyfy-ex\node_modules\snowpack-plugin-web-ext\dist-src\index.js:51:60)
    at D:\projects\partyfy\partyfy-ex\node_modules\snowpack\lib\index.js:70931:20
    at Array.forEach (<anonymous>)
    at normalizeConfig (D:\projects\partyfy\partyfy-ex\node_modules\snowpack\lib\index.js:70929:13)
    at createConfiguration (D:\projects\partyfy\partyfy-ex\node_modules\snowpack\lib\index.js:71143:30)
    at Object.loadConfiguration (D:\projects\partyfy\partyfy-ex\node_modules\snowpack\lib\index.js:71214:16)
    at cli (D:\projects\partyfy\partyfy-ex\node_modules\snowpack\lib\index.js:132300:35)
    at Object.<anonymous> (D:\projects\partyfy\partyfy-ex\node_modules\snowpack\index.bin.js:14:1)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `cross-env NODE_ENV=develop snowpack build --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\JAYESH\AppData\Roaming\npm-cache\_logs\2021-01-17T19_22_17_076Z-debug.log

Do you have a link to your repo where this issue occurs?
Without seeing your code it's difficult to say what's wrong.
But it looks like you are using env in your run_main_module.js file and that is undefined.

Do you have a link to your repo where this issue occurs?
Without seeing your code it's difficult to say what's wrong.
But it looks like you are using env in your run_main_module.js file and that is undefined.

Oh sorry for that! Here's the link to the repo
https://github.com/j23saw/partyfy-ex

Oh sorry for that! Here's the link to the repo
https://github.com/j23saw/partyfy-ex

This issue with env happens because the plugin is written for Snowpack v2.x API.
I need to make the plugin compatible with v3.x. I'll create a new issue for it.
There are still things that are not working with v3.x.

This issue with env happens because the plugin is written for Snowpack v2.x API.
I need to make the plugin compatible with v3.x. I'll create a new issue for it.
There are still things that are not working with v3.x.


On uninstall remove plist and stop

Returns combined errors if any.

@cjb

@patrickxb please could you r?


Removes Whole Program Optimization

This PR was prompted by trying to link the x64 Windows release with LLVM's linker.
Using whole program optimization generates lib files with a different file format that is not compatible with any other linker than the one included with the MSVC version used to create them. This means that the library is incompatible even with different MSVC versions. See (specifically the third point): https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=msvc-160#restrictions
I removed whole program optimization from all Visual Studio projects, please tell me if I missed any.
I am not sure how the releases are made, if they get their configuration from elsewhere this has to be changed there as well.
Note that this change will result in an ~15% larger library.

@Bxil Thank you very much for investigating this issue! Actually, the releases are generated using that same project, so, if there is any issue the CD system will tell me.


VIDEOJS: ERROR: DOMException: Failed to set the 'duration' property on 'MediaSource': The 'updating' attribute is true on one or more of this MediaSource's SourceBuffers.

中文用户注意：

尽量用英文描述你的 issue
不要把内容堆彻在标题上，逻辑清晰地写在内容区
贴代码要提前格式化好，有颜色高亮那种，贴文本，不要贴图片
提问题前，必须仔细阅读 REMADE.md + 在已关闭的问题中寻找与自身相关的问题，90% 的可能它已经被解决
如果无法做到提一个合格、优秀的问题，则问题会被 close + block

BUG REPORT TEMPLATE
Vue.js version and component version
Reproduction Link

A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug.
You could start with this template: https://jsfiddle.net/39epgLj0/

Steps to reproduce
What is Expected?
What is actually happening?

i have a erro ,when load.

i have a erro ,when load.

Anyone has any idea about solving this problem?


Allow postgres:///dbname as a local url

Hi, I updated today and was surprised (and a little worried at first) that I was about to clean a remote database. It turns out I was using a style of DATABASE_URL that wasn't considered local. This patch adds that, and also tightens down the checks to actually look at the host (or protocol) instead of those appearing somewhere in the string.

@botandrose I was also considering not having it be a constant at all, but turning on # frozen_string_literal: true for this file. I think that'd be goodd, but I thought maybe that was over-reaching for this PR.

@botandrose I was also considering not having it be a constant at all, but turning on # frozen_string_literal: true for this file. I think that'd be goodd, but I thought maybe that was over-reaching for this PR.

@will Sounds like a good idea. If you submit a new PR for that, I'd really appreciate it. Thanks!


fix: Remove call to stop dialog to correct player mirroring

Without this line being removed, during a conversation, stop talking gets called by both :

and

The result of this is that this code is called twice
		if animations.speaks[_movable.last_dir].mirrored \
				and not _movable.is_mirrored:
			_sprite_node.scale.x *= -1

Which, when you have a mirrored talking animation, means that the character gets turned to face the wrong way when they finish talking.

Looks correct. Good catch!


Users.getReadableFields doesn't get document.

query myMovie {
  movie(input: { id: "123foo" }) {
    result{
      _id
      title
      year
    }
  }
}

When the above runs, the function at canRead on the schema, does not get the document as a one of the variables.
The problem is that in permissions.js , users.checkFields does not get nor send document, so Users.getReadableFields doesn't get document and it never gets to the canRead function.
I'd like only the producers of this movie to know it's title, so in the schema of the movie I give title  - canRead: restrictedPermissions, and in restrictedPermissions I'd like to check if the user is the a producer that works in the united states and have copy rights (or whatever), but it's impossible as I don't get the document when this query runs, because in permissions.js , users.checkFields does not get nor send document, so Users.getReadableFields doesn't get document.

Related to https://github.com/VulcanJS/Vulcan/issues/2542
We need to implement this: https://github.com/VulcanJS/Vulcan/issues/2542#issuecomment-596961794

As far as I understand the issue is that _id has a specific permission ( a custom function), and field with specific permission are not yet filterable (will always be rejected before filtering can even happen)

True to every field, as I want to give a specific permission (a custom function) to many fields.
If you'll follow this path - permissions.js -> users.checkFields -> Users.getReadableFields you'll notice the last doesn't get document, so can't check for custom permissions.


Telemetry Specifications page

Please go to this doc and fill in the needed information to create each page.
https://docs.google.com/document/d/1RPJB9JyFvnbmme1f2s52jrprronR--9Vp9RBDQfRYQs/edit#heading=h.4kitmexapqcp

Please review and leave screenshots and comments here:
https://microprofile.io/specifications/telemetry/
Pass: MPreview

Looks good, thanks @rstjames

This is a comment applicable to all of the pages. We are working on the different versions. I am wondering how to differentiate this. I think we should do something like this:

We discussed this before and said we would not make versions on all separate pages. This topic needs a bigger discussion to understand the amount of work behind it and see what others think.

We discussed this before and said we would not make versions on all separate pages. This topic needs a bigger discussion to understand the amount of work behind it and see what others think.

We will only do the current versions and future versions but not going back to the old versions. The page should say which version is about. At the moment, it talks about a particular version. The title should say that version. When MP Telemetry 2.1 is release, a new page will be created. Then you will have 2 MP Telemetry pages. We can discuss next Monday at the marketing call.

For review:
https://microprofile.io/specifications/telemetry/
Password: MPreview
What I need are links to git for old versions
@Emily-Jiang @jclingan @edbratt @aeiras

https://github.com/eclipse/microprofile-telemetry/releases/tag/1.0
https://github.com/eclipse/microprofile-telemetry/releases/tag/1.1
https://github.com/eclipse/microprofile-telemetry/releases/tag/2.0

Updated


Clicking on OneDrive button does nothing

this happens because we didn't set the env var for oneDrive in DO App platform.


Does anyone know how to use langdetection ?

Hi everybody,
Does anyone know how to use langdetection ?
because i am new to java
thanks in advance

How to get started is well documented. If this is too complex for you then I'm afraid you have to learn some Java basics first, and then come back with specific questions.


Deploy preview test

Signed-off-by: Lee Calcote<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit b4f769bc0667d2b099b1176e1ced5078e51e6143 at: https://630787d1d3714f0dd6fa1e19--meshery-docs-preview.netlify.app


latest 5-2 tests

rebase of https://github.com/ManageIQ/manageiq/compare/master...jrafanie:rails-5-2

https://github.com/ManageIQ/manageiq-consumption/pull/172
https://github.com/ManageIQ/activerecord-virtual_attributes/pull/67
https://github.com/ManageIQ/manageiq/issues/20032
https://github.com/ManageIQ/manageiq/pull/20051

failed API. looking into seeing if that is us or the repo is broken

merged


Improve inventory management design

Right now viewing inventory for items is very unintuitive, it requires the seller to click "edit" on their listing and scroll down to the inventory management section. A seller cannot view their inventory at a glance, and there's also no indication when a listing goes out of stock.
I suggest that we add an overlay onto images in a sellers store that tells them the remaining inventory (only if they have set an inventory number) and then also sends them a notification when their stock drops to 0, as well as put an "out of stock" overlay on the image.

Right now viewing inventory for items is very unintuitive, it requires the seller to click "edit" on their listing and scroll down to the inventory management section.

As a vendor, clicking edit or going to an admin section to view and manage inventory seems to be the standard experience across major eCommerce platforms. Is there a reason why this feels very unintuitive in the OpenBazaar experience vs other platforms?

I suggest that we add an overlay onto images in a sellers store that tells them the remaining inventory (only if they have set an inventory number)

I'm not sure I'm following the add an overlay onto images suggestion. Can you provide more detail on what you're thinking? The inventory table can get pretty loaded, especially when accounting for variants and variant choices so we'll need to set aside a lot of real estate to render all of the inventory data.
Also, are you thinking the inventory section would be read-only? Or fully editable too?

and then also sends them a notification when their stock drops to 0, as well as put an "out of stock" overlay on the image.

I like the idea of triggering a notification to inform the vendor when inventory hits 0. Also having some type of badge display on a listing detail view when it's completely out of stock would be helpful.


model binding multiple sources to a single class doesn't work as doumented

The first example under the section sources shows that you can mix various sources into one model. This does not work!
E.g.
[HttpPost]
public ActionResult Post(TestDetails testDetails)
{
    return Ok();
}

public record TestDetails
{
    [FromBody]
    public Artist? Artist { get; init; }

    [ModelBinder(typeof(EnvironmentBinder))]
    public IPAddress? IpAddress { get; init; }

    [FromHeader(Name = "Accept-Language")]
    public string? PreferredLanguages { get; init; }

    [FromQuery]
    public string? SelectedLanguage { get; init; }
}

public record Body
{
    public string? Name { get; init; }

    public string? StageName { get; init; }
}

Calling the endpoint creates an error stating that Artist must not be empty.
To make it work either the following option must be set
builder.Services.AddMvc().ConfigureApiBehaviorOptions(options => {
    options.SuppressInferBindingSourcesForParameters = true;
});

or (from .Net 6 on?) the method parameter must be declared as [FromQuery]:
[HttpPost]
public ActionResult Post([FromQuery] TestDetails testDetails)
{
    return Ok();
}

This is totally missing in the documentation and cost me several days to figure out.

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

ID: e24f48f8-6c4d-ecda-6ce6-a7826d396e99
Version Independent ID: 9c4af557-8d06-4c6c-ad2a-0dd234547563
Content: Model Binding in ASP.NET Core
Content Source: aspnetcore/mvc/models/model-binding.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

None of the code you posted is in this tutorial.
Please reproduce a problem with the code in this tutorial.

The code I posted is an extended example to show the problem.
In the article at section Sources the example shows:
public class Instructor
{
    public int Id { get; set; }

    [FromQuery(Name = "Note")]
    public string? NoteFromQueryString { get; set; }

    // ...
}

When using the class in a controller method like this...
[HttpPost]
public ActionResult PostOneClass(Instructor instructor)
{
    return Ok(instructor);
}

...the property NoteFromQueryString  is not set. It is always null. So the example does not work!
When the instructor class is attributed with a [FromQuery] ...
[HttpPost]
public ActionResult PostOneClass([FromQuery] Instructor instructor)
{
   return Ok(instructor);
}

...the NoteFromQueryString property is set, but not the Id.
When the Id is marked additionally as [FromBody] ...
public class Instructor
{
    [FromBody]
    public int Id { get; set; }

    [FromQuery(Name = "Note")]
    public string? NoteFromQueryString { get; set; }

}

...a 400 error is returned, stating: "The JSON value could not be converted to System.Int32..."
Keeping [FromBody] in the Instructor class and removing [FromQuery] from the controller method makes NoteFromQueryString return null again.
The only solution I found is to put the body parameter(s) in a separate class...
public class Instructor
{
    [FromBody]
    public Body body { get; set; }

    [FromQuery(Name = "Note")]
    public string? NoteFromQueryString { get; set; }

}
public class Body
{
    public int Id { get; set; }
   //...
}

... and use [FromQuery] in the method:
[HttpPost]
public ActionResult PostOneClass([FromQuery] Instructor instructor)
{
    return Ok(instructor);
}

Without [FromQuery] in the method a request returns a 400 error, stating: "The body field is required."
So, the example doesn't work and the only working solution is not presented.

@serpent5 @sammychinedu2ky @fiyazbinhasan  please review

@Rick-Anderson  @KillerBoogie
https://learn.microsoft.com/en-us/aspnet/core/mvc/models/model-binding?view=aspnetcore-7.0#frombody-attribute

Yes, this is correctly stated. But, even if '[FromBody]' is not stated as in the example above it doesn't work either, because it is added as a convention. I just listed all options and outcomes in my post.
My main point is that there is no way of getting the stated example working with the information given in the article. The critical information to make this example work is not obvious and no where found in the article. It is only stated that it won't work with `[FromBody]', but not how to mae it work. How do you make this example from the sources section above work? Please tell me and then state it in the article.
public class Instructor
{
    public int Id { get; set; }

    [FromQuery(Name = "Note")]
    public string? NoteFromQueryString { get; set; }

    // ...
}

I even didn't know that it is possible before I saw the example and then failed when trying it out. I lost a week of my time just to figure out how it works by testing all options instead of reading a good documentation for 10 mins.
Here is another option, creating a custom [RequestAttribute], as a workaround: https://josef.codes/model-bind-multiple-sources-to-a-single-class-in-asp-net-core/

@KillerBoogie


XS_gabs model is not correctly imported

I am not sure yet what is the cause, but the model takes only 0 or 1 values, no intermediate, independently of the strength. Position and width still work, but fit breaks, naturally, due to lack of sensitivity to strength.
cyclabs e.g. works well (but I don't need it now).

@volodymyrss are you just needing to use a Gaussian? astromodels has that already (which could be much faster).
But I do not see where gabs only takes 1 or 0

I think I know what you mean. We had a similar problem in the past, but we thought we have solved it.
Make sure you have the latest version of threeML, and also clean up all the "XS_*.py" files in the directory ~/astromodels/data and try again.
The files in ~/astromodels/data are created the first time you import the xspec part of astromodels. It could be that you still have versions of those files created by a previous version of astromodels.

I need in principle specific gaussian parameterization used in xspec, for consistency. Otherwise I have to keep converting parameters. Especially since it's gaussian absorption...

I run all inside docker, so the environment is, in principle, quite clean of any previous artifacts (ha! an advantage of ephemeral dockers).
I have just rebuild it with astromodels commit c86e4e0d (last one) and  get the same problem.

I just have some concern with the fact that astromodels is installed twice: once by dependency of threeML from pip, and then from git once again.

I do not think that will cause a problem (though I do not like that). I am taking a look right now

I get the same problem. It is also strange that this is NOT a gaussian. I'll have a look at the XSPEC source code

well it is (it is supposed to be) a gaussian absorption, and I see now that while function composition in astromodels is generally more advanced than in xspec, it does not allow to make an absorption of out if it...
https://heasarc.gsfc.nasa.gov/xanadu/xspec/manual/node232.html

@giacomov I think this is the same problem that we saw with the other absorption spectra (which I thought was fixed)
// Converted from Fortran in xsgabs.f and modified to average exp(-tau) over
// the energy bin, not tau.
// number of model parameters:3
//       0       EL      line energy (in energy units, e.g. keV)
//       1       W       line width (sigma) (in energy units)
//       2       Tau     line optical depth
// intrinsic energy range: none
// algorithm:
//       M(E) = exp(-(tau/sqrt(2*PI)/W) * exp(-0.5*((E-EL)/W)**2)))
//       If W is less than or equal to zero, the line is treated as a delta
//            function.
//       N.B. when the energy spacing is much greater than W and the stepsize
//            for EL then the partial derivative determinations can lead
//            to fit error conditions.  The solution is to increase the
//            stepsize for EL

#include <XSFunctions/functionMap.h>
#include <xsTypes.h>
#include <XSstreams.h>
#include <cmath>
#include <XSUtil/Numerics/AdaptiveIntegrate.h>
#include <XSUtil/Numerics/BinarySearch.h>

using namespace Numerics;

RealArray gaussAbsIntegrand(const RealArray& x, void *p);

void gaussianAbsorptionLine(const RealArray& energyArray, const RealArray& params,
			    int spectrumNumber, RealArray& fluxArray,
			    RealArray& fluxErrArray, const string& initString)
{
  int nE = energyArray.size();
  fluxArray.resize(nE-1);
  fluxErrArray.resize(0);
  //fluxErrArray.resize(nE-1);
  fluxArray = 1.0;
  //fluxErrArray = 0.0;

  Real efirst = energyArray[0];
  Real elast = energyArray[nE-1];

  // Set the line energy, width and the energy range over which the
  // line will be calculated (essentially +/- crtsig sigma)

  Real crtsig = 6.0;
  Real emin = params[0] - crtsig*params[1];
  Real emax = params[0] + crtsig*params[1];

  // If the line calculation energies lie outside the energy range
  // then do not have to do anything

  if ( emax < efirst || emin > elast ) return;

  // find the first and last bins on which we need to calculate the absorption line

  int ifirst(0), ilast(nE-2);
  if ( emin >= efirst ) {
    ifirst = BinarySearch(energyArray, emin);
  }
  if ( emax <= elast ) {
    ilast = BinarySearch(energyArray, emax);
  }

  Real Precision = 1.0e-6;
  RealArray p(params);

  int ModelEvaluations(0);
  for (int i=ifirst; i<=ilast; i++) {

    Real Integral, IntegralError;
    ModelEvaluations +=
      AdaptiveIntegrate<gaussAbsIntegrand>(energyArray[i], energyArray[i+1],
					   &p, Precision, Integral, IntegralError);
    fluxArray[i] = Integral;
    //fluxErrArray[i] = IntegralError;
    Real ebin = energyArray[i+1]-energyArray[i];
    if ( ebin > 0.0 ) {
      fluxArray[i] /= ebin;
     // fluxErrArray[i] /= ebin;
    }

  }

  return;
}

// evaluate the gaussian absorption line integrand with p used to pass in the
// parameter values

RealArray gaussAbsIntegrand(const RealArray& x, void *p)
{
  RealArray OutArray(x.size());

  RealArray params(3);
  params = *(static_cast<RealArray*>(p));

  Real center = params[0];
  Real width  = params[1];
  Real tau    = params[2];

  Real gnorm = 1.0/width/sqrt(2*M_PI);

  for (size_t i=0; i<x.size(); i++) {
    Real gauss = gnorm * exp(-0.5*(x[i]-center)*(x[i]-center)/width/width);
    OutArray[i] = exp(-tau * gauss);
  }

  return OutArray;
}

It looks like they are looking for the width across the bins again... if I remember correctly. Thus, the problem exists in Sherpa too.

Ok,
let me look into it. I'll get back to you here.
@volodymyrss what do you mean by:

it does not allow to make an absorption of out if it

?

it does not allow to make an absorption of out if it

?

i mean I can make some approximation of absorption like this (it's just first expansion term):

python 1-Gaussian()

It's most likely an error in the wrapper because XSPEC evaluates models at energy boundaries. We have run across this before with other absorption models.
Sent from my iPhone

On 30 May 2017, at 19:18, Volodymyr<EMAIL_ADDRESS>wrote:
it does not allow to make an absorption of out if it
?
i mean I can make some approximation of absorption like this (it's just first expansion term):
python 1-Gaussian()
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Note that cyclabs works just fine (or even phabs, for that matter).  Maybe it helps that not all absorption models are broken.

@volodymyrss you can obtain what you want by using the .of() method, like:
# this is k*exp(-x/xc)
expo = Exponential_cutoff()
# fix xc=1
expo.xc = 1.0
expo.xc.fix = True
# Compose it with a Gaussian
line = Gaussian()
composition = expo.of(line)

The support for this is a little clunky, as we didn't really have a use case for it. It should work without issues in the fit, but if you want the units to work (which are needed for plotting, for example), you need at the moment to manually fix them:
# This will set the units in the functions
pts = PointSource("test", 0.0, 0.0, composition)
# We need to fix the Gaussian units so that Gaussian(x) / xc will have keV units
composition.F_2._unit = u.keV * u.keV
composition.functions[1]._y_unit = u.keV
# Now it works
print composition(1.0 * u.keV)
<Quantity 0.7850791607853478 1 / (cm2 keV s)>

I fixed this in astromodels.
The issue was that some of the multiplicative models require numerical differentiation because they compute the integral of the model over the energy bin. The "gabs" model is one of those.

Yes, this works. Also the implementation is quite a bit faster than interface to xspec (though I have a feeling xspec alone was faster; I need to try more minimizers).
Thanks a lot!


Flaky test: TestRestartStoppedContainer

Looks like a flaky test on WindowsTP4 https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/2759/console.  Seen on https://github.com/docker/docker/pull/21196
DockerSuite.TestRestartRunningContainer	28.710s
02:53:45
02:53:45 ----------------------------------------------------------------------
02:53:45 FAIL: docker_cli_restart_test.go:13: DockerSuite.TestRestartStoppedContainer
02:53:45
02:53:45 docker_cli_restart_test.go:24:
02:53:45     c.Assert(out, checker.Equals, "foobar\nfoobar\n")
02:53:45 ... obtained string = "foobar\n"
02:53:45 ... expected string = "" +
02:53:45 ...     "foobar\n" +
02:53:45 ...     "foobar\n"
02:53:45
02:53:45
02:53:45 ----------------------------------------------------------------------

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

The issue seems to be because of the out-of-order of docker logs command. Inside the test, a docker restart command is followed by a docker logs command. However, docker restart returns immediately so docker logs might have been finished even before the echo foobar.
It is not easy to repeat this issue but if the test code is changed into the following (by sleep 2 seconds before echo), then the issue will be repeated reliably:
func (s *DockerSuite) TestRestartStoppedContainer(c *check.C) {
	dockerCmd(c, "run", "--name=test", "busybox", "sh", "-c", "sleep 2 && echo foobar")
	cleanedContainerID, err := getIDByName("test")
	c.Assert(err, check.IsNil)

	out, _ := dockerCmd(c, "logs", cleanedContainerID)
	c.Assert(out, checker.Equals, "foobar\n")

	dockerCmd(c, "restart", cleanedContainerID)

	out, _ = dockerCmd(c, "logs", cleanedContainerID)
	c.Assert(out, checker.Equals, "foobar\nfoobar\n")
}

Let me see if I could find a way to wait for the finish of container before docker logs.

#dibs


Remove Transport stub and check for headers/trailers

https://github.com/bufbuild/connect-es/pull/582 was only most of the job because of a block on #588, but now that #588 is merged, we can finish the job of fully removing the stub transport.

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


Implement cleared fields

Implemented cleared fields for updates.
Made sure to only call SchemaComponentUpdate::cleared_fields() if there are actually fields to check for clearedness(?).
Added some test schema for each of the cases (option, list, and map)
Fixes #84

Needs to be updated with the new API introduced in 14.0.0


TS-5011: Fixes memory leak in CLFUS compression

[approve ci]

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1103/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/995/ for details.

It looks OK. I really do think we should do a more thorough fix, such as with std::unique_ptr or ats_scoped_str or even using _alloca.

@SolidWallOfCode I agree, file a lira :).


Implement styled table placeholders

Implement styled table placeholders, add link to create plan from empty home page, refactor colors, refactor error visibility, change search update functionality so that filter changes automatically update the results.

Merge conflict resolved.


Connection to exsi impossible

Hello,
When I start vmware_exporter with the config, the web server start but he don't collect anything.
Do you have explications for help me ?

Cordially,

It's the config.yml :


Add push notification about upcoming pickups

UPDATE in https://github.com/yunity/karrot-frontend/issues/1027#issuecomment-487307579

From foodsharing Poland:

push notifications in android app work quite well. for now, they are only displayed when someone writes a post. i think it would be great to introduce in the app the same notifications as we get now by email, like upcoming pickups or week summary. also, add option to manage push notification settings

I wonder what their use case is. We can only push little bits of unformatted information compared to emails that can contains lots of styled text.
I think mobile push notifications about joined and empty upcoming pickups make sense, but not the whole summary email.

Yes, seems reasonable to send out the evening picking notifications via push aswell, in a condensed text form.
Could also consider the individual pickup notifications, e.g. 2h before the pickup is due when no-one is signed up... emergency notifications!

Maybe it would be a nice starter task to add pickup notifications to the app? Could either be implemented as push or as local notification (for example with cordova-plugin-local-notifications).

Hello, could I give a try?

Hi @RobertKopczynski - sure!
Tell me what you need to know!

Hello, I've been looking for some issues to work on for my first Hacktoberfest and this project caught my interest. I see another developer claimed this back in May but it seems this issue has gone stale. Do you mind if I take a swing at it?

Sure, I had something come up in May, just after picking it up and kinda
forgot about it.
I remember having problems with
https://github.com/katzer/cordova-plugin-local-notifications not working
for a emulator.
Something about getting some bizarre errors, that didn't show up for more
modern versions of Android.
For more modern Android versions, the emulator would start a test program
of the plugin, but most buttons didn't do anything? One button did
something but not a local notification.
Error messages did say something was missing/wrong? I did something that
made the message to go away, but it didn't fix local notification not
showing up.
I don't think I found ready-to-go solution/plugin and I was thinking about
making notifications from scratch. But then something unrelated came up.
I didn't check for iPhones, due to not owning one.
wt., 1 paź 2019 o 03:58 Christian Batchelor<EMAIL_ADDRESS>napisał(a):

Hello, I've been looking for some issues to work on for my first
Hacktoberfest and this project caught my interest. I see another developer
claimed this back in May but it seems this issue has gone stale. Do you
mind if I take a swing at it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yunity/karrot-frontend/issues/1027?email_source=notifications&email_token=AEOD3TJIIPMCP4NXFAQCEGLQMKVEPA5CNFSM4FA4KDVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77U44A#issuecomment-536825456,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOD3TL7NDIZVXSK4BDIXVDQMKVEPANCNFSM4FA4KDVA
.

@CSBatchelor welcome!
@RobertKopczynski thanks for the writeup!
https://github.com/katzer/cordova-plugin-local-notifications seems maintained, so maybe it's worth checking if the mentioned problems still exist and if yes, ask for support.
Of course it's also possible to implement this as push notification via the existing FCM infrastructure - then you need to add the code in the backend

I only just noticed your assignment @tiltec so hopefully I didn't implement something when you had a draft in progress too...

Nope, might have assigned myself on mistake!


Iframe scope and acceptSpaceBar option fixes.

Fixed an issue where if atWho is used on a site which is loaded into an iframe, the window scope does not work causing atWho to crash.
Added support for the acceptSpaceBar option, for it to be passed through the matcher.

please edit the src files and run gulp to build ti.


Add license to manifest for future source bundles

Hey-lo,
I'm building a version of graphql-relay using conda for conda-forge. When possible, we try to include a link to the license file in the meta.yaml specification for the build; doing so requires the license be indexed in an explicit MANIFEST.in file so that it gets included in the source distribution.
This pull should update the manifest so that the license is included in future builds.

Coverage remained the same at 99.636% when pulling e123500ffd2391d8efde82eddedeb19eceac3099 on pmlandwehr:patch-1 into 48856fb3cf9e6c122535076a82d862bac3c21779 on graphql-python:master.

Looks good! Thanks for the PR!


Micro_speech example with a different microphone bitrate

@tensorflow/micro
System information

Windows 10
TensorFlow installed from Arduino library
1.15.0-ALPHA precompiled
ESP32, Arduino

Following the micro_speech example in the Arduino_TensorFlowLite library, I tried to modify the code so that it could run with my 32 bits per sample I2S microphone.
However, this proved to be a challenge since the audio_provider files require a certain number of samples of a certain size.
What happened, in the end, is that the code was stuck in a loop gathering data.
I'm not sure where to even begin debugging this, but I'm guessing the capture buffer needs to be adjusted in order to accommodate the larger sample size
So far I've modified the arduino_audio_provider.cpp file to be the following
#include "audio_provider.h"
#include <Arduino.h>
#include <driver/i2s.h>
#include "micro_features_micro_model_settings.h"
const i2s_port_t I2S_PORT = I2S_NUM_0;
#define BUFFER_SIZE 1024
TaskHandle_t audioInputTaskHandle;
namespace {
bool g_is_audio_initialized = false;
// An internal buffer able to fit 16x our sample size
constexpr int kAudioCaptureBufferSize = BUFFER_SIZE * 32;
int32_t g_audio_capture_buffer[BUFFER_SIZE];
// A buffer that holds our output
int16_t g_audio_output_buffer[kMaxAudioSampleSize];
// Mark as volatile so we can check in a while loop to see if
// any samples have arrived yet.
volatile int32_t g_latest_audio_timestamp = 0;
}  // namespace
volatile uint32_t testerino = 0;
volatile bool audioCaptureFlag = 0;
void CaptureSamples( void *) {
  while(1)
  {
    if(audioCaptureFlag)
    {
      // Determine the index, in the history of all samples, of the last sample
      const int32_t start_sample_offset =
          g_latest_audio_timestamp * (kAudioSampleFrequency / 1000);//0
      // Determine the index of this sample in our ring buffer
      const int capture_index = start_sample_offset % kAudioCaptureBufferSize;//0
      size_t bytesRead;
      i2s_read(I2S_PORT, (void*) g_audio_capture_buffer + capture_index, BUFFER_SIZE, &bytesRead, portMAX_DELAY);
      // This is how many bytes of new data we have each time this is called
      const int number_of_samples = bytesRead / 8;
      // Calculate what timestamp the last audio sample represents
      const int32_t time_in_ms =
          g_latest_audio_timestamp +
          (number_of_samples / (kAudioSampleFrequency / 1000)); //6,12

      // Read the data to the correct place in our buffer
      // Serial.println(g_latest_audio_timestamp);
      // Serial.println(start_sample_offset);
      Serial.println(capture_index);
      delay(1);
      // for(uint16_t i = 0; i < bytesRead; i++)
        // Serial.printf("%d, %ld\n", i, g_audio_capture_buffer[i]);
        // Serial.println(g_audio_capture_buffer[i]);

      // PDM.read(g_audio_capture_buffer + capture_index, DEFAULT_PDM_BUFFER_SIZE);
      // This is how we let the outside world know that new audio data has arrived.
      // Serial.print("latest timestamp: ");
      // Serial.println(bytesRead);
      // Serial.flush();
      // delay(1);
      testerino++;

      g_latest_audio_timestamp = time_in_ms;
    }
    vTaskDelay(1);
  }
}

TfLiteStatus InitAudioRecording(tflite::ErrorReporter* error_reporter) {
    Serial.println("init audio recording");
    delay(10);

  // Hook up the callback that will be called with each sample
  // PDM.onReceive(CaptureSamples);
  // Start listening for audio: MONO @ 16KHz with gain at 20
  // PDM.begin(1, kAudioSampleFrequency);
  // PDM.setGain(20);
   // The I2S config as per the example
  const i2s_config_t i2s_config = {
      .mode = i2s_mode_t(I2S_MODE_MASTER | I2S_MODE_RX), // Receive, not transfer
      .sample_rate = 16000,                         // 16KHz
      .bits_per_sample = I2S_BITS_PER_SAMPLE_32BIT, // could only get it to work with 32bits
      .channel_format = I2S_CHANNEL_FMT_ONLY_RIGHT, // although the SEL config should be left, it seems to transmit on right
      .communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB),
      .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1,     // Interrupt level 1
      .dma_buf_count = 8,                           // number of buffers
      .dma_buf_len = BUFFER_SIZE                              // 32 samples per buffer (minimum)
  };

  // The pin config as per the setup
  const i2s_pin_config_t pin_config = {
      .bck_io_num = 13,   // BCKL
      .ws_io_num = 15,    // LRCL
      .data_out_num = -1, // not used (only for speakers)
      .data_in_num = 32   // DOUT
  };
  esp_err_t err;
  // Configuring the I2S driver and pins.
  // This function must be called before any I2S driver read/write operations.
  err = i2s_driver_install(I2S_PORT, &i2s_config, 0, NULL);
  if (err != ESP_OK) {
    Serial.printf("Failed installing driver: %d\n", err);
    while (true);
  }
  err = i2s_set_pin(I2S_PORT, &pin_config);
  if (err != ESP_OK) {
    Serial.printf("Failed setting pin: %d\n", err);
    while (true);
  }
  Serial.println("I2S driver installed.");
  delay(1);
  // uint32_t samples[8];
  // int bytes_read = i2s_pop_sample(I2S_PORT, (char *)&sample, portMAX_DELAY); // no timeout
  // size_t bytes_read;
  // esp_err_t error = i2s_read(I2S_PORT, (char *)samples, 8, &bytes_read, portMAX_DELAY);
  // Serial.println(error == ESP_OK);
  // delay(1);
  // if (bytes_read > 0) {
  //   float mean = 0;
  //   for (int i = 0; i < bytes_read; ++i) {
  //     mean += samples[i];
  //   }
  //   Serial.println(mean);
  // }
  // delay(10);
  // Block until we have our first audio sample
  xTaskCreate(CaptureSamples, "adc_read_task", kAudioCaptureBufferSize, NULL, 5, &audioInputTaskHandle);
  audioCaptureFlag = 1;

  while (!g_latest_audio_timestamp) {
  }

  return kTfLiteOk;
}

TfLiteStatus GetAudioSamples(tflite::ErrorReporter* error_reporter,
                             int start_ms, int duration_ms,
                             int* audio_samples_size, int16_t** audio_samples) {
  // Set everything up to start receiving audio
  if (!g_is_audio_initialized) {
    TfLiteStatus init_status = InitAudioRecording(error_reporter);
    if (init_status != kTfLiteOk) {
      return init_status;
    }
    g_is_audio_initialized = true;
  }
  else
  {
    // Serial.println("task resumed");
    // Serial.flush();
    // delay(10);
    // xTaskCreate(CaptureSamples, "adc_read_task", kAudioCaptureBufferSize, NULL, 1, &audioInputTaskHandle);
    audioCaptureFlag = 1;
    // vTaskResume(audioInputTaskHandle);
  }

  // This next part should only be called when the main thread notices that the
  // latest audio sample data timestamp has changed, so that there's new data
  // in the capture ring buffer. The ring buffer will eventually wrap around and
  // overwrite the data, but the assumption is that the main thread is checking
  // often enough and the buffer is large enough that this call will be made
  // before that happens.

  // Determine the index, in the history of all samples, of the first
  // sample we want
  const int start_offset = start_ms * (kAudioSampleFrequency / 1000);
  // Determine how many samples we want in total
  const int duration_sample_count =
      duration_ms * (kAudioSampleFrequency / 1000);
  // Serial.println(duration_sample_count);
  // delay(10);
  for (int i = 0; i < duration_sample_count; ++i) {

    // delay(1);
    // For each sample, transform its index in the history of all samples into
    // its index in g_audio_capture_buffer
    const int capture_index = (start_offset + i) % kAudioCaptureBufferSize;

    // Write the sample to the output buffer
    g_audio_output_buffer[i] = ((int16_t*)g_audio_capture_buffer)[capture_index];
    // Serial.printf("inside loop %d\n", i);
    // delay(1);
  }

  // Serial.printf("got samples\n");
  audioCaptureFlag = 0;
  // Serial.println(testerino);
  // delay(10);
  // testerino = 0;
  // vTaskDelete(audioInputTaskHandle);

  // Serial.println("task deleted");
  // delay(10);

  // Set pointers to provide access to the audio
  *audio_samples_size = kMaxAudioSampleSize;
  *audio_samples = g_audio_output_buffer;

  return kTfLiteOk;
}

int32_t LatestAudioTimestamp() { return g_latest_audio_timestamp; }
```

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


feature: trust previous authorizers

Suppose you want to have multiple authorization providers on an endpoint. In this example, the chain consists of keyauth and jwt.
The keyauth authorizes users based on the presence of shared secret, while jwt authorizes based on the presence of JWT token.
  route /alertmanager* {
    keyauth
    jwt
    respond * "alertmanager" 200
  }

If keyauth authorizes, the jwt will fail because of no token will be found.
Therefore, I want to intoduce a way to signal downstream authorization plugins that the user was authorized successfully.
For example, using inject/trust directives.
  route /alertmanager* {
    keyauth {
      inject "foobar" key foobar
      inject "barfoo" key barfoo
    }
    jwt {
      trust foobar roles admin
      trust barfoo roles editor
    }
    respond * "alertmanager" 200
  }

will reopen it later.


Cannot find'' Demo_China_A_share_market''

we revised the architecture.
https://github.com/AI4Finance-Foundation/FinRL-Meta/blob/master/tutorials(notebook)/1-Introduction/China_A_share_market.ipynb


Props not passed from PageContainer to specified layout

PageContainer includes a wealth of routing props such as params, history, etc.
I'd like to be able to grab some of them and pass it down to the layout that is actually rendering such as Homepage or Post.

Hey there, looks like you posted this in the wrong repo

yep, yep I did. Sorry!


Nextflow  DSL2 DAG support

Building off #3674
Is your feature request related to a problem? Please describe.
Nextflow DSL2 workflows have broken DAG visualizations.
Describe the solution you'd like
Add DAG visualization support for DSL2 Nextflow workflows.
Upgrading the webservice executable from 19.01.0 to 20.07.1 doesn't seem to resolve this issue. Would need to look deeper into what's needed for this to work.
Describe alternatives you've considered
Unsure whether this will be dependent on indexing modules (#3761), depends on whether we generate the DAG visualization ourselves or if we use the nextflow executable.
Additional context
Example:
Workflow rnaseq-nf tag v1.2  is DSL1 and dag works:

However tag v2.0 is DSL2 and dag does not work:

┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.12
┆Issue Number: DOCK-1553
┆Sprint: Backlog
┆Issue Type: Story

Note for implementer: A temporary 1.9.x hotfix would be to display a message saying we're working on DSL2 before implementing it

This needs to be investigated. If there's not a lot of work to be done, leave in 1.12, if there's a substantial amount of work then this can wait for a later release.


Capacitor camera not opening on android 12 pixel 4a

import { Plugins } from '@capacitor/core';
const { Camera } = Plugins;
I'm using this code for capture the image in ionic angular :
const capturedPhoto = await Camera.getPhoto({
resultType: CameraResultType.Uri,
source: CameraSource.Prompt,
quality: 100
});
These are the version i'm using :
"@ionic-native/core": "^5.0.0",
"@ionic/angular": "^5.0.0",
Google pixel 4a (android version 12) not opening the camera for capture the image.
So anyone have the solution for this ???

@fahad-cinnova Sorry to hear you're having problems. Unfortunately you have asked this question in the wrong repository: this is the camera-preview plugin not the camera plugin.
Please go to https://github.com/ionic-team/capacitor-plugins#readme and ask for support.


Fix Store Retained Messages

As demonstrated in issue #43 - only the first retained messages would be stored. This was caused by the incorrect evaluation of the returned r-value which indicated whether or not the message had been persisted. Simplifying the logic for returning this value fixes the issue in persistent stores.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

145 of 156 (92.95%)  changed or added relevant lines in 5 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 98.451%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/internal/clients/clients.go
32
34
94.12%

server/server.go
81
90
90.0%

Files with Coverage Reduction
New Missed Lines
%

server/server.go
3
98.27%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
2670

Relevant Lines:
2712

💛  - Coveralls


Add Parameters API

As of ffmpeg 3.1, a new AVCodecParameters API introduced. (related post)
This PR is an attempt to support it.

One thing didn't work as expected is that I can't do
output.set_parameters(&encoder);

but
output.set_parameters(&***encoder);

One workaround seems to be to implement AsRef for every types wrap Context and change the signature to:
impl<C: AsRef<Context>> From<C> for Parameters {
	fn from(context: C) -> Parameters {

but not sure if it's the only way.

That seems like a reasonable way to do it to me.

Now that I think about it, while you're there could you also impl AsMut please?

OK

Implemented AsMut and rebase merged

Looks good, merged, thanks!


Feature/connect through proxy

Sort and merge sections in the General Section of Settings.
Add a Network Section, which enables users to input their proxy settings.
Allow users to connect to servers through a proxy. Fix #198.
Refactor the code structure of Setting pages.
Initialize the user guide help.md.

@akashnimare Would you please cross-check the feature?

This looks great. I'll cross check it tonight.

I've tested this on Linux and the proxy settings are working.
The examples in the user guide and UI placeholder text don't include https=proxy.foocorp which would be needed for connecting to a zulip server when a http proxy must be used for all access (This works, and uses the proxy CONNECT method as expected).
Proxy PAC url worked as expected.

@shane-kearns thanks for testing. Is there anything else we need to add/remove in this?

Thanks, @geeeeeeeeek, @shane-kearns 👍


[Support] Enable Direct Writing to OneTable Format from Hudi Delta Streamer

Description
As a user of Hudi Delta Streamer, I appreciate the concept of OneTable, but I find it cumbersome to run a separate job for transaction processing. I'm seeking guidance on whether there's a way to directly write data from Delta Streamer into OneTable format without the need for additional jobs.
Details
I've explored the available documentation but haven't found a comprehensive guide on achieving this. I'm eager to experiment with this functionality and share my findings with the community through videos and blogs.
Questions
Is there a method to configure Hudi Delta Streamer to write data directly into OneTable format?
Could you provide guidance or point me to relevant documentation for implementing this functionality?
Additionally, I'm looking for the hudi-extensions-0.1.0-SNAPSHOT-bundled JAR. Is this available on Maven repositories, and if so, under which coordinates?
Spark Submit Configuration (Working with Hudi)
spark-submit \
    --class org.apache.hudi.utilities.streamer.HoodieStreamer \
    --packages 'org.apache.hudi:hudi-spark3.4-bundle_2.12:0.14.0'\
    --properties-file spark-config.properties \
    --master 'local[*]' \
    --executor-memory 1g \
    /Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/jar/hudi-utilities-slim-bundle_2.12-0.14.0.jar \
    --table-type COPY_ON_WRITE \
    --op UPSERT \
    --source-limit 4000000 \
    --source-ordering-field ts \
    --source-class org.apache.hudi.utilities.sources.CsvDFSSource \
    --target-base-path 'file:///Users/soumilshah/IdeaProjects/SparkProject/DeltaStreamer/hudi/bronze_orders'  \
    --target-table bronze_orders \
    --props hudi_tbl.props

Desired Changes
I'm looking for guidance on what modifications are necessary in the above Spark Submit configuration to enable writing into OneTable format directly.
References
Syncing to OneTable Format - Hudi Documentation

It should be related to X-table only. Adding @sagarlakshmipathy

I did open a case one onetable
can I close this one as I have ticket open there

https://github.com/apache/incubator-xtable/issues/351

let me close this on hudi side

I wanted to reach out regarding the issue I've been encountering despite trying all the approaches you previously mentioned. It seems I'm still facing some challenges.
Would it be possible for us to schedule a brief meeting, perhaps around 10 minutes of your time, to discuss and hopefully resolve this matter? I believe a direct conversation could help clarify things and lead to a solution.
Furthermore, resolving this issue is not only beneficial to me but also to the broader data engineering community. I intend to share my experience with others, particularly on how to correctly utilize Onetable. Given that Onetable is relatively new and documentation may be sparse, spreading awareness on its usage could greatly assist others.
Hence, I kindly request that you allocate a few moments of your schedule to address this matter together. Your assistance in this regard would be immensely appreciated.
Looking forward to your response and hopefully a quick resolution.


fix: add API failover to the 4 API definitions

see: https://gravitee.atlassian.net/browse/GKO-784

I think we need another commit on APIM regarding the export, because when I tried to test this, enabling failover on an API an exporting it does not include the object in the resource.

Will fix it in the APIM export side


Production - No Cache busting timestamp on js and css packaged files

I'm using the following
Rails 3.0.9
Jammit 0.6.2
Jammit-s3 :branch aws-s3
Engine yard deployment
I can't seem to figure out why my s3 urls won't add the ?<%mtime%> to the end of the url for js and css packaged assets. It appears to work in development but not in production.  All my other assets add the cache busting url param but just not the jammit created ones.  Is there something I might need to add to the config or add to my environment for force this?  Anyone that can help, please help!  I'm stuck here.  Thank you so much!

Ok I have tested more and I went back to version 0.6.1 and it works again....so not sure what changed but it doesn't constantly put the cache busting timestamp.  Will have to try to review the code tomorrow or wednesday to see if I can fix the issue

I'm having the same issue. Didn't work with versions 0.6.1, 0.6.3 nor 0.6.5.

For what it's worth, we're on Rails' 2.3 series, and the cache busting timestamps are working fine.

I see that include_javascripts is calling Jammit.asset_url(pack, :js), but asset_url(package, extension, suffix=nil, mtime=nil) doesn't add the timestamp if mtime is nil...

This patch solves it for me:
From 12c3f3f71461f1c597fb87bb5866e765a6e18323 Mon Sep 17 00:00:00 2001
From: Tute Costa<EMAIL_ADDRESS>Date: Fri, 30 Dec 2011 14:12:49 -0300
Subject: [PATCH] Adding timestamp to include_javascripts.

---
 lib/jammit/helper.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/jammit/helper.rb b/lib/jammit/helper.rb
index 530bc1b..6cdf088 100644
--- a/lib/jammit/helper.rb
+++ b/lib/jammit/helper.rb
@@ -27,7 +27,7 @@ module Jammit
     def include_javascripts(*packages)
       options = packages.extract_options!
       html_safe packages.map {|pack|
-        should_package? ? Jammit.asset_url(pack, :js) : Jammit.packager.individual_urls(pack.to_sym, :js)
+        should_package? ? Jammit.asset_url(pack, :js, nil, Time.now) : Jammit.packager.individual_urls(pack.to_sym, :js)
       }.flatten.map {|pack|
         javascript_include_tag pack, options
       }.join("\n")
--
<IP_ADDRESS>

Want to open a pull request for your patch?

Just did it, it's in https://github.com/documentcloud/jammit/pull/214.
Thanks!

More: asset pipeline has to be disabled for this to happen (but I need it for a gem to run, 2 more cents).

I have found that If i run jammit on my utility server it will not work with the timestamp but does on my application server.


Doesn't work with Rails 8

Hi All,
Without a doubt this is one of the very few public issues I've written in years, so forgive me if I'm bungling it. Welcome to any feedback!
So I'm running rails new ..... --main which is effectively Rails 8 alpha and the gem won't work with this version of rails. Totally understandable, but still this may be an unexpected behaviour to the maintainers.
bundle install
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Could not find compatible versions

Because rails >= 7.1, < 8.A could not be found in https://github.com/rails/rails.git (at main@ff0ef93)
  and every version of mission_control-jobs depends on rails ~> 7.1,
  mission_control-jobs cannot be used.
So, because Gemfile depends on mission_control-jobs >= 0,
  version solving has failed.

Same issue. :)

@misterhtmlcss have you tried pointing to the repo from your Gemfile?
gem "mission_control-jobs", git: "https://github.com/rails/mission_control-jobs"

I didn’t do that one, but it’s a good idea. What I did was I manually edited the restriction. Seemed low risk as I’m happy to allow it to change next version update.


[snappy] build failure

Host Environment

OS: Windows 10
Compiler: clang-cl 12.0.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install snappy:x86-windows
Failure logs
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
Command failed: ninja -v
Working Directory: C:/Users/alt/vcpkg/buildtrees/snappy/x86-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
config-x86-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:338 (vcpkg_execute_required_process)
ports/snappy/portfile.cmake:12 (vcpkg_configure_cmake)
scripts/ports.cmake:144 (include)
Additional context
The compiler is set in a toolchain file, which is referenced by the VCPKG_CHAINLOAD_TOOLCHAIN_FILE in the community triplet file

Tried also with the official triplet x86-windows.txt and toolchain windows2.txt.

C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/Llvm/bin/clang-cl.exe

Did you install the C++ core features with Visual Studio Installer?

We don't have enough information to solve this issue, unfortunately; if you have any more information to help us solve this, please reopen!


When search "0"

i have problem when search "0"

Can someone confirm this?

works for me
I use my fork for project in production with this fix


Add libxaie paths to aiecc command lines

The defaults assumed by aiecc.py do not work for these tests. The issue is that aiecc sets the libxaie paths assuming libxaie was built as a subproject of mlir-aie, which is not always true.

I don't understand, the libxaie dependency should be managed by aiecc. This isn't the way to fix this, IMO

I agree. These changes are to make the tests pass on my vck190. I'll gladly not merge them if we can fix aiecc instead.

tracking this issue here: https://github.com/Xilinx/mlir-aie/issues/501

This is likely fixed by https://github.com/Xilinx/mlir-air/pull/246

obsolete


Hitl ssrc fog

Enable HITL support for ssrc_fog_x drone model.
Tools/sitl_gazebo contains hitl_fog world file derived from empty.world to spawn one new ssrc_fog_x_hitl drone model automatically into simulation. ssrc_fog_x_hitl model connects to pixhawk4/PX4 via serial port /dev/ttyUSB0

This looks fine;
I am just wondering if this could be done just with a config file on sd-card instead, using the same frame as for full drone? The same as what we do for indoor flying

This looks fine; I am just wondering if this could be done just with a config file on sd-card instead, using the same frame as for full drone? The same as what we do for indoor flying

Right, that could be possible, I'll check that.

This PR is obsolete, to be closed.
Created another PR for dynamic HITL setup: https://github.com/tiiuae/px4-firmware/pull/53


⚠ Bofrost.de has degraded performance

In e492b8d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1313 ms

Resolved: Bofrost.de performance has improved in e02769a after 6 minutes.


Added auth 'userService' option example in README.md

I had a hard time finding the 'userService' option in the documentation, I actually had to read the source code to find it out, so it made sense to me to add an example.

Beautiful!  Thank you!


Remove useless optional unwrap from Unsafe[Raw]BufferPointer subscript.

It is unfortunate that Unsafe[Raw]BufferPointer._pointer and
baseAddress are declared Optional. This leaves extra runtime checks
in the code in the most performance critical paths. Contrast this with
Array, which uses an sentinal pointer for the empty representation.
This forces us to use _unsafelyUnwrappedUnchecked whenever we just
want to dereference a non-empty buffer pointer.
Fixes SR-9809: swiftc appears to make some sub-optimal optimization choices

@swift-ci test.

@swift-ci benchmark.

Build failed
Swift Test Linux Platform
Git Sha - 3e1781999350fc29cef3540b79711e04eae59341

(For the record, they're optional so that they round-trip with C pointer/length pairs, which usually accept NULL/0. But as Andy points out, that's not interesting once we've already checked that we have an in-bound index.)

If you want to keep it as a debugPrecondition, like the others in those methods, you should use unsafelyUnwrapped. _unsafelyUnwrappedUnchecked is a internalInvariant.

@swift-ci please benchmark

(I've seen issues where removing force unwraps slows down benchmarks due to unpredictability of the optimizer, so double checking here)

E.g. https://github.com/apple/swift/pull/21132, which just removes branches, slowing down benchmarks.

Merging this unambiguously good bug fix and recording the regressions here so we can fix the inliner...
https://bugs.swift.org/browse/SR-9875
SR-9875 Optimizer's inlining heuristics introducing instability


Can you add a condensed view option?

The current preview takes up a fair amount of space because it's either double- or one-and-one-half spaced. How about a single space option?

Done. See settings.

Thank you!!


Add settings

Nice 😄

This is great! Is this automatically generated?

partly, I hope ;)

No, Handarbeit (well, I use a computer and copy & paste).

it could maybe be nice to categorize the settings a bit?
from rdmo.core import settings as rdmo_settings
from django.conf import global_settings as django_settings

# django settings
set(dir(django_settings)) & set(dir(rdmo_settings))

# rdmo settings
set(dir(rdmo_settings)) - set(dir(django_settings))

# etc..


Parse the JSON received on 'message' event.

Hello, I'd like to know the best way of parsing the JSON that arrives in the 'message' event. Thanks!

I would recommend using on 'chat' or on 'whisper'. If you need something else for a server with custom messages, you're going to need to write your own parser. If you don't care about colors, you can just try doing "json.toString()" to get the string of text. From that, you'll be able to use regex. Otherwise, you'll need to know exactly what each time of message contains so you can parse it manually.
If you have more questions, visit us in the gitter! (Link in the README)

Listening to the chat event didn't help because It was not getting emitted. Probably because I joined a 1.8.1 server with a 1.8.3 protocol. But yeah, I already wrote a parser myself to color the chat with html span tags. Thanks!

1.8.1 and 1.8.3 protocols are the same ^^.

Likely due to a non vanilla server as usual.


Getting the ports for the creation of Custom Nodes

A part of creating custom nodes is collecting the free input and output ports, so that the custom node can have ports as well.
The function collecting the input ports: getFreeInputPorts .While the output port equivalent is: getFreeOutputPorts.
Both function will sort the ports by their node's dependency, going from the lowest to the highest.

@bgdxqi Since, as we previously discussed, the naming of ports will be automatic, is it possible to have functions also create unique id names for these ports?

What will be the output of these functions exactly? List, ArrayList, Map?

As for now, an ArrayList and ArrayList separately

@bgdxqi Since, as we previously discussed, the naming of ports will be automatic, is it possible to have functions also create unique id names for these ports?

I support the idea! Would be much easier to keep track of the ports. But it needs some tweaking in the View as well. Maybe @vismate or @pszi  could tell more.

I could start working on generating the truth tables, but for that I need a final version of how the output of those functions is going to look like, and where these functions are going to be located

The most of it I think is done. You can check it out in the model-simulation branch -> commit : Returned free ports are now on the order of increasing dependency.
The idea is basically the following: It orders the Nodes from having the least dependency to the most dependency and then cycles through them to get any free ports. The return is an ArrayList<InputPort> and ArrayList<OutputPort> separately. And their order is , as planned, dependency (if they have same dependency, the order of they are in in the ArrayList<Nodes> nodes in ELME.Model.Graph) then the order of the ports in the Nodes (ELME.Model.Node.inputs / ELME.Model.Nide.outputs).
If you have any suggestions, let me know

But will the output change, if we decide to add names to ports in your function?

It shouldn't. The name of the ports are stored in the ports themselves. Also I don't use their names for anything at the moment.

The functions have been successfully merged


Fix metrics to use 2.0.2 cw logger

Problem
Alarms aren't firing, due to dimensions associated with the alarm
Solution
Remove the dimensions from metric calls so they will work with the latest version of Alephant CloudWatch Logger (2.0.2)
Gem Release
This should be a patch release to 0.2.5

:cake:


[Bug]: MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)

Platform
chrome web
Plugin
package_info_plus
Version
4.2.0
Flutter SDK
3.13.8
Steps to reproduce
After integrating package_info_plus, the web can be used normally when running locally. When it is published to the production environment, an error is reported MissingPluginException (No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
Code Sample
late String version;
void main() async {
 WidgetsFlutterBinding.ensureInitialized();
 version = (await PackageInfo.fromPlatform()).version;
runApp(
    MultiProvider(
      providers: [
        //...
      ],
      child: const MyApp(),
    ),
  );
}

dio.dart
class DioRequest {
late Dio dio;
  DioRequest() {
 dio = Dio();
dio.options = BaseOptions(
 headers: {
"version": version,
}
);
}
}

Logs
Uncaught MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
    at Object.d (https://.../main.dart.js:4017:19)
    at https://.../main.dart.js:67743:15
    at ax8.a (https://.../main.dart.js:5352:62)
    at ax8.$2 (https://.../main.dart.js:39807:14)
    at awo.$1 (https://.../main.dart.js:39801:21)
    at atC.aq2 (https://.../main.dart.js:40608:34)
    at atC.K_ (https://.../main.dart.js:40610:21)
    at aoW.$0 (https://.../main.dart.js:40146:11)
    at Object.wX (https://.../main.dart.js:5458:40)
    at am.ru (https://.../main.dart.js:40081:3)

Flutter Doctor
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.13.8, on Microsoft Windows [版本 10.0.22621.2715], locale zh-CN)
    • Flutter version 3.13.8 on channel stable at E:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6c4930c4ac (5 weeks ago), 2023-10-18 10:57:55 -0500
    • Engine revision 767d8c75e8
    • Dart version 3.1.4
    • DevTools version 2.25.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at D:\exes\androidSdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: D:\exes\androidStudio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.3)
    • Android Studio at D:\exes\androidStudio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.22621.2715]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 119.0.6045.160
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 118.0.2088.46

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

Same on Android. My stack trace is
[log] Running future builder AsyncSnapshot<PackageInfo>(ConnectionState.done, null, MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info), #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)
<asynchronous suspension>
#1      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:522:43)
<asynchronous suspension>
#2      MethodChannelPackageInfo.getAll (package:package_info_plus_platform_interface/method_channel_package_info.dart:13:17)
<asynchronous suspension>
#3      PackageInfo.fromPlatform (package:package_info_plus/package_info_plus.dart:41:26)
<asynchronous suspension>
#4      _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:624:31)
<asynchronous suspension>
)

#1270

Same issue here:
MissingPluginException(No implementation found for method getAll on channel dev.fluttercommunity.plus/package_info)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320)
<asynchronous suspension>
#1      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:522)
<asynchronous suspension>
#2      MethodChannelPackageInfo.getAll (package:package_info_plus_platform_interface/method_channel_package_info.dart:13)
<asynchronous suspension>
#3      PackageInfo.fromPlatform (package:package_info_plus/package_info_plus.dart:41)
<asynchronous suspension>
#4      main.<anonymous closure> (package:flutter_x_yanosik/main.dart:208)
<asynchronous suspension>
#5      Future.wait.<anonymous closure> (dart:async/future.dart:523)
<asynchronous suspension>
#6      main (package:flutter_x_yanosik/main.dart:156)
<asynchronous suspension>

I I encountered this issue today after adding the package_info_plus package and release web today. However, the problem disappeared after performing a flutter clean, rebuilding, and releasing again. I recently faced a similar situation with another package, where the first web build lacked the platform method.

I can confirm what @Yiling-J wrote. I had the same error and doing a flutter clean followed by a rebuild and the problem disappeared .

@dawid-niedzwiecki where you able to find solution for this? I got same issue and still have no clue. I encountered this issue when using Flutter with iOS App Extension (Share Extension).

Same issue when integrating a Flutter module into an existing native iOS app using Option B - Embedding frameworks in Xcode :

This is happening consistently for me on all devices, and flutter clean has no effect.


[bad data] 3512 GitHub dead link

frc3512's github profile for their team on their team page is 404ing, removing it would be handy.

I fixed this


AWS Explorer shows error loading credentials file when contents changed externally

Expected Behavior
When credentials file is changed externally, contents should be re-read and used appropriately without any dialog.
Current Behavior
Also described in #806
When running Visual Studio with the AWS Explorer extension, anytime the credentials file is changed externally an error message pops up:

"Error loading AWS profiles: The process cannot access the file  because it is being used by another process."
This does not appear to affect functionality (although if the profile secret changed the profile is reset to none).  The file is successfully used.
This error message can sometimes be hidden and leave the VS UI in a partially usable state resulting in much confusion.
Possible Solution
Change the way this error is handled, retry, open file with different file access, etc.  If this code is available publicly I would be happy to examine and modify.  I'm unable to find it.
Steps to Reproduce (for bugs)

Open Visual Studio 2017 with AWS Toolkit installed.
Modify the credentials file externally, simply opening in VSCode and pressing save is enough.
Note the error message that appears in all instances of Visual Studio.

Context
At my organization we use a tool that keeps the credentials file fresh with tokens retrieved from a secret manager.  This message pops up every hour as these tokens are refreshed and serves as a lovely annoyance.
In my particular case, I actually own the code that is modifying the file and have attempted all means possible of sharing it.  I'm currently opening and writing the file like this:
using (FileStream fileStream = new FileStream(awsPath + "/credentials", FileMode.OpenOrCreate, FileAccess.Write, FileShare.ReadWrite | FileShare.Delete))
using (StreamWriter writer = new StreamWriter(fileStream))
{
    //...
    await writer.WriteLineAsync(stuff);
}

Your Environment

Operating System and version: Win 7
Visual Studio version: 2017 - 15.9.9
AWS Toolkit for VS 2017 <IP_ADDRESS>

@normj This issue is fixed with the latest version.  Thanks!


Trying to provide a pull request but fails to build

Hello folks,
I'm am trying to provide a pull request, but I can't get a build to work.  I don't see instructions on how to build this code, but with that said this is my process.
clone code
$ git clone git@github.com:ZOSOpenTools/zoslibport.git

Check to see if tags are EBCIDIC or ASCII
$ cd zoslibport
$ find . -type f | xargs chtag -p

The result is all ascii, that is good.  In the other issue, I had problems with them being EBCIDIC.  Perhaps this was resolved.
Attempt to build the code
$ zopen build -v
Checking environment configuration
VERBOSE: 'Implicitly adding git dependencies: git'
***ERROR: xlclang compiler specified, need to be running IBM C for Open Enterprise Languages on z/OS 1

I'll put this on hold and work on the easy readme problems.

Check if you're on the latest meta, but even with that it'll probably fail here:
https://github.com/ZOSOpenTools/comp_xlclangport/blob/main/buildenv#L65
You probably have an older version of xlclang. You can try to bypass it if updating to the latest xlclang is not an option.

I have two sets of compilers available.  For this particular build should I use the stock xlclang or the open one?

Only xlclang works to build zoslib for now.
If you're on the latest meta branch it should implicitly add comp_xlclang as a dependency and perform the checks here: https://github.com/ZOSOpenTools/comp_xlclangport/blob/main/buildenv#L65.
Make sure to pull in the latest changes from meta as it seems you're not on the latest. It's likely that the COMPILER_VER is a bit older (<42040001) for your version of xlclang.

The $ zopen upgrade shows this for meta
<stuff snipped>
Installing ncurses...
installDependencies 33: installPort 44: installPorts 8: /z/jd895801/zopen/boot/meta-main/bin/lib/zopen-install 452: FSUM7343 cannot open "man-db/.depsenv" for output: EDC5129I No such file or directory.
Installing meta...
Installing nano...
<stuff snipped>

Am I safe to assume I am on the latest meta?

Do you have a url for where to find the install for the proper version of xlclang?  I can't just install it but I do need a concise method to give to the admins.

I believe the latest one is here: https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/xlCC++V241ForZOsV24?OpenDocument . Unfortunately, there seems to be 2 versions of v2.4.1 and the __COMPILER_VER__ macro is the best way to verify.

This is what I have
$  xlclang -E -qshowmacros foo.cc | grep __COMPILER
#define __COMPILER_VER__ 0x42030001

Please, can you provide the shopz reference for the necessary compiler?  A mainframe system programmer is assisting helping me, but they need a FMID or Product Code for Shop Z.

This is the product ID for the compiler we have installed: 5650ZOS

I got this information from the product manager:

HLB77C0 is the base XL C/C++ 2.4 compiler; HLB77C1 is XL C/C++ 2.4.1. HLB77C2 is Open XL C/C++ 1.1  — both are optional web deliverable add-ons with modern C/C++ language support for clients that have enabled HLB77C0.

So it should be HLB77C1

Hi John,
Sorry about that, before Shop Z, you will need to get the sys admin to install the GA SMP/E image from the web download page (as these are web deliverables) and then servicing/support is through shopZ. Basically a GA is a ++FMID SYSMOD, a PTF is a ++PTF SYSMOD — they are different types of SYSMODs. In order to install the ++PTF, they will need the ++FMID SYSMOD first. GA images are at:
HLB77C1: https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/xlCC++V241ForZOsV24?OpenDocument
HLB77C2: https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/openXlCC++11ForZOs24AndZOs25?OpenDocument

Igor,
Awesome!  I'm impressed with your speedy reply.  I have forwarded your info to the system programmer.
Many thanks
John

@IgorTodorovskiIBM our system programmer installed the specified HLB77C1 install.  The HLB77C2 corresponding to the open compiler was previously installed.
Now, if I look at $ xlc* --version, xlc and xlc++ is still 2.4.  xlclang and xlclang++ are now 2.4.1.
However, the error message when trying to compile from source remains the same.
CMake Error at /z/xxxx/zopen/prod/CMake-heads.v3.24.2/share/cmake-3.24/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

    "/bin/xlclang++"

  is not able to compile a simple test program.

Please advise.

@perry-ca , you might have a better idea on what's going on here?
@netskink , does /bin/xlclang++ create an executable? Can you confirm with a simple "hello world" test?

Sorry, we never really install the compilers.  your previous post about installing the compiler is what I would point to.

@IgorTodorovskiIBM you also notice that the error with the cmake file saying that the compiler fails to build, is because the same code is not there.  Perhaps I should just add one.  I'll try that.

Hmm. I created a test file for the compiler based upon the cmake file. It failed with the same error and afterwards the file is gone. ie. it truly was a temp file. I'll have to dig into it further to see where cmake is creating the. file and then deleting it.

$ xlclang++ foo.cc

You ran xlclang++.  cmake ran /bin/xlclang++.  Can you run which xlcang++ to see where in your PATH the compile found xlclang++.   If it is /bin then I'm really confused :)

Add --system-information to your cmake command.  That will show the commands run.  cmake has other debugging/tracing options too.

I did not see these comments until now. I'll update this.  FWIW, my cmake doesn't work.


ON blur or submit , the field submits!

Thank you for this script :)
I'm facing this bug that is driving me insane, every time the filter input text looses focus or on enter it submits as if there was a form of type get and action to filter..
I can't get it to stop that!!
here's my code
var theTable = $('.rows_table');
$("#filter").keyup(function() {
$.uiTableFilter( theTable, this.value );
return null;
});

Are you sure this is related to uiTableFilter - if you remove the use of uiTableFilter does the issue go away?

yes, when i comment the above lines the issue goes away.

Can you provide a reproduceable case - the html file for this?

yeah sure,
I dissected down to what i think its relavant
filter input
     Filter     <input name="filter" id="filter" value="" maxlength="30" size="30" type="text"/>
Table

                     <form action="" method="POST" name="inquiry" id="inquiry">
 ...
JS to init
$(function() { 	//	$('.rows_table th:last').addClass("{sorter: false}"); 	$(".rows_table").tablesorter(); 	var theTable = $('.rows_table'); 	$("#filter").keyup(function() { 	    $.uiTableFilter( theTable, this.value ); 	    return null; 	}); 	$("#filter").blur(function(){ 	    return false; 	})     });
I would greatly appreciated if you can help me out here :)
Cheers
Alex


Button support outside of forms

Any possibility that $this->Html->button("Push Me", "success") could be supported outside of a form? Or is it already and I'm just doing something wrong?

It should work but the button method is in the Form helper:
echo $this->Form->button('Push Me', ['bootstrap-type' => 'success']);

Thanks! I just assumed that since it was part of the Form helper, that it would only work in forms.


[SeaTunnel#1021] make maven-shade-plugin only applied to core modules

Purpose of this pull request
close #1021

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

@leo65535 PTAL,Thx

SGTM

hi @yx91490, seatunnel-core-sql also need maven-shade-plugin, thanks

em.. it seems will cause bug, transforms connectors only contain itself.
[dcadmin@dcadmin seatunnel-connectors]$ du -chs *
4.0K    pom.xml
1.5M    seatunnel-connector-flink-console
1.8M    seatunnel-connector-flink-doris
1.8M    seatunnel-connector-flink-druid
1.6M    seatunnel-connector-flink-elasticsearch
1.5M    seatunnel-connector-flink-fake
2.0M    seatunnel-connector-flink-file
1.6M    seatunnel-connector-flink-jdbc
1.6M    seatunnel-connector-flink-kafka
1.5M    seatunnel-connector-flink-socket
1.7M    seatunnel-connector-spark-clickhouse
1.5M    seatunnel-connector-spark-console
1.7M    seatunnel-connector-spark-doris
1.6M    seatunnel-connector-spark-elasticsearch
2.5M    seatunnel-connector-spark-email
1.6M    seatunnel-connector-spark-fake
1.7M    seatunnel-connector-spark-file
1.6M    seatunnel-connector-spark-hbase
1.6M    seatunnel-connector-spark-hive
1.6M    seatunnel-connector-spark-hudi
3.2M    seatunnel-connector-spark-jdbc
1.8M    seatunnel-connector-spark-kafka
1.6M    seatunnel-connector-spark-kudu
1.5M    seatunnel-connector-spark-mongodb
2.2M    seatunnel-connector-spark-phoenix
1.8M    seatunnel-connector-spark-redis
1.5M    seatunnel-connector-spark-socket

Missing dependency

em.. it seems will cause bug, transforms connectors only contain itself.
[dcadmin@dcadmin seatunnel-connectors]$ du -chs *
4.0K    pom.xml
1.5M    seatunnel-connector-flink-console
1.8M    seatunnel-connector-flink-doris
1.8M    seatunnel-connector-flink-druid
1.6M    seatunnel-connector-flink-elasticsearch
1.5M    seatunnel-connector-flink-fake
2.0M    seatunnel-connector-flink-file
1.6M    seatunnel-connector-flink-jdbc
1.6M    seatunnel-connector-flink-kafka
1.5M    seatunnel-connector-flink-socket
1.7M    seatunnel-connector-spark-clickhouse
1.5M    seatunnel-connector-spark-console

Missing dependencies

Currently, it seems that plugins no need to package dependencies, they will be all packaged to a single jar by maven-shade-plugin finally.

hi @yx91490, let's imagine a scenario, if flink-console and flink-doris module references the same dependency called log-xx dependency, flink-consolerequireslog-xx.1.2.0, but flink-dorisrequireslog-xx.1.5.0`. In this scenario, we need the shade plugin.
BTW, seatunnel has many connectors, maven-shade-plugin is useful for each module when meets conflict.
[dcadmin@dcadmin seatunnel-connectors]$ du -chs *
4.0K    pom.xml
1.5M    seatunnel-connector-flink-console
1.8M    seatunnel-connector-flink-doris

hi @yx91490, let's imagine a scenario, if flink-console and flink-doris module references the same dependency called log-xx dependency, flink-console requires log-xx.1.2.0, but flink-doris requires log-xx.1.5.0. In this scenario, we need the shade plugin. BTW, seatunnel has many connectors, maven-shade-plugin is useful for each module when meets conflict.
[dcadmin@dcadmin seatunnel-connectors]$ du -chs *
4.0K    pom.xml
1.5M    seatunnel-connector-flink-console
1.8M    seatunnel-connector-flink-doris

make sense, but in this scenario you should configure maven-shade-plugin with relocations, but currently no plugin module configured relocations, that is , currently maven-shade-plugin only used to package to a single jar, no other effects.

You are quite right. It seems not necessary to make the change currently.


Make kubectl log deployment/foo read logs from all pods

What would you like to be added:
Up to now, kubectl log deployment/foo outputs the logs of one pod:
❯ kubectl logs deployments/foo --follow >> foo.log
Found 2 pods, using pod/foo-647ffff4b6-k9c5c

It would be very handy if kubectl could output the logs of all pods of the deployment.
Why is this needed:
The workaround is to use label selectors:
kubectl logs -l app=myapp

But that's not easily automated.
Imagine you get the name and the namespace of a deployment in a script.
There is no easy and automated way to get the matching label selector.
It would be great if kubectl could support reading the logs from all pods of a deployment.
Related thread on slack: https://kubernetes.slack.com/archives/C2GL57FJ4/p1700558613585049?thread_ts=1700558613.585049&cid=C2GL57FJ4

/assign

@ankritisachan is the best person to work on this feature, thanks for taking this!

kubectl logs --help is your friend, you'll find there:
...
Options:
    --all-containers=false:
	Get all containers' logs in the pod(s).
...

That flag should do what you're looking for.

Misread the bit about --all-pods.

/triage accepted

I needed this feature a couple of times and support the implementation.

What would the behavior be while the kubectl logs command is running, and new pods spin up (or go away)? Would these be noted explicitly?
Third-party tools like https://github.com/stern/stern or https://github.com/boz/kail support this scenario to some extent.

@ahmetb good question. I would like to see the logs of the new pods, too.

/assign

@cmwylie19 has a PR ready to ship soon for this.

/assign

@ahmetb to answer your question I think that functionality should be coupled to --follow instead of us adding a --all-pods here. Should be a separate issue if we decide to change the functionality for new pods/replicas/etc.
Thoughts?

WIP - https://github.com/kubernetes/kubernetes/pull/123874


chore(main): release 3.1.1

:robot: I have created a release beep boop
3.1.1 (2024-07-24)
Performance Improvements

lazy load yazi.nvim modules by default (#253) (f832c3c)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.1.1
:sunflower:


Namespace collision between packages' dependencies

Steps to Reproduce Issue
Consider an empty project with the following Move.toml:
[package]
name = "test"
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move

[dependencies]
Sui = { override = true, git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }
ScallopProtocol = { git = "https://github.com/scallop-io/sui-lending-protocol.git", subdir = "contracts/protocol", rev = "mainnet" }
lending_core = { git = "https://github.com/naviprotocol/protocol-interface.git", subdir = "lending_core", rev = "main" }

Expected Result
Everything compiles
Actual Result
Calling sui move build will return the following error:
Failed to build Move modules: Processing dependency 'lending_core' of 'test'

Caused by:
    Conflicting assignments for address 'math': '0x0' and '0x66aa3335901ce7e04b85ed6597ee42d4b479f7110bf98e8ebd474fa32a0027e1'..

Remarks
Note that removing ScallopProtocol or lending_core (Navi Finance) will compile fine.
The issue here is likely that both protocols use their own math dependency :

Scallop : https://github.com/scallop-io/sui-lending-protocol/blob/2c7228c091de62e496c6313d5bd1fdddfd14f6eb/contracts/protocol/Move.toml#L12
Navi : https://github.com/naviprotocol/protocol-interface/blob/ebde5d2efacbc3faf98af1147c5fba082221ddee/lending_core/Move.toml#L12

Given that both libraries are not overlapping, we can't try to override it.
System Information

OS: Ubuntu 20.04
Compiler: sui 1.36.1-homebrew

Hi there!
This is a problem due to Scallop and Navi exposing two different named addresses with the same name. This should be able to be resolved using the addr_susbst form in the Move.toml which can be used to rename the math named address on either or both of the packages that bring the math address into scope. Give this a shot and it should work:
[package]
name = "test"
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move

[dependencies]
Sui = { override = true, git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }
ScallopProtocol = { git = "https://github.com/scallop-io/sui-lending-protocol.git", subdir = "contracts/protocol", rev = "mainnet", addr_subst = {"scallop_math" = "math" } }
lending_core = { git = "https://github.com/naviprotocol/protocol-interface.git", subdir = "lending_core", rev = "main", addr_susbst = {"lending_math" = "math" } }

Thanks a lot ! It works!

Hi @tzakian thanks again for the fix ! I added Suilend to the mix, and now it's broken again. I have tried all combinations available, and I can't get it to compile, so I'm calling for your wisdom (again!).
Here is the TOML:
[package]
name = "my_project"
edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move
# license = ""           # e.g., "MIT", "GPL", "Apache 2.0"
# authors = ["..."]      # e.g., ["Joe Smith (joesmith@noemail.com)", "John Snow (johnsnow@noemail.com)"]

[dependencies]
Sui = { override = true, git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }
MoveStdlib = { override = true, git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/move-stdlib", rev = "framework/mainnet" }
suilend = { git = "https://github.com/solendprotocol/suilend.git", subdir = "contracts/suilend/", rev = "mainnet"  }
ScallopProtocol = { git = "https://github.com/scallop-io/sui-lending-protocol.git", subdir = "contracts/protocol", rev = "mainnet", addr_subst = {"scallop_math" = "math" } }
lending_core = { git = "https://github.com/naviprotocol/protocol-interface.git", subdir = "lending_core", rev = "main", addr_susbst = {"lending_math" = "math"} }

Which leads to :
Failed to build Move modules: When resolving dependencies for package aftermath_grow, conflicting versions of package Pyth found:
At lending_core -> oracle -> Pyth
        Pyth = { git = "https://github.com/naviprotocol/pyth-crosschain.git", rev = "navi-forked", subdir = "target_chains/sui/contracts" }
At suilend -> Pyth
        Pyth = { git = "https://github.com/solendprotocol/pyth-crosschain.git", rev = "98e218c64bb75cf1350eb7b021e1ffcc3aedfd62", subdir = "target_chains/sui/contracts" }.

Trying to add  addr_subst = {"suilend_pyth" = "pyth" } and ``addr_susbst = {"lending_math" = "math", "navi_pyth"= "pyth" }` doesn't work either.


GOOS, GOARCH and GOARM moving forward

This would be a BC break on the makefiles, but my suggestion is segmenting the artifacts/build path to include the OS-ARCH_ARM.
So artifacts/build/debug/linux/amd64/rsc would become artifacts/build/debug/linux-amd64/rsc.
This is a small change (but BC breaking) for most common build configurations, but now that ARM is becoming more popular it means more compatibility for things like

artifacts/build/debug/darwin-arm64/rsc (Apple Silicon)
artifacts/build/debug/linux-arm_7/rsc (RPi 3)
artifacts/build/debug/linux-arm_5/rsc (RPi Zero)

This also covers if there is a future version of ARM (ARMv9) which would become linux-arm64_9.
This is mainly for ARM since I really doubt there will be a new amd64 revision requiring something like linux-amd64_2.
The main caveat is that when running on a machine the GOARM is optional, so where the following pattern is common:
.PHONY: run
run: artifacts/build/debug/$(GOHOSTOS)/$(GOHOSTARCH)/rsc
	"$<" $(RUN_ARGS)

changing to artifacts/build/debug/$(GOHOSTOS)-$(GOHOSTARCH)/rsc will work, but the cross-compilation won't match.
It's not a huge issue, but it's just something to think about (linux-arm would work if I ran make run on an RPi zero, but the actual cross-compiled build would need to be linux-arm_5).

Not sure if it's a good idea or not, but maybe putting in targets to catch artifacts/build/(debug|release)/(linux|darwin|windows)/% with a $(error) message that it needs to be changed would be helpful.

Is there any particular reason to switch from a slash (and hence separate directories) to a hyphen between OS and ARCH ?

Nope, and if I remove that from it, it's only a BC break for existing ARM projects since arm5 becomes arm_5.

If you are happy for that BC break (as ARM's only user currently) I will try to solve this now

So basically

artifacts/build/debug/darwin/arm64/rsc
artifacts/build/debug/linux/arm64/rsc
artifacts/build/debug/linux/arm_5/rsc
artifacts/build/debug/linux/arm_7/rsc

and potentially future artifacts/build/debug/darwin/arm64_9/rsc

I'm down for that, you're already in the code, did you want to do it, or did you want a PR ?

In regards to the run convention, it's simply no longer correct to use GOHOSTARCH there.  I'd like to just add another variable that is the full build path for the current platform, but I don't think it's currently possible (or at least easy) to detect the correct ARM version if building on arm5/6/7, since go env doesn't show GOARM.

I'm down for that, you're already in the code, did you want to do it, or did you want a PR ?

All good, I'm in there messing about now


Create Task From date to date

Hi, sorry if this is an obvious question.
Is it possible to create a recurrent task from an especific datetime or do I have to get the difference and use it in the days interval when creating daily triggers?
Like
datetime1 - datetime2 = datetimediff;
var dt = td.Triggers.Add(new DailyTrigger(datetimediff));
Thanks!

The StartBoundary property of all Trigger derived classes is the time at which the trigger become active. For example, if you need a trigger to run every second day starting tomorrow, you could code:
DateTime tomorrow = DateTime.Today + TimeSpan.FromDays(1);
var every2ndDayTrigger = new DailyTrigger(2) { StartBoundary = tomorrow };
td.Triggers.Add(every2ndDayTrigger);


Allow static libraries for CocoaPods.

Currently we require use_frameworks! for our pods. This is inconvenient for some and can likely be cleaned up by using the resources correctly in the podspec.

Although we do recommend that everyone specify use_frameworks! in order to follow the Verifying A Build Does Not Include Hyperion